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
Dr. Stefan Schimanski
657db0a2b5
Add missing guards around SSH based e2e tests
...
All other e2e tests which use SSH are skipped for providers other than gce,
gke and aws. This patch does the same for
- "should release NodePorts on delete" in service.go
- "should test privileged pod" in privileged.go.
2015-10-04 10:58:17 +02:00
Dr. Stefan Schimanski
a68e0848dc
Factor out providers which support SSH in e2e tests
2015-10-04 10:58:17 +02:00
gmarek
1459a1523f
Add an option to modify timeout for namespace duration in e2e Framework
2015-09-24 10:32:34 +02:00
k8s-merge-robot
bf641078eb
Merge pull request #13785 from wojtek-t/minion_to_node_2
...
Auto commit by PR queue bot
2015-09-14 23:23:06 -07:00
k8s-merge-robot
50d805110a
Merge pull request #13716 from mesosphere/mesos-e2e-provider-independence
...
Auto commit by PR queue bot
2015-09-14 02:49:59 -07:00
Wojciech Tyczynski
53ae56f205
Replace "minion" with "node" in bunch of places.
2015-09-14 11:07:11 +02:00
Abhishek Shah
44ce4aa423
Create a LB for a K8S with the LB-IP provided by user.
2015-09-10 21:05:06 -07:00
Dr. Stefan Schimanski
63e34e3c10
Make Mesos endpoint annotation e2e workaround cluster provider independent
2015-09-09 10:48:41 +02:00
Max Forbes
8ca0654f94
Pass mbforbes TODOs to others.
2015-08-26 10:05:34 -07:00
Tim Hockin
f5a9281a26
Actually hold NodePorts open in kube-proxy
2015-08-24 16:32:44 -07:00
Saad Ali
5ec3c78190
Merge pull request #8366 from justinsb/idempotent_loadbalancer
...
Make LoadBalancer creation more self-healing; don't delete on AWS
2015-08-20 14:30:55 -07:00
Zach Loafman
95a60d6085
Merge pull request #12926 from smarterclayton/cleanup_graceful
...
Cleanup more extensively in e2e (0/7)
2015-08-20 10:25:15 -07:00
Clayton Coleman
611530889f
Cleanup more extensively in e2e
2015-08-19 17:43:34 -04:00
Dr. Stefan Schimanski
364a831e14
Declare e2e NodePort test container port
...
The port 80 of the test webserver was not specified in the container spec. This
patch add the declaration.
Fixes https://github.com/mesosphere/kubernetes-mesos/issues/365
2015-08-19 22:43:44 +02:00
Kris Rousey
ae6c64d9bb
Moving everyone to unversioned client
2015-08-18 10:23:03 -07:00
Justin Santa Barbara
fde0a8884f
e2e: Test load-balanced service endpoint preserved
...
Previously we weren't preserving the service endpoint on a load-balanced
service, at least on AWS. The test had to test reality, not
aspirations!
Now we should have fixed this, so we can revert the e2e test to check
that the service endpoint is indeed preserved.
Fixes #11002
2015-08-17 08:58:46 -04:00
BenTheElder
ae569e20b5
Partially Implement #3760
2015-08-12 02:39:15 -04:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
Alex Robinson
9036f2cf82
Merge pull request #12408 from smarterclayton/improvements_to_test
...
e2e test cases should clean up more effectively
2015-08-10 18:15:04 -07:00
Clayton Coleman
e623d33343
e2e test cases should clean up more effectively
...
Graceful deletion exposes weakness in cleanup paths, add
common hooks for waiting for namespcae deletion to complete,
use direct delection where necessary, and add some debug output
for finding cleanup flags (namespaces that aren't fully deleted)
2015-08-10 19:02:39 -04:00
Dr. Stefan Schimanski
4786705f8e
Move TODO from source into an github issue
2015-08-07 22:08:50 +02:00
Dr. Stefan Schimanski
f04f31f799
Use endpoint annotation to recover container ports in e2e tests on Mesos
2015-08-07 20:13:19 +02:00
Dr. Stefan Schimanski
8848e26154
Validate endpoints in e2e tests by pod UID and port
...
Before this patch endpoints were validated by container IP and port.
Depending on the endpoint controller logic neither of the two must match for a
valid endpoint (e.g. in a Mesos setup).
This patch checks that the endpoint targetRef points to the right pod by UID,
instead of comparing IPs.
A later patch will make sure the
compared port is the actual container port, not the host port.
/xref mesosphere/kubernetes-mesos#365
2015-08-07 20:13:18 +02:00
Mike Danese
fe6b15ba2f
rewrite all links to issues to k8s links
2015-08-05 21:11:11 -07:00
Mike Danese
17defc7383
run gofmt on everything we touched
2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Alex Mohr
5068c9ff32
Merge pull request #8905 from justinsb/e2e_log_events_on_service_mutation
...
Auto commit by PR queue bot
2015-08-04 10:58:25 -07:00
Chao Xu
18d32751fd
improve the error message of update pod
2015-08-02 13:41:53 -07:00
derekwaynecarr
01ec50deb4
Vagrant passes conformance tests at HEAD
2015-07-29 10:16:39 -04:00
Justin Santa Barbara
584a6f27ad
Introduce framework in e2e services; should log events on failure
...
Once #8887 merges this should show errors in load balancer creation.
Even before then, it may show another error.
Bug #8892
2015-07-26 18:55:34 -04:00
Wojciech Tyczynski
fdd7f1e4b2
Rewrite services shell test in Go.
2015-07-23 16:16:45 +02:00
Vish Kannan
b27f99bd43
Merge pull request #11030 from justinsb/e2e_aws_lb_changes_on_service_change
...
e2e: For AWS, tolerate an LB change when the service changes
2015-07-22 16:32:10 -07:00
Eric Tune
914b6fe25b
Merge pull request #10185 from mesosphere/exclusive-port-range
...
Fix default service node port range in e2e test
2015-07-14 12:00:39 -07:00
Tim Hockin
3452748de9
Merge pull request #11077 from krousey/service_flake
...
Adding retry logic around service updates
2015-07-13 13:06:02 -07:00
Brendan Burns
a8f02e5472
Automatically open a firewall when creating a GCE load balancer.
2015-07-10 14:35:29 -07:00
Kris Rousey
aca4559bbd
Adding retry logic around service updates
2015-07-10 13:38:37 -07:00
Justin Santa Barbara
627261082c
e2e: For AWS, tolerate an LB change when the service changes
...
We have an issue to track the problem: #11002
The test was serving as a reminder that this needed fixing, but
for v1 we should just test what we expect to happen.
2015-07-09 19:57:21 -04:00
derekwaynecarr
8da819f39f
Skip test on vagrant provider
2015-07-09 12:47:12 -04:00
Karl Isenberg
f1d6439c2e
Add timeout to service endpoint resolution e2e test
2015-07-01 14:58:37 -07:00
Marek Biskup
01e1d3710a
add description to timeout messages
2015-06-29 10:25:39 +02:00
Karl Isenberg
32a09cfcee
Use Ginkgo Skip() to avoid failing when tests are skipped
...
- Added util methods: Skipf, SkipUnlessNodeCountIsAtLeast, SkipIfProviderIs,
and SkipUnlessProviderIs
2015-06-25 09:50:25 -07:00
Dr. Stefan Schimanski
795e5b4d86
Fix default service node port range in e2e test
...
While the command line parameter --service-node-port-range is inclusive, the
actual data structure is exclusive.
2015-06-23 12:32:14 +02:00
Max Forbes
2803fbe343
Node upgrade tests.
2015-06-18 15:59:51 -07:00
Saad Ali
47a802d315
Merge pull request #9648 from mikedanese/cleanup-service-e2e
...
cleanup some of the e2e service reachability code
2015-06-16 18:39:25 -07:00
Mike Danese
145f59f12f
cleanup some of the e2e service reachability code.
2015-06-15 23:54:03 -07:00
Daniel Smith
1fb90686df
remove broken ginkgo Done concept from tests
2015-06-15 18:40:11 -07:00
Abhi Shah
117f550334
Merge pull request #9724 from brendandburns/e2e-fix
...
Increase timeouts for service tests.
2015-06-12 15:25:17 -07:00
Brendan Burns
bf9fec5bc2
Increase timeouts for service tests.
2015-06-12 11:53:46 -07:00
Mike Danese
de55e17f75
e2e test cluster stability during upgrade
2015-06-11 15:10:52 -07:00
Daniel Smith
abb00f1cfc
fix e2e service test to not reference ro service
2015-06-02 18:45:26 -07:00
Justin Santa Barbara
6564fedbdb
Set (short) timeout for http request polling
2015-05-23 22:13:49 -04: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
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
Justin Santa Barbara
3884d5fc59
Add LoadBalancer status to ServiceStatus
...
This will replace publicIPs
2015-05-22 18:27:05 -04:00
Quinton Hoole
14665119b4
Revert "improve e2e retry logic with standard wait.Poll()"
2015-05-19 11:17:32 -07: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
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