Commit Graph

157 Commits (c8e5e894913d8c4691534221541f4c4f57f5a2b9)

Author SHA1 Message Date
Saad Ali b6c26ef69b Merge pull request #20569 from thockin/service-e2e-hang-20561
Fix wrong timeout param to wget
2016-02-03 16:00:13 -08:00
Saad Ali ae35a302b5 Merge pull request #20471 from bprashanth/kp-logs
kube-proxy tries to apply latest snapshot
2016-02-03 15:49:02 -08:00
Tim Hockin 88dbcffdf0 Fix wrong timeout param to wget 2016-02-03 14:53:32 -08:00
Prashanth Balasubramanian 47f7f4417d Poll w/ timeout for nodeport to disappear. 2016-02-03 12:58:42 -08:00
Tim Hockin b7782e73b6 Service e2e cleanup
Make a new jig that is based on the netexec container.  Change the LB tests to
use this new jig and leave TODOs for other tests.

Add UDP testing to the main mutability test.

Flatten the "identical names" test into the mutability test - it is now the
only load-balancer test (speedup).  Create LBs in parallel.
2016-02-02 22:04:27 -08:00
Tim Hockin fd5cbdf73f Rename a couple things for obviousness 2016-02-02 21:46:30 -08:00
k8s-merge-robot 26202fc98a Merge pull request #18804 from marun/fix-nodeport-services
Auto commit by PR queue bot
2016-02-02 14:07:49 -08:00
Brendan Burns 2aa5dc317b Try harder to delete cloud resources in service tests 2016-02-01 15:34:55 -08:00
Maru Newby a5e00da867 Fix nodeport service compat with default-deny fw 2016-02-01 21:34:30 +00:00
Chao Xu 90b4662d8d Add services/status path, and let the service controller uses Services.UpdateStatus() 2016-01-31 12:39:45 -08:00
Prashanth Balasubramanian 7076ec9ebf Poll nodeip:node-port till kube-proxy updates iptables. 2016-01-28 10:58:29 -08:00
Tim Hockin 9a75794fd6 slightly better logs in service e2e 2016-01-22 16:12:02 -08:00
Alex Mohr a5dddfcb32 Merge pull request #19851 from thockin/fix-19723-test-strings
Match regexes for error strings in e2e
2016-01-21 14:31:47 -08:00
Tim Hockin a1df9ff4b4 Match regexes for error strings in e2e 2016-01-21 08:46:37 -08:00
Harry Zhang 936a11e775 Use networking to hold network related pkgs
Change names of unclear methods

Use net as pkg name for short
2016-01-15 13:46:16 +08:00
Kenneth Shelton 9e6c45c395 Updated comments
Updated documentation
Fixed e2e test
2016-01-05 20:51:21 +00:00
Kenneth Shelton d399a8f8cc * Added UDP LB support (for GCE) 2016-01-05 20:51:21 +00:00
Tim Hockin 4bbbb9a3c9 e2e: Loop more to defeat service randomization 2015-12-29 11:23:19 -08:00
Isaac Hollander McCreery 8b255feeee Add flaky label [Flaky] to tests 2015-12-22 12:29:57 -08:00
k8s-merge-robot d01a954be7 Merge pull request #18682 from bprashanth/docker_exec
Auto commit by PR queue bot
2015-12-19 20:32:53 -08:00
k8s-merge-robot 3c3a24e1d4 Merge pull request #18694 from thockin/airplane_validation_pt7
Auto commit by PR queue bot
2015-12-19 03:57:53 -08:00
Isaac Hollander McCreery bd49a3420e Add [Disruptive] and [Serial] labels to appropriate tests
And use for partitioning; makes progress toward 10548
2015-12-18 11:12:28 -08:00
Tim Hockin 0fecf965b4 Change how one-of blocks are validated
I took a hard look at error output and played until I was happier.  This now
prints JSON for structs in the error, rather than go's format.

Also made the error message easier to read.

Fixed tests.
2015-12-18 09:42:14 -08:00
k8s-merge-robot 0b93238423 Merge pull request #18536 from mikedanese/ns-label
Auto commit by PR queue bot
2015-12-17 02:38:04 -08:00
k8s-merge-robot 4a9922c900 Merge pull request #18509 from gmarek/fix-e2e-pd
Auto commit by PR queue bot
2015-12-17 02:06:23 -08:00
Prashanth Balasubramanian 4d9a33f96e Services e2e should use kubectl exec instead of docker run. 2015-12-15 11:16:04 -08:00
Tim Hockin 86b91ac6bc Deflake a test - Sleep(5) != 5 seconds
Fixes #18283 (I hope - very rare flake)
2015-12-14 11:59:34 -08:00
gmarek f38455ddc3 Update e2e tests to list only schedulable nodes, to make them work with master Node registered. 2015-12-14 16:28:23 +01:00
Wojciech Tyczynski 960808bf08 Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
Mike Danese a3b6674fbf add a label to namespaces created by e2e framework 2015-12-11 09:53:56 -08:00
Tim Hockin ad22d00e40 Extend a too-short timeout in services e2e 2015-12-10 16:34:07 -08:00
Tim Hockin ed1f2d75e9 Deflake services e2e
Picking a nodePort needs to be more robust than "add one to an existing port
and hope it works".  Now we try all ports in the range if we have to.
2015-12-10 13:43:26 -08:00
Tim Hockin ba907883fb Try to fix rare test flake in services e2e 2015-12-04 16:35:02 -08:00
Wojciech Tyczynski 6dcb689d4e Simplify List() signature in clients. 2015-12-03 09:54:07 +01:00
Wojciech Tyczynski 8343c8ce6c Pass ListOptions to List() methods. 2015-12-01 15:00:36 +01:00
Tim Hockin baeea3272a make SSH logging in e2e more consistent 2015-11-20 14:49:19 -08:00
Dr. Stefan Schimanski 2d6c2eb897 e2e: replace ssh with net=host hostexec pod and kubectl exec
- document needed packages in hostexec image
- add RunHostCmdOrDie
- kube-proxy e2e: port from ssh to hostexec
  - use preset NodeName to schedule test pods to different nodes
  - parallel launch of pods
  - port from ssh to hostexec
  - add timeout because nc might block on udp
  - delete test container without grace period
- PrivilegedPod e2e: port from ssh to hostexec
- NodePort e2e: port from ssh to hostexec
- cluster/mesos/docker: Enable privileged pods
2015-11-17 20:48:34 +01:00
Tim Hockin ba383bcfeb Refactor IntOrString into a new pkg
pkg/util/intstr is a cleaner encapsulation for this type and supporting
functions.  No behavioral change.
2015-11-16 10:57:52 -08:00
Matt Moore b750d1dddc Drop the beta for GCR v2 images.
beta.gcr.io is no longer needed to pull through v2.
2015-11-14 12:19:02 -08:00
Brendan Burns d2fec95dda Check some errors that we were letting slip silently by. 2015-11-04 11:18:35 -08:00
gmarek e638a415d4 Port remaining e2e tests to framework 2015-10-27 09:24:32 +01:00
Alex Robinson ef74abd2b7 Add test that verifies a load balancer's IP doesn't change when its port
is changed.
2015-10-16 21:46:42 +00:00
k8s-merge-robot 8580804f77 Merge pull request #15138 from mattmoor/limited-beta-rewrite
Auto commit by PR queue bot
2015-10-10 11:41:34 -07:00
Mike Danese b635fc53f9 Merge pull request #15228 from mesosphere/sttts-conformance-tags
Use [Conformance] to tag conformance tests
2015-10-09 18:03:56 -07:00
Dr. Stefan Schimanski cb00df9b28 Tag conformance tests with a [Conformance] string in the description
- remove skip list from conformance-test.sh and filter by the new tag
- remove experimental api tests from conformance test suite
- remove all tests from conformance test suite which are either
  restricted to e.g. gce, gke, aws or require SSH
2015-10-09 23:14:43 +01:00
Brendan Burns e939c49823 Extend a timeout to reduce flakes. 2015-10-09 14:19:59 -07:00
Matt Moore eeb4eeb17c Move pause and fluentd-elasticsearch to GCR v2.
This scopes down the initially ambitious PR:
https://github.com/kubernetes/kubernetes/pull/14960 to replace just
`pause` and `fluentd-elasticsearch` to come through `beta.gcr.io`.

The v2 versions have been pushed under new tags, `pause:2.0` and
`fluentd-elastisearch:1.12`.

NOTE: `beta.gcr.io` will still serve images using v1 until they are repushed with v2.  Pulls through `gcr.io` will still work after pushing through `beta.gcr.io`, but will be served over v1 (via compat logic).
2015-10-06 16:39:07 -07:00
Tim Hockin ada74893bf Reduce timeouts in e2e tests by polling before sleeping 2015-10-05 12:49:46 -07:00
Tim Hockin 6421ae974d Flatten 3 load-balancer tests into 1 2015-10-05 12:49:46 -07:00
Tim Hockin a51ba71a65 Make Service e2e run a bit faster 2015-10-05 12:49:46 -07:00