homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_packaging failures
Type: behavior Stage: needs patch
Components: Library (Lib), Tests Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: eric.araujo Nosy List: eric.araujo, pitrou, python-dev, r.david.murray, vstinner
Priority: critical Keywords:

Created on 2011年06月12日 13:54 by pitrou, last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Messages (6)
msg138207 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011年06月12日 13:54
The 3.x buildbots are red following the latest commits:
======================================================================
ERROR: test_cfg_to_args (packaging.tests.test_util.UtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/buildbot/buildarea/3.x.ochtman-gentoo-amd64/build/Lib/packaging/tests/test_util.py", line 499, in test_cfg_to_args
 self.write_file('setup.cfg', SETUP_CFG % opts)
 File "/home/buildbot/buildarea/3.x.ochtman-gentoo-amd64/build/Lib/packaging/tests/support.py", line 163, in write_file
 f.write(content)
UnicodeEncodeError: 'ascii' codec can't encode character '\xc9' in position 114: ordinal not in range(128)
======================================================================
FAIL: test_user_site (packaging.tests.test_command_install_dist.InstallTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/buildbot/buildarea/3.x.ochtman-gentoo-amd64/build/Lib/packaging/tests/test_command_install_dist.py", line 93, in test_user_site
 self._test_user_site()
 File "/home/buildbot/buildarea/3.x.ochtman-gentoo-amd64/build/Lib/packaging/tests/test_command_install_dist.py", line 122, in _test_user_site
 self.assertTrue(os.path.exists(self.user_base))
AssertionError: False is not true
msg138218 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011年06月12日 20:08
New changeset 9eecfeaa591a by Éric Araujo in branch 'default':
Specify the encoding of the setup.cfg in one packaging test (#12320)
http://hg.python.org/cpython/rev/9eecfeaa591a 
msg138221 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011年06月12日 21:03
New changeset 0e22c47b47a3 by Éric Araujo in branch 'default':
Also specify encoding when reading setup.cfg (#12320)
http://hg.python.org/cpython/rev/0e22c47b47a3 
msg138482 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2011年06月17日 00:15
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'
msg138487 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2011年06月17日 02:06
Victor, that failure was already reported in issue 12333.
msg138512 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2011年06月17日 14:11
I fixed the issue #12333. I don't see any test_packaging failure anymore, let's close this issue.
History
Date User Action Args
2022年04月11日 14:57:18adminsetgithub: 56529
2011年06月17日 14:11:47vstinnersetstatus: open -> closed
resolution: fixed
messages: + msg138512
2011年06月17日 02:06:31r.david.murraysetnosy: + r.david.murray
messages: + msg138487
2011年06月17日 00:15:07vstinnersetnosy: + vstinner
messages: + msg138482
2011年06月12日 21:03:11python-devsetmessages: + msg138221
2011年06月12日 20:08:42python-devsetnosy: + python-dev
messages: + msg138218
2011年06月12日 13:54:56pitroucreate

AltStyle によって変換されたページ (->オリジナル) /