Commit Graph

3566 Commits (1448b87d16875c79e9dd3932caabc61c1cc4312c)

Author SHA1 Message Date
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
Wojciech Tyczynski 90cbef418f Decrease timeout for namespace creation in test 2016-09-16 14:57:10 +02:00
Kubernetes Submit Queue d3235448ca Merge pull request #32861 from wojtek-t/fix_density_test
Automatic merge from submit-queue

Fix removing RCs in density test

Ref #32571
2016-09-16 05:44:23 -07:00
Kubernetes Submit Queue 6910d40337 Merge pull request #32484 from soltysh/sj_e2e_kubectl
Automatic merge from submit-queue

Add kubectl run ScheduledJob e2e test

**What this PR does / why we need it**:
This add another `kubectl run` e2e test, this time verifying proper creation of a ScheduledJob. 

@janetkuo ptal
@deads2k that should give you more confidence when ditching manual clients
2016-09-16 04:23:34 -07:00
Wojciech Tyczynski 767bc90a20 Fix removing RCs in density test 2016-09-16 13:13:02 +02:00
Kubernetes Submit Queue c3374a0d49 Merge pull request #32782 from guangxuli/k8s_opts
Automatic merge from submit-queue

add break when found value
2016-09-16 02:11:46 -07:00
Kubernetes Submit Queue 5975535daa Merge pull request #31030 from jayunit100/config-e2e-file-2
Automatic merge from submit-queue

Add Viper parametrization as E2E config option.

do-not-merge 

Fixes #18099 via viper rather than inis.  
Wont build until we remove BurntSushi/ COPYING based deps from upstream viper.
I'll dig into those issues independently and update later, before pushing the updated godeps into this PR.
2016-09-15 23:13:13 -07:00
Kubernetes Submit Queue fcc97f37ee Merge pull request #32718 from mikedanese/mv-informer
Automatic merge from submit-queue

move informer and controller to pkg/client/cache

@kubernetes/sig-api-machinery
2016-09-15 16:44:30 -07:00
jayunit100 97396a34fa Add viper support to core e2es
rebase
2016-09-15 18:38:01 -04:00
Saad Ali 5766776cb3 Merge pull request #32806 from janetkuo/revert-30701
Revert "Add test for --quiet flag for kubectl run"
2016-09-15 13:46:53 -07: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
Madhusudan.C.S 557ed2f12f Implement cleanup methods to cleanup underlying cluster resources in federated service tests. 2016-09-15 11:30:54 -07:00
Janet Kuo e39b777746 Revert "Add test for --quiet flag for kubectl run"
This reverts commit 9e52d1cfd0.
2016-09-15 11:11:09 -07:00
guangxuli dc5c6c4f7e add break when typestr == n 2016-09-15 21:13:29 +08:00
Wojciech Tyczynski 258c0ca72f Fix node upgrade in e2e tests 2016-09-15 14:08:47 +02:00
Wojciech Tyczynski 67e4fa5b6e Reduce maximum number of net-proxy pods to make test work in large clusters 2016-09-15 10:45:03 +02:00
Kubernetes Submit Queue 4387dcbdd5 Merge pull request #32659 from wojtek-t/fix_gke_cluster
Automatic merge from submit-queue

Make networking tests work reasonably fast in large clusters

@bprashanth - FYI
2016-09-14 06:22:52 -07:00
Kubernetes Submit Queue b77e2728d8 Merge pull request #32560 from dshulyak/enable_signer_for_vagrant
Automatic merge from submit-queue

Allow to use GetSigner with vagrant provider

In order to run tests that require ssh access to a node on vagrant
we need to provide path to private ssh key.

Now it will be possible to do using VAGRANT_SSH_KEY environment variable
2016-09-14 05:35:55 -07:00
Maciej Szulik f0b97b8ffa Add kubectl run ScheduledJob e2e test 2016-09-14 14:20:56 +02:00
Wojciech Tyczynski b86ba6eab0 Make networking tests work reasonably fast in large clusters 2016-09-14 12:27:20 +02:00
Kubernetes Submit Queue e03d35cfd2 Merge pull request #32173 from bprashanth/nginx_slow
Automatic merge from submit-queue

Move nginx ingress e2e to slow

Normal GCE L7 e2e takes ~15m and runs in a feature private suite. This e2e ensure that the api isn't broken, by creating an nginx controller. I plan to write a really slimmed down version for presubmit, but I need to shave off a minute to get it below 5m. 

Fixes https://github.com/kubernetes/kubernetes/issues/23416
2016-09-14 01:13:40 -07:00
Kubernetes Submit Queue 1443fffc5d Merge pull request #30701 from ardnaxelarak/28695_suppress_noisy_output
Automatic merge from submit-queue

Add test for --quiet flag for kubectl run

This adds a test for the changes introduced in #30247 and #28801.

Ref #28695
2016-09-13 23:28:47 -07:00
Kubernetes Submit Queue 61ba82c637 Merge pull request #32632 from jlowdermilk/petset-e2e
Automatic merge from submit-queue

Only skip petset test if resource is missing

**What this PR does / why we need it**:
Unblock testing petset on other providers.

cc @pwittrock. Would like to cherrypick onto 1.4 but this is test code only, so it can wait til after release cut.
2016-09-13 22:09:40 -07:00
Jeff Lowdermilk 1631c6dd24 update comment, only skip on missing resource if provider is not gce 2016-09-13 19:30:00 -07:00
Jeff Lowdermilk 915e735d21 Only skip petset test if resource is missing 2016-09-13 18:50:36 -07:00
Janet Kuo 79373b698e Skip kubectl tests (create quota and exit code) on not supported versions 2016-09-13 17:25:19 -07:00
Kubernetes Submit Queue a26da7a1c4 Merge pull request #32160 from mml/evict.test.extra
Automatic merge from submit-queue

Refactor disruption e2e test and add some eviction test cases.
2016-09-13 17:23:02 -07:00
Kubernetes Submit Queue 51c4170c69 Merge pull request #32588 from maisem/upgrade_images
Automatic merge from submit-queue

Adding support for upgrading testing across image types.

Adds support for upgrade testing across image types.

@spxtr @vishh @ixdy @pwittrock

This change only affects upgrade testing. This does not touch production code and hence should be safe for cherrypicks into the 1.4 release branch.
2016-09-13 15:59:08 -07:00
Matt Liggett 138647e329 Refactor disruption e2e test and add some eviction test cases. 2016-09-13 15:31:49 -07:00
Kubernetes Submit Queue 4d0d9fa8f3 Merge pull request #32545 from nikhiljindal/fixFedSecTest
Automatic merge from submit-queue

Fixing federation secret and replicaset e2e tests

Verified that both of these pass once https://github.com/kubernetes/kubernetes/pull/32438 is merged.

cc @kubernetes/sig-cluster-federation 

Ref https://github.com/kubernetes/kubernetes/pull/31655#discussion_r78432043
2016-09-13 15:17:15 -07:00
Maisem Ali 19ca81cd36 Adding support for upgrading testing across image types. 2016-09-13 13:46:20 -07:00
nikhiljindal d19cfc0dcc Fixing federation secret and replicaset e2e tests 2016-09-13 12:20:46 -07:00
Kubernetes Submit Queue 3206be19bd Merge pull request #32539 from quinton-hoole/2016-09-12-enable-remaining-federated-ingress-e2e-tests
Automatic merge from submit-queue

Re-enable Federated Ingress e2e test to check connectivity to global load balancer

...Now that it works properly.

Should not merge before #31600, as it will fail until then.
2016-09-13 11:07:56 -07:00
Piotr Szczesniak 66c5d72ae0 Enabled Rescheduler e2e for GKE 2016-09-13 13:34:28 +02:00
Dmitry Shulyak 615d1d6336 Allow to use GetSigner with vagrant provider
In order to run tests that require ssh access to a node on vagrant
we need to provide path to private ssh key.

Now it will be possible to do using VAGRANT_SSH_KEY environment variable

Change-Id: Ic5fe0037edd46d0db3b8036ad7fc03cf1ea07574
2016-09-13 11:23:55 +03:00
Kubernetes Submit Queue 8f2f836e4e Merge pull request #32106 from jellonek/fd_leaks
Automatic merge from submit-queue

Ensure that we are closing files.

**What this PR does / why we need it**: In several places we are leaking file descriptors. This could be problematic on systems with low ulimits for them.

**Release note**:
```release-note
```
2016-09-12 23:43:38 -07:00
Kubernetes Submit Queue a44d2f8009 Merge pull request #32243 from caesarxuchao/generate-1-5-clientset
Automatic merge from submit-queue

Generate 1 5 clientset

Generate the 1.5 clientset. Stop updating 1.4 clientset. Remove 1.2 clientset.

@nikhiljindal @lavalamp 

I will rebase #31994 atop of this one.
2016-09-12 23:04:50 -07:00
Kubernetes Submit Queue c39f5681b7 Merge pull request #32316 from deads2k/client-05-remaining-clients
Automatic merge from submit-queue

remove the rest of the non-generated clients from the kubectl code

Die `Client` Die!

It's always bigger than you think.  Last bit @kargakis after this, it's gone.
2016-09-12 21:45:16 -07:00
Kubernetes Submit Queue 523fa24659 Merge pull request #31102 from sttts/sttts-podclient-doc
Automatic merge from submit-queue

Add some docs about the missing node e2e scheduling
2016-09-12 18:26:49 -07:00
Quinton Hoole a4696bb8c8 Re-enable e2e test to check connectivity to global load balancer, now that it works properly. 2016-09-12 17:34:55 -07:00
Kubernetes Submit Queue 6a739aae29 Merge pull request #32515 from nikhiljindal/fixFedRSTest
Automatic merge from submit-queue

federation e2e: Initialising cluster var before using it

Fixing https://github.com/kubernetes/kubernetes/pull/31904#discussion_r78433657

cc @jianhuiz @kubernetes/sig-cluster-federation
2016-09-12 14:04:46 -07:00
Kubernetes Submit Queue 74ad07de86 Merge pull request #32500 from kubernetes/revert-32196-rescheduler-e2e-gke
Automatic merge from submit-queue

Revert "Enabled Rescheduler e2e for gke"

Reverts kubernetes/kubernetes#32196

This broke gke-serial.

fix #31710
2016-09-12 12:49:53 -07:00
nikhiljindal 4c22c3fce5 Initialising cluster var before using it 2016-09-12 12:04:06 -07:00
Saad Ali 9ac08144d1 Revert "Remove long sleep in provisioning e2e tests." 2016-09-12 11:16:34 -07:00
Piotr Szczesniak 70755448b0 Revert "Enabled Rescheduler e2e for gke" 2016-09-12 17:25:13 +02:00
deads2k 519c13745f convert rest of kubectl to generated clients 2016-09-12 08:22:34 -04:00
Kubernetes Submit Queue 148628cbba Merge pull request #32279 from jsafrane/remove-deletion-sleep
Automatic merge from submit-queue

Remove long sleep in provisioning e2e tests.

PV controller sync is now 15 seconds, i.e. the controller re-tries to delete a PV four times in a minute until it succeeds. There is no need to wait for three minutes.

@kubernetes/sig-storage
2016-09-12 04:39:48 -07:00
Kubernetes Submit Queue fc30bf7e8b Merge pull request #32374 from soltysh/e2e_check_resource
Automatic merge from submit-queue

Provide an e2e skip helper checking for available resource

@janetkuo @dims this is the promised util function, but unfortunately I just learned that dynamic client suffers from the problem I've fixed in the manually written one (https://github.com/kubernetes/kubernetes/pull/29187) I need to look into the dynamic client in that case :/
2016-09-12 03:59:30 -07:00
gmarek a6e8789194 Relax the CPU constraint for L7 lb 2016-09-12 10:42:44 +02:00
Kubernetes Submit Queue af325ee7bf Merge pull request #31797 from aveshagarwal/master-dapi-volume-tests-image-update
Automatic merge from submit-queue

Update container image version for downward api volume tests

Some tests were using 0.7, and some were using 0.6, so updating all to 0.7.
@kubernetes/rh-cluster-infra
2016-09-12 01:22:27 -07:00
Piotr Skamruk dc3674c8d0 Ensure that we are closing files. 2016-09-12 09:33:24 +02:00
Kubernetes Submit Queue 64e914b8da Merge pull request #32365 from lojies/addporttokubectl
Automatic merge from submit-queue

add targetport to framework.Failf()

add target port value to framework.Failf()
2016-09-12 00:08:19 -07:00
Kubernetes Submit Queue 4b7c44b7c8 Merge pull request #32135 from rootfs/fix-29225
Automatic merge from submit-queue

fix #29225: wait slow during image pull

fix #29225
@kubernetes/sig-testing @krousey
2016-09-12 00:08:14 -07:00
Kubernetes Submit Queue acb63f07e0 Merge pull request #32145 from jfrazelle/31855-fix-flake
Automatic merge from submit-queue

test/e2e: up the timeout on AllNodesReady

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->

**What this PR does / why we need it**: help with flake issue #31855 

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
NONE
```

This is not the most glamorous fix, but...
2016-09-11 23:28:03 -07:00
Kubernetes Submit Queue 2f45b4f8c2 Merge pull request #32254 from kubernetes/revert-32233-scheduledjob-e2e
Automatic merge from submit-queue

Revert "tag scheduledjob e2e as [Feature:ScheduledJob]"

Reverts kubernetes/kubernetes#32233

The way the e2e jobs are configured, `[Feature:...]` tests can't easily be run in jenkins-pr or any of  submit-queue blocking jobs.
2016-09-11 22:11:22 -07:00
Kubernetes Submit Queue ce1c113442 Merge pull request #32046 from guangxuli/close_readBytesFromFile
Automatic merge from submit-queue

close the open file

the open file should be close.
2016-09-11 10:21:13 -07:00
Kubernetes Submit Queue 3f5132aa79 Merge pull request #32170 from bprashanth/ingress_leak
Automatic merge from submit-queue

Replace gcloud shelling out with cloudprovider calls.

gcloud flakes a lot leading to resource leak. Also fixes https://github.com/kubernetes/kubernetes/issues/16636 by verifying instance-groups, ssl-certs and firewall-rules and cleaned up.
2016-09-11 07:39:38 -07:00
Kubernetes Submit Queue f2951a54f9 Merge pull request #30674 from ivan4th/add-e2e-tests-for-wrapped-volume-race
Automatic merge from submit-queue

Add e2e tests that check for wrapped volume race

This PR adds two new e2e tests that reproduce the race condition fixed in #29641 (see e.g. #29297)

In order to observe the race, you need to revert the PR that fixes it, via e.g.
```
git revert -n df1e925143
```
or
```
curl -sL https://github.com/kubernetes/kubernetes/pull/29641.patch | patch -p1 -R
```

The tests are `[Slow]` because they need to run several passes that involve creating pods with many volumes. They also are `[Serial]` because the load on the cluster may affect reproducibility of the race. They take about ~450s each when they fail on standard GCE cluster created by `go run hack/e2e.go -v --up`. `git_repo` test takes about 66s to run when it succeeds (fix PR not reverted) and `configmap` test takes about 546s in this case because configmap mounting is slower and still requires 3 passes x 5 pods x 50 configmap volumes to fail constantly with fix PR reverted. Probably these times can be reduced but frankly I've already spent quite a bit of time on tuning the numbers to find a balance between reproducibility and speed.

Managed to reproduce the problem in more or less reliable way for `configMap` and `gitRepo` volumes. Tried to reproduce it for `secret` volumes too but without success so far because they use tmpfs-based `emptyDir` variety. For `downwardAPI` volumes I expect the same problems with race reproducibility as with `secret` volumes, although I think some e2e races were caused by the bug, e.g. #29633.

The tests operate by creating several pods (via an RC) with many volumes and waiting for them to become Running. It sets node affinity for pods so that they all get created on a single node (the first one in the node list). The race condition leads to volume mount failures with slow retries, thus causing the test to time out.

The test failures look like this:

configmap:
```
• Failure [435.547 seconds]
[k8s.io] Wrapped EmptyDir volumes
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:709
  should not cause race condition when used for configmaps [Serial] [Slow] [It]
  /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/wrapped_empty_dir.go:170

  Failed waiting for pod wrapped-volume-race-8c097734-6376-11e6-9ffa-5254003793ad-acbtt to enter running state
  Expected error:
      <*errors.errorString | 0xc8201758d0>: {
          s: "timed out waiting for the condition",
      }
      timed out waiting for the condition
  not to have occurred

  /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/wrapped_empty_dir.go:395
```
You'll see errors like this in kubelet log on the first node in the cluster:
```
E0816 00:27:23.319431    3510 configmap.go:174] Error creating atomic writer: stat /var/lib/kubelet/pods/e5986355-6347-11e6-a5d7-42010af00002/volumes/kubernetes.io~configmap/racey-configmap-14: no such file or directory
E0816 00:27:23.319478    3510 nestedpendingoperations.go:232] Operation for "\"kubernetes.io/configmap/e5986355-6347-11e6-a5d7-42010af00002-racey-configmap-14\" (\"e5986355-6347-11e6-a5d7-42010af00002\")" failed. No retries permitted until 2016-08-16 00:28:27.319450118 +0000 UTC (durationBeforeRetry 1m4s). Error: MountVolume.SetUp failed for volume "kubernetes.io/configmap/e5986355-6347-11e6-a5d7-42010af00002-racey-configmap-14" (spec.Name: "racey-configmap-14") pod "e5986355-6347-11e6-a5d7-42010af00002" (UID: "e5986355-6347-11e6-a5d7-42010af00002") with: stat /var/lib/kubelet/pods/e5986355-6347-11e6-a5d7-42010af00002/volumes/kubernetes.io~configmap/racey-configmap-14: no such file or directory
```

git_repo:
```
• Failure [455.035 seconds]                                                                                                                                                                                                                           [0/1882]
[k8s.io] Wrapped EmptyDir volumes
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:709
  should not cause race condition when used for git_repo [Serial] [Slow] [It]
  /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/wrapped_empty_dir.go:179

  Failed waiting for pod wrapped-volume-race-71b12b3d-6375-11e6-9ffa-5254003793ad-b0slz to enter running state
  Expected error:
      <*errors.errorString | 0xc8201758d0>: {
          s: "timed out waiting for the condition",
      }
      timed out waiting for the condition
  not to have occurred

  /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/wrapped_empty_dir.go:395
```
Errors in kubelet log:
```
E0815 23:41:08.670203    3510 nestedpendingoperations.go:232] Operation for "\"kubernetes.io/git-repo/97636bd8-6341-11e6-a5d7-42010af00002-racey-git-repo-8\" (\"97636bd8-6341-11e6-a5d7-42010af00002\")" failed. No retries permitted until 2016-08-15 23:42:12.670181604 +0000 UTC (durationBeforeRetry 1m4s). Error: MountVolume.SetUp failed for volume "kubernetes.io/git-repo/97636bd8-6341-11e6-a5d7-42010af00002-racey-git-repo-8" (spec.Name: "racey-git-repo-8") pod "97636bd8-6341-11e6-a5d7-42010af00002" (UID: "97636bd8-6341-11e6-a5d7-42010af00002") with: failed to exec 'git clone http://10.0.68.35:2345 test': : chdir /var/lib/kubelet/pods/97636bd8-6341-11e6-a5d7-42010af00002/volumes/kubernetes.io~git-repo/racey-git-repo-8: no such file or directory
```

Generally, the races cause unexpected "no such directory" errors in kubelet logs with subsequent volume mount failures.

I've added race tests to e2e test `empty_dir_wrapper.go` ("EmptyDir wrapper volumes"). This test was added in #18445, the same PR that introduced the race bug. The original purpose of the test was making sure that no conflicts occur between different wrapped emptyDir volumes, so I've replaced "should becomes" with "should not conflict" in the first `It(...)`.
2016-09-11 03:39:21 -07:00
Kubernetes Submit Queue dd9d5aa27d Merge pull request #32378 from kevin-wangzefeng/update-taints-e2e
Automatic merge from submit-queue

update taints e2e, restrict taints operation with key, effect

Since taints are now unique by key, effect on a node, this PR is to restrict existing taints adding/removing/updating operations in taints e2e.
Also fixes https://github.com/kubernetes/kubernetes/issues/31066#issuecomment-242870101
Related prior Issue/PR #29362 and #30590
2016-09-10 13:20:51 -07:00
Kubernetes Submit Queue 09efe0457d Merge pull request #32163 from mtaufen/more-eviction-logging
Automatic merge from submit-queue

Log pressure condition, memory usage, events in memory eviction test

I want to log this to help us debug some of the latest memory eviction test flakes, where we are seeing burstable "fail" before the besteffort. I saw (in the logs) attempts by the eviction manager to evict besteffort a while before burstable phase changed to "Failed", but the besteffort's phase appeared to remain "Running". I want to see the pressure condition interleaved with the pod phases to get a sense of the eviction manager's knowledge vs. pod phase.
2016-09-09 18:37:55 -07:00
Michael Taufen b9f0bd959e Log the following items in memory eviction test:
- memory working set
- pressure condition
- events for the default and test namespaces, after the test completes
2016-09-09 13:42:26 -07:00
Kubernetes Submit Queue e317af87cc Merge pull request #31819 from mtaufen/plumb-feature-gates
Automatic merge from submit-queue

Plumb --feature-gates from TEST_ARGS to components in node e2e tests

This means you can set `TEST_ARGS` on the command line, in a `.properties` config for a Jenkins job, etc, to toggle gated features. For example:

`TEST_ARGS='--feature-gates=DynamicKubeletConfig=true'`

/cc @vishh @jlowdermilk
2016-09-09 12:31:00 -07:00
Kubernetes Submit Queue cd30526b44 Merge pull request #32379 from wojtek-t/allow_for_notready_nodes_in_scalability
Automatic merge from submit-queue

Allow for not-ready nodes in WaitForAllNodesSchedulable

Ref #31215
2016-09-09 06:47:36 -07:00
Wojciech Tyczynski dc3dcc27d2 Allow for not-ready nodes in WaitForAllNodesSchedulable 2016-09-09 14:56:43 +02:00
deads2k 786879aa9b skip dynamic provisision test on gke until gke enables it 2016-09-09 07:45:40 -04:00
Maciej Szulik 7ee8f867d9 Provide an e2e skip helper checking for available resource. 2016-09-09 13:38:32 +02:00
Kevin fff139ce32 update taints e2e, respect that taint is unique by key, effect 2016-09-09 19:15:11 +08:00
Kubernetes Submit Queue a0fed361e0 Merge pull request #32200 from deads2k/storage-03-enable-test
Automatic merge from submit-queue

re-enable provisioning test

Reverts https://github.com/kubernetes/kubernetes/pull/32199 for when the gke control plane is updated.  This should be merged AFTER gke is ready.

@kubernetes/sig-storage @wojtek-t
2016-09-09 02:36:41 -07:00
lojies fe6359b98d add targetport to Failf 2016-09-09 17:35:21 +08:00
Wojciech Tyczynski c517811fc8 Fix checking for allowed not-ready nodes in test framework 2016-09-09 09:38:47 +02:00
Kubernetes Submit Queue 5512104d36 Merge pull request #31559 from bprashanth/kubeproxy_test
Automatic merge from submit-queue

Networking test rewrite

Decomposes the old kubeproxy tests into (tcp, udp) tests for each of the following: 
* intra-pod
* node-pod
* pod-Service
* node-Service
* endpoint-Service
* delete endpoints, confirm unreachability
* delete nodeport, confirm unreachability
* kube-proxy /proxymode, /healthz

Also gets rid of the old network conformance test that used apiserver proxy to check reported peer count of a webserver in a container (the netexec pod used in this test does the same thing without apiserver proxy). 

Fixes https://github.com/kubernetes/kubernetes/issues/26490, https://github.com/kubernetes/kubernetes/issues/14204
2016-09-08 19:37:32 -07:00
Chao Xu cbbf319be6 convert e2e tests 2016-09-08 16:03:07 -07:00
derekwaynecarr 6218693e8a Mark ThirdParty e2e tests flaky 2016-09-08 13:06:10 -04:00
Wojciech Tyczynski e750454c31 Fix allow for non-ready nodes in e2e framework 2016-09-08 14:22:08 +02:00
Jan Safranek 824f952a8f Remove long sleep in provisioning e2e tests.
PV controller sync is now 15 seconds, i.e. the controller re-tries to
delete a PV four times in a minute until it succeeds.
2016-09-08 14:20:43 +02:00
Jeff Lowdermilk 920f6a60ea Revert "tag scheduledjob e2e as [Feature:ScheduledJob]" 2016-09-07 20:04:16 -07:00
Matt Liggett 108a15db38 Add eviction e2e tests.
Also refactor the test a bit.
2016-09-07 17:38:38 -07:00
Kubernetes Submit Queue ddcbdcb8c8 Merge pull request #31535 from aveshagarwal/master-e2e-downward-api-issues
Automatic merge from submit-queue

Fix downward api tests to output node allocatable not node capacity

@kubernetes/rh-cluster-infra @derekwaynecarr
2016-09-07 16:25:19 -07:00
Jeff Lowdermilk 111ac4579e tag scheduledjob e2e as [Feature:ScheduledJob]
[Feature:...] tag is recognized by most e2e suites and will prevent
test from being run in suites where it should not. This pattern is
used by other alpha feature tests.
2016-09-07 14:46:37 -07:00
Kubernetes Submit Queue c224efa86b Merge pull request #32017 from mikedanese/readd-test
Automatic merge from submit-queue

renable hazelcast example test
2016-09-07 13:31:11 -07:00
Kubernetes Submit Queue d9ea088765 Merge pull request #32196 from piosz/rescheduler-e2e-gke
Automatic merge from submit-queue

Enabled Rescheduler e2e for gke
2016-09-07 12:49:51 -07:00
bprashanth 6b5d7e6d93 Networking test rewrite 2016-09-07 11:36:48 -07:00
Kubernetes Submit Queue 4d2a4d883b Merge pull request #32188 from mfanjie/federated-ingress
Automatic merge from submit-queue

federated ingress e2e - retry reads properly

@quinton-hoole I made this rookie mistake when I wrote the code and missed your comment in last PR.

- Corrected the reference of constant test/e2e/federated-ingress.go
- Move federation ingress query call to wait. PollImmediate()
- set private method to non-capital
2016-09-07 10:54:02 -07:00
Mike Danese e67dae5130 Revert "Merge pull request #31930 from Kashomon/hazelcast"
This reverts commit 26a0da8fee, reversing
changes made to c9fda51d77.
2016-09-07 10:22:30 -07:00
Kubernetes Submit Queue a82c716e9d Merge pull request #32143 from jfrazelle/fix-upgrade
Automatic merge from submit-queue

test/e2e: fix upgrade test to not run describe cross version

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->

**What this PR does / why we need it**:
Better fix for #31642 replaces #31987

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
NONE
```
2016-09-07 08:49:46 -07:00
deads2k 558c7c8f80 re-enable dynamic provisioning test on gke 2016-09-07 10:43:19 -04:00
deads2k ec284849e1 skip dynamic provisision test on gke until gke enables it 2016-09-07 09:09:27 -04:00
Piotr Szczesniak 6653610109 Enabled Rescheduler e2e for gke 2016-09-07 14:17:16 +02:00
mfanjie d3b00dc0b1 fix the left comments for federated ingress e2e 2016-09-07 16:41:55 +08:00
Kubernetes Submit Queue dc529a03b1 Merge pull request #32118 from gmarek/empty
Automatic merge from submit-queue

Add an empty test that does nothing

Useful for checking if cluster were set up correctly.
2016-09-07 01:19:02 -07:00
Kubernetes Submit Queue 93f7cbdc06 Merge pull request #32105 from madhusudancs/fed-ing-e2e-ns-fix
Automatic merge from submit-queue

Use federated namespace instead of the bootstrap cluster's namespace in Ingress e2e tests.

This should fix #31825.

cc @kubernetes/sig-cluster-federation @quinton-hoole
2016-09-07 00:40:10 -07:00
Kubernetes Submit Queue 54db8fa2e3 Merge pull request #31886 from deads2k/move-storage-class
Automatic merge from submit-queue

Move StorageClass to a storage group

We discussed the pros and cons in sig-api-machinery yesterday.  Choosing a particular group name means that clients (including our internal code) require less work and re-swizzling to handle promotions between versions.  Even if you choose a group you end up not liking, the amount of work remains the same as the incubator work case: you move the affected kind, resource, and storage.

This moves the `StorageClass` type to the `storage.k8s.io` group (named for consistency with authentication, authorization, rbac, and imagepolicy).  There are two commits, one for manaul changes and one for generated code.
2016-09-06 23:22:02 -07:00
Kubernetes Submit Queue 58af607f56 Merge pull request #31833 from lavalamp/fixmsg
Automatic merge from submit-queue

emit more info on failure

help debug #31810
2016-09-06 21:26:08 -07:00
chrislovecnm 07f751956d - updates to docker
- updating java 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

fixing headers and adding exception for run.sh

adding documentation, thank god for reflog

Did not mean to commit that as the README ... fixing

fixing problems in README

fixing more problems in README

more README tweaks

munge updates

updating examples_test for PetSet in Cassandra examples

updating petset to no use better security context
2016-09-06 19:57:37 -06:00
bprashanth 9fffa09844 Replace gcloud shelling out with cloudprovider calls. 2016-09-06 17:58:59 -07:00
bprashanth 371a3bed32 Move nginx ingress e2e to [Slow] 2016-09-06 17:40:30 -07:00
Ryan Hitchman 4c7ef6561e Revert "Add e2e tests for eviction subresource." 2016-09-06 16:21:50 -07:00
Kubernetes Submit Queue 3da5d781fc Merge pull request #31722 from mml/evict.test
Automatic merge from submit-queue

Add e2e tests for eviction subresource.

This branch includes changes pending in both #31638 and #31721.  I will rebase
once those merge.
2016-09-06 14:25:07 -07:00
kshafiee ff2326a8aa e2e tests for Federated Secrets 2016-09-06 20:52:40 +00:00
Matt Liggett c377011138 Add eviction e2e tests.
Also refactor the test a bit.
2016-09-06 11:58:22 -07:00
Jess Frazelle 6f045ff415
test/e2e: up the timeout on AllNodesReady
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-09-06 11:50:33 -07:00
Jess Frazelle 0a384e32ed
test/e2e: fix upgrade test to not run describe cross version
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-09-06 11:40:15 -07:00
Janet Kuo 1ece902d9f Fix the race check after an overlapping deployment is deleted 2016-09-06 10:30:05 -07:00
Huamin Chen e7abb004b5 fix #29225: wait slow during image pull
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-09-06 12:33:14 -04:00
deads2k cd5b6cc491 move StorageClass to its own group 2016-09-06 08:41:17 -04:00
Maciej Szulik 393d551332 Speed up job's e2e when waiting for failure
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.
2016-09-06 14:14:18 +02:00
Kubernetes Submit Queue 008fc22d31 Merge pull request #32108 from wojtek-t/allow_for_not_ready_nodes
Automatic merge from submit-queue

Allow for not-ready nodes in e2e test

Ref #31215
2016-09-06 04:41:16 -07:00
gmarek 464ba22151 Add an empty test that does nothing 2016-09-06 13:31:31 +02:00
Wojciech Tyczynski 4b29d006b0 Allow for not-ready nodes in e2e test 2016-09-06 12:14:45 +02:00
Wojciech Tyczynski 8f0006e8f8 Increase timeout for pods GC in tests 2016-09-06 12:02:54 +02:00
Madhusudan.C.S b789e22618 Use federated namespace instead of the bootstrap cluster's namespace in Ingress e2e tests. 2016-09-06 01:05:09 -07:00
Kubernetes Submit Queue 02dd178039 Merge pull request #30739 from MrHohn/e2e-sourceip
Automatic merge from submit-queue

Add e2e test for Source IP preservation (pod to service cluster IP)

Working on #27134.

This PR added the e2e test for source ip preservation (pod to service cluster IP) in service.go. Test scenario described as below:
- Pick two different nodes in cluster.
- Create a clusterIP type service.
- Create an echo server, which echoes back client IP, to be part of the service.
- Create a client on another node. Hit the server through service cluster IP.
- Verify the source IP.

@girishkalele @freehan
2016-09-05 12:23:25 -07:00
Kubernetes Submit Queue 8f54ab1766 Merge pull request #31451 from jfrazelle/27532-fix-kubectl-on-delete-flake
Automatic merge from submit-queue

test/e2e: fix flake for on delete on namespace

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->

**What this PR does / why we need it**:

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
NONE
```

Fixes #27532
2016-09-05 11:47:09 -07:00
Kubernetes Submit Queue 6d812b66aa Merge pull request #31972 from jszczepkowski/hpa-test-oom
Automatic merge from submit-queue

Bumped memory limit for resource consumer. Fixes #31591.

Bumped memory limit for resource consumer from 100 MB to 200 MB, increased request sizes so that the number of consumers will be smaller. Fixes #31591.
2016-09-05 10:33:22 -07:00
gmarek a82e54262d Add a log to help debug #31981 2016-09-05 15:05:49 +02:00
Wojciech Tyczynski 8c1b80c6d5 Fix density test 2016-09-05 13:53:43 +02:00
Kubernetes Submit Queue 921ab5070f Merge pull request #32062 from gmarek/gc_timeout
Automatic merge from submit-queue

Increase GC timeout for RCs bigger than 40k

cc @caesarxuchao
2016-09-05 03:45:30 -07:00
gmarek d990720c12 Increase GC timeout for RCs bigger than 40k 2016-09-05 12:08:04 +02:00
Kubernetes Submit Queue 2352464853 Merge pull request #32063 from gmarek/load
Automatic merge from submit-queue

Add few more logs to the Load test

Useful to debug enormous-cluster failures.
2016-09-05 02:22:56 -07:00
gmarek 41e8f10d78 Add few more logs to the Load test 2016-09-05 10:34:30 +02:00
gmarek 4051a2f8ea Increase the threshold for apiserver CPU for 500 node kubemark 2016-09-05 09:48:25 +02:00
guangxuli 294558be84 close the open file 2016-09-04 21:17:01 +08:00
Jeff Lowdermilk cb487307dc Revert "Check server version when running scheduled job e2e tests" 2016-09-03 20:05:45 -07:00
Kubernetes Submit Queue bbc6f45e03 Merge pull request #31957 from soltysh/sj_e2e_gke
Automatic merge from submit-queue

Check server version when running scheduled job e2e tests

@janetkuo this is the promised followup to #30575 which is checking minimal server version when running ScheduledJob e2e's.
2016-09-03 09:11:10 -07:00
Kubernetes Submit Queue 3d80709dc5 Merge pull request #31904 from jianhuiz/federation-replicaset-controller-e2e
Automatic merge from submit-queue

update e2e test for federation replicaset controlelr

e2e test to verify replicases synced to underlying clusters.

@quinton-hoole @nikhiljindal @deepak-vij @kshafiee @mwielgus
2016-09-03 00:08:10 -07:00
Kubernetes Submit Queue 4414882543 Merge pull request #31895 from ymqytw/better_error_message
Automatic merge from submit-queue

Return detailed error message for better debugging.

Try to provide more details error message for debugging when this flake #31561 happens again.
@pwittrock
2016-09-02 21:26:59 -07:00
Kubernetes Submit Queue c4a2baa29a Merge pull request #31532 from wongma7/pv-gid-e2e-on
Automatic merge from submit-queue

Bump nfs server image tag in pv e2e

Image modified in https://github.com/kubernetes/kubernetes/pull/30084 has been pushed, so we can bump this back up to enable the part where pod writes to server with restrictive permissions
2016-09-02 20:47:41 -07:00
Kubernetes Submit Queue 4968f1006e Merge pull request #32015 from smarterclayton/add_more_debugging
Automatic merge from submit-queue

Print out some extra details from the namespace deletion error

Adds debugging for #32009.  Only adds test code.
2016-09-02 20:09:54 -07:00
Kubernetes Submit Queue ac7fbf502a Merge pull request #31925 from nikhiljindal/freshDebugNs
Automatic merge from submit-queue

Adding namespaces/finalizer subresource to federation apiserver

Fixes https://github.com/kubernetes/kubernetes/issues/31077

cc @kubernetes/sig-cluster-federation @mwielgus 


Verified manually that I can delete federation namespaces now.
Will update federation-namespace e2e test to verify that namespace is deleted fine
2016-09-02 19:30:25 -07:00
Random-Liu 27779425e3 Use the right waiting time for eventually. 2016-09-02 16:01:53 -07:00
Clayton Coleman e3b0c35ca2 Print out some extra details from the namespace deletion error 2016-09-02 19:00:54 -04:00
nikhiljindal a51d79110c Update the namespace test to verify that namespace was deleted as expected 2016-09-02 15:30:33 -07:00
Kubernetes Submit Queue c337778803 Merge pull request #31356 from jfrazelle/29227-fix-e2e-http-request-flake
Automatic merge from submit-queue

test/e2e: fix flake in kubelet expose should create services for rc

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->

**What this PR does / why we need it**:

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
NONE
```

Add a loop to retry the request to account for the TLS Timeout and API
credential error responses outlined by the flakes in #29227.

Fixes #29227
2016-09-02 13:55:52 -07:00
jianhuiz a2e6542e2a update e2e test for federation replicaset controlelr 2016-09-02 13:18:46 -07:00
Kubernetes Submit Queue c8525ec99a Merge pull request #31642 from jfrazelle/fix-upgrade-e2e-gke-1.3-1.4-kubectl-skew
Automatic merge from submit-queue

fixes upgrade tests for kubectl skew from 1.3 to master

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->

**What this PR does / why we need it**:

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
```

This PR modified the output from "QoS Tier" to "QoS Class" which broke the kubectl skew upgrade test from 1.3 to 1.4 https://github.com/kubernetes/kubernetes/pull/27749

this fixes that
2016-09-02 11:19:14 -07:00
Jerzy Szczepkowski e59107f458 Bumped memory limit for resource consumer. Fixes #31591.
Bumped memory limit for resource consumer from 100 MB to 200 MB. Fixes #31591.
2016-09-02 15:29:00 +02:00
Avesh Agarwal 4ba39b4722 Update mounttest container image version to 0.7 everywhere. 2016-09-02 09:03:11 -04:00
Maciej Szulik a783efa324 Check server version when running scheduled job e2e tests 2016-09-02 11:02:32 +02:00
Kubernetes Submit Queue 88c7e25f72 Merge pull request #31923 from bprashanth/logging
Automatic merge from submit-queue

Adding logging and fix test race

Fixes https://github.com/kubernetes/kubernetes/issues/31552, adds clarity for https://github.com/kubernetes/kubernetes/issues/29449

Janet for the job e2e and girish for services. P1 for flake.
2016-09-01 19:50:58 -07:00
Kubernetes Submit Queue 26a0da8fee Merge pull request #31930 from Kashomon/hazelcast
Automatic merge from submit-queue

Skip hazelcast E2E test

**What this PR does / why we need it**:

Skip hazelcast e2e test due to flakiness, which in turn is (most likely) due to a race condition upstream. See https://github.com/pires/hazelcast-kubernetes-bootstrapper/issues/9 for comments.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

https://github.com/kubernetes/kubernetes/issues/30672

**Special notes for your reviewer**:

This is temporary pending upstream changes.

**Release note**:
NONE
2016-09-01 19:10:41 -07:00
ymqytw e948a69653 Return detailed error message for better debugging. It is for BeforeSuite: Error waiting for all pods to be running and ready 2016-09-01 17:55:48 -07:00
Josh Hoak 6864cbb526 Skip hazelcast. 2016-09-01 16:25:33 -07:00
bprashanth 9481354d77 Fix race in scheduledjob e2e 2016-09-01 14:50:06 -07:00
bprashanth 5dac1122b4 Logging for service restart e2e clarity 2016-09-01 14:49:52 -07:00
Dawn Chen 96f091b4d7 Increase docker's resource limit 2016-09-01 11:03:32 -07:00
Jess Frazelle 7ca6673e01
fixes upgrade tests for kubectl skew from 1.3 to master
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-09-01 10:51:45 -07:00
gmarek 02985c9da2 Create a file from data stored in gobindata to fix kubectl-based examples 2016-09-01 16:40:32 +02:00
Wojciech Tyczynski 2f41f2d794 Increase QPS limit in load test client 2016-09-01 11:46:37 +02:00
Kubernetes Submit Queue 00d8322571 Merge pull request #31829 from timstclair/flake
Automatic merge from submit-queue

Add retries to service environment variable test

Fixes (hopefully): https://github.com/kubernetes/kubernetes/issues/30548#issuecomment-243907466

/cc @euank @dchen1107
2016-08-31 19:11:06 -07:00
Kubernetes Submit Queue b03de0abe7 Merge pull request #31758 from vishh/issue-30567
Automatic merge from submit-queue

Make pods e2e retry getting logs from web-sockets

Hopefully fixes #30567
2016-08-31 18:32:47 -07:00
Tim St. Clair f9a2c07c20
Add retries to service environment variable test 2016-08-31 16:46:03 -07:00
MrHohn f20effb5e1 Add e2e test for Source IP preservation (pod to service cluster IP) 2016-08-31 16:28:24 -07:00
Daniel Smith 24a0a5113c emit more info on failure 2016-08-31 16:07:07 -07:00
Michael Taufen a40b2cbe10 feature-gates flag plumbing for node e2e tests
This gives the node e2e test binary a --feature-gates flag that populates a
FeatureGates field on the test context. The value of this field is forwarded
to the kubelet's --feature-gates flag and is also used to populate the global
DefaultFeatureGate object so that statically-linked components see the same
feature gate settings as provided via the flag.

This means that you can set feature gates via the TEST_ARGS environment
variable when running node e2e tests. For example:

TEST_ARGS='--feature-gates=DynamicKubeletConfig=true'
2016-08-31 13:52:08 -07:00
Kara Alexandra 9e52d1cfd0 Add test for --quiet flag for kubectl run
Signed-off-by: Kara Alexandra <kalexandra@us.ibm.com>
2016-08-31 13:48:42 -07:00
derekwaynecarr 367cc42541 E2E framework ignores whitelisted resources when verifying namespace deletion 2016-08-31 13:41:14 -04:00
derekwaynecarr 83cc808ffb Fix duplicate namespace deletion errors, improve namespace deletion error output 2016-08-31 13:32:22 -04:00
Kubernetes Submit Queue 39fbfd00ea Merge pull request #31787 from gmarek/scheduledCondition
Automatic merge from submit-queue

Make a scheduler predicates test resiliant to race for scheduledCondi…

Fix #31341

@pwittrock - this fixes a P1 flake.

FYI @mwielgus - I don't think that the race that caused this flake can impact cluster autoscaling, but you probably should know about it.

cc @wojtek-t
2016-08-31 09:30:38 -07:00
gmarek 94c9997daf Make a scheduler predicates test resiliant to race for scheduledCondition 2016-08-31 15:57:38 +02:00
gmarek f8dbdc1695 AllNodesReady waits for all system pods to be running 2016-08-31 15:08:01 +02:00
Vishnu kannan 8d74371537 make pods e2e retry getting logs from web-sockets
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-08-30 17:11:48 -07:00
Kubernetes Submit Queue 1c607b391a Merge pull request #31721 from mml/disrupt.e2e.versioned
Automatic merge from submit-queue

Rewrite disruption e2e test to use versioned client.

This currently includes the changes from #31638.  I will rebase once that is merged.
2016-08-30 15:35:15 -07:00
Kubernetes Submit Queue 9f4fb68b37 Merge pull request #31658 from spxtr/slow-tests
Automatic merge from submit-queue

Move several tests to the slow suite.

https://k8s-testgrid.appspot.com/google-gce#gce&width=5&graph-metrics=test-duration-minutes

ref https://github.com/kubernetes/contrib/issues/1522
2016-08-30 12:56:18 -07:00
Matt Liggett 44b2c862ef Rewrite disruption e2e test to use versioned client. 2016-08-30 12:34:45 -07:00
Kubernetes Submit Queue 0f8869d308 Merge pull request #31516 from sttts/sttts-e2e-CheckConnectivityToHost-logs
Automatic merge from submit-queue

e2e: log wget output on CheckConnectivityToHost error

Log output might help to diagnose e2e flakes, whether they are caused by dns issues or connection timeouts.

Might help with flake https://github.com/kubernetes/kubernetes/issues/28188.
2016-08-30 06:27:28 -07:00
Kubernetes Submit Queue 177a6840f8 Merge pull request #31519 from piosz/influxdb
Automatic merge from submit-queue

Update influxdb to 0.12

fix #27630 

```release-note
Update influxdb to 0.12
```
2016-08-30 05:03:47 -07:00
Piotr Szczesniak 2c19b189c7 Fixed monitoring e2e test 2016-08-30 12:23:40 +02:00
Kubernetes Submit Queue 8a44cb5c7b Merge pull request #31683 from gmarek/kubemark-5
Automatic merge from submit-queue

Tune kubemark-5 resource constraints

Ref. #31105
2016-08-30 01:35:38 -07:00
gmarek 6ab61d7a97 Tune kubemark-5 resource constraints 2016-08-30 09:34:47 +02:00
Kubernetes Submit Queue 8c11067540 Merge pull request #29773 from mfanjie/ingress-controller
Automatic merge from submit-queue

Add e2e tests for Federated Ingress

This is e2e code for federation ingress controller.
Based util functions, add federation ingress e2e cases(reuse current k8s ones) and add logic to validate the result.
2016-08-29 23:22:25 -07:00
Kubernetes Submit Queue 788644055f Merge pull request #31668 from girishkalele/esipp-e2e-typo
Automatic merge from submit-queue

Fix feature name for ExternalTrafficLocalOnly alpha feature e2e

https://github.com/kubernetes/test-infra/pull/467 is the test-infra side PR
2016-08-29 23:22:17 -07:00
Kubernetes Submit Queue d1154ce95f Merge pull request #31632 from vishh/issue-30567
Automatic merge from submit-queue

Fix pod get logs test

Helps debug #30567.
2016-08-29 23:22:07 -07:00
Girish Kalele e5971e27f1 Fix feature name for ExternalTrafficLocalOnly alpha feature e2e 2016-08-29 19:39:18 -07:00
Joe Finney 8c22e34306 Move several tests to the slow suite. 2016-08-29 17:42:58 -07:00
Kubernetes Submit Queue 1e125c2302 Merge pull request #31138 from girishkalele/esipp-e2e
Automatic merge from submit-queue

E2E tests for the Source IP Preservation for LoadBalancers

Breaking out E2E changes from the main PR - these tests require the Alpha feature gate turned on for this feature otherwise they will consistently fail.
2016-08-29 16:24:59 -07:00
Vishnu kannan 8e29b98128 fix pod get logs over websocket e2e test
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-08-29 14:37:01 -07:00
Jess Frazelle c2cf99c165
test/e2e: fix flake in kubelet expose should create services for rc
Add a loop to retry the request to account for the TLS Timeout and API
credential error responses outlined by the flakes in #29227.

Fixes #29227

Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-08-29 13:45:09 -07:00
mfanjie 18ebfb64c8 address comments 2016-08-29 10:49:09 +08:00
Kubernetes Submit Queue 6dd8b975cb Merge pull request #31578 from kevin-wangzefeng/add-retries-for-taints-e2e
Automatic merge from submit-queue

add retries for add/update/remove taints on node in taints e2e

fixes taint update conflict in taints e2e by adding retries for add/update/remove taints on node.
ref #27655 and #31066
2016-08-28 15:32:37 -07:00
Kubernetes Submit Queue 058bfbfd52 Merge pull request #31536 from bprashanth/nginxe2e
Automatic merge from submit-queue

Get network name via e2e environment.

This should work, right? I plan to pipe it through into the TestContext soon, just not today, and I'd like some test runtime over the weekend. Open to suggestions.
2016-08-28 13:08:44 -07:00
Kevin 33b1075e0d add retries for add/update/remove taints on node in taints e2e 2016-08-27 14:56:38 +08:00