Commit Graph

3048 Commits

Author SHA1 Message Date
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
gmarek
4625f50131 Small changes in Kubemark requested by @wojtek-t 2015-10-13 16:26:19 +02:00
k8s-merge-robot
ae9f7c8ff8 Merge pull request #15426 from zhengguoyong/adjust_package_name_pkgcontroller
Auto commit by PR queue bot
2015-10-13 06:05:23 -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
Marek Grabowski
98a0cc63f3 Merge pull request #15377 from gmarek/fix-jenkins
Prefix hollow-cluster-master name with instance prefix
2015-10-13 10:03:27 +02: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
0901e5050d Merge pull request #15371 from timothysc/etcd-contexts
New etcd client modifications part 1 (context support)
2015-10-12 16:04:13 -07: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
gmarek
b88eb80a59 Prefix hollow-cluster-master name with instance prefix 2015-10-12 20:15:59 +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
gmarek
ea7f914394 Fix HollowNode template 2015-10-12 15:46:32 +02:00
Timothy St. Clair
2a2a2d79ff New etcd client modifications part 1 (context support)
This commit plumbs contexts which are needed for the new client.
2015-10-12 08:45:49 -05:00
Marek Grabowski
41a7f579ea Merge pull request #15462 from gmarek/kubemark-refactor
HollowNode refactoring
2015-10-12 13:10:20 +02:00
Jerzy Szczepkowski
e3c6750942 Merge pull request #15463 from piosz/enable-ir-e2e
Enabled InitialResources e2e in autoscaling suite
2015-10-12 12:17:47 +02:00
gmarek
fb56afe4b4 HollowNode refactoring 2015-10-12 12:13:10 +02:00
Piotr Szczesniak
35cf8cc76c Enabled InitialResources e2e in autoscaling suite 2015-10-12 11:30:47 +02:00
Marek Grabowski
1d3c65c110 Merge pull request #15366 from gmarek/fix-kubemark
Make Kubemark master components write logs to the /var/logs
2015-10-12 11:17:00 +02:00
eulerzgy
4ed5f9d240 adjust package name for pkg/controller directory 2015-10-12 09:51:27 +08: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
Chao Xu
f3caff2a79 testapi.Experimental -> testapi.Extensions 2015-10-09 15:15:35 -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
80f213c376 "experimental" -> "extensions" 2015-10-09 15:14:03 -07:00
Chao Xu
67f316dd19 apis/experimental->apis/extensions 2015-10-09 15:04:41 -07:00
Chao Xu
0b7e3c7dd1 experimental/v1alpha1->extensions/v1beta1 2015-10-09 15:01:33 -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
gmarek
5d9c54edb1 Make Kubemark master components write logs to the /var/logs 2015-10-09 12:33:53 +02: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
952a058357 Merge pull request #15153 from wojtek-t/common_resync_period
Extend resyncPeriods in controllers in production.
2015-10-08 14:07:04 +02:00
Marek Grabowski
bb43d07d28 Merge pull request #15231 from gmarek/fix-kubemark
Create a separate etcd instance for events in Kubemark
2015-10-08 11:22:52 +02:00
Wojciech Tyczynski
df79026b79 Extend resyncPeriods in controllers in production. 2015-10-08 09:10:09 +02: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
gmarek
28d79d83c1 Create a separate etcd instance for events in Kubemark 2015-10-07 17:15:55 +02: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
Daniel Smith
377e5c533b add scheduler integration benchmark 2015-10-06 18:15:21 -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
gmarek
4dfd28086f Wait for all HollowNodes to become ready in start-kubemark.sh 2015-10-06 09:20:53 +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
Alex Robinson
32b9d8aad0 Merge pull request #14823 from wojtek-t/move_events_to_separate_etcd
Move events to a separate etcd instance
2015-10-05 16:28:04 -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
Steve Milner
e5b85194aa netexec: Multiple fixes and enhancements to netexec
* Added upload functionality
* More logging
* Moved to test/images
* Image file fixes
2015-10-05 16:05:36 -04:00
Andy Goldstein
9f1bd07322 Add goproxy test image 2015-10-05 16:05:34 -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
Wojciech Tyczynski
0f1cbe37a4 Events in separate etcd 2015-10-05 10:54:24 +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
ffacd3bcf2 Merge pull request #14645 from socaa/readme
Auto commit by PR queue bot
2015-10-02 18:48:22 -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
cd5cb5791e Merge pull request #14837 from liggitt/nettest_tls
Auto commit by PR queue bot
2015-10-02 14:29:59 -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
gmarek
22574cfd6d Set E2E_MIN_STARTUP_PODS to 0 for Kubemark runs 2015-10-02 15:10:02 +02:00
gmarek
3137ecbf3b Create a firewall rule for kubemark master allowing connections on port 443 2015-10-02 14:36:31 +02: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
gmarek
1e7cdf95bd Add PROJECT to things added by SSL patch 2015-10-02 11:07:34 +02:00
Wojciech Tyczynski
3ae276cc0b Print latency metrics in too-friendly way. 2015-10-02 11:03:56 +02:00
gmarek
bc76b1616f Add SSL to communication in Kubemark 2015-10-02 10:39:24 +02:00
gmarek
e58aff001b Stop existing Kubemark cluster before creating new one in Jenkins 2015-10-02 10:32:57 +02:00
gmarek
b7954068a3 Add missing PROJECT flag to Kubemark scripts 2015-10-02 09:42:02 +02:00
Prashanth Balasubramanian
fc46de5e68 Record pod history in daemon restart e2e 2015-10-01 22:21:40 -07:00
Jordan Liggitt
1d1d7bb145 Add https to porter test image 2015-10-01 22:55:58 -04: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
Wojciech Tyczynski
cff6dcedd7 Merge pull request #14903 from gmarek/fix-jenkins
Make kubemark work on Jenkins
2015-10-01 16:00:40 +02:00
gmarek
9a74980da2 Make kubemark work on Jenkins 2015-10-01 15:26:39 +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
k8s-merge-robot
7178921a96 Merge pull request #14375 from deads2k/remove-unprefixed-access
Auto commit by PR queue bot
2015-10-01 04:35:59 -07: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
Ewa Socala
ce5d7d43db added README file to Resource Consumer 2015-10-01 10:28:48 +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
Andy Goldstein
7f900daa3e Add port-forward-tester image 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
deads2k
8db054651c plumb APIGroup to authorization attributes and test 2015-09-30 09:45:10 -04: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
Marek Grabowski
1cf2a3fa87 Merge pull request #14810 from gmarek/playground
Small fixes to kubemark scripts
2015-09-30 09:40:05 +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
gmarek
7c6052187c Small fixes to kubemark scripts 2015-09-30 09:26:18 +02:00
Marek Grabowski
7fa09abecb Merge pull request #14776 from brendandburns/fixer2
Fix some issues with the kubemark script
2015-09-30 08:58:15 +02: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
Brendan Burns
a26afdad30 Fix some issues with the kubemark script 2015-09-29 17:27:19 -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
gmarek
7cfb3479e0 Small fixes to Kubemark scripts 2015-09-29 10:24:46 +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
Wojciech Tyczynski
672e7c3427 Merge pull request #13792 from gmarek/playground
Initial Kubemark commit
2015-09-28 13:17:20 +02:00
Piotr Szczesniak
80d3e6eb5f Added debug logs to autoscaling_utils.go 2015-09-28 11:59:17 +02:00
gmarek
dd3bd73948 Initial Kubemark commit 2015-09-28 11:39:05 +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
Chao Xu
ae1293418b move experimental/v1 to experimental/v1alpha1;
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07: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
Brian Grant
42cb619471 Merge pull request #14508 from lavalamp/fix-14477
Fix bug with empty subsets
2015-09-24 12:57:16 -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
Brendan Burns
ec427f22b1 Disable race detection for all integration tests 2015-09-24 09:37:01 -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
Jerzy Szczepkowski
ec0e1faab4 Merge pull request #14476 from gmarek/framework
Add an option to modify timeout for namespace duration in e2e Framework
2015-09-24 11:01:27 +02:00
gmarek
1459a1523f Add an option to modify timeout for namespace duration in e2e Framework 2015-09-24 10:32:34 +02:00
Jerzy Szczepkowski
c53df247c8 Merge pull request #14440 from brendandburns/flakes2
Increase some more timeouts to eliminate flakes
2015-09-24 10:23:34 +02:00
Jerzy Szczepkowski
0c10d11207 Merge pull request #14456 from brendandburns/flakes3
Turn off race detection in the etcd tools test as etcd client isn't thread safe.
2015-09-24 09:56:53 +02:00
Brendan Burns
d3379e72be Turn off race detection in the etcd tools test as etcd client isn't thread safe 2015-09-23 21:25:26 -07: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
Brendan Burns
f529cc71ca Increase some more timeouts to eliminate flakes 2015-09-23 14:56:29 -07:00
Eric Tune
de38de0c1a Merge pull request #14064 from brendandburns/flakes
Increase a bunch of timeouts to reduce flakes
2015-09-23 12:56:27 -07:00
Brendan Burns
77fd388485 Increase a bunch of timeouts to reduce flakes 2015-09-23 11:09:03 -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
markturansky
f4232d3299 fixed code issues related to hasty test refactor 2015-09-22 14:44:31 -04:00
markturansky
d2e8ec934c merged recycler+deleter tests so they run serially 2015-09-22 13:36:26 -04:00
markturansky
6dca2a4e7f removed flaky test. other integration tests (and many unit tests) also cover binding 2015-09-22 13:26:20 -04:00
Ewa Socala
a9a52a9750 Use Resource Consumer for tests in autoscaling.go 2015-09-22 10:29:38 +02:00
k8s-merge-robot
e13263384b Merge pull request #14331 from saad-ali/fix14284Actually
Auto commit by PR queue bot
2015-09-21 20:47:40 -07:00
saadali
cd56b041f3 Fix #14284: TestPersistentVolumeClaimBinder flake 2015-09-21 19:21:06 -07: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
k8s-merge-robot
5b898127d8 Merge pull request #14295 from ixdy/e2e-client-timeout
Auto commit by PR queue bot
2015-09-21 14:49:50 -07:00
k8s-merge-robot
6c30a0e170 Merge pull request #13955 from caesarxuchao/API-discovery
Auto commit by PR queue bot
2015-09-21 14:01:36 -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
Chao Xu
1278771b34 let apiserver support api discovery 2015-09-21 12:20:24 -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
568c0331b0 Merge pull request #13650 from markturansky/prov_creater
Auto commit by PR queue bot
2015-09-20 16:57:36 -07: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
Eric Paris
20c01f072d Merge pull request #14202 from timstclair/prometheus
Update prometheus library usage
2015-09-19 10:06:13 -05:00
k8s-merge-robot
cad5f03311 Merge pull request #14185 from tmrts/formatting
Auto commit by PR queue bot
2015-09-18 15:16:00 -07: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
markturansky
9c7d03b2b6 added separate clients per caller in integration tests 2015-09-18 13:23:21 -04:00
Tamer Tas
cb5f921df1 Add newline to the end of bash scripts 2015-09-18 19:35:05 +03:00
Abhishek Shah
485e1930e4 renamed variable in test file 2015-09-18 09:04:03 -07:00
Marcin Wielgus
0f8cc8926f Merge pull request #13786 from socaa/hpa-test
Horizontal Pod Autoscaler is deleted along with namespace
2015-09-18 12:22:38 +02:00
k8s-merge-robot
434b768822 Merge pull request #13277 from uluyol/sv-detect-group
Auto commit by PR queue bot
2015-09-18 01:31:43 -07:00
Ewa Socala
d6d199ddab Horizontal Pod Autoscaler is deleted along with namespace 2015-09-18 09:38:10 +02:00
Muhammed Uluyol
f855e75805 Correctly do swagger validation with experimental.
Before we tried both groups, first api then experimental. If
experimental failed, the error message would be discarded and the
message for api would be shown. This commit changes this behavior so
that we detect which api group we should be using and only show the
error for that group.
2015-09-17 22:54:56 -04: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
055f5ff9b9 Merge pull request #13649 from markturansky/prov_deleter
Auto commit by PR queue bot
2015-09-17 12:59:45 -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
markturansky
c2de9e9647 Added volume.Deleter interface and simple HostPath implementation 2015-09-17 12:08:58 -04: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
Mike Danese
77a06cbf05 Merge pull request #13183 from mikedanese/daemon_kubectl
Add daemonset support to kubectl
2015-09-16 19:02:36 -07:00
k8s-merge-robot
426d4a2477 Merge pull request #13945 from caesarxuchao/kube-api-prefix
Auto commit by PR queue bot
2015-09-16 18:43:55 -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
Jeff Lowdermilk
e0aeb1151b Merge pull request #9870 from markturansky/recyc_config
Allow Volume Plugins to be configurable
2015-09-15 17:53:49 -07:00
Chao Xu
9bef5ff99d register experimental apis as apis/experimental/..
mark --api-version as deprecated
2015-09-15 11:25:01 -07:00
gmarek
96a90f45c3 Allow disabling waiting for a service account in e2e tests 2015-09-15 12:49:49 -04:00
markturansky
7bc55b5aea configurable pv recyclers 2015-09-15 12:48:25 -04:00
Piotr Szczesniak
66759a4e24 Bumped image tag for Resource Consumer 2015-09-15 16:10:58 +02: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
k8s-merge-robot
db128ac0f7 Merge pull request #13736 from socaa/dockerfile-memory
Auto commit by PR queue bot
2015-09-14 16:35:52 -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
Chao Xu
f5023929d8 fix broken files after rebase 2015-09-12 15:45:12 -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
ccd9e3e247 Run all automated tools 2015-09-11 16:11: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
k8s-merge-robot
08fbe2bc10 Merge pull request #13789 from socaa/resource-consumer-memory
Auto commit by PR queue bot
2015-09-10 08:49:42 -07:00
Ewa Socala
2201a3bfa8 Milicore to Millicore in autoscaling_utils.go 2015-09-10 14:36:19 +02:00
Ewa Socala
9e640b356c Memory consumption added to Resource Consumer 2015-09-10 13:50:49 +02:00
Ewa Socala
569ebf7a9b Resource Consumer Handler milicore changed to millicore 2015-09-10 12:17:02 +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
Ewa Socala
44e1d55029 added possibility of memory consumption to Dockerfile 2015-09-09 16:09:17 +02: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
c324fdd54d Merge pull request #13322 from ncdc/fix-noninteractive-stdin-exec
Various exec fixes
2015-09-04 12:31:28 -07:00
Quinton Hoole
4f5fdfb08b Increase service latency 99th percentile limit from 40s to 50s 2015-09-04 11:45:52 -07:00
Quinton Hoole
10332c3761 Merge pull request #13302 from jsafrane/devel/gluster-test-image
Rebase the gluster test image to CentOS.
2015-09-04 09:08:55 -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
Timothy St. Clair
2b7e758c3c Fixes the experimental api, which appeared to be completely broken.
Fix for rebase with nikhiljindal/deploymentController
2015-09-03 21:56:45 -05: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
Jerzy Szczepkowski
86fb79da05 Merge pull request #13314 from yujuhong/supervisor_log
e2e: collect supervisord.log
2015-08-31 09:19:03 +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
Jan Safranek
bcdf89a909 Rebase the gluster image to CentOS.
Using the same base for NFS and Gluster images should reduce the download size.
Also, CentOS image is ~30MB smaller than Ubuntu 14.04.
2015-08-28 12:26:01 +02:00
Wojciech Tyczynski
9da41aeab8 Merge pull request #10476 from jsafrane/devel/fedora-nfs-images
Configure lower NFS grace period.
2015-08-28 09:57:44 +02:00
Yu-Ju Hong
3221663a50 e2e: skip restart count test 2015-08-27 10:10:40 -07:00
Jan Safranek
49921ada74 Configure lower NFS grace period.
From RFC 3530:
  During the grace period, the server must reject READ and WRITE operations
  and non-reclaim locking requests (i.e., other LOCK and OPEN operations)
  with an error of NFS4ERR_GRACE.

That basically means that all open() calls from clients are blocked until the
grace period is over (90 seconds by default).

We want the grace period as low as possible to speed up the tests. '10'
seconds were tested on Fedora 21 and Ubuntu 15.04 as the hosts.

The test image is rebased to Fedora in order to get 'rpc.nfsd -G <n>' option,
Ubuntu does not support it.
2015-08-27 17:50:05 +02: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
Yu-Ju Hong
49883a04d6 Merge pull request #13140 from socaa/post-request-resource-consumer
Changed Resource Consumer for correct parsing POST requests
2015-08-25 10:07:42 -07:00
Ewa Socala
c68508f8cf Changed Resource Consumer for correct parsing POST requests 2015-08-25 16:29:29 +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
k8s-merge-robot
1a18588a60 Merge pull request #12960 from smarterclayton/network_tester
Auto commit by PR queue bot
2015-08-20 22:44:30 -07:00
k8s-merge-robot
44c76d5319 Merge pull request #12957 from smarterclayton/handle_terminating_pods
Auto commit by PR queue bot
2015-08-20 21:47:00 -07: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
Clayton Coleman
02dbb95447 Add TerminationGracePeriodSeconds to API
Set defaulting for pod spec
2015-08-20 11:03:38 -04: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
Clayton Coleman
9ee7b76bba Allow testing graceful shutdown via network-tester 2015-08-19 22:06:37 -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
Zach Loafman
41e6c2c9e0 Merge pull request #12935 from pmorie/fix-mounttest-user
Fix FROM clause in mount-test-user image
2015-08-19 16:06:01 -07: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
Paul Morie
cffacbb5bd Fix FROM clause in mount-test-user image 2015-08-19 13:49:30 -04: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
Robert Bailey
301bf16792 Merge pull request #12878 from smarterclayton/soak_wait
Soak tests should wait until namespaces are dead before exiting
2015-08-18 15:46:07 -07:00
Clayton Coleman
40e80e1e75 Soak tests should wait until namespaces are dead before exiting 2015-08-18 17:43:49 -04: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
266e6226e5 Move slow-* items to test/images/network-tester 2015-08-18 09:08:46 -04: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
gmarek
941ddc90b1 Fix SchedulerPredicates test after event reason rename 2015-08-14 11:20:37 +02:00
gmarek
5c7294ce52 Tweak resource constraintes for MonitorResources test 2015-08-13 13:56:10 +02:00
Wojciech Tyczynski
77f431649b Merge pull request #12462 from gmarek/cadvisor2
Add e2e test monitoring current container resource usage with updated constants.
2015-08-13 10:19:19 +02:00
CJ Cullen
7a87438e67 Merge pull request #12602 from deads2k/expose-methods-from-e2e
expose e2e methods for downstream use
2015-08-12 16:06:23 -07:00
CJ Cullen
59da05efdf Merge pull request #12405 from uluyol/kubectlexp
Add experimental api support to kubectl
2015-08-12 14:24:56 -07:00
deads2k
2952af0d59 expose e2e methods for downstream use 2015-08-12 15:38:51 -04:00
CJ Cullen
b8dc963512 Merge pull request #9210 from BenTheElder/iptables_proxy
Implement Iptables based Proxy
2015-08-12 09:26:39 -07:00
BenTheElder
ae569e20b5 Partially Implement #3760 2015-08-12 02:39:15 -04:00
Bryan Stenson
9541414742 create cloudprovider "providers" package
move all providers into new package
    update all references to old package path
2015-08-11 22:36:51 -07:00
Muhammed Uluyol
fab367230f Add experimental API support to kubectl 2015-08-11 16:49:55 -07:00
Kris Rousey
565189f5b8 Correcting all go vet errors 2015-08-11 13:55:37 -07:00
gmarek
bc8565d55e Add e2e test monitoring current container resource usage with updated
constants.

This reverts commit 1f7ea4f08e.
2015-08-11 09:16:14 +02:00
markturansky
8e0d391b1e Refactored persistent volume controllers to new packaging structure 2015-08-10 23:18:48 -04:00
Alex Robinson
9036f2cf82 Merge pull request #12408 from smarterclayton/improvements_to_test
e2e test cases should clean up more effectively
2015-08-10 18:15:04 -07:00
Clayton Coleman
e623d33343 e2e test cases should clean up more effectively
Graceful deletion exposes weakness in cleanup paths, add
common hooks for waiting for namespcae deletion to complete,
use direct delection where necessary, and add some debug output
for finding cleanup flags (namespaces that aren't fully deleted)
2015-08-10 19:02:39 -04:00
Yu-Ju Hong
13aec6421a Check error before accessing returned value in e2e/kubectl.go
This avoids test panics.
2015-08-10 15:02:17 -07:00
Alex Robinson
9bda3c5998 Merge pull request #11138 from feihujiang/portForwardWithoutP
kubectl port-forward accept a pod without -p
2015-08-10 13:29:14 -07:00
Alex Robinson
1ad9015566 Merge pull request #12410 from mesosphere/non-unique-endpoint-ip-no-port-names
Fix e2e endpoints tests on Mesos
2015-08-10 09:49:55 -07:00
Marek Grabowski
5f9cefc1d8 Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
typofix - https://github.com/vlajos/misspell_fixer
2015-08-10 16:33:52 +02:00
Marek Grabowski
f187588072 Merge pull request #11054 from jsafrane/devel/iscsi-test
Add e2e RBD and iSCSI volume tests.
2015-08-10 16:32:13 +02:00
Marek Grabowski
65bff3d187 Merge pull request #12252 from alex-mohr/stamp
Add timestamps to test info logs
2015-08-10 15:01:34 +02:00
Veres Lajos
9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
Satnam Singh
1f7ea4f08e Revert "Add e2e test monitoring current container resource usage" 2015-08-07 22:40:15 -07:00
Satnam Singh
8c4d2737f2 Merge pull request #11374 from gmarek/cadvisor
Add e2e test monitoring current container resource usage
2015-08-07 15:24:54 -07:00
Brendan Burns
e42d6aa255 Add --restart support to kubectl run 2015-08-07 13:20:09 -07:00
Dr. Stefan Schimanski
4786705f8e Move TODO from source into an github issue 2015-08-07 22:08:50 +02:00
Dr. Stefan Schimanski
f04f31f799 Use endpoint annotation to recover container ports in e2e tests on Mesos 2015-08-07 20:13:19 +02:00
Dr. Stefan Schimanski
8848e26154 Validate endpoints in e2e tests by pod UID and port
Before this patch endpoints were validated by container IP and port.
Depending on the endpoint controller logic neither of the two must match for a
valid endpoint (e.g. in a Mesos setup).

This patch checks that the endpoint targetRef points to the right pod by UID,
instead of comparing IPs.

A later patch will make sure the
compared port is the actual container port, not the host port.

/xref mesosphere/kubernetes-mesos#365
2015-08-07 20:13:18 +02:00
Satnam Singh
213e7a8ab6 Merge pull request #12372 from a-robinson/ifup
Replace usage of ifup and ifdown in the reboot test with ifconfig
2015-08-07 10:14:11 -07:00
Jan Safranek
9c7a1c7f96 Add Ceph RBD e2e test.
The test assumes that all nodes have Ceph client utilities installed.
Ceph RBD container is hand crafted to be really minimal. It creates a new RBD
on startup, which can take up to several minutes on busy machines.
2015-08-07 13:43:03 +02:00
Jan Safranek
adba474ffa Add e2e iSCSI volume test.
The test container needs to run with --privileged, therefore it's disabled by
default.
2015-08-07 13:43:03 +02:00
feihujiang
90f4c79bb9 kubectl port-forward accept a pod without -p 2015-08-07 17:21:59 +08:00
gmarek
1c22fd39ff Add e2e test monitoring current container resource usage.wq 2015-08-07 10:27:00 +02:00
Jan Safranek
ebcc558734 Revert "Use a service between e2e volume tests clients and servers."
iSCSI and RBD volumes don't work as Kubernetes services - these protocols
are broken by S-NAT created by kube-proxy - at least iSCSI exhanges real
IP address of the iSCSI target as part of the protocol.

This reverts commit 118004c166.
2015-08-07 10:24:29 +02:00
Brendan Burns
5be9ff70af Add a negative test for HTTP health checks 2015-08-06 21:22:31 -07:00
Alex Robinson
a2fea14542 Fix typo in an e2e test utility log message. 2015-08-07 00:32:05 +00:00
Alex Robinson
e650e098f4 Replace usage of ifup and ifdown in the reboot test with ifconfig. 2015-08-07 00:29:36 +00:00
Max Forbes
acef505cfd Implement 'Nodes Network' test for GKE; add optional verbose SSH. 2015-08-06 14:25:53 -07:00
Stef Walter
cd4f0b43ef test: End to end test for kubectl proxy --unix-socket 2015-08-06 11:56:48 +02:00
Mike Danese
fe6b15ba2f rewrite all links to issues to k8s links 2015-08-05 21:11:11 -07:00
Mike Danese
17defc7383 run gofmt on everything we touched 2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28 rewrite go imports 2015-08-05 17:30:03 -07:00
Dawn Chen
13258e8f8f Merge pull request #12091 from mwielgus/spark-flaky
Fix spark-driver in examples/spark
2015-08-05 12:03:34 -07:00
Marcin Wielgus
41bc20d1e0 Fix spark-driver in examples/spark 2015-08-05 15:45:43 +02:00
Alex Mohr
ea0c35b72b Add timestamps to test info logs.
This should improve forensics on failed tests based with only the output to make the timing recoverable, with the hope that flaky tests will be easier to debug as a result.

Before:
INFO: foo

After:
Aug  4 17:42:14.876: INFO: foo
2015-08-04 23:28:12 -07:00
Alex Mohr
bcb6e1e107 Fix e2e scheduler_predicates.go to have 10 minute timeout instead of 2
minutes.

On an n1-standard-1 with only this test running, 2 minutes was enough
to create 189 pods out of the 300 desired.  On slower VMs or with more
activity on the master (such as with parallel tests), 2 minutes is
nowhere near enough.  This is a functional test, not a performance
test.
2015-08-04 22:59:30 -07:00
Alex Mohr
1b6089a783 Merge pull request #11196 from yujuhong/resource_monitor
Auto commit by PR queue bot
2015-08-04 18:06:18 -07:00
Alex Mohr
2d81775a2d Merge pull request #11151 from gmarek/max_pods_e2e
Auto commit by PR queue bot
2015-08-04 15:11:13 -07:00
Alex Mohr
366b382901 Merge pull request #10200 from caesarxuchao/resthandler-validate-version
verify and default APIVersion in createHandler, verify APIVersion in UpdateResource
2015-08-04 13:09:31 -07:00
Alex Mohr
1311b9dce1 Merge pull request #11886 from gmarek/ratelimit
Auto commit by PR queue bot
2015-08-04 11:39:53 -07:00
Alex Mohr
5068c9ff32 Merge pull request #8905 from justinsb/e2e_log_events_on_service_mutation
Auto commit by PR queue bot
2015-08-04 10:58:25 -07:00
Alex Mohr
6d16c18d6f Merge pull request #12078 from gmarek/move_nodecontroller
Auto commit by PR queue bot
2015-08-03 16:49:57 -07:00
Chao Xu
664d20c572 Add DecodeIntoWithSpecifiedVersionKind() to Decoder interface.
The function validate/default the body with the passed in apiVersion and Kind.
It's called in createHandler and UpdateResource
2015-08-03 15:30:00 -07:00
Alex Mohr
d8b01b0a19 Merge pull request #12114 from caesarxuchao/update-pod-error-message
improve the error message of update/patch pod
2015-08-03 15:15:04 -07:00
Brendan Burns
2e68002f31 Merge pull request #11692 from wojtek-t/new_api_instance_groups
Auto commit by PR queue bot
2015-08-03 11:07:36 -07:00
gmarek
d27ad5b714 Controller codebase refactoring 2015-08-03 17:06:25 +02:00
gmarek
4cc0a2f117 Allow changing Schedulers RateLimitter setting during startup. 2015-08-03 15:27:19 +02:00
Wojciech Tyczynski
2d95cd454c Swich to new gcloud API for GCE MIGs 2015-08-03 09:56:25 +02:00
Jerzy Szczepkowski
972dcfaa4f Fixed flakiness of resize nodes test.
Fixed flakiness of resize nodes test by increasing timeout for waiting for change of size of managed instance group with nodes. Fixes #11442.
2015-08-03 09:51:17 +02:00
Chao Xu
18d32751fd improve the error message of update pod 2015-08-02 13:41:53 -07:00
Mike Danese
cf4cb1a6a3 Merge pull request #10474 from kargakis/scale-multiple-controllers
Enable scaling multiple controllers
2015-07-31 14:51:43 -07:00
kargakis
0e796ca09a Enable scaling multiple controllers 2015-07-31 10:24:59 +02:00
Muhammed Uluyol
58a875ac2c Add (stopgap) support for an experimental API prefix. 2015-07-30 18:14:29 -07:00
Mike Danese
853ea5bab2 Merge pull request #11880 from mwielgus/rethinkdb-flaky
Add retry logic to http service request in test/e2e/examples.go
2015-07-30 17:37:06 -07:00
Mike Danese
51a7a38f67 Merge pull request #12020 from wojtek-t/move_to_storage
Move storage-related code to pkg/storage
2015-07-30 16:23:03 -07:00
Mike Danese
452bdcae2d Merge pull request #11895 from derekwaynecarr/vagrant_confornamce_tickbox
Vagrant passes conformance tests at HEAD
2015-07-30 10:35:34 -07:00
Brendan Burns
1d9a0623f2 Merge pull request #11047 from gurvindersingh/master
modified spark example to use kubectl exec to interact with cluster a…
2015-07-30 10:01:10 -07:00
Mike Danese
0ae48c449e Merge pull request #11927 from wojtek-t/remove_shell_services
Remove shell services test
2015-07-30 09:56:38 -07:00
Mike Danese
71536711a4 Merge pull request #11811 from gmarek/framework
Move addon_update e2e test to framework
2015-07-30 08:23:16 -07:00
Wojciech Tyczynski
3cbbe72f9f Move etcd storage to pkg/storage/etcd 2015-07-30 15:42:06 +02:00
Wojciech Tyczynski
2c5c1931e5 Revert "Implement 'Nodes Network' test for GKE" 2015-07-30 15:29:01 +02:00
Marcin Wielgus
aa7d009b96 Add retry logic to http service request in test/e2e/examples.go 2015-07-30 14:36:35 +02:00
Wojciech Tyczynski
99d6b0e9f4 Rename storage interfaces 2015-07-30 10:34:57 +02:00
Gurvinder Singh
e1d76d5f19 added test for spark driver too 2015-07-30 09:47:56 +02:00
gmarek
01c3c0f4e1 Move addon_update e2e test to framework 2015-07-30 09:42:13 +02:00
Wojciech Tyczynski
d17985f1ad Move StorageInterface to pkg/storage. 2015-07-30 09:32:04 +02:00
Mike Danese
59a1dd4267 Merge pull request #11789 from mbforbes/nodesNetwork
Implement 'Nodes Network' test for GKE
2015-07-29 17:43:33 -07:00
Paul Morie
5394aa979f Make emptyDir volumes work for non-root UIDs 2015-07-29 18:36:51 -04:00
Brendan Burns
72db883b90 Merge pull request #11050 from marekbiskup/dns-example-e2e
e2e test for dns example
2015-07-29 13:10:26 -07:00
Mike Danese
bed0e1e1b0 Merge pull request #11915 from AnanyaKumar/controller-refactor
Refactor package controller
2015-07-29 11:20:14 -07:00
Mike Danese
e864569f80 Merge pull request #11003 from jayunit100/prom-push
[contrib + e2e] prometheus: add pushgateway functionality to prometheus allinone deployment along w/ runRC Gauge reporting.
2015-07-29 11:12:02 -07:00
Mike Danese
b1730b35e4 Merge pull request #11785 from timstclair/tests
Use prometheus extraction library for metric parsing in e2e tests
2015-07-29 10:53:19 -07:00
Ananya Kumar
47dd0bc6f9 Refactor package controller 2015-07-29 09:54:35 -07:00
derekwaynecarr
01ec50deb4 Vagrant passes conformance tests at HEAD 2015-07-29 10:16:39 -04:00
Wojciech Tyczynski
7ce51db40d Rename StorageInterface methods 2015-07-29 08:02:13 +02:00
Brendan Burns
54eb143342 Merge pull request #10745 from justinsb/e2e_fix_resize_nodes
e2e fix resize nodes
2015-07-28 15:57:10 -07:00
saadali
09c137e99b Fix flaky PD test by adding wait for detach 2015-07-28 11:25:46 -07:00
Justin Santa Barbara
62bb38af21 e2e: Improve logging while waiting for node readiness
Per suggestions by mbforbes
2015-07-28 12:41:40 -04:00
Wojciech Tyczynski
b69ef7b5ca Remove shell services test 2015-07-28 17:14:18 +02:00
jayunit100
739e79dd9f Modularized implementation of prompush json with e2e running pending push gateway gauges. 2015-07-28 09:29:57 -04:00
Marek Biskup
860822431b e2e test for dns example 2015-07-28 08:34:38 +02:00
Marek Biskup
eb43cbb5dc e2e: reading stdin in kubectl 2015-07-28 08:30:59 +02:00
Daniel Smith
3900272c1a Merge pull request #10813 from jlowdermilk/kubectl-e2e
`kubectl proxy` supports picking random unused port, add e2e test
2015-07-27 14:23:37 -07:00
Daniel Smith
e45c6f9847 Merge pull request #11294 from mwielgus/hazelcast_e2e
E2E test for examples/hazelcast
2015-07-27 11:46:47 -07:00
Jeff Lowdermilk
69166f17ad e2e test for kubectl proxy 2015-07-27 09:57:33 -07:00
gmarek
36aff274f1 Add test that verifies that we don't allow resource overallocation on Nodes 2015-07-27 16:37:57 +02:00
Marek Grabowski
7b9e2ac63b Merge pull request #11734 from thockin/cleanup-deprecated-rest-alias
Remove deprecated 'se' resource alias
2015-07-27 12:56:43 +02:00
Marcin Wielgus
02b431da46 E2E tests for examples/hazelcast 2015-07-27 12:10:17 +02:00
Marek Grabowski
7cc1855c27 Merge pull request #11806 from wojtek-t/private_etcd_helper
Make EtcdHelper private - expose only StorageInterface
2015-07-27 11:21:28 +02:00
Marek Grabowski
831827b4bb Merge pull request #11056 from wojtek-t/rewrite_services_in_go
Rewrite services shell test in Go.
2015-07-27 09:21:44 +02:00
Wojciech Tyczynski
9d943df397 Private EtcdHelper 2015-07-27 09:20:13 +02:00
Justin Santa Barbara
9cd746e74d e2e: check return values in resize_nodes
We weren't actually testing the return values in resize_nodes; and
I don't believe that was deliberate.
2015-07-26 22:27:07 -04:00
Justin Santa Barbara
638a19eb29 Spelling (non-code): test/e2e/resize_nodes.go 2015-07-26 22:27:07 -04:00
Justin Santa Barbara
8ce6c2db96 e2e: Check that node is healthy before isolating from master
We simulate network failure, check the node is offline, and then check
it recovers.  This adds a check that the node is online before simulating
network failure.
2015-07-26 22:27:07 -04:00
Justin Santa Barbara
584a6f27ad Introduce framework in e2e services; should log events on failure
Once #8887 merges this should show errors in load balancer creation.

Even before then, it may show another error.

Bug #8892
2015-07-26 18:55:34 -04:00
Max Forbes
bd9e09ba00 Implement 'Nodes Network' test for GKE 2015-07-24 17:05:30 -07:00
Mike Danese
6ca0151ff1 Merge pull request #11807 from mwielgus/scale_rc_fix
Add scale retry in ScaleRC in test/e2e/util.go
2015-07-24 15:25:48 -07:00
Yu-Ju Hong
12a252bd8b e2e: add resourceMontior to poll resource usages on the nodes
This change adds resourceMontior, which spawns a goroutine per node to poll the
container stats for known, relevant containers, computes the resource usage and
stores the data. Users can then examine the data in the buffer to get resource
of each individual containers.
2015-07-24 15:13:36 -07:00
Janet Kuo
565a13e8db E2E tests for kubectl run command 2015-07-24 11:23:07 -07:00
Mike Danese
de6d870569 Merge pull request #11741 from jsafrane/devel/service-test
Use a service between e2e volume tests clients and servers.
2015-07-24 11:21:28 -07:00
Mike Danese
859f440f74 Merge pull request #11666 from wojtek-t/refactor_etcd_helper
Extract EtcdHelper interface
2015-07-24 11:07:46 -07:00
Tim St. Clair
a244357ccd Use prometheus extraction library for metric parsing in e2e tests 2015-07-24 10:28:46 -07:00
Mike Danese
ae1c8e55ef Merge pull request #11737 from thockin/cleanup-remove-v1beta3
Remove v1beta3
2015-07-24 10:25:56 -07:00
Marcin Wielgus
82cf645bad E2E tests for examples/rethinkdb 2015-07-24 14:51:52 +02:00
Jerzy Szczepkowski
7645513d2a Merge pull request #10749 from mwielgus/secret_and_downward
E2E tests for examples/downward-api and examples/secrets
2015-07-24 14:18:34 +02:00
Jerzy Szczepkowski
1081003e45 Merge pull request #11691 from gmarek/scale_e2e
Remove Scale e2e test
2015-07-24 14:15:42 +02:00
Marcin Wielgus
561dd7d18b Add scale retry in ScaleRC in test/e2e/util.go 2015-07-24 14:12:55 +02:00
Jerzy Szczepkowski
496895d610 Revert "Improve SSH logging for debugging" 2015-07-24 13:36:16 +02:00
Marcin Wielgus
40f3dc2f32 E2E tests for examples/downward-api and examples/secrets 2015-07-24 12:32:04 +02:00
Jerzy Szczepkowski
8ea206b8fb Merge pull request #10920 from mwielgus/kubectl_e2e
E2E tests for kubectl commands (api-versions, cluster-info, describe)
2015-07-24 12:25:00 +02:00
Jerzy Szczepkowski
ffa8c706db Merge pull request #10702 from mwielgus/liveness_e2e
E2E test for examples/liveness
2015-07-24 12:20:03 +02:00
Marcin Wielgus
5ec7109fc1 E2E tests for kubectl commands (api-versions, cluster-info, describe) 2015-07-24 10:53:51 +02:00
Jerzy Szczepkowski
0be5405afd Merge pull request #11685 from piosz/autoscaling_e2e
Added cluster size autoscaling e2e test
2015-07-24 10:26:33 +02:00
Marcin Wielgus
2471e0b892 E2E test for examples/liveness 2015-07-24 10:03:48 +02:00
Jerzy Szczepkowski
5c014062f6 Merge pull request #11074 from yujuhong/monitor_resource
e2e: query kubelet for resource usage of containers
2015-07-24 09:43:25 +02:00
Jerzy Szczepkowski
6488ac5512 Merge pull request #11778 from mbforbes/sshLog
Improve SSH logging for debugging
2015-07-24 09:36:52 +02:00
Wojciech Tyczynski
fdb3f45077 Extract EtcdHelper interface 2015-07-24 09:28:02 +02:00
Vish Kannan
6fc1a4b415 Merge pull request #11719 from timstclair/addon-e2e
Add e2e test for kube-ui addon
2015-07-23 18:04:17 -07:00
Vish Kannan
1a908a272e Merge pull request #11076 from nikhiljindal/apiError
Updating apiserver to not return 500 when a service without pods is proxied
2015-07-23 18:03:07 -07:00
Max Forbes
e24ab02f05 Move e2e SSH utils to e2e/ssh package; improve SSH logging. 2015-07-23 17:57:46 -07:00
Vish Kannan
6306ad1bce Merge pull request #11736 from thockin/cleanup-dns-legacy
Stop populating legacy DNS names
2015-07-23 17:30:00 -07:00
Tim Hockin
1c3233a1d4 Remove v1beta3 2015-07-23 17:21:27 -07:00
Vish Kannan
e35ee9b3b6 Merge pull request #11500 from mbforbes/fasterLiveness
Makes liveness test faster
2015-07-23 17:08:38 -07:00
Vish Kannan
8733309757 Merge pull request #11466 from pmorie/hostpath-e2e
Cleanup hostPath e2e tests
2015-07-23 17:08:07 -07:00
Max Forbes
e704004a53 Change Fail(fmt.Sprintf(...)) to Failf(...) 2015-07-23 16:03:34 -07:00
Max Forbes
a4112ded7b Make liveness test faster 2015-07-23 14:56:04 -07:00
Vish Kannan
cc326c714b Merge pull request #11561 from saad-ali/issue11231
Fix GCE PD attach/detach issues
2015-07-23 14:53:45 -07:00
Max Forbes
5ff1566aac Support gcloud rolling-update command in 'preview' and 'alpha compute' 2015-07-23 14:16:31 -07:00
saadali
234f3ed814 Make GCE PD attach block on pending detach. Retry on detach/attach errors. 2015-07-23 14:03:50 -07:00
Tim Hockin
4e1630d3a9 Stop populating legacy DNS names 2015-07-23 13:51:09 -07:00
Tim Hockin
c4b707192d Remove deprecated 'se' resource alias 2015-07-23 12:04:01 -07:00
Tim St. Clair
fe84780744 Add e2e for kube-ui addon 2015-07-23 11:38:29 -07:00
Vish Kannan
93cd8cc2ef Merge pull request #11747 from mwielgus/kubectl_version
E2E test for kubectl version
2015-07-23 09:26:55 -07:00
Wojciech Tyczynski
fdd7f1e4b2 Rewrite services shell test in Go. 2015-07-23 16:16:45 +02:00
Marcin Wielgus
0a9a8aa45e E2E test for kubectl version 2015-07-23 14:16:50 +02:00
Marcin Wielgus
3d82de849f E2E test for examples/storm 2015-07-23 13:20:52 +02:00
Wojciech Tyczynski
db2d4a2b08 Merge pull request #10986 from wojtek-t/test_in_non_default_namespaces
Migrate tests to non-default namespaces
2015-07-23 13:00:27 +02:00
Marcin Wielgus
2744ed2247 E2E test for examples/cassandra 2015-07-23 12:20:50 +02:00
Wojciech Tyczynski
959477463f Migrate tests to non-default namespaces 2015-07-23 12:04:10 +02:00
Jan Safranek
118004c166 Use a service between e2e volume tests clients and servers.
This helps with routing of TCP traffic between clients and servers in case
flannel or similar service is not installed and pods don't see each other.


- It needs 'insecure' in /etc/exports to allow NFS clients on ports > 1024,
  Kubernetes service will change client port to a random number.

- glusterfs no longer needs explicit endpoint definition, it uses the service
  instead.
2015-07-23 11:51:43 +02:00
Marcin Wielgus
bad01214a7 E2E tests for examples/spark 2015-07-23 10:43:31 +02:00
Wojciech Tyczynski
648c57e3e1 Merge pull request #10990 from mwielgus/kubectl_expose
E2E test for kubectl expose
2015-07-23 10:42:44 +02:00
Vish Kannan
d9bb171f8a Merge pull request #11620 from mbforbes/mcSkipGKE
Remove deprecated master certs test
2015-07-22 17:11:49 -07:00
Vish Kannan
a6b69710fe Merge pull request #11607 from mbforbes/addonClarify
Clarify bits of addon e2e test
2015-07-22 17:03:58 -07:00
Vish Kannan
f350c5226f Merge pull request #11618 from mbforbes/etcdSkipGKE
Clarify etcd failure e2e test requirements
2015-07-22 17:01:18 -07:00
Vish Kannan
b321cff1e4 Merge pull request #11612 from mbforbes/shellSkipGKE
Skip GKE for shell services test and make clear why
2015-07-22 17:00:36 -07:00
Vish Kannan
b27f99bd43 Merge pull request #11030 from justinsb/e2e_aws_lb_changes_on_service_change
e2e: For AWS, tolerate an LB change when the service changes
2015-07-22 16:32:10 -07:00
Piotr Szczesniak
6b6d2c6aef Added cluster size autoscaling e2e test 2015-07-22 17:26:07 +02:00
gmarek
4e0c2f245e Remove Scale e2e test 2015-07-22 15:44:42 +02:00
Max Forbes
5e195b4f04 Remove deprecated master certs test 2015-07-21 15:42:37 -07:00
Max Forbes
c8dcd1cc20 Clarify etcd failure e2e test requirements 2015-07-20 14:53:39 -07:00
Max Forbes
044e0a92aa Skip GKE for shell services test and make clear why 2015-07-20 14:35:09 -07:00
Yu-Ju Hong
378a44a287 e2e: query kubelet for resource usage of containers
This change adds simple utility functions to query kubelet for the resource
usage of major containers (e.g. /kubelet, /docker-daemon, etc) for the past
time interval (up to 2 minutes). This is intended for spot checking of the
recent resource usage on the node.
2015-07-20 14:26:33 -07:00
Max Forbes
518ddd62c8 Clarify bits of addon e2e test 2015-07-20 14:10:48 -07:00
Paul Morie
e677386f6b Cleanup hostPath e2e tests 2015-07-17 16:25:19 -04:00
nikhiljindal
1517b66001 Updating an error to apierror 2015-07-15 16:43:59 -07:00
Wojciech Tyczynski
27dd99a1da Log failures in Proxy e2e tests 2015-07-15 14:38:54 +02:00
Mike Danese
337772a91f fix all tests 2015-07-14 21:51:30 -07:00
Eric Tune
9079606175 Merge pull request #11217 from wojtek-t/store_monit_logs
Store monit logs from Jenkins runs
2015-07-14 15:00:07 -07:00
Eric Tune
f23f7a1977 Merge pull request #11256 from mikedanese/fix-e2e
temporary fix e2e by duping files
2015-07-14 13:09:02 -07:00
Eric Tune
3043e05a90 Merge pull request #11242 from JanetKuo/e2e-util-waiting
Fix the bug that some waits in e2e test don't actually happen
2015-07-14 13:03:56 -07:00
Mike Danese
1e85c9cf92 temporary fix e2e by duping files 2015-07-14 13:02:59 -07:00
Eric Tune
0b597aaf66 Merge pull request #11239 from mikedanese/user-docs-move
Move user docs to docs/user-guide/
2015-07-14 12:40:23 -07:00
Mike Danese
2476d78ac2 point tests to new doc location 2015-07-14 12:23:16 -07:00
Eric Tune
914b6fe25b Merge pull request #10185 from mesosphere/exclusive-port-range
Fix default service node port range in e2e test
2015-07-14 12:00:39 -07:00
Janet Kuo
b2e8936d1c Fix the bug that some waits don't actually happen 2015-07-14 10:45:56 -07:00
Wojciech Tyczynski
f9cfa1b3b1 Store monit logs from Jenkins runs 2015-07-14 12:01:15 +02:00
Marcin Wielgus
21ce6624e3 E2E test for kubectl expose 2015-07-14 11:37:30 +02:00
Tim Hockin
69b5b2c2aa Merge pull request #11142 from mwielgus/kubectl_e2e_patch
E2E tests for kubectl logs and patch
2015-07-13 17:04:20 -07:00
Tim Hockin
ce25e164e7 Merge pull request #11128 from justinsb/e2e_pd_contents
e2e: Add test to pd that disk contents are preserved
2015-07-13 15:45:02 -07:00
Tim Hockin
3452748de9 Merge pull request #11077 from krousey/service_flake
Adding retry logic around service updates
2015-07-13 13:06:02 -07:00
Wojciech Tyczynski
8d98ad7a76 Retry 'service unavailable' failures in proxy test 2015-07-13 16:43:49 +02:00
Marcin Wielgus
f8d30c1b1e E2E tests for kubectl logs and patch 2015-07-13 14:30:09 +02:00
Justin Santa Barbara
f9dc7c189c e2e: Add test to pd that disk contents are preserved
Issue #11012 reported that disk contents may be lost (sometimes).

We should have an e2e test to verify this is not happening.

(If it is happening, we should then fix it!)
2015-07-12 18:50:32 -04:00
Tim Hockin
ea9272c4b7 Merge pull request #11080 from satnam6502/reboot
Fix reboot test to use system namespace
2015-07-12 15:17:53 -07:00
Justin Santa Barbara
f861d92e56 e2e: AWS: Increase timeout on the node resize tests
Regularly hitting these timeouts, it seems that AWS is just slower to boot;
this makes sense - AWS uses a standard image for example, so has more software
to install (never mind any arguments about the clouds themselves!)
2015-07-11 17:17:12 -04:00
Satnam Singh
910603bba9 Fix reboot test to use system namespace 2015-07-11 09:05:05 -07:00
Rohit Jnagal
d61d272beb Merge pull request #10974 from brendandburns/lakesong
Automatically open a firewall when creating a GCE load balancer.
2015-07-10 19:21:06 -07:00
Rohit Jnagal
3c71eb652c Merge pull request #11068 from alex-mohr/e2e-gke
Add GKE coverage for e2e tests that support both GCE and GKE
2015-07-10 15:43:52 -07:00
Rohit Jnagal
6dc16f9442 Merge pull request #11005 from mbforbes/upgradePickVersion
Allow upgrade target version to be specified
2015-07-10 15:20:29 -07:00
Brendan Burns
a8f02e5472 Automatically open a firewall when creating a GCE load balancer. 2015-07-10 14:35:29 -07:00
Alex Mohr
a885166890 Add GKE coverage for e2e tests that support both GCE and GKE 2015-07-10 14:07:24 -07:00
Kris Rousey
aca4559bbd Adding retry logic around service updates 2015-07-10 13:38:37 -07:00
Rohit Jnagal
e3b8ad945b Merge pull request #11019 from caesarxuchao/e2e_waitforallpods
ignore pods that are failed but controlled by a rc when start e2e tests
2015-07-10 12:22:01 -07:00
Brendan Burns
86f54b4d05 Merge pull request #11035 from nikhiljindal/nettest
Updating nettest image to latest code
2015-07-09 22:08:01 -07:00
Victor Marmol
4e75e84994 Merge pull request #11025 from mbforbes/restart
Move code to prepare for e2e/restart transition
2015-07-09 21:08:27 -07:00
Victor Marmol
68a62fef95 Merge pull request #11010 from derekwaynecarr/enable_test_vagrant
Enable e2e networking test for intra-pod communication for vagrant
2015-07-09 21:08:03 -07:00
nikhiljindal
90d371c98f Updating nettest image to latest code 2015-07-09 18:07:18 -07:00
Justin Santa Barbara
627261082c e2e: For AWS, tolerate an LB change when the service changes
We have an issue to track the problem: #11002

The test was serving as a reminder that this needed fixing, but
for v1 we should just test what we expect to happen.
2015-07-09 19:57:21 -04:00
Victor Marmol
d864d271af Merge pull request #10999 from derekwaynecarr/skip_tests
Skip service tests that require external load balancer when using vagrant provider
2015-07-09 16:04:35 -07:00
Max Forbes
3d9de02b78 Move code to prepare for e2e/restart transition 2015-07-09 16:02:27 -07:00
Chao Xu
3db73bbe8c ignore pods that are failed but controlled by a rc when start e2e tests 2015-07-09 15:44:55 -07:00
Max Forbes
7cfabea2d3 E2E upgrade test: allow upgrade target version to be specified via command line. 2015-07-09 14:28:58 -07:00
Victor Marmol
ffc5a86098 Merge pull request #11001 from satnam6502/e2e-es
Fix error with variable re-declaration in ES logging test
2015-07-09 14:23:39 -07:00
Victor Marmol
fbc6e7f5f5 Merge pull request #11008 from krousey/nodesflake
Adding polling to all node readiness
2015-07-09 14:23:29 -07:00
Victor Marmol
b45115dd2c Merge pull request #10964 from JanetKuo/e2e-kubectl-label
E2E tests for kubectl label command
2015-07-09 14:22:35 -07:00
Kris Rousey
3058ddad19 Adding polling to all node readiness 2015-07-09 12:26:16 -07:00
derekwaynecarr
26c924a96d DNS is supported on vagrant so enable test 2015-07-09 15:09:29 -04:00
Satnam Singh
9c82b4b6c8 Fix error with variable re-declaration in ES logging test 2015-07-09 10:10:48 -07:00
derekwaynecarr
8da819f39f Skip test on vagrant provider 2015-07-09 12:47:12 -04:00
Victor Marmol
edaa1a69e5 Merge pull request #10525 from nikhiljindal/delbeta3
Stop exposing v1beta3 by default
2015-07-09 08:38:32 -07:00
Wojciech Tyczynski
977b1d9579 Merge pull request #10823 from piosz/real_test
Added load test with pods doing real works
2015-07-09 11:26:47 +02:00
Janet Kuo
ea092fd77b E2E tests for kubectl label command 2015-07-08 23:36:16 -07:00
nikhiljindal
c465a50891 Stop exposing v1beta3 by default 2015-07-08 15:27:41 -07:00
Satnam Singh
31fe4da2cd End to end test for Kibana liveness 2015-07-08 14:01:56 -07:00
Marcin Wielgus
2bf1e50b8a Flower service and updated kubectl outputs in examples/clery-rabbitmq 2015-07-08 11:10:59 +02:00
Piotr Szczesniak
3fb39542d0 Added load test with pods doing real works 2015-07-08 11:01:41 +02:00
saadali
e89f3375f2 Fix "Docker Containers should be able to override the image's default commmand" tests 2015-07-07 15:52:01 -07:00
Wojciech Tyczynski
54f2305dec Check whether all nodes are healthy in e2e framework 2015-07-07 13:53:03 +02:00
gmarek
460935236d Add additional loging to max_pods e2e test 2015-07-07 09:16:34 +02:00
Wojciech Tyczynski
34dd9c7880 Merge pull request #10802 from bprashanth/max_containers_fail
Don't ignore containers restarting during tests
2015-07-07 09:12:09 +02:00
Prashanth Balasubramanian
b0bbd5b8d5 Don't ignore containers restarting during tests 2015-07-06 18:36:59 -07:00
Yu-Ju Hong
a60638d760 Merge pull request #10718 from justinsb/e2e_aws_block_master_by_ip
e2e: For AWS, block master by (hard-coded) IP
2015-07-06 17:41:37 -07:00
Yu-Ju Hong
a267e04e54 Merge pull request #10705 from mwielgus/delete_namespace_in_e2e
Remove deferred cleanups from tests/e2e/examples.go
2015-07-06 16:14:59 -07:00
Yu-Ju Hong
4b2d73dcb3 Merge pull request #10487 from satnam6502/sys-namespace
Move cluster level services to the kube-system namespace
2015-07-06 15:35:45 -07:00
Yu-Ju Hong
934af8f220 Merge pull request #10703 from jszczepkowski/e2e-restart
Fixed flakiness of firewall cases of e2e reboot test.
2015-07-06 15:10:29 -07:00
Brendan Burns
988aa6fdf6 Move things into a 'kube-system' namespace. 2015-07-06 15:08:23 -07:00
Yu-Ju Hong
c8f8e5f333 Merge pull request #10649 from mesosphere/service-test-timeout
Add timeout to service endpoint resolution e2e test
2015-07-06 15:05:36 -07:00
Yu-Ju Hong
cfb10b5a5b Merge pull request #10770 from mbforbes/streamOutput
Cluster upgrade: make command calling stream stdout/stderr.
2015-07-06 14:37:27 -07:00
Yu-Ju Hong
1817f746d5 Merge pull request #10758 from mikedanese/test-server
deflake container_probe test by using test-webserver from gcr.io
2015-07-06 12:13:28 -07:00
Max Forbes
f40b9f971f Cluster upgrade: make command calling stream stdout/stderr. 2015-07-06 11:37:00 -07:00
Yu-Ju Hong
5e21a040ca Merge pull request #10329 from bprashanth/density_logging
Add clarity to density test
2015-07-06 10:55:19 -07:00
Mike Danese
1f59d793ad fixup container probe test to use gcr.io/google_containers/test-webserver and add some debug testing and reduce the test length 2015-07-06 09:54:15 -07:00
Yu-Ju Hong
c698c0839b Merge pull request #9763 from pmorie/expand-e2e
Add e2e for variable expansion
2015-07-06 09:35:23 -07:00
Justin Santa Barbara
86640ab3e3 e2e: For AWS, block master by (hard-coded) IP
GCE/GKE refers to it by name, which doesn't resolve on AWS
(at least, this name doesn't!)

We should probably pass in an additional command-line parameter;
there are plenty of TODO markers around this code.
2015-07-06 10:57:22 -04:00
Wojciech Tyczynski
977a775a6f Wait for nodes to be ready after cluster resizing 2015-07-06 11:53:34 +02:00
Paul Morie
3079a1eb3d Add e2e for variable expansion 2015-07-05 21:23:27 -04:00
Prashanth Balasubramanian
7bc32b5a47 Use gcloud to list nodes so we know their ips 2015-07-05 13:44:18 -07:00
Prashanth Balasubramanian
f2b687d53f Density logging 2015-07-05 13:28:36 -07:00
Prashanth B
bb6f2f7ad9 Merge pull request #10716 from justinsb/spelling
Misc (non-code) spelling fixes
2015-07-05 11:23:17 -07:00
Justin Santa Barbara
fca7822800 Misc (non-code) spelling fixes 2015-07-04 10:39:37 -04:00
Marcin Wielgus
77aae74570 Remove deferred cleanups from tests/e2e/examples.go 2015-07-03 11:28:55 +02:00
Wojciech Tyczynski
b96d2296b4 Delete namespace after test 2015-07-03 11:04:32 +02:00
Jerzy Szczepkowski
1bd0c1b43a Fixed flakiness of firewall cases of e2e reboot test.
Fixed flakiness of firewall cases of e2e reboot test: blocking packages on firewall was also blocking localhost and was causing kubelet to be restarted by monit.
2015-07-03 10:32:18 +02:00
Nikhil Jindal
974377b306 Merge pull request #10481 from gmarek/max_pods_e2e
Add max-pods e2e test
2015-07-02 15:26:46 -07:00
Jeff Grafton
db5d24c6b4 e2e: update namespace test to create/delete test namespaces in parallel
The namespace test is currently taking about 18 minutes because it
creates and deletes namespaces sequentially, and for various reasons it
takes at least 10 seconds for each namespace.

By parallelizing the creation and deletion of namespaces, this test now
takes about 2-3 minutes.
2015-07-01 17:53:01 -07:00
Zach Loafman
700a6441de Merge pull request #10313 from yujuhong/kubelet_delete
Add an e2e test to verify that pods are deleted on nodes
2015-07-01 16:47:30 -07:00
Yu-Ju Hong
a10a6a296e Add an e2e test to verify that pods are deleted on nodes
The test verifies that kubelet deletes the pods/containers within a reasonable
time. It queries the kubelet /runningpods endpoint to retrieve a list of
running pods directly. The outline of the test is:

 - Create an RC
 - Wait until all pods are running (based on the pod status)
 - Verify pods are running by querying the /runningpods
 - Delete the RC
 - Check all pods are deleted by querying /runningpods
2015-07-01 16:24:58 -07:00
Zach Loafman
e5670c104d Merge pull request #10604 from nikhiljindal/v1
Updating scripts to use v1 instead of v1beta3
2015-07-01 15:54:17 -07:00
Karl Isenberg
f1d6439c2e Add timeout to service endpoint resolution e2e test 2015-07-01 14:58:37 -07:00
nikhiljindal
274792d7bb Stop exposing v1beta3 by default 2015-07-01 14:38:02 -07:00
Marek Biskup
8df3a9cae8 namespaces in addon update 2015-07-01 21:31:52 +02:00
Zach Loafman
4f9cfc84c4 Merge pull request #10180 from mwielgus/e2e_examples
E2E tests for Redis and Celery-RabbitMq examples
2015-07-01 12:02:27 -07:00
Zach Loafman
00193bf1ac Merge pull request #10529 from jlowdermilk/upgrade-aware-proxy-ssh
Make UpgradeAwareProxyHandler use transport.Dial if provided
2015-07-01 12:01:01 -07:00
Zach Loafman
0b3d1b6f3b Merge pull request #10607 from wojtek-t/higher_load_metrics
Increase latency metrics limit in capacity load
2015-07-01 12:00:09 -07:00
Jeff Lowdermilk
4b36b421aa e2e test for kubectl exec, port-forward 2015-07-01 10:56:10 -07:00
Marek Biskup
7873e252f0 addon updater should not retry too many times because specs may be invalid 2015-07-01 16:22:32 +02:00
Wojciech Tyczynski
fa60ad310b Merge pull request #10376 from lavalamp/e2eSSHKey
Fix service latency test.
2015-07-01 12:30:27 +02:00
Wojciech Tyczynski
d875082203 Increase latency metrics limit in capacity load 2015-07-01 09:23:34 +02:00
nikhiljindal
2e9e46dd08 Updating scripts to use v1 instead of v1beta3 2015-07-01 00:23:16 -07:00
gmarek
c86e18846b Add max-pods e2e test 2015-07-01 09:21:42 +02:00
Zach Loafman
df753b74ed Merge pull request #10509 from nikhiljindal/getToPost
Support both GET and POST methods in api server for /exec and /portforward
2015-06-30 15:56:31 -07:00
Marcin Wielgus
b5600fee12 E2E tests for Redis and Celery-RabbitMq examples 2015-07-01 00:25:58 +02:00
Zach Loafman
f754b8e1df Merge pull request #10523 from liggitt/service_account_api_token_admission
Add option to require API tokens to exist in admission
2015-06-30 15:09:49 -07:00
Zach Loafman
b27da05ce6 Merge pull request #10574 from ixdy/coredump-always
e2e: call coreDump always when a report dir is specified
2015-06-30 14:25:09 -07:00
Zach Loafman
f304f1f96a Merge pull request #10547 from jszczepkowski/e2e-restart
Fixed flakiness of e2e reboot test.
2015-06-30 14:05:46 -07:00
Zach Loafman
5e8159ff92 Merge pull request #10455 from mikedanese/e2e-root-ca
make service_account e2e test verify that RootCA cert file exists
2015-06-30 14:02:01 -07:00
Jeff Grafton
f1c5b04100 e2e: call coreDump always when a report dir is specified 2015-06-30 13:30:10 -07:00
Jordan Liggitt
ecebac9395 Add option to require API tokens to exist in admission 2015-06-30 16:12:45 -04:00
Jerzy Szczepkowski
b4585a7883 Fixed flakiness of e2e reboot test.
Fixed flakiness of e2e reboot test caused by restarts of pods with liviness probe during node reboot. Fixes #9062.
2015-06-30 16:57:44 +02:00
nikhiljindal
e0d48d4983 Support both GET and POST methods for /exec and /portforward 2015-06-29 16:01:01 -07:00
Alex Robinson
450d36f7af Merge pull request #10301 from satnam6502/e2e
Retry namespace creation for e2e tests
2015-06-29 14:32:32 -07:00
Daniel Smith
358e90969a Fix service latency test.
* More accurate latency measurement.
* More lenient/sensible pass requirements.
2015-06-29 13:33:15 -07:00
Alex Robinson
99711263a1 Merge pull request #10035 from brendandburns/fix
Update the addons test so it doesn't try to create clients on providers aren
2015-06-29 11:45:09 -07:00
Marek Biskup
01e1d3710a add description to timeout messages 2015-06-29 10:25:39 +02:00
Mike Danese
595220d1a7 make service_account e2e test verify that RootCA cert file exists 2015-06-28 00:10:13 -07:00
Robert Bailey
f9db614f95 Merge pull request #10234 from mikedanese/rolling-update-weird
Detect if replicas have been defaulted in rolling-update and use old replica count
2015-06-26 12:54:35 -07:00
Robert Bailey
e5f44535a9 Merge pull request #10362 from bprashanth/latency_integration
Scrape latency stats from integration tests
2015-06-26 10:52:01 -07:00
Robert Bailey
198b334227 Merge pull request #10197 from mesosphere/ginkgo-skip
Use ginkgo's new Skip()
2015-06-26 10:44:34 -07:00
Brendan Burns
8690724443 Update the addons test so it doesn't try to create clients on providers that aren't gce. 2015-06-25 16:42:46 -07:00
Quinton Hoole
f4dc2071b3 Merge pull request #10340 from piosz/ping_e2e
Changed ping to netcat in Internet connection test
2015-06-25 15:49:18 -07:00
Maxwell Forbes
5e748c1d47 Merge pull request #10070 from lavalamp/e2eProxyFix
proxy e2e test improvements
2015-06-25 13:15:03 -07:00
Mike Danese
dd07df00ae reenable e2e test 2015-06-25 12:29:21 -07:00
Satnam Singh
59ee8c24ea Retry namespace creation for e2e tests 2015-06-25 12:18:42 -07:00
Prashanth Balasubramanian
cca4b720e5 Scrape latency stats from integration tests 2015-06-25 12:01:31 -07:00
Piotr Szczesniak
54a8a66329 Changed ping to netcat in Internet connection test
Follow up #10285
2015-06-25 20:48:25 +02:00
Maxwell Forbes
f6a66c2a50 Merge pull request #10015 from marekbiskup/allow-networking-test-on-one-node
enable networking test on a one-node local cluster
2015-06-25 10:58:38 -07:00
Maxwell Forbes
d0eeb98e27 Merge pull request #10215 from ZJU-SEL/enhance-testContainerOutput
Enhance test api to support test cases involved multiple containers
2015-06-25 10:56:13 -07:00
Maxwell Forbes
8b0efe8b85 Merge pull request #10345 from wojtek-t/increase_rc_timeout
Increase timeout for waiting for pods running in load test
2015-06-25 10:00:05 -07:00
Maxwell Forbes
655179dcfb Merge pull request #10264 from mikedanese/ca-token
add ca cert to token controller and all service accounts
2015-06-25 09:56:35 -07:00
Maxwell Forbes
2bb4cf3f8f Merge pull request #10266 from ArtfulCoder/kubelet_resolv
update docker's resolv.conf file with options ndots:5
2015-06-25 09:54:36 -07:00
Karl Isenberg
32a09cfcee Use Ginkgo Skip() to avoid failing when tests are skipped
- Added util methods: Skipf, SkipUnlessNodeCountIsAtLeast, SkipIfProviderIs,
  and SkipUnlessProviderIs
2015-06-25 09:50:25 -07:00
Wojciech Tyczynski
c151f6bc1f Increase timeout for waiting for RC in load test 2015-06-25 12:11:01 +02:00
Abhishek Shah
23caf446ae update docker's resolv.conf file with options ndots:5 2015-06-24 23:33:58 -07:00
He Simei
912e54789e Enhance test api to support test cases involved multiple containers 2015-06-25 09:29:19 +08:00
Maxwell Forbes
e71d162e9a Merge pull request #9922 from justinsb/aws_resize_tests
AWS: Enable resize tests
2015-06-24 16:43:37 -07:00
Maxwell Forbes
d1301d2b2a Merge pull request #10314 from mikedanese/dont-sigkill-over-and-over
remove repeat failure command option and increase timeouts in etcd failure e2e
2015-06-24 16:30:52 -07:00
Maxwell Forbes
6e3b9097c4 Merge pull request #10279 from marekbiskup/apiv1-in-addon-update-test
port Addon update test to v1 api
2015-06-24 16:10:09 -07:00
Justin Santa Barbara
4461daa218 AWS: Enabling resize tests 2015-06-24 19:01:42 -04:00
Mike Danese
5d8ffbaad9 remove repeat failure command option and increase timeouts in etcd failure test 2015-06-24 16:00:26 -07:00
Mike Danese
56bde3342a add ca to token controller and all service accounts 2015-06-24 15:10:20 -07:00
Maxwell Forbes
6d739c2b0a Merge pull request #10285 from piosz/ping_e2e
Added test that verify Internet connection from inside of container.
2015-06-24 15:01:11 -07:00
Daniel Smith
32114f6256 proxy e2e test improvements 2015-06-24 13:54:14 -07:00
Maxwell Forbes
26d3a4429d Merge pull request #9816 from erictune/conformance
Revive conformance test.
2015-06-24 13:20:46 -07:00
Piotr Szczesniak
8a219917a5 Added test that verify Internet connection from inside of container.
Fixes #9662
2015-06-24 20:11:22 +02:00
Maxwell Forbes
493e0cdb01 Merge pull request #10230 from ihmccreery/update-demo
Update update-demo to work for v1, and don't use localhost domain name
2015-06-24 11:07:43 -07:00
Maxwell Forbes
cf2bd9a18d Merge pull request #10273 from mbforbes/versionChange
Verify upgrades change node/master software version
2015-06-24 09:42:29 -07:00
Wojciech Tyczynski
8ca4d10026 Fix logging in scalability tests 2015-06-24 11:40:08 +02:00
Max Forbes
53179399e7 Verify upgrades change node/master software version 2015-06-24 01:01:00 -07:00
Marek Biskup
8144f55a6a port Addon update test to v1 api 2015-06-24 09:27:07 +02:00
Wojciech Tyczynski
5b4dc4edaa Merge pull request #10225 from wojtek-t/increase_deleting_namespace_timeout
Increase timeout for namespace deletion.
2015-06-24 08:35:02 +02:00
Wojciech Tyczynski
6b6b409814 Increase timeout for namespace deletion. 2015-06-24 08:05:26 +02:00
Wojciech Tyczynski
2a1834f7ed Reset metrics in tests 2015-06-24 08:04:21 +02:00
Jeff Lowdermilk
c3dd781385 Merge pull request #10233 from satnam6502/es-logging
Retry Elasticsearch logging health check
2015-06-23 11:46:05 -07:00
Satnam Singh
52461b772a Retry Elasticsearch logging health check 2015-06-23 10:49:46 -07:00
Isaac Hollander McCreery
6de8032113 Update kubectl test to include changes to rolling update 2015-06-23 09:36:29 -07:00
Dr. Stefan Schimanski
795e5b4d86 Fix default service node port range in e2e test
While the command line parameter --service-node-port-range is inclusive, the
actual data structure is exclusive.
2015-06-23 12:32:14 +02:00
Eric Tune
c5efb12a62 Revive conformance test.
Use KUBE_CONFIG_FILE instead of AUTH_CONFIG (and CERT_DIR).

Pass GINKGO_TEST_ARGS for a subset of e2e tests which
@erictune has deemed initially sufficient for conformance.

Allow GINKGO_TEST_ARGS to pass through hack/ginkgo-e2e.sh.

Set NUM_MINIONS (need better way to handle this).

Remove use of "KUBERNETES_CONFORMANCE_TEST" variable
and use of KUBERNETES_PROVIDER="conformance_test" convention,
both of which have no apparent purpose.

Allow unset testContext.provider in test/e2e/e2e_test.go
Allow testContext.Provider to be unset in providerIs().
2015-06-22 22:29:02 -07:00
Mike Danese
c5564502a6 don't fail etcd SIGKILL test when apiserver returns an error 2015-06-22 16:33:19 -07:00
Jeff Lowdermilk
bec793119b Merge pull request #10175 from wojtek-t/wait_for_namespaces
In scalability tests wait until terminating namespaces are deleted
2015-06-22 13:21:52 -07:00
Jeff Lowdermilk
7c7f25774f Merge pull request #10162 from brendandburns/core
Also grab the kubelet log from the master.
2015-06-22 12:01:47 -07:00
Jeff Lowdermilk
51e0647f41 Merge pull request #9967 from satnam6502/counter-rc
Synthetic counter RC for load testing
2015-06-22 10:38:10 -07:00
Jeff Lowdermilk
0f59847cc5 Merge pull request #9905 from justinsb/aws_ssh_user
Don't assume we always SSH as the current user
2015-06-22 10:37:07 -07:00
Wojciech Tyczynski
5cfa0ceb32 Enable latency tests as part of Density 2015-06-22 14:53:05 +02:00
Wojciech Tyczynski
47b6e6a84e Wait for terminating namespaces deletion 2015-06-22 14:53:05 +02:00
Wojciech Tyczynski
4a6e7b5053 Don't run 3 pods per node test 2015-06-22 14:53:04 +02:00
Marek Biskup
cdd143fbb6 timeout in addon_update e2e test increased 2015-06-22 12:36:20 +02:00
Brendan Burns
7f7a97671c Also grab the kubelet log from the master. 2015-06-20 21:01:02 -07:00
Justin Santa Barbara
efdd03a6a9 Don't assume we always SSH as the current user
This works on gcloud (where the user is dynamically created by the tool),
but doesn't hold on other clouds (e.g. AWS).

The function in pkg/util now takes a user arg, and it is called only
from the e2e tests, which now check for env-var KUBE_SSH_USER, and then
fall back to the existing behaviour of env-var USER.

I am using this from Jenkins by directly setting the env-var:

export KUBE_SSH_USER=jenkins
...
hack/jenkins/e2e.sh
2015-06-20 18:18:38 -04:00
Marek Biskup
ea89125615 enable networking test on a one-node local cluster 2015-06-20 18:48:46 +02:00
Max Forbes
434f968715 GKE upgrade tests 2015-06-20 09:44:19 -07:00
Satnam Singh
3591a543d1 Merge pull request #9919 from liggitt/port_protocol_validation
Validate port protocol case strictly
2015-06-19 15:18:03 -07:00
Satnam Singh
c4c2eab4b7 Merge pull request #10101 from bprashanth/density_clarity
Log any suspicious kubelet latency metrics from density e2e
2015-06-19 14:56:26 -07:00
Satnam Singh
8036f4b3fe Fix the label selector for Elasticsearch logging pods 2015-06-19 13:47:28 -07:00
Mike Danese
44d5815663 fix broken integration tests 2015-06-19 10:57:46 -07:00
Prashanth Balasubramanian
c204d8656a Log suspicious kubelet latency metrics from density e2e 2015-06-19 10:38:05 -07:00
Satnam Singh
f83d5356d7 Merge pull request #9987 from mbforbes/livingUpgrade
Node upgrade test
2015-06-19 10:02:52 -07:00
Marek Biskup
ade1399ece add issue reference to TODOs 2015-06-19 11:58:42 +02:00
Max Forbes
2803fbe343 Node upgrade tests. 2015-06-18 15:59:51 -07:00
Satnam Singh
a65b355557 Merge pull request #10044 from bprashanth/relist
Change density relist period to better reflect the kubelet's watch
2015-06-18 15:02:17 -07:00
Satnam Singh
19e574c170 Merge pull request #9909 from justinsb/aws_enable_reboot_test
AWS: Enable restart e2e tests
2015-06-18 14:49:25 -07:00
Satnam Singh
538d1272e5 Merge pull request #10001 from brendandburns/e2e2
Add some more logging so that we can debug PD delete errors.
2015-06-18 14:23:33 -07:00
Satnam Singh
847d771198 Merge pull request #10020 from piosz/latency_metrics
Slow down creation of additional pods in density.go e2e
2015-06-18 14:15:56 -07:00
Satnam Singh
3c62210854 Merge pull request #9985 from mikedanese/e2e-readiness
add e2e readiness tests
2015-06-18 14:12:49 -07:00
Prashanth Balasubramanian
ca46443095 Change density relist period to better reflect the kubelet 2015-06-18 11:11:13 -07:00
Piotr Szczesniak
45263c3549 Slow down creation of additional pods in density.go e2e 2015-06-18 17:57:17 +02:00
Marek Biskup
a02752ad12 stabilization of Network.should survive network partition 2015-06-18 16:39:27 +02:00
Satnam Singh
67e4cf336a Add diagnostics to check for not ready endpoints 2015-06-17 23:37:20 -07:00
Brendan Burns
0bf936d23a Add some more logging so that we can debug PD delete errors. 2015-06-17 22:13:34 -07:00
Mike Danese
2115f5e0da add e2e readiness tests 2015-06-17 16:12:28 -07:00
Saad Ali
dd7a6a0380 Merge pull request #9977 from roberthbailey/dns-test-error-logging
Add a bit of extra logging to the dns test when it encounters errors.
2015-06-17 14:46:43 -07:00
Satnam Singh
8f540e739c Synthetic counter RC for load testing 2015-06-17 14:39:10 -07:00
Saad Ali
de575bb851 Merge pull request #9817 from erictune/testnames
Rephrase test descriptions.
2015-06-17 14:20:51 -07:00
Robert Bailey
cb7bd71063 Add a bit of extra logging to the dns test when it encounters
errors.
2015-06-17 14:06:15 -07:00
Filip Grzadkowski
ffb96e5a6d Fix variable binding bug when saving logs 2015-06-17 22:22:12 +02:00
Saad Ali
0f3740501b Merge pull request #9908 from justinsb/aws_ssh_getsigner
AWS: e2e: Add support for getSigner for AWS
2015-06-17 11:40:33 -07:00
Saad Ali
56083489e3 Merge pull request #9884 from brendandburns/gcr
Switch to loading busybox from gcr.
2015-06-17 11:38:24 -07:00
Saad Ali
ddf6fa70ad Merge pull request #9923 from justinsb/e2e_polish
Minor fixes & TODOs for e2e tests
2015-06-17 11:32:58 -07:00
Saad Ali
d5e00d3990 Merge pull request #9523 from bprashanth/kl_stats
Scrape /metrics of kubelets from e2e tests
2015-06-17 11:30:28 -07:00
gmarek
c2c1045e09 Add startup latency e2e "test" 2015-06-17 17:40:07 +02:00
Justin Santa Barbara
b4150dc928 AWS: e2e: Add support for getSigner for AWS 2015-06-17 00:35:47 -04:00
Saad Ali
10631592dc Merge pull request #9887 from brendandburns/gcr2
switch some more images to gcr for reliability
2015-06-16 18:57:16 -07:00
Saad Ali
47a802d315 Merge pull request #9648 from mikedanese/cleanup-service-e2e
cleanup some of the e2e service reachability code
2015-06-16 18:39:25 -07:00
Justin Santa Barbara
3912ab29d8 e2e test polishing
Some typo fixes; some clearer messages on failed assertions;
some TODOs on deeper problems.
2015-06-16 21:15:11 -04:00
Jordan Liggitt
ee4cd972e0 Validate port protocol case strictly 2015-06-16 20:28:11 -04:00
Saad Ali
68edcaa08b Merge pull request #9900 from pmorie/nfs-e2e
Fix typo in volumes e2e
2015-06-16 15:58:49 -07:00
Saad Ali
418ab026c3 Merge pull request #9839 from lavalamp/logSpam
remove broken ginkgo Done concept from tests
2015-06-16 15:50:11 -07:00
Justin Santa Barbara
c4d8a73345 AWS: Enable restart tests 2015-06-16 18:47:01 -04:00
Saad Ali
0aae358d2d Merge pull request #9835 from caesarxuchao/remove-testapi-nsQuery
Update pkg/api/testapi because namespace is always in the path now
2015-06-16 14:54:36 -07:00
Paul Morie
0ec8332418 Fix typo in volumes e2e 2015-06-16 17:24:02 -04:00
Chao Xu
a309d3e652 Update pkg/api/testapi because namespace is always in the path since we remove v1beta1/2 2015-06-16 14:12:03 -07:00
Brendan Burns
c3f4b3ff97 Switch to the gcr nginx container in a few remaining places. 2015-06-16 11:49:36 -07:00
Brendan Burns
ca8317695f Switch to gcr.io for the mount test container. 2015-06-16 11:45:34 -07:00
Brendan Burns
9fda26e5da Switch to loading busybox from gcr. 2015-06-16 11:31:33 -07:00
Saad Ali
5596e6f789 Merge pull request #9493 from marekbiskup/testAddonUpdate
e2e test for addon upgrade
2015-06-16 10:50:15 -07:00
Eric Tune
03826ec139 Rephrase test descriptions. 2015-06-16 10:38:41 -07:00
Prashanth Balasubramanian
831d7a36d0 Scrape /metrics of kubelets from e2e tests 2015-06-16 09:50:40 -07:00
Saad Ali
dae03043d4 Merge pull request #9732 from ixdy/e2e-coredump
e2e: in core dump, add delta to waitgroup outside of goroutine
2015-06-16 09:16:29 -07:00
Filip Grzadkowski
6674913f92 Merge pull request #9858 from fgrzadkowski/skip_density
Skip density test in a regular e2e run
2015-06-16 15:35:54 +02:00
Filip Grzadkowski
74736d903f Skip density test in a regular e2e run 2015-06-16 15:29:18 +02:00
Mike Danese
145f59f12f cleanup some of the e2e service reachability code. 2015-06-15 23:54:03 -07:00
Daniel Smith
1fb90686df remove broken ginkgo Done concept from tests 2015-06-15 18:40:11 -07:00
Brendan Burns
3a2e20307f Set the project when creating/destroying pd disks. 2015-06-15 16:45:48 -07:00
Satnam Singh
b45b3e1aeb Add extra logging to help debug logging test issue 2015-06-15 13:24:18 -07:00
Fabio Yeon
bd87185838 Merge pull request #9554 from pmorie/emptydir-e2e
Rename emptyDir e2e test cases
2015-06-15 10:20:44 -07:00
Marek Biskup
dcc4034d57 e2e test for addon update 2015-06-15 17:37:24 +02:00
Marek Grabowski
01f0eac2bd Merge pull request #9714 from fgrzadkowski/debug_scalability
Fix printing deleted pods from RC during e2e tests
2015-06-15 13:29:59 +02:00
Quinton Hoole
921011fc7f Merge pull request #9698 from lavalamp/e2eTestFix
Add a proxy test
2015-06-12 19:26:00 -07:00
Quinton Hoole
85ade1db0a Merge pull request #9592 from lavalamp/logSpam
Restore service latency test & fix bugs
2015-06-12 19:20:17 -07:00
Daniel Smith
e29245f710 add proxy tester 2015-06-12 17:17:43 -07:00
Abhi Shah
283fc8e883 Merge pull request #9727 from satnam6502/es-logging
Make Elasticsearch logging test check for node failures
2015-06-12 16:43:10 -07:00
Abhi Shah
2e9509fbc7 Merge pull request #9647 from bprashanth/roll
Fix rolling update e2e test
2015-06-12 15:25:41 -07:00
Abhi Shah
117f550334 Merge pull request #9724 from brendandburns/e2e-fix
Increase timeouts for service tests.
2015-06-12 15:25:17 -07:00
Satnam Singh
492d22972b Make Elasticsearch logging test check for node failures 2015-06-12 14:00:24 -07:00
Daniel Smith
9423f80d20 fix test bug & conversion bug 2015-06-12 13:55:10 -07:00
Abhi Shah
22a4d555c6 Merge pull request #9517 from mikedanese/e2e-cluster-upgrade
e2e test cluster stability during master upgrade
2015-06-12 13:53:09 -07:00
Abhi Shah
ef60540446 Merge pull request #9676 from marekbiskup/skipNotReadyNodesInNetworkTest
skip not ready nodes in networking test
2015-06-12 13:49:56 -07:00
Jeff Grafton
4d52d2f1c1 e2e: in core dump, add delta to waitgroup outside of goroutine. 2015-06-12 13:29:13 -07:00
Brendan Burns
bf9fec5bc2 Increase timeouts for service tests. 2015-06-12 11:53:46 -07:00
Filip Grzadkowski
4ffb4b2895 Fix printing deleted pods from RC during e2e tests 2015-06-12 16:15:29 +02:00
Filip Grzadkowski
7b7e3ab58b Increase threshold for density test to accomodate slower 4 core master 2015-06-12 11:49:53 +02:00
Marek Biskup
d89e1293a2 skip not ready nodes in networking test 2015-06-12 09:29:42 +02:00
Daniel Smith
47294dd326 Revert "Revert "Test Service creation -> endpoint generation latency""
This reverts commit 654857114e.
2015-06-11 18:34:31 -07:00
Abhi Shah
0e3633d404 Merge pull request #9615 from vishh/heapster_v0.14.0
Update to heapster v0.14.0
2015-06-11 15:14:34 -07:00
Mike Danese
de55e17f75 e2e test cluster stability during upgrade 2015-06-11 15:10:52 -07:00
Abhi Shah
237b968228 Merge pull request #9117 from jszczepkowski/e2e-nodes
Reboot e2e test made more robust by using nohup.
2015-06-11 14:46:43 -07:00
Abhi Shah
bd6db7b175 Merge pull request #8793 from jayunit100/minpods
Parameterize minStartupPods
2015-06-11 11:22:44 -07:00
Abhi Shah
c5553af281 Merge pull request #9506 from cjcullen/resize
Make resize tests work on GKE
2015-06-11 11:05:07 -07:00
Abhi Shah
492f121f83 Merge pull request #9530 from satnam6502/cauldron
Cauldron soak test
2015-06-11 08:48:22 -07:00
Marek Grabowski
0bee4aa76b Merge pull request #9571 from fgrzadkowski/fix_load_test
Simplify e2e.RunRC method and wait up to 10 minutes for pods to start
2015-06-11 15:19:55 +02:00
Filip Grzadkowski
03f161def2 Simplify e2e.RunRC method and wait up to 10 minutes for pods to start 2015-06-11 14:22:47 +02:00
Prashanth Balasubramanian
adc1a26c37 fix rolling update e2e test 2015-06-10 18:09:20 -07:00
Vishnu Kannan
a38204a498 Update to heapster v0.14.0 2015-06-10 16:38:34 -07:00
jayunit100
19b3017fb5 Parameterization of minStartupPods 2015-06-10 19:37:06 -04:00
Abhi Shah
bdeb4f31a8 Merge pull request #9514 from brendandburns/e2e
Add a test that verifies pods with resource limits schedule.
2015-06-10 13:46:24 -07:00
Abhi Shah
547b3a7ef2 Merge pull request #9409 from lavalamp/e2eTestFix
switch to generateName for namespace creation
2015-06-10 13:31:10 -07:00
Satnam Singh
d6145ec69b Cauldron soak test 2015-06-10 10:32:15 -07:00
Jerzy Szczepkowski
346b8473a3 Reboot e2e test made more robust by using nohup.
Reboot e2e test made more robust by using nohup in ssh commands. Fixes #9062. Follow-up of #8784.
2015-06-10 15:57:46 +02:00
Filip Grzadkowski
0f6c715b77 Print latency metrics before the density test 2015-06-10 14:19:52 +02:00
Filip Grzadkowski
c48e622cde Decrease threshold for density (2s) and load test (1s) 2015-06-10 11:23:31 +02:00
Brendan Burns
654857114e Revert "Test Service creation -> endpoint generation latency" 2015-06-09 21:24:00 -07:00
Paul Morie
86d6316185 Rename emptyDir e2e test cases 2015-06-10 00:11:46 -04:00
krousey
1c58d2a766 Merge pull request #9354 from lavalamp/logSpam
Test Service creation -> endpoint generation latency
2015-06-09 15:51:26 -07:00
Brendan Burns
3b034a8293 Add a test that verifies pods with resource limits schedule. 2015-06-09 15:21:27 -07:00
krousey
033c1f8d2b Merge pull request #9498 from satnam6502/serve_hostnames
Update serve_hostnames node check with namespace creation
2015-06-09 15:03:57 -07:00
Satnam Singh
55580b2490 Update serve_hostnames node check with namespace creation 2015-06-09 13:16:11 -07:00
krousey
c1e9a413a3 Merge pull request #9492 from mikedanese/e2e-etcd-sigkill
Etcd e2e: retry pod delete if etcd is slow to come back from a SIGKILL
2015-06-09 12:43:11 -07:00
krousey
43a423f6fc Merge pull request #9440 from brendandburns/ssh
Add an initial test for SSH.
2015-06-09 12:08:26 -07:00
CJ Cullen
abc4e53648 Make resize tests work on GKE 2015-06-09 12:00:10 -07:00
krousey
cf4b4a313b Merge pull request #9335 from swagiaal/e2e-test-prefix
Add a prefix option to e2e for use with resources
2015-06-09 11:50:02 -07:00
krousey
9740105a99 Merge pull request #8837 from mbforbes/rollingTest
E2E test node upgrade (to same version)
2015-06-09 10:42:17 -07:00
Sami Wagiaalla
899cf360ba Add a prefix option to e2e for use with resources
This is helpful when cleaning manually up after a failed test in
shared a gce environment.

Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-06-09 13:29:41 -04:00
Mike Danese
52c8d164ff retry pod delete in etcd failure test 2015-06-09 09:37:43 -07:00
Filip Grzadkowski
ea7a615ce6 Refactor load test and reduce the load during the test. 2015-06-09 16:44:23 +02:00
Brendan Burns
2240486110 Add an initial test for SSH. 2015-06-08 20:53:05 -07:00
Daniel Smith
2c8ef35a65 add service endpoint latency test 2015-06-08 16:23:34 -07:00
krousey
8a9e0e00bf Merge pull request #9128 from marekbiskup/addonUpgrade
Addon upgrade (partial implementation of #8107)
2015-06-08 15:15:27 -07:00
krousey
2bb0fc00e5 Merge pull request #9392 from jszczepkowski/e2e-net
Added e2e test case for network partition.
2015-06-08 11:35:28 -07:00
Daniel Smith
ace6e9d186 switch to generateName for namespace creation 2015-06-08 10:53:06 -07:00
Sami Wagiaalla
28d501d332 Fix createTestingNS function name in godoc
Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-06-08 11:15:58 -04:00
Marek Biskup
13ba177668 kube-addon-update.sh 2015-06-08 15:10:40 +02:00
Jerzy Szczepkowski
445ae0f576 Added e2e test case for network partition.
Added e2e test case which verifies if a node can return to cluster after longer network partition. Valid for gce.
2015-06-08 14:08:32 +02:00
jayunit100
e93d317437 Add a --e2e-output-dir for use in e2e tests (default is /tmp/) 2015-06-05 19:15:50 -04:00
Quinton Hoole
4b84782e64 Merge pull request #9322 from liggitt/e2e_service_account_wait
Wait for default serviceaccount in e2e createTestingNS
2015-06-05 12:54:27 -07:00
Quinton Hoole
640c40da65 Merge pull request #9316 from gmarek/fix_density
Put performance data from Density test into /tmp/ folder
2015-06-05 12:49:49 -07:00
Quinton Hoole
8b01ecb53a Merge pull request #9024 from markturansky/recyc_controllers
PersistentVolumeRecycler controller
2015-06-05 11:39:08 -07:00
Quinton Hoole
21db71db1a Merge pull request #9073 from ArtfulCoder/srv_dns
SRV record support
2015-06-05 11:24:32 -07:00
Jordan Liggitt
4754a6aea1 Wait for default serviceaccount in e2e createTestingNS 2015-06-05 13:33:23 -04:00
Abhishek Shah
7d0adbcb1c SRV record support 2015-06-05 09:31:07 -07:00
markturansky
57d8b30b3e fixed checker pod issue 2015-06-05 12:19:23 -04:00
gmarek
9dee8206f4 Put performance data from Density test into /tmp/ folder 2015-06-05 14:37:20 +02:00
Quinton Hoole
7309e1f707 Merge pull request #9236 from mikedanese/etcd-fail-e2e
add e2e test for etcd failure and recovery
2015-06-04 22:10:31 -07:00
Mike Danese
c458ee9dcb add e2e test for etcd failure 2015-06-04 20:49:25 -07:00
markturansky
b9d7b27bd0 Added watch to e2e instead of sleep, used GenerateName for objs 2015-06-04 23:08:46 -04:00
Chao Xu
d3664957b1 replace v1beta3 with v1 in e2e tests 2015-06-04 17:42:00 -07:00
markturansky
deec5f26cd Recycler controller 2015-06-04 15:47:36 -04:00
Chao Xu
ef61b031f5 make v1 enabled by default 2015-06-04 11:37:44 -07:00
Quinton Hoole
a39a6013cb Merge pull request #8469 from satnam6502/heapster
Add explicit version to name of monitoring RCs
2015-06-04 10:42:54 -07:00
Brian Grant
e7788771d6 Merge pull request #9030 from brendandburns/kubectl
Add a custom timeout flag for stop/delete.
2015-06-03 21:14:50 -07:00
Max Forbes
a6c47a07de E2E test node upgrade (to same version) 2015-06-03 17:05:45 -07:00
Brian Grant
e3b80db02c Merge pull request #9148 from lavalamp/e2eTestFix
E2e test fix
2015-06-03 12:44:55 -07:00
Brian Grant
8c0b1c7db4 Merge pull request #8809 from rrati/performance-gathering-7572
Performance gathering 7572
2015-06-03 12:37:17 -07:00
Robert Rati
a248d0ccf9 Default RunRC to check every 10 seconds if an internval isn't provided. #7572 2015-06-03 15:00:28 -04:00
Robert Rati
4f9046332d Minor fixes and clarifications. #7572 2015-06-03 15:00:27 -04:00
Robert Rati
4e05d85413 Fixed issue reading empty response from a get in getDebugInfo. #7572 2015-06-03 15:00:27 -04:00
Robert Rati
13b8d947fc Revert "Revert "Added metrics/debug gathering methods to utils and used them in density ...""
This reverts commit 70500a64a7.
2015-06-03 15:00:27 -04:00
Filip Grzadkowski
2aac5e0f1a Disable load test from e2e-gce-scalability jenkins job 2015-06-03 20:31:47 +02:00
Brendan Burns
ab0c9b8e1e Add a custom timeout flag for stop/delete. Also try to be smarter about setting the timeout. 2015-06-03 11:21:30 -07:00
Brian Grant
895ad68422 Merge pull request #9145 from caesarxuchao/hack/test-integration
enable v1 in hack/test-integration.go
2015-06-03 11:19:41 -07:00
Daniel Smith
8d4d6276b7 fix elasticsearch test 2015-06-03 10:44:31 -07:00
Eric Tune
6e3ff01fa7 Merge pull request #9092 from lavalamp/no-ro-nonbreaking
Nonbreaking changes working towards removing the RO port
2015-06-03 09:25:46 -07:00
Piotr Szczesniak
a7ee5559b1 Merge pull request #9184 from fgrzadkowski/enhance_load_test
Load test: set threshold for latency metrics and add periodic lists
2015-06-03 17:11:26 +02:00
Filip Grzadkowski
b3deef2f11 Load test: set threshold for latency metrics and add periodic lists 2015-06-03 16:28:47 +02:00
Brian Grant
43cc6ed3ed Revert "Added e2e test case for network partition." 2015-06-03 07:04:41 -07:00
Piotr Szczesniak
f973eb8829 Merge pull request #9181 from fgrzadkowski/decrease_threshold
Decrease threshold for latency metrics in density tests
2015-06-03 15:46:56 +02:00
Filip Grzadkowski
54697db600 Decrease threshold for latency metrics in density tests 2015-06-03 14:31:39 +02:00
Piotr Szczesniak
f71baba64f Increased failCount param in RunRC function for e2e tests.
The previous value was 10 (equivalent of 50sec) current is 24 (2min).
Time in brackets mean: how long should I wait for the next pod of RC to be created.

While we are creating 3000 pods for scalability tests it tends to fail.
2015-06-03 13:50:51 +02:00
Piotr Szczesniak
5c7795bdd1 Creating RCs in batches not in parallel in Load e2e test 2015-06-03 13:13:55 +02:00
jayunit100
f3da07552a Fix bad namespace 2015-06-02 23:27:09 -04:00
jayunit100
bcc735af19 Revert "Merge pull request #9166 from GoogleCloudPlatform/revert-8504-ginkgo-names"
This reverts commit 479e5005f5, reversing
changes made to 5115f0e6bc.
2015-06-02 23:23:44 -04:00
Brian Grant
b3550bcacf Revert "Cleanup ginkgo declarative naming in E2Es" 2015-06-02 20:16:41 -07:00
Daniel Smith
68d0511d4e remove networking test that doesn't work for RO port 2015-06-02 18:47:06 -07:00
Daniel Smith
e341110b95 Fix DNS test to not use RO port 2015-06-02 18:45:26 -07:00
Daniel Smith
abb00f1cfc fix e2e service test to not reference ro service 2015-06-02 18:45:26 -07:00
Brian Grant
b15efbc2f5 Merge pull request #8504 from jayunit100/ginkgo-names
Cleanup ginkgo declarative naming in E2Es
2015-06-02 18:44:06 -07:00
jayunit100
e6583ef7d7 Cleanup ginkgo declarative naming in E2Es 2015-06-02 17:56:44 -04:00
Chao Xu
89c8949e78 add v1 to hack/test-integration.sh 2015-06-02 14:55:45 -07:00
Brian Grant
b5aa78bd44 Revert "Add a test for the service load balancer." 2015-06-02 14:53:58 -07:00
Filip Grzadkowski
98115facfd Revert "Gracefully delete pods from the Kubelet" 2015-06-02 23:40:05 +02:00
Brian Grant
b1a0fb0cb3 Merge pull request #8881 from brendandburns/services
Add a test for the service load balancer.
2015-06-02 13:08:02 -07:00
Brian Grant
464224f50d Merge pull request #8862 from jszczepkowski/e2e-net
Added e2e test case for network partition.
2015-06-02 13:07:46 -07:00
Brian Grant
b7ae48eb1e Merge pull request #8641 from smarterclayton/gracefully_delete_pods
Gracefully delete pods from the Kubelet
2015-06-02 10:36:27 -07:00
Brendan Burns
3d90d1cefb Add a test for the service load balancer. 2015-06-02 10:16:18 -07:00
Piotr Szczesniak
ac82f50afb Disabled load e2e test for scalability Jenkins job 2015-06-02 16:16:02 +02:00
Jerzy Szczepkowski
44f11ea662 Added e2e test case for network partition.
Added e2e test case which verifies if a node can return to cluster after longer network partition. Valid for gce. Finally fixes to #7051.
2015-06-02 13:09:21 +02:00
Filip Grzadkowski
d7f242b8b0 Merge pull request #8873 from piosz/load_generator
Re-enabled load e2e test for Jenkins scalability suite
2015-06-02 04:05:23 -07:00
Piotr Szczesniak
a2116f2bc1 Re-enabled load e2e test for Jenkins scalability suite
Also increased next pod startup waiting time from 100s to 200s
to eliminate flakiness by incresing failCount param.
2015-06-02 11:26:42 +02:00
Filip Grzadkowski
7580006771 Merge pull request #9059 from fgrzadkowski/watch_density
Use watch-based cache in density e2e tests.
2015-06-02 02:00:26 -07:00
Clayton Coleman
f1eaa8a27b Delete resources immediately from e2e tests 2015-06-01 19:24:02 -04:00
Clayton Coleman
984692d205 Verify in hack/test-cmd 2015-06-01 19:24:01 -04:00
Eric Tune
5651bdb237 Merge pull request #8746 from justinsb/e2e_restartpolicy_never
e2e: Specify RestartPolicy=Never in empty_dir test
2015-06-01 13:47:31 -07:00
Eric Tune
ccea8fafa5 Merge pull request #8434 from jayunit100/soak_ns_2
Soak ns 2
2015-06-01 13:44:38 -07:00
Filip Grzadkowski
7814297acc Use watch-based cache in density e2e tests. 2015-06-01 17:18:56 +02:00
Justin Santa Barbara
1e99426d5b Support for AWS ELB 2015-05-29 18:53:35 -04:00
Rohit Jnagal
233ce46b83 Merge pull request #8923 from caesarxuchao/TerminationToTerminated
Update ContainerState.Termination to ContainerState.Terminated
2015-05-29 14:51:09 -07:00
Rohit Jnagal
d34d00c288 Merge pull request #8898 from brendandburns/tunnel
Move SSH code into a common util package.  Add support for SSH tunnels.
2015-05-29 14:48:37 -07:00
Rohit Jnagal
38c1fe112f Merge pull request #9006 from GoogleCloudPlatform/revert-8927-revert-8822-fifo_rc
Revert "Revert "Wake up rcs when pods get DeletionFinalStateUnknown t…
2015-05-29 11:11:38 -07:00
Rohit Jnagal
697db8ccf1 Merge pull request #8784 from jszczepkowski/e2e-nodes
Added e2e test case which triggers kernel panic on a node.
2015-05-29 09:39:02 -07:00
Rohit Jnagal
2c4ceca1cf Merge pull request #8974 from lavalamp/networkTimeout
Use spew for more informative debug output
2015-05-29 09:33:54 -07:00
Rohit Jnagal
ff51f0b2e1 Merge pull request #8696 from derekwaynecarr/force_namespace_creation
Force explicit namespace provision, update e2e for failures
2015-05-29 09:28:47 -07:00
Prashanth B
6c209ec193 Revert "Revert "Wake up rcs when pods get DeletionFinalStateUnknown tombstones"" 2015-05-29 09:24:39 -07:00
Daniel Smith
02b1331512 Use spew for more informative debug output 2015-05-28 17:20:42 -07:00
Chao Xu
2f6e5e2e08 Update ContainerState.Termination to ContainerState.Terminated in pkg/api/types.go and pkg/api/v1/types.go 2015-05-28 17:18:24 -07:00
Tim Hockin
b72a8309b5 Merge pull request #8972 from lavalamp/networkTimeout
fix old networking test to use version 1.3
2015-05-28 16:53:40 -07:00
Daniel Smith
779e0d8529 fix old networking test to use version 1.3 2015-05-28 16:49:25 -07:00
Tim Hockin
4318ca5a8b Rename 'portal IP' to 'cluster IP' most everywhere
This covers obvious transforms, but not --portal_net, $PORTAL_NET and
similar.
2015-05-28 16:10:44 -07:00
Tim Hockin
b17e343afc Fix undetected merge conflict 2015-05-28 16:00:10 -07:00
Tim Hockin
081ab3abac Merge pull request #8853 from caesarxuchao/HostToNodeName
update PodSpec.Host to PodSpec.NodeName
2015-05-28 15:50:12 -07:00
Daniel Smith
c8f03fc354 fix timeout for networking test 2015-05-28 15:01:59 -07:00
Daniel Smith
0e49e1535f split into old/new networking test 2015-05-28 15:01:59 -07:00
Daniel Smith
d683548fd6 Revert "Revert "Revert "Revert "Fix networking test""""
This reverts commit 30ffe0325c.
2015-05-28 15:01:59 -07:00
Tim Hockin
eabc65149e Merge pull request #8896 from lavalamp/e2e-timeout
Give up waiting for failed pods + print status
2015-05-28 15:00:19 -07:00
Tim Hockin
1a45e4006e Merge pull request #8747 from brendandburns/e2e
Add a test for PreStop hooks.
2015-05-28 14:55:40 -07:00
Tim Hockin
8886557da6 Merge pull request #8926 from thockin/remove-debug
Remove debug print
2015-05-28 14:50:17 -07:00
Chao Xu
9c1153322e update PodSpec.Host to PodSpec.NodeName in /pkg/api/types.go and /pkg/api/v1beta3/types.go 2015-05-28 14:10:06 -07:00
Tim Hockin
e524d52248 Use $$() in pod commandlines to get $() 2015-05-28 10:53:22 -07:00
derekwaynecarr
3e8b1d5e01 Update all salt providers to force explicit namespace creation; update e2e 2015-05-28 13:45:49 -04:00
Tim Hockin
b69fad211e Revert "Wake up rcs when pods get DeletionFinalStateUnknown tombstones" 2015-05-28 10:23:55 -07:00
Tim Hockin
c6ca865e1a Remove debug print 2015-05-28 10:12:37 -07:00
Wojciech Tyczynski
6ffe46a9e0 Merge pull request #8822 from bprashanth/fifo_rc
Wake up rcs when pods get DeletionFinalStateUnknown tombstones
2015-05-28 10:50:28 +02:00
Brendan Burns
a51747f941 Move SSH code into a common util package. Add support for SSH tunnels. 2015-05-27 16:58:52 -07:00
Prashanth Balasubramanian
8fa66bd962 Delta fifo includes objects in DeleteFinalStateUnknow, rcs stop faster 2015-05-27 16:45:51 -07:00
Daniel Smith
fe58bf16e8 Give up waiting for failed pods + print status 2015-05-27 16:07:39 -07:00
Tim Hockin
0721377646 Merge pull request #8596 from andronat/fix_8319
Kubectl command renaming (run-container to run and resize to scale)
2015-05-27 15:37:54 -07:00
Quinton Hoole
30ffe0325c Revert "Revert "Revert "Fix networking test""" 2015-05-27 14:52:33 -07:00
Quinton Hoole
851f6b7542 Merge pull request #8852 from brendandburns/core
Add a 'core dump' to failed tests.
2015-05-27 14:14:13 -07:00
Tim Hockin
7480c8263a Merge pull request #8741 from justinsb/e2e_set_http_timeout
e2e: Set (short) timeout for http request polling
2015-05-27 12:43:18 -07:00
Tim Hockin
9d0a4d8791 Merge pull request #8829 from lavalamp/no-ro-nettest
Revert "Revert "Fix networking test""
2015-05-27 12:42:32 -07:00
Brendan Burns
199ed54599 Add a 'core dump' to failed tests. 2015-05-27 11:39:08 -07:00
Anastasis Andronidis
9e3a540940 rename resize to scale 2015-05-27 19:08:06 +02:00
Tim Hockin
244b10e8ba Merge pull request #8812 from jayunit100/kubectlparam
Parameterized kubectl once and for all :)
2015-05-27 09:35:23 -07:00
Jerzy Szczepkowski
039314cce1 Added e2e test cases which trigger different types of node failures.
Added e2e test cases which trigger different types of node failures and verify they are correctly re-assimilated. Valid for gce and gke. Related to #7051.
2015-05-27 11:52:36 +02:00
Brendan Burns
1e94eed475 Add a test for PreStop hooks. 2015-05-26 21:23:15 -07:00
Paul Morie
8b338860aa Make kubelet expand var refs in cmd, args, env 2015-05-27 00:13:57 -04:00
jayunit100
6e4160eeb0 Set option for KubectlPath (kubectl-path) for E2E tests. 2015-05-26 21:46:59 -04:00
Saad Ali
bed9f826d3 Merge pull request #7435 from jsafrane/devel/volume-tests
V2: Add e2e tests for NFS and Gluster
2015-05-26 17:49:41 -07:00
Saad Ali
abaa278b0e Merge pull request #8643 from vishh/headless
Adding support for generating A records for headless services.
2015-05-26 14:44:00 -07:00
Daniel Smith
ea4035d08c Revert "Revert "Fix networking test""
This reverts commit a2d24d3e07.
2015-05-26 13:11:06 -07:00
Filip Grzadkowski
39483ffa90 Merge pull request #8779 from wojtek-t/failing_rc_delete
Increase timeout for deleting RC in e2e tests.
2015-05-26 01:43:34 -07:00
Filip Grzadkowski
702a5e27e9 Merge pull request #8777 from fgrzadkowski/print_top_latency
Print top 5 latency metrics even if they are below threshold
2015-05-26 01:41:41 -07:00
Filip Grzadkowski
9a22286622 Reduce threshold for request latency in density tests to 5 sec 2015-05-25 15:05:34 +02:00
Filip Grzadkowski
892ce56cec Print top 5 latency metrics even if they are below threshold 2015-05-25 14:58:23 +02:00
Marek Grabowski
9797255a15 Merge pull request #8770 from wojtek-t/exclude_proxy_metrics
Ignore /proxy from performance metrics
2015-05-25 13:47:33 +02:00
Jan Safranek
20004e0c16 Add e2e tests for Gluster and NFS tests.
- add appropriate server containers into contrib/for-tests/volumes-tester
- the tests are off by default (they need kubelet --allow_privileged=True)
  - enable by 'go run hack/e2e.go ... --ginkgo.focus=Volume'
- add glusterfs tools to list of installed packages on each node
2015-05-25 12:02:41 +02:00
Wojciech Tyczynski
ff8c772fe0 Increase timeout for deleting RC in e2e tests. 2015-05-25 11:51:11 +02:00
Jerzy Szczepkowski
7d2fb16829 Extended wait for cluster size timeout.
Extended wait for cluster size timeout in resize nodes e2e test to fix #8715.
2015-05-25 11:03:26 +02:00
Wojciech Tyczynski
abc24fa65c Ignore /proxy from performance metrics 2015-05-25 09:21:26 +02:00
Justin Santa Barbara
784c4aef2f e2e: Specify RestartPolicy=Never in host_path test
Fixes #8745
2015-05-24 09:55:07 -04:00
Justin Santa Barbara
51b9c148a9 e2e: Specify RestartPolicy=Never in empty_dir test
Fixes #8745
2015-05-24 00:52:04 -04:00
Justin Santa Barbara
6564fedbdb Set (short) timeout for http request polling 2015-05-23 22:13:49 -04:00
Vishnu Kannan
c2fcdec503 Adding an e2e test for headless services. 2015-05-22 23:00:24 -07:00
Justin Santa Barbara
c68e4163fe e2e fix: set NodePort back to 0, when changing from NodePort -> ClusterIP 2015-05-22 22:20:29 -04:00
Dawn Chen
8d6d03b4a4 Merge pull request #8707 from justinsb/nodeport
WIP: ServiceType & NodePort work
2015-05-22 16:46:59 -07:00
Justin Santa Barbara
270701b88a e2e testing for NodePort services 2015-05-22 19:14:28 -04:00
Justin Santa Barbara
7346cc8042 Add ServiceType = NodePort; wire everything up 2015-05-22 19:14:28 -04:00
Justin Santa Barbara
973c2e4819 Add Type to ServiceSpec: ClusterIP or LoadBalancer 2015-05-22 19:14:21 -04:00
Dawn Chen
4cad3b568f Merge pull request #8644 from mbforbes/e2eLogBetter
Better logging for e2e start (debug failing pods)
2015-05-22 16:01:34 -07:00
Daniel Smith
05d2ae5642 add framework to service accounts test 2015-05-22 15:29:12 -07:00
Daniel Smith
86799cdd9d add framework to emptyDir test 2015-05-22 15:29:12 -07:00
Daniel Smith
6ae8c78527 secrets test uses framework 2015-05-22 15:29:12 -07:00
Daniel Smith
11087d13b4 dns test uses framework 2015-05-22 15:29:12 -07:00
Justin Santa Barbara
3884d5fc59 Add LoadBalancer status to ServiceStatus
This will replace publicIPs
2015-05-22 18:27:05 -04:00
Dawn Chen
4ca2595ed3 Merge pull request #8651 from lavalamp/e2e-timeout
Start e2e framework; print events
2015-05-22 15:14:23 -07:00
Filip Grzadkowski
70500a64a7 Revert "Added metrics/debug gathering methods to utils and used them in density ..." 2015-05-22 13:00:46 -07:00
Dawn Chen
7c80f3d985 Merge pull request #7573 from rrati/performance-gathering-7572
Added metrics/debug gathering methods to utils and used them in density ...
2015-05-22 10:17:15 -07:00
Maxwell Forbes
4a21bd535e Merge pull request #8677 from jayunit100/minStartupPods
Make minStartupPods feature backward compatible default value = 0.
2015-05-22 09:54:32 -07:00
jayunit100
7063da41da Make minStartupPods feature backward compatible default value = 0. 2015-05-22 10:05:03 -04:00
Daniel Smith
28b3224b72 Start e2e framework; print events 2015-05-21 18:50:55 -07:00
Jerzy Szczepkowski
ef965a60f2 Implementation of e2e test that resizes cluster (works on GCE). 2015-05-22 02:59:25 +02:00
Max Forbes
40ba1e3043 Better logging for e2e start (debug failing pods) 2015-05-21 16:48:30 -07:00
jayunit100
56a356d577 Remove global client variable and initialize it locally in tests which accidentally used it. 2015-05-21 18:57:13 -04:00
Dawn Chen
ff855dee1e Merge pull request #8603 from lavalamp/e2e-timeout
use ginkgo native timeout method
2015-05-21 09:58:48 -07:00
Dawn Chen
ed319ea1ad Merge pull request #8578 from vishh/dns_e2e
Adding "metadata" to the list of required DNS names to be resolved in DNS e2e
2015-05-21 09:43:21 -07:00
Dawn Chen
9a316dd409 Merge pull request #8501 from ArtfulCoder/kubelet_svc_subdomain
Support old and new style dns service names.
2015-05-21 09:22:03 -07:00
Dawn Chen
df6c670639 Merge pull request #8500 from rrati/e2e-host-option-fix-8499
The e2e tests will re-honor --host option. #8499
2015-05-21 09:17:44 -07:00
Daniel Smith
8fdf1cca54 use ginkgo native timeout method 2015-05-20 17:36:37 -07:00
Daniel Smith
ec1b3a7537 improve network test logging 2015-05-20 17:22:21 -07:00
Abhishek Shah
dff3a7daaa skydns changes 2015-05-20 17:04:30 -07:00
Vishnu Kannan
4f664036bf Adding "metadata" to the list of required DNS names to be resolved in DNS e2e. 2015-05-20 11:17:41 -07:00
Robert Rati
3191b26bc6 Only sleep 1.1*interval. #7572 2015-05-19 18:40:21 -04:00
Jeff Grafton
e968b6be81 Merge pull request #8442 from mbforbes/e2ePodsReady
Ensure pods both running and ready before starting e2e tests
2015-05-19 13:40:08 -07:00
Quinton Hoole
14665119b4 Revert "improve e2e retry logic with standard wait.Poll()" 2015-05-19 11:17:32 -07:00
Robert Rati
b7486b0ca2 The e2e tests will re-honor --host option. #8499 2015-05-19 14:13:11 -04:00
Max Forbes
1da46ca3d0 Ensure pods both running and ready before starting e2e tests 2015-05-19 10:53:02 -07:00
Maxwell Forbes
b963307496 Merge pull request #8473 from ixdy/native-ginkgo-runner
Use native Ginkgo test runner instead of cmd/e2e (attempt N+1)
2015-05-19 10:48:14 -07:00
Robert Rati
7361f751a6 Create a config struct for RunRC and allow polling interval to be
configurable.  #7572
2015-05-19 13:37:37 -04:00
Robert Rati
9e06132ed3 Minor cleanup. #7572 2015-05-19 13:22:20 -04:00
Quinton Hoole
063139996e Merge pull request #8399 from ZJU-SEL/improve_e2e_retry_logic
improve e2e retry logic with standard wait.Poll()
2015-05-19 09:48:18 -07:00
Jeff Grafton
bf1de72f4a Revert "Revert "Use native Ginkgo test runner instead of cmd/e2e (attempt N)""
This reverts commit f4bb6aa37d.
2015-05-19 09:13:08 -07:00
Brian Grant
2c81050e6f Merge pull request #8457 from davidopp/master
Fix stylistic isues with #5547. Closes #4910.
2015-05-19 07:43:21 -07:00
Robert Rati
9caee9ad16 Moved FifoQueue to separate file and minor cleanup. #7572 2015-05-19 10:25:02 -04:00
Robert Rati
b78576386f Use getMetrics in ReadLatencyMetrics. #7572 2015-05-19 10:23:17 -04:00
Robert Rati
ac282bd50a Cleaned up the output files. #7572 2015-05-19 10:23:17 -04:00
Robert Rati
ec5e7093b6 Created a fifo queue containing results from listing pods and checks
from from the queue to generate finer granularity #7572
2015-05-19 10:23:17 -04:00
Robert Rati
bd3306c845 Moved writePerfData to utils. #7572 2015-05-19 10:14:47 -04:00
Robert Rati
a89121cb70 Added metrics/debug gathering methods to utils and used them in density #7572 2015-05-19 10:14:47 -04:00
jayunit100
eb75f98ddc Reintroduce soak test_ns so that it passes continuous E2E's easily, implemented polling alternative to channels, Moved to new file 2015-05-19 09:42:14 -04:00
He Simei
09fc2a5013 improve retry logic with standard wait.Poll()
Signed-off-by: He Simei <hesimei@zju.edu.cn>
2015-05-19 21:31:27 +08:00
David Oppenheimer
44b1e1ca0c Fix stylistic isues with #5547. Closes #4910. 2015-05-18 23:32:06 -07:00
Quinton Hoole
f4bb6aa37d Revert "Use native Ginkgo test runner instead of cmd/e2e (attempt N)" 2015-05-18 21:04:26 -07:00
Satnam Singh
702bf625ce Add explicit version to name of monitoring RCs 2015-05-18 18:13:18 -07:00
Tim Hockin
fd22f48f5b rename StorageType StorageMedium 2015-05-18 17:21:30 -07:00
Tim Hockin
f66ca25d9f Rename AccessMode to PersistentVolumeAccessMode 2015-05-18 17:21:30 -07:00
Prashanth Balasubramanian
a6607afa80 Don't relist events in density 2015-05-18 16:55:43 -07:00
Daniel Smith
5e056f119d Merge pull request #6694 from bprashanth/bench
Add a simple master benchmark and a wrapper to run it.
2015-05-18 14:42:24 -07:00
Jeff Grafton
35c4b92e92 Make e2e compatible with Go 1.3 and OS X.
Go 1.4 added the -o flag to the "go test" command as well as support for
the TestMain() function, so we must work around these not existing in
Go 1.3.

The version of readlink on OS X does not have the -f flag - so we'll
just skip canonicalizing the path.
2015-05-18 12:11:33 -07:00
Jeff Grafton
b79fae5d71 Revert "Revert "Once again, use native Ginkgo test runner instead of cmd/e2e.""
This reverts commit 67da1ac0c8.
2015-05-18 11:39:21 -07:00
jayunit100
378f302632 Revert "Merge pull request #8415 from GoogleCloudPlatform/revert-8325-ns_5152015"
This reverts commit fec9a524dd, reversing
changes made to 26b27b5e0f.
2015-05-18 14:23:13 -04:00
Victor Marmol
45874d5f76 Merge pull request #5547 from gmarek/client3
Add a resource specifying number of Pods that are allowed to run on Kubelet.
2015-05-18 11:11:43 -07:00
Quinton Hoole
636569fc8d Revert "E2E: Namespace soak test, confirms deletion of 100 NS happens within 150 seconds" 2015-05-18 09:04:10 -07:00
Victor Marmol
4ba22e713a Merge pull request #8296 from jlowdermilk/gen-analytics
Add ga-beacon analytics to gendocs scripts
2015-05-18 08:40:02 -07:00
Clayton Coleman
3b10d82864 Merge pull request #8391 from liggitt/etcd_token_lookup
Make serviceaccount/token lookup more flexible
2015-05-18 11:08:30 -04:00
Clayton Coleman
485a420326 Merge pull request #8257 from liggitt/multi_user_controller
Allow ServiceAccountsController to manage multiple named service accounts
2015-05-18 10:39:50 -04:00
Derek Carr
de45d626a7 Merge pull request #8325 from jayunit100/ns_5152015
E2E: Namespace soak test, confirms deletion of 100 NS happens within 150 seconds
2015-05-18 08:24:11 -04:00
Jordan Liggitt
d90e7409e4 Prevent auth recursion for service account tokens 2015-05-16 23:39:07 -04:00
Jordan Liggitt
7e9281fc39 Allow ServiceAccountsController to manage multiple named service accounts 2015-05-15 23:42:00 -04:00
Brendan Burns
7e96aec477 Fix some races/multi-thread access in the reboot test. 2015-05-15 19:46:00 -07:00
Jeff Lowdermilk
553f9f822b Add ga-beacon analytics to gendocs scripts
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
2015-05-15 18:56:38 -07:00
Brendan Burns
ab0844840a Merge pull request #8246 from rrati/red-flag-pod-termination
Correct logic for failing after % of containers fail. #7790
2015-05-16 02:46:07 +01:00
Prashanth Balasubramanian
4200033c0a Add a simple master benchmark and a wrapper to run it. 2015-05-15 17:30:17 -07:00
Max Forbes
b32c54625b Enable reboot test for GKE 2015-05-15 17:27:39 -07:00
Max Forbes
5d1d37f9ca Add a node reboot test. 2015-05-15 17:25:28 -07:00
Jeff Grafton
67da1ac0c8 Revert "Once again, use native Ginkgo test runner instead of cmd/e2e."
This change broke compilation on go 1.3 and running e2e tests on OS X.

This reverts commit 86b023fdd6.
2015-05-15 16:41:55 -07:00
Jeff Grafton
86b023fdd6 Once again, use native Ginkgo test runner instead of cmd/e2e.
This commit deletes cmd/e2e and updates hack/ginkgo-e2e.sh to use the
'ginkgo' command instead. All logic from cmd/e2e/e2e.go and
test/e2e/driver.go have been combined into the new file
test/e2e/e2e_test.go.

The test tarball now includes a built version of the test/e2e test
binary, which includes all tests under test/e2e. This was accomplished
by updating the build scripts to use 'go test -c' when a target name
ended with '.test', and adding a dependency on test/e2e/e2e.test.

This prebuilt test binary is passed to the Ginkgo runner in
hack/ginkgo-e2e.sh. In a future change, we can add support to run
Ginkgo against the source tree if it is available.

This change is generally intended to have no externally visible changes,
aside from the following caveats:
 - The -t/--tests flag has been removed
 - Calling cmd/e2e/e2e directly obviously won't work, but that was never
   intended to be supported anyway
 - If the GINKGO_PARALLEL environment variable is set to y, then ginkgo
   will run test specs in parallel. (Currently defaults to n, since some
   tests are broken in this mode.)

Additionally, several tests which made poor assumptions about cwd or
used testContext before it had been set have been fixed.
2015-05-15 11:54:53 -07:00
Jeff Grafton
fa77928c30 e2e: don't try to clean up after rolling-update test 2015-05-15 11:23:06 -07:00
Quinton Hoole
a2d24d3e07 Revert "Fix networking test" 2015-05-15 11:04:23 -07:00
Vish Kannan
d2e291e8fc Merge pull request #8254 from jayunit100/e2e_hostPath
E2E hostPath test
2015-05-15 10:50:58 -07:00
jayunit100
4812232966 E2E: Namespace soak test, confirms deletion happens within 100 seconds 2015-05-15 13:35:53 -04:00
Filip Grzadkowski
6ec9821a69 Merge pull request #8317 from piosz/load_generator
Disabled e2e load test on Jenkins
2015-05-15 17:38:20 +02:00
Robert Rati
30c7dbc7bd Correct logic for failing after % of containers fail. #7790 2015-05-15 10:06:30 -04:00
Piotr Szczesniak
9786f09426 Disabled e2e load test on Jenkins 2015-05-15 15:27:57 +02:00
gmarek
d65f67a4d1 Fix kubectl e2e test 2015-05-15 15:02:53 +02:00
gmarek
27d660d0ac Add a resource specifying number of Pods that are allowed to run on Kubelet. 2015-05-15 10:57:46 +02:00
jayunit100
0a8577fced Test for hostPath which can eventually be refactored to also test emptyDir.
Add namespace support and remove requirement that host mount has to be type tmpfs
2015-05-14 23:09:21 -04:00
Robert Bailey
a91a7bfe77 Merge pull request #8265 from pmorie/e2e
Fix path construction bug in shell e2e
2015-05-14 19:37:15 -07:00
Paul Morie
3668f6ab5b Fix path construction bug in shell e2e 2015-05-14 19:37:24 -04:00
Daniel Smith
f820704003 Fix networking test 2015-05-14 14:20:36 -07:00
Victor Marmol
5dc415c1c2 Merge pull request #8230 from vishh/e2e_dns
Moving dns e2e tests in existing services test into a separate DNS e2e test
2015-05-14 11:40:39 -07:00
Rohit Jnagal
bd0156c65a Merge pull request #8204 from jlowdermilk/gke-todos
Cleanup some todos for gke + rip out dead code
2015-05-14 10:30:24 -07:00
Vishnu Kannan
439e2f5fde Moving dns e2e tests in existing services test into a separate DNS e2e test. 2015-05-14 09:59:16 -07:00
marekbiskup
672819be16 multiport endpoint e2e test 2015-05-14 13:42:46 +02:00
Prashanth Balasubramanian
5de27ede44 Add clarity to density tests 2015-05-13 16:34:45 -07:00
Jeff Lowdermilk
3f3760a14a Cleanup some todos for gke + rip out dead AuthConfig code 2015-05-13 13:54:02 -07:00
Rohit Jnagal
881f11adbf Merge pull request #8175 from piosz/load_generator
Added more logging to load e2e test
2015-05-13 13:31:50 -07:00
markturansky
0191574f7e Bi-directional bind between pv.Spec.ClaimRef and pvc.Spec.VolumeName 2015-05-13 14:05:21 -04:00
Rohit Jnagal
fe24da8478 Merge pull request #8128 from brendandburns/e2e
Switch networking e2e to v1beta3.  Update the network-tester container.
2015-05-13 10:27:03 -07:00
Zach Loafman
eef53c5ce0 Merge pull request #8143 from quinton-hoole/2015-05-12-events-e2e-retry
Add retry logic to events e2e test.
2015-05-13 07:24:31 -07:00
Piotr Szczesniak
2cee828c91 Added more logging to load e2e test 2015-05-13 16:12:17 +02:00
Brendan Burns
46be5482d0 Switch to a newer version of the nettest container. 2015-05-12 17:19:52 -07:00
Quinton Hoole
0981179d63 Add retry logic to events e2e test. 2015-05-12 15:47:58 -07:00
Satnam Singh
7cff506c93 Make the Elasticsearch logging pods discover each other 2015-05-12 15:26:09 -07:00
Clayton Coleman
7d620c20b9 Merge pull request #8105 from thockin/dns-domain
Rename default DNS domain to cluster.local
2015-05-12 17:18:45 -04:00
Vish Kannan
a74522a738 Merge pull request #8011 from brendandburns/exec
Switch exec to look at exit code not output status.
2015-05-12 12:43:11 -07:00
Nikhil Jindal
85d9bebe78 Merge pull request #8111 from piosz/load_generator
Enabled load e2e test for gce-scalability
2015-05-12 10:31:01 -07:00
Nikhil Jindal
d75bd8bf2a Merge pull request #7101 from liggitt/service_account
ServiceAccounts
2015-05-12 10:23:41 -07:00
Piotr Szczesniak
f20fc5644c Enabled load e2e test for gce-scalability 2015-05-12 15:44:44 +02:00
Piotr Szczesniak
962f10ee58 Merge pull request #7771 from piosz/load_generator
Implemented first version of load test
2015-05-12 09:24:19 +02:00
Tim Hockin
e83e49b076 rename default DNS domain to cluster.local 2015-05-11 23:00:43 -07:00
Quinton Hoole
78ee2ed325 Revert "E2E: Soak test and Functional tests for K8Petstore " 2015-05-11 18:24:42 -07:00
Jeff Lowdermilk
ac87ed6516 Merge pull request #8064 from deads2k/death-to-auth-path
eliminate auth-path
2015-05-11 15:41:41 -07:00
Jordan Liggitt
92bd58ede6 ServiceAccount e2e/integration tests 2015-05-11 17:18:06 -04:00
Nikhil Jindal
2dbe659887 Merge pull request #7639 from jayunit100/e2e-k8bps
E2E: Soak test and Functional tests for K8Petstore
2015-05-11 10:16:40 -07:00
Piotr Szczesniak
aa116e2033 Implemented first version of load test
As for now it creates a bunch of Replication Controllers and play with them

Partially addresses #3139
2015-05-11 16:40:59 +02:00
deads2k
19784dbc4f remove auth-path from kubeconfig 2015-05-11 10:40:23 -04:00
Wojciech Tyczynski
a98770e1ba Merge pull request #8051 from fgrzadkowski/big_disk
Increase disk size for kubernetes master.
2015-05-11 16:28:19 +02:00
Clayton Coleman
8755ea8ec9 Merge pull request #7704 from smarterclayton/parallel_allocator
Use etcd to allocate PortalIPs instead of in-mem
2015-05-11 09:56:10 -04:00
Filip Grzadkowski
26d14300e9 Increase disk size for kubernetes master.
Signed-off-by: Filip Grzadkowski <filipg@google.com>
2015-05-11 15:35:38 +02:00
Wojciech Tyczynski
9b6ef98469 Merge pull request #8035 from shawnps/patch-9
Fix Sprintf verb
2015-05-11 12:43:01 +02:00
Shawn Smith
5d5c660f4b Add missing Errorf formatting directives 2015-05-10 13:25:14 +09:00
Shawn Smith
5b0d4d72ba Fix Sprintf verb 2015-05-10 13:22:18 +09:00
Brendan Burns
c9324e6e38 Switch exec to look at exit code not output status. 2015-05-08 16:51:37 -07:00
jayunit100
13a9ae15f5 E2E: Functional + Soak test for k8petstore, revised with improved polling, exit code handling. 2015-05-08 20:53:22 +00:00
Clayton Coleman
5bcb96dae1 Separate out the master's control loops
These are "Bootstrap Controllers" as distinct from
the controllers in the controller-manager binary - they
are necessary for the cluster to start running.
2015-05-08 16:04:03 -04:00
Clayton Coleman
e200d5a317 Make PortalIP alloc HA
* Add an allocator which saves state in etcd
* Perform PortalIP allocation check on startup and periodically afterwards

Also expose methods in master for downstream components to handle IP allocation
/ master registration themselves.
2015-05-08 13:34:16 -04:00
Daniel Smith
6ab51f3bc0 Merge pull request #7668 from bprashanth/scheduling_minions
Scheduler ignores nodes that are in a bad state
2015-05-07 10:58:02 -07:00
Brendan Burns
5461231c1c Merge pull request #7567 from endocode/kbeecher/wip_etcd_migrate_keys
WIP: Add startup code to apiserver to migrate etcd keys
2015-05-07 10:05:41 -07:00
Vish Kannan
e25210d367 Merge pull request #7822 from thockin/dns
DNS: expose 53/TCP
2015-05-07 09:34:52 -07:00
Wojciech Tyczynski
1d59a0351f Merge pull request #7857 from fgrzadkowski/fix_jenkins
Ignore latency metrics for events
2015-05-07 13:26:12 +02:00
Filip Grzadkowski
c073c9b9c9 Ignore latency metrics for events 2015-05-07 10:19:22 +02:00
Wojciech Tyczynski
5200aa1981 Merge pull request #7839 from jayunit100/density-verify-param
E2E: Parameterize Density failure
2015-05-07 10:16:31 +02:00
Tim Hockin
34743a665a Add e2e coverage for DNS on TCP 2015-05-07 00:40:48 -07:00
Prashanth Balasubramanian
4b0607cf0b Scheduler ignored nodes with unknown condition status 2015-05-06 18:32:52 -07:00
Maxwell Forbes
070de6c608 Merge pull request #7858 from quinton-hoole/2015-04-28-repro-flaky-e2e
Improve retry logic in services e2e test.
2015-05-06 15:37:40 -07:00
saadali
4569de7a46 Enable Google Cloud Monitoring and Google Cloud Logging instead of
Influxdb for Google Compute Engine deployments.
2015-05-06 15:23:40 -07:00
Quinton Hoole
f51f6317d2 Improve retry logic in services e2e test. 2015-05-06 14:16:59 -07:00
jayunit100
7d4249da57 E2E: Parameterize Density failure 2015-05-06 19:41:09 +00:00
deads2k
f5942e4271 make go-oracle happy 2015-05-05 13:27:59 -04:00
Karl Beecher
0473f652fd Add startup code to apiserver to migrate etcd keys
Refs: #3476
2015-05-05 12:28:14 +02:00
Filip Grzadkowski
551cec2a21 Verify request latency in e2e performance tests. 2015-05-05 11:50:52 +02:00
Brian Grant
df8521c468 Merge pull request #7592 from pmorie/dapi-example
Rename EnvVarSource.FieldPath -> FieldRef and add example
2015-05-04 17:02:17 -07:00
Victor Marmol
fe7cb95be6 Merge pull request #7746 from vishh/exec_fix
Fix kubelet's docker RunInContainer implementation
2015-05-04 16:49:57 -07:00
Vishnu Kannan
18b3d34b18 Adding an integration test to verify success case for exec liveness probes. 2015-05-04 16:19:36 -07:00
Paul Morie
e949a623ff Change EnvVarSource.FieldPath -> FieldRef and add example 2015-05-04 18:41:09 -04:00
Quinton Hoole
ec7bababb4 Merge pull request #7732 from mbforbes/logSsh
Log which SSH key is used in e2e SSH test
2015-05-04 14:50:36 -07:00
Max Forbes
f2173627ff Log which SSH key is used in e2e SSH test to help debug #7714 2015-05-04 13:55:05 -07:00
Clayton Coleman
c8e0f4d2ae Metrics tests can't run on Mac 2015-05-04 14:57:43 -04:00
Wojciech Tyczynski
18b7eda07c Log host for failed pod 2015-05-04 15:14:23 +02:00
Wojciech Tyczynski
edf8d757af Fix boilerplate 2015-05-04 08:21:51 +02:00
Wojciech Tyczynski
982cac3e78 Merge pull request #7646 from rrati/scale-suite-7645
Moved the Scale tests into a scale file. #7645
2015-05-04 07:53:51 +02:00
Eric Paris
6b3a6e6b98 Make copyright ownership statement generic
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Robert Rati
80e9579ab5 Moved the Scale tests into a scale file. #7645 2015-05-01 15:54:41 -04:00
Quinton Hoole
bfaf976df7 Revert "Use native Ginkgo test runner instead of cmd/e2e" 2015-04-30 13:45:46 -07:00
Quinton Hoole
3602884d32 Merge pull request #7462 from ixdy/native-ginkgo-runner
Use native Ginkgo test runner instead of cmd/e2e
2015-04-30 13:27:04 -07:00
Clayton Coleman
d03b5299f9 Merge pull request #7432 from piosz/termination_notice
Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
2015-04-30 13:55:51 -04:00
CJ Cullen
b15e2e7340 Merge pull request #7544 from jayunit100/kubectl-ns
E2E: Update kubectl.go - remove default NS and use idiomatic namepsace l...
2015-04-30 10:43:50 -07:00
Piotr Szczesniak
11a2dc496f Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
Those are changes which touch users required by Termination Notice

Addresses #6804
2015-04-30 18:00:33 +02:00
jayunit100
864c668a51 E2E: Update kubectl.go - remove default NS and use idiomatic namepsace lifecycle 2015-04-29 22:58:35 -04:00
Jeff Grafton
d85494220b Remove --orderseed and --times flags from the e2e test.
Similar functionality for both is already provided by the Ginkgo runner
itself.
2015-04-29 16:59:15 -07:00
Max Forbes
6102704877 Implement Go e2e SSH utility and simple test that runs it on all nodes. 2015-04-29 11:28:17 -07:00
Jeff Grafton
57750ccb51 Use native Ginkgo test runner instead of cmd/e2e.
This commit deletes cmd/e2e and updates hack/ginkgo-e2e.sh to use the
'ginkgo' command instead. All logic from cmd/e2e/e2e.go and
test/e2e/driver.go have been combined into the new file
test/e2e/e2e_test.go.

Additionally, several tests which made poor assumptions about cwd or
used testContext before it was set have been fixed.

This change is generally intended to have no externally visible changes,
aside from the following caveats:
- The -t/--tests flag has been removed
- Calling cmd/e2e/e2e directly obviously won't work, but that was never
  supported anyway
- If the GINKGO_PARALLEL environment variable is set to y, then ginkgo
  will run test specs in parallel. (Currently defaults to n, since some
  tests are broken in this mode.)
2015-04-28 18:42:37 -07:00
Jeff Grafton
ae019935b3 Call the cluster/kubectl.sh wrapper in e2e tests.
The ginkgo wrapper script used to set up the path so that tests would
find the appropriate kubectl binary, but this seems like a cleaner way
to achieve the same result.
2015-04-28 16:14:36 -07:00
Fabio Yeon
45f85dbf06 Merge pull request #7404 from nikhiljindal/handleIndex
Updating handleIndex to return 404 for invalid server URL
2015-04-28 15:51:04 -07:00
Wojciech Tyczynski
3f165a742d Don't fail performance tests on single fail event 2015-04-28 13:59:24 +02:00
Wojciech Tyczynski
d4aa1864b1 Merge pull request #7375 from rrati/density-pod-status-7374
Added a method to verify no containers in a pod have failed.  The densit...
2015-04-28 10:51:27 +02:00
nikhiljindal
f864195a5b Returning 404 on invalid server URL 2015-04-27 16:15:52 -07:00
Daniel Smith
83093af8b0 Merge pull request #5707 from endocode/kbeecher/etcd_prefix
Adds ability to define a prefix for etcd paths
2015-04-27 13:37:43 -07:00
Tim Hockin
635c393a5a Merge pull request #6105 from markturansky/yoko_pv_mgr
PersistentVolumeClaimBinder
2015-04-27 13:35:44 -07:00
Paul Morie
7d30f09ebf Add downward API for environment vars 2015-04-27 14:13:11 -04:00
Robert Rati
caf70a28b4 Added a method to verify no containers in a pod have failed. The density
test is modified to use this method.  #7374
2015-04-27 14:05:41 -04:00
Zach Loafman
800739aadd Merge pull request #7361 from pmorie/secrets-e2e
Parity for namespace handling in secrets E2E
2015-04-27 09:56:18 -07:00
Wojciech Tyczynski
bb6a252c01 Merge pull request #7334 from jayunit100/density-namespaces
Unify the namespace pattern for density.go with the others
2015-04-27 18:45:33 +02:00
Paul Morie
db29d22cab Parity for namespace handling in secrets E2E 2015-04-27 12:33:19 -04:00
markturansky
a04420e548 Added pending phase for volumes. added defaults for PV/PVC. refactored to better phase transitioning in control loops 2015-04-27 12:05:12 -04:00
markturansky
37d7f3f4f1 Added integration test, fixed a validation issue 2015-04-27 12:05:12 -04:00
jayunit100
804ce233ba Unify the namespace pattern for density.go with the others 2015-04-27 12:03:37 -04:00
Paul Morie
5f25dd24d9 Make argument order for testContainerOutputInNamespace consistent 2015-04-27 10:04:19 -04:00
jayunit100
9b5e923d1d E2E: Update docker_containers test to use isolated namespaces using the proper idiom 2015-04-26 18:54:39 -04:00
jayunit100
79d26997a2 E2E: FIX util.go testContainerOutputInNamespace to properly check the namespace. 2015-04-26 18:54:10 -04:00
Quinton Hoole
73c81a259c Merge pull request #7297 from quinton-hoole/2015-04-20-e2e-test-pod-update-retry
Retry pod update on version conflict error in e2e test.
2015-04-24 12:16:00 -07:00
Quinton Hoole
7433d10104 Retry pod update on version conflict error in e2e test. 2015-04-24 11:49:23 -07:00
Brian Grant
60d7bad147 Merge pull request #7128 from nikhiljindal/fixbeta1tests
Removing more references to v1beta1 from pkg/
2015-04-24 11:07:53 -07:00
Quinton Hoole
35e9ad1747 Merge pull request #7235 from rrati/rc-functions-refactor-7234
Move RunRC, DeleteRC, and ListPods into the utility module and refactor
2015-04-24 09:38:12 -07:00
Karl Beecher
a7623ca6cc Adds ability to define a prefix for etcd paths
The API server can be supplied (via a command line flag) with a custom
prefix that is prepended to etcd resources paths.

Refs: #3476
2015-04-24 12:12:39 +02:00
nikhiljindal
dcc368c781 Removing more references to v1beta1 from pkg/ 2015-04-24 00:45:17 -07:00
David Oppenheimer
ee11832d71 Merge pull request #7263 from lavalamp/fix4
fix watch of single object
2015-04-23 17:09:59 -07:00
Daniel Smith
2fa3ae9f15 fix watch of single object 2015-04-23 16:02:22 -07:00
Brendan Burns
429534d6d5 Merge pull request #7226 from brendandburns/e2e
Add more detail to the failure notice so that we can actually see what is going on.
2015-04-23 14:43:27 -07:00
Robert Bailey
09c0f25c86 Merge pull request #7191 from pmorie/e2e-local
Make PD test skip correctly on local provider
2015-04-23 12:08:08 -07:00
Victor Marmol
d0553c085a Merge pull request #7192 from pmorie/e2e-local-external
Add appropriate skips for E2Es that use createExternalLoadBalancer
2015-04-23 11:59:46 -07:00
Brendan Burns
37af6563d8 Add more detail to the failure notice so that we can actually see what is going on. 2015-04-23 11:50:56 -07:00
Robert Rati
31684d1871 Move RunRC, DeleteRC, and ListPods into the utility module and refactor
to be support functions #7234
2015-04-23 14:30:58 -04:00
Paul Morie
3662399e80 Make PD test skip correctly on local provider 2015-04-23 13:32:45 -04:00
Quinton Hoole
7d0ba5b5e9 Merge pull request #6553 from jayunit100/networking-ns
E2E: Add a --namespace hint which tests can choose to honor, and implement...
2015-04-23 08:24:46 -07:00
Daniel Smith
2b241e7e11 Merge pull request #6638 from rrati/events-in-density-6637
Add checking of events after all pods started to verify no failures in
2015-04-22 14:30:20 -07:00
Paul Morie
08e3a5a969 Add appropriate skips for E2Es that use createExternalLoadBalancer 2015-04-22 17:02:59 -04:00
Zach Loafman
7e875a0f1c Merge pull request #7167 from pmorie/typo
Fix typo in secrets integration test
2015-04-22 09:17:11 -07:00
Zach Loafman
f1d9a88be6 Merge pull request #7168 from pmorie/typo2
Fix typo in networking e2e
2015-04-22 08:48:03 -07:00
Paul Morie
87ddd7c2e7 Fix typo in networking e2e 2015-04-22 10:57:26 -04:00
Paul Morie
d381db1778 Fix typo in secrets integration test 2015-04-22 10:54:54 -04:00
Brian Grant
15c2986a07 Merge pull request #7067 from ravigadde/master
Added field selector for listing pods
2015-04-22 07:12:21 -07:00
Alex Robinson
a9902fe932 Update the external load balancer test to use a different namespace in
each run, making stuck resources less painful.
2015-04-21 22:19:22 +00:00
Robert Rati
020ba6a6c7 Converted from continually listing events to using an Informer #6637 2015-04-21 13:57:16 -04:00
Robert Rati
23c5b7714e Bounded the loop waiting for all events to be logged and print a warning
if not all are logged 10 minutes after all pods are started #6637
2015-04-21 13:57:16 -04:00
Robert Rati
93d1040fcd Add checking of events after all pods started to verify no failures in
density test #6637
2015-04-21 13:57:15 -04:00
Zach Loafman
2a3e0796f8 Merge pull request #7108 from jayunit100/kubectl-1
Use --host option even if kubecontext is not provided.
2015-04-21 09:33:21 -07:00
jayunit100
be34714cb1 Use --host option even if kubecontext is not provided. 2015-04-21 10:17:20 -04:00
Ravi Gadde
bf8f258471 Added field selector for listing pods. 2015-04-21 06:33:28 -07:00
jayunit100
4b43a6a979 Implement pure UUID suffix Functionality into namespace, without implementing randomSuffix() (yet). 2015-04-21 09:27:39 -04:00
Masahiro Sano
f90dc8f413 use Watch for single object instead of WatchList 2015-04-21 08:00:52 +09:00
Quinton Hoole
23e806604d Merge pull request #7029 from roberthbailey/skipped-gce-gke-e2e-tests
Ensure that e2e tests run on gce|gke and are appropriately skipped for other cloud providers.
2015-04-20 15:39:19 -07:00
Daniel Smith
540cde0f91 Merge pull request #6901 from wojtek-t/unschedulability_test
Integration tests for unschedulable nodes.
2015-04-20 15:26:11 -07:00
Robert Bailey
feb7abcada Ensure that e2e tests run on gce|gke and are appropriately
skipped for other cloud providers.
2015-04-20 15:04:31 -07:00
jayunit100
0f0c0700ff E2E: Add Api Server option to kubectl 2015-04-20 15:54:26 -04:00
jayunit100
e548c16f7b Generalized namespace creation pattern for test utils 2015-04-20 13:44:19 -04:00
Wojciech Tyczynski
329d41828f Integration tests for unschedulable nodes. 2015-04-20 12:53:40 +02:00
Alex Robinson
6213f61370 Merge pull request #6941 from a-robinson/metrics
Add an integration test that checks for the metrics we expect to be exported from the master
2015-04-17 14:40:06 -07:00
Alex Robinson
fe262c0d98 Add an integration test that checks for the metrics we expect to be exported
from the master.
2015-04-17 19:31:23 +00:00
Wojciech Tyczynski
fafcf79d5d Allow more retries in density test 2015-04-17 12:35:56 +02:00
Robert Bailey
6d8a25ff56 Merge pull request #6948 from a-robinson/timeout2
Use the standard podStartTimeout in services e2e test
2015-04-16 18:53:32 -07:00
Alex Robinson
6209249976 Use the standard podStartTimeout in services e2e test when waiting for a
pod to be reachable behind an external load balancer.

I observed occasional timeouts when testing locally, and upon investigation
of one particular instance, found that it was just because the pod wasn't up
and running yet. I've changed the test to wait as long as all other tests do.

Also fix an unrelated error message.
2015-04-17 00:45:47 +00:00
Jeff Grafton
aee816d41b Revert hack to handle SIGTERM in e2e tests. 2015-04-16 16:56:12 -07:00
Alex Robinson
391e079cf6 Merge pull request #6917 from thockin/dockerfile-images-are-dead
Stop using dockerfile/* images
2015-04-16 13:30:50 -07:00
Robert Bailey
0fc94155cf Merge pull request #6875 from timothysc/kube-e2e-guestbook
Disable guestbook test for non-gce|gke due to "createExternalLoadBalancer": true
2015-04-16 12:32:13 -07:00
Tim Hockin
c2bacd588d Stop using dockerfile/* images
As per
http://blog.docker.com/2015/03/updates-available-to-popular-repos-update-your-images/
docker has stopped answering dockerfile/redis and dockerfile/nginx.  Fix all
users in our tree.  Sadly this means a lot of published examples are now broken.
2015-04-16 12:20:43 -07:00
Quinton Hoole
57a52d40ec Merge pull request #6920 from a-robinson/e2e
Fix a broken fmt.Errorf in the services e2e test
2015-04-16 10:39:58 -07:00
Alex Robinson
663ca18e8d Fix a broken fmt.Errorf in the services e2e test. 2015-04-16 17:24:59 +00:00
Quinton Hoole
82222e2ab7 Revert "Move remaining tests in e2e/service.go to unique namespaces." 2015-04-16 04:08:50 -07:00
Wojciech Tyczynski
7eee9c5e95 Retry on error in density 2015-04-16 09:28:00 +02:00
Quinton Hoole
34a2c6542a Move remaining tests in e2e/service.go to unique namespaces.
This prevents multiple runs of the same test from trampling on each other,
both serially and in parallel.
2015-04-15 15:38:55 -07:00
Timothy St. Clair
a7fb93bb55 Disable guestbook test for non-gce|gke due to
"createExternalLoadBalancer": true
2015-04-15 16:14:48 -05:00
Quinton Hoole
7d9adad916 Merge pull request #6724 from nikhiljindal/beta1
Updating test/integration to use testapi.Version everywhere
2015-04-15 10:58:25 -07:00
Brian Grant
29e68ad392 Merge pull request #6790 from nikhiljindal/encoder
Removing references to v1beta1 from hack/ and test/
2015-04-15 10:25:33 -07:00
Quinton Hoole
0609b9e71d Merge pull request #6712 from quinton-hoole/2015-04-10-remove-hostip-check-from-rc-e2e
Remove check for host IP from e2e test for replication controller
2015-04-15 10:06:03 -07:00
Timothy St. Clair
0df7309db2 Disable shell test for non-gce|gke providers 2015-04-15 10:15:26 -05:00
Wojciech Tyczynski
79f776b92c Retry density 2015-04-15 11:22:50 +02:00
nikhiljindal
8874ef9c06 Updating test/integration to use testapi.Version everywhere 2015-04-15 00:00:17 -07:00
Quinton Hoole
cd6daae014 Merge pull request #6271 from a-robinson/asynclb
Manage load balancer creation and deletion asynchronously in a ServiceController
2015-04-14 17:50:07 -07:00
Quinton Hoole
4e7998379f Remove check for host IP from e2e test for replication controller
This check has been replaced by the more targets #6705

# *** ERROR: *** docs are out of sync between cli and markdown
# run hack/run-gendocs.sh > docs/kubectl.md to regenerate

#
# Your commit will be aborted unless you regenerate docs.
    COMMIT_BLOCKED_ON_GENDOCS

# *** ERROR: *** docs are out of sync between cli and markdown
# run hack/run-gendocs.sh > docs/kubectl.md to regenerate

#
# Your commit will be aborted unless you regenerate docs.
    COMMIT_BLOCKED_ON_GENDOCS

# *** ERROR: *** docs are out of sync between cli and markdown
# run hack/run-gendocs.sh > docs/kubectl.md to regenerate

#
# Your commit will be aborted unless you regenerate docs.
    COMMIT_BLOCKED_ON_GENDOCS
2015-04-14 17:42:28 -07:00
Quinton Hoole
8edcdc8c6c Mark HostIP e2e test pending due to #6558. 2015-04-14 16:58:08 -07:00
Daniel Smith
5f1a0bc880 Merge pull request #6705 from quinton-hoole/2015-04-03-flakey-rc-e2e
Add an e2e test that pods get a host IP
2015-04-14 15:20:46 -07:00
Alex Robinson
7b647c5dbc Fix the services namespace test to wait for the services' load balancers
to be created.
2015-04-14 18:56:43 +00:00
Alex Robinson
ccc300289f Implement a ServiceController that watches services and handles keeping
external load balancers up-to-date based on the service's specs, using
the new DeltaFIFO watch queue class. Remove the old registry REST
handler code for creating/updating/deleting load balancers.

Also clean up a bunch of the GCE cloudprovider code related to load balancers.
2015-04-14 18:56:24 +00:00
nikhiljindal
a2c29d48ec Removing references to v1beta1 from hack/ and test/ 2015-04-14 11:31:37 -07:00
Wojciech Tyczynski
8fb22a750b Explicitly define scalability test suite 2015-04-14 14:55:11 +02:00
Quinton Hoole
4a20101a8d Add an e2e test that pods get a host IP 2015-04-13 20:20:48 -07:00
Satnam Singh
fe02c1247f Fix breakage of serve_hostnames soak test 2015-04-13 15:02:23 -07:00
Tim Hockin
f318da8344 Merge pull request #6379 from pmorie/rootcontext
Skeletal security context to facilitate tmpfs mount
2015-04-13 12:01:11 -07:00
Quinton Hoole
b47814d9a7 Merge pull request #6775 from rjnagal/node
Add monitoring e2e back
2015-04-13 12:00:35 -07:00
Rohit Jnagal
a4f9ded003 Add monitoring e2e back.
The last bugfix in #6710 fixed the real problem.
2015-04-13 18:47:04 +00:00
Paul Morie
c98e89fca0 Set rootcontext of emptyDir tmpfs mounts correctly 2015-04-13 12:50:36 -04:00
Wojciech Tyczynski
a7115de096 Enable Density test 2015-04-13 08:44:52 +02:00
Justin Santa Barbara
933cf60af7 Style: volumeId -> volumeID 2015-04-10 13:25:44 -07:00
Justin Santa Barbara
9561366f7d Provide more output during a disk delete 2015-04-10 13:25:43 -07:00
Justin Santa Barbara
9711e771c5 Rename AWSPersistentDisk -> AWSElasticBlockStore, aws-pd -> aws-ebs
Per comments from @markturansky - thanks!
2015-04-10 13:25:43 -07:00
Justin Santa Barbara
95b68ae0b0 Rename pdName -> volumeId for AWS persistent volumes 2015-04-10 13:25:43 -07:00
Justin Santa Barbara
89089900d7 Fix merge problems 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
2812936d34 Simplify logic of pd.go 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
6a4153fc0a Always create volumes in the active k8s zone 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
edf0292d4a Add initial support for Volumes to AWS 2015-04-10 13:25:42 -07:00
Wojciech Tyczynski
88eb0b0295 FieldSelector for node List() 2015-04-10 12:53:16 +02:00
jayunit100
52befc19b9 use api convention 2015-04-09 17:43:10 -04:00
jayunit100
248b56d658 E2E : Networking.go Implement BeforeEach/AfterEach, and unique namespaces for each test to avoid any collisions due to etcd deletion consistency. variable into func.satnams suggestions remove superfluous if stmt 2015-04-09 16:11:30 -04:00
Quinton Hoole
d85fbd7b5a Merge pull request #6600 from jayunit100/networking-ns2
Add namespace lifecycle to networking.go
2015-04-08 17:02:45 -07:00
jayunit100
b466b60386 Add a ephemeral namespace to networking.go, to be generalized shortly hereafter. 2015-04-08 19:01:25 -04:00
David Oppenheimer
4ffc2aad21 Merge pull request #6146 from kazegusuri/node_client_label
List in NodesInterface takes label selector
2015-04-08 14:22:53 -07:00
nikhiljindal
fe60be3179 Moving v1beta1 kubectl examples to v1beta3 2015-04-08 13:08:13 -07:00
yaoguo
6f80df8ea1 Add e2e test for emptyDir 2015-04-08 22:56:09 +08:00
Masahiro Sano
d04cc5ced4 List in NodesInterface takes label selector 2015-04-08 23:41:27 +09:00
Rohit Jnagal
63e8015edd Merge pull request #6547 from quinton-hoole/2015-04-07-build-broken
Mark monitoring e2e test as pending (skipped) until stable.
2015-04-07 17:09:55 -07:00
Quinton Hoole
3d4cacfaed Mark monitoring e2e test as pending (skipped) until stable. 2015-04-07 16:52:58 -07:00
Paul Morie
9de0cf0532 Fix typo in e2e network test 2015-04-07 18:47:00 -04:00
Rohit Jnagal
3cf04a66fb Merge pull request #6501 from jayunit100/shell-loc-log
Use ginkoRecover to prevent shell.go from causing cryptic crash when run...
2015-04-07 09:23:08 -07:00
Wojciech Tyczynski
ede2e756cd Fix density test 2015-04-07 16:36:42 +02:00
jayunit100
326b21e65b Use ginkoRecover to prevent shell.go from causing cryptic crash when running tests from wrong dir 2015-04-06 23:19:59 -04:00
Saad Ali
f22fe00a0b Merge pull request #6485 from timothysc/kube-e2e-events
Enable 'Events' tests for all providers, we need it for local
2015-04-06 17:39:51 -07:00
Rohit Jnagal
79fbb1018d Merge pull request #6486 from jayunit100/density2
E2E: parameter logs to inside of It declarations.
2015-04-06 16:02:12 -07:00
jayunit100
e1f7c58387 E2E: parameter logs to inside of It declarations. 2015-04-06 17:34:41 -04:00
Timothy St. Clair
c665b2c128 Enable 'Events' tests for all providers, we need it for local 2015-04-06 16:27:25 -05:00
Rohit Jnagal
94c3cf3aba Merge pull request #6459 from jayunit100/density2
Density test : explicit concurrency parameterization
2015-04-06 13:10:08 -07:00
jayunit100
88735f1d90 E2E : Density tests - explicit concurrency, parameterization, generalization of test pattern. 2015-04-06 15:35:07 -04:00
Brian Grant
b0b6418ca3 Merge pull request #6377 from nikhiljindal/kubevtl
Updating components to use v1beta3
2015-04-03 15:58:09 -07:00
nikhiljindal
f2b72931fc Updating components to use v1beta3 2015-04-03 15:19:14 -07:00
Sam Ghods
2c977db1b3 Implement Strategic Merge Patch in apiserver 2015-04-03 11:51:02 -07:00
Quinton Hoole
dca645d416 Merge pull request #6388 from ixdy/e2e-sigterm-sigint
Convert SIGTERM into SIGINT in e2e test runner
2015-04-02 17:03:55 -07:00
Robert Bailey
fb4366b178 Merge pull request #6390 from satnam6502/serve_hostnames
Adjust defaults and reporting for serve_hostnames
2015-04-02 16:49:24 -07:00
Sam Ghods
ca18e86877 Make naming of kubectl subcommands consistent 2015-04-02 16:14:53 -07:00
Satnam Singh
1c2a903e78 Adjust defaults and reporting for serve_hostnames 2015-04-02 16:01:58 -07:00
Jeff Grafton
8c7d6806d4 Convert SIGTERM into SIGINT in e2e test runner. 2015-04-02 14:54:22 -07:00
Dawn Chen
6ac59c8969 Merge pull request #6257 from lavalamp/fix6
Add a test verifying that etcd watches work even when there's a bunch of unrelated changes
2015-04-02 14:00:20 -07:00
Daniel Smith
a3276577d8 Demonstration of etcd watch problem 2015-04-02 13:41:41 -07:00
Satnam Singh
d0dcc379cb Merge pull request #6341 from jayunit100/networking-test-reorder
Reorder/Modularize networking e2e + pod launch phase, clean up comments.
2015-04-02 13:28:12 -07:00
Brian Grant
414be101b6 Merge pull request #6352 from piosz/api
Removed PodStatus.Host
2015-04-02 13:16:24 -07:00
Jeff Lowdermilk
25724f7e31 Merge pull request #6333 from satnam6502/serve_hostnames
Support GKE for serve_hostnames soak test
2015-04-02 11:58:29 -07:00
Satnam Singh
b21db4b214 Support GKE 2015-04-02 11:18:50 -07:00
Jeff Lowdermilk
7abcba9017 Use an up-to-date nginx image for e2e tests 2015-04-02 10:15:20 -07:00
jayunit100
3ad7557ed4 Reorder/Modularize networking e2e + pod launch phase, clean up comments, rebase (comments). 2015-04-02 11:35:11 -04:00
Piotr Szczesniak
5c6439d449 Removed PodStatus.Host
Fixes #6165
2015-04-02 16:38:45 +02:00
Jeff Lowdermilk
1857aa0388 fix e2e/kubectl for gke 2015-04-01 21:24:16 -07:00
Zach Loafman
1ff0a1e2a1 Merge pull request #6270 from jlowdermilk/gcloud-updates
Updates for gcloud 0.9.54
2015-04-01 19:14:57 -07:00
Robert Bailey
356d0e4401 Merge pull request #6256 from satnam6502/serve_hostnames
Issue queries in parallel for serve_hostnames soak test
2015-04-01 16:48:03 -07:00
Satnam Singh
7049bb6b55 Issue queries in parallel 2015-04-01 16:29:34 -07:00
Satnam Singh
3c119c008d Convert kubernetes/serve_hostname to gcr.io/google_containers/server_hostname 2015-04-01 15:39:05 -07:00
Jeff Lowdermilk
cfc04f41b8 Updates for gcloud changes (alpha, kubeconfig) 2015-04-01 09:27:06 -07:00
Jeff Lowdermilk
2d8e93f8b4 e2e images pulled from gcr.io 2015-04-01 09:18:03 -07:00
Paul Morie
0335e350c7 Fix issue 6294: networking e2e should set args, not command 2015-04-01 11:40:23 -04:00
Wojciech Tyczynski
c5597efc0c Don't run Density test in e2e runs until #6059 is fixed 2015-04-01 09:23:09 +02:00
Brian Grant
af858c99e2 Merge pull request #6098 from nikhiljindal/enableInMaster
Enabling v1beta3 api version by default in master
2015-03-31 15:31:18 -07:00
Victor Marmol
d80ac514df Merge pull request #6224 from pmorie/e2e-refactor
Extract testContainerOutput method from e2e tests
2015-03-31 14:45:02 -07:00
Victor Marmol
06fc01d7c3 Merge pull request #6226 from satnam6502/es_cluster_logging
Increase timeout for Elasticsearch service
2015-03-31 13:03:50 -07:00
Brian Grant
3354cffbf0 Merge pull request #6182 from thockin/plural_services_20
Implement multi-port Services
2015-03-31 12:55:21 -07:00
Paul Morie
0efe5e7872 Extract testContainerOutput method from e2e tests 2015-03-31 15:41:56 -04:00
Satnam Singh
835e26510d Increase timeout for Elasticsearch service 2015-03-31 10:39:27 -07:00
Victor Marmol
9bbf0b1546 Merge pull request #6100 from pmorie/entrypoint
Add control over container entrypoint
2015-03-31 09:58:40 -07:00
Paul Morie
7628b37d78 Add control over container entrypoint 2015-03-31 12:32:03 -04:00
Victor Marmol
95c8e79c10 Merge pull request #6204 from pmorie/secrets-e2e
Fix log retrieval in secrets e2e
2015-03-31 08:21:22 -07:00
Filip Grzadkowski
27bb8b568c Merge pull request #6051 from wojtek-t/speedup_density_test
Change Density test to avoid pulling image be the main factor
2015-03-31 15:23:04 +02:00
Wojciech Tyczynski
467f400721 Change Density test to avoid pulling image be the main factor 2015-03-31 12:26:41 +02:00
Tim Hockin
eeff1b74fb Fixes from feedback and testing 2015-03-30 23:52:37 -07:00
Paul Morie
f0a49c3255 Fix log retrieval in secrets e2e 2015-03-31 01:02:15 -04:00
Tim Hockin
186818d787 WIP: Implement multi-port Services 2015-03-30 19:28:11 -07:00
Quinton Hoole
a4dde6e2cb Make service e2e tests run in timestamped namespaces.
Make some service e2e tests run in timestamped namespaces to prevent name collisions.
2015-03-30 15:49:06 -07:00
Vishnu Kannan
68abb4d5d4 Reduce cadvisor e2e test timeout since cadvisor is now part of the kubelet binary. 2015-03-30 18:53:51 +00:00
nikhiljindal
478b7d5edf Repurposing enableV1beta3 to disableV1beta3 in master config to enable v1beta3 by default 2015-03-30 11:50:10 -07:00
Robert Bailey
7ee3268931 Merge pull request #6032 from jayunit100/e2e-utils-2
E2E utils (correcting test regression)
2015-03-27 15:40:34 -07:00
Brian Grant
a765236653 Merge pull request #5939 from thockin/plural_endpoints_31_endpt_subsets
Implement multi-port endpoints
2015-03-27 14:15:15 -07:00
Tim Hockin
8ae203825b Implement multi-port endpoints
Instead of endpoints being a flat list, it is now a list of "subsets"
where each is a struct of {Addresses, Ports}.  To generate the list of
endpoints you need to take union of the Cartesian products of the
subsets.  This is compact in the vast majority of cases, yet still
represents named ports and corner cases (e.g. each pod has a different
port number).

This also stores subsets in a deterministic order (sorted by hash) to
avoid spurious updates and comparison problems.

This is a fully compatible change - old objects and clients will
keepworking as long as they don't need the new functionality.

This is the prep for multi-port Services, which will add API to produce
endpoints in this new structure.
2015-03-27 12:36:32 -07:00
Matt Moore
9400b5b4f2 Move the 'private' (authenticated) image into a bucket owned by google-containers. 2015-03-27 09:54:37 -07:00
jayunit100
ef1508867d Revert 'Merge pull request #6008 from GoogleCloudPlatform/revert-5773-e2e_kubectl_util' with additional clean up, disambiguate the container name from the json contents. 2015-03-27 11:26:58 -04:00
Piotr Szczesniak
e22d18f4e0 Merge pull request #6035 from satnam6502/serve_hostnames
Change soak test to pull image from gcr.io
2015-03-27 10:04:28 +01:00
Satnam Singh
a9a881e6b1 Change soak test to pull image from gcr.io 2015-03-26 18:03:08 -07:00
Victor Marmol
622d47a8b9 Merge pull request #6025 from satnam6502/serve_hostnames
Increase serve_hostnames timeout for pods to enter running state
2015-03-26 16:46:53 -07:00
Satnam Singh
e48c79c72e Increase timeout for pods to enter running state 2015-03-26 16:32:39 -07:00
Zach Loafman
6b603ed6ea Merge pull request #6018 from satnam6502/serve_hostnames
Documentation for the serve_hostnames soak test
2015-03-26 16:14:58 -07:00
Satnam Singh
e6cddc1a27 Documentation for the serve_hostnames soak test 2015-03-26 15:48:50 -07:00
Vish Kannan
d7c2786e22 Merge pull request #6015 from rjnagal/node
Fix flakiness in monitoring e2e test.
2015-03-26 14:59:57 -07:00
Rohit Jnagal
b1911b9f98 Fix flakiness in monitoring e2e test. 2015-03-26 21:22:13 +00:00
Brian Grant
3b0db99692 Merge pull request #5915 from piosz/api
Changed PodInfo to be a list
2015-03-26 12:46:50 -07:00
Robert Bailey
6db95790c5 Revert "Refactor kubectl methods into utility class, so that we can easily integrate new tests and kube files written in json or other formats." 2015-03-26 12:22:04 -07:00
Satnam Singh
700c45d1d7 Add verbose flag, specify queries per node, increase pod start timeout 2015-03-26 11:40:54 -07:00
Zach Loafman
5ef6939740 Merge pull request #5992 from wojtek-t/extend_density_test
Improve density test to log unscheduled pods
2015-03-26 11:31:26 -07:00
Quinton Hoole
c8f6761fe9 Merge pull request #5686 from erictune/security-roadmap
Added integration test of secrets.
2015-03-26 11:16:00 -07:00
Wojciech Tyczynski
13feb77288 Improve density test to log unscheduled pods 2015-03-26 17:01:47 +01:00
Robert Bailey
0c4f8cb711 Merge pull request #5773 from jayunit100/e2e_kubectl_util
Refactor kubectl methods into utility class, so that we can easily integrate new tests and kube files written in json or other formats.
2015-03-26 07:38:09 -07:00
jayunit100
60542d04ad Move core functionality to utils.go, to pave way for incorporating broader testing from examples (push to restart the build) 2015-03-26 09:41:44 -04:00
Piotr Szczesniak
31901ed9d0 Changed PodInfo to be a list
This change is to make API consistent with our convention.

Fixes #3622
2015-03-26 10:15:25 +01:00
Daniel Smith
a8b1fd8177 change the way the density test is enabled 2015-03-25 16:42:54 -07:00
Rohit Jnagal
49ff04765b Add validation for node creation. 2015-03-25 21:55:03 +00:00
Eric Tune
ce05702136 Added integration test of secrets.
Tests apiserver side functionality.

Also deleted dead code in auth_test.go.
2015-03-25 12:37:47 -07:00
Rohit Jnagal
35b2c5ce9d Merge pull request #5881 from satnam6502/serve_hostnames
Change defaults, retry on errors and report stats for serve_hostnames
2015-03-25 12:13:47 -07:00
Masahiro Sano
7c5481c11a return 200 instead 409 Conflict 2015-03-26 02:44:43 +09:00
Satnam Singh
32909a3368 Change defaults, retry on errors and report stats 2015-03-25 10:12:49 -07:00
Clayton Coleman
367284b63b Merge pull request #5767 from kazegusuri/endpoints_storage
port endpoints to generic etcd
2015-03-25 11:32:01 -04:00
Masahiro Sano
410e11c305 port endpoints to generic etcd 2015-03-25 22:15:19 +09:00
deads2k
aebf27113d gooracle complaint for unused variable 2015-03-25 08:49:34 -04:00
Paul Morie
e40ba109a1 Change SecretVolumeSource to use a secret name instead of ObjRef 2015-03-24 13:58:41 -04:00
Robert Bailey
1724cbaa5e Merge pull request #5837 from satnam6502/logging
Fix error message for logging e2e test
2015-03-24 07:57:51 -07:00
Piotr Szczesniak
66c5a0768d Increased response timeout in kubectl e2e test
Should help for #5825. I ran the test 30 times and all passed.
2015-03-24 13:59:45 +01:00
Satnam Singh
68bd98596c Fix error message for logging e2e test 2015-03-24 00:03:06 -07:00
Robert Bailey
b46276e51b Merge pull request #5750 from satnam6502/soak
Soak test based on serve_hostname image
2015-03-23 13:25:29 -07:00
Piotr Szczesniak
654a8d40e6 Merge pull request #5772 from a-robinson/lb
Add an end-to-end test for external load balancers.
2015-03-23 21:09:43 +01:00
Alex Robinson
22825b1045 Add an end-to-end test for external load balancers. 2015-03-23 18:10:13 +00:00
Clayton Coleman
d19aac80ea Merge pull request #5533 from smarterclayton/burn_yaml_with_fire
Burn YAML with fire (kind of)
2015-03-23 13:45:52 -04:00
Satnam Singh
9716805613 Soak test based on serve_hostname image 2015-03-22 16:36:23 -07:00
Maxwell Forbes
0250fcfd8f Merge pull request #5732 from zmerlynn/i5722
service.go e2e: Cleanup ELBs from previous runs
2015-03-20 15:34:53 -07:00
Satnam Singh
2d345cb60a Add extra diagnostics to networking e2e test 2015-03-20 15:04:16 -07:00
Zach Loafman
4ab3852685 service.go e2e: Cleanup ELBs from previous runs
Prior to attempting to create new ones, cleanup from previous runs.
Timeouts, 500s, etc. are possible here, and if they happen, you don't
want to die forever.

Along the way: Remove the timeout, it was clearly copied from the
previous function and is actually an anti-pattern that needs to be
fixed after discovering it doesn't play well with defers.

Fixes #5722
2015-03-20 14:43:38 -07:00
Dawn Chen
7a6490f572 Merge pull request #5729 from thockin/plural_endpoints_30_restart
Rename Service.ContainerPort to TargetPort in v1b3
2015-03-20 14:37:46 -07:00
Tim Hockin
4375376e9c Rename Service.ContainerPort to TargetPort in v1b3
Fix all callers and examples.  Part of multi-port service cleanup.
2015-03-20 13:50:06 -07:00
Vish Kannan
d11ec2933f Merge pull request #5720 from satnam6502/loge2e
Run cluster level logging e2e test in its own namesapce
2015-03-20 13:16:26 -07:00
Satnam Singh
f2980a3f13 Run cluster level logging e2e test in its own namesapce 2015-03-20 11:30:01 -07:00
Satnam Singh
bc58ac54e8 Cleanup Fail calls in networking e2e test 2015-03-20 11:00:24 -07:00
Clayton Coleman
1b1866d836 Invalid JSON in examples and tests 2015-03-20 00:02:03 -04:00
Clayton Coleman
428d2263e5 Graceful deletion of resources
This commit adds support to core resources to enable deferred deletion
of resources.  Clients may optionally specify a time period after which
resources must be deleted via an object sent with their DELETE. That
object may define an optional grace period in seconds, or allow the
default "preferred" value for a resource to be used. Once the object
is marked as pending deletion, the deletionTimestamp field will be set
and an etcd TTL will be in place.

Clients should assume resources that have deletionTimestamp set will
be deleted at some point in the future.  Other changes will come later
to enable graceful deletion on a per resource basis.
2015-03-19 15:33:32 -04:00
Satnam Singh
4645d13e77 Reduce pod usage for network e2e test 2015-03-18 22:10:15 -07:00
Jeff Grafton
df710cdff5 Merge pull request #5613 from satnam6502/network
Make Network end to end test use a test image with a specific tag (and use a debugged image)
2015-03-18 16:21:30 -07:00
Brian Grant
11f9733599 Merge pull request #5587 from nikhiljindal/enable3
Updating integration tests to test both API versions - v1beta1 and 3
2015-03-18 16:14:20 -07:00
Satnam Singh
0feb7e2c79 Make networking e2e test use an explicitly tagged image 2015-03-18 15:54:20 -07:00
nikhiljindal
7e36bbab3c Updating integration tests to test both API versions - v1beta1 and 3 2015-03-18 15:24:11 -07:00
Rohit Jnagal
15ea997983 Merge pull request #5595 from piosz/guestbook_test
Added waiting for new entry in kubectl e2e test
2015-03-18 14:55:55 -07:00
Piotr Szczesniak
04ea0a8a82 Added waiting for new entry in kubectl e2e test
The test tends to fail because after an entry is added to data-base it takes
some time to replicate it from redis-master to redis-slave
2015-03-18 19:47:04 +01:00
Satnam Singh
7cd102ed6b Make networking e2e test run in its own namespace 2015-03-18 09:53:47 -07:00
Salvatore Dario Minonne
31ddefc347 Finalize fields.Selector 2015-03-17 22:55:43 +01:00
Alex Robinson
572f804139 Merge pull request #5269 from satnam6502/e2e_cluster_logging
End to end test for cluster level logging with Elasticsearch
2015-03-17 12:12:24 -07:00
Satnam Singh
2042f1bf9e End to end test for cluster level logging with Elasticsearch 2015-03-17 11:51:20 -07:00
Quinton Hoole
cc72eaec3a Fix services namespace clash.
Serve identically names services in different namespaces on different external IP addresses.
2015-03-16 18:19:19 -07:00
Derek Carr
1291401c2e Merge pull request #5516 from smarterclayton/add_ttl_to_helper
Add TTL support to etcd_helper in preparation for graceful delete
2015-03-16 17:14:35 -04:00
Victor Marmol
bdc1981eb5 Merge pull request #5433 from wojtek-t/remove_bound_pods
Remove BoundPods from Kubelet
2015-03-16 13:38:24 -07:00
Robert Bailey
0fe77d49af Merge pull request #5439 from piosz/guestbook_test
Ported guestbook.sh e2e test to ginkgo
2015-03-16 12:49:59 -07:00
Clayton Coleman
bddef32193 Prepare EtcdHelper to extract more data from Node
In order to support graceful deletion, the resource object will
need access to the TTL value in etcd.  Also, in the future we
may want to get the creation index (distinct from modifiedindex)
and expose it to clients.  Change EtcdResourceVersioner to be
more type specific (objects vs lists) and provide a default
implementation that relies on the internal API convention.

Also, rename etcd_tools.go to etcd_helper.go and split a few
things up.
2015-03-16 15:33:50 -04:00
Wojciech Tyczynski
5d95e9e671 Remove BoundPods from Kubelet 2015-03-16 19:17:21 +01:00
Piotr Szczesniak
2533ddffa5 Ported guestbook.sh e2e test to ginkgo
This fixed #5045
2015-03-16 18:33:15 +01:00
Jeff Lowdermilk
e37fd2a84d Merge pull request #5477 from dchen1107/clean
Convert RestartPolicy to string for v1beta3.
2015-03-16 10:23:52 -07:00
Vishnu Kannan
e89dd7e235 Updating heapster version to v0.9.
Updated the e2e test to work with the new version.
2015-03-14 19:00:18 +00:00
Dawn Chen
34e9c82c70 Convert RestartPolicy to string for v1beta3.
Fixed #3607 and spiritually support #5475
2015-03-13 18:38:07 -07:00
Timothy St. Clair
7eebf674d4 Update to option enable profiling on the master daemon processes.
--profiling=true , default is false
2015-03-13 10:45:01 -05:00
Satnam Singh
d0768332f2 Merge pull request #5274 from lavalamp/fix4
Add 'thrash' test that starts and stops a bunch of rc's in parallel
2015-03-12 15:29:31 -07:00
Robert Rati
3c9a9a4fb0 Fixed issue with the density test failing after a successful run because of
a failure to cleanup #5385
2015-03-12 12:29:00 -04:00
Victor Marmol
c03b080328 Merge pull request #5332 from vishh/heapster_e2e
Adding a ginkgo version of monitoring e2e test
2015-03-12 08:37:45 -07:00
Jerzy Szczepkowski
f24531c88e Fixed pods e2e test.
Fixed pods e2e test. The test was failing due to PR #5256.
2015-03-12 14:05:50 +01:00
Vishnu Kannan
cbb3c96f31 Removing old shell based monitoring test. 2015-03-12 02:39:15 +00:00
Vishnu Kannan
425dd7e3ee Adding a heapster ginkgo e2e test. 2015-03-11 21:47:47 +00:00
Zach Loafman
18d1a1e70e Merge pull request #5272 from satnam6502/e2e
Fix status message in waitForPodCondition
2015-03-11 13:10:20 -07:00
Zach Loafman
e780592315 Merge pull request #5264 from jlowdermilk/kube-up
Standalone kubeconfig for gce kube-up (mulligan)
2015-03-11 11:46:45 -07:00
Alex Mohr
c630f66658 Merge pull request #5165 from roberthbailey/rc-hostports
Remove the host port from the replication controller e2e test.
2015-03-11 11:08:14 -07:00
Lénaïc Huard
a326051325 Skip PD e2e test on non gce clusters 2015-03-11 17:58:40 +01:00
Daniel Smith
a5396a808e add 'thrash' test that starts and stops a bunch of rc's in parallel 2015-03-10 16:59:26 -07:00
Satnam Singh
cef905a7b2 Fix status message in waitForPodConidition 2015-03-10 16:06:03 -07:00
Jeff Lowdermilk
7db006ab1a Generate standalone kubeconfig on kube-up, clear on kube-down.
Also tweaked the ginkgo tests to pull auth directly from a kubeconfig file
instead of the legacy kubernetes_auth file.
2015-03-10 14:23:34 -07:00
Daniel Smith
c542518ed6 Merge pull request #4862 from rrati/e2e-density-4861
Added a density test to start 100 pods/node in a cluster #4861
2015-03-10 12:05:31 -07:00
Daniel Smith
e1f64b2901 Merge pull request #5235 from jszczepkowski/pods-watch
Watch support in PodInterface.
2015-03-10 11:59:04 -07:00
Mike Danese
46ec580771 add PATCH to apiserver 2015-03-10 10:56:15 -07:00
Robert Rati
798b3ee7fd Added a density test to start 100 pods/node in a cluster #4861 2015-03-10 13:41:24 -04:00
Jerzy Szczepkowski
0342ba3476 Watch support in PodInterface.
Added Watch support to PodInterface. Extended pods e2e to test watch. Resolves #4777.
2015-03-10 09:45:44 +01:00
Jeff Lowdermilk
a280e0da2d Revert "Standalone kubeconfig for gce kube-up" 2015-03-09 17:45:06 -07:00
Satnam Singh
89bc7bbea9 Merge pull request #5154 from jlowdermilk/kube-up
Standalone kubeconfig for gce kube-up
2015-03-09 16:22:51 -07:00
Jeff Lowdermilk
4173d369aa Generate standalone kubeconfig on kube-up, clear on kube-down.
Also tweaked the ginkgo tests to pull auth directly from a kubeconfig file
instead of the legacy kubernetes_auth file.
2015-03-09 16:02:00 -07:00
Daniel Smith
6de2e615cb Merge pull request #5193 from bprashanth/e2e_stop_controller
Properly reap replication controllers in e2e test
2015-03-09 15:38:26 -07:00
Alex Mohr
0cac9ed2fd Merge pull request #5155 from jlowdermilk/e2e
Include seconds waited in e2e/kubectl.go timeout message.
2015-03-09 13:44:32 -07:00
Prashanth Balasubramanian
0e484f25b1 Properly reap replication controllers in e2e test 2015-03-09 13:08:12 -07:00
Robert Bailey
a32f024029 Remove the host port from the replication controller e2e test. 2015-03-07 19:48:00 -08:00
Jeff Lowdermilk
8ab723404f Include seconds waited in e2e/kubectl.go timeout message. 2015-03-06 16:54:16 -08:00
Satnam Singh
2685617a41 Fix formating of time output in waitForPodCondition 2015-03-06 11:25:04 -08:00
Jeff Lowdermilk
f7a491958b fix Errorf argument mismatch in test/e2e/util.go 2015-03-06 09:36:37 -08:00
roberthbailey
ca9d24304b Merge pull request #5106 from jlowdermilk/e2e
Make e2e pod start timeouts uniform
2015-03-05 16:39:10 -08:00
Jeff Lowdermilk
083f29158f Make e2e pod start timeouts uniform 2015-03-05 15:54:45 -08:00
Daniel Smith
d5ae2b56ad Add v1beta3 files to update-demo 2015-03-05 11:48:25 -08:00
Robert Bailey
dcd4981ec1 Replace the use of kubectl proxy with a standard api client. 2015-03-04 20:39:27 -08:00
Robert Bailey
55f2da3cd5 Check for non-200 responses separately from errors from the http get.
Fixes #5059
2015-03-04 14:39:56 -08:00
Clayton Coleman
eea1e88cb0 Merge pull request #4921 from mikedanese/too-many-gets
Interactions with etcd should optionally take a value that is filled with the result
2015-03-04 14:18:12 -05:00
Zach Loafman
ce2570d250 Merge pull request #5035 from pmorie/pd-e2e
Fix assertion on number of nodes in PD e2e test
2015-03-04 10:43:50 -08:00
Mike Danese
e1ca63f569 SetObj and CreateObj optionally accept an object to fill with the result of the get 2015-03-04 10:38:42 -08:00
Paul Morie
ce2b036b2b Fix assertion on number of nodes in PD e2e test 2015-03-04 13:30:03 -05:00
Tim Hockin
fdea7252a4 Merge pull request #5001 from brendandburns/api3
Embed VolumeSource in v1beta3 and internal.
2015-03-04 09:50:14 -08:00
Jeff Lowdermilk
3891ad1b8f Merge pull request #5015 from roberthbailey/kubectl-e2e-timeout
Increase the kubectl e2e test timeout to 10 minutes
2015-03-04 09:24:41 -08:00
Brendan Burns
fb90b56bf6 Embed VolumeSource in v1beta3 and internal. 2015-03-04 02:25:40 -08:00
Robert Bailey
8ae17bf677 Increase the timeout to 10 minutes to give docker plenty of time to pull the
image. We've seen increasing pull times lately causing the e2e tests to flake.

Fixes #4996.
2015-03-03 21:54:54 -08:00
Eric Tune
4263f343ef Merge pull request #4990 from mikedanese/auth-test-less-logs
Only log on failing cases in auth integration test
2015-03-03 13:31:41 -08:00
CJ Cullen
51f1a244e7 Fix leaking PDs from pd.go e2e test
Also upped the timeouts, because Slow Test > Flaky Test.
2015-03-03 11:10:36 -08:00
Mike Danese
9ae18cc96e Only log on failing cases in auth integration test 2015-03-03 10:26:00 -08:00
Jeff Lowdermilk
66dfbe900a Merge pull request #4963 from roberthbailey/kubectl-proxy
Remove host ports from the update demo and update tests (take 2).
2015-03-02 15:16:04 -08:00
Brendan Burns
fe973461f5 Merge pull request #4916 from thockin/plural_21_endpoints
Rename type Port to ContainerPort
2015-03-02 10:53:32 -08:00
Robert Bailey
5799dd5f7d Remove host ports from the update demo and update tests (take 2). 2015-03-02 10:15:34 -08:00
Robert Bailey
3ae85812bd Use the kubectl binary rather than the wrapper shell script in the
kubectl e2e test.
2015-03-01 21:45:04 -08:00
Tim Hockin
ea548b8260 Rename type Port to ContainerPort
Sadly I had to do this by hand - I just could not get gorename to fix up
users of it.
2015-02-27 21:05:59 -08:00
Zach Loafman
507b202b23 Merge pull request #4864 from jlowdermilk/kubectl-e2e-timeout
Increase timeout on kubectl.go to 60s
2015-02-26 13:31:52 -08:00
Jeff Lowdermilk
9871bbc1ae Increase timeout on kubectl.go to 60s
Should reduce flakiness caused by ~30s docker image pulls.
2015-02-26 12:13:28 -08:00
roberthbailey
6efa68aa86 Merge pull request #4750 from fabioy/e2e-defer.fix
Move 'defer' call before creation on various e2e tests.
2015-02-26 10:03:46 -08:00
Jeff Lowdermilk
1db43f8f3e Trim whitespace from kubectl in e2e/kubectl.go 2015-02-25 15:26:51 -08:00
Fabio Yeon
0b72391aa0 Move 'defer' call before creation on various e2e tests. 2015-02-25 10:04:51 -08:00
Zach Loafman
84a2a9766a Revert "Remove host ports from the update demo and update tests" 2015-02-25 09:56:03 -08:00
Robert Bailey
dd87c247a5 Remove host ports from the update demo and update tests 2015-02-24 15:34:18 -08:00
Tim Hockin
0c5e421e92 fix head 2015-02-23 14:38:39 -08:00
Rohit Jnagal
cbcd35539f Merge pull request #4718 from cjcullen/pdtest
Fix PD detach (fix the mount path/device name calculation).
2015-02-23 14:28:02 -08:00