Skip to content

[3.14] gh-160295: Fix race in test_forkserver_sigkill (GH-160296) - #160509

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

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

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 davidejesus.log@proton.me

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 <davidejesus.log@proton.me>
@bedevere-app bedevere-app Bot added the tests Tests in the Lib/test dir label Oct 23, 2026
@hugovk
hugovk merged commit 3bb7cbf into python:3.14 Oct 25, 2026
53 checks passed
@miss-islington
miss-islington deleted the backport-40c8edd-3.14 branch October 25, 2026 14:11
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