-
-
Notifications
You must be signed in to change notification settings - Fork 626
-
-
Notifications
You must be signed in to change notification settings - Fork 626
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
IsolatedProcessTest::test_integration_concat_with_snapshots_stdout hangs ~1/5 the time #6242
Comments
Some details: The threads in play:
I can't determine anything immediately useful except that probably epoll_wait has missed an io event from the cat process. |
I can't reproduce this on OSX... Will give it a go on a Linux machine when I have a chance... |
Noting this is just as frequent on linux CI from an informal survey of PRs with ! |
This is hitting CI quite frequently so I'll try to dig a bit more here presently. |
Notes:
|
alexcrichton/tokio-process#42 may be related? That but describes deadlock when running multiple processes, I haven't looked at it in enough detail to know whether it could also trigger for single invocations. Have you seen this in the rust shard, or only via python? |
Mm... good find. |
Previously we hand-rolled collection of process output streams; we now leverage tokio-process to do this for us. Fixes pantsbuild#6242
Only via the |
Previously we hand-rolled collection of process output streams; we now leverage tokio-process to do this for us. Fixes #6242
Previously streams were combined incorrectly, leading to deadlock whenever a process exit event preceeded end of stream events. We no longer assume stream shutdown events preceed exit events eliminating deadlock. Closes pantsbuild#6089 Fixes pantsbuild#6242
Previously we hand-rolled collection of process output streams; we now leverage tokio-process to do this for us. Fixes pantsbuild#6242
Previously streams were combined incorrectly, leading to deadlock whenever a process exit event preceeded end of stream events. We no longer assume stream shutdown events preceed exit events eliminating deadlock. Closes pantsbuild#6089 Fixes pantsbuild#6242
When I run
./pants test.pytest --no-timeouts --cache-ignore tests/python/pants_test/engine:isolated_process -- -ktest_integration_concat_with_snapshots_stdout -v
repeatedly, I get a hang ~1/10 the time.The text was updated successfully, but these errors were encountered: