kubernetes/test/e2e
Kubernetes Submit Queue eb52d55dbd Merge pull request #30141 from sttts/sttts-affinity-logic
Automatic merge from submit-queue

e2e flake: real fix of PodAntiAffinity test

The fix in PR https://github.com/kubernetes/kubernetes/pull/30135 was wrong in using a wrong test condition for an already broken test.

### Summary

The test tries to launch a pod with an anti-affinity annotation, waits 10
seconds and then checks that it is still pending.

But the anti-affinity annotation does not forbid to launch that pod on just
another node that does not have the zone label at all.

This commit changes this behavior by labeling two nodes with the zone label
and then forcing the pod to be launched on one of those two nodes.

**I assume here that a non-existing label is considered as a different label value.**

  Fixes #30078
2016-08-06 21:23:47 -07:00
..
chaosmonkey Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
cleanup Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
common Merge pull request #29809 from Random-Liu/move-more-test-into-common 2016-08-05 20:16:32 -07:00
framework Merge pull request #30114 from Random-Liu/use-framework-report-dir 2016-08-05 23:31:28 -07:00
generated kill repo-root : test/e2e/serviceloadbalancers.go 2016-07-29 14:35:19 -04:00
perftype Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
testing-manifests Fix JSON-based scheduler predicates tests 2016-08-04 10:55:27 +02:00
addon_update.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
autoscaling_utils.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
batch_v1_jobs.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
cadvisor.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
cluster_size_autoscaling.go Increase timeouts in multiple node pool e2e tests for cluster autoscaler 2016-07-04 14:10:37 +02:00
cluster_upgrade.go Increase test timeouts for creating LB in large clusters 2016-08-02 12:32:04 +02:00
daemon_restart.go Refactor uuid into its own pkg 2016-07-30 00:07:02 -04:00
daemon_set.go Make Daemonset use GeneralPredicates 2016-07-13 14:50:29 +02:00
dashboard.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
density.go Merge pull request #29971 from caesarxuchao/fix-kubectl-rolling-update-with-gc 2016-08-04 20:48:10 -07:00
deployment.go Update deployment e2e test to check violated rollingupdate strategy 2016-08-01 17:05:22 -07:00
dns.go Refactor uuid into its own pkg 2016-07-30 00:07:02 -04:00
e2e.go Revert "Revert "Drop support for --gce-service-account, require activated creds"" 2016-08-02 20:34:02 -07:00
e2e_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
empty_dir_wrapper.go Refactor uuid into its own pkg 2016-07-30 00:07:02 -04:00
es_cluster_logging.go Rework pod waiting mechanism in e2e tests to accept pod and watch based 2016-07-20 15:21:50 +02:00
etcd_failure.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
events.go Refactor uuid into its own pkg 2016-07-30 00:07:02 -04:00
example_cluster_dns.go Rework pod waiting mechanism in e2e tests to accept pod and watch based 2016-07-20 15:21:50 +02:00
example_k8petstore.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
examples.go Rework pod waiting mechanism in e2e tests to accept pod and watch based 2016-07-20 15:21:50 +02:00
federated-secret.go Adding secrets to federation-apiserver & clientset, adding e2e tests 2016-08-03 02:43:48 +00:00
federated-service.go code review fixes 2016-07-06 15:10:29 -07:00
federation-apiserver.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
federation-util.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
garbage_collector.go plumb --enable_garbage_collector from environment variable; 2016-08-02 10:02:52 -07:00
generated_clientset.go plumb --enable_garbage_collector from environment variable; 2016-08-02 10:02:52 -07:00
gke_local_ssd.go Refactor uuid into its own pkg 2016-07-30 00:07:02 -04:00
gke_node_pools.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
google_compute.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
horizontal_pod_autoscaling.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
ingress.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
ingress_utils.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
initial_resources.go Rework pod waiting mechanism in e2e tests to accept pod and watch based 2016-07-20 15:21:50 +02:00
job.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
kibana_logging.go Rework pod waiting mechanism in e2e tests to accept pod and watch based 2016-07-20 15:21:50 +02:00
kubectl.go Refactor uuid into its own pkg 2016-07-30 00:07:02 -04:00
kubelet.go Merge pull request #29847 from gmarek/retries 2016-08-02 09:53:12 -07:00
kubelet_perf.go Refactor uuid into its own pkg 2016-07-30 00:07:02 -04:00
kubeproxy.go Refactor uuid into its own pkg 2016-07-30 00:07:02 -04:00
limit_range.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
load.go Increase number of namespaces in load test 2016-08-04 10:13:47 +02:00
mesos.go Rework pod waiting mechanism in e2e tests to accept pod and watch based 2016-07-20 15:21:50 +02:00
metrics_grabber_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
monitoring.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
namespace.go Rework pod waiting mechanism in e2e tests to accept pod and watch based 2016-07-20 15:21:50 +02:00
networking.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
networking_perf.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
node_problem_detector.go Refactor uuid into its own pkg 2016-07-30 00:07:02 -04:00
nodeoutofdisk.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
pd.go Refactor uuid into its own pkg 2016-07-30 00:07:02 -04:00
persistent_volumes.go refactored to support multiple It()s and added a prebinding test 2016-08-04 00:23:44 -07:00
petset.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
pod_gc.go plumb --enable_garbage_collector from environment variable; 2016-08-02 10:02:52 -07:00
pods.go Refactor uuid into its own pkg 2016-07-30 00:07:02 -04:00
portforward.go Merge pull request #26755 from david-mcmahon/fix-headers 2016-06-29 18:46:07 -07:00
pre_stop.go Rework pod waiting mechanism in e2e tests to accept pod and watch based 2016-07-20 15:21:50 +02:00
proxy.go code comments 2016-07-25 14:40:57 -07:00
rc.go Refactor uuid into its own pkg 2016-07-30 00:07:02 -04:00
reboot.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
replica_set.go Refactor uuid into its own pkg 2016-07-30 00:07:02 -04:00
resize_nodes.go Revert "Workardound KubeProxy failures in test framework" 2016-07-11 00:19:15 -07:00
resource_quota.go fix kubectl rolling-update when GC is enabled 2016-08-03 15:57:03 -07:00
restart.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
scheduler_predicates.go Fix anti-affinity e2e test 2016-08-05 16:32:50 +02:00
security_context.go Refactor uuid into its own pkg 2016-07-30 00:07:02 -04:00
service.go Merge pull request #29971 from caesarxuchao/fix-kubectl-rolling-update-with-gc 2016-08-04 20:48:10 -07:00
service_accounts.go Refactor uuid into its own pkg 2016-07-30 00:07:02 -04:00
service_latency.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
serviceloadbalancers.go fix kubectl rolling-update when GC is enabled 2016-08-03 15:57:03 -07:00
ssh.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
third-party.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
ubernetes_lite.go Refactor uuid into its own pkg 2016-07-30 00:07:02 -04:00
util_iperf.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
volume_provisioning.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
volumes.go Rework pod waiting mechanism in e2e tests to accept pod and watch based 2016-07-20 15:21:50 +02:00