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_forkserver: test_mymanager_context() failed on AMD64 FreeBSD Non-Debug 3.x
Type: Stage: resolved
Components: Tests Versions: Python 3.9
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: vstinner
Priority: normal Keywords:

Created on 2019-11-14 12:52 by vstinner, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg356603 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-11-14 12:52
It looks like a race condition in the test. If I recall correctly, there is an hardcoded timeout somewhere (1 second?).

https://buildbot.python.org/all/#/builders/368/builds/72

======================================================================
FAIL: test_mymanager_context (test.test_multiprocessing_forkserver.WithManagerTestMyManager)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-9e36.nondebug/build/Lib/test/_test_multiprocessing.py", line 2807, in test_mymanager_context
    self.assertIn(manager._process.exitcode, (0, -signal.SIGTERM))
AssertionError: None not found in (0, -15)
msg356604 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-11-14 12:54
Build warnings:

Warning -- Dangling processes: {<SpawnProcess name='QueueManager-326' pid=60266 parent=59088 stopped exitcode=-SIGTERM>, <SpawnProcess name='QueueManager-327' pid=60315 parent=59088 started>}
Warning -- Dangling processes: {<SpawnProcess name='QueueManager-326' pid=60266 parent=59088 stopped exitcode=-SIGTERM>, <SpawnProcess name='QueueManager-327' pid=60315 parent=59088 stopped exitcode=-SIGTERM>}
FAIL: test_mymanager_context (test.test_multiprocessing_forkserver.WithManagerTestMyManager)
0:19:02 load avg: 1.07 Re-running failed tests in verbose mode
0:19:02 load avg: 1.07 Re-running test_multiprocessing_forkserver in verbose mode
msg361582 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2020-02-07 10:56
I didn't see this issue recently, I close the issue.
History
Date User Action Args
2022-04-11 14:59:23adminsetgithub: 82977
2020-02-07 10:56:37vstinnersetstatus: open -> closed
resolution: out of date
messages: + msg361582

stage: resolved
2019-11-14 12:54:27vstinnersetmessages: + msg356604
2019-11-14 12:52:54vstinnercreate