Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regrtest -jN --timeout=TIMEOUT should kill child process running longer than TIMEOUT seconds #75067

Closed
vstinner opened this issue Jul 9, 2017 · 2 comments

Comments

@vstinner
Copy link
Member

vstinner commented Jul 9, 2017

BPO 30884
Nosy @vstinner

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2018-09-19.23:57:08.954>
created_at = <Date 2017-07-09.21:11:20.364>
labels = []
title = 'regrtest -jN --timeout=TIMEOUT should kill child process running longer than TIMEOUT seconds'
updated_at = <Date 2018-09-19.23:57:08.954>
user = 'https://github.com/vstinner'

bugs.python.org fields:

activity = <Date 2018-09-19.23:57:08.954>
actor = 'vstinner'
assignee = 'none'
closed = True
closed_date = <Date 2018-09-19.23:57:08.954>
closer = 'vstinner'
components = []
creation = <Date 2017-07-09.21:11:20.364>
creator = 'vstinner'
dependencies = []
files = []
hgrepos = []
issue_num = 30884
keywords = []
message_count = 2.0
messages = ['297998', '297999']
nosy_count = 1.0
nosy_names = ['vstinner']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue30884'
versions = []

@vstinner
Copy link
Member Author

vstinner commented Jul 9, 2017

"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)
...

@vstinner
Copy link
Member Author

vstinner commented Jul 9, 2017

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

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant