Issue 12041: test_os test_ctypes test_wait3 causes test_wait3 error (original ) (raw )Created on 2011-05-09 18:46 by r.david.murray , last changed 2022-04-11 14:57 by admin . This issue is now closed .
Messages (6)
msg135625 - (view)
Author: R. David Murray (r.david.murray) *
Date: 2011-05-09 18:46
It doesn't matter which order test_os and test_ctypes run in, but if they precede test_wait3 test_wait3 will fail. When the test is immediately re-run it passes. The reason ought to be interesting once we figure it out :) Tested on linux. Doesn't appear to affect other branches. [1/3] test_os [2/3] test_ctypes [3/3] test_wait3 test test_wait3 failed -- Traceback (most recent call last): File "/home/rdmurray/python/p33/Lib/test/fork_wait.py ", line 72, in test_wait self.wait_impl(cpid) File "/home/rdmurray/python/p33/Lib/test/test_wait3.py ", line 30, in wait_impl self.assertEqual(spid, cpid) AssertionError: 14480 != 14487
msg135631 - (view)
Author: Antoine Pitrou (pitrou) *
Date: 2011-05-09 19:12
What seems to happen is that test_ctypes runs a lot of ldconfig processes, and the 10 retries in fork_wait are not enough to consume them all.
msg135633 - (view)
Author: Roundup Robot (python-dev)
Date: 2011-05-09 19:17
New changeset 9e473917cbfb by Antoine Pitrou in branch 'default': Issue #12041 : Make test_wait3 more robust. http://hg.python.org/cpython/rev/9e473917cbfb
msg135636 - (view)
Author: Antoine Pitrou (pitrou) *
Date: 2011-05-09 19:25
This should be fixed, can you confirm? PS: I've opened as one of the root causes.
msg135638 - (view)
Author: Ezio Melotti (ezio.melotti) *
Date: 2011-05-09 20:19
Works for me after the commit.
msg135669 - (view)
Author: R. David Murray (r.david.murray) *
Date: 2011-05-09 23:57
Confirmed working on my box as well, and on my buildbot (where I first noticed it).
History
Date
User
Action
Args
2022-04-11 14:57:17
admin
set
github: 56250
2011-05-09 23:57:53
r.david.murray
set
messages: +
2011-05-09 20:21:11
ezio.melotti
set
status: open -> closedresolution: fixedstage: needs patch -> resolved
2011-05-09 20:19:56
ezio.melotti
set
status: pending -> openresolution: fixed -> (no value)messages: + stage: resolved -> needs patch
2011-05-09 19:25:17
pitrou
set
status: open -> pendingresolution: fixedmessages: + stage: needs patch -> resolved
2011-05-09 19:17:25
python-dev
set
nosy: + python-dev messages: +
2011-05-09 19:16:31
nadeem.vawda
set
nosy: + nadeem.vawda
2011-05-09 19:12:00
pitrou
set
nosy: + pitrou messages: +
2011-05-09 18:48:32
ezio.melotti
set
nosy: + ezio.melotti
2011-05-09 18:46:12
r.david.murray
create