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: test_multiprocessing_spawn hangs randomly
Type: Stage: resolved
Components: Tests Versions: Python 3.7, Python 3.6
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: vstinner
Priority: normal Keywords:

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

Messages (6)
msg300119 - (view) Author: STINNER Victor (vstinner) * (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 (vstinner) * (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 (vstinner) * (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 (vstinner) * (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
msg303775 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-10-05 15:46
New failure: AMD64 FreeBSD 10.x Shared 3.6

http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.x%20Shared%203.6/builds/550/steps/test/logs/stdio
msg318117 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2018-05-29 22:01
I didn't see the failure recently.
History
Date User Action Args
2022-04-11 14:58:50adminsetgithub: 75363
2018-05-29 22:01:34vstinnersetstatus: open -> closed
resolution: out of date
messages: + msg318117

stage: resolved
2017-10-05 15:46:08vstinnersetmessages: + msg303775
2017-09-21 11:22:31vstinnersetmessages: + 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:20vstinnersetmessages: + msg302277
2017-09-15 16:42:46vstinnersettitle: 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:15vstinnerlinkissue31376 superseder
2017-08-10 21:36:15vstinnercreate