OCPBUGS-86332: remove tests using base images older than 4.13#6077
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@sergiordlr: This pull request references Jira Issue OCPBUGS-86332, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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. |
WalkthroughRemoves legacy bootimage-related Ginkgo tests and consolidates scale tests: test setup now only initializes the worker MCP; multiple scaleup cases are replaced by a single "Scaleup using 4.13 cloud image" test with updated platform skips; the PolarionID:80403 test was removed and replaced by comments referencing OCPBUGS-86332. ChangesBoot Image Test Exclusion and Cleanup
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 8 | ❌ 4❌ Failed checks (4 warnings)
✅ Passed checks (8 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 |
13d8044 to
d7c369b
Compare
There was a problem hiding this comment.
🧹 Nitpick comments (1)
test/extended-priv/mco_security.go (1)
944-944: 💤 Low valueConsider consistent spacing in Exclude labels for readability.
This file uses mixed patterns for exclude labels:
"Exclude:CategoryName"for category-style names (line 454) and"Exclude: descriptive sentence"for full sentences (lines 551, 638). The new label is a full sentence but uses the no-space pattern. For consistency with other descriptive exclude messages, consider"Exclude: Starting in 4.22..."(with space after colon).Optional style consistency fix
-g.It("[PolarionID:80403][OTP] Validate MCS Certificate Rotation with 2.2.0 User-Data Secret [Disruptive]", g.Label("Platform:aws", "Exclude:Starting in 4.22 we will no longer fix any bootimage related bugs from bootimages earlier than 4.13"), func() { +g.It("[PolarionID:80403][OTP] Validate MCS Certificate Rotation with 2.2.0 User-Data Secret [Disruptive]", g.Label("Platform:aws", "Exclude: Starting in 4.22 we will no longer fix any bootimage related bugs from bootimages earlier than 4.13"), func() {🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@test/extended-priv/mco_security.go` at line 944, The Exclude label on the g.It test invocation uses "Exclude:Starting in 4.22..." without a space after the colon; update the label in the g.It(...) call so it matches the project's descriptive exclude pattern by changing it to "Exclude: Starting in 4.22..." (ensure the string inside the g.It(...) labels array is adjusted accordingly) so spacing is consistent with other tests like the ones at lines referencing other Exclude messages.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@test/extended-priv/mco_security.go`:
- Line 944: The Exclude label on the g.It test invocation uses "Exclude:Starting
in 4.22..." without a space after the colon; update the label in the g.It(...)
call so it matches the project's descriptive exclude pattern by changing it to
"Exclude: Starting in 4.22..." (ensure the string inside the g.It(...) labels
array is adjusted accordingly) so spacing is consistent with other tests like
the ones at lines referencing other Exclude messages.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: e148bc7b-0464-47d5-ae97-88da5e7ba527
📒 Files selected for processing (2)
test/extended-priv/mco_scale.gotest/extended-priv/mco_security.go
|
/lgtm |
|
@isabella-janssen: This pull request references Jira Issue OCPBUGS-86332, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
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. |
|
Scheduling tests matching the |
d7c369b to
70e8d89
Compare
|
@sergiordlr: This pull request references Jira Issue OCPBUGS-86332, which is valid. 3 validation(s) were run on this bug
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 current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@test/extended-priv/mco_scale.go`:
- Around line 83-91: This new 4.13 scale test calls getRHCOSImagesInfo which
does an http.Get to raw.githubusercontent.com, so add a disconnected-cluster
guard before running SimpleScaleUPTest: detect a disconnected environment (reuse
existing helper like skipIfDisconnectedCluster or implement a short check that
verifies external HTTP access) and call it after
skipTestIfSupportedPlatformNotMatched and before SimpleScaleUPTest;
alternatively, change SimpleScaleUPTest to accept an internal RHCOS metadata
source or flag to avoid getRHCOSImagesInfo in disconnected setups (refer to
getRHCOSImagesInfo and SimpleScaleUPTest to locate the change).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 35e51932-4e9f-480a-80d4-ad22afdb101a
📒 Files selected for processing (2)
test/extended-priv/mco_scale.gotest/extended-priv/mco_security.go
|
/lgtm |
|
Scheduling tests matching the |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: isabella-janssen, pablintino, sergiordlr 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 |
|
We manually executed the new test with 4.13 base image /verified by @sergiordlr |
|
@sergiordlr: This PR has been marked as verified by 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. |
|
@sergiordlr: all tests passed! 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. |
|
@sergiordlr: Jira Issue Verification Checks: Jira Issue OCPBUGS-86332 Jira Issue OCPBUGS-86332 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓 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. |
|
Fix included in release 5.0.0-0.nightly-2026-05-27-134409 |
|
/cherry-pick release-4.22 |
|
@sergiordlr: new pull request created: #6104 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 kubernetes-sigs/prow repository. |
- What I did
Remove the tests using base images older than 4.13.
Images older than 4.13 are not going to receive more fixes. Hence, we need to remove the tests using them.
A new test case was added to test that the oldest supported version (4.13) can be used without problems.
- How to verify it
Tests using older images should not run in the automation
Summary by CodeRabbit