Commit Graph

3446 Commits (c22f0765615f65d3cd9e69b315249b65baf4b98b)

Author SHA1 Message Date
deads2k c22f076561 remove almost all usages of clientadapter 2016-09-26 07:53:03 -04:00
Kubernetes Submit Queue 3aa8abd687 Merge pull request #32860 from jszczepkowski/ha-e2e-tests
Automatic merge from submit-queue

Added e2e framweork and a simple test for HA master.

Added e2e framweork for testing HA master. Added one simple e2e test for HA master that first grows and then shrinks GCE cluster.
2016-09-26 01:42:55 -07:00
Kubernetes Submit Queue 9455b1de54 Merge pull request #33157 from YuPengZTE/devEG
Automatic merge from submit-queue

'eg.' should be 'e.g.'
2016-09-24 00:53:38 -07:00
Kubernetes Submit Queue d728afc59e Merge pull request #33165 from zefciu/b29633
Automatic merge from submit-queue

Corrected timeout on Downward API volume

The tests for Downward API volume were apparently created before the
default sync-frequency was set to 1 minute. As the current
implementation of Pod gives us no guarantee that the changes will be
seen in Downward API before `sync-frequency` we need the tests to
reflect this.

Fixes: #29633
2016-09-24 00:53:30 -07:00
Kubernetes Submit Queue 8c1f1a6d20 Merge pull request #33311 from madhusudancs/fed-e2e-gce-resources-cleanup-stop-loop-var
Automatic merge from submit-queue

Pass the real cluster scoped service object to cleanup functions instead of passing the federation scoped object.

cc @kubernetes/sig-cluster-federation 

Ref: Issue #31624
2016-09-23 16:46:08 -07:00
Kubernetes Submit Queue 5374e48e60 Merge pull request #24536 from jayunit100/LoggingSoak
Automatic merge from submit-queue

Logging soak

Implements #24427 

Needs 

- #24471 so that it doesnt clog test outputs for scale
- builds on the utils function added in support of #22869 

cc @timothysc @kubernetes/sig-testing
2016-09-23 16:06:47 -07:00
Kubernetes Submit Queue 071927a59d Merge pull request #32549 from smarterclayton/gc_non_kube_legacy
Automatic merge from submit-queue

Allow garbage collection to work against different API prefixes

The GC needs to build clients based only on Resource or Kind. Hoist the
restmapper out of the controller and the clientpool, support a new
ClientForGroupVersionKind and ClientForGroupVersionResource, and use the
appropriate one in both places.

Allows OpenShift to use the GC
2016-09-23 14:06:35 -07:00
Kubernetes Submit Queue 5f2846eefb Merge pull request #31973 from soltysh/job_e2e_slowness
Automatic merge from submit-queue

Speed up job's e2e when waiting for failure

**What this PR does / why we need it**:
Job controller synchronizes objects only when job itself or underlying pod changes. Or, when full resync is performed once 10 mins. This leads e2e test to unnecessarily wait that longer timeout, sometimes at least. I've added job modification action which triggers resync, if the job wasn't terminated within shorter period of time.

@ixdy ptal
@janetkuo @erictune fyi
2016-09-23 06:58:17 -07:00
Kubernetes Submit Queue 430b897f30 Merge pull request #33342 from freehan/fix-reboot-ifdownup
Automatic merge from submit-queue

swtich ifdown/ifup to use ip link down/up instead

fix: #33327
2016-09-22 23:19:09 -07:00
Kubernetes Submit Queue 1ef86aa8ab Merge pull request #32906 from caesarxuchao/staging-1.5
Automatic merge from submit-queue

Staging 1.5 client

Created the 1.5 folder and remove the 1.4 folder in the staging area in the master branch.

Content of kubernetes/client-go/1.4 will be pulled from the kubernetes/kubernetes 1.4 branch (https://github.com/kubernetes/contrib/pull/1719)
2016-09-22 19:55:01 -07:00
Kubernetes Submit Queue 88bcf4a5b4 Merge pull request #33156 from guangxuli/k8s_test_092101
Automatic merge from submit-queue

break the loop if pod name was equal
2016-09-22 18:29:26 -07:00
Minhan Xia 267d1fbd77 swtich ifdown/ifup to use ip link down/up instead 2016-09-22 17:25:07 -07:00
Madhusudan.C.S f94346768e Pass the real cluster scoped service object to cleanup functions instead of passing the federation scoped object. 2016-09-22 14:58:51 -07:00
Clayton Coleman 97c35fcc67
Allow garbage collection to work against different API prefixes
The GC needs to build clients based only on Resource or Kind. Hoist the
restmapper out of the controller and the clientpool, support a new
ClientForGroupVersionKind and ClientForGroupVersionResource, and use the
appropriate one in both places.
2016-09-22 15:00:58 -04:00
Kubernetes Submit Queue 34c61bdba6 Merge pull request #33201 from Random-Liu/disk-eviction-recover-images
Automatic merge from submit-queue

Node E2E: Change the disk eviction test to pull images again after the test.

Fixes https://github.com/kubernetes/kubernetes/issues/32022#issuecomment-248677706.

This PR changes the disk eviction test to pull test images again in `AfterEach`, because images may be evicted during the test.

@yujuhong 
/cc @kubernetes/sig-node
2016-09-22 10:20:42 -07:00
Szymon Pyżalski de6cc5d0f6 Corrected timeout on Downward API volume
The tests for Downward API volume were apparently created before the
default sync-frequency was set to 1 minute. As the current
implementation of Pod gives us no guarantee that the changes will be
seen in Downward API before `sync-frequency` we need the tests to
reflect this.

Fixes: #29633
2016-09-22 10:59:09 +02:00
Kubernetes Submit Queue c31edb2ae6 Merge pull request #33161 from madhusudancs/fed-svc-lb-inge2e-cleanup
Automatic merge from submit-queue

Minor Ingress tests cleanup, that includes service shard and GCE resource cleanups in underlying clusters.

Follow up for #32810.

cc @kubernetes/sig-cluster-federation
2016-09-21 22:51:31 -07:00
Kubernetes Submit Queue a44aeca42b Merge pull request #33011 from kargakis/fix-flaky-test
Automatic merge from submit-queue

test: use low terminationGracePeriod for deployment test

Hopefully fixes https://github.com/kubernetes/kubernetes/issues/32692

@janetkuo PTAL
2016-09-21 17:22:55 -07:00
Random-Liu fcfe4264fe Change the disk eviction test to pull images again after the test. 2016-09-21 15:54:03 -07:00
Chao Xu a4e62297d6 fix tests 2016-09-21 14:44:39 -07:00
Mik Vyatskov 3fbde5ecfb Fixed elasticsearch cluster logging e2e test on GCI 2016-09-21 13:55:43 +02:00
jayunit100 fe5429e921 Logging soak, rebased w/ viper
ReadConfig as local
2016-09-21 07:49:12 -04:00
Kubernetes Submit Queue e362fe0202 Merge pull request #33159 from nikhiljindal/fedTestEvents
Automatic merge from submit-queue

Dumping federation events if federation e2e test failed

Updating the e2e framework to dump events in federation control plane if a federation e2e test failed.

This should help in debugging https://github.com/kubernetes/kubernetes/issues/32733

cc @kubernetes/sig-cluster-federation
2016-09-21 02:56:51 -07:00
Madhusudan.C.S 898f618275 Minor Ingress tests cleanup, that includes service shard and GCE resource cleanups in underlying clusters. 2016-09-21 00:09:13 -07:00
nikhiljindal bbb27cde10 Dumping federation events if federation test failed 2016-09-20 23:56:23 -07:00
YuPengZTE 5865a31e77 'eg.' should be 'e.g.'
Signed-off-by: YuPengZTE <yu.peng36@zte.com.cn>
2016-09-21 14:28:22 +08:00
guangxuli f411d37363 break the loop if pod name was equal 2016-09-21 13:04:03 +08:00
Matt Liggett ce0e7586a8 Only approve evictions when budgets would stay enforced after.
Prior to this, we would approve eviction as long as the current state of
the pods matched the budget.  The new version requires that after the
eviction, the pods would still match the budget.

Also update tests to match.
2016-09-20 18:23:50 -07:00
Matt Liggett f2ab87b6ac Stop referring to loop variable inside closure. 2016-09-20 15:32:58 -07:00
Kubernetes Submit Queue e3e26164d5 Merge pull request #32902 from jayunit100/viper_hierarchies
Automatic merge from submit-queue

Viper direct bindings to TestContext struct with hierarchichal suppor…

Part of #31453 to support hierarchichal parameters.  This one does so for density, paves way for other tests as well.
2016-09-20 15:11:22 -07:00
jayunit100 be2e1f5d96 viper hierarchies, cadvisor impl 2016-09-20 15:42:22 -04:00
Random-Liu ae031634e4 Add CRI Validation test. The test run non-flaky, non-serial test against
Kubernetes HEAD and docker v1.11.2 with CRI enabled.
2016-09-20 12:18:07 -07:00
Mik Vyatskov dedbe837f2 Add additional delay to the es logging e2e test to make it stable 2016-09-20 17:37:56 +02:00
Jerzy Szczepkowski 125c1e1887 Added e2e framweork and test for HA master.
Added e2e framweork for testing HA master. Added one simple e2e test for HA master.
2016-09-20 16:53:59 +02:00
Kubernetes Submit Queue c21fdc71a3 Merge pull request #32986 from Random-Liu/add-image-white-list
Automatic merge from submit-queue

Node E2E: Add image white list

This is part of #29081. Fixes #29155.

As is discussed with @yujuhong in #29155, it is difficult to maintain the prepull image list if it is not enforced. 

This PR added an image white list in the test framework, only images in the white list could be used in the test. If the image is not in the white list, the test will fail with reason:
```
Image "XXX" is not in the white list, consider adding it to CommonImageWhiteList in test/e2e/common/util.go or NodeImageWhiteList in test/e2e_node/image_list.go
```

Notice that if image pull policy is `PullAlways`, the image is not necessary to be in the white list or prepulled, because the test expects the image to be pulled during the test.

Currently, the image white list is only enabled in node e2e, because the image puller in e2e test is not integrated with the image white list yet.

/cc @kubernetes/sig-node
2016-09-20 07:28:58 -07:00
Kubernetes Submit Queue f272a1f8d7 Merge pull request #32810 from madhusudancs/fed-svc-lb-cleanup
Automatic merge from submit-queue

Implement cleanup methods to cleanup underlying cluster resources in federated service tests.

cc @kubernetes/sig-cluster-federation @colhom
2016-09-20 05:56:52 -07:00
Kevin c47bb43c81 fix node update taints conflict in kubectl taint e2e 2016-09-20 09:58:03 +08:00
Random-Liu ed411c9042 Add image white list, images in white list will be prepulled, and
only images in white list could be used in the test. Currently only
enabled in node e2e test.
2016-09-19 14:39:23 -07:00
Kubernetes Submit Queue 1816bf6716 Merge pull request #32896 from deads2k/storage-03-enable-test
Automatic merge from submit-queue

re-enable dynamic provisioning test on gke

fixes https://github.com/kubernetes/kubernetes/issues/32377
2016-09-19 14:29:31 -07:00
Kubernetes Submit Queue 416f81f1aa Merge pull request #32933 from pmorie/exec-e2e-debug
Automatic merge from submit-queue

Make container exec failures in e2e easier to debug

Makes container exec failures in e2e tests easier to debug.  Found while chasing some SELinux bugs :)

@pwittrock I'm adding this to the 1.4 milestone because it makes e2e failures easier to debug.
2016-09-19 13:48:35 -07:00
Madhusudan.C.S 81ac19a99b Address review comments and minor panic fixes. 2016-09-19 12:18:10 -07:00
Kubernetes Submit Queue b89699b728 Merge pull request #32899 from mml/dc-flake
Automatic merge from submit-queue

Increase schedulingTimeout due to flakiness even at 5m.

Hope to fix #32668 and #32644 and #32639.
2016-09-19 11:40:51 -07:00
Michail Kargakis 4b45bc1fa7 test: use low terminationGracePeriod for deployment test 2016-09-19 10:29:29 +02:00
Kubernetes Submit Queue 294502685c Merge pull request #30577 from chrislovecnm/cassandra-petset
Automatic merge from submit-queue

Pet Set Example for Cassandra

- updating cassandra to 3.7
- added pet set example
- adding pet set for Cassandra e2e tests
- changed service as we do not want a lb service, as we are running C*
- updated docs

cc @bgrant0607 

cc @kubernetes/examples 

We can probably close a couple of other open PR, since I did some other stuff.
2016-09-16 21:56:18 -07:00
Paul Morie 78d268e7d3 Make container exec failures in e2e easier to debug 2016-09-16 22:05:00 -04:00
Matt Liggett 3204e575cf Increase schedulingTimeout due to flakiness even at 5m. 2016-09-16 13:34:19 -07:00
deads2k 6a521c863e re-enable dynamic provisioning test on gke 2016-09-16 16:16:14 -04:00
Kubernetes Submit Queue 224cbeede5 Merge pull request #32871 from wojtek-t/speedup_pod_deletion
Automatic merge from submit-queue

Speedup pod deletion in density test

Ref #32571
2016-09-16 08:20:46 -07:00
Wojciech Tyczynski 5aed7aef22 Speedup pod deletion in density test 2016-09-16 16:14:33 +02:00
Kubernetes Submit Queue 0dc72b7522 Merge pull request #32866 from wojtek-t/decrease_namespace_creation_timeout
Automatic merge from submit-queue

Decrease timeout for namespace creation in test

If apiserver is unresponsive (e.g. because of crashloop or sth), we are wasting a lot of test time on retries.
2016-09-16 06:52:43 -07:00