Commit Graph

105 Commits (c8a87d3a62cd8a7585ff2a51dceb5ac1f845c0c4)

Author SHA1 Message Date
deads2k 6a4d5cd7cc start the apimachinery repo 2017-01-11 09:09:48 -05:00
Jan Chaloupka 4fde09d308 Replace client with clientset in code 2016-10-23 22:00:35 +02:00
Kubernetes Submit Queue ff43515ff7 Merge pull request #34140 from timothysc/e2e-variant
Automatic merge from submit-queue

remove [Conformance] flag on some e2es 

Downstream distributions that absorb the upstream tests would like to give their customers a standard mechanism to validate their clusters, post setup. As of today [Conformance] works for most things, but there are a known set of tests that vary due to opinionated differences around networking, security, etc... and providing a complete skip list can be cumbersome.  To address this, we've simply modified the flag on some tests to [Conformance:Variant].  All existing behavior should be maintained. 

Fixes: #34105
2016-10-11 16:01:42 -07:00
Timothy St. Clair eb29c6133b Remove [Conformance] flag on e2es which we know are
subject to change downstream.
2016-10-10 15:48:26 -05:00
gmarek 8d3973c2f4 Small refactoring of scheduler predicates 2016-10-10 13:13:15 +02:00
Minhan Xia df92825c33 Revert "Revert "move pod networking tests common"" 2016-10-05 10:53:22 -07:00
Marek Grabowski b7d76023c9 Revert "move pod networking tests common" 2016-10-04 14:22:55 +02:00
Minhan Xia 5b8e16d255 move pod networking tests common 2016-10-03 10:00:36 -07:00
bprashanth 6b5d7e6d93 Networking test rewrite 2016-09-07 11:36:48 -07:00
Angus Salkeld 9c5e11e991 Fix static URL conformance test
1. /validate service does not exist, so remove the test for it and add some that actually do exist
2. The namespace does not exist so this will always return NotFound

Note: DoRaw() ignores the StatusCode.
This is in preparation for the next commit
2016-08-23 11:42:42 +10:00
David McMahon ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Wojciech Tyczynski 92cd2c6020 Make intra-pod networking test work in large clusters 2016-06-09 15:58:18 +02:00
Zach Loafman 936297c64c Networking e2es: Wait for all nodes to be schedulable in kubeproxy and networking tests
Now that GCE routes take an extremely long time to come up and there's
a variance in "Ready" and "Schedulable", start cherry-picking tests
where we really want to have all nodes routable/schedulable for
testing. Adding logging. This will increase test times on large
clusters but should have 0 impact on normal testing.
2016-06-07 16:38:03 -07:00
Prashanth B 730555b09b Add an e2e image puller static pod 2016-05-23 19:17:09 +00:00
Jay Vyas 326b213231 Consolidate node selecting tests to only use Schedulable + Running
nodes.
2016-05-06 10:32:12 -04:00
k8s-merge-robot 759f11bd4c Merge pull request #24541 from marun/net-e2e-remove-flaky
Automatic merge from submit-queue

Remove flaky tag from e2e net granular

The tests are running reliably on every origin merge and can be verified
similarly reliable on kube.

As per @jayunit100 on slack/sig-testing:

    ./cluster/kubectl.sh 2>&1 | grep Passed | grep Failed ; done
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
    SUCCESS! -- 2 Passed | 0 Failed | 0 Pending | 275 Skipped PASS
2016-04-27 09:11:36 -07:00
Maru Newby 3a28868eb9 Remove flaky tag from e2e net granular
The tests are running reliably on every origin merge and can be verified
similarly reliable on kube.
2016-04-20 17:53:05 +00:00
Maru Newby 75c49a98d4 Add timeout to e2e network connectivity checks
Some e2e tests use wget to check connectivity, and the default e2e
timeout is 900s.  This change allows the timeout to be specified on a
check-by-check basis.  This will also make the check useful for negative
checks (like those used by openshift to validate isolation) since a
short timeout is suggested where connectivity is not expected.
2016-04-14 21:27:10 +00:00
Tim St. Clair b0d3f32e88 Update test/e2e for test/e2e/framework refactoring 2016-04-13 10:50:17 -07:00
Jay Vyas 9a71dfe753 KubeDescribe implementation with verify into after-build/ scripts. 2016-03-15 22:29:21 -04:00
Maru Newby d405718a83 Move net e2e helpers to util.go for reuse
Some of the helper methods used by test/e2e/networking.go are useful for
downstream e2e tests (e.g. openshift).
2016-03-05 17:09:24 +00:00
gmarek 110340c467 Add an option to pass client's QPS/burst to e2e framework 2016-02-29 09:32:29 +01:00
Minhan Xia 66940c2d44 wait for all webserver endpoints to come up before contacting peers 2016-02-24 18:35:59 -08:00
feihujiang ac9f890238 Support the subresource of service proxy 2016-02-18 15:16:05 +08:00
k8s-merge-robot b66cb189c7 Merge pull request #13568 from marun/network-e2e
Auto commit by PR queue bot
2016-02-17 06:45:22 -08:00
Maru Newby 6bca837504 Add granular networking e2e tests
This change adds 2 new e2e tests to test that:

 - a pod can reach another pod on the same node
 - a pod can reach another pod on another node

The intention is to provide a more granular indication of networking
failure than the existing intra-pod test for the benefit of network
plugin developers.
2016-02-12 08:47:57 -08:00
Jeff Grafton 87b0783808 Update tests to use nettest:1.7 2016-02-11 15:50:53 -08:00
Yu-Ju Hong 4544575e11 e2e: use the tagged busybox image to avoid unnecessary pulling 2016-02-08 15:28:55 -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
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
Jay Vyas 83898644c2 avoid unschedulable pods in networking.go 2015-11-27 23:57:14 -05:00
Madhusudan.C.S e3a26bfea6 Implement e2e test for node out of disk condition.
This is a second attempt at this commit and it fixes the cause for its
flakiness in the first attempt.

The ability to SSH into individual nodes, described by api.Node, and running
commands on them appears to be useful for other e2e tests too. So, move
issueSSHCommand utility function to e2e util file.

Also, modify waitForNodeToBe e2e util function to take any node condition. The
current implementation only takes api.NodeReady condition into consideration.
This change makes the function take any node condition.
2015-11-25 02:12:29 -08:00
Marcin Wielgus feb439c67c Revert "e2e test for node out of disk conditions" 2015-11-19 14:06:12 +01:00
Madhusudan.C.S 706d768e20 Implement e2e test for node out of disk condition.
The ability to SSH into individual nodes, described by api.Node, and running
commands on them appears to be useful for other e2e tests too. So, move
issueSSHCommand utility function to e2e util file.

Also, modify waitForNodeToBe e2e util function to take any node condition. The
current implementation only takes api.NodeReady condition into consideration.
This change makes the function take any node condition.
2015-11-17 13:19:32 -08: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
Dawn Chen e86d5c9e7d Revert "Networking test rework to support modular, layered service soak" 2015-10-14 00:03:39 -07:00
jayvyas e8cd5ef844 E2E tests: Parallel service soak functionality for networking.go 2015-10-12 11:41:10 -04: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
Kris f4ad00d9ae Moving Status object to a common package 2015-09-17 14:09:53 -07:00
Daniel Smith 4d4bbab7de Remove unnecessary GinkgoRecover() calls 2015-09-16 17:46:24 -07:00
Veres Lajos 9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
Mike Danese 8e33cbfa28 rewrite go imports 2015-08-05 17:30:03 -07:00
Brendan Burns 86f54b4d05 Merge pull request #11035 from nikhiljindal/nettest
Updating nettest image to latest code
2015-07-09 22:08:01 -07:00
nikhiljindal 90d371c98f Updating nettest image to latest code 2015-07-09 18:07:18 -07:00
derekwaynecarr 26c924a96d DNS is supported on vagrant so enable test 2015-07-09 15:09:29 -04:00
Robert Bailey 198b334227 Merge pull request #10197 from mesosphere/ginkgo-skip
Use ginkgo's new Skip()
2015-06-26 10:44:34 -07:00
Piotr Szczesniak 54a8a66329 Changed ping to netcat in Internet connection test
Follow up #10285
2015-06-25 20:48:25 +02:00
Maxwell Forbes f6a66c2a50 Merge pull request #10015 from marekbiskup/allow-networking-test-on-one-node
enable networking test on a one-node local cluster
2015-06-25 10:58:38 -07:00