This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: regrtest: re-run failed tests in subprocesses
Type: Stage:
Components: Tests Versions: Python 3.9
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: vstinner
Priority: normal Keywords:

Created on 2019-07-29 23:44 by vstinner, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg348700 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-07-29 23:44
When using python3 -m test -w, failed tests are re-run in the regrtest main process, even if -jN option is used. If a test does crash, regrtest doesn't remove its temporary directory which can lead to random test failures like bpo-37359.

At least when using -jN, I suggest to run tests in a subprocess to ensure that regrtest is able to cleanup its temporary directory, even if a test does crash.
Date User Action Args
2022-04-11 14:59:18adminsetgithub: 81892
2019-07-29 23:45:04vstinnersettitle: regrtest: re-run tests in subprocesses -> regrtest: re-run failed tests in subprocesses
2019-07-29 23:44:36vstinnercreate