Antonio Ojea
10ef878e08
Add IPv6 support to e2e GlusterDynamicProvisioner
2019-08-07 09:47:36 +02:00
Masaki Kimura
2306d2ff31
Refactor e2e tests
2019-08-01 20:09:47 +00:00
Jan Safranek
d79b7c754f
Add in-line filesystem volumes to MakeSecPod
2019-08-01 20:04:11 +00:00
Masaki Kimura
f1d2d9d670
Move disruptive tests to testsuites and add ones for block volume
2019-08-01 20:04:10 +00:00
Kubernetes Prow Robot
e40cfd984d
Merge pull request #80378 from davidz627/fix/gceAM
...
Add a field 'RequiredAccessModes' to the driver info object that is propagated to pvc creation
2019-08-01 08:16:42 -07:00
skarthiksrinivas
73271c1970
Provision vSphere volume as per selectedNode
2019-07-28 22:03:02 -07:00
Kubernetes Prow Robot
a300104f0a
Merge pull request #80578 from tsmetana/revert-pr78697
...
Revert "e2e: Skip multi-node PV test when pods scheduled on the same node
2019-07-26 16:52:10 -07:00
David Zhu
0313dc217e
Add a field 'RequiredAccessModes' to the driver info object that is propagated to pvc creation
2019-07-26 15:20:47 -07:00
Kubernetes Prow Robot
fc4cbf743a
Merge pull request #80543 from davidz627/fix/makePV
...
Document and improve defaulting for MakePersistentVolume, dedupe some manual PV creations
2019-07-26 03:24:25 -07:00
Kubernetes Prow Robot
a3750501b0
Merge pull request #79983 from pohly/persistent-and-ephemeral-csi-volumes
...
persistent and ephemeral csi volumes
2019-07-25 16:01:54 -07:00
David Zhu
862ba3fc05
Document and improve defaulting for MakePersistentVolume, dedupe some manual PV creations
2019-07-25 10:57:29 -07:00
Patrick Ohly
4bc5d065c9
updated Bazel files
2019-07-25 16:45:46 +02:00
Patrick Ohly
608b0e7097
e2e storage: csi-mock tests for ephemeral inline volumes
...
The PodInfo tests can be extended to also cover the new
csi.storage.k8s.io/ephemeral flag. However, the presence of that flag
depends on whether inline volume support is enabled, so tests that run
with and without the feature have to detect that at runtime.
Other tests have a feature tag and thus can assume that they only run
when that feature is enabled. However, we need a newer csi-mock driver
before we can actually ask it to publish an ephemeral inline volume.
2019-07-25 16:45:46 +02:00
Patrick Ohly
555ff7ef10
CSI: allow drivers that can handle persistent and ephemeral volumes
...
The conceptual change is that the mode in which a volume gets handled
is derived from it's spec, not from the ability of the driver. In
practice, that is already how the code worked because it didn't
actually look at CSIDriver.Spec.Mode at all.
Therefore the code change itself is mostly just renaming "driver mode"
to "volume mode". In some places (CanDeviceMount, CanAttach) the
feature check that was used elsewhere seemed to be missing. Now their
code path for ephemeral volumes are also only entered if that feature
is enabled.
The sanity check whether a CSI driver is being used correctly still
needs to be implemented.
Related-to: https://github.com/kubernetes/kubernetes/issues/79624
2019-07-25 16:45:46 +02:00
Patrick Ohly
be9f9091ca
e2e: remove unused ShortName from external driver definition
...
The name was meant to be used as shorter replacement for potentially
long CSI driver names, but was never used in practice.
2019-07-25 16:45:46 +02:00
Tomas Smetana
4f3e31e978
Revert "e2e: Skip multi-node PV test when pods scheduled on the same node"
...
This reverts commit d4f43e8e19 .
2019-07-25 13:32:39 +02:00
Kubernetes Prow Robot
a0a0146419
Merge pull request #80382 from davidz627/fix/refactor
...
Dedupe all Make PVC API object functions into the one MakePersistentVolumeClaim to rule them all
2019-07-25 01:37:53 -07:00
Kubernetes Prow Robot
60c2d44129
Merge pull request #79552 from wongma7/windows-ebs
...
Add support for AWS EBS on windows
2019-07-23 17:14:28 -07:00
David Zhu
e194cf24cc
Dedupe all Make PVC API object functions into the one MakePersistentVolumeClaim to rule them all
2019-07-23 12:59:00 -07:00
Matthew Wong
02530b9ffb
Enable windows ntfs e2e storage tests for aws driver
2019-07-23 19:28:14 +00:00
Kubernetes Prow Robot
b1bea169f5
Merge pull request #78000 from mkimuram/issue/77999
...
Move volume_expand tests to storage e2e testsuites
2019-07-19 14:25:11 -07:00
Kubernetes Prow Robot
b22cbcab75
Merge pull request #80327 from bparees/params
...
fix parameterization of test error message
2019-07-19 03:27:12 -07:00
Kubernetes Prow Robot
c45b77541b
Merge pull request #80329 from BenTheElder/less-sudo
...
remove sudo from storage tests
2019-07-18 22:55:11 -07:00
Ben Parees
0feca84ea5
fix parameterization of test error message
2019-07-18 18:28:59 -04:00
Jiatong Wang
e24a962821
Fix error log issue, remove OrDie suffix in methods naming
2019-07-17 23:18:21 -07:00
Jiatong Wang
0b37152f17
Refactor and Move node related methods to framework/node package
...
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com >
2019-07-17 22:54:15 -07:00
Kubernetes Prow Robot
835552ecb6
Merge pull request #80191 from davidz627/fix/mountStage
...
Add passthrough for MountOptions for NodeStageVolume for CSI
2019-07-17 00:42:33 -07:00
David Zhu
b6a38d7e2b
Add supportedMountOptions for GCE PD CSI Driver tests
2019-07-16 16:17:54 -07:00
Kubernetes Prow Robot
77a7366486
Merge pull request #79945 from misterikkit/vsphere-e2e
...
More consistent env var handling in vsphere e2e test
2019-07-16 15:24:18 -07:00
Benjamin Elder
21aedffe0d
remove sudo from storage tests
2019-07-16 11:38:18 -07:00
Kubernetes Prow Robot
40edce1235
Merge pull request #79730 from jsafrane/add-block-tests
...
Consolidate block and filesystem tests
2019-07-15 20:27:23 -07:00
David Zhu
2820c1d8c8
Add davidz627 (David Zhu) to Approvers for OperationExecutor and GCE PD
2019-07-11 13:14:31 -07:00
Masaki Kimura
ea4f4c8432
Move volume_expand tests to storage e2e testsuites
2019-07-11 18:49:49 +00:00
draveness
d3158b2c71
feat: use framework.ExpectNotEqual in e2e test
2019-07-10 21:36:26 +08:00
Jan Safranek
a9e838f2e9
Remove redundant provisioning tests
2019-07-10 15:27:00 +02:00
Jan Safranek
b5a800e765
Remove redundant tests
...
We check that block / filesystem volume is writable in volumes.go
2019-07-10 15:17:09 +02:00
Jan Safranek
5fc9e23b50
Add block volume support to InjectContent / TestVolumeClient
2019-07-10 15:17:09 +02:00
Jan Safranek
a2c9052716
Refactor TestVolumeClient and InjectContent into common function
...
These two functions do almost the same thing - one writes data to volumes
in a pod, the second reads them. Let them share the code.
2019-07-10 15:17:09 +02:00
Jonathan Basseri
ceb31f747b
More consistent env var handling in vsphere e2e test
...
This adds a useful error message when VSPHERE_WORKING_DIR is not set,
and replaces some explicit checks with the GetAndExpectStringEnvVar
helper.
2019-07-09 12:44:20 -07:00
Kubernetes Prow Robot
4b5dc0a06d
Merge pull request #78697 from tsmetana/fix-multinode-e2e
...
e2e: Skip multi-node PV test when pods scheduled on the same node
2019-07-09 03:10:16 -07:00
Kubernetes Prow Robot
a61006bbc4
Merge pull request #75593 from pohly/e2e-no-global-flags
...
e2e: avoid mandatory command line flags
2019-07-09 03:10:03 -07:00
Kubernetes Prow Robot
6d69cd1895
Merge pull request #75895 from msau42/enable-multipod-e2es
...
enable multipod e2es for intree volumes
2019-07-08 20:30:01 -07:00
Tomas Smetana
d4f43e8e19
e2e: Skip multi-node PV test when pods scheduled on the same node
2019-07-04 17:15:43 +02:00
Patrick Ohly
1822895ce2
update Bazel
2019-07-04 17:15:14 +02:00
Patrick Ohly
b86a007057
e2e: avoid mandatory command line flags
...
Tests should never directly add to the global command line, because
some users of the tests might not want them there. For example,
options might only get set directly from a config file.
To achieve that, e2e/framework/config, e2e/framework/viperconfig, and
e2e/framework/test_context.go avoid using the global flag set and
instead expect to be told by the caller which flag set to use. Tests
that called flag directly either get updated or obsolete flags get
removed.
The exception is framework.HandleFlags, which as before directly
implements global command line handling.
This is a breaking change for test suites which do not use that
function (and only those): they now need to ensure that they copy
individual flags from tests. Because the RegisterCommonFlags prototype
has changed, test suite authors will notice due to the resulting
compilation errors.
2019-07-04 17:15:14 +02:00
draveness
4c2e77a53e
feat: use framework.ExpectEqual in storage e2e test
2019-07-04 22:24:29 +08:00
Jan Safranek
2a08bd64af
Add public functions to define CSI external tests
...
3rd party test suites that want to include external CSI tests may not use
"flags" for cmdline parsing.
2019-07-02 12:01:55 +02:00
Kubernetes Prow Robot
cdddcf9b48
Merge pull request #71170 from atlassian/rand-cleanup2
...
Cleanup math/rand package usage
2019-07-01 21:33:08 -07:00
Kubernetes Prow Robot
ab618571b1
Merge pull request #78291 from goodluckbot/refactor-cleanup-e2e-statefulset-util
...
Refactor and cleanup for statefulset_utils.go
2019-06-25 18:15:26 -07:00
Fabio Bertinatto
33c8bacd41
Update nodeinfomanager to store volume limits in CSINode
2019-06-25 16:30:54 +02:00