classification
Title: Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS
Type: crash Stage: patch review
Components: Versions: Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: nanjekyejoannah, vstinner
Priority: normal Keywords: patch

Created on 2019-07-09 19:34 by nanjekyejoannah, last changed 2019-07-10 12:16 by nanjekyejoannah.

Pull Requests
URL Status Linked Edit
PR 14679 open nanjekyejoannah, 2019-07-10 12:16
Messages (1)
msg347576 - (view) Author: Joannah Nanjekye (nanjekyejoannah) * (Python triager) Date: 2019-07-09 19:34
Reported by Victor Stinner.

regrtest has a --timeout parameter which calls
faulthandler.dump_traceback_later(timeout), but sometimes it's not
enough to kill a test. regrtest should kill a worker process if it
runs longer than --timeout seconds.

* https://bugs.python.org/issue37313 : test_concurrent_futures ran for
25 hours whereas regrtest was run using --timeout 900
* regrtest ran for 4 days whereas it was run with --timeout=900:
https://mail.python.org/pipermail/python-buildbots/2019-June/000285.html
History
Date User Action Args
2019-07-10 12:16:31nanjekyejoannahsetkeywords: + patch
stage: needs patch -> patch review
pull_requests: + pull_request14491
2019-07-09 19:34:22nanjekyejoannahcreate