[New-bugs-announce] [issue8375] test_distutils fails when run with -j
Antoine Pitrou
report at bugs.python.org
Mon Apr 12 01:03:01 CEST 2010
New submission from Antoine Pitrou <pitrou at free.fr>:
test_distutils fails in py3k when run with -j (e.g.
"python -m test.regrtest -j1 -v test_distutils")
======================================================================
ERROR: test_build_ext (distutils.tests.test_build_ext.BuildExtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/test_build_ext.py", line 61, in tearDown
super(BuildExtTestCase, self).tearDown()
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/support.py", line 66, in tearDown
shutil.rmtree(d, os.name in ('nt', 'cygwin'))
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 243, in rmtree
onerror(os.listdir, path, sys.exc_info())
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 241, in rmtree
names = os.listdir(path)
OSError: [Errno 2] No such file or directory: '/tmp/tmpyn8Vpj'
======================================================================
ERROR: test_check_extensions_list (distutils.tests.test_build_ext.BuildExtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/test_build_ext.py", line 61, in tearDown
super(BuildExtTestCase, self).tearDown()
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/support.py", line 66, in tearDown
shutil.rmtree(d, os.name in ('nt', 'cygwin'))
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 243, in rmtree
onerror(os.listdir, path, sys.exc_info())
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 241, in rmtree
names = os.listdir(path)
OSError: [Errno 2] No such file or directory: '/tmp/tmp4r36LO'
======================================================================
ERROR: test_compiler_deprecation_warning (distutils.tests.test_build_ext.BuildExtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/test_build_ext.py", line 61, in tearDown
super(BuildExtTestCase, self).tearDown()
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/support.py", line 66, in tearDown
shutil.rmtree(d, os.name in ('nt', 'cygwin'))
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 243, in rmtree
onerror(os.listdir, path, sys.exc_info())
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 241, in rmtree
names = os.listdir(path)
OSError: [Errno 2] No such file or directory: '/tmp/tmpGz62QC'
======================================================================
ERROR: test_compiler_option (distutils.tests.test_build_ext.BuildExtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/test_build_ext.py", line 61, in tearDown
super(BuildExtTestCase, self).tearDown()
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/support.py", line 66, in tearDown
shutil.rmtree(d, os.name in ('nt', 'cygwin'))
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 243, in rmtree
onerror(os.listdir, path, sys.exc_info())
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 241, in rmtree
names = os.listdir(path)
OSError: [Errno 2] No such file or directory: '/tmp/tmpUoqcH9'
======================================================================
ERROR: test_ext_fullpath (distutils.tests.test_build_ext.BuildExtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/test_build_ext.py", line 61, in tearDown
super(BuildExtTestCase, self).tearDown()
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/support.py", line 66, in tearDown
shutil.rmtree(d, os.name in ('nt', 'cygwin'))
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 243, in rmtree
onerror(os.listdir, path, sys.exc_info())
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 241, in rmtree
names = os.listdir(path)
OSError: [Errno 2] No such file or directory: '/tmp/tmpqHPvDG'
======================================================================
ERROR: test_finalize_options (distutils.tests.test_build_ext.BuildExtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/test_build_ext.py", line 61, in tearDown
super(BuildExtTestCase, self).tearDown()
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/support.py", line 66, in tearDown
shutil.rmtree(d, os.name in ('nt', 'cygwin'))
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 243, in rmtree
onerror(os.listdir, path, sys.exc_info())
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 241, in rmtree
names = os.listdir(path)
OSError: [Errno 2] No such file or directory: '/tmp/tmp2WXDKn'
======================================================================
ERROR: test_get_outputs (distutils.tests.test_build_ext.BuildExtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/test_build_ext.py", line 61, in tearDown
super(BuildExtTestCase, self).tearDown()
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/support.py", line 66, in tearDown
shutil.rmtree(d, os.name in ('nt', 'cygwin'))
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 243, in rmtree
onerror(os.listdir, path, sys.exc_info())
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 241, in rmtree
names = os.listdir(path)
OSError: [Errno 2] No such file or directory: '/tmp/tmp_kkj2U'
======================================================================
ERROR: test_get_source_files (distutils.tests.test_build_ext.BuildExtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/test_build_ext.py", line 61, in tearDown
super(BuildExtTestCase, self).tearDown()
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/support.py", line 66, in tearDown
shutil.rmtree(d, os.name in ('nt', 'cygwin'))
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 243, in rmtree
onerror(os.listdir, path, sys.exc_info())
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 241, in rmtree
names = os.listdir(path)
OSError: [Errno 2] No such file or directory: '/tmp/tmp13Y9c9'
======================================================================
ERROR: test_optional_extension (distutils.tests.test_build_ext.BuildExtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/test_build_ext.py", line 61, in tearDown
super(BuildExtTestCase, self).tearDown()
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/support.py", line 66, in tearDown
shutil.rmtree(d, os.name in ('nt', 'cygwin'))
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 243, in rmtree
onerror(os.listdir, path, sys.exc_info())
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 241, in rmtree
names = os.listdir(path)
OSError: [Errno 2] No such file or directory: '/tmp/tmp6f6ENV'
======================================================================
ERROR: test_solaris_enable_shared (distutils.tests.test_build_ext.BuildExtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/test_build_ext.py", line 61, in tearDown
super(BuildExtTestCase, self).tearDown()
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/support.py", line 66, in tearDown
shutil.rmtree(d, os.name in ('nt', 'cygwin'))
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 243, in rmtree
onerror(os.listdir, path, sys.exc_info())
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 241, in rmtree
names = os.listdir(path)
OSError: [Errno 2] No such file or directory: '/tmp/tmpNXs6vs'
======================================================================
ERROR: test_user_site (distutils.tests.test_build_ext.BuildExtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/test_build_ext.py", line 61, in tearDown
super(BuildExtTestCase, self).tearDown()
File "/home/antoine/py3k/__svn__/Lib/distutils/tests/support.py", line 66, in tearDown
shutil.rmtree(d, os.name in ('nt', 'cygwin'))
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 243, in rmtree
onerror(os.listdir, path, sys.exc_info())
File "/home/antoine/py3k/__svn__/Lib/shutil.py", line 241, in rmtree
names = os.listdir(path)
OSError: [Errno 2] No such file or directory: '/tmp/tmpDcrnD8'
----------------------------------------------------------------------
----------
assignee: tarek
components: Distutils
messages: 102908
nosy: pitrou, tarek
priority: normal
severity: normal
stage: needs patch
status: open
title: test_distutils fails when run with -j
type: behavior
versions: Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8375>
_______________________________________
More information about the New-bugs-announce
mailing list