gh-156722: Terminate tracing processes gracefully on timeout for test_dtrace - #156753
Conversation
…r test_dtrace Send SIGTERM to the tracing process group before falling back to SIGKILL.
|
cc @vstinner |
vstinner
left a comment
There was a problem hiding this comment.
I'm fine with the idea of sending SIGTERM first, and only call SIGKILL after a timeout. I have a few comments on the actual implementation.
I failed to reproduce #156701 by running test_dtrace manually. I tested on two buildbots (CentOS 10 x86-64 and CentOS 9 ppc64le).
|
Thanks @stratakis for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
|
Thanks @stratakis for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
|
Thanks @stratakis for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15. |
|
Sorry, @stratakis and @vstinner, I could not cleanly backport this to |
|
Sorry, @stratakis and @vstinner, I could not cleanly backport this to |
|
GH-157985 is a backport of this pull request to the 3.15 branch. |
Send SIGTERM to the tracing process group before falling back to SIGKILL.