kubernetes/test/e2e/framework
Kubernetes Submit Queue e69b497e07 Merge pull request #37303 from krousey/e2eutil
Automatic merge from submit-queue

Guard the ready replica checking by server version

I fixed replica readiness checking for 1.4->1.5 upgrades by using a field that only exists in versions >=1.4.0 in #36924 

This fixed a lot of issues in 1.4->1.5 upgrade testing, but did not fix 1.3->1.5 upgrade tests. I've disabled replica checking for 1.3 masters as the old logic was broken anyway.

This will not affect the 1.3 CI tests. Just 1.3 -> {1.4, 1.5} upgrade tests.

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke-container_vm-1.3-container_vm-1.5-upgrade-cluster-new/330?log
is an example of this breakage. This is the tell-tale logs:

```console
Nov 22 09:40:50.469: INFO: 11 / 11 pods in namespace 'kube-system' are running and ready (506 seconds elapsed)
Nov 22 09:40:50.469: INFO: expected 5 pod replicas in namespace 'kube-system', 0 are Running and Ready.
Nov 22 09:40:50.469: INFO: POD  NODE  PHASE  GRACE  CONDITIONS
```
2016-11-22 19:52:22 -08:00
..
BUILD Retry job update after failure to prevent modification conflict 2016-11-19 19:40:08 +01:00
cleanup.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
exec_util.go Add ExecWithOptions to framework 2016-11-18 15:50:49 -08:00
federation_util.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
framework.go fix e2e delete namespace bug 2016-11-03 21:19:08 +08:00
gobindata_util.go kill repo-root : test/e2e/serviceloadbalancers.go 2016-07-29 14:35:19 -04:00
kubelet_stats.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
log_size_monitoring.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
metrics_util.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
networking_utils.go Add clarity/retries to proxy url test 2016-11-16 14:45:35 -08:00
nodes_util.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
perf_util.go Fix kubelet perf data to make work again for perfdash. 2016-09-30 11:56:02 -07:00
pods.go Use netexec container in http lifecycle hook test. 2016-11-22 10:09:19 -08:00
resource_usage_gatherer.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
test_context.go Remove kubelet related flags from node e2e. Add a single flag kubelet-flags to pass kubelet flags all together. 2016-11-17 10:17:32 -08:00
util.go Guard the ready replica checking by server version 2016-11-22 11:16:15 -08:00