Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests for rhel-8.10 branch pull requests fail because CI is run in Fedora 38 #291

Open
ppisar opened this issue Oct 18, 2023 · 2 comments
Open
Assignees
Labels
Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take

Comments

@ppisar
Copy link
Contributor

ppisar commented Oct 18, 2023

I noticed and pull requests against rhel-8.10 branch are tested in Fedora 38 environment instead of RHEL 8 https://github.com/rpm-software-management/librepo/actions/runs/6560240882/job/17818030871?pr=289. Then the tests always fails because the built packages cannot be installed because a system librepo has a far higher NEVRA then the test build:

STEP 11/15: RUN rm /opt/ci/rpms/*-{devel,debuginfo,debugsource}*.rpm;     if [ -n "$(find /opt/ci/rpms/ -maxdepth 1 -name '*.rpm' -print -quit)" ]; then         dnf -y install /opt/ci/rpms/*.rpm --disableplugin=local;     fi
No matches found for the following disable plugin patterns: local
Last metadata expiration check: 0:01:03 ago on Wed Oct 18 11:53:10 2023.
Error: 
 Problem 1: package libdnf-0.72.0-20231018113256.0.g908dba63.fc38.x86_64 from @commandline requires librepo(x86-64) >= 1.15.0, but none of the providers can be installed
  - cannot install both librepo-1.14.2-20231018113252.7.gbb1ab8c.fc38.x86_64 from @commandline and librepo-1.16.0-20231018004717.5.ge206603.fc38.x86_64 from @System

Either reconfigure CI to test rhel-8.* PRs in RHEL-8 environment, or disable them.

@ppisar ppisar changed the title Tests for rhel-8.10 branch pull requests fails because CI is run in Fedora 38 Tests for rhel-8.10 branch pull requests fail because CI is run in Fedora 38 Oct 18, 2023
@ppisar
Copy link
Contributor Author

ppisar commented Oct 18, 2023

The same happens with pull requests against rhel-9.4 branch.

@kontura
Copy link
Contributor

kontura commented Oct 19, 2023

Just for reference I once made a PR to disable the CI (on the dnf component since the problem is not specific just to librepo): rpm-software-management/dnf#1831 (it also contains one unrelated commit).

@kontura kontura added the Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take label Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take
Projects
None yet
Development

No branches or pull requests

2 participants