Commit Graph

8305 Commits

Author SHA1 Message Date
Shyam Jeedigunta
bb23e0aec7 Avoid master ssh in eks 2019-01-22 20:21:03 -08:00
Yecheng Fu
b7a33511e5 Clean up local volum provisioner e2e tests 2019-01-23 11:02:12 +08:00
Kubernetes Prow Robot
e4ef6079bc Merge pull request #73174 from jsafrane/privileged-inject
Run injector as privileged pod
2019-01-22 12:29:11 -08:00
Maciej Szulik
7306ee1577 Report proper namespace in TTLAfterFinished test 2019-01-22 15:42:41 +01: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
Yecheng Fu
e3bca51a57 Do not check events in e2e tests
events can be throttled and should not be used to validate failure
conditions in e2e tests
2019-01-22 18:24:29 +08:00
Morten Torkildsen
62c238b297 Fix for failing daemonset e2e test 2019-01-21 21:46:46 -08: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
Jan Safranek
9ed73a948c Pass the test if event is not delivered 2019-01-21 17:03:10 +01: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
Kubernetes Prow Robot
d1c713f3bc Merge pull request #73040 from wojtek-t/enable_node_lease_tests
Enable NodeLease tests by default
2019-01-17 17:12:10 -08:00
Kubernetes Prow Robot
4531ce692a Merge pull request #72965 from mrIncompetent/use-correct-hostname-in-conformance-tests
Use actual node hostname during test "EmptyDir Wrapper Volume, ConfigMap volumes, no race"
2019-01-17 13:51:56 -08:00
wojtekt
291d02486f Enable NodeLease tests by default 2019-01-17 20:35:51 +01:00
Marek Counts
1739e343a8 autogen files
all the autogen files that got updated due to the changes to move logs.
2019-01-17 09:16:36 -05:00
Marek Counts
ba81a5409a move logs into component-base
all the code changes to move move /apiserver/pkg/util/logs into /component-base/logs
2019-01-17 09:16:21 -05:00
pontiyaraja
72b91dbd56 graceful pod termination with preStop container lifecycle hook 2019-01-17 14:51:37 +05:30
Kubernetes Prow Robot
37f8ce087b Merge pull request #70361 from qingsenLi/git181027
fix typo "amd"
2019-01-16 19:44:37 -08:00
Kubernetes Prow Robot
79c8ab456c Merge pull request #62936 from hanxiaoshuai/bugfix0421
catch error when failed to get podList in function failureTrap
2019-01-16 17:15:04 -08:00
mrIncompetent
cf7a8935af Use actual node hostname during test "EmptyDir Wrapper Volume, ConfigMap volumes, no race" 2019-01-16 14:39:00 +01:00
Kubernetes Prow Robot
06e1af74ef Merge pull request #72898 from davidz627/fix/removeImpersonation
Remove client impersonantion from ClusterRole creation
2019-01-15 23:26:30 -08:00
Kubernetes Prow Robot
9e3b0a0ebc Merge pull request #72930 from verult/e2e-csi-topology
CSI topology e2e - fix space in Feature tag
2019-01-15 22:13:04 -08:00
Claudiu Belu
fd4f55375b tests: Removed hardcoded images from yaml files
Some tests use .yaml files to deploy pods, which have hardcoded
images. Those images cannot be used for Windows containers.

The image names can be injected by the tests themselves, based on
the configured registries.
2019-01-15 20:22:19 -08:00
Kubernetes Prow Robot
7a8ac58756 Merge pull request #72924 from liggitt/remove-swagger
Remove swagger 1.2, swagger-ui
2019-01-15 20:19:20 -08:00
Cheng Xing
9864628c76 CSI topology e2e - fix space in Feature tag 2019-01-15 10:47:14 -08:00
Kubernetes Prow Robot
708c1ae161 Merge pull request #72793 from haiyanmeng/goroutine_inside_for_loop
Fix the broken for loop including goroutine
2019-01-15 10:35:21 -08:00
Jordan Liggitt
9229399bd6 Remove build/verify scripts for swagger 1.2 API docs, API server swagger ui / swagger 1.2 config 2019-01-15 13:33:06 -05:00
Kubernetes Prow Robot
d3540b90cb Merge pull request #72735 from war-turtle/cronJobTests
makes some error messages helpful in cronjob tests
2019-01-14 22:06:03 -08:00
Kubernetes Prow Robot
d2bd29fcee Merge pull request #70923 from m1kola/fix_e2e_err_message
Fixes error message in e2e tests for kubectl port-forward
2019-01-14 14:24:01 -08:00
David Zhu
11fabf110e Remove client impersonantion from ClusterRole creation 2019-01-14 14:21:49 -08:00
Kubernetes Prow Robot
4eddb777ed Merge pull request #72830 from palash25/annotate-errs
Annotate errors in test/e2e/network/service.go
2019-01-14 11:35:22 -08:00
Palash Nigam
5c4b05eced Annotate errors in test/e2e/network/service.go
Related to: #34059

Removes all occurences of the "Expect(err).NotTo(HaveOccurred())"
antipattern from the aforementioned test file.
2019-01-14 23:55:16 +05:30
war-turtle
6a2cdabed0 making some error messages helpful in cronjob tests 2019-01-14 21:33:05 +05:30
Kubernetes Prow Robot
35bd2a5e88 Merge pull request #72769 from zhuangqh/fix-ttlafterfinished-e2e-tag
Add alphaFeature tag to TTLAfterFinished e2e test
2019-01-14 02:39:38 -08:00
Cheng Xing
12ece9dacb CSI topology e2e tests 2019-01-11 18:36:06 -08:00
Justin SB
dd19b923b7 Remove executable file permission from OWNERS files 2019-01-11 16:42:59 -08:00
haiyanmeng
408b5dbf59 Fix the broken for loop including goroutine
Currently, all the funcs in the for loop are bound to the same
testCase.

Also remove extra newline from one expected message
2019-01-11 14:46:24 -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
zhuangqh
8b07d925a0 Add alphaFeature tag to TTLAfterFinished e2e test
Signed-off-by: zhuangqh <zhuangqhc@gmail.com>
2019-01-11 12:07:33 +08:00
Kubernetes Prow Robot
6a8ad537a7 Merge pull request #72688 from liggitt/token-test
Update service account token mount test
2019-01-10 14:42:51 -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
8955857998 Merge pull request #71199 from k-toyoda-pi/fix_node_authn_e2e_test
e2e/auth: fix NodeAuthenticator tests not working
2019-01-10 02:31:28 -08:00
Kubernetes Prow Robot
c9e1ffb0e7 Merge pull request #71952 from vyta/sig-windows-tests
Sig windows tests
2019-01-09 17:19:28 -08:00
Patrick Lang
9468ca420d Updating README.md with fixed repo-list and --node-os-distro 2019-01-09 08:51:47 -08:00
Vy Ta
ec8151d7bb Ran ./hack/update-gofmt.sh 2019-01-08 22:40:38 +00:00
Vy Ta
6ac7838a19 ran ./hack/update-bazel.sh 2019-01-08 22:39:40 +00:00
Vy Ta
5fe8825530 Adding newlines 2019-01-08 13:21:19 -08:00