Commit Graph

1003 Commits (5ea41906d41728fd826ba453319c55d56d21a9ef)

Author SHA1 Message Date
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
Tim St. Clair a244357ccd Use prometheus extraction library for metric parsing in e2e tests 2015-07-24 10:28:46 -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
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
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
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
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
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
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
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
gmarek c86e18846b Add max-pods e2e test 2015-07-01 09:21:42 +02: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