Commit Graph

138 Commits (c8a87d3a62cd8a7585ff2a51dceb5ac1f845c0c4)

Author SHA1 Message Date
Wojciech Tyczynski 3c6a37193a Allow for not-ready pods in large clusters 2017-02-21 15:01:08 +01:00
deads2k c9a008dff3 move util/intstr to apimachinery 2017-01-30 12:46:59 -05:00
Clayton Coleman 469df12038
refactor: move ListOptions references to metav1 2017-01-23 17:52:46 -05:00
Clayton Coleman 9a2a50cda7
refactor: use metav1.ObjectMeta in other types 2017-01-17 16:17:19 -05:00
NickrenREN a12dea14e0 fix redundant alias clientset 2017-01-12 10:21:05 +08:00
deads2k 6a4d5cd7cc start the apimachinery repo 2017-01-11 09:09:48 -05:00
Zihong Zheng e5944f56dc Moves e2e service util functions into service_util.go and cleans up test codes 2017-01-03 15:36:15 -08:00
Rajat Ramesh Koujalagi f67b4950c0 Add test to detach a pd whose node was deleted 2016-12-19 14:57:28 -08:00
Chao Xu 03d8820edc rename /release_1_5 to /clientset 2016-12-14 12:39:48 -08:00
Wojciech Tyczynski a9ec31209e GetOptions - fix tests 2016-12-09 09:42:01 +01:00
Kubernetes Submit Queue 4b44926f90 Merge pull request #37325 from ivan4th/fix-e2e-with-complete-pods-in-kube-system-ns
Automatic merge from submit-queue (batch tested with PRs 37325, 38313, 38141, 38321, 38333)

Fix running e2e with 'Completed' kube-system pods

As of now, e2e runner keeps waiting for pods in `kube-system` namespace to be "Running and Ready" if there are any pods in `Completed` state in that namespace.
This for example happens after following [Kubernetes Hosted Installation](http://docs.projectcalico.org/v2.0/getting-started/kubernetes/installation/#kubernetes-hosted-installation) instructions for Calico, making it impossible to run conformance tests against the cluster. It's also to possible to reproduce the problem like that:
```
$ cat testjob.yaml
apiVersion: batch/v1
kind: Job
metadata:
  name: tst
  namespace: kube-system
spec:
  template:
    metadata:
      name: tst
    spec:
      containers:
      - name: tst
        image: busybox
        command: ["echo",  "test"]
      restartPolicy: Never
$ kubectl create -f testjob.yaml
$ go run hack/e2e.go -v --test --test_args='--ginkgo.focus=existing\s+RC'
```
2016-12-07 17:14:14 -08:00
Clayton Coleman 3454a8d52c
refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
Clayton Coleman 5df8cc39c9
refactor: generated 2016-12-03 19:10:46 -05:00
Ivan Shvedunov 29fd58ad0e Fix running e2e with 'Completed' kube-system pods 2016-11-24 19:10:43 +03:00
Chao Xu a55c71db4d test/e2e 2016-11-23 15:53:09 -08:00
Anirudh 9d0f1c2448 Added a sleep for the podGC to catch up.
The functionality used to exist entirely in the NC which would
previously clean up pods and nodes together. Now, we simply
wait for the PodGC to see that the node is now deleted and clean up the
pods. This may take a while and hence we set a 1 minute timeout.
2016-11-03 16:55:38 -07:00
Anirudh 71941016c1 Fix old e2e tests, refactor and add new e2e tests. 2016-11-01 11:46:13 -07:00
Anirudh 8f2f4ddab4 Review comments. 2016-10-27 15:12:14 -07:00
Anirudh b751e0daa9 Fixing e2e tests which rely on network disruptions. 2016-10-27 14:31:09 -07:00
Jan Chaloupka 4fde09d308 Replace client with clientset in code 2016-10-23 22:00:35 +02:00
gmarek 7681a1bdff Move RunRC-like functions to test/utils 2016-10-12 15:06:56 +02:00
Mike Danese a765d59932 move informer and controller to pkg/client/cache
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-09-15 12:50:08 -07:00
Lantao Liu f68acf6460 Revert "Workardound KubeProxy failures in test framework" 2016-07-11 00:19:15 -07:00
David McMahon ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Wojciech Tyczynski 77679b0437 Workardoun KubeProxy failures in test framework 2016-06-24 15:49:12 +02:00
Jerzy Szczepkowski f445d41497 Fixed GetGroupNodes method: wrong regexp function was used.
Fixed GetGroupNodes method: wrong regexp function was used. Should fix flakiness of "should add node to the particular mig" e2e test.
2016-06-09 14:34:50 +02:00
Yu-Ju Hong 02d7af28e0 kubelet e2e: enforce that image prepulling must finish before the test
The image prepulling pod calls docker directly to pull images. If the pod
hasn't finished before running the resource usage tracking test, there'd be a
cpu spike in docker. We'd rather wait and fail if this is the case, before
running the test.
2016-06-03 12:25:25 -07:00
Jerzy Szczepkowski a9dc78c6f6 Implemented e2e test: cluster autoscaler with node selector.
Implemented e2e test: cluster autoscaler with node selector.
2016-06-03 16:38:45 +02:00
k8s-merge-robot 46323336cb Merge pull request #26559 from wojtek-t/max_idle_conns_per_host
Automatic merge from submit-queue

Max idle conns per host

Ref #26519

Hopefully, this will at least somehow help with #26519 

@gmarek @krousey @lavalamp
2016-06-01 11:41:42 -07:00
Jerzy Szczepkowski 93e5b12a06 Multiple MIGs in e2e cluster autoscaling tests.
Implemented support for multiple MIGs in e2e cluster autoscaling tests.
2016-06-01 11:20:41 +02:00
Wojciech Tyczynski b67a6e6d41 Avoid creating multiple unnecessary clients in tests. 2016-05-31 14:57:09 +02:00
Yu-Ju Hong 17928cc1dc e2e: fix the expectation of always running kube-system pods
Instruct the tests to ignore image prepull pods.
2016-05-26 11:27:12 -07:00
Yu-Ju Hong cd82c543b9 e2e: fix tests that are broken because of the image prepull pod
Many tests expect all kube-system pods to be running and ready. The newly
added image prepull add-on pod can in the "succeeded" state. This commit fixes
the tests to allow kube-system pods to be succeeded.
2016-05-25 09:51:25 -07:00
Prashanth B 730555b09b Add an e2e image puller static pod 2016-05-23 19:17:09 +00:00
Jerzy Szczepkowski 905382f7b8 Added e2e test for cluster autoscaler that verifies host ports.
Added e2e test for cluster autoscaler that verifies host ports.
2016-05-17 15:07:30 +02:00
Clayton Coleman fdb110c859
Fix the rest of the code 2016-04-29 17:12:10 -04:00
Tim St. Clair b0d3f32e88 Update test/e2e for test/e2e/framework refactoring 2016-04-13 10:50:17 -07:00
Phillip Wittrock f22ddf1ea8 Update serve_hostname version from 1.1 to v1.4 2016-03-21 12:53:22 -07:00
Jay Vyas 9a71dfe753 KubeDescribe implementation with verify into after-build/ scripts. 2016-03-15 22:29:21 -04:00
Justin Santa Barbara 3e12e8b7cc AWS e2e: don't try to build a full cloudprovider in e2e
We have previously tried building a full cloudprovider in e2e for AWS;
this wasn't the best idea, because e2e runs on a different machine than
normal operations, and often doesn't even run in AWS.  In turn, this
meant that the cloudprovider had to do extra work and have extra code,
which we would like to get rid of.  Indeed, I got rid of some code which
tolerated not running in AWS, and this broke e2e.
2016-03-12 06:14:45 -05:00
k8s-merge-robot 9e5d1b61fa Merge pull request #21882 from gmarek/throttle
Auto commit by PR queue bot
2016-03-01 06:38:06 -08:00
k8s-merge-robot 5b415a7aed Merge pull request #22210 from janetkuo/deployment-e2e
Auto commit by PR queue bot
2016-02-29 22:44:40 -08:00
Janet Kuo c65d7b082c Move verifyPods to e2e test util 2016-02-29 14:26:01 -08:00
Kris e664ef922f Move restclient to its own package 2016-02-29 12:05:13 -08:00
gmarek 110340c467 Add an option to pass client's QPS/burst to e2e framework 2016-02-29 09:32:29 +01:00
Minhan Xia 7823d615e8 put block/unblock network function into util 2016-02-18 16:30:41 -08:00
k8s-merge-robot b276a98b55 Merge pull request #19731 from freehan/nodedown
Auto commit by PR queue bot
2016-01-29 22:26:42 -08:00
Minhan Xia 9611986509 add e2e test for network partition 2016-01-28 13:56:28 -08:00
Joe Finney 7164e88a3a Dump core at beginning and end of node resizes. 2016-01-25 09:52:57 -08:00
nikhiljindal 2ad642d370 Merge registered and latest and move to apimachinery 2016-01-21 14:42:21 -08:00