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
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
Kubernetes Prow Robot
0ba6ecca72
Merge pull request #77155 from draveness/feature/refactor-util-service
...
refactor: move service related functions in service pkg
2019-07-23 15:52:15 -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
16b65b259d
Merge pull request #80393 from smarterclayton/pod_failure
...
Pod e2e for reading last line can flake if pod runs to completion
2019-07-23 10:01:46 -07:00
Kubernetes Prow Robot
3ea28073a4
Merge pull request #80375 from wongma7/framework-csidriver
...
Add CSIDriver creation factory to e2e framework
2019-07-23 01:28:54 -07:00
Kubernetes Prow Robot
7dc5d1f064
Merge pull request #80377 from davidz627/fix/testAMDefault
...
Change default PVC AccessModes to RWO in test framework
2019-07-22 23:52:55 -07:00
Matthew Wong
5060704a76
Add CSIDriver creation factory to e2e framework
2019-07-22 10:20:02 -07:00
Clayton Coleman
86426b9f60
Pod e2e for reading last line can flake if pod runs to completion
...
Pod completes so fast the current check fails:
```
Jul 18 07:09:24.858: INFO: Running '/usr/bin/kubectl --server=https://api.ci-op-ziq360tf-12fbf.origin-ci-int-aws.dev.rhcloud.com:6443 --kubeconfig=/tmp/admin.kubeconfig run run-log-test --generator=run-pod/v1 --image=docker.io/library/busybox:1.29 --restart=OnFailure --namespace=e2e-tests-kubectl-nxzxx -- sh -c sleep 10; seq 100 | while read i; do echo $i; sleep 0.01; done; echo EOF'
...
Jul 18 07:09:25.116: INFO: Waiting up to 5m0s for pod "run-log-test" in namespace "e2e-tests-kubectl-nxzxx" to be "running and ready"
Jul 18 07:09:25.135: INFO: Pod "run-log-test": Phase="Pending", Reason="", readiness=false. Elapsed: 19.221661ms
...
Jul 18 07:09:57.456: INFO: Pod "run-log-test": Phase="Pending", Reason="", readiness=false. Elapsed: 32.339426605s
Jul 18 07:09:59.477: INFO: Pod "run-log-test": Phase="Succeeded", Reason="", readiness=false. Elapsed: 34.360446811s
...
Jul 18 07:14:24.023: INFO: Pod "run-log-test": Phase="Succeeded", Reason="", readiness=false. Elapsed: 4m58.906706065s
Jul 18 07:14:26.023: INFO: Pod run-log-test failed to be running and ready.
```
The test should be reporting running and ready or succeeded.
2019-07-20 22:09:27 -04:00
Kubernetes Prow Robot
2e6eea5517
Merge pull request #80276 from tallclair/apparmor-upgrade
...
Don't expect pod to stay up during node upgrade
2019-07-20 05:56:54 -07:00
Kubernetes Prow Robot
febc95282a
Merge pull request #80331 from wongma7/framework-panic
...
Surface error returned by LoadConfig
2019-07-19 21:24:54 -07:00
Kubernetes Prow Robot
65b094676f
Merge pull request #78350 from globervinodhn/hostip_hostport_promote
...
Promote existing E2Es for hostport/HostIP resolution to conformance
2019-07-19 14:25:24 -07: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
David Zhu
37aed97d62
Change default PVC AccessModes to RWO in test framework
2019-07-19 13:37:06 -07:00
Kubernetes Prow Robot
de9fb9c61c
Merge pull request #75632 from globervinodhn/correct_testname_backofflimit
...
Correct test name for existing E2E related to backofflimit in jobs
2019-07-19 12:37: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
15ade86935
Merge pull request #79921 from s-ito-ts/remove_unnecessary_check
...
e2e test: Remove unnecessary return value check
2019-07-19 00:19:11 -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
Kubernetes Prow Robot
3aa4fba780
Merge pull request #80153 from ii/promote-api-metadata-return-value
...
Promote API metadata return value
2019-07-18 21:33:23 -07:00
Kubernetes Prow Robot
49f6510d9a
Merge pull request #80277 from draveness/feature/revert-cleanup-critical-pod
...
Revert "feat: cleanup pod critical pod annotations feature"
2019-07-18 19:31:37 -07:00
draveness
c38ae01f8e
feat: move service_util to separated package
2019-07-19 08:32:39 +08:00
Matthew Wong
84b53966fd
Surface error returned by LoadConfig
2019-07-18 16:54:28 -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
draveness
d83526d253
Revert "feat: cleanup pod critical pod annotations feature"
...
This reverts commit b6d41ee5cc .
2019-07-18 13:31:12 +08:00
Kubernetes Prow Robot
7b25fd4846
Merge pull request #80261 from kubernetes/revert-79954-promote-pod-autoscaling
...
Revert "Promote pod autoscaling"
2019-07-17 21:28:35 -07:00
Kubernetes Prow Robot
84937aeaf2
Merge pull request #75629 from globervinodhn/correct_testname_active_deadline
...
Correct test name for existing E2E related to active deadline in jobs
2019-07-17 18:16:12 -07:00
Tim Allclair
0a01ce1afd
Don't expect pod to stay up during node upgrade
2019-07-17 17:31:47 -07:00
Clayton Coleman
ffe52b4100
Revert "Promote pod autoscaling"
2019-07-17 13:21:23 -04:00
globervinodhn
c4e324196f
correct testname for existing E2E for testing backoff limit for jobs
2019-07-17 21:46:31 +05:30
globervinodhn
7c8b81a30b
correct testname for E2E related to active deadline in jobs
2019-07-17 21:42:52 +05:30
Kubernetes Prow Robot
29669a5e21
Merge pull request #74703 from johscheuer/refactor-csi-e2e-tests
...
Add patch method for container images
2019-07-17 02:40:34 -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
Kubernetes Prow Robot
bdb0e51f6e
Merge pull request #79954 from ii/promote-pod-autoscaling
...
Promote pod autoscaling
2019-07-16 17:36:59 -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
9ac3fadbad
Merge pull request #80126 from aojea/redis
...
Use docker official redis images
2019-07-15 21:51:24 -07:00
Kubernetes Prow Robot
d900746422
Merge pull request #80188 from davidz627/fix/migrateTest
...
Fix error shadowing error for createPDWithRetry so failures return actual error
2019-07-15 20:28:13 -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
Kubernetes Prow Robot
d0dc9c84c0
Merge pull request #76328 from pontiyaraja/limitRangeCNF
...
removed flaky watch code and added NewIndexerInformerWatcher for LimitRange test case
2019-07-15 16:33:25 -07:00
David Zhu
0974db4634
Fix error shadowing error for createPDWithRetry so failures return actual error
2019-07-15 16:26:07 -07:00
Kubernetes Prow Robot
b8a10b4e12
Merge pull request #79753 from alejandrox1/framework-metrics
...
Refactored metrics-related functions from framework/metrics_util.go
2019-07-15 14:54:02 -07:00
Caleb Woodbine
91da6fd565
Promote API metadata return value
2019-07-15 21:40:14 +00:00
Johannes M. Scheuermann
302e9d9f6b
Add patch method for container images
...
Return error if registry is missing otherwise the log message could be
overlooked by a developer
2019-07-15 19:05:09 +02:00
Antonio Ojea
048f7a212b
Adjust redis matching strings
2019-07-13 18:37:43 +02:00