[Python-Dev] [Python-checkins] buildbot failure in sparc Debian 3.0 (original) (raw)

Jeremy Hylton jeremy at alum.mit.edu
Tue Jul 8 14:49:02 CEST 2008


Does anyone have a clue about why this test fails only on this platform? The test is question is verifying that URLError gets raised. From the traceback, it appears that there is an uncaught exception (URLError) but it fails in an assertRaises() check for URLError. That doesn't make much sense unless the variable URLError refers to different objects, but both modules use "from urllib.error import URLError". And, of course, the test works fine on other platforms.

Jeremy

On Wed, Jul 2, 2008 at 4:23 PM, <buildbot at python.org> wrote:

The Buildbot has detected a new failure of sparc Debian 3.0. Full details are available at: http://www.python.org/dev/buildbot/all/sparc%20Debian%203.0/builds/330

Buildbot URL: http://www.python.org/dev/buildbot/all/ Buildslave for this Build: klose-debian-sparc Build Reason: Build Source Stamp: [branch branches/py3k] HEAD Blamelist: benjamin.peterson BUILD FAILED: failed test Excerpt from the test logfile: 1 test failed: testurllib2 ====================================================================== ERROR: testbadlynamedmethods (test.testurllib2.OpenerDirectorTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/pybot/buildarea-sid/3.0.klose-debian-sparc/build/Lib/test/testurllib2.py", line 408, in testbadlynamedmethods self.assertRaises(URLError, o.open, scheme+"://example.com/") File "/home/pybot/buildarea-sid/3.0.klose-debian-sparc/build/Lib/unittest.py", line 311, in failUnlessRaises callableObj(*args, **kwargs) File "/home/pybot/buildarea-sid/3.0.klose-debian-sparc/build/Lib/urllib/request.py", line 356, in open response = self.open(req, data) File "/home/pybot/buildarea-sid/3.0.klose-debian-sparc/build/Lib/urllib/request.py", line 379, in open 'unknownopen', req) File "/home/pybot/buildarea-sid/3.0.klose-debian-sparc/build/Lib/urllib/request.py", line 334, in callchain result = func(*args) File "/home/pybot/buildarea-sid/3.0.klose-debian-sparc/build/Lib/urllib/request.py", line 1102, in unknownopen raise URLError('unknown url type: %s' % type) urllib.error.URLError: make: *** [buildbottest] Error 1 sincerely, -The Buildbot


Python-checkins mailing list Python-checkins at python.org http://mail.python.org/mailman/listinfo/python-checkins



More information about the Python-Dev mailing list