OCPBUGS-86332: remove tests using base images older than 4.13#6077
OCPBUGS-86332: remove tests using base images older than 4.13#6077sergiordlr wants to merge 1 commit into
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. |
WalkthroughThis PR adds an exclusion Ginkgo label to five tests so they are skipped starting in 4.22 for legacy boot images (4.1, 4.3, 4.12, 2.2.0 ignition nodes, and the MCS rotation case). ChangesBoot Image Test Exclusion
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 11 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (11 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 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: isabella-janssen, 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 |
|
@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. |
- 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.
- How to verify it
Tests using older images should not run in the automation
- Description for the changelog
Summary by CodeRabbit