[Python-Dev] [Python-checkins] buildbot failure in sparc Debian 3.0
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:
> test_urllib2
>
> ======================================================================
> ERROR: test_badly_named_methods (test.test_urllib2.OpenerDirectorTests)
> ----------------------------------------------------------------------
>
> Traceback (most recent call last):
> File "/home/pybot/buildarea-sid/3.0.klose-debian-sparc/build/Lib/test/test_urllib2.py", line 408, in test_badly_named_methods
> 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
> 'unknown_open', req)
> File "/home/pybot/buildarea-sid/3.0.klose-debian-sparc/build/Lib/urllib/request.py", line 334, in _call_chain
> result = func(*args)
> File "/home/pybot/buildarea-sid/3.0.klose-debian-sparc/build/Lib/urllib/request.py", line 1102, in unknown_open
> raise URLError('unknown url type: %s' % type)
> urllib.error.URLError: <urlopen error unknown url type: do>
>
> 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