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 fails randomly on Windows
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.9, Python 3.8, Python 3.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: miss-islington, pablogsal, vstinner, xtreak
Priority: normal Keywords: patch

Created on 2019-06-01 16:05 by pablogsal, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 16349 merged vstinner, 2019-09-24 10:31
PR 16352 merged miss-islington, 2019-09-24 12:20
PR 16353 merged miss-islington, 2019-09-24 12:20
Messages (6)
msg344180 - (view) Author: Pablo Galindo Salgado (pablogsal) * (Python committer) Date: 2019-06-01 16:05
https://buildbot.python.org/all/#/builders/58/builds/2539
https://buildbot.python.org/all/#/builders/58/builds/2539

Traceback (most recent call last):
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_venv.py", line 327, in test_multiprocessing
    out, err = check_output([envpy, '-c',
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_venv.py", line 42, in check_output
    raise subprocess.CalledProcessError(
subprocess.CalledProcessError: Command '['d:\\temp\\tmp_qt0ywa6\\Scripts\\python_d.exe', '-c', 'from multiprocessing import Pool; print(Pool(1).apply_async("Python".lower).get(3))']' returned non-zero exit status 3221225477.



======================================================================
FAIL: test_mymanager (test.test_multiprocessing_spawn.WithManagerTestMyManager)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\_test_multiprocessing.py", line 2806, in test_mymanager
    self.assertEqual(manager._process.exitcode, 0)
AssertionError: -15 != 0
----------------------------------------------------------------------
msg344188 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) Date: 2019-06-01 16:37
I couldn't find the traceback for test_venv in the buildbot logs. They were skipped and fixed as part of issue35978.
msg344189 - (view) Author: Pablo Galindo Salgado (pablogsal) * (Python committer) Date: 2019-06-01 16:55
Sorry, I posted the same link twice. Here is the test_venv failure:

https://buildbot.python.org/all/#/builders/58/builds/2538
msg353082 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-09-24 12:19
New changeset b0e1ae5f5430433766e023c1a6936aeba0f2b84e by Victor Stinner in branch 'master':
bpo-37123: multiprocessing test_mymanager() accepts SIGTERM (GH-16349)
https://github.com/python/cpython/commit/b0e1ae5f5430433766e023c1a6936aeba0f2b84e
msg353086 - (view) Author: miss-islington (miss-islington) Date: 2019-09-24 12:38
New changeset 46f6c566a888fb637913ef71fed28568180eafb4 by Miss Islington (bot) in branch '3.7':
bpo-37123: multiprocessing test_mymanager() accepts SIGTERM (GH-16349)
https://github.com/python/cpython/commit/46f6c566a888fb637913ef71fed28568180eafb4
msg353088 - (view) Author: miss-islington (miss-islington) Date: 2019-09-24 12:40
New changeset 081641fe520382d48ffead158ab528180f72017d by Miss Islington (bot) in branch '3.8':
bpo-37123: multiprocessing test_mymanager() accepts SIGTERM (GH-16349)
https://github.com/python/cpython/commit/081641fe520382d48ffead158ab528180f72017d
History
Date User Action Args
2022-04-11 14:59:16adminsetgithub: 81304
2019-09-24 12:40:17vstinnersetstatus: open -> closed
stage: patch review -> resolved
resolution: fixed
versions: + Python 3.7, Python 3.9
2019-09-24 12:40:01miss-islingtonsetmessages: + msg353088
2019-09-24 12:38:44miss-islingtonsetnosy: + miss-islington
messages: + msg353086
2019-09-24 12:20:12miss-islingtonsetpull_requests: + pull_request15932
2019-09-24 12:20:00miss-islingtonsetpull_requests: + pull_request15930
2019-09-24 12:19:54vstinnersetnosy: + vstinner
messages: + msg353082
2019-09-24 10:31:18vstinnersetkeywords: + patch
stage: patch review
pull_requests: + pull_request15926
2019-06-01 16:55:05pablogsalsetmessages: + msg344189
2019-06-01 16:37:49xtreaksetversions: + Python 3.8
nosy: + xtreak

messages: + msg344188

components: + Tests
type: behavior
2019-06-01 16:05:31pablogsalcreate