Commit Graph

1582 Commits

Author SHA1 Message Date
Robert Bailey
4f856b595d Merge pull request #9165 from smarterclayton/graceful
Enable graceful deletion using reconciliation loops in the Kubelet without TTL
2015-08-18 10:01:40 -07:00
Robert Bailey
4b9ec9a9b2 Merge pull request #12824 from andyzheng0831/test-bug
Fix two bugs in reboot tests
2015-08-18 08:54:25 -07:00
Quinton Hoole
7158f8a5df Merge pull request #11339 from bprashanth/restart_test
Confirms daemons restart and do sane things in an e2e test
2015-08-18 08:42:44 -07:00
Clayton Coleman
266e6226e5 Move slow-* items to test/images/network-tester 2015-08-18 09:08:46 -04:00
Clayton Coleman
89f1f3b1b8 Alter graceful deletion to not use TTL
Avoid TTL by deleting pods immediately when they aren't
scheduled, and letting the Kubelet delete them otherwise.

Ensure the Kubelet uses pod.Spec.TerminationGracePeriodSeconds
when no pod.DeletionGracePeriodSeconds is available.
2015-08-18 09:08:43 -04:00
Clayton Coleman
b842a7dd15 Revert "Revert "Gracefully delete pods from the Kubelet""
This reverts commit 98115facfd.
2015-08-18 08:57:02 -04:00
Piotr Szczesniak
e7eccea4ac Increased waiting for cluster size timeout for Autoscaling e2e 2015-08-18 10:11:13 +02:00
Piotr Szczesniak
db6c34288e Migrated Autoscaling e2e test to new gcloud commands 2015-08-18 06:51:17 +02:00
Prashanth Balasubramanian
83f1212e0b Confirms daemons restart and do sane things in an e2e test 2015-08-17 20:39:57 -07:00
Andy Zheng
a1ba269ab3 Fix two bugs in reboot tests
First, "ifconfig eth0 down/up" on Ubuntu and Debian breaks
connection to the instance, thus tests after this one all fail.
Second, replacing appending iptable rules with inserting them on
the top of iptables, otherwise the tests may fail if iptables
are not empty.
2015-08-17 13:54:12 -07:00
Piotr Szczesniak
72c27d5782 Added more logs to Autoscaling e2e test 2015-08-17 16:12:32 +02:00
Justin Santa Barbara
fde0a8884f e2e: Test load-balanced service endpoint preserved
Previously we weren't preserving the service endpoint on a load-balanced
service, at least on AWS.  The test had to test reality, not
aspirations!

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

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

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

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

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

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

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

Before:
INFO: foo

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

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

Even before then, it may show another error.

Bug #8892
2015-07-26 18:55:34 -04:00
Max Forbes
bd9e09ba00 Implement 'Nodes Network' test for GKE 2015-07-24 17:05:30 -07:00
Mike Danese
6ca0151ff1 Merge pull request #11807 from mwielgus/scale_rc_fix
Add scale retry in ScaleRC in test/e2e/util.go
2015-07-24 15:25:48 -07:00
Yu-Ju Hong
12a252bd8b e2e: add resourceMontior to poll resource usages on the nodes
This change adds resourceMontior, which spawns a goroutine per node to poll the
container stats for known, relevant containers, computes the resource usage and
stores the data. Users can then examine the data in the buffer to get resource
of each individual containers.
2015-07-24 15:13:36 -07:00
Janet Kuo
565a13e8db E2E tests for kubectl run command 2015-07-24 11:23:07 -07:00
Mike Danese
de6d870569 Merge pull request #11741 from jsafrane/devel/service-test
Use a service between e2e volume tests clients and servers.
2015-07-24 11:21:28 -07:00
Mike Danese
859f440f74 Merge pull request #11666 from wojtek-t/refactor_etcd_helper
Extract EtcdHelper interface
2015-07-24 11:07:46 -07:00
Tim St. Clair
a244357ccd Use prometheus extraction library for metric parsing in e2e tests 2015-07-24 10:28:46 -07:00
Mike Danese
ae1c8e55ef Merge pull request #11737 from thockin/cleanup-remove-v1beta3
Remove v1beta3
2015-07-24 10:25:56 -07:00
Marcin Wielgus
82cf645bad E2E tests for examples/rethinkdb 2015-07-24 14:51:52 +02:00
Jerzy Szczepkowski
7645513d2a Merge pull request #10749 from mwielgus/secret_and_downward
E2E tests for examples/downward-api and examples/secrets
2015-07-24 14:18:34 +02:00
Jerzy Szczepkowski
1081003e45 Merge pull request #11691 from gmarek/scale_e2e
Remove Scale e2e test
2015-07-24 14:15:42 +02:00
Marcin Wielgus
561dd7d18b Add scale retry in ScaleRC in test/e2e/util.go 2015-07-24 14:12:55 +02:00
Jerzy Szczepkowski
496895d610 Revert "Improve SSH logging for debugging" 2015-07-24 13:36:16 +02:00
Marcin Wielgus
40f3dc2f32 E2E tests for examples/downward-api and examples/secrets 2015-07-24 12:32:04 +02:00
Jerzy Szczepkowski
8ea206b8fb Merge pull request #10920 from mwielgus/kubectl_e2e
E2E tests for kubectl commands (api-versions, cluster-info, describe)
2015-07-24 12:25:00 +02:00
Jerzy Szczepkowski
ffa8c706db Merge pull request #10702 from mwielgus/liveness_e2e
E2E test for examples/liveness
2015-07-24 12:20:03 +02:00
Marcin Wielgus
5ec7109fc1 E2E tests for kubectl commands (api-versions, cluster-info, describe) 2015-07-24 10:53:51 +02:00
Jerzy Szczepkowski
0be5405afd Merge pull request #11685 from piosz/autoscaling_e2e
Added cluster size autoscaling e2e test
2015-07-24 10:26:33 +02:00
Marcin Wielgus
2471e0b892 E2E test for examples/liveness 2015-07-24 10:03:48 +02:00
Jerzy Szczepkowski
5c014062f6 Merge pull request #11074 from yujuhong/monitor_resource
e2e: query kubelet for resource usage of containers
2015-07-24 09:43:25 +02:00
Jerzy Szczepkowski
6488ac5512 Merge pull request #11778 from mbforbes/sshLog
Improve SSH logging for debugging
2015-07-24 09:36:52 +02:00
Wojciech Tyczynski
fdb3f45077 Extract EtcdHelper interface 2015-07-24 09:28:02 +02:00
Vish Kannan
6fc1a4b415 Merge pull request #11719 from timstclair/addon-e2e
Add e2e test for kube-ui addon
2015-07-23 18:04:17 -07:00
Vish Kannan
1a908a272e Merge pull request #11076 from nikhiljindal/apiError
Updating apiserver to not return 500 when a service without pods is proxied
2015-07-23 18:03:07 -07:00
Max Forbes
e24ab02f05 Move e2e SSH utils to e2e/ssh package; improve SSH logging. 2015-07-23 17:57:46 -07:00
Vish Kannan
6306ad1bce Merge pull request #11736 from thockin/cleanup-dns-legacy
Stop populating legacy DNS names
2015-07-23 17:30:00 -07:00
Tim Hockin
1c3233a1d4 Remove v1beta3 2015-07-23 17:21:27 -07:00
Vish Kannan
e35ee9b3b6 Merge pull request #11500 from mbforbes/fasterLiveness
Makes liveness test faster
2015-07-23 17:08:38 -07:00
Vish Kannan
8733309757 Merge pull request #11466 from pmorie/hostpath-e2e
Cleanup hostPath e2e tests
2015-07-23 17:08:07 -07:00
Max Forbes
e704004a53 Change Fail(fmt.Sprintf(...)) to Failf(...) 2015-07-23 16:03:34 -07:00
Max Forbes
a4112ded7b Make liveness test faster 2015-07-23 14:56:04 -07:00
Vish Kannan
cc326c714b Merge pull request #11561 from saad-ali/issue11231
Fix GCE PD attach/detach issues
2015-07-23 14:53:45 -07:00
Max Forbes
5ff1566aac Support gcloud rolling-update command in 'preview' and 'alpha compute' 2015-07-23 14:16:31 -07:00
saadali
234f3ed814 Make GCE PD attach block on pending detach. Retry on detach/attach errors. 2015-07-23 14:03:50 -07:00
Tim Hockin
4e1630d3a9 Stop populating legacy DNS names 2015-07-23 13:51:09 -07:00
Tim Hockin
c4b707192d Remove deprecated 'se' resource alias 2015-07-23 12:04:01 -07:00
Tim St. Clair
fe84780744 Add e2e for kube-ui addon 2015-07-23 11:38:29 -07:00
Vish Kannan
93cd8cc2ef Merge pull request #11747 from mwielgus/kubectl_version
E2E test for kubectl version
2015-07-23 09:26:55 -07:00
Wojciech Tyczynski
fdd7f1e4b2 Rewrite services shell test in Go. 2015-07-23 16:16:45 +02:00
Marcin Wielgus
0a9a8aa45e E2E test for kubectl version 2015-07-23 14:16:50 +02:00
Marcin Wielgus
3d82de849f E2E test for examples/storm 2015-07-23 13:20:52 +02:00
Wojciech Tyczynski
db2d4a2b08 Merge pull request #10986 from wojtek-t/test_in_non_default_namespaces
Migrate tests to non-default namespaces
2015-07-23 13:00:27 +02:00
Marcin Wielgus
2744ed2247 E2E test for examples/cassandra 2015-07-23 12:20:50 +02:00
Wojciech Tyczynski
959477463f Migrate tests to non-default namespaces 2015-07-23 12:04:10 +02:00
Jan Safranek
118004c166 Use a service between e2e volume tests clients and servers.
This helps with routing of TCP traffic between clients and servers in case
flannel or similar service is not installed and pods don't see each other.


- It needs 'insecure' in /etc/exports to allow NFS clients on ports > 1024,
  Kubernetes service will change client port to a random number.

- glusterfs no longer needs explicit endpoint definition, it uses the service
  instead.
2015-07-23 11:51:43 +02:00
Marcin Wielgus
bad01214a7 E2E tests for examples/spark 2015-07-23 10:43:31 +02:00
Wojciech Tyczynski
648c57e3e1 Merge pull request #10990 from mwielgus/kubectl_expose
E2E test for kubectl expose
2015-07-23 10:42:44 +02:00
Vish Kannan
d9bb171f8a Merge pull request #11620 from mbforbes/mcSkipGKE
Remove deprecated master certs test
2015-07-22 17:11:49 -07:00
Vish Kannan
a6b69710fe Merge pull request #11607 from mbforbes/addonClarify
Clarify bits of addon e2e test
2015-07-22 17:03:58 -07:00
Vish Kannan
f350c5226f Merge pull request #11618 from mbforbes/etcdSkipGKE
Clarify etcd failure e2e test requirements
2015-07-22 17:01:18 -07:00
Vish Kannan
b321cff1e4 Merge pull request #11612 from mbforbes/shellSkipGKE
Skip GKE for shell services test and make clear why
2015-07-22 17:00:36 -07:00
Vish Kannan
b27f99bd43 Merge pull request #11030 from justinsb/e2e_aws_lb_changes_on_service_change
e2e: For AWS, tolerate an LB change when the service changes
2015-07-22 16:32:10 -07:00
Piotr Szczesniak
6b6d2c6aef Added cluster size autoscaling e2e test 2015-07-22 17:26:07 +02:00
gmarek
4e0c2f245e Remove Scale e2e test 2015-07-22 15:44:42 +02:00
Max Forbes
5e195b4f04 Remove deprecated master certs test 2015-07-21 15:42:37 -07:00
Max Forbes
c8dcd1cc20 Clarify etcd failure e2e test requirements 2015-07-20 14:53:39 -07:00
Max Forbes
044e0a92aa Skip GKE for shell services test and make clear why 2015-07-20 14:35:09 -07:00
Yu-Ju Hong
378a44a287 e2e: query kubelet for resource usage of containers
This change adds simple utility functions to query kubelet for the resource
usage of major containers (e.g. /kubelet, /docker-daemon, etc) for the past
time interval (up to 2 minutes). This is intended for spot checking of the
recent resource usage on the node.
2015-07-20 14:26:33 -07:00
Max Forbes
518ddd62c8 Clarify bits of addon e2e test 2015-07-20 14:10:48 -07:00
Paul Morie
e677386f6b Cleanup hostPath e2e tests 2015-07-17 16:25:19 -04:00
nikhiljindal
1517b66001 Updating an error to apierror 2015-07-15 16:43:59 -07:00
Wojciech Tyczynski
27dd99a1da Log failures in Proxy e2e tests 2015-07-15 14:38:54 +02:00
Mike Danese
337772a91f fix all tests 2015-07-14 21:51:30 -07:00
Eric Tune
9079606175 Merge pull request #11217 from wojtek-t/store_monit_logs
Store monit logs from Jenkins runs
2015-07-14 15:00:07 -07:00
Eric Tune
f23f7a1977 Merge pull request #11256 from mikedanese/fix-e2e
temporary fix e2e by duping files
2015-07-14 13:09:02 -07:00
Eric Tune
3043e05a90 Merge pull request #11242 from JanetKuo/e2e-util-waiting
Fix the bug that some waits in e2e test don't actually happen
2015-07-14 13:03:56 -07:00
Mike Danese
1e85c9cf92 temporary fix e2e by duping files 2015-07-14 13:02:59 -07:00
Eric Tune
0b597aaf66 Merge pull request #11239 from mikedanese/user-docs-move
Move user docs to docs/user-guide/
2015-07-14 12:40:23 -07:00
Mike Danese
2476d78ac2 point tests to new doc location 2015-07-14 12:23:16 -07:00
Eric Tune
914b6fe25b Merge pull request #10185 from mesosphere/exclusive-port-range
Fix default service node port range in e2e test
2015-07-14 12:00:39 -07:00
Janet Kuo
b2e8936d1c Fix the bug that some waits don't actually happen 2015-07-14 10:45:56 -07:00
Wojciech Tyczynski
f9cfa1b3b1 Store monit logs from Jenkins runs 2015-07-14 12:01:15 +02:00
Marcin Wielgus
21ce6624e3 E2E test for kubectl expose 2015-07-14 11:37:30 +02:00
Tim Hockin
69b5b2c2aa Merge pull request #11142 from mwielgus/kubectl_e2e_patch
E2E tests for kubectl logs and patch
2015-07-13 17:04:20 -07:00
Tim Hockin
ce25e164e7 Merge pull request #11128 from justinsb/e2e_pd_contents
e2e: Add test to pd that disk contents are preserved
2015-07-13 15:45:02 -07:00
Tim Hockin
3452748de9 Merge pull request #11077 from krousey/service_flake
Adding retry logic around service updates
2015-07-13 13:06:02 -07:00
Wojciech Tyczynski
8d98ad7a76 Retry 'service unavailable' failures in proxy test 2015-07-13 16:43:49 +02:00
Marcin Wielgus
f8d30c1b1e E2E tests for kubectl logs and patch 2015-07-13 14:30:09 +02:00
Justin Santa Barbara
f9dc7c189c e2e: Add test to pd that disk contents are preserved
Issue #11012 reported that disk contents may be lost (sometimes).

We should have an e2e test to verify this is not happening.

(If it is happening, we should then fix it!)
2015-07-12 18:50:32 -04:00
Tim Hockin
ea9272c4b7 Merge pull request #11080 from satnam6502/reboot
Fix reboot test to use system namespace
2015-07-12 15:17:53 -07:00
Justin Santa Barbara
f861d92e56 e2e: AWS: Increase timeout on the node resize tests
Regularly hitting these timeouts, it seems that AWS is just slower to boot;
this makes sense - AWS uses a standard image for example, so has more software
to install (never mind any arguments about the clouds themselves!)
2015-07-11 17:17:12 -04:00
Satnam Singh
910603bba9 Fix reboot test to use system namespace 2015-07-11 09:05:05 -07:00
Rohit Jnagal
d61d272beb Merge pull request #10974 from brendandburns/lakesong
Automatically open a firewall when creating a GCE load balancer.
2015-07-10 19:21:06 -07:00
Rohit Jnagal
3c71eb652c Merge pull request #11068 from alex-mohr/e2e-gke
Add GKE coverage for e2e tests that support both GCE and GKE
2015-07-10 15:43:52 -07:00
Rohit Jnagal
6dc16f9442 Merge pull request #11005 from mbforbes/upgradePickVersion
Allow upgrade target version to be specified
2015-07-10 15:20:29 -07:00
Brendan Burns
a8f02e5472 Automatically open a firewall when creating a GCE load balancer. 2015-07-10 14:35:29 -07:00
Alex Mohr
a885166890 Add GKE coverage for e2e tests that support both GCE and GKE 2015-07-10 14:07:24 -07:00
Kris Rousey
aca4559bbd Adding retry logic around service updates 2015-07-10 13:38:37 -07:00
Rohit Jnagal
e3b8ad945b Merge pull request #11019 from caesarxuchao/e2e_waitforallpods
ignore pods that are failed but controlled by a rc when start e2e tests
2015-07-10 12:22:01 -07:00
Brendan Burns
86f54b4d05 Merge pull request #11035 from nikhiljindal/nettest
Updating nettest image to latest code
2015-07-09 22:08:01 -07:00
Victor Marmol
4e75e84994 Merge pull request #11025 from mbforbes/restart
Move code to prepare for e2e/restart transition
2015-07-09 21:08:27 -07:00
Victor Marmol
68a62fef95 Merge pull request #11010 from derekwaynecarr/enable_test_vagrant
Enable e2e networking test for intra-pod communication for vagrant
2015-07-09 21:08:03 -07:00
nikhiljindal
90d371c98f Updating nettest image to latest code 2015-07-09 18:07:18 -07:00
Justin Santa Barbara
627261082c e2e: For AWS, tolerate an LB change when the service changes
We have an issue to track the problem: #11002

The test was serving as a reminder that this needed fixing, but
for v1 we should just test what we expect to happen.
2015-07-09 19:57:21 -04:00
Victor Marmol
d864d271af Merge pull request #10999 from derekwaynecarr/skip_tests
Skip service tests that require external load balancer when using vagrant provider
2015-07-09 16:04:35 -07:00
Max Forbes
3d9de02b78 Move code to prepare for e2e/restart transition 2015-07-09 16:02:27 -07:00
Chao Xu
3db73bbe8c ignore pods that are failed but controlled by a rc when start e2e tests 2015-07-09 15:44:55 -07:00
Max Forbes
7cfabea2d3 E2E upgrade test: allow upgrade target version to be specified via command line. 2015-07-09 14:28:58 -07:00
Victor Marmol
ffc5a86098 Merge pull request #11001 from satnam6502/e2e-es
Fix error with variable re-declaration in ES logging test
2015-07-09 14:23:39 -07:00
Victor Marmol
fbc6e7f5f5 Merge pull request #11008 from krousey/nodesflake
Adding polling to all node readiness
2015-07-09 14:23:29 -07:00
Victor Marmol
b45115dd2c Merge pull request #10964 from JanetKuo/e2e-kubectl-label
E2E tests for kubectl label command
2015-07-09 14:22:35 -07:00
Kris Rousey
3058ddad19 Adding polling to all node readiness 2015-07-09 12:26:16 -07:00
derekwaynecarr
26c924a96d DNS is supported on vagrant so enable test 2015-07-09 15:09:29 -04:00
Satnam Singh
9c82b4b6c8 Fix error with variable re-declaration in ES logging test 2015-07-09 10:10:48 -07:00
derekwaynecarr
8da819f39f Skip test on vagrant provider 2015-07-09 12:47:12 -04:00
Victor Marmol
edaa1a69e5 Merge pull request #10525 from nikhiljindal/delbeta3
Stop exposing v1beta3 by default
2015-07-09 08:38:32 -07:00
Wojciech Tyczynski
977b1d9579 Merge pull request #10823 from piosz/real_test
Added load test with pods doing real works
2015-07-09 11:26:47 +02:00
Janet Kuo
ea092fd77b E2E tests for kubectl label command 2015-07-08 23:36:16 -07:00
nikhiljindal
c465a50891 Stop exposing v1beta3 by default 2015-07-08 15:27:41 -07:00
Satnam Singh
31fe4da2cd End to end test for Kibana liveness 2015-07-08 14:01:56 -07:00
Marcin Wielgus
2bf1e50b8a Flower service and updated kubectl outputs in examples/clery-rabbitmq 2015-07-08 11:10:59 +02:00
Piotr Szczesniak
3fb39542d0 Added load test with pods doing real works 2015-07-08 11:01:41 +02:00
saadali
e89f3375f2 Fix "Docker Containers should be able to override the image's default commmand" tests 2015-07-07 15:52:01 -07:00
Wojciech Tyczynski
54f2305dec Check whether all nodes are healthy in e2e framework 2015-07-07 13:53:03 +02:00
gmarek
460935236d Add additional loging to max_pods e2e test 2015-07-07 09:16:34 +02:00
Wojciech Tyczynski
34dd9c7880 Merge pull request #10802 from bprashanth/max_containers_fail
Don't ignore containers restarting during tests
2015-07-07 09:12:09 +02:00
Prashanth Balasubramanian
b0bbd5b8d5 Don't ignore containers restarting during tests 2015-07-06 18:36:59 -07:00
Yu-Ju Hong
a60638d760 Merge pull request #10718 from justinsb/e2e_aws_block_master_by_ip
e2e: For AWS, block master by (hard-coded) IP
2015-07-06 17:41:37 -07:00
Yu-Ju Hong
a267e04e54 Merge pull request #10705 from mwielgus/delete_namespace_in_e2e
Remove deferred cleanups from tests/e2e/examples.go
2015-07-06 16:14:59 -07:00
Yu-Ju Hong
4b2d73dcb3 Merge pull request #10487 from satnam6502/sys-namespace
Move cluster level services to the kube-system namespace
2015-07-06 15:35:45 -07:00
Yu-Ju Hong
934af8f220 Merge pull request #10703 from jszczepkowski/e2e-restart
Fixed flakiness of firewall cases of e2e reboot test.
2015-07-06 15:10:29 -07:00
Brendan Burns
988aa6fdf6 Move things into a 'kube-system' namespace. 2015-07-06 15:08:23 -07:00
Yu-Ju Hong
c8f8e5f333 Merge pull request #10649 from mesosphere/service-test-timeout
Add timeout to service endpoint resolution e2e test
2015-07-06 15:05:36 -07:00
Yu-Ju Hong
cfb10b5a5b Merge pull request #10770 from mbforbes/streamOutput
Cluster upgrade: make command calling stream stdout/stderr.
2015-07-06 14:37:27 -07:00
Yu-Ju Hong
1817f746d5 Merge pull request #10758 from mikedanese/test-server
deflake container_probe test by using test-webserver from gcr.io
2015-07-06 12:13:28 -07:00
Max Forbes
f40b9f971f Cluster upgrade: make command calling stream stdout/stderr. 2015-07-06 11:37:00 -07:00
Yu-Ju Hong
5e21a040ca Merge pull request #10329 from bprashanth/density_logging
Add clarity to density test
2015-07-06 10:55:19 -07:00
Mike Danese
1f59d793ad fixup container probe test to use gcr.io/google_containers/test-webserver and add some debug testing and reduce the test length 2015-07-06 09:54:15 -07:00
Yu-Ju Hong
c698c0839b Merge pull request #9763 from pmorie/expand-e2e
Add e2e for variable expansion
2015-07-06 09:35:23 -07:00
Justin Santa Barbara
86640ab3e3 e2e: For AWS, block master by (hard-coded) IP
GCE/GKE refers to it by name, which doesn't resolve on AWS
(at least, this name doesn't!)

We should probably pass in an additional command-line parameter;
there are plenty of TODO markers around this code.
2015-07-06 10:57:22 -04:00
Wojciech Tyczynski
977a775a6f Wait for nodes to be ready after cluster resizing 2015-07-06 11:53:34 +02:00
Paul Morie
3079a1eb3d Add e2e for variable expansion 2015-07-05 21:23:27 -04:00
Prashanth Balasubramanian
7bc32b5a47 Use gcloud to list nodes so we know their ips 2015-07-05 13:44:18 -07:00
Prashanth Balasubramanian
f2b687d53f Density logging 2015-07-05 13:28:36 -07:00
Prashanth B
bb6f2f7ad9 Merge pull request #10716 from justinsb/spelling
Misc (non-code) spelling fixes
2015-07-05 11:23:17 -07:00
Justin Santa Barbara
fca7822800 Misc (non-code) spelling fixes 2015-07-04 10:39:37 -04:00
Marcin Wielgus
77aae74570 Remove deferred cleanups from tests/e2e/examples.go 2015-07-03 11:28:55 +02:00
Wojciech Tyczynski
b96d2296b4 Delete namespace after test 2015-07-03 11:04:32 +02:00
Jerzy Szczepkowski
1bd0c1b43a Fixed flakiness of firewall cases of e2e reboot test.
Fixed flakiness of firewall cases of e2e reboot test: blocking packages on firewall was also blocking localhost and was causing kubelet to be restarted by monit.
2015-07-03 10:32:18 +02:00
Nikhil Jindal
974377b306 Merge pull request #10481 from gmarek/max_pods_e2e
Add max-pods e2e test
2015-07-02 15:26:46 -07:00
Jeff Grafton
db5d24c6b4 e2e: update namespace test to create/delete test namespaces in parallel
The namespace test is currently taking about 18 minutes because it
creates and deletes namespaces sequentially, and for various reasons it
takes at least 10 seconds for each namespace.

By parallelizing the creation and deletion of namespaces, this test now
takes about 2-3 minutes.
2015-07-01 17:53:01 -07:00
Zach Loafman
700a6441de Merge pull request #10313 from yujuhong/kubelet_delete
Add an e2e test to verify that pods are deleted on nodes
2015-07-01 16:47:30 -07:00
Yu-Ju Hong
a10a6a296e Add an e2e test to verify that pods are deleted on nodes
The test verifies that kubelet deletes the pods/containers within a reasonable
time. It queries the kubelet /runningpods endpoint to retrieve a list of
running pods directly. The outline of the test is:

 - Create an RC
 - Wait until all pods are running (based on the pod status)
 - Verify pods are running by querying the /runningpods
 - Delete the RC
 - Check all pods are deleted by querying /runningpods
2015-07-01 16:24:58 -07:00
Zach Loafman
e5670c104d Merge pull request #10604 from nikhiljindal/v1
Updating scripts to use v1 instead of v1beta3
2015-07-01 15:54:17 -07:00
Karl Isenberg
f1d6439c2e Add timeout to service endpoint resolution e2e test 2015-07-01 14:58:37 -07:00
nikhiljindal
274792d7bb Stop exposing v1beta3 by default 2015-07-01 14:38:02 -07:00
Marek Biskup
8df3a9cae8 namespaces in addon update 2015-07-01 21:31:52 +02:00
Zach Loafman
4f9cfc84c4 Merge pull request #10180 from mwielgus/e2e_examples
E2E tests for Redis and Celery-RabbitMq examples
2015-07-01 12:02:27 -07:00
Zach Loafman
00193bf1ac Merge pull request #10529 from jlowdermilk/upgrade-aware-proxy-ssh
Make UpgradeAwareProxyHandler use transport.Dial if provided
2015-07-01 12:01:01 -07:00
Zach Loafman
0b3d1b6f3b Merge pull request #10607 from wojtek-t/higher_load_metrics
Increase latency metrics limit in capacity load
2015-07-01 12:00:09 -07:00
Jeff Lowdermilk
4b36b421aa e2e test for kubectl exec, port-forward 2015-07-01 10:56:10 -07:00
Marek Biskup
7873e252f0 addon updater should not retry too many times because specs may be invalid 2015-07-01 16:22:32 +02:00
Wojciech Tyczynski
fa60ad310b Merge pull request #10376 from lavalamp/e2eSSHKey
Fix service latency test.
2015-07-01 12:30:27 +02:00
Wojciech Tyczynski
d875082203 Increase latency metrics limit in capacity load 2015-07-01 09:23:34 +02:00
nikhiljindal
2e9e46dd08 Updating scripts to use v1 instead of v1beta3 2015-07-01 00:23:16 -07:00
gmarek
c86e18846b Add max-pods e2e test 2015-07-01 09:21:42 +02:00
Zach Loafman
df753b74ed Merge pull request #10509 from nikhiljindal/getToPost
Support both GET and POST methods in api server for /exec and /portforward
2015-06-30 15:56:31 -07:00
Marcin Wielgus
b5600fee12 E2E tests for Redis and Celery-RabbitMq examples 2015-07-01 00:25:58 +02:00
Zach Loafman
f754b8e1df Merge pull request #10523 from liggitt/service_account_api_token_admission
Add option to require API tokens to exist in admission
2015-06-30 15:09:49 -07:00
Zach Loafman
b27da05ce6 Merge pull request #10574 from ixdy/coredump-always
e2e: call coreDump always when a report dir is specified
2015-06-30 14:25:09 -07:00
Zach Loafman
f304f1f96a Merge pull request #10547 from jszczepkowski/e2e-restart
Fixed flakiness of e2e reboot test.
2015-06-30 14:05:46 -07:00
Zach Loafman
5e8159ff92 Merge pull request #10455 from mikedanese/e2e-root-ca
make service_account e2e test verify that RootCA cert file exists
2015-06-30 14:02:01 -07:00
Jeff Grafton
f1c5b04100 e2e: call coreDump always when a report dir is specified 2015-06-30 13:30:10 -07:00
Jordan Liggitt
ecebac9395 Add option to require API tokens to exist in admission 2015-06-30 16:12:45 -04:00
Jerzy Szczepkowski
b4585a7883 Fixed flakiness of e2e reboot test.
Fixed flakiness of e2e reboot test caused by restarts of pods with liviness probe during node reboot. Fixes #9062.
2015-06-30 16:57:44 +02:00
nikhiljindal
e0d48d4983 Support both GET and POST methods for /exec and /portforward 2015-06-29 16:01:01 -07:00
Alex Robinson
450d36f7af Merge pull request #10301 from satnam6502/e2e
Retry namespace creation for e2e tests
2015-06-29 14:32:32 -07:00
Daniel Smith
358e90969a Fix service latency test.
* More accurate latency measurement.
* More lenient/sensible pass requirements.
2015-06-29 13:33:15 -07:00
Alex Robinson
99711263a1 Merge pull request #10035 from brendandburns/fix
Update the addons test so it doesn't try to create clients on providers aren
2015-06-29 11:45:09 -07:00
Marek Biskup
01e1d3710a add description to timeout messages 2015-06-29 10:25:39 +02:00
Mike Danese
595220d1a7 make service_account e2e test verify that RootCA cert file exists 2015-06-28 00:10:13 -07:00
Robert Bailey
f9db614f95 Merge pull request #10234 from mikedanese/rolling-update-weird
Detect if replicas have been defaulted in rolling-update and use old replica count
2015-06-26 12:54:35 -07:00
Robert Bailey
e5f44535a9 Merge pull request #10362 from bprashanth/latency_integration
Scrape latency stats from integration tests
2015-06-26 10:52:01 -07:00
Robert Bailey
198b334227 Merge pull request #10197 from mesosphere/ginkgo-skip
Use ginkgo's new Skip()
2015-06-26 10:44:34 -07:00
Brendan Burns
8690724443 Update the addons test so it doesn't try to create clients on providers that aren't gce. 2015-06-25 16:42:46 -07:00
Quinton Hoole
f4dc2071b3 Merge pull request #10340 from piosz/ping_e2e
Changed ping to netcat in Internet connection test
2015-06-25 15:49:18 -07:00
Maxwell Forbes
5e748c1d47 Merge pull request #10070 from lavalamp/e2eProxyFix
proxy e2e test improvements
2015-06-25 13:15:03 -07:00
Mike Danese
dd07df00ae reenable e2e test 2015-06-25 12:29:21 -07:00
Satnam Singh
59ee8c24ea Retry namespace creation for e2e tests 2015-06-25 12:18:42 -07:00
Prashanth Balasubramanian
cca4b720e5 Scrape latency stats from integration tests 2015-06-25 12:01:31 -07:00
Piotr Szczesniak
54a8a66329 Changed ping to netcat in Internet connection test
Follow up #10285
2015-06-25 20:48:25 +02:00
Maxwell Forbes
f6a66c2a50 Merge pull request #10015 from marekbiskup/allow-networking-test-on-one-node
enable networking test on a one-node local cluster
2015-06-25 10:58:38 -07:00
Maxwell Forbes
d0eeb98e27 Merge pull request #10215 from ZJU-SEL/enhance-testContainerOutput
Enhance test api to support test cases involved multiple containers
2015-06-25 10:56:13 -07:00
Maxwell Forbes
8b0efe8b85 Merge pull request #10345 from wojtek-t/increase_rc_timeout
Increase timeout for waiting for pods running in load test
2015-06-25 10:00:05 -07:00
Maxwell Forbes
655179dcfb Merge pull request #10264 from mikedanese/ca-token
add ca cert to token controller and all service accounts
2015-06-25 09:56:35 -07:00
Maxwell Forbes
2bb4cf3f8f Merge pull request #10266 from ArtfulCoder/kubelet_resolv
update docker's resolv.conf file with options ndots:5
2015-06-25 09:54:36 -07:00
Karl Isenberg
32a09cfcee Use Ginkgo Skip() to avoid failing when tests are skipped
- Added util methods: Skipf, SkipUnlessNodeCountIsAtLeast, SkipIfProviderIs,
  and SkipUnlessProviderIs
2015-06-25 09:50:25 -07:00
Wojciech Tyczynski
c151f6bc1f Increase timeout for waiting for RC in load test 2015-06-25 12:11:01 +02:00
Abhishek Shah
23caf446ae update docker's resolv.conf file with options ndots:5 2015-06-24 23:33:58 -07:00
He Simei
912e54789e Enhance test api to support test cases involved multiple containers 2015-06-25 09:29:19 +08:00
Maxwell Forbes
e71d162e9a Merge pull request #9922 from justinsb/aws_resize_tests
AWS: Enable resize tests
2015-06-24 16:43:37 -07:00
Maxwell Forbes
d1301d2b2a Merge pull request #10314 from mikedanese/dont-sigkill-over-and-over
remove repeat failure command option and increase timeouts in etcd failure e2e
2015-06-24 16:30:52 -07:00
Maxwell Forbes
6e3b9097c4 Merge pull request #10279 from marekbiskup/apiv1-in-addon-update-test
port Addon update test to v1 api
2015-06-24 16:10:09 -07:00
Justin Santa Barbara
4461daa218 AWS: Enabling resize tests 2015-06-24 19:01:42 -04:00
Mike Danese
5d8ffbaad9 remove repeat failure command option and increase timeouts in etcd failure test 2015-06-24 16:00:26 -07:00
Mike Danese
56bde3342a add ca to token controller and all service accounts 2015-06-24 15:10:20 -07:00
Maxwell Forbes
6d739c2b0a Merge pull request #10285 from piosz/ping_e2e
Added test that verify Internet connection from inside of container.
2015-06-24 15:01:11 -07:00
Daniel Smith
32114f6256 proxy e2e test improvements 2015-06-24 13:54:14 -07:00
Maxwell Forbes
26d3a4429d Merge pull request #9816 from erictune/conformance
Revive conformance test.
2015-06-24 13:20:46 -07:00
Piotr Szczesniak
8a219917a5 Added test that verify Internet connection from inside of container.
Fixes #9662
2015-06-24 20:11:22 +02:00
Maxwell Forbes
493e0cdb01 Merge pull request #10230 from ihmccreery/update-demo
Update update-demo to work for v1, and don't use localhost domain name
2015-06-24 11:07:43 -07:00
Maxwell Forbes
cf2bd9a18d Merge pull request #10273 from mbforbes/versionChange
Verify upgrades change node/master software version
2015-06-24 09:42:29 -07:00
Wojciech Tyczynski
8ca4d10026 Fix logging in scalability tests 2015-06-24 11:40:08 +02:00
Max Forbes
53179399e7 Verify upgrades change node/master software version 2015-06-24 01:01:00 -07:00
Marek Biskup
8144f55a6a port Addon update test to v1 api 2015-06-24 09:27:07 +02:00
Wojciech Tyczynski
5b4dc4edaa Merge pull request #10225 from wojtek-t/increase_deleting_namespace_timeout
Increase timeout for namespace deletion.
2015-06-24 08:35:02 +02:00
Wojciech Tyczynski
6b6b409814 Increase timeout for namespace deletion. 2015-06-24 08:05:26 +02:00
Wojciech Tyczynski
2a1834f7ed Reset metrics in tests 2015-06-24 08:04:21 +02:00
Jeff Lowdermilk
c3dd781385 Merge pull request #10233 from satnam6502/es-logging
Retry Elasticsearch logging health check
2015-06-23 11:46:05 -07:00
Satnam Singh
52461b772a Retry Elasticsearch logging health check 2015-06-23 10:49:46 -07:00
Isaac Hollander McCreery
6de8032113 Update kubectl test to include changes to rolling update 2015-06-23 09:36:29 -07:00
Dr. Stefan Schimanski
795e5b4d86 Fix default service node port range in e2e test
While the command line parameter --service-node-port-range is inclusive, the
actual data structure is exclusive.
2015-06-23 12:32:14 +02:00
Eric Tune
c5efb12a62 Revive conformance test.
Use KUBE_CONFIG_FILE instead of AUTH_CONFIG (and CERT_DIR).

Pass GINKGO_TEST_ARGS for a subset of e2e tests which
@erictune has deemed initially sufficient for conformance.

Allow GINKGO_TEST_ARGS to pass through hack/ginkgo-e2e.sh.

Set NUM_MINIONS (need better way to handle this).

Remove use of "KUBERNETES_CONFORMANCE_TEST" variable
and use of KUBERNETES_PROVIDER="conformance_test" convention,
both of which have no apparent purpose.

Allow unset testContext.provider in test/e2e/e2e_test.go
Allow testContext.Provider to be unset in providerIs().
2015-06-22 22:29:02 -07:00
Mike Danese
c5564502a6 don't fail etcd SIGKILL test when apiserver returns an error 2015-06-22 16:33:19 -07:00
Jeff Lowdermilk
bec793119b Merge pull request #10175 from wojtek-t/wait_for_namespaces
In scalability tests wait until terminating namespaces are deleted
2015-06-22 13:21:52 -07:00
Jeff Lowdermilk
7c7f25774f Merge pull request #10162 from brendandburns/core
Also grab the kubelet log from the master.
2015-06-22 12:01:47 -07:00
Jeff Lowdermilk
51e0647f41 Merge pull request #9967 from satnam6502/counter-rc
Synthetic counter RC for load testing
2015-06-22 10:38:10 -07:00
Jeff Lowdermilk
0f59847cc5 Merge pull request #9905 from justinsb/aws_ssh_user
Don't assume we always SSH as the current user
2015-06-22 10:37:07 -07:00
Wojciech Tyczynski
5cfa0ceb32 Enable latency tests as part of Density 2015-06-22 14:53:05 +02:00
Wojciech Tyczynski
47b6e6a84e Wait for terminating namespaces deletion 2015-06-22 14:53:05 +02:00
Wojciech Tyczynski
4a6e7b5053 Don't run 3 pods per node test 2015-06-22 14:53:04 +02:00
Marek Biskup
cdd143fbb6 timeout in addon_update e2e test increased 2015-06-22 12:36:20 +02:00
Brendan Burns
7f7a97671c Also grab the kubelet log from the master. 2015-06-20 21:01:02 -07:00
Justin Santa Barbara
efdd03a6a9 Don't assume we always SSH as the current user
This works on gcloud (where the user is dynamically created by the tool),
but doesn't hold on other clouds (e.g. AWS).

The function in pkg/util now takes a user arg, and it is called only
from the e2e tests, which now check for env-var KUBE_SSH_USER, and then
fall back to the existing behaviour of env-var USER.

I am using this from Jenkins by directly setting the env-var:

export KUBE_SSH_USER=jenkins
...
hack/jenkins/e2e.sh
2015-06-20 18:18:38 -04:00
Marek Biskup
ea89125615 enable networking test on a one-node local cluster 2015-06-20 18:48:46 +02:00
Max Forbes
434f968715 GKE upgrade tests 2015-06-20 09:44:19 -07:00
Satnam Singh
3591a543d1 Merge pull request #9919 from liggitt/port_protocol_validation
Validate port protocol case strictly
2015-06-19 15:18:03 -07:00
Satnam Singh
c4c2eab4b7 Merge pull request #10101 from bprashanth/density_clarity
Log any suspicious kubelet latency metrics from density e2e
2015-06-19 14:56:26 -07:00
Satnam Singh
8036f4b3fe Fix the label selector for Elasticsearch logging pods 2015-06-19 13:47:28 -07:00
Mike Danese
44d5815663 fix broken integration tests 2015-06-19 10:57:46 -07:00
Prashanth Balasubramanian
c204d8656a Log suspicious kubelet latency metrics from density e2e 2015-06-19 10:38:05 -07:00
Satnam Singh
f83d5356d7 Merge pull request #9987 from mbforbes/livingUpgrade
Node upgrade test
2015-06-19 10:02:52 -07:00
Marek Biskup
ade1399ece add issue reference to TODOs 2015-06-19 11:58:42 +02:00
Max Forbes
2803fbe343 Node upgrade tests. 2015-06-18 15:59:51 -07:00
Satnam Singh
a65b355557 Merge pull request #10044 from bprashanth/relist
Change density relist period to better reflect the kubelet's watch
2015-06-18 15:02:17 -07:00
Satnam Singh
19e574c170 Merge pull request #9909 from justinsb/aws_enable_reboot_test
AWS: Enable restart e2e tests
2015-06-18 14:49:25 -07:00
Satnam Singh
538d1272e5 Merge pull request #10001 from brendandburns/e2e2
Add some more logging so that we can debug PD delete errors.
2015-06-18 14:23:33 -07:00
Satnam Singh
847d771198 Merge pull request #10020 from piosz/latency_metrics
Slow down creation of additional pods in density.go e2e
2015-06-18 14:15:56 -07:00
Satnam Singh
3c62210854 Merge pull request #9985 from mikedanese/e2e-readiness
add e2e readiness tests
2015-06-18 14:12:49 -07:00
Prashanth Balasubramanian
ca46443095 Change density relist period to better reflect the kubelet 2015-06-18 11:11:13 -07:00
Piotr Szczesniak
45263c3549 Slow down creation of additional pods in density.go e2e 2015-06-18 17:57:17 +02:00
Marek Biskup
a02752ad12 stabilization of Network.should survive network partition 2015-06-18 16:39:27 +02:00
Satnam Singh
67e4cf336a Add diagnostics to check for not ready endpoints 2015-06-17 23:37:20 -07:00
Brendan Burns
0bf936d23a Add some more logging so that we can debug PD delete errors. 2015-06-17 22:13:34 -07:00
Mike Danese
2115f5e0da add e2e readiness tests 2015-06-17 16:12:28 -07:00
Saad Ali
dd7a6a0380 Merge pull request #9977 from roberthbailey/dns-test-error-logging
Add a bit of extra logging to the dns test when it encounters errors.
2015-06-17 14:46:43 -07:00
Satnam Singh
8f540e739c Synthetic counter RC for load testing 2015-06-17 14:39:10 -07:00
Saad Ali
de575bb851 Merge pull request #9817 from erictune/testnames
Rephrase test descriptions.
2015-06-17 14:20:51 -07:00
Robert Bailey
cb7bd71063 Add a bit of extra logging to the dns test when it encounters
errors.
2015-06-17 14:06:15 -07:00
Filip Grzadkowski
ffb96e5a6d Fix variable binding bug when saving logs 2015-06-17 22:22:12 +02:00
Saad Ali
0f3740501b Merge pull request #9908 from justinsb/aws_ssh_getsigner
AWS: e2e: Add support for getSigner for AWS
2015-06-17 11:40:33 -07:00
Saad Ali
56083489e3 Merge pull request #9884 from brendandburns/gcr
Switch to loading busybox from gcr.
2015-06-17 11:38:24 -07:00
Saad Ali
ddf6fa70ad Merge pull request #9923 from justinsb/e2e_polish
Minor fixes & TODOs for e2e tests
2015-06-17 11:32:58 -07:00
Saad Ali
d5e00d3990 Merge pull request #9523 from bprashanth/kl_stats
Scrape /metrics of kubelets from e2e tests
2015-06-17 11:30:28 -07:00
gmarek
c2c1045e09 Add startup latency e2e "test" 2015-06-17 17:40:07 +02:00
Justin Santa Barbara
b4150dc928 AWS: e2e: Add support for getSigner for AWS 2015-06-17 00:35:47 -04:00
Saad Ali
10631592dc Merge pull request #9887 from brendandburns/gcr2
switch some more images to gcr for reliability
2015-06-16 18:57:16 -07:00
Saad Ali
47a802d315 Merge pull request #9648 from mikedanese/cleanup-service-e2e
cleanup some of the e2e service reachability code
2015-06-16 18:39:25 -07:00
Justin Santa Barbara
3912ab29d8 e2e test polishing
Some typo fixes; some clearer messages on failed assertions;
some TODOs on deeper problems.
2015-06-16 21:15:11 -04:00
Jordan Liggitt
ee4cd972e0 Validate port protocol case strictly 2015-06-16 20:28:11 -04:00
Saad Ali
68edcaa08b Merge pull request #9900 from pmorie/nfs-e2e
Fix typo in volumes e2e
2015-06-16 15:58:49 -07:00
Saad Ali
418ab026c3 Merge pull request #9839 from lavalamp/logSpam
remove broken ginkgo Done concept from tests
2015-06-16 15:50:11 -07:00
Justin Santa Barbara
c4d8a73345 AWS: Enable restart tests 2015-06-16 18:47:01 -04:00
Saad Ali
0aae358d2d Merge pull request #9835 from caesarxuchao/remove-testapi-nsQuery
Update pkg/api/testapi because namespace is always in the path now
2015-06-16 14:54:36 -07:00
Paul Morie
0ec8332418 Fix typo in volumes e2e 2015-06-16 17:24:02 -04:00
Chao Xu
a309d3e652 Update pkg/api/testapi because namespace is always in the path since we remove v1beta1/2 2015-06-16 14:12:03 -07:00
Brendan Burns
c3f4b3ff97 Switch to the gcr nginx container in a few remaining places. 2015-06-16 11:49:36 -07:00
Brendan Burns
ca8317695f Switch to gcr.io for the mount test container. 2015-06-16 11:45:34 -07:00
Brendan Burns
9fda26e5da Switch to loading busybox from gcr. 2015-06-16 11:31:33 -07:00
Saad Ali
5596e6f789 Merge pull request #9493 from marekbiskup/testAddonUpdate
e2e test for addon upgrade
2015-06-16 10:50:15 -07:00
Eric Tune
03826ec139 Rephrase test descriptions. 2015-06-16 10:38:41 -07:00
Prashanth Balasubramanian
831d7a36d0 Scrape /metrics of kubelets from e2e tests 2015-06-16 09:50:40 -07:00
Saad Ali
dae03043d4 Merge pull request #9732 from ixdy/e2e-coredump
e2e: in core dump, add delta to waitgroup outside of goroutine
2015-06-16 09:16:29 -07:00
Filip Grzadkowski
6674913f92 Merge pull request #9858 from fgrzadkowski/skip_density
Skip density test in a regular e2e run
2015-06-16 15:35:54 +02:00