[Python-checkins] buildbot failure in x86 mvlgcc trunk

buildbot at python.org buildbot at python.org
Wed Nov 21 00:58:38 CET 2007


The Buildbot has detected a new failure of x86 mvlgcc trunk.
Full details are available at:
 http://www.python.org/dev/buildbot/all/x86%20mvlgcc%20trunk/builds/970

Buildbot URL: http://www.python.org/dev/buildbot/all/

Buildslave for this Build: loewis-linux

Build Reason: 
Build Source Stamp: [branch trunk] HEAD
Blamelist: amaury.forgeotdarc

BUILD FAILED: failed test

Excerpt from the test logfile:
2 tests failed:
    test_urllib2 test_urllib2net

======================================================================
ERROR: test_trivial (test.test_urllib2.TrivialTests)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2.py", line 19, in test_trivial
    self.assertRaises(ValueError, urllib2.urlopen, 'bogus url')
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/unittest.py", line 329, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 123, in urlopen
    _opener = build_opener()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 461, in build_opener
    opener.add_handler(klass())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 670, in __init__
    proxies = getproxies()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib.py", line 1280, in getproxies_environment
    for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'

======================================================================
ERROR: test_file (test.test_urllib2.HandlerTests)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2.py", line 619, in test_file
    r = h.file_open(Request(url))
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 1204, in file_open
    return self.open_local_file(req)
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 1223, in open_local_file
    localfile = url2pathname(file)
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib.py", line 55, in url2pathname
    return unquote(pathname)
TypeError: 'NoneType' object is not callable

======================================================================
ERROR: test_http (test.test_urllib2.HandlerTests)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2.py", line 725, in test_http
    r.read; r.readline  # wrapped MockFile methods
AttributeError: addinfourl instance has no attribute 'read'

======================================================================
ERROR: test_build_opener (test.test_urllib2.MiscTests)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2.py", line 1031, in test_build_opener
    o = build_opener(FooHandler, BarHandler)
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 461, in build_opener
    opener.add_handler(klass())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 670, in __init__
    proxies = getproxies()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib.py", line 1280, in getproxies_environment
    for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'

======================================================================
ERROR: testURLread (test.test_urllib2net.URLTimeoutTest)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2net.py", line 24, in testURLread
    f = urllib2.urlopen("http://www.python.org/")
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 123, in urlopen
    _opener = build_opener()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 461, in build_opener
    opener.add_handler(klass())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 670, in __init__
    proxies = getproxies()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib.py", line 1280, in getproxies_environment
    for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'

======================================================================
ERROR: test_bad_address (test.test_urllib2net.urlopenNetworkTests)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2net.py", line 147, in test_bad_address
    urllib2.urlopen, "http://www.python.invalid./")
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/unittest.py", line 329, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 123, in urlopen
    _opener = build_opener()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 461, in build_opener
    opener.add_handler(klass())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 670, in __init__
    proxies = getproxies()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib.py", line 1280, in getproxies_environment
    for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'

======================================================================
ERROR: test_basic (test.test_urllib2net.urlopenNetworkTests)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2net.py", line 105, in test_basic
    open_url = urllib2.urlopen("http://www.python.org/")
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 123, in urlopen
    _opener = build_opener()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 461, in build_opener
    opener.add_handler(klass())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 670, in __init__
    proxies = getproxies()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib.py", line 1280, in getproxies_environment
    for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'

======================================================================
ERROR: test_geturl (test.test_urllib2net.urlopenNetworkTests)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2net.py", line 129, in test_geturl
    open_url = urllib2.urlopen(URL)
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 123, in urlopen
    _opener = build_opener()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 461, in build_opener
    opener.add_handler(klass())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 670, in __init__
    proxies = getproxies()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib.py", line 1280, in getproxies_environment
    for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'

======================================================================
ERROR: test_info (test.test_urllib2net.urlopenNetworkTests)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2net.py", line 116, in test_info
    open_url = urllib2.urlopen("http://www.python.org/")
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 123, in urlopen
    _opener = build_opener()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 461, in build_opener
    opener.add_handler(klass())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 670, in __init__
    proxies = getproxies()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib.py", line 1280, in getproxies_environment
    for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'

======================================================================
ERROR: test_file (test.test_urllib2net.OtherNetworkTests)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2net.py", line 187, in test_file
    self._test_urls(urls, self._extra_handlers())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2net.py", line 235, in _test_urls
    urllib2.install_opener(urllib2.build_opener(*handlers))
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 461, in build_opener
    opener.add_handler(klass())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 670, in __init__
    proxies = getproxies()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib.py", line 1280, in getproxies_environment
    for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'

======================================================================
ERROR: test_ftp (test.test_urllib2net.OtherNetworkTests)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2net.py", line 175, in test_ftp
    self._test_urls(urls, self._extra_handlers())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2net.py", line 235, in _test_urls
    urllib2.install_opener(urllib2.build_opener(*handlers))
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 461, in build_opener
    opener.add_handler(klass())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 670, in __init__
    proxies = getproxies()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib.py", line 1280, in getproxies_environment
    for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'

======================================================================
ERROR: test_http (test.test_urllib2net.OtherNetworkTests)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2net.py", line 199, in test_http
    self._test_urls(urls, self._extra_handlers())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2net.py", line 235, in _test_urls
    urllib2.install_opener(urllib2.build_opener(*handlers))
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 461, in build_opener
    opener.add_handler(klass())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 670, in __init__
    proxies = getproxies()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib.py", line 1280, in getproxies_environment
    for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'

======================================================================
ERROR: test_range (test.test_urllib2net.OtherNetworkTests)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2net.py", line 160, in test_range
    result = urllib2.urlopen(req)
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 123, in urlopen
    _opener = build_opener()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 461, in build_opener
    opener.add_handler(klass())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 670, in __init__
    proxies = getproxies()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib.py", line 1280, in getproxies_environment
    for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'

======================================================================
ERROR: test_close (test.test_urllib2net.CloseSocketTest)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2net.py", line 76, in test_close
    response = urllib2.urlopen("http://www.python.org/")
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 123, in urlopen
    _opener = build_opener()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 461, in build_opener
    opener.add_handler(klass())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 670, in __init__
    proxies = getproxies()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib.py", line 1280, in getproxies_environment
    for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'

======================================================================
ERROR: test_ftp_NoneNodefault (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2net.py", line 304, in test_ftp_NoneNodefault
    u = urllib2.urlopen("ftp://ftp.mirror.nl/pub/mirror/gnu/", timeout=None)
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 123, in urlopen
    _opener = build_opener()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 461, in build_opener
    opener.add_handler(klass())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 670, in __init__
    proxies = getproxies()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib.py", line 1280, in getproxies_environment
    for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'

======================================================================
ERROR: test_ftp_NoneWithdefault (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2net.py", line 298, in test_ftp_NoneWithdefault
    u = urllib2.urlopen("ftp://ftp.mirror.nl/pub/mirror/gnu/", timeout=None)
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 123, in urlopen
    _opener = build_opener()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 461, in build_opener
    opener.add_handler(klass())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 670, in __init__
    proxies = getproxies()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib.py", line 1280, in getproxies_environment
    for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'

======================================================================
ERROR: test_ftp_Value (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2net.py", line 308, in test_ftp_Value
    u = urllib2.urlopen("ftp://ftp.mirror.nl/pub/mirror/gnu/", timeout=60)
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 123, in urlopen
    _opener = build_opener()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 461, in build_opener
    opener.add_handler(klass())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 670, in __init__
    proxies = getproxies()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib.py", line 1280, in getproxies_environment
    for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'

======================================================================
ERROR: test_ftp_basic (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2net.py", line 291, in test_ftp_basic
    u = urllib2.urlopen("ftp://ftp.mirror.nl/pub/mirror/gnu/")
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 123, in urlopen
    _opener = build_opener()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 461, in build_opener
    opener.add_handler(klass())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 670, in __init__
    proxies = getproxies()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib.py", line 1280, in getproxies_environment
    for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'

======================================================================
ERROR: test_http_NoneNodefault (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2net.py", line 287, in test_http_NoneNodefault
    u = urllib2.urlopen("http://www.python.org", timeout=None)
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 123, in urlopen
    _opener = build_opener()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 461, in build_opener
    opener.add_handler(klass())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 670, in __init__
    proxies = getproxies()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib.py", line 1280, in getproxies_environment
    for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'

======================================================================
ERROR: test_http_NoneWithdefault (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2net.py", line 277, in test_http_NoneWithdefault
    u = urllib2.urlopen("http://www.python.org", timeout=None)
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 123, in urlopen
    _opener = build_opener()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 461, in build_opener
    opener.add_handler(klass())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 670, in __init__
    proxies = getproxies()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib.py", line 1280, in getproxies_environment
    for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'

======================================================================
ERROR: test_http_Value (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2net.py", line 283, in test_http_Value
    u = urllib2.urlopen("http://www.python.org", timeout=120)
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 123, in urlopen
    _opener = build_opener()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 461, in build_opener
    opener.add_handler(klass())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 670, in __init__
    proxies = getproxies()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib.py", line 1280, in getproxies_environment
    for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'

======================================================================
ERROR: test_http_basic (test.test_urllib2net.TimeoutTest)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/test/test_urllib2net.py", line 270, in test_http_basic
    u = urllib2.urlopen("http://www.python.org")
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 123, in urlopen
    _opener = build_opener()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 461, in build_opener
    opener.add_handler(klass())
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib2.py", line 670, in __init__
    proxies = getproxies()
  File "/home2/buildbot/slave/trunk.loewis-linux/build/Lib/urllib.py", line 1280, in getproxies_environment
    for name, value in os.environ.items():
AttributeError: 'NoneType' object has no attribute 'environ'

make: *** [buildbottest] Error 1

sincerely,
 -The Buildbot



More information about the Python-checkins mailing list