Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
gh-116622: Switch test_stress_delivery_simultaneous from SIGUSR1 to SIGUSR2#123981
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
!buildbot iOS |
bedevere-bot commentedSep 12, 2024
🤖 New build scheduled with the buildbot fleet by@freakboy3742 for commit07175ad 🤖 The command will test the builders whose names match following regular expression: The builders matched are:
|
43303e3
intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@mhsmith for the PR, and@freakboy3742 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
…1 to SIGUSR2 (pythonGH-123981)Use SIGUSR1 instead of SIGUSR2 to improve reliability of signal stress test on Android.(cherry picked from commit43303e3)Co-authored-by: Malcolm Smith <smith@chaquo.com>
GH-123988 is a backport of this pull request to the3.13 branch. |
Uh oh!
There was an error while loading.Please reload this page.
On Android, test_stress_delivery_simultaneous was failing intermittently:
When it fails, it also produces this log message:
The root cause was the same as#116423 – SIGUSR1 being consumed by a pre-existing thread that we have no control over. I looked into killing that thread, but I couldn't find a safe way of doing it (#123982). So the simplest solution is to use a different signal instead.
It looks like this problem only happens when two different signals are sent so close together that one signal arrives while the other signal's C-level handler is still running. The other tests that use SIGUSR1 don't do this, so they don't need to be changed.