Commit Graph

4966 Commits

Author SHA1 Message Date
Phillip Wittrock
feaa3aba82 Retry concurrency exceptions in e2e/kubectl.go. Fixes #26138 2016-05-26 14:44:51 -07:00
Alex Mohr
edda837142 Merge pull request #25599 from caesarxuchao/orphaning-finalizer
Add orphaning finalizer logic to GC
2016-05-26 13:19:19 -07:00
Alex Mohr
6f919dc6fc Merge pull request #25634 from ericchiang/rbac_api_group
Add RBAC authorization API group and authorizer
2016-05-26 12:36:53 -07:00
Yu-Ju Hong
17928cc1dc e2e: fix the expectation of always running kube-system pods
Instruct the tests to ignore image prepull pods.
2016-05-26 11:27:12 -07:00
Alex Mohr
351fadce6f Merge pull request #26312 from janetkuo/fix-deployment-e2e-log
Fix broken log for deployment e2e tests
2016-05-26 11:27:08 -07:00
Marcin Wielgus
73a5a13f62 Merge pull request #26359 from mwielgus/cluster-autoscaling-timeout
Increase cluster resize timeout in e2e tests from 2 min to 5 min
2016-05-26 20:04:10 +02:00
Alex Mohr
4357b8a0a6 Merge pull request #25324 from jfrazelle/add-seccomp
Add Seccomp to Annotations
2016-05-26 10:50:06 -07:00
Alex Mohr
6b169eaa85 Merge pull request #25125 from colhom/federation-e2e
e2e tests for federated-apiserver
2016-05-26 10:40:30 -07:00
Janet Kuo
d18438406b Add check to prevent use of untagged or :latest gcr.io images in e2e tests 2016-05-26 10:27:31 -07:00
Lucas Käldström
79ca1911e1 Removed all pause image constant strings, now the pause image is chosen by arch. Part of the effort of making e2e arch-agnostic 2016-05-26 19:16:43 +03:00
Marcin Wielgus
67d7676e0e Increase cluster resize timeout in e2e tests from 2 min to 5 min 2016-05-26 17:20:19 +02:00
Wojciech Tyczynski
a2011cdf42 Revert "Add resource limits for master resources in density test" 2016-05-26 16:35:48 +02:00
k8s-merge-robot
9aace460a7 Merge pull request #26262 from jsafrane/integration-error-checks
Automatic merge from submit-queue

Add error checks to volume integration tests

We need to know what's going on when a test fails, like in #26256
2016-05-26 06:15:19 -07:00
k8s-merge-robot
c58d0453dc Merge pull request #25752 from gmarek/resource-limits
Automatic merge from submit-queue

Add resource limits for master resources in density test

cc @jlowdermilk @fabioy
2016-05-26 04:25:44 -07:00
k8s-merge-robot
bda0dc88aa Merge pull request #25457 from saad-ali/expectedStateOfWorldDataStructure
Automatic merge from submit-queue

Attach Detach Controller Business Logic

This PR adds the meat of the attach/detach controller proposed in #20262.

The PR splits the in-memory cache into a desired and actual state of the world.
2016-05-26 00:41:54 -07:00
k8s-merge-robot
079096aca5 Merge pull request #26321 from vishh/retry-pre-pull
Automatic merge from submit-queue

Retry image pulling 5 times before giving up in node e2e.

For #26203 & #26320
2016-05-25 23:46:04 -07:00
Alex Mohr
e3404d32ff Merge pull request #26155 from kubernetes/sttts-flake-26126
Flake 26126: use framework.podStartTimeout for kubectl e2e test pod launch
2016-05-25 22:20:56 -07:00
k8s-merge-robot
df66b90768 Merge pull request #26323 from janetkuo/test-e2e-kubectl-images
Automatic merge from submit-queue

Use gcr.io tagged images when testing

Ref #20836

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-05-25 20:44:32 -07:00
k8s-merge-robot
3ac9769d49 Merge pull request #26163 from sttts/sttts-flake-21484-pod-log
Automatic merge from submit-queue

Flake 21484: retrieve pod log during e2e error

Print the pod log when an error occurs in

> Proxy version 1 should proxy through a service and a pod [Conformance]

e2e test. This will help to understand flake https://github.com/kubernetes/kubernetes/issues/21484 better.
2016-05-25 18:54:57 -07:00
Manuel de Brito Fontes
fcea6e0e9e Use ubuntu-slim to reduce size of the iperf:e2e image 2016-05-25 22:50:57 -03:00
Janet Kuo
f433d21a90 Use gcr.io tagged images when testing 2016-05-25 17:25:02 -07:00
Janet Kuo
1f78d5ce37 Add pause-pod.yaml in test manifest and re-generate bindata 2016-05-25 17:24:10 -07:00
Vishnu kannan
2be9cd4854 Retry image pulling 5 times before giving up in node e2e.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-05-25 16:37:04 -07:00
Janet Kuo
c3fd3b1cf5 Fix broken log for deployment e2e tests 2016-05-25 15:07:41 -07:00
Colin Hom
a092fd2dd4 Federation build and e2e test integration
Federation components are now buildable and e2e-testable via e2e.go.
2016-05-25 15:07:27 -07:00
Eric Chiang
323e804f39 add rbac for tests and kubectl 2016-05-25 14:25:56 -07:00
Yu-Ju Hong
cd82c543b9 e2e: fix tests that are broken because of the image prepull pod
Many tests expect all kube-system pods to be running and ready. The newly
added image prepull add-on pod can in the "succeeded" state. This commit fixes
the tests to allow kube-system pods to be succeeded.
2016-05-25 09:51:25 -07:00
Jan Safranek
e760353b6f Add error checks to volume integration tests 2016-05-25 12:59:02 +02:00
k8s-merge-robot
83c78fdcaa Merge pull request #24179 from aveshagarwal/master-downward-api-resources-limits-requests-implementation
Automatic merge from submit-queue

Downward API implementation for resources limits and requests

This is an implementation of Downward API for resources limits and requests, and it works with environment variables and volume plugin.

This is based on proposal https://github.com/kubernetes/kubernetes/pull/24051. This implementation follows API with magic keys approach as discussed in the proposal.

@kubernetes/rh-cluster-infra

<!-- 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/24179)
<!-- Reviewable:end -->
2016-05-25 03:38:49 -07:00
k8s-merge-robot
dec18dabc1 Merge pull request #26254 from wojtek-t/faster_load_test
Automatic merge from submit-queue

Speed up load test
2016-05-25 02:46:00 -07:00
k8s-merge-robot
e8f3cc9072 Merge pull request #26101 from pwittrock/node-e2e-junit
Automatic merge from submit-queue

Node e2e junit test artifacts


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

- Add junit test reported
- Write etcd.log, kubelet.log and kube-apiserver.log to files instead of stdout
- Scp artifacts to the jenkins WORKSPACE

Fixes #25966
2016-05-25 02:45:56 -07:00
k8s-merge-robot
1fc5687715 Merge pull request #25784 from bprashanth/prepull
Automatic merge from submit-queue

Prepull images in e2e 

Quick and dirty image puller because the SQ stalled multiple times just *today* on image pull flake (https://github.com/kubernetes/kubernetes/issues/25277).
@kubernetes/sig-node @kubernetes/sig-testing wdyt?
2016-05-25 01:50:35 -07:00
Dr. Stefan Schimanski
eea7ed21da Flake 21484: retrieve pod log during e2e error 2016-05-25 10:21:16 +02:00
Wojciech Tyczynski
774347afca Speed up load test 2016-05-25 09:58:30 +02:00
k8s-merge-robot
2524cadeee Merge pull request #25171 from bprashanth/rolling
Automatic merge from submit-queue

Wait for RC to stabilize in rolling-update e2e

https://github.com/kubernetes/kubernetes/issues/25170
2016-05-25 00:09:00 -07:00
Wojciech Tyczynski
eaf9e5f596 Increase expected fluent CPU limit 2016-05-25 08:16:01 +02:00
saadali
92500a20d7 Attach detach controller business logic added
Split controller cache into actual and desired state of world.
Controller will only operate on volumes scheduled to nodes that
have the "volumes.kubernetes.io/controller-managed-attach" annotation.
2016-05-24 23:01:16 -07:00
Vishnu kannan
c7dd4fb111 Suppress non error logs from ssh commands in node e2e framework.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-05-24 16:54:24 -07:00
k8s-merge-robot
107fedf607 Merge pull request #26192 from Random-Liu/fix-node-e2e-log-print
Automatic merge from submit-queue

Fix node e2e log print

Fix bad log print:
```
W0524 18:20:41.679642    2069 container_list.go:56] Could not pre-pull image %s %v output:  %sgcr.io/google_containers/pause-amd64:3.0exit status 1 [69 114 114 111 114 32 114 101 115 112 111 110 115 101 32 102 114 111 109 32 100 97 101 109 111 110 58 32 71 101 116 32 104 116 116 112 115 58 47 47 103 99 114 46 105 111 47 118 50 47 103 111 111 103 108 101 95 99 111 110 116 97 105 110 101 114 115 47 112 97 117 115 101 45 97 109 100 54 52 47 109 97 110 105 102 101 115 116 115 47 51 46 48 58 32 71 101 116 32 104 116 116 112 115 58 47 47 103 99 114 46 105 111 47 118 50 47 116 111 107 101 110 63 115 99 111 112 101 61 114 101 112 111 115 105 116 111 114 121 37 51 65 103 111 111 103 108 101 95 99 111 110 116 97 105 110 101 114 115 37 50 70 112 97 117 115 101 45 97 109 100 54 52 37 51 65 112 117 108 108 38 115 101 114 118 105 99 101 61 103 99 114 46 105 111 58 32 110 101 116 47 104 116 116 112 58 32 114 101 113 117 101 115 116 32 99 97 110 99 101 108 101 100 32 119 104 105 108 101 32 119 97 105 116 105 110 103 32 102 111 114 32 99 111 110 110 101 99 116 105 111 110 32 40 67 108 105 101 110 116 46 84 105 109 101 111 117 116 32 101 120 99 101 101 100 101 100 32 119 104 105 108 101 32 97 119 97 105 116 105 110 103 32 104 101 97 100 101 114 115 41 10]
```

/cc @pwittrock 

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-05-24 16:16:28 -07:00
pwittrock
eae1961599 Node e2e export test artifacts to jenkins.
- Add junit test reported
- Write etcd.log, kubelet.log and kube-apiserver.log to files instead of stdout
- Scp artifacts to the jenkins WORKSPACE

Fixes #25966
2016-05-24 23:00:58 +00:00
k8s-merge-robot
db74335f60 Merge pull request #26100 from rootfs/fix-pd
Automatic merge from submit-queue

in e2e test, when kubectl exec fails to find the container to run a command, it should retry

fix #26076 
Without retrying upon "container not found" error, `Pod Disks` test failed on the following error:
```console
[k8s.io] Pod Disks 
  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]
  /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/pd.go:271
[BeforeEach] [k8s.io] Pod Disks
  /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:108
STEP: Creating a kubernetes client
May 23 19:18:02.254: INFO: >>> TestContext.KubeConfig: /root/.kube/config

STEP: Building a namespace api object
STEP: Waiting for a default service account to be provisioned in namespace
[BeforeEach] [k8s.io] Pod Disks
  /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/pd.go:69
[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]
  /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/pd.go:271
STEP: creating PD1
May 23 19:18:06.678: INFO: Successfully created a new PD: "rootfs-e2e-11dd5f5b-211b-11e6-a3ff-b8ca3a62792c".
STEP: creating PD2
May 23 19:18:11.216: INFO: Successfully created a new PD: "rootfs-e2e-141f062d-211b-11e6-a3ff-b8ca3a62792c".
May 23 19:18:11.216: INFO: PD Read/Writer Iteration #0
STEP: submitting host0Pod to kubernetes
W0523 19:18:11.279910    4984 request.go:347] Field selector: v1 - pods - metadata.name - pd-test-16d3653c-211b-11e6-a3ff-b8ca3a62792c: need to check if this is versioned correctly.
STEP: writing a file in the container
May 23 19:18:39.088: INFO: Running '/srv/dev/kubernetes/_output/dockerized/bin/linux/amd64/kubectl kubectl --server=https://130.211.199.187 --kubeconfig=/root/.kube/config exec --namespace=e2e-tests-pod-disks-3t3g8 pd-test-16d3653c-211b-11e6-a3ff-b8ca3a62792c -c=mycontainer -- /bin/sh -c echo '1394466581702052925' > '/testpd1/tracker0''
May 23 19:18:40.250: INFO: Wrote value: "1394466581702052925" to PD1 ("rootfs-e2e-11dd5f5b-211b-11e6-a3ff-b8ca3a62792c") from pod "pd-test-16d3653c-211b-11e6-a3ff-b8ca3a62792c" container "mycontainer"
STEP: writing a file in the container
May 23 19:18:40.251: INFO: Running '/srv/dev/kubernetes/_output/dockerized/bin/linux/amd64/kubectl kubectl --server=https://130.211.199.187 --kubeconfig=/root/.kube/config exec --namespace=e2e-tests-pod-disks-3t3g8 pd-test-16d3653c-211b-11e6-a3ff-b8ca3a62792c -c=mycontainer -- /bin/sh -c echo '1740704063962701662' > '/testpd2/tracker0''
May 23 19:18:41.433: INFO: Wrote value: "1740704063962701662" to PD2 ("rootfs-e2e-141f062d-211b-11e6-a3ff-b8ca3a62792c") from pod "pd-test-16d3653c-211b-11e6-a3ff-b8ca3a62792c" container "mycontainer"
STEP: reading a file in the container
May 23 19:18:41.433: INFO: Running '/srv/dev/kubernetes/_output/dockerized/bin/linux/amd64/kubectl kubectl --server=https://130.211.199.187 --kubeconfig=/root/.kube/config exec --namespace=e2e-tests-pod-disks-3t3g8 pd-test-16d3653c-211b-11e6-a3ff-b8ca3a62792c -c=mycontainer -- cat /testpd1/tracker0'
May 23 19:18:42.585: INFO: Read file "/testpd1/tracker0" with content: 1394466581702052925

STEP: reading a file in the container
May 23 19:18:42.585: INFO: Running '/srv/dev/kubernetes/_output/dockerized/bin/linux/amd64/kubectl kubectl --server=https://130.211.199.187 --kubeconfig=/root/.kube/config exec --namespace=e2e-tests-pod-disks-3t3g8 pd-test-16d3653c-211b-11e6-a3ff-b8ca3a62792c -c=mycontainer -- cat /testpd2/tracker0'
May 23 19:18:43.779: INFO: Read file "/testpd2/tracker0" with content: 1740704063962701662

STEP: deleting host0Pod
May 23 19:18:44.048: INFO: PD Read/Writer Iteration #1
STEP: submitting host0Pod to kubernetes
W0523 19:18:44.132475    4984 request.go:347] Field selector: v1 - pods - metadata.name - pd-test-16d3653c-211b-11e6-a3ff-b8ca3a62792c: need to check if this is versioned correctly.
STEP: reading a file in the container
May 23 19:18:45.186: INFO: Running '/srv/dev/kubernetes/_output/dockerized/bin/linux/amd64/kubectl kubectl --server=https://130.211.199.187 --kubeconfig=/root/.kube/config exec --namespace=e2e-tests-pod-disks-3t3g8 pd-test-16d3653c-211b-11e6-a3ff-b8ca3a62792c -c=mycontainer -- cat /testpd1/tracker0'
May 23 19:18:46.290: INFO: error running kubectl exec to read file: exit status 1
stdout=
stderr=error: error executing remote command: error executing command in container: container not found ("mycontainer")
)
May 23 19:18:46.290: INFO: Error reading file: exit status 1
May 23 19:18:46.290: INFO: Unexpected error occurred: exit status 1
```
Now I've run this fix on e2e pd test 5 times and no longer see any failure
2016-05-24 15:21:07 -07:00
Ryan Hitchman
0974b959be Show hack/build-go.sh and ginkgo build output during e2e tests.
This makes it easier to diagnose slow builds.
2016-05-24 14:53:57 -07:00
Chao Xu
1665546d2d add finalizer logics to the API server and the garbage collector; handling DeleteOptions.OrphanDependents in the API server 2016-05-24 13:07:28 -07:00
Jess Frazelle
aa8c72adaa
seccomp: add annotations and test for docker runtime
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-05-24 12:25:21 -07:00
Random-Liu
22e4df74d8 Fix node e2e log print 2016-05-24 11:34:40 -07:00
Avesh Agarwal
1931931494 Downward API implementation for resources limits and requests 2016-05-24 12:22:35 -04:00
Huamin Chen
56719f83b7 when kubectl exec fails to find the container to run a command, it should retry
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-05-24 14:18:44 +00:00
gmarek
cafbdba7d9 Change base64 -d flag to --decode flag to make it BSD compatible 2016-05-24 13:24:55 +02:00
Dr. Stefan Schimanski
d3f8eaba7f Use framework.podStartTimeout for kubectl test pod launch 2016-05-24 13:10:56 +02:00
Wojciech Tyczynski
316103875e Merge pull request #26146 from wojtek-t/avoid_dumb_logs
Avoid dumping all information in large clusters
2016-05-24 11:20:08 +02:00
Wojciech Tyczynski
bd920de4a4 Avoid dumping all information in large clusters 2016-05-24 10:23:42 +02:00
Dr. Stefan Schimanski
9e95606cf5 Do not show command twice in e2e kubectl exec 2016-05-24 09:00:40 +02:00
Mike Danese
1e97583f01 Merge pull request #26089 from spxtr/flakyflaky
Move PD tests to flaky suite.
2016-05-23 17:20:36 -07:00
k8s-merge-robot
51e308412b Merge pull request #26061 from wojtek-t/dont_dump_failure_logs
Automatic merge from submit-queue

Don't dump everything in kubemarks

Don't dump all events etc. in kubemark failures, those are useless anyway with that amount of data.
2016-05-23 13:19:55 -07:00
k8s-merge-robot
adf44ea190 Merge pull request #26025 from liggitt/auth-test-flake
Automatic merge from submit-queue

Fix panic in auth test failure

I got a spurious failure in the webhook integration test, but couldn't see the error returned because a panic was hit that assumed a body was always returned with the response
2016-05-23 13:19:49 -07:00
Prashanth B
730555b09b Add an e2e image puller static pod 2016-05-23 19:17:09 +00:00
Joe Finney
71037b26a1 Move PD tests to flaky suite. 2016-05-23 10:47:49 -07:00
Wojciech Tyczynski
6f43de4740 Don't dump everything in kubemarks 2016-05-23 11:53:40 +02:00
k8s-merge-robot
086ace44b8 Merge pull request #25548 from jlowdermilk/lower-ginkgo-parallelism
Automatic merge from submit-queue

Lower ginkgo parallelism and move same image rolling-update test out of flaky

Tentative fix for #25140.
2016-05-22 18:43:57 -07:00
k8s-merge-robot
f58c587aaa Merge pull request #25542 from brendandburns/3rdpartye2e
Automatic merge from submit-queue

Add a basic e2e test for 3rd party objects.

Depends on https://github.com/kubernetes/kubernetes/pull/25365

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-05-22 17:42:58 -07:00
k8s-merge-robot
52707ac7ee Merge pull request #24884 from vulpecula/test-local-ssd
Automatic merge from submit-queue

E2e tests for GKE cluster with local SSD.

The test cover node pool with local SSD creation and scheduling a pod that writes and reads from it. Pod access local disk via hostPath. 

```release-note
E2e tests for GKE cluster with local SSD.
-OR-
```
2016-05-22 13:03:48 -07:00
k8s-merge-robot
6224f44717 Merge pull request #25771 from sjpotter/fs-info
Automatic merge from submit-queue

kubelet/cadvisor: Refactor cadvisor disk stat/usage interfaces.

basically

1) cadvisor struct will know what runtime the kubelet is, passed in via additional argument to New()

2) rename cadvisor wrapper function to DockerImagesFsInfo() to ImagesFsInfo() and have linux implementation choose a label based on the runtime inside the cadvisor struct

2a) mock/fake/unsupported modified to take the same additional argument in New()

3) kubelet's wrapper for the cadvisor wrapper is renamed in parallel

4) make all tests use new interface
2016-05-22 03:08:59 -07:00
Clayton Coleman
c6961d6fd6
Remove runtime.Typer, reduce to ObjectKinds(1) (3)
Remove the unnecessary variants, which avoids allocations in several
core paths.
2016-05-21 23:55:42 -04:00
Jordan Liggitt
22649a19d0 Fix panic in auth test failure 2016-05-21 16:48:00 -04:00
k8s-merge-robot
346f965871 Merge pull request #25694 from cjcullen/authncache
Automatic merge from submit-queue

Cache Webhook Authentication responses

Add a simple LRU cache w/ 2 minute TTL to the webhook authenticator.

Kubectl is a little spammy, w/ >= 4 API requests per command. This also prevents a single unauthenticated user from being able to DOS the remote authenticator.
2016-05-21 10:48:38 -07:00
k8s-merge-robot
eb733cbf45 Merge pull request #25285 from ingvagabund/extend-secrets-volumes-with-path-control
Automatic merge from submit-queue

Extend secrets volumes with path control

As per [1] this PR extends secrets mapped into volume with:

* key-to-path mapping the same way as is for configmap. E.g.

```
{
 "apiVersion": "v1",
 "kind": "Pod",
  "metadata": {
    "name": "mypod",
    "namespace": "default"
  },
  "spec": {
    "containers": [{
      "name": "mypod",
      "image": "redis",
      "volumeMounts": [{
        "name": "foo",
        "mountPath": "/etc/foo",
        "readOnly": true
      }]
    }],
    "volumes": [{
      "name": "foo",
      "secret": {
        "secretName": "mysecret",
        "items": [{
          "key": "username",
          "path": "my-username"
        }]
      }
    }]
  }
}
```

Here the ``spec.volumes[0].secret.items`` added changing original target ``/etc/foo/username`` to ``/etc/foo/my-username``.

* secondly, refactoring ``pkg/volumes/secrets/secrets.go`` volume plugin to use ``AtomicWritter`` to project a secret into file.

[1] https://github.com/kubernetes/kubernetes/blob/master/docs/design/configmap.md#changes-to-secret
2016-05-21 03:55:13 -07:00
k8s-merge-robot
e484f142d6 Merge pull request #25216 from rootfs/pv-integration-test
Automatic merge from submit-queue

Add PV test to persistent volume integration test

This is a follow-up to #25120

@kubernetes/sig-storage
2016-05-21 01:34:06 -07:00
k8s-merge-robot
45514f729e Merge pull request #25915 from ncdc/e2e-fix
Automatic merge from submit-queue

Check status of framework.CheckPodsRunningReady

Check status of framework.CheckPodsRunningReady and fail test if it's false, instead of silently
ignoring the failure.

This doesn't fix whatever is causing the pod not to start in #17523 but it does fail the test as soon as it detects the pod didn't start, instead of allowing the testing to proceed.

cc @kubernetes/sig-testing @spxtr @ixdy @kubernetes/rh-cluster-infra
2016-05-20 19:52:46 -07:00
k8s-merge-robot
70cd282f11 Merge pull request #25944 from pwittrock/fix-24905
Automatic merge from submit-queue

Pre-pull images in node e2e-tests.  Possible resolution for #24905



[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-05-20 18:50:11 -07:00
Andy Goldstein
f83a286fbc Check status of framework.CheckPodsRunningReady
Check status of framework.CheckPodsRunningReady and fail test if it's false, instead of silently
ignoring the failure.
2016-05-20 20:21:11 -04:00
Mike Danese
11105355fc Merge pull request #25916 from pwittrock/node-e2e-images
Update node e2e containervm image to not start kubelet as part of ini…
2016-05-20 16:41:28 -07:00
Mike Danese
c715823cbc Merge pull request #25776 from krousey/proxy_exec
Removing indirection from proxy exec test
2016-05-20 16:41:11 -07:00
Mike Danese
c2c030b6d8 fix kubemark 2016-05-20 15:42:40 -07:00
Kris
f4cf45ee94 Removing indirection from proxy exec test
I removed the netexec and goproxy pods from the proxy exec test. Instead
it now runs kubectl locally and the proxy is running in-process. Since
Go won't proxy for localhost requests, this test cannot pass if the API
server is local. However it was already disabled for local clusters.
2016-05-20 09:16:23 -07:00
Phillip Wittrock
e4b40fca9a Update node e2e containervm image to not start kubelet as part of init. Update the node e2e host setup.sh to also do this when creating new images. 2016-05-20 14:44:38 +00:00
k8s-merge-robot
27512dd0a1 Merge pull request #25190 from ingvagabund/e2e-scheduler-predicates-validate-resource-limits
Automatic merge from submit-queue

SchedulerPredicates e2e test: be more verbose about requested resource

When ``validates resource limits of pods that are allowed to run [Conformance]`` test is run, logs could give more information about requested resource and say it is for cpu and in mili units.

cpu is stored in m units here:

```
nodeToCapacityMap[node.Name] = capacity.MilliValue()
```
2016-05-20 05:31:38 -07:00
k8s-merge-robot
97a7d009ad Merge pull request #25708 from ixdy/node-e2e-test-timeout
Automatic merge from submit-queue

Add a timeout to the node e2e Ginkgo test runner

Also add a few debugging statements to indicate progress.

Should help prevent #25639, since we'll timeout tests before Jenkins times out the build.
2016-05-20 04:42:16 -07:00
Filip Grzadkowski
afea2e2f95 Merge pull request #25780 from andyzheng0831/test-case
e2e: simple pod HTTP proxy test should use amd64 kubectl for GCI
2016-05-20 10:27:17 +02:00
Filip Grzadkowski
d3522dd8d2 Merge pull request #24128 from smarterclayton/dns_test_change
Allow cluster DNS e2e verification to be overriden
2016-05-20 10:26:13 +02:00
Phillip Wittrock
839f4f8dd2 Pre-pull images in node e2e-tests. Possible resolution for #24905 2016-05-20 05:22:30 +00:00
Daniel Smith
785f1c31a6 emergency gc test fix--be extra safe 2016-05-19 22:04:50 -07:00
Daniel Smith
8e7b7a2f9a emergency gc test fix 2016-05-19 21:44:31 -07:00
Daniel Smith
5448400b1c Merge pull request #25243 from smarterclayton/explore_quantity
Provide an int64 version of Quantity that is much faster
2016-05-19 16:56:48 -07:00
Joe Finney
dca1f5a88a Run setupProviderConfig in BeforeSuite. 2016-05-19 14:57:00 -07:00
k8s-merge-robot
ef952efb82 Merge pull request #25800 from ingvagabund/mounttest-use-stats-instead-of-lstat-to-read-symlinks
Automatic merge from submit-queue

gcr.io/google_containers/mounttest: use Stat instead of Lstat

The current ``mt.go`` implementation use ``os.Lstat`` instead of ``os.Stat`` which does not read symlinks. Since implementation of ``AtomicWriter`` (which relies on existence of symlinks), the updated implementation of secret volume using the ``AtomicWriter`` can not be tested for secret file permission. Replacing ``Lstat`` with ``Stat`` allows to read symlinks and return permissions of target file. The change affects ``--file_perm`` and ``--file_mode`` options only.

``mounttest`` image is currently used by:

##### downwardapi_volume.go
- e2e: Downward API volume
- version: 0.6
- args: --file_content, --break_on_expected_content, --retry_time, --file_content_in_loop

##### empty_dir.go
- e2e: EmptyDir volumes
- version: 0.5
- args: --file_perm, --file_perm, ...

##### host_path.go
- e2e: hostPath
- version: 0.6
- args: --file_mode, ...

##### configmap.go
- e2e: ConfigMap
- version: 0.6
- args: --file_content, --break_on_expected_content, --retry_time, --file_content_in_loop

##### service_accounts.go
- e2e: ServiceAccounts
- version: 0.2
- args: --file_content

Some of the e2e tests use at least one of the affected options. Locally, I have updated all version of mounttest images to 0.7. All e2e tests pass with the new image.
2016-05-19 13:15:24 -07:00
Shaya Potter
ae08ef38d7 kubelet/cadvisor: Refactor cadvisor disk stat/usage interfaces 2016-05-19 11:13:47 -07:00
Danka Niedziałkowska
e676fc55f1 Update gke_local_ssd.go 2016-05-19 11:04:23 -07:00
Brendan Burns
014622db8f address comments. 2016-05-19 10:38:13 -07:00
Brendan Burns
7e43205110 Add an e2e test for third party resources (disabled by default) 2016-05-19 10:15:08 -07:00
gmarek
8684b8ea72 Add resource limits for master resources in density test 2016-05-19 15:32:21 +02:00
Huamin Chen
cc45f48bb7 persistent volume integration tests:
- create 100 PV, ranging from 0 to 99GB; create 1 PVC to claim 50GB. Verify only one PV is bound and rest are pending
- create 2 PVs with different access modes (RWM, RWO), 1 PVC to claim RWM PV. Verify RWM is bound and RWO is not bound.

Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-05-19 13:22:59 +00:00
Wojciech Tyczynski
f204a9f399 Merge pull request #25783 from zhouhaibing089/indexer-fix
Fix the Store to be Indexer in test/component/scheduler/perf
2016-05-19 14:55:24 +02:00
Clayton Coleman
5e4308f91d
Update use of Quantity in other classes 2016-05-19 08:41:43 -04:00
Jan Chaloupka
6bfc80166a e2e test: [k8s.io] SchedulerPredicates [Serial] validates resource limits of pods that are allowed to run [Conformance]
Be more verbose about requested resource and say it is cpu in mili units
2016-05-19 12:25:41 +02:00
k8s-merge-robot
c63ac4e664 Merge pull request #24331 from jsafrane/devel/refactor-binder
Automatic merge from submit-queue

Refactor persistent volume controller

Here is complete persistent controller as designed in https://github.com/pmorie/pv-haxxz/blob/master/controller.go

It's feature complete and compatible with current binder/recycler/provisioner. No new features, it *should* be much more stable and predictable.

Testing
--
The unit test framework is quite complicated, still it was necessary to reach reasonable coverage (78% in `persistentvolume_controller.go`). The untested part are error cases, which are quite hard to test in reasonable way - sure, I can inject a VersionConflictError on any object update and check the error bubbles up to appropriate places, but the real test would be to run `syncClaim`/`syncVolume` again and check it recovers appropriately from the error in the next periodic sync. That's the hard part.

Organization
---
The PR starts with `rm -rf kubernetes/pkg/controller/persistentvolume`. I find it easier to read when I see only the new controller without old pieces scattered around.
[`types.go` from the old controller is reused to speed up matching a bit, the code looks solid and has 95% unit test coverage].

I tried to split the PR into smaller patches, let me know what you think.

~~TODO~~
--

* ~~Missing: provisioning, recycling~~.
* ~~Fix integration tests~~
* ~~Fix e2e tests~~

@kubernetes/sig-storage

<!-- 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/24331)
<!-- Reviewable:end -->

Fixes #15632
2016-05-19 03:06:46 -07:00
Janet Kuo
6ca3c16f4c Remove kubectl describe test from flaky list 2016-05-18 21:27:29 -07:00
Danka Niedziałkowska
bba211e04b Test for GKE local SSD 2016-05-18 18:11:22 -07:00
Daniel Smith
0bda969cd5 Merge pull request #25261 from jayunit100/readySched
Support GetReadySchedulable pods for all node selecting tests.
2016-05-18 17:24:09 -07:00
Daniel Smith
c4889dd826 Merge pull request #25781 from pwittrock/issue-25657
Clean up kubectl test to use the blessed e2e test redis configs and t…
2016-05-18 17:22:54 -07:00
CJ Cullen
57f96a932f Add expiration LRU cache for webhook token authenticator. 2016-05-18 11:58:11 -07:00
Andy Zheng
25c9764f29 e2e: use amd64 kubectl for simple pod HTTP proxy test 2016-05-18 10:29:00 -07:00
Kevin
52fb89ff73 implement taints and tolerations 2016-05-18 15:06:23 +00:00
Jan Chaloupka
ebe56f5ff9 Extend the current secrets mounting to volume implementation with key to path mapping.
The key to path mapping allows pod to specify different name (thus location) of each secret.
At the same time refactor the volume plugin to use AtomicWritter to project secrets to files in a volume.

Update e2e Secrets test, the secret file permission has changed from 0444 to 0644
Remove TestPluginIdempotent as the AtomicWritter is responsible for secret creation
2016-05-18 16:12:31 +02:00
k8s-merge-robot
48c90f15c5 Merge pull request #24509 from caesarxuchao/primitive-gc
Automatic merge from submit-queue

Adding garbage collector controller

Adding the propagator and garbage processor of the gc.

Design doc is at https://github.com/kubernetes/kubernetes/blob/master/docs/proposals/garbage-collection.md

<!-- 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/24509)
<!-- Reviewable:end -->
2016-05-18 03:14:25 -07:00
Jan Safranek
79b91b9ee0 Refactor persistent volume initialization
There should be only one initialization function, shared by the real
controller and unit tests.
2016-05-18 10:06:51 +02:00
Jan Safranek
440b4bc6ba Fix integration tests. 2016-05-18 10:06:51 +02:00
k8s-merge-robot
bf4f84167f Merge pull request #23567 from smarterclayton/init_containers
Automatic merge from submit-queue

Add init containers to pods

This implements #1589 as per proposal #23666

Incorporates feedback on #1589, creates parallel structure for InitContainers and Containers, adds validation for InitContainers that requires name uniqueness, and comments on a number of implications of init containers.

This is a complete alpha implementation.

<!-- 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/23567)
<!-- Reviewable:end -->
2016-05-18 00:53:30 -07:00
pwittrock
c7bfbe6460 Clean up kubectl test to use the blessed e2e test redis configs and to output debug info when failing. Debugs #25657. 2016-05-18 04:22:09 +00:00
zhouhaibing089
2afa7eed44 fix the Store to be Indexer 2016-05-18 10:18:13 +08:00
Janet Kuo
e428b77cbe Fix e2e test failure: pull redis image from gcr instead of docker 2016-05-17 15:12:09 -07:00
Janet Kuo
b51782206f Generate gobindata data 2016-05-17 15:12:07 -07:00
Chao Xu
0cda99b8d7 fixing TestCascadingDeletion flake 2016-05-17 13:48:37 -07:00
gmarek
eb48166d5b Fix resource-gatherer that never gathered resources from non-master machines 2016-05-17 17:53:18 +02:00
k8s-merge-robot
959e6ca6b1 Merge pull request #25742 from jszczepkowski/kac-nodeport-test
Automatic merge from submit-queue

Added e2e test for cluster autoscaler that verifies host ports.

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

Added e2e test for cluster autoscaler that verifies host ports.
2016-05-17 07:13:24 -07:00
Jan Chaloupka
0e0be8421f gcr.io/google_containers/mounttest: use Stat instead of Lstat to retrieve fileinfo of symlinks as well 2016-05-17 15:57:33 +02:00
Jerzy Szczepkowski
905382f7b8 Added e2e test for cluster autoscaler that verifies host ports.
Added e2e test for cluster autoscaler that verifies host ports.
2016-05-17 15:07:30 +02:00
gmarek
0848ad2201 Prevent division by 0 error in resource-gatherer 2016-05-17 14:35:48 +02:00
Wojciech Tyczynski
2f2d650150 Merge pull request #25667 from wojtek-t/higher_list_nodes_limit
Bump threshold for listing nodes
2016-05-17 10:46:30 +02:00
Wojciech Tyczynski
022f510312 Fix services in load test 2016-05-17 09:17:51 +02:00
Wojciech Tyczynski
abe8259a30 Bump threshold for listing nodes 2016-05-17 08:45:53 +02:00
Clayton Coleman
205a8b4574
Add init container loading to the kubelet 2016-05-17 00:29:53 -04:00
Jeff Grafton
83dd910175 Add a timeout to the node e2e Ginkgo test runner
Also add a few debugging statements to indicate progress.
2016-05-16 20:22:41 -07:00
Random-Liu
d1ab3b7f01 Change consistently check timeout to 20 seconds. 2016-05-16 16:38:40 -07:00
k8s-merge-robot
a0cc59f28a Merge pull request #25658 from jszczepkowski/kac-test
Automatic merge from submit-queue

Updated e2e tests for cluster autoscaling.

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

Updated e2e tests for cluster autoscaling to work with the new cluster autoscaler.
2016-05-16 06:56:30 -07:00
Jerzy Szczepkowski
96818874f4 Updated e2e tests for cluster autoscaling.
Updated e2e tests for cluster autoscaling to work with the new cluster autoscaler.
2016-05-16 14:49:43 +02:00
k8s-merge-robot
9aa1a59443 Merge pull request #25568 from wojtek-t/namespaces_in_load_test
Automatic merge from submit-queue

Introduce namespaces in load test

Ref #25563
2016-05-16 01:01:29 -07:00
Chao Xu
21706384f7 use garbage queue drained instead of a watch 2016-05-16 00:14:51 -07:00
Wojciech Tyczynski
4b0b6a13e0 Introduce namespaces in load test 2016-05-16 08:33:27 +02:00
Chao Xu
c73406bcfe the garbage collector controller 2016-05-15 16:04:19 -07:00
k8s-merge-robot
141f814eb8 Merge pull request #25100 from rootfs/e2e-gce-volume
Automatic merge from submit-queue

add GCE PD volume e2e tests

add GCE PD e2e volume test

@kubernetes/sig-storage
2016-05-15 05:33:38 -07:00
k8s-merge-robot
cb9a85166c Merge pull request #24191 from liangchenye/podstatus
Automatic merge from submit-queue

Add pod status/ready/restartCount conformance test

add more test cases to cover containers which will be terminated/running/failed/pending.

Signed-off-by: liang chenye <liangchenye@huawei.com>
2016-05-14 09:29:00 -07:00
k8s-merge-robot
9796900306 Merge pull request #25551 from mml/db.store.codegen
Automatic merge from submit-queue

The remaining API changes for PodDisruptionBudget.

It's mostly the boilerplate required for the registry, some extra codegen, and a few tests.

Will squash once we're sure it's good.
2016-05-13 20:15:15 -07:00
Matt Liggett
f5e8d41431 Finish implementing policy API.
Registry implementation and addition to the master.
2016-05-13 17:27:58 -07:00
Jeff Lowdermilk
731a4f78f2 Merge pull request #25537 from jlowdermilk/e2e-framework-fix
e2e: make ForEach fail if filter is empty, fix no-op tests
2016-05-13 17:04:33 -07:00
Jeff Lowdermilk
e02cad4a11 Merge pull request #25564 from davidopp/fix-pod-affinity-test
Move test input files from test/e2e/node-selection/ to test/e2e/testing-manifests/
2016-05-13 16:07:20 -07:00
Jeff Lowdermilk
6a15e0a9c2 e2e: make ForEach fail if filter is empty, fix no-op tests 2016-05-13 14:56:50 -07:00
Jeff Lowdermilk
4aabafe4c3 Merge pull request #25519 from jlowdermilk/no-trim
Don't trim whitespace from kubectl output in e2e tests
2016-05-13 13:01:22 -07:00
David Oppenheimer
dd70a5e579 Move test input files from test/e2e/node-selection/ to
test/e2e/testing-manifests/ since the latter are included in the test
tarball while the former are not.
2016-05-13 11:47:17 -07:00
gmarek
74773827ba Add an option for resource-gatherer to look only on master node 2016-05-13 09:53:38 +02:00
k8s-merge-robot
4bb30e0097 Merge pull request #24806 from jayunit100/kubectl-stdin
Automatic merge from submit-queue

[e2e] kubectl stdin

Problem:  Currently kubectl heavily relies on files which have to be (for lack of a better word :):):)) "written" to the file system.  This hinders adoption of something like gobindata, by forcing an intermediary generated-assets directory type thing.

Solution: Lets migrate `kubectl.go` testing over to using standard input streams.

cc @kubernetes/sig-testing @timothysc
2016-05-13 00:10:43 -07:00
Jeff Lowdermilk
9dab67d106 move same image rolling-update test out of Flaky 2016-05-12 14:22:23 -07:00
k8s-merge-robot
15919f336f Merge pull request #25284 from bprashanth/service_unready
Automatic merge from submit-queue

Add a service annotation that allows endpoints for unready pods

See https://github.com/kubernetes/kubernetes/issues/25283 for context 
@smarterclayton @thockin yes?

<!-- 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/25284)
<!-- Reviewable:end -->
2016-05-12 12:05:27 -07:00
Jeff Lowdermilk
5f0d1f04b8 Don't trim whitespace from kubectl output in e2e tests 2016-05-12 09:00:51 -07:00
k8s-merge-robot
132ebb091a Merge pull request #24459 from fgrzadkowski/unschedulable_pod
Automatic merge from submit-queue

Add pod condition PodScheduled to detect situation when scheduler tried to schedule a Pod, but failed

Set `PodSchedule` condition to `ConditionFalse` in `scheduleOne()` if scheduling failed and to `ConditionTrue` in `/bind` subresource.

Ref #24404

@mml (as it seems to be related to "why pending" effort)

<!-- 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/24459)
<!-- Reviewable:end -->
2016-05-12 05:54:06 -07:00
Filip Grzadkowski
a80b1798c4 Add pod condition PodScheduled to detect situation
when scheduler tried to schedule a Pod, but failed.

Ref #24404
2016-05-12 10:21:21 +02:00
liang chenye
4ddb160bd0 e2e-node test: check runtime ready/restartcount/status
Signed-off-by: liang chenye <liangchenye@huawei.com>
2016-05-12 15:29:35 +08:00
k8s-merge-robot
0ef4c6407b Merge pull request #24902 from cjcullen/webhookAuthn
Automatic merge from submit-queue

Webhook Token Authenticator

Add a webhook token authenticator plugin to allow a remote service to make authentication decisions.
2016-05-11 22:08:58 -07:00
k8s-merge-robot
b1560f36c3 Merge pull request #25477 from gmarek/e2e_dump
Automatic merge from submit-queue

Add a flag to disable dumpig logs after e2e test failure

cc @kubernetes/sig-testing
2016-05-11 20:34:58 -07:00
saadali
b83af3d481 Change "speter.net/go/exp/math/dec/inf" dependency
to "https://gopkg.in/inf.v0"
2016-05-11 17:01:28 -07:00
k8s-merge-robot
e0f7de94f5 Merge pull request #25279 from piosz/hpa-ga
Automatic merge from submit-queue

Move internal types of hpa from pkg/apis/extensions to pkg/apis/autoscaling

ref #21577

@lavalamp could you please review or delegate to someone from CSI team?
@janetkuo could you please take a look into the kubelet changes?

cc @fgrzadkowski @jszczepkowski @mwielgus @kubernetes/autoscaling
2016-05-11 13:19:42 -07:00
k8s-merge-robot
5673f13edf Merge pull request #24014 from ihmccreery/chaosmonkey-no-ginkgo
Automatic merge from submit-queue

Upgrades tests use chaosmonkey package and ServiceTestJig

Introduce the `chaosmonkey` e2e package for doing disruptive testing (e.g. upgrade testing) more easily.

- [x] `chaosmonkey` package
- [x] migrate upgrade tests to `chaosmonkey` (using WIP `serviceJig`)
- [x] migrate upgrade tests to use `ServiceTestJig` and `chaosmonkey`

Deferred:

- [ ] make `ServiceTestJig` implement `chaosmonkey.Interface`
- [ ] migrate disruptive services tests to use `ServiceTestJig` and `chaosmonkey`

This provides the extensible framework for #15131.  We should now easily be able to add tests (e.g. #6084, #23189).

This is a rewrite of #22446.

cc @mikedanese @quinton-hoole @roberthbailey 

Assigning to @thockin, who wrote `ServiceTestJig`.

<!-- 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/24014)
<!-- Reviewable:end -->
2016-05-11 11:54:11 -07:00
k8s-merge-robot
7e7465e2d4 Merge pull request #25423 from caesarxuchao/dynamic-listoptions
Automatic merge from submit-queue

Let the dynamic client take runtime.Object instead of v1.ListOptions

so that I can pass whatever version of ListOptions to the List/Watch/DeleteCollection methods.

cc @krousey
2016-05-11 10:59:21 -07:00
gmarek
2696e35be3 Add a flag to disable dumpig logs after e2e test failure 2016-05-11 16:53:30 +02:00
Wojciech Tyczynski
fe470b664b Pipe content-type variable to hollow node 2016-05-11 14:57:40 +02:00
k8s-merge-robot
b79a1bb689 Merge pull request #25410 from gmarek/pipe
Automatic merge from submit-queue

Pipe variables from kubemark config to master binaries
2016-05-11 03:45:31 -07:00
gmarek
4a5ec11ce6 Pipe variables from kubemark config to master binaries 2016-05-11 11:22:03 +02:00
Fabio Yeon
0809b2be4d Merge pull request #25119 from XiaoningDing/api-shared-annotations
move shared annotations to new api/annotations package
2016-05-10 19:34:17 -07:00
derekwaynecarr
fc3e71894d Improve quota integration test to not use events, reduce number of pods provisioned 2016-05-10 19:50:36 -04:00
Chao Xu
c7d111280f let dynamic client take runtime.Object instead of v1.ListOptions 2016-05-10 16:05:31 -07:00
Fabio Yeon
c4a2724eb2 Merge pull request #25080 from derekwaynecarr/quota_controller_close_channels
Quota integration test was not closing launched controllers
2016-05-10 15:49:59 -07:00
CJ Cullen
eb3b0e78b4 Add a webhook token authenticator plugin. 2016-05-10 14:54:35 -07:00
Prashanth Balasubramanian
74ccd24574 Endpoints controller respects unready service annotation 2016-05-10 14:20:10 -07:00
Jay Vyas
801c968fff Standard input for kubectl tests
rebased to include gobindata as well.
2016-05-10 14:16:50 -04:00
Fabio Yeon
6f288b31cf Merge pull request #25364 from krousey/proxy_exec_flake
Adding extra logging in case of error.
2016-05-10 10:37:30 -07:00
derekwaynecarr
e842f12c8c Quota integration test needs to stop controllers 2016-05-10 12:31:35 -04:00
k8s-merge-robot
c4214f743f Merge pull request #24918 from Random-Liu/add-docker-operation-timeout
Automatic merge from submit-queue

Kubelet: Add docker operation timeout

For #23563.
Based on #24748, only the last 2 commits are new.

This PR:
1) Add timeout for all docker operations.
2) Add docker operation timeout metrics
3) Cleanup kubelet stats and add runtime operation error and timeout rate monitoring.
4) Monitor runtime operation error and timeout rate in kubelet perf.

@yujuhong 
/cc @gmarek Because of the metrics change.
/cc @kubernetes/sig-node
2016-05-09 21:51:52 -07:00
Kris
d63a215b23 Adding extra logging in case of error. 2016-05-09 11:40:05 -07:00
jianhuiz
441e206671 move server client shared annotations to new api/annotations package 2016-05-09 11:10:44 -07:00
k8s-merge-robot
4642621baf Merge pull request #25348 from gmarek/cidr
Automatic merge from submit-queue

Make Kubemark assign cluster CIDRs
2016-05-09 07:32:36 -07:00
gmarek
7981f479de Make Kubemark assign cluster CIDRs 2016-05-09 15:09:37 +02:00
k8s-merge-robot
1a1229e206 Merge pull request #24795 from deads2k/use-all-attributes
Automatic merge from submit-queue

enable resource name and service account cases for impersonation

Adds the resource name check since that attribute was added for authorization.  Also adds a check against a separate resource for service accounts.  Allowing impersonation of service accounts to use a different resource check places control of impersonation with the same users to have the power to get the SA tokens directly.

@kubernetes/kube-iam 
@sgallagher FYI
2016-05-09 04:58:19 -07:00
k8s-merge-robot
84db106ecb Merge pull request #24701 from euank/addon-ssh-user
Automatic merge from submit-queue

test/e2e/addon_update: Respect KUBE_SSH_USER

This change makes the e2e tests more consistent as the other ones all already respected this variable.

I didn't do the larger change of re-factoring it to use `framework.SSH` because getting the `scp` portion working there has some significant complexity. If I find time, I'd like to go back and do it since this test needs a little ❤️

cc @yifan-gu, @kubernetes/sig-testing
2016-05-09 03:31:48 -07:00
k8s-merge-robot
761fc00234 Merge pull request #25337 from wojtek-t/content_type_in_tests
Automatic merge from submit-queue

Enable using protobufs in e2e tests

ref #25132
2016-05-09 02:50:03 -07:00
k8s-merge-robot
87cf3a31bb Merge pull request #24544 from gmarek/heapster
Automatic merge from submit-queue

Add heapster to kubemark

cc @mwielgus
2016-05-09 02:49:59 -07:00
Wojciech Tyczynski
cb875e0f8c Enable using protobufs in e2e tests 2016-05-09 10:57:35 +02:00
Piotr Szczesniak
212b459817 Move internal types of hpa from pkg/apis/extensions to pkg/apis/autoscaling 2016-05-09 09:18:13 +02:00
Tim Hockin
cbf886c7f4 Convert everything to use vendor/ 2016-05-08 20:30:37 -07:00
k8s-merge-robot
d4b1b6776a Merge pull request #24557 from swagiaal/attacher-interface
Automatic merge from submit-queue

 Abstract node side functionality of attachable plugins

- Create PhysicalAttacher interface to abstract MountDevice and
  WaitForAttach.
- Create PhysicalDetacher interface to abstract WaitForDetach and
  UnmountDevice.
- Expand unit tests to check that Attach, Detach, WaitForAttach,
  WaitForDetach, MountDevice, and UnmountDevice get call where
  appropriet.

Physical{Attacher,Detacher} are working titles suggestions welcome. Some other thoughts:
- NodeSideAttacher or NodeAttacher.
- AttachWatcher
- Call this Attacher and call the Current Attacher CloudAttacher.
- DeviceMounter (although there are way too many things called Mounter right now :/)

This is to address: https://github.com/kubernetes/kubernetes/pull/21709#issuecomment-192035382

@saad-ali
2016-05-08 14:04:44 -07:00
k8s-merge-robot
f40fe7173b Merge pull request #24304 from cjcullen/cacheauth
Automatic merge from submit-queue

Support persisting config from kubecfg AuthProvider plugins

Plumbs through an interface to the plugin that can persist a `map[string]string` config for just that plugin. Also adds `config` to the AuthProvider serialization type, and `Login()` to the AuthProvider plugin interface.
Modified the gcp AuthProvider to cache short-term access tokens in the kubecfg file.

Builds on #23066 
@bobbyrullo @deads2k @jlowdermilk @erictune
2016-05-08 13:27:57 -07:00
k8s-merge-robot
53b3ef2122 Merge pull request #23988 from php-coder/kubectl_describe_multiline_labels
Automatic merge from submit-queue

kubectl describe: show multiple labels/annotations on multiple lines

Small UX improvement: when there is more than one label/annotation, it's more readable to see them on the different lines.

Before:
```console
$ kubectl describe svc
Name:			s2i-test
Namespace:		test2
Labels:			app=s2i-test,foo=bar
...
```
After:
```console
$ kubectl describe svc
Name:			s2i-test
Namespace:		test2
Labels:			app=s2i-test
				foo=bar
...
```
This change affects output of the labels/annotations in many of the sub-commands of the `kubectl describe`.

PTAL @smarterclayton @kargakis
2016-05-08 12:51:45 -07:00
k8s-merge-robot
f46f35a9df Merge pull request #23600 from mikedanese/addon-manager
Automatic merge from submit-queue

run kube-addon-manager in a static pod

Depends on https://github.com/kubernetes/kubernetes/pull/23605 and https://github.com/kubernetes/kubernetes/pull/24108

Ref #23233
2016-05-08 11:30:44 -07:00
k8s-merge-robot
601e09852c Merge pull request #23590 from kargakis/timeout-logs-attach
Automatic merge from submit-queue

kubectl: more sophisticated pod selection for logs and attach

Trying to get the logs or attach to an object other than a pod
will poll forever if that object has no replicas. This commit adds
a 20s timeout for polling.

@kubernetes/kubectl @deads2k @fabianofranz
2016-05-08 10:51:00 -07:00
k8s-merge-robot
8a04506546 Merge pull request #23009 from uluyol/c-pause
Automatic merge from submit-queue

Reimplement 'pause' in C - smaller footprint all around

Statically links against musl. Size of amd64 binary is 3560 bytes.

I couldn't test the arm binary since I have no hardware to test it on, though I assume we want it to work on a raspberry pi.

This PR also adds the gcc5/musl cross compiling image used to build the binaries.

@thockin
2016-05-08 09:29:32 -07:00
k8s-merge-robot
f2f3b49f58 Merge pull request #22575 from MikaelCluseau/wip-issue-20466
Automatic merge from submit-queue

Add subPath to mount a child dir or file of a volumeMount

Allow users to specify a subPath in Container.volumeMounts so they can use a single volume for many mounts instead of creating many volumes. For instance, a user can now use a single PersistentVolume to store the Mysql database and the document root of an Apache server of a LAMP stack pod by mapping them to different subPaths in this single volume.

Also solves https://github.com/kubernetes/kubernetes/issues/20466.
2016-05-08 08:45:15 -07:00
CJ Cullen
13a7d92d0f Add a ConfigPersister for AuthProvider plugins in kubectl/clients. 2016-05-07 18:15:18 -07:00
David Oppenheimer
b0bd3ff167 Move inter-pod affinity predicate and priority functions from default to
non-default due to negative performance effects even when not using
the feature.
2016-05-07 16:57:07 -07:00
Robert Bailey
dcd6df15cf Merge pull request #25295 from spxtr/disable-test
PersistentVolumes NFS test to the flaky suite.
2016-05-06 20:35:45 -07:00
k8s-merge-robot
2b46c4b7e2 Merge pull request #24391 from bprashanth/ing_templated_controller
Automatic merge from submit-queue

Template the ingress controller 

We still need https://github.com/kubernetes/contrib/pull/791 to run the controller as a static pod
ref https://github.com/kubernetes/kubernetes/issues/23663
2016-05-06 20:04:51 -07:00
Joe Finney
fa74d2c9de PersistentVolumes NFS test to the flaky suite. 2016-05-06 18:26:19 -07:00
Huamin Chen
079474b69e add GCE PD volume e2e tests
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-05-06 22:13:04 +00:00
Robert Bailey
18a829e7a4 Merge pull request #24512 from freehan/goproxyflake
reuse goproxy pod and avoid race between kubectl exec and goproxy readiness
2016-05-06 14:46:30 -07:00
Robert Bailey
8bebc448cb Merge pull request #25004 from yifan-gu/mask_locksmithd
e2e_node: Disable auto restart on CoreOS.
2016-05-06 14:15:43 -07:00
Robert Bailey
6c3ed90b66 Merge pull request #24804 from ncdc/fix-node-e2e-failure-output
Fix node e2e startServer failure output
2016-05-06 13:26:41 -07:00
Mike Danese
3e1c0b5951 run kube-addon-manager in a pod 2016-05-06 11:01:06 -07:00
Random-Liu
148588e6a1 1) Add docker operation timeout metrics.
2) Cleanup kubelet stats and add runtime operation error and timeout
rate monitoring.
3) Monitor runtime operation error and timeout rate in
kubelet perf.
2016-05-06 10:53:13 -07:00
Jay Vyas
326b213231 Consolidate node selecting tests to only use Schedulable + Running
nodes.
2016-05-06 10:32:12 -04:00
k8s-merge-robot
9f2d75adf3 Merge pull request #25128 from jsafrane/devel/enable-volume-test
Automatic merge from submit-queue

e2e: Enable persistent volume test

The test is already there and all packages should be already available on all test machines.
    
It tests:

- binding
- using bound claim in a pod
- recycling NFS volume

(we should see shortly if all nfs packages are really installed as Jenkins tests it...)
2016-05-06 05:34:12 -07:00
Kevin
82ba4f077e implement inter pod topological affinity and anti-affinity 2016-05-06 06:46:23 +00:00
k8s-merge-robot
2ebd771915 Merge pull request #25121 from liangchenye/flakepodnotfound
Automatic merge from submit-queue

fix #24937:  flake pod not found

https://github.com/kubernetes/kubernetes/issues/24937
Split from #24191
Signed-off-by: liang chenye <liangchenye@huawei.com>
2016-05-05 22:40:58 -07:00
Mikaël Cluseau
06900a934d Introduce subPath in VolumeMount 2016-05-06 15:08:41 +11:00
k8s-merge-robot
ab36e0e35e Merge pull request #24710 from smarterclayton/store_proto_in_etcd
Automatic merge from submit-queue

Allow etcd to store protobuf objects

Split storage serialization from client negotiation, and allow API server to take flag controlling serialization.

TODO:

* [x] API server still doesn't start - range allocation object doesn't seem to round trip correctly to etcd
* [ ] Verify that third party resources are ignoring protobuf (add a test)
* [ ] Add integration tests that verify storage is correctly protobuf
* [ ] Add a global default for which storage format to prefer?
2016-05-05 19:00:20 -07:00
Clayton Coleman
ea4a7e24ad
Remove the cluster DNS verification check from the test
Alternate DNS implementations may be conformant without implementing DNS
as a pod.
2016-05-05 14:04:48 -04:00
k8s-merge-robot
1f6711ca07 Merge pull request #25192 from ingvagabund/e2e-framework-util-start-pods-dont-wait-for-zero-pods
Automatic merge from submit-queue

e2e/framework/util.StartPods: don't wait for pods that are not created

When running ``[k8s.io] SchedulerPredicates [Serial] validates resource limits of pods that are allowed to run [Conformance]`` pods can be created in a way in which additional pods have to be create to fully saturate node's capacity CPU in a cluster. Additional pods are created by calling ``framework.StartPods``. The function creates pods with a given label and waits for them (if ``waitForRunning`` is ``true``). This is fine as long as the number of pods to created is non-zero. If there are zero pods to be created and ``waitForRunning`` is ``true``, the function waits forever as there is not going to be any pods with requested label. Thus, resulting in ``Error waiting for 0 pods to be running - probably a timeout``. Causing the e2e test to fail even if it should not.

Adding condition to return from the function immediately if there is not pod to create.
2016-05-05 09:49:43 -07:00
Prashanth Balasubramanian
2d7e2eb09f Modify e2e to wait for RC to stabilize before test 2016-05-05 09:27:19 -07:00
Clayton Coleman
e0ebcf4216
Split the storage and negotiation parts of Codecs
The codec factory should support two distinct interfaces - negotiating
for a serializer with a client, vs reading or writing data to a storage
form (etcd, disk, etc). Make the EncodeForVersion and DecodeToVersion
methods only take Encoder and Decoder, and slight refactoring elsewhere.

In the storage factory, use a content type to control what serializer to
pick, and use the universal deserializer. This ensures that storage can
read JSON (which might be from older objects) while only writing
protobuf. Add exceptions for those resources that may not be able to
write to protobuf (specifically third party resources, but potentially
others in the future).
2016-05-05 12:08:23 -04:00
k8s-merge-robot
f5e1e9a227 Merge pull request #24912 from bprashanth/petset_controller
Automatic merge from submit-queue

Petset controller

Took longer than I expected. Main parts of this pr are:
1. Identity generation based on petset spec (volumes are mapped per discussion in #18016)
2. Ensure that we create/delete pets in sequence
3. Ensuring that we create, wait for healthy, create; or delete, wait for terminationGrace, delete
4. Controller that watches apiserver and drives actual -> desired

PVCs are not deleted, yet.
2016-05-05 08:58:23 -07:00
gmarek
78331db78d Fix units in kubemark resource gatherer 2016-05-05 14:10:21 +02:00
Jan Chaloupka
59fc509fb7 e2e/framework/util.StartPods: don't wait for pods that are not created 2016-05-05 12:28:03 +02:00
liang chenye
3c9306e521 fix #24937: flake pod not found
Signed-off-by: liang chenye <liangchenye@huawei.com>
2016-05-05 15:29:28 +08:00
k8s-merge-robot
9b5795dd55 Merge pull request #24979 from humblec/patch-1
Automatic merge from submit-queue

Update Dockerfile

## Pull Request Guidelines

1. Please read our [contributor guidelines](https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md).
1. See our [developer guide](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md).
1. Follow the instructions for [labeling and writing a release note for this PR](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes) in the block below.

```release-note
* Use the release-note-* labels to set the release note state 
* Clear this block to use the PR title as the release note 
-OR-
* Enter your extended release note here
```


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

Exposing 24008 is not required as glusterd listens on 24007 port.
2016-05-04 21:26:34 -07:00
Muhammed Uluyol
f3690e2d5e
build/pause: write in C
Builds statically against glibc. References to the old pause
image have been updated.
2016-05-04 21:45:52 -04:00
Prashanth Balasubramanian
6bc3052551 PetSet alpha controller 2016-05-04 18:39:17 -07:00
Alex Robinson
c65a6a431e Merge pull request #25148 from a-robinson/nodetag
GCE: Prefer preconfigured node tags for firewalls, if available
2016-05-04 18:16:37 -07:00
Alex Robinson
b75fa08aec GCE: Prefer preconfigured node tags for firewalls, if available 2016-05-04 22:49:06 +00:00
Joe Finney
81bb39c3c0 Mark two kubectl tests flaky. 2016-05-04 10:19:05 -07:00
k8s-merge-robot
1642083e60 Merge pull request #24645 from jlowdermilk/rolling-update
Automatic merge from submit-queue

kubectl rolling-update support for same image

Fixes #23497.

Enables `kubectl rolling-update --image` to the same image, adding a `--image-pull-policy` flag to remove ambiguity. This allows rolling-update to behave as an "update and/or restart" (https://github.com/kubernetes/kubernetes/issues/23497#issuecomment-212349730), or as a forced update when the same tag can mean multiple versions (e.g. `:latest`). cc @janetkuo @nikhiljindal
2016-05-04 07:24:22 -07:00
Sami Wagiaalla
71e7dba845 Abstract node side functionality of attachable plugins
- Expand Attacher/Detacher interfaces to break up work more
  explicitly.
- Add arguments to all functions to avoid having implementers store
  the data needed for operations.
- Expand unit tests to check that Attach, Detach, WaitForAttach,
  WaitForDetach, MountDevice, and UnmountDevice get call where
  appropriet.
2016-05-04 10:18:39 -04:00
k8s-merge-robot
3b63b06b1b Merge pull request #24849 from fejta/flake
Automatic merge from submit-queue

Use tagged redis image for kubectl test, move json test file out of deprecated examples

Closes #24642

Changes the redis image to use the :e2e tagged version on gcr.io.

Since the examples/ subdir is deprecated in favor of the new kubernetes/kubernetes.github.io I just copied this file to test-manifests/kubectl like some other files.
2016-05-04 05:53:17 -07:00
Jan Safranek
71796b7098 e2e: Enable persistent volume test
The test is already there and all packages should be already available on all
test machines (namely: mount.nfs).

It tests:
- binding
- using bound claim in a pod
- recycling NFS volume
2016-05-04 13:53:39 +02:00
Isaac Hollander McCreery
b1e284fd55 Fix svcPort to cast to int 2016-05-03 09:53:29 -07:00
Isaac Hollander McCreery
8dda27f9d4 Fix calling range variable from goroutine 2016-05-03 09:22:58 -07:00
Isaac Hollander McCreery
9ecbb0ae05 s/testDuringUpgrade/testDuringDisruption 2016-05-03 09:22:58 -07:00
Isaac Hollander McCreery
c4479c5b74 gofmt and add comment about waitForReadyOrDone 2016-05-03 09:22:58 -07:00
Isaac Hollander McCreery
27fb17e785 Poll much more frequently, remove wait for pods to be ready, and do one final check 2016-05-03 09:22:58 -07:00
Isaac Hollander McCreery
4e5e1b8ac5 Create chaosmonkey package, use ServiceTestJig for upgrade tests 2016-05-03 09:22:58 -07:00
k8s-merge-robot
926ee5b90f Merge pull request #24641 from caesarxuchao/pods-test
Automatic merge from submit-queue

move pods.go to pods_test.go

fix #24635
2016-05-02 13:16:20 -07:00
Andy Goldstein
e630070078 Fix node e2e startServer failure output
Correct the display of the output when e.g. starting the kubelet fails in the node e2e tests. This
change makes it display a string instead of an array of decimal values.
2016-05-02 14:30:59 -04:00
Michail Kargakis
a25088fe15 kubectl: more sophisticated pod selection for logs and attach 2016-05-02 15:56:36 +02:00
k8s-merge-robot
66730c53c5 Merge pull request #24445 from vishh/framework-node-e2e
Automatic merge from submit-queue

Framework support for node e2e.

This should let us port existing e2e tests to the node e2e suite, if the tests are node specific.
2016-05-02 02:17:48 -07:00
Yifan Gu
d705cc5cf8 e2e_node: Disable auto restart on CoreOS. 2016-05-01 23:48:16 -07:00
Yifan Gu
05951caa44 Revert "Disable coreos nodes from node e2e due to issues with ssh on coreos."
This reverts commit 33a46e0ed6.
2016-04-29 18:24:55 -07:00
Vishnu kannan
fa476b8044 Framework support for node e2e.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-29 15:37:35 -07:00
Clayton Coleman
fdb110c859
Fix the rest of the code 2016-04-29 17:12:10 -04:00
Vishnu kannan
33a46e0ed6 Disable coreos nodes from node e2e due to issues with ssh on coreos.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-29 10:52:41 -07:00
k8s-merge-robot
e6295f165a Merge pull request #22869 from jayunit100/iperf-e2e
Automatic merge from submit-queue

[Networking] [E2E]  n-to-1 iperf client->server throughput benchmarking
2016-04-29 10:03:29 -07:00
k8s-merge-robot
2b7021add0 Merge pull request #17030 from csrwng/pf_cmd_streams
Automatic merge from submit-queue

Port-forward: use out and error streams instead of glog

Switches use of glog with command out and error streams
2016-04-29 09:27:47 -07:00
k8s-merge-robot
11298d02e0 Merge pull request #24455 from hongchaodeng/fl
Automatic merge from submit-queue

Provide flags to use etcd3 backed storage

ref: #24405

What's in this PR?
- Add a new flag "storage-backend" to choose "etcd2" or "etcd3". By default (i.e. empty), it's "etcd2".
- Take out etcd config code into a standalone package and let it create etcd2 or etcd3 storage backend given user input.
2016-04-29 08:49:04 -07:00
Humble Devassy Chirammal
fbc22b39b9 Update Dockerfile
Exposing 24008 is not required as glusterd listens on 24007 port.
2016-04-29 19:46:30 +05:30
k8s-merge-robot
ad67363c12 Merge pull request #24362 from ArtfulCoder/hostname-field
Automatic merge from submit-queue

Promote Pod Hostname & Subdomain to fields (were annotations)

Deprecating the podHostName, subdomain and PodHostnames annotations and created corresponding new fields for them on PodSpec and Endpoints types.

Annotation doc: #22564
Annotation code: #20688
2016-04-29 01:06:45 -07:00
Chao Xu
6ceebe72b9 move pods.go to pods_test.go 2016-04-28 15:39:28 -07:00
Abhishek Shah
8a3ed48808 Added Hostname and Subdomain field to Pod.Spec 2016-04-28 10:56:56 -07:00
Slava Semushin
72b4b54f28 kubectl describe: show multiple labels/annotations on multiple lines.
When there is more than one label/annotation, it's more readable to see
them on the different lines.
2016-04-28 18:37:41 +02:00
k8s-merge-robot
a4e16319fd Merge pull request #24329 from liangchenye/refact
Automatic merge from submit-queue

refactor conformance test

@Random-Liu  Rebase the testing code.
 
Signed-off-by: liang chenye <liangchenye@huawei.com>
2016-04-28 03:53:59 -07:00
k8s-merge-robot
d0b887e4e0 Merge pull request #24595 from zhouhaibing089/httpserverclose
Automatic merge from submit-queue

Uncomment the code that caused by #19254

Fix https://github.com/kubernetes/kubernetes/issues/24546.

@lavalamp
2016-04-28 01:41:16 -07:00
liang chenye
aa3bf1faac refactor e2e_node conformance test
Signed-off-by: liang chenye <liangchenye@huawei.com>
2016-04-28 16:20:14 +08:00
k8s-merge-robot
19408e5575 Merge pull request #24893 from andyzheng0831/gci
Automatic merge from submit-queue

Add support for running clusters on GCI

Google Container-VM Image (GCI) is the next revision of Container-VM. See documentation at https://cloud.google.com/compute/docs/containers/vm-image/. This change adds support for starting a Kubernetes cluster using GCI.

With this change, users can start a kubernetes cluster using the latest kubelet and kubectl release binary built in the GCI image by running:

	$ KUBE_OS_DISTRIBUTION="gci" cluster/kube-up.sh

Or run a testing cluster on GCI by running:

	$ KUBE_OS_DISTRIBUTION="gci" go run hack/e2e.go -v --up

The commands above will choose the latest GCI image by default.
2016-04-27 23:46:26 -07:00
Hongchao Deng
c0071a1595 add flags to enable etcd3 2016-04-28 09:48:16 +08:00
k8s-merge-robot
e7708cbde2 Merge pull request #24827 from spxtr/fix-region
Automatic merge from submit-queue

Use zone from the test context for static IPs.
2016-04-27 17:24:21 -07:00
Andy Zheng
93929c3853 Add support for running clusters on GCI 2016-04-27 15:24:21 -07:00
Cesar Wong
55114efcb7 Port-forward: use out and error streams instead of glog 2016-04-27 13:26:54 -04:00
k8s-merge-robot
759f11bd4c Merge pull request #24541 from marun/net-e2e-remove-flaky
Automatic merge from submit-queue

Remove flaky tag from e2e net granular

The tests are running reliably on every origin merge and can be verified
similarly reliable on kube.

As per @jayunit100 on slack/sig-testing:

    ./cluster/kubectl.sh 2>&1 | grep Passed | grep Failed ; done
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
2016-04-27 09:11:36 -07:00
gmarek
b14809832b Add heapster to kubemark 2016-04-27 16:04:07 +02:00
k8s-merge-robot
32121e344b Merge pull request #24514 from derekwaynecarr/pod_quota_fix
Automatic merge from submit-queue

Quota ignores pod compute resources on updates

Scenario:

1. define a quota Q that tracks memory and cpu
2. create pod P that uses memory=100Mi, cpu=100m
3. update pod P to use memory=50Mi,cpu=10m

Expected Results:
Step 3 should fail with validation error.
Quota Q should not have changed.

Actual Results:
Step 3 fails validation, but quota Q is decremented to have memory usage down 50Mi and cpu usage down 40m.  This is because the quota was getting updated even though the pod was going to fail validation.

Fix:
Quota should only support modifying pod compute resources when pods themselves support modifying their compute resources.

This also fixes https://github.com/kubernetes/kubernetes/issues/24352

/cc @smarterclayton - this is what we discussed.

fyi: @kubernetes/rh-cluster-infra
2016-04-27 06:27:51 -07:00
Erick Fejta
08c5af6e45 Use tagged redis image for kubectl test, move json test file out of deprecated examples 2016-04-26 21:43:19 -07:00
k8s-merge-robot
af71fa72e7 Merge pull request #23574 from deads2k/add-extra
Automatic merge from submit-queue

add user.Info.GetExtra

I found myself wanting this field (or something like it), when trying to plumb the information about which scopes a particular token has.

Only the token authenticators have that information and I don't want tokens to leak past the authenticator.  I thought about extending the `authenticator.Token` interface to include scopes (`[]string`), but that felt a little specific for what I wanted to do.  I came up with this as an alternative.

It allows the token authenticator to fill in the information and authorizers already get handed the `user.Info`.  It means that implementors can choose to tie the layers together if they wish, using whatever data they think is best.  

@kubernetes/kube-iam
2016-04-26 21:14:53 -07:00
Joe Finney
7059717c78 Use zone from the test context for static IPs. 2016-04-26 17:39:48 -07:00
Minhan Xia
1993bf901a reuse goproxy pod and avoid race between kubectl exec and goproxy readiness 2016-04-26 16:45:10 -07:00
Yu-Ju Hong
bdadaefe3b e2e: add a dummy environment variable in the service tests
This works around the docker bug:
https://github.com/docker/docker/issues/14203
2016-04-26 16:25:26 -07:00
Jay Vyas
95e315e427 E2E Network performance run which uses iperf.
generic pod-per-node functionality for testing - 2 node test only
- update framework to decompose pod vs svc creation for composition.
- remove hard coded 2 and pointer to --scale
2016-04-26 18:42:19 -04:00
deads2k
e8ce9852e1 deflake quota master init order 2016-04-26 16:37:56 -04:00
deads2k
b4ebfd47c5 add user.Info.GetExtra 2016-04-26 15:08:34 -04:00
deads2k
622932422d enable resource name and service account cases for impersonation 2016-04-26 09:31:43 -04:00
k8s-merge-robot
cf38d68734 Merge pull request #23595 from vishh/image-accounting
Automatic merge from submit-queue

Collect and expose runtime's image storage usage via Kubelet's /stats/summary endpoint

This information is useful to users since docker images are typically not stored on the root filesystem.

Kubelet will also consume this feature in the future to decide is evicting images will help with disk usage on the nodes.

cc @kubernetes/sig-node
2016-04-25 21:34:30 -07:00
k8s-merge-robot
293b0d0815 Merge pull request #23493 from soltysh/move_job_internals
Automatic merge from submit-queue

Move internal types of job from pkg/apis/extensions to pkg/apis/batch

This addressed the job part of #23216, this is still WIP. Will notify once finished. I'd like to have it in before starting working on ScheduledJob. 

@lavalamp @erictune fyi
2016-04-25 20:58:49 -07:00
Vishnu kannan
e566948a75 Track image storage usage for docker containers
add image fs info to summary stats API.
Adding node e2e test for image stats.

Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-25 16:00:34 -07:00
Jeff Lowdermilk
9b91750284 add e2e test for same-image rolling-update 2016-04-25 13:38:45 -07:00
Euan Kemp
d76d2442e7 test/e2e/addon_update: Respect KUBE_SSH_USER 2016-04-25 12:28:33 -07:00
zhouhaibing089
bf1a3f99c0 Uncomment the code that cause by #19254 2016-04-25 23:21:31 +08:00
deads2k
d3c6363093 use single writer to improve quota performance 2016-04-25 10:42:26 -04:00
Piotr Szczesniak
daf6be1a66 Merge pull request #24706 from jayunit100/redis-wait
Slow down redis polling to ensure no flakiness in kubectl
2016-04-25 12:13:01 +02:00
Wojciech Tyczynski
c0020aff59 Merge pull request #24539 from smarterclayton/unify_stream_and_serial
Unify Streaming and normal Serializers
2016-04-25 11:25:16 +02:00
Maciej Szulik
a3b4447305 Move internal types of job from pkg/apis/extensions to pkg/apis/batch 2016-04-25 11:03:54 +02:00
k8s-merge-robot
39f62240db Merge pull request #24499 from gmarek/load
Automatic merge from submit-queue

Add Services to Load test
2016-04-23 23:03:53 -07:00
k8s-merge-robot
5e16602b6c Merge pull request #24443 from Random-Liu/mirror-pod-node-e2e-test
Automatic merge from submit-queue

Add node e2e test for mirror pod.

This is a node e2e test for mirror pod.

After this get merged, I'll revisit the mirror pod manager PR. #18638

/cc @yujuhong
2016-04-23 15:54:46 -07:00
k8s-merge-robot
0057931f4e Merge pull request #24434 from gmarek/services
Automatic merge from submit-queue

Create multiple RCs in NC - prerequisite for adding services

WIP because I need to make the logs readable again.
2016-04-23 15:19:36 -07:00
k8s-merge-robot
de9c1a2a51 Merge pull request #24247 from sdminonne/service_loadbalancer_quotas
Automatic merge from submit-queue

Adding loadBalancer services to quota system

@derekwaynecarr follow up to #22154.
2016-04-23 10:22:45 -07:00
k8s-merge-robot
e61e396de7 Merge pull request #24291 from gmarek/gatherer
Automatic merge from submit-queue

Make resource gatherer work for Kubemark
2016-04-23 02:53:58 -07:00
k8s-merge-robot
71f0d058b6 Merge pull request #24542 from Random-Liu/versioned-perf-data
Automatic merge from submit-queue

Use mCPU as CPU usage unit, add version in PerfData, and fix memory usage bug.

Partially addressed #24436.

This PR:
1) Change the CPU usage unit to "mCPU"
2) Add version in PerfData, and perfdash will only support the newest version now.
3) Fix stupid mistake when calculating the memory usage average.

/cc @vishh
2016-04-23 01:17:59 -07:00
Jay Vyas
fcf254591f Slow down redis pod polling, ensure no flakiness in kubectl service
test.
2016-04-23 00:53:24 -04:00
k8s-merge-robot
aa4da07157 Merge pull request #24631 from goltermann/spell
Automatic merge from submit-queue

Fix a few typos in comments
2016-04-22 09:45:46 -07:00
Clayton Coleman
3111985564 Handle streaming serializers more consistently
Add tests to watch behavior in both protocols (http and websocket)
against all 3 media types. Adopt the
`application/vnd.kubernetes.protobuf;stream=watch` media type for the
content that comes back from a watch call so that it can be
distinguished from a Status result.
2016-04-22 11:07:24 -04:00
k8s-merge-robot
9a871ed554 Merge pull request #24284 from marun/e2e-conn-check-timeout
Automatic merge from submit-queue

Add timeout to e2e network connectivity checks

Some e2e tests use wget to check connectivity, and the default e2e
timeout is 900s.  This change allows the timeout to be specified on a
check-by-check basis.  This will also make the check useful for negative
checks (like those used by openshift to validate isolation) since a
short timeout is suggested where connectivity is not expected.
2016-04-21 23:41:44 -07:00
Random-Liu
c74f199223 Add node e2e test for mirror pod. 2016-04-21 22:11:06 -07:00
Yu-Ju Hong
a29432163e node_e2e: disable serialized image pulls and increase test timeout 2016-04-21 15:34:28 -07:00
goltermann
dddc6cb6c8 Fix a few spellings. 2016-04-21 15:16:42 -07:00
gmarek
3627bb7be9 Add Services to Load test 2016-04-21 22:00:26 +02:00
k8s-merge-robot
85de6acadc Merge pull request #23208 from deads2k/fix-version-override
Automatic merge from submit-queue

make storage enablement, serialization, and location orthogonal

This allows a caller (command-line, config, code) to specify multiple separate pieces of config information regarding storage and have them properly composed at runtime.  The information provided is exposed through interfaces to allow alternate implementations, which allows us to change the expression of the config moving forward.  I also fixed up the types to be correct as I moved through.

The same options still exist, but they're composed slightly differently
 1. specify target etcd servers per Group or per GroupResource
 1. specify storage GroupVersions per Groups or per GroupResource
 1. specify etcd prefixes per GroupVersion or per GroupResource
 1. specify that multiple GroupResources share the same location in etcd
 1. enable GroupResources by GroupVersion or by GroupResource whitelist or GroupResource blacklist

The `storage.Interface` is built per GroupResource by:
 1. find the set of possible storage GroupResource based on the priority list of cohabitators
 1. choose a GroupResource from the set by looking at which Groups have the resource enabled
 1. find the target etcd server, etcd prefix, and storage encoding based on the GroupResource

The API server can have its resources separately enabled, but for now I've kept them linked.

@liggitt I think we need this (or something like it) to be able to go from config to these interfaces.  Given another round of refactoring, we may be able to reshape these to be more forward driving.

@smarterclayton this is important for rebasing and for a seamless 1.2 to 1.3 migration for us.
2016-04-21 08:24:29 -07:00
gmarek
d344c2e32b Create multiple RCs in NC - prerequisite for adding services 2016-04-21 17:20:05 +02:00
k8s-merge-robot
35ea9b87b8 Merge pull request #24185 from jsafrane/devel/stabilize-provisioning-e2e
Automatic merge from submit-queue

Increase provisioning test timeouts.

We've encountered flakes in our e2e infrastructure when kubelet took more than one minute to detach a volume used by a deleted pod.

Let's increase the wait period from 1 to 3 minutes. This slows down the test by 2 minutes, but it makes the test more stable.

In addition, when kubelet cannot detach a volume for 3 minutes, let the test wait for additional recycle controller retry interval (10 minutes) and hope the volume is deleted by then. This should not increase usual test time, it makes the test stable when kubelet is _extremely_ slow when releasing the volume.

Fixes: #24161
2016-04-21 06:03:37 -07:00
deads2k
6670b73b18 make storage enablement, serialization, and location orthogonal 2016-04-21 08:18:55 -04:00
deads2k
3be4b690ea create a negotiating serializer that wraps a single serializer 2016-04-21 07:51:59 -04:00
Prashanth Balasubramanian
0ac10c6cc2 PetSet type, apps apigroup 2016-04-20 18:49:31 -07:00
Random-Liu
7af6642e65 Use mCPU as CPU usage unit, add version in PerfData, fix memory usage bug. 2016-04-20 16:42:14 -07:00
Prashanth Balasubramanian
1f4e48ba59 E2E changes to support templated addon 2016-04-20 16:15:26 -07:00
k8s-merge-robot
8a76a1bd36 Merge pull request #24234 from goltermann/vetclean
Automatic merge from submit-queue

Enable go vet.
2016-04-20 14:50:37 -07:00
Maru Newby
3a28868eb9 Remove flaky tag from e2e net granular
The tests are running reliably on every origin merge and can be verified
similarly reliable on kube.
2016-04-20 17:53:05 +00:00
goltermann
3fa6c6f6d9 Enable vet 2016-04-20 09:48:24 -07:00
k8s-merge-robot
3753e2bded Merge pull request #24180 from AdoHe/reuse_node_port
Automatic merge from submit-queue

Fix unintended change of Service.spec.ports[].nodePort during kubectl apply

Please refer #23551 for more detail. @bgrant0607 I think this simple fix should be ok to reuse nodePort. @thockin ptal.

Release note: Fix unintended change of `Service.spec.ports[].nodePort` during `kubectl apply`.
2016-04-20 08:51:40 -07:00
k8s-merge-robot
f3f6ffaa28 Merge pull request #24524 from wojtek-t/fix_scheduler_2
Automatic merge from submit-queue

Add RC and container pors to scheduler benchmark

Fix #23263

Ref  #24408
However - scheduler throughput is still ~140 initially, whereas in reality we have 35-40. There are still significant difference we should understand.

@hongchaodeng @xiang90
2016-04-20 07:18:20 -07:00
Wojciech Tyczynski
a4b3f47347 Add RC and container pors to scheduler benchmark 2016-04-20 15:10:57 +02:00
k8s-merge-robot
15ed9dbd02 Merge pull request #23771 from jayunit100/ClusterVerificationFramework
Automatic merge from submit-queue

Cluster Verification Framework

I've spent the last few days looking at the general patterns of verification we have that we tend to reuse in the e2es.  Basically, we need 
 
- label filters
- forEach and WaitFor (where forEach doesn't necessarily waitFor anything).
- timeouts
- multiple phases (reusable definition of state)
- an extensible way to define cluster state that can evolve over time in a data object rather than as a set of parameters that have magic semantics

This PR 
- implements the abstract above functionality declaratively, and w/o hidden semantics.
- addresses the sprawling duplicate methods in #23540, so that we can phase out the wrapper methods and replace them with well defined, extensible semantics for cluster state.
- fixes the recently discovered #23730 issue (where kubectl.go is relying on examples.go, which is obviously wacky) by using the new framework to implement forEachPod in just a couple of lines and migrating the wrapper function into framework.go.

There is some cleanup to do here, but this is seemingly working for a couple of use cases that are important (spark,cassandra,...,kubectl) tests. - i played with a few different ideas and this wound up seeming to be the most natural implementation from a usability standpoint... 

in any case, just thought id push this up as a first iteration, open to feedback.

@kubernetes/sig-testing @timothysc
2016-04-20 04:23:21 -07:00
k8s-merge-robot
1c80864913 Merge pull request #24257 from zmerlynn/1000nodes
Automatic merge from submit-queue

Fix DNS test for larger clusters

On GKE, we scale the number of DNS pods based on the cluster size. For
testing on larger clusters, relax the DNS pod check.
2016-04-20 03:49:40 -07:00
AdoHe
16960d3ad2 fix reuse nodePort issue 2016-04-20 02:30:03 -04:00
k8s-merge-robot
86544c2288 Merge pull request #24426 from pwittrock/flaky
Automatic merge from submit-queue

Incremental improvements to kubelet e2e tests

- Add keep-alive to ssh connection
- Don't try to stop services on image-based runs
- Increase jenkins ci timeout to 90 minutes to accomadate unpredictable go build times
- Remove spammy log statement
2016-04-19 22:36:40 -07:00
derekwaynecarr
b92b7255f4 Quota ignores pod compute resources on updates 2016-04-19 23:05:59 -04:00
k8s-merge-robot
4638f2f355 Merge pull request #24466 from wojtek-t/fix_scheduler_benchmark
Automatic merge from submit-queue

Improve script for running scheduler benchmarks

Without this change, this script didn't work in my environment - it's making more consistent with other scripts.

@hongchaodeng @xiang90
2016-04-19 08:43:50 -07:00
Wojciech Tyczynski
762bfa3d97 Improve script for running scheduler benchmarks 2016-04-19 16:23:23 +02:00
k8s-merge-robot
db28f73c3b Merge pull request #24282 from goltermann/spelling
Automatic merge from submit-queue

Fix misspellings in comments
2016-04-19 03:47:07 -07:00
k8s-merge-robot
56d7579bfd Merge pull request #24359 from janetkuo/rollover-e2e-no-events
Automatic merge from submit-queue

Avoid relying on events in deployment rollover e2e test

Fixes #22028

@kubernetes/sig-config
2016-04-18 16:51:22 -07:00
Phillip Wittrock
90d2f9ad5e Incremental improvements to kubelet e2e tests
- Add keep-alive to ssh connection
- Don't try to stop services on image-based runs
- Increase jenkins ci timeout to 90 minutes to accomadate unpredictable go build times
- Remove spammy log statement
2016-04-18 13:56:07 -07:00
k8s-merge-robot
5ad27f2720 Merge pull request #23575 from deads2k/shared-cache
Automatic merge from submit-queue

shared controller informers

Related to https://github.com/kubernetes/kubernetes/issues/14978

This demonstrates how controllers which use an `Informer`, would be able to share the same watch and store.  A similar "setup and run" approach could be done for an `IndexInformer` to share that cache.  I found adding listeners here to be easier than intercepting at the watch interface (problems with resourceVersion) or the reflector (same plumbing, but you have to fan out to multiple stores).

We could also use the cache we build here to back several of the admission plugins that currently run their own lookup caches today.

If there's interest, I can finish out the `SharedInformer` and switch the low hanging fruit over.  

@kubernetes/rh-cluster-infra @smarterclayton @liggitt @wojtek-t
2016-04-18 07:48:29 -07:00
k8s-merge-robot
d37e6ad332 Merge pull request #24126 from Random-Liu/fix-pull-image
Automatic merge from submit-queue

Fix PullImage and add corresponding node e2e test

Fixes #24101. This is a bug introduced by #23506, since ref #23563.

The root cause of #24101 is described [here](https://github.com/kubernetes/kubernetes/issues/24101#issuecomment-208547623).

This PR
1) Fixes #24101 by decoding the messages returned during pulling image, and return error if any of the messages contains error.
2) Add the node e2e test to detect this kind of failure.
3) Get present check out of `ConformanceImage.Remove()` and `ConformanceImage.Pull()`. Because sometimes we may expect error to occur in `PullImage()` and `RemoveImage()`, but even that doesn't happen, the `Present()` check will still return error and let the test pass.

@yujuhong @freehan @liangchenye 

Also /cc @resouer, because he is doing the image related functions refactoring.
2016-04-18 07:05:44 -07:00
Jay Vyas
632a0a81d4 Cluster verification framework supporting declarative definition and iteration against pod spectrum
- rebase: ForEach only on Running pods
- add waitFor step in guestbook describe and wrapper
- simplify logs in polling, make panic immediate, give rolluped stats in
the logs.

Improve logging for failure on ForEach
2016-04-18 10:01:10 -04:00
deads2k
f0c33d65b6 start sharing the pod cache and list/watch 2016-04-18 08:51:55 -04:00
Jan Safranek
3137b4cd02 Increase provisioning test timeouts.
We've encountered flakes in our e2e infrastructure when kubelet took more than
one minute to detach a volume used by a deleted pod.

Let's increase the wait period from 1 to 3 minutes. This slows down the test
by 2 minutes, but it makes the test more stable.

In addition, when kubelet cannot detach a volume for 3 minutes, let the test
wait for additional recycle controller retry interval (10 minutes) and hope the
volume is deleted by then. This should not increase usual test time, it makes
the test stable when kubelet is _extremely_ slow when releasing the volume.
2016-04-18 13:06:09 +02:00
k8s-merge-robot
b73164792f Merge pull request #24098 from rootfs/e2e-test
Automatic merge from submit-queue

some enhancement to run volume e2e tests
2016-04-17 23:19:10 -07:00
k8s-merge-robot
934d7ebb33 Merge pull request #23968 from yujuhong/privileged_containers
Automatic merge from submit-queue

e2e_node: port privileged pod tests from test/e2e/priviliged.go

The ported test is functionally the same as the original test.
The main difference between the two tests is that the original test relies on
`kubectl` to exec into the container, while the latter directly uses the REST
client of the apiserver. This avoids the need to copy kubectl to the node under
test.
2016-04-17 12:37:12 -07:00
k8s-merge-robot
2b9637da6a Merge pull request #23945 from smarterclayton/move_reset_metrics
Automatic merge from submit-queue

Move /resetMetrics to DELETE /metrics

Reduces the surface area of the API server slightly and allows
downstream components to have deleteable metrics. After this change
genericapiserver will *not* have metrics unless the caller defines it
(allows different apiserver implementations to make that choice on their
own).

@wojtek-t
2016-04-17 05:58:26 -07:00
k8s-merge-robot
a275a045d1 Merge pull request #23914 from sky-uk/make-etcd-cache-size-configurable
Automatic merge from submit-queue

Make etcd cache size configurable

Instead of the prior 50K limit, allow users to specify a more sensible size for their cluster.

I'm not sure what a sensible default is here. I'm still experimenting on my own clusters. 50 gives me a 270MB max footprint. 50K caused my apiserver to run out of memory as it exceeded >2GB. I believe that number is far too large for most people's use cases.

There are some other fundamental issues that I'm not addressing here:
- Old etcd items are cached and potentially never removed (it stores using modifiedIndex, and doesn't remove the old object when it gets updated)
- Cache isn't LRU, so there's no guarantee the cache remains hot. This makes its performance difficult to predict. More of an issue with a smaller cache size.
- 1.2 etcd entries seem to have a larger memory footprint (I never had an issue in 1.1, even though this cache existed there). I suspect that's due to image lists on the node status.

This is provided as a fix for #23323
2016-04-17 00:06:31 -07:00
k8s-merge-robot
822618afb5 Merge pull request #23912 from smarterclayton/watch_until
Automatic merge from submit-queue

Add watch.Until, a conditional watch mechanism

A more powerful tool than wait.Poll, allows a watch interface to drive conditionals to react to changes on a resource or resources. Provide a set of standard conditions that are in common use in the code, and updates e2e to use a few of these.

Extracted from #23567
2016-04-16 21:05:40 -07:00
k8s-merge-robot
85550921de Merge pull request #24354 from yifan-gu/fix_addon_update_test
Automatic merge from submit-queue

e2e: Fix 'Addon update' to support coreos distro.

cc @kubernetes/sig-testing @kubernetes/sig-node
2016-04-16 07:31:15 -07:00
k8s-merge-robot
c528080248 Merge pull request #24339 from pwittrock/flaky
Automatic merge from submit-queue

Don't clean up files on image-based tests since the instance will be …

…deleted anyway and this is flaky on CoreOS.
2016-04-15 20:50:41 -07:00
Clayton Coleman
845e496572 Convert poll in e2e with watch.Until 2016-04-15 22:21:42 -04:00
k8s-merge-robot
03f48e730e Merge pull request #22810 from amygdala/cassandra2
Automatic merge from submit-queue

phase 2 of cassandra example overhaul

Here's the next iteration in overhauling this example, towards https://github.com/kubernetes/kubernetes/issues/20961.  This removes the pod adoption part, but doesn't (yet) otherwise change any of the resources used.

It also includes some README cleanup, and removes some explicit specification of labels in the rc yaml.

This PR doesn't yet add any commentary on how we're using the seed provider (re: https://github.com/kubernetes/kubernetes/issues/20961#issuecomment-190405959 etc.).  Maybe we should add that.

Also: LMK if this PR should include any changes to the links out to the docs.

cc @bgrant0607 @johndmulhausen
2016-04-15 15:41:01 -07:00
Janet Kuo
eb96b28004 Avoid relying on events in deployment rollover e2e test 2016-04-15 15:20:41 -07:00
Phillip Wittrock
d37222d1d9 kubelet e2e test - format command output as string, not byte string. 2016-04-15 15:17:59 -07:00
Huamin Chen
ee9ed4dd7f enhancements to run volume e2e test:
in e2e/volumes.go: give time to allow pod cleanup and volume unmount happen before volume server exit;
skip cinder volume test if not running with openstack provider

comment on why pause before containerized server is stopped in volume e2e tests, fix #24100

updates NFS server image to 0.6, per #22529

fix persistent_volume e2e test: test cleanup doesn't expect client pod; delete PV after test

Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-04-15 22:14:23 +00:00
Yifan Gu
656d05c5b4 e2e: Fix 'Addon update' to support coreos distro. 2016-04-15 14:29:08 -07:00
gmarek
0071a8627c Make resource gatherer work for Kubemark 2016-04-15 20:12:26 +02:00
Isaac Hollander McCreery
a96bb71bc9 Version-guard Kubectl client Guestbook application test against deployments 2016-04-15 10:51:10 -07:00
Phillip Wittrock
5155df0287 Don't clean up files on image-based tests since the instance will be deleted anyway and this is flaky on CoreOS. Fixed #24297 2016-04-15 10:32:26 -07:00
Clayton Coleman
0f95b91f96 Move /resetMetrics to DELETE /metrics
Reduces the surface area of the API server slightly and allows
downstream components to have deleteable metrics. After this change
genericapiserver will *not* have metrics unless the caller defines it
(allows different apiserver implementations to make that choice on their
own).
2016-04-15 11:44:17 -04:00
k8s-merge-robot
2382fec956 Merge pull request #23894 from vishh/oom-score-adj-error
Automatic merge from submit-queue

Do not throw creation errors for containers that fail immediately after being started

Fixes (hopefully) #23607 

cc @dchen1107
2016-04-14 22:29:14 -07:00
Amy Unruh
8846b313dc phase 2 of cassandra example overhaul 2016-04-14 21:55:23 -07:00
k8s-merge-robot
14d9764b77 Merge pull request #24271 from pwittrock/flaky
Automatic merge from submit-queue

Only output log files if tests fail
2016-04-14 21:42:58 -07:00
Daniel Smith
1d96b4c55b Merge pull request #23549 from deads2k/acting-as
add act-as powers
2016-04-14 15:12:45 -07:00
Maru Newby
75c49a98d4 Add timeout to e2e network connectivity checks
Some e2e tests use wget to check connectivity, and the default e2e
timeout is 900s.  This change allows the timeout to be specified on a
check-by-check basis.  This will also make the check useful for negative
checks (like those used by openshift to validate isolation) since a
short timeout is suggested where connectivity is not expected.
2016-04-14 21:27:10 +00:00
goltermann
c226c9435b Fix misspellings in comments.
https://goreportcard.com/report/k8s.io/kubernetes#misspell
2016-04-14 13:57:45 -07:00
k8s-merge-robot
d3102a3d8a Merge pull request #24216 from fejta/iperf
Automatic merge from submit-queue

Add Makefile for iperf

@jayunit100 will you please take a look at this? (closes #24204)
2016-04-14 12:37:20 -07:00
Phillip Wittrock
e88fdb85c0 Only output log files if tests fail 2016-04-14 12:04:36 -07:00
deads2k
ac4c545b91 add act-as powers 2016-04-14 12:49:10 -04:00
Zach Loafman
9b0a4bfdb0 Fix DNS test for larger clusters
On GKE, we scale the number of DNS pods based on the cluster size. For
testing on larger clusters, relax the DNS pod check.
2016-04-14 09:23:30 -07:00
Salvatore Dario Minonne
f4ed4998ff Adding loadbalancer services to quota 2016-04-14 14:06:42 +02:00
k8s-merge-robot
98c255eb79 Merge pull request #22912 from Random-Liu/kubelet-perf
Automatic merge from submit-queue

Add generalized performance data type in e2e test

For kubernetes/contrib/issues/564 and #15554.

This PR added two files in e2e test:
1) `perftype/perftype.go`: This file contains generalized performance data type. The type can be pretty printed in Json format and analyzed by other performance analyzing tools, such as [Perfdash](https://github.com/kubernetes/contrib/tree/master/perfdash).
2) `perf_util.go`: This file contains functions which convert e2e performance test result into new performance data type.

The new performance data type is now used in *Density test, Load test and Kubelet resource tracking*. It's easy to support other e2e performance test by adding new convert function in `perf_util.go`.

@gmarek @yujuhong 
/cc @kubernetes/sig-testing
2016-04-14 03:47:24 -07:00
k8s-merge-robot
b02f1bf667 Merge pull request #24189 from wojtek-t/dont_remove_binaries
Automatic merge from submit-queue

Don't remove kubemark binaries

If you want to experiment a bit with kubemark (e.g. relaunch the component with different flags), it's roughly impossible now. If we have binaries, this is much easier.
2016-04-13 23:15:26 -07:00
k8s-merge-robot
1ccb4cf497 Merge pull request #23542 from caesarxuchao/clientset-release-1-3
Automatic merge from submit-queue

Clientset release 1.3

This PR creates the release 1.3 client set. We'll keep updating this client set until we cut release 1.3. In the meantime, the release 1.2 client set will be locked.

@lavalamp
2016-04-13 18:27:59 -07:00
Chao Xu
64e414fe39 e2e test for 1.3 2016-04-13 16:49:24 -07:00
k8s-merge-robot
20eccc24cd Merge pull request #24143 from goltermann/vetclean
Automatic merge from submit-queue

Final vet fixes; enabling vet checks in verify scripts.

Fixes #22523, #22524
2016-04-13 16:46:46 -07:00
Tim St. Clair
59077722f2 Fix density tests 2016-04-13 14:33:29 -07:00
Random-Liu
5b2ddc9f2c Add perfdash support in kubelet_perf and metrics_util 2016-04-13 14:32:11 -07:00
Erick Fejta
4e4edb4edc Add Makefile for iperf 2016-04-13 14:28:33 -07:00
Daniel Smith
4c539bf082 Merge pull request #23490 from wojtek-t/remove_set_from_storage_interface
Remove Set() from storage.Interface.
2016-04-13 14:22:05 -07:00
goltermann
a3104ba96c Final vet fixes; enabling vet checks in verify scripts. 2016-04-13 13:51:51 -07:00
Tim St. Clair
b0d3f32e88 Update test/e2e for test/e2e/framework refactoring 2016-04-13 10:50:17 -07:00
Tim St. Clair
a55b4f2e77 Move test/e2e framework & utility code to test/e2e/framework 2016-04-13 10:50:17 -07:00
Yu-Ju Hong
c6a26112bd e2e: fix error checking in kubelet stats 2016-04-13 09:22:59 -07:00
k8s-merge-robot
8eb19c7889 Merge pull request #22154 from sdminonne/service_nodeports_quotas
Automatic merge from submit-queue

Adding nodeports services to quota

To fix #21677
@derekwaynecarr
2016-04-13 05:50:27 -07:00
Wojciech Tyczynski
0f60b33efc Don't remove kubemark binaries 2016-04-13 12:07:34 +02:00
k8s-merge-robot
8905e61522 Merge pull request #23872 from jayunit100/iperf-container
Automatic merge from submit-queue

IPerf container to support network perfomance testing

Simple iperf container.

Issue:
We want to run iperf from the e2e tests for a network baseline, but there are no gcr images for this.

Solution:
Curate our own iperf container from source in kubernetes and copy it as a top level microservice.  So long as these are injected into GCR, we can then run this container from the e2e tests.

 cc @sig-testing this can be used along side #22869
2016-04-13 02:18:40 -07:00
k8s-merge-robot
21f4d1f1d6 Merge pull request #22649 from rootfs/nfs-fix
Automatic merge from submit-queue

disable nfsv4 and use nfsv3

fix #22529
2016-04-12 13:28:38 -07:00
k8s-merge-robot
e9c1d59174 Merge pull request #24003 from yujuhong/metrics_test
Automatic merge from submit-queue

e2e: adapt kubelet_perf.go to use the new summary metrics API

This commit switch most functions in kubelet_stats.go to use the new API.
However, the functions that perform one-time resource usage retrieval remain
unchanged to be compatible with reource_usage_gatherer.go. They should be
handled separately.

Also, the new summary API does not provide the RSS memory yet, so all memory
checking tests will *always* pass. We plan to add this metrics in the API and
restore the functionality of the test.
2016-04-12 11:01:48 -07:00
Random-Liu
2b9f6bea18 Fix PullImage and corresponding node e2e test. 2016-04-12 10:42:25 -07:00
k8s-merge-robot
828ea5a728 Merge pull request #24110 from vishh/node-conformance
Automatic merge from submit-queue

Convert the node conformance tests to use dedicated images.

This PR will de-flake the node e2e.
2016-04-12 09:38:48 -07:00
Yu-Ju Hong
a8c685921f e2e: adapt kubelet_perf.go to use the new summary metrics API
This commit switch most functions in kubelet_stats.go to use the new API.
However, the functions that perform one-time resource usage retrieval remain
unchanged to be compatible with reource_usage_gatherer.go. They should be
handled separately.

Also, the new summary API does not provide the RSS memory yet, so all memory
checking tests will *always* pass. We plan to add this metrics in the API and
restore the functionality of the test.
2016-04-12 09:27:46 -07:00
Huamin Chen
3a914c2583 fix #22529: disable nfsv4 and use nfsv3 2016-04-12 16:23:28 +00:00
k8s-merge-robot
acf9492cb1 Merge pull request #23660 from goltermann/vetclean
Automatic merge from submit-queue

Additional go vet fixes

Mostly:
- pass lock by value
- bad syntax for struct tag value
- example functions not formatted properly
2016-04-12 06:22:16 -07:00
James Ravn
5bb0595260 Make deserialization cache size configurable
Instead of the default 50K entries, allow users to specify more sensible
sizes for their cluster.
2016-04-12 13:42:27 +01:00
Salvatore Dario Minonne
15b7577454 Adding nodeports services to quota 2016-04-12 11:09:16 +02:00
Vishnu kannan
d100e3147f Convert the node conformance tests to use dedicated images.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-11 14:38:43 -07:00
Vishnu kannan
d4db40e87f Adding an e2e test for oom score adjust handling.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-11 12:51:42 -07:00
Jeff Lowdermilk
cd85b06465 Merge pull request #24001 from freehan/kubenet
include error in the fail msg
2016-04-08 20:55:35 -07:00
jay vyas
0e35d9194c IPerf container to support network perfomance testing 2016-04-08 22:53:57 -04:00
Jeff Lowdermilk
27bca83304 Merge pull request #23963 from spxtr/services-slow
Mark services test slow.
2016-04-08 12:47:45 -07:00
Chao Xu
1cc84c5525 Merge pull request #23960 from caesarxuchao/fix-23952
fix e2e flake #23952
2016-04-07 16:59:59 -07:00
Minhan Xia
0174455111 include error in the fail msg 2016-04-07 15:42:21 -07:00
Mike Danese
476103a822 bump single call timeout in e2e tests 2016-04-07 14:12:38 -07:00
Yu-Ju Hong
6567c54e45 e2e_node: port privileged pod tests from test/e2e/priviliged.go
The ported test is functionally the same as the original test.
The main difference between the two tests is that the original test relies on
`kubectl` to exec into the container, while the latter directly uses the REST
client of the apiserver. This avoids the need to copy kubectl to the node under
test.
2016-04-06 19:09:07 -07:00
Joe Finney
39de4be40d
Mark services test slow. 2016-04-06 17:26:16 -07:00
Chao Xu
bcebfa072d fix 23952 2016-04-06 16:52:30 -07:00
Saad Ali
d7b069fbcc Merge pull request #23793 from pmorie/configmap-nonroot
Make ConfigMap volume readable as non-root
2016-04-06 15:11:25 -07:00
goltermann
696423e044 Vet fixes, mostly pass lock by value errors. 2016-04-06 11:27:40 -07:00
Isaac Hollander McCreery
9a7860855c Merge pull request #22962 from ihmccreery/split-upgrade-jobs
Add configuration for splitting upgrade jobs instead of using Jenkins steps
2016-04-05 13:05:25 -07:00
Saad Ali
48fa998f58 Merge pull request #23717 from mml/until
Comment out racey part of the multi-scheduler test.
2016-04-05 11:34:32 -07:00
Paul Morie
e838ff2893 Make ConfigMap volume readable as non-root 2016-04-05 12:20:52 -04:00
k8s-merge-robot
02e0b29b6d Merge pull request #23769 from saad-ali/fixVolumeCloudProvider
Automatic merge from submit-queue

Ensure object returned by volume getCloudProvider incorporates cloud config

This PR addresses https://github.com/kubernetes/kubernetes/issues/23517.

**Problem**
The existing GCE PD and AWS EBS volume plugin code were fetching cloud provider without specifying a cloud config: `cloudprovider.GetCloudProvider("gce", nil)`
This caused the cloud provider to use default auth mechanism, which is not acceptable for the provisioning controller running on GKE master.

**Fix**
This PR does the following:
* Modifies the GCE PD and AWS EBS volume plugin code to use the cloud provider object pre-constructed by the binary with a cloud config.
* Enable provisioning E2E test for GKE (to catch future issues).

Thanks to @cjcullen for debugging and finding the root cause!  👍 

This should be cherry-picked into the v1.2 branch for the next release.
2016-04-04 20:52:13 -07:00
gmarek
7a848eb03a Print 100th percentile of resource usage when gatherer is turned on. 2016-04-04 17:42:32 -07:00
Isaac Hollander McCreery
873b499d90 Add ClusterUpgrade tests 2016-04-04 14:21:21 -07:00
Isaac Hollander McCreery
53c3a5626d Add configuration for splitting upgrade jobs instead of using Jenkins steps 2016-04-04 14:21:21 -07:00
saadali
e7b14e721a Ensure volume GetCloudProvider code uses cloud config 2016-04-04 10:59:13 -07:00
Wojciech Tyczynski
53f433f019 Remove Set() from storage.Interface. 2016-04-04 17:54:18 +02:00
k8s-merge-robot
3197f31cc6 Merge pull request #23554 from nikhiljindal/swaggerInRun
Automatic merge from submit-queue

genericapiserver: Moving InstallSwaggerAPI to Run

Ref https://github.com/kubernetes/kubernetes/pull/21190#discussion_r57494673

Moving InstallSwaggerAPI() from InstallAPIGroups() to Run(). This allows the use of InstallAPIGroups() multiple times or using InstallAPIGroup() directly.

cc @jianhuiz @kubernetes/sig-api-machinery
2016-04-02 08:19:25 -07:00
k8s-merge-robot
d0155982aa Merge pull request #23736 from pwittrock/flaky
Automatic merge from submit-queue

node e2e retry gcr.io failures
2016-04-01 14:13:05 -07:00
k8s-merge-robot
9e14d6075c Merge pull request #23700 from gmarek/density
Automatic merge from submit-queue

Make total pod throughput in density test more readable
2016-04-01 11:32:51 -07:00
Phillip Wittrock
015b9a6489 Retry failed image pulls. Closes #23669. 2016-04-01 09:48:19 -07:00
Phillip Wittrock
8002e10fbb node e2e Output failed health checks as string not bytes 2016-04-01 09:20:30 -07:00
gmarek
be3a5d83bb Make total pod throughput in density test more readable 2016-04-01 17:48:55 +02:00
k8s-merge-robot
9105a6abcc Merge pull request #23445 from ncdc/go16-portforward-e2e
Automatic merge from submit-queue

Update port forward e2e for go 1.6

Only close the stdout/stderr pipes from kubectl port-forward when we're truly done with the command,
instead of as soon as runPortForward exits.

Also try to gracefully stop kubectl port-forward via SIGINT, instead of always sending SIGKILL, as
this will help avoid spdy goroutine leaks in the Kubelet.

Ref #22149 

cc @smarterclayton @kubernetes/rh-cluster-infra
2016-04-01 06:05:15 -07:00
Matt Liggett
6ace15eb73 Comment out racey part of the multi-scheduler test.
Should fix #22848.
2016-03-31 16:56:10 -07:00
gmarek
9120a60724 Kubemark uses kubectl from the repo 2016-03-31 09:13:42 -07:00
Andy Goldstein
66899a47a5 Update port forward e2e for go 1.6
Only close the stdout/stderr pipes from kubectl port-forward when we're truly done with the command,
instead of as soon as runPortForward exits.

Also try to gracefully stop kubectl port-forward via SIGINT, instead of always sending SIGKILL, as
this will help avoid spdy goroutine leaks in the Kubelet.
2016-03-30 17:07:21 -04:00
k8s-merge-robot
eb665e038c Merge pull request #23285 from pwittrock/flaky
Automatic merge from submit-queue

node e2e conformance keep polling if encounters errors
2016-03-29 22:56:03 -07:00
k8s-merge-robot
d911fc20af Merge pull request #23067 from deads2k/fix-group-enablement
Auto commit by PR queue bot
2016-03-29 09:46:21 -07:00
nikhiljindal
eeeaa6867a Moving InstallSwaggerAPI to Run 2016-03-28 23:04:14 -07:00
Dawn Chen
c47f74a470 Merge pull request #23348 from pwittrock/docs
Update docs to reflect `kubectl run` creates deployments by default i…
2016-03-28 17:03:47 -07:00
Phillip Wittrock
4d2f3c1c17 Update docs to reflect kubectl run creates deployments by default instead of replicatino controllers. 2016-03-28 16:25:02 -07:00
Phillip Wittrock
183562d79a node e2e conformance keep polling if encounters errors 2016-03-28 12:02:33 -07:00
deads2k
e8fb35d4d8 refactor resource overrides as positive logic interface 2016-03-28 09:24:49 -04:00
k8s-merge-robot
86ee449600 Merge pull request #23447 from cjcullen/testtransport
Auto commit by PR queue bot
2016-03-26 16:37:12 -07:00
k8s-merge-robot
25d94e80e0 Merge pull request #23289 from pwittrock/move-serve-hostname
Auto commit by PR queue bot
2016-03-26 11:20:12 -07:00
k8s-merge-robot
95e09e303f Merge pull request #22965 from caesarxuchao/delete-UID-precondition
Auto commit by PR queue bot
2016-03-26 09:36:28 -07:00
k8s-merge-robot
e44ad7a083 Merge pull request #22735 from resouer/throttle-dev
Auto commit by PR queue bot
2016-03-26 06:44:48 -07:00
k8s-merge-robot
23fc7905c1 Merge pull request #23466 from andyzheng0831/fix
Auto commit by PR queue bot
2016-03-26 04:01:49 -07:00
goltermann
32d569d6c7 Fixing all the "composite literal uses unkeyed fields" Vet errors. 2016-03-25 15:25:09 -07:00
Andy Zheng
364ac85179 Support differentiation of OS distro in e2e tests 2016-03-25 14:53:36 -07:00
Chao Xu
31b425b3a1 add delete precondition 2016-03-25 11:21:39 -07:00
k8s-merge-robot
590038dcf1 Merge pull request #23488 from gmarek/cleanup
Auto commit by PR queue bot
2016-03-25 08:14:01 -07:00
k8s-merge-robot
62a6c2219b Merge pull request #23432 from wojtek-t/speedup_load_test
Auto commit by PR queue bot
2016-03-25 08:13:59 -07:00
gmarek
ea040b77a8 Remove test/scalability 2016-03-25 14:51:14 +01:00
Wojciech Tyczynski
b953048f0b Speedup load test 2016-03-25 11:54:21 +01:00
k8s-merge-robot
ee9420b848 Merge pull request #23065 from tiwillia/gctestprovider
Auto commit by PR queue bot
2016-03-25 03:15:16 -07:00
k8s-merge-robot
0877263f32 Merge pull request #23260 from hongchaodeng/fix
Auto commit by PR queue bot
2016-03-25 02:42:05 -07:00
k8s-merge-robot
4e4ad61260 Merge pull request #23366 from goltermann/vet
Auto commit by PR queue bot
2016-03-24 21:50:56 -07:00
harry
8472cfa214 Refactor throttle into util pkg
Fix missing throttle.go
2016-03-25 08:32:23 +08:00
CJ Cullen
4c188eae10 Change the extractRT to return a non-nil Response. 2016-03-24 12:58:38 -07:00
Hongchao Deng
29b46a2395 integration/framework: remove unused NewEtcdStorage()
In integration/, framework.NewEtcdStorage() isn't used by any function.
2016-03-23 16:34:28 -07:00
k8s-merge-robot
f4b948bc0f Merge pull request #22525 from derekwaynecarr/more_e2e
Auto commit by PR queue bot
2016-03-23 13:43:22 -07:00
derekwaynecarr
ede95cb094 Add e2e for remaining quota resources 2016-03-23 13:57:38 -04:00
k8s-merge-robot
3257260657 Merge pull request #23293 from pwittrock/update-serve-hostname-version
Auto commit by PR queue bot
2016-03-23 01:48:19 -07:00
goltermann
34d4eaea08 Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code. 2016-03-22 17:26:50 -07:00
Quintin Lee
81ba98ae5d Adding e2e test support for monitoring deployments. 2016-03-22 13:17:06 -07:00
k8s-merge-robot
d37baf748f Merge pull request #22933 from liangchenye/imageConform
Auto commit by PR queue bot
2016-03-22 04:27:50 -07:00
tiwillia@redhat.com
8cb332b86c Remove gce provider requirements from garbage collector test
There is no reason for the garbage collector test to be restricted to the gce provider.
2016-03-21 17:32:01 -04:00
Phillip Wittrock
d1d6650efd Remove test tag from serve_hostname Makefile 2016-03-21 13:53:35 -07:00
Phillip Wittrock
f22ddf1ea8 Update serve_hostname version from 1.1 to v1.4 2016-03-21 12:53:22 -07:00
Janet Kuo
482efba8de Copy annotations back from RS to Deployment on rollback 2016-03-21 10:21:48 -07:00
Erick Fejta
f9d5c81c61 Add missing = 2016-03-19 18:06:13 -07:00
Erick Fejta
be5f27e3aa Use tagged busybox image from gcr.io 2016-03-19 16:02:29 -07:00
Erick Fejta
e3b2ecdb23 Use busybox:1.24 from gcr.io in kubectl.go 2016-03-19 15:56:26 -07:00
liangchenye
41d40824cf image operation conformance test
Signed-off-by: liang chenye <liangchenye@huawei.com>
2016-03-17 15:27:07 +08:00
deads2k
ab03317d96 support CIDRs in NO_PROXY 2016-03-16 16:22:54 -04:00
k8s-merge-robot
eb0e25f5bd Merge pull request #17577 from swagiaal/fix-emptydir-e2e
Auto commit by PR queue bot
2016-03-16 11:11:51 -07:00
k8s-merge-robot
4e29c580a8 Merge pull request #22206 from jayunit100/kubeit
Auto commit by PR queue bot
2016-03-16 08:36:41 -07:00
k8s-merge-robot
49092c0b99 Merge pull request #22443 from pwittrock/move-serve-hostname
Auto commit by PR queue bot
2016-03-15 21:57:16 -07:00
Jay Vyas
9a71dfe753 KubeDescribe implementation with verify into after-build/ scripts. 2016-03-15 22:29:21 -04:00
k8s-merge-robot
204d426dd3 Merge pull request #22310 from krousey/adapterbreak
Auto commit by PR queue bot
2016-03-15 14:28:38 -07:00
k8s-merge-robot
879d04046a Merge pull request #21140 from jsafrane/devel/provisioner-e2e
Auto commit by PR queue bot
2016-03-15 13:52:22 -07:00
k8s-merge-robot
52b061a4d3 Merge pull request #22969 from nikhiljindal/upgradeTest
Auto commit by PR queue bot
2016-03-15 12:45:52 -07:00
k8s-merge-robot
d809db9c22 Merge pull request #22946 from pwittrock/flaky-node
Auto commit by PR queue bot
2016-03-15 12:12:10 -07:00
nikhiljindal
435a4e8279 disable kubectl validation for upgrade e2e 2016-03-15 11:26:10 -07:00
Jan Safranek
4402e57588 e2e test for dynamic provisioning.
The test works only on GCE, AWS and OpenStack. It creates and deletes a 2GiB
volume.
2016-03-15 13:01:03 +01:00
k8s-merge-robot
70a303d301 Merge pull request #22935 from wojtek-t/rc_startup_time
Auto commit by PR queue bot
2016-03-15 03:09:15 -07:00
Wojciech Tyczynski
b47018e366 Schedule ReplicationControllers in pod-startup-time test. 2016-03-15 09:56:46 +01:00
k8s-merge-robot
9c1e6926f6 Merge pull request #22955 from lavalamp/fix-22238
Auto commit by PR queue bot
2016-03-14 19:26:26 -07:00
k8s-merge-robot
a9c17c1fbe Merge pull request #22958 from jlowdermilk/run-test
Auto commit by PR queue bot
2016-03-14 18:10:26 -07:00
k8s-merge-robot
bf1bb5d309 Merge pull request #22899 from justinsb/aws_fix_e2e
Auto commit by PR queue bot
2016-03-14 17:37:13 -07:00
Phillip Wittrock
56af8f3f3b Merge pull request #22959 from ArtfulCoder/dnsconformtest
Conformance Test for DNS
2016-03-14 17:07:08 -07:00
Phillip Wittrock
85f09cbcfe node e2e - make more resilient to flakes 2016-03-14 17:03:06 -07:00
k8s-merge-robot
b86b6e58a0 Merge pull request #22860 from jayunit100/skip_gce_k8bps
Auto commit by PR queue bot
2016-03-14 16:28:45 -07:00
Abhishek Shah
bf598e3ff8 Conformance Test for DNS 2016-03-14 16:07:04 -07:00
Jeff Lowdermilk
c732681354 test kubectl run with default args
Also explicitly pass generator for run deployments test.
2016-03-14 15:09:32 -07:00
Daniel Smith
1c54e41134 Extend timeout to allow for observed slow proxy requests 2016-03-14 14:46:54 -07:00
Kris
4d404ded1a Moving adapters to their own packages 2016-03-14 14:22:34 -07:00
Random-Liu
4df8cfcd53 Fix cpu and resource summary log in kubelet stat. 2016-03-12 21:56:34 -08:00
Justin Santa Barbara
3e12e8b7cc AWS e2e: don't try to build a full cloudprovider in e2e
We have previously tried building a full cloudprovider in e2e for AWS;
this wasn't the best idea, because e2e runs on a different machine than
normal operations, and often doesn't even run in AWS.  In turn, this
meant that the cloudprovider had to do extra work and have extra code,
which we would like to get rid of.  Indeed, I got rid of some code which
tolerated not running in AWS, and this broke e2e.
2016-03-12 06:14:45 -05:00
k8s-merge-robot
1ad0c97837 Merge pull request #22847 from caesarxuchao/matching-replicas
Auto commit by PR queue bot
2016-03-12 01:10:43 -08:00
Chao Xu
a6240c1ab8 add FullyLabeledReplicas in Replicaset Status and ReplicationController Status 2016-03-11 23:55:04 -08:00
k8s-merge-robot
c99e85c374 Merge pull request #22605 from erictune/batch-test
Auto commit by PR queue bot
2016-03-11 22:23:31 -08:00
k8s-merge-robot
61c4958dcc Merge pull request #22859 from pwittrock/flaky-node
Auto commit by PR queue bot
2016-03-11 14:30:51 -08:00
k8s-merge-robot
c9977cc774 Merge pull request #22760 from mikedanese/flake-pods
Auto commit by PR queue bot
2016-03-11 14:30:49 -08:00
Eric Tune
17a05ce32d Added e2e test for batch API group 2016-03-11 11:41:15 -08:00
Jay Vyas
1bc1bf01ba skip k8petstore shell script while i rewrite it entirely in golang 2016-03-11 14:01:21 -05:00
Mike Danese
f8e1404f87 e2e: seperate wait for termination notice and graceful termination 2016-03-11 09:42:31 -08:00
Phillip Wittrock
ce2d2c84c1 use different pod names and namespaces 2016-03-11 09:13:37 -08:00
Brian Grant
54e97c7755 Merge pull request #22757 from jayunit100/fix-liveness
Concurrent liveness test to gaurantee test finishes in 2 minutes with…
2016-03-10 23:46:39 -08:00
Janet Kuo
4a181dacec Fix the possible negative scale down value; add logs when scaling down 2016-03-10 16:01:18 -08:00
Andy Goldstein
cdd339505e Merge pull request #22758 from madhusudancs/replicaset-nonpointer-template
ReplicaSetSpec.Template shouldn't be a pointer.
2016-03-10 15:35:04 -05:00
k8s-merge-robot
0c10fce98c Merge pull request #22606 from fejta/deployment
Auto commit by PR queue bot
2016-03-09 21:46:15 -08:00
Madhusudan.C.S
db48dcf583 ReplicaSetSpec.Template shouldn't be a pointer.
PodTemplateSpec should be consistent for all the types in extensions/v1beta1.

See PR #19510.
2016-03-09 21:24:16 -08:00
Madhusudan.C.S
fe26381c90 Support for both map-based and set-based selectors in extensions/v1beta1.Scale
Here are a list of changes along with an explanation of how they work:
1. Add a new string field called TargetSelector to the external version of
   extensions Scale type (extensions/v1beta1.Scale). This is a serialized
   version of either the map-based selector (in case of ReplicationControllers)
   or the unversioned.LabelSelector struct (in case of Deployments and
   ReplicaSets).
2. Change the selector field in the internal Scale type (extensions.Scale) to
   unversioned.LabelSelector.
3. Add conversion functions to convert from two external selector fields to a
   single internal selector field. The rules for conversion are as follows:
   i.   If the target resource that this scale targets supports LabelSelector
        (Deployments and ReplicaSets), then serialize the LabelSelector and
        store the string in the TargetSelector field in the external version
        and leave the map-based Selector field as nil.
   ii.  If the target resource only supports a map-based selector
        (ReplicationControllers), then still serialize that selector and
	store the serialized string in the TargetSelector field. Also,
	set the the Selector map field in the external Scale type.
   iii. When converting from external to internal version, parse the
        TargetSelector string into LabelSelector struct if the string isn't
	empty. If it is empty, then check if the Selector map is set and just
	assign that map to the MatchLabels component of the LabelSelector.
   iv.  When converting from internal to external version, serialize the
        LabelSelector and store it in the TargetSelector field. If only
	the MatchLabel component is set, then also copy that value to
	the Selector map field in the external version.
4. HPA now just converts the LabelSelector field to a Selector interface
   type to list the pods.
5. Scale Get and Update etcd methods for Deployments and ReplicaSets now
   return extensions.Scale instead of autoscaling.Scale.
6. Consequently, SubresourceGroupVersion override and is "autoscaling"
   enabled check is now removed from pkg/master/master.go
7. Other small changes to labels package, fuzzer and LabelSelector
   helpers to piece this all together.
8. Add unit tests to HPA targeting Deployments and ReplicaSets.
9. Add an e2e test to HPA targeting ReplicaSets.
2016-03-09 17:54:17 -08:00
Joe Finney
0976ed59c9 Remove hack/e2e-internal/e2e-upgrade.sh. 2016-03-09 14:14:04 -08:00
k8s-merge-robot
36cb9d05ea Merge pull request #22728 from spxtr/tidy-shell
Auto commit by PR queue bot
2016-03-09 13:59:13 -08:00
Brian Grant
3f7f167790 Merge pull request #22743 from gmarek/register-kubelet
Make kubelet-perf 100 pod/node test work with registered master
2016-03-09 13:58:27 -08:00
jay vyas
61102b5ac7 Concurrent liveness test to gaurantee test finishes in 2 minutes with meaningfull results 2016-03-09 16:55:07 -05:00
k8s-merge-robot
3081c10a40 Merge pull request #22632 from jsafrane/devel/fix-nfs-image
Auto commit by PR queue bot
2016-03-09 12:51:44 -08:00
k8s-merge-robot
26e9f187d7 Merge pull request #22613 from jayunit100/e2e-volumes-simple
Auto commit by PR queue bot
2016-03-09 11:29:13 -08:00
gmarek
38411818ed Make kubelet-perf 100 pod/node test work with registered master 2016-03-09 16:05:04 +01:00
k8s-merge-robot
aca37830b1 Merge pull request #22720 from bprashanth/ing_e2e_masterip
Auto commit by PR queue bot
2016-03-08 18:26:57 -08:00
Joe Finney
9845639e14 Remove cluster/kube-env.sh. 2016-03-08 16:57:31 -08:00
Prashanth Balasubramanian
f6c8b9b238 Don't list master node when looking to a NodePort node. 2016-03-08 15:12:13 -08:00
k8s-merge-robot
fa21ef11bd Merge pull request #22708 from mikedanese/revert-revert
Auto commit by PR queue bot
2016-03-08 14:51:25 -08:00
Mike Danese
d8eaed912a fix pod garbage collection test 2016-03-08 12:21:41 -08:00
k8s-merge-robot
75699ff5ea Merge pull request #22458 from bprashanth/ing_tls_e2e
Auto commit by PR queue bot
2016-03-08 11:53:56 -08:00
k8s-merge-robot
7e9256b39e Merge pull request #22383 from spxtr/core
Auto commit by PR queue bot
2016-03-08 06:44:18 -08:00
k8s-merge-robot
999e6311b5 Merge pull request #18672 from bprashanth/netexec
Auto commit by PR queue bot
2016-03-08 06:10:02 -08:00
k8s-merge-robot
1b003ba25a Merge pull request #22648 from wojtek-t/fix_wait_for_rc_pods_gone
Auto commit by PR queue bot
2016-03-08 03:43:34 -08:00
Jan Safranek
44f995699e Fix NFS and gluster test containers taking 100% of CPU 2016-03-08 10:32:34 +01:00
David Oppenheimer
14a5d5d0ca Add CONNECT to ignoredVerbs for readLatencyMetrics. 2016-03-07 11:31:22 -08:00
Joe Finney
44ef1224fe Move CoreDump into test/e2e/util.go, add docstring. 2016-03-07 10:18:35 -08:00
Joe Finney
8d1d368401 Call cluster/log-dump.sh from test/e2e/core.go. 2016-03-07 10:14:02 -08:00
k8s-merge-robot
09f00aeb32 Merge pull request #22303 from marun/expose-net-e2e-utils
Auto commit by PR queue bot
2016-03-07 10:01:08 -08:00
Wojciech Tyczynski
ef0953585e Speed up DeleteRC test util func 2016-03-07 17:53:49 +01:00
deads2k
8b06ef144e deflake rc logs test 2016-03-07 09:30:08 -05:00
k8s-merge-robot
e84fee2189 Merge pull request #22172 from gmarek/register
Auto commit by PR queue bot
2016-03-07 02:07:43 -08:00
k8s-merge-robot
61c9a004a5 Merge pull request #22397 from bprashanth/dns_debug
Auto commit by PR queue bot
2016-03-07 00:20:03 -08:00
Prashanth Balasubramanian
10cf2d4e4e Ingress https E2E 2016-03-06 17:21:15 -08:00
Brian Grant
83f2f14dcc Merge pull request #22617 from bprashanth/gc
Poll for gc'd pods.
2016-03-06 16:24:44 -08:00
Prashanth Balasubramanian
543a0691f6 Poll for gc'd pods. 2016-03-06 15:52:30 -08:00
k8s-merge-robot
95ab1936ea Merge pull request #22559 from krousey/discbreak
Auto commit by PR queue bot
2016-03-06 12:47:07 -08:00
jay vyas
ec4db43197 Decouple webserver from storage tests 2016-03-06 14:53:52 -05:00
k8s-merge-robot
8ab8231c20 Merge pull request #22577 from jpiccari/master
Auto commit by PR queue bot
2016-03-06 00:18:53 -08:00
k8s-merge-robot
168711b3cd Merge pull request #22281 from wojtek-t/increase_qps_limits
Auto commit by PR queue bot
2016-03-05 21:27:57 -08:00
k8s-merge-robot
2472a176b7 Merge pull request #22275 from gmarek/flake
Auto commit by PR queue bot
2016-03-05 17:54:29 -08:00
Erick Fejta
51174e6830 Use versioned images in deployment.go to avoid unnecessary gcr.io pulling 2016-03-05 17:40:59 -08:00
k8s-merge-robot
2e03822386 Merge pull request #21335 from deads2k/make-rc-logs-work
Auto commit by PR queue bot
2016-03-05 09:37:24 -08:00
Maru Newby
d405718a83 Move net e2e helpers to util.go for reuse
Some of the helper methods used by test/e2e/networking.go are useful for
downstream e2e tests (e.g. openshift).
2016-03-05 17:09:24 +00:00
k8s-merge-robot
4091d51750 Merge pull request #22380 from jayunit100/conformance-rw
Auto commit by PR queue bot
2016-03-05 07:23:06 -08:00
k8s-merge-robot
183c188027 Merge pull request #22563 from derekwaynecarr/node_e2e
Auto commit by PR queue bot
2016-03-05 06:50:56 -08:00
k8s-merge-robot
6d9e0ed038 Merge pull request #22312 from janetkuo/improve-error-log
Auto commit by PR queue bot
2016-03-05 04:11:06 -08:00
k8s-merge-robot
5efa8aa7d1 Merge pull request #22404 from yujuhong/dump_mem
Auto commit by PR queue bot
2016-03-05 00:38:56 -08:00
k8s-merge-robot
e9d3be83ae Merge pull request #22241 from Random-Liu/recover-back-off-behaviour
Auto commit by PR queue bot
2016-03-05 00:05:15 -08:00
k8s-merge-robot
ef129499da Merge pull request #22459 from jayunit100/disruptivediskannot
Auto commit by PR queue bot
2016-03-04 21:17:52 -08:00
k8s-merge-robot
ea43db8039 Merge pull request #22481 from ihmccreery/better-upgrade-tests
Auto commit by PR queue bot
2016-03-04 20:07:29 -08:00
k8s-merge-robot
28b3448a9a Merge pull request #22314 from yujuhong/resource_100
Auto commit by PR queue bot
2016-03-04 18:48:02 -08:00
Joshua Piccari
f5f83b076a Improve go report card by fixing typos in comments 2016-03-04 18:30:59 -08:00
Isaac Hollander McCreery
0e9114f667 Add ExperimentalNodeUpgrade test that a service stays up during cluster upgrade, not just master upgrade
- Duplicate old test to keep old functionality while allowing ExperimentalNodeUpgrade
- Also remove push test; no longer used/functioning
2016-03-04 16:10:29 -08:00
derekwaynecarr
f0bfbcedcd Bump timeout time for e2e node test services 2016-03-04 17:07:35 -05:00
Kris
dbde4fd798 Move the discovery client to its own package 2016-03-04 13:44:52 -08:00
Abhishek Shah
a3c00aadd5 Specify hostname, subdomain via annotation on podspec.
The hostname is a DNS A record, if the subdomain maps to a service name
in the same namespace
2016-03-04 13:28:33 -08:00
Marcin Wielgus
a13843cddb Add volumes, volumemounts and host ports to rcconfig in e2e utils 2016-03-04 18:38:10 +01:00
Abhi Shah
b25a48d605 Revert "Move discovery client to its own package" 2016-03-04 09:24:54 -08:00
Abhi Shah
627edd2588 Merge pull request #22016 from krousey/discbreak
Move discovery client to its own package
2016-03-04 09:17:46 -08:00
k8s-merge-robot
2a8ec62e76 Merge pull request #22522 from mwielgus/cm_utils
Auto commit by PR queue bot
2016-03-04 08:01:54 -08:00
k8s-merge-robot
917fb4264d Merge pull request #22461 from jayunit100/skipNodeDiskFill
Auto commit by PR queue bot
2016-03-04 08:01:53 -08:00
Marcin Wielgus
0a7e344d49 CustomMetric support in autoscaling utils 2016-03-04 15:50:55 +01:00
k8s-merge-robot
6a6fcc8c2b Merge pull request #22432 from piosz/hpa-e2e
Auto commit by PR queue bot
2016-03-04 03:45:33 -08:00
k8s-merge-robot
b45bf88105 Merge pull request #22513 from gmarek/density
Auto commit by PR queue bot
2016-03-04 03:12:52 -08:00
k8s-merge-robot
0e3469dce3 Merge pull request #22183 from pmorie/config-quota
Auto commit by PR queue bot
2016-03-04 03:12:51 -08:00
k8s-merge-robot
1b9abdc920 Merge pull request #22510 from gmarek/proxy
Auto commit by PR queue bot
2016-03-04 02:29:37 -08:00
Piotr Szczesniak
60430ca1fb Added HPA lightweight e2e test 2016-03-04 11:23:07 +01:00
gmarek
43a8f04193 Add a comment explaining the necessary scale for Density test 2016-03-04 11:05:20 +01:00
k8s-merge-robot
17b5ac4808 Merge pull request #22440 from gmarek/more_flake
Auto commit by PR queue bot
2016-03-04 01:28:34 -08:00
gmarek
633d2cdfc1 Add a workaround for hanging proxy in nodeProxyRequest 2016-03-04 10:27:41 +01:00
gmarek
7f3c490519 Print running pods before SchedulerPredicates tests 2016-03-04 09:50:33 +01:00
gmarek
030f5d073d Relax thresholds for cluster saturation time 2016-03-04 09:07:52 +01:00
k8s-merge-robot
258eac505f Merge pull request #21400 from derekwaynecarr/namespace_deletion_discovery
Auto commit by PR queue bot
2016-03-03 21:33:01 -08:00
k8s-merge-robot
c8038a7751 Merge pull request #22311 from vishh/22198
Auto commit by PR queue bot
2016-03-03 20:55:20 -08:00
Jeff Lowdermilk
f8d7793609 Merge pull request #22203 from bprashanth/network_flake
Ignore network flake in services e2e.
2016-03-03 15:20:12 -08:00
Jay Vyas
097e3ea3d4 Skip node disk test if cluster size < 2 2016-03-03 16:00:17 -05:00
Jay Vyas
b3203fb111 annotate NodeOutOfDisk as disruptive 2016-03-03 15:36:53 -05:00
Janet Kuo
87a240f828 Improve deployment error logs 2016-03-03 11:44:04 -08:00
Jeff Lowdermilk
8c500a9c31 Merge pull request #22279 from soltysh/describer_none
Unifying empty/none/not set values in describer
2016-03-03 11:40:54 -08:00
Prashanth Balasubramanian
92ff05f2e6 Wait till netexec is Ready in kubeproxy e2e 2016-03-03 11:27:32 -08:00
Prashanth Balasubramanian
33bb8e863c Add a simple clusterapi-tester, improve e2e logging. 2016-03-03 10:01:01 -08:00
Phillip Wittrock
b5bfc6c281 Move serve_hostname testing image to k8s test/images from contrib/for-demos 2016-03-03 09:22:43 -08:00
deads2k
f8f45df578 make kubectl logs work for replication controllers 2016-03-03 11:17:50 -05:00
gmarek
496fc3c7ed Make scheduler predicates test work with registered master 2016-03-03 10:09:26 +01:00
Wojciech Tyczynski
2ba342797d Explicitly set request for latency pods 2016-03-03 08:29:47 +01:00
derekwaynecarr
773cf73f0e Add e2e tests to verify more resources are deleted 2016-03-02 23:34:45 -05:00
k8s-merge-robot
d81d823ca5 Merge pull request #22393 from eparis/blunderbuss
Auto commit by PR queue bot
2016-03-02 18:51:56 -08:00
Eric Paris
5e5a823294 Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
Yu-Ju Hong
52d75d2188 e2e: print runtime MemStats when memory usage exceeds expectation 2016-03-02 17:20:49 -08:00
Yu-Ju Hong
216727c448 e2e: add kubelet resource usage test to monitor 100 pods per node 2016-03-02 15:23:54 -08:00
Vishnu kannan
e33ec7a6ba Re-enable system metrics kubelet tests.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-03-02 14:55:26 -08:00
Jay Vyas
09ad2da7ac minimal hostPath fix 2016-03-02 17:22:45 -05:00
Paul Morie
834776aa1f Add resource quota for ConfigMap 2016-03-02 09:59:51 -05:00
Paul Morie
d87e712b05 Disambiguate emptydir wrapper test 2016-03-02 09:00:16 -05:00
Maciej Szulik
1b56d79f64 Unifying empty/none/not set values in describer 2016-03-02 13:57:39 +01:00
Wojciech Tyczynski
e9d99bd8e7 Revert "Speed up load test in smaller clusters" 2016-03-02 12:24:13 +01:00
Janet Kuo
7bcb7289bb Don't pull from docker hub in deployment e2e test 2016-03-01 18:41:40 -08:00
Random-Liu
a88dad1c3e Backoff restart container with liveness probing failure 2016-03-01 17:36:12 -08:00
Saad Ali
c4ccd5188f Merge pull request #22110 from timstclair/volumetest
Move test-only volume files to test-only volume package
2016-03-01 15:47:41 -08:00
Saad Ali
564f78aeb8 Merge pull request #22295 from freehan/nettest
bump wait timeout for nettest container
2016-03-01 15:45:16 -08:00
k8s-merge-robot
51b005500d Merge pull request #22215 from pwittrock/enable-readonly-e2e
Auto commit by PR queue bot
2016-03-01 14:52:00 -08:00
k8s-merge-robot
8060e9c5eb Merge pull request #22200 from pwittrock/flaky
Auto commit by PR queue bot
2016-03-01 14:51:59 -08:00
Minhan Xia
57fc5e1380 bump wait timeout for nettest container 2016-03-01 11:17:15 -08:00
k8s-merge-robot
25ac08c0ab Merge pull request #22278 from gmarek/more_flake
Auto commit by PR queue bot
2016-03-01 10:13:45 -08:00
k8s-merge-robot
94a2319804 Merge pull request #22211 from derekwaynecarr/quota_fix
Auto commit by PR queue bot
2016-03-01 10:13:44 -08:00
Wojciech Tyczynski
c47aa368bd Increase QPS limits in integration and e2e tests 2016-03-01 16:49:38 +01:00
gmarek
675f45e9b4 Wait for namespace deletion in SchedulerPredicates 2016-03-01 16:40:28 +01:00
k8s-merge-robot
9e5d1b61fa Merge pull request #21882 from gmarek/throttle
Auto commit by PR queue bot
2016-03-01 06:38:06 -08:00
k8s-merge-robot
a40f8fb4d8 Merge pull request #21827 from spxtr/upgrade-subgroup
Auto commit by PR queue bot
2016-03-01 05:29:47 -08:00
k8s-merge-robot
84a98673cd Merge pull request #21785 from yujuhong/rss_limit
Auto commit by PR queue bot
2016-03-01 04:57:09 -08:00
k8s-merge-robot
95a9dd041e Merge pull request #22269 from wojtek-t/faster_load_test
Auto commit by PR queue bot
2016-03-01 04:25:27 -08:00
k8s-merge-robot
4057803e96 Merge pull request #22265 from wojtek-t/set_request_in_density
Auto commit by PR queue bot
2016-03-01 04:25:26 -08:00
k8s-merge-robot
8b1516cb07 Merge pull request #22055 from gmarek/saturation
Auto commit by PR queue bot
2016-03-01 04:25:24 -08:00
Wojciech Tyczynski
4a7af87984 Set requests in scalability tests 2016-03-01 12:15:23 +01:00
Wojciech Tyczynski
c6c98513eb Speed up load test in smaller clusters 2016-03-01 12:05:05 +01:00
Wojciech Tyczynski
2e9e92a4b3 Increase cpu limit for Kibana in scalability tests 2016-03-01 11:58:59 +01:00
gmarek
c9abcfa512 Add a cluster saturation time check to the Density test 2016-03-01 09:31:36 +01:00
Janet Kuo
47cf2f5a7c Deployment e2e tests to wait for async actions to happen rather than check it immediately 2016-03-01 00:14:20 -08:00
k8s-merge-robot
dfc8635da7 Merge pull request #21443 from yujuhong/density
Auto commit by PR queue bot
2016-03-01 00:08:49 -08:00
k8s-merge-robot
5b415a7aed Merge pull request #22210 from janetkuo/deployment-e2e
Auto commit by PR queue bot
2016-02-29 22:44:40 -08:00
k8s-merge-robot
9a4171c9de Merge pull request #22202 from janetkuo/fix-rollback-flake
Auto commit by PR queue bot
2016-02-29 22:12:29 -08:00
derekwaynecarr
cb1f1d373e ResourceQuota e2e should not assume 1 secret by default 2016-02-29 20:48:48 -05:00
derekwaynecarr
c9e4c846e6 Incorrect type passed into quota reflector 2016-02-29 20:48:48 -05:00
Prashanth Balasubramanian
41cbf952ca Ignore network flake in services e2e. 2016-02-29 17:40:24 -08:00
Janet Kuo
50d43ef65c In deployment rollback e2e test, wait for async actions to happen 2016-02-29 16:35:00 -08:00
Janet Kuo
1994b26b8d Uniquify names of controllers in deployment e2e tests 2016-02-29 16:09:14 -08:00
Kris
f22664159e Move the discovery client to its own package 2016-02-29 15:37:21 -08:00
Phillip Wittrock
b897981a11 Node e2e test - fix and re-enable readonly volume test. Fixes #21320 2016-02-29 14:46:34 -08:00
Matt Liggett
b53144ec70 Mark Daemon Set as Serial since it won't work in parallel.
Fixes #21767
2016-02-29 14:45:04 -08:00
Tim St. Clair
246b389275 Move test-only volume files to test-only volume package 2016-02-29 14:44:28 -08:00
Yu-Ju Hong
bd2323d5a6 e2e: add a high node density test
This test is primarily inteded to test the node performance.
2016-02-29 14:38:57 -08:00
Janet Kuo
c65d7b082c Move verifyPods to e2e test util 2016-02-29 14:26:01 -08:00
Saad Ali
83d74dd952 Merge pull request #22201 from liggitt/token-e2e
Use serviceAccountProvisionTimeout for e2e tests
2016-02-29 14:19:29 -08:00
Saad Ali
4183ac174b Merge pull request #21408 from krousey/unversioned_breakup
Move restclient to it's own package
2016-02-29 14:03:09 -08:00
Jordan Liggitt
daa37e121e Use serviceAccountProvisionTimeout for e2e tests 2016-02-29 16:00:38 -05:00
Phillip Wittrock
1b9a3fd5f8 Log container logs for failed containers if failedCount > max 2016-02-29 12:19:00 -08:00
Phillip Wittrock
9287e6c388 Node e2e sync pr builder host images to ci host images.
- Also fix seeding issue in run_e2e.go
- Disable failing kubelet_test for system container metrics
2016-02-29 12:15:55 -08:00
Kris
e664ef922f Move restclient to its own package 2016-02-29 12:05:13 -08:00
k8s-merge-robot
89038f3b1f Merge pull request #20415 from liangchenye/e2etest
Auto commit by PR queue bot
2016-02-29 07:34:05 -08:00
k8s-merge-robot
ce2556decf Merge pull request #22169 from wojtek-t/more_readable_load_log
Auto commit by PR queue bot
2016-02-29 05:09:39 -08:00
k8s-merge-robot
c76635c6ce Merge pull request #22168 from gmarek/density
Auto commit by PR queue bot
2016-02-29 05:09:38 -08:00
gmarek
ba8a67e554 DeamonSet test expect daemons on unschedulable Nodes 2016-02-29 12:17:18 +01:00
Wojciech Tyczynski
a126a0b53d Extend errors in load test 2016-02-29 11:17:27 +01:00
gmarek
d9fe5283c3 Log distribution of containers in density test 2016-02-29 11:14:27 +01:00
Wojciech Tyczynski
ca72f9908c Enable parallel namespace deletion in kubemarks and enormous cluster 2016-02-29 10:54:59 +01:00
gmarek
110340c467 Add an option to pass client's QPS/burst to e2e framework 2016-02-29 09:32:29 +01:00
k8s-merge-robot
5ecbf4ff4a Merge pull request #22138 from bgrant0607/bugfix1
Auto commit by PR queue bot
2016-02-28 02:00:40 -08:00
Brian Grant
d0dd4f8a93 Restore expectation timeout to 5 minutes. Fix enqueueDeployment. Pass by reference.
Make names of ReplicaSets created by Deployment deterministic for idempotence.
Eliminate use of expectations in Deployment controller.
2016-02-28 07:33:07 +00:00
k8s-merge-robot
6f8a951f87 Merge pull request #20446 from derekwaynecarr/quota_scopes
Auto commit by PR queue bot
2016-02-27 19:46:42 -08:00
Brian Grant
2c9e2745b6 Merge pull request #22084 from jayunit100/e2epanicreplica
Prevent panic in replica_set e2e
2016-02-27 05:12:49 -08:00
k8s-merge-robot
c4ffcbdbaa Merge pull request #21398 from liggitt/time-param
Auto commit by PR queue bot
2016-02-27 03:37:07 -08:00
Brian Grant
10e9bca7fb Merge pull request #21929 from janetkuo/remove-rollback-from-flaky
Remove all deployment e2e tests from flaky list
2016-02-26 23:23:13 -08:00
Fabio Yeon
440c3ff31b Merge pull request #22095 from goltermann/downward
Fixes to Downward and Secrets E2E examples
2016-02-26 19:07:04 -08:00
k8s-merge-robot
e0b305c6be Merge pull request #21609 from fejta/pull-version
Auto commit by PR queue bot
2016-02-26 18:00:33 -08:00
jay vyas
47c439de06 Prevent panic on podCreated failure by catching error 2016-02-26 20:46:15 -05:00
derekwaynecarr
75db4cb19a Add e2e tests for ResourceQuota 2016-02-26 20:34:15 -05:00
k8s-merge-robot
420d98fd8b Merge pull request #22027 from bprashanth/services_compare
Auto commit by PR queue bot
2016-02-26 17:25:22 -08:00
k8s-merge-robot
ce08973e96 Merge pull request #22092 from pwittrock/node-e2e-enable-hosts
Auto commit by PR queue bot
2016-02-26 16:52:15 -08:00
goltermann
9c701a47e2 Fixes to Downward and Secrets E2E examples. 2016-02-26 16:35:21 -08:00
Janet Kuo
34a97a2433 Remove all deployment e2e tests from flaky list 2016-02-26 15:54:52 -08:00
Fabio Yeon
09dd0f1809 Merge pull request #21639 from jayunit100/cassandra-example-fix
Fix broken cassandra test: Up to date containers + RC of 2 nodes with…
2016-02-26 15:48:02 -08:00
Fabio Yeon
1065f4f932 Merge pull request #21621 from jayunit100/k8bps-defaultns
[examples] k8petstore: connection timeouts + allow blips.
2016-02-26 15:47:00 -08:00
Phillip Wittrock
0db316970c Node e2e fix etcd compability issues across versions 2016-02-26 15:44:40 -08:00
nikhiljindal
1eaf760c95 deployment e2e: print out the error 2016-02-26 14:18:56 -08:00
Fabio Yeon
3ce28f5e0c Merge pull request #22014 from ihmccreery/decouple-node-upgrade
Decouple node upgrade from master upgrade
2016-02-26 13:03:18 -08:00
Fabio Yeon
bdfbdc72d9 Merge pull request #22057 from gmarek/register
Small fix to make tests pass when master node is registered
2016-02-26 13:00:27 -08:00
k8s-merge-robot
192119c2ac Merge pull request #21610 from fejta/e2etag
Auto commit by PR queue bot
2016-02-26 12:52:43 -08:00
k8s-merge-robot
a53bf86f40 Merge pull request #21946 from pwittrock/node-e2e-images
Auto commit by PR queue bot
2016-02-26 12:18:03 -08:00
Prashanth Balasubramanian
9be53e6319 Strip whitespace when comparing endpoints in services test. 2016-02-26 12:02:14 -08:00
Fabio Yeon
3dab166da4 Merge pull request #21776 from erictune/job-sel-gen
Selector generation for batch/v1 Job
2016-02-26 11:58:21 -08:00
Phillip Wittrock
a11489e0ff Node e2e documentations and minor features
- Add README.md for node e2e tests
- Add support for --cleanup=false to leave test files on remote hosts and temporary instances for debugging
- Add ubuntu trusty instances for docker 1.8 and docker 1.9 to jenkins pr builder
- Disable coreos-beta for jenkins ci since it is failing - need to investigate
2016-02-26 10:58:48 -08:00
k8s-merge-robot
649b6879d7 Merge pull request #22053 from gmarek/resources
Auto commit by PR queue bot
2016-02-26 08:03:55 -08:00
gmarek
48fefd0f53 Small fix to make tests pass when master node is registered 2016-02-26 16:09:49 +01:00
gmarek
94c08fbf31 Workaround hanging proxies in resource gatherer 2016-02-26 14:23:53 +01:00
Wojciech Tyczynski
f3b44c129a Increase memory limit for influxdb in Density test 2016-02-26 13:49:05 +01:00
gmarek
d859968377 Remove debug logs from resource gatherer 2016-02-26 10:23:08 +01:00
Marek Grabowski
1cc91025b7 Merge pull request #22021 from bprashanth/log_addons
Dump kubectl logs for non-ready containers on startup
2016-02-26 09:21:01 +01:00
liangchenye
e3861cd6fc use phase to test container status
Signed-off-by: liangchenye <liangchenye@huawei.com>
2016-02-26 14:32:03 +08:00
liangchenye
7d41164931 blackbox test: list, create, remove
Signed-off-by: liangchenye <liangchenye@huawei.com>
2016-02-26 12:31:29 +08:00
k8s-merge-robot
b092294302 Merge pull request #21807 from freehan/nettest
Auto commit by PR queue bot
2016-02-25 20:10:48 -08:00
k8s-merge-robot
7ee8dde1e3 Merge pull request #21945 from yujuhong/tag_nginx
Auto commit by PR queue bot
2016-02-25 19:37:09 -08:00
k8s-merge-robot
8c60068b36 Merge pull request #21794 from caesarxuchao/fix-19715
Auto commit by PR queue bot
2016-02-25 18:31:52 -08:00
Fabio Yeon
307ec46bce Merge pull request #21474 from quinton-hoole/2016-01-12-ubelite-e2e-spreading
Add Ubernetes Lite e2e tests for spreading RC and Service pods evenly…
2016-02-25 17:33:00 -08:00
nikhiljindal
2db2fba1b1 Delete replica set and its pods as well rather than just deleting the replica set 2016-02-25 15:26:58 -08:00
Prashanth Balasubramanian
d5226bb044 Kubectl log all failed containers in namespace=kube-system. 2016-02-25 14:54:17 -08:00
Isaac Hollander McCreery
de3b17a86f Remove silent provider skips, since upgrade tests are feature tests, and aren't turned on by default anyway 2016-02-25 13:40:22 -08:00
Isaac Hollander McCreery
1bf69415cd Decouple node upgrade from master upgrade 2016-02-25 13:37:16 -08:00
Sami Wagiaalla
d43372b901 Add SELinuxOptions to emptyDir e2e
This enables the tests to use the kubelet's SELinux labeling.
Otherwise SELinux will prevent access and the tests fail.
2016-02-25 16:26:16 -05:00
Eric Tune
875755f992 Added Selector Generation to Job.
Added selector generation to Job's
strategy.Validate, right before validation.
Can't do in defaulting since UID is not known.

Added a validation to Job to ensure that the generated
labels and selector are correct when generation was requested.
This happens right after generation, but validation is in a better
place to return an error.

Adds "manualSelector" field to batch/v1 Job to control selector generation.
Adds same field to extensions/__internal.  Conversion between those two
is automatic.

Adds "autoSelector" field to extensions/v1beta1 Job.  Used for storing batch/v1 Jobs
    - Default for v1 is to do generation.
    - Default for v1beta1 is to not do it.
    - In both cases, unset == false == do the default thing.

Release notes:
Added batch/v1 group, which contains just Job, and which is the next
version of extensions/v1beta1 Job.

The changes from the previous version are:
- Users no longer need to ensure labels on their pod template are unique to the enclosing
  job (but may add labels as needed for categorization).
- In v1beta1, job.spec.selector was defaulted from pod labels, with the user responsible for uniqueness.
  In v1, a unique label is generated and added to the pod template, and used as the selector (other
  labels added by user stay on pod template, but need not be used by selector).
- a new field called "manualSelector" field exists to control whether the new behavior is used,
  versus a more error-prone but more flexible "manual" (not generated) seletor.  Most users
  will not need to use this field and should leave it unset.

Users who are creating extensions.Job go objects and then posting them using the go client
will see a change in the default behavior.  They need to either stop providing a selector (relying on
selector generation) or else specify "spec.manualSelector" until they are ready to do the former.
2016-02-25 09:28:07 -08:00
gmarek
fdb3020f85 Add more logs to resource gatherer to help with debugging 2016-02-25 14:55:29 +01:00
k8s-merge-robot
995b72798c Merge pull request #21974 from gmarek/refactor-gatherer
Auto commit by PR queue bot
2016-02-25 04:10:32 -08:00
k8s-merge-robot
47986aa018 Merge pull request #21163 from pmorie/downward-api-e2e-time
Auto commit by PR queue bot
2016-02-25 03:08:44 -08:00
gmarek
ff6b3d1fb1 Fix spreading in resource usage gatherer 2016-02-25 11:54:34 +01:00
k8s-merge-robot
bc52f12a56 Merge pull request #20808 from soltysh/e2e_tests
Auto commit by PR queue bot
2016-02-25 01:57:24 -08:00
k8s-merge-robot
7f613dbf15 Merge pull request #21204 from pwittrock/node-e2e-pull
Auto commit by PR queue bot
2016-02-24 22:16:48 -08:00
Jordan Liggitt
ea59b4c741 Fix sinceTime pod log options 2016-02-25 00:46:13 -05:00
Brian Grant
63c85691bd Merge pull request #21795 from janetkuo/deployment-e2e-flake-panic
Fix the nil pointer dereference in addHashKeyToRSAndPods
2016-02-24 21:25:35 -08:00
k8s-merge-robot
9a4e3f8470 Merge pull request #21870 from mqliang/lookup-cache
Auto commit by PR queue bot
2016-02-24 20:01:29 -08:00
Minhan Xia
66940c2d44 wait for all webserver endpoints to come up before contacting peers 2016-02-24 18:35:59 -08:00
Quinton Hoole
a9fd207140 Add Ubernetes Lite e2e tests for spreading RC and Service pods evenly across all zones.
Fixes #19415
2016-02-24 16:59:41 -08:00
Yu-Ju Hong
a66a60bc37 e2e: change the tests to use versioned image nginx:1.7.9 2016-02-24 16:54:40 -08:00
Janet Kuo
082702390a Fix test flake 2016-02-24 16:41:36 -08:00
Alex Robinson
c031697848 Merge pull request #21626 from jayunit100/examples-spark-fix
Fix broken spark tests to use yaml files, 1 worker, declare DNS depe…
2016-02-24 16:30:19 -08:00
Phillip Wittrock
c51c606f22 Node e2e test runner - run against images
- support allocating gce instances from images and running tests against them
- set --hostname-override to match node name
- add jenkins script to source to reproduce jenkins build locally
2016-02-24 16:29:59 -08:00
Chao Xu
3efd3c62e6 Replace ineffective DeleteOptions with nil 2016-02-24 15:06:24 -08:00
Alex Robinson
0b4d702e04 Merge pull request #21730 from lavalamp/fix-proxy-svc-pod
add readiness probe to proxy test
2016-02-24 14:44:48 -08:00
Alex Robinson
475076e1df Merge pull request #21569 from lavalamp/fix-shadowing
fix shadowing bug
2016-02-24 14:42:58 -08:00
Brian Grant
0b5edab208 Merge pull request #21857 from nikhiljindal/stopDeployment
fix deployment e2e flake: Update DeploymentReaper.Stop to use ObservedGeneration
2016-02-24 14:26:23 -08:00
mqliang
e44e71ca87 make cache size configurable 2016-02-24 22:37:02 +08:00
k8s-merge-robot
07e9bd82dc Merge pull request #21759 from gmarek/refactor-gatherer
Auto commit by PR queue bot
2016-02-24 04:37:14 -08:00
gmarek
ac706ea1de Resource gatherer refactoring 2016-02-24 12:55:32 +01:00
Wojciech Tyczynski
a8ed5103f6 Increase QPS limits in density test 2016-02-24 12:15:49 +01:00
nikhiljindal
7e50fa6df0 Update DeploymentReaper.Stop to use ObservedGeneration to remove race condition 2016-02-24 00:09:44 -08:00
Marcin Wielgus
ef2f06f02a Merge pull request #21602 from ncdc/port-forward-kubectl-timeout-flake
Fix kubectl timeout test flake in e2e/portforward
2016-02-24 08:59:05 +01:00
jay vyas
6efe5d05c3 [examples] k8petstore: connection timeouts and pass fail that is allows blips.
Author:    jay vyas <jay@apache.org>
 Date:      Fri Feb 19 18:44:13 2016 -0500
 Committer: jay vyas <jay@apache.org>
2016-02-23 23:11:44 -05:00
Janet Kuo
82dcc56fe3 Improve log for debug 2016-02-23 17:52:24 -08:00
Janet Kuo
ebcce18d96 Sort events by their first timestamp when dumping them 2016-02-23 17:52:24 -08:00
Joe Finney
372d1b6020 Remove check for rolling-updates gcloud subgroup. 2016-02-23 17:45:44 -08:00
Dawn Chen
b19102ba23 Merge pull request #21796 from nikhiljindal/deploymente2eLogs
deployment e2e test flake: Print the remaining pods to debug test flake
2016-02-23 16:43:00 -08:00
k8s-merge-robot
067998e727 Merge pull request #21622 from pwittrock/nodee2essh
Auto commit by PR queue bot
2016-02-23 16:42:42 -08:00
nikhiljindal
ac6188c676 Print the remaining pods to debug test flake 2016-02-23 14:57:19 -08:00
Daniel Smith
6afe858b44 fix shadowing bug 2016-02-23 14:51:12 -08:00
Yu-Ju Hong
cdece9922b e2e: fix logging the latest cpu summary 2016-02-23 12:16:15 -08:00
Yu-Ju Hong
f52e0e5e1f e2e: set RSS memory usage limit for kubelet/docker 2016-02-23 12:14:09 -08:00
kargakis
7a3d40786b switch internal field to int64 2016-02-23 19:30:33 +01:00
kargakis
418d79cb78 extensions: add observedGeneration for deployments 2016-02-23 18:47:40 +01:00
k8s-merge-robot
aa9e139894 Merge pull request #21726 from janetkuo/log-on-timeout
Auto commit by PR queue bot
2016-02-23 04:16:49 -08:00
k8s-merge-robot
6b649d7f9f Merge pull request #21706 from liggitt/token-controller
Auto commit by PR queue bot
2016-02-23 02:40:26 -08:00
k8s-merge-robot
599af17e0d Merge pull request #21685 from gmarek/resource-usage
Auto commit by PR queue bot
2016-02-23 00:16:21 -08:00
k8s-merge-robot
0afbc71f31 Merge pull request #21030 from janetkuo/deployment-label-adopted
Auto commit by PR queue bot
2016-02-22 23:45:42 -08:00
Brian Grant
7662a5ee54 Merge pull request #21734 from janetkuo/rollover-flake
Wait for pods to become available before rolling over in deployment e2e test
2016-02-22 20:15:33 -08:00
Phillip Wittrock
a3623c0c14 Refactor node e2e tests
- Add Makefile targets
- Start services in the test harness and connect locally
- Build test into binary and copy to remote host to start services
- Use tar to copy binaries to remote hosts to simplify design
2016-02-22 20:06:15 -08:00
Janet Kuo
ecce9492cc Wait for pods to become available before rolling over in deployment e2e test 2016-02-22 18:36:39 -08:00
Brian Grant
f4de3ea676 Merge pull request #21710 from janetkuo/flake-event-order
Don't rely on events in deployment rollback e2e test
2016-02-22 17:54:07 -08:00
Daniel Smith
9d87b47d77 add readiness probe to proxy test 2016-02-22 17:43:25 -08:00
Janet Kuo
4369a21969 Log deployment, RSes and pods on waitForDeploymentStatus timeout / condition mismatch 2016-02-22 17:29:44 -08:00
jay vyas
4c91cf2028 e2e cassandra fixes, needs follow on container update 2016-02-22 19:50:05 -05:00
Brian Grant
6cecf2b357 Merge pull request #21715 from janetkuo/remove-racy-check
Remove racy check in waitForDeploymentStatus; wait for underlying resources to reach the desired state instead
2016-02-22 16:22:14 -08:00
Dawn Chen
201d60b426 Merge pull request #21440 from bprashanth/glbc_name
Add image version to glbc name.
2016-02-22 14:48:48 -08:00
Janet Kuo
d2c9d51999 Remove racy check in waitForDeploymentStatus; wait for underlying resources to reach the desired state instead 2016-02-22 14:47:38 -08:00
Janet Kuo
eaa4eb10aa Don't rely on events in deployment rollback e2e test 2016-02-22 13:51:51 -08:00
jay vyas
782b268f02 [examples] [e2e] Fix spark example e2e tests: labels, forEach, json->yaml 2016-02-22 16:40:30 -05:00
Jordan Liggitt
92bf353496 Ensure created service account tokens are available to the token controller 2016-02-22 16:22:51 -05:00
Andy Goldstein
03d926c2a7 Fix kubectl timeout test flake in e2e/portforward
Instead of using `kubectl logs -f` and waiting for it to terminate when the container/pod stopped,
switch to explicitly waiting for the pod to stop and then get the pod logs without -f to avoid
hanging.
2016-02-22 14:39:20 -05:00
k8s-merge-robot
6a199706cb Merge pull request #21423 from ihmccreery/version-guard-deployments
Auto commit by PR queue bot
2016-02-22 11:04:51 -08:00
Janet Kuo
4699a6d8a2 Address comments; fix test failure 2016-02-22 10:58:54 -08:00
Janet Kuo
11fdbff97f Address comments; fix test failures; add e2e tests; update RS's label too 2016-02-22 10:58:54 -08:00
Brian Grant
bd3cde0e0a Mark flaky Deployment e2e tests until the problems are resolved.
Ref #21463, #21467, #21491, #19299
2016-02-22 17:27:14 +00:00
gmarek
20e15cb6af Changes in resource gathering to help debugging 2016-02-22 16:45:30 +01:00
k8s-merge-robot
2c3b3d5716 Merge pull request #21494 from saad-ali/markRemainingTwoPDTestsAsSlow
Auto commit by PR queue bot
2016-02-22 07:41:46 -08:00
k8s-merge-robot
aee2eb3977 Merge pull request #21434 from erictune/job-ga
Auto commit by PR queue bot
2016-02-22 00:12:54 -08:00
k8s-merge-robot
e34a23b289 Merge pull request #21351 from smarterclayton/optional_pod_status
Auto commit by PR queue bot
2016-02-21 04:10:19 -08:00
k8s-merge-robot
6f2b88cb2a Merge pull request #21516 from nikhiljindal/limitRangee2e
Auto commit by PR queue bot
2016-02-20 02:20:17 -08:00
k8s-merge-robot
f08a8f23c1 Merge pull request #20959 from justinsb/fix_20911
Auto commit by PR queue bot
2016-02-20 00:56:53 -08:00
Erick Fejta
3d8913a43a Use e2e tagged version of test images that aren't versioned 2016-02-19 20:22:49 -08:00
Erick Fejta
c2e1f26ee7 Add versions to volume images to avoid repeatedly pulling the same image. 2016-02-19 19:09:16 -08:00
Janet Kuo
b267ede42c Address comments 2016-02-19 15:58:33 -08:00
Eric Tune
bab89e95ce Fix jobs integration test. 2016-02-19 15:56:40 -08:00
Janet Kuo
6ceb221f8e Log pods of RS when deployment e2e test fails 2016-02-19 15:55:22 -08:00
Brian Grant
6766f11a5b Merge pull request #21586 from janetkuo/retry-update-e2e
Retry all Update in deployment e2e tests
2016-02-19 15:02:28 -08:00
Prashanth B
6a1156d7a3 Merge pull request #21573 from pmorie/configmap-flake
Make flake in configMap update e2e easier to debug
2016-02-19 14:44:13 -08:00
Maciej Szulik
7f61f62ec2 Allow custom namespace creation in e2e framework 2016-02-19 23:17:50 +01:00
Janet Kuo
98a1eaf245 Retry all Update in deployment e2e tests 2016-02-19 13:45:57 -08:00
Brendan Burns
8bda033ef1 Merge pull request #21444 from dchen1107/test1
Log daemons' failure reasons to supervisord log files
2016-02-19 13:08:19 -08:00
k8s-merge-robot
d37060d4f0 Merge pull request #21061 from mqliang/deployment-e2e-IntPtr
Auto commit by PR queue bot
2016-02-19 13:07:25 -08:00
Paul Morie
f8d58ac708 Make flake in configMap update e2e easier to debug 2016-02-19 15:01:20 -05:00
k8s-merge-robot
c3a962bff5 Merge pull request #20351 from krousey/dynamic_client
Auto commit by PR queue bot
2016-02-19 10:00:54 -08:00
Eric Tune
d5f303d3d7 Fixed and added tests 2016-02-19 09:20:56 -08:00
k8s-merge-robot
921caee646 Merge pull request #21472 from gmarek/kubemark-log
Auto commit by PR queue bot
2016-02-19 08:27:28 -08:00
k8s-merge-robot
62587b66ff Merge pull request #21019 from freehan/estest
Auto commit by PR queue bot
2016-02-19 05:46:23 -08:00
k8s-merge-robot
2236c843cd Merge pull request #20458 from freehan/nodedown
Auto commit by PR queue bot
2016-02-18 20:47:06 -08:00
Phillip Wittrock
4151e96a60 Merge pull request #21510 from jlowdermilk/fix-nodeoutofdisk
Don't call framework.before|afterEach in nodeoutofdisk test
2016-02-18 18:55:32 -08:00
k8s-merge-robot
f1cbaed60f Merge pull request #17493 from feihujiang/supportSubresourceOfServiceProxy
Auto commit by PR queue bot
2016-02-18 18:22:59 -08:00
Minhan Xia
7823d615e8 put block/unblock network function into util 2016-02-18 16:30:41 -08:00
Phillip Wittrock
c6fea28e83 Merge pull request #21368 from timstclair/summary-api
Move stats summary types to a new kubelet/api package to avoid unnece…
2016-02-18 16:05:34 -08:00
nikhiljindal
68dec27792 Adding some debug messages on test failure 2016-02-18 15:17:27 -08:00
Jeff Lowdermilk
71febf4b24 Don't call framework.before|afterEach in nodeoutofdisk test 2016-02-18 14:33:04 -08:00
Paul Morie
6cc1ba4158 Make downward API volume test run faster 2016-02-18 17:20:09 -05:00
Prashanth Balasubramanian
058db9a758 Add image version to glbc name, and fix e2e appropriately. 2016-02-18 13:03:01 -08:00
saadali
820b416232 Mark remaining two PD tests as slow 2016-02-18 11:24:41 -08:00
Phillip Wittrock
c61436ea94 Merge pull request #21410 from jlowdermilk/before-suite-dump
e2e: log events, pod/node info when kube-system pods fail to start
2016-02-18 11:12:34 -08:00
k8s-merge-robot
5acdb92126 Merge pull request #21177 from laushinka/spelling-fixes
Auto commit by PR queue bot
2016-02-18 10:29:49 -08:00
gmarek
0cf1b922c4 Add more logging in case of Kubemark startup failure 2016-02-18 16:32:04 +01:00
k8s-merge-robot
17325ef6ef Merge pull request #20501 from piosz/hpa-ga
Auto commit by PR queue bot
2016-02-18 06:52:39 -08:00
feihujiang
ac9f890238 Support the subresource of service proxy 2016-02-18 15:16:05 +08:00
k8s-merge-robot
bcabc096f2 Merge pull request #21130 from madhusudancs/daemonset-enable-default
Auto commit by PR queue bot
2016-02-17 22:54:35 -08:00
Dawn Chen
b17412a1d9 collect docker.log 2016-02-17 17:06:07 -08:00
Dawn Chen
c46ee395b9 Collect kubelet healthz failure reason log on nodes. Also collect etcd log on master node. 2016-02-17 16:50:45 -08:00
Dawn Chen
e03c632a5e Merge pull request #21208 from dchen1107/test
Collect kern.log from nodes for debugging.
2016-02-17 16:41:03 -08:00
laushinka
7ef585be22 Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
Madhusudan.C.S
31606e6d2f Remove Deployment and DaemonSet "Feature:" tags from e2e tests. 2016-02-17 15:04:31 -08:00
Dawn Chen
c801fa58db Collect kern.log from node for debugging. 2016-02-17 14:56:19 -08:00
gmarek
dfb1e69ea2 Fix namespace test 2016-02-17 14:16:32 -08:00
Jeff Lowdermilk
4b7764b5f9 e2e: log events, pod/node info when kube-system pods fail to start 2016-02-17 13:48:11 -08:00
Isaac Hollander McCreery
7b26656305 Skip Kubectl deployment test on clusters older that v1.2.0-alpha.7.726 2016-02-17 13:36:24 -08:00
Tim St. Clair
225f903ccf Move stats summary types to a new kubelet/api package to avoid unnecessary dependencies 2016-02-17 10:53:25 -08:00
k8s-merge-robot
0866c377e9 Merge pull request #18010 from feihujiang/supportSubresourceOfNodeProxy
Auto commit by PR queue bot
2016-02-17 08:15:50 -08:00
k8s-merge-robot
b66cb189c7 Merge pull request #13568 from marun/network-e2e
Auto commit by PR queue bot
2016-02-17 06:45:22 -08:00
Marek Grabowski
c0024626ff Merge pull request #21307 from wojtek-t/store_master_logs_in_kubemark
Store logs from master components from Kubemark runs in GCS
2016-02-17 11:13:45 +01:00
gmarek
0180b73218 Fix bug in resource gatherer and add logging to help debug if it doesn't help 2016-02-17 09:24:59 +01:00
Clayton Coleman
778fb1798b Don't print reason or message if they are empty on pods
For running pods they are typically empty and convey no value. Don't
print images twice.
2016-02-16 23:26:59 -05:00
k8s-merge-robot
b1db1439e8 Merge pull request #21121 from bparees/typo
Auto commit by PR queue bot
2016-02-16 13:00:08 -08:00
Phillip Wittrock
d8a689c195 diable readonly fs tests until 21320 is resolved 2016-02-16 10:08:01 -08:00
k8s-merge-robot
ea0b040e81 Merge pull request #21312 from wojtek-t/logs_for_scalability_debug
Auto commit by PR queue bot
2016-02-16 08:55:08 -08:00
k8s-merge-robot
a12b202dd7 Merge pull request #21290 from vsimon/patch-1
Auto commit by PR queue bot
2016-02-16 08:55:07 -08:00
Wojciech Tyczynski
fbb6cc4a59 Add logss to debug scalability failure 2016-02-16 17:02:42 +01:00
Wojciech Tyczynski
3509f80bf9 Store logs from master components from Kubemark runs in GCS 2016-02-16 15:33:15 +01:00
Wojciech Tyczynski
03dee7be1c Merge pull request #21213 from pmorie/e2e-kubeconfig
Make e2e.test binary know about KUBECONFIG env var
2016-02-16 14:07:33 +01:00
Wojciech Tyczynski
c9d6b5fc74 Unify running tests in Kubemark 2016-02-16 13:44:52 +01:00
Wojciech Tyczynski
6e2e39864c Merge pull request #21255 from wojtek-t/extend_load_logging
Extend logging for load test debugging
2016-02-16 11:11:46 +01:00
feihujiang
e85253916f Support the subresource of node proxy 2016-02-16 17:02:45 +08:00
Vicken Simonian
b13369e0ec Fix comment typo 2016-02-15 20:14:39 -08:00
k8s-merge-robot
2778bc0c13 Merge pull request #21020 from yujuhong/rss
Auto commit by PR queue bot
2016-02-15 12:50:07 -08:00
Piotr Szczesniak
d9705940d6 Fixed and added tests 2016-02-15 21:39:00 +01:00
k8s-merge-robot
acb160739f Merge pull request #21250 from wojtek-t/always_remove_namespace
Auto commit by PR queue bot
2016-02-15 10:33:05 -08:00
mqliang
4f0031e272 use the IntPtr() funcs to create pointer to an int 2016-02-15 22:38:11 +08:00
gmarek
f0bc1b6cd0 Fix log gatherer 2016-02-15 15:11:38 +01:00
Wojciech Tyczynski
463d21f352 Comment out calls to httptest.Server.Close() 2016-02-15 12:53:02 +01:00
Wojciech Tyczynski
02c1a4980f Extend logging for load test debugging 2016-02-15 12:21:51 +01:00
Wojciech Tyczynski
ca7a9f855a Always delete namespace in test framework 2016-02-15 10:19:04 +01:00
k8s-merge-robot
50ca5460d5 Merge pull request #21242 from wojtek-t/fix_kibana_cpu
Auto commit by PR queue bot
2016-02-15 00:18:38 -08:00
Wojciech Tyczynski
d8a2212f44 Increase cpu limits for Kibana in scalability tests 2016-02-15 08:32:47 +01:00
k8s-merge-robot
39a9043b8e Merge pull request #21095 from liggitt/sa-namespace
Auto commit by PR queue bot
2016-02-14 22:13:10 -08:00
k8s-merge-robot
4ff418ca50 Merge pull request #21057 from davidopp/work1
Auto commit by PR queue bot
2016-02-14 20:48:17 -08:00
David Oppenheimer
66368efad5 Comment out NodeAffinity.RequiredDuringSchedulingRequiredDuringExecution
because it is not yet implemented.
2016-02-14 17:46:13 -08:00
Paul Morie
d1dc259ef2 ConfigMap volume source 2016-02-14 16:19:17 -05:00
k8s-merge-robot
44d12a1389 Merge pull request #20782 from nickschuch/readonly_container_2
Auto commit by PR queue bot
2016-02-14 13:18:24 -08:00
k8s-merge-robot
663ae6c5db Merge pull request #21003 from roberthbailey/revert-19469
Auto commit by PR queue bot
2016-02-14 06:45:32 -08:00
k8s-merge-robot
d28ac1f88b Merge pull request #20948 from ghodss/versioned-apply
Auto commit by PR queue bot
2016-02-14 00:56:10 -08:00
Nick Schuch
5d511aeb54 Adds ReadOnlyRootFilesystem support for containers 2016-02-14 15:39:51 +10:00
Tim Hockin
ff3f9f6bcc Move "extra" namespaces into framework
Now an aborted test will delete namespaces.  Hopefully this means less GCE
leaks.
2016-02-13 20:37:04 -08:00
Tim Hockin
677d4d6dbc e2e: Call AfterEach handlers in case of an abort
I was tired of aborted tests leaving debris in my cluster.
2016-02-13 20:29:46 -08:00
k8s-merge-robot
524aaa2f7f Merge pull request #21152 from kargakis/fix-cleanup-policy
Auto commit by PR queue bot
2016-02-13 03:47:33 -08:00
k8s-merge-robot
19c8d73cac Merge pull request #18077 from soltysh/stop_deployment
Auto commit by PR queue bot
2016-02-12 22:47:04 -08:00
Paul Morie
bf5e2c06de Make e2e.test binary know about KUBECONFIG env var 2016-02-13 01:23:41 -05:00
k8s-merge-robot
1bc3a00adc Merge pull request #21112 from ixdy/nettest-deadlock-fix
Auto commit by PR queue bot
2016-02-12 22:18:26 -08:00
Isaac Hollander McCreery
c09da9e03c Remove [Skipped] as a label for tests. 2016-02-12 17:24:06 -08:00
k8s-merge-robot
4c60a23204 Merge pull request #21203 from timstclair/summary-api
Auto commit by PR queue bot
2016-02-12 17:06:15 -08:00
Tim St. Clair
f258737e84 Fix broken node test from 7a54f94 2016-02-12 15:49:35 -08:00
k8s-merge-robot
0615f52054 Merge pull request #21184 from vishh/20993
Auto commit by PR queue bot
2016-02-12 14:26:14 -08:00
Yu-Ju Hong
082da18e8a e2e: change memory fields to use unit64 2016-02-12 13:19:12 -08:00
Yu-Ju Hong
715ea4c8b1 e2e: checking RSS memory for daemons 2016-02-12 13:16:27 -08:00
Vishnu kannan
3ad5888673 Revert "node e2e tests - disable testing metrics for system containers"
This reverts commit 75bce624cb.
2016-02-12 12:35:49 -08:00
Janet Kuo
4e8b4871c4 Add e2e test for kubectl run should generate deployment 2016-02-12 12:29:14 -08:00
Kris
4c58302b5b Adding dynamic client 2016-02-12 11:49:00 -08:00
Ben Parees
f28cc156fc fix typo in test log message 2016-02-12 14:12:35 -05:00
Michail Kargakis
b9839d0677 controller: fix cleanup policy for deployments
Cleanup policy should run on all replica sets and not only on those that
have pods (we will not cleanup those anyway).
2016-02-12 19:14:18 +01:00
Maru Newby
6bca837504 Add granular networking e2e tests
This change adds 2 new e2e tests to test that:

 - a pod can reach another pod on the same node
 - a pod can reach another pod on another node

The intention is to provide a more granular indication of networking
failure than the existing intra-pod test for the benefit of network
plugin developers.
2016-02-12 08:47:57 -08:00
k8s-merge-robot
9d776d999d Merge pull request #20932 from saad-ali/fix20757
Auto commit by PR queue bot
2016-02-12 07:58:53 -08:00
k8s-merge-robot
678958a706 Merge pull request #19868 from jsafrane/devel/syncclaim-twice
Auto commit by PR queue bot
2016-02-12 06:21:21 -08:00
Wojciech Tyczynski
817d0f250a Merge pull request #21069 from wojtek-t/fix_namespace_test_issues
Fix framework afterEach method
2016-02-12 09:49:47 +01:00
Jeff Grafton
87b0783808 Update tests to use nettest:1.7 2016-02-11 15:50:53 -08:00
Jeff Grafton
214d018911 Fix deadlock in nettest webserver 2016-02-11 15:50:45 -08:00
k8s-merge-robot
85f0f82ee2 Merge pull request #21026 from pwittrock/disable-e2e
Auto commit by PR queue bot
2016-02-11 14:19:39 -08:00
Mike Danese
34447ca3bd Merge pull request #21050 from caesarxuchao/fix-21045
Fix clientset e2e test flake
2016-02-11 13:12:39 -08:00
k8s-merge-robot
5d66ee4f02 Merge pull request #20998 from ihmccreery/fix-6541
Auto commit by PR queue bot
2016-02-11 13:06:33 -08:00
Maisem Ali
1c6a223eaa Merge pull request #20865 from maisem/master
Adding a readiness probe to kubectl e2e tests.
2016-02-11 12:55:15 -08:00
Jordan Liggitt
20216fa607 Provide current namespace to InClusterConfig 2016-02-11 15:51:31 -05:00
Isaac Hollander McCreery
0bb7019b3a Promote Monitoring e2e out of [Flaky] 2016-02-11 11:34:07 -08:00
Mike Danese
1478cf345a Merge pull request #21090 from ihmccreery/feature-reboot
Quarantine reboot tests (again)
2016-02-11 11:28:37 -08:00
Isaac Hollander McCreery
6ad95be523 Quarantine reboot tests (again) 2016-02-11 11:18:15 -08:00
Mike Danese
b3bc741d0d Merge pull request #21032 from sjenning/fix-flake-20910
e2e: use runId UUID for staticIPName to avoid collision
2016-02-11 10:21:41 -08:00
Chao Xu
e1ea646ab1 set rv to make List() result up-to-date 2016-02-11 10:04:19 -08:00
Maciej Szulik
0ea31b56ed Adding reaper for deployments 2016-02-11 19:02:32 +01:00
Maciej Szulik
eb5f707f24 Updated e2e description in stopping jobs 2016-02-11 19:02:31 +01:00
Minhan Xia
a33f11f225 mark Elasticsearch test as Feature 2016-02-11 09:56:05 -08:00
Phillip Wittrock
75bce624cb node e2e tests - disable testing metrics for system containers 2016-02-11 09:30:49 -08:00
Robert Bailey
7c05607aca Revert #19469 so re-enable the metrics grabbing test on GKE. 2016-02-11 08:15:14 -08:00
k8s-merge-robot
62e574341c Merge pull request #20976 from wojtek-t/remove_annoying_logs
Auto commit by PR queue bot
2016-02-11 06:51:15 -08:00
k8s-merge-robot
4ac6948ae9 Merge pull request #21068 from wojtek-t/fix_kubemark_deadlock
Auto commit by PR queue bot
2016-02-11 06:24:35 -08:00
k8s-merge-robot
3522f7bea8 Merge pull request #20939 from ixdy/use-framework
Auto commit by PR queue bot
2016-02-11 05:18:39 -08:00
Wojciech Tyczynski
06106cfb10 Fix framework afterEach method 2016-02-11 13:14:32 +01:00
Justin Santa Barbara
46b89464fd e2e: Allow longer for AWS LoadBalancers to start serving traffic
When we create a LoadBalancer on AWS, there is a longer delay after
creating the LB before it starts to serve traffic than there is on GCE.
A delay of a few minutes is normal.

Use a longer timeout when waiting for the LB on AWS therefore.
2016-02-11 06:43:31 -05:00
Wojciech Tyczynski
519021b978 Timeout creating kubemark nodes 2016-02-11 12:19:37 +01:00
gmarek
918ddbe5f0 Small cleanup 2016-02-11 10:08:24 +01:00
Seth Jennings
982af896e1 use runId UUID for staticIPName to avoid collision 2016-02-10 21:42:17 -06:00
Chao Xu
1c84552757 generate the versioned clientset 2016-02-10 17:22:46 -08:00
Sam Ghods
fd5747f89c Fix reference to versioned object in kubectl apply
Fixes #19639
2016-02-10 14:11:44 -08:00
k8s-merge-robot
3b41600e5a Merge pull request #20929 from thockin/go-vet
Auto commit by PR queue bot
2016-02-10 12:13:55 -08:00
k8s-merge-robot
86a7a9534a Merge pull request #20924 from kubernetes/revert-20651-quarantine-reboot
Auto commit by PR queue bot
2016-02-10 09:36:09 -08:00
Justin Santa Barbara
a0093eb503 e2e: Don't try to create a UDP LoadBalancer on AWS
AWS doesn't support type=LoadBalancer with UDP services.  For now, we
simply skip over the test with type=LoadBalancer on AWS for the UDP
service.

Fix #20911
2016-02-10 12:31:18 -05:00
Wojciech Tyczynski
932302fa95 Remove annoying logs from Kubemark 2016-02-10 16:26:53 +01:00
Salvatore Dario Minonne
9ebe3f8b0d To fix flaky downward api volume e2e 2016-02-10 11:29:57 +01:00
k8s-merge-robot
b0560cba2e Merge pull request #20686 from dchen1107/test1
Auto commit by PR queue bot
2016-02-09 23:55:38 -08:00
k8s-merge-robot
1dd703921f Merge pull request #20052 from derekwaynecarr/limit_range_e2e
Auto commit by PR queue bot
2016-02-09 21:45:57 -08:00
k8s-merge-robot
c6ed624bfb Merge pull request #19503 from markturansky/attacher_interface
Auto commit by PR queue bot
2016-02-09 20:50:41 -08:00
k8s-merge-robot
41a98b43e4 Merge pull request #19840 from madhusudancs/replicaset-deployment
Auto commit by PR queue bot
2016-02-09 18:57:42 -08:00
Jeff Grafton
220b5e3e8e Make all e2e tests use Framework 2016-02-09 15:50:07 -08:00
Madhusudan.C.S
e7a9f30936 Address review comments. 2016-02-09 15:50:01 -08:00
Maisem Ali
16ad043cb8 running gofmt 2016-02-09 15:48:34 -08:00
saadali
8987d63f7b Have E2E PD tests retry on kubectl exec timeout 2016-02-09 14:44:02 -08:00
k8s-merge-robot
b00fb1211b Merge pull request #20183 from ihmccreery/feature-fsgroup
Auto commit by PR queue bot
2016-02-09 14:11:03 -08:00
Maisem Ali
3a92e47d61 removing comment for missing yaml extension 2016-02-09 14:10:24 -08:00
Maisem Ali
4dfdb154fb Adding testing-manifests to the test tar ball 2016-02-09 14:09:26 -08:00
Tim Hockin
7cab7bd472 fix a few go-vet errors 2016-02-09 13:20:31 -08:00
Isaac Hollander McCreery
2ad245b8a8 Revert "[Discussion] Quarantine reboot tests as [Feature:Reboot] due to instability?" 2016-02-09 12:25:03 -08:00
k8s-merge-robot
8ecea546b2 Merge pull request #20889 from pmorie/substitution-e2e
Auto commit by PR queue bot
2016-02-09 11:26:06 -08:00
k8s-merge-robot
cff7511c6a Merge pull request #20872 from pwittrock/node-e2e-tests
Auto commit by PR queue bot
2016-02-09 11:26:05 -08:00
Phillip Wittrock
3c708db4b8 Include kubelet logs in output when running node e2e tests 2016-02-09 10:41:13 -08:00
k8s-merge-robot
9942f6bf3e Merge pull request #19792 from pmorie/config-int-test
Auto commit by PR queue bot
2016-02-09 09:31:04 -08:00
Isaac Hollander McCreery
3022cbef89 Make FSGroup e2es [Feature:FSGroup], not [Skipped] 2016-02-09 09:22:10 -08:00
Paul Morie
e0ef253f7d Add integration test for ConfigMap 2016-02-09 10:28:53 -05:00
Wojciech Tyczynski
a6a0392b03 Merge pull request #20891 from wojtek-t/fix_load_test
Fix load test & run it on 100- and 500-node Kubemarks
2016-02-09 15:33:12 +01:00
k8s-merge-robot
f637f08774 Merge pull request #20725 from mesosphere/jdef_node_affinity_is_not_conformance
Auto commit by PR queue bot
2016-02-09 02:35:56 -08:00
Wojciech Tyczynski
9fce56c165 Fix timeouts in load test 2016-02-09 08:38:12 +01:00
Paul Morie
50427287ef Add note and link to doc in variable expansion e2e 2016-02-09 02:30:32 -05:00
k8s-merge-robot
fec0d127b3 Merge pull request #15938 from justinsb/aws_ebs_cleanup
Auto commit by PR queue bot
2016-02-08 21:42:52 -08:00
Madhusudan.C.S
ed7ad6dcf3 Make deployments work. 2016-02-08 21:27:49 -08:00
Madhusudan.C.S
518f08aa7c Move Deployments to ReplicaSets and switch the Deployment selector to the new LabelSelector.
Update the Deployments' API types, defaulting code, conversions, helpers
and validation to use ReplicaSets instead of ReplicationControllers and
LabelSelector instead of map[string]string for selectors.

Also update the Deployment controller, registry, kubectl subcommands,
client listers package and e2e tests to use ReplicaSets and
LabelSelector for Deployments.
2016-02-08 21:27:38 -08:00
Dawn Chen
d65cab42bf Scheduler predicate test explicitly assumes that cluster add-on pods stay stable, but never check it before each test run. Adding the check for each test case. 2016-02-08 16:21:17 -08:00
Dawn Chen
242000d790 Merge pull request #20837 from yujuhong/pull_images
e2e: use the tagged busybox image to avoid unnecessary pulling
2016-02-08 16:15:29 -08:00
Dawn Chen
e367ddc39e Merge pull request #20732 from vishh/18704
Bump up liveness probe timeout for Conformance test
2016-02-08 15:50:53 -08:00
Maisem Ali
1168df93f6 Merge branch 'master' of https://github.com/kubernetes/kubernetes 2016-02-08 15:38:56 -08:00
Maisem Ali
3f58a0b15b Adding a readiness probe to kubectl e2e tests. 2016-02-08 15:38:17 -08:00
Yu-Ju Hong
4544575e11 e2e: use the tagged busybox image to avoid unnecessary pulling 2016-02-08 15:28:55 -08:00
Vishnu kannan
01834449f0 Bump up liveness probe initial delay for Conformance test "should *not* be restarted with a /healthz http liveness probe"
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-08 14:59:08 -08:00
k8s-merge-robot
c75e344b47 Merge pull request #20828 from pwittrock/metricse2etest
Auto commit by PR queue bot
2016-02-08 13:45:40 -08:00
Dawn Chen
df04225eca Collect dmesg from nodes 2016-02-08 11:27:53 -08:00
Phillip Wittrock
6cb09700e0 Don't expect secret volume for node e2e tests 2016-02-08 10:08:41 -08:00
k8s-merge-robot
807e5f08d0 Merge pull request #20796 from smarterclayton/parallel_test
Auto commit by PR queue bot
2016-02-08 08:22:09 -08:00
derekwaynecarr
bab569e623 Add basic e2e test for LimitRange 2016-02-08 10:57:23 -05:00
k8s-merge-robot
e4cb6a09b2 Merge pull request #20718 from wojtek-t/timeouts_in_load_test
Auto commit by PR queue bot
2016-02-08 05:23:14 -08:00
k8s-merge-robot
3cacc7e9ce Merge pull request #20723 from gmarek/limits
Auto commit by PR queue bot
2016-02-08 04:53:35 -08:00
gmarek
6b2507485f Add FakeNeverRateLimitter 2016-02-08 11:06:25 +01:00
Wojciech Tyczynski
a1a6218dc6 Adjust timeouts in load test for larger clusters 2016-02-08 11:02:59 +01:00
k8s-merge-robot
f49fef6ebb Merge pull request #20780 from smarterclayton/e2e_test_wrong
Auto commit by PR queue bot
2016-02-08 01:00:32 -08:00
k8s-merge-robot
14e2c2b740 Merge pull request #20773 from justinsb/fix/e2e_pods_to_be_ready_format
Auto commit by PR queue bot
2016-02-08 00:03:46 -08:00
Wojciech Tyczynski
48ea20a795 Higher QPS limits in load.go test 2016-02-08 08:05:06 +01:00
markturansky
a242a3d5fe Added Attacher/Detacher interfaces and support to kubelet 2016-02-07 16:55:58 -05:00
k8s-merge-robot
f15996d509 Merge pull request #19846 from madhusudancs/replicaset-e2e
Auto commit by PR queue bot
2016-02-07 13:46:57 -08:00
Clayton Coleman
e8cbb762e2 e2e SecurityContext tests wrong volume dir
The volume directory is not guaranteed to be /var/lib/kubelet
for a conforming implementation of Kubernetes.  Add --volume-dir
and an internal shim
2016-02-07 16:45:25 -05:00
Jan Chaloupka
4389b3f0d6 Rewritte util.* -> wait.* wherever reasonable 2016-02-07 12:02:20 +01:00
Tim Hockin
fecb71420c Demote static IPs ASAP for easier cleanup
This exposed bugs in the IP promotion/demotion logic.
2016-02-06 21:15:06 -08:00
Clayton Coleman
f1ab9a42f5 NodeOutOfDisk should use NewFramework()
Fails when custom nsCreateFunc is provided
2016-02-06 23:25:08 -05:00
k8s-merge-robot
9e1d764524 Merge pull request #20654 from thockin/e2e-strings
Auto commit by PR queue bot
2016-02-06 19:02:48 -08:00
k8s-merge-robot
19c80e126a Merge pull request #20651 from ihmccreery/quarantine-reboot
Auto commit by PR queue bot
2016-02-06 18:29:09 -08:00
k8s-merge-robot
70946a571a Merge pull request #20571 from liggitt/service-account-e2e
Auto commit by PR queue bot
2016-02-06 09:21:57 -08:00
k8s-merge-robot
ae765ef677 Merge pull request #20543 from ArtfulCoder/kubeproxytest
Auto commit by PR queue bot
2016-02-06 08:19:39 -08:00
Justin Santa Barbara
051ff6aa35 e2e: fix format-string for error message
Argument was omitted
2016-02-06 09:15:55 -05:00
Madhusudan.C.S
e0a61c464a Add ReplicaSet e2e tests. 2016-02-06 03:46:44 -08:00
k8s-merge-robot
b45a94bc78 Merge pull request #20765 from janetkuo/remove-podtemplate-key
Auto commit by PR queue bot
2016-02-06 00:44:47 -08:00
k8s-merge-robot
fe269474ca Merge pull request #20330 from bryk/kubernetes-dashboard
Auto commit by PR queue bot
2016-02-06 00:15:10 -08:00
k8s-merge-robot
1b52e0ec3a Merge pull request #20210 from jsafrane/devel/gce-tags
Auto commit by PR queue bot
2016-02-05 21:36:25 -08:00
k8s-merge-robot
0ad6326d7f Merge pull request #20170 from pmorie/update-ads-pod
Auto commit by PR queue bot
2016-02-05 20:37:39 -08:00
k8s-merge-robot
fcf9c4a1e4 Merge pull request #19741 from pwittrock/syncfsmetrics
Auto commit by PR queue bot
2016-02-05 17:54:22 -08:00
Janet Kuo
7e9fb97b7d Remove UniqueLabelKey from deployment spec 2016-02-05 16:21:44 -08:00
Phillip Wittrock
3de94cd23c Supply volume fs metrics to server/stats/handler.go
* Metrics will not be expose until they are hooked up to a handler
* Metrics are not cached and expose a dos vector, this must be fixed before release or the stats should not be exposed through an api endpoint
2016-02-05 16:00:24 -08:00
Daniel Smith
60cc5d10b7 Merge pull request #20013 from spxtr/fix-ssh
Retry SSH connection for E2E log gathering.
2016-02-05 15:52:34 -08:00
Jordan Liggitt
1a92b8d11d Improve serviceaccount e2e setup 2016-02-05 17:39:38 -05:00
Chao Xu
184440f8ef rename release_1_2 to internalclientset 2016-02-05 14:02:28 -08:00
Paul Morie
0b82d0b491 Allow pod.Spec.ActiveDeadlineSeconds to be updateable 2016-02-05 15:58:31 -05:00
James DeFelice
457fb0382e relabel NodeAffinity tests with Feature:NodeAffinity 2016-02-05 19:51:56 +00:00
Jan Safranek
76b6449715 Retry recycle or delete operation on failure.
Recycle controller tries to recycle or delete a PV several times.
It stores count of failed attempts and timestamp of the last attempt in
annotations of the PV.

By default, the controller tries to recycle/delete a PV 3 times in
10 minutes interval. These values are configurable by
kube-controller-manager --pv-recycler-maximum-retry=X --pvclaimbinder-sync-period=Y
arguments.
2016-02-05 17:02:13 +01:00
k8s-merge-robot
4ecfe4d207 Merge pull request #20678 from janetkuo/dont-copy-apply-annotation
Auto commit by PR queue bot
2016-02-05 05:23:08 -08:00
bryk
46f51d74bb Set kubernetes-dashboard as the default UI addon
Dashboard release info:
https://github.com/kubernetes/dashboard/releases/tag/v0.1.0

This replaces kube-ui addon
2016-02-05 13:36:37 +01:00
k8s-merge-robot
9d7a3ed9f6 Merge pull request #20563 from roberthbailey/ui-e2e-non-conformance
Auto commit by PR queue bot
2016-02-05 03:56:43 -08:00
Janet Kuo
40849a5b50 Skip apply annotation when copying annotations from deployment to RC 2016-02-04 23:30:31 -08:00
Daniel Smith
62e0eed21c Merge pull request #20660 from thockin/e2e-also-log-fails
Logf() failures for nicer logs
2016-02-04 23:24:15 -08:00
Daniel Smith
d84ac764a9 Merge pull request #20492 from erictune/labselunver
Move extensions.LabelSelector to unversioned
2016-02-04 23:17:40 -08:00
Daniel Smith
f932f3aea2 Merge pull request #20425 from ihmccreery/namespace-experimental
Use [Feature:ComprehensiveNamespaceDraining] instead of `PIt`
2016-02-04 23:17:20 -08:00
Tim Hockin
ea35158a32 e2e util: Pass region, not zone 2016-02-04 20:40:42 -08:00
k8s-merge-robot
c09b67f60f Merge pull request #20591 from caesarxuchao/legacy-to-core
Auto commit by PR queue bot
2016-02-04 17:37:12 -08:00
Chao Xu
1b047f8e67 rename legacy to core 2016-02-04 14:26:56 -08:00
Phillip Wittrock
ba5be34574 Kubelet Metrics Summary Api Implementation 2016-02-04 14:05:28 -08:00
Eric Tune
6133cb1f21 Move extensions.LabelSelector to unversioned.
Move type LabelSelector and type LabelSelectorRequirement from pkg/apis/extensions
This avoids an import loop when Job (and later DaemonSet, Deployment, ReplicaSet)
are moved out of extensions to new api groups.

Also Move LabelSelectorAsSelector utility from pkg/apis/extensions/ to pkg/api/unversioned/
Also its test.
Also LabelSelectorOp* constants.
Also the pkg/apis/extensions/validation functions ValidateLabelSelectorRequirement and
ValidateLabelSelector move to pkg/api/unversioned

The related type in pkg/apis/extensions/v1beta1/ is staying there.  I might move
it in another PR if neccessary.
2016-02-04 13:46:34 -08:00
Robert Bailey
6ad11dbcf7 Don't label the UI e2e test as part of the conformance suite - it's
a test to ensure that an *optional* cluster addon is working.
2016-02-04 11:55:00 -08:00
Nikhil Jindal
59820827d4 Merge pull request #20513 from nikhiljindal/apiserverExampleTest
Adding test for apiserver example
2016-02-04 11:28:58 -08:00
Tim Hockin
e7c3cb22ee Logf() failures for nicer logs 2016-02-04 11:13:19 -08:00
Tim Hockin
a98f556dbb cleaner service e2e strings 2016-02-04 09:28:48 -08:00
Isaac Hollander McCreery
3f893e53eb Quarantine reboot tests as [Feature:Reboot] due to instability 2016-02-04 09:15:19 -08:00
k8s-merge-robot
ca30f38697 Merge pull request #20632 from wojtek-t/fix_metrics
Auto commit by PR queue bot
2016-02-04 04:28:29 -08:00
Wojciech Tyczynski
f23034d5da Reset more metrics before scalability tests 2016-02-04 11:47:13 +01:00
k8s-merge-robot
3e8a55b81c Merge pull request #20608 from nikhiljindal/etcd_failure
Auto commit by PR queue bot
2016-02-04 02:28:32 -08:00
Saad Ali
0952dcd349 Merge pull request #20389 from mqliang/deployment-MinReadySeconds
Move MinReadySeconds out of RollingUpdateDeployment
2016-02-03 22:44:14 -08:00
k8s-merge-robot
16aa40cc33 Merge pull request #20035 from janetkuo/record-command
Auto commit by PR queue bot
2016-02-03 20:19:08 -08:00
k8s-merge-robot
65ebe19164 Merge pull request #20584 from caesarxuchao/release_1_2
Auto commit by PR queue bot
2016-02-03 19:46:27 -08:00
k8s-merge-robot
dbd7b83d93 Merge pull request #20545 from pmorie/boilerplate
Auto commit by PR queue bot
2016-02-03 19:46:26 -08:00
David Oppenheimer
bf2dbd61a2 Merge pull request #19758 from Huawei-PaaS/node-affinity-part1
NodeSelector, HardNodeAffinity and SoftNodeAffinity implementation
2016-02-03 19:18:45 -08:00
Kevin
c8c82c1d8f implement Node affinity and NodeSelector 2016-02-04 01:53:14 +00:00
k8s-merge-robot
d4da1ee3ce Merge pull request #19835 from janetkuo/kubectl-rollout
Auto commit by PR queue bot
2016-02-03 17:39:04 -08:00
Saad Ali
b2600a65f5 Merge pull request #20421 from thockin/e2e-debris
Remove e2e global 'timeout'
2016-02-03 16:38:02 -08:00
nikhiljindal
97a34f0397 Removing unused var 2016-02-03 16:14:52 -08:00
Joe Finney
7a59683e41 Retry SSH connection for E2E log gathering. 2016-02-03 16:06:02 -08:00
nikhiljindal
c7beb9078c Updating methods to return error rather than using glog.Fatalf 2016-02-03 16:00:45 -08:00
Saad Ali
b6c26ef69b Merge pull request #20569 from thockin/service-e2e-hang-20561
Fix wrong timeout param to wget
2016-02-03 16:00:13 -08:00
Saad Ali
ae35a302b5 Merge pull request #20471 from bprashanth/kp-logs
kube-proxy tries to apply latest snapshot
2016-02-03 15:49:02 -08:00
Paul Morie
b672785d72 Add boilerplate checks for Dockerfiles 2016-02-03 18:35:26 -05:00
Paul Morie
05bd107301 Add boilerplate checks for Makefiles 2016-02-03 18:35:26 -05:00
Tim Hockin
88dbcffdf0 Fix wrong timeout param to wget 2016-02-03 14:53:32 -08:00
Saad Ali
351138372e Merge pull request #20426 from thockin/service-e2e
Service e2e cleanup  and factoring
2016-02-03 13:10:44 -08:00
Chao Xu
f9f5736b01 grep sed 2016-02-03 13:06:07 -08:00
Prashanth Balasubramanian
47f7f4417d Poll w/ timeout for nodeport to disappear. 2016-02-03 12:58:42 -08:00
Justin Santa Barbara
f61a5d0400 AWS: Switch arguments to AttachDisk/DetachDisk to match GCE 2016-02-03 20:43:23 +00:00
Justin Santa Barbara
6c87a4be7c AWS: Handle deleting volume that no longer exists
The tests in particular double-delete volumes, so we need to handle this
graciously.
2016-02-03 20:43:14 +00:00
Justin Santa Barbara
1ae1db6027 AWS: Update copy-paste of GCE PD code to latest version
We are (sadly) using a copy-and-paste of the GCE PD code for AWS EBS.
This code hasn't been updated in a while, and it seems that the GCE code
has some code to make volume mounting more robust that we should copy.
2016-02-03 20:43:14 +00:00
Janet Kuo
e3cb44aaff Copy deployment's annotations to its RC 2016-02-03 10:19:06 -08:00
Tim Hockin
5ff5890ef9 Remove e2e global 'timeout' 2016-02-03 07:47:21 -08:00
k8s-merge-robot
52e3e2ca78 Merge pull request #20484 from gmarek/fix-kubemark
Auto commit by PR queue bot
2016-02-03 06:12:46 -08:00
k8s-merge-robot
251ea3241b Merge pull request #20485 from gmarek/fix
Auto commit by PR queue bot
2016-02-03 04:56:25 -08:00
k8s-merge-robot
a7ef693f84 Merge pull request #20464 from thockin/proxymode-iptables
Auto commit by PR queue bot
2016-02-03 00:17:38 -08:00
k8s-merge-robot
843c11e06a Merge pull request #20452 from caesarxuchao/replace-client-kubelet
Auto commit by PR queue bot
2016-02-02 23:46:58 -08:00
Tim Hockin
b7782e73b6 Service e2e cleanup
Make a new jig that is based on the netexec container.  Change the LB tests to
use this new jig and leave TODOs for other tests.

Add UDP testing to the main mutability test.

Flatten the "identical names" test into the mutability test - it is now the
only load-balancer test (speedup).  Create LBs in parallel.
2016-02-02 22:04:27 -08:00
Abhishek Shah
d907da25b2 Updated kubeproxy test to test hitting 127.0.0.1:nodeport from node itself 2016-02-02 22:03:14 -08:00
Tim Hockin
bb460c04dd netexec: Add / and /echo handlers, bump to 1.4
Add some logs, allow simple "cmd" arg for shell.
2016-02-02 21:46:30 -08:00
Tim Hockin
fd5cbdf73f Rename a couple things for obviousness 2016-02-02 21:46:30 -08:00
Chao Xu
cddd7b56a4 replace client with clientset in kubelet and other places 2016-02-02 20:28:45 -08:00
Chao Xu
fe7887f1ec replace the client with clientset in controllers 2016-02-02 20:28:45 -08:00
mqliang
c4a1ab42e3 Move MinReadySeconds out of RollingUpdateDeployment 2016-02-03 11:38:11 +08:00
Jeff Lowdermilk
09b4341e9f Merge pull request #20525 from kubernetes/revert-18910-esmaster
Revert "remove cluster logging e2e test from flaky suite"
2016-02-02 19:02:27 -08:00
Jeff Lowdermilk
ae2aece9af Merge pull request #20202 from caesarxuchao/skip-update
skip update when deleting with grace-period=0
2016-02-02 18:24:57 -08:00
Jeff Lowdermilk
136c1f9d94 Merge pull request #20373 from bprashanth/l7_flaky
Mark L7 tests as Feature:Ingress
2016-02-02 18:24:15 -08:00
Jeff Lowdermilk
92d30e7610 Merge pull request #20441 from ihmccreery/feature-deployment
Make HPA Deployment tests [Feature:Deployment] until GKE has enabled them
2016-02-02 18:14:30 -08:00
Minhan Xia
d55853dc07 Revert "remove cluster logging e2e test from flaky suite" 2016-02-02 14:39:38 -08:00
Jeff Lowdermilk
ea5f1233c2 Merge pull request #20451 from ihmccreery/fix-20362
Reference #20015 for [Flaky] NodeOutOfDisk tests
2016-02-02 14:21:41 -08:00
Janet Kuo
442c75045a Add kubectl rollout undo 2016-02-02 14:20:01 -08:00
Minhan Xia
cacda7bc7a Merge pull request #20364 from freehan/estest
explictly check log tainted string
2016-02-02 14:12:52 -08:00
k8s-merge-robot
26202fc98a Merge pull request #18804 from marun/fix-nodeport-services
Auto commit by PR queue bot
2016-02-02 14:07:49 -08:00
Jeff Lowdermilk
03d99d706e Merge pull request #20510 from davidopp/flake3
Un-disable "Pods should get a host IP" e2e.
2016-02-02 13:37:17 -08:00
Jeff Lowdermilk
0e6bca310c Merge pull request #20455 from ihmccreery/daemon-restart-no-flaky
Promote DaemonRestart e2es out of Flaky
2016-02-02 13:36:31 -08:00
Jeff Lowdermilk
0ea5967955 Merge pull request #20423 from yujuhong/adjust_limit
Adjust the limits in the kubelet resource tracking test
2016-02-02 13:35:27 -08:00
Tim Hockin
7ed83ad4f9 Make kube-proxy default to iptables (regression)
This was accidentally introduced as part of the component config changes.
2016-02-02 12:45:11 -08:00
k8s-merge-robot
4a8d811e61 Merge pull request #18910 from freehan/esmaster
Auto commit by PR queue bot
2016-02-02 12:36:25 -08:00
David Oppenheimer
ccd810550a Un-disable "Pods should get a host IP" e2e. 2016-02-02 11:39:21 -08:00
Jeff Lowdermilk
8050715725 Merge pull request #20440 from roberthbailey/liveness-logging
Add timestamps to the liveness e2e test
2016-02-02 11:08:12 -08:00
Chao Xu
fdf6a0f61c skip update when deleting with grace-period=0 2016-02-02 10:53:25 -08:00
gmarek
de740236b8 Randomize password to kubemark master 2016-02-02 15:36:08 +01:00
gmarek
e271365192 Re-add deletion of replication controller to the density test 2016-02-02 14:55:27 +01:00
k8s-merge-robot
c5260c8c71 Merge pull request #20145 from mqliang/quorum-read
Auto commit by PR queue bot
2016-02-02 05:50:41 -08:00
Jan Safranek
1edf34a4e5 Fixed persistent volume claim controllers processing an old claim.
Fixes #19860 (it may be easier to look at the issue to see exact sequence
to reproduce the bug and understand the fix).

When PersistentVolumeProvisionerController.reconcileClaim() is called with the
same claim in short succession (e.g. the claim is created by an user and
at the same time periodic check of all claims is scheduled), the second
reconcileClaim() call gets an old copy of the claim as its parameter.

The method should always reload the claim to get a fresh copy with all
annotations, possibly added by previous reconcileClaim() call.


The same applies to PersistentVolumeClaimBinder.syncClaim().


Also update all the test to store claims in "fake" API server before calling
syncClaim and reconcileClaim.
2016-02-02 13:52:07 +01:00
k8s-merge-robot
df4d50a7ac Merge pull request #20098 from brendandburns/flake2
Auto commit by PR queue bot
2016-02-02 04:22:45 -08:00
k8s-merge-robot
32ab64ce5b Merge pull request #19778 from resouer/runtime
Auto commit by PR queue bot
2016-02-01 21:05:05 -08:00
k8s-merge-robot
f7bc0c1fc7 Merge pull request #19608 from ihmccreery/skip-1.0
Auto commit by PR queue bot
2016-02-01 20:33:25 -08:00
k8s-merge-robot
ec1f5d03c1 Merge pull request #19934 from gmarek/fix-test
Auto commit by PR queue bot
2016-02-01 20:02:45 -08:00
Isaac Hollander McCreery
14e6910364 Skip kubectl tests that don't work before v1.1 when running against a pre-v1.1 cluster; fixes #18581 2016-02-01 16:56:19 -08:00
Isaac Hollander McCreery
dea73fd306 Promote DaemonRestart e2es out of Flaky 2016-02-01 16:07:21 -08:00
Isaac Hollander McCreery
fbc5e3f807 Reference 20015 for [Flaky] NodeOutOfDisk tests 2016-02-01 15:58:29 -08:00
Brendan Burns
2aa5dc317b Try harder to delete cloud resources in service tests 2016-02-01 15:34:55 -08:00
Isaac Hollander McCreery
bb41ba986b Make HPA Deployment tests [Feature:Deployment] until GKE has enabled them 2016-02-01 13:50:10 -08:00
Robert Bailey
404d0696a9 Add timestamps to the liveness e2e test by changing By -> Logf
in places where the statement is for debugging rather than
describing what the test is doing.
2016-02-01 13:44:31 -08:00
Maru Newby
a5e00da867 Fix nodeport service compat with default-deny fw 2016-02-01 21:34:30 +00:00
gmarek
35b317c094 Kubemark scripts retry failed gcloud commands 2016-02-01 21:05:57 +01:00
Piotr Szczesniak
1077d37aaf Revert "Revert "Decrease request size in autoscaling suite"" 2016-02-01 20:42:03 +01:00
Jeff Lowdermilk
e44164b939 Revert "Decrease request size in autoscaling suite" 2016-02-01 11:18:32 -08:00
Isaac Hollander McCreery
c929d81d52 Use [Feature:ComprehensiveNamespaceDraining] instead of PIt 2016-02-01 10:40:23 -08:00
Yu-Ju Hong
3d1972054f Adjust the limits in the kubelet resource tracking test
The new limits reflect the recent changes in kubelet, and also account for
noise better.
2016-02-01 10:30:14 -08:00
gmarek
5ed9b3fab7 Change the tag for performance tests. 2016-02-01 17:41:48 +01:00
harry
1032067ff9 Replace runtime reference by pkg 2016-02-01 21:06:44 +08:00
Marek Grabowski
cfe7ee6dab Merge pull request #20406 from mwielgus/heapster-alpha3
Heapster v0.20.0-alpha3
2016-02-01 12:39:40 +01:00
Marcin Wielgus
a14f791d8c Revert "Merge pull request #20329 from kubernetes/revert-20323-bump-influxdb"
This reverts commit b4188ec459, reversing
changes made to 28951bd66a.
2016-02-01 12:12:37 +01:00
Marcin Wielgus
ed73bad857 Decrease request size in autoscaling suite 2016-02-01 12:02:26 +01:00
k8s-merge-robot
dff7490c57 Merge pull request #20312 from caesarxuchao/replace-many-controllers
Auto commit by PR queue bot
2016-01-31 18:42:26 -08:00
Chao Xu
c72d234bbf replacing handwritten client in several controllers 2016-01-31 15:42:02 -08:00
Chao Xu
90b4662d8d Add services/status path, and let the service controller uses Services.UpdateStatus() 2016-01-31 12:39:45 -08:00
Janet Kuo
3396db9510 Add rollback subresource; add rollback logic to deployment controller 2016-01-30 16:00:34 -08:00
k8s-merge-robot
470b69b590 Merge pull request #20310 from janetkuo/remove-deployment-e2e-flaky
Auto commit by PR queue bot
2016-01-30 15:52:54 -08:00
Prashanth Balasubramanian
3726355887 Mark L7 tests as Feature:Ingress 2016-01-30 12:26:31 -08:00
Janet Kuo
42f712467e Use ListOptions when listing RCs in deployment 2016-01-30 12:04:35 -08:00
Janet Kuo
c84a0371a2 Deployment adds version info to its new rc 2016-01-30 12:04:35 -08:00
Alex Robinson
1362316c69 Merge pull request #20360 from ihmccreery/draconian-slow
Demote 'Pods should have their auto-restart back-off timer reset on image update' to [Slow]
2016-01-30 10:37:34 -08:00
k8s-merge-robot
1140c12e58 Merge pull request #20245 from mesosphere/jdef_fix_746_remove_git_binary_dependency_conformance
Auto commit by PR queue bot
2016-01-30 08:41:46 -08:00
k8s-merge-robot
1f8bdd2748 Merge pull request #20059 from hongchaodeng/kubemark
Auto commit by PR queue bot
2016-01-30 05:21:17 -08:00
mqliang
b0e06c14e5 add a knob to enable quorum read 2016-01-30 20:32:12 +08:00
Janet Kuo
9e236a6c57 Remove 3 deployment e2e tests from flaky list 2016-01-29 22:59:49 -08:00
k8s-merge-robot
b276a98b55 Merge pull request #19731 from freehan/nodedown
Auto commit by PR queue bot
2016-01-29 22:26:42 -08:00
k8s-merge-robot
5b3318a0c8 Merge pull request #19612 from swagiaal/add-fsgroup-to-e2e
Auto commit by PR queue bot
2016-01-29 21:55:02 -08:00
Minhan Xia
b06094f09d explictly check log tainted string 2016-01-29 18:29:35 -08:00
mqliang
c5cda2012a cleanup-policy 2016-01-30 09:57:21 +08:00
Isaac Hollander McCreery
b368091f25 Demote 'Pods should have their auto-restart back-off timer reset on image update' to [Slow] 2016-01-29 16:36:18 -08:00
David Oppenheimer
913e6ce359 Revert "Kubemark scripts retry failed gcloud commands" 2016-01-29 13:07:01 -08:00
Fabio Yeon
ac373b6e84 Merge pull request #20158 from mwielgus/fix-kubemark
Kubemark scripts retry failed gcloud commands
2016-01-29 12:04:40 -08:00
Fabio Yeon
7d2f2f4b89 Merge pull request #20339 from ihmccreery/hpa-serial
Move HPA tests to [Serial] until #20338 is resolved
2016-01-29 11:09:02 -08:00
Isaac Hollander McCreery
a2f2f633af Move HPA tests to [Serial] until #20338 is resolved 2016-01-29 11:05:58 -08:00
Fabio Yeon
6ee2f57490 Merge pull request #19638 from mqliang/RecreateDeployment
remove the flaky mark in deployment e2e test
2016-01-29 10:54:29 -08:00
Isaac Hollander McCreery
5ac20da16c Move HPA e2es into the default slow suite, and add [Feature:ClusterSizeAutoscaling] and [Feature:InitialResources] 2016-01-29 09:20:47 -08:00
Filip Grzadkowski
13480c171d Revert "Yet another try to migrate to the new Heapster" 2016-01-29 15:03:49 +01:00
k8s-merge-robot
8b66e93127 Merge pull request #19510 from madhusudancs/daemonset-nonpointer-template
Auto commit by PR queue bot
2016-01-29 02:17:23 -08:00
Filip Grzadkowski
da10882775 Merge pull request #20323 from piosz/bump-influxdb
Yet another try to migrate to the new Heapster
2016-01-29 10:53:22 +01:00
k8s-merge-robot
73f0ce7421 Merge pull request #19947 from mesosphere/jdef_fix_k8sm_738_exampledns_conformance
Auto commit by PR queue bot
2016-01-29 01:46:44 -08:00
Piotr Szczesniak
0c5cc1bde1 Revert "Merge pull request #20215 from kubernetes/revert-20156-bump-influxdb"
This reverts commit 06996d5af9, reversing
changes made to b2f6e7d08f.
2016-01-29 09:19:03 +01:00
Madhusudan.C.S
73fb6dca62 DaemonSetSpec.Template should not be a pointer.
Pod template for DaemonSets isn't optional, like Deployments and Jobs,
so the DaemonSetSpec.Template field should not be a pointer.
2016-01-28 22:51:58 -08:00
Fabio Yeon
4f559b3af7 Merge pull request #20301 from lavalamp/flake-kubectl-logs
Fix potential rounding problem
2016-01-28 16:47:17 -08:00
Fabio Yeon
c3e966a4ea Merge pull request #20297 from ihmccreery/skip-feature-serial
Reclassify Restart tests as [Disruptive] and skip [Feature:.+] tests in -serial jobs
2016-01-28 16:47:05 -08:00
Fabio Yeon
de99fcc7dd Merge pull request #20294 from dchen1107/test
Log more information for ssh command.
2016-01-28 16:46:51 -08:00
Fabio Yeon
54816aab4f Merge pull request #19624 from jayunit100/e2e_lib_minimal
E2E libraryzation (minimal patch)
2016-01-28 16:46:28 -08:00
Fabio Yeon
da19f81e0a Merge pull request #19739 from vishh/cadvisor-v0.20.2
Updating cAdvisor deps to v0.20.4
2016-01-28 16:45:55 -08:00
Daniel Smith
394e91c4ff Fix potential rounding problem 2016-01-28 15:50:39 -08:00
jay vyas
ef5f1012f6 E2E Libification rebased (3). 2016-01-28 18:07:53 -05:00
Isaac Hollander McCreery
843b913b07 Reclassify Restart tests as [Disruptive] and skip [Feature:.+] tests in -serial jobs 2016-01-28 14:44:22 -08:00
k8s-merge-robot
76f8a800ed Merge pull request #19716 from pmorie/config-api-move
Auto commit by PR queue bot
2016-01-28 14:39:25 -08:00
Fabio Yeon
ef80fcc9d7 Merge pull request #20289 from mml/kubectl-log-e2e
Add debug output to kubectl-log-e2e.
2016-01-28 14:34:48 -08:00
Marcin Wielgus
39428cc0e5 Kubemark scripts retry failed gcloud commands 2016-01-28 23:23:46 +01:00
Fabio Yeon
2bc12a2a8e Merge pull request #20248 from yujuhong/more_logs
e2e reboot: prints stats and logs for not ready pods before and after the test
2016-01-28 14:13:28 -08:00
Fabio Yeon
11a16988b9 Merge pull request #20049 from ixdy/ginkgo-synchronized
Refactor TestE2E to work correctly in parallel mode
2016-01-28 14:12:03 -08:00
Dawn Chen
7943708b96 Log more information for ssh command.
Sometimes e2e test nodes are refused to reboot, but we didn't properly
catch the exit code. This one can give us more information on debugging.
2016-01-28 14:11:54 -08:00
Paul Morie
9030f16071 Move ConfigMap to main API 2016-01-28 17:07:05 -05:00
Fabio Yeon
454ebc4e30 Merge pull request #19547 from ihmccreery/feature-example
Reclassify [Example] and [Feature:Example]
2016-01-28 14:03:48 -08:00
Minhan Xia
9611986509 add e2e test for network partition 2016-01-28 13:56:28 -08:00
Matt Liggett
54a7904682 Add debug output to kubectl-log-e2e.
Fixes #20287.
2016-01-28 13:49:52 -08:00
Fabio Yeon
95f0861502 Merge pull request #20134 from vishh/18704
Increase initial delay for liveness probe test pod from 15s to 30s.
2016-01-28 13:48:55 -08:00
Fabio Yeon
a89607f8b1 Merge pull request #20238 from bprashanth/nodeport
Poll nodeip:node-port till kube-proxy updates iptables.
2016-01-28 13:31:21 -08:00
Jeff Grafton
4cc7f9d3f7 Refactor TestE2E to work correctly in parallel mode
The TestE2E function is run on every Ginkgo parallel node.
The cluster cleanup, sanity checking, and log dump operations are only
intended to be called once, however, so these have been moved out into
SynchronizedBeforeSuite and SynchronizedAfterSuite blocks.
2016-01-28 13:24:40 -08:00
Prashanth Balasubramanian
7076ec9ebf Poll nodeip:node-port till kube-proxy updates iptables. 2016-01-28 10:58:29 -08:00
Isaac Hollander McCreery
a51f291b91 Classify all HPA tests as [Feature:Autoscaling] 2016-01-27 16:10:33 -08:00
Isaac Hollander McCreery
d002a68f3c Label feature tests for Feature:DaemonSet, Feature:Deployment, Feature:ExperimentalResourceUsageTracking, and remove GKE and AWS skip lists 2016-01-27 16:09:12 -08:00
Yu-Ju Hong
4975e5d9d9 e2e reboot: prints stats and logs for not ready pods 2016-01-27 15:41:07 -08:00
James DeFelice
345f027be3 remove this test from conformance since it introduces a binary dependency, git, on previously conforming kube nodes 2016-01-27 22:07:31 +00:00
k8s-merge-robot
458eb5284a Merge pull request #19105 from smarterclayton/prepare_negotiate
Auto commit by PR queue bot
2016-01-27 13:35:30 -08:00
Filip Grzadkowski
0dedf869c7 Revert "Bumped Heapster version to v0.20.0-alpha and Influxdb to 0.9.2.1" 2016-01-27 17:22:36 +01:00
Jan Safranek
23cd0913f7 Tag dynamically created GCE PD disks.
GCE disks don't have tags, we must encode the tags into Description field.
It's encoded as JSON, which is both human and machine readable:
description: '{"kubernetes.io/created-for/pv/name":"pv-gce-oxwts","kubernetes.io/created-for/pvc/name":"myclaim","kubernetes.io/created-for/pvc/namespace":"default"}'
2016-01-27 15:16:05 +01:00
Filip Grzadkowski
8e319c456c Merge pull request #20156 from piosz/bump-influxdb
Bumped Heapster version to v0.20.0-alpha and Influxdb to 0.9.2.1
2016-01-27 14:39:20 +01:00
k8s-merge-robot
bd7255a27e Merge pull request #18901 from kargakis/inert-deployments
Auto commit by PR queue bot
2016-01-27 05:14:38 -08:00
Piotr Szczesniak
8aebecc232 Fixed e2e tests 2016-01-27 11:09:17 +01:00
Isaac Hollander McCreery
f318ccb5eb Make upgrades e2es [Feature:Upgrade] 2016-01-26 15:38:44 -08:00
Clayton Coleman
38c7eded99 Prepare for content-type negotiation
Combine the fields that will be used for content transformation
(content-type, codec, and group version) into a single struct in client,
and then pass that struct into the rest client and request. Set the
content-type when sending requests to the server, and accept the content
type as primary.

Will form the foundation for content-negotiation via the client.
2016-01-26 17:44:30 -05:00
Brendan Burns
41412d4a64 Merge pull request #20014 from derekwaynecarr/e2e_serial_namespace
Mark namespace e2e [Serial]
2016-01-26 10:14:58 -08:00
Michail Kargakis
436d2677f9 extensions: support paused deployments
This commit adds support for paused deployments so a user can choose
when to run a deployment that exists in the system instead of having
the deployment controller automatically reconciling it after every
change or sync interval.
2016-01-26 12:42:26 +01:00
k8s-merge-robot
52cb4c1d9d Merge pull request #18445 from resouer/fix-emptydir
Auto commit by PR queue bot
2016-01-26 02:45:54 -08:00
Dawn Chen
1e68e719c3 Merge pull request #20108 from yujuhong/get_logs
e2e reboot: print status and logs for not running/ready pods
2016-01-25 17:33:49 -08:00
Vishnu kannan
c7de580623 Update the Metrics test to only require the presense of a list of needed
metrics, and not fail if any new metrics are added.

Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-01-25 17:24:07 -08:00
Vishnu kannan
1521435fad Increase initial delay for liveness probe test pod from 15s to 30s.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-01-25 17:11:26 -08:00
Dawn Chen
c3cab5493d Merge pull request #19998 from dchen1107/test
Move test (Pods should not back-off restarting a container on Livenes…
2016-01-25 16:25:49 -08:00
Dawn Chen
c2eb90cc4d Merge pull request #20106 from mikedanese/ds-debug
e2e: bump daemonset reap timeout and add some logging dumps of the na…
2016-01-25 15:35:14 -08:00
Yu-Ju Hong
872e34bfa4 e2e reboot: print status and logs for not running/ready pods 2016-01-25 14:38:42 -08:00
Dawn Chen
72745f226a Merge pull request #20102 from spxtr/resize-logs
Dump core at beginning and end of node resizes.
2016-01-25 14:01:55 -08:00
Dawn Chen
6a341731f2 Merge pull request #20010 from lavalamp/e2e-kubectl-describe
Accept both 'No events.' and 'Events:'
2016-01-25 13:54:07 -08:00
Mike Danese
00576dc07d e2e: bump daemonset reap timeout and add some logging dumps of the namespace state when the e2e test fails 2016-01-25 13:16:06 -08:00
Joe Finney
7164e88a3a Dump core at beginning and end of node resizes. 2016-01-25 09:52:57 -08:00
k8s-merge-robot
d3b869ae14 Merge pull request #17922 from smarterclayton/split_codec
Auto commit by PR queue bot
2016-01-25 06:30:39 -08:00
Piotr Szczesniak
23b9ca221d Disabled cluster size autoscaling e2e since they are flaky 2016-01-25 10:34:10 +01:00
Zach Loafman
364814072a Merge pull request #20024 from mikedanese/nil-ptr
fix nil pointer in addons test
2016-01-24 06:56:46 -08:00
harry
0fa5b6c4f7 Add e2e test for wrapper volumes
Use git server in e2e and refactor wrapper builder

Update e2e test to use a fake git server
2016-01-24 16:57:44 +08:00
Mike Danese
00144659ec fix nil pointer in addons test 2016-01-23 22:04:53 -08:00
Hongchao Deng
5c68e9171d clean up generated content in stop-kubemark.sh 2016-01-23 16:07:00 -08:00
Zach Loafman
c3fc36ee95 Merge pull request #20042 from thockin/logs-for-19665
slightly better logs in service e2e
2016-01-23 07:33:11 -08:00
Zach Loafman
2cd4d9e2a0 Merge pull request #19557 from ihmccreery/feature-serviceloadbalancer
Make ServiceLoadBalancer a Feature test
2016-01-23 07:32:37 -08:00
derekwaynecarr
93005eb7c9 Mark namespace e2e [Serial] 2016-01-22 22:55:40 -05:00
Tim Hockin
9a75794fd6 slightly better logs in service e2e 2016-01-22 16:12:02 -08:00
Dawn Chen
138f18cc92 Move test (Pods should not back-off restarting a container on LivenessProbe failure)
out of flaky test.

For last 100+ runs, the test never fail in kubernetes-e2e-gce-flaky build.
The only exception is build 10313, but the failure is caused by previous
flaky test, not this one itself.
2016-01-22 13:04:57 -08:00
Zach Loafman
0b00928c74 Merge pull request #19987 from gmarek/remove-test
Remove monitor_resources test
2016-01-22 11:10:06 -08:00
Daniel Smith
4fe0a18024 Accept both 'No events.' and 'Events:' 2016-01-22 10:56:14 -08:00
Clayton Coleman
4a6935b31f Remaining codec change refactors 2016-01-22 13:27:27 -05:00
Eric Tune
a99e151b90 Merge pull request #19962 from erictune/service-account-try-not-flaky
Promote ServiceAccount e2e out of [Flaky] status
2016-01-22 09:41:30 -08:00
gmarek
9ac68ecb77 Remove monitor_resources test 2016-01-22 13:38:33 +01:00
Marcin Wielgus
631b965384 Merge pull request #19968 from lavalamp/e2e-kubectl-proxy
e2e kubectl proxy test: Make future flake diagnosis possible
2016-01-22 12:50:06 +01:00
Clayton Coleman
4d127dc969 Initialize API servers with negotiated serializers
Pass down into the server initialization the necessary interface for
handling client/server content type negotiation. Add integration tests
for the negotiation.
2016-01-22 01:10:22 -05:00
Clayton Coleman
125ef6fbc8 Support content-type negotiation in the API server
A NegotiatedSerializer is passed into the API installer (and
ParameterCodec, which abstracts conversion of query params) that can be
used to negotiate client/server request/response serialization. All
error paths are now negotiation aware, and are at least minimally
version aware.

Watch is specially coded to only allow application/json - a follow up
change will convert it to use negotiation.

Ensure the swagger scheme will include supported serializations - this
now includes application/yaml as a negotiated option.
2016-01-22 00:12:50 -05:00
Nikhil Jindal
cd2e0c490e Merge pull request #19674 from nikhiljindal/latestAndRegistered
Merge registered and latest and move to apimachinery
2016-01-21 17:19:49 -08:00
Daniel Smith
23fd5e9a33 Make future flake diagnosis possible.
It's currently unclear if the request failed because the proxy wasn't
quite up yet, or if it failed because traffic couldn't get from the
proxy to apiserver. Getting the proxy logs unconditionally should help
narrow this down.
2016-01-21 16:41:26 -08:00
Eric Tune
b048814beb Promote ServiceAccount e2e out of [Flaky] status
Was marked as flaky prior to #11291, 6 months ago.
Code has changed many times.
No flakes in last 28 runs, and no Jenkins
history before that.
Follow up in #19024 if you see a flake.
2016-01-21 16:13:56 -08:00
Alex Mohr
76f02d562a Merge pull request #19083 from resouer/allocatable
Use Allocatable to replace Capacity
2016-01-21 16:05:05 -08:00
nikhiljindal
2ad642d370 Merge registered and latest and move to apimachinery 2016-01-21 14:42:21 -08:00
Alex Mohr
a5dddfcb32 Merge pull request #19851 from thockin/fix-19723-test-strings
Match regexes for error strings in e2e
2016-01-21 14:31:47 -08:00
Alex Mohr
7742c6c78e Merge pull request #19673 from ihmccreery/feature-volumes
Mark Volumes and PersistentVolumes as [Feature:Volumes] instead of [Skipped]
2016-01-21 14:25:06 -08:00
James DeFelice
1b110bff0b fully qualified cluster name should conform to kube-dns spec 2016-01-21 21:44:24 +00:00
k8s-merge-robot
bc55b1a58b Merge pull request #19857 from resouer/fakegit
Auto commit by PR queue bot
2016-01-21 11:29:14 -08:00
Alex Mohr
e3bec5c1e8 Merge pull request #19833 from swagiaal/reclassify-security-context
Relabel Security Context e2e
2016-01-21 10:50:25 -08:00
Alex Mohr
8044a5f1e1 Merge pull request #19676 from ihmccreery/feature-skip-e2e-test-go
Skip [Feature:.+] instead of [Feature]
2016-01-21 10:44:08 -08:00
Alex Mohr
d2d349bc84 Merge pull request #19334 from resouer/network
Networking should be used to hold network related pkgs
2016-01-21 10:26:13 -08:00
Alex Mohr
8c9aa2af33 Merge pull request #19733 from janetkuo/flaky-deployment-recreate
Fix e2e flake: Sync deployment status when with RecreateDeploymentStrategy
2016-01-21 10:23:21 -08:00
Alex Mohr
eaa61a72b0 Merge pull request #17919 from justinsb/multizone_gce
Ubernetes Lite support for GCE
2016-01-21 10:22:34 -08:00
Tim Hockin
a1df9ff4b4 Match regexes for error strings in e2e 2016-01-21 08:46:37 -08:00
k8s-merge-robot
6cf3a4b5f0 Merge pull request #18957 from jsafrane/devel/pv-name-tag
Auto commit by PR queue bot
2016-01-21 05:55:12 -08:00
harry
845a3145cd Add a fake git server image for e2e test 2016-01-21 14:19:18 +08:00
k8s-merge-robot
03ecde1277 Merge pull request #17535 from mesosphere/jdef_abspath_breaks_proxies
Auto commit by PR queue bot
2016-01-20 21:46:47 -08:00
Justin Santa Barbara
43cbfb74fe Ubernetes Lite GCE: Support multiple zones in GCE cloud provider
We adapt the existing code to work across all zones in a region.

We require a feature-flag to enable Ubernetes-Lite

Reasons:

* There are some behavioural changes if users create volumes with
the same name in two zones.
* We don't want to make one API call per zone if we're not running
Ubernetes-Lite.
* Ubernetes-Lite is still experimental.

There isn't a parallel flag implemented for AWS, because at the moment
there would be no behaviour changes from this.
2016-01-20 23:04:53 -05:00
k8s-merge-robot
a0909076c0 Merge pull request #19550 from ihmccreery/unskip-restart
Auto commit by PR queue bot
2016-01-20 16:26:30 -08:00
Harry Zhang
0202a206b8 Integration test to verify alloc works
Add integration test to verify allocatable can works
2016-01-20 15:36:19 +08:00
James DeFelice
75f487f7bf AbsPath should be compatible with proxy-prefixes:
- replace Config.Prefix with .Host and .APIPath
- Request .path promoted to .pathPrefix, .baseURL holds required prefix
2016-01-20 00:31:58 +00:00
Sami Wagiaalla
70fceeff92 Relabel Security Context e2e 2016-01-19 16:49:42 -05:00
Paul Morie
c548054560 Add ability to consume secrets in env vars 2016-01-18 12:20:51 -05:00
Piotr Szczesniak
bd26e6eae0 Revert "Increase api call latency threshold." 2016-01-18 11:09:47 +01:00
k8s-merge-robot
9e7da41481 Merge pull request #19440 from Random-Liu/add-update-count-in-density-test
Auto commit by PR queue bot
2016-01-16 11:47:32 -08:00
k8s-merge-robot
f2d273d481 Merge pull request #19128 from resouer/qps-limit
Auto commit by PR queue bot
2016-01-16 10:03:00 -08:00
k8s-merge-robot
c678ef3592 Merge pull request #19410 from mesosphere/jdef_run_job_with_timeout
Auto commit by PR queue bot
2016-01-16 05:53:40 -08:00
Prashanth Balasubramanian
6d172bcad4 Increase api call latency threshold. 2016-01-15 16:59:26 -08:00
Janet Kuo
5a22e30b7d Sync deployment status when with RecreateDeploymentStrategy 2016-01-15 16:10:06 -08:00
Isaac Hollander McCreery
7779e0325d Don't skip Restart tests, just mark as [Feature:Restart] to start stabilizing 2016-01-15 10:39:14 -08:00
k8s-merge-robot
7f095c1f8e Merge pull request #19391 from timstclair/pod-waiting
Auto commit by PR queue bot
2016-01-15 09:33:38 -08:00
k8s-merge-robot
21aa683fb5 Merge pull request #18974 from pmorie/config-env
Auto commit by PR queue bot
2016-01-15 06:42:56 -08:00
k8s-merge-robot
68a6147454 Merge pull request #19543 from ihmccreery/autoscaling-skips
Auto commit by PR queue bot
2016-01-15 06:10:59 -08:00
gmarek
ed7e9bfb20 Print only interesting Kubelet metrics in JSON printer 2016-01-15 09:57:07 +01:00
Harry Zhang
936a11e775 Use networking to hold network related pkgs
Change names of unclear methods

Use net as pkg name for short
2016-01-15 13:46:16 +08:00
Isaac Hollander McCreery
93d6ac8556 Skip [Feature:.+] instead of [Feature] 2016-01-14 15:43:41 -08:00
Isaac Hollander McCreery
63bc42c872 Mark Volumes and PersistentVolumes as [Feature:Volumes] 2016-01-14 14:07:33 -08:00
James DeFelice
bc92fd6a02 add a timeout for job runs in case something gets stuck 2016-01-14 19:29:38 +00:00
Isaac Hollander McCreery
2d09e07ae6 Add documentation for test labels 2016-01-14 09:54:23 -08:00
gmarek
bd4c0427db Remove per-container metrics from ones printed by e2e tests 2016-01-14 14:31:16 +01:00
k8s-merge-robot
a57647eea0 Merge pull request #19614 from swagiaal/improve-e2e-util-error
Auto commit by PR queue bot
2016-01-14 03:35:10 -08:00
Marek Grabowski
d9fdc96770 Merge pull request #19597 from gmarek/grab-metrics
Add explicit start and end to JSON encoded test data for easier parsing
2016-01-14 10:38:08 +01:00
k8s-merge-robot
a385de1e43 Merge pull request #19357 from timstclair/stats-refactor
Auto commit by PR queue bot
2016-01-13 23:54:48 -08:00
k8s-merge-robot
36dc6eab34 Merge pull request #19300 from caesarxuchao/move-SwaggerSchema-to-disocovery
Auto commit by PR queue bot
2016-01-13 23:20:08 -08:00
mqliang
a06137a181 remove the flaky mark in deployment e2e test 2016-01-14 11:11:33 +08:00
Random-Liu
6c36b611ea Add lock in density test 2016-01-13 16:15:56 -08:00
Paul Morie
6cfd101251 Add support for ConfigMap keys in env vars 2016-01-13 17:00:15 -05:00
Sami Wagiaalla
608012db16 Add cmd.Run error as in addition to stdout and stderr 2016-01-13 16:08:39 -05:00
Sami Wagiaalla
c7be0a2a36 Add FSGroup check to e2e of applicable volumes 2016-01-13 15:07:43 -05:00
Daniel Smith
5c556b1b87 Merge pull request #19566 from spxtr/pod-disks-slow
Label the very slow pod disk tests [Slow].
2016-01-13 10:26:01 -08:00
Chao Xu
144b5acd08 move ServerVersion to DiscoveryClient 2016-01-13 10:11:52 -08:00
gmarek
ba8efbddea Add explicit start and end to JSON encoded test data for easier parsing 2016-01-13 15:57:57 +01:00
harry
080cb60dab Fix duplicated rate limit in scheduler
Remove BindingRateLimiterSaturation metrics

Update generated doc
2016-01-13 20:51:55 +08:00
k8s-merge-robot
e1a71fefaa Merge pull request #19306 from yifan-gu/kubelet_service_e2e
Auto commit by PR queue bot
2016-01-13 03:33:13 -08:00
k8s-merge-robot
cf7d2af14a Merge pull request #19086 from mikedanese/fix-build
Auto commit by PR queue bot
2016-01-13 02:12:44 -08:00
k8s-merge-robot
077d1ddb61 Merge pull request #16713 from mqliang/RecreateDeployment
Auto commit by PR queue bot
2016-01-13 01:04:51 -08:00
mqliang
92798408af implement reconcileRecreateDeployment 2016-01-13 11:27:26 +08:00
k8s-merge-robot
3f2e99b7e7 Merge pull request #19375 from pwittrock/retry
Auto commit by PR queue bot
2016-01-12 17:03:47 -08:00
Yifan Gu
fb5ee7397b e2e: Add support for getting kubelet logs from journald.
If there is any successful detection of kubelet.service,
fetch the kubelet logs using journalctl.
2016-01-12 15:52:46 -08:00
k8s-merge-robot
0df7e695d4 Merge pull request #19458 from davidopp/notsclose
Auto commit by PR queue bot
2016-01-12 13:53:13 -08:00
Joe Finney
ce6114d5ae Label the very slow pod disk tests [Slow]. 2016-01-12 13:48:52 -08:00
Random-Liu
1df76bc663 Add update count statistics in density test 2016-01-12 11:52:40 -08:00
Isaac Hollander McCreery
6bd9324b6a Make ServiceLoadBalancer a Feature test; closes #19552 2016-01-12 11:29:43 -08:00
Isaac Hollander McCreery
b202b2eb24 Reclassify [Example] and [Feature:Example] 2016-01-12 10:34:12 -08:00
Isaac Hollander McCreery
cfdae7b482 Make [Autoscaling] [Feature:Autoscaling] 2016-01-12 10:11:56 -08:00
gmarek
e704e6c0bc Make MetricsForE2E public 2016-01-12 13:23:47 +01:00
David Oppenheimer
8ac484793d Comment out calls to httptest.Server.Close() to work around
https://github.com/golang/go/issues/12262 . See #19254 for
more details. This change should be reverted when we upgrade
to Go 1.6.
2016-01-11 23:02:11 -08:00
Mike Danese
22cfa5ea7e build: move some of hack/lib/ into a new cluster/lib/
Some functionality in hack/lib is currently depended on by
cluster/common.sh so kube-up from the full release tar (which
does not include hack/) is currently broken. With this PR we
create cluster/lib/ and move the necessary bits from hack/
over to get kube-up working again.

Fixes: 96d1b8d1b2
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-11 17:10:26 -08:00
Isaac Hollander McCreery
a284927713 Add 5-minute sleep in GKE for dead tunnels to be removed 2016-01-11 15:30:23 -08:00
Minhan Xia
2a7656c0c0 Merge pull request #19383 from freehan/esloggingfix
Improve ES test resilience
2016-01-11 10:08:50 -08:00
gmarek
1dba92824c Changes required for test analyzer 2016-01-11 13:29:05 +01:00
gmarek
5f2222a866 Run test for grabbing metrics from Kubelet only on GCE 2016-01-11 11:54:43 +01:00
k8s-merge-robot
30f206c9e3 Merge pull request #19261 from gmarek/in-test-metrics
Auto commit by PR queue bot
2016-01-11 01:59:29 -08:00
Marek Grabowski
b7f03ff600 Merge pull request #19421 from janetkuo/known-flaky
Label 3 flaky deployment e2e tests with [Flaky]
2016-01-11 09:55:42 +01:00
Jeff Lowdermilk
bd9d980243 Merge pull request #19425 from ihmccreery/skip-labels
Label [Skipped] tests apprpriately
2016-01-08 14:50:10 -08:00
k8s-merge-robot
37b5726716 Merge pull request #14431 from Defensative/UDP-LB
Auto commit by PR queue bot
2016-01-08 12:39:02 -08:00
Isaac Hollander McCreery
b731b20907 Collapse REBOOT_SKIP_TESTS into GCE_DEFAULT_SKIP_TESTS, and remove GCE_SOAK_CONTINUOUS_SKIP_TESTS as redundant (see notes) 2016-01-08 11:09:15 -08:00
Minhan Xia
a8d913bf8b do not fail when parsing unexpected log line 2016-01-08 10:40:41 -08:00
Janet Kuo
81c39b45ad Label 3 flaky deployment e2e tests with [Flaky] 2016-01-08 10:26:06 -08:00
Jan Safranek
8c48250a55 Add an integration test for volume tags. 2016-01-08 19:09:29 +01:00
Marek Grabowski
46945ab50f Merge pull request #19402 from gmarek/json
Implement JSON printing for test summaries
2016-01-08 16:21:09 +01:00
gmarek
f5a41823c2 Implement JSON printing for test summaries 2016-01-08 10:07:43 +01:00
gmarek
927103121a Update constraints for system container 2016-01-08 09:38:57 +01:00
Tim St. Clair
5ce90c31c9 Treat pod NotFound errors as permanent
When waiting for a pod to become running, a NotFound error should be
treated a permanent, and report the NotFound error rather than a timeout
error.
2016-01-07 16:54:10 -08:00
Abhi Shah
7ca0fa431b Merge pull request #19385 from kubernetes/revert-19297-skip-labels
Revert "Label [Skipped] tests appropriately"
2016-01-07 16:21:24 -08:00
Isaac Hollander McCreery
791cae90f0 Merge pull request #19350 from brendandburns/oncall
Improve error reporting a little in ingress e2e.
2016-01-07 15:51:31 -08:00
Phillip Wittrock
4397bdedf3 Errof -> Warningf 2016-01-07 13:29:17 -08:00
Phillip Wittrock
aebc1bcc92 node e2e tests - retry fkaky failures caused by gcloud authentication 2016-01-07 12:17:24 -08:00
Abhi Shah
ce96ff416b Revert "Label [Skipped] tests appropriately" 2016-01-07 11:54:41 -08:00
gmarek
5cc420c408 Small cleanup in density e2e test. 2016-01-07 10:28:43 +01:00
k8s-merge-robot
4de37e093e Merge pull request #19297 from ihmccreery/skip-labels
Auto commit by PR queue bot
2016-01-06 19:13:16 -08:00
Tim St. Clair
368447ff3f Rector kubelet stats serving
Changes include:
- Moving stats serving & routes to pkg/kubelet/server/stats/handler.go
- Managing the routes with restful.WebService, rather than manual
parsing
- Misc cleanup

These changes will make adding the new routes for /stats/summary more
manageable.
2016-01-06 17:37:12 -08:00
Brendan Burns
07b3ab720d Improve error reporting a little in ingress e2e.
Also add Output() to the util/exec Cmd interface.
2016-01-06 15:25:04 -08:00
Minhan Xia
c3d400f4bb Gather Fluentd logs 2016-01-06 13:46:12 -08:00
Isaac Hollander McCreery
c3cbe34106 Collapse REBOOT_SKIP_TESTS into GCE_DEFAULT_SKIP_TESTS, and remove GCE_SOAK_CONTINUOUS_SKIP_TESTS as redundant (see notes) 2016-01-06 12:16:26 -08:00
k8s-merge-robot
c8f1019c10 Merge pull request #19311 from janetkuo/flake-deployment-rollover
Auto commit by PR queue bot
2016-01-05 23:01:13 -08:00
Janet Kuo
7d5db746bf Fix incorrect condition in deployment rollover e2e test 2016-01-05 16:56:12 -08:00
Minhan Xia
ed8390a51f improve es test resillience 2016-01-05 16:51:55 -08:00
Janet Kuo
db512fc2cb Log rcs when failed waiting for deployment status in e2e tests 2016-01-05 15:08:31 -08:00
Kenneth Shelton
9e6c45c395 Updated comments
Updated documentation
Fixed e2e test
2016-01-05 20:51:21 +00:00
Kenneth Shelton
d399a8f8cc * Added UDP LB support (for GCE) 2016-01-05 20:51:21 +00:00
k8s-merge-robot
671b5982cf Merge pull request #18125 from janetkuo/rollover-test
Auto commit by PR queue bot
2016-01-05 11:54:01 -08:00
k8s-merge-robot
547bf75b54 Merge pull request #19258 from gmarek/metrics-grabber
Auto commit by PR queue bot
2016-01-05 10:42:07 -08:00
Janet Kuo
6a8d5e7562 Add test for deployment rollover 2016-01-05 10:25:58 -08:00
k8s-merge-robot
8959b7a362 Merge pull request #19028 from mikedanese/unflaked
Auto commit by PR queue bot
2016-01-05 02:23:49 -08:00
gmarek
03fc8ba40a Metrics in e2e tests are using printer framework to print themselves 2016-01-05 11:15:42 +01:00
k8s-merge-robot
d30f99b377 Merge pull request #18946 from smarterclayton/httplog
Auto commit by PR queue bot
2016-01-04 21:34:09 -08:00
k8s-merge-robot
cd097e3f86 Merge pull request #19088 from smarterclayton/separate_service_account
Auto commit by PR queue bot
2016-01-04 08:38:24 -08:00
Prashanth B
df5faeb5af Switch DefaultClient with a timeoutClient in Ingress e2e. 2016-01-01 12:41:27 +00:00
k8s-merge-robot
3644492e66 Merge pull request #19046 from thockin/e2e-svcs-not-round-robin
Auto commit by PR queue bot
2015-12-30 13:08:43 -08:00
k8s-merge-robot
b51b6c917d Merge pull request #19194 from gmarek/spam
Auto commit by PR queue bot
2015-12-30 07:10:38 -08:00
gmarek
fd3dcabf72 Remove node status checking spam from tests 2015-12-30 11:01:00 +01:00
k8s-merge-robot
728ed4bb83 Merge pull request #19142 from gmarek/grab-metrics
Auto commit by PR queue bot
2015-12-30 01:44:28 -08:00
Mike Danese
b6614a4cc7 promote complex daemonset test out of flaky 2015-12-29 13:02:08 -08:00
Tim Hockin
4bbbb9a3c9 e2e: Loop more to defeat service randomization 2015-12-29 11:23:19 -08:00
Wojciech Tyczynski
3a16ca7ce1 Increase limit for elasticsearch logs amount in scalability tests 2015-12-29 15:20:50 +01:00
Marek Grabowski
af104dd8df Merge pull request #19162 from gmarek/log_monitoring
Add an exponential backoff for reading log sizes
2015-12-29 13:32:22 +01:00
k8s-merge-robot
6f97970339 Merge pull request #19168 from mwielgus/turn-off-monitoring
Auto commit by PR queue bot
2015-12-29 04:05:35 -08:00
Marcin Wielgus
c9036f00d1 Mark monitoring e2e tests as flaky until the new Heapster release 2015-12-29 12:32:50 +01:00
Marek Grabowski
316f8469a7 Merge pull request #19169 from gmarek/resource-usage
Temporarily increase allowed resources for elasticsearch in density tests
2015-12-29 12:24:00 +01:00
gmarek
2887aff3da Temporarily increase allowed resources for elasticsearch in density tests 2015-12-29 12:21:38 +01:00
gmarek
2388787c38 Add an exponential backoff for reading log sizes 2015-12-29 10:59:38 +01:00
gmarek
1df78a2398 Add a framework for multiple writers for various test data summaries 2015-12-29 10:26:44 +01:00
gmarek
2dcafa3854 Add a flag that will make test gather metrics from all running components after the test finishes. 2015-12-28 12:10:39 +01:00
Clayton Coleman
9dad7e624c Split the serviceaccount package into two parts
Public utility methods and JWT parsing, and controller specific logic.
Also remove the coupling between ServiceAccountTokenGetter and the
authenticator class.
2015-12-26 21:28:12 -05:00
k8s-merge-robot
df3f476722 Merge pull request #19056 from gmarek/fix-test
Auto commit by PR queue bot
2015-12-24 11:58:46 -08:00
k8s-merge-robot
16e1de6db6 Merge pull request #18859 from deads2k/gv-grab-bag
Auto commit by PR queue bot
2015-12-23 23:57:24 -08:00
k8s-merge-robot
05a1295085 Merge pull request #18714 from gmarek/metrics-grabber
Auto commit by PR queue bot
2015-12-23 10:30:06 -08:00
gmarek
95825a5bd8 Print errors in log_size_monitoring 2015-12-23 12:36:12 +01:00
gmarek
dec5096bfd Delete not working writePerfData 2015-12-23 12:30:49 +01:00
gmarek
0e3c33bdec log_size_monitor shouldn't fail test in case of error 2015-12-23 10:17:04 +01:00
Minhan Xia
32ca82de04 remove cluster logging e2e test from flaky suite 2015-12-22 16:37:29 -08:00
Isaac Hollander McCreery
8b255feeee Add flaky label [Flaky] to tests 2015-12-22 12:29:57 -08:00
Isaac Hollander McCreery
14d9a0f2c8 Label slow tests [Slow] 2015-12-22 12:29:57 -08:00
Filip Grzadkowski
4ee0e7e43c Fix e2e tests broken in #17865 2015-12-22 13:59:35 +01:00
gmarek
9dbbc4e1df Add a tool for grabbing and parsing prometheus metrics 2015-12-22 12:33:37 +01:00
Wojciech Tyczynski
6ce85817ea Fix density test 2015-12-22 10:50:05 +01:00
HaiyangDING
d9f3607292 Implement multi-scheduler:
1. Name default scheduler with name `kube-scheduler`
2. The default scheduler only schedules the pods meeting the following condition:
	- the pod has no annotation "scheduler.alpha.kubernetes.io/name: <scheduler-name>"
	- the pod has annotation "scheduler.alpha.kubernetes.io/name: kube-scheduler"

update gofmt

update according to @david's review

run hack/test-integration.sh, hack/test-go.sh and local e2e.test
2015-12-22 10:49:40 +08:00
deads2k
d41e7ecf53 miscellaneous group version updates 2015-12-21 09:52:50 -05:00
k8s-merge-robot
2efc738d5b Merge pull request #18458 from hongchaodeng/perf
Auto commit by PR queue bot
2015-12-21 01:54:09 -08:00
Clayton Coleman
0702164f05 httplog is not a CloseNotifier
We wrap TimeoutHandler with RecoverPanics, but httplog does not
implement http.CloseNotifier, which causes a naive watch from curl
against the insecure port to fail.

For now, implement CloseNotifier (but we should consider removing
httplog now that we have other tools in the stack to manage it).
2015-12-20 21:59:59 -05:00
k8s-merge-robot
796cc55663 Merge pull request #18773 from ihmccreery/fix-upgrade-proxy
Auto commit by PR queue bot
2015-12-19 21:10:34 -08:00
k8s-merge-robot
d01a954be7 Merge pull request #18682 from bprashanth/docker_exec
Auto commit by PR queue bot
2015-12-19 20:32:53 -08:00
k8s-merge-robot
3c3a24e1d4 Merge pull request #18694 from thockin/airplane_validation_pt7
Auto commit by PR queue bot
2015-12-19 03:57:53 -08:00
k8s-merge-robot
9e8233fc3c Merge pull request #17398 from janetkuo/deployment-controller-informer
Auto commit by PR queue bot
2015-12-18 19:13:32 -08:00
Eric Tune
f15b2e32a7 Merge pull request #16422 from hurf/created_by
Display controllers along with type when describing a pod
2015-12-18 13:44:07 -08:00
k8s-merge-robot
7f5123f61f Merge pull request #18900 from ihmccreery/serial-tests
Auto commit by PR queue bot
2015-12-18 11:56:11 -08:00
Isaac Hollander McCreery
bd49a3420e Add [Disruptive] and [Serial] labels to appropriate tests
And use for partitioning; makes progress toward 10548
2015-12-18 11:12:28 -08:00
k8s-merge-robot
7dc73a34ac Merge pull request #18856 from pwittrock/etcd2
Auto commit by PR queue bot
2015-12-18 10:38:36 -08:00
Tim Hockin
0fecf965b4 Change how one-of blocks are validated
I took a hard look at error output and played until I was happier.  This now
prints JSON for structs in the error, rather than go's format.

Also made the error message easier to read.

Fixed tests.
2015-12-18 09:42:14 -08:00
Hongchao Deng
9704222cf3 scheduler performance test suite: README.md docs 2015-12-18 09:41:00 -08:00
Hongchao Deng
161b106082 scheduler performance test suite: standalone entry script 2015-12-18 09:40:52 -08:00
Hongchao Deng
c0243ad4ee scheduler performance test suite: benchmarks and density tests 2015-12-18 09:39:33 -08:00
Mike Danese
cd8dfe70d9 Merge pull request #18836 from mikedanese/daemon-set
increase timeout on complex daemonset test
2015-12-18 08:06:26 -08:00
Wojciech Tyczynski
d1e039b646 Merge pull request #18635 from timothysc/etcd_client_post_cleanup
Update to use latest etcd client library
2015-12-18 14:14:21 +01:00
Janet Kuo
bd1200ba66 Make label and deployment name in deployment e2e test unique 2015-12-17 19:58:48 -08:00
Janet Kuo
32d153093e Fix deployment tests failures; change ResyncPeriod 2015-12-17 19:29:54 -08:00
Minhan Xia
cbcb3c040e Merge pull request #18783 from freehan/eslogging
increase grace period for elasticsearch cluster to complete master election
2015-12-17 17:31:08 -08:00
Phillip Wittrock
41f5b0b765 Node e2e test - propagate errors from tests to runner exit code. 2015-12-17 15:37:11 -08:00
Eric Tune
1752cf22d4 Merge pull request #17940 from soltysh/job_deadline
Added ActiveDeadlineSeconds to jobs
2015-12-17 13:11:13 -08:00
Mike Danese
bff87533c6 increase timeout on complex daemonset test 2015-12-17 09:26:42 -08:00
k8s-merge-robot
548cfbf058 Merge pull request #18358 from gmarek/use-proxy
Auto commit by PR queue bot
2015-12-17 06:37:55 -08:00
Maciej Szulik
327c104460 Added ActiveDeadlineSeconds to jobs, allowing failing a job after
exceeding allowed time.
2015-12-17 15:26:42 +01:00
k8s-merge-robot
0f144fd351 Merge pull request #18529 from timstclair/server
Auto commit by PR queue bot
2015-12-17 04:27:11 -08:00
k8s-merge-robot
0b93238423 Merge pull request #18536 from mikedanese/ns-label
Auto commit by PR queue bot
2015-12-17 02:38:04 -08:00
k8s-merge-robot
4a9922c900 Merge pull request #18509 from gmarek/fix-e2e-pd
Auto commit by PR queue bot
2015-12-17 02:06:23 -08:00
k8s-merge-robot
5f1ebc3420 Merge pull request #18636 from feihujiang/removeStopCommandInE2eTest
Auto commit by PR queue bot
2015-12-16 23:38:11 -08:00
Nikhil Jindal
5fb943950d Merge pull request #18113 from nikhiljindal/serverLibrary
Extracting api server code into a library: part 1
2015-12-16 15:57:09 -08:00
Timothy St. Clair
c505a5d49d Updating kubernetes proper to use latest etcd client library 2015-12-16 15:56:35 -06:00
nikhiljindal
2d952aaa87 Extracting APIServer machinery code into a library 2015-12-16 13:54:23 -08:00
k8s-merge-robot
7eed10a804 Merge pull request #18782 from pwittrock/etcd2
Auto commit by PR queue bot
2015-12-16 13:43:25 -08:00
k8s-merge-robot
418c729240 Merge pull request #18486 from timstclair/kubelet_stats
Auto commit by PR queue bot
2015-12-16 13:23:40 -08:00
Minhan Xia
c0e9612300 increase grace period for elasticsearch cluster to elect master 2015-12-16 12:26:09 -08:00
Phillip Wittrock
3d8835e2f0 remove cluster-name flag from e2e tests because it doesn't exist anymore 2015-12-16 12:10:25 -08:00
Isaac Hollander McCreery
a5d895ac49 Add version-guarding around calls to SubResource proxy in e2es 2015-12-16 11:18:47 -08:00
k8s-merge-robot
431ab7f77c Merge pull request #18446 from pwittrock/etcd2
Auto commit by PR queue bot
2015-12-16 10:56:48 -08:00
Jeff Lowdermilk
7069a81116 Merge pull request #18767 from yujuhong/reset_test
Change the pods per node from 40 to 35 for resource tracking tests
2015-12-16 10:51:56 -08:00
Saad Ali
3968a5e63c Merge pull request #18601 from pmorie/devel/provisioner-aws
Dynamic provisioner for AWS EBS
2015-12-16 10:51:35 -08:00
Yu-Ju Hong
251179327d Change the pods per node from 40 to 35 for resource tracking tests
The maximum number of pods allowed on kubelet is 40. Let's not exceed that in
the tests.
2015-12-16 10:04:26 -08:00
Phillip Wittrock
ad37e2654e Node e2e test fixes:
- Improve documentation and method naming
- Fix command this is run remotely
- Never reschedule the busybox logging test pod since it is supposed to terminate
- Update log test condition retrylogic to correctly retry instead of failing the test
- localhost -> 127.0.0.1 to work on coreos
- give name to etcd to work on coreos
- allow using full hostname for nodename for coreos
2015-12-16 09:22:48 -08:00
gmarek
13773cbdf9 Remove cluster-name from kubemark setup 2015-12-16 16:10:52 +01:00
k8s-merge-robot
0be54ae771 Merge pull request #18507 from feihujiang/supportRemoveFlagForKubectlRun
Auto commit by PR queue bot
2015-12-16 01:19:26 -08:00
Minhan Xia
2c9ffc1b45 Merge pull request #18448 from freehan/eslogging
add validation for fluentd pods
2015-12-15 13:25:21 -08:00
Prashanth Balasubramanian
4d9a33f96e Services e2e should use kubectl exec instead of docker run. 2015-12-15 11:16:04 -08:00
Tim St. Clair
89bc7992f9 Refactor kubelet server into its own package
Refactor Kubelet's server functionality into a server package. Most
notably, move pkg/kubelet/server.go into
pkg/kubelet/server/server.go. This will lead to better separation of
concerns and a more readable code hierarchy.
2015-12-15 10:20:38 -08:00
k8s-merge-robot
6f2351b981 Merge pull request #18618 from mesosphere/sur-697-annotations
Auto commit by PR queue bot
2015-12-15 05:26:47 -08:00
k8s-merge-robot
430be9ff0c Merge pull request #18674 from thockin/e2e-service-flakes
Auto commit by PR queue bot
2015-12-15 04:33:09 -08:00
Sergiusz Urbaniak
1fd3bc087b pod_task: use annotations rather than labels for roles
Roles support in Kubernetes-Mesos was done using pod labels. This
commits moves this to pod annotations. Pod label yaml files don't
support '*' characters, furthermore roles are consumed by the scheduler
only and are not meant for querying/filtering.
2015-12-15 12:45:54 +01:00
k8s-merge-robot
3680268c52 Merge pull request #18353 from deads2k/gv-use-constants
Auto commit by PR queue bot
2015-12-15 03:25:09 -08:00
k8s-merge-robot
b02417bb9b Merge pull request #18348 from mesosphere/sur-652-conformance-tests
Auto commit by PR queue bot
2015-12-15 02:02:50 -08:00
Jan Safranek
700d92c2a8 AWS: Use GiB as units for disk sizes.
From some reason, MiBs were used for public functions and AWS cloud provider
recalculated them to GiB. Let's expose what AWS really supports and don't hide
real allocation units.
2015-12-15 10:18:00 +01:00
Piotr Szczesniak
fe04005959 Merge pull request #18658 from jszczepkowski/rc-bump
Autoscaling e2e tests: bumped resource consumer to version beta2.
2015-12-15 09:05:11 +01:00
Wojciech Tyczynski
99ed49dfaf Relax scalability limits 2015-12-15 08:14:07 +01:00
Tim St. Clair
2e6ef04aeb Don't record the same stat point multiple times 2015-12-14 17:48:01 -08:00
Minhan Xia
f0c176dd6a add validation for fluentd pods 2015-12-14 16:23:11 -08:00
Tim Hockin
86b91ac6bc Deflake a test - Sleep(5) != 5 seconds
Fixes #18283 (I hope - very rare flake)
2015-12-14 11:59:34 -08:00
Jerzy Szczepkowski
dd62c8e831 Autoscaling e2e tests: bumped resource consumer to version beta2.
Autoscaling e2e tests: bumped resource consumer to version beta2.
2015-12-14 16:55:26 +01:00
gmarek
f38455ddc3 Update e2e tests to list only schedulable nodes, to make them work with master Node registered. 2015-12-14 16:28:23 +01:00
gmarek
4852ca23ef Make getSchedulingLatency use master proxy 2015-12-14 16:08:34 +01:00
deads2k
d0aaf13920 use constants for group names 2015-12-14 10:04:10 -05:00
Sergiusz Urbaniak
67e98fcfa8 executor, scheduler: make default pod roles configurable
Currently if a pod is being scheduled with no meta.RolesKey label
attached to it, per convention the first configured mesos (framework)
role is being used.

This is quite limiting and also lets e2e tests fail. This commit
introduces a new configuration option "--mesos-default-pod-roles" defaulting to
"*" which defines the default pod roles in case the meta.RolesKey pod
label is missing.
2015-12-14 15:18:39 +01:00
Wojciech Tyczynski
960808bf08 Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
k8s-merge-robot
5566e32842 Merge pull request #18540 from madhusudancs/out-of-disk-e2e
Auto commit by PR queue bot
2015-12-14 01:37:37 -08:00
Wojciech Tyczynski
f24d909dae Increase limit for listing pods in 100-node cluster 2015-12-14 09:20:12 +01:00
feihujiang
9ab06cfa62 Support remove flag for kubectl run command 2015-12-14 16:16:43 +08:00
feihujiang
fd068b2887 Replace stop with delete command in e2e test 2015-12-14 15:49:05 +08:00
k8s-merge-robot
51e8c2e5f8 Merge pull request #17841 from mqliang/constant
Auto commit by PR queue bot
2015-12-13 23:40:27 -08:00
k8s-merge-robot
9067833a31 Merge pull request #18382 from yujuhong/resource_usage
Auto commit by PR queue bot
2015-12-13 21:23:29 -08:00
Jeff Lowdermilk
09f9dc7d86 Merge pull request #18578 from ihmccreery/quiet-upgrades
Add quiet mode to gcloud calls from upgrade e2e tests
2015-12-11 15:49:50 -08:00
Yu-Ju Hong
7e8f4d831d e2e: set expected cpu usage upper bounds
Fail the test if the actual cpu usage is greater than expected.
2015-12-11 10:12:26 -08:00
Mike Danese
a3b6674fbf add a label to namespaces created by e2e framework 2015-12-11 09:53:56 -08:00
markturansky
4fc1bf1f23 Added PersistentVolumeController 2015-12-11 10:33:30 -05:00
Wojciech Tyczynski
5eb17e8224 Decrease scalability thresholds in e2e tests 2015-12-11 09:55:35 +01:00
Wojciech Tyczynski
6e29e84e14 Merge pull request #18532 from thockin/deflake-svcs-e2e
Deflake services e2e
2015-12-11 08:10:30 +01:00
Isaac Hollander McCreery
6aa463a9ac Add quiet mode to gcloud calls from upgrade e2e tests 2015-12-10 19:24:42 -08:00
Tim Hockin
ad22d00e40 Extend a too-short timeout in services e2e 2015-12-10 16:34:07 -08:00
Madhusudan.C.S
7ec49d234c Increase the node condition status change observation time out to 5 minutes.
1 minute is too short.
2015-12-10 15:02:56 -08:00
Tim Hockin
ed1f2d75e9 Deflake services e2e
Picking a nodePort needs to be more robust than "add one to an existing port
and hope it works".  Now we try all ports in the range if we have to.
2015-12-10 13:43:26 -08:00
k8s-merge-robot
e99243fd12 Merge pull request #18264 from bprashanth/clean
Auto commit by PR queue bot
2015-12-10 08:53:23 -08:00
k8s-merge-robot
ba306902e6 Merge pull request #18511 from jszczepkowski/cm-consumer
Auto commit by PR queue bot
2015-12-10 08:24:31 -08:00
Jerzy Szczepkowski
aade6e78b2 Added handling custom metrics to resource consumer.
Added handling custom metrics in Prometheus format to resource consumer.
2015-12-10 16:20:03 +01:00
Marcin Wielgus
f6f7725f90 Merge pull request #18340 from wojtek-t/pod_intra_communication_test
Set timeout for clients created in e2e tests
2015-12-10 14:54:36 +01:00
k8s-merge-robot
9b9daca0c4 Merge pull request #18213 from wojtek-t/enable_list_from_memory
Auto commit by PR queue bot
2015-12-10 05:47:42 -08:00
k8s-merge-robot
b118b801f3 Merge pull request #18164 from jayunit100/hpa-parameterize
Auto commit by PR queue bot
2015-12-10 04:40:53 -08:00
k8s-merge-robot
9bbe6012e3 Merge pull request #17683 from pwittrock/node_e2e_tests
Auto commit by PR queue bot
2015-12-09 12:50:22 -08:00
Wojciech Tyczynski
f1de51567d Set timeout for e2e clients 2015-12-09 20:44:25 +01:00
k8s-merge-robot
b266aa1577 Merge pull request #18120 from pwittrock/etcd
Auto commit by PR queue bot
2015-12-09 10:30:36 -08:00
Wojciech Tyczynski
0cefb43707 Enable listing from memory 2015-12-09 16:24:14 +01:00
Wojciech Tyczynski
0caaf2583e Merge pull request #18360 from yujuhong/longer_timeout
Bump the timeout for container readiness probe e2e tests
2015-12-09 15:15:10 +01:00
Wojciech Tyczynski
0369805308 Merge pull request #18207 from wojtek-t/string_resource_version
Change resourceVersion to string in storage.Interface
2015-12-09 15:00:54 +01:00
Wojciech Tyczynski
c1828b3153 Merge pull request #18218 from gmarek/fix-test
Make scheduler predicates test correctly use request instead of a limit
2015-12-09 14:29:35 +01:00
Wojciech Tyczynski
1e4888f6c8 Merge pull request #18345 from gmarek/monitor_resources
Tweak constants in monitor_resources test
2015-12-09 14:28:56 +01:00
Wojciech Tyczynski
a915b8b29a Merge pull request #18080 from wojtek-t/list_options_in_listwatch
Pass ListOptions to List in ListWatch.
2015-12-09 14:27:51 +01:00
Jerzy Szczepkowski
ab8dbd221d Merge pull request #18296 from sdminonne/downwardapi_volume
rising timeout for mount-tester image
2015-12-09 11:25:20 +01:00
k8s-merge-robot
a486977e19 Merge pull request #17982 from deads2k/gv-testapi-01
Auto commit by PR queue bot
2015-12-08 22:16:59 -08:00
k8s-merge-robot
d153b2a8cd Merge pull request #17808 from pwittrock/conf
Auto commit by PR queue bot
2015-12-08 17:24:04 -08:00
Minhan Xia
fa30b796a8 Merge pull request #18244 from freehan/eslogging
Increase verbosity for cluster logging e2e test
2015-12-08 16:47:47 -08:00
Minhan Xia
3e7882e808 improve retry for checking es cluster health and increase verbosity 2015-12-08 15:22:51 -08:00
Yu-Ju Hong
6e3c7aaae6 Bump the timeout for container readiness probe e2e tests
To reduce the flakiness.
2015-12-08 08:27:38 -08:00
gmarek
217149c199 Tweak constants in monitor_resources test 2015-12-08 13:46:27 +01:00
Wojciech Tyczynski
f27c69851e Increase limits for addons in scalability test 2015-12-08 08:08:43 +01:00
Tim Hockin
d0d27be9b0 Merge pull request #18243 from thockin/test-flake
Try to fix rare test flake in services e2e
2015-12-07 20:57:13 -08:00
Yu-Ju Hong
c1a0502487 Change the kubelet --max-pods limit to 110 for test clusters
This allows resource usage monitoring test to launch 100 test pods per node, in
addition to the add-on pods.

Also reduce the test time length since the results over the shorter period are
representative enough.
2015-12-07 15:41:40 -08:00
deads2k
2ee3dfe415 update testapi to eliminate redundant fields 2015-12-07 15:54:26 -05:00
Fabio Yeon
b7dc1175ba Merge pull request #18220 from yujuhong/increase_timeout
e2e: increase the container probing test timeout
2015-12-07 10:44:31 -08:00
Salvatore Dario Minonne
584ed9b2c4 rising timeout for mount-tester image 2015-12-07 16:44:07 +01:00
k8s-merge-robot
33eda2ffb5 Merge pull request #17825 from gmarek/fix-jenkins
Auto commit by PR queue bot
2015-12-07 04:51:43 -08:00
Wojciech Tyczynski
b0fcb5adef Pass ListOptions to List in ListWatch. 2015-12-07 11:53:53 +01:00
gmarek
4c0b789949 Update limits for Kubelet in monitor-resources test 2015-12-07 10:48:18 +01:00
Wojciech Tyczynski
793da62c7f Change resourceVersion to string in storage.Interface 2015-12-07 09:22:59 +01:00
Wojciech Tyczynski
c355b20189 Increase Kibana limits in density test 2015-12-07 08:15:19 +01:00
Prashanth Balasubramanian
9b90b3440e Add ingress cleanup script 2015-12-06 14:42:40 -08:00
k8s-merge-robot
e2679abdb8 Merge pull request #18011 from sdminonne/podSelector_labelSelector
Auto commit by PR queue bot
2015-12-05 13:56:04 -08:00
mqliang
0fd51b9e72 make 'deployment.kubernetes.io/podTemplateHash' as constant 2015-12-05 11:17:12 +08:00
Yu-Ju Hong
0ae1d548ce e2e: fix container probing test
This change compare the timestamps in pod status to accurately determine
whether the initial delay has passed when the pod (container) becomes ready.
Also increase the test timeout to account for the parallel testing environment.
2015-12-04 17:12:18 -08:00
Tim Hockin
ba907883fb Try to fix rare test flake in services e2e 2015-12-04 16:35:02 -08:00
Janet Kuo
8fb0caa15b Implement MinReadySeconds for Deployment 2015-12-04 12:58:34 -08:00
gmarek
092c1b46ee Make scheduler predicates test correctly use request instead of a limit 2015-12-04 18:15:23 +01:00
Filip Grzadkowski
81b6ac4755 Merge pull request #18209 from piosz/monitoring-e2e
Added printing heapster logs in case of monitoring.go e2e failure
2015-12-04 13:52:48 +01:00
Piotr Szczesniak
38e6392eef Added printing heapster logs in case of monitoring.go e2e failure 2015-12-04 12:16:48 +01:00
k8s-merge-robot
bc2d0f9d3e Merge pull request #17967 from rootfs/cephfs-e2e
Auto commit by PR queue bot
2015-12-04 02:55:52 -08:00
k8s-merge-robot
571839923c Merge pull request #18208 from wojtek-t/dont_run_3podpernode_in_scalability
Auto commit by PR queue bot
2015-12-04 02:40:50 -08:00
k8s-merge-robot
f4637f644f Merge pull request #18081 from gmarek/fix-test
Auto commit by PR queue bot
2015-12-04 02:14:17 -08:00
Wojciech Tyczynski
e0731b96cf Don't run 3pods/node in scalability suite 2015-12-04 10:59:32 +01:00
Salvatore Dario Minonne
80575c3093 renaming PodSelector to LabelSelector 2015-12-04 09:49:08 +01:00
Phillip Wittrock
0e2ade336a Initial revision of conformance node environment conformance tests 2015-12-03 15:41:10 -08:00
Jay Vyas
98153fcedc HPA: parameterize stasis, minReplicas, maxReplicas as struct. 2015-12-03 14:34:49 -05:00
k8s-merge-robot
6479f5e93f Merge pull request #18136 from nikhiljindal/del-new-etcd-storage
Auto commit by PR queue bot
2015-12-03 04:10:00 -08:00
Marek Grabowski
5afc5e5938 Merge pull request #18145 from wojtek-t/deletion_in_density
Measure latency metrics before removing namespace
2015-12-03 11:17:21 +01:00
Wojciech Tyczynski
2637dab02b Measure latency metrics before removing namespace 2015-12-03 11:15:44 +01:00
gmarek
bdfcf9bec0 Increase a interval during which we gather add-on resource usage to decrase variability 2015-12-03 11:13:35 +01:00
Marek Grabowski
011fb5c044 Merge pull request #18143 from gmarek/timeout
Increase timeout in e2e downward API test
2015-12-03 10:53:22 +01:00
gmarek
c1cf6b9704 Increase timeout in e2e downward API test 2015-12-03 10:48:16 +01:00
nikhiljindal
5c556baa2f Removing duplicate NewEtcdStorage code 2015-12-03 01:37:44 -08:00
Wojciech Tyczynski
6dcb689d4e Simplify List() signature in clients. 2015-12-03 09:54:07 +01:00
Marek Grabowski
800012dfb8 Merge pull request #17995 from ArtfulCoder/ktest
increased the number of tries in kube-proxy test
2015-12-03 09:39:46 +01:00
Marek Grabowski
1a59e031e2 Merge pull request #17993 from eosrei/1111-minion-node-hack-e2e
Minion->Node rename: comments/vars for e2e.go, e2e.sh, resize_nodes.go for #1111
2015-12-03 09:23:22 +01:00
Marek Grabowski
813a4c9d19 Merge pull request #17819 from mqliang/eventValidate
remove TODO: There is no namespace required for node.
2015-12-03 09:22:06 +01:00
Wojciech Tyczynski
8c497d80ec Increase verification limits for kubeproxy in scalability tests 2015-12-03 09:13:52 +01:00
Marek Grabowski
99d4b9f1b7 Merge pull request #18068 from wojtek-t/fix_benchmark_integration
Fix compile errors in benchmark
2015-12-03 09:04:52 +01:00
gmarek
d424db0706 Increase threshold for fluentd CPU usage in density test 2015-12-03 08:39:42 +01:00
Abhishek Shah
522f5def8b increased the number of tries 2015-12-02 23:19:14 -08:00
Wojciech Tyczynski
882c1cd6f4 Increase verification limits for kubeproxy in scalability tests 2015-12-03 08:17:41 +01:00
Phillip Wittrock
91e9ff5e16 Node e2e tests against remote host use host-local etcd instead of copying one there. Also fix the kubelet healthz port. 2015-12-02 17:20:49 -08:00
mqliang
8547a5c1ae remove TODO: validate namespace 2015-12-03 08:56:17 +08:00
nikhiljindal
41ebe6f1a3 Cleaning up duplicate master config inits 2015-12-02 15:03:22 -08:00
gmarek
61fc0a1243 Explicitly set DNSDefault policy in Density test 2015-12-02 17:34:54 +01:00
k8s-merge-robot
8a8639d7af Merge pull request #17863 from wojtek-t/only_list_options_in_watch
Auto commit by PR queue bot
2015-12-02 06:28:28 -08:00
k8s-merge-robot
689586c6ae Merge pull request #16153 from gmarek/use_api_ports
Auto commit by PR queue bot
2015-12-02 05:57:49 -08:00
gmarek
459131fd92 Use KubeletPort reported in NodeStatus instead of cluster-wide master config, take 2. 2015-12-02 13:38:17 +01:00
Wojciech Tyczynski
6eb76b34d1 Fix compile errors in benchmark 2015-12-02 11:36:26 +01:00
k8s-merge-robot
ac68536d44 Merge pull request #17832 from wojtek-t/list_options_in_list
Auto commit by PR queue bot
2015-12-02 02:34:17 -08:00
Brad Erickson
6ac427a501 Minion->Node rename: e2e.sh and resize_nodes.go GCE_FLAKY_TESTS 2015-12-01 16:00:47 -08:00
k8s-merge-robot
d524bd8f52 Merge pull request #17942 from gmarek/fix-test
Auto commit by PR queue bot
2015-12-01 12:42:57 -08:00
Wojciech Tyczynski
8343c8ce6c Pass ListOptions to List() methods. 2015-12-01 15:00:36 +01:00
k8s-merge-robot
7644d34759 Merge pull request #15775 from mesosphere/sur-k8sm-482-resource-roles
Auto commit by PR queue bot
2015-12-01 05:36:52 -08:00
Wojciech Tyczynski
d2dfc912e6 Simplify Watch() signature in clients. 2015-12-01 14:19:26 +01:00
k8s-merge-robot
a836b1e261 Merge pull request #17326 from caesarxuchao/grooupVersion-lastest
Auto commit by PR queue bot
2015-12-01 05:05:40 -08:00
gmarek
fa4f04e176 Add a validation step to add-on resource monitoring 2015-12-01 14:01:14 +01:00
k8s-merge-robot
ea14d1c309 Merge pull request #17880 from gmarek/log_monitoring
Auto commit by PR queue bot
2015-12-01 03:52:23 -08:00
k8s-merge-robot
53a544d980 Merge pull request #17614 from bprashanth/IngressE2E
Auto commit by PR queue bot
2015-11-30 20:16:17 -08:00
Chao Xu
6e192760e3 refactoring latest.go GroupVersion;
clean up latest.go GroupVersions;
remove latest.GroupMeta.Group;
remove latest.GroupMeta.Version.
2015-11-30 11:30:21 -08:00
Prashanth Balasubramanian
c553b15534 Ingress test revamp
Fixes a number of harder issues the initial test punted on.
2015-11-30 11:29:04 -08:00
Huamin Chen
a618260c74 update cephfs e2e test from v1beta3 to v1
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-11-30 13:28:57 -05:00
k8s-merge-robot
69bb774dd4 Merge pull request #17798 from deads2k/gv-kubectl-01
Auto commit by PR queue bot
2015-11-30 07:40:40 -08:00
gmarek
6ade0a1217 Add a tool for monitoring log generation rates 2015-11-30 16:04:48 +01:00
k8s-merge-robot
494364da7e Merge pull request #17939 from wojtek-t/debug_test
Auto commit by PR queue bot
2015-11-30 06:47:04 -08:00
deads2k
1ac6d8afd3 update reaper, scaler, describer for GroupKind 2015-11-30 09:22:39 -05:00
Wojciech Tyczynski
0773eb034c Fix resize_nodes.go test. 2015-11-30 14:55:20 +01:00
k8s-merge-robot
cc71db9f99 Merge pull request #17304 from ZJU-SEL/fix-todo-master
Auto commit by PR queue bot
2015-11-30 04:51:10 -08:00
harry
477da92002 Move hostIP detection from master to server
Add PublicAddress in test files

Move valid public addr into util
2015-11-30 16:17:37 +08:00
k8s-merge-robot
799ab4485b Merge pull request #17897 from jayunit100/Unschedulable
Auto commit by PR queue bot
2015-11-28 09:13:40 -08:00
Jay Vyas
83898644c2 avoid unschedulable pods in networking.go 2015-11-27 23:57:14 -05:00
k8s-merge-robot
44f7983024 Merge pull request #17784 from gmarek/testing
Auto commit by PR queue bot
2015-11-27 08:28:07 -08:00
k8s-merge-robot
fc927e8719 Merge pull request #17770 from gmarek/fix-test
Auto commit by PR queue bot
2015-11-27 06:35:49 -08:00
Piotr Szczesniak
ffdf2892c0 Merge pull request #17838 from wojtek-t/fix_scheduler_latency_in_kubemark
Reenable scheduler metrics in scalability tests.
2015-11-27 10:48:45 +01:00
k8s-merge-robot
5687bfa8b2 Merge pull request #17687 from madhusudancs/out-of-disk-e2e
Auto commit by PR queue bot
2015-11-26 18:41:33 -08:00
Clayton Coleman
1d592e4c28 Unversioned types should not use ambiguous go-int
All external types that are not int64 are now marked as int32,
including
IntOrString. Prober is now int32 (43 years should be enough of an initial
probe time for anyone).

Did not change the metadata fields for now.
2015-11-26 11:45:25 -05:00
Wojciech Tyczynski
81a105cb73 Reenable scheduler metrics in scalability tests. 2015-11-26 15:22:27 +01:00
k8s-merge-robot
0c4f302e5e Merge pull request #17601 from eosrei/shell-var-MINION-to-NODE
Auto commit by PR queue bot
2015-11-26 05:02:44 -08:00
gmarek
b2dd7a23ec Adjust latency limits for large clusters for listing pods 2015-11-26 12:07:15 +01:00
Phillip Wittrock
6b358e43dd Merge pull request #17747 from saad-ali/fixErrorCreatingPDTry2
Refactor GCE wrapper library to allow execution from E2E test suite
2015-11-25 15:57:42 -08:00
k8s-merge-robot
3ffc680be6 Merge pull request #13580 from ravigadde/sched-ext
Auto commit by PR queue bot
2015-11-25 12:26:16 -08:00
k8s-merge-robot
7f2f7aa091 Merge pull request #16432 from markturansky/recycler_race
Auto commit by PR queue bot
2015-11-25 11:54:06 -08:00
saadali
42b200a0a0 Refactor GCE wrapper library to allow execution from E2E test suite
This reverts commit 147b6911f5, reversing
changes made to 6fd986065b.
2015-11-25 11:48:06 -08:00
k8s-merge-robot
54bcbb03b0 Merge pull request #17786 from mikedanese/fix-res
Auto commit by PR queue bot
2015-11-25 10:01:53 -08:00
k8s-merge-robot
3bd23b185b Merge pull request #17730 from wojtek-t/use_unversioned_list_options_in_client
Auto commit by PR queue bot
2015-11-25 09:10:19 -08:00
Mike Danese
196416fbd8 don't test kube-proxy in system resource container monitoring since it is running in a docker container now 2015-11-25 08:47:44 -08:00
Ravi Gadde
cadc24e9fd Scheduler extension 2015-11-25 08:19:27 -08:00
Wojciech Tyczynski
202da5a83c Fix failing Kubemark 2015-11-25 16:19:25 +01:00
gmarek
4a785d0676 Enable Add-On resource gathering in scalability tests 2015-11-25 14:04:07 +01:00
Madhusudan.C.S
e3a26bfea6 Implement e2e test for node out of disk condition.
This is a second attempt at this commit and it fixes the cause for its
flakiness in the first attempt.

The ability to SSH into individual nodes, described by api.Node, and running
commands on them appears to be useful for other e2e tests too. So, move
issueSSHCommand utility function to e2e util file.

Also, modify waitForNodeToBe e2e util function to take any node condition. The
current implementation only takes api.NodeReady condition into consideration.
This change makes the function take any node condition.
2015-11-25 02:12:29 -08:00
Brad Erickson
53172a5356 Minion->Node rename: NUM_NODES 2015-11-25 00:45:10 -08:00
Wojciech Tyczynski
a968f98dc2 Expose information about scheduling latency in scalability tests. 2015-11-25 08:31:46 +01:00
k8s-merge-robot
d42030170b Merge pull request #15999 from aveshagarwal/master-issue-15624
Auto commit by PR queue bot
2015-11-24 17:07:10 -08:00
Phillip Wittrock
ec5ecb18fa Initial Pod e2e test 2015-11-24 15:40:16 -08:00
k8s-merge-robot
0d4e0dc173 Merge pull request #15502 from sdminonne/downwardapi_volume
Auto commit by PR queue bot
2015-11-24 15:00:07 -08:00
Janet Kuo
c0c02c95c4 kubectl run to produce deployment and job 2015-11-24 10:21:31 -08:00
Wojciech Tyczynski
b6ef62af24 Use unversioned.ListOptions in clients. 2015-11-24 16:52:09 +01:00
k8s-merge-robot
4fd6b6df06 Merge pull request #17316 from deads2k/gv-ClientForVersion
Auto commit by PR queue bot
2015-11-24 06:24:28 -08:00
Avesh Agarwal
001437a72f This commit fixes tests. 2015-11-24 09:16:12 -05:00
Wojciech Tyczynski
538f10f586 Fix latency.go e2e test 2015-11-24 10:07:55 +01:00
Marcin Wielgus
a5f9a759d9 Merge pull request #17716 from piosz/hpa-fix
Re-enabled HPA e2e in autoscaling suite
2015-11-24 10:07:20 +01:00
Piotr Szczesniak
fa2cb57d0f Re-enabled HPA e2e in autoscaling suite 2015-11-24 10:02:26 +01:00
Wojciech Tyczynski
6589f30174 Do not run Latency test as part of scalability suite 2015-11-24 09:49:41 +01:00
Salvatore Dario Minonne
a922e5045d downward api volume test e2e: update labels and annotations 2015-11-24 07:35:06 +01:00
k8s-merge-robot
949cf9e9da Merge pull request #17180 from mesosphere/skipped-cleanup
Auto commit by PR queue bot
2015-11-23 21:04:18 -08:00
k8s-merge-robot
315b9000e2 Merge pull request #17678 from gmarek/fix-jenkins
Auto commit by PR queue bot
2015-11-23 17:16:37 -08:00
Tim Hockin
aa534a5b5f Merge pull request #17690 from ixdy/privileged-e2e
Wait for hostexec pod to start running
2015-11-23 16:37:01 -08:00
k8s-merge-robot
367f0e03dd Merge pull request #17621 from mikedanese/cleanup-kube-proxy-cgroup
Auto commit by PR queue bot
2015-11-23 15:23:23 -08:00
Jeff Grafton
d38f83f7f1 Wait for hostexec pod to start running 2015-11-23 15:16:10 -08:00
Karl Isenberg
2d3c3e1d0b Cleanup e2e tags
- Remove "Suite" from e2e tag names
- Move grouping e2e tags to the front of the test, describe or context name
- Move Conformance e2e tags to the end of test names (test specific)
- Move Skipped e2e tags to the end of names, but to as high a context as applicable
2015-11-23 13:42:12 -08:00
gmarek
0beaea0af7 ResizeNodes test wait for the number of system Pods equal to the one observed before the test 2015-11-23 21:46:23 +01:00
k8s-merge-robot
336c74710c Merge pull request #17260 from pwittrock/node_e2e_tests
Auto commit by PR queue bot
2015-11-23 10:34:19 -08:00
Mike Danese
65b8d43543 remove code that puts kube-proxy into a special cgroup since it runs in a container now 2015-11-23 10:20:58 -08:00
Sergiusz Urbaniak
9eae47c6e6 scheduler: implement role awareness 2015-11-23 17:27:14 +01:00
Jordan Liggitt
9da769f90d Match service ports when proxying to services 2015-11-23 10:40:23 -05:00
Jerzy Szczepkowski
d6e27d0620 Merge pull request #17639 from piosz/hpa-e2e
Enabled HPA e2e tests for 1.1 release
2015-11-23 15:08:59 +01:00
k8s-merge-robot
4cb0beeefd Merge pull request #17392 from jlowdermilk/e2e-clean-slate
Auto commit by PR queue bot
2015-11-23 03:19:24 -08:00
Piotr Szczesniak
0d105ad548 Enabled HPA e2e tests for 1.1 release 2015-11-23 10:22:13 +01:00
Jerzy Szczepkowski
8a922e22be Revert "Refactor GCE wrapper library to allow execution from E2E test suite" 2015-11-23 09:24:32 +01:00
k8s-merge-robot
3fbf0cb810 Merge pull request #17276 from saad-ali/fixErrorCreatingPD
Auto commit by PR queue bot
2015-11-21 23:32:30 -08:00
k8s-merge-robot
748e0bc830 Merge pull request #17212 from mnagy/use_logf
Auto commit by PR queue bot
2015-11-21 09:41:34 -08:00
deads2k
a87d927588 update client.Config to use GroupVersion 2015-11-21 08:29:26 -05:00
k8s-merge-robot
86ddc7592c Merge pull request #17591 from thockin/e2e_ssh_log
Auto commit by PR queue bot
2015-11-21 05:05:24 -08:00
k8s-merge-robot
28dedac286 Merge pull request #17587 from piosz/deployment-e2e
Auto commit by PR queue bot
2015-11-20 17:07:30 -08:00
Tim Hockin
baeea3272a make SSH logging in e2e more consistent 2015-11-20 14:49:19 -08:00
Mike Danese
ddd38c3edc fix command that is supposed to kill kube-proxy 2015-11-20 14:11:18 -08:00
Piotr Szczesniak
2794e47b1c Disabled HPA tests for deployment because they are flaky 2015-11-20 22:03:24 +01:00
saadali
882469dd7b Refactor GCE wrapper library to allow execution from E2E test suite 2015-11-20 11:41:10 -08:00
k8s-merge-robot
1a57cc8033 Merge pull request #15777 from mesosphere/sttts-replace-ssh-by-net-host-container
Auto commit by PR queue bot
2015-11-20 02:19:25 -08:00
k8s-merge-robot
d10bdd7385 Merge pull request #17233 from mnagy/remove_unused_var
Auto commit by PR queue bot
2015-11-19 08:20:27 -08:00
k8s-merge-robot
3847843160 Merge pull request #17434 from gmarek/internal_ips
Auto commit by PR queue bot
2015-11-19 08:17:23 -08:00
Marcin Wielgus
feb439c67c Revert "e2e test for node out of disk conditions" 2015-11-19 14:06:12 +01:00
k8s-merge-robot
5b2e339b24 Merge pull request #16398 from madhusudancs/out-of-disk-e2e
Auto commit by PR queue bot
2015-11-18 21:49:22 -08:00
k8s-merge-robot
4a6884038a Merge pull request #17410 from hongchaodeng/kubemark
Auto commit by PR queue bot
2015-11-18 15:13:26 -08:00
Abhi Shah
28a4adabb5 Merge pull request #17427 from gmarek/expect-noerror
Log an error instantly in expectNoError
2015-11-18 14:59:53 -08:00
Phillip Wittrock
49e1baa313 Test runner harness for node e2e tests 2015-11-18 13:05:01 -08:00
Jeff Lowdermilk
e95cf1d109 Delete orphaned namespaces at e2e start for soak tests
This will help prevent soak clusters getting hosed if a test is
interrupted without cleaning up resources.
2015-11-18 09:57:19 -08:00
Prashanth B
01b371370d Merge pull request #17409 from bprashanth/clean1
Fix port typo, fix tests
2015-11-18 09:34:14 -08:00
Hongchao Deng
1fde840aa8 kubemark: check if kubectl is installed in start script 2015-11-18 09:28:05 -08:00
gmarek
98633316a5 Print an external IP for Nodes in a density test for easier log lookup 2015-11-18 16:48:39 +01:00
gmarek
9ca196dd75 Log an error instantly in expectNoError 2015-11-18 14:51:04 +01:00
Prashanth Balasubramanian
4f3e007581 Fix port typo, fix tests 2015-11-17 18:13:36 -08:00
k8s-merge-robot
01656fd9a2 Merge pull request #15950 from sdminonne/mt_loop_initial_content
Auto commit by PR queue bot
2015-11-17 17:43:24 -08:00
Madhusudan.C.S
706d768e20 Implement e2e test for node out of disk condition.
The ability to SSH into individual nodes, described by api.Node, and running
commands on them appears to be useful for other e2e tests too. So, move
issueSSHCommand utility function to e2e util file.

Also, modify waitForNodeToBe e2e util function to take any node condition. The
current implementation only takes api.NodeReady condition into consideration.
This change makes the function take any node condition.
2015-11-17 13:19:32 -08:00
Dr. Stefan Schimanski
2d6c2eb897 e2e: replace ssh with net=host hostexec pod and kubectl exec
- document needed packages in hostexec image
- add RunHostCmdOrDie
- kube-proxy e2e: port from ssh to hostexec
  - use preset NodeName to schedule test pods to different nodes
  - parallel launch of pods
  - port from ssh to hostexec
  - add timeout because nc might block on udp
  - delete test container without grace period
- PrivilegedPod e2e: port from ssh to hostexec
- NodePort e2e: port from ssh to hostexec
- cluster/mesos/docker: Enable privileged pods
2015-11-17 20:48:34 +01:00
k8s-merge-robot
3ec4a559f8 Merge pull request #17373 from wojtek-t/adjust_api_call_limits
Auto commit by PR queue bot
2015-11-17 05:51:55 -08:00
k8s-merge-robot
7ad8bb1787 Merge pull request #17161 from soltysh/strip_reaper
Auto commit by PR queue bot
2015-11-17 05:45:35 -08:00
Wojciech Tyczynski
7f129e94a6 Adjust latency limits for large clusters 2015-11-17 14:01:46 +01:00
k8s-merge-robot
9ae9eb6e85 Merge pull request #16984 from brendandburns/e2e4
Auto commit by PR queue bot
2015-11-17 04:37:30 -08:00
k8s-merge-robot
cae1f4095a Merge pull request #17367 from piosz/deployment-e2e
Auto commit by PR queue bot
2015-11-17 03:10:02 -08:00
Maciej Szulik
64f778804d Remove string from Reaper.Stop signature 2015-11-17 12:09:08 +01:00
Piotr Szczesniak
d246e7833b Enabled HPA for deployment e2e 2015-11-17 11:40:43 +01:00
k8s-merge-robot
c5da63f5e0 Merge pull request #16979 from bprashanth/IngressE2E
Auto commit by PR queue bot
2015-11-17 02:30:20 -08:00
k8s-merge-robot
0c9bc3215d Merge pull request #14469 from thockin/intstr
Auto commit by PR queue bot
2015-11-16 23:20:37 -08:00
Prashanth Balasubramanian
eb4106fe29 Refactor debug logging methods. 2015-11-16 18:57:59 -08:00
Prashanth Balasubramanian
8b35455664 Dump kubectl logs of Ingress controller at on e2e failure 2015-11-16 15:16:02 -08:00
Brendan Burns
ed91d5564b Refactor the reboot test to print accurate information about node failures
As well as events from the kube-system namespace
2015-11-16 14:59:30 -08:00
k8s-merge-robot
a999c0fbe4 Merge pull request #13943 from mesosphere/static-pods
Auto commit by PR queue bot
2015-11-16 13:53:23 -08:00
Tim Hockin
ba383bcfeb Refactor IntOrString into a new pkg
pkg/util/intstr is a cleaner encapsulation for this type and supporting
functions.  No behavioral change.
2015-11-16 10:57:52 -08:00
k8s-merge-robot
7fa85d430b Merge pull request #16614 from pmorie/ro-managed
Auto commit by PR queue bot
2015-11-16 10:46:44 -08:00
k8s-merge-robot
ebe5649939 Merge pull request #16824 from mattmoor/master
Auto commit by PR queue bot
2015-11-16 09:12:35 -08:00
k8s-merge-robot
89d7309c88 Merge pull request #16256 from mikedanese/daemon-gls
Auto commit by PR queue bot
2015-11-16 07:59:28 -08:00
Salvatore Dario Minonne
e2c315ee99 modifying readFileContentInLoop to display iteratively file content and eventually check initial content 2015-11-14 22:52:34 +01:00
Matt Moore
b750d1dddc Drop the beta for GCR v2 images.
beta.gcr.io is no longer needed to pull through v2.
2015-11-14 12:19:02 -08:00
Paul Morie
911757486d Refactor volume.Builder.IsReadOnly() to volume.Builder.GetAttributes() 2015-11-13 23:34:48 -05:00
James DeFelice
3d3577b9f3 rewrite of static pod json zipper
- add busybox static pod to mesos-docker cluster
- customize static pods with binding annotations
- code cleanup
- removed hacky podtask.And func; support minimal resources for static pods when resource accounting is disabled
- removed zip archive of static pods, changed to gzip of PodList json
- pod utilities moved to package podutil
- added e2e test
- merge watched mirror pods into the mesos pod config stream
2015-11-13 23:30:26 +00:00
k8s-merge-robot
5d80d6efec Merge pull request #17043 from brendandburns/e2e5
Auto commit by PR queue bot
2015-11-13 12:00:34 -08:00
Martin Nagy
3be66187b7 Remove unused variable 2015-11-13 20:31:51 +01:00
Mike Danese
7a7f31ead1 move daemonset to generalized label selector 2015-11-13 10:31:50 -08:00
Martin Nagy
dd25a6bda9 Use Logf instead of Printf in e2e 2015-11-13 13:06:36 +01:00
k8s-merge-robot
6649c43bf8 Merge pull request #17049 from wojtek-t/cleanup_tools
Auto commit by PR queue bot
2015-11-12 21:57:23 -08:00
k8s-merge-robot
54e6db0896 Merge pull request #16814 from brendandburns/e2e3
Auto commit by PR queue bot
2015-11-12 14:38:18 -08:00
k8s-merge-robot
927f30b0a5 Merge pull request #17074 from krousey/timeout
Auto commit by PR queue bot
2015-11-12 11:20:34 -08:00
markturansky
b9b8cf7fff Fixed race condition in pv binder 2015-11-12 13:55:09 -05:00
Wojciech Tyczynski
3df5d1dbc3 Move storage-related dirs under pkg/storage. 2015-11-12 19:49:32 +01:00
Brendan Burns
b76fef7d48 Log node info on test failures 2015-11-11 22:07:39 -08:00
Brendan Burns
d538ad69c5 Add kube-system removal to the resize nodes test 2015-11-11 21:44:40 -08:00
Dr. Stefan Schimanski
862143fc62 Add hostexec test image 2015-11-11 22:48:56 +01:00
Kris
4a4d195419 Exposing http.Client for configurable timeouts 2015-11-10 13:40:51 -08:00
k8s-merge-robot
efa590727a Merge pull request #17031 from xelalexv/issue16425
Auto commit by PR queue bot
2015-11-10 05:29:15 -08:00
vollschwitz
ac9484b869 prevent consumecpu/mem from becoming zombies by calling run instead of start 2015-11-10 08:04:26 +01:00
k8s-merge-robot
a0ef44b712 Merge pull request #16676 from jbeda/e2e-fixes
Auto commit by PR queue bot
2015-11-09 20:05:12 -08:00
k8s-merge-robot
a436da79fb Merge pull request #17002 from feihujiang/removeUseOfLegacyPodsProxyPath
Auto commit by PR queue bot
2015-11-09 17:13:40 -08:00
k8s-merge-robot
5eede767f3 Merge pull request #17008 from wojtek-t/fix_kubemark
Auto commit by PR queue bot
2015-11-09 03:25:48 -08:00
k8s-merge-robot
e5b838e92a Merge pull request #16587 from xelalexv/issue15474
Auto commit by PR queue bot
2015-11-09 03:19:27 -08:00
k8s-merge-robot
e49f0de95b Merge pull request #14256 from linzichang/fixup-guestbook
Auto commit by PR queue bot
2015-11-09 02:47:24 -08:00
Wojciech Tyczynski
5e9fe7abff Fix Kubemark tests by not gathering resource usage data 2015-11-09 11:45:07 +01:00
feihujiang
ceeac16dc4 Remove use of legacy pods proxy path 2015-11-09 15:23:48 +08:00
k8s-merge-robot
d71a667aab Merge pull request #16821 from caesarxuchao/restclient-timeout
Auto commit by PR queue bot
2015-11-07 03:11:26 -08:00
Zichang Lin
2afda9f2c1 Update guestbook example according to config best practices 2015-11-07 14:39:32 +08:00
Tim St. Clair
1e88a682da Add liveness/readiness probe parameters
- PeriodSeconds - How often to probe
- SuccessThreshold - Number of successful probes to go from failure to success state
- FailureThreshold - Number of failing probes to go from success to failure state

This commit includes to changes in behavior:

1. InitialDelaySeconds now defaults to 10 seconds, rather than the
kubelet sync interval (although that also defaults to 10 seconds).
2. Prober only retries on probe error, not failure. To compensate, the
default FailureThreshold is set to the maxRetries, 3.
2015-11-06 10:46:40 -08:00
Alexander Vollschwitz
108cb4121d added RunDeployment to allow horizontal pod autoscaling e2e tests to use deployments
added deployment-based e2e tests for horizontal pod autoscaling
adjusted to changes from PR #16330
changed test titles according to PR comments & to merge change from PR #16895
2015-11-06 15:24:59 +01:00
k8s-merge-robot
0b183f43fd Merge pull request #16574 from hurf/stop_doc
Auto commit by PR queue bot
2015-11-05 19:43:21 -08:00
Jeff Lowdermilk
721eb6e7be Run hpa, GCE L7 tests in gce-disruptive-1.1 2015-11-05 17:44:44 -08:00
k8s-merge-robot
1831a057f1 Merge pull request #16694 from jbeda/update-etcd
Auto commit by PR queue bot
2015-11-05 03:27:26 -08:00
k8s-merge-robot
db9d4d4de2 Merge pull request #13644 from jsafrane/devel/cinder-test
Auto commit by PR queue bot
2015-11-05 02:19:21 -08:00
k8s-merge-robot
4b5c39df68 Merge pull request #16746 from jlowdermilk/gke-job-e2e
Auto commit by PR queue bot
2015-11-04 21:25:28 -08:00
k8s-merge-robot
f204283359 Merge pull request #16738 from pmorie/fix-emptydir-e2e
Auto commit by PR queue bot
2015-11-04 20:53:26 -08:00
Chao Xu
ac0b7b5d3b remove RESTClient.Timeout 2015-11-04 16:48:24 -08:00
k8s-merge-robot
ca332a394c Merge pull request #16048 from bprashanth/IngressE2E
Auto commit by PR queue bot
2015-11-04 16:25:41 -08:00
Phillip Wittrock
1d04c53fc4 Merge pull request #16766 from saad-ali/fixPDTestLongTimeout
Increase pod timeout for PD tests
2015-11-04 16:07:52 -08:00
Brendan Burns
aa1ccd0204 Merge pull request #16801 from brendandburns/e2e2
Check some errors that we were letting slip silently by.
2015-11-04 14:47:00 -08:00
Joe Beda
993c1ee222 Update etcd to 2.2.1 2015-11-04 12:26:57 -08:00
Brendan Burns
d2fec95dda Check some errors that we were letting slip silently by. 2015-11-04 11:18:35 -08:00
Jeff Lowdermilk
9ca75257bc Enable job e2e tests for GKE
will need cherrypick onto 1.1
2015-11-03 16:54:51 -08:00
saadali
45ba3ed47b Increase pod timeout for PD tests 2015-11-03 15:57:37 -08:00
Paul Morie
112f1d848b Update image versions in emptyDir e2e 2015-11-03 13:01:51 -05:00
deads2k
fd1c8e096a eliminate cross-namespace HPA escalation attack 2015-11-03 08:05:26 -05:00
Wojciech Tyczynski
d22592b1f8 Fix panics in Density test 2015-11-03 09:04:54 +01:00
k8s-merge-robot
990c0184be Merge pull request #16330 from mikedanese/deploy-ptr
Auto commit by PR queue bot
2015-11-02 20:41:34 -08:00
Joe Beda
89872777b8 Make e2e/kubectl.go look more places for kubectl binary. 2015-11-02 14:42:52 -08:00
Prashanth Balasubramanian
3943c5afe2 Ingress e2e 2015-11-02 14:05:29 -08:00
Prashanth Balasubramanian
84e9277bcc Test image 2015-11-02 12:35:27 -08:00
Joe Beda
32eafc3c1f Fix up labels on pods so that waitForRCPodsRunning works. 2015-11-02 10:16:45 -08:00
gmarek
cfe391d4ee Add resource monitoring of kube-system pods 2015-11-02 13:35:50 +01:00
Piotr Szczesniak
fcbf1c1012 Merge pull request #16520 from gmarek/fix-kubemark
Don't delete namespace after kubemark tests, as cluster will be torn …
2015-11-02 10:13:37 +01:00
Wojciech Tyczynski
aac55d4795 Unify List() signature in clients 2015-10-30 15:43:40 +01:00
Jan Safranek
b0ab8a27cb Add additional logs on failed cleanup. 2015-10-30 13:28:49 +01:00
Wojciech Tyczynski
4c0e6b160a Merge pull request #16339 from samsabed/backoff-e2e-no-exponential
remove back-off exponential test and adjust timing
2015-10-30 10:40:35 +01:00
hurf
ce35bb4208 Remove trace of "kubectl stop"
Remove doc and use of "kubectl stop" since it's deprecated.
2015-10-30 14:12:20 +08:00
hurf
29a0fe9032 Display controllers along with type when describing a pod
There're more controllers than replication controller, the patch
displays annotation item with key "kuberntetes.io/created-by" in
the form of "Controllers: type/name".
2015-10-30 11:16:46 +08:00
k8s-merge-robot
4c3ac326fa Merge pull request #16295 from ashcrow/standardize-image-makefiles
Auto commit by PR queue bot
2015-10-29 13:33:33 -07:00
gmarek
ce3317cb9f Don't delete namespace after kubemark tests, as cluster will be torn down either way 2015-10-29 18:53:56 +01:00
k8s-merge-robot
c691f66b79 Merge pull request #16473 from mesosphere/sttts-fix-panics-in-runKubectlWithTimeout
Auto commit by PR queue bot
2015-10-29 10:53:19 -07:00
Steve Milner
70e4693428 Standardized test image Makefile targets 2015-10-29 10:12:05 -04:00
k8s-merge-robot
f2208a9855 Merge pull request #16269 from gmarek/delete-namespace
Auto commit by PR queue bot
2015-10-29 02:34:31 -07:00
k8s-merge-robot
1b96e92ccc Merge pull request #16428 from wojtek-t/fix_latency_test
Auto commit by PR queue bot
2015-10-29 01:21:04 -07:00
k8s-merge-robot
63af7c227e Merge pull request #16069 from zmerlynn/nfs-1.1
Auto commit by PR queue bot
2015-10-28 22:39:09 -07:00
Sam Abed
d05a433956 remove back-off exponential test and adjust timing
Signed-off-by: Sam Abed <samsabed@gmail.com>
2015-10-29 15:47:01 +11:00
k8s-merge-robot
e4924a4d36 Merge pull request #16382 from aveshagarwal/master-e2e-prestop
Auto commit by PR queue bot
2015-10-28 21:36:35 -07:00
k8s-merge-robot
c8a1783724 Merge pull request #15323 from swagiaal/pod-volume-selinux
Auto commit by PR queue bot
2015-10-28 19:17:32 -07:00
Dr. Stefan Schimanski
e755988d59 Defer GinkgoRecover call in runKubectlWithTimeout to handle panic 2015-10-28 19:20:48 -05:00
k8s-merge-robot
56e5123744 Merge pull request #16360 from gmarek/framework
Auto commit by PR queue bot
2015-10-28 12:26:15 -07:00
Wojciech Tyczynski
c053ef2a31 Fix computing of percentiles in Density test 2015-10-28 15:45:16 +01:00
Sami Wagiaalla
1d352a16b8 Support volume relabling for pods which specify an SELinux label 2015-10-28 09:26:58 -04:00
Mike Danese
b0a41108af move deployment PodTemplate to be not a pointer 2015-10-28 00:13:40 -07:00
k8s-merge-robot
70049d10d8 Merge pull request #15697 from piosz/autoscaling-e2e-fix
Auto commit by PR queue bot
2015-10-27 18:53:40 -07:00
k8s-merge-robot
ec9b493647 Merge pull request #14639 from gmarek/hollow-proxy
Auto commit by PR queue bot
2015-10-27 18:22:38 -07:00
Zach Loafman
b71bc4e480 Fix volumes/test/nfs: Needs to run insecure to allow container connections
Since this is a container service port anyways, "insecure" is a bit of
a red herring. There's no real security relevance to the incoming port
numbers for the NFS server pod.

This lets us get rid of the examples/nfs/exporter Docker build
(@jsafrane's personal image).
2015-10-27 16:58:04 -07:00
Daniel Smith
19c1064293 Merge pull request #16099 from jsafrane/devel/move-ceph-image
Move CephFS test container to test/images.
2015-10-27 15:47:16 -07:00
Daniel Smith
e1901bf891 Merge pull request #16196 from erictune/job-e2e-fix
Fix e2e test flakes.
2015-10-27 15:04:57 -07:00
Avesh Agarwal
c3dfd30e51 Fixes incorrect output. 2015-10-27 14:58:19 -04:00
gmarek
5a4e4d4d57 Add a HollowProxy to the HollowNode. 2015-10-27 18:23:29 +01:00
Piotr Szczesniak
77d9ce230c Fixed flakiness in cluster size autoscaling e2e 2015-10-27 16:36:33 +01:00
gmarek
82272989b7 Revert "Merge pull request #16358 from kubernetes/revert-16084-improve_e2e"
This reverts commit 465c5b0791, reversing
changes made to 154923221f.
2015-10-27 14:08:23 +01:00
Jerzy Szczepkowski
42d236fe59 Revert "All e2e tests should use NewFramework" 2015-10-27 13:14:57 +01:00
Jerzy Szczepkowski
5ef087adab Merge pull request #16266 from wojtek-t/fix_handshake_reflector
Reuse TCP connections in Reflector between resync periods.
2015-10-27 10:36:18 +01:00
Piotr Szczesniak
aef0059621 Revert "Revert "Improved HPA e2e to test stability of the scale decision"" 2015-10-27 09:44:05 +01:00
gmarek
e638a415d4 Port remaining e2e tests to framework 2015-10-27 09:24:32 +01:00
gmarek
0150d87a73 Add an option to not delete a namespace after e2e test 2015-10-27 09:23:50 +01:00
k8s-merge-robot
2d29d266e7 Merge pull request #16084 from smarterclayton/improve_e2e
Auto commit by PR queue bot
2015-10-27 01:09:23 -07:00
Eric Tune
c2f6768cbc Fix. 2015-10-26 16:36:01 -07:00
Clayton Coleman
a50fbd6636 All e2e tests should use NewFramework
Allows someone to replace createTestingNS consistently
2015-10-26 19:13:09 -04:00
Eric Tune
40a33dcc7e Fix e2e test flakes.
Makes number of failures per pod fixed at 1, for the RestartOnFailure
case, which prevents Kubelet restart backoff, which causes test timeout.
For RestartNever tests, it keeps using the random success/failure.

Fixes #15389.
Renables previously flaky e2e.
2015-10-26 12:02:04 -07:00
Wojciech Tyczynski
d47e21f19f Reuse TCP connections in Reflector between resync periods. 2015-10-26 19:35:25 +01:00
Piotr Szczesniak
16682ca924 Revert "Improved HPA e2e to test stability of the scale decision" 2015-10-26 15:23:24 +01:00
Piotr Szczesniak
c389897017 Merge pull request #16156 from piosz/hpa-test
Improved HPA e2e to test stability of the scale decision
2015-10-26 10:10:12 +01:00
k8s-merge-robot
c160d919f5 Merge pull request #16210 from erictune/indent-grace
Auto commit by PR queue bot
2015-10-24 18:43:37 -07:00
k8s-merge-robot
0e1ee14cc8 Merge pull request #15705 from wojtek-t/watch_options_in_client
Auto commit by PR queue bot
2015-10-24 17:39:20 -07:00
Abhi Shah
edf5099336 Merge pull request #15947 from justinsb/aws_daemon_restart
e2e: Add aws provider to daemon_restart test
2015-10-24 16:13:12 -07:00
Wojciech Tyczynski
f4d75e0a0a Support timeout in watch requests 2015-10-24 13:12:49 +02:00
k8s-merge-robot
e1559e9fb5 Merge pull request #15352 from pmorie/fsgroup
Auto commit by PR queue bot
2015-10-24 01:55:45 -07:00
k8s-merge-robot
570a9dc18f Merge pull request #15796 from caesarxuchao/fix-kubectl-api-versions
Auto commit by PR queue bot
2015-10-24 01:24:31 -07:00
Eric Tune
eaf8dbcb00 Indent "GRACE" column in pod dump of test output 2015-10-23 13:36:20 -07:00
Saad Ali
722c86aa50 Merge pull request #15948 from gmarek/fix-test
Add handling of old non-capitalized event reason to scheduler-predicates test
2015-10-23 12:06:14 -07:00
Piotr Szczesniak
d7a3b064dd Improved HPA e2e to test stability of the scale decision 2015-10-23 14:54:12 +02:00
Filip Grzadkowski
165169ab1c Merge pull request #16052 from ArtfulCoder/mount_etc_hosts
kubelet manages /etc/hosts file
2015-10-23 14:07:34 +02:00
k8s-merge-robot
c3d92de705 Merge pull request #15875 from ashcrow/release-tar-fix-for-15713-15787
Auto commit by PR queue bot
2015-10-22 23:23:33 -07:00
Paul Morie
3cd12f5e05 FSGroup implementation 2015-10-22 16:40:59 -04:00
Abhishek Shah
ba6469d478 kubelet manages /etc/hosts file 2015-10-22 13:27:05 -07:00
Chao Xu
eb3a80156a let kubectl api-versions use the discovery client 2015-10-22 10:19:34 -07:00
Jan Safranek
e0e482e4c8 Move CephFS test container to test/images. 2015-10-22 15:20:20 +02:00
Filip Grzadkowski
295d28e101 Merge pull request #15986 from yujuhong/mem_inuse
e2e: change resource monitor to log memory working set
2015-10-22 14:49:18 +02:00
gmarek
bae456cb9d Add handling of old non-capitalized event reason to scheduler-predicates test 2015-10-22 12:08:30 +02:00
Paul Morie
393e2bc019 Inline some SecurityContext fields into PodSecurityContext 2015-10-21 19:01:17 -04:00
k8s-merge-robot
e9dc7306cc Merge pull request #16008 from ixdy/e2e
Auto commit by PR queue bot
2015-10-21 05:45:32 -07:00
k8s-merge-robot
e4294ff5cc Merge pull request #14991 from swagiaal/supplemental-groups
Auto commit by PR queue bot
2015-10-21 04:25:42 -07:00
Marek Grabowski
9a6e988b48 Merge pull request #15628 from gmarek/kubemark-performance
Run etcd for events on separate machine in Kubemark
2015-10-21 11:33:37 +02:00
Jeff Grafton
1ec0b09205 Ensure framework.afterEach is called to clean up resources 2015-10-20 21:33:27 -07:00
k8s-merge-robot
360d0e0a7e Merge pull request #15843 from wojtek-t/tweak_performance_limits
Auto commit by PR queue bot
2015-10-20 18:44:44 -07:00
k8s-merge-robot
280c38daae Merge pull request #15764 from mqliang/importAlias
Auto commit by PR queue bot
2015-10-20 17:14:29 -07:00
Yu-Ju Hong
4a9ab92cdb e2e: change resource monitor to log memory working set
This is more representative than memory usage.
2015-10-20 15:54:43 -07:00
k8s-merge-robot
d453976e8a Merge pull request #15918 from justinsb/fix_typos
Auto commit by PR queue bot
2015-10-20 13:37:14 -07:00
Jeff Lowdermilk
685c09fda0 Merge pull request #15896 from pmorie/mount-test-owner
Add ownership inspection to mount tester image
2015-10-20 11:53:56 -07:00
Sami Wagiaalla
030f882f06 Add Support for supplemental groups 2015-10-20 12:44:32 -04:00
gmarek
3158741603 Run etcd for events on separate machine in Kubemark 2015-10-20 17:46:23 +02:00
Justin Santa Barbara
0a4bb324e0 e2e: Add aws provider to daemon_restart test 2015-10-20 09:02:02 -04:00
Steve Milner
8da2d4002f Fixes remaining imports per #15319 2015-10-20 07:13:13 -04:00
Steve Milner
95f48f2591 e2e: kubectl HTTP fix for #15713 and #15787.
This reverts commit 54c899370e, reversing
changes made to 0338e0ef53 and adds a fix
proposed in #15848.
2015-10-20 07:07:57 -04:00