Skip to content

Conversation

@pablintino
Copy link
Contributor

@pablintino pablintino commented Jun 5, 2025

- What I did

This changes moves/copies the extended QE test suites to our repo to be consumed by upstream CI for OCL component readiness.
The ported code is the bare minimum required to run the selected tests (choosen by this spike). The code has been also updated to match the Golang capabilities our version has, to align it with our linting rules and to try to minimize the amount of external dependencies.

- How to verify it

  • Spin up a cluster
  • Run the new added command machine-config-tests-ext run-suite openshift/machine-config-operator/disruptive
  • Ensure the tests in the MCO-1651 spike are listed and pass.

- Description for the changelog

This change integrates a minimal, updated subset of the extended MCO QE test suites into the repository to enable upstream CI validation for the OCL component.

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 5, 2025
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jun 5, 2025
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Jun 5, 2025

@pablintino: This pull request references MCO-1719 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the spike to target the "4.20.0" version, but no target version was set.

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.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 5, 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 the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 5, 2025
@pablintino pablintino force-pushed the mco-qe-testsuite-port branch 5 times, most recently from a4ef58b to 53fabde Compare June 10, 2025 08:58
@pablintino pablintino changed the title MCO-1719: PoC to port the internal MCO test suite MCO-1719: MVP port of the MCO extended QE test suite Jun 10, 2025
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Jun 10, 2025

@pablintino: This pull request references MCO-1719 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the spike to target the "4.20.0" version, but no target version was set.

In response to this:

- What I did

This changes moves/copies the extended QE test suites to our repo to be consumed by upstream CI for OCL component readiness.
The ported code is the bare minimum required to run the selected tests (choosen by this spike). The code has been also updated to match the Golang capabilities our version has, to align it with our linting rules and to try to minimize the amount of external dependencies.

- How to verify it

  • Spin up a cluster
  • Run the new added command e2e-extended run-suite mco/full
  • Ensure the tests in the MCO-1651 spike are listed and pass.

- Description for the changelog

This change integrates a minimal, updated subset of the extended MCO QE test suites into the repository to enable upstream CI validation for the OCL component.

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.

1 similar comment
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Jun 10, 2025

@pablintino: This pull request references MCO-1719 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the spike to target the "4.20.0" version, but no target version was set.

In response to this:

- What I did

This changes moves/copies the extended QE test suites to our repo to be consumed by upstream CI for OCL component readiness.
The ported code is the bare minimum required to run the selected tests (choosen by this spike). The code has been also updated to match the Golang capabilities our version has, to align it with our linting rules and to try to minimize the amount of external dependencies.

- How to verify it

  • Spin up a cluster
  • Run the new added command e2e-extended run-suite mco/full
  • Ensure the tests in the MCO-1651 spike are listed and pass.

- Description for the changelog

This change integrates a minimal, updated subset of the extended MCO QE test suites into the repository to enable upstream CI validation for the OCL component.

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.

@pablintino pablintino marked this pull request as ready for review June 10, 2025 09:13
@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 Jun 10, 2025
@pablintino pablintino force-pushed the mco-qe-testsuite-port branch 2 times, most recently from ab044e3 to 9e7d857 Compare June 10, 2025 12:02
@pablintino pablintino force-pushed the mco-qe-testsuite-port branch 9 times, most recently from 35f5aa0 to f8bf543 Compare June 13, 2025 09:57
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jun 23, 2025
@pablintino pablintino force-pushed the mco-qe-testsuite-port branch from e5f0c93 to 57cf438 Compare June 23, 2025 14:22
@yuqi-zhang
Copy link
Contributor

/lgtm

Re-applying

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

openshift-ci bot commented Jun 23, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pablintino, yuqi-zhang

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 [pablintino,yuqi-zhang]

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

@pablintino
Copy link
Contributor Author

/unhold
Agreement between QE and Dev on the pending naming convention. Merging.

@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 Jun 23, 2025
@pablintino
Copy link
Contributor Author

/retest-required

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 0fd8575 and 2 for PR HEAD 57cf438 in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 2499d89 and 1 for PR HEAD 57cf438 in total

@pablintino
Copy link
Contributor Author

/test e2e-gcp-op

@sergiordlr
Copy link
Contributor

Verified using IPI on AWS

  1. Make the binary to execute the tests

$ make machine-config-tests-ext

  1. Execute the OCL test cases

$ ./_output/linux/amd64/machine-config-tests-ext run-suite openshift/machine-config-operator/disruptive | tee /tmp/out

  1. Check that all test cases passed
$ cat /tmp/out |grep -E 'result|name"'
    "name": "[sig-mco][Suite:openshift/machine-config-operator/disruptive][OCPFeatureGate:OnClusterBuild][Serial][Disruptive] MCO ocb PolarionID:73494-A valid MachineOSConfig leads to a successful MachineOSBuild and cleanup of its associated resources",
    "result": "passed",
    "name": "[sig-mco][Suite:openshift/machine-config-operator/disruptive][OCPFeatureGate:OnClusterBuild][Serial][Disruptive] MCO ocb PolarionID:73599-A MachineOSConfig fails to apply or degrades if invalid inputs are given",
    "result": "passed",
    "name": "[sig-mco][Suite:openshift/machine-config-operator/disruptive][OCPFeatureGate:OnClusterBuild][Serial][Disruptive] MCO ocb PolarionID:77782-A MachineOSConfig with an unfinished build can be re-build",
    "result": "passed",
    "name": "[sig-mco][Suite:openshift/machine-config-operator/disruptive][OCPFeatureGate:OnClusterBuild][Serial][Disruptive] MCO ocb PolarionID:73496-A MachineOSConfig with custom containerfile definition can be successfully applied",
    "result": "passed",
    "name": "[sig-mco][Suite:openshift/machine-config-operator/disruptive][OCPFeatureGate:OnClusterBuild][Serial][Disruptive] MCO ocb PolarionID:77781-A successfully built MachineOSConfig can be re-build",
    "result": "passed",

/label qe-approved

@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label Jun 24, 2025
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Jun 24, 2025

@pablintino: This pull request references MCO-1719 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the spike to target the "4.20.0" version, but no target version was set.

In response to this:

- What I did

This changes moves/copies the extended QE test suites to our repo to be consumed by upstream CI for OCL component readiness.
The ported code is the bare minimum required to run the selected tests (choosen by this spike). The code has been also updated to match the Golang capabilities our version has, to align it with our linting rules and to try to minimize the amount of external dependencies.

- How to verify it

  • Spin up a cluster
  • Run the new added command machine-config-tests-ext run-suite openshift/machine-config-operator/disruptive
  • Ensure the tests in the MCO-1651 spike are listed and pass.

- Description for the changelog

This change integrates a minimal, updated subset of the extended MCO QE test suites into the repository to enable upstream CI validation for the OCL component.

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.

@yuqi-zhang
Copy link
Contributor

/override e2e-gcp-op

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 24, 2025

@yuqi-zhang: /override requires failed status contexts, check run or a prowjob name to operate on.
The following unknown contexts/checkruns were given:

  • e2e-gcp-op

Only the following failed contexts/checkruns were expected:

  • ci/prow/bootstrap-unit
  • ci/prow/e2e-agent-compact-ipv4
  • ci/prow/e2e-aws-ovn
  • ci/prow/e2e-aws-ovn-upgrade
  • ci/prow/e2e-aws-ovn-upgrade-out-of-change
  • ci/prow/e2e-aws-ovn-windows
  • ci/prow/e2e-azure-ovn-upgrade-out-of-change
  • ci/prow/e2e-gcp-op
  • ci/prow/e2e-gcp-op-ocl
  • ci/prow/e2e-gcp-op-single-node
  • ci/prow/e2e-gcp-op-techpreview
  • ci/prow/e2e-hypershift
  • ci/prow/e2e-openstack
  • ci/prow/images
  • ci/prow/okd-scos-e2e-aws-ovn
  • ci/prow/security
  • ci/prow/unit
  • ci/prow/verify
  • ci/prow/verify-deps
  • pull-ci-openshift-machine-config-operator-main-bootstrap-unit
  • pull-ci-openshift-machine-config-operator-main-e2e-agent-compact-ipv4
  • pull-ci-openshift-machine-config-operator-main-e2e-aws-ovn
  • pull-ci-openshift-machine-config-operator-main-e2e-aws-ovn-upgrade
  • pull-ci-openshift-machine-config-operator-main-e2e-aws-ovn-upgrade-out-of-change
  • pull-ci-openshift-machine-config-operator-main-e2e-aws-ovn-windows
  • pull-ci-openshift-machine-config-operator-main-e2e-azure-ovn-upgrade-out-of-change
  • pull-ci-openshift-machine-config-operator-main-e2e-gcp-op
  • pull-ci-openshift-machine-config-operator-main-e2e-gcp-op-ocl
  • pull-ci-openshift-machine-config-operator-main-e2e-gcp-op-single-node
  • pull-ci-openshift-machine-config-operator-main-e2e-gcp-op-techpreview
  • pull-ci-openshift-machine-config-operator-main-e2e-hypershift
  • pull-ci-openshift-machine-config-operator-main-e2e-openstack
  • pull-ci-openshift-machine-config-operator-main-images
  • pull-ci-openshift-machine-config-operator-main-okd-scos-e2e-aws-ovn
  • pull-ci-openshift-machine-config-operator-main-security
  • pull-ci-openshift-machine-config-operator-main-unit
  • pull-ci-openshift-machine-config-operator-main-verify
  • pull-ci-openshift-machine-config-operator-main-verify-deps
  • tide

If you are trying to override a checkrun that has a space in it, you must put a double quote on the context.

In response to this:

/override e2e-gcp-op

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.

@yuqi-zhang
Copy link
Contributor

Sorry, wrong command
/override ci/prow/e2e-gcp-op

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 24, 2025

@yuqi-zhang: Overrode contexts on behalf of yuqi-zhang: ci/prow/e2e-gcp-op

In response to this:

Sorry, wrong command
/override ci/prow/e2e-gcp-op

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-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 2499d89 and 2 for PR HEAD 57cf438 in total

1 similar comment
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 2499d89 and 2 for PR HEAD 57cf438 in total

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 25, 2025

@pablintino: 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/okd-scos-e2e-aws-ovn 57cf438 link false /test okd-scos-e2e-aws-ovn
ci/prow/e2e-gcp-op-ocl 57cf438 link false /test e2e-gcp-op-ocl
ci/prow/e2e-azure-ovn-upgrade-out-of-change 57cf438 link false /test e2e-azure-ovn-upgrade-out-of-change

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-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 2499d89 and 2 for PR HEAD 57cf438 in total

@yuqi-zhang
Copy link
Contributor

/override ci/prow/e2e-gcp-op

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 25, 2025

@yuqi-zhang: Overrode contexts on behalf of yuqi-zhang: ci/prow/e2e-gcp-op

In response to this:

/override ci/prow/e2e-gcp-op

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-merge-bot openshift-merge-bot bot merged commit 36a1298 into openshift:main Jun 25, 2025
17 of 20 checks passed
@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: ose-machine-config-operator
This PR has been included in build ose-machine-config-operator-container-v4.20.0-202506251513.p0.g36a1298.assembly.stream.el9.
All builds following this will include this PR.

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/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. qe-approved Signifies that QE has signed off on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants