Commit Graph

474 Commits

Author SHA1 Message Date
Joe Finney
7a59683e41 Retry SSH connection for E2E log gathering. 2016-02-03 16:06:02 -08:00
Chao Xu
f9f5736b01 grep sed 2016-02-03 13:06:07 -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
df4d50a7ac Merge pull request #20098 from brendandburns/flake2
Auto commit by PR queue bot
2016-02-02 04:22:45 -08:00
Isaac Hollander McCreery
14e6910364 Skip kubectl tests that don't work before v1.1 when running against a pre-v1.1 cluster; fixes #18581 2016-02-01 16:56:19 -08:00
Brendan Burns
2aa5dc317b Try harder to delete cloud resources in service tests 2016-02-01 15:34:55 -08:00
Chao Xu
c72d234bbf replacing handwritten client in several controllers 2016-01-31 15:42:02 -08:00
Janet Kuo
42f712467e Use ListOptions when listing RCs in deployment 2016-01-30 12:04:35 -08:00
Janet Kuo
c84a0371a2 Deployment adds version info to its new rc 2016-01-30 12:04:35 -08:00
k8s-merge-robot
b276a98b55 Merge pull request #19731 from freehan/nodedown
Auto commit by PR queue bot
2016-01-29 22:26:42 -08:00
mqliang
c5cda2012a cleanup-policy 2016-01-30 09:57:21 +08:00
Dawn Chen
7943708b96 Log more information for ssh command.
Sometimes e2e test nodes are refused to reboot, but we didn't properly
catch the exit code. This one can give us more information on debugging.
2016-01-28 14:11:54 -08:00
Minhan Xia
9611986509 add e2e test for network partition 2016-01-28 13:56:28 -08:00
Dawn Chen
1e68e719c3 Merge pull request #20108 from yujuhong/get_logs
e2e reboot: print status and logs for not running/ready pods
2016-01-25 17:33:49 -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
Joe Finney
7164e88a3a Dump core at beginning and end of node resizes. 2016-01-25 09:52:57 -08:00
nikhiljindal
2ad642d370 Merge registered and latest and move to apimachinery 2016-01-21 14:42:21 -08:00
k8s-merge-robot
c678ef3592 Merge pull request #19410 from mesosphere/jdef_run_job_with_timeout
Auto commit by PR queue bot
2016-01-16 05:53:40 -08:00
k8s-merge-robot
7f095c1f8e Merge pull request #19391 from timstclair/pod-waiting
Auto commit by PR queue bot
2016-01-15 09:33:38 -08:00
James DeFelice
bc92fd6a02 add a timeout for job runs in case something gets stuck 2016-01-14 19:29:38 +00:00
k8s-merge-robot
a57647eea0 Merge pull request #19614 from swagiaal/improve-e2e-util-error
Auto commit by PR queue bot
2016-01-14 03:35:10 -08:00
Sami Wagiaalla
608012db16 Add cmd.Run error as in addition to stdout and stderr 2016-01-13 16:08:39 -05:00
Chao Xu
144b5acd08 move ServerVersion to DiscoveryClient 2016-01-13 10:11:52 -08:00
Tim St. Clair
5ce90c31c9 Treat pod NotFound errors as permanent
When waiting for a pod to become running, a NotFound error should be
treated a permanent, and report the NotFound error rather than a timeout
error.
2016-01-07 16:54:10 -08:00
Janet Kuo
db512fc2cb Log rcs when failed waiting for deployment status in e2e tests 2016-01-05 15:08:31 -08:00
Janet Kuo
6a8d5e7562 Add test for deployment rollover 2016-01-05 10:25:58 -08:00
k8s-merge-robot
b51b6c917d Merge pull request #19194 from gmarek/spam
Auto commit by PR queue bot
2015-12-30 07:10:38 -08:00
gmarek
fd3dcabf72 Remove node status checking spam from tests 2015-12-30 11:01:00 +01:00
gmarek
1df78a2398 Add a framework for multiple writers for various test data summaries 2015-12-29 10:26:44 +01:00
gmarek
2dcafa3854 Add a flag that will make test gather metrics from all running components after the test finishes. 2015-12-28 12:10:39 +01:00
deads2k
d41e7ecf53 miscellaneous group version updates 2015-12-21 09:52:50 -05:00
k8s-merge-robot
796cc55663 Merge pull request #18773 from ihmccreery/fix-upgrade-proxy
Auto commit by PR queue bot
2015-12-19 21:10:34 -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
k8s-merge-robot
5f1ebc3420 Merge pull request #18636 from feihujiang/removeStopCommandInE2eTest
Auto commit by PR queue bot
2015-12-16 23:38:11 -08:00
Isaac Hollander McCreery
a5d895ac49 Add version-guarding around calls to SubResource proxy in e2es 2015-12-16 11:18:47 -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
deads2k
d0aaf13920 use constants for group names 2015-12-14 10:04:10 -05:00
Wojciech Tyczynski
960808bf08 Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
feihujiang
fd068b2887 Replace stop with delete command in e2e test 2015-12-14 15:49:05 +08:00
k8s-merge-robot
51e8c2e5f8 Merge pull request #17841 from mqliang/constant
Auto commit by PR queue bot
2015-12-13 23:40:27 -08:00
Mike Danese
a3b6674fbf add a label to namespaces created by e2e framework 2015-12-11 09:53:56 -08:00
Wojciech Tyczynski
f1de51567d Set timeout for e2e clients 2015-12-09 20:44:25 +01:00
Wojciech Tyczynski
b0fcb5adef Pass ListOptions to List in ListWatch. 2015-12-07 11:53:53 +01:00
mqliang
0fd51b9e72 make 'deployment.kubernetes.io/podTemplateHash' as constant 2015-12-05 11:17:12 +08:00
Janet Kuo
8fb0caa15b Implement MinReadySeconds for Deployment 2015-12-04 12:58:34 -08:00
k8s-merge-robot
f4637f644f Merge pull request #18081 from gmarek/fix-test
Auto commit by PR queue bot
2015-12-04 02:14:17 -08:00
Wojciech Tyczynski
6dcb689d4e Simplify List() signature in clients. 2015-12-03 09:54:07 +01:00
gmarek
61fc0a1243 Explicitly set DNSDefault policy in Density test 2015-12-02 17:34:54 +01:00
k8s-merge-robot
8a8639d7af Merge pull request #17863 from wojtek-t/only_list_options_in_watch
Auto commit by PR queue bot
2015-12-02 06:28:28 -08:00
Wojciech Tyczynski
8343c8ce6c Pass ListOptions to List() methods. 2015-12-01 15:00:36 +01:00
Wojciech Tyczynski
d2dfc912e6 Simplify Watch() signature in clients. 2015-12-01 14:19:26 +01:00
k8s-merge-robot
a836b1e261 Merge pull request #17326 from caesarxuchao/grooupVersion-lastest
Auto commit by PR queue bot
2015-12-01 05:05:40 -08:00
k8s-merge-robot
ea14d1c309 Merge pull request #17880 from gmarek/log_monitoring
Auto commit by PR queue bot
2015-12-01 03:52:23 -08:00
k8s-merge-robot
53a544d980 Merge pull request #17614 from bprashanth/IngressE2E
Auto commit by PR queue bot
2015-11-30 20:16:17 -08:00
Chao Xu
6e192760e3 refactoring latest.go GroupVersion;
clean up latest.go GroupVersions;
remove latest.GroupMeta.Group;
remove latest.GroupMeta.Version.
2015-11-30 11:30:21 -08:00
Prashanth Balasubramanian
c553b15534 Ingress test revamp
Fixes a number of harder issues the initial test punted on.
2015-11-30 11:29:04 -08:00
k8s-merge-robot
69bb774dd4 Merge pull request #17798 from deads2k/gv-kubectl-01
Auto commit by PR queue bot
2015-11-30 07:40:40 -08:00
gmarek
6ade0a1217 Add a tool for monitoring log generation rates 2015-11-30 16:04:48 +01:00
deads2k
1ac6d8afd3 update reaper, scaler, describer for GroupKind 2015-11-30 09:22:39 -05:00
Wojciech Tyczynski
0773eb034c Fix resize_nodes.go test. 2015-11-30 14:55:20 +01:00
k8s-merge-robot
fc927e8719 Merge pull request #17770 from gmarek/fix-test
Auto commit by PR queue bot
2015-11-27 06:35:49 -08:00
Piotr Szczesniak
ffdf2892c0 Merge pull request #17838 from wojtek-t/fix_scheduler_latency_in_kubemark
Reenable scheduler metrics in scalability tests.
2015-11-27 10:48:45 +01:00
k8s-merge-robot
5687bfa8b2 Merge pull request #17687 from madhusudancs/out-of-disk-e2e
Auto commit by PR queue bot
2015-11-26 18:41:33 -08:00
Wojciech Tyczynski
81a105cb73 Reenable scheduler metrics in scalability tests. 2015-11-26 15:22:27 +01:00
Phillip Wittrock
6b358e43dd Merge pull request #17747 from saad-ali/fixErrorCreatingPDTry2
Refactor GCE wrapper library to allow execution from E2E test suite
2015-11-25 15:57:42 -08:00
saadali
42b200a0a0 Refactor GCE wrapper library to allow execution from E2E test suite
This reverts commit 147b6911f5, reversing
changes made to 6fd986065b.
2015-11-25 11:48:06 -08:00
k8s-merge-robot
3bd23b185b Merge pull request #17730 from wojtek-t/use_unversioned_list_options_in_client
Auto commit by PR queue bot
2015-11-25 09:10:19 -08:00
gmarek
4a785d0676 Enable Add-On resource gathering in scalability tests 2015-11-25 14:04:07 +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
Wojciech Tyczynski
b6ef62af24 Use unversioned.ListOptions in clients. 2015-11-24 16:52:09 +01:00
Avesh Agarwal
001437a72f This commit fixes tests. 2015-11-24 09:16:12 -05:00
Karl Isenberg
2d3c3e1d0b Cleanup e2e tags
- Remove "Suite" from e2e tag names
- Move grouping e2e tags to the front of the test, describe or context name
- Move Conformance e2e tags to the end of test names (test specific)
- Move Skipped e2e tags to the end of names, but to as high a context as applicable
2015-11-23 13:42:12 -08:00
k8s-merge-robot
4cb0beeefd Merge pull request #17392 from jlowdermilk/e2e-clean-slate
Auto commit by PR queue bot
2015-11-23 03:19:24 -08:00
k8s-merge-robot
748e0bc830 Merge pull request #17212 from mnagy/use_logf
Auto commit by PR queue bot
2015-11-21 09:41:34 -08:00
Tim Hockin
baeea3272a make SSH logging in e2e more consistent 2015-11-20 14:49:19 -08:00
Mike Danese
ddd38c3edc fix command that is supposed to kill kube-proxy 2015-11-20 14:11:18 -08:00
k8s-merge-robot
1a57cc8033 Merge pull request #15777 from mesosphere/sttts-replace-ssh-by-net-host-container
Auto commit by PR queue bot
2015-11-20 02:19:25 -08:00
Marcin Wielgus
feb439c67c Revert "e2e test for node out of disk conditions" 2015-11-19 14:06:12 +01:00
k8s-merge-robot
5b2e339b24 Merge pull request #16398 from madhusudancs/out-of-disk-e2e
Auto commit by PR queue bot
2015-11-18 21:49:22 -08:00
Jeff Lowdermilk
e95cf1d109 Delete orphaned namespaces at e2e start for soak tests
This will help prevent soak clusters getting hosed if a test is
interrupted without cleaning up resources.
2015-11-18 09:57:19 -08:00
gmarek
9ca196dd75 Log an error instantly in expectNoError 2015-11-18 14:51:04 +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
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
k8s-merge-robot
7ad8bb1787 Merge pull request #17161 from soltysh/strip_reaper
Auto commit by PR queue bot
2015-11-17 05:45:35 -08:00
Maciej Szulik
64f778804d Remove string from Reaper.Stop signature 2015-11-17 12:09:08 +01:00
Prashanth Balasubramanian
eb4106fe29 Refactor debug logging methods. 2015-11-16 18:57:59 -08:00
Martin Nagy
dd25a6bda9 Use Logf instead of Printf in e2e 2015-11-13 13:06:36 +01:00
k8s-merge-robot
54e6db0896 Merge pull request #16814 from brendandburns/e2e3
Auto commit by PR queue bot
2015-11-12 14:38:18 -08:00
Brendan Burns
b76fef7d48 Log node info on test failures 2015-11-11 22:07:39 -08:00
Dr. Stefan Schimanski
862143fc62 Add hostexec test image 2015-11-11 22:48:56 +01:00
k8s-merge-robot
a436da79fb Merge pull request #17002 from feihujiang/removeUseOfLegacyPodsProxyPath
Auto commit by PR queue bot
2015-11-09 17:13:40 -08:00
k8s-merge-robot
5eede767f3 Merge pull request #17008 from wojtek-t/fix_kubemark
Auto commit by PR queue bot
2015-11-09 03:25:48 -08:00
k8s-merge-robot
e5b838e92a Merge pull request #16587 from xelalexv/issue15474
Auto commit by PR queue bot
2015-11-09 03:19:27 -08:00
Wojciech Tyczynski
5e9fe7abff Fix Kubemark tests by not gathering resource usage data 2015-11-09 11:45:07 +01:00
feihujiang
ceeac16dc4 Remove use of legacy pods proxy path 2015-11-09 15:23:48 +08:00
k8s-merge-robot
d71a667aab Merge pull request #16821 from caesarxuchao/restclient-timeout
Auto commit by PR queue bot
2015-11-07 03:11:26 -08:00
Alexander Vollschwitz
108cb4121d added RunDeployment to allow horizontal pod autoscaling e2e tests to use deployments
added deployment-based e2e tests for horizontal pod autoscaling
adjusted to changes from PR #16330
changed test titles according to PR comments & to merge change from PR #16895
2015-11-06 15:24:59 +01:00
Chao Xu
ac0b7b5d3b remove RESTClient.Timeout 2015-11-04 16:48:24 -08:00