Commit Graph

697 Commits (8ef336c05a54ebeb7ff9f9af8e64543aaaedb8d5)

Author SHA1 Message Date
Jing Xu 221c673f31 Skip GlusterDynamicProvisioner test in GKE
The GlusterDynamicProvisioner test will not work on GKE because master
node is in a different project and cannot talk to the pod running on
node which is used for gluster provisioner. So add the code to skip the
test on GKE
2019-03-20 12:07:50 -07:00
Kubernetes Prow Robot c67e16c74f
Merge pull request #75272 from gnufied/add-pod-information-on-error
Add pod information when max volume condition is missing
2019-03-12 13:19:31 -07:00
Kubernetes Prow Robot 11b9ebf113
Merge pull request #75225 from jingxu97/pd_windows_test
Add bracket to the sig-window tag and other fixes
2019-03-12 13:19:19 -07:00
Jing Xu 3718f4e0ed Add bracket to the sig-window tag
Need to add bracket in the tag for sig-windows. Also fix an issue: for
current testing structure, it first init driver and then set up the
framework. So when initialize the driver, it does not know what OS is
and we can not set up the capabilities correctly. Instead we have to add
all the capabilities and supported fs types including both linux and
windows. Later in the code, we will check the Node OS and decide how to
run the test.
2019-03-11 18:40:45 -07:00
Hemant Kumar cc61632255 Add pod information when max volume condition is missing 2019-03-11 17:11:56 -04:00
Kubernetes Prow Robot 01c9edf7fa
Merge pull request #75133 from pohly/storage-external-snapshot
e2e: external snapshotter
2019-03-09 16:29:26 -08:00
Hemant Kumar a8f318779b Add CSI volume resizing tests
Add some tests for checking node expansion
Add new tests for expander
2019-03-08 09:23:18 -05:00
Kubernetes Prow Robot 788f24583e
Merge pull request #74990 from jingxu97/pd_windows_test
Add GCE PD tests for windows cluster
2019-03-07 21:20:23 -08:00
Hemant Kumar 9d78c96e56 Fix volume attach limit flake
It looks like node does become unschedulable for the pod
but condition does not get added to the pod in time.

Also ginkgo could retry the test and hence it helps to use
unique node label for scheduling.
2019-03-07 12:35:52 -05:00
Jing Xu 18be0a49e6 Add GCE PD tests for windows cluster
This PR is the first one to add a few GCE PD tests for windows cluster. Will
add more tests in later PRs
2019-03-07 09:13:56 -08:00
Patrick Ohly e84271ed8a e2e/storage: allow empty volume type
This can happen when the test pattern is about snapshotting.
2019-03-07 16:57:16 +01:00
Patrick Ohly 915d6365f1 e2e/storage: fix snapshot support in external driver testing
When using an already installed driver, the snapshot name is the
original driver name. Renaming was incorrectly copied from the in-tree
CSI hostpath driver.
2019-03-07 15:45:40 +01:00
Kubernetes Prow Robot bf4e93da57
Merge pull request #75067 from msau42/csi-beta-e2e
make CSI PD tests serial
2019-03-07 02:23:12 -08:00
Kubernetes Prow Robot 6dbe98980f
Merge pull request #74909 from NetApp/csi-raw-block-to-beta2
Promote CSI raw blocks to beta
2019-03-06 22:55:46 -08:00
Michelle Au 8b97e2ab7c make CSI PD tests serial 2019-03-06 15:11:50 -08:00
Patrick Ohly 6644db9914 e2e/storage: testing of external storage drivers
It is useful to apply the storage testsuite also to "external" (=
out-of-tree) storage drivers. One way of doing that is setting up a
custom E2E test suite, but that's still quite a bit of work.

An easier alternative is to parameterize the Kubernetes e2e.test
binary at runtime so that it instantiates the testsuite for one or
more drivers. Some parameters have to be provided before starting the
test because they define configuration and capabilities of the driver
and its storage backend that cannot be discovered at runtime. This is
done by populating the DriverDefinition with the content of the file
that the new -storage.testdriver parameters points to.

The universal .yaml and .json decoder from Kubernetes is used. It's
flexible, but has some downsides:
- currently ignores unknown fields (see https://github.com/kubernetes/kubernetes/pull/71589)
- poor error messages when fields have the wrong type

Storage drivers have to be installed in the test cluster before
starting e2e.test. Only tests involving dynamically provisioned
volumes are currently supported.
2019-03-06 22:06:31 +01:00
Ben Swartzlander 1493e684d3 Promote CSI raw blocks to beta 2019-03-06 13:43:52 -05:00
Kubernetes Prow Robot c4fd78e7c9
Merge pull request #74993 from msau42/csi-beta-e2e
e2e test updates for CSIDriver and CSINode beta
2019-03-06 08:24:38 -08:00
Kubernetes Prow Robot d99979f8b5
Merge pull request #75015 from cofyc/fix73168-disable-temporarily
Disable "should set different fsGroup for second pod if first pod is deleted" temporarily
2019-03-06 04:46:10 -08:00
Michelle Au afbc8a5056 e2e test updates for beta 2019-03-05 20:24:59 -08:00
Yecheng Fu 05fe7094d5 Disable "should set different fsGroup for second pod if first pod is deleted" test temporarily 2019-03-06 10:46:17 +08:00
Michelle Au b90ef213af don't check for container status ready in subpath test 2019-03-05 18:31:59 -08:00
Kubernetes Prow Robot 257205d656
Merge pull request #74811 from gnufied/fix-attachable-csi-mock-driver
When checking for pod info version, make volume attachable
2019-03-05 06:51:39 -08:00
Kubernetes Prow Robot 6c31101257
Merge pull request #74283 from xing-yang/csi_crd_controller
CSINodeInfo and CSIDriver Controller Changes
2019-03-05 04:44:42 -08:00
Xing Yang d69e0ff3f0 Enable CSI test suite and fix test failures 2019-03-04 16:42:13 -08:00
Xing Yang 6265f4f78c CSINodeInfo/CSIDriver controller changes
This is the 2nd PR to move CSINodeInfo/CSIDriver APIs to
v1beta1 core storage APIs. It includes controller side changes.
It depends on the PR with API changes:
https://github.com/kubernetes/kubernetes/pull/73883
2019-03-04 16:41:58 -08:00
Hemant Kumar 2567d1b5dd Always make CSI driver attachable when checking for pod info
Fixes https://github.com/kubernetes/kubernetes/issues/74724
2019-03-04 12:35:16 -05:00
Yecheng Fu a81b351670 Update persistent_volumes-local.go to use utils.HostExec/utils.LocalTestResourceManager.
This simplifies the code and makes it more maintainable.
2019-03-02 20:38:20 +08:00
Kubernetes Prow Robot 7955a2865c
Merge pull request #74764 from msau42/fix-repd-e2e
bump repd min size in e2es
2019-03-01 14:09:19 -08:00
Kubernetes Prow Robot 646145f578
Merge pull request #74125 from tuanvcw/fixing_typo
Fix many typos in both code and comments
2019-03-01 14:08:45 -08:00
Michelle Au 4a5a34b42c bump repd min size in e2es 2019-02-28 18:35:34 -08:00
Kubernetes Prow Robot ba34591627
Merge pull request #74716 from cofyc/fix73559
Add new e2e test for local PV "Pods sharing a single local PV [Serial]"
2019-02-28 16:07:09 -08:00
Kubernetes Prow Robot 2235a7e9a2
Merge pull request #74554 from mkimuram/issue/74380
Fix resource leaking PDs for volume mode test
2019-02-28 11:51:36 -08:00
Yecheng Fu 1bfd3838e2 Add new e2e test for local PV "Pods sharing a single local PV [Serial]" 2019-02-28 17:22:23 +08:00
Kubernetes Prow Robot 7dbe426b24
Merge pull request #74320 from gnufied/cleanup-csi-test-dups
Add e2e for CSI volume limit
2019-02-27 12:31:12 -08:00
Masaki Kimura c5155f81a0 Fix resource leaking PDs for volume mode test
fixes #74380
2019-02-27 18:48:34 +00:00
Vu Cong Tuan c747b7f38d Fix many typos in both code and comments
Signed-off-by: Vu Cong Tuan <tuanvc@vn.fujitsu.com>
2019-02-27 14:41:02 +07:00
Hemant Kumar 2516cbd453 Add e2e for CSI volume limit stuff
Also use privileged for driver registra
2019-02-26 13:04:54 -05:00
Kubernetes Prow Robot 8993fbc543
Merge pull request #74328 from daixiang0/delete-blank
delete all duplicate empty blanks
2019-02-23 01:43:58 -08:00
Xiang Dai 36065c6dd7 delete all duplicate empty blanks
Signed-off-by: Xiang Dai <764524258@qq.com>
2019-02-23 10:28:04 +08:00
Michelle Au 6266c47972 Fix localssd test panic 2019-02-22 17:06:11 -08:00
Yecheng Fu 5c67d55002 Use same fsGroup for both pods until we have a reliable way to detect
volumes are unmounted or not
2019-02-21 15:56:35 +08:00
Hemant Kumar abf8df7543 clean up duplication 2019-02-20 15:43:12 -05:00
Kubernetes Prow Robot 21e3c15dfe
Merge pull request #72732 from sandeeppsunny/vsphere_volume_zone
Added e2e tests for multi-zone volume provisioning through VCP
2019-02-20 09:01:27 -08:00
Kubernetes Prow Robot 07cf5fa08e
Merge pull request #72434 from pohly/storage-volume-testsuites-config
e2e/storage: delay CreateDriver, simplify APIs and test definition
2019-02-20 05:37:45 -08:00
Kubernetes Prow Robot 9e55995a31
Merge pull request #73989 from oomichi/golint-e2e-framework-metrics
Fix golint failures under test/e2e/framework/metrics
2019-02-19 16:23:48 -08:00
Kubernetes Prow Robot e67562dc4c
Merge pull request #74143 from oomichi/issue/73771
Call getRandomClusterZone() only if necessary
2019-02-19 09:55:55 -08:00
Sandeep Sunny 5b59c6e08c Added e2e tests for multi-zone volume provisioning 2019-02-19 18:44:20 +05:30
Kubernetes Prow Robot f7eb5769c2
Merge pull request #71468 from bclau/windows-tests
Windows networking tests
2019-02-18 06:24:24 -08:00
Kubernetes Prow Robot 07a5488b2a
Merge pull request #74141 from zetaab/fixtest
disable xfs localvolume test
2019-02-16 00:29:57 -08:00