Skip to content

[3.15] gh-151496: Use process groups in TraceBackend in test_dtrace (GH-152039)#152082

Merged
vstinner merged 1 commit into
python:3.15from
miss-islington:backport-1785f4b-3.15
Jun 24, 2026
Merged

[3.15] gh-151496: Use process groups in TraceBackend in test_dtrace (GH-152039)#152082
vstinner merged 1 commit into
python:3.15from
miss-islington:backport-1785f4b-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Run the generic DTrace/SystemTap commands in a new process group and
terminate the whole group on timeout.

This prevents a forked tracer child from keeping stdout/stderr pipes
open after the direct tracer process is killed.
(cherry picked from commit 1785f4b)

Co-authored-by: stratakis cstratak@redhat.com

…ythonGH-152039)

Run the generic DTrace/SystemTap commands in a new process group and
terminate the whole group on timeout.

This prevents a forked tracer child from keeping stdout/stderr pipes
open after the direct tracer process is killed.
(cherry picked from commit 1785f4b35f899704df0be54cba3776906186b2b1)

Co-authored-by: stratakis <cstratak@redhat.com>
@bedevere-app bedevere-app Bot added the tests Tests in the Lib/test dir label Jun 24, 2026
@vstinner vstinner enabled auto-merge (squash) June 24, 2026 13:48
@vstinner vstinner merged commit c93039d into python:3.15 Jun 24, 2026
56 checks passed
@miss-islington miss-islington deleted the backport-1785f4b-3.15 branch June 24, 2026 14:15
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