-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
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
test_multiprocessing_spawn.test_processes
flaky tests on Windows
#130733
Comments
test_async_error_callback
test flaky in test_multiprocessing_spawn.test_processes
test_multiprocessing_spawn.test_processes
flaky tests on Windows
The Windows implementation of PipeConnection doesn't support concurrent calls: cpython/Lib/multiprocessing/connection.py Lines 291 to 294 in 7c3692f
(Added by @vstinner in #109244) But multiprocessing's cpython/Lib/multiprocessing/queues.py Lines 392 to 394 in 7c3692f
|
My guess is that we need at least a |
If the underlying write is atomic (which I believe is true, but would have to double-check), then a simple lock around the code that sets and clears |
In #109244, my main need was to be able to cancel an on-going write by calling |
Bug report
Seen on Windows free threading build, but not free threading specific:
https://github.com/python/cpython/actions/runs/13606907022/job/38039459160?pr=130732
This is in Windows specific code. Not yet sure if this is free threading specific.
Also `test_traceback`:
The text was updated successfully, but these errors were encountered: