lala123912
165907f60a
remove suffixes from generated StorageClasses and VolumeSnapshotClass
2020-12-14 16:48:41 +08:00
Jiawei Wang
356bea6c9f
Add storage framework and address comments
2020-12-10 22:48:06 -08:00
Jiawei Wang
988563f8f5
Extract testsuite api to a separate package
...
Extract TestSuite, TestDriver, TestPattern, TestConfig
and VolumeResource, SnapshotVolumeResource from testsuite
package and put them into a new package called api.
The ultimate goal here is to make the testsuites as clean
as possible. And only testsuites in the package.
2020-12-10 11:12:51 -08:00
Jiawei Wang
5dc491758c
Storage testsuite refactor & cleanup
...
Cleanup all the f.BeforeEach() before new framework to move all the
testskips in the new SkipUnsupportedTests() to make the structure easier.
And provide the standard way of RegisterTests()
Add a InitCustomXXXTestSuite(patterns []patterns) function for each
TestSuite to enable custom test suite definition.
2020-12-10 11:12:51 -08:00
Kubernetes Prow Robot
ae287e848b
Merge pull request #97001 from Jiawei0227/copySC
...
Copy the same storageclass instead of constructing one in external test
2020-12-08 21:06:07 -08:00
Kubernetes Prow Robot
31d55baf63
Merge pull request #96875 from Jiawei0227/externaldriver2
...
Remove external driver duplicated misleading SupportedSizeRange
2020-12-08 20:04:24 -08:00
Kubernetes Prow Robot
dbe67deb2b
Merge pull request #96843 from Jiawei0227/externaldriver
...
Remove unnecessary snapshot ability check for external driver
2020-12-08 20:03:59 -08:00
Kubernetes Prow Robot
9de5f165ea
Merge pull request #96467 from jsafrane/storage-go-recover
...
Add GinkgoRecover to a local storage go routine
2020-12-08 17:28:43 -08:00
Jiawei Wang
8c17534429
Copy the same storageclass instead of constructing one in external test
2020-12-03 19:52:32 -08:00
Fabio Bertinatto
ee082985c2
e2e: promote use of functions that support custom timeouts in storage tests.
...
WaitForPodSuccessInNamespace[Slow] are replaced by WaitForPodSuccessInNamespaceTimeout(),
so that custom timeouts are used instead of the hardcoded ones.
2020-12-02 16:14:13 -03:00
Fabio Bertinatto
c28dba5494
e2e: add new custom timeout value for slow PV deletion
2020-12-02 15:57:58 -03:00
Fabio Bertinatto
c82626f96f
e2e: use custom timeouts in all storage E2E tests
2020-12-02 15:57:58 -03:00
Fabio Bertinatto
f6e900f468
e2e: add custom timeouts support in external storage drivers
2020-12-02 15:57:58 -03:00
Jiawei Wang
6f74a7cbfa
Remove external driver duplicated misleading SupportedSizeRange
2020-11-25 16:07:55 -08:00
Jiawei Wang
24aa872a2a
Remove unnecessary snapshot ability check
2020-11-24 16:58:14 -08:00
Jing Xu
2a568c95dd
Add linuxonly on one multivolume test
...
This test is not working for windows yet due to commands issued in pod
are not available for windows
Change-Id: Ia0b03afd6dfe0bbb1ab00dc821775450a7e8ce54
2020-11-18 11:58:12 -08:00
Kubernetes Prow Robot
6715318ee7
Merge pull request #96644 from jingxu97/nov/tests
...
Mark some storage tests as LinuxOnly
2020-11-17 15:44:04 -08:00
Jing Xu
079a4ea30c
Mark some storage tests as LinuxOnly
...
Some storage tests has commands not available in Windows. Mark them as
LinuxOnly now. Will check later to see whether equivalent windows
commands are available.
Change-Id: I41b5668c855b2754a2e332cff4e90ebf2981aca0
2020-11-17 09:53:50 -08:00
Jing Xu
027867b594
Update topology tests for windows
...
Update storage topology tests setup for Windows
Change-Id: I9a2773b91806a10553db06f61f7259db4df71c3b
2020-11-16 23:21:08 -08:00
Kubernetes Prow Robot
198b2fdb14
Merge pull request #95739 from huffmanca/relax-csi-fsgroup-validation
...
Relax validation for CSIVolumeFSGroupPolicy and move to beta
2020-11-12 17:10:24 -08:00
Kubernetes Prow Robot
927d342aed
Merge pull request #96294 from jingxu97/nov/windows-gcepd
...
Separate in-tree gcepd driver for windows
2020-11-12 16:02:52 -08:00
Christian Huffman
38071e74cf
Correct rebase issues
2020-11-12 17:09:49 -05:00
Christian Huffman
4d2d063635
Included e2e test for CSIDriver FSGroupPolicy
2020-11-12 16:30:38 -05:00
Kubernetes Prow Robot
0b1d94a849
Merge pull request #96479 from jingxu97/nov/testwindows
...
Update storage test suits for Windows
2020-11-12 13:17:29 -08:00
Shihang Zhang
d2859cd89b
plumb service account token down to csi driver
2020-11-12 09:26:43 -08:00
Jing Xu
8c953c21ba
Separate in-tree gcepd driver for windows
...
Add a separate in-tree gcepd driver for windows cluster because it does
not support certain features as Linux driver.
Change-Id: I2fca86b3f32f17db7703c46a36944d9ee51f355f
2020-11-11 17:07:00 -08:00
Jing Xu
56373aa10d
Update storage test suits for Windows
...
Update storage test suits to enable some tests on Windows
Change-Id: I1f596bb9f7a0f41ae398aec43406ee5c753cdce3
2020-11-11 15:22:47 -08:00
Jan Safranek
94ebfec526
Add GinkgoRecover to a local storage go routine
...
All goroutines must have 'defer ginkgo.GinkgoRecover()' for ginkgo to
report errors correctly.
2020-11-11 16:10:29 +01:00
Kubernetes Prow Robot
5d5ff49b9b
Merge pull request #96383 from xing-yang/update_snapshot_crds
...
Update snapshot CRDs to v1
2020-11-11 05:11:49 -08:00
Kubernetes Prow Robot
423f8731ef
Merge pull request #95719 from tsmetana/add-pv_collector-provisioner-metric
...
PV Controller: Add plugin name and volume mode to PV metrics
2020-11-11 01:49:49 -08:00
Kubernetes Prow Robot
02528ce91a
Merge pull request #96247 from saikat-royc/iss-95590
...
e2e test for PodFsGroupChangePolicy feature
2020-11-10 11:45:03 -08:00
Saikat Roychowdhury
a07096952b
FsgroupChange policy test suite
2020-11-10 08:36:07 +00:00
Kubernetes Prow Robot
2e55fa82df
Merge pull request #96330 from jingxu97/nov/snapshot
...
Modify storage snapshottable test for Windows
2020-11-09 19:52:41 -08:00
xing-yang
3379395471
Change snapshot test to use v1 apis
2020-11-10 02:27:38 +00:00
Jing Xu
de7eb94388
Modify storage snapshottable and disruptive test for Windows
...
Update snapshottable and disable disruptive test for Windows
Change-Id: I9d6beb25078c1941e405bf61545caae30326ddd1
2020-11-09 16:54:29 -08:00
Tomas Smetana
bc23dd9e81
PV e2e: fix race in NFS recycling test
2020-11-06 16:38:11 +01:00
Tim Hockin
819ff9b087
Use topology labels instead of old beta names ( #96033 )
...
* Rename const for topology.../zone
* Rename const for topology.../region
* Rename const for failure-domain.../zone
* Rename const for failure-domain.../region
* Restore old names for compat
2020-11-05 20:26:50 -08:00
Kubernetes Prow Robot
0bb732842a
Merge pull request #95971 from chrishenzie/e2e-stress-snapshots
...
Add E2E stress test suite for creation / deletion of VolumeSnapshot resources
2020-11-05 14:25:03 -08:00
Kubernetes Prow Robot
d39562fd93
Merge pull request #95863 from RaunakShah/snap_e2e
...
Volume snapshot e2e test to validate PVC finalizer
2020-11-05 10:53:06 -08:00
Chris Henzie
fb6bc4f8b0
E2E stress test suite for VolumeSnapshots
...
Introduces a new test suite that creates and deletes many
VolumeSnapshots simultaneously to test snapshottable storage plugins
under load.
2020-11-05 08:58:13 -08:00
Kubernetes Prow Robot
fdd2f51e68
Merge pull request #92787 from divyenpatel/fix-e2e-test-vsphere_statefulsets
...
fixed e2e vsphere statefulsets test
2020-11-04 20:46:52 -08:00
shahra
e95af138b5
Volume snapshot e2e test to validate
...
VolumeSnapshotContent and PVC finalizer
2020-11-04 14:08:24 -08:00
Qin Ping
2c1ede513d
Skip the sig-storage e2e test as early as possible
2020-11-03 08:50:25 +00:00
Chris Henzie
830d7cecd7
Cleanup non-namespaced objects in e2e test during interrupts
2020-10-29 13:12:23 -07:00
Kubernetes Prow Robot
7af88f3d98
Merge pull request #95780 from jingxu97/oct/resizetest
...
Enable Volume Expansion tests for Windows
2020-10-27 16:35:56 -07:00
Jing Xu
eeb649d31e
Enable Volume Expansion tests for Windows
...
enable volume expansion test for Windows with ntfs file system
Change-Id: I6b8027c5e149588f66b8896a78ec5cd0e47984fe
2020-10-26 18:28:43 -07:00
Kubernetes Prow Robot
87cc9bca0f
Merge pull request #95867 from jsafrane/e2e-podexec-stderr
...
Log PodExec stdout + stderr
2020-10-26 17:55:59 -07:00
xing-yang
1d22030894
Update test/e2e/storage owners file
2020-10-26 13:36:59 +00:00
Jan Safranek
96e3bc1bfa
Log PodExec stdout + stderr
...
e2e tests should log stdout / stderr of failed commands executed via
PodExec. "command terminated with exit code 1" is not really useful.
2020-10-26 13:22:18 +01:00
Tomas Smetana
75574401e7
Add e2e test for the newPV Controller metric
2020-10-26 13:05:06 +01:00