Commit Graph

116 Commits (0150d87a73bc31b49a795267cb5fdef9ce543229)

Author SHA1 Message Date
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