Commit Graph

141 Commits (8621326a7a542605cb958a61c37b27fa80f6d12c)

Author SHA1 Message Date
Tim St. Clair 376b5f247a Refactor common pod patterns to e2e framework. 2016-06-28 17:20:08 -07:00
k8s-merge-robot 700fbd0543 Merge pull request #27461 from euank/e2e-rkt-runtime
Automatic merge from submit-queue

e2e: Allow skipping tests for specific runtimes, skip a few tests under rkt

The main benefit of this is that it gives a developer more useful output (more signal to noise) for things that are known broken on that runtime.

cc @kubernetes/rktnetes-maintainers , @ixdy 

I'll run this PR through our jenkins and make sure things look happy and compare to the e2e results for this PR.
2016-06-26 18:47:42 -07:00
k8s-merge-robot 00e7ab583e Merge pull request #27546 from aveshagarwal/master-delete-ns-pod-reason
Automatic merge from submit-queue

Add pod status reason when there are remaining pods.

@yujuhong
2016-06-26 00:39:02 -07:00
k8s-merge-robot e0b8595f92 Merge pull request #25255 from ingvagabund/e2e-framework-util-StartPods-panic-for-zero-replicas
Automatic merge from submit-queue

e2e.framework.util.StartPods: panic if the number or replicas is zero

The number of pods to start must be non-zero.
Otherwise the function waits for pods forever if ``waitForRunning`` is true.
It the number of replicas is zero, panic so the mistake is heard all over the e2e realm.

Update all callers of StartPods to test for non-zero number of replicas.
2016-06-25 01:57:38 -07:00
Wojciech Tyczynski 77679b0437 Workardoun KubeProxy failures in test framework 2016-06-24 15:49:12 +02:00
gmarek 0d96eeea63 Increase PodReadyBeforeTimeout by 50% 2016-06-23 14:59:04 +02:00
Janet Kuo 14d9863665 Fix broken redis example e2e tests 2016-06-21 11:50:26 -07:00
k8s-merge-robot 9f06e0f1a6 Merge pull request #27665 from iamthemuffinman/master
Automatic merge from submit-queue

Fix spelling errors
2016-06-21 09:54:07 -07:00
nikhiljindal 9026195614 Updating the code to fix the context name before using it as secret and cluster names 2016-06-20 14:50:28 -07:00
Robert Deusser cd1450b3ec Fix spelling errors
More spelling fixes
2016-06-20 11:36:11 -04:00
k8s-merge-robot 4630a3c665 Merge pull request #27428 from gmarek/staticPods
Automatic merge from submit-queue

WaitForRunningReady also waits for PodsSuccess

Ref. #27095 - fixes the test, doesn't fix the problem.

cc @yujuhong @fejta
2016-06-19 14:55:11 -07:00
k8s-merge-robot 5c2594233e Merge pull request #27162 from goltermann/example
Automatic merge from submit-queue

Fixing timing issues with examples

Partial fixes for examples tests.
2016-06-18 19:43:36 -07:00
k8s-merge-robot 82ab80cb57 Merge pull request #27265 from gmarek/grabber-test
Automatic merge from submit-queue

Remove known metrics list

Fixes #26800
2016-06-17 11:24:17 -07:00
Wojciech Tyczynski b519c72a84 Log namespace creation error 2016-06-17 13:18:02 +02:00
k8s-merge-robot 6a18fbe6af Merge pull request #27019 from girishkalele/nethealth2saltbase
Automatic merge from submit-queue

Add nethealth container to prepull manifest
2016-06-17 02:15:59 -07:00
nikhiljindal ec6543e1e2 Adding a wait for federation apiserver to be ready in e2e tests 2016-06-16 15:34:45 -07:00
k8s-merge-robot 0856e1dd43 Merge pull request #27390 from mml/fed-service-type
Automatic merge from submit-queue

Compare v1.Service to v1.Service.
2016-06-16 12:45:00 -07:00
Avesh Agarwal 78e833e7bc Add pod status and reason when there are remaining pods. 2016-06-16 14:09:24 -04:00
Girish Kalele ee7ca66dba Add nethealth prepull container output to e2e run logs 2016-06-16 11:03:09 -07:00
nikhiljindal ca22a28fff Dumping logs of federation pods on test failure 2016-06-15 17:07:05 -07:00
Matt Liggett 4f388d8aad Compare v1.Service to v1.Service. 2016-06-15 12:49:45 -07:00
Euan Kemp d8d63be2dd e2e: Skip init container tests under rkt runtime 2016-06-15 11:50:58 -07:00
Euan Kemp fb56095683 e2e: Add container runtime flag 2016-06-15 11:50:58 -07:00
gmarek 9cf3724ed6 WaitForRunningReady also waits for PodsSuccess 2016-06-15 15:09:02 +02:00
Wojciech Tyczynski e0498ed76a Make timeout for starting system pods configurable 2016-06-15 11:25:42 +02:00
k8s-merge-robot 751f45b641 Merge pull request #27310 from ihmccreery/version-guard-port-forward
Automatic merge from submit-queue

Add kubectl version guard around kubectl port-forward

Fixes #26594 (once this gets backported to v1.2 and v1.3).
2016-06-14 13:43:40 -07:00
Isaac Hollander McCreery fa9f6d7cd2 Add kubectl version guard around kubectl port-forward 2016-06-14 10:04:22 -07:00
Jan Chaloupka d9f3e3c3ad e2e.framework.util.StartPods:
The number of pods to start must be non-zero.
Otherwise the function waits for pods forever if waitForRunning is true.
It the number of replicas is zero, panic so the mistake is heard all over the e2e realm.

Update all callers of StartPods to test for non-zero number of replicas.
2016-06-14 13:44:38 +02:00
nikhiljindal 5a20112ec4 Adding test for cluster controller 2016-06-13 17:29:06 -07:00
nikhiljindal 9b2b763ab0 Fixing references to federated-context and federation-e2e 2016-06-13 16:43:55 -07:00
goltermann 4b722d33aa Fixing timing issues with examples 2016-06-13 15:26:09 -07:00
k8s-merge-robot 6489abe8b4 Merge pull request #26953 from madhusudancs/fed-e2e-framework-clientset
Automatic merge from submit-queue

Add clientset support for federation e2e tests.

Only the last commit here needs review.

Depends on #26952.

cc @colhom @kubernetes/sig-cluster-federation

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-13 04:53:41 -07:00
gmarek 0adcc8ef1e Remove known metrics list 2016-06-13 10:37:21 +02:00
k8s-merge-robot 76aa4fc0e6 Merge pull request #26831 from yujuhong/downard_api_test
Automatic merge from submit-queue

Port the downward api test to the node e2e suite

Also extend the framework to allow a custom client config loading function, so
that the node e2e suite can reuse the same framework across tests.

This fixes #26609

/cc @timstclair @pwittrock
2016-06-11 09:54:45 -07:00
k8s-merge-robot a4b5f991e7 Merge pull request #27148 from janetkuo/io-timeout-sleep-and-talk
Automatic merge from submit-queue

In case of i/o timeout error in kubectl e2e, try talking to the server again after 2s before dying

Ref #26715

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-11 02:47:49 -07:00
k8s-merge-robot ede661b4af Merge pull request #27012 from janetkuo/reduce-pod-list
Automatic merge from submit-queue

Listing pods only once when getting pods for RS in deployment

Fixes #26834

1. Avoid ranging over RSes and then `List` pods of each RS. Instead, `List` pods of the deployment once, and then filter pods of each RS. 
2. Avoid using clientset to `List` pods in deployment controller. Use podStore instead. (TODO in some functions because the unit tests don't have podStore.)

@kubernetes/deployment 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-10 20:40:22 -07:00
Janet Kuo 13718846d8 In case of i/o timeout error in kubectl e2e, try talking to the server again after 2s before dying 2016-06-10 10:06:46 -07:00
Janet Kuo 764df2e096 Listing pods only once when getting pods for RS in deployment 2016-06-10 09:55:28 -07:00
Madhusudan.C.S f7486d52ea Add clientset support for federation e2e tests. 2016-06-10 00:26:30 -07:00
Jeff Lowdermilk 3567199432 Fix GKE upgrade e2e util.
containers command group at HEAD no longer accepts --zone. Flag
has to be specified after subcommand group.
2016-06-09 10:47:12 -07:00
k8s-merge-robot 66149c50fd Merge pull request #26792 from janetkuo/deployment-version-skewed-test-fail
Automatic merge from submit-queue

Avoid comparing pod-template-hash when getting a deployment's new/old RSes

Will need to cherry pick to 1.2 also. 

Ref #26724 #26797 @kubernetes/deployment @ihmccreery 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-08 12:03:31 -07:00
Wojciech Tyczynski 51f433d9a6 Reduce huge amount of logs in large cluster tests 2016-06-08 13:36:46 +02:00
Wojciech Tyczynski 878c8d41f1 Merge pull request #27008 from zmerlynn/e2e-routes
Networking e2es: Wait for all nodes to be schedulable in kubeproxy and networking tests
2016-06-08 09:02:30 +02:00
Zach Loafman 936297c64c Networking e2es: Wait for all nodes to be schedulable in kubeproxy and networking tests
Now that GCE routes take an extremely long time to come up and there's
a variance in "Ready" and "Schedulable", start cherry-picking tests
where we really want to have all nodes routable/schedulable for
testing. Adding logging. This will increase test times on large
clusters but should have 0 impact on normal testing.
2016-06-07 16:38:03 -07:00
Wojciech Tyczynski 940882cb44 Fix scalability flakes in small clusters 2016-06-07 14:44:31 +02:00
Janet Kuo c3d905776e Avoid comparing pod-template-hash when getting a deployment's new/old RSes 2016-06-06 17:09:35 -07:00
Janet Kuo 9f4e30ba88 Fix nil pointer dereference in deployment e2e test 2016-06-06 17:08:38 -07:00
Yu-Ju Hong a6a3ed210c Port the downward api test to the node e2e suite
Also extend the framework to allow a custom client config loading function, so
that the node e2e suite can reuse the same framework across tests.
2016-06-03 18:16:24 -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
Tim Hockin 3c6ce53b7f Fix call-sites after dep updates 2016-06-02 16:57:28 -07:00