Commit Graph

1643 Commits (4ef062c22f946bc0502d00cf497dde17f1998c9f)

Author SHA1 Message Date
Marek Grabowski 2cbb37a083 Merge pull request #15572 from nikhiljindal/deploymentFlake
Deployment e2e flake: Wait for events to be generated before verifying them
2015-10-15 09:30:14 +02:00
Piotr Szczesniak e67be99995 Disabled flaky Initial Resources e2e test 2015-10-14 20:47:07 +02:00
Isaac Hollander McCreery 60c316b54a Upgrades and upgrade tests take versions of the form release/stable instead of stable_release:
- Refactor common and gce/upgrade.sh to use arbitrary published releases
- Update hack/get-build to use cluster/common code
- Use hack/get-build.sh in cluster upgrade test logic
2015-10-14 10:16:21 -07:00
k8s-merge-robot 6a4b76f34c Merge pull request #15623 from wojtek-t/always_delete_namespace
Auto commit by PR queue bot
2015-10-14 08:35:24 -07:00
Steve Milner 57fc4bfa56 build: test/images in test tar and a static kubectl
* release tar now includes test/images/*
* kubectl is now built as a static binary in the test
2015-10-14 09:42:04 -04:00
k8s-merge-robot a5fc5fd0c4 Merge pull request #15538 from wojtek-t/unify_clients
Auto commit by PR queue bot
2015-10-14 06:20:37 -07:00
Wojciech Tyczynski a322a601aa Delete namespace in case of scalability failures 2015-10-14 15:18:39 +02:00
Marek Grabowski 4264aac1e9 Merge pull request #15610 from piosz/enable-ir-e2e
Fixed Initial Resources e2e test to not depend on other tests
2015-10-14 11:43:30 +02:00
Maciej Szulik 98fa29adfd Make PodTemplateSpec for Job not a pointer, since it's a required field 2015-10-14 11:37:11 +02:00
Piotr Szczesniak ebac6de547 Fixed Initial Resources e2e test to not depend on other tests 2015-10-14 11:11:03 +02:00
Dawn Chen e86d5c9e7d Revert "Networking test rework to support modular, layered service soak" 2015-10-14 00:03:39 -07:00
Wojciech Tyczynski 647aa1bc8c Unify per-resource List for unversioned client 2015-10-14 08:37:57 +02:00
k8s-merge-robot 3e3833b0db Merge pull request #9052 from jayunit100/network-service-soak
Auto commit by PR queue bot
2015-10-13 18:38:12 -07:00
Dawn Chen 0e0ae670ad Merge pull request #15488 from caesarxuchao/experimental-extensions-client
Move from "Experimental" to "Extensions"
2015-10-13 16:54:37 -07:00
k8s-merge-robot 3753c98783 Merge pull request #15569 from ncdc/pod-ip-downward-api
Auto commit by PR queue bot
2015-10-13 16:08:21 -07:00
nikhiljindal 9ba4a3c4d0 Wait for events to be generated before verifying them 2015-10-13 14:59:35 -07:00
k8s-merge-robot 13859da2af Merge pull request #15553 from dchen1107/fix
Auto commit by PR queue bot
2015-10-13 14:38:25 -07:00
Andy Goldstein 7d02ea9bb7 Fix race condition for consuming podIP via downward API. 2015-10-13 16:39:11 -04:00
Chao Xu 493d2b6920 grep sed Experimental() 2015-10-13 13:22:54 -07:00
k8s-merge-robot f6bed84af7 Merge pull request #15252 from brendandburns/flakes3
Auto commit by PR queue bot
2015-10-13 09:53:13 -07:00
Dawn Chen eb58db2772 Fix daemon_restart with right pause image 2015-10-13 09:50:36 -07:00
Dawn Chen edd56cc00e Using right pause image in container_probe test 2015-10-13 09:50:36 -07:00
k8s-merge-robot e929977ff3 Merge pull request #15541 from wojtek-t/extend_logging_for_scalability
Auto commit by PR queue bot
2015-10-13 07:33:12 -07:00
Marcin Wielgus d5246a74f6 Merge pull request #15536 from gmarek/fix-jenkins
Wait until all pods are running before starting tests
2015-10-13 13:49:41 +02:00
Wojciech Tyczynski f837b6166d Extend logging for #15540 2015-10-13 13:38:08 +02:00
gmarek 71fbef2e2d Wait until all pods are running before starting tests 2015-10-13 13:00:14 +02:00
k8s-merge-robot 2dec0826f7 Merge pull request #15351 from caesarxuchao/fix-14584-1
Auto commit by PR queue bot
2015-10-13 02:19:43 -07:00
k8s-merge-robot b0d5738936 Merge pull request #15513 from aledbf/fix-serviceloadbalancer-tests
Auto commit by PR queue bot
2015-10-13 01:27:53 -07:00
k8s-merge-robot 866d7d4fb9 Merge pull request #15505 from dchen1107/fix
Auto commit by PR queue bot
2015-10-12 22:21:13 -07:00
Manuel de Brito Fontes 6ee3fc8297 Fix service-loadbalancer e2e tests 2015-10-12 21:25:43 -03:00
Dawn Chen 180eb70100 Merge pull request #15485 from piosz/enable-ir-e2e
Disabled Initial Resources e2e
2015-10-12 15:50:12 -07:00
Dawn Chen c61dd84506 Using pause image for testing. 2015-10-12 15:14:59 -07:00
Brendan Burns 5d67b1525f Add some retry to static ip creation 2015-10-12 14:43:02 -07:00
Chao Xu cbb3deb182 run goimports 2015-10-12 13:31:45 -07:00
Chao Xu 50a2c4c643 grep-sed 2015-10-12 13:31:45 -07:00
Piotr Szczesniak 60d0c756b0 Disabled Initial Resources e2e 2015-10-12 20:18:40 +02:00
jayvyas e8cd5ef844 E2E tests: Parallel service soak functionality for networking.go 2015-10-12 11:41:10 -04:00
Jordan Liggitt 1043126135 Refactor SSH tunneling, fix proxy transport TLS/Dial extraction 2015-10-12 11:17:01 -04:00
Jordan Liggitt 826459e51e Allow specifying scheme when proxying 2015-10-12 11:16:53 -04:00
k8s-merge-robot 0737e108e3 Merge pull request #8145 from jayunit100/e2e-k8bps
Auto commit by PR queue bot
2015-10-12 08:05:35 -07:00
Piotr Szczesniak 35cf8cc76c Enabled InitialResources e2e in autoscaling suite 2015-10-12 11:30:47 +02:00
Dr. Stefan Schimanski f1b6158a6d Let port forwarding e2e tests timeout on kubectl calls 2015-10-11 12:58:56 +02:00
k8s-merge-robot 71e9565815 Merge pull request #15163 from thockin/gcloud-preview
Auto commit by PR queue bot
2015-10-10 12:04:55 -07:00
k8s-merge-robot 8580804f77 Merge pull request #15138 from mattmoor/limited-beta-rewrite
Auto commit by PR queue bot
2015-10-10 11:41:34 -07:00
k8s-merge-robot 02ec1fb33c Merge pull request #13885 from smarterclayton/websocket_exec
Auto commit by PR queue bot
2015-10-10 09:52:01 -07:00
k8s-merge-robot fa557f6101 Merge pull request #15409 from caesarxuchao/extension/v1beta1
Auto commit by PR queue bot
2015-10-10 09:03:43 -07:00
eulerzgy 8b174f7f33 adjust package name for pkg/cloudprovider 2015-10-10 16:44:54 +08:00
Mike Danese b635fc53f9 Merge pull request #15228 from mesosphere/sttts-conformance-tags
Use [Conformance] to tag conformance tests
2015-10-09 18:03:56 -07:00
Chao Xu 7c9f4cc42f experimental. -> extensions. 2015-10-09 15:49:10 -07:00
Dr. Stefan Schimanski cb00df9b28 Tag conformance tests with a [Conformance] string in the description
- remove skip list from conformance-test.sh and filter by the new tag
- remove experimental api tests from conformance test suite
- remove all tests from conformance test suite which are either
  restricted to e.g. gce, gke, aws or require SSH
2015-10-09 23:14:43 +01:00
Chao Xu 67f316dd19 apis/experimental->apis/extensions 2015-10-09 15:04:41 -07:00
Brendan Burns e939c49823 Extend a timeout to reduce flakes. 2015-10-09 14:19:59 -07:00
Clayton Coleman 363b616908 Expose exec and logs via WebSockets
Not all clients and systems can support SPDY protocols. This commit adds
support for two new websocket protocols, one to handle streaming of pod
logs from a pod, and the other to allow exec to be tunneled over
websocket.

Browser support for chunked encoding is still poor, and web consoles
that wish to show pod logs may need to make compromises to display the
output. The /pods/<name>/log endpoint now supports websocket upgrade to
the 'binary.k8s.io' subprotocol, which sends chunks of logs as binary to
the client. Messages are written as logs are streamed from the container
daemon, so flushing should be unaffected.

Browser support for raw communication over SDPY is not possible, and
some languages lack libraries for it and HTTP/2. The Kubelet supports
upgrade to WebSocket instead of SPDY, and will multiplex STDOUT/IN/ERR
over websockets by prepending each binary message with a single byte
representing the channel (0 for IN, 1 for OUT, and 2 for ERR). Because
framing on WebSockets suffers from head-of-line blocking, clients and
other server code should ensure that no particular stream blocks. An
alternative subprotocol 'base64.channel.k8s.io' base64 encodes the body
and uses '0'-'9' to represent the channel for ease of use in browsers.
2015-10-09 14:33:40 -04:00
Paul Morie 9f0bc75bf2 Extract latency test so it can be run separately from density E2E 2015-10-09 09:29:26 -04:00
Wojciech Tyczynski 2a62468fee Merge pull request #15364 from piosz/req-test
Enabled autoscaling (based on reservation) e2e tests
2015-10-09 12:28:34 +02:00
Piotr Szczesniak 1f15c30825 Enabled autoscaling (based on reservation) e2e tests 2015-10-09 11:43:58 +02:00
k8s-merge-robot a4ac5ef564 Merge pull request #14302 from timstclair/prometheus-update
Auto commit by PR queue bot
2015-10-09 02:35:09 -07:00
k8s-merge-robot bdec6db9be Merge pull request #14988 from bprashanth/IngressE2E
Auto commit by PR queue bot
2015-10-09 00:26:14 -07:00
k8s-merge-robot 86fdc3f85c Merge pull request #15240 from mikedanese/job-fix-1
Auto commit by PR queue bot
2015-10-08 16:58:06 -07:00
Robert Bailey 49d6c86eb7 Merge pull request #14621 from jackgr/kubectl_apply
Add the kubectl apply command
2015-10-08 12:44:32 -07:00
Tim Hockin b25069d084 Stop using `gcloud preview` - it is obsolete
Switch to supported APIs. Update docs.
2015-10-08 11:05:49 -07:00
Mike Danese 73f7242027 rename JobStatus.Unsuccessful => JobStatus.Failed, JobStatus.Successful => JobStatus.Succeeded 2015-10-08 10:41:22 -07:00
k8s-merge-robot 23b0cb3d0a Merge pull request #15249 from brendandburns/flakes
Auto commit by PR queue bot
2015-10-08 06:34:37 -07:00
k8s-merge-robot 0129dadc66 Merge pull request #15253 from brendandburns/flakes4
Auto commit by PR queue bot
2015-10-08 05:09:15 -07:00
Piotr Szczesniak 7324cd68d2 Merge pull request #15218 from jszczepkowski/hpa-e2e-fix
Increased memory limit for horizontal pod autoscaler e2e test.
2015-10-08 07:34:17 +02:00
jackgr 703a3e19aa Add the kubectl apply command. 2015-10-07 17:14:51 -07:00
Prashanth Balasubramanian 941963d953 Ingress E2E 2015-10-07 14:33:19 -07:00
Brendan Burns 4cd0997dbf Add some more debugging info so we can determine why this test is flaking 2015-10-07 13:08:47 -07:00
Brendan Burns c9c6c52ab4 improve reporting of which resources and which binaries went over limit 2015-10-07 11:59:24 -07:00
Filip Grzadkowski 6429c39a9e Merge pull request #15220 from kubernetes/revert-14876-proxy_https
Revert "Allow specifying scheme when proxying"
2015-10-07 13:04:24 +02:00
Marek Grabowski 1ea59513cb Merge pull request #15216 from gmarek/predicates
Change logging in scheduler_predicates e2e test
2015-10-07 13:03:56 +02:00
Filip Grzadkowski c0532a432a Revert "Allow specifying scheme when proxying" 2015-10-07 13:02:35 +02:00
Jerzy Szczepkowski 31bd5fda72 Increased memory limit for horizontal pod autoscaler e2e test.
Increased memory limit for horizontal pod autoscaler e2e test. Fixes #14667.
2015-10-07 12:16:35 +02:00
Piotr Szczesniak a8bd23542f Fixed flaky cluster size autoscaling e2e. 2015-10-07 11:22:28 +02:00
gmarek 3b11feda97 Change logging in scheduler_predicates e2e test 2015-10-07 11:10:48 +02:00
k8s-merge-robot 61b3fecb1a Merge pull request #14876 from liggitt/proxy_https
Auto commit by PR queue bot
2015-10-06 22:29:38 -07:00
Janet Kuo f4cb23975b Merge pull request #15044 from nikhiljindal/deploymentController
Enabling deployments on kubernernetes-upgrade-gce test suite
2015-10-06 18:11:00 -07:00
Abhi Shah 60b1abdaa5 Merge pull request #15178 from ArtfulCoder/stablekubeproxytest
increased number of tries to reduce test flakiness
2015-10-06 16:40:31 -07:00
Matt Moore eeb4eeb17c Move pause and fluentd-elasticsearch to GCR v2.
This scopes down the initially ambitious PR:
https://github.com/kubernetes/kubernetes/pull/14960 to replace just
`pause` and `fluentd-elasticsearch` to come through `beta.gcr.io`.

The v2 versions have been pushed under new tags, `pause:2.0` and
`fluentd-elastisearch:1.12`.

NOTE: `beta.gcr.io` will still serve images using v1 until they are repushed with v2.  Pulls through `gcr.io` will still work after pushing through `beta.gcr.io`, but will be served over v1 (via compat logic).
2015-10-06 16:39:07 -07:00
nikhiljindal c062afc6de Enabling deployments on kubernernetes-upgrade-gce test suite 2015-10-06 14:50:25 -07:00
k8s-merge-robot 82a1b0efda Merge pull request #15152 from mwielgus/exaples_err_check
Auto commit by PR queue bot
2015-10-06 14:15:02 -07:00
Abhishek Shah b49ee4385e increased number of tries to reduce test flakiness 2015-10-06 13:21:44 -07:00
Tim St. Clair 8d49c8e29a Update prometheus libraries to new versions. 2015-10-06 12:56:14 -07:00
Brendan Burns 7ba48583fa Merge pull request #15137 from brendandburns/flakes3
Add an environment variable override for AWS ssh keys
2015-10-06 10:43:45 -07:00
jayunit100 450c3345a3 K8PetStore E2E test, rebased and cleaned (10/5, 10/6) 2015-10-06 12:12:11 -04:00
Marek Grabowski 5ad2483784 Merge pull request #15145 from piosz/initial-e2e
Implemented e2e test for Initial Resources
2015-10-06 14:07:34 +02:00
Marcin Wielgus 555cc5e579 Error check for waitForEndoint in e2e examples tests 2015-10-06 13:16:20 +02:00
Piotr Szczesniak 8262774a76 Implemented e2e test for Initial Resources 2015-10-06 10:24:35 +02:00
gmarek 42c6d716a5 Check for number of scheduled, not running nodes in scheduler_predicates test 2015-10-06 10:24:12 +02:00
k8s-merge-robot 5ef529fa10 Merge pull request #15022 from quinton-hoole/2015-09-29-namespace-is-active-error
Auto commit by PR queue bot
2015-10-05 22:55:37 -07:00
Mike Danese 05ef8ed219 Merge pull request #15104 from mikedanese/ds-e2e
break up daemonset test into two small tests to isolate flakiness
2015-10-05 22:32:59 -07:00
Brendan Burns f7105ea30f Add an environment variable override for AWS ssh keys 2015-10-05 21:14:06 -07:00
Jordan Liggitt b9ba3bd7c2 Allow specifying scheme when proxying 2015-10-05 22:12:10 -04:00
Alex Robinson 68a28945fa Merge pull request #15105 from erictune/job-e2e-wait-more
Wait longer for job to complete
2015-10-05 17:00:03 -07:00
Mike Danese fe820fc4df break up daemonset test into two tests 2015-10-05 15:54:15 -07:00
Alex Robinson 4856c7c033 Merge pull request #14957 from thockin/services-e2e
Services e2e cleanup
2015-10-05 14:56:19 -07:00
Alex Robinson dfbbec03ed Merge pull request #14965 from bprashanth/podtracker
Record pod history in daemon restart e2e
2015-10-05 14:51:46 -07:00
Alex Robinson d8120f5425 Merge pull request #14221 from timstclair/readiness-workers
Refactor readiness probing
2015-10-05 13:26:54 -07:00
Steve Milner e5d64ea19b e2e: kubectl verification for HTTP proxying using netexec and goproxy. 2015-10-05 16:05:36 -04:00
Eric Tune 6ff6c7c731 Wait longer for job to complete
2 timeouts in last 30 e2e runs.
Tripling timeout.
Should normally not that that long.
Uses polling so will terminate early in normal case.
2015-10-05 12:55:24 -07:00
Tim Hockin ada74893bf Reduce timeouts in e2e tests by polling before sleeping 2015-10-05 12:49:46 -07:00
Tim Hockin 6421ae974d Flatten 3 load-balancer tests into 1 2015-10-05 12:49:46 -07:00
Tim Hockin a51ba71a65 Make Service e2e run a bit faster 2015-10-05 12:49:46 -07:00
Piotr Szczesniak f96a6ef753 Another try to fix flaky autoscaling test. 2015-10-05 21:03:17 +02:00
Alex Robinson 0aa5c16f38 Merge pull request #14646 from mesosphere/sttts-fix-kubeproxy-test
Fix e2e tests for providers without SSH to the nodes
2015-10-05 11:56:09 -07:00
Alex Robinson bcc154d7bd Merge pull request #15037 from quinton-hoole/2015-10-02-port-node-resize-e2e-to-framework
Port Node Resize e2e tests to e2e Framework
2015-10-05 11:19:09 -07:00
Alex Robinson f8c9301658 Merge pull request #15076 from jszczepkowski/hpa-e2e
Improved logging for horizontal pod autoscaler.
2015-10-05 09:57:13 -07:00
Marcin Wielgus 007a70d837 Merge pull request #14984 from mwielgus/spark_fix
Wait for at least 1 endpoint in E2E test for examples
2015-10-05 17:47:24 +02:00
Marcin Wielgus d5c40479f1 Wait for at least 1 endpoint in E2E test for examples 2015-10-05 16:47:52 +02:00
Jerzy Szczepkowski f8b18b0a4c Improved logging for horizontal pod autoscaler.
Improved logging for horizontal pod autoscaler. Disabled redundant e2e test.
2015-10-05 16:26:14 +02:00
Marcin Wielgus 2519ebe644 Disable 2 problematic e2e test for deamon for GKE 2015-10-05 11:55:08 +02:00
Dr. Stefan Schimanski 5ecc2629b7 Refactor kubeproxy tests to run with and without provider SSH support
All other e2e tests which use SSH are skipped for providers other than gce,
gke and aws. This patch does the same for the kube-proxy test.

If not SSH support is available for the provider, the test will still run,
but use less probes.
2015-10-04 10:58:17 +02:00
Dr. Stefan Schimanski 657db0a2b5 Add missing guards around SSH based e2e tests
All other e2e tests which use SSH are skipped for providers other than gce,
gke and aws. This patch does the same for

- "should release NodePorts on delete" in service.go
- "should test privileged pod" in privileged.go.
2015-10-04 10:58:17 +02:00
Dr. Stefan Schimanski a68e0848dc Factor out providers which support SSH in e2e tests 2015-10-04 10:58:17 +02:00
Brendan Burns 427a924983 Disable jobs tests in GKE 2015-10-02 21:11:04 -07:00
k8s-merge-robot b3348c329c Merge pull request #14560 from piosz/requests-test
Auto commit by PR queue bot
2015-10-02 18:48:25 -07:00
k8s-merge-robot c020159f9b Merge pull request #14788 from brendandburns/e2e4
Auto commit by PR queue bot
2015-10-02 17:40:22 -07:00
CJ Cullen 49e204cd1e Merge pull request #14566 from erictune/job-e2e
Job e2e
2015-10-02 16:59:14 -07:00
Quinton Hoole f303ad6fb2 Port Node Resize e2e tests to e2e Framework
Partially addresses #13503, #13574, #13828
2015-10-02 16:30:36 -07:00
Mike Danese fc36ac6c8e Merge pull request #14915 from mikedanese/retry-fast
make update period for Node not a multiple of 5 in DaemonSet e2e to avoid version conflict
2015-10-02 15:58:22 -07:00
Tim St. Clair 52ece0c34e Refactor readiness probing
Each container with a readiness has an individual go-routine which
handles periodic probing for that container. The results are cached, and
written to the status.Manager in the pod sync path.
2015-10-02 15:37:10 -07:00
k8s-merge-robot 2c81a664f2 Merge pull request #14827 from wojtek-t/export_metrics_for_dashboard
Auto commit by PR queue bot
2015-10-02 14:57:44 -07:00
Quinton Hoole d8f821de1a Port e2e/scheduler_predicates.go to e2e Framework.
Partially addresses #13503, #13574, #13828
2015-10-02 14:39:29 -07:00
k8s-merge-robot 7007481f00 Merge pull request #14917 from nikhiljindal/deploymentController
Auto commit by PR queue bot
2015-10-02 13:18:49 -07:00
Mike Danese c9574560cc make update period for Node not a multiple of 5 2015-10-02 09:59:30 -07:00
k8s-merge-robot 1bcdd56cf3 Merge pull request #12283 from ncdc/gh8766-port-forward-not-closing-correctly
Auto commit by PR queue bot
2015-10-02 04:48:12 -07:00
k8s-merge-robot 2eae864f26 Merge pull request #14348 from jiangyaoguo/fix-kubeproxy-e2e
Auto commit by PR queue bot
2015-10-02 04:20:01 -07:00
k8s-merge-robot ff85f0ba95 Merge pull request #14698 from yujuhong/gce_only
Auto commit by PR queue bot
2015-10-02 02:53:27 -07:00
Jerzy Szczepkowski 89859ff14c Merge pull request #14914 from fgrzadkowski/reject_drop_fix
Use REJECT instead of DROP when blocking node
2015-10-02 11:22:50 +02:00
Jerzy Szczepkowski c4c5a0f018 Merge pull request #14907 from fgrzadkowski/fix_e2e_cm
Don't check if all test namespaces are deleted
2015-10-02 11:20:30 +02:00
Wojciech Tyczynski 3ae276cc0b Print latency metrics in too-friendly way. 2015-10-02 11:03:56 +02:00
Prashanth Balasubramanian fc46de5e68 Record pod history in daemon restart e2e 2015-10-01 22:21:40 -07:00
nikhiljindal c6deb442f9 Adding events to deployment 2015-10-01 16:38:08 -07:00
k8s-merge-robot f579f8edc3 Merge pull request #14790 from yujuhong/restart_count
Auto commit by PR queue bot
2015-10-01 11:34:32 -07:00
Yu-Ju Hong 15cdc45b09 Split kubelet e2e resource usage tracking tests
Some tests in this test suite expects --max-pods (i.e. the maximum pod capacity
on kubelet) to be greater than default, which applies only to the GCE test
environment. Split the tests into two sets so that we can better categorize
the tests in the jenkins setup, without making the test itself aware of the
environment.
2015-10-01 11:09:06 -07:00
Yu-Ju Hong a512111c9d e2e: improve sleep time in kubelet resource usage tracking test 2015-10-01 11:08:38 -07:00
Filip Grzadkowski 330f12b660 Use REJECT instead of DROP when blocking node 2015-10-01 18:10:35 +02:00
Filip Grzadkowski 86a95c27a9 Don't check if all test namespaces are deleted 2015-10-01 16:42:45 +02:00
Jan Safranek 5678fa83d9 Add OpenStack Cinder E2E test.
The test follows the example of test/e2e/pd.go. It expects, that the machine
that runs the test has OpenStack client tools installed and also that the
usual OpenStack authentication env. variables are set [1]

The test creates a new volume, inserts index.html there and checks, that
another pod can read it. The volume is deleted afterwards.

The test is disabled by default and it must be explicitly enabled.

1: http://docs.openstack.org/cli-reference/content/cli_openrc.html
2015-10-01 13:55:25 +02:00
Jerzy Szczepkowski 64f0f70c94 Fixed flakiness of e2e tests for horizontal pod autoscaler.
Fixed flakiness of e2e tests for horizontal pod autoscaler. Enabled more tests.
2015-10-01 10:30:54 +02:00
Brendan Burns 95956d76ea Merge pull request #14839 from caesarxuchao/14084-fix
Ref #14084, Print output when error occurs in e2e test "in Services should be able to create a functioning external load balancer with user-provided load balancer ip"
2015-09-30 17:11:59 -07:00
Andy Goldstein ed021fed4c Port forwarding fixes
Correct port-forward data copying logic so that the server closes its
half of the data stream when socat exits, and the client closes its half
of the data stream when it finishes writing.

Modify the client to wait for both copies (client->server,
server->client) to finish before it unblocks.

Fix race condition in the Kubelet's handling of incoming port forward
streams. Have the client generate a connectionID header to be used to
associate the error and data streams for a single connection, instead of
assuming that streams n and n+1 go together. Attempt to generate a
pseudo connectionID in the server in the event the connectionID header
isn't present (older clients); this is a best-effort approach that only
really works with 1 connection at a time, whereas multiple concurrent
connections will only work reliably with a newer client that is
generating connectionID.
2015-09-30 20:03:49 -04:00
Chao Xu 998ac8a137 add more prints 2015-09-30 11:29:49 -07:00
Brendan Burns 08bd00d14b Merge pull request #14792 from saad-ali/fixIssue14787PdCleanup
E2E PD Test cleanup should be more robust on failure to prevent leaking PDs
2015-09-30 11:23:58 -07:00
Fabio Yeon 23759c8b29 Merge pull request #14784 from brendandburns/e2e3
Extend the timeout on initial validation of reboot tests.
2015-09-30 07:36:27 -07:00
jiangyaoguo 020f3b164c fix kubeproxy e2e 2015-09-30 20:47:35 +08:00
Piotr Szczesniak 1a47993f28 Merge pull request #14509 from mwielgus/spark-fix
E2E test - check pod.Status.Phase when greping through pod logs
2015-09-30 13:19:14 +02:00
Marek Grabowski 4c17ef673a Merge pull request #14719 from gmarek/resource_usage
Increase allowed memory usage for KubeProxy
2015-09-30 09:45:20 +02:00
David Oppenheimer f86b119242 Merge pull request #14550 from mesosphere/sttts-fix-daemonset-tests
Fix bugs in daemonset controller and e2e tests
2015-09-30 00:37:46 -07:00
saadali b1dda29acc E2E PD Test cleanup on failure should be more robust to prevent leaking PDs. 2015-09-29 18:33:30 -07:00
Eric Tune 3c43c8dfa0 Improve jobs e2e
Remove unnecessary yaml file.

Define 4 specific pod behaviors.
(sleeping for short periods is going to be flaky during automated
testing.  Also, sleep -1 still exits 0)

Don't wait for a certain number of active pods in tests
where the pods terminate after a finite time, since this is racy.

Changed some tests to use pods that run forever, and not wait
for completion.

Added tests with local restarts.

Convert the DeleteOptions to the correct api group.
2015-09-29 17:31:57 -07:00
Yu-Ju Hong 5177e82d3a e2e: restore the test for monotonically increasing restart count
The test was disabled because sometimes restart count could not reach the
target before timeout. This change lowers the target restart count, increases
the timeout threshold to 5 minutes, and adds the test to the SLOW suite.
Running the test in a local cluster takes ~1m40s to complete.
2015-09-29 17:22:12 -07:00
Brendan Burns 09337d1d1e Increase the pod ready timeout. We've seen problems in the reboot tests. 2015-09-29 17:10:46 -07:00
Brendan Burns edd46543bf Add --quiet to a bunch of gcloud usages to get rid of interactive prompts. 2015-09-29 16:56:36 -07:00
k8s-merge-robot c317020922 Merge pull request #14684 from mikedanese/fix-0
Auto commit by PR queue bot
2015-09-29 14:25:09 -07:00
Piotr Szczesniak 3a18af8ea8 Fixed flakiness in autoscaling e2e with no scheduling pods 2015-09-29 15:52:30 +02:00
Filip Grzadkowski 0f8adc5d53 Merge pull request #14699 from yujuhong/pods_ready
e2e: RunRC wait until all pods created by RC are ready
2015-09-29 13:54:52 +02:00
gmarek 3f2e697639 Increase allowed memory usage for KubeProxy 2015-09-29 10:47:55 +02:00
k8s-merge-robot c807bea089 Merge pull request #13857 from mesosphere/node-labels
Auto commit by PR queue bot
2015-09-28 22:10:51 -07:00
k8s-merge-robot 4645ad3cb0 Merge pull request #14594 from nikhiljindal/deploymentE2e
Auto commit by PR queue bot
2015-09-28 20:22:14 -07:00
k8s-merge-robot 095fec84e9 Merge pull request #14603 from yujuhong/e2e_slow
Auto commit by PR queue bot
2015-09-28 18:38:03 -07:00
Yu-Ju Hong 1307f081f2 e2e: RunRC wait until all pods created by RC are ready
kubelet sends up status updates to flip the ready condition of a pod after the
pod is already in the running state. RunRC should wait until the pod condition
is ready to make sure there is no pending status update which may affect the
follow-up performance test.
2015-09-28 17:35:01 -07:00
Mike Danese ea46e3dad7 reorder arguments on gce upgrade e2e tests gcloud call 2015-09-28 15:34:33 -07:00
Maciej Szulik 4bfa389c18 Jobs e2e tests 2015-09-28 11:44:11 -07:00
Dr. Stefan Schimanski 2d8b0049e1 Improve daemonset e2e test
- Don't mess with non-test node labels in daemonset e2e test

  Other e2e tests will expect labels on the nodes. The daemonset test should only
  add and remove its own labels.

- Refactor node updating in deamonset e2e test
2015-09-28 19:20:39 +02:00
Piotr Szczesniak 564fcfb4b3 Fixed panic in autoscaling e2e tests 2015-09-28 15:02:49 +02:00
Piotr Szczesniak 80d3e6eb5f Added debug logs to autoscaling_utils.go 2015-09-28 11:59:17 +02:00
Brendan Burns 4403a6a05e Disable kubelet_perf test in GKE 2015-09-26 20:06:40 -07:00
Dr. Stefan Schimanski 6f2a1742ab Add positive e2e test for NodeSelector 2015-09-26 09:46:56 +02:00
Dr. Stefan Schimanski 4d4ebe9f18 Add Mesos slave attributes as node labels
- pre-create node api objects from the scheduler when offers arrive
- decline offers until nodes a registered
- turn slave attributes as k8s.mesosphere.io/attribute-* labels
- update labels from executor Register/Reregister
- watch nodes in scheduler to make non-Mesos labels available for NodeSelector matching
- add unit tests for label predicate
- add e2e test to check that slave attributes really end up as node labels
2015-09-26 09:46:56 +02:00
Yu-Ju Hong d19329aa6b Add clarity and fix bugs for kubelet e2e test 2015-09-25 18:22:24 -07:00
nikhiljindal d61ed52799 Adding an e2e test for deployment 2015-09-25 17:14:31 -07:00
Brian Grant 10a7f2b1fa Merge pull request #14453 from yujuhong/kubelet_benchmark
Add a slow e2e test to monitor kubelet resource usage
2015-09-25 13:31:59 -07:00
Brian Grant 5f55b70976 Merge pull request #14450 from saad-ali/issue11391
Add new GCE PD E2E test to verify two PDs attached to one container
2015-09-25 13:31:30 -07:00
Piotr Szczesniak 67e5aca7f3 Enabled cluster autoscaling based on cpu/mem reservation e2e tests 2015-09-25 16:23:58 +02:00
Piotr Szczesniak ea27ecf9ff Small fixes in autoscaling e2e utils 2015-09-25 14:52:32 +02:00
Marcin Wielgus aab1cdfcfd Merge pull request #14546 from piosz/resource-consumer-fix
Another attempt to fix problem with not ready endpoints in autoscalin…
2015-09-25 12:06:41 +02:00
Piotr Szczesniak b2cc7d0ac0 Another attempt to fix problem with not ready endpoints in autoscaling e2e 2015-09-25 10:24:28 +02:00
Piotr Szczesniak dca306e210 Actually enabled Horizontal Pod Autoscaling tests 2015-09-25 07:11:46 +02:00
Eric Tune c340d664da Merge pull request #14046 from soltysh/job_controller_reaper_scaler
Reaper and scaler for jobs
2015-09-24 13:54:31 -07:00
Eric Tune ff1156d4c1 Merge pull request #13930 from ArtfulCoder/privileged
allow privileged pods
2015-09-24 13:42:31 -07:00
Marcin Wielgus 4634246391 E2E test - check pod.Status.Phase when greping through pod logs 2015-09-24 20:05:03 +02:00
Daniel Smith 76a37694f6 Revert "Temporary workaround of problem with not ready endpoints."
This reverts commit eb9cb8fbae.
2015-09-24 10:49:43 -07:00
Piotr Szczesniak eb9cb8fbae Temporary workaround of problem with not ready endpoints. 2015-09-24 14:57:21 +02:00
Jerzy Szczepkowski 4d44ab5703 Merge pull request #14486 from jszczepkowski/hpa-tune
E2E tests for horizontal pod autoscaler.
2015-09-24 14:51:41 +02:00
Jerzy Szczepkowski c8238c079a E2E tests for horizontal pod autoscaler.
Fixes & tuning in horiontal pod autoscaler and its e2e tests; two of the tests added to "Autoscaling suite".
2015-09-24 14:14:35 +02:00
Wojciech Tyczynski 3ab11970d8 Properly use framework in load test 2015-09-24 12:02:49 +02:00
gmarek 1459a1523f Add an option to modify timeout for namespace duration in e2e Framework 2015-09-24 10:32:34 +02:00
Yu-Ju Hong 0b8244505c Add a slow e2e test to monitor kubelet resource usage
This test tracks kubelet resource usage over a long period of time (1hr)
when running N pods (e.g., N=0,50), and prints out the resource usage. This
would give us an idea how much kubelet's management overhead is in a stable
cluster.

Some followup items:
 * Use a more realistic workload (e.g., including probing)
 * Fail the test if the resource usage is too high.

Caveat:
 * We assume the scheduler would do a decent job distributing the pause pods,
   but we should double check.
 * Cluster addon pods could be unevenly distributed and skews the resource
   usage on nodes.
2015-09-23 18:22:20 -07:00
Yu-Ju Hong ab85b9a7d6 e2e: add a function to reset the stats in resource monitor
The function can be called in a long-running test to clear exsiting
stats (free the memory), and start over.
2015-09-23 17:55:12 -07:00
Eric Tune 13821de107 Merge pull request #14427 from mesosphere/sttts-resource-tests
Avoid assumption of a fixed list of cgroups in e2e conformance tests
2015-09-23 16:22:53 -07:00
saadali f6bc538a46 Add new GCE PD E2E test to verify two PDs attached to one container 2015-09-23 15:08:11 -07:00
Dr. Stefan Schimanski 643a7f193a Assume full cgroup hierarchy only on gce and gke for e2e tests
Other cluster provider than gce or gke might have different cgroup layouts.
From outside we cannot know how these look like (especially in conformance test
which do not know the cluster provider at all).

Hence, this PR defaults to only the "/" cgroup to collect stats for. In the case
of gce or gke the full container list is tested.

Fixes https://github.com/mesosphere/kubernetes-mesos/issues/436
2015-09-23 16:52:56 +02:00
Dr. Stefan Schimanski f9f91fd99d Remove cgroup list dependent e2e test from conformance test suite
As discussed @gmarek the given test does not belong into the conformance test
suite because it makes a lot of static assumptions about the cgroup setup of the
nodes which cannot be fulfilled by all cluster providers. Depending on the
installation the kubelet is not allowed to move around process
into specific containers.

Fixes https://github.com/mesosphere/kubernetes-mesos/issues/439.
2015-09-23 16:52:56 +02:00
Ewa Socala 58bea1b7e3 WaitForService added to autoscaling_utils.go 2015-09-23 16:13:05 +02:00
Maciej Szulik 48775319d9 Reaper and scaler for jobs 2015-09-23 13:06:34 +02:00
Abhishek Shah 09465c9a2a allow privileged pods 2015-09-22 13:44:08 -07:00
Abhishek Shah a64dad04c7 Make KubeProxy test faster 2015-09-22 13:43:43 -07:00
Ewa Socala a9a52a9750 Use Resource Consumer for tests in autoscaling.go 2015-09-22 10:29:38 +02:00
k8s-merge-robot c96c76b729 Merge pull request #13780 from smarterclayton/pod_logs
Auto commit by PR queue bot
2015-09-21 17:02:47 -07:00
Clayton Coleman c2e90cd154 Support extended pod logging options
Increase the supported controls on pod logging. Add validaiton to pod
log options. Ensure the Kubelet is using a consistent, structured way to
process pod log arguments.

Add ?sinceSeconds=<durationInSeconds>, &sinceTime=<RFC3339>, ?timestamps=<bool>,
?tailLines=<number>, and ?limitBytes=<number>
2015-09-21 15:39:32 -04:00
Jeff Grafton 11f3785023 e2e: set default timeout on Client 2015-09-21 12:34:51 -07:00
k8s-merge-robot b07b9918ce Merge pull request #14055 from gmarek/fix_density
Auto commit by PR queue bot
2015-09-21 11:14:48 -07:00
k8s-merge-robot 979bfc0f18 Merge pull request #14167 from socaa/static-consumption
Auto commit by PR queue bot
2015-09-21 05:13:11 -07:00
Ewa Socala 152991f06c Static Consumption added to autoscaling_utils.go 2015-09-21 10:45:10 +02:00
gmarek 393baa5157 Allow Density to run on non-GCE/GKE provider, rename deleteTestingNS
function.
2015-09-21 10:43:45 +02:00
k8s-merge-robot c2f76e4ce7 Merge pull request #14106 from jszczepkowski/hpa-api
Auto commit by PR queue bot
2015-09-19 22:23:06 -07:00
Marek Grabowski 98a971cc2e Revert "Update prometheus library usage" 2015-09-19 22:18:15 +02:00
Tim St. Clair 045238563a Remove deprecated prometheus extraction libraries 2015-09-18 14:38:44 -07:00
Tim St. Clair 3a94f3b5c2 Use up-to-date prometheus extraction libraries 2015-09-18 14:38:44 -07:00
k8s-merge-robot e7d4426158 Merge pull request #14136 from mikedanese/deamon-e2e
Auto commit by PR queue bot
2015-09-18 11:43:01 -07:00
Abhishek Shah 485e1930e4 renamed variable in test file 2015-09-18 09:04:03 -07:00
Ewa Socala d6d199ddab Horizontal Pod Autoscaler is deleted along with namespace 2015-09-18 09:38:10 +02:00
Daniel Martí 586cb9126a Move pkg/util.Time to pkg/api/unversioned.Time
Along with our time.Duration wrapper, as suggested by @lavalamp.
2015-09-17 17:51:27 -07:00
Mike Danese cd1229542f retry updates of nodes in daemonset e2e 2015-09-17 17:50:27 -07:00
Chao Xu 55b0bf0d22 fix e2e 2015-09-17 16:14:03 -07:00
k8s-merge-robot 5fbaa05362 Merge pull request #13697 from ArtfulCoder/kube-proxy-tests
Auto commit by PR queue bot
2015-09-17 15:29:44 -07:00
Kris f4ad00d9ae Moving Status object to a common package 2015-09-17 14:09:53 -07:00
k8s-merge-robot 7cee028497 Merge pull request #13778 from smarterclayton/unready_endpoints
Auto commit by PR queue bot
2015-09-17 11:36:17 -07:00
Clayton Coleman bf2decce81 Add NotReadyAddresses to Endpoints
In many cases clients may wish to view not ready addresses for endpoints
in order to do set membership prior to a pod being ready. For instance,
a pod that uses the service endpoints to connect to other pods under
the same service, but does not want to signal ready before it has
contacted at least a minimal number of other pods.

This is backwards compatible with old servers and clients. There is
an additional cost in size of endpoints before services ramp up, which
will add minor CPU and memory use for services that have a significant
number of pods which have not become ready.
2015-09-17 09:41:56 -04:00
Ewa Socala 997186d10c CPU & Memory Limit added to RCConfig in autoscaling_utils.go 2015-09-17 15:19:21 +02:00
Jerzy Szczepkowski 7fcf7f1177 Cleanups in HorizontalPodAutoscaler API.
Cleanups in HorizontalPodAutoscaler API: renamed Min/MaxCount to Min/MaxReplicas as Replicas is the proper name used in other objects.
2015-09-17 14:16:43 +02:00
k8s-merge-robot 400e6856b0 Merge pull request #14036 from socaa/hpa-mem-tests
Auto commit by PR queue bot
2015-09-17 00:27:59 -07:00
Abhishek Shah 1752d6350b kube-proxy test 2015-09-16 22:33:59 -07:00
k8s-merge-robot 5de53988e2 Merge pull request #14086 from jlowdermilk/deflake-kubectl-expose
Auto commit by PR queue bot
2015-09-16 20:27:31 -07:00
k8s-merge-robot 7a04c95bc5 Merge pull request #14093 from lavalamp/removeGinkgoDefer
Auto commit by PR queue bot
2015-09-16 20:04:11 -07:00
Daniel Smith 4d4bbab7de Remove unnecessary GinkgoRecover() calls 2015-09-16 17:46:24 -07:00
Jeff Lowdermilk 12010e9832 Add kubectl expose to GCE_PARALLEL_FLAKY_TESTS
It's essentially the same as Services.*expose, just using kubectl
instead of client lib.

Fixes #14078
2015-09-16 16:26:36 -07:00
Ewa Socala e837209f15 Memory dynamic consumption 2015-09-16 14:43:23 +02:00
Mike Danese 52ccf54dab Add daemon reaper test to kubectl 2015-09-15 18:13:28 -07:00
Mike Danese 54b0faf39a rebase onto head 2015-09-15 18:13:28 -07:00
gmarek 96a90f45c3 Allow disabling waiting for a service account in e2e tests 2015-09-15 12:49:49 -04:00
k8s-merge-robot bf641078eb Merge pull request #13785 from wojtek-t/minion_to_node_2
Auto commit by PR queue bot
2015-09-14 23:23:06 -07:00
Jeff Lowdermilk e25ae7fdb2 Merge pull request #13833 from caesarxuchao/central-latest
[WIP] Making a generic latest package
2015-09-14 09:26:58 -07:00
k8s-merge-robot 50d805110a Merge pull request #13716 from mesosphere/mesos-e2e-provider-independence
Auto commit by PR queue bot
2015-09-14 02:49:59 -07:00
Wojciech Tyczynski 53ae56f205 Replace "minion" with "node" in bunch of places. 2015-09-14 11:07:11 +02:00
k8s-merge-robot 4aa412e04d Merge pull request #13810 from quinton-hoole/2015-09-10-banish-flaky-tests
Auto commit by PR queue bot
2015-09-12 21:10:49 -07:00
Mike Danese 3d9a52d8af add e2e test for changing the labels of a node 2015-09-11 18:32:38 -07:00
Chao Xu dd6c121d7f massive changes 2015-09-11 17:31:47 -07:00
Mike Danese 1065872d29 rebase and resolve a huge amount of conflicts to keep this up to date (does this commit have more LOC changed than the original implementation? that would be funny...) 2015-09-11 17:04:34 -07:00
Ananya Kumar f8e4f5aa17 Add e2e test for daemon 2015-09-11 16:56:08 -07:00
Daniel Smith 4c2adabf42 move; sed replace 2015-09-11 16:03:22 -07:00
Abhishek Shah 44ce4aa423 Create a LB for a K8S with the LB-IP provided by user. 2015-09-10 21:05:06 -07:00
k8s-merge-robot 865359d33d Merge pull request #13481 from brendandburns/attach3
Auto commit by PR queue bot
2015-09-10 20:05:19 -07:00
Daniel Smith b225c1d47a Run gofmt (separate commit for easy rebases) 2015-09-10 17:17:59 -07:00
Daniel Smith 15b30b8b09 Move version agnostic parts of client
pkg/client/unversioned/cache -> pkg/client/cache
pkg/client/unversioned/record -> pkg/client/record
2015-09-10 17:17:59 -07:00
k8s-merge-robot a34cdd1e18 Merge pull request #13793 from socaa/millicore-au
Auto commit by PR queue bot
2015-09-10 16:30:56 -07:00
tummychow 78ce5da988 Move util.StringSet into its own package
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00
Quinton Hoole 72cfaf4955 Demote namespace e2e test to flaky in parallel (and fix it's name). 2015-09-10 08:55:11 -07:00
Ewa Socala 2201a3bfa8 Milicore to Millicore in autoscaling_utils.go 2015-09-10 14:36:19 +02:00
k8s-merge-robot a535509fbe Merge pull request #13747 from mattmoor/prefix-to-hostname
Auto commit by PR queue bot
2015-09-09 17:35:58 -07:00
Brendan Burns 682c68c2fb Address comments, and fix some bugs in kubectl. 2015-09-09 11:48:04 -07:00
Brendan Burns 7f4bca80ba Add a test for kubectl run --attach=true 2015-09-09 11:48:03 -07:00
k8s-merge-robot c08ee6673e Merge pull request #13741 from pmorie/downward-api-volume
Auto commit by PR queue bot
2015-09-09 10:26:52 -07:00
Matt Moore 4a94ce46db Switch from gcr.io/_b_ prefix to b.gcr.io/ to designate bring-your-own-bucket pulls 2015-09-09 10:07:29 -07:00
Paul Morie 561cbcd7c9 Fix typo in downward api volume e2e 2015-09-09 11:48:11 -04:00
Dr. Stefan Schimanski 63e34e3c10 Make Mesos endpoint annotation e2e workaround cluster provider independent 2015-09-09 10:48:41 +02:00
k8s-merge-robot c8526ad2da Merge pull request #12497 from amygdala/gb2
Auto commit by PR queue bot
2015-09-08 17:59:17 -07:00
k8s-merge-robot d6128039a5 Merge pull request #13684 from derekwaynecarr/fix_typo_in_resource_consumer
Auto commit by PR queue bot
2015-09-08 13:50:30 -07:00
derekwaynecarr b05c11edac Fix typo for milicores to millicores 2015-09-08 14:12:08 -04:00
k8s-merge-robot 68e2c3db44 Merge pull request #13665 from wojtek-t/pod_startup_time_metrics
Auto commit by PR queue bot
2015-09-08 07:33:43 -07:00
Wojciech Tyczynski 6cdeb7a711 Test whether pod startup latency is good enough. 2015-09-08 15:07:20 +02:00
Jerzy Szczepkowski 61a66a95a6 Merge pull request #13640 from socaa/horizontal-pod-autoscaling-test
Horizontal Pod Autoscaling e2e tests
2015-09-08 14:54:17 +02:00
Ewa Socala 3ddbb7d96b Horizontal Pod Autoscaling e2e tests 2015-09-08 13:28:41 +02:00
Wojciech Tyczynski b85d0557b4 Revert #13052 2015-09-08 09:40:12 +02:00
k8s-merge-robot bb3e20e361 Merge pull request #13642 from gmarek/nodecontroller_race
Auto commit by PR queue bot
2015-09-07 13:01:59 -07:00
gmarek e1e3101e75 Add a sleep in resize_nodes test to allow NodeController's Watch to catch up 2015-09-07 15:04:59 +02:00
k8s-merge-robot 06b251e7cd Merge pull request #13600 from quinton-hoole/2015-08-04-deflake-service-endpoints-latency-e2e
Auto commit by PR queue bot
2015-09-07 05:17:14 -07:00
Dai Zuozhuo 2e2ef3e830 change -o template to -o go-template=... 2015-09-05 22:30:47 +08:00
Chao Xu 9fc79e9d99 refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
Quinton Hoole 4f5fdfb08b Increase service latency 99th percentile limit from 40s to 50s 2015-09-04 11:45:52 -07:00
Andy Goldstein c83786979c Various exec fixes
If stdin is noninteractive, the io.Copy from stdin to remoteStdin will
unblock when it finishes reading from stdin. In this case, make sure to
close remoteStdin so the server knows the client won't be sending any
more data. This ensures that the remote process terminates. For example:

echo foo | kubectl exec -i <pod> -- cat

Without this change, the `cat` process never terminates and `kubectl
exec` hangs.

Fix interactive exec sessions hanging after you type 'exit'.

Add e2e test to cover noninteractive stdin: `echo a | kubectl exec -i <pod>
cat`

Add e2e test to cover psuedo-interactive stdin: `kubectl exec -i <pod> bash`

Prep for sending multiple data frames over multiple streams in remote command
test, which is more likely to find flakes (requires bump of spdystream
once an issue with the frame worker queues not being fully drained when
a goaway frame is received).
2015-09-04 10:40:53 -04:00
Piotr Szczesniak cbce3a1ab8 Merge pull request #13315 from quinton-hoole/2015-08-27-speed-up-e2e
Create fewer pods in Scheduler Predicates e2e test to speed things up.
2015-09-04 13:47:18 +02:00
Piotr Szczesniak e724a5210a Merge pull request #13243 from socaa/dynamic-cpu-consumption
Dynamic cpu consumption
2015-09-04 09:43:36 +02:00
Amy Unruh 3574999fa3 Use GCR images from 'google-samples' project; allow switch on whether dns service is
supported, or to use env vars to get service host info.

Test change to reflect php filename change.
2015-09-03 19:14:24 -07:00
Abhi Shah 380d7d9591 Merge pull request #13564 from a-robinson/beta
Switch from `gcloud beta container` to just `gcloud container`.
2015-09-03 13:09:25 -07:00
k8s-merge-robot 5d8a6049be Merge pull request #12848 from wojtek-t/private_watch_cache
Auto commit by PR queue bot
2015-09-03 13:06:18 -07:00
Alex Robinson edf692622c Switch from `gcloud beta container` to just `gcloud container`. 2015-09-03 18:19:25 +00:00
Abhi Shah 473c51593a Merge pull request #13502 from jszczepkowski/e2e-clustersize
e2e test function waitForClusterSize waits for not-ready nodes to go out.
2015-09-03 11:15:54 -07:00
Ewa Socala 4f282efb11 Added autoscaling utils for dynamic consumption of CPU 2015-09-03 09:15:12 +02:00
Brendan Burns 2df5010834 Merge branch 'sdminonne-container_sidecar' 2015-09-02 10:42:08 -07:00
Brendan Burns 74ef517097 Merge pull request #6649 from rootfs/wip-cephfs
add Ceph FS volume plugin
2015-09-02 09:48:15 -07:00
Marcin Wielgus 3e9932557d Merge pull request #13052 from pmorie/podip-fix
Fix race condition for consuming podIP via downward API
2015-09-02 16:04:01 +02:00
Wojciech Tyczynski 4d702d2fd5 Fix scalability test suite 2015-09-02 11:53:37 +02:00
Jerzy Szczepkowski 1d450ad3d1 Fixed e2e test waitForClusterSize function to wait for not-ready nodes to go out.
Fixed e2e test waitForClusterSize function to wait for not-ready nodes to go out. Fixes #13440.
2015-09-02 10:55:59 +02:00
k8s-merge-robot 0a062c5b24 Merge pull request #11942 from ironcladlou/rolling-update-availability
Auto commit by PR queue bot
2015-09-01 16:51:13 -07:00
Salvatore Dario Minonne f4dc0653aa adding downward api volume plugin 2015-09-01 22:23:03 +02:00
Derek Carr a7e47cada2 Merge pull request #12963 from smarterclayton/enable_graceful
Enable graceful deletion of pods (7/7)
2015-09-01 15:07:29 -04:00
Huamin Chen fe559f2726 implement Ceph FS volume plugin and add to e2e volume test
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-09-01 14:05:17 -04:00
Dan Mace da5e4d7bd5 Rolling updater availability enhancements
Enhance the rolling updater to support maintaining minimum pod
availability for the duration of the update process.
2015-09-01 12:54:08 -04:00
Paul Morie 4ff66bd70a Fix race exposing pod IP via downward API 2015-08-31 19:18:58 -04:00
Wojciech Tyczynski e202f9c797 Add resource version to Store Replace params. 2015-08-31 09:49:12 +02:00
Clayton Coleman e5600f7a84 Dump more pod status when an e2e test fails 2015-08-30 18:25:54 -04:00
Clayton Coleman f9590a33fd Enable graceful deletion by enabling pods 2015-08-30 18:25:53 -04:00
Quinton Hoole 97ddc9781c Create fewer pods in Scheduler Predicates e2e test to speed things up. 2015-08-28 11:07:22 -07:00
Yu-Ju Hong be179ffc41 e2e: collect supervisord.log
monit has been replaced with supervisord. Collect its log instead.
2015-08-28 10:47:09 -07:00
Yu-Ju Hong 3221663a50 e2e: skip restart count test 2015-08-27 10:10:40 -07:00
Yu-Ju Hong c7afae75f5 Merge pull request #13103 from yujuhong/restart_count
Kubelet: fix container restart counts
2015-08-26 15:13:10 -07:00
Max Forbes 8ca0654f94 Pass mbforbes TODOs to others. 2015-08-26 10:05:34 -07:00
Piotr Szczesniak 99b9de9d76 Started running Autoscaling e2e test on dedicated Jenkins job 2015-08-26 12:12:51 +02:00
Tim Hockin f5a9281a26 Actually hold NodePorts open in kube-proxy 2015-08-24 16:32:44 -07:00
Yu-Ju Hong fb3c8c5bcc e2e: add a test to ensure restart count increments monotonically 2015-08-24 12:50:15 -07:00
Zach Loafman af83c8b4ac Merge pull request #13039 from smarterclayton/lengthen_timeout
Lengthen e2e kubectl timeout
2015-08-21 16:07:11 -07:00
Zach Loafman 0a8291505a Merge pull request #9234 from ZJU-SEL/fix-e2e-test-hostdir
fix e2e hostdir test
2015-08-21 15:51:42 -07:00
Clayton Coleman cc95dc586e Lengthen e2e kubectl timeout
30s on guestbook-go being pulled from the docker hub is tight -
occasionally lag in the DockerHub can cause kubectl expose it should
create services for rc to flake.
2015-08-21 12:54:36 -04:00
Jerzy Szczepkowski 95d34a1343 Merge pull request #13016 from gmarek/master
Update constants in monitor_resources.go
2015-08-21 10:31:11 +02:00
Jerzy Szczepkowski 958191f72a Merge pull request #11791 from mbforbes/restartLogging
Improve logging and retries for a gcloud command
2015-08-21 10:29:36 +02:00
gmarek b0acb6adee Update constants in monitor_resources.go 2015-08-21 09:28:48 +02:00
Saad Ali 5ec3c78190 Merge pull request #8366 from justinsb/idempotent_loadbalancer
Make LoadBalancer creation more self-healing; don't delete on AWS
2015-08-20 14:30:55 -07:00
Saad Ali 22e49036f5 Merge pull request #12947 from mesosphere/guestbook-e2e-test
Un-skip guestbook application e2e test
2015-08-20 11:10:35 -07:00
Zach Loafman 95a60d6085 Merge pull request #12926 from smarterclayton/cleanup_graceful
Cleanup more extensively in e2e (0/7)
2015-08-20 10:25:15 -07:00
Wojciech Tyczynski f6b20008b3 Merge pull request #12961 from smarterclayton/prepare_for_graceful
Update tests to prepare for graceful deletion (3/7)
2015-08-20 10:04:32 +02:00
Wojciech Tyczynski 606cc1be39 Merge pull request #12917 from mesosphere/fix-nodeport
Declare e2e NodePort test container port
2015-08-20 08:28:07 +02:00
Clayton Coleman 9267f829eb Update tests to prepare for graceful deletion
For cases where we want to immediately cleanup the pod, start using
gracePeriod 0 in test cases.
2015-08-19 22:20:29 -04:00
Max Forbes f71597ef6e Use retryCmd(...) to improve logging and add retries to gcloud commands 2015-08-19 18:15:49 -07:00
He Simei faeb45d69f fix host dir, to test volume r/w with different containers within a pod
Signed-off-by: He Simei <hesimei@zju.edu.cn>
2015-08-20 08:55:19 +08:00
Dr. Stefan Schimanski 3b24ac55d0 Un-skip guestbook application e2e test
The comment said that the guestbook needs LoadBalancer support, which is not
true. The test had been skipped for everything but aws, gke and gce for that
reason.
2015-08-19 23:58:22 +02:00
Saad Ali 25dfc9932f Merge pull request #12913 from gmarek/remove_healthcheck
Remove unused (?) HealthCheck from KubeletClient
2015-08-19 14:49:00 -07:00
Clayton Coleman dcdbc646ed RC already being deleted shouldn't fail DeleteRC 2015-08-19 17:43:34 -04:00
Clayton Coleman 611530889f Cleanup more extensively in e2e 2015-08-19 17:43:34 -04:00
Dr. Stefan Schimanski 364a831e14 Declare e2e NodePort test container port
The port 80 of the test webserver was not specified in the container spec. This
patch add the declaration.

Fixes https://github.com/mesosphere/kubernetes-mesos/issues/365
2015-08-19 22:43:44 +02:00
Piotr Szczesniak cfc4471f8c Fixed memory consumption in Autoscaling e2e 2015-08-19 16:33:57 +02:00
Piotr Szczesniak 265d3da701 Enabled Autoscaling test that uses mem utilization metric 2015-08-19 15:07:17 +02:00
gmarek 33c894a6ae Remove unused (?) HealthCheck from KubeletClient 2015-08-19 14:35:43 +02:00
Piotr Szczesniak c69dff8b69 Merge pull request #12903 from piosz/scheduler-predicates-fix
Added clean up to scheduler-predicates
2015-08-19 12:21:04 +02:00
Piotr Szczesniak f6a3966abb Added clean up to scheduler-predicates 2015-08-19 11:32:49 +02:00
Piotr Szczesniak 41b8fdcd76 Increased timeout while waiting for namespace deletion
Removed waiting for namespace to be deleted in Density and Load e2e tests
2015-08-19 11:17:59 +02:00
Robert Bailey 08e6a43c1d Revert "Merge pull request #9165 from smarterclayton/graceful"
This reverts commit 4f856b595d, reversing
changes made to d78525a83b.

Conflicts:
	pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Clayton Coleman dcad51b90e Deleting a namespace is insufficient to cleanup in e2e
Graceful deletion requires more time to terminate namespaces, and not
waiting for namespaces to delete causes scheduling errors
2015-08-18 17:36:00 -04:00
Kris Rousey ae6c64d9bb Moving everyone to unversioned client 2015-08-18 10:23:03 -07:00
Robert Bailey 4f856b595d Merge pull request #9165 from smarterclayton/graceful
Enable graceful deletion using reconciliation loops in the Kubelet without TTL
2015-08-18 10:01:40 -07:00
Robert Bailey 4b9ec9a9b2 Merge pull request #12824 from andyzheng0831/test-bug
Fix two bugs in reboot tests
2015-08-18 08:54:25 -07:00
Quinton Hoole 7158f8a5df Merge pull request #11339 from bprashanth/restart_test
Confirms daemons restart and do sane things in an e2e test
2015-08-18 08:42:44 -07:00
Clayton Coleman 89f1f3b1b8 Alter graceful deletion to not use TTL
Avoid TTL by deleting pods immediately when they aren't
scheduled, and letting the Kubelet delete them otherwise.

Ensure the Kubelet uses pod.Spec.TerminationGracePeriodSeconds
when no pod.DeletionGracePeriodSeconds is available.
2015-08-18 09:08:43 -04:00
Clayton Coleman b842a7dd15 Revert "Revert "Gracefully delete pods from the Kubelet""
This reverts commit 98115facfd.
2015-08-18 08:57:02 -04:00
Piotr Szczesniak e7eccea4ac Increased waiting for cluster size timeout for Autoscaling e2e 2015-08-18 10:11:13 +02:00
Piotr Szczesniak db6c34288e Migrated Autoscaling e2e test to new gcloud commands 2015-08-18 06:51:17 +02:00
Prashanth Balasubramanian 83f1212e0b Confirms daemons restart and do sane things in an e2e test 2015-08-17 20:39:57 -07:00
Andy Zheng a1ba269ab3 Fix two bugs in reboot tests
First, "ifconfig eth0 down/up" on Ubuntu and Debian breaks
connection to the instance, thus tests after this one all fail.
Second, replacing appending iptable rules with inserting them on
the top of iptables, otherwise the tests may fail if iptables
are not empty.
2015-08-17 13:54:12 -07:00
Piotr Szczesniak 72c27d5782 Added more logs to Autoscaling e2e test 2015-08-17 16:12:32 +02:00
Justin Santa Barbara fde0a8884f e2e: Test load-balanced service endpoint preserved
Previously we weren't preserving the service endpoint on a load-balanced
service, at least on AWS.  The test had to test reality, not
aspirations!

Now we should have fixed this, so we can revert the e2e test to check
that the service endpoint is indeed preserved.

Fixes #11002
2015-08-17 08:58:46 -04:00
Piotr Szczesniak 73815f5629 Actually enabled Autoscaling e2e test for Jenkins flaky job 2015-08-17 12:30:20 +02:00
Marek Grabowski d310eeaca9 Merge pull request #12783 from piosz/autoscaling_e2e
Enabled Autoscaling e2e test for Jenkins flaky job
2015-08-17 11:23:28 +02:00
Piotr Szczesniak b6f1c9d989 Enabled Autoscaling e2e test for Jenkins flaky job 2015-08-17 10:54:33 +02:00
Marek Grabowski c0480e9174 Merge pull request #12707 from mikedanese/move-test-contrib
move contrib/for-tests to test/images
2015-08-17 10:46:18 +02:00
gmarek 781a9b5325 Update constants in monitor_resources test 2015-08-17 09:53:52 +02:00
Mike Danese fa40ced8f8 move contrib/for-tests to test/images 2015-08-14 20:42:46 -07:00
Piotr Szczesniak 5b676b7334 Disabled Autoscaling e2e test 2015-08-14 16:27:54 +02:00
Jerzy Szczepkowski 36f94fabbe Merge pull request #12719 from piosz/autoscaling_e2e
Enabled Autoscaling e2e test for cpu utilization
2015-08-14 13:40:41 +02:00
Piotr Szczesniak fb44d5e045 Enabled Autoscaling e2e test for cpu utilization 2015-08-14 11:50:19 +02:00