Commit Graph

3048 Commits

Author SHA1 Message Date
Tim Hockin
0fecf965b4 Change how one-of blocks are validated
I took a hard look at error output and played until I was happier.  This now
prints JSON for structs in the error, rather than go's format.

Also made the error message easier to read.

Fixed tests.
2015-12-18 09:42:14 -08:00
Hongchao Deng
9704222cf3 scheduler performance test suite: README.md docs 2015-12-18 09:41:00 -08:00
Hongchao Deng
161b106082 scheduler performance test suite: standalone entry script 2015-12-18 09:40:52 -08:00
Hongchao Deng
c0243ad4ee scheduler performance test suite: benchmarks and density tests 2015-12-18 09:39:33 -08:00
Mike Danese
cd8dfe70d9 Merge pull request #18836 from mikedanese/daemon-set
increase timeout on complex daemonset test
2015-12-18 08:06:26 -08:00
Wojciech Tyczynski
d1e039b646 Merge pull request #18635 from timothysc/etcd_client_post_cleanup
Update to use latest etcd client library
2015-12-18 14:14:21 +01:00
Janet Kuo
bd1200ba66 Make label and deployment name in deployment e2e test unique 2015-12-17 19:58:48 -08:00
Janet Kuo
32d153093e Fix deployment tests failures; change ResyncPeriod 2015-12-17 19:29:54 -08:00
Minhan Xia
cbcb3c040e Merge pull request #18783 from freehan/eslogging
increase grace period for elasticsearch cluster to complete master election
2015-12-17 17:31:08 -08:00
Phillip Wittrock
41f5b0b765 Node e2e test - propagate errors from tests to runner exit code. 2015-12-17 15:37:11 -08:00
Eric Tune
1752cf22d4 Merge pull request #17940 from soltysh/job_deadline
Added ActiveDeadlineSeconds to jobs
2015-12-17 13:11:13 -08:00
Mike Danese
bff87533c6 increase timeout on complex daemonset test 2015-12-17 09:26:42 -08:00
k8s-merge-robot
548cfbf058 Merge pull request #18358 from gmarek/use-proxy
Auto commit by PR queue bot
2015-12-17 06:37:55 -08:00
Maciej Szulik
327c104460 Added ActiveDeadlineSeconds to jobs, allowing failing a job after
exceeding allowed time.
2015-12-17 15:26:42 +01:00
k8s-merge-robot
0f144fd351 Merge pull request #18529 from timstclair/server
Auto commit by PR queue bot
2015-12-17 04:27:11 -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
Nikhil Jindal
5fb943950d Merge pull request #18113 from nikhiljindal/serverLibrary
Extracting api server code into a library: part 1
2015-12-16 15:57:09 -08:00
Timothy St. Clair
c505a5d49d Updating kubernetes proper to use latest etcd client library 2015-12-16 15:56:35 -06:00
nikhiljindal
2d952aaa87 Extracting APIServer machinery code into a library 2015-12-16 13:54:23 -08:00
k8s-merge-robot
7eed10a804 Merge pull request #18782 from pwittrock/etcd2
Auto commit by PR queue bot
2015-12-16 13:43:25 -08:00
k8s-merge-robot
418c729240 Merge pull request #18486 from timstclair/kubelet_stats
Auto commit by PR queue bot
2015-12-16 13:23:40 -08:00
Minhan Xia
c0e9612300 increase grace period for elasticsearch cluster to elect master 2015-12-16 12:26:09 -08:00
Phillip Wittrock
3d8835e2f0 remove cluster-name flag from e2e tests because it doesn't exist anymore 2015-12-16 12:10:25 -08:00
Isaac Hollander McCreery
a5d895ac49 Add version-guarding around calls to SubResource proxy in e2es 2015-12-16 11:18:47 -08:00
k8s-merge-robot
431ab7f77c Merge pull request #18446 from pwittrock/etcd2
Auto commit by PR queue bot
2015-12-16 10:56:48 -08:00
Jeff Lowdermilk
7069a81116 Merge pull request #18767 from yujuhong/reset_test
Change the pods per node from 40 to 35 for resource tracking tests
2015-12-16 10:51:56 -08:00
Saad Ali
3968a5e63c Merge pull request #18601 from pmorie/devel/provisioner-aws
Dynamic provisioner for AWS EBS
2015-12-16 10:51:35 -08:00
Yu-Ju Hong
251179327d Change the pods per node from 40 to 35 for resource tracking tests
The maximum number of pods allowed on kubelet is 40. Let's not exceed that in
the tests.
2015-12-16 10:04:26 -08:00
Phillip Wittrock
ad37e2654e Node e2e test fixes:
- Improve documentation and method naming
- Fix command this is run remotely
- Never reschedule the busybox logging test pod since it is supposed to terminate
- Update log test condition retrylogic to correctly retry instead of failing the test
- localhost -> 127.0.0.1 to work on coreos
- give name to etcd to work on coreos
- allow using full hostname for nodename for coreos
2015-12-16 09:22:48 -08:00
gmarek
13773cbdf9 Remove cluster-name from kubemark setup 2015-12-16 16:10:52 +01:00
k8s-merge-robot
0be54ae771 Merge pull request #18507 from feihujiang/supportRemoveFlagForKubectlRun
Auto commit by PR queue bot
2015-12-16 01:19:26 -08:00
Minhan Xia
2c9ffc1b45 Merge pull request #18448 from freehan/eslogging
add validation for fluentd pods
2015-12-15 13:25:21 -08:00
Prashanth Balasubramanian
4d9a33f96e Services e2e should use kubectl exec instead of docker run. 2015-12-15 11:16:04 -08:00
Tim St. Clair
89bc7992f9 Refactor kubelet server into its own package
Refactor Kubelet's server functionality into a server package. Most
notably, move pkg/kubelet/server.go into
pkg/kubelet/server/server.go. This will lead to better separation of
concerns and a more readable code hierarchy.
2015-12-15 10:20:38 -08:00
k8s-merge-robot
6f2351b981 Merge pull request #18618 from mesosphere/sur-697-annotations
Auto commit by PR queue bot
2015-12-15 05:26:47 -08:00
k8s-merge-robot
430be9ff0c Merge pull request #18674 from thockin/e2e-service-flakes
Auto commit by PR queue bot
2015-12-15 04:33:09 -08:00
Sergiusz Urbaniak
1fd3bc087b pod_task: use annotations rather than labels for roles
Roles support in Kubernetes-Mesos was done using pod labels. This
commits moves this to pod annotations. Pod label yaml files don't
support '*' characters, furthermore roles are consumed by the scheduler
only and are not meant for querying/filtering.
2015-12-15 12:45:54 +01:00
k8s-merge-robot
3680268c52 Merge pull request #18353 from deads2k/gv-use-constants
Auto commit by PR queue bot
2015-12-15 03:25:09 -08:00
k8s-merge-robot
b02417bb9b Merge pull request #18348 from mesosphere/sur-652-conformance-tests
Auto commit by PR queue bot
2015-12-15 02:02:50 -08:00
Jan Safranek
700d92c2a8 AWS: Use GiB as units for disk sizes.
From some reason, MiBs were used for public functions and AWS cloud provider
recalculated them to GiB. Let's expose what AWS really supports and don't hide
real allocation units.
2015-12-15 10:18:00 +01:00
Piotr Szczesniak
fe04005959 Merge pull request #18658 from jszczepkowski/rc-bump
Autoscaling e2e tests: bumped resource consumer to version beta2.
2015-12-15 09:05:11 +01:00
Wojciech Tyczynski
99ed49dfaf Relax scalability limits 2015-12-15 08:14:07 +01:00
Tim St. Clair
2e6ef04aeb Don't record the same stat point multiple times 2015-12-14 17:48:01 -08:00
Minhan Xia
f0c176dd6a add validation for fluentd pods 2015-12-14 16:23:11 -08:00
Tim Hockin
86b91ac6bc Deflake a test - Sleep(5) != 5 seconds
Fixes #18283 (I hope - very rare flake)
2015-12-14 11:59:34 -08:00
Jerzy Szczepkowski
dd62c8e831 Autoscaling e2e tests: bumped resource consumer to version beta2.
Autoscaling e2e tests: bumped resource consumer to version beta2.
2015-12-14 16:55:26 +01: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
gmarek
4852ca23ef Make getSchedulingLatency use master proxy 2015-12-14 16:08:34 +01:00
deads2k
d0aaf13920 use constants for group names 2015-12-14 10:04:10 -05:00
Sergiusz Urbaniak
67e98fcfa8 executor, scheduler: make default pod roles configurable
Currently if a pod is being scheduled with no meta.RolesKey label
attached to it, per convention the first configured mesos (framework)
role is being used.

This is quite limiting and also lets e2e tests fail. This commit
introduces a new configuration option "--mesos-default-pod-roles" defaulting to
"*" which defines the default pod roles in case the meta.RolesKey pod
label is missing.
2015-12-14 15:18:39 +01:00
Wojciech Tyczynski
960808bf08 Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
k8s-merge-robot
5566e32842 Merge pull request #18540 from madhusudancs/out-of-disk-e2e
Auto commit by PR queue bot
2015-12-14 01:37:37 -08:00
Wojciech Tyczynski
f24d909dae Increase limit for listing pods in 100-node cluster 2015-12-14 09:20:12 +01:00
feihujiang
9ab06cfa62 Support remove flag for kubectl run command 2015-12-14 16:16:43 +08: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
k8s-merge-robot
9067833a31 Merge pull request #18382 from yujuhong/resource_usage
Auto commit by PR queue bot
2015-12-13 21:23:29 -08:00
Jeff Lowdermilk
09f9dc7d86 Merge pull request #18578 from ihmccreery/quiet-upgrades
Add quiet mode to gcloud calls from upgrade e2e tests
2015-12-11 15:49:50 -08:00
Yu-Ju Hong
7e8f4d831d e2e: set expected cpu usage upper bounds
Fail the test if the actual cpu usage is greater than expected.
2015-12-11 10:12:26 -08:00
Mike Danese
a3b6674fbf add a label to namespaces created by e2e framework 2015-12-11 09:53:56 -08:00
markturansky
4fc1bf1f23 Added PersistentVolumeController 2015-12-11 10:33:30 -05:00
Wojciech Tyczynski
5eb17e8224 Decrease scalability thresholds in e2e tests 2015-12-11 09:55:35 +01:00
Wojciech Tyczynski
6e29e84e14 Merge pull request #18532 from thockin/deflake-svcs-e2e
Deflake services e2e
2015-12-11 08:10:30 +01:00
Isaac Hollander McCreery
6aa463a9ac Add quiet mode to gcloud calls from upgrade e2e tests 2015-12-10 19:24:42 -08:00
Tim Hockin
ad22d00e40 Extend a too-short timeout in services e2e 2015-12-10 16:34:07 -08:00
Madhusudan.C.S
7ec49d234c Increase the node condition status change observation time out to 5 minutes.
1 minute is too short.
2015-12-10 15:02:56 -08:00
Tim Hockin
ed1f2d75e9 Deflake services e2e
Picking a nodePort needs to be more robust than "add one to an existing port
and hope it works".  Now we try all ports in the range if we have to.
2015-12-10 13:43:26 -08:00
k8s-merge-robot
e99243fd12 Merge pull request #18264 from bprashanth/clean
Auto commit by PR queue bot
2015-12-10 08:53:23 -08:00
k8s-merge-robot
ba306902e6 Merge pull request #18511 from jszczepkowski/cm-consumer
Auto commit by PR queue bot
2015-12-10 08:24:31 -08:00
Jerzy Szczepkowski
aade6e78b2 Added handling custom metrics to resource consumer.
Added handling custom metrics in Prometheus format to resource consumer.
2015-12-10 16:20:03 +01:00
Marcin Wielgus
f6f7725f90 Merge pull request #18340 from wojtek-t/pod_intra_communication_test
Set timeout for clients created in e2e tests
2015-12-10 14:54:36 +01:00
k8s-merge-robot
9b9daca0c4 Merge pull request #18213 from wojtek-t/enable_list_from_memory
Auto commit by PR queue bot
2015-12-10 05:47:42 -08:00
k8s-merge-robot
b118b801f3 Merge pull request #18164 from jayunit100/hpa-parameterize
Auto commit by PR queue bot
2015-12-10 04:40:53 -08:00
k8s-merge-robot
9bbe6012e3 Merge pull request #17683 from pwittrock/node_e2e_tests
Auto commit by PR queue bot
2015-12-09 12:50:22 -08:00
Wojciech Tyczynski
f1de51567d Set timeout for e2e clients 2015-12-09 20:44:25 +01:00
k8s-merge-robot
b266aa1577 Merge pull request #18120 from pwittrock/etcd
Auto commit by PR queue bot
2015-12-09 10:30:36 -08:00
Wojciech Tyczynski
0cefb43707 Enable listing from memory 2015-12-09 16:24:14 +01:00
Wojciech Tyczynski
0caaf2583e Merge pull request #18360 from yujuhong/longer_timeout
Bump the timeout for container readiness probe e2e tests
2015-12-09 15:15:10 +01:00
Wojciech Tyczynski
0369805308 Merge pull request #18207 from wojtek-t/string_resource_version
Change resourceVersion to string in storage.Interface
2015-12-09 15:00:54 +01:00
Wojciech Tyczynski
c1828b3153 Merge pull request #18218 from gmarek/fix-test
Make scheduler predicates test correctly use request instead of a limit
2015-12-09 14:29:35 +01:00
Wojciech Tyczynski
1e4888f6c8 Merge pull request #18345 from gmarek/monitor_resources
Tweak constants in monitor_resources test
2015-12-09 14:28:56 +01:00
Wojciech Tyczynski
a915b8b29a Merge pull request #18080 from wojtek-t/list_options_in_listwatch
Pass ListOptions to List in ListWatch.
2015-12-09 14:27:51 +01:00
Jerzy Szczepkowski
ab8dbd221d Merge pull request #18296 from sdminonne/downwardapi_volume
rising timeout for mount-tester image
2015-12-09 11:25:20 +01:00
k8s-merge-robot
a486977e19 Merge pull request #17982 from deads2k/gv-testapi-01
Auto commit by PR queue bot
2015-12-08 22:16:59 -08:00
k8s-merge-robot
d153b2a8cd Merge pull request #17808 from pwittrock/conf
Auto commit by PR queue bot
2015-12-08 17:24:04 -08:00
Minhan Xia
fa30b796a8 Merge pull request #18244 from freehan/eslogging
Increase verbosity for cluster logging e2e test
2015-12-08 16:47:47 -08:00
Minhan Xia
3e7882e808 improve retry for checking es cluster health and increase verbosity 2015-12-08 15:22:51 -08:00
Yu-Ju Hong
6e3c7aaae6 Bump the timeout for container readiness probe e2e tests
To reduce the flakiness.
2015-12-08 08:27:38 -08:00
gmarek
217149c199 Tweak constants in monitor_resources test 2015-12-08 13:46:27 +01:00
Wojciech Tyczynski
f27c69851e Increase limits for addons in scalability test 2015-12-08 08:08:43 +01:00
Tim Hockin
d0d27be9b0 Merge pull request #18243 from thockin/test-flake
Try to fix rare test flake in services e2e
2015-12-07 20:57:13 -08:00
Yu-Ju Hong
c1a0502487 Change the kubelet --max-pods limit to 110 for test clusters
This allows resource usage monitoring test to launch 100 test pods per node, in
addition to the add-on pods.

Also reduce the test time length since the results over the shorter period are
representative enough.
2015-12-07 15:41:40 -08:00
deads2k
2ee3dfe415 update testapi to eliminate redundant fields 2015-12-07 15:54:26 -05:00
Fabio Yeon
b7dc1175ba Merge pull request #18220 from yujuhong/increase_timeout
e2e: increase the container probing test timeout
2015-12-07 10:44:31 -08:00
Salvatore Dario Minonne
584ed9b2c4 rising timeout for mount-tester image 2015-12-07 16:44:07 +01:00
k8s-merge-robot
33eda2ffb5 Merge pull request #17825 from gmarek/fix-jenkins
Auto commit by PR queue bot
2015-12-07 04:51:43 -08:00
Wojciech Tyczynski
b0fcb5adef Pass ListOptions to List in ListWatch. 2015-12-07 11:53:53 +01:00
gmarek
4c0b789949 Update limits for Kubelet in monitor-resources test 2015-12-07 10:48:18 +01:00
Wojciech Tyczynski
793da62c7f Change resourceVersion to string in storage.Interface 2015-12-07 09:22:59 +01:00
Wojciech Tyczynski
c355b20189 Increase Kibana limits in density test 2015-12-07 08:15:19 +01:00
Prashanth Balasubramanian
9b90b3440e Add ingress cleanup script 2015-12-06 14:42:40 -08:00
k8s-merge-robot
e2679abdb8 Merge pull request #18011 from sdminonne/podSelector_labelSelector
Auto commit by PR queue bot
2015-12-05 13:56:04 -08:00
mqliang
0fd51b9e72 make 'deployment.kubernetes.io/podTemplateHash' as constant 2015-12-05 11:17:12 +08:00
Yu-Ju Hong
0ae1d548ce e2e: fix container probing test
This change compare the timestamps in pod status to accurately determine
whether the initial delay has passed when the pod (container) becomes ready.
Also increase the test timeout to account for the parallel testing environment.
2015-12-04 17:12:18 -08:00
Tim Hockin
ba907883fb Try to fix rare test flake in services e2e 2015-12-04 16:35:02 -08:00
Janet Kuo
8fb0caa15b Implement MinReadySeconds for Deployment 2015-12-04 12:58:34 -08:00
gmarek
092c1b46ee Make scheduler predicates test correctly use request instead of a limit 2015-12-04 18:15:23 +01:00
Filip Grzadkowski
81b6ac4755 Merge pull request #18209 from piosz/monitoring-e2e
Added printing heapster logs in case of monitoring.go e2e failure
2015-12-04 13:52:48 +01:00
Piotr Szczesniak
38e6392eef Added printing heapster logs in case of monitoring.go e2e failure 2015-12-04 12:16:48 +01:00
k8s-merge-robot
bc2d0f9d3e Merge pull request #17967 from rootfs/cephfs-e2e
Auto commit by PR queue bot
2015-12-04 02:55:52 -08:00
k8s-merge-robot
571839923c Merge pull request #18208 from wojtek-t/dont_run_3podpernode_in_scalability
Auto commit by PR queue bot
2015-12-04 02:40:50 -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
e0731b96cf Don't run 3pods/node in scalability suite 2015-12-04 10:59:32 +01:00
Salvatore Dario Minonne
80575c3093 renaming PodSelector to LabelSelector 2015-12-04 09:49:08 +01:00
Phillip Wittrock
0e2ade336a Initial revision of conformance node environment conformance tests 2015-12-03 15:41:10 -08:00
Jay Vyas
98153fcedc HPA: parameterize stasis, minReplicas, maxReplicas as struct. 2015-12-03 14:34:49 -05:00
k8s-merge-robot
6479f5e93f Merge pull request #18136 from nikhiljindal/del-new-etcd-storage
Auto commit by PR queue bot
2015-12-03 04:10:00 -08:00
Marek Grabowski
5afc5e5938 Merge pull request #18145 from wojtek-t/deletion_in_density
Measure latency metrics before removing namespace
2015-12-03 11:17:21 +01:00
Wojciech Tyczynski
2637dab02b Measure latency metrics before removing namespace 2015-12-03 11:15:44 +01:00
gmarek
bdfcf9bec0 Increase a interval during which we gather add-on resource usage to decrase variability 2015-12-03 11:13:35 +01:00
Marek Grabowski
011fb5c044 Merge pull request #18143 from gmarek/timeout
Increase timeout in e2e downward API test
2015-12-03 10:53:22 +01:00
gmarek
c1cf6b9704 Increase timeout in e2e downward API test 2015-12-03 10:48:16 +01:00
nikhiljindal
5c556baa2f Removing duplicate NewEtcdStorage code 2015-12-03 01:37:44 -08:00
Wojciech Tyczynski
6dcb689d4e Simplify List() signature in clients. 2015-12-03 09:54:07 +01:00
Marek Grabowski
800012dfb8 Merge pull request #17995 from ArtfulCoder/ktest
increased the number of tries in kube-proxy test
2015-12-03 09:39:46 +01:00
Marek Grabowski
1a59e031e2 Merge pull request #17993 from eosrei/1111-minion-node-hack-e2e
Minion->Node rename: comments/vars for e2e.go, e2e.sh, resize_nodes.go for #1111
2015-12-03 09:23:22 +01:00
Marek Grabowski
813a4c9d19 Merge pull request #17819 from mqliang/eventValidate
remove TODO: There is no namespace required for node.
2015-12-03 09:22:06 +01:00
Wojciech Tyczynski
8c497d80ec Increase verification limits for kubeproxy in scalability tests 2015-12-03 09:13:52 +01:00
Marek Grabowski
99d4b9f1b7 Merge pull request #18068 from wojtek-t/fix_benchmark_integration
Fix compile errors in benchmark
2015-12-03 09:04:52 +01:00
gmarek
d424db0706 Increase threshold for fluentd CPU usage in density test 2015-12-03 08:39:42 +01:00
Abhishek Shah
522f5def8b increased the number of tries 2015-12-02 23:19:14 -08:00
Wojciech Tyczynski
882c1cd6f4 Increase verification limits for kubeproxy in scalability tests 2015-12-03 08:17:41 +01:00
Phillip Wittrock
91e9ff5e16 Node e2e tests against remote host use host-local etcd instead of copying one there. Also fix the kubelet healthz port. 2015-12-02 17:20:49 -08:00
mqliang
8547a5c1ae remove TODO: validate namespace 2015-12-03 08:56:17 +08:00
nikhiljindal
41ebe6f1a3 Cleaning up duplicate master config inits 2015-12-02 15:03:22 -08: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
k8s-merge-robot
689586c6ae Merge pull request #16153 from gmarek/use_api_ports
Auto commit by PR queue bot
2015-12-02 05:57:49 -08:00
gmarek
459131fd92 Use KubeletPort reported in NodeStatus instead of cluster-wide master config, take 2. 2015-12-02 13:38:17 +01:00
Wojciech Tyczynski
6eb76b34d1 Fix compile errors in benchmark 2015-12-02 11:36:26 +01:00
k8s-merge-robot
ac68536d44 Merge pull request #17832 from wojtek-t/list_options_in_list
Auto commit by PR queue bot
2015-12-02 02:34:17 -08:00
Brad Erickson
6ac427a501 Minion->Node rename: e2e.sh and resize_nodes.go GCE_FLAKY_TESTS 2015-12-01 16:00:47 -08:00
k8s-merge-robot
d524bd8f52 Merge pull request #17942 from gmarek/fix-test
Auto commit by PR queue bot
2015-12-01 12:42:57 -08:00
Wojciech Tyczynski
8343c8ce6c Pass ListOptions to List() methods. 2015-12-01 15:00:36 +01:00
k8s-merge-robot
7644d34759 Merge pull request #15775 from mesosphere/sur-k8sm-482-resource-roles
Auto commit by PR queue bot
2015-12-01 05:36:52 -08: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
gmarek
fa4f04e176 Add a validation step to add-on resource monitoring 2015-12-01 14:01:14 +01: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
Huamin Chen
a618260c74 update cephfs e2e test from v1beta3 to v1
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-11-30 13:28:57 -05: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
k8s-merge-robot
494364da7e Merge pull request #17939 from wojtek-t/debug_test
Auto commit by PR queue bot
2015-11-30 06:47:04 -08: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
cc71db9f99 Merge pull request #17304 from ZJU-SEL/fix-todo-master
Auto commit by PR queue bot
2015-11-30 04:51:10 -08:00
harry
477da92002 Move hostIP detection from master to server
Add PublicAddress in test files

Move valid public addr into util
2015-11-30 16:17:37 +08:00
k8s-merge-robot
799ab4485b Merge pull request #17897 from jayunit100/Unschedulable
Auto commit by PR queue bot
2015-11-28 09:13:40 -08:00
Jay Vyas
83898644c2 avoid unschedulable pods in networking.go 2015-11-27 23:57:14 -05:00
k8s-merge-robot
44f7983024 Merge pull request #17784 from gmarek/testing
Auto commit by PR queue bot
2015-11-27 08:28:07 -08: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
Clayton Coleman
1d592e4c28 Unversioned types should not use ambiguous go-int
All external types that are not int64 are now marked as int32,
including
IntOrString. Prober is now int32 (43 years should be enough of an initial
probe time for anyone).

Did not change the metadata fields for now.
2015-11-26 11:45:25 -05:00
Wojciech Tyczynski
81a105cb73 Reenable scheduler metrics in scalability tests. 2015-11-26 15:22:27 +01:00
k8s-merge-robot
0c4f302e5e Merge pull request #17601 from eosrei/shell-var-MINION-to-NODE
Auto commit by PR queue bot
2015-11-26 05:02:44 -08:00
gmarek
b2dd7a23ec Adjust latency limits for large clusters for listing pods 2015-11-26 12:07:15 +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
k8s-merge-robot
3ffc680be6 Merge pull request #13580 from ravigadde/sched-ext
Auto commit by PR queue bot
2015-11-25 12:26:16 -08:00
k8s-merge-robot
7f2f7aa091 Merge pull request #16432 from markturansky/recycler_race
Auto commit by PR queue bot
2015-11-25 11:54:06 -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
54bcbb03b0 Merge pull request #17786 from mikedanese/fix-res
Auto commit by PR queue bot
2015-11-25 10:01:53 -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
Mike Danese
196416fbd8 don't test kube-proxy in system resource container monitoring since it is running in a docker container now 2015-11-25 08:47:44 -08:00
Ravi Gadde
cadc24e9fd Scheduler extension 2015-11-25 08:19:27 -08:00
Wojciech Tyczynski
202da5a83c Fix failing Kubemark 2015-11-25 16:19:25 +01: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
Brad Erickson
53172a5356 Minion->Node rename: NUM_NODES 2015-11-25 00:45:10 -08:00
Wojciech Tyczynski
a968f98dc2 Expose information about scheduling latency in scalability tests. 2015-11-25 08:31:46 +01:00
k8s-merge-robot
d42030170b Merge pull request #15999 from aveshagarwal/master-issue-15624
Auto commit by PR queue bot
2015-11-24 17:07:10 -08:00
Phillip Wittrock
ec5ecb18fa Initial Pod e2e test 2015-11-24 15:40:16 -08:00
k8s-merge-robot
0d4e0dc173 Merge pull request #15502 from sdminonne/downwardapi_volume
Auto commit by PR queue bot
2015-11-24 15:00:07 -08:00
Janet Kuo
c0c02c95c4 kubectl run to produce deployment and job 2015-11-24 10:21:31 -08:00
Wojciech Tyczynski
b6ef62af24 Use unversioned.ListOptions in clients. 2015-11-24 16:52:09 +01:00
k8s-merge-robot
4fd6b6df06 Merge pull request #17316 from deads2k/gv-ClientForVersion
Auto commit by PR queue bot
2015-11-24 06:24:28 -08:00
Avesh Agarwal
001437a72f This commit fixes tests. 2015-11-24 09:16:12 -05:00
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
k8s-merge-robot
c96c76b729 Merge pull request #13780 from smarterclayton/pod_logs
Auto commit by PR queue bot
2015-09-21 17:02:47 -07:00
k8s-merge-robot
5b898127d8 Merge pull request #14295 from ixdy/e2e-client-timeout
Auto commit by PR queue bot
2015-09-21 14:49:50 -07:00
k8s-merge-robot
6c30a0e170 Merge pull request #13955 from caesarxuchao/API-discovery
Auto commit by PR queue bot
2015-09-21 14:01:36 -07:00
Clayton Coleman
c2e90cd154 Support extended pod logging options
Increase the supported controls on pod logging. Add validaiton to pod
log options. Ensure the Kubelet is using a consistent, structured way to
process pod log arguments.

Add ?sinceSeconds=<durationInSeconds>, &sinceTime=<RFC3339>, ?timestamps=<bool>,
?tailLines=<number>, and ?limitBytes=<number>
2015-09-21 15:39:32 -04:00
Jeff Grafton
11f3785023 e2e: set default timeout on Client 2015-09-21 12:34:51 -07:00
Chao Xu
1278771b34 let apiserver support api discovery 2015-09-21 12:20:24 -07:00
k8s-merge-robot
b07b9918ce Merge pull request #14055 from gmarek/fix_density
Auto commit by PR queue bot
2015-09-21 11:14:48 -07:00
k8s-merge-robot
979bfc0f18 Merge pull request #14167 from socaa/static-consumption
Auto commit by PR queue bot
2015-09-21 05:13:11 -07:00
Ewa Socala
152991f06c Static Consumption added to autoscaling_utils.go 2015-09-21 10:45:10 +02:00
gmarek
393baa5157 Allow Density to run on non-GCE/GKE provider, rename deleteTestingNS
function.
2015-09-21 10:43:45 +02:00
k8s-merge-robot
568c0331b0 Merge pull request #13650 from markturansky/prov_creater
Auto commit by PR queue bot
2015-09-20 16:57:36 -07:00
k8s-merge-robot
c2f76e4ce7 Merge pull request #14106 from jszczepkowski/hpa-api
Auto commit by PR queue bot
2015-09-19 22:23:06 -07:00
Marek Grabowski
98a971cc2e Revert "Update prometheus library usage" 2015-09-19 22:18:15 +02:00
Eric Paris
20c01f072d Merge pull request #14202 from timstclair/prometheus
Update prometheus library usage
2015-09-19 10:06:13 -05:00
k8s-merge-robot
cad5f03311 Merge pull request #14185 from tmrts/formatting
Auto commit by PR queue bot
2015-09-18 15:16:00 -07:00
Tim St. Clair
045238563a Remove deprecated prometheus extraction libraries 2015-09-18 14:38:44 -07:00
Tim St. Clair
3a94f3b5c2 Use up-to-date prometheus extraction libraries 2015-09-18 14:38:44 -07:00
k8s-merge-robot
e7d4426158 Merge pull request #14136 from mikedanese/deamon-e2e
Auto commit by PR queue bot
2015-09-18 11:43:01 -07:00
markturansky
9c7d03b2b6 added separate clients per caller in integration tests 2015-09-18 13:23:21 -04:00
Tamer Tas
cb5f921df1 Add newline to the end of bash scripts 2015-09-18 19:35:05 +03:00
Abhishek Shah
485e1930e4 renamed variable in test file 2015-09-18 09:04:03 -07:00
Marcin Wielgus
0f8cc8926f Merge pull request #13786 from socaa/hpa-test
Horizontal Pod Autoscaler is deleted along with namespace
2015-09-18 12:22:38 +02:00
k8s-merge-robot
434b768822 Merge pull request #13277 from uluyol/sv-detect-group
Auto commit by PR queue bot
2015-09-18 01:31:43 -07:00
Ewa Socala
d6d199ddab Horizontal Pod Autoscaler is deleted along with namespace 2015-09-18 09:38:10 +02:00
Muhammed Uluyol
f855e75805 Correctly do swagger validation with experimental.
Before we tried both groups, first api then experimental. If
experimental failed, the error message would be discarded and the
message for api would be shown. This commit changes this behavior so
that we detect which api group we should be using and only show the
error for that group.
2015-09-17 22:54:56 -04:00
Daniel Martí
586cb9126a Move pkg/util.Time to pkg/api/unversioned.Time
Along with our time.Duration wrapper, as suggested by @lavalamp.
2015-09-17 17:51:27 -07:00
Mike Danese
cd1229542f retry updates of nodes in daemonset e2e 2015-09-17 17:50:27 -07:00
Chao Xu
55b0bf0d22 fix e2e 2015-09-17 16:14:03 -07:00
k8s-merge-robot
5fbaa05362 Merge pull request #13697 from ArtfulCoder/kube-proxy-tests
Auto commit by PR queue bot
2015-09-17 15:29:44 -07:00
Kris
f4ad00d9ae Moving Status object to a common package 2015-09-17 14:09:53 -07:00
k8s-merge-robot
055f5ff9b9 Merge pull request #13649 from markturansky/prov_deleter
Auto commit by PR queue bot
2015-09-17 12:59:45 -07:00
k8s-merge-robot
7cee028497 Merge pull request #13778 from smarterclayton/unready_endpoints
Auto commit by PR queue bot
2015-09-17 11:36:17 -07:00
markturansky
c2de9e9647 Added volume.Deleter interface and simple HostPath implementation 2015-09-17 12:08:58 -04:00
Clayton Coleman
bf2decce81 Add NotReadyAddresses to Endpoints
In many cases clients may wish to view not ready addresses for endpoints
in order to do set membership prior to a pod being ready. For instance,
a pod that uses the service endpoints to connect to other pods under
the same service, but does not want to signal ready before it has
contacted at least a minimal number of other pods.

This is backwards compatible with old servers and clients. There is
an additional cost in size of endpoints before services ramp up, which
will add minor CPU and memory use for services that have a significant
number of pods which have not become ready.
2015-09-17 09:41:56 -04:00
Ewa Socala
997186d10c CPU & Memory Limit added to RCConfig in autoscaling_utils.go 2015-09-17 15:19:21 +02:00
Jerzy Szczepkowski
7fcf7f1177 Cleanups in HorizontalPodAutoscaler API.
Cleanups in HorizontalPodAutoscaler API: renamed Min/MaxCount to Min/MaxReplicas as Replicas is the proper name used in other objects.
2015-09-17 14:16:43 +02:00
k8s-merge-robot
400e6856b0 Merge pull request #14036 from socaa/hpa-mem-tests
Auto commit by PR queue bot
2015-09-17 00:27:59 -07:00
Abhishek Shah
1752d6350b kube-proxy test 2015-09-16 22:33:59 -07:00
k8s-merge-robot
5de53988e2 Merge pull request #14086 from jlowdermilk/deflake-kubectl-expose
Auto commit by PR queue bot
2015-09-16 20:27:31 -07:00
k8s-merge-robot
7a04c95bc5 Merge pull request #14093 from lavalamp/removeGinkgoDefer
Auto commit by PR queue bot
2015-09-16 20:04:11 -07:00
Mike Danese
77a06cbf05 Merge pull request #13183 from mikedanese/daemon_kubectl
Add daemonset support to kubectl
2015-09-16 19:02:36 -07:00
k8s-merge-robot
426d4a2477 Merge pull request #13945 from caesarxuchao/kube-api-prefix
Auto commit by PR queue bot
2015-09-16 18:43:55 -07:00
Daniel Smith
4d4bbab7de Remove unnecessary GinkgoRecover() calls 2015-09-16 17:46:24 -07:00
Jeff Lowdermilk
12010e9832 Add kubectl expose to GCE_PARALLEL_FLAKY_TESTS
It's essentially the same as Services.*expose, just using kubectl
instead of client lib.

Fixes #14078
2015-09-16 16:26:36 -07:00
Ewa Socala
e837209f15 Memory dynamic consumption 2015-09-16 14:43:23 +02:00
Mike Danese
52ccf54dab Add daemon reaper test to kubectl 2015-09-15 18:13:28 -07:00
Mike Danese
54b0faf39a rebase onto head 2015-09-15 18:13:28 -07:00
Jeff Lowdermilk
e0aeb1151b Merge pull request #9870 from markturansky/recyc_config
Allow Volume Plugins to be configurable
2015-09-15 17:53:49 -07:00
Chao Xu
9bef5ff99d register experimental apis as apis/experimental/..
mark --api-version as deprecated
2015-09-15 11:25:01 -07:00
gmarek
96a90f45c3 Allow disabling waiting for a service account in e2e tests 2015-09-15 12:49:49 -04:00
markturansky
7bc55b5aea configurable pv recyclers 2015-09-15 12:48:25 -04:00
Piotr Szczesniak
66759a4e24 Bumped image tag for Resource Consumer 2015-09-15 16:10:58 +02:00
k8s-merge-robot
bf641078eb Merge pull request #13785 from wojtek-t/minion_to_node_2
Auto commit by PR queue bot
2015-09-14 23:23:06 -07:00
k8s-merge-robot
db128ac0f7 Merge pull request #13736 from socaa/dockerfile-memory
Auto commit by PR queue bot
2015-09-14 16:35:52 -07:00
Jeff Lowdermilk
e25ae7fdb2 Merge pull request #13833 from caesarxuchao/central-latest
[WIP] Making a generic latest package
2015-09-14 09:26:58 -07:00
k8s-merge-robot
50d805110a Merge pull request #13716 from mesosphere/mesos-e2e-provider-independence
Auto commit by PR queue bot
2015-09-14 02:49:59 -07:00
Wojciech Tyczynski
53ae56f205 Replace "minion" with "node" in bunch of places. 2015-09-14 11:07:11 +02:00
k8s-merge-robot
4aa412e04d Merge pull request #13810 from quinton-hoole/2015-09-10-banish-flaky-tests
Auto commit by PR queue bot
2015-09-12 21:10:49 -07:00
Chao Xu
f5023929d8 fix broken files after rebase 2015-09-12 15:45:12 -07:00
Mike Danese
3d9a52d8af add e2e test for changing the labels of a node 2015-09-11 18:32:38 -07:00
Chao Xu
dd6c121d7f massive changes 2015-09-11 17:31:47 -07:00
Mike Danese
1065872d29 rebase and resolve a huge amount of conflicts to keep this up to date (does this commit have more LOC changed than the original implementation? that would be funny...) 2015-09-11 17:04:34 -07:00
Ananya Kumar
f8e4f5aa17 Add e2e test for daemon 2015-09-11 16:56:08 -07:00
Daniel Smith
ccd9e3e247 Run all automated tools 2015-09-11 16:11:08 -07:00
Daniel Smith
4c2adabf42 move; sed replace 2015-09-11 16:03:22 -07:00
Abhishek Shah
44ce4aa423 Create a LB for a K8S with the LB-IP provided by user. 2015-09-10 21:05:06 -07:00
k8s-merge-robot
865359d33d Merge pull request #13481 from brendandburns/attach3
Auto commit by PR queue bot
2015-09-10 20:05:19 -07:00
Daniel Smith
b225c1d47a Run gofmt (separate commit for easy rebases) 2015-09-10 17:17:59 -07:00
Daniel Smith
15b30b8b09 Move version agnostic parts of client
pkg/client/unversioned/cache -> pkg/client/cache
pkg/client/unversioned/record -> pkg/client/record
2015-09-10 17:17:59 -07:00
k8s-merge-robot
a34cdd1e18 Merge pull request #13793 from socaa/millicore-au
Auto commit by PR queue bot
2015-09-10 16:30:56 -07:00
tummychow
78ce5da988 Move util.StringSet into its own package
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00
Quinton Hoole
72cfaf4955 Demote namespace e2e test to flaky in parallel (and fix it's name). 2015-09-10 08:55:11 -07:00
k8s-merge-robot
08fbe2bc10 Merge pull request #13789 from socaa/resource-consumer-memory
Auto commit by PR queue bot
2015-09-10 08:49:42 -07:00
Ewa Socala
2201a3bfa8 Milicore to Millicore in autoscaling_utils.go 2015-09-10 14:36:19 +02:00
Ewa Socala
9e640b356c Memory consumption added to Resource Consumer 2015-09-10 13:50:49 +02:00
Ewa Socala
569ebf7a9b Resource Consumer Handler milicore changed to millicore 2015-09-10 12:17:02 +02:00
k8s-merge-robot
a535509fbe Merge pull request #13747 from mattmoor/prefix-to-hostname
Auto commit by PR queue bot
2015-09-09 17:35:58 -07:00
Brendan Burns
682c68c2fb Address comments, and fix some bugs in kubectl. 2015-09-09 11:48:04 -07:00
Brendan Burns
7f4bca80ba Add a test for kubectl run --attach=true 2015-09-09 11:48:03 -07:00
k8s-merge-robot
c08ee6673e Merge pull request #13741 from pmorie/downward-api-volume
Auto commit by PR queue bot
2015-09-09 10:26:52 -07:00
Matt Moore
4a94ce46db Switch from gcr.io/_b_ prefix to b.gcr.io/ to designate bring-your-own-bucket pulls 2015-09-09 10:07:29 -07:00
Paul Morie
561cbcd7c9 Fix typo in downward api volume e2e 2015-09-09 11:48:11 -04:00
Ewa Socala
44e1d55029 added possibility of memory consumption to Dockerfile 2015-09-09 16:09:17 +02:00
Dr. Stefan Schimanski
63e34e3c10 Make Mesos endpoint annotation e2e workaround cluster provider independent 2015-09-09 10:48:41 +02:00
k8s-merge-robot
c8526ad2da Merge pull request #12497 from amygdala/gb2
Auto commit by PR queue bot
2015-09-08 17:59:17 -07:00
k8s-merge-robot
d6128039a5 Merge pull request #13684 from derekwaynecarr/fix_typo_in_resource_consumer
Auto commit by PR queue bot
2015-09-08 13:50:30 -07:00
derekwaynecarr
b05c11edac Fix typo for milicores to millicores 2015-09-08 14:12:08 -04:00
k8s-merge-robot
68e2c3db44 Merge pull request #13665 from wojtek-t/pod_startup_time_metrics
Auto commit by PR queue bot
2015-09-08 07:33:43 -07:00
Wojciech Tyczynski
6cdeb7a711 Test whether pod startup latency is good enough. 2015-09-08 15:07:20 +02:00
Jerzy Szczepkowski
61a66a95a6 Merge pull request #13640 from socaa/horizontal-pod-autoscaling-test
Horizontal Pod Autoscaling e2e tests
2015-09-08 14:54:17 +02:00
Ewa Socala
3ddbb7d96b Horizontal Pod Autoscaling e2e tests 2015-09-08 13:28:41 +02:00
Wojciech Tyczynski
b85d0557b4 Revert #13052 2015-09-08 09:40:12 +02:00
k8s-merge-robot
bb3e20e361 Merge pull request #13642 from gmarek/nodecontroller_race
Auto commit by PR queue bot
2015-09-07 13:01:59 -07:00
gmarek
e1e3101e75 Add a sleep in resize_nodes test to allow NodeController's Watch to catch up 2015-09-07 15:04:59 +02:00
k8s-merge-robot
06b251e7cd Merge pull request #13600 from quinton-hoole/2015-08-04-deflake-service-endpoints-latency-e2e
Auto commit by PR queue bot
2015-09-07 05:17:14 -07:00
Dai Zuozhuo
2e2ef3e830 change -o template to -o go-template=... 2015-09-05 22:30:47 +08:00
Chao Xu
9fc79e9d99 refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
Quinton Hoole
c324fdd54d Merge pull request #13322 from ncdc/fix-noninteractive-stdin-exec
Various exec fixes
2015-09-04 12:31:28 -07:00
Quinton Hoole
4f5fdfb08b Increase service latency 99th percentile limit from 40s to 50s 2015-09-04 11:45:52 -07:00
Quinton Hoole
10332c3761 Merge pull request #13302 from jsafrane/devel/gluster-test-image
Rebase the gluster test image to CentOS.
2015-09-04 09:08:55 -07:00
Andy Goldstein
c83786979c Various exec fixes
If stdin is noninteractive, the io.Copy from stdin to remoteStdin will
unblock when it finishes reading from stdin. In this case, make sure to
close remoteStdin so the server knows the client won't be sending any
more data. This ensures that the remote process terminates. For example:

echo foo | kubectl exec -i <pod> -- cat

Without this change, the `cat` process never terminates and `kubectl
exec` hangs.

Fix interactive exec sessions hanging after you type 'exit'.

Add e2e test to cover noninteractive stdin: `echo a | kubectl exec -i <pod>
cat`

Add e2e test to cover psuedo-interactive stdin: `kubectl exec -i <pod> bash`

Prep for sending multiple data frames over multiple streams in remote command
test, which is more likely to find flakes (requires bump of spdystream
once an issue with the frame worker queues not being fully drained when
a goaway frame is received).
2015-09-04 10:40:53 -04:00
Piotr Szczesniak
cbce3a1ab8 Merge pull request #13315 from quinton-hoole/2015-08-27-speed-up-e2e
Create fewer pods in Scheduler Predicates e2e test to speed things up.
2015-09-04 13:47:18 +02:00
Piotr Szczesniak
e724a5210a Merge pull request #13243 from socaa/dynamic-cpu-consumption
Dynamic cpu consumption
2015-09-04 09:43:36 +02:00
Timothy St. Clair
2b7e758c3c Fixes the experimental api, which appeared to be completely broken.
Fix for rebase with nikhiljindal/deploymentController
2015-09-03 21:56:45 -05:00
Amy Unruh
3574999fa3 Use GCR images from 'google-samples' project; allow switch on whether dns service is
supported, or to use env vars to get service host info.

Test change to reflect php filename change.
2015-09-03 19:14:24 -07:00
Abhi Shah
380d7d9591 Merge pull request #13564 from a-robinson/beta
Switch from `gcloud beta container` to just `gcloud container`.
2015-09-03 13:09:25 -07:00
k8s-merge-robot
5d8a6049be Merge pull request #12848 from wojtek-t/private_watch_cache
Auto commit by PR queue bot
2015-09-03 13:06:18 -07:00
Alex Robinson
edf692622c Switch from gcloud beta container to just gcloud container. 2015-09-03 18:19:25 +00:00
Abhi Shah
473c51593a Merge pull request #13502 from jszczepkowski/e2e-clustersize
e2e test function waitForClusterSize waits for not-ready nodes to go out.
2015-09-03 11:15:54 -07:00
Ewa Socala
4f282efb11 Added autoscaling utils for dynamic consumption of CPU 2015-09-03 09:15:12 +02:00
Brendan Burns
2df5010834 Merge branch 'sdminonne-container_sidecar' 2015-09-02 10:42:08 -07:00
Brendan Burns
74ef517097 Merge pull request #6649 from rootfs/wip-cephfs
add Ceph FS volume plugin
2015-09-02 09:48:15 -07:00
Marcin Wielgus
3e9932557d Merge pull request #13052 from pmorie/podip-fix
Fix race condition for consuming podIP via downward API
2015-09-02 16:04:01 +02:00
Wojciech Tyczynski
4d702d2fd5 Fix scalability test suite 2015-09-02 11:53:37 +02:00
Jerzy Szczepkowski
1d450ad3d1 Fixed e2e test waitForClusterSize function to wait for not-ready nodes to go out.
Fixed e2e test waitForClusterSize function to wait for not-ready nodes to go out. Fixes #13440.
2015-09-02 10:55:59 +02:00
k8s-merge-robot
0a062c5b24 Merge pull request #11942 from ironcladlou/rolling-update-availability
Auto commit by PR queue bot
2015-09-01 16:51:13 -07:00
Salvatore Dario Minonne
f4dc0653aa adding downward api volume plugin 2015-09-01 22:23:03 +02:00
Derek Carr
a7e47cada2 Merge pull request #12963 from smarterclayton/enable_graceful
Enable graceful deletion of pods (7/7)
2015-09-01 15:07:29 -04:00
Huamin Chen
fe559f2726 implement Ceph FS volume plugin and add to e2e volume test
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-09-01 14:05:17 -04:00
Dan Mace
da5e4d7bd5 Rolling updater availability enhancements
Enhance the rolling updater to support maintaining minimum pod
availability for the duration of the update process.
2015-09-01 12:54:08 -04:00
Paul Morie
4ff66bd70a Fix race exposing pod IP via downward API 2015-08-31 19:18:58 -04:00
Wojciech Tyczynski
e202f9c797 Add resource version to Store Replace params. 2015-08-31 09:49:12 +02:00
Jerzy Szczepkowski
86fb79da05 Merge pull request #13314 from yujuhong/supervisor_log
e2e: collect supervisord.log
2015-08-31 09:19:03 +02:00
Clayton Coleman
e5600f7a84 Dump more pod status when an e2e test fails 2015-08-30 18:25:54 -04:00
Clayton Coleman
f9590a33fd Enable graceful deletion by enabling pods 2015-08-30 18:25:53 -04:00
Quinton Hoole
97ddc9781c Create fewer pods in Scheduler Predicates e2e test to speed things up. 2015-08-28 11:07:22 -07:00
Yu-Ju Hong
be179ffc41 e2e: collect supervisord.log
monit has been replaced with supervisord. Collect its log instead.
2015-08-28 10:47:09 -07:00
Jan Safranek
bcdf89a909 Rebase the gluster image to CentOS.
Using the same base for NFS and Gluster images should reduce the download size.
Also, CentOS image is ~30MB smaller than Ubuntu 14.04.
2015-08-28 12:26:01 +02:00
Wojciech Tyczynski
9da41aeab8 Merge pull request #10476 from jsafrane/devel/fedora-nfs-images
Configure lower NFS grace period.
2015-08-28 09:57:44 +02:00
Yu-Ju Hong
3221663a50 e2e: skip restart count test 2015-08-27 10:10:40 -07:00
Jan Safranek
49921ada74 Configure lower NFS grace period.
From RFC 3530:
  During the grace period, the server must reject READ and WRITE operations
  and non-reclaim locking requests (i.e., other LOCK and OPEN operations)
  with an error of NFS4ERR_GRACE.

That basically means that all open() calls from clients are blocked until the
grace period is over (90 seconds by default).

We want the grace period as low as possible to speed up the tests. '10'
seconds were tested on Fedora 21 and Ubuntu 15.04 as the hosts.

The test image is rebased to Fedora in order to get 'rpc.nfsd -G <n>' option,
Ubuntu does not support it.
2015-08-27 17:50:05 +02:00
Yu-Ju Hong
c7afae75f5 Merge pull request #13103 from yujuhong/restart_count
Kubelet: fix container restart counts
2015-08-26 15:13:10 -07:00
Max Forbes
8ca0654f94 Pass mbforbes TODOs to others. 2015-08-26 10:05:34 -07:00
Piotr Szczesniak
99b9de9d76 Started running Autoscaling e2e test on dedicated Jenkins job 2015-08-26 12:12:51 +02:00
Yu-Ju Hong
49883a04d6 Merge pull request #13140 from socaa/post-request-resource-consumer
Changed Resource Consumer for correct parsing POST requests
2015-08-25 10:07:42 -07:00
Ewa Socala
c68508f8cf Changed Resource Consumer for correct parsing POST requests 2015-08-25 16:29:29 +02:00
Tim Hockin
f5a9281a26 Actually hold NodePorts open in kube-proxy 2015-08-24 16:32:44 -07:00
Yu-Ju Hong
fb3c8c5bcc e2e: add a test to ensure restart count increments monotonically 2015-08-24 12:50:15 -07:00
Zach Loafman
af83c8b4ac Merge pull request #13039 from smarterclayton/lengthen_timeout
Lengthen e2e kubectl timeout
2015-08-21 16:07:11 -07:00
Zach Loafman
0a8291505a Merge pull request #9234 from ZJU-SEL/fix-e2e-test-hostdir
fix e2e hostdir test
2015-08-21 15:51:42 -07:00
Clayton Coleman
cc95dc586e Lengthen e2e kubectl timeout
30s on guestbook-go being pulled from the docker hub is tight -
occasionally lag in the DockerHub can cause kubectl expose it should
create services for rc to flake.
2015-08-21 12:54:36 -04:00
Jerzy Szczepkowski
95d34a1343 Merge pull request #13016 from gmarek/master
Update constants in monitor_resources.go
2015-08-21 10:31:11 +02:00
Jerzy Szczepkowski
958191f72a Merge pull request #11791 from mbforbes/restartLogging
Improve logging and retries for a gcloud command
2015-08-21 10:29:36 +02:00
gmarek
b0acb6adee Update constants in monitor_resources.go 2015-08-21 09:28:48 +02:00
k8s-merge-robot
1a18588a60 Merge pull request #12960 from smarterclayton/network_tester
Auto commit by PR queue bot
2015-08-20 22:44:30 -07:00
k8s-merge-robot
44c76d5319 Merge pull request #12957 from smarterclayton/handle_terminating_pods
Auto commit by PR queue bot
2015-08-20 21:47:00 -07:00
Saad Ali
5ec3c78190 Merge pull request #8366 from justinsb/idempotent_loadbalancer
Make LoadBalancer creation more self-healing; don't delete on AWS
2015-08-20 14:30:55 -07:00
Saad Ali
22e49036f5 Merge pull request #12947 from mesosphere/guestbook-e2e-test
Un-skip guestbook application e2e test
2015-08-20 11:10:35 -07:00
Zach Loafman
95a60d6085 Merge pull request #12926 from smarterclayton/cleanup_graceful
Cleanup more extensively in e2e (0/7)
2015-08-20 10:25:15 -07:00
Clayton Coleman
02dbb95447 Add TerminationGracePeriodSeconds to API
Set defaulting for pod spec
2015-08-20 11:03:38 -04:00
Wojciech Tyczynski
f6b20008b3 Merge pull request #12961 from smarterclayton/prepare_for_graceful
Update tests to prepare for graceful deletion (3/7)
2015-08-20 10:04:32 +02:00
Wojciech Tyczynski
606cc1be39 Merge pull request #12917 from mesosphere/fix-nodeport
Declare e2e NodePort test container port
2015-08-20 08:28:07 +02:00
Clayton Coleman
9267f829eb Update tests to prepare for graceful deletion
For cases where we want to immediately cleanup the pod, start using
gracePeriod 0 in test cases.
2015-08-19 22:20:29 -04:00
Clayton Coleman
9ee7b76bba Allow testing graceful shutdown via network-tester 2015-08-19 22:06:37 -04:00
Max Forbes
f71597ef6e Use retryCmd(...) to improve logging and add retries to gcloud commands 2015-08-19 18:15:49 -07:00
He Simei
faeb45d69f fix host dir, to test volume r/w with different containers within a pod
Signed-off-by: He Simei <hesimei@zju.edu.cn>
2015-08-20 08:55:19 +08:00
Zach Loafman
41e6c2c9e0 Merge pull request #12935 from pmorie/fix-mounttest-user
Fix FROM clause in mount-test-user image
2015-08-19 16:06:01 -07:00
Dr. Stefan Schimanski
3b24ac55d0 Un-skip guestbook application e2e test
The comment said that the guestbook needs LoadBalancer support, which is not
true. The test had been skipped for everything but aws, gke and gce for that
reason.
2015-08-19 23:58:22 +02:00
Saad Ali
25dfc9932f Merge pull request #12913 from gmarek/remove_healthcheck
Remove unused (?) HealthCheck from KubeletClient
2015-08-19 14:49:00 -07:00
Clayton Coleman
dcdbc646ed RC already being deleted shouldn't fail DeleteRC 2015-08-19 17:43:34 -04:00
Clayton Coleman
611530889f Cleanup more extensively in e2e 2015-08-19 17:43:34 -04:00
Dr. Stefan Schimanski
364a831e14 Declare e2e NodePort test container port
The port 80 of the test webserver was not specified in the container spec. This
patch add the declaration.

Fixes https://github.com/mesosphere/kubernetes-mesos/issues/365
2015-08-19 22:43:44 +02:00
Paul Morie
cffacbb5bd Fix FROM clause in mount-test-user image 2015-08-19 13:49:30 -04:00
Piotr Szczesniak
cfc4471f8c Fixed memory consumption in Autoscaling e2e 2015-08-19 16:33:57 +02:00
Piotr Szczesniak
265d3da701 Enabled Autoscaling test that uses mem utilization metric 2015-08-19 15:07:17 +02:00
gmarek
33c894a6ae Remove unused (?) HealthCheck from KubeletClient 2015-08-19 14:35:43 +02:00
Piotr Szczesniak
c69dff8b69 Merge pull request #12903 from piosz/scheduler-predicates-fix
Added clean up to scheduler-predicates
2015-08-19 12:21:04 +02:00
Piotr Szczesniak
f6a3966abb Added clean up to scheduler-predicates 2015-08-19 11:32:49 +02:00
Piotr Szczesniak
41b8fdcd76 Increased timeout while waiting for namespace deletion
Removed waiting for namespace to be deleted in Density and Load e2e tests
2015-08-19 11:17:59 +02:00
Robert Bailey
08e6a43c1d Revert "Merge pull request #9165 from smarterclayton/graceful"
This reverts commit 4f856b595d, reversing
changes made to d78525a83b.

Conflicts:
	pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Robert Bailey
301bf16792 Merge pull request #12878 from smarterclayton/soak_wait
Soak tests should wait until namespaces are dead before exiting
2015-08-18 15:46:07 -07:00
Clayton Coleman
40e80e1e75 Soak tests should wait until namespaces are dead before exiting 2015-08-18 17:43:49 -04:00
Clayton Coleman
dcad51b90e Deleting a namespace is insufficient to cleanup in e2e
Graceful deletion requires more time to terminate namespaces, and not
waiting for namespaces to delete causes scheduling errors
2015-08-18 17:36:00 -04:00
Kris Rousey
ae6c64d9bb Moving everyone to unversioned client 2015-08-18 10:23:03 -07:00
Robert Bailey
4f856b595d Merge pull request #9165 from smarterclayton/graceful
Enable graceful deletion using reconciliation loops in the Kubelet without TTL
2015-08-18 10:01:40 -07:00
Robert Bailey
4b9ec9a9b2 Merge pull request #12824 from andyzheng0831/test-bug
Fix two bugs in reboot tests
2015-08-18 08:54:25 -07:00
Quinton Hoole
7158f8a5df Merge pull request #11339 from bprashanth/restart_test
Confirms daemons restart and do sane things in an e2e test
2015-08-18 08:42:44 -07:00
Clayton Coleman
266e6226e5 Move slow-* items to test/images/network-tester 2015-08-18 09:08:46 -04:00
Clayton Coleman
89f1f3b1b8 Alter graceful deletion to not use TTL
Avoid TTL by deleting pods immediately when they aren't
scheduled, and letting the Kubelet delete them otherwise.

Ensure the Kubelet uses pod.Spec.TerminationGracePeriodSeconds
when no pod.DeletionGracePeriodSeconds is available.
2015-08-18 09:08:43 -04:00
Clayton Coleman
b842a7dd15 Revert "Revert "Gracefully delete pods from the Kubelet""
This reverts commit 98115facfd.
2015-08-18 08:57:02 -04:00
Piotr Szczesniak
e7eccea4ac Increased waiting for cluster size timeout for Autoscaling e2e 2015-08-18 10:11:13 +02:00
Piotr Szczesniak
db6c34288e Migrated Autoscaling e2e test to new gcloud commands 2015-08-18 06:51:17 +02:00
Prashanth Balasubramanian
83f1212e0b Confirms daemons restart and do sane things in an e2e test 2015-08-17 20:39:57 -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
Piotr Szczesniak
72c27d5782 Added more logs to Autoscaling e2e test 2015-08-17 16:12:32 +02:00
Justin Santa Barbara
fde0a8884f e2e: Test load-balanced service endpoint preserved
Previously we weren't preserving the service endpoint on a load-balanced
service, at least on AWS.  The test had to test reality, not
aspirations!

Now we should have fixed this, so we can revert the e2e test to check
that the service endpoint is indeed preserved.

Fixes #11002
2015-08-17 08:58:46 -04:00
Piotr Szczesniak
73815f5629 Actually enabled Autoscaling e2e test for Jenkins flaky job 2015-08-17 12:30:20 +02:00
Marek Grabowski
d310eeaca9 Merge pull request #12783 from piosz/autoscaling_e2e
Enabled Autoscaling e2e test for Jenkins flaky job
2015-08-17 11:23:28 +02:00
Piotr Szczesniak
b6f1c9d989 Enabled Autoscaling e2e test for Jenkins flaky job 2015-08-17 10:54:33 +02:00
Marek Grabowski
c0480e9174 Merge pull request #12707 from mikedanese/move-test-contrib
move contrib/for-tests to test/images
2015-08-17 10:46:18 +02:00
gmarek
781a9b5325 Update constants in monitor_resources test 2015-08-17 09:53:52 +02:00
Mike Danese
fa40ced8f8 move contrib/for-tests to test/images 2015-08-14 20:42:46 -07:00
Piotr Szczesniak
5b676b7334 Disabled Autoscaling e2e test 2015-08-14 16:27:54 +02:00
Jerzy Szczepkowski
36f94fabbe Merge pull request #12719 from piosz/autoscaling_e2e
Enabled Autoscaling e2e test for cpu utilization
2015-08-14 13:40:41 +02:00
Piotr Szczesniak
fb44d5e045 Enabled Autoscaling e2e test for cpu utilization 2015-08-14 11:50:19 +02:00
gmarek
941ddc90b1 Fix SchedulerPredicates test after event reason rename 2015-08-14 11:20:37 +02:00
gmarek
5c7294ce52 Tweak resource constraintes for MonitorResources test 2015-08-13 13:56:10 +02:00
Wojciech Tyczynski
77f431649b Merge pull request #12462 from gmarek/cadvisor2
Add e2e test monitoring current container resource usage with updated constants.
2015-08-13 10:19:19 +02:00
CJ Cullen
7a87438e67 Merge pull request #12602 from deads2k/expose-methods-from-e2e
expose e2e methods for downstream use
2015-08-12 16:06:23 -07:00
CJ Cullen
59da05efdf Merge pull request #12405 from uluyol/kubectlexp
Add experimental api support to kubectl
2015-08-12 14:24:56 -07:00
deads2k
2952af0d59 expose e2e methods for downstream use 2015-08-12 15:38:51 -04:00
CJ Cullen
b8dc963512 Merge pull request #9210 from BenTheElder/iptables_proxy
Implement Iptables based Proxy
2015-08-12 09:26:39 -07:00
BenTheElder
ae569e20b5 Partially Implement #3760 2015-08-12 02:39:15 -04:00
Bryan Stenson
9541414742 create cloudprovider "providers" package
move all providers into new package
    update all references to old package path
2015-08-11 22:36:51 -07:00
Muhammed Uluyol
fab367230f Add experimental API support to kubectl 2015-08-11 16:49:55 -07:00
Kris Rousey
565189f5b8 Correcting all go vet errors 2015-08-11 13:55:37 -07:00
gmarek
bc8565d55e Add e2e test monitoring current container resource usage with updated
constants.

This reverts commit 1f7ea4f08e.
2015-08-11 09:16:14 +02:00
markturansky
8e0d391b1e Refactored persistent volume controllers to new packaging structure 2015-08-10 23:18:48 -04:00
Alex Robinson
9036f2cf82 Merge pull request #12408 from smarterclayton/improvements_to_test
e2e test cases should clean up more effectively
2015-08-10 18:15:04 -07:00
Clayton Coleman
e623d33343 e2e test cases should clean up more effectively
Graceful deletion exposes weakness in cleanup paths, add
common hooks for waiting for namespcae deletion to complete,
use direct delection where necessary, and add some debug output
for finding cleanup flags (namespaces that aren't fully deleted)
2015-08-10 19:02:39 -04:00
Yu-Ju Hong
13aec6421a Check error before accessing returned value in e2e/kubectl.go
This avoids test panics.
2015-08-10 15:02:17 -07:00
Alex Robinson
9bda3c5998 Merge pull request #11138 from feihujiang/portForwardWithoutP
kubectl port-forward accept a pod without -p
2015-08-10 13:29:14 -07:00
Alex Robinson
1ad9015566 Merge pull request #12410 from mesosphere/non-unique-endpoint-ip-no-port-names
Fix e2e endpoints tests on Mesos
2015-08-10 09:49:55 -07:00
Marek Grabowski
5f9cefc1d8 Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
typofix - https://github.com/vlajos/misspell_fixer
2015-08-10 16:33:52 +02:00
Marek Grabowski
f187588072 Merge pull request #11054 from jsafrane/devel/iscsi-test
Add e2e RBD and iSCSI volume tests.
2015-08-10 16:32:13 +02:00
Marek Grabowski
65bff3d187 Merge pull request #12252 from alex-mohr/stamp
Add timestamps to test info logs
2015-08-10 15:01:34 +02:00
Veres Lajos
9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
Satnam Singh
1f7ea4f08e Revert "Add e2e test monitoring current container resource usage" 2015-08-07 22:40:15 -07:00
Satnam Singh
8c4d2737f2 Merge pull request #11374 from gmarek/cadvisor
Add e2e test monitoring current container resource usage
2015-08-07 15:24:54 -07:00
Brendan Burns
e42d6aa255 Add --restart support to kubectl run 2015-08-07 13:20:09 -07:00
Dr. Stefan Schimanski
4786705f8e Move TODO from source into an github issue 2015-08-07 22:08:50 +02:00
Dr. Stefan Schimanski
f04f31f799 Use endpoint annotation to recover container ports in e2e tests on Mesos 2015-08-07 20:13:19 +02:00
Dr. Stefan Schimanski
8848e26154 Validate endpoints in e2e tests by pod UID and port
Before this patch endpoints were validated by container IP and port.
Depending on the endpoint controller logic neither of the two must match for a
valid endpoint (e.g. in a Mesos setup).

This patch checks that the endpoint targetRef points to the right pod by UID,
instead of comparing IPs.

A later patch will make sure the
compared port is the actual container port, not the host port.

/xref mesosphere/kubernetes-mesos#365
2015-08-07 20:13:18 +02:00
Satnam Singh
213e7a8ab6 Merge pull request #12372 from a-robinson/ifup
Replace usage of ifup and ifdown in the reboot test with ifconfig
2015-08-07 10:14:11 -07:00
Jan Safranek
9c7a1c7f96 Add Ceph RBD e2e test.
The test assumes that all nodes have Ceph client utilities installed.
Ceph RBD container is hand crafted to be really minimal. It creates a new RBD
on startup, which can take up to several minutes on busy machines.
2015-08-07 13:43:03 +02:00
Jan Safranek
adba474ffa Add e2e iSCSI volume test.
The test container needs to run with --privileged, therefore it's disabled by
default.
2015-08-07 13:43:03 +02:00
feihujiang
90f4c79bb9 kubectl port-forward accept a pod without -p 2015-08-07 17:21:59 +08:00
gmarek
1c22fd39ff Add e2e test monitoring current container resource usage.wq 2015-08-07 10:27:00 +02:00
Jan Safranek
ebcc558734 Revert "Use a service between e2e volume tests clients and servers."
iSCSI and RBD volumes don't work as Kubernetes services - these protocols
are broken by S-NAT created by kube-proxy - at least iSCSI exhanges real
IP address of the iSCSI target as part of the protocol.

This reverts commit 118004c166.
2015-08-07 10:24:29 +02:00
Brendan Burns
5be9ff70af Add a negative test for HTTP health checks 2015-08-06 21:22:31 -07:00
Alex Robinson
a2fea14542 Fix typo in an e2e test utility log message. 2015-08-07 00:32:05 +00:00
Alex Robinson
e650e098f4 Replace usage of ifup and ifdown in the reboot test with ifconfig. 2015-08-07 00:29:36 +00:00
Max Forbes
acef505cfd Implement 'Nodes Network' test for GKE; add optional verbose SSH. 2015-08-06 14:25:53 -07:00
Stef Walter
cd4f0b43ef test: End to end test for kubectl proxy --unix-socket 2015-08-06 11:56:48 +02:00
Mike Danese
fe6b15ba2f rewrite all links to issues to k8s links 2015-08-05 21:11:11 -07:00
Mike Danese
17defc7383 run gofmt on everything we touched 2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28 rewrite go imports 2015-08-05 17:30:03 -07:00
Dawn Chen
13258e8f8f Merge pull request #12091 from mwielgus/spark-flaky
Fix spark-driver in examples/spark
2015-08-05 12:03:34 -07:00
Marcin Wielgus
41bc20d1e0 Fix spark-driver in examples/spark 2015-08-05 15:45:43 +02:00
Alex Mohr
ea0c35b72b Add timestamps to test info logs.
This should improve forensics on failed tests based with only the output to make the timing recoverable, with the hope that flaky tests will be easier to debug as a result.

Before:
INFO: foo

After:
Aug  4 17:42:14.876: INFO: foo
2015-08-04 23:28:12 -07:00
Alex Mohr
bcb6e1e107 Fix e2e scheduler_predicates.go to have 10 minute timeout instead of 2
minutes.

On an n1-standard-1 with only this test running, 2 minutes was enough
to create 189 pods out of the 300 desired.  On slower VMs or with more
activity on the master (such as with parallel tests), 2 minutes is
nowhere near enough.  This is a functional test, not a performance
test.
2015-08-04 22:59:30 -07:00
Alex Mohr
1b6089a783 Merge pull request #11196 from yujuhong/resource_monitor
Auto commit by PR queue bot
2015-08-04 18:06:18 -07:00
Alex Mohr
2d81775a2d Merge pull request #11151 from gmarek/max_pods_e2e
Auto commit by PR queue bot
2015-08-04 15:11:13 -07:00
Alex Mohr
366b382901 Merge pull request #10200 from caesarxuchao/resthandler-validate-version
verify and default APIVersion in createHandler, verify APIVersion in UpdateResource
2015-08-04 13:09:31 -07:00
Alex Mohr
1311b9dce1 Merge pull request #11886 from gmarek/ratelimit
Auto commit by PR queue bot
2015-08-04 11:39:53 -07:00
Alex Mohr
5068c9ff32 Merge pull request #8905 from justinsb/e2e_log_events_on_service_mutation
Auto commit by PR queue bot
2015-08-04 10:58:25 -07:00
Alex Mohr
6d16c18d6f Merge pull request #12078 from gmarek/move_nodecontroller
Auto commit by PR queue bot
2015-08-03 16:49:57 -07:00
Chao Xu
664d20c572 Add DecodeIntoWithSpecifiedVersionKind() to Decoder interface.
The function validate/default the body with the passed in apiVersion and Kind.
It's called in createHandler and UpdateResource
2015-08-03 15:30:00 -07:00
Alex Mohr
d8b01b0a19 Merge pull request #12114 from caesarxuchao/update-pod-error-message
improve the error message of update/patch pod
2015-08-03 15:15:04 -07:00
Brendan Burns
2e68002f31 Merge pull request #11692 from wojtek-t/new_api_instance_groups
Auto commit by PR queue bot
2015-08-03 11:07:36 -07:00
gmarek
d27ad5b714 Controller codebase refactoring 2015-08-03 17:06:25 +02:00
gmarek
4cc0a2f117 Allow changing Schedulers RateLimitter setting during startup. 2015-08-03 15:27:19 +02:00
Wojciech Tyczynski
2d95cd454c Swich to new gcloud API for GCE MIGs 2015-08-03 09:56:25 +02:00
Jerzy Szczepkowski
972dcfaa4f Fixed flakiness of resize nodes test.
Fixed flakiness of resize nodes test by increasing timeout for waiting for change of size of managed instance group with nodes. Fixes #11442.
2015-08-03 09:51:17 +02:00
Chao Xu
18d32751fd improve the error message of update pod 2015-08-02 13:41:53 -07:00
Mike Danese
cf4cb1a6a3 Merge pull request #10474 from kargakis/scale-multiple-controllers
Enable scaling multiple controllers
2015-07-31 14:51:43 -07:00
kargakis
0e796ca09a Enable scaling multiple controllers 2015-07-31 10:24:59 +02:00
Muhammed Uluyol
58a875ac2c Add (stopgap) support for an experimental API prefix. 2015-07-30 18:14:29 -07:00
Mike Danese
853ea5bab2 Merge pull request #11880 from mwielgus/rethinkdb-flaky
Add retry logic to http service request in test/e2e/examples.go
2015-07-30 17:37:06 -07:00
Mike Danese
51a7a38f67 Merge pull request #12020 from wojtek-t/move_to_storage
Move storage-related code to pkg/storage
2015-07-30 16:23:03 -07:00
Mike Danese
452bdcae2d Merge pull request #11895 from derekwaynecarr/vagrant_confornamce_tickbox
Vagrant passes conformance tests at HEAD
2015-07-30 10:35:34 -07:00
Brendan Burns
1d9a0623f2 Merge pull request #11047 from gurvindersingh/master
modified spark example to use kubectl exec to interact with cluster a…
2015-07-30 10:01:10 -07:00
Mike Danese
0ae48c449e Merge pull request #11927 from wojtek-t/remove_shell_services
Remove shell services test
2015-07-30 09:56:38 -07:00
Mike Danese
71536711a4 Merge pull request #11811 from gmarek/framework
Move addon_update e2e test to framework
2015-07-30 08:23:16 -07:00
Wojciech Tyczynski
3cbbe72f9f Move etcd storage to pkg/storage/etcd 2015-07-30 15:42:06 +02:00
Wojciech Tyczynski
2c5c1931e5 Revert "Implement 'Nodes Network' test for GKE" 2015-07-30 15:29:01 +02:00
Marcin Wielgus
aa7d009b96 Add retry logic to http service request in test/e2e/examples.go 2015-07-30 14:36:35 +02:00
Wojciech Tyczynski
99d6b0e9f4 Rename storage interfaces 2015-07-30 10:34:57 +02:00
Gurvinder Singh
e1d76d5f19 added test for spark driver too 2015-07-30 09:47:56 +02:00
gmarek
01c3c0f4e1 Move addon_update e2e test to framework 2015-07-30 09:42:13 +02:00
Wojciech Tyczynski
d17985f1ad Move StorageInterface to pkg/storage. 2015-07-30 09:32:04 +02:00
Mike Danese
59a1dd4267 Merge pull request #11789 from mbforbes/nodesNetwork
Implement 'Nodes Network' test for GKE
2015-07-29 17:43:33 -07:00
Paul Morie
5394aa979f Make emptyDir volumes work for non-root UIDs 2015-07-29 18:36:51 -04:00
Brendan Burns
72db883b90 Merge pull request #11050 from marekbiskup/dns-example-e2e
e2e test for dns example
2015-07-29 13:10:26 -07:00
Mike Danese
bed0e1e1b0 Merge pull request #11915 from AnanyaKumar/controller-refactor
Refactor package controller
2015-07-29 11:20:14 -07:00
Mike Danese
e864569f80 Merge pull request #11003 from jayunit100/prom-push
[contrib + e2e] prometheus: add pushgateway functionality to prometheus allinone deployment along w/ runRC Gauge reporting.
2015-07-29 11:12:02 -07:00
Mike Danese
b1730b35e4 Merge pull request #11785 from timstclair/tests
Use prometheus extraction library for metric parsing in e2e tests
2015-07-29 10:53:19 -07:00
Ananya Kumar
47dd0bc6f9 Refactor package controller 2015-07-29 09:54:35 -07:00
derekwaynecarr
01ec50deb4 Vagrant passes conformance tests at HEAD 2015-07-29 10:16:39 -04:00
Wojciech Tyczynski
7ce51db40d Rename StorageInterface methods 2015-07-29 08:02:13 +02:00
Brendan Burns
54eb143342 Merge pull request #10745 from justinsb/e2e_fix_resize_nodes
e2e fix resize nodes
2015-07-28 15:57:10 -07:00
saadali
09c137e99b Fix flaky PD test by adding wait for detach 2015-07-28 11:25:46 -07:00
Justin Santa Barbara
62bb38af21 e2e: Improve logging while waiting for node readiness
Per suggestions by mbforbes
2015-07-28 12:41:40 -04:00
Wojciech Tyczynski
b69ef7b5ca Remove shell services test 2015-07-28 17:14:18 +02:00
jayunit100
739e79dd9f Modularized implementation of prompush json with e2e running pending push gateway gauges. 2015-07-28 09:29:57 -04:00
Marek Biskup
860822431b e2e test for dns example 2015-07-28 08:34:38 +02:00
Marek Biskup
eb43cbb5dc e2e: reading stdin in kubectl 2015-07-28 08:30:59 +02:00
Daniel Smith
3900272c1a Merge pull request #10813 from jlowdermilk/kubectl-e2e
`kubectl proxy` supports picking random unused port, add e2e test
2015-07-27 14:23:37 -07:00
Daniel Smith
e45c6f9847 Merge pull request #11294 from mwielgus/hazelcast_e2e
E2E test for examples/hazelcast
2015-07-27 11:46:47 -07:00
Jeff Lowdermilk
69166f17ad e2e test for kubectl proxy 2015-07-27 09:57:33 -07:00
gmarek
36aff274f1 Add test that verifies that we don't allow resource overallocation on Nodes 2015-07-27 16:37:57 +02:00
Marek Grabowski
7b9e2ac63b Merge pull request #11734 from thockin/cleanup-deprecated-rest-alias
Remove deprecated 'se' resource alias
2015-07-27 12:56:43 +02:00
Marcin Wielgus
02b431da46 E2E tests for examples/hazelcast 2015-07-27 12:10:17 +02:00
Marek Grabowski
7cc1855c27 Merge pull request #11806 from wojtek-t/private_etcd_helper
Make EtcdHelper private - expose only StorageInterface
2015-07-27 11:21:28 +02:00
Marek Grabowski
831827b4bb Merge pull request #11056 from wojtek-t/rewrite_services_in_go
Rewrite services shell test in Go.
2015-07-27 09:21:44 +02:00
Wojciech Tyczynski
9d943df397 Private EtcdHelper 2015-07-27 09:20:13 +02:00
Justin Santa Barbara
9cd746e74d e2e: check return values in resize_nodes
We weren't actually testing the return values in resize_nodes; and
I don't believe that was deliberate.
2015-07-26 22:27:07 -04:00
Justin Santa Barbara
638a19eb29 Spelling (non-code): test/e2e/resize_nodes.go 2015-07-26 22:27:07 -04:00
Justin Santa Barbara
8ce6c2db96 e2e: Check that node is healthy before isolating from master
We simulate network failure, check the node is offline, and then check
it recovers.  This adds a check that the node is online before simulating
network failure.
2015-07-26 22:27:07 -04:00
Justin Santa Barbara
584a6f27ad Introduce framework in e2e services; should log events on failure
Once #8887 merges this should show errors in load balancer creation.

Even before then, it may show another error.

Bug #8892
2015-07-26 18:55:34 -04:00
Max Forbes
bd9e09ba00 Implement 'Nodes Network' test for GKE 2015-07-24 17:05:30 -07:00
Mike Danese
6ca0151ff1 Merge pull request #11807 from mwielgus/scale_rc_fix
Add scale retry in ScaleRC in test/e2e/util.go
2015-07-24 15:25:48 -07:00
Yu-Ju Hong
12a252bd8b e2e: add resourceMontior to poll resource usages on the nodes
This change adds resourceMontior, which spawns a goroutine per node to poll the
container stats for known, relevant containers, computes the resource usage and
stores the data. Users can then examine the data in the buffer to get resource
of each individual containers.
2015-07-24 15:13:36 -07:00
Janet Kuo
565a13e8db E2E tests for kubectl run command 2015-07-24 11:23:07 -07:00
Mike Danese
de6d870569 Merge pull request #11741 from jsafrane/devel/service-test
Use a service between e2e volume tests clients and servers.
2015-07-24 11:21:28 -07:00
Mike Danese
859f440f74 Merge pull request #11666 from wojtek-t/refactor_etcd_helper
Extract EtcdHelper interface
2015-07-24 11:07:46 -07:00
Tim St. Clair
a244357ccd Use prometheus extraction library for metric parsing in e2e tests 2015-07-24 10:28:46 -07:00
Mike Danese
ae1c8e55ef Merge pull request #11737 from thockin/cleanup-remove-v1beta3
Remove v1beta3
2015-07-24 10:25:56 -07:00