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
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
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
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
d66695653c
Merge pull request #95003 from jsafrane/cinder-delete-preprovisioned
...
Fail a test on pre-provisioned Cinder volume deletion error
2020-09-25 14:26:48 -07:00
Jan Safranek
c4e6572912
Remove ext2 + ext3 tests
...
Testing with the default FS (ext4) is IMO enough, ext2/ext3 does not add much
value. It's handled by the same kernel module anyway.
Leave ext2/ext3 only in GCE PD which is tested in kubernetes/kubernetes CI
jobs regularly to catch regressions.
2020-09-23 17:32:50 +02:00
Jan Safranek
76254d88a5
Fail test when Cinder volume deletion fails
2020-09-23 14:41:29 +02:00
Jan Safranek
b003187053
Add extra log when Cinder volume deletion fails
...
"cinder show <id>" output will help us to debug what's wrong with the
Cinder volume.
2020-09-23 14:41:10 +02:00
Jan Safranek
ead8707f3a
Delete pre-provisioned Cinder volume by ID
2020-09-23 14:38:45 +02:00
Jan Safranek
fea06a204c
Reduce test volume sizes
...
To reduce costs and to increase speed. Formating 5GiB volume took too long
in a badly overloaded CI cluster.
All in-tree volume plugins support at least 1GiB volumes.
2020-08-12 14:00:30 +02:00
Hemant Kumar
20934d7e50
Create service for gluster endpoint
...
Creating an endpoint without a service can cause endpoint to disappear
https://github.com/kubernetes/kubernetes/issues/12964
2020-07-30 16:34:11 -04:00
Christian Huffman
7a55d3978c
Adjust Azure e2e binding mode
2020-06-01 14:55:46 -04:00
Antonio Ojea
26a00f9032
add ipv6 support to the e2e nfs tests
...
nfs mount command need to use the IP enclosed with square brackets
if is an IPv6 address
2020-05-03 11:06:10 +02:00
Hemant Kumar
7d6712632c
Use random zone for inline volume e2e tests
2020-04-14 23:37:21 -04:00
drfish
dfab6b637f
Update .import-aliases for e2e test framework
2020-03-25 11:40:02 +08:00
Mike Danese
aaf855c1e6
deref all calls to metav1.NewDeleteOptions that are passed to clients.
...
This is gross but because NewDeleteOptions is used by various parts of
storage that still pass around pointers, the return type can't be
changed without significant refactoring within the apiserver. I think
this would be good to cleanup, but I want to minimize apiserver side
changes as much as possible in the client signature refactor.
2020-03-05 14:59:46 -08:00
Mike Danese
c58e69ec79
automated refactor
2020-03-05 14:59:46 -08:00
Yu-Ju Hong
bcd975aa65
Replace Beta OS/arch labels with the GA ones
...
Beta OS/arch labels have been deprecated since 1.14.
This change replaces these labels with the GA ones.
2020-02-13 09:38:51 -08:00
Michelle Au
d9184b75c9
Convert volume.TestConfig to use NodeSelection
...
Change-Id: I6adbb53b65e4a4f7e220fc0d91a26dc6bc135c36
2020-02-11 21:13:42 -08:00
Michelle Au
76a4a34dae
Pass NodeSelection directly into e2e testsuites so that tests can use them more consistently
...
Change-Id: I99c8c1d8535a2a2319fbe8216b953c14a56f2763
2020-02-11 20:25:24 -08:00
Mike Danese
25651408ae
generated: run refactor
2020-02-08 12:30:21 -05:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
Tomas Smetana
c42e815fb5
Fix multinode storage e2e tests for multizone clusters
2020-01-20 15:01:41 +01:00
yuxiaobo
73fb0ab5ec
test/e2e/storage:Use e2eskipper package
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com >
2020-01-13 14:04:10 +08:00
clarklee92
7171f9a7f4
move funs of framework/volume to e2e/storage
...
Signed-off-by: clarklee92 <clarklee1992@hotmail.com >
2019-12-31 18:43:08 +08:00
danielqsj
6596a14d39
add missing alias of api errors under test
2019-12-26 17:29:38 +08:00
tanjunchen
f8e0c6bb41
test/e2e/storage : use framework.Equal() replace gomega.Expect(...).To(gomega.BeTrue(),...)
2019-12-11 16:25:26 +08:00
Kubernetes Prow Robot
eef4c00ae9
Merge pull request #85621 from chewong/in-tree-azure-disk-e2e
...
Rename Azure driver to Azure Disk driver in e2e test
2019-12-10 22:14:06 -08:00
SataQiu
3ed535a89a
fix staticcheck failures of e2e/storage/drivers e2e/storage/testsuites
2019-12-10 16:09:29 +08:00
Ernest Wong
727fdef2db
Address PR comment
2019-12-03 11:34:02 -08:00
Ernest Wong
657a3a3294
Delete client node selector during volume creation
2019-11-26 13:20:59 -08:00
Ernest Wong
dd76fdfce5
Rename Azure driver to Azure Disk driver
2019-11-25 15:51:30 -08:00
Dan Winship
6a040438ea
Update test/e2e/storage for new GetReadySchedulableNodes stuff
2019-10-09 08:12:56 -04: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
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
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
Michelle Au
95c7b42340
add topology e2es to storage testsuite
...
Change-Id: I1ec4247cef5d477ae2a76136113a4ed5ce30bf44
2019-09-20 12:26:53 -07: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
caf21ac4ff
Merge pull request #82241 from jsafrane/disable-cephfs-test
...
Mark Ceph tests as serial
2019-09-11 10:41:48 -07: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
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