Commit Graph

275 Commits (034412aff1cb932f0e10267fd052655cd2456d84)

Author SHA1 Message Date
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
Satnam Singh d0768332f2 Merge pull request #5274 from lavalamp/fix4
Add 'thrash' test that starts and stops a bunch of rc's in parallel
2015-03-12 15:29:31 -07:00
Robert Rati 3c9a9a4fb0 Fixed issue with the density test failing after a successful run because of
a failure to cleanup #5385
2015-03-12 12:29:00 -04:00
Victor Marmol c03b080328 Merge pull request #5332 from vishh/heapster_e2e
Adding a ginkgo version of monitoring e2e test
2015-03-12 08:37:45 -07:00
Jerzy Szczepkowski f24531c88e Fixed pods e2e test.
Fixed pods e2e test. The test was failing due to PR #5256.
2015-03-12 14:05:50 +01:00
Vishnu Kannan cbb3c96f31 Removing old shell based monitoring test. 2015-03-12 02:39:15 +00:00
Vishnu Kannan 425dd7e3ee Adding a heapster ginkgo e2e test. 2015-03-11 21:47:47 +00:00
Zach Loafman 18d1a1e70e Merge pull request #5272 from satnam6502/e2e
Fix status message in waitForPodCondition
2015-03-11 13:10:20 -07:00
Zach Loafman e780592315 Merge pull request #5264 from jlowdermilk/kube-up
Standalone kubeconfig for gce kube-up (mulligan)
2015-03-11 11:46:45 -07:00
Alex Mohr c630f66658 Merge pull request #5165 from roberthbailey/rc-hostports
Remove the host port from the replication controller e2e test.
2015-03-11 11:08:14 -07:00
Lénaïc Huard a326051325 Skip PD e2e test on non gce clusters 2015-03-11 17:58:40 +01:00
Daniel Smith a5396a808e add 'thrash' test that starts and stops a bunch of rc's in parallel 2015-03-10 16:59:26 -07:00
Satnam Singh cef905a7b2 Fix status message in waitForPodConidition 2015-03-10 16:06:03 -07:00
Jeff Lowdermilk 7db006ab1a Generate standalone kubeconfig on kube-up, clear on kube-down.
Also tweaked the ginkgo tests to pull auth directly from a kubeconfig file
instead of the legacy kubernetes_auth file.
2015-03-10 14:23:34 -07:00
Daniel Smith c542518ed6 Merge pull request #4862 from rrati/e2e-density-4861
Added a density test to start 100 pods/node in a cluster #4861
2015-03-10 12:05:31 -07:00
Robert Rati 798b3ee7fd Added a density test to start 100 pods/node in a cluster #4861 2015-03-10 13:41:24 -04:00
Jerzy Szczepkowski 0342ba3476 Watch support in PodInterface.
Added Watch support to PodInterface. Extended pods e2e to test watch. Resolves #4777.
2015-03-10 09:45:44 +01:00
Jeff Lowdermilk a280e0da2d Revert "Standalone kubeconfig for gce kube-up" 2015-03-09 17:45:06 -07:00
Satnam Singh 89bc7bbea9 Merge pull request #5154 from jlowdermilk/kube-up
Standalone kubeconfig for gce kube-up
2015-03-09 16:22:51 -07:00
Jeff Lowdermilk 4173d369aa Generate standalone kubeconfig on kube-up, clear on kube-down.
Also tweaked the ginkgo tests to pull auth directly from a kubeconfig file
instead of the legacy kubernetes_auth file.
2015-03-09 16:02:00 -07:00
Daniel Smith 6de2e615cb Merge pull request #5193 from bprashanth/e2e_stop_controller
Properly reap replication controllers in e2e test
2015-03-09 15:38:26 -07:00
Alex Mohr 0cac9ed2fd Merge pull request #5155 from jlowdermilk/e2e
Include seconds waited in e2e/kubectl.go timeout message.
2015-03-09 13:44:32 -07:00
Prashanth Balasubramanian 0e484f25b1 Properly reap replication controllers in e2e test 2015-03-09 13:08:12 -07:00
Robert Bailey a32f024029 Remove the host port from the replication controller e2e test. 2015-03-07 19:48:00 -08:00
Jeff Lowdermilk 8ab723404f Include seconds waited in e2e/kubectl.go timeout message. 2015-03-06 16:54:16 -08:00
Satnam Singh 2685617a41 Fix formating of time output in waitForPodCondition 2015-03-06 11:25:04 -08:00
Jeff Lowdermilk f7a491958b fix Errorf argument mismatch in test/e2e/util.go 2015-03-06 09:36:37 -08:00
roberthbailey ca9d24304b Merge pull request #5106 from jlowdermilk/e2e
Make e2e pod start timeouts uniform
2015-03-05 16:39:10 -08:00
Jeff Lowdermilk 083f29158f Make e2e pod start timeouts uniform 2015-03-05 15:54:45 -08:00
Daniel Smith d5ae2b56ad Add v1beta3 files to update-demo 2015-03-05 11:48:25 -08:00
Robert Bailey dcd4981ec1 Replace the use of kubectl proxy with a standard api client. 2015-03-04 20:39:27 -08:00
Robert Bailey 55f2da3cd5 Check for non-200 responses separately from errors from the http get.
Fixes #5059
2015-03-04 14:39:56 -08:00
Zach Loafman ce2570d250 Merge pull request #5035 from pmorie/pd-e2e
Fix assertion on number of nodes in PD e2e test
2015-03-04 10:43:50 -08:00
Paul Morie ce2b036b2b Fix assertion on number of nodes in PD e2e test 2015-03-04 13:30:03 -05:00
Tim Hockin fdea7252a4 Merge pull request #5001 from brendandburns/api3
Embed VolumeSource in v1beta3 and internal.
2015-03-04 09:50:14 -08:00
Jeff Lowdermilk 3891ad1b8f Merge pull request #5015 from roberthbailey/kubectl-e2e-timeout
Increase the kubectl e2e test timeout to 10 minutes
2015-03-04 09:24:41 -08:00
Brendan Burns fb90b56bf6 Embed VolumeSource in v1beta3 and internal. 2015-03-04 02:25:40 -08:00
Robert Bailey 8ae17bf677 Increase the timeout to 10 minutes to give docker plenty of time to pull the
image. We've seen increasing pull times lately causing the e2e tests to flake.

Fixes #4996.
2015-03-03 21:54:54 -08:00
CJ Cullen 51f1a244e7 Fix leaking PDs from pd.go e2e test
Also upped the timeouts, because Slow Test > Flaky Test.
2015-03-03 11:10:36 -08:00
Jeff Lowdermilk 66dfbe900a Merge pull request #4963 from roberthbailey/kubectl-proxy
Remove host ports from the update demo and update tests (take 2).
2015-03-02 15:16:04 -08:00
Brendan Burns fe973461f5 Merge pull request #4916 from thockin/plural_21_endpoints
Rename type Port to ContainerPort
2015-03-02 10:53:32 -08:00
Robert Bailey 5799dd5f7d Remove host ports from the update demo and update tests (take 2). 2015-03-02 10:15:34 -08:00
Robert Bailey 3ae85812bd Use the kubectl binary rather than the wrapper shell script in the
kubectl e2e test.
2015-03-01 21:45:04 -08:00
Tim Hockin ea548b8260 Rename type Port to ContainerPort
Sadly I had to do this by hand - I just could not get gorename to fix up
users of it.
2015-02-27 21:05:59 -08:00
Zach Loafman 507b202b23 Merge pull request #4864 from jlowdermilk/kubectl-e2e-timeout
Increase timeout on kubectl.go to 60s
2015-02-26 13:31:52 -08:00
Jeff Lowdermilk 9871bbc1ae Increase timeout on kubectl.go to 60s
Should reduce flakiness caused by ~30s docker image pulls.
2015-02-26 12:13:28 -08:00
roberthbailey 6efa68aa86 Merge pull request #4750 from fabioy/e2e-defer.fix
Move 'defer' call before creation on various e2e tests.
2015-02-26 10:03:46 -08:00
Jeff Lowdermilk 1db43f8f3e Trim whitespace from kubectl in e2e/kubectl.go 2015-02-25 15:26:51 -08:00
Fabio Yeon 0b72391aa0 Move 'defer' call before creation on various e2e tests. 2015-02-25 10:04:51 -08:00