Skip to content
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

csi: fix filesystem write paths in e2e tests #7361

Merged
merged 1 commit into from
Mar 17, 2020
Merged

Conversation

tgross
Copy link
Member

@tgross tgross commented Mar 16, 2020

Fixing a few bugs in the e2e test suite for CSI following testing of #7356.

The writer jobs for the CSI e2e tests will write to locations in the alloc dir and not arbitrary locations at the root. This changeset mounts the CSI volume at a location within the alloc dir, uses the alloc ID as a better-namespaced identifier of the file we write, and corrects the shell used by the busybox container.

This PR doesn't quite bring us to a working state; we'll need to fix #7338, #7360, and #7362 at least.

@tgross tgross added this to the 0.11.0 milestone Mar 16, 2020
@tgross tgross requested a review from langmartin March 16, 2020 19:12
@tgross tgross removed the request for review from langmartin March 16, 2020 19:35
@tgross
Copy link
Member Author

tgross commented Mar 16, 2020

Removing you from review @langmartin until I've got the mount paths issue fixed.

The writer jobs for the CSI e2e tests will write to locations in the
alloc dir and not arbitrary locations at the root. This changeset
mounts the CSI volume at a location within the alloc dir, uses the
alloc ID as a better-namespaced identifier of the file we write, and
corrects the shell used by the busybox container.
@tgross
Copy link
Member Author

tgross commented Mar 17, 2020

I've added a note about #7365 where we can improve this, but this should now fix the problem described here.

Copy link
Contributor

@langmartin langmartin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@tgross tgross merged commit c2143b1 into f-csi-volumes Mar 17, 2020
@tgross tgross deleted the b-csi-e2e-inputs branch March 17, 2020 19:56
tgross added a commit that referenced this pull request Mar 22, 2020
The writer jobs for the CSI e2e tests will write to locations in the
alloc dir and not arbitrary locations at the root. This changeset
mounts the CSI volume at a location within the alloc dir, uses the
alloc ID as a better-namespaced identifier of the file we write, and
corrects the shell used by the busybox container.
tgross added a commit that referenced this pull request Mar 22, 2020
The writer jobs for the CSI e2e tests will write to locations in the
alloc dir and not arbitrary locations at the root. This changeset
mounts the CSI volume at a location within the alloc dir, uses the
alloc ID as a better-namespaced identifier of the file we write, and
corrects the shell used by the busybox container.
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants