[issue18969] test suite: enable faulthandler timeout in assert_python

2020-01-07 Thread STINNER Victor
STINNER Victor added the comment: I modified regrtest to use process groups in bpo-38502. It doesn't solve exactly this issue, but it does fix the overall problem of leaking running processes when a test fails for various reasons. For example, when using regrtest in multiprocessing (-jN) mod

[issue18969] test suite: enable faulthandler timeout in assert_python

2013-09-08 Thread STINNER Victor
STINNER Victor added the comment: I see two options: * faulthandler calls killpg(SIGABRT) on timeout to kill child processes (but it should ignore temporary the signal to not kill itself) * use a timeout, but shorter than the global timeout, for child processes Not all tests use script_helper.

[issue18969] test suite: enable faulthandler timeout in assert_python

2013-09-08 Thread Charles-François Natali
New submission from Charles-François Natali: Currently, the test suite, as well as processes spawned by the script_helper.assert_python family, are run with faulthandler enabled. That's great to debug crashes, but it would be even better if those processes were started with faulthandler's timeo