classification
Title: test_multiprocessing_spawn hangs randomly
Type: Stage:
Components: Tests Versions: Python 3.7, Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: haypo
Priority: normal Keywords:

Created on 2017-08-10 21:36 by haypo, last changed 2017-09-21 11:22 by haypo.

Messages (4)
msg300119 - (view) Author: STINNER Victor (haypo) * (Python committer) Date: 2017-08-10 21:36
http://buildbot.python.org/all/builders/x86%20Windows7%203.6/builds/570/steps/test/logs/stdio

1:21:25 [402/405] test_frame passed -- running: test_multiprocessing_spawn (2805 sec)
1:21:32 [403/405] test_hash passed -- running: test_multiprocessing_spawn (2811 sec)
1:21:33 [404/405] test_raise passed -- running: test_multiprocessing_spawn (2812 sec)

command timed out: 1200 seconds without output running ['Tools\\buildbot\\test.bat', '-j2', '--timeout', '900'], attempting to kill
program finished with exit code 1
elapsedTime=6104.779000
msg302276 - (view) Author: STINNER Victor (haypo) * (Python committer) Date: 2017-09-15 16:42
bpo-31376 has been marked as duplicate of this issue:

http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.x%20Shared%203.x/builds/818/steps/test/logs/stdio

0:08:27 load avg: 2.79 [403/407] test_strtod passed -- running: test_multiprocessing_spawn (244 sec)
0:08:27 load avg: 2.79 [404/407] test_syslog passed -- running: test_multiprocessing_spawn (244 sec)
0:08:28 load avg: 2.79 [405/407] test_pickle passed -- running: test_multiprocessing_spawn (246 sec)
0:08:52 load avg: 1.99 [406/407] test_io passed (49 sec) -- running: test_multiprocessing_spawn (269 sec)

command timed out: 1200 seconds without output running ['make', 'buildbottest', 'TESTOPTS=-j2 -j4', 'TESTPYTHONOPTS=', 'TESTTIMEOUT=900'], attempting to kill
process killed by signal 9
program finished with exit code -1
elapsedTime=1733.500843
msg302277 - (view) Author: STINNER Victor (haypo) * (Python committer) Date: 2017-09-15 16:43
Maybe my work on fixing all "dangling threads and processes" will help to prevent such random hang? See bpo-31234.
msg302683 - (view) Author: STINNER Victor (haypo) * (Python committer) Date: 2017-09-21 11:22
Same issue on PPC64LE Fedora 3.x:

http://buildbot.python.org/all/builders/PPC64LE%20Fedora%203.x/builds/1406/steps/test/logs/stdio
History
Date User Action Args
2017-09-21 11:22:31hayposetmessages: + msg302683
title: test_multiprocessing_spawn hangs randomly on x86 Windows7 3.6 and AMD64 FreeBSD 10.x Shared 3.x -> test_multiprocessing_spawn hangs randomly
2017-09-15 16:43:20hayposetmessages: + msg302277
2017-09-15 16:42:46hayposettitle: test_multiprocessing_spawn hangs randomly on x86 Windows7 3.6 -> test_multiprocessing_spawn hangs randomly on x86 Windows7 3.6 and AMD64 FreeBSD 10.x Shared 3.x
messages: + msg302276
versions: + Python 3.7
2017-09-15 16:42:15haypolinkissue31376 superseder
2017-08-10 21:36:15haypocreate