Skip to content

stackrox: full OCP e2e suite on AWS dual-stack IPv6-primary - #83132

Open
davdhacs wants to merge 6 commits into
openshift:mainfrom
davdhacs:davdhacs/ocp-aws-dual-ipv6-e2e
Open

stackrox: full OCP e2e suite on AWS dual-stack IPv6-primary#83132
davdhacs wants to merge 6 commits into
openshift:mainfrom
davdhacs:davdhacs/ocp-aws-dual-ipv6-e2e

Conversation

@davdhacs

@davdhacs davdhacs commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

/uncc

Run the full ACS e2e test suite (qa, nongroovy, operator, compliance, scanner-v4) on OCP 4.22 with AWS dual-stack IPv6-primary networking to validate ACS compatibility.

Uses CLOUD_PROVIDER=aws and NETWORK_STACK=dual-ipv6-primary from the automation-flavors ocp-4 image (openshift-4-latest).

All jobs are optional, triggered via /pj-rehearse.

ROX-10856

Summary by CodeRabbit

  • Adds optional ACS end-to-end jobs for OCP 4.22 on AWS with dual-stack IPv6-primary networking.
  • Covers QA, nongroovy, operator, compliance, and scanner-v4 installation suites.
  • Configures jobs to use CLOUD_PROVIDER=aws, NETWORK_STACK=dual-ipv6-primary, and the ocp-4 automation-flavors image.
  • Updates the workflow to accept these environment variables.
  • Targets the fix-ipv6-prefetcher branch for prefetcher LoadBalancer testing. Switch the configuration back to master before merging.

Run qa, nongroovy, operator, compliance, and scanner-v4 e2e tests
on OCP 4.22 with AWS dual-stack IPv6-primary networking.

Uses CLOUD_PROVIDER=aws and NETWORK_STACK=dual-ipv6-primary from
the automation-flavors ocp-4 image.

ROX-10856

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

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • ci-operator/jobs/stackrox/stackrox/stackrox-stackrox-fix-ipv6-prefetcher-presubmits.yaml is excluded by !ci-operator/jobs/**

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

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

Review profile: CHILL

Plan: Pro Plus

Run ID: 8baf3635-a26d-4504-afdb-9cc77ccd6db2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Walkthrough

The change adds network variable defaults to StackRox cluster creation and defines CI build and test workflows for the fix-ipv6-prefetcher branch on AWS dual-IPv6 OpenShift 4.22 clusters.

Changes

StackRox dual-IPv6 CI

Layer / File(s) Summary
Cluster network defaults
ci-operator/step-registry/stackrox/automation-flavors/ocp-4-e2e/stackrox-automation-flavors-ocp-4-e2e-workflow.yaml
The ocp-4-create pre-step now sets empty CLOUD_PROVIDER and NETWORK_STACK environment variables.
Dual-IPv6 test configuration
ci-operator/config/stackrox/stackrox/stackrox-stackrox-fix-ipv6-prefetcher__ocp-aws-dual-ipv6.yaml
The configuration adds build settings and five optional OpenShift 4.22 AWS dual-IPv6 test workflows for QA, nongroovy, operator, compliance, and scanner v4 installation suites.

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

Possibly related PRs

  • openshift/release#83134: Updates the same ocp-4-e2e workflow and adds related StackRox AWS dual-stack test configurations.
  • openshift/release#83136: Adds related AWS dual-stack IPv4/IPv6 CI configurations for other repositories and test suites.
🚥 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: adding the full StackRox OCP end-to-end suite for AWS dual-stack IPv6-primary networking.
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 static CI YAML and job identifiers; no Ginkgo It, Describe, Context, or When titles or dynamic test-title values are added or changed.
Test Structure And Quality ✅ Passed The full PR range changes only three YAML CI files; no Go/test source or Ginkgo constructs changed, so this test-code check is not applicable.
Microshift Test Compatibility ✅ Passed The pull request changes CI YAML and presubmit configuration only; it adds no Ginkgo e2e tests or new MicroShift-incompatible API usage to assess.
Single Node Openshift (Sno) Test Compatibility ✅ Passed The diff adds only CI configuration and generated presubmit YAML; it adds no Go files or Ginkgo It/Describe/Context/When tests, so the SNO compatibility check is not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed The PR changes CI workflow/config and generated presubmit jobs only; it adds no deployment, operator, controller, replica, affinity, selector, toleration, spread, or PDB scheduling constraints.
Ote Binary Stdout Contract ✅ Passed The PR changes only three YAML files; no OTE source code or process-level stdout writes are added.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The PR changes only CI YAML and presubmit wiring; no new Ginkgo test code, IPv4 assumptions, or external download/connection logic was added.
No-Weak-Crypto ✅ Passed The patch adds only CI configuration and generated presubmit YAML; added-line scans found no MD5, SHA1, DES, RC4, Blowfish, ECB, crypto API, or secret-comparison usage.
Container-Privileges ✅ Passed Changed YAML files contain no privileged, hostPID, hostNetwork, hostIPC, SYS_ADMIN, allowPrivilegeEscalation, capability, or explicit root settings.
No-Sensitive-Data-In-Logs ✅ Passed PR additions contain no logging commands or literal secrets; the workflow echoes only OCP_VERSION, and generated jobs mount credentials read-only without printing values.
✨ 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 Aug 7, 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 Aug 7, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@davdhacs

davdhacs commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-stackrox-stackrox-master-ocp-aws-dual-ipv6-qa-e2e-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@davdhacs

davdhacs commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-stackrox-stackrox-master-ocp-aws-dual-ipv6-nongroovy-e2e-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@davdhacs

davdhacs commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-stackrox-stackrox-master-ocp-aws-dual-ipv6-operator-e2e-tests

@davdhacs

davdhacs commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-stackrox-stackrox-master-ocp-aws-dual-ipv6-compliance-e2e-tests

@davdhacs

davdhacs commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-stackrox-stackrox-master-ocp-aws-dual-ipv6-scanner-v4-install-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

2 similar comments
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

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

davdhacs and others added 2 commits August 8, 2026 07:14
Use the stackrox branch with the prefetcher metrics LoadBalancer
fix so rehearsals can test IPv6-primary without the CLB timeout.

Switch back to master before merging.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Point the ocp-aws-dual-ipv6 config to the stackrox branch that has
the prefetcher LoadBalancer fix. Branch-specific presubmits file.

Switch back to master before merging.

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

@coderabbitai coderabbitai Bot left a comment

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.

Actionable comments posted: 1

🤖 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.

Inline comments:
In
`@ci-operator/config/stackrox/stackrox/stackrox-stackrox-fix-ipv6-prefetcher__ocp-aws-dual-ipv6.yaml`:
- Line 73: Change the stackrox-stackrox-fix-ipv6-prefetcher test branch from
fix-ipv6-prefetcher back to master in zz_generated_metadata.branch, then run
make update and verify the generated CI metadata and Prow jobs consistently
reference master.
🪄 Autofix

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 YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Pro Plus

Run ID: a8d7c27e-aed7-46ec-affb-f75d775a0c7b

📥 Commits

Reviewing files that changed from the base of the PR and between 90479d0 and fc755f8.

⛔ Files ignored due to path filters (1)
  • ci-operator/jobs/stackrox/stackrox/stackrox-stackrox-fix-ipv6-prefetcher-presubmits.yaml is excluded by !ci-operator/jobs/**
📒 Files selected for processing (1)
  • ci-operator/config/stackrox/stackrox/stackrox-stackrox-fix-ipv6-prefetcher__ocp-aws-dual-ipv6.yaml

TEST_SUITE: ocp-scanner-v4-install-tests
workflow: stackrox-automation-flavors-ocp-4-e2e
zz_generated_metadata:
branch: fix-ipv6-prefetcher

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.

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

file="ci-operator/config/stackrox/stackrox/stackrox-stackrox-fix-ipv6-prefetcher__ocp-aws-dual-ipv6.yaml"

echo "== file exists =="
git ls-files --error-unmatch "$file" || true

echo "== relevant lines =="
cat -n "$file" | sed -n '1,140p'

echo "== nearby branch occurrences =="
rg -n "fix-ipv6-prefetcher|zz_generated_metadata|cluster-profile|job|branch:" "$file" || true

echo "== git diff status for file =="
git diff -- "$file" | sed -n '1,220p'

Repository: openshift/release

Length of output: 2954


Switch the test branch back to master before merge.

fix-ipv6-prefetcher is a temporary branch for rehearsal. If this value remains, the merged CI configuration will continue testing that branch instead of StackRox master.

After changing zz_generated_metadata.branch, run make update and verify generated CI metadata and Prow jobs are consistent.

Proposed change
-  branch: fix-ipv6-prefetcher
+  branch: master
📝 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
branch: fix-ipv6-prefetcher
branch: master
🤖 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
`@ci-operator/config/stackrox/stackrox/stackrox-stackrox-fix-ipv6-prefetcher__ocp-aws-dual-ipv6.yaml`
at line 73, Change the stackrox-stackrox-fix-ipv6-prefetcher test branch from
fix-ipv6-prefetcher back to master in zz_generated_metadata.branch, then run
make update and verify the generated CI metadata and Prow jobs consistently
reference master.

Sources: Coding guidelines, Learnings

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

davdhacs commented Aug 8, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-stackrox-stackrox-fix-ipv6-prefetcher-ocp-aws-dual-ipv6-qa-e2e-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@davdhacs: 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]
@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-fix-ipv6-prefetcher-ocp-aws-dual-ipv6-compliance-e2e-tests stackrox/stackrox presubmit Presubmit changed
pull-ci-stackrox-stackrox-fix-ipv6-prefetcher-ocp-aws-dual-ipv6-nongroovy-e2e-tests stackrox/stackrox presubmit Presubmit changed
pull-ci-stackrox-stackrox-fix-ipv6-prefetcher-ocp-aws-dual-ipv6-operator-e2e-tests stackrox/stackrox presubmit Presubmit changed
pull-ci-stackrox-stackrox-fix-ipv6-prefetcher-ocp-aws-dual-ipv6-qa-e2e-tests stackrox/stackrox presubmit Presubmit changed
pull-ci-stackrox-stackrox-fix-ipv6-prefetcher-ocp-aws-dual-ipv6-scanner-v4-install-tests stackrox/stackrox presubmit Presubmit changed
pull-ci-stackrox-stackrox-master-ocp-next-candidate-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-next-candidate-scanner-v4-install-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-next-candidate-operator-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-next-candidate-ui-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-next-candidate-fips-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-next-candidate-compliance-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-next-candidate-nongroovy-e2e-tests stackrox/stackrox presubmit Registry content changed
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-stable-scanner-v4-install-qa-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-stable-scanner-v4-install-scanner-v4-install-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-stable-scanner-v4-install-operator-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-stable-scanner-v4-install-ui-e2e-tests stackrox/stackrox presubmit Registry content changed
pull-ci-stackrox-stackrox-master-ocp-stable-scanner-v4-install-compliance-e2e-tests stackrox/stackrox presubmit Registry content changed

A total of 161 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.

@davdhacs

davdhacs commented Aug 8, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-stackrox-stackrox-fix-ipv6-prefetcher-ocp-aws-dual-ipv6-qa-e2e-tests

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@davdhacs: 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 8, 2026

Copy link
Copy Markdown
Contributor

@davdhacs: 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/stackrox/stackrox/fix-ipv6-prefetcher/ocp-aws-dual-ipv6-qa-e2e-tests 13d898f link unknown /pj-rehearse pull-ci-stackrox-stackrox-fix-ipv6-prefetcher-ocp-aws-dual-ipv6-qa-e2e-tests
ci/rehearse/stackrox/stackrox/master/ocp-aws-dual-ipv6-scanner-v4-install-tests 6ec9be6 link unknown /pj-rehearse pull-ci-stackrox-stackrox-master-ocp-aws-dual-ipv6-scanner-v4-install-tests
ci/rehearse/stackrox/stackrox/master/ocp-aws-dual-ipv6-nongroovy-e2e-tests 6ec9be6 link unknown /pj-rehearse pull-ci-stackrox-stackrox-master-ocp-aws-dual-ipv6-nongroovy-e2e-tests
ci/rehearse/stackrox/stackrox/master/ocp-aws-dual-ipv6-qa-e2e-tests 6ec9be6 link unknown /pj-rehearse pull-ci-stackrox-stackrox-master-ocp-aws-dual-ipv6-qa-e2e-tests
ci/rehearse/stackrox/stackrox/master/ocp-aws-dual-ipv6-operator-e2e-tests 6ec9be6 link unknown /pj-rehearse pull-ci-stackrox-stackrox-master-ocp-aws-dual-ipv6-operator-e2e-tests
ci/rehearse/stackrox/stackrox/master/ocp-aws-dual-ipv6-compliance-e2e-tests 6ec9be6 link unknown /pj-rehearse pull-ci-stackrox-stackrox-master-ocp-aws-dual-ipv6-compliance-e2e-tests

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