-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValidateVolumeCapabilities Fails Because It Calls Non-existing Volume #148
Comments
Just to clarify, this happens because your ValidateVolumeCapabilities checks for a valid volume ID? I agree, the test should be using a valid volume. Care to submit a PR which fixes that? If so, please do it against master, it can and will be backported. |
ValidateVolumeCapabilities checks for a non-existing volume ID. The create volume call in the test creates CSI volume: |
7b96bea Merge pull request kubernetes-csi#148 from dobsonj/add-checkpathcmd-to-prow 2d2e03b prow.sh: enable -csi.checkpathcmd option in csi-sanity 09d4151 Merge pull request kubernetes-csi#147 from pohly/mock-testing 74cfbc9 prow.sh: support mock tests 4a3f110 prow.sh: remove obsolete test suppression git-subtree-dir: release-tools git-subtree-split: 7b96bea
…o-prow prow.sh: enable -csi.checkpathcmd option in csi-sanity
Reproduction:
v1.1.0 branch
All tests pass except ValidateVolumeCapabilities which fails for the below reason.
You can see that the volume created for this test was
sanity-controller-validate-053C02BC-18C78554
, but the volume called for the test in the ValidateVolumeCapabilities step issome-vol-id
.For some reason, the original volume-id isn't being used during subsequent steps of the test. My ValidateVolumeCapabilities function is returning an error because the volume_id is invalid.
The text was updated successfully, but these errors were encountered: