Skip to content

[wmco] Add azure-e2e-operator-2machine CI job - #81847

Open
ranjithrajaram wants to merge 1 commit into
openshift:mainfrom
ranjithrajaram:wmco-2machine-e2e
Open

[wmco] Add azure-e2e-operator-2machine CI job#81847
ranjithrajaram wants to merge 1 commit into
openshift:mainfrom
ranjithrajaram:wmco-2machine-e2e

Conversation

@ranjithrajaram

@ranjithrajaram ranjithrajaram commented Jul 14, 2026

Copy link
Copy Markdown

Add a MACHINE_NODE_COUNT env var to the windows-e2e-operator-test step ref, allowing CI jobs to control how many Windows Machine instances are created. The default remains 1, preserving existing job behavior.

Add an azure-e2e-operator-2machine job variant for WMCO on master that sets MACHINE_NODE_COUNT=2. This enables E2E validation of the MaxParallelUpgrades constraint during userData-triggered Machine recreation, which requires at least 2 Machine-backed Windows nodes.

This is required for WMCO PR
openshift/windows-machine-config-operator#4155

Summary by CodeRabbit

  • Updates the windows-e2e-operator-test CI step reference to accept a new MACHINE_NODE_COUNT environment variable (defaulting to "1"), and forwards it to the E2E runner via hack/run-ci-e2e-test.sh -m.
  • Adds an azure-e2e-operator-2machine WMCO job variant on the master branch that sets MACHINE_NODE_COUNT=2, enabling E2E coverage for MaxParallelUpgrades during userData-triggered Machine recreation.
  • Comment requested running /pj-rehearse.

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@ranjithrajaram, pj-rehearse: unable to determine affected jobs. This could be due to a branch that needs to be rebased. ERROR:

couldn't prepare candidate: couldn't checkout base SHA e304f6b2ee56a94b0a0838b867fee3cc2d72752c: error checking out "e304f6b2ee56a94b0a0838b867fee3cc2d72752c": exit status 128 fatal: unable to read tree (e304f6b2ee56a94b0a0838b867fee3cc2d72752c)

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.

@coderabbitai

coderabbitai Bot commented Jul 14, 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: cf7602c9-2daa-47ed-8cee-859b1937f6c0

📥 Commits

Reviewing files that changed from the base of the PR and between 46d223b and 058b2a8.

📒 Files selected for processing (3)
  • ci-operator/config/openshift/windows-machine-config-operator/openshift-windows-machine-config-operator-master.yaml
  • ci-operator/step-registry/windows/e2e/operator/test/windows-e2e-operator-test-commands.sh
  • ci-operator/step-registry/windows/e2e/operator/test/windows-e2e-operator-test-ref.yaml

Walkthrough

The Windows E2E operator test now accepts a configurable Windows Machine replica count. Its default is one, while the Azure job sets it to two and passes that value to the E2E test entrypoint.

Changes

Windows E2E replica configuration

Layer / File(s) Summary
Configure and pass Windows replicas
ci-operator/step-registry/windows/e2e/operator/test/windows-e2e-operator-test-ref.yaml, ci-operator/step-registry/windows/e2e/operator/test/windows-e2e-operator-test-commands.sh, ci-operator/config/openshift/windows-machine-config-operator/openshift-windows-machine-config-operator-master.yaml
Defines WINDOWS_MACHINE_REPLICAS with a default of "1", passes it to hack/run-ci-e2e-test.sh, and sets the Azure job value to "2".

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

Suggested reviewers: mansikulkarni96

🚥 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 accurately reflects the main change: adding the azure-e2e-operator 2-machine CI job for WMCO.
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 only adds an env var and changes the test command; no Ginkgo It/Describe/Context/When titles were added or modified.
Test Structure And Quality ✅ Passed PASS: PR only changes CI config and the shell wrapper; no Ginkgo test blocks or test logic were modified, so this check is not applicable.
Microshift Test Compatibility ✅ Passed No Ginkgo test code was added; the PR only changes CI config and a shell wrapper, so MicroShift API compatibility is not implicated.
Single Node Openshift (Sno) Test Compatibility ✅ Passed Touched files are CI config/step plumbing only; no new Ginkgo It/Describe/Context/When tests were added, so no SNO-specific test compatibility issue.
Topology-Aware Scheduling Compatibility ✅ Passed Only CI test plumbing changed: a new env var and job replica setting; no manifests, controllers, affinities, or node selectors were added.
Ote Binary Stdout Contract ✅ Passed Only ci-operator config and a shell wrapper changed; no Go main/TestMain/suite setup code or OTE binary stdout writes were introduced.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed No new Ginkgo tests were added; the PR only updates CI config/step refs and passes a machine-count flag, with no IPv4-only logic or new external connectivity.
No-Weak-Crypto ✅ Passed The PR only changes CI env vars and test invocation; no MD5/SHA1/DES/RC4/3DES/Blowfish, custom crypto, or secret comparisons were added.
Container-Privileges ✅ Passed Touched files only add env-var wiring; no privileged, hostPID/Network/IPC, allowPrivilegeEscalation, or SYS_ADMIN settings appear.
No-Sensitive-Data-In-Logs ✅ Passed No new logging of secrets/PII/internal hosts was added; the PR only wires WINDOWS_MACHINE_REPLICAS into an existing test command.
✨ 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 needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jul 14, 2026
@openshift-ci

openshift-ci Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Hi @ranjithrajaram. 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.

Regular contributors should join the org to skip this step.

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.

@ranjithrajaram

Copy link
Copy Markdown
Author

/pj-rehearse

@jrvaldes jrvaldes 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.

LGTM, left a minor recomendation

Add a WINDOWS_MACHINE_REPLICAS env var to the windows-e2e-operator-test
step ref, allowing CI jobs to control how many Windows Machine instances
are created. The default remains 1, preserving existing job behavior.

Configure the existing azure-e2e-operator job with
WINDOWS_MACHINE_REPLICAS=2 to enable E2E validation of the
MaxParallelUpgrades constraint during userData-triggered Machine
recreation, which requires at least 2 Machine-backed Windows nodes.
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@ranjithrajaram: 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-ovn-kubernetes-main-e2e-aws-ovn-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-main-e2e-vsphere-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-5.1-e2e-aws-ovn-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-5.1-e2e-vsphere-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-5.0-e2e-aws-ovn-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-5.0-e2e-vsphere-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.23-e2e-aws-ovn-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.23-e2e-vsphere-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.22-e2e-aws-ovn-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.22-e2e-vsphere-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.21-e2e-aws-ovn-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.21-e2e-vsphere-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.20-e2e-aws-ovn-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.20-e2e-vsphere-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.19-e2e-aws-ovn-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.19-e2e-vsphere-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.18-e2e-aws-ovn-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.18-e2e-vsphere-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.17-e2e-aws-ovn-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.17-e2e-vsphere-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.16-e2e-aws-ovn-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.16-e2e-vsphere-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.15-e2e-aws-ovn-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.15-e2e-vsphere-windows openshift/ovn-kubernetes presubmit Registry content changed
pull-ci-openshift-ovn-kubernetes-release-4.14-e2e-aws-ovn-windows openshift/ovn-kubernetes presubmit Registry content changed

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

@ranjithrajaram

Copy link
Copy Markdown
Author

LGTM, left a minor recomendation

Thanks for the recommendation

@ranjithrajaram

Copy link
Copy Markdown
Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

@ranjithrajaram Sure, I'll perform a full review of all the changes in this PR.

✅ Action performed

Full review finished.

@mansikulkarni96

Copy link
Copy Markdown
Member

/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 Jul 16, 2026
@jrvaldes

Copy link
Copy Markdown
Contributor

/retest

@jrvaldes

Copy link
Copy Markdown
Contributor

/pj-rehearse pull-ci-openshift-windows-machine-config-operator-master-azure-e2e-operator

@jrvaldes

Copy link
Copy Markdown
Contributor

/pj-rehearse pull-ci-openshift-windows-machine-config-operator-master-vsphere-e2e-operator

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@jrvaldes jrvaldes 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.

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 16, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@openshift-ci

openshift-ci Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jrvaldes, ranjithrajaram

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 16, 2026
@ranjithrajaram

Copy link
Copy Markdown
Author

/pj-rehearse pull-ci-openshift-windows-machine-config-operator-master-azure-e2e-operator

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

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

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

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

@jrvaldes

Copy link
Copy Markdown
Contributor

Running tests with arguments: --machine-node-count=1

vsphere-e2e-operator job but validated the param with 2 machines is not extending to others tests

https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_release/81847/rehearse-81847-pull-ci-openshift-windows-machine-config-operator-master-vsphere-e2e-operator/2077788401192407040#1:build-log.txt%3A127

@jrvaldes

Copy link
Copy Markdown
Contributor

/pj-rehearse pull-ci-openshift-windows-machine-config-operator-master-vsphere-e2e-operator

@ranjithrajaram see #81847 (comment) , no need to trigger other tests. Just need azure to pass.

@jrvaldes

Copy link
Copy Markdown
Contributor

/pj-rehearse pull-ci-openshift-windows-machine-config-operator-master-azure-e2e-operator

Azure isntance deletion timed out, at 15 minutes

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@ranjithrajaram

Copy link
Copy Markdown
Author

/pj-rehearse pull-ci-openshift-windows-machine-config-operator-master-azure-e2e-operator

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@ranjithrajaram: job(s): either don't exist or were not found to be affected, and cannot be rehearsed

@ranjithrajaram

Copy link
Copy Markdown
Author

/pj-rehearse pull-ci-openshift-windows-machine-config-operator-master-azure-e2e-operator

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@ranjithrajaram

Copy link
Copy Markdown
Author

@jrvaldes Azure job is failing with the error " 2026/07/21 07:34:23 waiting (timeout: 5m0s) for 1 Windows Machines to reach phase "Provisioned" " should we adjust the timeout or consider this as an infra issue and do a retest ?

@ranjithrajaram

Copy link
Copy Markdown
Author

/pj-rehearse pull-ci-openshift-windows-machine-config-operator-master-azure-e2e-operator

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@ranjithrajaram: job(s): either don't exist or were not found to be affected, and cannot be rehearsed

@ranjithrajaram

Copy link
Copy Markdown
Author

/pj-rehearse pull-ci-openshift-windows-machine-config-operator-master-azure-e2e-operator

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@ranjithrajaram

Copy link
Copy Markdown
Author

/pj-rehearse pull-ci-openshift-windows-machine-config-operator-master-azure-e2e-operator

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@mansikulkarni96

Copy link
Copy Markdown
Member

/pj-rehearse-ok

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@mansikulkarni96: your /pj-rehearse request was not processed because the request waited in queue for longer than 5 minutes. Please retry in a few minutes.

@mansikulkarni96

Copy link
Copy Markdown
Member

/pj-rehearse auto-ack

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@openshift-ci

openshift-ci Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

@ranjithrajaram: 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/openshift/windows-machine-config-operator/master/vsphere-e2e-operator 058b2a8 link unknown /pj-rehearse pull-ci-openshift-windows-machine-config-operator-master-vsphere-e2e-operator
ci/rehearse/openshift/ovn-kubernetes/main/e2e-aws-ovn-windows 058b2a8 link unknown /pj-rehearse pull-ci-openshift-ovn-kubernetes-main-e2e-aws-ovn-windows
ci/rehearse/openshift/windows-machine-config-operator/master/azure-e2e-operator 058b2a8 link unknown /pj-rehearse pull-ci-openshift-windows-machine-config-operator-master-azure-e2e-operator
ci/rehearse/periodic-ci-openshift-windows-machine-config-operator-master-aws-e2e-operator-windows-server-2025 058b2a8 link unknown /pj-rehearse periodic-ci-openshift-windows-machine-config-operator-master-aws-e2e-operator-windows-server-2025

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. lgtm Indicates that a PR is ready to be merged. 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.

3 participants