Commit Graph

623 Commits (2c5d40a69ef8d9ff1c020ebee6fed9de8fab5fd0)

Author SHA1 Message Date
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
jayunit100 864c668a51 E2E: Update kubectl.go - remove default NS and use idiomatic namepsace lifecycle 2015-04-29 22:58:35 -04:00
Jeff Grafton d85494220b Remove --orderseed and --times flags from the e2e test.
Similar functionality for both is already provided by the Ginkgo runner
itself.
2015-04-29 16:59:15 -07:00
Max Forbes 6102704877 Implement Go e2e SSH utility and simple test that runs it on all nodes. 2015-04-29 11:28:17 -07:00
Jeff Grafton 57750ccb51 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.

Additionally, several tests which made poor assumptions about cwd or
used testContext before it was set have been fixed.

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
  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.)
2015-04-28 18:42:37 -07:00
Jeff Grafton ae019935b3 Call the cluster/kubectl.sh wrapper in e2e tests.
The ginkgo wrapper script used to set up the path so that tests would
find the appropriate kubectl binary, but this seems like a cleaner way
to achieve the same result.
2015-04-28 16:14:36 -07:00
Wojciech Tyczynski 3f165a742d Don't fail performance tests on single fail event 2015-04-28 13:59:24 +02:00
Wojciech Tyczynski d4aa1864b1 Merge pull request #7375 from rrati/density-pod-status-7374
Added a method to verify no containers in a pod have failed.  The densit...
2015-04-28 10:51:27 +02:00
Paul Morie 7d30f09ebf Add downward API for environment vars 2015-04-27 14:13:11 -04:00
Robert Rati caf70a28b4 Added a method to verify no containers in a pod have failed. The density
test is modified to use this method.  #7374
2015-04-27 14:05:41 -04:00
Zach Loafman 800739aadd Merge pull request #7361 from pmorie/secrets-e2e
Parity for namespace handling in secrets E2E
2015-04-27 09:56:18 -07:00
Wojciech Tyczynski bb6a252c01 Merge pull request #7334 from jayunit100/density-namespaces
Unify the namespace pattern for density.go with the others
2015-04-27 18:45:33 +02:00
Paul Morie db29d22cab Parity for namespace handling in secrets E2E 2015-04-27 12:33:19 -04:00
jayunit100 804ce233ba Unify the namespace pattern for density.go with the others 2015-04-27 12:03:37 -04:00
Paul Morie 5f25dd24d9 Make argument order for testContainerOutputInNamespace consistent 2015-04-27 10:04:19 -04:00
jayunit100 9b5e923d1d E2E: Update docker_containers test to use isolated namespaces using the proper idiom 2015-04-26 18:54:39 -04:00
jayunit100 79d26997a2 E2E: FIX util.go testContainerOutputInNamespace to properly check the namespace. 2015-04-26 18:54:10 -04:00
Quinton Hoole 7433d10104 Retry pod update on version conflict error in e2e test. 2015-04-24 11:49:23 -07:00
Quinton Hoole 35e9ad1747 Merge pull request #7235 from rrati/rc-functions-refactor-7234
Move RunRC, DeleteRC, and ListPods into the utility module and refactor
2015-04-24 09:38:12 -07:00
Brendan Burns 429534d6d5 Merge pull request #7226 from brendandburns/e2e
Add more detail to the failure notice so that we can actually see what is going on.
2015-04-23 14:43:27 -07:00
Robert Bailey 09c0f25c86 Merge pull request #7191 from pmorie/e2e-local
Make PD test skip correctly on local provider
2015-04-23 12:08:08 -07:00
Victor Marmol d0553c085a Merge pull request #7192 from pmorie/e2e-local-external
Add appropriate skips for E2Es that use createExternalLoadBalancer
2015-04-23 11:59:46 -07:00
Brendan Burns 37af6563d8 Add more detail to the failure notice so that we can actually see what is going on. 2015-04-23 11:50:56 -07:00
Robert Rati 31684d1871 Move RunRC, DeleteRC, and ListPods into the utility module and refactor
to be support functions #7234
2015-04-23 14:30:58 -04:00
Paul Morie 3662399e80 Make PD test skip correctly on local provider 2015-04-23 13:32:45 -04:00
Quinton Hoole 7d0ba5b5e9 Merge pull request #6553 from jayunit100/networking-ns
E2E: Add a --namespace hint which tests can choose to honor, and implement...
2015-04-23 08:24:46 -07:00
Daniel Smith 2b241e7e11 Merge pull request #6638 from rrati/events-in-density-6637
Add checking of events after all pods started to verify no failures in
2015-04-22 14:30:20 -07:00
Paul Morie 08e3a5a969 Add appropriate skips for E2Es that use createExternalLoadBalancer 2015-04-22 17:02:59 -04:00
Zach Loafman f1d9a88be6 Merge pull request #7168 from pmorie/typo2
Fix typo in networking e2e
2015-04-22 08:48:03 -07:00
Paul Morie 87ddd7c2e7 Fix typo in networking e2e 2015-04-22 10:57:26 -04:00
Brian Grant 15c2986a07 Merge pull request #7067 from ravigadde/master
Added field selector for listing pods
2015-04-22 07:12:21 -07:00
Alex Robinson a9902fe932 Update the external load balancer test to use a different namespace in
each run, making stuck resources less painful.
2015-04-21 22:19:22 +00:00
Robert Rati 020ba6a6c7 Converted from continually listing events to using an Informer #6637 2015-04-21 13:57:16 -04:00
Robert Rati 23c5b7714e Bounded the loop waiting for all events to be logged and print a warning
if not all are logged 10 minutes after all pods are started #6637
2015-04-21 13:57:16 -04:00
Robert Rati 93d1040fcd Add checking of events after all pods started to verify no failures in
density test #6637
2015-04-21 13:57:15 -04:00
Zach Loafman 2a3e0796f8 Merge pull request #7108 from jayunit100/kubectl-1
Use --host option even if kubecontext is not provided.
2015-04-21 09:33:21 -07:00
jayunit100 be34714cb1 Use --host option even if kubecontext is not provided. 2015-04-21 10:17:20 -04:00
Ravi Gadde bf8f258471 Added field selector for listing pods. 2015-04-21 06:33:28 -07:00
jayunit100 4b43a6a979 Implement pure UUID suffix Functionality into namespace, without implementing randomSuffix() (yet). 2015-04-21 09:27:39 -04:00
Robert Bailey feb7abcada Ensure that e2e tests run on gce|gke and are appropriately
skipped for other cloud providers.
2015-04-20 15:04:31 -07:00
jayunit100 0f0c0700ff E2E: Add Api Server option to kubectl 2015-04-20 15:54:26 -04:00
jayunit100 e548c16f7b Generalized namespace creation pattern for test utils 2015-04-20 13:44:19 -04:00
Wojciech Tyczynski fafcf79d5d Allow more retries in density test 2015-04-17 12:35:56 +02:00
Robert Bailey 6d8a25ff56 Merge pull request #6948 from a-robinson/timeout2
Use the standard podStartTimeout in services e2e test
2015-04-16 18:53:32 -07:00
Alex Robinson 6209249976 Use the standard podStartTimeout in services e2e test when waiting for a
pod to be reachable behind an external load balancer.

I observed occasional timeouts when testing locally, and upon investigation
of one particular instance, found that it was just because the pod wasn't up
and running yet. I've changed the test to wait as long as all other tests do.

Also fix an unrelated error message.
2015-04-17 00:45:47 +00:00
Jeff Grafton aee816d41b Revert hack to handle SIGTERM in e2e tests. 2015-04-16 16:56:12 -07:00
Alex Robinson 391e079cf6 Merge pull request #6917 from thockin/dockerfile-images-are-dead
Stop using dockerfile/* images
2015-04-16 13:30:50 -07:00
Robert Bailey 0fc94155cf Merge pull request #6875 from timothysc/kube-e2e-guestbook
Disable guestbook test for non-gce|gke due to "createExternalLoadBalancer": true
2015-04-16 12:32:13 -07:00
Tim Hockin c2bacd588d Stop using dockerfile/* images
As per
http://blog.docker.com/2015/03/updates-available-to-popular-repos-update-your-images/
docker has stopped answering dockerfile/redis and dockerfile/nginx.  Fix all
users in our tree.  Sadly this means a lot of published examples are now broken.
2015-04-16 12:20:43 -07:00
Quinton Hoole 57a52d40ec Merge pull request #6920 from a-robinson/e2e
Fix a broken fmt.Errorf in the services e2e test
2015-04-16 10:39:58 -07:00
Alex Robinson 663ca18e8d Fix a broken fmt.Errorf in the services e2e test. 2015-04-16 17:24:59 +00:00
Quinton Hoole 82222e2ab7 Revert "Move remaining tests in e2e/service.go to unique namespaces." 2015-04-16 04:08:50 -07:00
Wojciech Tyczynski 7eee9c5e95 Retry on error in density 2015-04-16 09:28:00 +02:00
Quinton Hoole 34a2c6542a Move remaining tests in e2e/service.go to unique namespaces.
This prevents multiple runs of the same test from trampling on each other,
both serially and in parallel.
2015-04-15 15:38:55 -07:00
Timothy St. Clair a7fb93bb55 Disable guestbook test for non-gce|gke due to
"createExternalLoadBalancer": true
2015-04-15 16:14:48 -05:00
Brian Grant 29e68ad392 Merge pull request #6790 from nikhiljindal/encoder
Removing references to v1beta1 from hack/ and test/
2015-04-15 10:25:33 -07:00
Quinton Hoole 0609b9e71d Merge pull request #6712 from quinton-hoole/2015-04-10-remove-hostip-check-from-rc-e2e
Remove check for host IP from e2e test for replication controller
2015-04-15 10:06:03 -07:00
Timothy St. Clair 0df7309db2 Disable shell test for non-gce|gke providers 2015-04-15 10:15:26 -05:00
Wojciech Tyczynski 79f776b92c Retry density 2015-04-15 11:22:50 +02:00
Quinton Hoole cd6daae014 Merge pull request #6271 from a-robinson/asynclb
Manage load balancer creation and deletion asynchronously in a ServiceController
2015-04-14 17:50:07 -07:00
Quinton Hoole 4e7998379f Remove check for host IP from e2e test for replication controller
This check has been replaced by the more targets #6705

# *** ERROR: *** docs are out of sync between cli and markdown
# run hack/run-gendocs.sh > docs/kubectl.md to regenerate

#
# Your commit will be aborted unless you regenerate docs.
    COMMIT_BLOCKED_ON_GENDOCS

# *** ERROR: *** docs are out of sync between cli and markdown
# run hack/run-gendocs.sh > docs/kubectl.md to regenerate

#
# Your commit will be aborted unless you regenerate docs.
    COMMIT_BLOCKED_ON_GENDOCS

# *** ERROR: *** docs are out of sync between cli and markdown
# run hack/run-gendocs.sh > docs/kubectl.md to regenerate

#
# Your commit will be aborted unless you regenerate docs.
    COMMIT_BLOCKED_ON_GENDOCS
2015-04-14 17:42:28 -07:00
Quinton Hoole 8edcdc8c6c Mark HostIP e2e test pending due to #6558. 2015-04-14 16:58:08 -07:00
Daniel Smith 5f1a0bc880 Merge pull request #6705 from quinton-hoole/2015-04-03-flakey-rc-e2e
Add an e2e test that pods get a host IP
2015-04-14 15:20:46 -07:00
Alex Robinson 7b647c5dbc Fix the services namespace test to wait for the services' load balancers
to be created.
2015-04-14 18:56:43 +00:00
Alex Robinson ccc300289f Implement a ServiceController that watches services and handles keeping
external load balancers up-to-date based on the service's specs, using
the new DeltaFIFO watch queue class. Remove the old registry REST
handler code for creating/updating/deleting load balancers.

Also clean up a bunch of the GCE cloudprovider code related to load balancers.
2015-04-14 18:56:24 +00:00
nikhiljindal a2c29d48ec Removing references to v1beta1 from hack/ and test/ 2015-04-14 11:31:37 -07:00
Wojciech Tyczynski 8fb22a750b Explicitly define scalability test suite 2015-04-14 14:55:11 +02:00
Quinton Hoole 4a20101a8d Add an e2e test that pods get a host IP 2015-04-13 20:20:48 -07:00
Tim Hockin f318da8344 Merge pull request #6379 from pmorie/rootcontext
Skeletal security context to facilitate tmpfs mount
2015-04-13 12:01:11 -07:00
Quinton Hoole b47814d9a7 Merge pull request #6775 from rjnagal/node
Add monitoring e2e back
2015-04-13 12:00:35 -07:00
Rohit Jnagal a4f9ded003 Add monitoring e2e back.
The last bugfix in #6710 fixed the real problem.
2015-04-13 18:47:04 +00:00
Paul Morie c98e89fca0 Set rootcontext of emptyDir tmpfs mounts correctly 2015-04-13 12:50:36 -04:00
Wojciech Tyczynski a7115de096 Enable Density test 2015-04-13 08:44:52 +02:00
Justin Santa Barbara 933cf60af7 Style: volumeId -> volumeID 2015-04-10 13:25:44 -07:00
Justin Santa Barbara 9561366f7d Provide more output during a disk delete 2015-04-10 13:25:43 -07:00
Justin Santa Barbara 9711e771c5 Rename AWSPersistentDisk -> AWSElasticBlockStore, aws-pd -> aws-ebs
Per comments from @markturansky - thanks!
2015-04-10 13:25:43 -07:00
Justin Santa Barbara 95b68ae0b0 Rename pdName -> volumeId for AWS persistent volumes 2015-04-10 13:25:43 -07:00
Justin Santa Barbara 89089900d7 Fix merge problems 2015-04-10 13:25:42 -07:00
Justin Santa Barbara 2812936d34 Simplify logic of pd.go 2015-04-10 13:25:42 -07:00
Justin Santa Barbara 6a4153fc0a Always create volumes in the active k8s zone 2015-04-10 13:25:42 -07:00
Justin Santa Barbara edf0292d4a Add initial support for Volumes to AWS 2015-04-10 13:25:42 -07:00
Wojciech Tyczynski 88eb0b0295 FieldSelector for node List() 2015-04-10 12:53:16 +02:00
jayunit100 52befc19b9 use api convention 2015-04-09 17:43:10 -04:00
jayunit100 248b56d658 E2E : Networking.go Implement BeforeEach/AfterEach, and unique namespaces for each test to avoid any collisions due to etcd deletion consistency. variable into func.satnams suggestions remove superfluous if stmt 2015-04-09 16:11:30 -04:00
Quinton Hoole d85fbd7b5a Merge pull request #6600 from jayunit100/networking-ns2
Add namespace lifecycle to networking.go
2015-04-08 17:02:45 -07:00
jayunit100 b466b60386 Add a ephemeral namespace to networking.go, to be generalized shortly hereafter. 2015-04-08 19:01:25 -04:00
David Oppenheimer 4ffc2aad21 Merge pull request #6146 from kazegusuri/node_client_label
List in NodesInterface takes label selector
2015-04-08 14:22:53 -07:00
nikhiljindal fe60be3179 Moving v1beta1 kubectl examples to v1beta3 2015-04-08 13:08:13 -07:00
yaoguo 6f80df8ea1 Add e2e test for emptyDir 2015-04-08 22:56:09 +08:00
Masahiro Sano d04cc5ced4 List in NodesInterface takes label selector 2015-04-08 23:41:27 +09:00
Rohit Jnagal 63e8015edd Merge pull request #6547 from quinton-hoole/2015-04-07-build-broken
Mark monitoring e2e test as pending (skipped) until stable.
2015-04-07 17:09:55 -07:00
Quinton Hoole 3d4cacfaed Mark monitoring e2e test as pending (skipped) until stable. 2015-04-07 16:52:58 -07:00
Paul Morie 9de0cf0532 Fix typo in e2e network test 2015-04-07 18:47:00 -04:00
Rohit Jnagal 3cf04a66fb Merge pull request #6501 from jayunit100/shell-loc-log
Use ginkoRecover to prevent shell.go from causing cryptic crash when run...
2015-04-07 09:23:08 -07:00
Wojciech Tyczynski ede2e756cd Fix density test 2015-04-07 16:36:42 +02:00
jayunit100 326b21e65b Use ginkoRecover to prevent shell.go from causing cryptic crash when running tests from wrong dir 2015-04-06 23:19:59 -04:00
Saad Ali f22fe00a0b Merge pull request #6485 from timothysc/kube-e2e-events
Enable 'Events' tests for all providers, we need it for local
2015-04-06 17:39:51 -07:00
Rohit Jnagal 79fbb1018d Merge pull request #6486 from jayunit100/density2
E2E: parameter logs to inside of It declarations.
2015-04-06 16:02:12 -07:00
jayunit100 e1f7c58387 E2E: parameter logs to inside of It declarations. 2015-04-06 17:34:41 -04:00
Timothy St. Clair c665b2c128 Enable 'Events' tests for all providers, we need it for local 2015-04-06 16:27:25 -05:00
Rohit Jnagal 94c3cf3aba Merge pull request #6459 from jayunit100/density2
Density test : explicit concurrency parameterization
2015-04-06 13:10:08 -07:00
jayunit100 88735f1d90 E2E : Density tests - explicit concurrency, parameterization, generalization of test pattern. 2015-04-06 15:35:07 -04:00
nikhiljindal f2b72931fc Updating components to use v1beta3 2015-04-03 15:19:14 -07:00
Quinton Hoole dca645d416 Merge pull request #6388 from ixdy/e2e-sigterm-sigint
Convert SIGTERM into SIGINT in e2e test runner
2015-04-02 17:03:55 -07:00
Sam Ghods ca18e86877 Make naming of kubectl subcommands consistent 2015-04-02 16:14:53 -07:00
Jeff Grafton 8c7d6806d4 Convert SIGTERM into SIGINT in e2e test runner. 2015-04-02 14:54:22 -07:00
Satnam Singh d0dcc379cb Merge pull request #6341 from jayunit100/networking-test-reorder
Reorder/Modularize networking e2e + pod launch phase, clean up comments.
2015-04-02 13:28:12 -07:00
Brian Grant 414be101b6 Merge pull request #6352 from piosz/api
Removed PodStatus.Host
2015-04-02 13:16:24 -07:00
Jeff Lowdermilk 7abcba9017 Use an up-to-date nginx image for e2e tests 2015-04-02 10:15:20 -07:00
jayunit100 3ad7557ed4 Reorder/Modularize networking e2e + pod launch phase, clean up comments, rebase (comments). 2015-04-02 11:35:11 -04:00
Piotr Szczesniak 5c6439d449 Removed PodStatus.Host
Fixes #6165
2015-04-02 16:38:45 +02:00
Jeff Lowdermilk 1857aa0388 fix e2e/kubectl for gke 2015-04-01 21:24:16 -07:00
Zach Loafman 1ff0a1e2a1 Merge pull request #6270 from jlowdermilk/gcloud-updates
Updates for gcloud 0.9.54
2015-04-01 19:14:57 -07:00
Satnam Singh 3c119c008d Convert kubernetes/serve_hostname to gcr.io/google_containers/server_hostname 2015-04-01 15:39:05 -07:00
Jeff Lowdermilk cfc04f41b8 Updates for gcloud changes (alpha, kubeconfig) 2015-04-01 09:27:06 -07:00
Jeff Lowdermilk 2d8e93f8b4 e2e images pulled from gcr.io 2015-04-01 09:18:03 -07:00
Paul Morie 0335e350c7 Fix issue 6294: networking e2e should set args, not command 2015-04-01 11:40:23 -04:00
Wojciech Tyczynski c5597efc0c Don't run Density test in e2e runs until #6059 is fixed 2015-04-01 09:23:09 +02:00
Victor Marmol d80ac514df Merge pull request #6224 from pmorie/e2e-refactor
Extract testContainerOutput method from e2e tests
2015-03-31 14:45:02 -07:00
Victor Marmol 06fc01d7c3 Merge pull request #6226 from satnam6502/es_cluster_logging
Increase timeout for Elasticsearch service
2015-03-31 13:03:50 -07:00
Brian Grant 3354cffbf0 Merge pull request #6182 from thockin/plural_services_20
Implement multi-port Services
2015-03-31 12:55:21 -07:00
Paul Morie 0efe5e7872 Extract testContainerOutput method from e2e tests 2015-03-31 15:41:56 -04:00
Satnam Singh 835e26510d Increase timeout for Elasticsearch service 2015-03-31 10:39:27 -07:00
Victor Marmol 9bbf0b1546 Merge pull request #6100 from pmorie/entrypoint
Add control over container entrypoint
2015-03-31 09:58:40 -07:00
Paul Morie 7628b37d78 Add control over container entrypoint 2015-03-31 12:32:03 -04:00
Victor Marmol 95c8e79c10 Merge pull request #6204 from pmorie/secrets-e2e
Fix log retrieval in secrets e2e
2015-03-31 08:21:22 -07:00
Filip Grzadkowski 27bb8b568c Merge pull request #6051 from wojtek-t/speedup_density_test
Change Density test to avoid pulling image be the main factor
2015-03-31 15:23:04 +02:00
Wojciech Tyczynski 467f400721 Change Density test to avoid pulling image be the main factor 2015-03-31 12:26:41 +02:00
Paul Morie f0a49c3255 Fix log retrieval in secrets e2e 2015-03-31 01:02:15 -04:00
Tim Hockin 186818d787 WIP: Implement multi-port Services 2015-03-30 19:28:11 -07:00
Quinton Hoole a4dde6e2cb Make service e2e tests run in timestamped namespaces.
Make some service e2e tests run in timestamped namespaces to prevent name collisions.
2015-03-30 15:49:06 -07:00
Vishnu Kannan 68abb4d5d4 Reduce cadvisor e2e test timeout since cadvisor is now part of the kubelet binary. 2015-03-30 18:53:51 +00:00
Robert Bailey 7ee3268931 Merge pull request #6032 from jayunit100/e2e-utils-2
E2E utils (correcting test regression)
2015-03-27 15:40:34 -07:00
Brian Grant a765236653 Merge pull request #5939 from thockin/plural_endpoints_31_endpt_subsets
Implement multi-port endpoints
2015-03-27 14:15:15 -07:00
Tim Hockin 8ae203825b Implement multi-port endpoints
Instead of endpoints being a flat list, it is now a list of "subsets"
where each is a struct of {Addresses, Ports}.  To generate the list of
endpoints you need to take union of the Cartesian products of the
subsets.  This is compact in the vast majority of cases, yet still
represents named ports and corner cases (e.g. each pod has a different
port number).

This also stores subsets in a deterministic order (sorted by hash) to
avoid spurious updates and comparison problems.

This is a fully compatible change - old objects and clients will
keepworking as long as they don't need the new functionality.

This is the prep for multi-port Services, which will add API to produce
endpoints in this new structure.
2015-03-27 12:36:32 -07:00
Matt Moore 9400b5b4f2 Move the 'private' (authenticated) image into a bucket owned by google-containers. 2015-03-27 09:54:37 -07:00
jayunit100 ef1508867d Revert 'Merge pull request #6008 from GoogleCloudPlatform/revert-5773-e2e_kubectl_util' with additional clean up, disambiguate the container name from the json contents. 2015-03-27 11:26:58 -04:00
Vish Kannan d7c2786e22 Merge pull request #6015 from rjnagal/node
Fix flakiness in monitoring e2e test.
2015-03-26 14:59:57 -07:00
Rohit Jnagal b1911b9f98 Fix flakiness in monitoring e2e test. 2015-03-26 21:22:13 +00:00
Brian Grant 3b0db99692 Merge pull request #5915 from piosz/api
Changed PodInfo to be a list
2015-03-26 12:46:50 -07:00
Robert Bailey 6db95790c5 Revert "Refactor kubectl methods into utility class, so that we can easily integrate new tests and kube files written in json or other formats." 2015-03-26 12:22:04 -07:00
Zach Loafman 5ef6939740 Merge pull request #5992 from wojtek-t/extend_density_test
Improve density test to log unscheduled pods
2015-03-26 11:31:26 -07:00
Wojciech Tyczynski 13feb77288 Improve density test to log unscheduled pods 2015-03-26 17:01:47 +01:00
Robert Bailey 0c4f8cb711 Merge pull request #5773 from jayunit100/e2e_kubectl_util
Refactor kubectl methods into utility class, so that we can easily integrate new tests and kube files written in json or other formats.
2015-03-26 07:38:09 -07:00
jayunit100 60542d04ad Move core functionality to utils.go, to pave way for incorporating broader testing from examples (push to restart the build) 2015-03-26 09:41:44 -04:00
Piotr Szczesniak 31901ed9d0 Changed PodInfo to be a list
This change is to make API consistent with our convention.

Fixes #3622
2015-03-26 10:15:25 +01:00
Daniel Smith a8b1fd8177 change the way the density test is enabled 2015-03-25 16:42:54 -07:00
deads2k aebf27113d gooracle complaint for unused variable 2015-03-25 08:49:34 -04:00
Paul Morie e40ba109a1 Change SecretVolumeSource to use a secret name instead of ObjRef 2015-03-24 13:58:41 -04:00
Robert Bailey 1724cbaa5e Merge pull request #5837 from satnam6502/logging
Fix error message for logging e2e test
2015-03-24 07:57:51 -07:00
Piotr Szczesniak 66c5a0768d Increased response timeout in kubectl e2e test
Should help for #5825. I ran the test 30 times and all passed.
2015-03-24 13:59:45 +01:00
Satnam Singh 68bd98596c Fix error message for logging e2e test 2015-03-24 00:03:06 -07:00
Alex Robinson 22825b1045 Add an end-to-end test for external load balancers. 2015-03-23 18:10:13 +00:00
Maxwell Forbes 0250fcfd8f Merge pull request #5732 from zmerlynn/i5722
service.go e2e: Cleanup ELBs from previous runs
2015-03-20 15:34:53 -07:00
Satnam Singh 2d345cb60a Add extra diagnostics to networking e2e test 2015-03-20 15:04:16 -07:00
Zach Loafman 4ab3852685 service.go e2e: Cleanup ELBs from previous runs
Prior to attempting to create new ones, cleanup from previous runs.
Timeouts, 500s, etc. are possible here, and if they happen, you don't
want to die forever.

Along the way: Remove the timeout, it was clearly copied from the
previous function and is actually an anti-pattern that needs to be
fixed after discovering it doesn't play well with defers.

Fixes #5722
2015-03-20 14:43:38 -07:00
Dawn Chen 7a6490f572 Merge pull request #5729 from thockin/plural_endpoints_30_restart
Rename Service.ContainerPort to TargetPort in v1b3
2015-03-20 14:37:46 -07:00
Tim Hockin 4375376e9c Rename Service.ContainerPort to TargetPort in v1b3
Fix all callers and examples.  Part of multi-port service cleanup.
2015-03-20 13:50:06 -07:00
Vish Kannan d11ec2933f Merge pull request #5720 from satnam6502/loge2e
Run cluster level logging e2e test in its own namesapce
2015-03-20 13:16:26 -07:00
Satnam Singh f2980a3f13 Run cluster level logging e2e test in its own namesapce 2015-03-20 11:30:01 -07:00
Satnam Singh bc58ac54e8 Cleanup Fail calls in networking e2e test 2015-03-20 11:00:24 -07:00
Satnam Singh 4645d13e77 Reduce pod usage for network e2e test 2015-03-18 22:10:15 -07:00
Satnam Singh 0feb7e2c79 Make networking e2e test use an explicitly tagged image 2015-03-18 15:54:20 -07:00
Rohit Jnagal 15ea997983 Merge pull request #5595 from piosz/guestbook_test
Added waiting for new entry in kubectl e2e test
2015-03-18 14:55:55 -07:00
Piotr Szczesniak 04ea0a8a82 Added waiting for new entry in kubectl e2e test
The test tends to fail because after an entry is added to data-base it takes
some time to replicate it from redis-master to redis-slave
2015-03-18 19:47:04 +01:00
Satnam Singh 7cd102ed6b Make networking e2e test run in its own namespace 2015-03-18 09:53:47 -07:00
Salvatore Dario Minonne 31ddefc347 Finalize fields.Selector 2015-03-17 22:55:43 +01:00
Alex Robinson 572f804139 Merge pull request #5269 from satnam6502/e2e_cluster_logging
End to end test for cluster level logging with Elasticsearch
2015-03-17 12:12:24 -07:00
Satnam Singh 2042f1bf9e End to end test for cluster level logging with Elasticsearch 2015-03-17 11:51:20 -07:00
Quinton Hoole cc72eaec3a Fix services namespace clash.
Serve identically names services in different namespaces on different external IP addresses.
2015-03-16 18:19:19 -07:00
Victor Marmol bdc1981eb5 Merge pull request #5433 from wojtek-t/remove_bound_pods
Remove BoundPods from Kubelet
2015-03-16 13:38:24 -07:00
Robert Bailey 0fe77d49af Merge pull request #5439 from piosz/guestbook_test
Ported guestbook.sh e2e test to ginkgo
2015-03-16 12:49:59 -07:00
Wojciech Tyczynski 5d95e9e671 Remove BoundPods from Kubelet 2015-03-16 19:17:21 +01:00
Piotr Szczesniak 2533ddffa5 Ported guestbook.sh e2e test to ginkgo
This fixed #5045
2015-03-16 18:33:15 +01:00
Jeff Lowdermilk e37fd2a84d Merge pull request #5477 from dchen1107/clean
Convert RestartPolicy to string for v1beta3.
2015-03-16 10:23:52 -07:00
Vishnu Kannan e89dd7e235 Updating heapster version to v0.9.
Updated the e2e test to work with the new version.
2015-03-14 19:00:18 +00:00
Dawn Chen 34e9c82c70 Convert RestartPolicy to string for v1beta3.
Fixed #3607 and spiritually support #5475
2015-03-13 18:38:07 -07:00