Skip to content

Disable per volume backoff behavior for sanity tests #1094

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

Merged

Conversation

judemars
Copy link
Contributor

@judemars judemars commented Dec 1, 2022

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/kind api-change
/kind bug
/kind cleanup
/kind design
/kind documentation

kind failing-test

/kind feature
/kind flake

What this PR does / why we need it:
Lower threshold for backoff in pd sanity tests

This is a follow up to #1087. It lowers the threshold for backoff in sanity tests even more since we were seeing flakes in some PR gating tests, namely #1092.

I will run the sanity tests a few times in this CL before merging.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Dec 1, 2022
@k8s-ci-robot
Copy link
Contributor

Hi @judemars. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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 release-note-none Denotes a PR that doesn't merit a release note. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Dec 1, 2022
@k8s-ci-robot k8s-ci-robot requested a review from mattcary December 1, 2022 20:17
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 1, 2022
@saikat-royc
Copy link
Member

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Dec 1, 2022
@judemars
Copy link
Contributor Author

judemars commented Dec 1, 2022

/test pull-gcp-compute-persistent-disk-csi-driver-sanity

@judemars
Copy link
Contributor Author

judemars commented Dec 1, 2022

@judemars
Copy link
Contributor Author

judemars commented Dec 1, 2022

@judemars
Copy link
Contributor Author

judemars commented Dec 1, 2022

@judemars
Copy link
Contributor Author

judemars commented Dec 1, 2022

@judemars
Copy link
Contributor Author

judemars commented Dec 1, 2022

@judemars
Copy link
Contributor Author

judemars commented Dec 1, 2022

@judemars
Copy link
Contributor Author

judemars commented Dec 1, 2022

@judemars
Copy link
Contributor Author

judemars commented Dec 1, 2022

@judemars
Copy link
Contributor Author

judemars commented Dec 1, 2022

@judemars
Copy link
Contributor Author

judemars commented Dec 1, 2022

Succeeded # 10: https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/sigs.k8s.io_gcp-compute-persistent-disk-csi-driver/1094/pull-gcp-compute-persistent-disk-csi-driver-sanity/1598440312580083712/

That's the last test I'll do, but I'll keep an eye on the runs once I re-add it as a PR gate

@judemars judemars marked this pull request as ready for review December 1, 2022 22:15
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 1, 2022
@k8s-ci-robot k8s-ci-robot requested a review from leiyiz December 1, 2022 22:15
@saikat-royc saikat-royc changed the title Lower threshold of backoff for sanity tests Disable per volume backoff behavior for sanity tests Dec 1, 2022
@@ -66,7 +66,7 @@ func TestSanity(t *testing.T) {

//Initialize GCE Driver
identityServer := driver.NewIdentityServer(gceDriver)
controllerServer := driver.NewControllerServer(gceDriver, cloudProvider, 1*time.Millisecond, 5*time.Minute)
controllerServer := driver.NewControllerServer(gceDriver, cloudProvider, 0*time.Millisecond, 5*time.Minute)
Copy link
Member

Choose a reason for hiding this comment

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

just 0 is sufficient I think

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@judemars
Copy link
Contributor Author

judemars commented Dec 1, 2022

/test pull-gcp-compute-persistent-disk-csi-driver-sanity

/retest

@judemars
Copy link
Contributor Author

judemars commented Dec 1, 2022

/label tide/merge-method-squash

@k8s-ci-robot k8s-ci-robot added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Dec 1, 2022
@saikat-royc
Copy link
Member

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 2, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: judemars, saikat-royc

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 Dec 2, 2022
@k8s-ci-robot k8s-ci-robot merged commit 8def5ed into kubernetes-sigs:master Dec 2, 2022
leiyiz pushed a commit to leiyiz/gcp-compute-persistent-disk-csi-driver that referenced this pull request Jan 18, 2023
…#1094)

* Lower threshold of backoff for sanity tests

* Switch to zero

* Rm millisecond
k8s-ci-robot added a commit that referenced this pull request Jan 18, 2023
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. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. 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. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants