USHIFT-6519: Switch to using RHEL 9.8 in bootc presubmits and periodics#6202
USHIFT-6519: Switch to using RHEL 9.8 in bootc presubmits and periodics#6202ggiguash wants to merge 7 commits intoopenshift:mainfrom
Conversation
|
@ggiguash: This pull request references USHIFT-6519 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Skipping CI for Draft Pull Request. |
|
@ggiguash: This pull request references USHIFT-6519 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/test ? |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ggiguash The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test e2e-aws-tests-bootc |
|
/test e2e-aws-tests-bootc |
9a26b8c to
01cab47
Compare
|
/test e2e-aws-tests-bootc |
7ffcdda to
4f4e0b4
Compare
|
/test e2e-aws-tests-bootc |
1 similar comment
|
/test e2e-aws-tests-bootc |
📝 WalkthroughWalkthroughThis PR upgrades test infrastructure references from RHEL 96 to RHEL 98 across containerfiles, boot scenario scripts, and package repositories. Additionally, a web server startup log message is relocated to occur after VM shutdown completes. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/test e2e-aws-tests-bootc |
|
@coderabbitai perform full review |
|
✅ Actions performedFull review triggered. |
|
@ggiguash: This pull request references USHIFT-6519 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Fix all issues with AI agents
In `@test/Makefile`:
- Around line 76-79: The Makefile declares PHONY: instead of the special .PHONY:
so the target test-build-ostree-presubmit is not marked as phony; change the
target declaration from PHONY to .PHONY and include test-build-ostree-presubmit
in that .PHONY list so Make treats test-build-ostree-presubmit as a phony target
rather than a real file.
In `@test/scenarios-bootc/presubmits/el96-prel`@el98-src@upgrade-ok.sh:
- Line 11: The boot blueprint is incorrect: the launch_vm call currently uses
--boot_blueprint rhel98-bootc but the scenario is el96-prel@el98-src and must
use the rhel96 boot blueprint; update the launch_vm invocation to use
--boot_blueprint rhel96-bootc (matching the start image) so the boot blueprint
aligns with the start image for the el96-prel scenario.
🧹 Nitpick comments (2)
test/Makefile (2)
63-65:find_layermay return multiple or zero matches silently.If no directory matches (e.g., typo in token), the build command will run with an empty
-largument and fail with a confusing error. Consider adding a guard or using$(or $(call find_layer,...),$(error ...)).
52-58: Double-space typo on line 57.There's an extra leading space/tab before
./bin/manage_build_cache.sh(the⟶on line 57 shows\trather than just\t). In abash -cheredoc this is harmless, but it looks unintentional.
test/scenarios-bootc/presubmits/el96-prel@el98-src@upgrade-ok.sh
Outdated
Show resolved
Hide resolved
|
/test all |
|
@ggiguash: This pull request references USHIFT-6519 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@test/Makefile`:
- Around line 63-65: The find_layer function silently returns empty or
multi-line values causing bad -l args; change its implementation (symbol:
find_layer) to validate the number of matches and fail loudly: run a shell
snippet that finds matching directories, splits by newline, counts them, and if
count != 1 prints a single canonical path to stdout but otherwise invokes make
error (or exits non‑zero) with a clear message; ensure consuming targets (e.g.
test-build-ostree-* and test-build-bootc-*) receive exactly one safe path or the
Makefile stops with an error.
|
@ggiguash: This pull request references USHIFT-6519 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/test ? |
|
/test e2e-aws-tests-cache |
|
@ggiguash: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
/test e2e-aws-tests-cache |
360a284 to
d511766
Compare
|
/test ? |
|
/test e2e-aws-tests-bootc-release |
|
@ggiguash: This pull request references USHIFT-6519 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
test/image-blueprints-bootc/layer3-periodic/group1/rhel98-bootc-source-ai-model-serving.containerfile (1)
3-3: LGTM — rhel96 → rhel98 base image swap is correct.Aligns with the PR objective and matches the companion
group2/rhel98-bootc-source-ai-model-serving.image-bootcreference. No other changes needed here.As a drive-by nit: using
:latestmeans builds silently pick up whateverlocalhost/rhel98-bootc-sourcehappens to be at build time. Pinning to a digest or a versioned tag would make builds reproducible — but since this is the established pattern across the whole layer, it's out of scope for this PR.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@test/image-blueprints-bootc/layer3-periodic/group1/rhel98-bootc-source-ai-model-serving.containerfile` at line 3, Replace the floating image reference "localhost/rhel98-bootc-source:latest" with a pinned identifier to make builds reproducible: either use a specific versioned tag (e.g. :vX.Y.Z) or the image digest (sha256:...) in the FROM line of rhel98-bootc-source-ai-model-serving.containerfile so the build always uses the exact same base image; leave the rest of the Dockerfile unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In
`@test/image-blueprints-bootc/layer3-periodic/group1/rhel98-bootc-source-ai-model-serving.containerfile`:
- Line 3: Replace the floating image reference
"localhost/rhel98-bootc-source:latest" with a pinned identifier to make builds
reproducible: either use a specific versioned tag (e.g. :vX.Y.Z) or the image
digest (sha256:...) in the FROM line of
rhel98-bootc-source-ai-model-serving.containerfile so the build always uses the
exact same base image; leave the rest of the Dockerfile unchanged.
ℹ️ Review info
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge base: Disabled due to data retention organization setting
📒 Files selected for processing (39)
test/bin/manage_webserver.shtest/image-blueprints-bootc/layer1-base/group2/rhel98-bootc-crel-isolated.containerfiletest/image-blueprints-bootc/layer1-base/group2/rhel98-bootc-crel-optionals.containerfiletest/image-blueprints-bootc/layer1-base/group2/rhel98-bootc-crel.containerfiletest/image-blueprints-bootc/layer2-presubmit/group1/rhel98-bootc-source-base.containerfiletest/image-blueprints-bootc/layer2-presubmit/group1/rhel98-bootc-source.containerfiletest/image-blueprints-bootc/layer2-presubmit/group2/rhel98-bootc-source-aux.containerfiletest/image-blueprints-bootc/layer2-presubmit/group2/rhel98-bootc-source-fake-next-minor.containerfiletest/image-blueprints-bootc/layer2-presubmit/group2/rhel98-bootc-source-fips.containerfiletest/image-blueprints-bootc/layer2-presubmit/group2/rhel98-bootc-source-optionals.containerfiletest/image-blueprints-bootc/layer3-periodic/group1/rhel98-bootc-source-ai-model-serving.containerfiletest/image-blueprints-bootc/layer3-periodic/group1/rhel98-bootc-source-isolated.containerfiletest/image-blueprints-bootc/layer3-periodic/group2/rhel96-bootc-source-isolated.image-bootctest/image-blueprints-bootc/layer3-periodic/group2/rhel98-bootc-source-ai-model-serving.image-bootctest/image-blueprints-bootc/layer3-periodic/group2/rhel98-bootc-source-gitops.containerfiletest/image-blueprints-bootc/layer3-periodic/group2/rhel98-bootc-source-isolated.image-bootctest/package-sources-bootc/microshift-rhocp-y.repotest/package-sources-bootc/microshift-rhocp-y1.repotest/package-sources-bootc/rhel98-mirror.repotest/scenarios-bootc/presubmits/el96-prel@el98-src@upgrade-ok.shtest/scenarios-bootc/presubmits/el98-base@el98-src@upgrade-ok.shtest/scenarios-bootc/presubmits/el98-base@src@opt@delta-upgrade-ok.shtest/scenarios-bootc/presubmits/el98-src@ai-model-serving-online.shtest/scenarios-bootc/presubmits/el98-src@auto-recovery.shtest/scenarios-bootc/presubmits/el98-src@backup-and-restore-on-reboot.shtest/scenarios-bootc/presubmits/el98-src@backups.shtest/scenarios-bootc/presubmits/el98-src@configuration.shtest/scenarios-bootc/presubmits/el98-src@downgrade-block.shtest/scenarios-bootc/presubmits/el98-src@dual-stack.shtest/scenarios-bootc/presubmits/el98-src@el100-src@upgrade-ok.shtest/scenarios-bootc/presubmits/el98-src@ipv6.shtest/scenarios-bootc/presubmits/el98-src@multi-nic.shtest/scenarios-bootc/presubmits/el98-src@optional.shtest/scenarios-bootc/presubmits/el98-src@router.shtest/scenarios-bootc/presubmits/el98-src@standard-suite1.shtest/scenarios-bootc/presubmits/el98-src@standard-suite2.shtest/scenarios-bootc/presubmits/el98-src@storage.shtest/scenarios-bootc/presubmits/el98-src@upgrade-fails-then-recovers.shtest/scenarios-bootc/presubmits/el98-src@upgrade-fails.sh
💤 Files with no reviewable changes (1)
- test/image-blueprints-bootc/layer3-periodic/group2/rhel96-bootc-source-isolated.image-bootc
🚧 Files skipped from review as they are similar to previous changes (24)
- test/scenarios-bootc/presubmits/el98-src@multi-nic.sh
- test/image-blueprints-bootc/layer3-periodic/group1/rhel98-bootc-source-isolated.containerfile
- test/bin/manage_webserver.sh
- test/scenarios-bootc/presubmits/el98-src@backups.sh
- test/image-blueprints-bootc/layer2-presubmit/group2/rhel98-bootc-source-optionals.containerfile
- test/scenarios-bootc/presubmits/el98-base@src@opt@delta-upgrade-ok.sh
- test/image-blueprints-bootc/layer2-presubmit/group1/rhel98-bootc-source-base.containerfile
- test/scenarios-bootc/presubmits/el98-src@dual-stack.sh
- test/scenarios-bootc/presubmits/el98-src@downgrade-block.sh
- test/image-blueprints-bootc/layer2-presubmit/group2/rhel98-bootc-source-fake-next-minor.containerfile
- test/image-blueprints-bootc/layer1-base/group2/rhel98-bootc-crel-optionals.containerfile
- test/scenarios-bootc/presubmits/el98-src@ai-model-serving-online.sh
- test/image-blueprints-bootc/layer3-periodic/group2/rhel98-bootc-source-ai-model-serving.image-bootc
- test/image-blueprints-bootc/layer2-presubmit/group1/rhel98-bootc-source.containerfile
- test/scenarios-bootc/presubmits/el98-src@standard-suite1.sh
- test/scenarios-bootc/presubmits/el98-src@upgrade-fails.sh
- test/scenarios-bootc/presubmits/el98-src@optional.sh
- test/image-blueprints-bootc/layer3-periodic/group2/rhel98-bootc-source-gitops.containerfile
- test/scenarios-bootc/presubmits/el98-src@backup-and-restore-on-reboot.sh
- test/image-blueprints-bootc/layer2-presubmit/group2/rhel98-bootc-source-aux.containerfile
- test/image-blueprints-bootc/layer3-periodic/group2/rhel98-bootc-source-isolated.image-bootc
- test/scenarios-bootc/presubmits/el98-src@standard-suite2.sh
- test/image-blueprints-bootc/layer2-presubmit/group2/rhel98-bootc-source-fips.containerfile
- test/image-blueprints-bootc/layer1-base/group2/rhel98-bootc-crel-isolated.containerfile
Also addresses USHIFT-6521
Summary by CodeRabbit
Release Notes
Tests
Chores