The Buildbot has detected a new failure of sparc solaris10 gcc 2.5. Full details are available at: http://www.python.org/dev/buildbot/all/sparc%20solaris10%20gcc%202.5/builds/... Buildbot URL: http://www.python.org/dev/buildbot/all/ Buildslave for this Build: loewis-sun Build Reason: Build Source Stamp: [branch branches/release25-maint] HEAD Blamelist: georg.brandl 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 "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/test/test_urllib2.py", line 19, in test_trivial self.assertRaises(ValueError, urllib2.urlopen, 'bogus url') File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/unittest.py", line 320, in failUnlessRaises callableObj(*args, **kwargs) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen _opener = build_opener() File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 462, in build_opener opener.add_handler(klass()) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 669, in __init__ proxies = getproxies() File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib.py", line 1289, 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 "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/test/test_urllib2.py", line 617, in test_file r = h.file_open(Request(url)) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 1203, in file_open return self.open_local_file(req) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 1222, in open_local_file localfile = url2pathname(file) File "/opt/users/buildbot/slave/2.5.loewis-sun/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 "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/test/test_urllib2.py", line 721, 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 "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/test/test_urllib2.py", line 1019, in test_build_opener o = build_opener(FooHandler, BarHandler) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 462, in build_opener opener.add_handler(klass()) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 669, in __init__ proxies = getproxies() File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib.py", line 1289, 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 "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/test/test_urllib2net.py", line 24, in testURLread f = urllib2.urlopen("http://www.python.org/") File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen _opener = build_opener() File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 462, in build_opener opener.add_handler(klass()) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 669, in __init__ proxies = getproxies() File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib.py", line 1289, 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 "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/test/test_urllib2net.py", line 147, in test_bad_address urllib2.urlopen, "http://www.python.invalid./") File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/unittest.py", line 320, in failUnlessRaises callableObj(*args, **kwargs) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen _opener = build_opener() File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 462, in build_opener opener.add_handler(klass()) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 669, in __init__ proxies = getproxies() File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib.py", line 1289, 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 "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/test/test_urllib2net.py", line 105, in test_basic open_url = urllib2.urlopen("http://www.python.org/") File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen _opener = build_opener() File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 462, in build_opener opener.add_handler(klass()) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 669, in __init__ proxies = getproxies() File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib.py", line 1289, 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 "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/test/test_urllib2net.py", line 129, in test_geturl open_url = urllib2.urlopen(URL) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen _opener = build_opener() File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 462, in build_opener opener.add_handler(klass()) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 669, in __init__ proxies = getproxies() File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib.py", line 1289, 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 "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/test/test_urllib2net.py", line 116, in test_info open_url = urllib2.urlopen("http://www.python.org/") File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen _opener = build_opener() File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 462, in build_opener opener.add_handler(klass()) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 669, in __init__ proxies = getproxies() File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib.py", line 1289, 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 "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/test/test_urllib2net.py", line 202, in test_file self._test_urls(urls, self._extra_handlers()) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/test/test_urllib2net.py", line 250, in _test_urls urllib2.install_opener(urllib2.build_opener(*handlers)) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 462, in build_opener opener.add_handler(klass()) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 669, in __init__ proxies = getproxies() File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib.py", line 1289, 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 "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/test/test_urllib2net.py", line 174, in test_ftp self._test_urls(urls, self._extra_handlers()) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/test/test_urllib2net.py", line 250, in _test_urls urllib2.install_opener(urllib2.build_opener(*handlers)) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 462, in build_opener opener.add_handler(klass()) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 669, in __init__ proxies = getproxies() File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib.py", line 1289, in getproxies_environment for name, value in os.environ.items(): AttributeError: 'NoneType' object has no attribute 'environ' ====================================================================== ERROR: test_gopher (test.test_urllib2net.OtherNetworkTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/test/test_urllib2net.py", line 187, in test_gopher self._test_urls(urls, self._extra_handlers()) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/test/test_urllib2net.py", line 250, in _test_urls urllib2.install_opener(urllib2.build_opener(*handlers)) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 462, in build_opener opener.add_handler(klass()) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 669, in __init__ proxies = getproxies() File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib.py", line 1289, 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 "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/test/test_urllib2net.py", line 214, in test_http self._test_urls(urls, self._extra_handlers()) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/test/test_urllib2net.py", line 250, in _test_urls urllib2.install_opener(urllib2.build_opener(*handlers)) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 462, in build_opener opener.add_handler(klass()) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 669, in __init__ proxies = getproxies() File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib.py", line 1289, 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 "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/test/test_urllib2net.py", line 160, in test_range result = urllib2.urlopen(req) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen _opener = build_opener() File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 462, in build_opener opener.add_handler(klass()) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 669, in __init__ proxies = getproxies() File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib.py", line 1289, 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 "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/test/test_urllib2net.py", line 76, in test_close response = urllib2.urlopen("http://www.python.org/") File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 123, in urlopen _opener = build_opener() File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 462, in build_opener opener.add_handler(klass()) File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib2.py", line 669, in __init__ proxies = getproxies() File "/opt/users/buildbot/slave/2.5.loewis-sun/build/Lib/urllib.py", line 1289, in getproxies_environment for name, value in os.environ.items(): AttributeError: 'NoneType' object has no attribute 'environ' sincerely, -The Buildbot