Commit Graph

836 Commits (c6161824db3784e6156131307a5e94647e5557fd)

Author SHA1 Message Date
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
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
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 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
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
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 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
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