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.

classification
Title: regrtest -jN --timeout=TIMEOUT should kill child process running longer than TIMEOUT seconds
Type: Stage: resolved
Components: Versions:
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: vstinner
Priority: normal Keywords:

Created on 2017-07-09 21:11 by vstinner, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg297998 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-07-09 21:11
"regrtest -jN --timeout=TIMEOUT" should kill a child process if it runs longer than TIMEOUT seconds. Maybe not exactly TIMEOUT, but TIMEOUT x 1.2?

Example:

http://buildbot.python.org/all/builders/AMD64%20Windows8.1%20Refleaks%203.x/builds/44/steps/test/logs/stdio

running: test_mmap (3165 sec), test_subprocess (8003 sec)
3:03:20 [405/406/1] test_mmap passed (3186 sec) -- running: test_subprocess (8026 sec)
beginning 6 repetitions
123456
......
running: test_subprocess (8056 sec)
running: test_subprocess (8086 sec)
running: test_subprocess (8116 sec)
running: test_subprocess (8146 sec)
running: test_subprocess (8176 sec)
...
running: test_subprocess (307672 sec)
running: test_subprocess (307702 sec)
running: test_subprocess (307732 sec)
running: test_subprocess (307762 sec)
...
msg297999 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-07-09 21:12
regrtest command line of this buildbot build, it uses --timeout 11700:

D:\buildarea\3.x.ware-win81-release.refleak\build>"D:\buildarea\3.x.ware-win81-release.refleak\build\PCbuild\amd64\python_d.exe"  -u -Wd -E -bb -m test  -uall -rwW --slowest --timeout 1200 --fail-env-changed -j1 -j2 -R 3:3:refleaks.log -u-cpu -j4 --timeout 11700
History
Date User Action Args
2022-04-11 14:58:48adminsetgithub: 75067
2018-09-19 23:57:08vstinnersetstatus: open -> closed
resolution: out of date
stage: resolved
2017-07-09 21:12:38vstinnersetmessages: + msg297999
2017-07-09 21:11:20vstinnercreate