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-266: Update VPA-operator master config to 4.19 #60455

Conversation

maxcao13
Copy link
Contributor

@maxcao13 maxcao13 commented Jan 9, 2025

Also bumps the mirrored golangci-lint image version to work with go1.23. The latest mirrored image is shown here:

ci/golangci-lint:v1.62.2:
image: quay.io/fpaoline/golangci-lint:v1.62.2

EDIT: Ignore above. This PR deprecates the use of the mirrored image since the vpa-operator repo uses go install directly in the environment to install golangci-lint which works if the image uses a compatible go version and allows internet access. So there is no need for that image.

Also changes a step in the e2e-aws-upgrade workflow to use oc wait --for=create which was added in kubectl 1.31. I'm assuming it should be included in oc version 4.19 (since oc4.19 <-> k8s1.32). We also are specifying cli: latest in the test so let's see if it works.

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Jan 9, 2025

@maxcao13: This pull request references PODAUTO-266 which is a valid jira issue.

In response to this:

Also bumps the mirrored golangci-lint image version to work with go1.23.

Also changes a step in the e2e-aws-upgrade workflow to use oc wait --for=create which was added in k8s 1.31. I'm assuming it should be included in oc version 4.19 (since oc4.19 -> k8s1.32). We also are specifying cli: latest in the test so let's see if it works.

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 Jan 9, 2025
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 9, 2025
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Jan 9, 2025

@maxcao13: This pull request references PODAUTO-266 which is a valid jira issue.

In response to this:

Also bumps the mirrored golangci-lint image version to work with go1.23. The latest mirrored image is shown here:

ci/golangci-lint:v1.62.2:
image: quay.io/fpaoline/golangci-lint:v1.62.2

Also changes a step in the e2e-aws-upgrade workflow to use oc wait --for=create which was added in k8s 1.31. I'm assuming it should be included in oc version 4.19 (since oc4.19 -> k8s1.32). We also are specifying cli: latest in the test so let's see if it works.

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.

@maxcao13
Copy link
Contributor Author

maxcao13 commented Jan 9, 2025

/pj-rehearse max

@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

@maxcao13, pj-rehearse: failed to create rehearsal jobs ERROR:

no config for buildcluster build10 provided

If the problem persists, please contact Test Platform.

@maxcao13
Copy link
Contributor Author

maxcao13 commented Jan 9, 2025

/pj-rehearse 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.

@openshift-ci-robot
Copy link
Contributor

@maxcao13, pj-rehearse: failed to create rehearsal jobs ERROR:

no config for buildcluster build10 provided

If the problem persists, please contact Test Platform.

@maxcao13
Copy link
Contributor Author

maxcao13 commented Jan 9, 2025

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

It shouldn't be using the old config in the rehearsal... Try again today?

@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-release-chores-4.19 branch from 756da9a to 2830434 Compare January 9, 2025 17:24
@maxcao13
Copy link
Contributor Author

maxcao13 commented Jan 9, 2025

/pj-rehearse max

Try all rehearsals again with a force push, maybe the config didn't change the first time.

@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.

Also removes golangci-lint base image in "lint" test. We can use the src container directly since we are downloading the correct golangci-lint version using "go install" from GOPROXY.

Signed-off-by: Max Cao <[email protected]>
@maxcao13 maxcao13 force-pushed the vpa-operator-release-chores-4.19 branch from 2830434 to 111bd8e Compare January 9, 2025 20:44
@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-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-e2e-aws-upgrade openshift/vertical-pod-autoscaler-operator presubmit Ci-operator config changed
pull-ci-openshift-vertical-pod-autoscaler-operator-master-ensure-commands-are-noops 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
pull-ci-openshift-vertical-pod-autoscaler-operator-master-yamllint 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
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

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 Jan 9, 2025

Lint seems to finally pass. But upgrade test failed, let's just try to increase the deployment wait --for=creation timeout. OLM test also didn't finish but it seems the actual tests passed but was just stuck in de-provisioning phase: https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_release/60455/rehearse-60455-pull-ci-openshift-vertical-pod-autoscaler-operator-master-e2e-aws-olm/1877408370441326592

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

@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.

1 similar comment
@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 Jan 9, 2025

/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.

@openshift-ci-robot
Copy link
Contributor

@maxcao13: job(s): abort, either don't exist or were not found to be affected, and cannot be rehearsed

@maxcao13
Copy link
Contributor Author

maxcao13 commented Jan 9, 2025

Unfortunately, I think we are not able to pass the upgrade because the upgrade doesn't work. I think it's trying to upgrade from 4.18 -> 4.18 in the upgrade logs: https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift_release/60455/rehearse-60455-pull-ci-openshift-vertical-pod-autoscaler-operator-master-e2e-aws-upgrade/1877458433674842112/artifacts/e2e-aws-upgrade/upgrade/build-log.txt

@joelsmith Are we okay with just ignoring this rehearsal failure? I'm not 100% sure but I think it's failing because the vpa-operator repository hasn't updated it's bundle/ directory yet with 4.19, so CI is still pulling the CSV with package name vertical-pod-autoscaler.v4.18.0 into the bundle which is duplicated since the previous bundle has the same name and version.

The other and maybe better option is to ignore the lint failure in the release chore PR first and merge it first.

Everything else passed rehearsals though, so that's good.

In the future, the 4.xx release chore PR for the VPA-op repo should be merged first before this openshift/release PR and this problem shouldn't happen.
EDIT: Never mind, it's probably best to merge a CI change first, and test it in the upstream so that if it fails, we can just directly fix the upstream in the same chores PR.

@joelsmith
Copy link
Contributor

joelsmith commented Jan 10, 2025

I am okay to ignore it. We can test it once the chores PR lands. Thanks!

/ltgm

@joelsmith
Copy link
Contributor

joelsmith commented Jan 10, 2025

Oops, typo! Apparently the bot does not accept "Looks too good, man!"

/lgtm

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

openshift-ci bot commented Jan 10, 2025

[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

@maxcao13
Copy link
Contributor Author

Thanks!

/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 Jan 10, 2025
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Jan 10, 2025

@maxcao13: This pull request references PODAUTO-266 which is a valid jira issue.

In response to this:

Also bumps the mirrored golangci-lint image version to work with go1.23. The latest mirrored image is shown here:

ci/golangci-lint:v1.62.2:
image: quay.io/fpaoline/golangci-lint:v1.62.2

EDIT: Ignore above. This PR deprecates the use of the mirrored image since the vpa-operator repo uses go install directly in the environment to install golangci-lint which works if the image uses a compatible go version and allows internet access. So there is no need for that image.

Also changes a step in the e2e-aws-upgrade workflow to use oc wait --for=create which was added in kubectl 1.31. I'm assuming it should be included in oc version 4.19 (since oc4.19 <-> k8s1.32). We also are specifying cli: latest in the test so let's see if it works.

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.

Copy link
Contributor

openshift-ci bot commented Jan 10, 2025

@maxcao13: The following test 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/rehearse/openshift/vertical-pod-autoscaler-operator/master/e2e-aws-upgrade 111bd8e link unknown /pj-rehearse pull-ci-openshift-vertical-pod-autoscaler-operator-master-e2e-aws-upgrade

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 f904506 into openshift:master Jan 10, 2025
14 of 15 checks passed
@maxcao13 maxcao13 deleted the vpa-operator-release-chores-4.19 branch January 10, 2025 18:23
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