Title: Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS
Type: crash Stage: patch review
Components: Versions: Python 3.9
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.

* : 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:
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