-
Notifications
You must be signed in to change notification settings - Fork 52
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
macOS: task input files sporadically fail to mount (zero length) #461
Comments
@jdidion is this on macOS? Adjusting this setting may help if so #145 (comment) -- I am still looking into it |
Yes it is macOS. Which setting exactly? TMPDIR? |
@jdidion In this direct comment link #145 (comment) @tomkinsc reported that disabling this obscure Docker for Mac setting "Use gRPC FUSE for file sharing" improved things for him (though it may not have been exactly the same problem). The miniwdl unit test suite (which starts up hundreds of containers over various cases) reliably fails on my MacBook due to this problem, even though it's intermittent for any one. I have been meaning to fiddle with that gRPC setting to see if it helps, but haven't gotten to it yet. |
Got it - I'll try this out when I'm back to work next week. |
I can confirm that disabling this setting, Docker for Mac > Preferences > Experimental Features > Use gRPC for file sharing makes the miniwdl unit test suite work well on my MacBook, while it's busted with that setting on as default.
One can google a variety of issues people have opened with either alternative of that setting, so I suppose we just have to make do with this pitfall for the time being =/ |
Chiming in that I hit this too, and using the "legacy osxfs files sharing" fixed it for me too. |
I ran into this issue using Toil with MiniWDL's Docker task runner. Changing the Docker Desktop file sharing implementation from "gRPC FUSE" to "VirtioFS" seems to have solved it. |
The attached workflow returns the correct output sometimes and other times does not. In the failure case it is because the input file is not correctly staged in the task's
work/
directory - the staged file is empty rather than containing the correct content. When I set--copy-input-files
it always works correctly.The exact command line I use is:
miniwdl run --error-json --copy-input-files -i input.json -p submodule test.wdl
and input.json is:
failing_test.zip
The text was updated successfully, but these errors were encountered: