Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Dev

Re: [Python-checkins] buildbot failure in sparc Debian 3.0

 

 

Python dev RSS feed   Index | Next | Previous | View Threaded


jeremy at alum

Jul 8, 2008, 5:49 AM

Post #1 of 3 (191 views)
Permalink
Re: [Python-checkins] buildbot failure in sparc Debian 3.0

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
>
_______________________________________________
Python-Dev mailing list
Python-Dev[at]python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


martin at v

Jul 8, 2008, 12:15 PM

Post #2 of 3 (177 views)
Permalink
Re: [Python-checkins] buildbot failure in sparc Debian 3.0 [In reply to]

Jeremy Hylton wrote:
> 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.

It might be a transient error, and a complete cleanup of the tree
might fix it. To do so, build a non-existent branch through the web ui,
then build the original branch again; this will cause a fresh checkout.

If the error then persists, my guess it's some kind of compiler issue,
which can be investigated only with access to the machine.

Regards,
Martin
_______________________________________________
Python-Dev mailing list
Python-Dev[at]python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


tseaver at palladion

Jul 10, 2008, 8:08 PM

Post #3 of 3 (162 views)
Permalink
Re: [Python-checkins] buildbot failure in sparc Debian 3.0 [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin v. Löwis wrote:
> Jeremy Hylton wrote:
>> 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.
>
> It might be a transient error, and a complete cleanup of the tree
> might fix it. To do so, build a non-existent branch through the web ui,
> then build the original branch again; this will cause a fresh checkout.
>
> If the error then persists, my guess it's some kind of compiler issue,
> which can be investigated only with access to the machine.

I would also be on the lookout for stale .pyc / .pyo files: I saw a
similar failure recently while testing third-party code, and suspected
both causes: cleaning out the .pyc files and carefully removing aliased
imports eventually got the problem to go away (at which point I could no
longer reproduce it at all).


Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver[at]palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIds6b+gerLs4ltQ4RAmIRAJ4pxs0sWLDrpOAilqV+Mx8vKJzeEQCeLMoX
gsFhfjJ4bxwAxgBji7/Jzvw=
=bMRD
-----END PGP SIGNATURE-----

_______________________________________________
Python-Dev mailing list
Python-Dev[at]python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com

Python dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.