Skip to content

Conversation

isabella-janssen
Copy link
Member

@isabella-janssen isabella-janssen commented Aug 15, 2025

Closes: OCPBUGS-60559

- What I did
Update the MOSC-related functions in the test/extended/ directory to take in one parameter representing both the MOSC and MCP names to align with the API validation introduced in openshift/api#2399 requiring the names to be identical.

- How to verify it
The on-cluster image mode tests in the MCO disruptive test suite should not fail with the following error.

MachineOSConfig name must match the referenced MachineConfigPool name; can only have one MachineOSConfig per MachineConfigPool

- Description for the changelog
OCPBUGS-60559: Update the OnClusterBuild tests to reflect validation rule requiring the MOSC and MCP names to match

Copy link
Contributor

openshift-ci bot commented Aug 15, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci openshift-ci bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Aug 15, 2025
@isabella-janssen
Copy link
Member Author

/payload-job periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-vsphere-mco-disruptive-techpreview

Running this in just one platform first to see if this idea does solve the issue @RishabhSaini was seeing in runs on openshift/origin#29741.

Copy link
Contributor

openshift-ci bot commented Aug 15, 2025

@isabella-janssen: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-vsphere-mco-disruptive-techpreview

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/3adae740-79ed-11f0-8715-4dfae806356e-0

@isabella-janssen isabella-janssen changed the title [DNM, testing] OCPBUGS-60559: [DNM, testing] Aug 15, 2025
@openshift-ci-robot openshift-ci-robot added jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Aug 15, 2025
@openshift-ci-robot
Copy link
Contributor

@isabella-janssen: This pull request references Jira Issue OCPBUGS-60559, which is invalid:

  • expected the bug to target the "4.20.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

- What I did

- How to verify it

- Description for the changelog

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 openshift-eng/jira-lifecycle-plugin repository.

@isabella-janssen
Copy link
Member Author

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Aug 15, 2025
@openshift-ci-robot
Copy link
Contributor

@isabella-janssen: This pull request references Jira Issue OCPBUGS-60559, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.20.0) matches configured target version for branch (4.20.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @sergiordlr

In response to this:

/jira refresh

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested a review from sergiordlr August 15, 2025 15:35
@isabella-janssen
Copy link
Member Author

/payload-job periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-vsphere-mco-disruptive-techpreview

Copy link
Contributor

openshift-ci bot commented Aug 15, 2025

@isabella-janssen: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-vsphere-mco-disruptive-techpreview

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/82884fa0-7a02-11f0-9cc6-fc2d877b48a3-0

@openshift-ci-robot
Copy link
Contributor

@isabella-janssen: This pull request references Jira Issue OCPBUGS-60559, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.20.0) matches configured target version for branch (4.20.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @sergiordlr

In response to this:

Closes: OCPBUGS-60559

- What I did
This updates the MOSC-related functions in the test/extended/ directory to take in one parameter representing both the MOSC and MCP names to align with the API validation introduced in openshift/api#2399 requiring the names to be identical.

- How to verify it
The on-cluster image mode tests in the MCO disruptive test suite should not fail with the following error.

MachineOSConfig name must match the referenced MachineConfigPool name; can only have one MachineOSConfig per MachineConfigPool

- Description for the changelog
OCPBUGS-60559: Update the OnClusterBuild tests to reflect validation rule requiring the MOSC and MCP names to match

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 openshift-eng/jira-lifecycle-plugin repository.

@isabella-janssen isabella-janssen changed the title OCPBUGS-60559: [DNM, testing] (WIP) OCPBUGS-60559: Update the OnClusterBuild payload tests to reflect the validation rule requiring MCP & MOSC names to match Aug 15, 2025
@isabella-janssen isabella-janssen marked this pull request as ready for review August 18, 2025 12:30
@isabella-janssen
Copy link
Member Author

/payload-job periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-vsphere-mco-disruptive periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-aws-mco-disruptive periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-azure-mco-disruptive periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-gcp-mco-disruptive

Copy link
Contributor

openshift-ci bot commented Aug 18, 2025

@isabella-janssen: trigger 4 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-vsphere-mco-disruptive
  • periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-aws-mco-disruptive
  • periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-azure-mco-disruptive
  • periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-gcp-mco-disruptive

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/661b7cf0-7c2f-11f0-9463-4ccb4ea76608-0

@openshift-ci openshift-ci bot requested review from djoshy and yuqi-zhang August 18, 2025 12:33
@umohnani8
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 18, 2025
@isabella-janssen
Copy link
Member Author

/hold

Holding for a moment to look at the payload results.

@openshift-ci openshift-ci bot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. and removed lgtm Indicates that a PR is ready to be merged. labels Aug 18, 2025
@isabella-janssen isabella-janssen force-pushed the mosc-test-names branch 2 times, most recently from 1f57ea3 to 3666e38 Compare August 19, 2025 18:55
@isabella-janssen
Copy link
Member Author

/payload-job periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-vsphere-mco-disruptive periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-aws-mco-disruptive

Copy link
Contributor

openshift-ci bot commented Aug 19, 2025

@isabella-janssen: trigger 2 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-vsphere-mco-disruptive
  • periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-aws-mco-disruptive

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/30962800-7d2e-11f0-88fb-82cc4c4bc4a4-0

@isabella-janssen isabella-janssen changed the title (WIP) OCPBUGS-60559: Update the OnClusterBuild payload tests to reflect the validation rule requiring MCP & MOSC names to match OCPBUGS-60559: Update the OnClusterBuild payload tests to reflect the validation rule requiring MCP & MOSC names to match Aug 20, 2025
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 20, 2025
@isabella-janssen
Copy link
Member Author

/payload-job periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-vsphere-mco-disruptive periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-aws-mco-disruptive

Copy link
Contributor

openshift-ci bot commented Aug 20, 2025

@isabella-janssen: trigger 2 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-vsphere-mco-disruptive
  • periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-aws-mco-disruptive

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/95428300-7d5d-11f0-897a-5bee0aea11d9-0

@isabella-janssen
Copy link
Member Author

/payload-job periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-aws-mco-disruptive

Copy link
Contributor

openshift-ci bot commented Aug 20, 2025

@isabella-janssen: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-aws-mco-disruptive

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/4943af80-7dc4-11f0-9f2b-ecd808670970-0

@isabella-janssen
Copy link
Member Author

/payload-job periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-vsphere-mco-disruptive periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-aws-mco-disruptive

Copy link
Contributor

openshift-ci bot commented Aug 20, 2025

@isabella-janssen: trigger 2 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-vsphere-mco-disruptive
  • periodic-ci-openshift-machine-config-operator-release-4.20-periodics-e2e-aws-mco-disruptive

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/44ef73c0-7dc8-11f0-9358-883f47a727b9-0

@isabella-janssen
Copy link
Member Author

isabella-janssen commented Aug 20, 2025

/unhold

Looks like the payload failures are unrelated & will be addressed in OCPBUGS-60683.

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 20, 2025
@RishabhSaini
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 20, 2025
Copy link
Contributor

openshift-ci bot commented Aug 20, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: isabella-janssen, RishabhSaini, umohnani8

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [RishabhSaini,isabella-janssen,umohnani8]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 03a3677 and 2 for PR HEAD ddc2cdb in total

@isabella-janssen
Copy link
Member Author

/retest-required

Copy link
Contributor

openshift-ci bot commented Aug 20, 2025

@isabella-janssen: 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/prow/e2e-azure-ovn-upgrade-out-of-change ddc2cdb link false /test e2e-azure-ovn-upgrade-out-of-change
ci/prow/bootstrap-unit ddc2cdb link false /test bootstrap-unit
ci/prow/e2e-agent-compact-ipv4 ddc2cdb link false /test e2e-agent-compact-ipv4
ci/prow/e2e-aws-mco-disruptive ddc2cdb link false /test e2e-aws-mco-disruptive
ci/prow/e2e-gcp-mco-disruptive ddc2cdb link false /test e2e-gcp-mco-disruptive
ci/prow/e2e-gcp-op-ocl ddc2cdb link false /test e2e-gcp-op-ocl

Full PR test history. Your PR dashboard.

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 4fbbf9b into openshift:main Aug 20, 2025
16 of 22 checks passed
@openshift-ci-robot
Copy link
Contributor

@isabella-janssen: Jira Issue OCPBUGS-60559: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-60559 has been moved to the MODIFIED state.

In response to this:

Closes: OCPBUGS-60559

- What I did
Update the MOSC-related functions in the test/extended/ directory to take in one parameter representing both the MOSC and MCP names to align with the API validation introduced in openshift/api#2399 requiring the names to be identical.

- How to verify it
The on-cluster image mode tests in the MCO disruptive test suite should not fail with the following error.

MachineOSConfig name must match the referenced MachineConfigPool name; can only have one MachineOSConfig per MachineConfigPool

- Description for the changelog
OCPBUGS-60559: Update the OnClusterBuild tests to reflect validation rule requiring the MOSC and MCP names to match

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 openshift-eng/jira-lifecycle-plugin repository.

@umohnani8
Copy link
Contributor

We should backport this as we are backporting the API validation also openshift/api#2449

/cherry-pick release-4.19

@openshift-cherrypick-robot

@umohnani8: #5249 failed to apply on top of branch "release-4.19":

Applying: tests: update OnClusterBuild tests to have MOSC and MCPs with matching names
Using index info to reconstruct a base tree...
M	test/extended/machineosconfig.go
M	test/extended/mco_ocb.go
Falling back to patching base and 3-way merge...
Auto-merging test/extended/mco_ocb.go
CONFLICT (content): Merge conflict in test/extended/mco_ocb.go
Auto-merging test/extended/machineosconfig.go
CONFLICT (content): Merge conflict in test/extended/machineosconfig.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config advice.mergeConflict false"
Patch failed at 0001 tests: update OnClusterBuild tests to have MOSC and MCPs with matching names

In response to this:

We should backport this as we are backporting the API validation also openshift/api#2449

/cherry-pick release-4.19

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.

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. jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants