Commit Graph

1965 Commits

Author SHA1 Message Date
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