Skip to content

stackrox: add OCP 4.22 RHCOS 10 nightly e2e jobs - #82699

Open
davdhacs wants to merge 7 commits into
openshift:mainfrom
davdhacs:davdhacs/ocp-4-22-rhcos10-nightlies
Open

stackrox: add OCP 4.22 RHCOS 10 nightly e2e jobs#82699
davdhacs wants to merge 7 commits into
openshift:mainfrom
davdhacs:davdhacs/ocp-4-22-rhcos10-nightlies

Conversation

@davdhacs

@davdhacs davdhacs commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

/uncc

Add nightly OCP 4.22 e2e jobs running on RHCOS 10 nodes (qa, nongroovy, operator, compliance). Uses OCP_NODE_IMAGE_STREAM=rhel-10 env var from automation-flavors (stackrox/automation-flavors#352).

Depends on the workflow step registry change (also included here) that declares OCP_NODE_IMAGE_STREAM in the ocp-4-create step.

ROX-35697

Summary by CodeRabbit

Adds nightly StackRox end-to-end coverage for OpenShift 4.22 on RHCOS 10 nodes. The coverage includes QA, nongroovy, operator, and compliance workflows. The shared workflow now accepts OS_IMAGE_STREAM for node image selection.

Add nightly variant ocp-4-22-rhcos10 running qa, nongroovy, operator,
and compliance e2e tests on OCP 4.22 with RHCOS 10 nodes daily.

Uses OCP_NODE_IMAGE_STREAM=rhel-10 env var from automation-flavors
(stackrox/automation-flavors#352).

ROX-35697

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

coderabbitai Bot commented Jul 30, 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: ff529eb4-5dbb-43db-96f9-a11d9157cdff

📥 Commits

Reviewing files that changed from the base of the PR and between 799d71f and 36cc5ab.

⛔ Files ignored due to path filters (1)
  • ci-operator/jobs/stackrox/stackrox/stackrox-stackrox-nightlies-postsubmits.yaml is excluded by !ci-operator/jobs/**
📒 Files selected for processing (1)
  • ci-operator/config/stackrox/stackrox/stackrox-stackrox-nightlies__ocp-4-22-rhcos10.yaml
🚧 Files skipped from review as they are similar to previous changes (1)
  • ci-operator/config/stackrox/stackrox/stackrox-stackrox-nightlies__ocp-4-22-rhcos10.yaml

Walkthrough

Adds StackRox OpenShift 4.22 RHCOS 10 nightlies configuration, four postsubmit E2E workflows, generated variant metadata, and an optional OS_IMAGE_STREAM workflow variable.

Changes

StackRox OCP 4.22 nightlies

Layer / File(s) Summary
E2E workflow environment wiring
ci-operator/step-registry/stackrox/automation-flavors/ocp-4-e2e/stackrox-automation-flavors-ocp-4-e2e-workflow.yaml
Adds OS_IMAGE_STREAM to the workflow pre-step environment with an empty default.
Nightlies build and E2E configuration
ci-operator/config/stackrox/stackrox/stackrox-stackrox-nightlies__ocp-4-22-rhcos10.yaml
Defines the OCP 4.22 base image, build settings, four postsubmit E2E suites, and generated variant metadata.

Estimated code review effort: 2 (Simple) | ~15 minutes

Possibly related PRs

  • openshift/release#82681: Modifies the StackRox OCP 4 E2E workflow to define or use OS_IMAGE_STREAM for RHCOS image selection.
🚥 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 addition of StackRox OpenShift 4.22 RHCOS 10 nightly end-to-end 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 PR changes only CI YAML configuration and workflow files; no Ginkgo It, Describe, Context, or When titles, dynamic test-name expressions, or test source files were added.
Test Structure And Quality ✅ Passed The PR changes CI YAML and a workflow environment variable only; no Ginkgo test source, It blocks, resource fixtures, or Eventually/Consistently calls were changed.
Microshift Test Compatibility ✅ Passed The PR changes only three YAML CI files; it adds no Ginkgo tests, test files, or test declarations requiring MicroShift API compatibility review.
Single Node Openshift (Sno) Test Compatibility ✅ Passed The PR adds only CI YAML configuration and workflow environment changes; no new Ginkgo It, Describe, Context, or When test definitions are present.
Topology-Aware Scheduling Compatibility ✅ Passed The patch changes only CI configuration: four env-variable reorderings in a nightlies YAML; no deployment manifests, operator code, controllers, or scheduling constraints changed.
Ote Binary Stdout Contract ✅ Passed The PR changes only three YAML files; it adds no OTE binary or process-level Go code, and no stdout write in main or suite setup is present to flag.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The PR changes only CI YAML configuration and environment values; it adds no Ginkgo tests, IPv4 literals, or public network endpoints.
No-Weak-Crypto ✅ Passed The PR adds only YAML CI configuration and workflow variables; the full PR diff contains no MD5, SHA1, DES, RC4, Blowfish, ECB, crypto implementation, or secret comparison.
Container-Privileges ✅ Passed The changed YAML adds no privileged, hostPID, hostNetwork, hostIPC, SYS_ADMIN, allowPrivilegeEscalation, or root security settings; referenced StackRox step refs also contain none.
No-Sensitive-Data-In-Logs ✅ Passed Changed YAML contains no sensitive values or secret-printing commands; workflow logs only the non-sensitive OCP_VERSION and invokes create/destroy commands.
✨ 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 commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: davdhacs

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 Jul 30, 2026
…ors tag

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
davdhacs and others added 5 commits July 31, 2026 08:55
Match the env var name accepted in the automation-flavors code review.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…IMAGE_STREAM)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@davdhacs: 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-stackrox-stackrox-master-ocp-5-0-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-5-0-scanner-v4-install-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-5-0-operator-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-5-0-ui-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-5-0-fips-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-5-0-compliance-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-5-0-nongroovy-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-5-0-vm-scanning-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-dev-preview-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-dev-preview-scanner-v4-install-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-dev-preview-operator-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-dev-preview-ui-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-dev-preview-fips-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-dev-preview-compliance-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-dev-preview-nongroovy-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-4-12-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-4-12-scanner-v4-install-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-4-12-operator-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-4-12-ui-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-4-12-compliance-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-4-12-nongroovy-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-4-22-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-4-22-scanner-v4-install-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-4-22-operator-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-4-22-ui-e2e-tests stackrox/stackrox presubmit Registry content changed

A total of 150 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

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 commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

@davdhacs: 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.

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant