Skip to content

Make e2e-aws-openshift-node-compliance optional for ComplianceAsCode PRs - #82565

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
Vincent056:node-compliance-optional
Jul 29, 2026
Merged

Make e2e-aws-openshift-node-compliance optional for ComplianceAsCode PRs#82565
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
Vincent056:node-compliance-optional

Conversation

@Vincent056

@Vincent056 Vincent056 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Makes ci/prow/e2e-aws-openshift-node-compliance optional (non-merge-blocking) for both ComplianceAsCode/content and ComplianceAsCode/ocp4e2e pull requests. The job stays always_run: true so the signal remains visible on every PR.

Why

The lane has failed on effectively every run since 2026-07-17 across both repos, for reasons unrelated to the changes under test:

  • When the cluster installs successfully, the full-remediation node test times out waiting for MachineConfigPools — ~590 remediations reboot every node, the master pool rolls serially (~10 min/node on AWS), and the 60-minute wait sits exactly at the expected duration. Example: content#14878 run (Applied=589, Error=0, then master (Updated: 1/3, Unavailable: 1) at 60m).
  • Other runs die earlier in ipi-install-install (AWS installer infra), e.g. content#14679 / content#14841 runs.

As a required job this blocks merges repo-wide while providing no usable signal.

Path back to required

Reliability fixes for the underlying timeout are proposed in ComplianceAsCode/ocp4e2e#82 (raise the MCP wait to 120 min, fix a MaxUnavailable pointer-comparison bug that kept worker reboots serialized, add rollout diagnostics on timeout). Once the lane holds green, this should be reverted to make the job required again.

Generated with make jobs; only the two ComplianceAsCode config files and their regenerated presubmits change (4 lines).

Summary by CodeRabbit

  • Makes the AWS OpenShift node compliance e2e job optional and non-blocking for ComplianceAsCode/content and ComplianceAsCode/ocp4e2e pull requests.
  • Keeps the job running on every PR (always_run: true) so results remain visible while infrastructure and remediation-test reliability issues are addressed.
  • Updates the corresponding generated CI configurations and presubmit definitions.

The lane has failed on effectively every run since 2026-07-17 across both
ComplianceAsCode/content and ComplianceAsCode/ocp4e2e pull requests, for
reasons unrelated to the changes under test:

- when the cluster installs, the full-remediation node test times out
  waiting for MachineConfigPools (~590 remediations reboot every node; the
  master pool rolls serially and the 60-minute wait sits at the expected
  duration - e.g. content#14878, ocp4e2e#78 runs);
- other runs die earlier in ipi-install-install (AWS installer infra).

As a required job this blocks merges repo-wide while providing no usable
signal. Keep always_run so the signal stays visible, but stop gating merges
on it until it is stabilized. Reliability fixes for the underlying timeout
are proposed in ComplianceAsCode/ocp4e2e#82 (raise the MCP wait to 120min,
fix a MaxUnavailable bug that serialized worker reboots, add rollout
diagnostics); intent is to make the job required again once the lane holds
green.

Generated with make jobs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 28, 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: Pro Plus

Run ID: d86ee65f-fb8d-4a12-8e58-93d83e052f1a

📥 Commits

Reviewing files that changed from the base of the PR and between fac7145 and 04c9afb.

⛔ Files ignored due to path filters (2)
  • ci-operator/jobs/ComplianceAsCode/content/ComplianceAsCode-content-master-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/ComplianceAsCode/ocp4e2e/ComplianceAsCode-ocp4e2e-main-presubmits.yaml is excluded by !ci-operator/jobs/**
📒 Files selected for processing (2)
  • ci-operator/config/ComplianceAsCode/content/ComplianceAsCode-content-master.yaml
  • ci-operator/config/ComplianceAsCode/ocp4e2e/ComplianceAsCode-ocp4e2e-main.yaml

Walkthrough

The AWS OpenShift node compliance test is marked optional in both the content and ocp4e2e workflow configurations.

Changes

Compliance workflow configuration

Layer / File(s) Summary
Mark compliance tests optional
ci-operator/config/ComplianceAsCode/...
Adds optional: true to the e2e-aws-openshift-node-compliance test entries in both workflow definitions.

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

Suggested reviewers: yuumasato

🚥 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 and concisely matches the main change: making the e2e-aws-openshift-node-compliance job optional for ComplianceAsCode PRs.
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 PR only updates ci-operator YAML/presubmit config to mark the job optional; no Ginkgo It/Describe/Context/When titles or test code changed.
Test Structure And Quality ✅ Passed PR only changes ci-operator YAML and regenerated presubmits; no Ginkgo test code or test logic was modified, so the quality review is not applicable.
Microshift Test Compatibility ✅ Passed PR only marks an existing job optional in ci-operator YAML and regenerated presubmits; no new Ginkgo tests or API usage were added.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR only changes ci-operator YAML to mark an existing job optional; no Ginkgo test code or new test definitions were added, so SNO compatibility check is not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed Only CI job optionality changed; no deployment manifests, operators, or controllers were modified.
Ote Binary Stdout Contract ✅ Passed Only ci-operator YAML configs changed; they add optional:true and touch no main/init/TestMain code paths that could write stdout.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed Only ci-operator YAML changed; no Go/Ginkgo test bodies or new e2e tests were added, so IPv4/external-network compatibility is not applicable.
No-Weak-Crypto ✅ Passed The only changes are YAML job metadata; searches found no MD5/SHA1/DES/RC4/3DES/Blowfish/ECB or custom crypto usage.
Container-Privileges ✅ Passed Only optional: true was added; neither changed YAML contains privileged, hostPID/Network/IPC, allowPrivilegeEscalation, or root settings.
No-Sensitive-Data-In-Logs ✅ Passed Only optional: true was added to two job configs; no log statements, secrets, tokens, PII, or customer data were introduced.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

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

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 28, 2026
@openshift-ci
openshift-ci Bot requested review from bear-redhat and smg247 July 28, 2026 15:54
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@Vincent056: 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-ComplianceAsCode-content-master-e2e-aws-openshift-node-compliance ComplianceAsCode/content presubmit Ci-operator config changed
pull-ci-ComplianceAsCode-ocp4e2e-main-e2e-aws-openshift-node-compliance ComplianceAsCode/ocp4e2e presubmit Ci-operator config changed

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 added the lgtm Indicates that a PR is ready to be merged. label Jul 29, 2026
@taimurhafeez

Copy link
Copy Markdown
Contributor

/approve

@taimurhafeez

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci

openshift-ci Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: taimurhafeez, Vincent056

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

@Vincent056

Copy link
Copy Markdown
Contributor Author

/pj-rehearse ack

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@openshift-merge-bot openshift-merge-bot Bot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Jul 29, 2026
@openshift-ci

openshift-ci Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

@Vincent056: all tests passed!

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.

@openshift-merge-bot
openshift-merge-bot Bot merged commit 32259f2 into openshift:main Jul 29, 2026
16 checks passed
amogh-redhat pushed a commit to amogh-redhat/release that referenced this pull request Aug 5, 2026
…PRs (openshift#82565)

The lane has failed on effectively every run since 2026-07-17 across both
ComplianceAsCode/content and ComplianceAsCode/ocp4e2e pull requests, for
reasons unrelated to the changes under test:

- when the cluster installs, the full-remediation node test times out
  waiting for MachineConfigPools (~590 remediations reboot every node; the
  master pool rolls serially and the 60-minute wait sits at the expected
  duration - e.g. content#14878, ocp4e2e#78 runs);
- other runs die earlier in ipi-install-install (AWS installer infra).

As a required job this blocks merges repo-wide while providing no usable
signal. Keep always_run so the signal stays visible, but stop gating merges
on it until it is stabilized. Reliability fixes for the underlying timeout
are proposed in ComplianceAsCode/ocp4e2e#82 (raise the MCP wait to 120min,
fix a MaxUnavailable bug that serialized worker reboots, add rollout
diagnostics); intent is to make the job required again once the lane holds
green.

Generated with make jobs.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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. lgtm Indicates that a PR is ready to be merged. rehearsals-ack Signifies that rehearsal jobs have been acknowledged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants