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

Increase timeout of integration tests #60458

Merged

Conversation

jennybuckley
Copy link

@jennybuckley jennybuckley commented Feb 26, 2018

What this PR does / why we need it:
In #24509 we intended to increase the timeout to 600s, but it was reverted by accident in #57521 when overriding of the value was enabled. The jenkins job should honor the default of 600s instead of continuing to override it to 300s.
This lead to flaky integration tests, specifically TestCRDDeletionCascading

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #59426

Special notes for your reviewer:

Release note:

Increase timeout of integration tests

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 26, 2018
@jennybuckley jennybuckley force-pushed the integration-timeout branch 3 times, most recently from 3f874d8 to 53f00f4 Compare February 26, 2018 22:12
@@ -55,5 +55,10 @@ go install ./cmd/...
./hack/install-etcd.sh

make test-cmd

export STORE_KUBE_TIMEOUT=${KUBE_TIMEOUT}
Copy link
Member

Choose a reason for hiding this comment

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

Use "${var_name}" in case the variable contains whitespaces.

@caesarxuchao
Copy link
Member

Mostly lgtm. I'll leave it to @krzyzacy to apply the label.

@caesarxuchao
Copy link
Member

Thanks @jennybuckley

@@ -55,5 +55,10 @@ go install ./cmd/...
./hack/install-etcd.sh

make test-cmd

export STORE_KUBE_TIMEOUT="${KUBE_TIMEOUT}"
export KUBE_TIMEOUT='-timeout 600s'
Copy link
Member

Choose a reason for hiding this comment

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

This is already the default, isn't it?

https://github.com/kubernetes/kubernetes/blob/master/hack/make-rules/test-integration.sh#L34

I'm pretty sure noting else in here is using KUBE_TIMEOUT either so no reason to store it. Why don't you just remove line 47?

Copy link
Author

Choose a reason for hiding this comment

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

"make test-integration" and "make test" are the only two places that use it. I guess that it would make sense to remove that line, but only if make test isn't called by any of the code in here

@mikedanese
Copy link
Member

lgtm
/approve

@jennybuckley
Copy link
Author

/retest

@krzyzacy
Copy link
Member

ah, good catch
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 26, 2018
@jennybuckley
Copy link
Author

jennybuckley commented Feb 26, 2018

@krzyzacy it was @caesarxuchao in #59426

@spiffxp
Copy link
Member

spiffxp commented Feb 26, 2018

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jennybuckley, krzyzacy, mikedanese, spiffxp

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 Feb 26, 2018
@k8s-github-robot
Copy link

/test all [submit-queue is verifying that this PR is safe to merge]

@k8s-github-robot
Copy link

Automatic merge from submit-queue (batch tested with PRs 60435, 60334, 60458, 59301, 60125). If you want to cherry-pick this change to another branch, please follow the instructions here.

@k8s-github-robot k8s-github-robot merged commit 5badfc6 into kubernetes:master Feb 27, 2018
@k8s-ci-robot
Copy link
Contributor

k8s-ci-robot commented Feb 27, 2018

@jennybuckley: The following tests failed, say /retest to rerun them all:

Test name Commit Details Rerun command
pull-kubernetes-e2e-gce a1ab2b2 link /test pull-kubernetes-e2e-gce
pull-kubernetes-e2e-gce-device-plugin-gpu a1ab2b2 link /test pull-kubernetes-e2e-gce-device-plugin-gpu
pull-kubernetes-kubemark-e2e-gce a1ab2b2 link /test pull-kubernetes-kubemark-e2e-gce
pull-kubernetes-e2e-kops-aws a1ab2b2 link /test pull-kubernetes-e2e-kops-aws

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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.

@ixdy
Copy link
Member

ixdy commented Feb 27, 2018

/retest

@jennybuckley
Copy link
Author

Cherry picking as discussed in #60941 (comment)

@caesarxuchao
Copy link
Member

@jennybuckley could you ping the release branch manager as proper, for 1.8, 1.9 ping jpbetz, for 1.7 ping wojtek-t.

@jpbetz jpbetz added cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. and removed cherrypick-candidate labels Mar 13, 2018
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. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. 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 Denotes a PR that will be considered when it comes time to generate release notes. 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.

TestCRDDeletionCascading flake
9 participants