-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Skip multi-zone e2e tests unless provider is GCE, GKE or AWS #27871
Conversation
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
3 similar comments
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
@lukaszo I'm not sure that this is such a good idea. If, during this step of the test, we fail to detect one of the zones, and then later we spread pods across that zone, the test will fail for mysterious reasons. Let me think about this a bit. Could you explain to me in a bit more detail what you're trying to achieve with this change (other than silently masking a failure, which is generally a bad thing). |
@quinton-hoole I'm running e2e tests locally using In my patch before |
@lukaszo These tests are intended to be completely skipped if you have less than 2 zones in your cluster, or if you're not on GKE, GCE or AWS:
I think that you should be able to fix your problem by simply changing the order of the above two lines. I think that's the best fix. An alternative would be to make sure that 'getZoneCount()' returns 1 if no labels can be found. If you send me a good PR for either of the above, I'll approve it. |
When testing on local cluster for example using vagrant the Uberntes tests should be skipped.
@quinton-hoole I've chosen the first option :) |
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
ok to test |
GCE e2e build/test passed for commit 58062a2. |
GCE e2e build/test passed for commit 58062a2. |
1 similar comment
@fejta can you restart GKE e2e tests? Looks like a random failure: |
Sorry, please ignore the Jenkins GKE e2e test, note that Jenkins GKE smoke e2e below it passes. The submit queue won't check it before merging. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit 58062a2. |
Automatic merge from submit-queue |
No need to fail the tests. If label is not present then it means that node is not in any zone.
Related issue: #27372