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

Make the resize test wait until kube-system is healthy #17044

Merged
merged 1 commit into from Nov 13, 2015

Conversation

brendandburns
Copy link
Contributor

Peer to #17043

@k8s-github-robot
Copy link

Labelling this PR as size/M

@k8s-github-robot k8s-github-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Nov 10, 2015
@k8s-bot
Copy link

k8s-bot commented Nov 10, 2015

GCE e2e test build/test passed for commit b9e65ce.

@wojtek-t wojtek-t assigned wojtek-t and unassigned ixdy Nov 10, 2015
// Many e2e tests assume that the cluster is fully healthy before they start. Wait until
// the cluster is restored to health
By("waiting for system pods to successfully restart")
pods, err := framework.Client.Pods("kube-system").List(labels.Everything(), fields.Everything())
Copy link
Member

Choose a reason for hiding this comment

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

Wouldn't this lead to some races?
If the new node was just added, kube-system pods that are supposed to be running on that node may not have been created yet - or am I missing something?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The trouble is that when you kill a node, and add a new one things get rescheduled, so things like influx and kube-dns aren't running yet. And subsequent tests fail because they expect those containers to already be up and running.

@brendandburns
Copy link
Contributor Author

@wojtek-t friendly ping on this one.

thanks!

@wojtek-t
Copy link
Member

LGTM

@wojtek-t wojtek-t added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 12, 2015
@k8s-github-robot
Copy link

@k8s-bot test this [submit-queue is verifying that this PR is safe to merge]

@k8s-bot
Copy link

k8s-bot commented Nov 12, 2015

GCE e2e build/test failed for commit b9e65ce.

@brendandburns
Copy link
Contributor Author

@k8s-bot test this please

@k8s-bot
Copy link

k8s-bot commented Nov 12, 2015

GCE e2e test build/test passed for commit b9e65ce.

@brendandburns
Copy link
Contributor Author

@k8s-bot unit test this please

2 similar comments
@wojtek-t
Copy link
Member

@k8s-bot unit test this please

@wojtek-t
Copy link
Member

@k8s-bot unit test this please

@k8s-github-robot
Copy link

@k8s-bot test this [submit-queue is verifying that this PR is safe to merge]

@k8s-bot
Copy link

k8s-bot commented Nov 13, 2015

GCE e2e test build/test passed for commit b9e65ce.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

k8s-github-robot pushed a commit that referenced this pull request Nov 13, 2015
@k8s-github-robot k8s-github-robot merged commit 7dc12b5 into kubernetes:release-1.1 Nov 13, 2015
shyamjvs pushed a commit to shyamjvs/kubernetes that referenced this pull request Dec 1, 2016
shouhong pushed a commit to shouhong/kubernetes that referenced this pull request Feb 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants