On Thu, 7 Feb 2008 09:08:26 -0500, "A.M. Kuchling"
On Wed, Feb 06, 2008 at 08:34:21PM -0500, Raymond Hettinger wrote:
Also, test_docxmlrpc hasn't been happy. One of the tests isn't getting the exact response string it expected. Any ideas what is causing this?
My fault; it should be fixed now.
There is also a recurring failure in SocketServer.py returning "ValueError: list.remove(x): x not in list" during attempts to remove a PID from the list of active_children. Any ideas about what is causing this?
I couldn't find a current build that was showing this error, but searching python.org turned up one that had been indexed:
http://www.python.org/dev/buildbot/trunk/ppc%20Debian%20unstable%20trunk/bui...
I don't see what could be causing this failure, though; the test isn't starting any subprocesses outside of what the ForkingServer class does. I don't see how this could be an artifact of the buildbot environment, either.
It would be easy to add an 'if pid in self.active_children' to the code, but I don't want to do that without understanding the problem.
You could instrument fork() so that it logs the call stack and the child PID and instrument ForkingServer so that it reports which PID it is about to try to remove from active_children. Perhaps this will point to the problem. Jean-Paul