➜

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
标题: test_subprocess hangs randomly on AMD64 Windows10 3.x
类型: Stage: resolved
Components: Versions: Python 3.7
process
状态: closed Resolution: fixed
Dependencies: 后续:
分配给: 抄送列表: ned.deily, vstinner
优先级: normal 关键字:

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

Messages (4)
msg302467 - (view) Author: STINNER Victor (vstinner) * (Python committer) 日期: 2017-09-18 16:16
http://buildbot.python.org/all/builders/AMD64%20Windows10%203.x/builds/1242/steps/test/logs/stdio

0:49:36 [401/405] test_osx_env passed
0:49:38 [402/405] test_fractions passed -- running: test_subprocess (31 sec)
0:49:51 [403/405] test_importlib passed -- running: test_subprocess (44 sec)
0:49:53 [404/405] test_pwd skipped -- running: test_subprocess (46 sec)
test_pwd skipped -- No module named 'pwd'

command timed out: 1200 seconds without output running ['Tools\\buildbot\\test.bat', '-x64', '-j2', '--timeout', '900'], attempting to kill
program finished with exit code 1
elapsedTime=4198.024000

See also bpo-30885.
msg302608 - (view) Author: STINNER Victor (vstinner) * (Python committer) 日期: 2017-09-20 12:50
As expected, I'm unable to reproduce the bug on my Windows VM, even using --forever during 1 hour:
python -m test test_subprocess -v --timeout=120 --forever.
msg304306 - (view) Author: Ned Deily (ned.deily) * (Python committer) 日期: 2017-10-13 05:09
I also have seen test_subprocess hangs on both macOS and on Debian Linux on both 3.6 and master, as recently as 3.6.3 and 3.7.0a1 but not with current heads.  After some experimenting and bisecting, I tracked the fix down to the mock os.waitpid fixes for bpo-31178 (git11045c9d8a and gitfae0512e58). So perhaps this issue can be closed.
msg304339 - (view) Author: STINNER Victor (vstinner) * (Python committer) 日期: 2017-10-13 13:55
Ned: "I also have seen test_subprocess hangs on both macOS and on Debian Linux on both 3.6 and master, as recently as 3.6.3 and 3.7.0a1 but not with current heads.  After some experimenting and bisecting, I tracked the fix down to the mock os.waitpid fixes for bpo-31178 (git11045c9d8a and gitfae0512e58). So perhaps this issue can be closed."

Oh, that's a very good news. Thanks!
历史
日期 用户 动作 参数
2022-04-11 14:58:52admin修改github: 75690
2017-10-13 13:55:14vstinner修改状态: open -> closed
resolution: fixed
消息: + msg304339

stage: resolved
2017-10-13 05:09:29ned.deily修改抄送: + ned.deily
消息: + msg304306
2017-09-20 12:50:31vstinner修改消息: + msg302608
2017-09-18 16:16:13vstinner创建