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

Retry kubectl test replace on conflict #43192

Merged
merged 1 commit into from
Mar 16, 2017

Conversation

liggitt
Copy link
Member

@liggitt liggitt commented Mar 16, 2017

Since kubectl is doing a resource-version-constrained replace, it is subject to conflicts on a contentious resource (like a node managed by the node controller)

Fixes #41892 (the specific flake, not the watch cache issue)

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 16, 2017
@k8s-github-robot k8s-github-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. release-note-label-needed labels Mar 16, 2017
@liggitt liggitt added kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. queue/fix release-note-none Denotes a PR that doesn't merit a release note. sig/cli Categorizes an issue or PR as relevant to SIG CLI. and removed release-note-label-needed labels Mar 16, 2017
@liggitt
Copy link
Member Author

liggitt commented Mar 16, 2017

cc @kubernetes/sig-cli-bugs @kubernetes/sig-cli-pr-reviews

@k8s-reviewable
Copy link

This change is Reviewable

@wojtek-t
Copy link
Member

It seems it ddidn't "compile":

/go/src/k8s.io/kubernetes/hack/make-rules/test-cmd-util.sh: line 678: __EOF__: command not found

@liggitt
Copy link
Member Author

liggitt commented Mar 16, 2017

fixed

@0xmichalis 0xmichalis added this to the v1.6 milestone Mar 16, 2017
@0xmichalis 0xmichalis added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 16, 2017
@deads2k
Copy link
Contributor

deads2k commented Mar 16, 2017

/approve

@k8s-github-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, liggitt

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-github-robot k8s-github-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 16, 2017
@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit b617cab into kubernetes:master Mar 16, 2017
@liggitt liggitt deleted the kubectl-test-retry branch March 17, 2017 01:58
dims pushed a commit to dims/kubernetes that referenced this pull request Mar 22, 2017
Automatic merge from submit-queue (batch tested with PRs 43513, 43499)

Make kubectl replace unconditional

second attempt at kubernetes#43192

rather than a retry, make the replace unconditional, which works reliably
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. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. 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. sig/cli Categorizes an issue or PR as relevant to SIG CLI. 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.

None yet

10 participants