New submission from Antoine Pitrou <pit...@free.fr>:

The problem is that tearDown() tries to rmdir() the current directory, which is 
forbidden under Solaris and returns EINVAL:

>>> os.getcwd()
'/home/antoine/t/t'
>>> os.rmdir("/home/antoine/t/t")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OSError: [Errno 22] Invalid argument: '/home/antoine/t/t'
>>> os.chdir('..')
>>> os.rmdir("/home/antoine/t/t")
>>> 

Extract of rmdir (2) manpage:

     EINVAL          The directory to be removed is  the  current
                     directory, or the final component of path is
                     ".".

See e.g. 
http://www.python.org/dev/buildbot/all/builders/x86%20OpenIndiana%203.x:

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

======================================================================
ERROR: test_change_root (packaging.tests.test_util.UtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_util.py",
 line 147, in tearDown
    super(UtilTestCase, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 225, in tearDown
    super(EnvironRestorer, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 128, in tearDown
    shutil.rmtree(self._basetempdir, os.name in ('nt', 'cygwin'))
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 278, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 287, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 285, in rmtree
    os.rmdir(path)
OSError: [Errno 22] Invalid argument: '/tmp/tmptqqcy4/tmp8k_szg'

======================================================================
ERROR: test_convert_path (packaging.tests.test_util.UtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_util.py",
 line 147, in tearDown
    super(UtilTestCase, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 225, in tearDown
    super(EnvironRestorer, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 128, in tearDown
    shutil.rmtree(self._basetempdir, os.name in ('nt', 'cygwin'))
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 278, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 287, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 285, in rmtree
    os.rmdir(path)
OSError: [Errno 22] Invalid argument: '/tmp/tmpz76w6g/tmpehqobf'

======================================================================
ERROR: test_dont_write_bytecode (packaging.tests.test_util.UtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_util.py",
 line 147, in tearDown
    super(UtilTestCase, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 225, in tearDown
    super(EnvironRestorer, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 128, in tearDown
    shutil.rmtree(self._basetempdir, os.name in ('nt', 'cygwin'))
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 278, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 287, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 285, in rmtree
    os.rmdir(path)
OSError: [Errno 22] Invalid argument: '/tmp/tmpfou_50/tmp8m6foa'

======================================================================
ERROR: test_find_exe_version (packaging.tests.test_util.UtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_util.py",
 line 147, in tearDown
    super(UtilTestCase, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 225, in tearDown
    super(EnvironRestorer, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 128, in tearDown
    shutil.rmtree(self._basetempdir, os.name in ('nt', 'cygwin'))
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 278, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 287, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 285, in rmtree
    os.rmdir(path)
OSError: [Errno 22] Invalid argument: '/tmp/tmp8qchh_/tmpask38f'

======================================================================
ERROR: test_find_packages (packaging.tests.test_util.UtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_util.py",
 line 147, in tearDown
    super(UtilTestCase, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 225, in tearDown
    super(EnvironRestorer, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 128, in tearDown
    shutil.rmtree(self._basetempdir, os.name in ('nt', 'cygwin'))
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 278, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 287, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 285, in rmtree
    os.rmdir(path)
OSError: [Errno 22] Invalid argument: '/tmp/tmpm0qhvv/tmp8t42l2'

======================================================================
ERROR: test_get_compiler_versions (packaging.tests.test_util.UtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_util.py",
 line 147, in tearDown
    super(UtilTestCase, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 225, in tearDown
    super(EnvironRestorer, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 128, in tearDown
    shutil.rmtree(self._basetempdir, os.name in ('nt', 'cygwin'))
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 278, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 287, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 285, in rmtree
    os.rmdir(path)
OSError: [Errno 22] Invalid argument: '/tmp/tmpou061r/tmph8fa0r'

======================================================================
ERROR: test_import_nested_first_time (packaging.tests.test_util.UtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_util.py",
 line 147, in tearDown
    super(UtilTestCase, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 225, in tearDown
    super(EnvironRestorer, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 128, in tearDown
    shutil.rmtree(self._basetempdir, os.name in ('nt', 'cygwin'))
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 278, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 287, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 285, in rmtree
    os.rmdir(path)
OSError: [Errno 22] Invalid argument: '/tmp/tmp6iygts/tmpy8btph'

======================================================================
ERROR: test_newer (packaging.tests.test_util.UtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_util.py",
 line 147, in tearDown
    super(UtilTestCase, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 225, in tearDown
    super(EnvironRestorer, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 128, in tearDown
    shutil.rmtree(self._basetempdir, os.name in ('nt', 'cygwin'))
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 278, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 287, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 285, in rmtree
    os.rmdir(path)
OSError: [Errno 22] Invalid argument: '/tmp/tmpkyznct/tmpfj4aiy'

======================================================================
ERROR: test_resolve_name (packaging.tests.test_util.UtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_util.py",
 line 147, in tearDown
    super(UtilTestCase, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 225, in tearDown
    super(EnvironRestorer, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 128, in tearDown
    shutil.rmtree(self._basetempdir, os.name in ('nt', 'cygwin'))
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 278, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 287, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 285, in rmtree
    os.rmdir(path)
OSError: [Errno 22] Invalid argument: '/tmp/tmpz_s22i/tmp7am_yk'

======================================================================
ERROR: test_rfc822_escape (packaging.tests.test_util.UtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_util.py",
 line 147, in tearDown
    super(UtilTestCase, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 225, in tearDown
    super(EnvironRestorer, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 128, in tearDown
    shutil.rmtree(self._basetempdir, os.name in ('nt', 'cygwin'))
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 278, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 287, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 285, in rmtree
    os.rmdir(path)
OSError: [Errno 22] Invalid argument: '/tmp/tmpbo_555/tmpnavzar'

======================================================================
ERROR: test_run_2to3_on_code (packaging.tests.test_util.UtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_util.py",
 line 147, in tearDown
    super(UtilTestCase, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 225, in tearDown
    super(EnvironRestorer, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 128, in tearDown
    shutil.rmtree(self._basetempdir, os.name in ('nt', 'cygwin'))
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 278, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 287, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 285, in rmtree
    os.rmdir(path)
OSError: [Errno 22] Invalid argument: '/tmp/tmphtln_2/tmpib4b_x'

======================================================================
ERROR: test_run_2to3_on_doctests (packaging.tests.test_util.UtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_util.py",
 line 147, in tearDown
    super(UtilTestCase, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 225, in tearDown
    super(EnvironRestorer, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 128, in tearDown
    shutil.rmtree(self._basetempdir, os.name in ('nt', 'cygwin'))
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 278, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 287, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 285, in rmtree
    os.rmdir(path)
OSError: [Errno 22] Invalid argument: '/tmp/tmpi1r8bp/tmp444dq2'

======================================================================
ERROR: test_server_empty_registration (packaging.tests.test_util.UtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_util.py",
 line 147, in tearDown
    super(UtilTestCase, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 225, in tearDown
    super(EnvironRestorer, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 128, in tearDown
    shutil.rmtree(self._basetempdir, os.name in ('nt', 'cygwin'))
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 278, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 287, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 285, in rmtree
    os.rmdir(path)
OSError: [Errno 22] Invalid argument: '/tmp/tmpqy_wif/tmp7tbq0t'
/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/pypi/simple.py:86:
 ResourceWarning: unclosed <socket.socket object, fd=21, family=2, type=2, 
proto=6>
  return wrapped(self, *args, **kwargs)
Warning -- logging._handlerList was modified by test_packaging
test test_packaging failed -- multiple errors occurred

======================================================================
ERROR: test_server_registration (packaging.tests.test_util.UtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_util.py",
 line 147, in tearDown
    super(UtilTestCase, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 225, in tearDown
    super(EnvironRestorer, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 128, in tearDown
    shutil.rmtree(self._basetempdir, os.name in ('nt', 'cygwin'))
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 278, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 287, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 285, in rmtree
    os.rmdir(path)
OSError: [Errno 22] Invalid argument: '/tmp/tmpink626/tmpzqcvqs'

======================================================================
ERROR: test_spawn (packaging.tests.test_util.UtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_util.py",
 line 147, in tearDown
    super(UtilTestCase, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 225, in tearDown
    super(EnvironRestorer, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 128, in tearDown
    shutil.rmtree(self._basetempdir, os.name in ('nt', 'cygwin'))
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 278, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 287, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 285, in rmtree
    os.rmdir(path)
OSError: [Errno 22] Invalid argument: '/tmp/tmpohv3t5/tmpjpol8_'

======================================================================
ERROR: test_split_quoted (packaging.tests.test_util.UtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_util.py",
 line 147, in tearDown
    super(UtilTestCase, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 225, in tearDown
    super(EnvironRestorer, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 128, in tearDown
    shutil.rmtree(self._basetempdir, os.name in ('nt', 'cygwin'))
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 278, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 287, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 285, in rmtree
    os.rmdir(path)
OSError: [Errno 22] Invalid argument: '/tmp/tmp00p03n/tmpvxwrl5'

======================================================================
ERROR: test_strtobool (packaging.tests.test_util.UtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_util.py",
 line 147, in tearDown
    super(UtilTestCase, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 225, in tearDown
    super(EnvironRestorer, self).tearDown()
  File 
"/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py",
 line 128, in tearDown
    shutil.rmtree(self._basetempdir, os.name in ('nt', 'cygwin'))
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 278, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 287, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py", 
line 285, in rmtree
    os.rmdir(path)
OSError: [Errno 22] Invalid argument: '/tmp/tmppwqypq/tmp8vywqv'

----------
assignee: eric.araujo
components: Distutils2
messages: 138315
nosy: alexis, eric.araujo, pitrou
priority: high
severity: normal
stage: needs patch
status: open
title: test_packaging failures under Solaris
type: behavior
versions: Python 3.3

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

Reply via email to