STOR-3090: Add CSI storage test for pod delete after host umount of mounted volume - #31488
STOR-3090: Add CSI storage test for pod delete after host umount of mounted volume#31488radeore wants to merge 1 commit into
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
|
@radeore: This pull request references STOR-3090 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the sub-task to target the "5.0.0" version, but no target version was set. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
WalkthroughAdds an optional OpenShift CSI test suite. The suite dynamically provisions a volume, mounts it in a pod, unmounts it on the host, removes the volume directory, and verifies successful pod deletion. ChangesCSI pod deletion validation
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant StorageFramework
participant KubernetesAPI
participant HostExecution
StorageFramework->>KubernetesAPI: Create volume and pod
KubernetesAPI-->>StorageFramework: Return bound PV and pod node
StorageFramework->>HostExecution: Verify CSI mount path
StorageFramework->>HostExecution: Unmount and remove volume directory
HostExecution-->>StorageFramework: Confirm path is not mounted
StorageFramework->>KubernetesAPI: Delete pod
KubernetesAPI-->>StorageFramework: Complete pod deletion
Suggested reviewers: Caution Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional.
❌ Failed checks (2 errors)
✅ Passed checks (13 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: radeore The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Scheduling required tests: |
|
Risk analysis has seen new tests most likely introduced by this PR. New Test Risks for sha: ccd7e34
New tests seen in this PR at sha: ccd7e34
|
|
/retest |
ccd7e34 to
31cba00
Compare
|
Scheduling required tests: |
|
@radeore: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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-sigs/prow repository. I understand the commands that are listed here. |
Summary
OpenShift CSI extended - Pod delete after umount(migrated from openshift tests private OCP-66187).PodDeleteAfterUmountTestbool to OpenShiftCSIDriverConfig (default false).Test plan
make openshift-tests./openshift-tests run openshift/csi --dry-run | grep 'Pod delete after umount'Test run logs:
Summary by CodeRabbit