Commit Graph

1732 Commits

Author SHA1 Message Date
Chao Xu
1f2e2e61cf generated 2019-02-12 15:04:57 -08:00
Kenichi Omichi
60ded1d54a Fix golint failures of test/e2e/framework/timer 2019-02-12 21:01:39 +00:00
Chao Xu
3f21ca029a changing imports 2019-02-12 10:06:04 -08:00
Yecheng Fu
00a7fc3208 Wait for first pod to termiante in local pv test
local plugin will skip setting fsGroup if volume is mounted by other pods
2019-02-12 09:55:49 +08:00
Kubernetes Prow Robot
b862590bfc Merge pull request #73847 from wojtek-t/watch_metric
Add metric exposing amount of processed init events in watchcache
2019-02-10 03:47:35 -08:00
Kubernetes Prow Robot
8f7ccf8d4c Merge pull request #69036 from wackxu/snapshottest
add e2e test for snapshot
2019-02-08 13:14:04 -08:00
wojtekt
0a0835e92d Add metric exposing amount of processed init events in watchcache 2019-02-08 13:03:33 +01:00
Kubernetes Prow Robot
eac19a3ab9 Merge pull request #73616 from dims/move-part-of-kubelet-apis-well-known-lables
move pkg/kubelet/apis/well_known_labels.go to staging/src/k8s.io/api/core/v1/
2019-02-07 19:44:34 -08:00
Claudiu Belu
00e2582c67 Adds Windows-related Networking tests
Creating pods with HostNetwork is not currently supported on
Windows Kubelet, and thus, ones without HostNetwork are created instead.
2019-02-06 15:58:18 -08:00
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
Davanum Srinivas
b975573385 move pkg/kubelet/apis/well_known_labels.go to staging/src/k8s.io/api/core/v1/
Co-Authored-By: Weibin Lin <linweibin1@huawei.com>

Change-Id: I163b2f2833e6b8767f72e2c815dcacd0f4e504ea
2019-02-05 13:39:07 -05: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
xushiwei
3410d435ed add snapshot e2e 2019-01-30 19:04:45 +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