Commit Graph

1582 Commits

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