Commit Graph

1043 Commits (ddda661991235b1dce6fbb9f96cd82ae843b5719)

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