Commit Graph

3855 Commits (988359d0fe03d8a65fb21a57740a11206768ba0b)

Author SHA1 Message Date
saadali b94442f470 Mark "RW PD, remove it, then schedule" test flaky 2016-06-26 15:33:32 -07:00
k8s-merge-robot d64333419c Merge pull request #27749 from dubstack/dubstack-refactor-qos
Automatic merge from submit-queue

[Refactor] QOS to have QOS Class type for QoS classes

This PR adds a QOSClass type and initializes QOSclass constants for the three QoS classes.
It would be good to use this in all future QOS related features. 
This would be good to have for the (Pod level cgroups isolation proposal)[https://github.com/kubernetes/kubernetes/pull/26751] that i am working on aswell.
@vishh PTAL
 
Signed-off-by: Buddha Prakash <buddhap@google.com>
2016-06-26 06:23:23 -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 601173c2fe Merge pull request #26916 from caesarxuchao/podgc
Automatic merge from submit-queue

rename the gc for terminated pods to "podgc"

to avoid name collision with the [generic garbage collector](https://github.com/kubernetes/kubernetes/blob/master/pkg/controller/garbagecollector/garbagecollector.go)
2016-06-25 12:24:07 -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
k8s-merge-robot 2bc2cf2e5e Merge pull request #28043 from mml/fed-grace-period
Automatic merge from submit-queue

Set grace period to 0 when deleting namespaces after the test.

Otherwise, we try to run the next test and the pods are still there.
2016-06-25 01:16:53 -07:00
k8s-merge-robot fc1937f68f Merge pull request #20273 from kargakis/allow-scaling-paused-deployments
Automatic merge from submit-queue

Proportionally scale paused and rolling deployments

Enable paused and rolling deployments to be proportionally scaled.
Also have cleanup policy work for paused deployments.

Fixes #20853
Fixes #20966
Fixes #20754

@bgrant0607 @janetkuo @ironcladlou @nikhiljindal

<!-- Reviewable:start -->
---
This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/20273)
<!-- Reviewable:end -->
2016-06-24 19:41:51 -07:00
k8s-merge-robot 33165328b1 Merge pull request #27907 from vishh/update-node-e2e-project
Automatic merge from submit-queue

Update node e2e test images project to the new centralized project
2016-06-24 16:46:04 -07:00
Buddha Prakash c3551ae6cd Refactor qos package
Signed-off-by: Buddha Prakash <buddhap@google.com>
2016-06-24 15:36:04 -07:00
Daniel Smith 886f5c7a8e disable flaky PD test 2016-06-24 14:23:52 -07:00
k8s-merge-robot 46e7c7160a Merge pull request #26467 from euank/delete-old-e2e-tests
Automatic merge from submit-queue

e2e: Delete old code

These tests were added commented out over a year ago. Now they don't compile. The port forward test has a whole file devoted to replacing it (`e2e/portforward.go`) and while the exec test doesn't have a perfect replacement, it has several tests that cover for it (exec over a websocket, an e2e_node test, all the kubectl execs). If we want that test, it would be better to write it fresh anyways.

cc @ncdc
2016-06-24 13:56:35 -07:00
Matt Liggett c16416d6b4 fg 2016-06-24 13:54:05 -07:00
Yu-Ju Hong a031f7aea4 node e2e: stop testing trusty+docker 1.8 2016-06-24 10:45:45 -07:00
Łukasz Oleś 8ec15ad937 Skip test if ssh is not supported by provider
On local vagrant cluster this test is failing because there is no ssh support.
2016-06-24 16:37:39 +02:00
Wojciech Tyczynski 77679b0437 Workardoun KubeProxy failures in test framework 2016-06-24 15:49:12 +02:00
k8s-merge-robot 35c9e9f74e Merge pull request #28011 from mwielgus/node-pool-enable
Automatic merge from submit-queue

Use gcloud for default node pool and api for other in cluster autoscaler e2e test

cc: @piosz @jszczepkowski @fgrzadkowski 

Currently there is a problem with gcloud when non-default pool is used for cluster update. So we temporarily switch to the old ca-enable method for non-default pools until it is fixed.
2016-06-24 03:56:37 -07:00
Marcin Wielgus 6e449190ec Use gcloud for default node pool and api for other in cluster autoscaler e2e testx 2016-06-24 11:55:54 +02:00
k8s-merge-robot bc1c1c1360 Merge pull request #27972 from mml/fed-backend2
Automatic merge from submit-queue

A few changes to federated-service e2e test.

Most of the changes that get the test to pass have been made already or
elsewhere.  Here we restructure a bit fixing a nesting problem, extend the
timeouts, and start creating distinct backend pods that I'll delete in the
non-local test (coming shortly).

Also some extra debugging info in the DNS code.  I made some upstream
changes to skydns in https://github.com/skynetservices/skydns/pull/283

For #27739

Includes a commit from @madhusudancs that I will remove once his merges.
2016-06-23 22:48:08 -07:00
k8s-merge-robot 038c120423 Merge pull request #27963 from yujuhong/less_verbal
Automatic merge from submit-queue

e2e_node: lower the log verbosity level

The current level is so high that the logs are almost unreadable.

This fixes #27593
2016-06-23 19:23:37 -07:00
k8s-merge-robot 56bfc5ba19 Merge pull request #27913 from vishh/update-core-node-e2e
Automatic merge from submit-queue

Updating CoreOS image to CoreOS stable 1010.5.0 in Node e2e.

For #27383
2016-06-23 17:41:24 -07:00
k8s-merge-robot 07c46fa194 Merge pull request #27908 from janetkuo/wait-frontend-pods-running
Automatic merge from submit-queue

Wait for frontend pods Running before verifying its service in guestbook e2e test

Fixes #27334


[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-23 17:41:20 -07:00
Matt Liggett e2021ef241 A few changes to federated-service e2e test.
Most of the changes that get the test to pass have been made already or
elsewhere.  Here we restructure a bit fixing a nesting problem, extend
the timeouts, and start creating distinct backend pods that I'll delete
in the non-local test (coming shortly).

Also some extra debugging info in the DNS code.  I made some upstream
changes to skydns in https://github.com/skynetservices/skydns/pull/283
2016-06-23 17:40:54 -07:00
k8s-merge-robot 18ea37a456 Merge pull request #27910 from madhusudancs/fed-create-svc-ns
Automatic merge from submit-queue

 Create the e2e test namespace in each of the individual clusters in the federation.

Fixes #27909 

cc @kubernetes/sig-cluster-federation @matchstick 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-23 14:47:15 -07:00
Łukasz Oleś 58062a2c49 Check provider first
When testing on local cluster for example using vagrant the Uberntes tests should be skipped.
2016-06-23 22:27:45 +02:00
Madhusudan.C.S 6add478b26 Create the e2e test namespace in each of the individual clusters in the federation. 2016-06-23 12:44:14 -07:00
Yu-Ju Hong a6b91a41fa e2e_node: lower the log verbosity level
The current level is so high that the logs are almost unreadable.
2016-06-23 11:39:18 -07:00
k8s-merge-robot 3e96f02d75 Merge pull request #27946 from mwielgus/inc-gke-ca-update
Automatic merge from submit-queue

Increase gke update timeout in cluster autoscaler e2e tests

cc: @piosz @fgrzadkowski @jszczepkowski
2016-06-23 09:50:58 -07:00
k8s-merge-robot d7a8668606 Merge pull request #27399 from jingxu97/pdtimeout
Automatic merge from submit-queue

Increase timeout for testing PD create/delete.


fix #26795 for releasev1.1
2016-06-23 09:27:25 -07:00
Marcin Wielgus 7f3cf57f99 Increase gke update timeout in cluster autoscaler e2e tests 2016-06-23 17:59:03 +02:00
Wojciech Tyczynski 1508bb9050 Merge pull request #27941 from gmarek/podReadyTimeout
Increase PodReadyBeforeTimeout
2016-06-23 15:37:55 +02:00
gmarek 0d96eeea63 Increase PodReadyBeforeTimeout by 50% 2016-06-23 14:59:04 +02:00
Marcin Wielgus 0000f1859b Enable cluster autoscaling in e2e tests using gcloud command 2016-06-23 13:26:00 +02:00
Sylwester Brzeczkowski 5561056d74 Parallel waiting for pods in e2e 2016-06-23 09:23:32 +02:00
Vishnu kannan 0fc392f40f Updating CoreOS image to CoreOS stable 1010.5.0 in Node e2e.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-06-22 17:38:29 -07:00
Janet Kuo 7fd9a60617 Wait for frontend pods Running before verifying its service in guestbook e2e test 2016-06-22 16:43:39 -07:00
Vishnu kannan 0e56237057 Update node e2e test images project to the new centralized project - `kubernetes-node-e2e-images`
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-06-22 16:17:39 -07:00
k8s-merge-robot 036ef940b5 Merge pull request #27795 from aveshagarwal/master-node-e2e-stats-summary-issue
Automatic merge from submit-queue

Fixes a node e2e test error

Fixes following node e2e test error:
[k8s.io] Kubelet metrics api when querying /stats/summary [It] it should report resource usage through the stats api

And the logs show following error:
```
Jun 21 15:57:13 localhost journal: tee: /test-empty-dir-mnt: Is a directory
```
And the test fails with:
```
------------------------------
• Failure [310.665 seconds]
[k8s.io] Kubelet
/root/upstream-code/gocode/src/k8s.io/kubernetes/test/e2e/framework/framework.go:685
  metrics api
  /root/upstream-code/gocode/src/k8s.io/kubernetes/test/e2e_node/kubelet_test.go:161
    when querying /stats/summary
    /root/upstream-code/gocode/src/k8s.io/kubernetes/test/e2e_node/kubelet_test.go:160
      it should report resource usage through the stats api [It]
      /root/upstream-code/gocode/src/k8s.io/kubernetes/test/e2e_node/kubelet_test.go:159

      Timed out after 300.000s.
      Expected
          <*errors.errorString | 0xc82026b6f0>: {
              s: "expected \"volume used\" to not be zero",
          }
      to be nil

      /root/upstream-code/gocode/src/k8s.io/kubernetes/test/e2e_node/kubelet_test.go:158
------------------------------
```

@kubernetes/rh-cluster-infra
2016-06-22 13:08:49 -07:00
k8s-merge-robot 4e2433cfab Merge pull request #27776 from mikedanese/addon-limit
Automatic merge from submit-queue

increase addon check interval

Do static pods have a crash loop back off? If so, this test would be much faster if we restarted the kubelet to clear that.

Fixes #26770
2016-06-22 05:57:49 -07:00
k8s-merge-robot 41b5bbdd1c Merge pull request #27569 from wongma7/pvc-selector-expression
Automatic merge from submit-queue

Add integration test for binding PVs using label selectors

Adds an integration test for persistent volume claim 'MatchExpressions' label selector.
2016-06-22 02:06:22 -07:00
David Oppenheimer 57141a6676 Small fix to #27838 2016-06-22 00:20:36 -07:00
David Oppenheimer 75a8e6c2d7 Fix removeLabelOffNode() in SchedulerPredicates e2e test. 2016-06-21 22:09:41 -07:00
k8s-merge-robot 29b494fe02 Merge pull request #27577 from janetkuo/e2e-example-broken-spark
Automatic merge from submit-queue

Fix 7 broken example e2e tests

Fixes #27325, Fixes #27727

7 broken example e2e tests:

- [x] Spark   
  * `namespace` is specified in example yaml files which conflict with e2e test namespaces, fixed by removing the namespace in yaml (the yaml files of [spark example](https://github.com/kubernetes/kubernetes/tree/master/examples/spark) doesn't need the namespace specified since it's specified in its context)  -- cc @k82 who added namespace to Spark example in #23807
  * wait for pods to exist before determining if it's running
- [x] Hazelcast
  * wait for pods to exist before determining if it's running
- [x] Redis
  * image `kubernetes/redis:v2` is not found, changed to `kubernetes/redis:v1` instead
  * wait for pods to exist before determining if it's running
- [x] Celery-RabbitMQ
  * remove 1 redundant call to `forEachPod`
  * wait for pods to exist before determining if it's running
- [x] Cassandra
  * fix `kubectl exec` on incorrect pod name 
  * fix getting endpoint ip addresses before creating pods 
  * wait for pods to exist before determining if it's running
- [x] Storm
  * wait for pods to exist before determining if it's running
- [x] RethinkDB
  * wait for pods to exist before determining if it's running

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-21 15:13:50 -07:00
k8s-merge-robot ab25c35732 Merge pull request #27780 from krousey/monitoring_log_flake
Automatic merge from submit-queue

Specify the heapster container when gathering logs
2016-06-21 13:07:55 -07:00
Avesh Agarwal 63d979af9c Fixes following node e2e test:
[k8s.io] Kubelet metrics api when querying /stats/summary [It] it should report resource usage through the stats api

And the logs show following error:
Jun 21 15:57:13 localhost journal: tee: /test-empty-dir-mnt: Is a directory
2016-06-21 15:55:49 -04:00
Mike Danese 57201fad36 increase addon check interval 2016-06-21 12:48:00 -07:00
Janet Kuo 14d9863665 Fix broken redis example e2e tests 2016-06-21 11:50:26 -07:00
Janet Kuo 8dee2b4293 Fix broken spark example e2e test 2016-06-21 11:50:26 -07:00
k8s-merge-robot 482a7bee2f Merge pull request #27426 from soltysh/scheduledjob_test_reapply
Automatic merge from submit-queue

Reapply ScheduledJob tests (2ab885a53a)

Re-applied the ScheduledJob tests (#25737) which were reverted due to an integration test error in #27184.
The problem was in `TestBatchGroupBackwardCompatibility` which is testing backwards compatibility for storing jobs (`extensions/v1beta1` vs `batch/v1`), which is not needed for `batch/v2alpha1`. I've added a skip to aforementioned test for that group. See `test/integration/master_test.go` for the actual fix.

@caesarxuchao @mikedanese ptal
@piosz @jszczepkowski @erictune fyi

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-21 10:31:54 -07:00
Kris 9eeec72ef2 Specify the heapster container when gathering logs
Fixes #27452
2016-06-21 10:17:30 -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
k8s-merge-robot 6cccb872a7 Merge pull request #27741 from zmerlynn/fix-gce-filters
Automatic merge from submit-queue

GCE provider: Limit Filter calls to regexps rather than insane blobs

Filters can't exceed 4k, and GET requests against the GCE API are also limited, so these break down in different ways at different cluster counts. Fix it by introducing an advisory `node-instance-prefix` configuration in the GCE provider that can hint the `EnsureLoadBalancer`/`UpdateLoadBalancer code` (and the firewall creation/update code). If it's not there, or wrong (a hostname that's registered violates it), just ignore it and grab the whole project.

Fixes #27731 
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-21 09:54:01 -07:00
Zach Loafman dd4dae4a57 GCE provider: Limit Filter calls to regexps rather than insane blobs
Filters can't exceed 4k, and GET requests against the GCE API are also
limited, so these break down in different ways at different cluster
counts. Fix it by introducing an advisory node-instance-prefix
configuration in the GCE provider that can hint the
EnsureLoadBalancer/UpdateLoadBalancer code (and the firewall
creation/update code). If it's not there, or wrong (a hostname that's
registered violates it), just ignore it and grab the whole project.
2016-06-21 08:34:48 -07:00
Maciej Szulik feb43c5e6d Reapply ScheduledJob tests (2ab885a53a) 2016-06-21 14:55:00 +02:00
Dr. Stefan Schimanski 1beb2b318c portforward e2e: extend log for flake hunting 2016-06-21 12:31:36 +02:00
k8s-merge-robot ee35555cb6 Merge pull request #27570 from Random-Liu/add-runtime-request-timeout-flag
Automatic merge from submit-queue

Add runtime-request-timeout kubelet flag.

XRef #23563.

Addresses https://github.com/kubernetes/kubernetes/issues/27388#issuecomment-226570083.

Add a new kubelet flag `runtime-request-timeout`, and set to 2 minutes by default.
Now the flag only affects dockertools, rkt may also want to set request timeout according to the flag. @yifan-gu 

This PR also removed the timeout for all long running operations to avoid issues like #27588 and #26122.

@yujuhong @rrati 
/cc @kubernetes/sig-node 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-21 01:26:54 -07:00
k8s-merge-robot 27c0d8cf7c Merge pull request #27535 from wojtek-t/move_integration_tests_2
Automatic merge from submit-queue

Migrate most of remaining tests from cmd/integration to test/integration to use framework

Ref #25940

Built on top of https://github.com/kubernetes/kubernetes/pull/27182 - only the last commit is unique
2016-06-21 00:45:06 -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
Wojciech Tyczynski fe14beb980 Move Patch, AtomicPut and MasterService tests to test/integration. 2016-06-20 20:50:25 +02:00
k8s-merge-robot b0816b19d3 Merge pull request #27717 from dims/fix-issue-27683
Automatic merge from submit-queue

Fix Celery-RabbitMQ flake

In the following PR: https://github.com/kubernetes/kubernetes/pull/27162

We used ("name": "rabbitmq" / "name": "celery" / "name": "flower") as
the label selector. This does not match the definitions in
https://github.com/kubernetes/kubernetes/blob/master/examples/celery-rabbitmq/

I've verified this by deploying the service per the README and
checking that "kubectl describe po -l component=rabbitmq" works
(and that "kubectl describe po -l name=rabbitmq" fails)

Fixes #27683
2016-06-20 11:48:33 -07:00
k8s-merge-robot a19728c3a1 Merge pull request #27182 from wojtek-t/move_integration_tests
Automatic merge from submit-queue

Migrate some integration tests from cmd/integration to test/integration to use framework

Ref #25940
2016-06-20 11:48:28 -07:00
Robert Deusser cd1450b3ec Fix spelling errors
More spelling fixes
2016-06-20 11:36:11 -04:00
gmarek 9bbcb5e3b8 Remove dependency on test/integration from kubemark 2016-06-20 16:20:51 +02:00
wongma7 d61594b842 Add integration test for binding PVs using label selectors 2016-06-20 10:15:29 -04:00
Davanum Srinivas df6f01892c
Fix Celery-RabbitMQ flake
In the following PR:
https://github.com/kubernetes/kubernetes/pull/27162

We used ("name": "rabbitmq" / "name": "celery" / "name": "flower") as
the label selector. This does not match the definitions in
https://github.com/kubernetes/kubernetes/blob/master/examples/celery-rabbitmq/

I've verified this by deploying the service per the README and
checking that "kubectl describe po -l component=rabbitmq" works
(and that "kubectl describe po -l name=rabbitmq" fails)

Fixes #27683
2016-06-20 08:29:57 -04:00
k8s-merge-robot 3b57f868d3 Merge pull request #27542 from piosz/heapster-version
Automatic merge from submit-queue

Bumped Heapster to v1.1.0

```release-note
Bumped Heapster to v1.1.0.
More details about the release https://github.com/kubernetes/heapster/releases/tag/v1.1.0
```

Version 1.1.0 doesn't differ from the previous one v1.1.0-beta2 significantly - just fixed few small issues during stabilization period.

cc @a-robinson @jszczepkowski @mwielgus 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-20 04:40:27 -07:00
k8s-merge-robot 6de1ba5dc4 Merge pull request #27034 from jsafrane/integration-parallel
Automatic merge from submit-queue

Add possibility to run integration tests in parallel

- add env. variable with etcd URL to intergration tests
- update documentation with example how to use it to find flakes
2016-06-20 03:25:30 -07:00
Michail Kargakis f3d2e3ff22 controller: proportionally scale paused and rolling deployments
Enable paused and rolling deployments to be proportionally scaled.
Also have cleanup policy work for paused deployments.
2016-06-20 12:13:35 +02:00
k8s-merge-robot d244a34747 Merge pull request #27458 from wongma7/pvc-selector
Automatic merge from submit-queue

Add integration test for binding PVs using label selectors

Adds an integration test for persistent volume claim label selector.
2016-06-20 02:46:17 -07:00
Jan Safranek a114df7d59 integration tests: add env. variable for etcd URL.
Many integration tests delete all keys in etcd as part of their cleanup.
To run these tests in parallel we must run several etcd daemons, each on
different port and pass etcd url to the test suite.
2016-06-20 10:40:49 +02:00
markturansky 16ec36c591 added toggle to disable dynamic provisioning 2016-06-20 01:15:23 -04:00
k8s-merge-robot bd9ac8d663 Merge pull request #23969 from Random-Liu/add-termination-message-test
Automatic merge from submit-queue

Node E2E: add termination message test

Based on #23658.

This PR:
1) Cleans up the `ConformanceContainer` a bit
2) Add termination message test

This test proves #23639, without #23658, the test could not pass.

@liangchenye @kubernetes/sig-node
2016-06-19 20:29:31 -07:00
k8s-merge-robot 6fbf99b11a Merge pull request #26753 from ericchiang/rbac-authorizer-tests
Automatic merge from submit-queue

add unit and integration tests for rbac authorizer

This PR adds lots of tests for the RBAC authorizer. 

The plan over the next couple days is to add a lot more test cases.

Updates #23396

cc @erictune
2016-06-19 19:19:08 -07: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 253e664344 Merge pull request #27133 from copejon/pv_e2e_testing_modifications
Automatic merge from submit-queue

Overhauled pv e2e test to reflect common lifecycle

cc @jeffvance
2016-06-18 19:10:25 -07:00
k8s-merge-robot 185ca0035c Merge pull request #27119 from jsafrane/integration-provisioning
Automatic merge from submit-queue

Add integration test for provisioning/deleting many PVs.

The test is configurable by KUBE_INTEGRATION_PV_OBJECTS for load tests, 100 objects are created by default.

@kubernetes/sig-storage
2016-06-18 18:34:10 -07:00
k8s-merge-robot 7ee4189cf6 Merge pull request #27036 from sttts/sttts-secure-seccomp-path
Automatic merge from submit-queue

Filter seccomp profile path from malicious .. and /

Without this patch with `localhost/<some-releative-path>` as seccomp profile one can load any file on the host, e.g. `localhost/../../../../dev/mem` which is not healthy for the kubelet.

/cc @jfrazelle 

Unit tests depend on https://github.com/kubernetes/kubernetes/pull/26710.
2016-06-18 15:58:07 -07:00
k8s-merge-robot 7ea1a25490 Merge pull request #26862 from fabioy/node_pool_test
Automatic merge from submit-queue

Add GKE node pool e2e test. Fix GKE local SSD test to only run under GKE.

Just adding a node pool e2e test for GKE runs. And minor fix to local SSD test to only run under GKE.

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-18 14:50:45 -07:00
k8s-merge-robot 77cf11f4d7 Merge pull request #27441 from derekwaynecarr/downward_api_node_defaults
Automatic merge from submit-queue

Revert revert of downward api node defaults

Reverts the revert of https://github.com/kubernetes/kubernetes/pull/27439

Fixes #27062

@dchen1107 - who at Google can help debug why this caused issues with GKE infrastructure but not GCE merge queue?

/cc @wojtek-t @piosz @fgrzadkowski @eparis @pmorie
2016-06-18 12:12:24 -07:00
k8s-merge-robot 14e05064c8 Merge pull request #26886 from kevin-wangzefeng/fix_scheduling_e2e_test_leak
Automatic merge from submit-queue

fix node.labels leak in scheduler predicates e2e

closes #26698 

cc @davidopp @wojtek-t @fejta @gmarek
2016-06-18 10:26:13 -07:00
k8s-merge-robot ec86c428c1 Merge pull request #27596 from saad-ali/removetestfromflaky
Automatic merge from submit-queue

Remove PD tests out of flaky

Closes https://github.com/kubernetes/kubernetes/issues/26127
2016-06-17 22:46:52 -07:00
k8s-merge-robot d1115dc184 Merge pull request #27636 from mml/fed-dns-followup
Automatic merge from submit-queue

Cleanups following #27587

- Add back the negative assertions, but mark them [Slow].
- Use the current DNS TTL of 180 sec as our timeout for all DNS tests.
- Assorted cleanups and refactoring.
2016-06-17 22:05:39 -07:00
Random-Liu 52ebd4ecf1 Add runtime-request-timeout kubelet flag. 2016-06-17 18:18:41 -07:00
nikhiljindal 60f0dce033 Fixing the AfterEach order 2016-06-17 17:14:17 -07:00
Random-Liu 19f5a90528 Add node e2e test for termination message path. 2016-06-17 13:42:41 -07:00
Quinton Hoole 4445dc2b59 Improve e2e tests for Cluster Federation. 2016-06-17 12:39:10 -07:00
Daniel Smith 25d8aec037 Merge pull request #27632 from bprashanth/ing_e2e_static_ip_leak
Don't leak static-ips in ingress e2es
2016-06-17 12:15:57 -07:00
Matt Liggett b0a4fdea4d tidy 2016-06-17 12:08:36 -07:00
Matt Liggett 7cf7717d4c Move the slow part of the test into a Slow block. 2016-06-17 12:08:36 -07:00
Matt Liggett dd7626bbf1 refactor and re-add exists 2016-06-17 12:08:36 -07:00
Matt Liggett 2b3e9d5a98 Add a "this should not work" comment. 2016-06-17 12:07:20 -07:00
Matt Liggett 011b2cde33 Use DNS TTL 2016-06-17 12:07:20 -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
derekwaynecarr 18a206ad56 Downward API defaults resource limits to node capacity/allocatable 2016-06-17 14:18:18 -04:00
Prashanth Balasubramanian dafe27617e Don't leak stati-ips in ingress e2es 2016-06-17 10:35:16 -07:00
Paul Morie f0ead64881 Fix typo in GC integration tests 2016-06-17 10:20:49 -04:00
k8s-merge-robot 7edb84c2eb Merge pull request #27613 from jszczepkowski/kac-tests-cleanup
Automatic merge from submit-queue

Fixed updating node labels in cluster autoscaler e2e test.

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

Fixed updating node labels in cluster autoscaler e2e test.
2016-06-17 06:23:33 -07:00
Jerzy Szczepkowski 5308f4a9ae Fixed updating node labels in cluster autoscaler e2e test.
Fixed updating node labels in cluster autoscaler e2e test.
2016-06-17 13:46:15 +02:00
Wojciech Tyczynski b519c72a84 Log namespace creation error 2016-06-17 13:18:02 +02:00
k8s-merge-robot ce3d7090a2 Merge pull request #26821 from bprashanth/lb_e2e
Automatic merge from submit-queue

Extend ingress e2e

Splits the test into a cross platform conformance list, and platform specific bits that exercise features through annotations. Also exercises the features in https://github.com/kubernetes/contrib/pull/1133. Assigning to Girish, simply because I assigned the other pr to Minhan.
2016-06-17 04:01:44 -07: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
saadali d8ad98b3bb Remove PD tests out of flaky 2016-06-16 20:14:28 -07:00
Matt Liggett 6ae801f5b8 Re-work the DNS part of the test for #26762
- Dropped the regex test and just test for nslookup exiting 0.
- Moved more setup into BeforeEach and used nested Context for non-local
  case.
- Poll inside the container using a bash loop.
- Aim for less console noise unless something goes wrong.
- Commented out the tests trying to verify that a DNS name is absent.
2016-06-16 18:13:06 -07:00
k8s-merge-robot d82f3bf305 Merge pull request #27561 from nikhiljindal/fixFedTest
Automatic merge from submit-queue

Adding a wait for federation apiserver to be ready in e2e tests

Ref #26762

@kubernetes/sig-cluster-federation @mml
2016-06-16 17:10:05 -07:00
k8s-merge-robot b41405ed22 Merge pull request #27480 from mml/fed-service-clusterip
Automatic merge from submit-queue

Clear ClusterIP in the local service before comparison.

For #26762
2016-06-16 17:09:56 -07:00
k8s-merge-robot 8a89ea6058 Merge pull request #27568 from lavalamp/faster
Automatic merge from submit-queue

Make unit tests faster
2016-06-16 16:11:05 -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 3c7f70543b Merge pull request #27364 from gmarek/schedulerPredicates
Automatic merge from submit-queue

Fix SchedulerPredictes resources test

Fix #27115 (the part that's not a dupe).

cc @fejta
2016-06-16 14:45:38 -07:00
Daniel Smith 8af08f90b5 remove unused prefix code, fix comment 2016-06-16 14:29:40 -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
k8s-merge-robot a448313f01 Merge pull request #27188 from rootfs/pd-fix-flakey
Automatic merge from submit-queue

in each pd test, create and delete the pod for every iteration to give new pod name for exec

fix #26141
based on chat with @ncdc

The following is a snapshot of the log. Each iteration now has a new Pod name
```text
[It] should schedule a pod w/two RW PDs both mounted to one container, write to PD, verify contents, delete pod, recreate pod, verify contents, and repeat in rapid succession [Slow] [Flaky]
  /srv/dev/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/pd.go:277
STEP: creating PD1
Jun 10 15:55:45.878: INFO: Successfully created a new PD: "rootfs-e2e-c8b82df9-2f23-11e6-a5a0-b8ca3a62792c".
STEP: creating PD2
Jun 10 15:55:49.794: INFO: Successfully created a new PD: "rootfs-e2e-cb135362-2f23-11e6-a5a0-b8ca3a62792c".
Jun 10 15:55:49.794: INFO: PD Read/Writer Iteration #0
STEP: submitting host0Pod to kubernetes
W0610 15:55:49.860308   17282 request.go:347] Field selector: v1 - pods - metadata.name - pd-test-cd68f34b-2f23-11e6-a5a0-b8ca3a62792c: need to check if this is versioned correctly.
STEP: writing a file in the container
Jun 10 15:56:09.792: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-cd68f34b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- /bin/sh -c echo '988876932586416926' > '/testpd1/tracker0''
Jun 10 15:56:12.003: INFO: Wrote value: "988876932586416926" to PD1 ("rootfs-e2e-c8b82df9-2f23-11e6-a5a0-b8ca3a62792c") from pod "pd-test-cd68f34b-2f23-11e6-a5a0-b8ca3a62792c" container "mycontainer"
STEP: writing a file in the container
Jun 10 15:56:12.003: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-cd68f34b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- /bin/sh -c echo '8414937992264649637' > '/testpd2/tracker0''
Jun 10 15:56:13.170: INFO: Wrote value: "8414937992264649637" to PD2 ("rootfs-e2e-cb135362-2f23-11e6-a5a0-b8ca3a62792c") from pod "pd-test-cd68f34b-2f23-11e6-a5a0-b8ca3a62792c" container "mycontainer"
STEP: reading a file in the container
Jun 10 15:56:13.170: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-cd68f34b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd1/tracker0'
Jun 10 15:56:14.325: INFO: Read file "/testpd1/tracker0" with content: 988876932586416926

STEP: reading a file in the container
Jun 10 15:56:14.325: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-cd68f34b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd2/tracker0'
Jun 10 15:56:15.590: INFO: Read file "/testpd2/tracker0" with content: 8414937992264649637

STEP: deleting host0Pod
Jun 10 15:56:15.841: INFO: PD Read/Writer Iteration #1
STEP: submitting host0Pod to kubernetes
W0610 15:56:15.905485   17282 request.go:347] Field selector: v1 - pods - metadata.name - pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c: need to check if this is versioned correctly.
STEP: reading a file in the container
Jun 10 15:56:16.832: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd1/tracker0'
Jun 10 15:56:18.132: INFO: Read file "/testpd1/tracker0" with content: 988876932586416926

STEP: reading a file in the container
Jun 10 15:56:18.132: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd2/tracker0'
Jun 10 15:56:19.354: INFO: Read file "/testpd2/tracker0" with content: 8414937992264649637

STEP: writing a file in the container
Jun 10 15:56:19.354: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- /bin/sh -c echo '7639503234625274799' > '/testpd1/tracker1''
Jun 10 15:56:20.526: INFO: Wrote value: "7639503234625274799" to PD1 ("rootfs-e2e-c8b82df9-2f23-11e6-a5a0-b8ca3a62792c") from pod "pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c" container "mycontainer"
STEP: writing a file in the container
Jun 10 15:56:20.526: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- /bin/sh -c echo '7400445987108171911' > '/testpd2/tracker1''
Jun 10 15:56:21.694: INFO: Wrote value: "7400445987108171911" to PD2 ("rootfs-e2e-cb135362-2f23-11e6-a5a0-b8ca3a62792c") from pod "pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c" container "mycontainer"
STEP: reading a file in the container
Jun 10 15:56:21.694: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd1/tracker0'
Jun 10 15:56:22.904: INFO: Read file "/testpd1/tracker0" with content: 988876932586416926

STEP: reading a file in the container
Jun 10 15:56:22.905: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd2/tracker0'
Jun 10 15:56:24.080: INFO: Read file "/testpd2/tracker0" with content: 8414937992264649637

STEP: reading a file in the container
Jun 10 15:56:24.081: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd1/tracker1'
Jun 10 15:56:25.290: INFO: Read file "/testpd1/tracker1" with content: 7639503234625274799

STEP: reading a file in the container
Jun 10 15:56:25.290: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-dcef71e1-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd2/tracker1'
Jun 10 15:56:26.491: INFO: Read file "/testpd2/tracker1" with content: 7400445987108171911

STEP: deleting host0Pod
Jun 10 15:56:26.756: INFO: PD Read/Writer Iteration #2
STEP: submitting host0Pod to kubernetes
W0610 15:56:26.821828   17282 request.go:347] Field selector: v1 - pods - metadata.name - pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c: need to check if this is versioned correctly.
STEP: reading a file in the container
Jun 10 15:56:27.898: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd1/tracker1'
Jun 10 15:56:29.096: INFO: Read file "/testpd1/tracker1" with content: 7639503234625274799

STEP: reading a file in the container
Jun 10 15:56:29.096: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd2/tracker1'
Jun 10 15:56:30.325: INFO: Read file "/testpd2/tracker1" with content: 7400445987108171911

STEP: reading a file in the container
Jun 10 15:56:30.325: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd1/tracker0'
Jun 10 15:56:31.528: INFO: Read file "/testpd1/tracker0" with content: 988876932586416926

STEP: reading a file in the container
Jun 10 15:56:31.529: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd2/tracker0'
Jun 10 15:56:32.972: INFO: Read file "/testpd2/tracker0" with content: 8414937992264649637

STEP: writing a file in the container
Jun 10 15:56:32.972: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- /bin/sh -c echo '1846555975530999997' > '/testpd1/tracker2''
Jun 10 15:56:34.157: INFO: Wrote value: "1846555975530999997" to PD1 ("rootfs-e2e-c8b82df9-2f23-11e6-a5a0-b8ca3a62792c") from pod "pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c" container "mycontainer"
STEP: writing a file in the container
Jun 10 15:56:34.157: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- /bin/sh -c echo '2775947264799611726' > '/testpd2/tracker2''
Jun 10 15:56:35.661: INFO: Wrote value: "2775947264799611726" to PD2 ("rootfs-e2e-cb135362-2f23-11e6-a5a0-b8ca3a62792c") from pod "pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c" container "mycontainer"
STEP: reading a file in the container
Jun 10 15:56:35.662: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd1/tracker0'
Jun 10 15:56:36.868: INFO: Read file "/testpd1/tracker0" with content: 988876932586416926

STEP: reading a file in the container
Jun 10 15:56:36.868: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd2/tracker0'
Jun 10 15:56:38.062: INFO: Read file "/testpd2/tracker0" with content: 8414937992264649637

STEP: reading a file in the container
Jun 10 15:56:38.062: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd1/tracker1'
Jun 10 15:56:39.221: INFO: Read file "/testpd1/tracker1" with content: 7639503234625274799

STEP: reading a file in the container
Jun 10 15:56:39.221: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd2/tracker1'
Jun 10 15:56:40.397: INFO: Read file "/testpd2/tracker1" with content: 7400445987108171911

STEP: reading a file in the container
Jun 10 15:56:40.397: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd1/tracker2'
Jun 10 15:56:41.584: INFO: Read file "/testpd1/tracker2" with content: 1846555975530999997

STEP: reading a file in the container
Jun 10 15:56:41.585: INFO: Running '/srv/dev/kubernetes/_output/local/bin/linux/amd64/kubectl exec --namespace=e2e-tests-pod-disks-2tvm2 pd-test-e370dd2b-2f23-11e6-a5a0-b8ca3a62792c -c=mycontainer -- cat /testpd2/tracker2'
Jun 10 15:56:42.800: INFO: Read file "/testpd2/tracker2" with content: 2775947264799611726

STEP: deleting host0Pod
```

@saad-ali
2016-06-16 12:44:56 -07:00
Piotr Szczesniak 8fff5319db Bumped Heapster to v1.1.0 2016-06-16 20:41:28 +02:00
Prashanth Balasubramanian da6f964be4 Rewrite ingress e2es 2016-06-16 11:28:06 -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
k8s-merge-robot 3ba5816e46 Merge pull request #27536 from mwielgus/log-np-del
Automatic merge from submit-queue

Log node-pool deletion in cluster autoscaler tests

cc: @piosz @jszczepkowski
2016-06-16 10:55:21 -07:00
k8s-merge-robot d7d8d2e518 Merge pull request #27504 from nikhiljindal/debugfederationTests
Automatic merge from submit-queue

Dumping logs of federation pods (federation-apiserver, federation-controller-manager) on e2e test failure

Ref https://github.com/kubernetes/kubernetes/issues/26762

This should help with debugging failures.
Right now there is no way to access those logs.

@kubernetes/sig-cluster-federation @colhom
2016-06-16 10:55:16 -07:00
k8s-merge-robot cec153c915 Merge pull request #27488 from bprashanth/ing_e2e_fix
Automatic merge from submit-queue

Call NewFramework constructor instead of hand creating framework.

https://github.com/kubernetes/kubernetes/issues/27486, probably because we defined a new clientConfigGetter for node e2es and this test was hand creating the framework.
2016-06-16 10:55:12 -07:00
k8s-merge-robot 947f60843e Merge pull request #27481 from mml/fed-nslookup
Automatic merge from submit-queue

fix nslookup invocation

The old way with 'sh -c' was not correct.

For #26762
2016-06-16 10:55:08 -07:00
Jing Xu d8eedd5404 Increase timeout for testing PD create/delete.
fix #26795 for releasev1.1
2016-06-16 09:57:37 -07:00
Jon Cope 07ffe9513b Overhauled pv e2e test to reflect common lifecycle 2016-06-16 10:00:40 -05:00
Marcin Wielgus c4787225ee Log node-pool deletion in cluster autoscaler tests 2016-06-16 14:01:24 +02:00
Marcin Wielgus 32b248fdbc More debug in Cluster Autoscaler e2e test 2016-06-16 12:00:55 +02:00
Jan Safranek 26f90d2099 Add integration test for provisioning/deleting of many PVs.
The test is configurable by KUBE_INTEGRATION_PV_OBJECTS for load tests,
100 objects are created by default.
2016-06-16 10:14:49 +02:00
Matt Liggett adbd4d8029 Clear ClusterIP in the local service before comparison. 2016-06-15 17:17:55 -07:00
nikhiljindal ca22a28fff Dumping logs of federation pods on test failure 2016-06-15 17:07:05 -07:00
Daniel Smith 0c09190210 Merge pull request #27411 from nikhiljindal/timeout
federation-apiserver test: Increasing timeout for clusters to be ready
2016-06-15 15:41:29 -07:00
Daniel Smith 571c94a8f0 Merge pull request #27407 from nikhiljindal/fedAPITest
federation-apiserver test: Cleaning up clusters after the test is run
2016-06-15 15:41:04 -07:00
Daniel Smith f9ae3a1a2a Merge pull request #27457 from mml/federation-service-secrets
One more place we need a secret.
2016-06-15 15:40:34 -07:00
Prashanth Balasubramanian a2387b10cf Call NewFramework constructor instead of hand creating framework. 2016-06-15 15:12:49 -07:00
Matt Liggett 2c35ce6b8f fix nslookup invocation 2016-06-15 14:33:31 -07:00
Matt Liggett 4f388d8aad Compare v1.Service to v1.Service. 2016-06-15 12:49:45 -07:00
k8s-merge-robot 6209b1b60c Merge pull request #27433 from jszczepkowski/master
Automatic merge from submit-queue

Fixed e2e gke test "scale up correct target pool".

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

Fixed e2e gke test "scale up correct target pool" by adding creation of
cluster autoscaler for the new pool.
2016-06-15 12:17:01 -07:00
k8s-merge-robot 12b1e4a1e6 Merge pull request #26801 from saad-ali/mountUnmountRedesign
Automatic merge from submit-queue

Kubelet Volume Attach/Detach/Mount/Unmount Redesign

This PR redesigns the Volume Attach/Detach/Mount/Unmount in Kubelet as proposed in https://github.com/kubernetes/kubernetes/issues/21931

```release-note
A new volume manager was introduced in kubelet that synchronizes volume mount/unmount (and attach/detach, if attach/detach controller is not enabled).

This eliminates the race conditions between the pod creation loop and the orphaned volumes loops. It also removes the unmount/detach from the `syncPod()` path so volume clean up never blocks the `syncPod` loop.
```
2016-06-15 12:16:53 -07:00
Euan Kemp e50a821aa8 e2e: Skip attach tests for rkt runtime 2016-06-15 11:50:58 -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
Matthew Wong 327210c2a3 Add integration test for binding PVs using label selectors 2016-06-15 14:34:34 -04:00
Matt Liggett 8a48aad07a One more place we need a secret. 2016-06-15 11:32:04 -07:00
k8s-merge-robot 9a8aabe7cc Merge pull request #27391 from nikhiljindal/fixFedName
Automatic merge from submit-queue

federation: choosing a default federation name in test instead of failing

The tests are failing right now:
http://kubekins.dls.corp.google.com/job/kubernetes-e2e-gce-federation/

```
[k8s.io] Service [Feature:Federation] should be able to discover a non-local federated service

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/federated-service.go:130 Jun 14 12:40:35.091: FEDERATION_NAME environment variable must be set


[k8s.io] Service [Feature:Federation] should be able to discover a federated service

/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/federated-service.go:130 Jun 14 12:40:40.802: FEDERATION_NAME environment variable must be set
```

This is to fix them.

cc @kubernetes/sig-cluster-federation @mml
2016-06-15 09:46:53 -07:00
saadali 542f2dc708 Introduce new kubelet volume manager
This commit adds a new volume manager in kubelet that synchronizes
volume mount/unmount (and attach/detach, if attach/detach controller
is not enabled).

This eliminates the race conditions between the pod creation loop
and the orphaned volumes loops. It also removes the unmount/detach
from the `syncPod()` path so volume clean up never blocks the
`syncPod` loop.
2016-06-15 09:34:08 -07:00
k8s-merge-robot 130341b5f1 Merge pull request #27429 from wojtek-t/fix_services_test
Automatic merge from submit-queue

Fix failures in up and down services in large clusters

Ref #26687
2016-06-15 08:39:25 -07:00
k8s-merge-robot 4c0bbe43aa Merge pull request #27416 from wojtek-t/longer_system_pods_timeout
Automatic merge from submit-queue

Make timeout for starting system pods configurable

Context: in 2000-node clusters (if only one node is big enough to fit heapster, which is our testing configuration), heapster won't be scheduled until that node has route. However, creating routes is pretty expensive and currently can take even 2 hours.

@zmerlynn @gmarek
2016-06-15 08:39:21 -07:00
Jerzy Szczepkowski f688165c5b Fixed e2e gke test "scale up correct target pool".
Fixed e2e gke test "scale up correct target pool" by adding creation of
cluster autoscaler for the new pool.
2016-06-15 16:35:36 +02:00
Wojciech Tyczynski 9961b8021b Fix failures in up and down services in large clusters 2016-06-15 16:09:46 +02:00
Piotr Szczesniak 51af487b5f Revert "Downward api node defaults" 2016-06-15 15:47:49 +02:00
gmarek 9cf3724ed6 WaitForRunningReady also waits for PodsSuccess 2016-06-15 15:09:02 +02:00
Piotr Szczesniak 3d09b99d2c Merge pull request #27423 from jszczepkowski/master
Changed constans to reduce hpa e2e test flakiness.
2016-06-15 13:01:39 +02:00
Jerzy Szczepkowski 86764ba4ce Changed constans to reduce hpa e2e test flakiness.
Changed constans to reduce hpa e2e test flakiness.
2016-06-15 11:33:50 +02:00
Marcin Wielgus 9b012a4d44 Turn off mitlinode pool test in GKE until it is fixed 2016-06-15 11:27:44 +02:00