Skip to content

tests/CI: Add runners for RHEL 9.7 and 10.1 (HMS-6278) #4716

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

Merged
merged 5 commits into from
Jun 3, 2025

Conversation

tkoscieln
Copy link
Contributor

@tkoscieln tkoscieln commented May 6, 2025

Add runners for RHEL 9.7 and 10.1 and remove 9.6 and 10.0 runners.

JIRA: HMS-6278

@tkoscieln tkoscieln force-pushed the add_rhel_9.7_10.1_runners branch 2 times, most recently from 77417ef to ff3d96e Compare May 6, 2025 15:21
@tkoscieln
Copy link
Contributor Author

/jira-epic HMS-6072

@schutzbot schutzbot changed the title tests/CI: Add runners for RHEL 9.7 and 10.1 tests/CI: Add runners for RHEL 9.7 and 10.1 (HMS-6278) May 9, 2025
@croissanne croissanne force-pushed the add_rhel_9.7_10.1_runners branch from 8864be5 to 95b3bcf Compare May 15, 2025 11:09
@tkoscieln tkoscieln force-pushed the add_rhel_9.7_10.1_runners branch 11 times, most recently from d81df31 to 7fb4002 Compare May 28, 2025 14:32
@tkoscieln tkoscieln marked this pull request as ready for review May 29, 2025 08:13
@tkoscieln tkoscieln requested a review from a team as a code owner May 29, 2025 08:13
@tkoscieln tkoscieln requested review from mvo5, achilleas-k and thozza and removed request for a team May 29, 2025 08:13
@tkoscieln
Copy link
Contributor Author

tkoscieln commented May 29, 2025

PR is ready for review now. It introduces the new RHEL 9.7 and 10.1 runners into our CI, but also includes a fix for missing slashes in snapshot base_url in commit 7fb4002.
There are errors present in the CI, but all of those are caused by the recent OCI issues, except for a failing Packer job which is unrelated to changes in this PR as well.

Copy link
Member

@thozza thozza left a comment

Choose a reason for hiding this comment

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

Thank you for the PR!

The first commit contains unrelated or unneeded changes.

I have two additional questions:

  1. Did you consider fixing the satellite regression test to work with the rpmrepo snapshot URLs that are missing the last backslash? I'm asking because other test cases seem to work just fine without it (at least you didn't express that they don't), so fixing the test case seems like a good idea, compared to keeping this unexpected behavior in the test and risking that we will have to spend time debugging the same thing in the future.
  2. Do you plan to submit a follow-up to move the GA runners from 9.5 to 9.6 and also adding 10.0 ga runners?

@tkoscieln
Copy link
Contributor Author

  1. Did you consider fixing the satellite regression test to work with the rpmrepo snapshot URLs that are missing the last backslash? I'm asking because other test cases seem to work just fine without it (at least you didn't express that they don't), so fixing the test case seems like a good idea, compared to keeping this unexpected behavior in the test and risking that we will have to spend time debugging the same thing in the future.

Well since all of the other distros use the slash in the base_url, I thought I will just edit these to contain them as well. But on the other hand yes, I do not like the way the test handles the url creation. So we can just leave it as is or we can add a condition into the test (or edit the url creation itself).

  1. Do you plan to submit a follow-up to move the GA runners from 9.5 to 9.6 and also adding 10.0 ga runners?

Yes, I plan to do that asap.

@tkoscieln tkoscieln force-pushed the add_rhel_9.7_10.1_runners branch 2 times, most recently from be3fb24 to 47011b1 Compare June 2, 2025 09:20
tkoscieln added 3 commits June 2, 2025 11:21
Add runners for RHEL 9.7 and 10.1 and remove 9.6 and 10.0 runners.
Add compose request output print in case of failure.
tkoscieln added 2 commits June 2, 2025 11:21
In repository files for RHEL 9.7 and 10.1, there were missing slashes at the end of the baseurl which caused the satellite regression tests to fail. The refresh job only subs the snapshot dates and leaves the rest of the url unchanged.
…sion

The cross distro test started failing on RHEL 10.1, because the osbuild/images version was a Go pseudo-version that the sed command parsing the version did not recognize.
@tkoscieln tkoscieln force-pushed the add_rhel_9.7_10.1_runners branch from 47011b1 to 1b33061 Compare June 2, 2025 09:21
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.

TY!

@tkoscieln tkoscieln requested a review from thozza June 2, 2025 11:18
Copy link
Member

@thozza thozza left a comment

Choose a reason for hiding this comment

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

LGTM

@thozza thozza enabled auto-merge (rebase) June 3, 2025 14:53
@thozza thozza merged commit 488a53e into osbuild:main Jun 3, 2025
45 of 48 checks passed
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