-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add optional E2E tests for MCO using feature gate during bootstrap #20372
Add optional E2E tests for MCO using feature gate during bootstrap #20372
Conversation
Don't have full context but wondering if the workflow and job named more generic like e2e-aws-featuregate. That way we can keep it afterward as well when we are post techpreview. Does it need openshift/machine-config-operator#2668 in order for this e2e to pass? |
I named it
Yes it will do. As it's optional, we could merge this early and observe that 2668 fixes it, or we can wait til 2668 merges and see it pass here. Not sure which is the preferred ordering. I have manually tested the step as part of the other PR and it does cause the clusters to fail on MCO degraded, as we should see from the rehearsal jobs here as well. |
thanks for the providing the context. Perhaps, we can name the test
+1, we can merge this and ensure that this test passes on openshift/machine-config-operator#2668 |
Let's try and gather some suggestions here. I'd be hesitant to name it with |
what about e2e-aws-ccm-integration or e2e-aws-cloud-provider-featuregate |
These names tie the test suite to a particular set of features, but these features will evolve over time and I don't think the plan is to remove this once all the CSI or CCM feature work is done (I may have misunderstood there). In code version of below: https://github.com/openshift/release/pull/20372/files#diff-08f6f5bd2d927a18416780ba27bb50a6e31ffd5b0b90b6054ed64cc042de2d64R6-R15
This is what we are applying that causes this test to be different to the standard test suite. My hesitancy in calling this CSI or CCM is because as you can see from that, they aren't explicitly called out there. We expect that the features enabled by this |
I think we are all getting confused here. Goal of renaming e2e test is to keep it meaningful. Any name that justifies what features or set of features this e2e test is all about is fine. For example: suggested name |
@sinnykumari Agreed, have updated it to |
ci-operator.openshift.io/prowgen-controlled: "true" | ||
pj-rehearse.openshift.io/can-be-rehearsed: "true" | ||
name: pull-ci-openshift-machine-config-operator-master-e2e-aws-techpreview-featuregate | ||
rerun_command: /test e2e-aws-techpreview-featuregate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to add optional: true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I had done that, perhaps the regenerate killed it, will add back!
ci-operator.openshift.io/prowgen-controlled: "true" | ||
pj-rehearse.openshift.io/can-be-rehearsed: "true" | ||
name: pull-ci-openshift-machine-config-operator-release-4.9-e2e-aws-techpreview-featuregate | ||
rerun_command: /test e2e-aws-techpreview-featuregate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to add optional: true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
umm, test |
Putting hold until |
/hold cancel |
@JoelSpeed: The following tests failed, say
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/test-infra repository. I understand the commands that are listed here. |
Some of the file changes made here would also require approval from one the owner from https://github.com/openshift/release/blob/master/ci-operator/step-registry/ipi/OWNERS |
/assign @deads2k as you are familiar with the TPNU stuff that we are adding to the step-registry already/ have already approved this in the other PR @sinnykumari could you re LGTM if you're happy to proceed? |
I thought my |
I think this does what it says it does /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, JoelSpeed, sinnykumari 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 |
@JoelSpeed: Updated the following 5 configmaps:
In response to this:
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/test-infra repository. |
Related to openshift/machine-config-operator#2668, this PR adds a tech preview IPI step and the relevant configuration for AWS (this is the first 4 commits, a subset of #19845) then adds optional presubmits for the MCO so that in the future, they will have some signal as to whether the clusters bootstrap correctly when a feature gate is added to the manifests as part of the install.
This job should fail until 2668 is merged. If the cluster bootstraps correctly and doesn't degrade on install, then the MCO part of the bootstrap process is working as expected.
CC @yuqi-zhang @rphillips @mrunalp This has come from our conversation on Friday