Ned Deily <n...@acm.org> added the comment:

With 3.2a4, OS X 10.4 Tiger buildbot failures reported:


======================================================================
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

On my 10.4 system, it seems to be a race condition: sometimes I see all three 
of these failures, 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.  Perhaps there 
is a race condition with cleaning up the p2c pipe from a previous run?

----------
nosy: +ronaldoussoren

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8458>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to