Commit Graph

50 Commits

Author SHA1 Message Date
Tim St. Clair
b0d3f32e88 Update test/e2e for test/e2e/framework refactoring 2016-04-13 10:50:17 -07:00
goltermann
34d4eaea08 Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code. 2016-03-22 17:26:50 -07:00
Jay Vyas
9a71dfe753 KubeDescribe implementation with verify into after-build/ scripts. 2016-03-15 22:29:21 -04:00
k8s-merge-robot
9e5d1b61fa Merge pull request #21882 from gmarek/throttle
Auto commit by PR queue bot
2016-03-01 06:38:06 -08:00
Kris
e664ef922f Move restclient to its own package 2016-02-29 12:05:13 -08:00
gmarek
110340c467 Add an option to pass client's QPS/burst to e2e framework 2016-02-29 09:32:29 +01:00
Isaac Hollander McCreery
6ad95be523 Quarantine reboot tests (again) 2016-02-11 11:18:15 -08:00
Isaac Hollander McCreery
2ad245b8a8 Revert "[Discussion] Quarantine reboot tests as [Feature:Reboot] due to instability?" 2016-02-09 12:25:03 -08:00
Isaac Hollander McCreery
3f893e53eb Quarantine reboot tests as [Feature:Reboot] due to instability 2016-02-04 09:15:19 -08:00
Yu-Ju Hong
4975e5d9d9 e2e reboot: prints stats and logs for not ready pods 2016-01-27 15:41:07 -08:00
Yu-Ju Hong
872e34bfa4 e2e reboot: print status and logs for not running/ready pods 2016-01-25 14:38:42 -08:00
Isaac Hollander McCreery
a284927713 Add 5-minute sleep in GKE for dead tunnels to be removed 2016-01-11 15:30:23 -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
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
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
Tim Hockin
baeea3272a make SSH logging in e2e more consistent 2015-11-20 14:49:19 -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
Brendan Burns
ed91d5564b Refactor the reboot test to print accurate information about node failures
As well as events from the kube-system namespace
2015-11-16 14:59:30 -08:00
Brendan Burns
b76fef7d48 Log node info on test failures 2015-11-11 22:07:39 -08:00
Max Forbes
8ca0654f94 Pass mbforbes TODOs to others. 2015-08-26 10:05:34 -07:00
Kris Rousey
ae6c64d9bb Moving everyone to unversioned client 2015-08-18 10:23:03 -07:00
Andy Zheng
a1ba269ab3 Fix two bugs in reboot tests
First, "ifconfig eth0 down/up" on Ubuntu and Debian breaks
connection to the instance, thus tests after this one all fail.
Second, replacing appending iptable rules with inserting them on
the top of iptables, otherwise the tests may fail if iptables
are not empty.
2015-08-17 13:54:12 -07:00
Alex Robinson
e650e098f4 Replace usage of ifup and ifdown in the reboot test with ifconfig. 2015-08-07 00:29:36 +00:00
Mike Danese
8e33cbfa28 rewrite go imports 2015-08-05 17:30:03 -07:00
Jerzy Szczepkowski
496895d610 Revert "Improve SSH logging for debugging" 2015-07-24 13:36:16 +02:00
Max Forbes
e24ab02f05 Move e2e SSH utils to e2e/ssh package; improve SSH logging. 2015-07-23 17:57:46 -07:00
Satnam Singh
910603bba9 Fix reboot test to use system namespace 2015-07-11 09:05:05 -07:00
Alex Mohr
a885166890 Add GKE coverage for e2e tests that support both GCE and GKE 2015-07-10 14:07:24 -07:00
Jerzy Szczepkowski
1bd0c1b43a Fixed flakiness of firewall cases of e2e reboot test.
Fixed flakiness of firewall cases of e2e reboot test: blocking packages on firewall was also blocking localhost and was causing kubelet to be restarted by monit.
2015-07-03 10:32:18 +02:00
Jerzy Szczepkowski
b4585a7883 Fixed flakiness of e2e reboot test.
Fixed flakiness of e2e reboot test caused by restarts of pods with liviness probe during node reboot. Fixes #9062.
2015-06-30 16:57:44 +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
Max Forbes
2803fbe343 Node upgrade tests. 2015-06-18 15:59:51 -07:00
Justin Santa Barbara
c4d8a73345 AWS: Enable restart tests 2015-06-16 18:47:01 -04:00
Marek Biskup
dcc4034d57 e2e test for addon update 2015-06-15 17:37:24 +02:00
Jerzy Szczepkowski
346b8473a3 Reboot e2e test made more robust by using nohup.
Reboot e2e test made more robust by using nohup in ssh commands. Fixes #9062. Follow-up of #8784.
2015-06-10 15:57:46 +02:00
Max Forbes
a6c47a07de E2E test node upgrade (to same version) 2015-06-03 17:05:45 -07:00
Jerzy Szczepkowski
039314cce1 Added e2e test cases which trigger different types of node failures.
Added e2e test cases which trigger different types of node failures and verify they are correctly re-assimilated. Valid for gce and gke. Related to #7051.
2015-05-27 11:52:36 +02:00
Daniel Smith
28b3224b72 Start e2e framework; print events 2015-05-21 18:50:55 -07:00
jayunit100
56a356d577 Remove global client variable and initialize it locally in tests which accidentally used it. 2015-05-21 18:57:13 -04:00
Jeff Grafton
e968b6be81 Merge pull request #8442 from mbforbes/e2ePodsReady
Ensure pods both running and ready before starting e2e tests
2015-05-19 13:40:08 -07:00
Quinton Hoole
14665119b4 Revert "improve e2e retry logic with standard wait.Poll()" 2015-05-19 11:17:32 -07:00
Max Forbes
1da46ca3d0 Ensure pods both running and ready before starting e2e tests 2015-05-19 10:53:02 -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
Brendan Burns
7e96aec477 Fix some races/multi-thread access in the reboot test. 2015-05-15 19:46:00 -07:00
Max Forbes
b32c54625b Enable reboot test for GKE 2015-05-15 17:27:39 -07:00
Max Forbes
5d1d37f9ca Add a node reboot test. 2015-05-15 17:25:28 -07:00