Marcin Sobczyk created OVIRT-3022:
-------------------------------------
Summary: poll-upstream-sources pipelines don't work on el8 nodes
Key: OVIRT-3022
URL:
https://ovirt-jira.atlassian.net/browse/OVIRT-3022
Project: oVirt - virtualization made easy
Issue Type: Bug
Reporter: Marcin Sobczyk
Assignee: infra
Trying to run `poll-upstream-sources` pipeline on an el8 node ends with an
[
error|https://jenkins.ovirt.org/blue/organizations/jenkins/ost-images_mas...]:
{noformat}
[2020-09-23T02:07:48.761Z] +
/home/jenkins/workspace/ost-images_master_standard-poll-upstream-sources/jenkins/stdci_tools/usrc.py
--log -d get
[2020-09-23T02:07:48.761Z] /usr/bin/env: ‘python’: No such file or directory
{noformat}
After an attempt of resolving the issue by installing python2 and setting the unversioned
python command to point to python2 we fail on dependencies:
{noformat}
[2020-09-23T09:39:13.566Z] +
/home/jenkins/workspace/ost-images_master_standard-poll-upstream-sources/jenkins/stdci_tools/usrc.py
--log -d get
[2020-09-23T09:39:13.566Z] Traceback (most recent call last):
[2020-09-23T09:39:13.566Z] File
"/home/jenkins/workspace/ost-images_master_standard-poll-upstream-sources/jenkins/stdci_tools/usrc.py",
line 11, in <module>
[2020-09-23T09:39:13.566Z] import yaml
[2020-09-23T09:39:13.566Z] ImportError: No module named yaml
{noformat}
A quick look at the `usrc.py` script shows we need at least 3 deps:
* python2-six
* python2-pyyaml
* python2-pyxdg (or simply pyxdg)
The last package is not available at all in el8 repos.
Please provide a solution to this problem by either moving the script to use py3 or any
other means.
--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100146)