Skip to content
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

PODAUTO-225: Add olm e2e upgrade test for VPA-operator #56247

Merged

Conversation

maxcao13
Copy link
Contributor

@maxcao13 maxcao13 commented Sep 4, 2024

This PR is mostly adapted from WMCO's upgrade suite here:

Slightly different is that we have to sort of work backwards and add a little bit of operator-sdk compatibility in the 4.17 branch, but luckily there is already a images/ci/bundle.Dockerfile in there. Most of the other changes can be directly mended in the test config. We also have to promote a 4.17 bundle image in order to use it in 4.18 to upgrade to.

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Sep 4, 2024

@maxcao13: This pull request references PODAUTO-225 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.18.0" version, but no target version was set.

In response to this:

This PR is mostly adapted from WMCO's upgrade suite here:

Slightly different is that we have to sort of work backwards and add a little bit of operator-sdk compatibility in the 4.17 branch, but luckily there is already a images/ci/bundle.Dockerfile in there. Most of the other changes can be directly mended in the test config. We also have to promote a 4.17 bundle image in order to use it in 4.18 to upgrade to.

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-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Sep 4, 2024
@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 4, 2024
@maxcao13
Copy link
Contributor Author

maxcao13 commented Sep 4, 2024

/pj-rehearse pull-ci-openshift-vertical-pod-autoscaler-operator-release-4.17-ci-bundle-vertical-pod-autoscaler-operator-bundle
Trying to see if this will promote the image so we can use it in the upgrade after.

@openshift-ci-robot
Copy link
Contributor

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

@maxcao13
Copy link
Contributor Author

maxcao13 commented Sep 4, 2024

/pj-rehearse pull-ci-openshift-vertical-pod-autoscaler-operator-master-e2e-aws-upgrade
Now trying the actual test.

@openshift-ci-robot
Copy link
Contributor

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

@maxcao13
Copy link
Contributor Author

maxcao13 commented Sep 4, 2024

I think we might need to split this PR up into 2 because I don't think we can promote the bundle using a rehearsal. So I think this PR will be a promotion PR, and then I'll followup with the actual upgrade test when we have the 4.17 bundle available + yamllint.

@maxcao13
Copy link
Contributor Author

maxcao13 commented Sep 4, 2024

Depends on: #56306

@maxcao13 maxcao13 force-pushed the vpa-operator-sdk-post-merge branch 2 times, most recently from 5a48c7d to fcec035 Compare September 5, 2024 00:15
@maxcao13
Copy link
Contributor Author

maxcao13 commented Sep 5, 2024

/pj-rehearse pull-ci-openshift-vertical-pod-autoscaler-operator-master-lint
Checking if yamllint will work.

@openshift-ci-robot
Copy link
Contributor

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

@maxcao13 maxcao13 force-pushed the vpa-operator-sdk-post-merge branch 2 times, most recently from 35c2092 to 2e86070 Compare September 5, 2024 21:19
@maxcao13
Copy link
Contributor Author

maxcao13 commented Sep 5, 2024

/pj-rehearse pull-ci-openshift-vertical-pod-autoscaler-operator-master-yamllint pull-ci-openshift-vertical-pod-autoscaler-operator-master-e2e-aws-upgrade

Put yamllint in its own test using a python ubi image. I also doubt, the upgrade test will work because I don't think the bundle is promoted yet, but who knows.

@openshift-ci-robot
Copy link
Contributor

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

@maxcao13 maxcao13 force-pushed the vpa-operator-sdk-post-merge branch 4 times, most recently from f920e83 to e9f19a7 Compare September 5, 2024 23:38
@maxcao13
Copy link
Contributor Author

maxcao13 commented Sep 5, 2024

/pj-rehearse pull-ci-openshift-vertical-pod-autoscaler-operator-master-e2e-aws-upgrade

@openshift-ci-robot
Copy link
Contributor

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

@maxcao13
Copy link
Contributor Author

maxcao13 commented Sep 6, 2024

/pj-rehearse pull-ci-openshift-vertical-pod-autoscaler-operator-master-e2e-aws-upgrade pull-ci-openshift-vertical-pod-autoscaler-operator-master-lint

@openshift-ci-robot
Copy link
Contributor

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

@maxcao13
Copy link
Contributor Author

maxcao13 commented Sep 9, 2024

@maxcao13
Copy link
Contributor Author

maxcao13 commented Sep 9, 2024

/pj-rehearse pull-ci-openshift-vertical-pod-autoscaler-operator-master-e2e-aws-upgrade

@openshift-ci-robot
Copy link
Contributor

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

@maxcao13 maxcao13 force-pushed the vpa-operator-sdk-post-merge branch 2 times, most recently from b3aab30 to 9557367 Compare September 9, 2024 18:02
@maxcao13 maxcao13 changed the title WIP - PODAUTO-225: Add olm e2e upgrade test for VPA-operator PODAUTO-225: Add olm e2e upgrade test for VPA-operator Sep 9, 2024
@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 Sep 9, 2024
@maxcao13
Copy link
Contributor Author

maxcao13 commented Sep 9, 2024

/pj-rehearse pull-ci-openshift-vertical-pod-autoscaler-operator-master-e2e-aws-upgrade
Trying one last time to make sure. :)

@openshift-ci-robot
Copy link
Contributor

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

@openshift-ci-robot
Copy link
Contributor

[REHEARSALNOTIFIER]
@maxcao13: 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-vertical-pod-autoscaler-operator-master-e2e-aws-upgrade openshift/vertical-pod-autoscaler-operator presubmit Presubmit changed
pull-ci-openshift-vertical-pod-autoscaler-operator-master-yamllint openshift/vertical-pod-autoscaler-operator presubmit Presubmit changed
pull-ci-openshift-vertical-pod-autoscaler-operator-master-ci-bundle-vertical-pod-autoscaler-operator-bundle openshift/vertical-pod-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-vertical-pod-autoscaler-operator-master-e2e-aws-olm openshift/vertical-pod-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-vertical-pod-autoscaler-operator-master-e2e-aws-operator openshift/vertical-pod-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-vertical-pod-autoscaler-operator-master-gofmt openshift/vertical-pod-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-vertical-pod-autoscaler-operator-master-govet openshift/vertical-pod-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-vertical-pod-autoscaler-operator-master-images openshift/vertical-pod-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-vertical-pod-autoscaler-operator-master-lint openshift/vertical-pod-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-vertical-pod-autoscaler-operator-master-manifest-diff openshift/vertical-pod-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-vertical-pod-autoscaler-operator-master-scorecard openshift/vertical-pod-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-vertical-pod-autoscaler-operator-master-security openshift/vertical-pod-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-vertical-pod-autoscaler-operator-master-unit openshift/vertical-pod-autoscaler-operator presubmit Ci-operator config changed
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 abort to abort all active rehearsals

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.

@maxcao13
Copy link
Contributor Author

maxcao13 commented Sep 9, 2024

/pj-rehearse ack

@openshift-ci-robot
Copy link
Contributor

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

@openshift-ci-robot openshift-ci-robot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Sep 9, 2024
@joelsmith
Copy link
Contributor

I'm really glad to have the new upgrade test. Thanks!

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 9, 2024
Copy link
Contributor

openshift-ci bot commented Sep 9, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: joelsmith, maxcao13

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 Sep 9, 2024
Copy link
Contributor

openshift-ci bot commented Sep 9, 2024

@maxcao13: all tests passed!

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 4fa9ed1 into openshift:master Sep 9, 2024
17 checks passed
@maxcao13 maxcao13 deleted the vpa-operator-sdk-post-merge branch September 9, 2024 23:31
MiguelCarpio pushed a commit to MiguelCarpio/release that referenced this pull request Sep 12, 2024
* Add olm e2e upgrade test for VPA-operator

* Add yamllint to lint test

* Add regex to skip certain jobs based on changed files

* Fix upgrade test
obochan-rh pushed a commit to obochan-rh/release that referenced this pull request Sep 24, 2024
* Add olm e2e upgrade test for VPA-operator

* Add yamllint to lint test

* Add regex to skip certain jobs based on changed files

* Fix upgrade test
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. rehearsals-ack Signifies that rehearsal jobs have been acknowledged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants