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.

Title: [2.7] test_release_task_refs() of is unstable
Type: Stage: resolved
Components: Tests Versions: Python 2.7
Status: closed Resolution: duplicate
Dependencies: Superseder: multiprocessing Pool keeps objects (tasks, args, results) alive too long
View: 29861
Assigned To: Nosy List: vstinner
Priority: normal Keywords:

Created on 2017-05-04 17:19 by vstinner, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg293003 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-05-04 17:19
[2.7] test_release_task_refs() of fails randomly.


[116/401/1] test_multiprocessing
[77069 refs]
test test_multiprocessing failed -- Traceback (most recent call last):
  File "/srv/buildbot/buildarea/2.7.bolen-ubuntu/build/Lib/test/", line 1293, in test_release_task_refs
    self.assertEqual(set(wr() for wr in refs), {None})
AssertionError: Items in the first set but not the second:
<test.test_multiprocessing.CountedObject object at 0x40f7061c>
<test.test_multiprocessing.CountedObject object at 0x40f70654>
<test.test_multiprocessing.CountedObject object at 0x40f70a7c>
<test.test_multiprocessing.CountedObject object at 0x40f70cac>
<test.test_multiprocessing.CountedObject object at 0x40f709d4>
<test.test_multiprocessing.CountedObject object at 0x40f70734>
<test.test_multiprocessing.CountedObject object at 0x40f70d54>
<test.test_multiprocessing.CountedObject object at 0x40f707a4>
<test.test_multiprocessing.CountedObject object at 0x40f70ea4>
<test.test_multiprocessing.CountedObject object at 0x40f705e4>
Items in the second set but not the first:
Re-running test 'test_multiprocessing' in verbose mode
Ran 167 tests in 20.640s
OK (skipped=12)
msg293060 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-05-05 07:40
Oh, it's just a missed backport of the last bpo-29861 fix, only 2.7 miss a backport.
Date User Action Args
2022-04-11 14:58:46adminsetgithub: 74455
2017-05-05 07:40:55vstinnersetstatus: open -> closed
superseder: multiprocessing Pool keeps objects (tasks, args, results) alive too long
messages: + msg293060

resolution: duplicate
stage: resolved
2017-05-04 17:19:01vstinnercreate