Commit Graph

1671 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
ae45068688 Merge pull request #72323 from danielqsj/dockershim
Change docker metrics to conform metrics guidelines
2019-02-06 09:30:54 -08:00
Kubernetes Prow Robot
e91e032de2 Merge pull request #73522 from tnozicka/e2e-add-exec-debug
Enhance debuggability of e2e tests using exec command
2019-02-05 03:18:31 -08:00
Kubernetes Prow Robot
6a149864fb Merge pull request #73285 from tallclair/typed-runtimeclass
Migrate RuntimeClass support to the generated typed client
2019-02-04 16:13:30 -08:00
Kubernetes Prow Robot
732cb10019 Merge pull request #73402 from pohly/e2e-vendor-parameter
e2e: reject unknown providers
2019-02-04 12:59:06 -08:00
Matt Matejczyk
35543f8989 Allow dumping full systemd journal in log-dump.sh.
The feature is gated behind a newly introduced 'dump-systemd-journal' flag.
We want to dump the full systemd journal in our scalability performance tests.
2019-02-03 21:28:37 +01:00
Kubernetes Prow Robot
153bc23365 Merge pull request #73403 from hello2mao/reduce-hard-code
Reduce hard code to avoid more mistakes
2019-02-01 14:32:14 -08:00
Patrick Ohly
7b5e65977c e2e: "skeleton" as fallback, empty string as default
Not accepting --provider= (i.e. setting an empty provider name) broke
some test jobs. As suggested in
https://github.com/kubernetes/kubernetes/pull/73402#issuecomment-459368230,
now --provider= and not passing --provider at all both trigger a
message and then continue as if --provider=skeleton had been used.
2019-01-31 15:54:48 +01:00
Kubernetes Prow Robot
9f673c8129 Merge pull request #72728 from phoenixking25/e2e/annotate_errors
annotate errors in e2e tests
2019-01-30 11:53:48 -08:00
Tomas Nozicka
cfcac1737b Enhance debuggability of e2e tests using exec command 2019-01-30 11:46:30 +01:00
Krzysztof Siedlecki
aa93e2bb94 reverting test to apiserver_request_latencies_summary metric 2019-01-30 10:36:32 +01:00
hello2mao
7371c40abe update the BUILD file 2019-01-30 09:45:06 +08:00
Patrick Ohly
dde3445a45 e2e: change default for --provider
The empty string was the default and then triggered a special
warning. There's no good reason for that behavior, so now the special
handling for "unset provider" is gone and "skeleton" is the non-empty
default for the value.
2019-01-29 19:50:40 +01:00
Kubernetes Prow Robot
d66db4a585 Merge pull request #72918 from bclau/tests/windows-cmd-fix
tests: Makes UDP testing command more Windows friendly
2019-01-29 05:15:37 -08:00
Kubernetes Prow Robot
b6701153b5 Merge pull request #70823 from mkimuram/issue/70822
Fix volumes e2e test to check fsType
2019-01-28 21:51:31 -08:00
Patrick Ohly
f3d79e152e e2e: reject unknown providers
This finishes the work started for 1.13: instead of merely warning
about an unknown value given to --profile, the test/e2e/e2e.test
binary will now print an error and refuse to run.

Fixes: #70200
2019-01-28 19:55:45 +01:00
hello2mao
38b86fd97e reduce hard code to avoid more mistakes 2019-01-28 21:55:09 +08:00
Eric Paris
384da53441 test/e2e/framework: fix external/internal typo err in GetNodeInternalIP 2019-01-26 17:12:50 -05:00
Kubernetes Prow Robot
b5f2147a5a Merge pull request #73193 from shyamjvs/avoid-master-ssh
Avoid master ssh in eks
2019-01-26 02:51:49 -08:00
andrewsykim
596c6fbf03 e2e test for node deleted in cloud provider 2019-01-25 17:45:18 -05:00
Tim Allclair
954f43a10d Migrate RuntimeClass E2E to typed client 2019-01-24 11:08:30 -08:00
anuj
d05b399261 annotate errors in e2e tests
fixed error message

fixed uppercases

fixed typo
2019-01-23 13:10:04 +05:30
Masaki Kimura
3c3f85295c Improve output of fsType check for failure case in volumes test 2019-01-23 05:12:38 +00:00
Masaki Kimura
b767dbdeb5 Fix volumes e2e test to check fsType 2019-01-23 05:12:37 +00:00
Shyam Jeedigunta
bb23e0aec7 Avoid master ssh in eks 2019-01-22 20:21:03 -08:00
Jan Safranek
4c4401c175 Run injector as privileged pod
Privileged pod can write bypass any SELinux checks. NFS, CephFS and Gluster
test now work without setting special SELinux boolean for them.
2019-01-22 14:49:04 +01:00
Kubernetes Prow Robot
c336229b58 Merge pull request #72286 from smarterclayton/ssh
Support e2e testing via a bastion host for SSH commands
2019-01-21 11:54:05 -08:00
Kubernetes Prow Robot
24643fd116 Merge pull request #72336 from danielqsj/apimetrics
Change apiserver metrics to conform metrics guidelines
2019-01-17 21:40:03 -08:00
David Zhu
11fabf110e Remove client impersonantion from ClusterRole creation 2019-01-14 14:21:49 -08:00
danielqsj
8b418631c0 Move etcd latency metrics to histogram and update test case 2019-01-11 20:38:24 +08:00
Claudiu Belu
72be895238 tests: Makes UDP testing command more Windows friendly
By default, cmd is used to execute commands in Windows containers, but it
has some issues executing the command (no output):

echo 'hostName' | nc -w 1 -u <targetIP> <targetPort>

But it has no issues running (output is correct):

echo hostName | nc -w 1 -u <targetIP> <targetPort>

This causes the test "should function for node-pod communication: udp" to
fail when using Windows Containers.
2019-01-11 03:53:28 -08:00
Kubernetes Prow Robot
0f50fdc58d Merge pull request #71667 from pohly/testfiles-absolute
e2e/framework: absolute test file paths
2019-01-10 14:42:19 -08:00
Clayton Coleman
88cac12ce8 Support e2e testing via a bastion host for SSH commands
Until we port the remaining e2e tests to use exec host pods instead
of SSH, it should be possible to use bastion host when
clusters don't expose public IPs for nodes. Testers can use the
KUBE_SSH_BASTION environment variable set to a `host:port` to
specify the host that the tests will use as a jump host.

If KUBE_SSH_BASTION is specified, the test will first connect to
the bastion using SSH and the provider private key, then establish
a tunnel from the bastion to the target node by its IP. If the
node has an external IP, the external IP must be routable from the
bastion.
2019-01-10 17:10:09 -05:00
Clayton Coleman
d09a655c4c Allow a single SSH key to be used in all providers
Support KUBE_SSH_KEY_PATH as a single environment variable that if
specified ignores the provider specific settinsg and loads the
SSH private key from the provided path. Makes it much easier to
specify a consistent signer across providers.
2019-01-10 17:10:09 -05:00
Clayton Coleman
c6ae7ae3b2 Move ssh related utilities into their own file
Code movement only.
2019-01-10 17:10:04 -05:00
Kubernetes Prow Robot
168b4563e0 Merge pull request #68792 from johnSchnake/68747-fallbackToInternalIP
e2e: Fallback to internal IPs when using SSH in tests
2019-01-07 14:11:41 -08:00
John Schnake
23a7538c4d e2e: Fallback to internal IPs when using SSH in tests
Some tests which utilized SSH to run commands on nodes would
first look for external IPs but fall back to internal IPs
since those could be reachable by the testing program.

This change adds that same fallback logic to another method
used to find the appropriate SSH address for each node.

Fixes #68747
2018-12-28 20:35:35 -06:00
Jordan Liggitt
78c987751c Filter resources logged by e2e ns debugging 2018-12-27 14:35:11 -05:00
danielqsj
94d1050303 Change docker metrics to conform guideline 2018-12-26 15:58:04 +08:00
Shyam Jeedigunta
ce79d27048 Add eks case to GetSigner() 2018-12-24 16:50:45 -08:00
Jordan Liggitt
0ff455e340 generated files 2018-12-19 11:19:12 -05:00
Jordan Liggitt
fd9e9b01b1 Remove uses of extensions/v1beta1 clients 2018-12-19 11:18:53 -05:00
Weibin Lin
842bd1e1ec update deployment, daemonset, replicaset, statefulset to apps/v1 2018-12-19 10:46:45 -05:00
Kubernetes Prow Robot
a17a392d4b Merge pull request #70939 from smarterclayton/skip_delta
e2e: Show the caller's stack for Skipf() instead of the local one
2018-12-18 15:44:04 -08:00
Kubernetes Prow Robot
680ee44f05 Merge pull request #72007 from anfernee/session-affinity-2
Logs [pod,node] pairs for sessionAffinity test
2018-12-14 19:02:42 -08:00
Yongkun Gui
ac1e99235a Logs [pod,node] pairs for sessionAffinity test
Logs information for fixing flakiness for #71423
2018-12-14 12:12:31 -08:00
Maciej Borsz
3223d9bc94 In CreateTestingNS generate name upfront to avoid namespace leakage. 2018-12-14 13:39:14 +01:00
Kubernetes Prow Robot
05183bffe5 Merge pull request #71872 from yuexiao-wang/scheduler-nodeinfo
[scheduler cleanup phase 2]: Rename `pkg/scheduler/cache` to `pkg/scheduler/nodeinfo`
2018-12-12 08:08:33 -08:00
yuexiao-wang
7b6f60f085 modify BUILD
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-12-11 11:22:06 +08:00
yuexiao-wang
f3353c358d [scheduler cleanup phase 2]: Rename to
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-12-11 11:21:12 +08:00
Jordan Liggitt
40e6f52299 plumb bearer token and token file for e2e 2018-12-07 17:01:47 -05:00