Skip to content

baremetalds: tolerate IDMS MCP wait in degraded TNF - #83403

Open
jluhrsen wants to merge 1 commit into
openshift:mainfrom
jluhrsen:OCPBUGS-74973
Open

baremetalds: tolerate IDMS MCP wait in degraded TNF#83403
jluhrsen wants to merge 1 commit into
openshift:mainfrom
jluhrsen:OCPBUGS-74973

Conversation

@jluhrsen

@jluhrsen jluhrsen commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

A fenced master cannot converge its MCP. Allow degraded jobs to continue after a short best-effort wait while retaining strict waits elsewhere.

Summary by CodeRabbit

Baremetalds degraded TNF jobs now continue when a fenced master cannot converge its MCP. The IDMS setup passes SKIP_READINESS_CHECKS to the SSH command. When readiness checks are skipped, the job performs a best-effort 2-minute MCP wait. Other jobs retain the mandatory 10-minute MCP wait.

A fenced master cannot converge its MCP. Allow degraded jobs to continue after a short best-effort wait while retaining strict waits elsewhere.

Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
@coderabbitai

coderabbitai Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 488768b2-40e8-41e3-a47c-0769ea9ef858

📥 Commits

Reviewing files that changed from the base of the PR and between 9e7d877 and e52e9b6.

📒 Files selected for processing (1)
  • ci-operator/step-registry/baremetalds/e2e/test/baremetalds-e2e-test-commands.sh

Walkthrough

The bare-metal end-to-end test command now passes SKIP_READINESS_CHECKS to IDMS setup and changes MCP update waiting for degraded clusters.

Changes

Bare-metal readiness handling

Layer / File(s) Summary
Readiness-aware test command
ci-operator/step-registry/baremetalds/e2e/test/baremetalds-e2e-test-commands.sh
The IDMS SSH command passes SKIP_READINESS_CHECKS. MCP updates use a non-failing 2-minute wait when readiness checks are skipped and a mandatory 10-minute wait otherwise.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Mergeability Score: 🟡 Moderate · up to e52e9

The degraded path could treat authentication, API, or missing-resource failures as a successful MCP wait and continue incorrectly. This is a localized but concrete merge-readiness risk requiring failure classification or explicit owner acceptance.

Suggested reviewers: arkadeepsen, anuragthehatter

🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: tolerating the IDMS MCP wait in degraded TNF jobs.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed The diff changes only MCP wait logic in a shell step; it adds no Ginkgo declarations or test titles, and existing JUnit labels remain unchanged.
Test Structure And Quality ✅ Passed The PR changes a shell script, not Ginkgo test code. The added cluster waits have explicit 2-minute or 10-minute timeouts, and no Ginkgo markers appear in the changed file.
Microshift Test Compatibility ✅ Passed The commit changes only a shell script and adds no Ginkgo e2e tests, so MicroShift test compatibility checks do not apply.
Single Node Openshift (Sno) Test Compatibility ✅ Passed The pull request changes only a shell command file and adds no Ginkgo e2e tests, so the SNO test-compatibility check is not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed The diff changes one e2e shell script to pass a readiness flag and alter MCP wait timeouts; it adds no deployment manifest or scheduling constraint.
Ote Binary Stdout Contract ✅ Passed The commit changes only a Bash orchestration script; no OTE binary or process-level suite code changed, and the added echo is outside the OTE binary.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The PR changes only a shell command; the parent diff adds no Ginkgo e2e tests, IPv4 assumptions, or new external-connectivity test behavior.
No-Weak-Crypto ✅ Passed The pull request changes only MCP wait handling and adds no MD5, SHA1, DES, RC4, 3DES, Blowfish, ECB, custom crypto, or secret comparison.
Container-Privileges ✅ Passed The only changed file is a shell script. The added lines contain no privilege fields, capabilities, or container settings; the existing root@ SSH target was already present.
No-Sensitive-Data-In-Logs ✅ Passed The diff adds only a boolean readiness argument and fixed MCP status text; it does not log passwords, tokens, PII, hostnames, or customer data.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@jluhrsen

Copy link
Copy Markdown
Contributor Author

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

@openshift-ci

openshift-ci Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jluhrsen
Once this PR has been reviewed and has the lgtm label, please assign honza for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@jluhrsen: 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
pull-ci-openshift-images-master-e2e-metal-ipi-tests-ext openshift/images presubmit Registry content changed
pull-ci-openshift-images-release-5.1-e2e-metal-ipi-tests-ext openshift/images presubmit Registry content changed
pull-ci-openshift-images-release-5.0-e2e-metal-ipi-tests-ext openshift/images presubmit Registry content changed
pull-ci-openshift-images-release-4.23-e2e-metal-ipi-tests-ext openshift/images presubmit Registry content changed
pull-ci-openshift-images-master-e2e-metal-ipi-ovn-ipv6 openshift/images presubmit Registry content changed
pull-ci-openshift-images-release-5.1-e2e-metal-ipi-ovn-ipv6 openshift/images presubmit Registry content changed
pull-ci-openshift-images-release-5.0-e2e-metal-ipi-ovn-ipv6 openshift/images presubmit Registry content changed
pull-ci-openshift-images-release-4.23-e2e-metal-ipi-ovn-ipv6 openshift/images presubmit Registry content changed
pull-ci-openshift-images-release-4.22-e2e-metal-ipi-ovn-ipv6 openshift/images presubmit Registry content changed
pull-ci-openshift-images-release-4.21-e2e-metal-ipi-ovn-ipv6 openshift/images presubmit Registry content changed
pull-ci-openshift-images-release-4.20-e2e-metal-ipi-ovn-ipv6 openshift/images presubmit Registry content changed
pull-ci-openshift-images-release-4.19-e2e-metal-ipi-ovn-ipv6 openshift/images presubmit Registry content changed
pull-ci-openshift-images-release-4.18-e2e-metal-ipi-ovn-ipv6 openshift/images presubmit Registry content changed
pull-ci-openshift-images-release-4.17-e2e-metal-ipi-ovn-ipv6 openshift/images presubmit Registry content changed
pull-ci-openshift-images-release-4.16-e2e-metal-ipi-ovn-ipv6 openshift/images presubmit Registry content changed
pull-ci-openshift-images-release-4.15-e2e-metal-ipi-ovn-ipv6 openshift/images presubmit Registry content changed
pull-ci-openshift-images-release-4.14-e2e-metal-ipi-ovn-ipv6 openshift/images presubmit Registry content changed
pull-ci-openshift-images-release-4.13-e2e-metal-ipi-ovn-ipv6 openshift/images presubmit Registry content changed
pull-ci-openshift-images-release-4.12-e2e-metal-ipi-ovn-ipv6 openshift/images presubmit Registry content changed
pull-ci-openshift-ironic-inspector-image-release-4.8-prevalidation-e2e-metal-ipi-prevalidation openshift/ironic-inspector-image presubmit Registry content changed
pull-ci-openshift-ironic-inspector-image-release-4.8-e2e-metal-ipi openshift/ironic-inspector-image presubmit Registry content changed
pull-ci-openshift-ironic-inspector-image-release-4.7-prevalidation-e2e-metal-ipi-prevalidation openshift/ironic-inspector-image presubmit Registry content changed
pull-ci-openshift-ironic-inspector-image-release-4.7-e2e-metal-ipi openshift/ironic-inspector-image presubmit Registry content changed
pull-ci-openshift-ironic-inspector-image-release-4.6-e2e-metal-ipi openshift/ironic-inspector-image presubmit Registry content changed
pull-ci-openshift-ironic-inspector-image-release-4.6-prevalidation-e2e-metal-ipi-prevalidation openshift/ironic-inspector-image presubmit Registry content changed

A total of 2911 jobs have been affected by this change. The above listing is non-exhaustive and limited to 25 jobs.

A full list of affected jobs can be found here
Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals.

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.

@openshift-ci
openshift-ci Bot requested review from dgoodwin and xueqzhan August 13, 2026 17:43
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@openshift-ci openshift-ci Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 13, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@jluhrsen: requesting more than one rehearsal in one comment is not supported. If you would like to rehearse multiple specific jobs, please separate the job names by a space in a single command.

@jluhrsen

Copy link
Copy Markdown
Contributor Author

/hold cancel

@openshift-ci openshift-ci Bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 13, 2026
@jluhrsen

Copy link
Copy Markdown
Contributor Author

@anuragthehatter can you PTAL here. I think your PR here accidentally broke the v6 degraded (one of two nodes shutdown) jobs. Thinking this will get them working again without affecting your work.

@jluhrsen

Copy link
Copy Markdown
Contributor Author

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

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@jluhrsen

Copy link
Copy Markdown
Contributor Author

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

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@jluhrsen

Copy link
Copy Markdown
Contributor Author

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

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@openshift-ci

openshift-ci Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

@jluhrsen: The following tests 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-5.0-e2e-metal-ovn-two-node-fencing-degraded e52e9b6 link unknown /pj-rehearse periodic-ci-openshift-release-main-nightly-5.0-e2e-metal-ovn-two-node-fencing-degraded
ci/rehearse/periodic-ci-openshift-release-main-nightly-5.0-e2e-metal-ovn-two-node-fencing-ipv6-degraded e52e9b6 link unknown /pj-rehearse periodic-ci-openshift-release-main-nightly-5.0-e2e-metal-ovn-two-node-fencing-ipv6-degraded
ci/rehearse/periodic-ci-openshift-release-main-nightly-5.0-e2e-metal-ovn-two-node-fencing-dualstack-degraded e52e9b6 link unknown /pj-rehearse periodic-ci-openshift-release-main-nightly-5.0-e2e-metal-ovn-two-node-fencing-dualstack-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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant