[issue12320] test_packaging failures

STINNER Victor report at bugs.python.org
Fri Jun 17 02:15:08 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

See also:
http://www.python.org/dev/buildbot/all/builders/x86%20OpenIndiana%203.x/builds/1516
http://www.python.org/dev/buildbot/all/builders/sparc%20solaris10%20gcc%203.x/builds/3276

There are many OSError(22, 'Invalid argument: ...') errors on rmdir(). Example:

======================================================================
ERROR: test_cfg_to_args (packaging.tests.test_util.UtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home2/buildbot/slave/3.x.loewis-sun/build/Lib/packaging/tests/test_util.py", line 147, in tearDown
    super(UtilTestCase, self).tearDown()
  File "/home2/buildbot/slave/3.x.loewis-sun/build/Lib/packaging/tests/support.py", line 225, in tearDown
    super(EnvironRestorer, self).tearDown()
  File "/home2/buildbot/slave/3.x.loewis-sun/build/Lib/packaging/tests/support.py", line 128, in tearDown
    shutil.rmtree(self._basetempdir, os.name in ('nt', 'cygwin'))
  File "/home2/buildbot/slave/3.x.loewis-sun/build/Lib/shutil.py", line 278, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/home2/buildbot/slave/3.x.loewis-sun/build/Lib/shutil.py", line 287, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/home2/buildbot/slave/3.x.loewis-sun/build/Lib/shutil.py", line 285, in rmtree
    os.rmdir(path)
OSError: [Errno 22] Invalid argument: '/tmp/tmp2le6q5/tmpg5rur7'

----------
nosy: +haypo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12320>
_______________________________________


More information about the Python-bugs-list mailing list