Skip to content

Adding MIWI tests to aro e2e#77992

Open
rachelvweber wants to merge 1 commit intoopenshift:mainfrom
rachelvweber:rawo/aroClassicMiwi
Open

Adding MIWI tests to aro e2e#77992
rachelvweber wants to merge 1 commit intoopenshift:mainfrom
rachelvweber:rawo/aroClassicMiwi

Conversation

@rachelvweber
Copy link
Copy Markdown
Contributor

@rachelvweber rachelvweber commented Apr 17, 2026

Adding MIWI tests to aro e2e

Summary by CodeRabbit

Release Notes

  • Chores
    • Updated CI test configurations to support expanded testing scenarios across multiple deployment environments.
    • Enhanced testing infrastructure resource pools to improve test execution capacity.

@openshift-ci openshift-ci bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Apr 17, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Apr 17, 2026

Hi @rachelvweber. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Tip

We noticed you've done this a few times! Consider joining the org to skip this step and gain /lgtm and other bot rights. We recommend asking approvers on your previous PRs to sponsor you.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@openshift-ci openshift-ci bot requested review from droslean and hlipsig April 17, 2026 22:48
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 17, 2026

Walkthrough

The changes update Azure ARO-RP CI/CD test configuration to rename E2E parallel test variants and introduce MIWI (Managed Identity with Workload Identity) support alongside existing CSP variants. New Boskos resource quotas are created to support MSI container lease management across integration, staging, and production environments.

Changes

Cohort / File(s) Summary
E2E Test Configuration
ci-operator/config/Azure/ARO-RP/Azure-ARO-RP-master.yaml
Renamed existing *-e2e-parallel test entries to *-e2e-parallel-miwi and added leases blocks binding to MSI container resource types. Replaced dev e2e-parallel entry with three CSP-prefixed variants (*-e2e-parallel-csp) using int/stg/prod cluster profiles.
Presubmit Job Definitions
ci-operator/jobs/Azure/ARO-RP/Azure-ARO-RP-master-presubmits.yaml
Updated presubmit job name, context, rerun_command, and trigger regexes: renamed e2e-parallel to e2e-parallel-csp and *-e2e-parallel to *-e2e-parallel-miwi. Added new presubmit entries for CSP and MIWI variants with full Kubernetes job specifications and decoration labels.
Boskos Resource Management
core-services/prow/02_config/_boskos.yaml, core-services/prow/02_config/generate-boskos.py
Added three new Boskos resource types (aro-classic-test-msi-containers-int, -stg, -prod) with 50 enumerated quota identifiers each. Updated Python generation script to populate these resource slices in the CONFIG map.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 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 'Adding MIWI tests to aro e2e' accurately describes the main objective of the changeset, which introduces MIWI (Managed Identity with Workload Identity) test configurations across three test environments.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Stable And Deterministic Test Names ✅ Passed This check is not applicable to this PR. The custom check specifically requires validating Ginkgo test names (It(), Describe(), Context(), When() definitions) for dynamic information. However, this PR exclusively modifies CI/CD configuration files (YAML) and a Python script for Boskos resource generation—it does not contain any Go test files or Ginkgo test definitions.
Test Structure And Quality ✅ Passed PR contains only CI/CD configuration files (YAML and Python) with no Ginkgo test code requiring review.
Microshift Test Compatibility ✅ Passed This pull request does not add any new Ginkgo e2e test code. All modified files are CI/CD configuration files with zero new Go test files.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR only modifies CI/CD configuration and resource lease definitions in openshift/release repository. No new Ginkgo e2e test code is added; existing ARO-RP tests are executed via compiled binary.
Topology-Aware Scheduling Compatibility ✅ Passed PR modifies only CI/CD infrastructure configuration files without introducing topology-aware scheduling constraints.
Ote Binary Stdout Contract ✅ Passed OTE Binary Stdout Contract check is not applicable; PR contains only CI/CD configuration files and Python utility scripts, no Go test implementations.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed PR modifies only CI/CD configuration files (YAML and Python scripts) with no new Ginkgo test code additions. Custom check for new test implementations is not applicable.

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

✨ 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 and usage tips.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Apr 17, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: rachelvweber
Once this PR has been reviewed and has the lgtm label, please assign bear-redhat, mociarain 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]
@rachelvweber: 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-Azure-ARO-RP-master-e2e-parallel-csp Azure/ARO-RP presubmit Presubmit changed
pull-ci-Azure-ARO-RP-master-integration-e2e-parallel-csp Azure/ARO-RP presubmit Presubmit changed
pull-ci-Azure-ARO-RP-master-integration-e2e-parallel-miwi Azure/ARO-RP presubmit Presubmit changed
pull-ci-Azure-ARO-RP-master-prod-e2e-parallel-csp Azure/ARO-RP presubmit Presubmit changed
pull-ci-Azure-ARO-RP-master-prod-e2e-parallel-miwi Azure/ARO-RP presubmit Presubmit changed
pull-ci-Azure-ARO-RP-master-stage-e2e-parallel-csp Azure/ARO-RP presubmit Presubmit changed
pull-ci-Azure-ARO-RP-master-stage-e2e-parallel-miwi Azure/ARO-RP presubmit Presubmit 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.

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.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
ci-operator/config/Azure/ARO-RP/Azure-ARO-RP-master.yaml (1)

97-103: ⚠️ Potential issue | 🟡 Minor

Missing optional: true on the dev e2e-parallel-csp entry.

All other test entries in this file set optional: true, and the previous e2e-parallel entry likely did too. If the omission here is intentional (i.e., the dev variant should actually gate PRs), disregard — otherwise add it for consistency.

Proposed fix
 - always_run: false
   as: e2e-parallel-csp
+  optional: true
   steps:
     cluster_profile: aro-classic-dev
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@ci-operator/config/Azure/ARO-RP/Azure-ARO-RP-master.yaml` around lines 97 -
103, The e2e-parallel-csp job is missing the optional flag; update the job block
that has "as: e2e-parallel-csp" (workflow: aro-classic-e2e, cluster_profile:
aro-classic-dev) to include "optional: true" so it matches the other test
entries and does not gate PRs unintentionally.
🧹 Nitpick comments (1)
ci-operator/jobs/Azure/ARO-RP/Azure-ARO-RP-master-presubmits.yaml (1)

1-637: Prowgen-generated file—recommend regenerating via standard flow.

This file carries the ci.openshift.io/generator: prowgen label and is intended to be regenerated from the ci-operator config rather than hand-edited. Verification confirms the seven test targets in the config (e2e-parallel-csp, integration-e2e-parallel-csp, integration-e2e-parallel-miwi, prod-e2e-parallel-csp, prod-e2e-parallel-miwi, stage-e2e-parallel-csp, stage-e2e-parallel-miwi) all have matching presubmits with correct --target values, trigger patterns, and optional/always_run flags.

The Boskos resource types aro-classic-test-msi-containers-{int,stg,prod} required by the MIWI variants are already declared in core-services/prow/02_config/_boskos.yaml with 50 numbered instances (0–49) each.

Regenerate this file via make jobs or ci-operator-prowgen to ensure byte-for-byte consistency with the canonical config and to guarantee any additional fields (e.g., max_concurrency, pathAlias) are included if defined upstream.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@ci-operator/jobs/Azure/ARO-RP/Azure-ARO-RP-master-presubmits.yaml` around
lines 1 - 637, This file is prowgen-generated and should not be hand-edited;
regenerate it to restore canonical output: run the standard generation flow
(e.g. make jobs or ci-operator-prowgen) to recreate Azure/ARO-RP presubmits so
that the ci.openshift.io/generator: prowgen label, the seven targets
(e2e-parallel-csp, integration-e2e-parallel-csp, integration-e2e-parallel-miwi,
prod-e2e-parallel-csp, prod-e2e-parallel-miwi, stage-e2e-parallel-csp,
stage-e2e-parallel-miwi), their --target args, trigger regexes,
optional/always_run flags, and any missing fields like max_concurrency or
pathAlias match the canonical ci-operator config and the Boskos resource
declarations.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In `@ci-operator/config/Azure/ARO-RP/Azure-ARO-RP-master.yaml`:
- Around line 97-103: The e2e-parallel-csp job is missing the optional flag;
update the job block that has "as: e2e-parallel-csp" (workflow: aro-classic-e2e,
cluster_profile: aro-classic-dev) to include "optional: true" so it matches the
other test entries and does not gate PRs unintentionally.

---

Nitpick comments:
In `@ci-operator/jobs/Azure/ARO-RP/Azure-ARO-RP-master-presubmits.yaml`:
- Around line 1-637: This file is prowgen-generated and should not be
hand-edited; regenerate it to restore canonical output: run the standard
generation flow (e.g. make jobs or ci-operator-prowgen) to recreate Azure/ARO-RP
presubmits so that the ci.openshift.io/generator: prowgen label, the seven
targets (e2e-parallel-csp, integration-e2e-parallel-csp,
integration-e2e-parallel-miwi, prod-e2e-parallel-csp, prod-e2e-parallel-miwi,
stage-e2e-parallel-csp, stage-e2e-parallel-miwi), their --target args, trigger
regexes, optional/always_run flags, and any missing fields like max_concurrency
or pathAlias match the canonical ci-operator config and the Boskos resource
declarations.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: ea088835-fd1f-46af-8a66-78104b27c89c

📥 Commits

Reviewing files that changed from the base of the PR and between 588b285 and c9f841d.

📒 Files selected for processing (4)
  • ci-operator/config/Azure/ARO-RP/Azure-ARO-RP-master.yaml
  • ci-operator/jobs/Azure/ARO-RP/Azure-ARO-RP-master-presubmits.yaml
  • core-services/prow/02_config/_boskos.yaml
  • core-services/prow/02_config/generate-boskos.py

@mmazur
Copy link
Copy Markdown
Member

mmazur commented Apr 20, 2026

/ok-to-test

@openshift-ci openshift-ci bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Apr 20, 2026
@rachelvweber
Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-Azure-ARO-RP-master-prod-e2e-parallel-miwi

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

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

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Apr 20, 2026

@rachelvweber: 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/Azure/ARO-RP/master/prod-e2e-parallel-miwi c9f841d link unknown /pj-rehearse pull-ci-Azure-ARO-RP-master-prod-e2e-parallel-miwi

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

ok-to-test Indicates a non-member PR verified by an org member that is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants