Skip to content

Conversation

@mtulio
Copy link

@mtulio mtulio commented Sep 9, 2025

Introduces the OpenShift test extension (OTE) binary to this project/CCM-AWS downstream.

The OTE is used to incorporate existing CCM-AWS upstream e2e tests to the OpenShift conformance test suite, so that we can increase the test scope of CCM on OpenShift ecosystem automatically inheriting new, matched, e2e tests added by upstream, ensuring recent features are added to the OpenShift conformance workflow.

The proposal adds the test binary to the following commit to carry on: UPSTREAM <carry>: Create OCP tests integration (OTE) .

This proposal is blocked by the following changes:

This is part of the workforce to deliver the OpenShift changes:

@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 Sep 9, 2025
@openshift-ci
Copy link

openshift-ci bot commented Sep 9, 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

@mtulio
Copy link
Author

mtulio commented Sep 9, 2025

/test ?

@openshift-ci openshift-ci bot added the do-not-merge/invalid-owners-file Indicates that a PR should not merge because it has an invalid OWNERS file in it. label Sep 9, 2025
@openshift-ci
Copy link

openshift-ci bot commented Sep 9, 2025

@mtulio: The following commands are available to trigger required jobs:

/test e2e-aws-ovn
/test e2e-aws-ovn-upgrade
/test e2e-hypershift
/test images
/test okd-scos-images
/test verify-deps

The following commands are available to trigger optional jobs:

/test e2e-aws-ovn-cgroupsv2
/test okd-scos-e2e-aws-ovn
/test regression-clusterinfra-aws-ipi-ccm
/test security
/test verify-commits

Use /test all to run all jobs.

In response to this:

/test ?

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.

Comment on lines 52 to 57
// Initialization for kube ginkgo test framework needs to run before all tests execute
// specs.AddBeforeAll(func() {
// if err := initializeTestFramework(os.Getenv("TEST_PROVIDER")); err != nil {
// panic(err)
// }
// })
Copy link
Author

@mtulio mtulio Sep 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still trying to understand if we'll need to include all tests in the suite or only what we wanted (this proposal), then the openshift-tests will merge it with all binaries when building the suite.

Comment on lines 59 to 75
// filter only loadbalancer and nodes tests
// We must skip unsupported tests on OpenShift, such as ECR.
loadbalancerSpecs := specs.Select(extensiontests.NameContains("[cloud-provider-aws-e2e] loadbalancer"))
nodesSpecs := specs.Select(extensiontests.NameContains("[cloud-provider-aws-e2e] nodes"))
kubeTestsExtension.AddSpecs(loadbalancerSpecs)
kubeTestsExtension.AddSpecs(nodesSpecs)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elmiko @JoelSpeed this is how we are filtering upstream tests inheriting only "well-known passing" from upstream. I wonder if it could be a way to start inheriting healthy tests to OCP core automatically (when added to upstream which matches this pattern). Thoughts?

Copy link
Author

@mtulio mtulio Sep 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also would love to hear from you all @nrb @damdo

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inheriting only "well-known passing" from

Are they tagging the upstream tests in some way that we can exclude anything that is known flaky? I see this is filtering node and LB specs, but what stops them adding something unstable here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are they tagging the upstream tests in some way that we can exclude anything that is known flaky?

No tagging as far as I know, I believe because they/us are ensuring all upstream tests works/pass in existing CI e2e job. The 'well-known' refers to the current state that we've been working recently to fix all those that weren't working on OCP, that's reason we are removing ecr specs from the list.

but what stops them adding something unstable here?

I believe us making sure we review upstream (PRs), and those will be triggered in downstream sync PR, right?

IMO if we have an allow list we may lose signals from features added in upstream, we could have an exclude list if there are tests not working on OCP, but it's not the case currently.

Thoughts?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know that upstream K/K they filter out tech preview features tests by default, and enable those only in specific jobs, do you know if there will be a similar pattern for the CCM tests where new feature tests are marked initially as gated and then only promoted later? Or are we not expecting feature gated changes in the CCMs since they are mature and not really changing?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you know if there will be a similar pattern for the CCM tests where new feature tests are marked initially as gated and then only promoted later?

I don't know to be honest, my CCM experience is limited to AWS, and as fair as I can tell, gates aren't broadly implemented on that controller. @elmiko do you have some thoughts of gates in controller and test framework?

not really changing

it seems not the case of this controller.

@mtulio
Copy link
Author

mtulio commented Sep 9, 2025

/test e2e-aws-ovn

@mtulio
Copy link
Author

mtulio commented Sep 9, 2025

$ ./openshift-tests-ext-ccm-aws list tests | jq .[].name
"[cloud-provider-aws-e2e] loadbalancer CLB should be reachable with default configurations"
"[cloud-provider-aws-e2e] loadbalancer NLB should be reachable with default configurations"
"[cloud-provider-aws-e2e] loadbalancer NLB should be reachable with target-node-labels"
"[cloud-provider-aws-e2e] loadbalancer CLB internal should be reachable with hairpinning traffic"
"[cloud-provider-aws-e2e] loadbalancer NLB internal should be reachable with hairpinning traffic"
"[cloud-provider-aws-e2e] nodes should set zone-id topology label"
"[cloud-provider-aws-e2e] nodes should label nodes with topology network info if instance is supported"

@mtulio mtulio force-pushed the SPLAT-2488-ocp-ote branch from 831f31f to ee77be3 Compare September 9, 2025 22:05
@mtulio
Copy link
Author

mtulio commented Sep 10, 2025

/test e2e-aws-ovn

@mtulio
Copy link
Author

mtulio commented Sep 17, 2025

/testwith openshift/origin#30235

@mtulio
Copy link
Author

mtulio commented Sep 17, 2025

/testwith openshift/origin#30235

I may missed the test name:

/testwith e2e-aws-ovn openshift/origin#30235

@mtulio
Copy link
Author

mtulio commented Sep 17, 2025

/testwith openshift/cloud-provider-aws/main/e2e-aws-ovn openshift/origin#30235

@mtulio
Copy link
Author

mtulio commented Sep 17, 2025

I wonder if it the pod was randomly killed as git fetch worked, re-trying:

/testwith openshift/cloud-provider-aws/main/e2e-aws-ovn openshift/origin#30235

@mtulio
Copy link
Author

mtulio commented Sep 18, 2025

/testwith openshift/cloud-provider-aws/main/e2e-aws-ovn openshift/origin#30235

@mtulio
Copy link
Author

mtulio commented Sep 18, 2025

/testwith openshift/cloud-provider-aws/main/e2e-aws-ovn openshift/cluster-cloud-controller-manager-operator#391

@deepsm007
Copy link

/testwith openshift/cloud-provider-aws/main/e2e-aws-ovn openshift/cluster-cloud-controller-manager-operator#391

@mtulio
Copy link
Author

mtulio commented Sep 24, 2025

/test ?

@openshift-ci
Copy link

openshift-ci bot commented Sep 24, 2025

@mtulio: The following commands are available to trigger required jobs:

/test e2e-aws-ovn
/test e2e-aws-ovn-upgrade
/test e2e-hypershift
/test images
/test okd-scos-images
/test verify-deps

The following commands are available to trigger optional jobs:

/test e2e-aws-ovn-cgroupsv2
/test e2e-aws-ovn-techpreview
/test okd-scos-e2e-aws-ovn
/test regression-clusterinfra-aws-ipi-ccm
/test verify-commits

Use /test all to run all jobs.

In response to this:

/test ?

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.

@mtulio
Copy link
Author

mtulio commented Sep 24, 2025

/test e2e-aws-ovn-techpreview

@mtulio
Copy link
Author

mtulio commented Sep 25, 2025

re-testing after openshift/release#69692:

/test e2e-aws-ovn-techpreview

@deepsm007
Copy link

/testwith openshift/cloud-provider-aws/main/e2e-aws-ovn openshift/origin#30235

@openshift-ci-robot
Copy link

openshift-ci-robot commented Oct 29, 2025

@mtulio: This pull request references SPLAT-2337 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 story to target the "4.21.0" version, but no target version was set.

In response to this:

Introduces the OpenShift test extension (OTE) binary to this project/CCM-AWS downstream.

The OTE is used to incorporate existing CCM-AWS upstream e2e tests to the OpenShift conformance test suite, so that we can increase the test scope of CCM on OpenShift ecosystem automatically inheriting new, matched, e2e tests added by upstream, ensuring recent features are added to the OpenShift conformance workflow.

The proposal adds the test binary to the following commit to carry on: UPSTREAM <carry>: Create OCP tests integration (OTE) .

This proposal is blocked by the following changes:

This is part of the workforce to deliver the OpenShift changes:

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.

@mtulio
Copy link
Author

mtulio commented Oct 29, 2025

/jira refresh

@openshift-ci-robot
Copy link

openshift-ci-robot commented Oct 29, 2025

@mtulio: This pull request references SPLAT-2337 which is a valid jira issue.

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.

@mtulio
Copy link
Author

mtulio commented Oct 29, 2025

/testwith openshift/cloud-provider-aws/main/e2e-aws-ovn openshift/origin#30235

@mtulio
Copy link
Author

mtulio commented Oct 29, 2025

/test ?

@openshift-ci
Copy link

openshift-ci bot commented Oct 29, 2025

@mtulio: The following commands are available to trigger required jobs:

/test e2e-aws-ovn
/test e2e-aws-ovn-upgrade
/test e2e-hypershift
/test images
/test okd-scos-images
/test verify-deps

The following commands are available to trigger optional jobs:

/test e2e-aws-ovn-cgroupsv2
/test e2e-aws-ovn-techpreview
/test okd-scos-e2e-aws-ovn
/test regression-clusterinfra-aws-ipi-ccm
/test verify-commits

Use /test all to run the following jobs that were automatically triggered:

pull-ci-openshift-cloud-provider-aws-main-e2e-aws-ovn
pull-ci-openshift-cloud-provider-aws-main-e2e-aws-ovn-upgrade
pull-ci-openshift-cloud-provider-aws-main-e2e-hypershift
pull-ci-openshift-cloud-provider-aws-main-images
pull-ci-openshift-cloud-provider-aws-main-okd-scos-e2e-aws-ovn
pull-ci-openshift-cloud-provider-aws-main-okd-scos-images
pull-ci-openshift-cloud-provider-aws-main-verify-commits
pull-ci-openshift-cloud-provider-aws-main-verify-deps

In response to this:

/test ?

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.

@mtulio
Copy link
Author

mtulio commented Oct 29, 2025

/test e2e-aws-ovn-techpreview

@mtulio
Copy link
Author

mtulio commented Oct 29, 2025

/testwith command failed in this PR due bug in the command. I will skip the test here, and use origin and CCCMO PR as reference;

Considering testwith with OTE binary extraction is working (tested in openshift/origin#30235) in the job is passing, including the 7 tests inherited from CCM-AWS upstream e2e (prefix [cloud-provider-aws-e2e]), I am converting this PR for ready for review.

You can filter to review only the commit UPSTREAM: : Create OCP tests integration (OTE) (skip the vendor).

Please take a look?
/assign @elmiko @damdo

@mtulio mtulio marked this pull request as ready for review October 29, 2025 21:02
@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 Oct 29, 2025
@openshift-ci openshift-ci bot requested review from RadekManak and damdo October 29, 2025 21:04
Copy link

@nrb nrb left a comment

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 Oct 30, 2025
@openshift-ci
Copy link

openshift-ci bot commented Oct 30, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nrb

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:

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 Oct 30, 2025
@mtulio
Copy link
Author

mtulio commented Oct 30, 2025

/lgtm

Thanks Nolan, thanks for review! Would you mind reviewing openshift/origin#30235 too? I am blocking there until this binary is available in the image.

@elmiko
Copy link

elmiko commented Oct 30, 2025

/lgtm

@mtulio
Copy link
Author

mtulio commented Oct 30, 2025

unholding after lgtm labels! Thanks you all for review!

@mtulio
Copy link
Author

mtulio commented Oct 30, 2025

/hold cancel

@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 Oct 30, 2025
@nrb
Copy link

nrb commented Oct 30, 2025

Would you mind reviewing openshift/origin#30235 too?

Done, I don't think I have approval in origin

@mtulio
Copy link
Author

mtulio commented Oct 30, 2025

Would you mind reviewing openshift/origin#30235 too?

Done, I don't think I have approval in origin

Thanks, no problem, review labels are enough from component owner :)

I asked TRT folks!

@huali9
Copy link

huali9 commented Nov 3, 2025

/verified by @huali9

Based in the results on job https://prow.ci.openshift.org/view/gs/test-platform-results/logs/multi-pr-openshift-origin-30235-openshift-cloud-provider-aws-117-e2e-aws-ovn/1983393761152995328 The tests prefixed with "[cloud-provider-aws-e2e]", implemented and maintained by upstream project, is now incorporated and passing to the conformance suite openshift/conformance.

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Nov 3, 2025
@openshift-ci-robot
Copy link

@huali9: This PR has been marked as verified by @huali9.

In response to this:

/verified by @huali9

Based in the results on job https://prow.ci.openshift.org/view/gs/test-platform-results/logs/multi-pr-openshift-origin-30235-openshift-cloud-provider-aws-117-e2e-aws-ovn/1983393761152995328 The tests prefixed with "[cloud-provider-aws-e2e]", implemented and maintained by upstream project, is now incorporated and passing to the conformance suite openshift/conformance.

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-merge-bot openshift-merge-bot bot merged commit 42c152f into openshift:main Nov 3, 2025
10 of 11 checks passed
@mtulio mtulio deleted the SPLAT-2488-ocp-ote branch November 3, 2025 12:54
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. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants