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

Use ci-built occm in all e2e tests #2227

Merged
merged 1 commit into from
May 11, 2023
Merged

Conversation

mdbooth
Copy link
Contributor

@mdbooth mdbooth commented May 2, 2023

Previously in e2e tests we only used ci-built occm for the occm e2e test. The cinder and manila e2e tests used the latest release occm image. With this change all e2e tests deploy a ci-built occm.

What this PR does / why we need it:
This came about because we were surprised that cinder and manila e2e tests were broken by an issue in the release images.

There are pros and cons to doing this:

Pros:

  • You can test changes which may affect the interaction of CPO and CSI, e.g. node labels.

Cons:

  • We might accidentally merge commits which require the simultaneous upgrade of both CSI and OCCM.

Ideally we'd test both, of course. If we pick one, which is better? If we decided not to merge this, we should at least add documentation and/or comments explaining the decision for posterity.

Which issue this PR fixes(if applicable):
fixes #2220

Release note:

NONE

/cc @pierreprinetti

Previously in e2e tests we only used ci-built occm for the occm e2e
test. The cinder and manila e2e tests used the latest release occm
image. With this change all e2e tests deploy a ci-built occm.
@k8s-ci-robot k8s-ci-robot added the release-note-none Denotes a PR that doesn't merit a release note. label May 2, 2023
@k8s-ci-robot
Copy link
Contributor

@mdbooth: GitHub didn't allow me to request PR reviews from the following users: pierreprinetti.

Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

Previously in e2e tests we only used ci-built occm for the occm e2e test. The cinder and manila e2e tests used the latest release occm image. With this change all e2e tests deploy a ci-built occm.

What this PR does / why we need it:
This came about because we were surprised that cinder and manila e2e tests were broken by an issue in the release images.

There are pros and cons to doing this:

Pros:

  • You can test changes which may affect the interaction of CPO and CSI, e.g. node labels.

Cons:

  • We might accidentally merge commits which require the simultaneous upgrade of both CSI and OCCM.

Ideally we'd test both, of course. If we pick one, which is better? If we decided not to merge this, we should at least add documentation and/or comments explaining the decision for posterity.

Which issue this PR fixes(if applicable):
fixes #2220

Release note:

NONE

/cc @pierreprinetti

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.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels May 2, 2023
@jichenjc
Copy link
Contributor

jichenjc commented May 3, 2023

I am in favor of this PR but I am open for folks with different opinion or know the history..

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jichenjc

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 3, 2023
@pierreprinetti
Copy link
Member

Sounds reasonable, thanks @mdbooth!
Deferring to the owners for a LGTM.

@mdbooth
Copy link
Contributor Author

mdbooth commented May 11, 2023

Just a reminder that the manila e2e tests are permafailing and should be ignored: https://prow.k8s.io/job-history/gs/kubernetes-jenkins/pr-logs/directory/openstack-cloud-csi-manila-e2e-test

@mdbooth
Copy link
Contributor Author

mdbooth commented May 11, 2023

@zetaab Do you have an opinion on this?

@dulek
Copy link
Contributor

dulek commented May 11, 2023

My experiences with OpenStack development are that this is a correct approach. Leaving LGTM to @zetaab.

@zetaab
Copy link
Member

zetaab commented May 11, 2023

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 11, 2023
@zetaab
Copy link
Member

zetaab commented May 11, 2023

/override openstack-cloud-csi-manila-e2e-test

@k8s-ci-robot
Copy link
Contributor

@zetaab: Overrode contexts on behalf of zetaab: openstack-cloud-csi-manila-e2e-test

In response to this:

/override openstack-cloud-csi-manila-e2e-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/test-infra repository.

@k8s-ci-robot k8s-ci-robot merged commit 4792097 into kubernetes:master May 11, 2023
@mdbooth mdbooth deleted the csi-ci branch May 11, 2023 14:54
kayrus pushed a commit to kayrus/cloud-provider-openstack that referenced this pull request May 25, 2023
Previously in e2e tests we only used ci-built occm for the occm e2e
test. The cinder and manila e2e tests used the latest release occm
image. With this change all e2e tests deploy a ci-built occm.
@zetaab
Copy link
Member

zetaab commented Aug 29, 2023

/cherry-pick release-1.27

@k8s-infra-cherrypick-robot

@zetaab: new pull request created: #2352

In response to this:

/cherry-pick release-1.27

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.

@zetaab
Copy link
Member

zetaab commented Aug 29, 2023

/cherry-pick release-1.26

@k8s-infra-cherrypick-robot

@zetaab: new pull request created: #2353

In response to this:

/cherry-pick release-1.26

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.

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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cinder e2e tests permafailing?
7 participants