Skip to content

NO-ISSUE: Degraded TNF lane should be ran against CONFORMANCE tests#78017

Open
Neilhamza wants to merge 2 commits intoopenshift:mainfrom
Neilhamza:fix-test-suite-degraded
Open

NO-ISSUE: Degraded TNF lane should be ran against CONFORMANCE tests#78017
Neilhamza wants to merge 2 commits intoopenshift:mainfrom
Neilhamza:fix-test-suite-degraded

Conversation

@Neilhamza
Copy link
Copy Markdown
Contributor

@Neilhamza Neilhamza commented Apr 20, 2026

the modified workflow should target conformance (default) test suite and not two-node suite

Summary by CodeRabbit

  • Chores

    • Adjusted CI workflow for degraded-node testing: removed a hardcoded test-suite selection and updated skip rules to include an additional runlevel/SCC requirement.
  • Documentation

    • Updated workflow title to "Degraded (one node intentionally down)" and clarified it runs across unskipped CONFORMANCE tests.

Signed-off-by: nhamza <nhamza@redhat.com>
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Apr 20, 2026
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@Neilhamza: This pull request explicitly references no jira issue.

Details

In response to this:

the modified workflow should target conformance (default) test suite and not two-node suite

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.

@openshift-ci openshift-ci Bot requested review from sosiouxme and stbenjam April 20, 2026 07:53
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 20, 2026

Walkthrough

Removed the workflow-level TEST_SUITE: openshift/two-node env var, updated workflow documentation text to “Degraded (one node intentionally down)”, and extended a TEST_SKIPS entry to append a requirement about cluster-version-operator runlevel and SCC; changes apply to the baremetalds two-node fencing degraded workflow YAML.

Changes

Cohort / File(s) Summary
Workflow Configuration
ci-operator/step-registry/baremetalds/two-node/fencing/degraded/baremetalds-two-node-fencing-degraded-workflow.yaml
Removed TEST_SUITE: openshift/two-node env var, updated workflow documentation text from “degraded fencing” to “Degraded (one node intentionally down)”, and extended the TEST_SKIPS entry to require that cluster-version-operator has correct runlevel and SCC.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~5 minutes

🚥 Pre-merge checks | ✅ 10
✅ Passed checks (10 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly describes the main change: removing TEST_SUITE: openshift/two-node to target CONFORMANCE tests instead.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Stable And Deterministic Test Names ✅ Passed The PR modifies a YAML workflow configuration file, not Go test files. The test skip patterns reference static, descriptive test names without dynamic values.
Test Structure And Quality ✅ Passed The custom check is not applicable to this PR as it modifies only a YAML workflow configuration file containing no Ginkgo test code.
Microshift Test Compatibility ✅ Passed No new Ginkgo e2e tests are being added; this PR only modifies CI workflow configuration for existing tests.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR modifies only CI workflow YAML configuration, not e2e test code. No new Ginkgo tests were added.
Topology-Aware Scheduling Compatibility ✅ Passed PR modifies CI/CD test workflow configuration, not deployment manifests, operator code, or controllers. No scheduling constraints introduced.
Ote Binary Stdout Contract ✅ Passed PR only modifies YAML workflow configuration file, not Go source code. OTE Binary Stdout Contract check applies only to Go code.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed No new Ginkgo e2e test code is being added; the PR only modifies CI/CD workflow configuration to change test execution parameters.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@Neilhamza
Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-degraded

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@Neilhamza: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@Neilhamza
Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-release-main-nightly-4.21-e2e-metal-ovn-two-node-fencing-degraded

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@Neilhamza: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@Neilhamza
Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-release-main-nightly-4.23-e2e-metal-ovn-two-node-fencing-degraded

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@Neilhamza: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@Neilhamza
Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-ipv6-degraded

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@Neilhamza: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@Neilhamza
Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-dualstack-degraded

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@Neilhamza: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@Neilhamza: job(s): periodic-ci-openshift-release-main-nightly-4.21-e2e-metal-ovn-two-node-fencing-degraded either don't exist or were not found to be affected, and cannot be rehearsed

Signed-off-by: nhamza <nhamza@redhat.com>
@Neilhamza
Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-degraded

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@Neilhamza: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@Neilhamza
Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-release-main-nightly-4.23-e2e-metal-ovn-two-node-fencing-degraded

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@Neilhamza: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@Neilhamza
Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-ipv6-degraded

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@Neilhamza: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@Neilhamza
Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-dualstack-degraded

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@Neilhamza: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@Neilhamza: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
periodic-ci-openshift-release-main-nightly-4.23-e2e-metal-ovn-two-node-fencing-ipv6-degraded N/A periodic Registry content changed
periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-degraded N/A periodic Registry content changed
periodic-ci-openshift-release-main-nightly-5.0-e2e-metal-ovn-two-node-fencing-ipv6-degraded N/A periodic Registry content changed
periodic-ci-openshift-release-main-nightly-5.0-e2e-metal-ovn-two-node-fencing-dualstack-degraded N/A periodic Registry content changed
periodic-ci-openshift-release-main-nightly-5.0-e2e-metal-ovn-two-node-fencing-degraded N/A periodic Registry content changed
periodic-ci-openshift-release-main-nightly-4.23-e2e-metal-ovn-two-node-fencing-dualstack-degraded N/A periodic Registry content changed
periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-degraded-tn-suite N/A periodic Registry content changed
periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-ipv6-degraded N/A periodic Registry content changed
periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ovn-two-node-fencing-dualstack-degraded N/A periodic Registry content changed
periodic-ci-openshift-release-main-nightly-4.23-e2e-metal-ovn-two-node-fencing-degraded N/A periodic Registry content changed
Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

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
`@ci-operator/step-registry/baremetalds/two-node/fencing/degraded/baremetalds-two-node-fencing-degraded-workflow.yaml`:
- Line 104: The skip regex contains an unnecessary escape before "cluster" in
the token "\|\cluster-version-operator"; locate the string used for skipping
(the regex containing "Prometheus .* ... OOM score adjustment ...
\|\cluster-version-operator") and remove the stray backslash so it becomes
"\|cluster-version-operator", ensuring the alternation is correct and portable.
🪄 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: Pro Plus

Run ID: e4ef6c7f-16b2-4aff-a57b-0867bb441a46

📥 Commits

Reviewing files that changed from the base of the PR and between d315f1c and 6a64c37.

📒 Files selected for processing (1)
  • ci-operator/step-registry/baremetalds/two-node/fencing/degraded/baremetalds-two-node-fencing-degraded-workflow.yaml

must-gather run the must-gather command with own name space\|\[sig-instrumentation]
Prometheus .* should start and expose a secured proxy and unsecured metrics\|\[Disruptive\]\|OOM score adjustment set to -997
TEST_SUITE: openshift/two-node
Prometheus .* should start and expose a secured proxy and unsecured metrics\|\[Disruptive\]\|OOM score adjustment set to -997\|\cluster-version-operator should have correct runlevel and scc
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

cd ci-operator/step-registry/baremetalds/two-node/fencing/degraded && \
head -n 110 baremetalds-two-node-fencing-degraded-workflow.yaml | tail -n 20

Repository: openshift/release

Length of output: 1992


🏁 Script executed:

# Find references to this file and how the pattern is processed
rg -l "baremetalds-two-node-fencing-degraded" --max-count=5

Repository: openshift/release

Length of output: 537


🏁 Script executed:

# Search for similar test skip patterns to understand the regex convention
rg '\\\|\[' --type yaml -A 1 -B 1 | head -40

Repository: openshift/release

Length of output: 43


🏁 Script executed:

# Check the full test skip pattern section to understand context
sed -n '90,110p' ci-operator/step-registry/baremetalds/two-node/fencing/degraded/baremetalds-two-node-fencing-degraded-workflow.yaml

Repository: openshift/release

Length of output: 1805


🏁 Script executed:

# Search for other instances of backslash-letter sequences in the file
rg '\\\[a-z]' ci-operator/step-registry/baremetalds/two-node/fencing/degraded/baremetalds-two-node-fencing-degraded-workflow.yaml

Repository: openshift/release

Length of output: 43


🏁 Script executed:

# Search for backslash-c pattern more directly
rg '\\c' ci-operator/step-registry/baremetalds/two-node/fencing/degraded/baremetalds-two-node-fencing-degraded-workflow.yaml

Repository: openshift/release

Length of output: 258


🏁 Script executed:

# Also check for the specific line with the issue to confirm the exact content
rg 'cluster-version-operator' ci-operator/step-registry/baremetalds/two-node/fencing/degraded/baremetalds-two-node-fencing-degraded-workflow.yaml

Repository: openshift/release

Length of output: 258


Remove the unnecessary backslash before cluster in the skip regex.

Line 104 contains \|\cluster-version-operator, where the backslash before cluster is a stray escape that serves no purpose in regex alternation. Change to \|cluster-version-operator for better clarity and portability.

Proposed fix
-        Prometheus .* should start and expose a secured proxy and unsecured metrics\|\[Disruptive\]\|OOM score adjustment set to -997\|\cluster-version-operator should have correct runlevel and scc
+        Prometheus .* should start and expose a secured proxy and unsecured metrics\|\[Disruptive\]\|OOM score adjustment set to -997\|cluster-version-operator should have correct runlevel and scc
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
Prometheus .* should start and expose a secured proxy and unsecured metrics\|\[Disruptive\]\|OOM score adjustment set to -997\|\cluster-version-operator should have correct runlevel and scc
Prometheus .* should start and expose a secured proxy and unsecured metrics\|\[Disruptive\]\|OOM score adjustment set to -997\|cluster-version-operator should have correct runlevel and scc
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
`@ci-operator/step-registry/baremetalds/two-node/fencing/degraded/baremetalds-two-node-fencing-degraded-workflow.yaml`
at line 104, The skip regex contains an unnecessary escape before "cluster" in
the token "\|\cluster-version-operator"; locate the string used for skipping
(the regex containing "Prometheus .* ... OOM score adjustment ...
\|\cluster-version-operator") and remove the stray backslash so it becomes
"\|cluster-version-operator", ensuring the alternation is correct and portable.

Copy link
Copy Markdown
Contributor

@jaypoulz jaypoulz left a comment

Choose a reason for hiding this comment

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

/lgtm

Let's make sure the -tn- degraded lanes still run the two-node suite, but otherwise looks good to me

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Apr 20, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 20, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jaypoulz, Neilhamza

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 20, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 20, 2026

@Neilhamza: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/rehearse/periodic-ci-openshift-release-main-nightly-4.23-e2e-metal-ovn-two-node-fencing-degraded 6a64c37 link unknown /pj-rehearse periodic-ci-openshift-release-main-nightly-4.23-e2e-metal-ovn-two-node-fencing-degraded

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants