Skip to content

gh-151496: Use process groups in TraceBackend in test_dtrace#152039

Open
stratakis wants to merge 1 commit into
python:mainfrom
stratakis:more-dtrace-races
Open

gh-151496: Use process groups in TraceBackend in test_dtrace#152039
stratakis wants to merge 1 commit into
python:mainfrom
stratakis:more-dtrace-races

Conversation

@stratakis

@stratakis stratakis 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.

Followup to #151512

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.
@stratakis

Copy link
Copy Markdown
Contributor Author

cc @vstinner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant