[Python-Dev] Stable buildbots

Bill Janssen janssen at parc.com
Tue Nov 16 17:30:44 CET 2010


Ned Deily <nad at acm.org> wrote:

> In article <30929.1289879830 at parc.com>, Bill Janssen <janssen at parc.com> 
> wrote:
> 
> > Both the Tiger buildbots are suddenly failing 3.x on test_cmd_line.
> > Looking at the changes since the last success, I can't see anything
> > which would obviously affect that...  Any suspects?
> 
> It appears to be a duplicate of Issue8458.  Playing with it again, it 
> seems to be a race condition: sometimes I see all three failures you 
> reported, sometimes just one, sometimes none.  Again, only on 10.4 
> (Tiger), not 10.5 or 10.6.  But the 10.4 machine I'm using is by far the 
> slowest of the three so it is possible that could be a factor.

Good thought.  It's also the slowest of my buildbots -- dual 1GHz PPC.

> Perhaps a race condition with cleaning up the p2c pipe from a previous run?
> 
> > Here's what's failing:
> > 
> > ======================================================================
> > ERROR: test_run_code (test.test_cmd_line.CmdLineTest)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File 
> >   "/Users/buildbot/buildarea/3.x.parc-tiger-1/build/Lib/test/test_cmd_line.py"
> >   , line 95, in test_run_code
> >     assert_python_failure('-c')
> >   File 
> >   "/Users/buildbot/buildarea/3.x.parc-tiger-1/build/Lib/test/script_helper.py"
> >   , line 55, in assert_python_failure
> >     return _assert_python(False, *args, **env_vars)
> >   File 
> >   "/Users/buildbot/buildarea/3.x.parc-tiger-1/build/Lib/test/script_helper.py"
> >   , line 29, in _assert_python
> >     env=env)
> >   File "/Users/buildbot/buildarea/3.x.parc-tiger-1/build/Lib/subprocess.py", 
> >   line 683, in __init__
> >     self.stdin = io.open(p2cwrite, 'wb', bufsize)
> > OSError: [Errno 9] Bad file descriptor
> > 
> > ======================================================================
> > ERROR: test_run_module (test.test_cmd_line.CmdLineTest)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File 
> >   "/Users/buildbot/buildarea/3.x.parc-tiger-1/build/Lib/test/test_cmd_line.py"
> >   , line 72, in test_run_module
> >     assert_python_failure('-m')
> >   File 
> >   "/Users/buildbot/buildarea/3.x.parc-tiger-1/build/Lib/test/script_helper.py"
> >   , line 55, in assert_python_failure
> >     return _assert_python(False, *args, **env_vars)
> >   File 
> >   "/Users/buildbot/buildarea/3.x.parc-tiger-1/build/Lib/test/script_helper.py"
> >   , line 29, in _assert_python
> >     env=env)
> >   File "/Users/buildbot/buildarea/3.x.parc-tiger-1/build/Lib/subprocess.py", 
> >   line 683, in __init__
> >     self.stdin = io.open(p2cwrite, 'wb', bufsize)
> > OSError: [Errno 9] Bad file descriptor
> > 
> > ======================================================================
> > ERROR: test_version (test.test_cmd_line.CmdLineTest)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File 
> >   "/Users/buildbot/buildarea/3.x.parc-tiger-1/build/Lib/test/test_cmd_line.py"
> >   , line 48, in test_version
> >     rc, out, err = assert_python_ok('-V')
> >   File 
> >   "/Users/buildbot/buildarea/3.x.parc-tiger-1/build/Lib/test/script_helper.py"
> >   , line 48, in assert_python_ok
> >     return _assert_python(True, *args, **env_vars)
> >   File 
> >   "/Users/buildbot/buildarea/3.x.parc-tiger-1/build/Lib/test/script_helper.py"
> >   , line 29, in _assert_python
> >     env=env)
> >   File "/Users/buildbot/buildarea/3.x.parc-tiger-1/build/Lib/subprocess.py", 
> >   line 683, in __init__
> >     self.stdin = io.open(p2cwrite, 'wb', bufsize)
> > OSError: [Errno 9] Bad file descriptor
> 
> -- 
>  Ned Deily,
>  nad at acm.org
> 
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/bill%40janssen.org


More information about the Python-Dev mailing list