-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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_asyncio.test_unix_events: test_fork_signal_handling() fails randomly on Linux/macOS #109582
Comments
It also fails on s390x RHEL8 Refleaks 3.x: https://buildbot.python.org/all/#/builders/75/builds/889 |
Fail on PPC64LE RHEL8 LTO 3.x: https://buildbot.python.org/all/#/builders/361/builds/4075 |
Failure on macOS CI job https://github.com/python/cpython/actions/runs/6246535542/job/16957333304?pr=109603 |
Could be an easy fix: #109605 On first glance I don't see other tests with the same pattern so I only fixed the one. |
Sometimes the child_handled event was missing because either the child quits before it gets a chance to handle the signal, or the parent asserts before the event notification is delivered via IPC. Synchronize explicitly to avoid this.
…honGH-109605) Sometimes the child_handled event was missing because either the child quits before it gets a chance to handle the signal, or the parent asserts before the event notification is delivered via IPC. Synchronize explicitly to avoid this. (cherry picked from commit 608c1f3) Co-authored-by: Davide Rizzo <[email protected]>
…hon#109605) Sometimes the child_handled event was missing because either the child quits before it gets a chance to handle the signal, or the parent asserts before the event notification is delivered via IPC. Synchronize explicitly to avoid this.
…-109605) (#109695) gh-109582: test_fork_signal_handling should wait for event (GH-109605) Sometimes the child_handled event was missing because either the child quits before it gets a chance to handle the signal, or the parent asserts before the event notification is delivered via IPC. Synchronize explicitly to avoid this. (cherry picked from commit 608c1f3) Co-authored-by: Davide Rizzo <[email protected]>
…hon#109605) Sometimes the child_handled event was missing because either the child quits before it gets a chance to handle the signal, or the parent asserts before the event notification is delivered via IPC. Synchronize explicitly to avoid this.
build: https://github.com/python/cpython/actions/runs/6237986497/job/16932828971
Passed when re-run:
Linked PRs
The text was updated successfully, but these errors were encountered: