Commit Graph

500 Commits (37040fb0e37d5cb6cafaa0aaa2622e01c98bdef6)

Author SHA1 Message Date
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
Masahiro Sano f90dc8f413 use Watch for single object instead of WatchList 2015-04-21 08:00:52 +09:00
Quinton Hoole 23e806604d Merge pull request #7029 from roberthbailey/skipped-gce-gke-e2e-tests
Ensure that e2e tests run on gce|gke and are appropriately skipped for other cloud providers.
2015-04-20 15:39:19 -07:00
Daniel Smith 540cde0f91 Merge pull request #6901 from wojtek-t/unschedulability_test
Integration tests for unschedulable nodes.
2015-04-20 15:26:11 -07: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 329d41828f Integration tests for unschedulable nodes. 2015-04-20 12:53:40 +02:00
Alex Robinson 6213f61370 Merge pull request #6941 from a-robinson/metrics
Add an integration test that checks for the metrics we expect to be exported from the master
2015-04-17 14:40:06 -07:00
Alex Robinson fe262c0d98 Add an integration test that checks for the metrics we expect to be exported
from the master.
2015-04-17 19:31:23 +00: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
Quinton Hoole 7d9adad916 Merge pull request #6724 from nikhiljindal/beta1
Updating test/integration to use testapi.Version everywhere
2015-04-15 10:58:25 -07: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
nikhiljindal 8874ef9c06 Updating test/integration to use testapi.Version everywhere 2015-04-15 00:00:17 -07: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
Satnam Singh fe02c1247f Fix breakage of serve_hostnames soak test 2015-04-13 15:02:23 -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
Brian Grant b0b6418ca3 Merge pull request #6377 from nikhiljindal/kubevtl
Updating components to use v1beta3
2015-04-03 15:58:09 -07:00
nikhiljindal f2b72931fc Updating components to use v1beta3 2015-04-03 15:19:14 -07:00
Sam Ghods 2c977db1b3 Implement Strategic Merge Patch in apiserver 2015-04-03 11:51:02 -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
Robert Bailey fb4366b178 Merge pull request #6390 from satnam6502/serve_hostnames
Adjust defaults and reporting for serve_hostnames
2015-04-02 16:49:24 -07:00
Sam Ghods ca18e86877 Make naming of kubectl subcommands consistent 2015-04-02 16:14:53 -07:00
Satnam Singh 1c2a903e78 Adjust defaults and reporting for serve_hostnames 2015-04-02 16:01:58 -07:00
Jeff Grafton 8c7d6806d4 Convert SIGTERM into SIGINT in e2e test runner. 2015-04-02 14:54:22 -07:00
Dawn Chen 6ac59c8969 Merge pull request #6257 from lavalamp/fix6
Add a test verifying that etcd watches work even when there's a bunch of unrelated changes
2015-04-02 14:00:20 -07:00
Daniel Smith a3276577d8 Demonstration of etcd watch problem 2015-04-02 13:41:41 -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 25724f7e31 Merge pull request #6333 from satnam6502/serve_hostnames
Support GKE for serve_hostnames soak test
2015-04-02 11:58:29 -07:00
Satnam Singh b21db4b214 Support GKE 2015-04-02 11:18:50 -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
Robert Bailey 356d0e4401 Merge pull request #6256 from satnam6502/serve_hostnames
Issue queries in parallel for serve_hostnames soak test
2015-04-01 16:48:03 -07:00
Satnam Singh 7049bb6b55 Issue queries in parallel 2015-04-01 16:29:34 -07:00