Commit Graph

420 Commits

Author SHA1 Message Date
k8s-merge-robot
ea14d1c309 Merge pull request #17880 from gmarek/log_monitoring
Auto commit by PR queue bot
2015-12-01 03:52:23 -08:00
k8s-merge-robot
53a544d980 Merge pull request #17614 from bprashanth/IngressE2E
Auto commit by PR queue bot
2015-11-30 20:16:17 -08:00
Chao Xu
6e192760e3 refactoring latest.go GroupVersion;
clean up latest.go GroupVersions;
remove latest.GroupMeta.Group;
remove latest.GroupMeta.Version.
2015-11-30 11:30:21 -08:00
Prashanth Balasubramanian
c553b15534 Ingress test revamp
Fixes a number of harder issues the initial test punted on.
2015-11-30 11:29:04 -08:00
k8s-merge-robot
69bb774dd4 Merge pull request #17798 from deads2k/gv-kubectl-01
Auto commit by PR queue bot
2015-11-30 07:40:40 -08:00
gmarek
6ade0a1217 Add a tool for monitoring log generation rates 2015-11-30 16:04:48 +01:00
deads2k
1ac6d8afd3 update reaper, scaler, describer for GroupKind 2015-11-30 09:22:39 -05:00
Wojciech Tyczynski
0773eb034c Fix resize_nodes.go test. 2015-11-30 14:55:20 +01:00
k8s-merge-robot
fc927e8719 Merge pull request #17770 from gmarek/fix-test
Auto commit by PR queue bot
2015-11-27 06:35:49 -08:00
Piotr Szczesniak
ffdf2892c0 Merge pull request #17838 from wojtek-t/fix_scheduler_latency_in_kubemark
Reenable scheduler metrics in scalability tests.
2015-11-27 10:48:45 +01:00
k8s-merge-robot
5687bfa8b2 Merge pull request #17687 from madhusudancs/out-of-disk-e2e
Auto commit by PR queue bot
2015-11-26 18:41:33 -08:00
Wojciech Tyczynski
81a105cb73 Reenable scheduler metrics in scalability tests. 2015-11-26 15:22:27 +01:00
Phillip Wittrock
6b358e43dd Merge pull request #17747 from saad-ali/fixErrorCreatingPDTry2
Refactor GCE wrapper library to allow execution from E2E test suite
2015-11-25 15:57:42 -08:00
saadali
42b200a0a0 Refactor GCE wrapper library to allow execution from E2E test suite
This reverts commit 147b6911f5, reversing
changes made to 6fd986065b.
2015-11-25 11:48:06 -08:00
k8s-merge-robot
3bd23b185b Merge pull request #17730 from wojtek-t/use_unversioned_list_options_in_client
Auto commit by PR queue bot
2015-11-25 09:10:19 -08:00
gmarek
4a785d0676 Enable Add-On resource gathering in scalability tests 2015-11-25 14:04:07 +01:00
Madhusudan.C.S
e3a26bfea6 Implement e2e test for node out of disk condition.
This is a second attempt at this commit and it fixes the cause for its
flakiness in the first attempt.

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

Also, modify waitForNodeToBe e2e util function to take any node condition. The
current implementation only takes api.NodeReady condition into consideration.
This change makes the function take any node condition.
2015-11-25 02:12:29 -08:00
Wojciech Tyczynski
b6ef62af24 Use unversioned.ListOptions in clients. 2015-11-24 16:52:09 +01:00
Avesh Agarwal
001437a72f This commit fixes tests. 2015-11-24 09:16:12 -05:00
Karl Isenberg
2d3c3e1d0b Cleanup e2e tags
- Remove "Suite" from e2e tag names
- Move grouping e2e tags to the front of the test, describe or context name
- Move Conformance e2e tags to the end of test names (test specific)
- Move Skipped e2e tags to the end of names, but to as high a context as applicable
2015-11-23 13:42:12 -08:00
k8s-merge-robot
4cb0beeefd Merge pull request #17392 from jlowdermilk/e2e-clean-slate
Auto commit by PR queue bot
2015-11-23 03:19:24 -08:00
k8s-merge-robot
748e0bc830 Merge pull request #17212 from mnagy/use_logf
Auto commit by PR queue bot
2015-11-21 09:41:34 -08:00
Tim Hockin
baeea3272a make SSH logging in e2e more consistent 2015-11-20 14:49:19 -08:00
Mike Danese
ddd38c3edc fix command that is supposed to kill kube-proxy 2015-11-20 14:11:18 -08:00
k8s-merge-robot
1a57cc8033 Merge pull request #15777 from mesosphere/sttts-replace-ssh-by-net-host-container
Auto commit by PR queue bot
2015-11-20 02:19:25 -08:00
Marcin Wielgus
feb439c67c Revert "e2e test for node out of disk conditions" 2015-11-19 14:06:12 +01:00
k8s-merge-robot
5b2e339b24 Merge pull request #16398 from madhusudancs/out-of-disk-e2e
Auto commit by PR queue bot
2015-11-18 21:49:22 -08:00
Jeff Lowdermilk
e95cf1d109 Delete orphaned namespaces at e2e start for soak tests
This will help prevent soak clusters getting hosed if a test is
interrupted without cleaning up resources.
2015-11-18 09:57:19 -08:00
gmarek
9ca196dd75 Log an error instantly in expectNoError 2015-11-18 14:51:04 +01:00
Madhusudan.C.S
706d768e20 Implement e2e test for node out of disk condition.
The ability to SSH into individual nodes, described by api.Node, and running
commands on them appears to be useful for other e2e tests too. So, move
issueSSHCommand utility function to e2e util file.

Also, modify waitForNodeToBe e2e util function to take any node condition. The
current implementation only takes api.NodeReady condition into consideration.
This change makes the function take any node condition.
2015-11-17 13:19:32 -08:00
Dr. Stefan Schimanski
2d6c2eb897 e2e: replace ssh with net=host hostexec pod and kubectl exec
- document needed packages in hostexec image
- add RunHostCmdOrDie
- kube-proxy e2e: port from ssh to hostexec
  - use preset NodeName to schedule test pods to different nodes
  - parallel launch of pods
  - port from ssh to hostexec
  - add timeout because nc might block on udp
  - delete test container without grace period
- PrivilegedPod e2e: port from ssh to hostexec
- NodePort e2e: port from ssh to hostexec
- cluster/mesos/docker: Enable privileged pods
2015-11-17 20:48:34 +01:00
k8s-merge-robot
7ad8bb1787 Merge pull request #17161 from soltysh/strip_reaper
Auto commit by PR queue bot
2015-11-17 05:45:35 -08:00
Maciej Szulik
64f778804d Remove string from Reaper.Stop signature 2015-11-17 12:09:08 +01:00
Prashanth Balasubramanian
eb4106fe29 Refactor debug logging methods. 2015-11-16 18:57:59 -08:00
Martin Nagy
dd25a6bda9 Use Logf instead of Printf in e2e 2015-11-13 13:06:36 +01:00
k8s-merge-robot
54e6db0896 Merge pull request #16814 from brendandburns/e2e3
Auto commit by PR queue bot
2015-11-12 14:38:18 -08:00
Brendan Burns
b76fef7d48 Log node info on test failures 2015-11-11 22:07:39 -08:00
Dr. Stefan Schimanski
862143fc62 Add hostexec test image 2015-11-11 22:48:56 +01:00
k8s-merge-robot
a436da79fb Merge pull request #17002 from feihujiang/removeUseOfLegacyPodsProxyPath
Auto commit by PR queue bot
2015-11-09 17:13:40 -08:00
k8s-merge-robot
5eede767f3 Merge pull request #17008 from wojtek-t/fix_kubemark
Auto commit by PR queue bot
2015-11-09 03:25:48 -08:00
k8s-merge-robot
e5b838e92a Merge pull request #16587 from xelalexv/issue15474
Auto commit by PR queue bot
2015-11-09 03:19:27 -08:00
Wojciech Tyczynski
5e9fe7abff Fix Kubemark tests by not gathering resource usage data 2015-11-09 11:45:07 +01:00
feihujiang
ceeac16dc4 Remove use of legacy pods proxy path 2015-11-09 15:23:48 +08:00
k8s-merge-robot
d71a667aab Merge pull request #16821 from caesarxuchao/restclient-timeout
Auto commit by PR queue bot
2015-11-07 03:11:26 -08:00
Alexander Vollschwitz
108cb4121d added RunDeployment to allow horizontal pod autoscaling e2e tests to use deployments
added deployment-based e2e tests for horizontal pod autoscaling
adjusted to changes from PR #16330
changed test titles according to PR comments & to merge change from PR #16895
2015-11-06 15:24:59 +01:00
Chao Xu
ac0b7b5d3b remove RESTClient.Timeout 2015-11-04 16:48:24 -08:00
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
saadali
45ba3ed47b Increase pod timeout for PD tests 2015-11-03 15:57:37 -08:00
Prashanth Balasubramanian
3943c5afe2 Ingress e2e 2015-11-02 14:05:29 -08:00
Wojciech Tyczynski
aac55d4795 Unify List() signature in clients 2015-10-30 15:43:40 +01: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
gmarek
0150d87a73 Add an option to not delete a namespace after e2e test 2015-10-27 09:23:50 +01:00
Wojciech Tyczynski
d47e21f19f Reuse TCP connections in Reflector between resync periods. 2015-10-26 19:35:25 +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
Wojciech Tyczynski
f4d75e0a0a Support timeout in watch requests 2015-10-24 13:12:49 +02:00
Eric Tune
eaf8dbcb00 Indent "GRACE" column in pod dump of test output 2015-10-23 13:36:20 -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
Steve Milner
8da2d4002f Fixes remaining imports per #15319 2015-10-20 07:13:13 -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
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
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
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
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
Wojciech Tyczynski
647aa1bc8c Unify per-resource List for unversioned client 2015-10-14 08:37:57 +02:00
nikhiljindal
9ba4a3c4d0 Wait for events to be generated before verifying them 2015-10-13 14:59:35 -07:00
Andy Goldstein
7d02ea9bb7 Fix race condition for consuming podIP via downward API. 2015-10-13 16:39:11 -04:00
Wojciech Tyczynski
f837b6166d Extend logging for #15540 2015-10-13 13:38:08 +02: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
Prashanth Balasubramanian
941963d953 Ingress E2E 2015-10-07 14:33:19 -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
nikhiljindal
c062afc6de Enabling deployments on kubernernetes-upgrade-gce test suite 2015-10-06 14:50:25 -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
Brendan Burns
f7105ea30f Add an environment variable override for AWS ssh keys 2015-10-05 21:14:06 -07:00
Tim Hockin
ada74893bf Reduce timeouts in e2e tests by polling before sleeping 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
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
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
Dr. Stefan Schimanski
a68e0848dc Factor out providers which support SSH in e2e tests 2015-10-04 10:58:17 +02: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
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
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
Wojciech Tyczynski
3ae276cc0b Print latency metrics in too-friendly way. 2015-10-02 11:03:56 +02:00
nikhiljindal
c6deb442f9 Adding events to deployment 2015-10-01 16:38:08 -07:00
jiangyaoguo
020f3b164c fix kubeproxy e2e 2015-09-30 20:47:35 +08: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
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
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
gmarek
1459a1523f Add an option to modify timeout for namespace duration in e2e Framework 2015-09-24 10:32:34 +02:00
Maciej Szulik
48775319d9 Reaper and scaler for jobs 2015-09-23 13:06:34 +02:00
Jeff Grafton
11f3785023 e2e: set default timeout on Client 2015-09-21 12:34:51 -07:00
gmarek
393baa5157 Allow Density to run on non-GCE/GKE provider, rename deleteTestingNS
function.
2015-09-21 10:43:45 +02:00
Marek Grabowski
98a971cc2e Revert "Update prometheus library usage" 2015-09-19 22:18:15 +02: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
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
gmarek
96a90f45c3 Allow disabling waiting for a service account in e2e tests 2015-09-15 12:49:49 -04:00
Daniel Smith
b225c1d47a Run gofmt (separate commit for easy rebases) 2015-09-10 17:17:59 -07:00