Skip to content

Test/repositories/el8*: use rhui-4 instead of rhui-3 #4665

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thozza
Copy link
Member

@thozza thozza commented Mar 28, 2025

RHUI-3 has been EOL on RHEL-8 and it is no longer being updated and we do not take new snapshots of it. Use RHUI-4 instead. More info in [1].

It turns out, that the previously used RHUI-3 snapshot was missing amazon-libdnf-plugin package, wich is required by the RHUI client. As a result, the "weldr dot-notation" test has been failing in the GA pipeline on RHEL-8. We do not run the test case on RHEL-8 in PRs of main pipeline, because we test only on nightly composes and there are no new releases being developed for RHEL-8. Therefore this was manifesting only in the GA pipeline runs.

This change should fix the failures in the GA pipeline (such as https://gitlab.com/redhat/services/products/image-builder/ci/osbuild-composer/-/jobs/9550422284#L10090)

[1] osbuild/rpmrepo#119

It turns out that #4626 broke the "weldr dot notation" test on RHEL-8:

$ dnf --repofrompath='test,https://rpmrepo.osbuild.org/v2/mirror/rhvpn/el8/el8-x86_64-rhui-3-20250225' --repo test repoquery
Updating and loading repositories:
 test                                                                                                                                                                                                                                                                                 100% |   3.0 KiB/s |   7.2 KiB |  00m02s
Repositories loaded.
rh-amazon-rhui-client-0:4.0.12-1.el8.noarch
rh-amazon-rhui-client-ha-0:4.0.12-1.el8.noarch
rh-amazon-rhui-client-sap-bundle-e4s-0:4.0.12-1.el8.noarch
rh-amazon-rhui-client-sap-bundle-eus-0:4.0.12-1.el8.noarch

# older snapshot has amazon-libdnf-plugin
$ dnf --repofrompath='test,https://rpmrepo.osbuild.org/v2/mirror/rhvpn/el8/el8-x86_64-rhui-3-20250218' --repo test repoquery
Updating and loading repositories:
 test                                                                                                                                                                                                                                                                                 100% |   2.3 KiB/s |   5.3 KiB |  00m02s
Repositories loaded.
amazon-libdnf-plugin-0:1.0.1-1.el8.x86_64
rh-amazon-rhui-client-0:4.0.19-1.el8.noarch
rh-amazon-rhui-client-ha-0:4.0.19-1.el8.noarch
rh-amazon-rhui-client-jbeap74-0:4.0.19-1.el8.noarch
rh-amazon-rhui-client-rhua-0:4.0.19-1.el8.noarch
rh-amazon-rhui-client-sap-bundle-0:4.0.19-1.el8.noarch
rh-amazon-rhui-client-sap-bundle-e4s-0:4.0.19-1.el8.noarch
rh-amazon-rhui-client-sap-bundle-eus-0:4.0.19-1.el8.noarch

The repository used by this PR:

$ dnf --repofrompath='test,https://rpmrepo.osbuild.org/v2/mirror/rhvpn/el8/el8-x86_64-rhui-4-20250315' --repo test repoquery
Updating and loading repositories:
 test                                                                                                                                                                                                                                                                                 100% |   2.2 KiB/s |   5.2 KiB |  00m02s
Repositories loaded.
amazon-libdnf-plugin-0:1.0.1-1.el8.x86_64
rh-amazon-rhui-client-0:4.0.20-1.el8.noarch
rh-amazon-rhui-client-ha-0:4.0.20-1.el8.noarch
rh-amazon-rhui-client-jbeap74-0:4.0.20-1.el8.noarch
rh-amazon-rhui-client-rhua-0:4.0.20-1.el8.noarch
rh-amazon-rhui-client-sap-bundle-0:4.0.20-1.el8.noarch
rh-amazon-rhui-client-sap-bundle-e4s-0:4.0.20-1.el8.noarch
rh-amazon-rhui-client-sap-bundle-eus-0:4.0.20-1.el8.noarch

@thozza thozza marked this pull request as ready for review March 28, 2025 21:53
@thozza thozza requested a review from a team as a code owner March 28, 2025 21:53
@thozza thozza requested review from mvo5, achilleas-k and schuellerf and removed request for a team March 28, 2025 21:53
Copy link
Member

@achilleas-k achilleas-k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the full explanation.
LGTM

@achilleas-k achilleas-k enabled auto-merge (rebase) March 31, 2025 10:35
@achilleas-k
Copy link
Member

Rebasing to get fixed vsphere tests.

@achilleas-k achilleas-k force-pushed the fix-el8-testrepos-rhui branch from 574b1da to cefaea9 Compare March 31, 2025 10:36
RHUI-3 has been EOL on RHEL-8 and it is no longer being updated and we
do not take new snapshots of it. Use RHUI-4 instead. More info in [1].

It turns out, that the previously used RHUI-3 snapshot was missing
amazon-libdnf-plugin package, wich is required by the RHUI client.
As a result, the "weldr dot-notation" test has been failing in the GA
pipeline on RHEL-8. We do not run the test case on RHEL-8 in PRs of
`main` pipeline, because we test only on nightly composes and there are
no new releases being developed for RHEL-8. Therefore this was
manifesting only in the GA pipeline runs.

This change should fix the failures in the GA pipeline.

[1] osbuild/rpmrepo#119

Signed-off-by: Tomáš Hozza <[email protected]>
@achilleas-k achilleas-k force-pushed the fix-el8-testrepos-rhui branch from cefaea9 to eb8ef7c Compare April 17, 2025 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants