Commit Graph

8305 Commits

Author SHA1 Message Date
Vy Ta
4bf6b670a2 fix bazel test 2019-01-08 10:45:53 -08:00
Vy Ta
765057765c golint failure updates, and added skip check for non-windows 2019-01-08 10:11:35 -08:00
Katharine Berry
8e9f8e264f Never skip multi-node conformance tests (instead just fail). 2019-01-08 09:24:43 -08:00
Patrick Lang
8f858afe69 Ran hack/update-bazel.sh 2019-01-08 08:49:54 -08:00
Jordan Liggitt
421d8649bf Update service account token mount test 2019-01-08 11:27:51 -05:00
Kubernetes Prow Robot
cd507fea85 Merge pull request #72230 from krmayankk/verify-gid
verify gid in runasuser tests
2019-01-07 15:25:00 -08:00
Patrick Lang
084a763926 Maybe fix bazel build 2019-01-07 15:00:57 -08:00
Patrick Lang
210bf624ea Adding OWNERS 2019-01-07 14:47:40 -08: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
Kubernetes Prow Robot
5acac9b3e2 Merge pull request #70439 from jsafrane/worlload-test
CSI: Add test for passing Pod information in NodePublish call
2019-01-07 12:08:51 -08:00
Vallery Lancey
5a3b8a11fc Add an e2e test for services with no endpoints (#72561) 2019-01-05 00:26:55 -08:00
Kubernetes Prow Robot
3724e2e5a0 Merge pull request #71489 from tallclair/audit-test
Split audit test cases into separate tests
2019-01-04 09:02:24 -08:00
Jan Safranek
e1556c1549 Fix hostpath driver name 2019-01-04 17:26:24 +01:00
Kubernetes Prow Robot
a103bddc2a Merge pull request #72354 from globervinodhn/conformance-slow
Remove SLOW tag from Probing container and EmptyDir Wrapper Volume
2019-01-03 20:21:53 -08:00
Michelle Au
6279515914 Add e2e test for removing the subpath directory 2019-01-03 16:35:54 -08:00
Kubernetes Prow Robot
47f2f7a53a Merge pull request #72410 from pohly/storage-gcepd-config-fix
e2e/storage: reset driver config in the test suite
2019-01-03 15:51:44 -08:00
Kubernetes Prow Robot
1061f31644 Merge pull request #71188 from taragu/readonly-test-validate-readonly-io
Add test case for validate container cannot write to readonly volumes
2019-01-03 15:51:23 -08:00
Tara Gu
fb324249c2 Add test case for validate container cannot write to readonly volumes 2019-01-03 15:24:31 -05:00
Jan Safranek
d617dcb1e0 CSI: Add test for passing Pod information in NodePublish call 2019-01-02 16:11:41 +01:00
Kubernetes Prow Robot
65fdea80e7 Merge pull request #71922 from vikramk7/master
Make error messages more helpful in some e2e tests
2018-12-31 20:07:35 -08:00
globervinodhn
b3217cc624 Remove SLOW tag from KUBEDESCRIBE and SIGDESCRIBE
Remove SLOW tag and update description for KUBEDESCRIBE(Probing container) and SIGDESCRIBE(EmptyDir Wrapper Volume)

Remove slow references for tests that execute below 5 minutes
2018-12-31 13:13:11 +05:30
Kubernetes Prow Robot
74f779fbb5 Merge pull request #69087 from tanshanshan/error926
make sure to check for errors and close the request body in the cluster size autoscaling e2e test
2018-12-29 01:58:26 -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
Patrick Ohly
98ba1d8519 e2e/storage: reset driver config in the test suite
PR #70862 made each driver responsible for resetting its config, but
as it turned out, one place was missed in that PR: the in-tree gcepd
sets a node selector. Not resetting that caused other tests to fail
randomly depending on test execution order.

Now the test suite resets the config by taking a copy after setting up
the driver and restoring that copy before each test.

Long term the intention is to separate the entire test config from the
static driver info (https://github.com/kubernetes/kubernetes/issues/72288),
but for now resetting the config is the fastest way to fix the test flake.

Fixes: #72378
2018-12-28 22:44:09 +01:00
Kubernetes Prow Robot
a6ba2ebf85 Merge pull request #72376 from liggitt/filter-ns-debugging
Filter resources logged by e2e ns debugging
2018-12-27 22:38:56 -08:00
Vy Ta
ecee40158c Adding Feature tag 2018-12-27 15:55:10 -07:00
Vy Ta
8d3ea6590d Adding diff summary 2018-12-27 15:51:44 -07:00
Vy Ta
906aceb89a Making requested changes 2018-12-27 15:46:26 -07:00
Jordan Liggitt
78c987751c Filter resources logged by e2e ns debugging 2018-12-27 14:35:11 -05:00
Wei Huang
5492e2f8c3 move resource_quota e2e test to apimachinery folder 2018-12-27 10:45:41 -08:00
danielqsj
94d1050303 Change docker metrics to conform guideline 2018-12-26 15:58:04 +08:00
Vikram Krishnamurthy
da0896c101 Make error messages more helpful in some e2e tests 2018-12-25 11:13:03 -08:00
Shyam Jeedigunta
ce79d27048 Add eks case to GetSigner() 2018-12-24 16:50:45 -08:00
Patrick Ohly
ac8ac8ee6c e2e: update bazel BUILD files
Generated via hack/update-bazel.sh.
2018-12-21 10:30:10 +01:00
Patrick Ohly
3253e9ab6b e2e/storage: refactor test config
Exposing framework.VolumeTestConfig as part of the testsuite package
API was confusing because it was unclear which of the values in it
really have an effect. How it was set also was a bit awkward: a test
driver had a copy that had to be overwritten at test runtime and then
might have been updated and/or overwritten again by the driver.

Now testsuites has its own test config structure. It contains the
values that might have to be set dynamically at runtime. Instead of
overwriting a copy of that struct inside the test driver, the test
driver takes some common defaults (specifically, the framework pointer
and the prefix) when it gets initialized and then manages its own
copy. For example, the hostpath driver has to lock the pods to a
single node.

framework.VolumeTestConfig is still used internally and test drivers
can decide to run tests with a fully populated instance if needed (for
example, after setting up an NFS server).
2018-12-21 10:30:06 +01:00
Mayank Kumar
d141221a8e verify gid in runasuser tests 2018-12-20 10:49:32 -08:00
Patrick Ohly
dfcf2ca345 e2e/storage: separate generic testsuites from specific drivers
This makes it possible to use the testsuites package out-of-tree
without pulling in unnecessary dependencies and code (in
test/e2e/storage/vsphere) that defines tests that are not wanted in a
custom test suite.
2018-12-20 13:41:48 +01:00
Patrick Ohly
41ab9449ed e2e/storage: drivers determine the claim size
Different drivers support different volume sizes. Some have certain
minimum sizes, some maximum sizes. Instead of hard-coding some kind of
default into the testsuites, now each driver that supports dynamic
provisioning has to provide the size.
2018-12-20 13:41:48 +01:00
Patrick Ohly
5349ce75fa e2e/storage: remove code duplication
The setup of the V0 hostpath driver was done with copy-and-paste and
then changing just the driver name and the manifests. The same can be
achieved by making the base struct a bit more configurable, which
simplifies future changes (less code).

Renaming the provisioner container was unnecessary and was reverted to
make it possible to use the same patch configuration.

While at it, also fix the InitHostV0PathCSIDriver typo.
2018-12-20 13:41:48 +01:00
Kubernetes Prow Robot
cdeb8c108f Merge pull request #72205 from losipiuk/lo/env-gke-api-endpoint
Use CLOUDSDK_API_ENDPOINT_OVERRIDES_CONTAINER for GKE Api endpoint
2018-12-20 03:11:44 -08:00
Kubernetes Prow Robot
7ce7a80cda Merge pull request #71355 from bradhoekstra/kube-proxy-services-optional
Make kube-proxy service abstraction optional
2018-12-19 15:27:12 -08:00
Kubernetes Prow Robot
00ca6939cb Merge pull request #72038 from bowei/change-gce-cloud-provider
Change gce cloud provider
2018-12-19 14:13:55 -08:00
Kubernetes Prow Robot
1bd7c7126c Merge pull request #70370 from liggitt/to_apps_v1
Switch client and test usage to apps/v1
2018-12-19 14:13:28 -08:00
Kubernetes Prow Robot
ac6fa2235b Merge pull request #71742 from pohly/csi-sidecar-test
e2e: use quay.io/k8scsi images, bump versions
2018-12-19 11:58:37 -08:00
Łukasz Osipiuk
b1408dbe45 Use CLOUDSDK_API_ENDPOINT_OVERRIDES_CONTAINER for GKE Api endpoint 2018-12-19 17:55:33 +01:00
Jordan Liggitt
0ff455e340 generated files 2018-12-19 11:19:12 -05:00
Jordan Liggitt
b409ffa658 Update test manifests to apps/v1 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
33404d973a Merge pull request #72174 from msau42/owners
Update sig-storage owners
2018-12-18 21:28:10 -08:00