Commit Graph

499 Commits (9b67435cf312772ee4b7c0de023ea9cc910b1d73)

Author SHA1 Message Date
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
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
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
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
Brendan Burns 7e96aec477 Fix some races/multi-thread access in the reboot test. 2015-05-15 19:46:00 -07:00
Brendan Burns ab0844840a Merge pull request #8246 from rrati/red-flag-pod-termination
Correct logic for failing after % of containers fail. #7790
2015-05-16 02:46:07 +01:00
Max Forbes b32c54625b Enable reboot test for GKE 2015-05-15 17:27:39 -07:00
Max Forbes 5d1d37f9ca Add a node reboot test. 2015-05-15 17:25:28 -07:00
Jeff Grafton 67da1ac0c8 Revert "Once again, use native Ginkgo test runner instead of cmd/e2e."
This change broke compilation on go 1.3 and running e2e tests on OS X.

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

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

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

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

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

Partially addresses #3139
2015-05-11 16:40:59 +02:00
deads2k 19784dbc4f remove auth-path from kubeconfig 2015-05-11 10:40:23 -04:00
Filip Grzadkowski 26d14300e9 Increase disk size for kubernetes master.
Signed-off-by: Filip Grzadkowski <filipg@google.com>
2015-05-11 15:35:38 +02:00
Brendan Burns c9324e6e38 Switch exec to look at exit code not output status. 2015-05-08 16:51:37 -07:00
jayunit100 13a9ae15f5 E2E: Functional + Soak test for k8petstore, revised with improved polling, exit code handling. 2015-05-08 20:53:22 +00:00
Vish Kannan e25210d367 Merge pull request #7822 from thockin/dns
DNS: expose 53/TCP
2015-05-07 09:34:52 -07:00
Wojciech Tyczynski 1d59a0351f Merge pull request #7857 from fgrzadkowski/fix_jenkins
Ignore latency metrics for events
2015-05-07 13:26:12 +02:00
Filip Grzadkowski c073c9b9c9 Ignore latency metrics for events 2015-05-07 10:19:22 +02:00
Wojciech Tyczynski 5200aa1981 Merge pull request #7839 from jayunit100/density-verify-param
E2E: Parameterize Density failure
2015-05-07 10:16:31 +02:00
Tim Hockin 34743a665a Add e2e coverage for DNS on TCP 2015-05-07 00:40:48 -07:00
Maxwell Forbes 070de6c608 Merge pull request #7858 from quinton-hoole/2015-04-28-repro-flaky-e2e
Improve retry logic in services e2e test.
2015-05-06 15:37:40 -07:00
saadali 4569de7a46 Enable Google Cloud Monitoring and Google Cloud Logging instead of
Influxdb for Google Compute Engine deployments.
2015-05-06 15:23:40 -07:00
Quinton Hoole f51f6317d2 Improve retry logic in services e2e test. 2015-05-06 14:16:59 -07:00
jayunit100 7d4249da57 E2E: Parameterize Density failure 2015-05-06 19:41:09 +00:00
deads2k f5942e4271 make go-oracle happy 2015-05-05 13:27:59 -04:00
Filip Grzadkowski 551cec2a21 Verify request latency in e2e performance tests. 2015-05-05 11:50:52 +02:00
Brian Grant df8521c468 Merge pull request #7592 from pmorie/dapi-example
Rename EnvVarSource.FieldPath -> FieldRef and add example
2015-05-04 17:02:17 -07:00
Victor Marmol fe7cb95be6 Merge pull request #7746 from vishh/exec_fix
Fix kubelet's docker RunInContainer implementation
2015-05-04 16:49:57 -07:00
Vishnu Kannan 18b3d34b18 Adding an integration test to verify success case for exec liveness probes. 2015-05-04 16:19:36 -07:00
Paul Morie e949a623ff Change EnvVarSource.FieldPath -> FieldRef and add example 2015-05-04 18:41:09 -04:00
Max Forbes f2173627ff Log which SSH key is used in e2e SSH test to help debug #7714 2015-05-04 13:55:05 -07:00
Wojciech Tyczynski 18b7eda07c Log host for failed pod 2015-05-04 15:14:23 +02:00
Wojciech Tyczynski edf8d757af Fix boilerplate 2015-05-04 08:21:51 +02:00
Wojciech Tyczynski 982cac3e78 Merge pull request #7646 from rrati/scale-suite-7645
Moved the Scale tests into a scale file. #7645
2015-05-04 07:53:51 +02:00
Eric Paris 6b3a6e6b98 Make copyright ownership statement generic
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Robert Rati 80e9579ab5 Moved the Scale tests into a scale file. #7645 2015-05-01 15:54:41 -04:00
Quinton Hoole bfaf976df7 Revert "Use native Ginkgo test runner instead of cmd/e2e" 2015-04-30 13:45:46 -07:00
Quinton Hoole 3602884d32 Merge pull request #7462 from ixdy/native-ginkgo-runner
Use native Ginkgo test runner instead of cmd/e2e
2015-04-30 13:27:04 -07:00
Clayton Coleman d03b5299f9 Merge pull request #7432 from piosz/termination_notice
Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
2015-04-30 13:55:51 -04:00
CJ Cullen b15e2e7340 Merge pull request #7544 from jayunit100/kubectl-ns
E2E: Update kubectl.go - remove default NS and use idiomatic namepsace l...
2015-04-30 10:43:50 -07:00
Piotr Szczesniak 11a2dc496f Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
Those are changes which touch users required by Termination Notice

Addresses #6804
2015-04-30 18:00:33 +02:00