Issue 30269: [2.7] test_release_task_refs() of test_multiprocessing.py is unstable (original) (raw)

Issue30269

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 test_multiprocessing.py fails randomly. Example: http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%202.7/builds/136/steps/test/logs/stdio [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/test_multiprocessing.py", 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: None (...) 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.
History
Date User Action Args
2022-04-11 14:58:46 admin set github: 74455
2017-05-05 07:40:55 vstinner set status: open -> closedsuperseder: multiprocessing Pool keeps objects (tasks, args, results) alive too longmessages: + resolution: duplicatestage: resolved
2017-05-04 17:19:01 vstinner create