Commit Graph

972 Commits

Author SHA1 Message Date
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
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
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
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
Paul Morie
0ec8332418 Fix typo in volumes e2e 2015-06-16 17:24:02 -04: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
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
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
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
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
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
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
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
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
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
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
Prashanth Balasubramanian
a6607afa80 Don't relist events in density 2015-05-18 16:55:43 -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
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
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