]
eedri commented on OVIRT-723:
-----------------------------
[~didi(a)redhat.com] is this still relevant?
check/add support for python3 + dnf on standard CI
--------------------------------------------------
Key: OVIRT-723
URL:
https://ovirt-jira.atlassian.net/browse/OVIRT-723
Project: oVirt - virtualization made easy
Issue Type: By-EMAIL
Reporter: Yedidyah Bar David
Assignee: infra
Hi,
Patch [1] fails jenkins [2] like this:
11:35:21 [ INFO ] DNF Repository updates-testing is listed more than
once in the configuration
11:35:21 [ INFO ] DNF Repository updates-testing-debuginfo is listed
more than once in the configuration
11:35:21 [ INFO ] DNF Repository updates is listed more than once in
the configuration
11:35:21 [ INFO ] DNF Repository updates-debuginfo is listed more
than once in the configuration
11:35:21 [ INFO ] DNF Repository fedora is listed more than once in
the configuration
11:35:21 [ INFO ] DNF Repository fedora-debuginfo is listed more than
once in the configuration
11:35:21 [ INFO ] DNF Downloading 1 files, 0.00KB
11:35:21 [ INFO ] DNF Downloading 1 files, 0.00KB
11:35:21 [ INFO ] DNF Failed to synchronize cache for repo 'fedora', disabling.
11:35:21 [ INFO ] DNF Failed to synchronize cache for repo 'updates',
disabling.
11:35:21 [ INFO ] Stage: Environment packages setup
11:35:21 [ INFO ] DNF Repository updates-testing is listed more than
once in the configuration
11:35:21 [ INFO ] DNF Repository updates-testing-debuginfo is listed
more than once in the configuration
11:35:21 [ INFO ] DNF Repository updates is listed more than once in
the configuration
11:35:21 [ INFO ] DNF Repository updates-debuginfo is listed more
than once in the configuration
11:35:21 [ INFO ] DNF Repository fedora is listed more than once in
the configuration
11:35:21 [ INFO ] DNF Repository fedora-debuginfo is listed more than
once in the configuration
11:35:21 [ INFO ] DNF Downloading 1 files, 0.00KB
11:35:21 [ INFO ] DNF Downloading 1 files, 0.00KB
11:35:21 [ INFO ] DNF Failed to synchronize cache for repo 'fedora', disabling.
11:35:21 [ INFO ] DNF Failed to synchronize cache for repo 'updates',
disabling.
11:35:21 [ ERROR ] DNF Cannot queue package 'iproute': no package matched
11:35:21 [ ERROR ] Failed to execute stage 'Environment packages
setup': no package matched
I suspected, based on the log, that something is broken about dnf
configuration, so pushed [3] and ran the job again [4] with [3]
cherry-picked, and it succeeded. I thought that's enough for a
verification, so asked to merge it, and it was merged. Later on, lago
tests started breaking [5] with:
09:37:44 Error: nothing provides repoman >= 2.0.12 needed by
python-lago-ovirt-0.24.0-1.fc23.noarch
So [3] was reverted [6], Currently pending, but I expect it to be merged soon.
So we need a better solution.
While investigating this, Nadav partially understood the issue - we have, at
certain points in mock_runner, both /etc/yum.conf and /etc/yum/yum.conf.
Not sure why and whether we need both.
We tried also various variations on this patch in [7][8][9][10], none worked.
Probably better to fully support dnf instead of this hack, not sure
what this requires.
Thanks,
[1]
https://gerrit.ovirt.org/59831
[2]
http://jenkins.ovirt.org/job/otopi_master_check-patch-fc24-x86_64/44/console
[3]
https://gerrit.ovirt.org/63249
[4]
http://jenkins.ovirt.org/job/otopi_master_check-patch-fc24-x86_64/46/
[5]
http://jenkins.ovirt.org/job/lago_master_check-merged-fc23-x86_64/205/con...
[6]
https://gerrit.ovirt.org/63405
[7]
https://gerrit.ovirt.org/63386
[8]
http://jenkins.ovirt.org/job/lago_master_check-merged-fc23-x86_64/203
[9]
http://jenkins.ovirt.org/job/lago_master_check-merged-fc23-x86_64/204/
[10]
http://jenkins.ovirt.org/job/lago_master_check-merged-fc23-x86_64/205/
--
Didi