Commit Graph

793 Commits (86025129fbb5ee392701a6495cdbd6bd6e8d0d84)

Author SHA1 Message Date
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
Quinton Hoole 063139996e Merge pull request #8399 from ZJU-SEL/improve_e2e_retry_logic
improve e2e retry logic with standard wait.Poll()
2015-05-19 09:48:18 -07: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
Brian Grant 2c81050e6f Merge pull request #8457 from davidopp/master
Fix stylistic isues with #5547. Closes #4910.
2015-05-19 07:43:21 -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
David Oppenheimer 44b1e1ca0c Fix stylistic isues with #5547. Closes #4910. 2015-05-18 23:32:06 -07: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
Tim Hockin f66ca25d9f Rename AccessMode to PersistentVolumeAccessMode 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
Daniel Smith 5e056f119d Merge pull request #6694 from bprashanth/bench
Add a simple master benchmark and a wrapper to run it.
2015-05-18 14:42:24 -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
Victor Marmol 45874d5f76 Merge pull request #5547 from gmarek/client3
Add a resource specifying number of Pods that are allowed to run on Kubelet.
2015-05-18 11:11:43 -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
Victor Marmol 4ba22e713a Merge pull request #8296 from jlowdermilk/gen-analytics
Add ga-beacon analytics to gendocs scripts
2015-05-18 08:40:02 -07:00
Clayton Coleman 3b10d82864 Merge pull request #8391 from liggitt/etcd_token_lookup
Make serviceaccount/token lookup more flexible
2015-05-18 11:08:30 -04:00
Clayton Coleman 485a420326 Merge pull request #8257 from liggitt/multi_user_controller
Allow ServiceAccountsController to manage multiple named service accounts
2015-05-18 10:39:50 -04: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
Jordan Liggitt d90e7409e4 Prevent auth recursion for service account tokens 2015-05-16 23:39:07 -04:00
Jordan Liggitt 7e9281fc39 Allow ServiceAccountsController to manage multiple named service accounts 2015-05-15 23:42:00 -04:00
Brendan Burns 7e96aec477 Fix some races/multi-thread access in the reboot test. 2015-05-15 19:46:00 -07:00
Jeff Lowdermilk 553f9f822b Add ga-beacon analytics to gendocs scripts
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
2015-05-15 18:56:38 -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
Prashanth Balasubramanian 4200033c0a Add a simple master benchmark and a wrapper to run it. 2015-05-15 17:30:17 -07: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
gmarek 27d660d0ac Add a resource specifying number of Pods that are allowed to run on Kubelet. 2015-05-15 10:57:46 +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
markturansky 0191574f7e Bi-directional bind between pv.Spec.ClaimRef and pvc.Spec.VolumeName 2015-05-13 14:05:21 -04: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