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
Fix subpath disruptive tests #113853
Fix subpath disruptive tests #113853
Conversation
Add volumePath parameter to all disruptive checks, so subpath tests can use "/test-volume" and disruptive tests can use "/mnt/volume1" for their respective Pods.
/test disruptive |
@jsafrane: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test pull-kubernetes-e2e-gce-storage-disruptive |
/priority important-soon |
This testsuite appears to be still failing:
|
I wonder if test names are generated dynamically, they aren't skipped in non-alpha clusters and hence these tests are perma failing. @jsafrane should we revert the e2e part of your PR, while we sort this out? |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dims, jsafrane The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold @jsafrane please remove hold when ready |
But... pull-kubernetes-e2e-gce-storage-disruptive does not install an alpha cluster. The CI job misses
Last attempt: kubernetes/test-infra#28008 |
/retest |
/lgtm |
( @dims hope you don't mind cancelling the hold) - All tests are passing now. /hold cancel |
🚢 🚢 🚢 🚢 🚢 🚢 |
/hold cancel |
What type of PR is this?
/kind bug
/kind failing-test
What this PR does / why we need it:
#113596 introduced a new check with hardcoded
/mnt/volume
for a mounted vulume, but subpath tests use/test-volume
in their pods. AddvolumePath
parameter to all disruptive checks, so subpath and disruptive tests can use their own paths to test volumes in their respective Pods.Which issue(s) this PR fixes:
Fixes #113849
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: