Skip to content

[3.15] gh-160295: Fix race in test_forkserver_sigkill (GH-160296) - #160508

Merged
hugovk merged 1 commit into
python:3.15from
miss-islington:backport-40c8edd-3.15
Oct 25, 2026
Merged

hugovk merged 1 commit into
python:3.15from
miss-islington:backport-40c8edd-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

After a SIGKILL, the forkserver can no longer report the first child's
exit status, so proc.join() returns with exit code 255 while the child
may still be running. Wait for the event instead of checking it right
after join().
(cherry picked from commit 40c8edd)

Co-authored-by: Davi de Jesus [email protected]

After a SIGKILL, the forkserver can no longer report the first child's
exit status, so proc.join() returns with exit code 255 while the child
may still be running. Wait for the event instead of checking it right
after join().
(cherry picked from commit 40c8edd)

Co-authored-by: Davi de Jesus <[email protected]>
@bedevere-app bedevere-app Bot added tests Tests in the Lib/test dir skip news labels Oct 23, 2026
@hugovk
hugovk merged commit d557255 into python:3.15 Oct 25, 2026
57 checks passed
@miss-islington
miss-islington deleted the backport-40c8edd-3.15 branch October 25, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants