Commit Graph

944 Commits

Author SHA1 Message Date
Ted Yu
0ae181cf0c Clarify the role for SupportedSizeRange 2019-10-18 14:58:56 -07:00
Kubernetes Prow Robot
cedacc9cae Merge pull request #84025 from oomichi/move-CreateNginxPod
Move CreateNginxPod() to specific e2e
2019-10-17 01:47:48 -07:00
Kubernetes Prow Robot
c3d8ad06a5 Merge pull request #84002 from cofyc/fix74552-cleanup
e2e: remove duplicated test specs
2019-10-16 22:25:41 -07:00
Kenichi Omichi
9e17a0e9f3 Move CreateNginxPod() to specific e2e
CreateNginxPod() is called from flexvolume_online_resize only and
that seems storage specific function because that requires a PVC.
So this moves the function to the place which calls it for the code
cleanup.
2019-10-17 00:10:38 +00:00
Yecheng Fu
1ff13e0782 e2e: remove duplicatd test suites 2019-10-16 19:42:11 +08:00
Jan Safranek
7c240a18b6 Disable local block volume reconstruction test
Quite hacky, hoping to fix the volume plugin soon.
2019-10-15 13:59:36 +02:00
Timothy St. Clair
97055841b1 Audit of test/* OWNERS files 2019-10-10 15:52:51 -05:00
Kubernetes Prow Robot
1bb7835f0a Merge pull request #83609 from avalluri/fix-storage-e2e-tests
Remove e2e/common package usage in volumemode testsuite
2019-10-10 13:41:52 -07:00
Amarnath Valluri
3333806734 Remove e2e/common package usage in volumemode testsuite
Change 04300826fd has introduced
"e2e/common" package dependency on volumemode testusuite. This results in
pulling all tests defined in common package while running storage e2e tests,
which are not necessary.

The only interested part from common package is the WaitTimeoutForEvent().
2019-10-10 09:30:12 +03:00
toyoda
1ae7726ff6 Use log functions of core framework on test/e2e/storage/testsuites/topology.go 2019-10-10 09:16:19 +09:00
Dan Winship
6a040438ea Update test/e2e/storage for new GetReadySchedulableNodes stuff 2019-10-09 08:12:56 -04:00
Kubernetes Prow Robot
05474a6d84 Merge pull request #78306 from hoyho/feat/e2e-storage-dynamic-size
feat(e2e): refactor hard-coded provision size
2019-10-08 17:07:51 -07:00
hoyho
b5c1432328 Add unit test for function getSizeRangesIntersection 2019-10-08 01:33:43 +08:00
hoyho
23320c958e feat(e2e): refactor hard-coded provision size
test/e2e/storage/testsuites creates volumes dynamically. Initially, the size of those volumes was
hard-coded in the test, which prevented using the tests with storage backends that couldn't support
that hard-coded size
2019-10-08 01:33:19 +08:00
Jan Safranek
612fb1793e Test global block directory in reconstruction tests 2019-10-04 14:03:40 +02:00
Kubernetes Prow Robot
ec05944b13 Merge pull request #83108 from jsafrane/hostexec-volumemode
Use pod + nsenter instead of SSH in block volume tests
2019-10-04 02:46:29 -07:00
David Zhu
35d799c3a4 Remove block volume capability from GCE PD CSI Driver because not supported in v0.5.2 2019-10-02 10:11:47 -07:00
Kubernetes Prow Robot
e31cc95276 Merge pull request #83381 from davidz627/fix/blockFail
Run block tests for gce-pd csi driver. Improve skip block test function name
2019-10-01 20:03:06 -07:00
David Zhu
8ff56a50a2 Run block tests for gce-pd csi driver. Improve skip block test function name 2019-10-01 15:23:19 -07:00
Kubernetes Prow Robot
c2c821534b Merge pull request #81093 from johnSchnake/useImageUtilsForLookup
Use imageutils instead of hardcoded image paths
2019-10-01 02:37:32 -07:00
Kubernetes Prow Robot
14e5adfc85 Merge pull request #82683 from davidz627/fix/translationStruct
Refactor CSI Translation Library into a struct that is injected into various components to simplify unit testing
2019-09-29 10:11:37 -07:00
Kubernetes Prow Robot
39286f3962 Merge pull request #83255 from misterikkit/vsphere_stress
E2E: Add missing Bootstrap() call
2019-09-28 00:13:38 -07:00
John Schnake
2dab911ac2 Use imageutils instead of hardcoded image paths
A number of tests were using hardcoded image paths instead of
going through the imageutils package. The reason for centralizing
the logic there is to keep an eye on what images we use and where
they come from.
2019-09-27 15:01:08 -05:00
David Zhu
92cb06a2e7 Refactor CSI Translation Library into a struct that is injected into various components to simplify unit testing in future 2019-09-27 12:59:53 -07:00
Jonathan Basseri
378a074212 E2E: Add missing Bootstrap() call
One of the vsphere storage test suites was hitting a nil panic because
it did not call Bootstrap().
2019-09-27 11:01:27 -07:00
Jan Safranek
c1c0ba1c76 Use pod + nsenter instead of SSH in block volume tests
listPodVolumePluginDirectory was moved to break import cycle.
2019-09-25 13:34:27 +02:00
Kubernetes Prow Robot
ba690c0796 Merge pull request #82955 from misterikkit/vsphere-sc
storage E2E: test drivers must have DNS-1123 names
2019-09-20 20:07:51 -07:00
Kubernetes Prow Robot
4ed88d4232 Merge pull request #81819 from msau42/topology-e2es
add volume topology e2es
2019-09-20 20:07:25 -07:00
Jonathan Basseri
e47ddafa9f storage E2E: test drivers must have DNS-1123 names
Because driver names get used in some object names (e.g. StorageClass)
the driver name must be a valid DNS-1123 name.
2019-09-20 16:39:24 -07:00
Kubernetes Prow Robot
a7bd7a925d Merge pull request #82908 from ZP-AlwaysWin/dev06
Use framework.ExpectNotEqual()
2019-09-20 16:17:58 -07:00
Michelle Au
8d3abb83f9 Rename testCleanup to driverCleanup
Change-Id: I2ee50e2c7eed82724b7a2703819dcefcf7fa915f
2019-09-20 12:26:53 -07:00
Michelle Au
95c7b42340 add topology e2es to storage testsuite
Change-Id: I1ec4247cef5d477ae2a76136113a4ed5ce30bf44
2019-09-20 12:26:53 -07:00
ZP-AlwaysWin
59f766fe0a Use framework.ExpectEqual() 2019-09-20 11:36:03 +08:00
WanLinghao
a6f5d99409 Refactor and clean up e2e framework utils. This patch handles test/e2e/framework/pv_util.go file 2019-09-18 17:57:13 +08:00
Mucahit Kurt
f0aa13cd46 skip e2e tests that run on multi node cluster and require node independent volume for the drivers that does not support node independent volumes, like hostpath
Signed-off-by: Mucahit Kurt <mucahitkurt@gmail.com>
2019-09-13 22:49:53 +03:00
Kubernetes Prow Robot
043b96ee89 Merge pull request #82569 from calmkart/master
MOD:fix spelling errors
2019-09-11 22:53:06 -07:00
Kubernetes Prow Robot
7efc8e33d6 Merge pull request #82367 from jsafrane/cinder-block-tests
Enable block tests for Cinder
2019-09-11 15:27:07 -07:00
Kubernetes Prow Robot
411caaf469 Merge pull request #82324 from andyzhangx/fix-azure-pv-e2e-test
test: fix azure disk e2e test failure
2019-09-11 15:25:53 -07:00
Kubernetes Prow Robot
c12d8de141 Merge pull request #82245 from jsafrane/use-pause-for-race
Don't require any resources in race test
2019-09-11 10:42:02 -07:00
Kubernetes Prow Robot
caf21ac4ff Merge pull request #82241 from jsafrane/disable-cephfs-test
Mark Ceph tests as serial
2019-09-11 10:41:48 -07:00
Kubernetes Prow Robot
4b6c32c097 Merge pull request #82121 from Zhuzhenghao/typo/bound
Typo fix: binded -> bound
2019-09-11 10:39:28 -07:00
calmkart
00fcce9a58 MOD:fix spelling errors 2019-09-11 16:46:25 +08:00
calmkart
d558a89437 MOD:fix spelling errors 2019-09-11 15:59:15 +08:00
carlory
910bd000ff use log functions of core framework in the 'test/e2e/storage/*' 2019-09-06 10:26:16 +08:00
Jan Safranek
6a433ee5ba Enable block tests for Cinder
Cinder volume plugin has implemented block mode a long while ago.
2019-09-05 13:17:13 +02:00
andyzhangx
4c58dc3a56 test: fix azure disk test failure 2019-09-04 15:16:38 +00:00
Jan Safranek
1e602caea0 Don't require any resources in race test
The race test is interested only if all volumes are mounted and pod is
started, it does not need any special CPU.

It de-flakes the test when running on a tight node.
2019-09-02 17:49:13 +02:00
Jan Safranek
1ed97b62fa Mark Ceph tests as serial
The dummy Ceph RBD and CephFS server in test/images/volume/rbd can run only
once on a machine, therefore mark the tests as [Serial].
2019-09-02 15:46:37 +02:00
Kubernetes Prow Robot
263e871aa3 Merge pull request #82115 from humblec/dp-e2e-image
Migrate the e2e provisioner container image to a different location.
2019-08-30 09:39:54 -07:00
Kubernetes Prow Robot
b362655242 Merge pull request #81792 from j-griffith/move_cloning_to_beta
Promote VolumePVCDataSource to beta for 1.16
2019-08-29 13:31:25 -07:00