Summary: | dev-lang/python-2.6.4 fails test_httpservers | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kent Fredric (IRC: kent\n) (RETIRED) <kentnl> |
Component: | [OLD] Unspecified | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | flameeyes |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
python build.log
environment |
Description
Kent Fredric (IRC: kent\n) (RETIRED)
![]() Created attachment 210260 [details]
python build.log
Created attachment 210261 [details]
environment
Can you reproduce this bug with 2.6.2-r1? If you want to check it, then first downgrade to 2.6.2-r1 and next run: python2.6 /usr/lib64/python2.6/test/test_httpservers.py (In reply to comment #3) > Can you reproduce this bug with 2.6.2-r1? > If you want to check it, then first downgrade to 2.6.2-r1 and next run: > python2.6 /usr/lib64/python2.6/test/test_httpservers.py > In the downgrade to 2.6.2-r1 only 1 error occurs: FAILED (failures=1) test test_urllib2_localnet failed -- Traceback (most recent call last): File "/var/tmp/portage/dev-lang/python-2.6.2-r1/work/Python-2.6.2/Lib/test/test_urllib2_localnet.py", line 477, in test_bad_address urllib2.urlopen, "http://sadflkjsasf.i.nvali.d/") AssertionError: IOError not raised This is a known one to me of course because 'invali.d' resolves on my network to a fallback ( domainname search + * alias ==> invali.d.my.lan ) Downgrading to 2.6.2-r1 and then running the tests by hand result as follows. su -l -s /bin/bash portage su: Authentication service cannot retrieve authentication info (Ignored) portage@ember-portage ~ $ whoami portage portage@ember-portage ~ $ python python python-config python-config-2.6 python-wrapper python2 python2.6 portage@ember-portage ~ $ python2.6 /usr/lib64/python2.6/test/test_httpservers.py test_command (__main__.BaseHTTPServerTestCase) ... ok test_handler (__main__.BaseHTTPServerTestCase) ... ok test_head_keep_alive (__main__.BaseHTTPServerTestCase) ... ok test_header_close (__main__.BaseHTTPServerTestCase) ... ok test_internal_key_error (__main__.BaseHTTPServerTestCase) ... ok test_request_line_trimming (__main__.BaseHTTPServerTestCase) ... ok test_return_custom_status (__main__.BaseHTTPServerTestCase) ... ok test_return_header_keep_alive (__main__.BaseHTTPServerTestCase) ... ok test_send_blank (__main__.BaseHTTPServerTestCase) ... ok test_version_bogus (__main__.BaseHTTPServerTestCase) ... ok test_version_digits (__main__.BaseHTTPServerTestCase) ... ok test_version_invalid (__main__.BaseHTTPServerTestCase) ... ok test_version_none (__main__.BaseHTTPServerTestCase) ... ok test_version_none_get (__main__.BaseHTTPServerTestCase) ... ok test_get (__main__.SimpleHTTPServerTestCase) ... ok test_head (__main__.SimpleHTTPServerTestCase) ... ok test_invalid_requests (__main__.SimpleHTTPServerTestCase) ... ok test_authorization (__main__.CGIHTTPServerTestCase) ... ok test_headers_and_content (__main__.CGIHTTPServerTestCase) ... ok test_invaliduri (__main__.CGIHTTPServerTestCase) ... ok test_post (__main__.CGIHTTPServerTestCase) ... ok ---------------------------------------------------------------------- Ran 21 tests in 10.980s OK Tests from test_httpservers have been disabled. This bug might be related to e.g.: http://bugs.python.org/issue4528 I just hit this bug on python-3.1.2-r4... (In reply to comment #6) > I just hit this bug on python-3.1.2-r4... Post the exact log please... |