Commit Graph

2356 Commits

Author SHA1 Message Date
Wojciech Tyczynski
538f10f586 Fix latency.go e2e test 2015-11-24 10:07:55 +01:00
Marcin Wielgus
a5f9a759d9 Merge pull request #17716 from piosz/hpa-fix
Re-enabled HPA e2e in autoscaling suite
2015-11-24 10:07:20 +01:00
Piotr Szczesniak
fa2cb57d0f Re-enabled HPA e2e in autoscaling suite 2015-11-24 10:02:26 +01:00
Wojciech Tyczynski
6589f30174 Do not run Latency test as part of scalability suite 2015-11-24 09:49:41 +01:00
Salvatore Dario Minonne
a922e5045d downward api volume test e2e: update labels and annotations 2015-11-24 07:35:06 +01:00
k8s-merge-robot
949cf9e9da Merge pull request #17180 from mesosphere/skipped-cleanup
Auto commit by PR queue bot
2015-11-23 21:04:18 -08:00
k8s-merge-robot
315b9000e2 Merge pull request #17678 from gmarek/fix-jenkins
Auto commit by PR queue bot
2015-11-23 17:16:37 -08:00
Tim Hockin
aa534a5b5f Merge pull request #17690 from ixdy/privileged-e2e
Wait for hostexec pod to start running
2015-11-23 16:37:01 -08:00
k8s-merge-robot
367f0e03dd Merge pull request #17621 from mikedanese/cleanup-kube-proxy-cgroup
Auto commit by PR queue bot
2015-11-23 15:23:23 -08:00
Jeff Grafton
d38f83f7f1 Wait for hostexec pod to start running 2015-11-23 15:16:10 -08: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
gmarek
0beaea0af7 ResizeNodes test wait for the number of system Pods equal to the one observed before the test 2015-11-23 21:46:23 +01:00
k8s-merge-robot
336c74710c Merge pull request #17260 from pwittrock/node_e2e_tests
Auto commit by PR queue bot
2015-11-23 10:34:19 -08:00
Mike Danese
65b8d43543 remove code that puts kube-proxy into a special cgroup since it runs in a container now 2015-11-23 10:20:58 -08:00
Sergiusz Urbaniak
9eae47c6e6 scheduler: implement role awareness 2015-11-23 17:27:14 +01:00
Jordan Liggitt
9da769f90d Match service ports when proxying to services 2015-11-23 10:40:23 -05:00
Jerzy Szczepkowski
d6e27d0620 Merge pull request #17639 from piosz/hpa-e2e
Enabled HPA e2e tests for 1.1 release
2015-11-23 15:08:59 +01: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
Piotr Szczesniak
0d105ad548 Enabled HPA e2e tests for 1.1 release 2015-11-23 10:22:13 +01:00
Jerzy Szczepkowski
8a922e22be Revert "Refactor GCE wrapper library to allow execution from E2E test suite" 2015-11-23 09:24:32 +01:00
k8s-merge-robot
3fbf0cb810 Merge pull request #17276 from saad-ali/fixErrorCreatingPD
Auto commit by PR queue bot
2015-11-21 23:32:30 -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
deads2k
a87d927588 update client.Config to use GroupVersion 2015-11-21 08:29:26 -05:00
k8s-merge-robot
86ddc7592c Merge pull request #17591 from thockin/e2e_ssh_log
Auto commit by PR queue bot
2015-11-21 05:05:24 -08:00
k8s-merge-robot
28dedac286 Merge pull request #17587 from piosz/deployment-e2e
Auto commit by PR queue bot
2015-11-20 17:07:30 -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
Piotr Szczesniak
2794e47b1c Disabled HPA tests for deployment because they are flaky 2015-11-20 22:03:24 +01:00
saadali
882469dd7b Refactor GCE wrapper library to allow execution from E2E test suite 2015-11-20 11:41:10 -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
k8s-merge-robot
d10bdd7385 Merge pull request #17233 from mnagy/remove_unused_var
Auto commit by PR queue bot
2015-11-19 08:20:27 -08:00
k8s-merge-robot
3847843160 Merge pull request #17434 from gmarek/internal_ips
Auto commit by PR queue bot
2015-11-19 08:17:23 -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
k8s-merge-robot
4a6884038a Merge pull request #17410 from hongchaodeng/kubemark
Auto commit by PR queue bot
2015-11-18 15:13:26 -08:00
Abhi Shah
28a4adabb5 Merge pull request #17427 from gmarek/expect-noerror
Log an error instantly in expectNoError
2015-11-18 14:59:53 -08:00
Phillip Wittrock
49e1baa313 Test runner harness for node e2e tests 2015-11-18 13:05:01 -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
Prashanth B
01b371370d Merge pull request #17409 from bprashanth/clean1
Fix port typo, fix tests
2015-11-18 09:34:14 -08:00
Hongchao Deng
1fde840aa8 kubemark: check if kubectl is installed in start script 2015-11-18 09:28:05 -08:00
gmarek
98633316a5 Print an external IP for Nodes in a density test for easier log lookup 2015-11-18 16:48:39 +01:00
gmarek
9ca196dd75 Log an error instantly in expectNoError 2015-11-18 14:51:04 +01:00
Prashanth Balasubramanian
4f3e007581 Fix port typo, fix tests 2015-11-17 18:13:36 -08:00
k8s-merge-robot
01656fd9a2 Merge pull request #15950 from sdminonne/mt_loop_initial_content
Auto commit by PR queue bot
2015-11-17 17:43:24 -08: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
3ec4a559f8 Merge pull request #17373 from wojtek-t/adjust_api_call_limits
Auto commit by PR queue bot
2015-11-17 05:51:55 -08: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
Wojciech Tyczynski
7f129e94a6 Adjust latency limits for large clusters 2015-11-17 14:01:46 +01:00
k8s-merge-robot
9ae9eb6e85 Merge pull request #16984 from brendandburns/e2e4
Auto commit by PR queue bot
2015-11-17 04:37:30 -08:00
k8s-merge-robot
cae1f4095a Merge pull request #17367 from piosz/deployment-e2e
Auto commit by PR queue bot
2015-11-17 03:10:02 -08:00
Maciej Szulik
64f778804d Remove string from Reaper.Stop signature 2015-11-17 12:09:08 +01:00
Piotr Szczesniak
d246e7833b Enabled HPA for deployment e2e 2015-11-17 11:40:43 +01:00
k8s-merge-robot
c5da63f5e0 Merge pull request #16979 from bprashanth/IngressE2E
Auto commit by PR queue bot
2015-11-17 02:30:20 -08:00
k8s-merge-robot
0c9bc3215d Merge pull request #14469 from thockin/intstr
Auto commit by PR queue bot
2015-11-16 23:20:37 -08:00
Prashanth Balasubramanian
eb4106fe29 Refactor debug logging methods. 2015-11-16 18:57:59 -08:00
Prashanth Balasubramanian
8b35455664 Dump kubectl logs of Ingress controller at on e2e failure 2015-11-16 15:16:02 -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
k8s-merge-robot
a999c0fbe4 Merge pull request #13943 from mesosphere/static-pods
Auto commit by PR queue bot
2015-11-16 13:53:23 -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
k8s-merge-robot
7fa85d430b Merge pull request #16614 from pmorie/ro-managed
Auto commit by PR queue bot
2015-11-16 10:46:44 -08:00
k8s-merge-robot
ebe5649939 Merge pull request #16824 from mattmoor/master
Auto commit by PR queue bot
2015-11-16 09:12:35 -08:00
k8s-merge-robot
89d7309c88 Merge pull request #16256 from mikedanese/daemon-gls
Auto commit by PR queue bot
2015-11-16 07:59:28 -08:00
Salvatore Dario Minonne
e2c315ee99 modifying readFileContentInLoop to display iteratively file content and eventually check initial content 2015-11-14 22:52:34 +01: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
Paul Morie
911757486d Refactor volume.Builder.IsReadOnly() to volume.Builder.GetAttributes() 2015-11-13 23:34:48 -05:00
James DeFelice
3d3577b9f3 rewrite of static pod json zipper
- add busybox static pod to mesos-docker cluster
- customize static pods with binding annotations
- code cleanup
- removed hacky podtask.And func; support minimal resources for static pods when resource accounting is disabled
- removed zip archive of static pods, changed to gzip of PodList json
- pod utilities moved to package podutil
- added e2e test
- merge watched mirror pods into the mesos pod config stream
2015-11-13 23:30:26 +00:00
k8s-merge-robot
5d80d6efec Merge pull request #17043 from brendandburns/e2e5
Auto commit by PR queue bot
2015-11-13 12:00:34 -08:00
Martin Nagy
3be66187b7 Remove unused variable 2015-11-13 20:31:51 +01:00
Mike Danese
7a7f31ead1 move daemonset to generalized label selector 2015-11-13 10:31:50 -08:00
Martin Nagy
dd25a6bda9 Use Logf instead of Printf in e2e 2015-11-13 13:06:36 +01:00
k8s-merge-robot
6649c43bf8 Merge pull request #17049 from wojtek-t/cleanup_tools
Auto commit by PR queue bot
2015-11-12 21:57:23 -08: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
k8s-merge-robot
927f30b0a5 Merge pull request #17074 from krousey/timeout
Auto commit by PR queue bot
2015-11-12 11:20:34 -08:00
markturansky
b9b8cf7fff Fixed race condition in pv binder 2015-11-12 13:55:09 -05:00
Wojciech Tyczynski
3df5d1dbc3 Move storage-related dirs under pkg/storage. 2015-11-12 19:49:32 +01:00
Brendan Burns
b76fef7d48 Log node info on test failures 2015-11-11 22:07:39 -08:00
Brendan Burns
d538ad69c5 Add kube-system removal to the resize nodes test 2015-11-11 21:44:40 -08:00
Dr. Stefan Schimanski
862143fc62 Add hostexec test image 2015-11-11 22:48:56 +01:00
Kris
4a4d195419 Exposing http.Client for configurable timeouts 2015-11-10 13:40:51 -08:00
k8s-merge-robot
efa590727a Merge pull request #17031 from xelalexv/issue16425
Auto commit by PR queue bot
2015-11-10 05:29:15 -08:00
vollschwitz
ac9484b869 prevent consumecpu/mem from becoming zombies by calling run instead of start 2015-11-10 08:04:26 +01:00
k8s-merge-robot
a0ef44b712 Merge pull request #16676 from jbeda/e2e-fixes
Auto commit by PR queue bot
2015-11-09 20:05:12 -08: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
k8s-merge-robot
e49f0de95b Merge pull request #14256 from linzichang/fixup-guestbook
Auto commit by PR queue bot
2015-11-09 02:47:24 -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
Zichang Lin
2afda9f2c1 Update guestbook example according to config best practices 2015-11-07 14:39:32 +08:00
Tim St. Clair
1e88a682da Add liveness/readiness probe parameters
- PeriodSeconds - How often to probe
- SuccessThreshold - Number of successful probes to go from failure to success state
- FailureThreshold - Number of failing probes to go from success to failure state

This commit includes to changes in behavior:

1. InitialDelaySeconds now defaults to 10 seconds, rather than the
kubelet sync interval (although that also defaults to 10 seconds).
2. Prober only retries on probe error, not failure. To compensate, the
default FailureThreshold is set to the maxRetries, 3.
2015-11-06 10:46:40 -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
k8s-merge-robot
0b183f43fd Merge pull request #16574 from hurf/stop_doc
Auto commit by PR queue bot
2015-11-05 19:43:21 -08:00
Jeff Lowdermilk
721eb6e7be Run hpa, GCE L7 tests in gce-disruptive-1.1 2015-11-05 17:44:44 -08:00
k8s-merge-robot
1831a057f1 Merge pull request #16694 from jbeda/update-etcd
Auto commit by PR queue bot
2015-11-05 03:27:26 -08:00
k8s-merge-robot
db9d4d4de2 Merge pull request #13644 from jsafrane/devel/cinder-test
Auto commit by PR queue bot
2015-11-05 02:19:21 -08:00
k8s-merge-robot
4b5c39df68 Merge pull request #16746 from jlowdermilk/gke-job-e2e
Auto commit by PR queue bot
2015-11-04 21:25:28 -08:00
k8s-merge-robot
f204283359 Merge pull request #16738 from pmorie/fix-emptydir-e2e
Auto commit by PR queue bot
2015-11-04 20:53:26 -08:00
Chao Xu
ac0b7b5d3b remove RESTClient.Timeout 2015-11-04 16:48:24 -08:00
k8s-merge-robot
ca332a394c Merge pull request #16048 from bprashanth/IngressE2E
Auto commit by PR queue bot
2015-11-04 16:25:41 -08:00
Phillip Wittrock
1d04c53fc4 Merge pull request #16766 from saad-ali/fixPDTestLongTimeout
Increase pod timeout for PD tests
2015-11-04 16:07:52 -08:00
Brendan Burns
aa1ccd0204 Merge pull request #16801 from brendandburns/e2e2
Check some errors that we were letting slip silently by.
2015-11-04 14:47:00 -08:00
Joe Beda
993c1ee222 Update etcd to 2.2.1 2015-11-04 12:26:57 -08:00
Brendan Burns
d2fec95dda Check some errors that we were letting slip silently by. 2015-11-04 11:18:35 -08:00
Jeff Lowdermilk
9ca75257bc Enable job e2e tests for GKE
will need cherrypick onto 1.1
2015-11-03 16:54:51 -08:00
saadali
45ba3ed47b Increase pod timeout for PD tests 2015-11-03 15:57:37 -08:00
Paul Morie
112f1d848b Update image versions in emptyDir e2e 2015-11-03 13:01:51 -05:00
deads2k
fd1c8e096a eliminate cross-namespace HPA escalation attack 2015-11-03 08:05:26 -05:00
Wojciech Tyczynski
d22592b1f8 Fix panics in Density test 2015-11-03 09:04:54 +01:00
k8s-merge-robot
990c0184be Merge pull request #16330 from mikedanese/deploy-ptr
Auto commit by PR queue bot
2015-11-02 20:41:34 -08:00
Joe Beda
89872777b8 Make e2e/kubectl.go look more places for kubectl binary. 2015-11-02 14:42:52 -08:00
Prashanth Balasubramanian
3943c5afe2 Ingress e2e 2015-11-02 14:05:29 -08:00
Prashanth Balasubramanian
84e9277bcc Test image 2015-11-02 12:35:27 -08:00
Joe Beda
32eafc3c1f Fix up labels on pods so that waitForRCPodsRunning works. 2015-11-02 10:16:45 -08:00
gmarek
cfe391d4ee Add resource monitoring of kube-system pods 2015-11-02 13:35:50 +01:00
Piotr Szczesniak
fcbf1c1012 Merge pull request #16520 from gmarek/fix-kubemark
Don't delete namespace after kubemark tests, as cluster will be torn …
2015-11-02 10:13:37 +01:00
Wojciech Tyczynski
aac55d4795 Unify List() signature in clients 2015-10-30 15:43:40 +01:00
Jan Safranek
b0ab8a27cb Add additional logs on failed cleanup. 2015-10-30 13:28:49 +01:00
Wojciech Tyczynski
4c0e6b160a Merge pull request #16339 from samsabed/backoff-e2e-no-exponential
remove back-off exponential test and adjust timing
2015-10-30 10:40:35 +01:00
hurf
ce35bb4208 Remove trace of "kubectl stop"
Remove doc and use of "kubectl stop" since it's deprecated.
2015-10-30 14:12:20 +08:00
hurf
29a0fe9032 Display controllers along with type when describing a pod
There're more controllers than replication controller, the patch
displays annotation item with key "kuberntetes.io/created-by" in
the form of "Controllers: type/name".
2015-10-30 11:16:46 +08:00
k8s-merge-robot
4c3ac326fa Merge pull request #16295 from ashcrow/standardize-image-makefiles
Auto commit by PR queue bot
2015-10-29 13:33:33 -07:00
gmarek
ce3317cb9f Don't delete namespace after kubemark tests, as cluster will be torn down either way 2015-10-29 18:53:56 +01:00
k8s-merge-robot
c691f66b79 Merge pull request #16473 from mesosphere/sttts-fix-panics-in-runKubectlWithTimeout
Auto commit by PR queue bot
2015-10-29 10:53:19 -07:00
Steve Milner
70e4693428 Standardized test image Makefile targets 2015-10-29 10:12:05 -04:00
k8s-merge-robot
f2208a9855 Merge pull request #16269 from gmarek/delete-namespace
Auto commit by PR queue bot
2015-10-29 02:34:31 -07:00
k8s-merge-robot
1b96e92ccc Merge pull request #16428 from wojtek-t/fix_latency_test
Auto commit by PR queue bot
2015-10-29 01:21:04 -07:00
k8s-merge-robot
63af7c227e Merge pull request #16069 from zmerlynn/nfs-1.1
Auto commit by PR queue bot
2015-10-28 22:39:09 -07:00
Sam Abed
d05a433956 remove back-off exponential test and adjust timing
Signed-off-by: Sam Abed <samsabed@gmail.com>
2015-10-29 15:47:01 +11:00
k8s-merge-robot
e4924a4d36 Merge pull request #16382 from aveshagarwal/master-e2e-prestop
Auto commit by PR queue bot
2015-10-28 21:36:35 -07:00
k8s-merge-robot
c8a1783724 Merge pull request #15323 from swagiaal/pod-volume-selinux
Auto commit by PR queue bot
2015-10-28 19:17:32 -07:00
Dr. Stefan Schimanski
e755988d59 Defer GinkgoRecover call in runKubectlWithTimeout to handle panic 2015-10-28 19:20:48 -05:00
k8s-merge-robot
56e5123744 Merge pull request #16360 from gmarek/framework
Auto commit by PR queue bot
2015-10-28 12:26:15 -07:00
Wojciech Tyczynski
c053ef2a31 Fix computing of percentiles in Density test 2015-10-28 15:45:16 +01:00
Sami Wagiaalla
1d352a16b8 Support volume relabling for pods which specify an SELinux label 2015-10-28 09:26:58 -04:00
Mike Danese
b0a41108af move deployment PodTemplate to be not a pointer 2015-10-28 00:13:40 -07:00
k8s-merge-robot
70049d10d8 Merge pull request #15697 from piosz/autoscaling-e2e-fix
Auto commit by PR queue bot
2015-10-27 18:53:40 -07:00
k8s-merge-robot
ec9b493647 Merge pull request #14639 from gmarek/hollow-proxy
Auto commit by PR queue bot
2015-10-27 18:22:38 -07:00
Zach Loafman
b71bc4e480 Fix volumes/test/nfs: Needs to run insecure to allow container connections
Since this is a container service port anyways, "insecure" is a bit of
a red herring. There's no real security relevance to the incoming port
numbers for the NFS server pod.

This lets us get rid of the examples/nfs/exporter Docker build
(@jsafrane's personal image).
2015-10-27 16:58:04 -07:00
Daniel Smith
19c1064293 Merge pull request #16099 from jsafrane/devel/move-ceph-image
Move CephFS test container to test/images.
2015-10-27 15:47:16 -07:00
Daniel Smith
e1901bf891 Merge pull request #16196 from erictune/job-e2e-fix
Fix e2e test flakes.
2015-10-27 15:04:57 -07:00
Avesh Agarwal
c3dfd30e51 Fixes incorrect output. 2015-10-27 14:58:19 -04:00
gmarek
5a4e4d4d57 Add a HollowProxy to the HollowNode. 2015-10-27 18:23:29 +01:00
Piotr Szczesniak
77d9ce230c Fixed flakiness in cluster size autoscaling e2e 2015-10-27 16:36:33 +01:00
gmarek
82272989b7 Revert "Merge pull request #16358 from kubernetes/revert-16084-improve_e2e"
This reverts commit 465c5b0791, reversing
changes made to 154923221f.
2015-10-27 14:08:23 +01:00
Jerzy Szczepkowski
42d236fe59 Revert "All e2e tests should use NewFramework" 2015-10-27 13:14:57 +01:00
Jerzy Szczepkowski
5ef087adab Merge pull request #16266 from wojtek-t/fix_handshake_reflector
Reuse TCP connections in Reflector between resync periods.
2015-10-27 10:36:18 +01:00
Piotr Szczesniak
aef0059621 Revert "Revert "Improved HPA e2e to test stability of the scale decision"" 2015-10-27 09:44:05 +01:00
gmarek
e638a415d4 Port remaining e2e tests to framework 2015-10-27 09:24:32 +01:00
gmarek
0150d87a73 Add an option to not delete a namespace after e2e test 2015-10-27 09:23:50 +01:00
k8s-merge-robot
2d29d266e7 Merge pull request #16084 from smarterclayton/improve_e2e
Auto commit by PR queue bot
2015-10-27 01:09:23 -07:00
Eric Tune
c2f6768cbc Fix. 2015-10-26 16:36:01 -07:00
Clayton Coleman
a50fbd6636 All e2e tests should use NewFramework
Allows someone to replace createTestingNS consistently
2015-10-26 19:13:09 -04:00
Eric Tune
40a33dcc7e Fix e2e test flakes.
Makes number of failures per pod fixed at 1, for the RestartOnFailure
case, which prevents Kubelet restart backoff, which causes test timeout.
For RestartNever tests, it keeps using the random success/failure.

Fixes #15389.
Renables previously flaky e2e.
2015-10-26 12:02:04 -07:00
Wojciech Tyczynski
d47e21f19f Reuse TCP connections in Reflector between resync periods. 2015-10-26 19:35:25 +01:00
Piotr Szczesniak
16682ca924 Revert "Improved HPA e2e to test stability of the scale decision" 2015-10-26 15:23:24 +01:00
Piotr Szczesniak
c389897017 Merge pull request #16156 from piosz/hpa-test
Improved HPA e2e to test stability of the scale decision
2015-10-26 10:10:12 +01:00
k8s-merge-robot
c160d919f5 Merge pull request #16210 from erictune/indent-grace
Auto commit by PR queue bot
2015-10-24 18:43:37 -07:00
k8s-merge-robot
0e1ee14cc8 Merge pull request #15705 from wojtek-t/watch_options_in_client
Auto commit by PR queue bot
2015-10-24 17:39:20 -07:00
Abhi Shah
edf5099336 Merge pull request #15947 from justinsb/aws_daemon_restart
e2e: Add aws provider to daemon_restart test
2015-10-24 16:13:12 -07:00
Wojciech Tyczynski
f4d75e0a0a Support timeout in watch requests 2015-10-24 13:12:49 +02:00
k8s-merge-robot
e1559e9fb5 Merge pull request #15352 from pmorie/fsgroup
Auto commit by PR queue bot
2015-10-24 01:55:45 -07:00
k8s-merge-robot
570a9dc18f Merge pull request #15796 from caesarxuchao/fix-kubectl-api-versions
Auto commit by PR queue bot
2015-10-24 01:24:31 -07:00
Eric Tune
eaf8dbcb00 Indent "GRACE" column in pod dump of test output 2015-10-23 13:36:20 -07:00
Saad Ali
722c86aa50 Merge pull request #15948 from gmarek/fix-test
Add handling of old non-capitalized event reason to scheduler-predicates test
2015-10-23 12:06:14 -07:00
Piotr Szczesniak
d7a3b064dd Improved HPA e2e to test stability of the scale decision 2015-10-23 14:54:12 +02:00
Filip Grzadkowski
165169ab1c Merge pull request #16052 from ArtfulCoder/mount_etc_hosts
kubelet manages /etc/hosts file
2015-10-23 14:07:34 +02:00
k8s-merge-robot
c3d92de705 Merge pull request #15875 from ashcrow/release-tar-fix-for-15713-15787
Auto commit by PR queue bot
2015-10-22 23:23:33 -07:00
Paul Morie
3cd12f5e05 FSGroup implementation 2015-10-22 16:40:59 -04:00
Abhishek Shah
ba6469d478 kubelet manages /etc/hosts file 2015-10-22 13:27:05 -07:00
Chao Xu
eb3a80156a let kubectl api-versions use the discovery client 2015-10-22 10:19:34 -07:00
Jan Safranek
e0e482e4c8 Move CephFS test container to test/images. 2015-10-22 15:20:20 +02:00
Filip Grzadkowski
295d28e101 Merge pull request #15986 from yujuhong/mem_inuse
e2e: change resource monitor to log memory working set
2015-10-22 14:49:18 +02:00
gmarek
bae456cb9d Add handling of old non-capitalized event reason to scheduler-predicates test 2015-10-22 12:08:30 +02:00
Paul Morie
393e2bc019 Inline some SecurityContext fields into PodSecurityContext 2015-10-21 19:01:17 -04:00
k8s-merge-robot
e9dc7306cc Merge pull request #16008 from ixdy/e2e
Auto commit by PR queue bot
2015-10-21 05:45:32 -07:00
k8s-merge-robot
e4294ff5cc Merge pull request #14991 from swagiaal/supplemental-groups
Auto commit by PR queue bot
2015-10-21 04:25:42 -07:00
Marek Grabowski
9a6e988b48 Merge pull request #15628 from gmarek/kubemark-performance
Run etcd for events on separate machine in Kubemark
2015-10-21 11:33:37 +02:00
Jeff Grafton
1ec0b09205 Ensure framework.afterEach is called to clean up resources 2015-10-20 21:33:27 -07:00
k8s-merge-robot
360d0e0a7e Merge pull request #15843 from wojtek-t/tweak_performance_limits
Auto commit by PR queue bot
2015-10-20 18:44:44 -07:00
k8s-merge-robot
280c38daae Merge pull request #15764 from mqliang/importAlias
Auto commit by PR queue bot
2015-10-20 17:14:29 -07:00
Yu-Ju Hong
4a9ab92cdb e2e: change resource monitor to log memory working set
This is more representative than memory usage.
2015-10-20 15:54:43 -07:00
k8s-merge-robot
d453976e8a Merge pull request #15918 from justinsb/fix_typos
Auto commit by PR queue bot
2015-10-20 13:37:14 -07:00
Jeff Lowdermilk
685c09fda0 Merge pull request #15896 from pmorie/mount-test-owner
Add ownership inspection to mount tester image
2015-10-20 11:53:56 -07:00
Sami Wagiaalla
030f882f06 Add Support for supplemental groups 2015-10-20 12:44:32 -04:00
gmarek
3158741603 Run etcd for events on separate machine in Kubemark 2015-10-20 17:46:23 +02:00
Justin Santa Barbara
0a4bb324e0 e2e: Add aws provider to daemon_restart test 2015-10-20 09:02:02 -04:00
Steve Milner
8da2d4002f Fixes remaining imports per #15319 2015-10-20 07:13:13 -04:00
Steve Milner
95f48f2591 e2e: kubectl HTTP fix for #15713 and #15787.
This reverts commit 54c899370e, reversing
changes made to 0338e0ef53 and adds a fix
proposed in #15848.
2015-10-20 07:07:57 -04:00
Justin Santa Barbara
67d3a93166 Fix misc typos
Mostly in comments, but also renamed the (test) function
migUdpateCmdBase -> migUpdateCmdBase.
2015-10-20 05:52:45 -04:00
Wojciech Tyczynski
d1179f1d67 Tweak limits in scalability tests 2015-10-20 09:09:20 +02:00
k8s-merge-robot
1f28ef05de Merge pull request #15884 from ixdy/gke-daemon-restart
Auto commit by PR queue bot
2015-10-19 22:02:19 -07:00
k8s-merge-robot
1f758d8ca6 Merge pull request #15568 from a-robinson/e2e
Auto commit by PR queue bot
2015-10-19 19:43:18 -07:00
Paul Morie
2ff043e75f Add ownership inspection to mount tester image 2015-10-19 18:42:07 -04:00
k8s-merge-robot
0d7b53a201 Merge pull request #15813 from mesosphere/sttts-clusterdns-example
Auto commit by PR queue bot
2015-10-19 14:47:27 -07:00
Jeff Grafton
f419f407c2 Correctly skip daemon restart tests unless running on GCE 2015-10-19 13:58:22 -07:00
Clayton Coleman
34e9478cd3 Use pod logs subresource from e2e
Means that e2e code doesn't need to access the proxy
2015-10-18 23:06:36 -04:00
Dr. Stefan Schimanski
f866243e0a Fix kube-ui e2e test waiting for the rc pods
Kube-ui pods do not have the {"name":rcName} label like pods created in
e2e tests. Hence, we cannot use the waitForRCPods function directly, but
have to pass a custom label.
2015-10-18 14:51:36 +01:00
k8s-merge-robot
578d752174 Merge pull request #15772 from mesosphere/sttts-temporarily-fix-nodeselector-e2e-test
Auto commit by PR queue bot
2015-10-18 04:35:14 -07:00
k8s-merge-robot
09a3871506 Merge pull request #15755 from zhengguoyong/del_capatical_packagename_for_cadvisorApi2
Auto commit by PR queue bot
2015-10-18 04:04:11 -07:00
Fabio Yeon
38dc2bd6d6 Revert "e2e: kubectl HTTP fix for #15713" 2015-10-17 22:34:43 -07:00
k8s-merge-robot
0338e0ef53 Merge pull request #15787 from ashcrow/release-tar-fix-for-15713
Auto commit by PR queue bot
2015-10-17 05:37:40 -07:00
Dr. Stefan Schimanski
d11a3930c0 Remove race of ClusterDns e2e frontend test and starting pod 2015-10-17 12:16:54 +02:00
Dr. Stefan Schimanski
d4602bb909 Remove race of waitForRCPodsRunning Running check and internal pod store 2015-10-17 12:15:00 +02:00
Clayton Coleman
e9a465d635 Make kubectl run attach behave like docker run
Have stdin closed by default, can be left open with --leave-stdin-open.
Add e2e tests for the behavior.
2015-10-16 20:33:51 -04: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
535090312f Merge pull request #13180 from samsabed/backoff_e2e
Auto commit by PR queue bot
2015-10-16 13:33:36 -07:00
Steve Milner
dda162d54c e2e: kubectl HTTP fix for #15713 2015-10-16 14:48:57 -04:00
k8s-merge-robot
a6634adc1c Merge pull request #15435 from zhengguoyong/adjust_package_name_pkgcloudprovider
Auto commit by PR queue bot
2015-10-16 08:30:32 -07:00
gmarek
5184b40086 API server now must be started before controller-manager. Fix this in Kubemark startup script 2015-10-16 16:15:14 +02:00
Dr. Stefan Schimanski
d5aea32d07 Solve race between scheduler and kubelet about new node labels 2015-10-16 12:33:00 +02:00
Piotr Szczesniak
52d8527761 Migrate hpa e2e tests to the new API
Fixed the issue with enabling HPA
2015-10-16 11:06:47 +02:00
mqliang
df5afa874a Del capatical local packagename for controllerFramework 2015-10-16 16:01:58 +08:00
Jerzy Szczepkowski
df732f061a HorizontalPodAutoscaler API: removal of ResourceConsumption target, introduction of CPU request utilization & other cleanups. 2015-10-16 07:15:50 +02:00
Nikhil Jindal
c6b5f7ff5a Merge pull request #15516 from nikhiljindal/runtimeConfig
Enable extensions/v1beta1 by default and allow runtimeConfig to support enabling/disabling specific resources
2015-10-15 20:16:54 -07:00
eulerzgy
31c09bdcb8 Del capatical local packagename for cadvisorApi 2015-10-16 11:03:50 +08:00
Sam Abed
78979c77ce backoff e2e tests
Signed-off-by: Sam Abed <samsabed@gmail.com>
2015-10-16 13:09:29 +11:00
nikhiljindal
a0c038982e Fixing integrations test 2015-10-15 16:54:17 -07:00
k8s-merge-robot
f58d5d486f Merge pull request #15445 from mesosphere/sttts-timeout-port-forward-tests
Auto commit by PR queue bot
2015-10-15 14:28:35 -07:00
nikhiljindal
7bcc4a6755 Allowing runtimeConfig to support enabling/disabling specific extension resources 2015-10-15 14:24:22 -07:00
Eric Tune
5a1a0b3040 Merge pull request #15428 from mikedanese/gc
Add e2e test for pod garbage collection
2015-10-15 13:58:00 -07:00
Eric Tune
442f61623c Merge pull request #15408 from a-robinson/tests
Improve the error handling when creating/delete GCE IPs in e2e tests.
2015-10-15 13:57:40 -07:00
Eric Tune
8fcb0dfb75 Merge pull request #14925 from ashcrow/e2e-latency
Extract latency test so it can be run separately from density E2E
2015-10-15 12:24:25 -07:00
Andy Goldstein
37b0cfd02b Temp. skip exec+proxy e2e test
It's breaking GCE e2e. Will reenable once we've fixed the test.
2015-10-15 14:22:14 -04:00
Alex Robinson
54dc6bb6c9 Improve the error handling when creating/delete GCE IPs in e2e tests.
Prior to this, test failures caused by errors in these helpers printed
out long exec.ExitErrors structs that didn't contain any useful info,
for example:
```
Expected error:
      <*exec.ExitError | 0xc20804e518>: {
          ProcessState: {
              pid: 22855,
              status: 256,
              rusage: {
                  Utime: {Sec: 0, Usec: 312000},
                  Stime: {Sec: 0, Usec: 96000},
                  Maxrss: 42912,
                  Ixrss: 0,
                  Idrss: 0,
                  Isrss: 0,
                  Minflt: 21667,
                  Majflt: 0,
                  Nswap: 0,
                  Inblock: 0,
                  Oublock: 40,
                  Msgsnd: 0,
                  Msgrcv: 0,
                  Nsignals: 0,
                  Nvcsw: 52,
                  Nivcsw: 34,
              },
          },
      }
      exit status 1
  not to have occurred
```
2015-10-15 17:57:46 +00:00
Mike Danese
402e68e05c add slow test for terminated pod garbage collection 2015-10-15 08:19:39 -07:00
k8s-merge-robot
a3f2ba2e34 Merge pull request #11694 from ncdc/add-spdy-proxy-support
Auto commit by PR queue bot
2015-10-15 06:56:15 -07:00
k8s-merge-robot
5d66bf9741 Merge pull request #15519 from ihmccreery/upgrade-versioning
Auto commit by PR queue bot
2015-10-15 06:30:12 -07:00
k8s-merge-robot
e6d98af05a Merge pull request #15202 from lavalamp/scheduler-speed-test
Auto commit by PR queue bot
2015-10-15 04:46:27 -07:00
k8s-merge-robot
081f05c207 Merge pull request #14575 from soltysh/jobs_podtemplate_not_pointer
Auto commit by PR queue bot
2015-10-15 03:28:19 -07:00
Marek Grabowski
b8aabbbf4f Merge pull request #15655 from piosz/enable-ir-e2e
Disabled flaky Initial Resources e2e test
2015-10-15 10:09:43 +02:00
Marek Grabowski
2cbb37a083 Merge pull request #15572 from nikhiljindal/deploymentFlake
Deployment e2e flake: Wait for events to be generated before verifying them
2015-10-15 09:30:14 +02:00
Piotr Szczesniak
e67be99995 Disabled flaky Initial Resources e2e test 2015-10-14 20:47:07 +02:00
Isaac Hollander McCreery
60c316b54a Upgrades and upgrade tests take versions of the form release/stable instead of stable_release:
- Refactor common and gce/upgrade.sh to use arbitrary published releases
- Update hack/get-build to use cluster/common code
- Use hack/get-build.sh in cluster upgrade test logic
2015-10-14 10:16:21 -07:00
k8s-merge-robot
6a4b76f34c Merge pull request #15623 from wojtek-t/always_delete_namespace
Auto commit by PR queue bot
2015-10-14 08:35:24 -07:00
gmarek
0574e0e21f Bash FTW - fix for run-e2e-tests.sh 2015-10-14 17:20:49 +02:00
k8s-merge-robot
979ca2b3fe Merge pull request #15614 from wojtek-t/cleanup_integration_utils
Auto commit by PR queue bot
2015-10-14 07:35:37 -07:00
Steve Milner
57fc4bfa56 build: test/images in test tar and a static kubectl
* release tar now includes test/images/*
* kubectl is now built as a static binary in the test
2015-10-14 09:42:04 -04:00
k8s-merge-robot
a5fc5fd0c4 Merge pull request #15538 from wojtek-t/unify_clients
Auto commit by PR queue bot
2015-10-14 06:20:37 -07:00
Wojciech Tyczynski
a322a601aa Delete namespace in case of scalability failures 2015-10-14 15:18:39 +02:00
Wojciech Tyczynski
66113539cb Remove duplicate code from test/integration 2015-10-14 12:11:53 +02:00
Marek Grabowski
4264aac1e9 Merge pull request #15610 from piosz/enable-ir-e2e
Fixed Initial Resources e2e test to not depend on other tests
2015-10-14 11:43:30 +02:00
Maciej Szulik
98fa29adfd Make PodTemplateSpec for Job not a pointer, since it's a required field 2015-10-14 11:37:11 +02:00
Piotr Szczesniak
ebac6de547 Fixed Initial Resources e2e test to not depend on other tests 2015-10-14 11:11:03 +02:00
Marek Grabowski
4f6ac7ec79 Merge pull request #15601 from gmarek/fix-jenkins
Fix to stop-kubemark script
2015-10-14 09:36:14 +02:00
gmarek
3a609c971d Fix to stop-kubemark script 2015-10-14 09:30:48 +02:00
Dawn Chen
e86d5c9e7d Revert "Networking test rework to support modular, layered service soak" 2015-10-14 00:03:39 -07:00
Wojciech Tyczynski
647aa1bc8c Unify per-resource List for unversioned client 2015-10-14 08:37:57 +02:00
k8s-merge-robot
3e3833b0db Merge pull request #9052 from jayunit100/network-service-soak
Auto commit by PR queue bot
2015-10-13 18:38:12 -07:00
Dawn Chen
0e0ae670ad Merge pull request #15488 from caesarxuchao/experimental-extensions-client
Move from "Experimental" to "Extensions"
2015-10-13 16:54:37 -07:00
Dawn Chen
7dbfa46d91 Merge pull request #15548 from gmarek/fix-kubemark
Small changes in Kubemark requested by @wojtek-t
2015-10-13 16:25:26 -07:00
k8s-merge-robot
3753c98783 Merge pull request #15569 from ncdc/pod-ip-downward-api
Auto commit by PR queue bot
2015-10-13 16:08:21 -07:00
nikhiljindal
9ba4a3c4d0 Wait for events to be generated before verifying them 2015-10-13 14:59:35 -07:00
k8s-merge-robot
13859da2af Merge pull request #15553 from dchen1107/fix
Auto commit by PR queue bot
2015-10-13 14:38:25 -07:00
Andy Goldstein
7d02ea9bb7 Fix race condition for consuming podIP via downward API. 2015-10-13 16:39:11 -04:00
Chao Xu
493d2b6920 grep sed Experimental() 2015-10-13 13:22:54 -07:00
k8s-merge-robot
f6bed84af7 Merge pull request #15252 from brendandburns/flakes3
Auto commit by PR queue bot
2015-10-13 09:53:13 -07:00
Dawn Chen
eb58db2772 Fix daemon_restart with right pause image 2015-10-13 09:50:36 -07:00
Dawn Chen
edd56cc00e Using right pause image in container_probe test 2015-10-13 09:50:36 -07:00
k8s-merge-robot
e929977ff3 Merge pull request #15541 from wojtek-t/extend_logging_for_scalability
Auto commit by PR queue bot
2015-10-13 07:33:12 -07:00
gmarek
4625f50131 Small changes in Kubemark requested by @wojtek-t 2015-10-13 16:26:19 +02:00
k8s-merge-robot
ae9f7c8ff8 Merge pull request #15426 from zhengguoyong/adjust_package_name_pkgcontroller
Auto commit by PR queue bot
2015-10-13 06:05:23 -07:00
Marcin Wielgus
d5246a74f6 Merge pull request #15536 from gmarek/fix-jenkins
Wait until all pods are running before starting tests
2015-10-13 13:49:41 +02:00
Wojciech Tyczynski
f837b6166d Extend logging for #15540 2015-10-13 13:38:08 +02:00
gmarek
71fbef2e2d Wait until all pods are running before starting tests 2015-10-13 13:00:14 +02:00
k8s-merge-robot
2dec0826f7 Merge pull request #15351 from caesarxuchao/fix-14584-1
Auto commit by PR queue bot
2015-10-13 02:19:43 -07:00
k8s-merge-robot
b0d5738936 Merge pull request #15513 from aledbf/fix-serviceloadbalancer-tests
Auto commit by PR queue bot
2015-10-13 01:27:53 -07:00
Marek Grabowski
98a0cc63f3 Merge pull request #15377 from gmarek/fix-jenkins
Prefix hollow-cluster-master name with instance prefix
2015-10-13 10:03:27 +02:00
k8s-merge-robot
866d7d4fb9 Merge pull request #15505 from dchen1107/fix
Auto commit by PR queue bot
2015-10-12 22:21:13 -07:00
Manuel de Brito Fontes
6ee3fc8297 Fix service-loadbalancer e2e tests 2015-10-12 21:25:43 -03:00
Dawn Chen
0901e5050d Merge pull request #15371 from timothysc/etcd-contexts
New etcd client modifications part 1 (context support)
2015-10-12 16:04:13 -07:00
Dawn Chen
180eb70100 Merge pull request #15485 from piosz/enable-ir-e2e
Disabled Initial Resources e2e
2015-10-12 15:50:12 -07:00
Dawn Chen
c61dd84506 Using pause image for testing. 2015-10-12 15:14:59 -07:00
Brendan Burns
5d67b1525f Add some retry to static ip creation 2015-10-12 14:43:02 -07:00
Chao Xu
cbb3deb182 run goimports 2015-10-12 13:31:45 -07:00
Chao Xu
50a2c4c643 grep-sed 2015-10-12 13:31:45 -07:00
Piotr Szczesniak
60d0c756b0 Disabled Initial Resources e2e 2015-10-12 20:18:40 +02:00
gmarek
b88eb80a59 Prefix hollow-cluster-master name with instance prefix 2015-10-12 20:15:59 +02:00
jayvyas
e8cd5ef844 E2E tests: Parallel service soak functionality for networking.go 2015-10-12 11:41:10 -04:00
Jordan Liggitt
1043126135 Refactor SSH tunneling, fix proxy transport TLS/Dial extraction 2015-10-12 11:17:01 -04:00
Jordan Liggitt
826459e51e Allow specifying scheme when proxying 2015-10-12 11:16:53 -04:00
k8s-merge-robot
0737e108e3 Merge pull request #8145 from jayunit100/e2e-k8bps
Auto commit by PR queue bot
2015-10-12 08:05:35 -07:00
gmarek
ea7f914394 Fix HollowNode template 2015-10-12 15:46:32 +02:00
Timothy St. Clair
2a2a2d79ff New etcd client modifications part 1 (context support)
This commit plumbs contexts which are needed for the new client.
2015-10-12 08:45:49 -05:00
Marek Grabowski
41a7f579ea Merge pull request #15462 from gmarek/kubemark-refactor
HollowNode refactoring
2015-10-12 13:10:20 +02:00
Jerzy Szczepkowski
e3c6750942 Merge pull request #15463 from piosz/enable-ir-e2e
Enabled InitialResources e2e in autoscaling suite
2015-10-12 12:17:47 +02:00
gmarek
fb56afe4b4 HollowNode refactoring 2015-10-12 12:13:10 +02:00
Piotr Szczesniak
35cf8cc76c Enabled InitialResources e2e in autoscaling suite 2015-10-12 11:30:47 +02:00
Marek Grabowski
1d3c65c110 Merge pull request #15366 from gmarek/fix-kubemark
Make Kubemark master components write logs to the /var/logs
2015-10-12 11:17:00 +02:00
eulerzgy
4ed5f9d240 adjust package name for pkg/controller directory 2015-10-12 09:51:27 +08:00
Dr. Stefan Schimanski
f1b6158a6d Let port forwarding e2e tests timeout on kubectl calls 2015-10-11 12:58:56 +02:00
k8s-merge-robot
71e9565815 Merge pull request #15163 from thockin/gcloud-preview
Auto commit by PR queue bot
2015-10-10 12:04:55 -07: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
k8s-merge-robot
02ec1fb33c Merge pull request #13885 from smarterclayton/websocket_exec
Auto commit by PR queue bot
2015-10-10 09:52:01 -07:00
k8s-merge-robot
fa557f6101 Merge pull request #15409 from caesarxuchao/extension/v1beta1
Auto commit by PR queue bot
2015-10-10 09:03:43 -07:00
eulerzgy
8b174f7f33 adjust package name for pkg/cloudprovider 2015-10-10 16:44:54 +08: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
Chao Xu
7c9f4cc42f experimental. -> extensions. 2015-10-09 15:49:10 -07:00
Chao Xu
f3caff2a79 testapi.Experimental -> testapi.Extensions 2015-10-09 15:15:35 -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
Chao Xu
80f213c376 "experimental" -> "extensions" 2015-10-09 15:14:03 -07:00
Chao Xu
67f316dd19 apis/experimental->apis/extensions 2015-10-09 15:04:41 -07:00
Chao Xu
0b7e3c7dd1 experimental/v1alpha1->extensions/v1beta1 2015-10-09 15:01:33 -07:00
Brendan Burns
e939c49823 Extend a timeout to reduce flakes. 2015-10-09 14:19:59 -07:00
Clayton Coleman
363b616908 Expose exec and logs via WebSockets
Not all clients and systems can support SPDY protocols. This commit adds
support for two new websocket protocols, one to handle streaming of pod
logs from a pod, and the other to allow exec to be tunneled over
websocket.

Browser support for chunked encoding is still poor, and web consoles
that wish to show pod logs may need to make compromises to display the
output. The /pods/<name>/log endpoint now supports websocket upgrade to
the 'binary.k8s.io' subprotocol, which sends chunks of logs as binary to
the client. Messages are written as logs are streamed from the container
daemon, so flushing should be unaffected.

Browser support for raw communication over SDPY is not possible, and
some languages lack libraries for it and HTTP/2. The Kubelet supports
upgrade to WebSocket instead of SPDY, and will multiplex STDOUT/IN/ERR
over websockets by prepending each binary message with a single byte
representing the channel (0 for IN, 1 for OUT, and 2 for ERR). Because
framing on WebSockets suffers from head-of-line blocking, clients and
other server code should ensure that no particular stream blocks. An
alternative subprotocol 'base64.channel.k8s.io' base64 encodes the body
and uses '0'-'9' to represent the channel for ease of use in browsers.
2015-10-09 14:33:40 -04:00
Paul Morie
9f0bc75bf2 Extract latency test so it can be run separately from density E2E 2015-10-09 09:29:26 -04:00
gmarek
5d9c54edb1 Make Kubemark master components write logs to the /var/logs 2015-10-09 12:33:53 +02:00
Wojciech Tyczynski
2a62468fee Merge pull request #15364 from piosz/req-test
Enabled autoscaling (based on reservation) e2e tests
2015-10-09 12:28:34 +02:00
Piotr Szczesniak
1f15c30825 Enabled autoscaling (based on reservation) e2e tests 2015-10-09 11:43:58 +02:00
k8s-merge-robot
a4ac5ef564 Merge pull request #14302 from timstclair/prometheus-update
Auto commit by PR queue bot
2015-10-09 02:35:09 -07:00
k8s-merge-robot
bdec6db9be Merge pull request #14988 from bprashanth/IngressE2E
Auto commit by PR queue bot
2015-10-09 00:26:14 -07:00
k8s-merge-robot
86fdc3f85c Merge pull request #15240 from mikedanese/job-fix-1
Auto commit by PR queue bot
2015-10-08 16:58:06 -07:00
Robert Bailey
49d6c86eb7 Merge pull request #14621 from jackgr/kubectl_apply
Add the kubectl apply command
2015-10-08 12:44:32 -07:00
Tim Hockin
b25069d084 Stop using gcloud preview - it is obsolete
Switch to supported APIs. Update docs.
2015-10-08 11:05:49 -07:00
Mike Danese
73f7242027 rename JobStatus.Unsuccessful => JobStatus.Failed, JobStatus.Successful => JobStatus.Succeeded 2015-10-08 10:41:22 -07:00
k8s-merge-robot
23b0cb3d0a Merge pull request #15249 from brendandburns/flakes
Auto commit by PR queue bot
2015-10-08 06:34:37 -07:00
k8s-merge-robot
0129dadc66 Merge pull request #15253 from brendandburns/flakes4
Auto commit by PR queue bot
2015-10-08 05:09:15 -07:00
Piotr Szczesniak
952a058357 Merge pull request #15153 from wojtek-t/common_resync_period
Extend resyncPeriods in controllers in production.
2015-10-08 14:07:04 +02:00
Marek Grabowski
bb43d07d28 Merge pull request #15231 from gmarek/fix-kubemark
Create a separate etcd instance for events in Kubemark
2015-10-08 11:22:52 +02:00
Wojciech Tyczynski
df79026b79 Extend resyncPeriods in controllers in production. 2015-10-08 09:10:09 +02:00
Piotr Szczesniak
7324cd68d2 Merge pull request #15218 from jszczepkowski/hpa-e2e-fix
Increased memory limit for horizontal pod autoscaler e2e test.
2015-10-08 07:34:17 +02:00
jackgr
703a3e19aa Add the kubectl apply command. 2015-10-07 17:14:51 -07:00
Prashanth Balasubramanian
941963d953 Ingress E2E 2015-10-07 14:33:19 -07:00
Brendan Burns
4cd0997dbf Add some more debugging info so we can determine why this test is flaking 2015-10-07 13:08:47 -07:00
Brendan Burns
c9c6c52ab4 improve reporting of which resources and which binaries went over limit 2015-10-07 11:59:24 -07:00
gmarek
28d79d83c1 Create a separate etcd instance for events in Kubemark 2015-10-07 17:15:55 +02:00
Filip Grzadkowski
6429c39a9e Merge pull request #15220 from kubernetes/revert-14876-proxy_https
Revert "Allow specifying scheme when proxying"
2015-10-07 13:04:24 +02:00
Marek Grabowski
1ea59513cb Merge pull request #15216 from gmarek/predicates
Change logging in scheduler_predicates e2e test
2015-10-07 13:03:56 +02:00
Filip Grzadkowski
c0532a432a Revert "Allow specifying scheme when proxying" 2015-10-07 13:02:35 +02:00
Jerzy Szczepkowski
31bd5fda72 Increased memory limit for horizontal pod autoscaler e2e test.
Increased memory limit for horizontal pod autoscaler e2e test. Fixes #14667.
2015-10-07 12:16:35 +02:00
Piotr Szczesniak
a8bd23542f Fixed flaky cluster size autoscaling e2e. 2015-10-07 11:22:28 +02:00
gmarek
3b11feda97 Change logging in scheduler_predicates e2e test 2015-10-07 11:10:48 +02:00
k8s-merge-robot
61b3fecb1a Merge pull request #14876 from liggitt/proxy_https
Auto commit by PR queue bot
2015-10-06 22:29:38 -07:00
Daniel Smith
377e5c533b add scheduler integration benchmark 2015-10-06 18:15:21 -07:00
Janet Kuo
f4cb23975b Merge pull request #15044 from nikhiljindal/deploymentController
Enabling deployments on kubernernetes-upgrade-gce test suite
2015-10-06 18:11:00 -07:00
Abhi Shah
60b1abdaa5 Merge pull request #15178 from ArtfulCoder/stablekubeproxytest
increased number of tries to reduce test flakiness
2015-10-06 16:40:31 -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
nikhiljindal
c062afc6de Enabling deployments on kubernernetes-upgrade-gce test suite 2015-10-06 14:50:25 -07:00
k8s-merge-robot
82a1b0efda Merge pull request #15152 from mwielgus/exaples_err_check
Auto commit by PR queue bot
2015-10-06 14:15:02 -07:00
Abhishek Shah
b49ee4385e increased number of tries to reduce test flakiness 2015-10-06 13:21:44 -07:00
Tim St. Clair
8d49c8e29a Update prometheus libraries to new versions. 2015-10-06 12:56:14 -07:00
Brendan Burns
7ba48583fa Merge pull request #15137 from brendandburns/flakes3
Add an environment variable override for AWS ssh keys
2015-10-06 10:43:45 -07:00
jayunit100
450c3345a3 K8PetStore E2E test, rebased and cleaned (10/5, 10/6) 2015-10-06 12:12:11 -04:00
Marek Grabowski
5ad2483784 Merge pull request #15145 from piosz/initial-e2e
Implemented e2e test for Initial Resources
2015-10-06 14:07:34 +02:00
Marcin Wielgus
555cc5e579 Error check for waitForEndoint in e2e examples tests 2015-10-06 13:16:20 +02:00
Piotr Szczesniak
8262774a76 Implemented e2e test for Initial Resources 2015-10-06 10:24:35 +02:00
gmarek
42c6d716a5 Check for number of scheduled, not running nodes in scheduler_predicates test 2015-10-06 10:24:12 +02:00
gmarek
4dfd28086f Wait for all HollowNodes to become ready in start-kubemark.sh 2015-10-06 09:20:53 +02:00
k8s-merge-robot
5ef529fa10 Merge pull request #15022 from quinton-hoole/2015-09-29-namespace-is-active-error
Auto commit by PR queue bot
2015-10-05 22:55:37 -07:00
Mike Danese
05ef8ed219 Merge pull request #15104 from mikedanese/ds-e2e
break up daemonset test into two small tests to isolate flakiness
2015-10-05 22:32:59 -07:00
Brendan Burns
f7105ea30f Add an environment variable override for AWS ssh keys 2015-10-05 21:14:06 -07:00
Jordan Liggitt
b9ba3bd7c2 Allow specifying scheme when proxying 2015-10-05 22:12:10 -04:00
Alex Robinson
68a28945fa Merge pull request #15105 from erictune/job-e2e-wait-more
Wait longer for job to complete
2015-10-05 17:00:03 -07:00
Alex Robinson
32b9d8aad0 Merge pull request #14823 from wojtek-t/move_events_to_separate_etcd
Move events to a separate etcd instance
2015-10-05 16:28:04 -07:00
Mike Danese
fe820fc4df break up daemonset test into two tests 2015-10-05 15:54:15 -07:00
Alex Robinson
4856c7c033 Merge pull request #14957 from thockin/services-e2e
Services e2e cleanup
2015-10-05 14:56:19 -07:00
Alex Robinson
dfbbec03ed Merge pull request #14965 from bprashanth/podtracker
Record pod history in daemon restart e2e
2015-10-05 14:51:46 -07:00
Alex Robinson
d8120f5425 Merge pull request #14221 from timstclair/readiness-workers
Refactor readiness probing
2015-10-05 13:26:54 -07:00
Steve Milner
e5d64ea19b e2e: kubectl verification for HTTP proxying using netexec and goproxy. 2015-10-05 16:05:36 -04:00
Steve Milner
e5b85194aa netexec: Multiple fixes and enhancements to netexec
* Added upload functionality
* More logging
* Moved to test/images
* Image file fixes
2015-10-05 16:05:36 -04:00
Andy Goldstein
9f1bd07322 Add goproxy test image 2015-10-05 16:05:34 -04:00
Eric Tune
6ff6c7c731 Wait longer for job to complete
2 timeouts in last 30 e2e runs.
Tripling timeout.
Should normally not that that long.
Uses polling so will terminate early in normal case.
2015-10-05 12:55:24 -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
Piotr Szczesniak
f96a6ef753 Another try to fix flaky autoscaling test. 2015-10-05 21:03:17 +02:00
Alex Robinson
0aa5c16f38 Merge pull request #14646 from mesosphere/sttts-fix-kubeproxy-test
Fix e2e tests for providers without SSH to the nodes
2015-10-05 11:56:09 -07:00
Alex Robinson
bcc154d7bd Merge pull request #15037 from quinton-hoole/2015-10-02-port-node-resize-e2e-to-framework
Port Node Resize e2e tests to e2e Framework
2015-10-05 11:19:09 -07:00
Alex Robinson
f8c9301658 Merge pull request #15076 from jszczepkowski/hpa-e2e
Improved logging for horizontal pod autoscaler.
2015-10-05 09:57:13 -07:00
Marcin Wielgus
007a70d837 Merge pull request #14984 from mwielgus/spark_fix
Wait for at least 1 endpoint in E2E test for examples
2015-10-05 17:47:24 +02:00
Marcin Wielgus
d5c40479f1 Wait for at least 1 endpoint in E2E test for examples 2015-10-05 16:47:52 +02:00
Jerzy Szczepkowski
f8b18b0a4c Improved logging for horizontal pod autoscaler.
Improved logging for horizontal pod autoscaler. Disabled redundant e2e test.
2015-10-05 16:26:14 +02:00
Marcin Wielgus
2519ebe644 Disable 2 problematic e2e test for deamon for GKE 2015-10-05 11:55:08 +02:00
Wojciech Tyczynski
0f1cbe37a4 Events in separate etcd 2015-10-05 10:54:24 +02:00
Dr. Stefan Schimanski
5ecc2629b7 Refactor kubeproxy tests to run with and without provider SSH support
All other e2e tests which use SSH are skipped for providers other than gce,
gke and aws. This patch does the same for the kube-proxy test.

If not SSH support is available for the provider, the test will still run,
but use less probes.
2015-10-04 10:58:17 +02: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
Brendan Burns
427a924983 Disable jobs tests in GKE 2015-10-02 21:11:04 -07:00
k8s-merge-robot
b3348c329c Merge pull request #14560 from piosz/requests-test
Auto commit by PR queue bot
2015-10-02 18:48:25 -07:00
k8s-merge-robot
ffacd3bcf2 Merge pull request #14645 from socaa/readme
Auto commit by PR queue bot
2015-10-02 18:48:22 -07:00
k8s-merge-robot
c020159f9b Merge pull request #14788 from brendandburns/e2e4
Auto commit by PR queue bot
2015-10-02 17:40:22 -07:00
CJ Cullen
49e204cd1e Merge pull request #14566 from erictune/job-e2e
Job e2e
2015-10-02 16:59:14 -07:00
Quinton Hoole
f303ad6fb2 Port Node Resize e2e tests to e2e Framework
Partially addresses #13503, #13574, #13828
2015-10-02 16:30:36 -07:00
Mike Danese
fc36ac6c8e Merge pull request #14915 from mikedanese/retry-fast
make update period for Node not a multiple of 5 in DaemonSet e2e to avoid version conflict
2015-10-02 15:58:22 -07:00
Tim St. Clair
52ece0c34e Refactor readiness probing
Each container with a readiness has an individual go-routine which
handles periodic probing for that container. The results are cached, and
written to the status.Manager in the pod sync path.
2015-10-02 15:37:10 -07:00
k8s-merge-robot
2c81a664f2 Merge pull request #14827 from wojtek-t/export_metrics_for_dashboard
Auto commit by PR queue bot
2015-10-02 14:57:44 -07:00
Quinton Hoole
d8f821de1a Port e2e/scheduler_predicates.go to e2e Framework.
Partially addresses #13503, #13574, #13828
2015-10-02 14:39:29 -07:00
k8s-merge-robot
cd5cb5791e Merge pull request #14837 from liggitt/nettest_tls
Auto commit by PR queue bot
2015-10-02 14:29:59 -07:00
k8s-merge-robot
7007481f00 Merge pull request #14917 from nikhiljindal/deploymentController
Auto commit by PR queue bot
2015-10-02 13:18:49 -07:00
Mike Danese
c9574560cc make update period for Node not a multiple of 5 2015-10-02 09:59:30 -07:00
gmarek
22574cfd6d Set E2E_MIN_STARTUP_PODS to 0 for Kubemark runs 2015-10-02 15:10:02 +02:00
gmarek
3137ecbf3b Create a firewall rule for kubemark master allowing connections on port 443 2015-10-02 14:36:31 +02:00
k8s-merge-robot
1bcdd56cf3 Merge pull request #12283 from ncdc/gh8766-port-forward-not-closing-correctly
Auto commit by PR queue bot
2015-10-02 04:48:12 -07:00
k8s-merge-robot
2eae864f26 Merge pull request #14348 from jiangyaoguo/fix-kubeproxy-e2e
Auto commit by PR queue bot
2015-10-02 04:20:01 -07:00
k8s-merge-robot
ff85f0ba95 Merge pull request #14698 from yujuhong/gce_only
Auto commit by PR queue bot
2015-10-02 02:53:27 -07:00
Jerzy Szczepkowski
89859ff14c Merge pull request #14914 from fgrzadkowski/reject_drop_fix
Use REJECT instead of DROP when blocking node
2015-10-02 11:22:50 +02:00
Jerzy Szczepkowski
c4c5a0f018 Merge pull request #14907 from fgrzadkowski/fix_e2e_cm
Don't check if all test namespaces are deleted
2015-10-02 11:20:30 +02:00
gmarek
1e7cdf95bd Add PROJECT to things added by SSL patch 2015-10-02 11:07:34 +02:00
Wojciech Tyczynski
3ae276cc0b Print latency metrics in too-friendly way. 2015-10-02 11:03:56 +02:00
gmarek
bc76b1616f Add SSL to communication in Kubemark 2015-10-02 10:39:24 +02:00
gmarek
e58aff001b Stop existing Kubemark cluster before creating new one in Jenkins 2015-10-02 10:32:57 +02:00
gmarek
b7954068a3 Add missing PROJECT flag to Kubemark scripts 2015-10-02 09:42:02 +02:00
Prashanth Balasubramanian
fc46de5e68 Record pod history in daemon restart e2e 2015-10-01 22:21:40 -07:00
Jordan Liggitt
1d1d7bb145 Add https to porter test image 2015-10-01 22:55:58 -04:00
nikhiljindal
c6deb442f9 Adding events to deployment 2015-10-01 16:38:08 -07:00
k8s-merge-robot
f579f8edc3 Merge pull request #14790 from yujuhong/restart_count
Auto commit by PR queue bot
2015-10-01 11:34:32 -07:00
Yu-Ju Hong
15cdc45b09 Split kubelet e2e resource usage tracking tests
Some tests in this test suite expects --max-pods (i.e. the maximum pod capacity
on kubelet) to be greater than default, which applies only to the GCE test
environment. Split the tests into two sets so that we can better categorize
the tests in the jenkins setup, without making the test itself aware of the
environment.
2015-10-01 11:09:06 -07:00
Yu-Ju Hong
a512111c9d e2e: improve sleep time in kubelet resource usage tracking test 2015-10-01 11:08:38 -07:00
Filip Grzadkowski
330f12b660 Use REJECT instead of DROP when blocking node 2015-10-01 18:10:35 +02:00
Filip Grzadkowski
86a95c27a9 Don't check if all test namespaces are deleted 2015-10-01 16:42:45 +02:00
Wojciech Tyczynski
cff6dcedd7 Merge pull request #14903 from gmarek/fix-jenkins
Make kubemark work on Jenkins
2015-10-01 16:00:40 +02:00
gmarek
9a74980da2 Make kubemark work on Jenkins 2015-10-01 15:26:39 +02:00
Jan Safranek
5678fa83d9 Add OpenStack Cinder E2E test.
The test follows the example of test/e2e/pd.go. It expects, that the machine
that runs the test has OpenStack client tools installed and also that the
usual OpenStack authentication env. variables are set [1]

The test creates a new volume, inserts index.html there and checks, that
another pod can read it. The volume is deleted afterwards.

The test is disabled by default and it must be explicitly enabled.

1: http://docs.openstack.org/cli-reference/content/cli_openrc.html
2015-10-01 13:55:25 +02:00
k8s-merge-robot
7178921a96 Merge pull request #14375 from deads2k/remove-unprefixed-access
Auto commit by PR queue bot
2015-10-01 04:35:59 -07:00
Jerzy Szczepkowski
64f0f70c94 Fixed flakiness of e2e tests for horizontal pod autoscaler.
Fixed flakiness of e2e tests for horizontal pod autoscaler. Enabled more tests.
2015-10-01 10:30:54 +02:00
Ewa Socala
ce5d7d43db added README file to Resource Consumer 2015-10-01 10:28:48 +02:00
Brendan Burns
95956d76ea Merge pull request #14839 from caesarxuchao/14084-fix
Ref #14084, Print output when error occurs in e2e test "in Services should be able to create a functioning external load balancer with user-provided load balancer ip"
2015-09-30 17:11:59 -07:00
Andy Goldstein
ed021fed4c Port forwarding fixes
Correct port-forward data copying logic so that the server closes its
half of the data stream when socat exits, and the client closes its half
of the data stream when it finishes writing.

Modify the client to wait for both copies (client->server,
server->client) to finish before it unblocks.

Fix race condition in the Kubelet's handling of incoming port forward
streams. Have the client generate a connectionID header to be used to
associate the error and data streams for a single connection, instead of
assuming that streams n and n+1 go together. Attempt to generate a
pseudo connectionID in the server in the event the connectionID header
isn't present (older clients); this is a best-effort approach that only
really works with 1 connection at a time, whereas multiple concurrent
connections will only work reliably with a newer client that is
generating connectionID.
2015-09-30 20:03:49 -04:00
Andy Goldstein
7f900daa3e Add port-forward-tester image 2015-09-30 20:03:49 -04:00
Chao Xu
998ac8a137 add more prints 2015-09-30 11:29:49 -07:00
Brendan Burns
08bd00d14b Merge pull request #14792 from saad-ali/fixIssue14787PdCleanup
E2E PD Test cleanup should be more robust on failure to prevent leaking PDs
2015-09-30 11:23:58 -07:00
Fabio Yeon
23759c8b29 Merge pull request #14784 from brendandburns/e2e3
Extend the timeout on initial validation of reboot tests.
2015-09-30 07:36:27 -07:00
deads2k
8db054651c plumb APIGroup to authorization attributes and test 2015-09-30 09:45:10 -04:00
jiangyaoguo
020f3b164c fix kubeproxy e2e 2015-09-30 20:47:35 +08:00
Piotr Szczesniak
1a47993f28 Merge pull request #14509 from mwielgus/spark-fix
E2E test - check pod.Status.Phase when greping through pod logs
2015-09-30 13:19:14 +02:00
Marek Grabowski
4c17ef673a Merge pull request #14719 from gmarek/resource_usage
Increase allowed memory usage for KubeProxy
2015-09-30 09:45:20 +02:00
Marek Grabowski
1cf2a3fa87 Merge pull request #14810 from gmarek/playground
Small fixes to kubemark scripts
2015-09-30 09:40:05 +02:00
David Oppenheimer
f86b119242 Merge pull request #14550 from mesosphere/sttts-fix-daemonset-tests
Fix bugs in daemonset controller and e2e tests
2015-09-30 00:37:46 -07:00
gmarek
7c6052187c Small fixes to kubemark scripts 2015-09-30 09:26:18 +02:00
Marek Grabowski
7fa09abecb Merge pull request #14776 from brendandburns/fixer2
Fix some issues with the kubemark script
2015-09-30 08:58:15 +02:00
saadali
b1dda29acc E2E PD Test cleanup on failure should be more robust to prevent leaking PDs. 2015-09-29 18:33:30 -07:00
Eric Tune
3c43c8dfa0 Improve jobs e2e
Remove unnecessary yaml file.

Define 4 specific pod behaviors.
(sleeping for short periods is going to be flaky during automated
testing.  Also, sleep -1 still exits 0)

Don't wait for a certain number of active pods in tests
where the pods terminate after a finite time, since this is racy.

Changed some tests to use pods that run forever, and not wait
for completion.

Added tests with local restarts.

Convert the DeleteOptions to the correct api group.
2015-09-29 17:31:57 -07:00
Brendan Burns
a26afdad30 Fix some issues with the kubemark script 2015-09-29 17:27:19 -07:00
Yu-Ju Hong
5177e82d3a e2e: restore the test for monotonically increasing restart count
The test was disabled because sometimes restart count could not reach the
target before timeout. This change lowers the target restart count, increases
the timeout threshold to 5 minutes, and adds the test to the SLOW suite.
Running the test in a local cluster takes ~1m40s to complete.
2015-09-29 17:22:12 -07:00
Brendan Burns
09337d1d1e Increase the pod ready timeout. We've seen problems in the reboot tests. 2015-09-29 17:10:46 -07:00
Brendan Burns
edd46543bf Add --quiet to a bunch of gcloud usages to get rid of interactive prompts. 2015-09-29 16:56:36 -07:00
k8s-merge-robot
c317020922 Merge pull request #14684 from mikedanese/fix-0
Auto commit by PR queue bot
2015-09-29 14:25:09 -07:00
Piotr Szczesniak
3a18af8ea8 Fixed flakiness in autoscaling e2e with no scheduling pods 2015-09-29 15:52:30 +02:00
Filip Grzadkowski
0f8adc5d53 Merge pull request #14699 from yujuhong/pods_ready
e2e: RunRC wait until all pods created by RC are ready
2015-09-29 13:54:52 +02:00
gmarek
3f2e697639 Increase allowed memory usage for KubeProxy 2015-09-29 10:47:55 +02:00
gmarek
7cfb3479e0 Small fixes to Kubemark scripts 2015-09-29 10:24:46 +02:00
k8s-merge-robot
c807bea089 Merge pull request #13857 from mesosphere/node-labels
Auto commit by PR queue bot
2015-09-28 22:10:51 -07:00
k8s-merge-robot
4645ad3cb0 Merge pull request #14594 from nikhiljindal/deploymentE2e
Auto commit by PR queue bot
2015-09-28 20:22:14 -07:00
k8s-merge-robot
095fec84e9 Merge pull request #14603 from yujuhong/e2e_slow
Auto commit by PR queue bot
2015-09-28 18:38:03 -07:00
Yu-Ju Hong
1307f081f2 e2e: RunRC wait until all pods created by RC are ready
kubelet sends up status updates to flip the ready condition of a pod after the
pod is already in the running state. RunRC should wait until the pod condition
is ready to make sure there is no pending status update which may affect the
follow-up performance test.
2015-09-28 17:35:01 -07:00
Mike Danese
ea46e3dad7 reorder arguments on gce upgrade e2e tests gcloud call 2015-09-28 15:34:33 -07:00
Maciej Szulik
4bfa389c18 Jobs e2e tests 2015-09-28 11:44:11 -07:00
Dr. Stefan Schimanski
2d8b0049e1 Improve daemonset e2e test
- Don't mess with non-test node labels in daemonset e2e test

  Other e2e tests will expect labels on the nodes. The daemonset test should only
  add and remove its own labels.

- Refactor node updating in deamonset e2e test
2015-09-28 19:20:39 +02:00
Piotr Szczesniak
564fcfb4b3 Fixed panic in autoscaling e2e tests 2015-09-28 15:02:49 +02:00
Wojciech Tyczynski
672e7c3427 Merge pull request #13792 from gmarek/playground
Initial Kubemark commit
2015-09-28 13:17:20 +02:00
Piotr Szczesniak
80d3e6eb5f Added debug logs to autoscaling_utils.go 2015-09-28 11:59:17 +02:00
gmarek
dd3bd73948 Initial Kubemark commit 2015-09-28 11:39:05 +02:00
Brendan Burns
4403a6a05e Disable kubelet_perf test in GKE 2015-09-26 20:06:40 -07:00
Dr. Stefan Schimanski
6f2a1742ab Add positive e2e test for NodeSelector 2015-09-26 09:46:56 +02:00
Dr. Stefan Schimanski
4d4ebe9f18 Add Mesos slave attributes as node labels
- pre-create node api objects from the scheduler when offers arrive
- decline offers until nodes a registered
- turn slave attributes as k8s.mesosphere.io/attribute-* labels
- update labels from executor Register/Reregister
- watch nodes in scheduler to make non-Mesos labels available for NodeSelector matching
- add unit tests for label predicate
- add e2e test to check that slave attributes really end up as node labels
2015-09-26 09:46:56 +02:00
Yu-Ju Hong
d19329aa6b Add clarity and fix bugs for kubelet e2e test 2015-09-25 18:22:24 -07:00
nikhiljindal
d61ed52799 Adding an e2e test for deployment 2015-09-25 17:14:31 -07:00
Brian Grant
10a7f2b1fa Merge pull request #14453 from yujuhong/kubelet_benchmark
Add a slow e2e test to monitor kubelet resource usage
2015-09-25 13:31:59 -07:00
Brian Grant
5f55b70976 Merge pull request #14450 from saad-ali/issue11391
Add new GCE PD E2E test to verify two PDs attached to one container
2015-09-25 13:31:30 -07:00
Piotr Szczesniak
67e5aca7f3 Enabled cluster autoscaling based on cpu/mem reservation e2e tests 2015-09-25 16:23:58 +02:00
Piotr Szczesniak
ea27ecf9ff Small fixes in autoscaling e2e utils 2015-09-25 14:52:32 +02:00
Marcin Wielgus
aab1cdfcfd Merge pull request #14546 from piosz/resource-consumer-fix
Another attempt to fix problem with not ready endpoints in autoscalin…
2015-09-25 12:06:41 +02:00
Piotr Szczesniak
b2cc7d0ac0 Another attempt to fix problem with not ready endpoints in autoscaling e2e 2015-09-25 10:24:28 +02:00
Piotr Szczesniak
dca306e210 Actually enabled Horizontal Pod Autoscaling tests 2015-09-25 07:11:46 +02:00
Chao Xu
ae1293418b move experimental/v1 to experimental/v1alpha1;
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
Eric Tune
c340d664da Merge pull request #14046 from soltysh/job_controller_reaper_scaler
Reaper and scaler for jobs
2015-09-24 13:54:31 -07:00
Eric Tune
ff1156d4c1 Merge pull request #13930 from ArtfulCoder/privileged
allow privileged pods
2015-09-24 13:42:31 -07:00
Brian Grant
42cb619471 Merge pull request #14508 from lavalamp/fix-14477
Fix bug with empty subsets
2015-09-24 12:57:16 -07:00
Marcin Wielgus
4634246391 E2E test - check pod.Status.Phase when greping through pod logs 2015-09-24 20:05:03 +02:00
Daniel Smith
76a37694f6 Revert "Temporary workaround of problem with not ready endpoints."
This reverts commit eb9cb8fbae.
2015-09-24 10:49:43 -07:00
Brendan Burns
ec427f22b1 Disable race detection for all integration tests 2015-09-24 09:37:01 -07:00
Piotr Szczesniak
eb9cb8fbae Temporary workaround of problem with not ready endpoints. 2015-09-24 14:57:21 +02:00
Jerzy Szczepkowski
4d44ab5703 Merge pull request #14486 from jszczepkowski/hpa-tune
E2E tests for horizontal pod autoscaler.
2015-09-24 14:51:41 +02:00
Jerzy Szczepkowski
c8238c079a E2E tests for horizontal pod autoscaler.
Fixes & tuning in horiontal pod autoscaler and its e2e tests; two of the tests added to "Autoscaling suite".
2015-09-24 14:14:35 +02:00
Wojciech Tyczynski
3ab11970d8 Properly use framework in load test 2015-09-24 12:02:49 +02:00
Jerzy Szczepkowski
ec0e1faab4 Merge pull request #14476 from gmarek/framework
Add an option to modify timeout for namespace duration in e2e Framework
2015-09-24 11:01:27 +02:00
gmarek
1459a1523f Add an option to modify timeout for namespace duration in e2e Framework 2015-09-24 10:32:34 +02:00
Jerzy Szczepkowski
c53df247c8 Merge pull request #14440 from brendandburns/flakes2
Increase some more timeouts to eliminate flakes
2015-09-24 10:23:34 +02:00
Jerzy Szczepkowski
0c10d11207 Merge pull request #14456 from brendandburns/flakes3
Turn off race detection in the etcd tools test as etcd client isn't thread safe.
2015-09-24 09:56:53 +02:00
Brendan Burns
d3379e72be Turn off race detection in the etcd tools test as etcd client isn't thread safe 2015-09-23 21:25:26 -07:00
Yu-Ju Hong
0b8244505c Add a slow e2e test to monitor kubelet resource usage
This test tracks kubelet resource usage over a long period of time (1hr)
when running N pods (e.g., N=0,50), and prints out the resource usage. This
would give us an idea how much kubelet's management overhead is in a stable
cluster.

Some followup items:
 * Use a more realistic workload (e.g., including probing)
 * Fail the test if the resource usage is too high.

Caveat:
 * We assume the scheduler would do a decent job distributing the pause pods,
   but we should double check.
 * Cluster addon pods could be unevenly distributed and skews the resource
   usage on nodes.
2015-09-23 18:22:20 -07:00
Yu-Ju Hong
ab85b9a7d6 e2e: add a function to reset the stats in resource monitor
The function can be called in a long-running test to clear exsiting
stats (free the memory), and start over.
2015-09-23 17:55:12 -07:00
Eric Tune
13821de107 Merge pull request #14427 from mesosphere/sttts-resource-tests
Avoid assumption of a fixed list of cgroups in e2e conformance tests
2015-09-23 16:22:53 -07:00
saadali
f6bc538a46 Add new GCE PD E2E test to verify two PDs attached to one container 2015-09-23 15:08:11 -07:00
Brendan Burns
f529cc71ca Increase some more timeouts to eliminate flakes 2015-09-23 14:56:29 -07:00
Eric Tune
de38de0c1a Merge pull request #14064 from brendandburns/flakes
Increase a bunch of timeouts to reduce flakes
2015-09-23 12:56:27 -07:00
Brendan Burns
77fd388485 Increase a bunch of timeouts to reduce flakes 2015-09-23 11:09:03 -07:00
Dr. Stefan Schimanski
643a7f193a Assume full cgroup hierarchy only on gce and gke for e2e tests
Other cluster provider than gce or gke might have different cgroup layouts.
From outside we cannot know how these look like (especially in conformance test
which do not know the cluster provider at all).

Hence, this PR defaults to only the "/" cgroup to collect stats for. In the case
of gce or gke the full container list is tested.

Fixes https://github.com/mesosphere/kubernetes-mesos/issues/436
2015-09-23 16:52:56 +02:00
Dr. Stefan Schimanski
f9f91fd99d Remove cgroup list dependent e2e test from conformance test suite
As discussed @gmarek the given test does not belong into the conformance test
suite because it makes a lot of static assumptions about the cgroup setup of the
nodes which cannot be fulfilled by all cluster providers. Depending on the
installation the kubelet is not allowed to move around process
into specific containers.

Fixes https://github.com/mesosphere/kubernetes-mesos/issues/439.
2015-09-23 16:52:56 +02:00
Ewa Socala
58bea1b7e3 WaitForService added to autoscaling_utils.go 2015-09-23 16:13:05 +02:00
Maciej Szulik
48775319d9 Reaper and scaler for jobs 2015-09-23 13:06:34 +02:00
Abhishek Shah
09465c9a2a allow privileged pods 2015-09-22 13:44:08 -07:00
Abhishek Shah
a64dad04c7 Make KubeProxy test faster 2015-09-22 13:43:43 -07:00
markturansky
f4232d3299 fixed code issues related to hasty test refactor 2015-09-22 14:44:31 -04:00
markturansky
d2e8ec934c merged recycler+deleter tests so they run serially 2015-09-22 13:36:26 -04:00
markturansky
6dca2a4e7f removed flaky test. other integration tests (and many unit tests) also cover binding 2015-09-22 13:26:20 -04:00
Ewa Socala
a9a52a9750 Use Resource Consumer for tests in autoscaling.go 2015-09-22 10:29:38 +02:00
k8s-merge-robot
e13263384b Merge pull request #14331 from saad-ali/fix14284Actually
Auto commit by PR queue bot
2015-09-21 20:47:40 -07:00
saadali
cd56b041f3 Fix #14284: TestPersistentVolumeClaimBinder flake 2015-09-21 19:21:06 -07:00