-
Notifications
You must be signed in to change notification settings - Fork 9
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
arg_readers Process tests broken on windows #20
Comments
Bump. Should this be considered an issue with Tar.jl mis-using the package, or with ArgTools mis-handling the difference between streams and files? This is causing CI reliability problems, so we may need to hear from the designers here on what they intended. |
Could probably add code to drain the process. Would that fix the problem? |
Of course, if the operation in question needs to drain the input in order not to error, then it should do that. Which suggests changing Tar instead. |
Yes, those are likely the two main possible courses of action. I think draining the output is the most robust solution for Cmd, in isolation, but then may raise questions about how to handle Process or Pipe, which suggests possibly Tar should be changed instead. (and doesn't rule out just making both changes either) |
bump |
I think this PR JuliaIO/Tar.jl#114 might fix this issue but it's hard to tell since I can't reproduce the problem in Tar.jl even using Julia nightly. |
It should be tested on JuliaLang/julia#39544, not master |
Will that fail on all platforms or do I need to test on a specific one? |
Should be fixed on the latest Tar.jl |
When run properly (for example, JuliaLang/julia#39544) the tests on Windows fail, as they neglect to properly drain the process output pipe, as is mandatory for correct and successful operation on all operating systems (though this condition is currently only tested for and enforced on Windows, unless we merge JuliaLang/julia#39574).
An example test failure may either look like the following, or simply will deadlock the process until CI time expires:
The text was updated successfully, but these errors were encountered: