bpo-30458: Disallow control chars in http URLs.#12755
Conversation
Example possible fix for those issues.
|
diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py
index 2ac73b58d8..99bd934765 100644
--- a/Lib/test/test_urllib.py
+++ b/Lib/test/test_urllib.py
@@ -329,6 +329,14 @@ class urlopen_HttpTests(unittest.TestCase, FakeHTTPMixin, FakeFTPMixin):
finally:
self.unfakehttp()
+ def test_url_newline(self):
+ self.fakehttp(b"HTTP/1.1 200 OK\r\n\r\nHello!")
+ try:
+ with self.assertRaises(ValueError):
+ resp = urlopen("http://127.0.0.1:1234/?q=HTTP/1.1\r\nHeader: Value")
+ finally:
+ self.unfakehttp()
+
def test_read_0_9(self):
# "0.9" response accepted (but not "simple responses" without
# a status line)
@@ -1512,6 +1520,11 @@ class RequestTests(unittest.TestCase):
request.method = 'HEAD'
self.assertEqual(request.get_method(), 'HEAD')
+ def test_url_newline(self):
+ Request = urllib.request.Request
+ with self.assertRaises(ValueError):
+ resp = Request("http://127.0.0.1:1234/?q=HTTP/1.1\r\nHeader: Value")
+
class URL2PathNameTests(unittest.TestCase):
diff --git a/Lib/urllib/parse.py b/Lib/urllib/parse.py
index 8b6c9b1060..20242eee2d 100644
--- a/Lib/urllib/parse.py
+++ b/Lib/urllib/parse.py
@@ -997,6 +997,11 @@ def _splittype(url):
if _typeprog is None:
_typeprog = re.compile('([^/:]+):(.*)', re.DOTALL)
+ unquoted_url = unquote(url)
+ if (unquoted_url.startswith('http') and
+ re.search("[\x00-\x19\x7f-\x9f]", unquoted_url)):
+ raise ValueError("URL can't contain control characters. %r" % (unquoted_url,))
+
match = _typeprog.match(url)
if match:
scheme, data = match.groups() |
Sorry, something went wrong.
|
The initial reverted fix in golang was reverted as noted in golang/go#27302 (comment) because it took into account unicode characters in URL also as problematic CTL/invalid characters : golang/go@1040626#diff-6c2d018290e298803c0c9419d8739885R1136 and resorted to only using ASCII CTL characters. I assume this could be the internal test failures at Google where unicode values were present in URL. It's not a problem with Python because urllib already tries to decode using ASCII and therefore throws a Line 971 in 750d74f |
Sorry, something went wrong.
|
Sorry, this has been sending me circles from morning. Checking out the latest golang source this was further relaxed golang/go@f1d662f#diff-130fa30904f41d0d113c732265e91542R63 to use check only for space and 0x7f instead of anything between First fix golang/go@829c5df#diff-130fa30904f41d0d113c732265e91542 Latest fix reverting the above golang/go@f1d662f#diff-130fa30904f41d0d113c732265e91542R63 func stringContainsCTLByte(s string) bool {
for i := 0; i < len(s); i++ {
b := s[i]
if b < ' ' || b == 0x7f {
return true
}
}
return false
}Thanks, this seems to have been changed with 448a541 in this PR |
Sorry, something went wrong.
|
See also an older thread from Victor on fixing similar issues : https://mail.python.org/pipermail/python-dev/2017-July/148699.html |
Sorry, something went wrong.
Yep. I'm trying to make this fix as surgical as possible to only prevent the actual problem of allowing invalid paths with whitespace to pass through to the protocol level without changing public APIs of other functions such as parse.quote or (deprecated) parse.splittype and such. |
Sorry, something went wrong.
|
This seems to cause issue with |
Sorry, something went wrong.
|
Actual test : So |
Sorry, something went wrong.
Disallow control chars in http URLs in urllib.urlopen. This addresses a potential security problem for applications that do not sanity check their URLs where http request headers could be injected. Disable https related urllib tests on a build without ssl (pythonGH-13032) These tests require an SSL enabled build. Skip these tests when python is built without SSL to fix test failures. Use http.client.InvalidURL instead of ValueError as the new error case's exception. (pythonGH-13044) Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
Disallow control chars in http URLs in urllib.urlopen. This addresses a potential security problem for applications that do not sanity check their URLs where http request headers could be injected. Disable https related urllib tests on a build without ssl (pythonGH-13032) These tests require an SSL enabled build. Skip these tests when python is built without SSL to fix test failures. Use http.client.InvalidURL instead of ValueError as the new error case's exception. (pythonGH-13044) Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
Disallow control chars in http URLs in urllib.urlopen. This addresses a potential security problem for applications that do not sanity check their URLs where http request headers could be injected. Disable https related urllib tests on a build without ssl (GH-13032) These tests require an SSL enabled build. Skip these tests when python is built without SSL to fix test failures. Use http.client.InvalidURL instead of ValueError as the new error case's exception. (GH-13044) Backport Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
Disallow control chars in http URLs in urllib.urlopen. This addresses a potential security problem for applications that do not sanity check their URLs where http request headers could be injected. Disable https related urllib tests on a build without ssl (GH-13032) These tests require an SSL enabled build. Skip these tests when python is built without SSL to fix test failures. Use http.client.InvalidURL instead of ValueError as the new error case's exception. (GH-13044) Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot AMD64 Windows7 SP1 3.6 has failed when building commit c50d437. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/17/builds/538 Click to see traceback logsFrom https://github.com/python/cpython
* branch 3.6 -> FETCH_HEAD
* [new tag] 3.4 -> 3.4
* [new tag] v3.8.0a4 -> v3.8.0a4
Reset branch '3.6'
Could Not Find C:\buildbot.python.org\3.6.kloth-win64\build\Lib\*.pyc
The system cannot find the file specified.
Could Not Find C:\buildbot.python.org\3.6.kloth-win64\build\PCbuild\python*.zip
test_ossaudiodev skipped -- No module named 'ossaudiodev'
test_nis skipped -- No module named 'nis'
test_dbm_ndbm skipped -- No module named '_dbm'
test_ioctl skipped -- No module named 'fcntl'
test_fcntl skipped -- No module named 'fcntl'
test_threadsignals skipped -- Can't test signal on win32
test_kqueue skipped -- test works only on BSD
test_spwd skipped -- No module named 'spwd'
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
test_bad_status_repr (test.test_httplib.BasicTest) ... ok
test_chunked (test.test_httplib.BasicTest) ... ok
test_chunked_extension (test.test_httplib.BasicTest) ... ok
test_chunked_head (test.test_httplib.BasicTest) ... ok
test_chunked_missing_end (test.test_httplib.BasicTest)
some servers may serve up a short chunked encoding stream ... ok
test_chunked_sync (test.test_httplib.BasicTest)
Check that we don't read past the end of the chunked-encoding stream ... ok
test_chunked_trailers (test.test_httplib.BasicTest)
See that trailers are read and ignored ... ok
test_content_length_sync (test.test_httplib.BasicTest)
Check that we don't read past the end of the Content-Length stream ... ok
test_early_eof (test.test_httplib.BasicTest) ... ok
test_epipe (test.test_httplib.BasicTest) ... ok
test_error_leak (test.test_httplib.BasicTest) ... ok
test_host_port (test.test_httplib.BasicTest) ... ok
test_incomplete_read (test.test_httplib.BasicTest) ... ok
test_mixed_reads (test.test_httplib.BasicTest) ... ok
test_negative_content_length (test.test_httplib.BasicTest) ... ok
test_overflowing_chunked_line (test.test_httplib.BasicTest) ... ok
test_overflowing_header_line (test.test_httplib.BasicTest) ... ok
test_overflowing_status_line (test.test_httplib.BasicTest) ... ok
test_partial_readintos (test.test_httplib.BasicTest) ... ok
test_partial_readintos_incomplete_body (test.test_httplib.BasicTest) ... ok
test_partial_readintos_no_content_length (test.test_httplib.BasicTest) ... ok
test_partial_reads (test.test_httplib.BasicTest) ... ok
test_partial_reads_incomplete_body (test.test_httplib.BasicTest) ... ok
test_partial_reads_no_content_length (test.test_httplib.BasicTest) ... ok
test_read1_bound_content_length (test.test_httplib.BasicTest) ... ok
test_read1_content_length (test.test_httplib.BasicTest) ... ok
test_read_head (test.test_httplib.BasicTest) ... ok
test_readinto_chunked (test.test_httplib.BasicTest) ... ok
test_readinto_chunked_head (test.test_httplib.BasicTest) ... ok
test_readinto_head (test.test_httplib.BasicTest) ... ok
test_readline_bound_content_length (test.test_httplib.BasicTest) ... ok
test_readlines_content_length (test.test_httplib.BasicTest) ... ok
test_response_fileno (test.test_httplib.BasicTest) ... ok
test_response_headers (test.test_httplib.BasicTest) ... ok
test_send (test.test_httplib.BasicTest) ... ok
test_send_file (test.test_httplib.BasicTest) ... ok
test_send_iter (test.test_httplib.BasicTest) ... ok
test_send_type_error (test.test_httplib.BasicTest) ... ok
test_send_updating_file (test.test_httplib.BasicTest) ... ok
test_status_lines (test.test_httplib.BasicTest) ... ok
test_too_many_headers (test.test_httplib.BasicTest) ... ok
test_peek (test.test_httplib.ExtendedReadTest) ... ok
test_peek_0 (test.test_httplib.ExtendedReadTest) ... ok
test_read1 (test.test_httplib.ExtendedReadTest) ... ok
test_read1_0 (test.test_httplib.ExtendedReadTest) ... ok
test_read1_bounded (test.test_httplib.ExtendedReadTest) ... ok
test_read1_unbounded (test.test_httplib.ExtendedReadTest) ... ok
test_readline (test.test_httplib.ExtendedReadTest) ... ok
test_peek (test.test_httplib.ExtendedReadTestChunked) ... ok
test_peek_0 (test.test_httplib.ExtendedReadTestChunked) ... ok
test_read1 (test.test_httplib.ExtendedReadTestChunked) ... ok
test_read1_0 (test.test_httplib.ExtendedReadTestChunked) ... ok
test_read1_bounded (test.test_httplib.ExtendedReadTestChunked) ... ok
test_read1_unbounded (test.test_httplib.ExtendedReadTestChunked) ... ok
test_readline (test.test_httplib.ExtendedReadTestChunked) ... ok
test_getting_header (test.test_httplib.HTTPResponseTest) ... ok
test_getting_header_defaultint (test.test_httplib.HTTPResponseTest) ... ok
test_getting_nonexistent_header_with_iterable_default (test.test_httplib.HTTPResponseTest) ... ok
test_getting_nonexistent_header_with_string_default (test.test_httplib.HTTPResponseTest) ... ok
test_getting_nonexistent_header_without_default (test.test_httplib.HTTPResponseTest) ... ok
test_attributes (test.test_httplib.HTTPSTest) ... ok
test_host_port (test.test_httplib.HTTPSTest) ... ok
test_local_bad_hostname (test.test_httplib.HTTPSTest) ... server (('127.0.0.1', 17580):17580 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 10:38:04] code 404, message File not found
server (('127.0.0.1', 17580):17580 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 10:38:04] "GET /nonexistent HTTP/1.1" 404 -
server (('127.0.0.1', 17580):17580 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 10:38:06] code 404, message File not found
server (('127.0.0.1', 17580):17580 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 10:38:06] "GET /nonexistent HTTP/1.1" 404 -
stopping HTTPS server
joining HTTPS thread
ok
test_local_good_hostname (test.test_httplib.HTTPSTest) ... server (('127.0.0.1', 17627):17627 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 10:38:08] code 404, message File not found
server (('127.0.0.1', 17627):17627 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 10:38:08] "GET /nonexistent HTTP/1.1" 404 -
stopping HTTPS server
joining HTTPS thread
ok
test_local_unknown_cert (test.test_httplib.HTTPSTest) ... stopping HTTPS server
Got an error:
[WinError 10054] An existing connection was forcibly closed by the remote host
joining HTTPS thread
ok
test_networked (test.test_httplib.HTTPSTest) ... ok
test_networked_bad_cert (test.test_httplib.HTTPSTest) ... ok
test_networked_good_cert (test.test_httplib.HTTPSTest) ... ERROR
test_networked_noverification (test.test_httplib.HTTPSTest) ... ok
test_networked_trusted_by_default_cert (test.test_httplib.HTTPSTest) ... ok
test_auto_headers (test.test_httplib.HeaderTests) ... ok
test_content_length_0 (test.test_httplib.HeaderTests) ... ok
test_headers_debuglevel (test.test_httplib.HeaderTests) ... ok
test_invalid_headers (test.test_httplib.HeaderTests) ... ok
test_ipv6host_header (test.test_httplib.HeaderTests) ... ok
test_malformed_headers_coped_with (test.test_httplib.HeaderTests) ... ok
test_parse_all_octets (test.test_httplib.HeaderTests) ... ok
test_putheader (test.test_httplib.HeaderTests) ... ok
test_all (test.test_httplib.OfflineTest) ... ok
test_client_constants (test.test_httplib.OfflineTest) ... ok
test_responses (test.test_httplib.OfflineTest) ... ok
test_100_close (test.test_httplib.PersistenceTest) ... ok
test_disconnected (test.test_httplib.PersistenceTest) ... ok
test_reuse_reconnect (test.test_httplib.PersistenceTest) ... ok
test_ascii_body (test.test_httplib.RequestBodyTest) ... ok
test_binary_file_body (test.test_httplib.RequestBodyTest) ... ok
test_bytes_body (test.test_httplib.RequestBodyTest) ... ok
test_latin1_body (test.test_httplib.RequestBodyTest) ... ok
test_list_body (test.test_httplib.RequestBodyTest) ... ok
test_manual_content_length (test.test_httplib.RequestBodyTest) ... ok
test_text_file_body (test.test_httplib.RequestBodyTest) ... ok
testHTTPConnectionSourceAddress (test.test_httplib.SourceAddressTest) ... ok
testHTTPSConnectionSourceAddress (test.test_httplib.SourceAddressTest) ... ok
testTimeoutAttribute (test.test_httplib.TimeoutTest) ... ok
test_empty_body (test.test_httplib.TransferEncodingTest) ... ok
test_endheaders_chunked (test.test_httplib.TransferEncodingTest) ... ok
test_explicit_headers (test.test_httplib.TransferEncodingTest) ... ok
test_request (test.test_httplib.TransferEncodingTest) ... ok
test_connect_put_request (test.test_httplib.TunnelTests) ... ok
test_connect_with_tunnel (test.test_httplib.TunnelTests) ... ok
test_disallow_set_tunnel_after_connect (test.test_httplib.TunnelTests) ... ok
test_set_tunnel_host_port_headers (test.test_httplib.TunnelTests) ... ok
test_tunnel_debuglog (test.test_httplib.TunnelTests) ... ok
======================================================================
ERROR: test_networked_good_cert (test.test_httplib.HTTPSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot.python.org\3.6.kloth-win64\build\lib\test\test_httplib.py", line 1605, in test_networked_good_cert
h.request('GET', '/')
File "C:\buildbot.python.org\3.6.kloth-win64\build\lib\http\client.py", line 1254, in request
self._send_request(method, url, body, headers, encode_chunked)
File "C:\buildbot.python.org\3.6.kloth-win64\build\lib\http\client.py", line 1300, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "C:\buildbot.python.org\3.6.kloth-win64\build\lib\http\client.py", line 1249, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "C:\buildbot.python.org\3.6.kloth-win64\build\lib\http\client.py", line 1036, in _send_output
self.send(msg)
File "C:\buildbot.python.org\3.6.kloth-win64\build\lib\http\client.py", line 974, in send
self.connect()
File "C:\buildbot.python.org\3.6.kloth-win64\build\lib\http\client.py", line 1415, in connect
server_hostname=server_hostname)
File "C:\buildbot.python.org\3.6.kloth-win64\build\lib\ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "C:\buildbot.python.org\3.6.kloth-win64\build\lib\ssl.py", line 817, in __init__
self.do_handshake()
File "C:\buildbot.python.org\3.6.kloth-win64\build\lib\ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "C:\buildbot.python.org\3.6.kloth-win64\build\lib\ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
----------------------------------------------------------------------
Ran 103 tests in 10.218s
FAILED (errors=1)
test test_httplib failed
test_tix skipped -- gui not available (WSF_VISIBLE flag not set)
test_epoll skipped -- test works only on Linux 2.6
test_devpoll skipped -- test works only on Solaris OS family
test_resource skipped -- No module named 'resource'
test_ttk_guionly skipped -- gui not available (WSF_VISIBLE flag not set)
test_multiprocessing_fork skipped -- fork is not available on Windows
test_wait3 skipped -- os.fork not defined
minkernel\crts\ucrt\src\appcrt\lowio\write.cpp(50) : Assertion failed: (_osfile(fh) & FOPEN)
test_posix skipped -- No module named 'posix'
test_pipes skipped -- pipes module only works on posix
test_tk skipped -- gui not available (WSF_VISIBLE flag not set)
test_grp skipped -- No module named 'grp'
test_curses skipped -- No module named '_curses'
test_dbm_gnu skipped -- No module named '_gdbm'
test_pty skipped -- No module named 'termios'
test_multiprocessing_forkserver skipped -- forkserver is not available on Windows
test_readline skipped -- No module named 'readline'
test_fork1 skipped -- object <module 'os' from 'C:\\buildbot.python.org\\3.6.kloth-win64\\build\\lib\\os.py'> has no attribute 'fork'
test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
test_openpty skipped -- os.openpty() not available.
test_poll skipped -- select.poll not defined
test_pwd skipped -- No module named 'pwd'
test_syslog skipped -- No module named 'syslog'
test_crypt skipped -- No module named '_crypt'
skipped 'dtrace(1) failed: [WinError 2] The system cannot find the file specified'
skipped 'dtrace(1) failed: [WinError 2] The system cannot find the file specified'
skipped 'stap(1) failed: [WinError 2] The system cannot find the file specified'
skipped 'stap(1) failed: [WinError 2] The system cannot find the file specified'
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK (skipped=4)
test_gdb skipped -- Couldn't find gdb on the path
test_wait4 skipped -- object <module 'os' from 'C:\\buildbot.python.org\\3.6.kloth-win64\\build\\lib\\os.py'> has no attribute 'fork'
minkernel\crts\ucrt\src\appcrt\lowio\write.cpp(50) : Assertion failed: (_osfile(fh) & FOPEN)
minkernel\crts\ucrt\src\appcrt\lowio\close.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
minkernel\crts\ucrt\src\appcrt\lowio\close.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
Got an error:
[SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:852)
test test_httplib failed
Could Not Find C:\buildbot.python.org\3.6.kloth-win64\build\PCbuild\python*.zip |
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot AMD64 Windows8.1 Non-Debug 3.6 has failed when building commit c50d437. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/44/builds/721 Click to see traceback logsFrom https://github.com/python/cpython
* branch 3.6 -> FETCH_HEAD
* [new tag] 3.4 -> 3.4
* [new tag] v3.8.0a4 -> v3.8.0a4
Reset branch '3.6'
Could Not Find D:\buildarea\3.6.ware-win81-release\build\Lib\*.pyc
The system cannot find the file specified.
Could Not Find D:\buildarea\3.6.ware-win81-release\build\PCbuild\python*.zip
test_wait4 skipped -- object <module 'os' from 'D:\\buildarea\\3.6.ware-win81-release\\build\\lib\\os.py'> has no attribute 'fork'
test_ossaudiodev skipped -- No module named 'ossaudiodev'
test_wait3 skipped -- os.fork not defined
test_multiprocessing_forkserver skipped -- forkserver is not available on Windows
test_fcntl skipped -- No module named 'fcntl'
test_devpoll skipped -- test works only on Solaris OS family
test_resource skipped -- No module named 'resource'
test_nis skipped -- No module named 'nis'
test_pty skipped -- No module named 'termios'
test_multiprocessing_fork skipped -- fork is not available on Windows
test_crypt skipped -- No module named '_crypt'
test_kqueue skipped -- test works only on BSD
test_curses skipped -- No module named '_curses'
test_openpty skipped -- os.openpty() not available.
test_threadsignals skipped -- Can't test signal on win32
test_fork1 skipped -- object <module 'os' from 'D:\\buildarea\\3.6.ware-win81-release\\build\\lib\\os.py'> has no attribute 'fork'
test_poll skipped -- select.poll not defined
test_pipes skipped -- pipes module only works on posix
test_grp skipped -- No module named 'grp'
test_ioctl skipped -- No module named 'fcntl'
test_dbm_ndbm skipped -- No module named '_dbm'
test_epoll skipped -- test works only on Linux 2.6
test_readline skipped -- No module named 'readline'
test_dbm_gnu skipped -- No module named '_gdbm'
test_syslog skipped -- No module named 'syslog'
test_spwd skipped -- No module named 'spwd'
test_gdb skipped -- Couldn't find gdb on the path
test_pwd skipped -- No module named 'pwd'
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
test_posix skipped -- No module named 'posix'
test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
test_bad_status_repr (test.test_httplib.BasicTest) ... ok
test_chunked (test.test_httplib.BasicTest) ... ok
test_chunked_extension (test.test_httplib.BasicTest) ... ok
test_chunked_head (test.test_httplib.BasicTest) ... ok
test_chunked_missing_end (test.test_httplib.BasicTest)
some servers may serve up a short chunked encoding stream ... ok
test_chunked_sync (test.test_httplib.BasicTest)
Check that we don't read past the end of the chunked-encoding stream ... ok
test_chunked_trailers (test.test_httplib.BasicTest)
See that trailers are read and ignored ... ok
test_content_length_sync (test.test_httplib.BasicTest)
Check that we don't read past the end of the Content-Length stream ... ok
test_early_eof (test.test_httplib.BasicTest) ... ok
test_epipe (test.test_httplib.BasicTest) ... ok
test_error_leak (test.test_httplib.BasicTest) ... ok
test_host_port (test.test_httplib.BasicTest) ... ok
test_incomplete_read (test.test_httplib.BasicTest) ... ok
test_mixed_reads (test.test_httplib.BasicTest) ... ok
test_negative_content_length (test.test_httplib.BasicTest) ... ok
test_overflowing_chunked_line (test.test_httplib.BasicTest) ... ok
test_overflowing_header_line (test.test_httplib.BasicTest) ... ok
test_overflowing_status_line (test.test_httplib.BasicTest) ... ok
test_partial_readintos (test.test_httplib.BasicTest) ... ok
test_partial_readintos_incomplete_body (test.test_httplib.BasicTest) ... ok
test_partial_readintos_no_content_length (test.test_httplib.BasicTest) ... ok
test_partial_reads (test.test_httplib.BasicTest) ... ok
test_partial_reads_incomplete_body (test.test_httplib.BasicTest) ... ok
test_partial_reads_no_content_length (test.test_httplib.BasicTest) ... ok
test_read1_bound_content_length (test.test_httplib.BasicTest) ... ok
test_read1_content_length (test.test_httplib.BasicTest) ... ok
test_read_head (test.test_httplib.BasicTest) ... ok
test_readinto_chunked (test.test_httplib.BasicTest) ... ok
test_readinto_chunked_head (test.test_httplib.BasicTest) ... ok
test_readinto_head (test.test_httplib.BasicTest) ... ok
test_readline_bound_content_length (test.test_httplib.BasicTest) ... ok
test_readlines_content_length (test.test_httplib.BasicTest) ... ok
test_response_fileno (test.test_httplib.BasicTest) ... ok
test_response_headers (test.test_httplib.BasicTest) ... ok
test_send (test.test_httplib.BasicTest) ... ok
test_send_file (test.test_httplib.BasicTest) ... ok
test_send_iter (test.test_httplib.BasicTest) ... ok
test_send_type_error (test.test_httplib.BasicTest) ... ok
test_send_updating_file (test.test_httplib.BasicTest) ... ok
test_status_lines (test.test_httplib.BasicTest) ... ok
test_too_many_headers (test.test_httplib.BasicTest) ... ok
test_peek (test.test_httplib.ExtendedReadTest) ... ok
test_peek_0 (test.test_httplib.ExtendedReadTest) ... ok
test_read1 (test.test_httplib.ExtendedReadTest) ... ok
test_read1_0 (test.test_httplib.ExtendedReadTest) ... ok
test_read1_bounded (test.test_httplib.ExtendedReadTest) ... ok
test_read1_unbounded (test.test_httplib.ExtendedReadTest) ... ok
test_readline (test.test_httplib.ExtendedReadTest) ... ok
test_peek (test.test_httplib.ExtendedReadTestChunked) ... ok
test_peek_0 (test.test_httplib.ExtendedReadTestChunked) ... ok
test_read1 (test.test_httplib.ExtendedReadTestChunked) ... ok
test_read1_0 (test.test_httplib.ExtendedReadTestChunked) ... ok
test_read1_bounded (test.test_httplib.ExtendedReadTestChunked) ... ok
test_read1_unbounded (test.test_httplib.ExtendedReadTestChunked) ... ok
test_readline (test.test_httplib.ExtendedReadTestChunked) ... ok
test_getting_header (test.test_httplib.HTTPResponseTest) ... ok
test_getting_header_defaultint (test.test_httplib.HTTPResponseTest) ... ok
test_getting_nonexistent_header_with_iterable_default (test.test_httplib.HTTPResponseTest) ... ok
test_getting_nonexistent_header_with_string_default (test.test_httplib.HTTPResponseTest) ... ok
test_getting_nonexistent_header_without_default (test.test_httplib.HTTPResponseTest) ... ok
test_attributes (test.test_httplib.HTTPSTest) ... ok
test_host_port (test.test_httplib.HTTPSTest) ... ok
test_local_bad_hostname (test.test_httplib.HTTPSTest) ... server (('127.0.0.1', 64312):64312 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 16:48:13] code 404, message File not found
server (('127.0.0.1', 64312):64312 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 16:48:13] "GET /nonexistent HTTP/1.1" 404 -
server (('127.0.0.1', 64312):64312 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 16:48:14] code 404, message File not found
server (('127.0.0.1', 64312):64312 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 16:48:14] "GET /nonexistent HTTP/1.1" 404 -
stopping HTTPS server
joining HTTPS thread
ok
test_local_good_hostname (test.test_httplib.HTTPSTest) ... server (('127.0.0.1', 64587):64587 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 16:48:16] code 404, message File not found
server (('127.0.0.1', 64587):64587 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 16:48:16] "GET /nonexistent HTTP/1.1" 404 -
stopping HTTPS server
joining HTTPS thread
ok
test_local_unknown_cert (test.test_httplib.HTTPSTest) ... Got an error:
[SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:852)
stopping HTTPS server
joining HTTPS thread
ok
test_networked (test.test_httplib.HTTPSTest) ... ok
test_networked_bad_cert (test.test_httplib.HTTPSTest) ... ok
test_networked_good_cert (test.test_httplib.HTTPSTest) ... ERROR
test_networked_noverification (test.test_httplib.HTTPSTest) ... ok
test_networked_trusted_by_default_cert (test.test_httplib.HTTPSTest) ... ok
test_auto_headers (test.test_httplib.HeaderTests) ... ok
test_content_length_0 (test.test_httplib.HeaderTests) ... ok
test_headers_debuglevel (test.test_httplib.HeaderTests) ... ok
test_invalid_headers (test.test_httplib.HeaderTests) ... ok
test_ipv6host_header (test.test_httplib.HeaderTests) ... ok
test_malformed_headers_coped_with (test.test_httplib.HeaderTests) ... ok
test_parse_all_octets (test.test_httplib.HeaderTests) ... ok
test_putheader (test.test_httplib.HeaderTests) ... ok
test_all (test.test_httplib.OfflineTest) ... ok
test_client_constants (test.test_httplib.OfflineTest) ... ok
test_responses (test.test_httplib.OfflineTest) ... ok
test_100_close (test.test_httplib.PersistenceTest) ... ok
test_disconnected (test.test_httplib.PersistenceTest) ... ok
test_reuse_reconnect (test.test_httplib.PersistenceTest) ... ok
test_ascii_body (test.test_httplib.RequestBodyTest) ... ok
test_binary_file_body (test.test_httplib.RequestBodyTest) ... ok
test_bytes_body (test.test_httplib.RequestBodyTest) ... ok
test_latin1_body (test.test_httplib.RequestBodyTest) ... ok
test_list_body (test.test_httplib.RequestBodyTest) ... ok
test_manual_content_length (test.test_httplib.RequestBodyTest) ... ok
test_text_file_body (test.test_httplib.RequestBodyTest) ... ok
testHTTPConnectionSourceAddress (test.test_httplib.SourceAddressTest) ... ok
testHTTPSConnectionSourceAddress (test.test_httplib.SourceAddressTest) ... ok
testTimeoutAttribute (test.test_httplib.TimeoutTest) ... ok
test_empty_body (test.test_httplib.TransferEncodingTest) ... ok
test_endheaders_chunked (test.test_httplib.TransferEncodingTest) ... ok
test_explicit_headers (test.test_httplib.TransferEncodingTest) ... ok
test_request (test.test_httplib.TransferEncodingTest) ... ok
test_connect_put_request (test.test_httplib.TunnelTests) ... ok
test_connect_with_tunnel (test.test_httplib.TunnelTests) ... ok
test_disallow_set_tunnel_after_connect (test.test_httplib.TunnelTests) ... ok
test_set_tunnel_host_port_headers (test.test_httplib.TunnelTests) ... ok
test_tunnel_debuglog (test.test_httplib.TunnelTests) ... ok
======================================================================
ERROR: test_networked_good_cert (test.test_httplib.HTTPSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\buildarea\3.6.ware-win81-release\build\lib\test\test_httplib.py", line 1605, in test_networked_good_cert
h.request('GET', '/')
File "D:\buildarea\3.6.ware-win81-release\build\lib\http\client.py", line 1254, in request
self._send_request(method, url, body, headers, encode_chunked)
File "D:\buildarea\3.6.ware-win81-release\build\lib\http\client.py", line 1300, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "D:\buildarea\3.6.ware-win81-release\build\lib\http\client.py", line 1249, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "D:\buildarea\3.6.ware-win81-release\build\lib\http\client.py", line 1036, in _send_output
self.send(msg)
File "D:\buildarea\3.6.ware-win81-release\build\lib\http\client.py", line 974, in send
self.connect()
File "D:\buildarea\3.6.ware-win81-release\build\lib\http\client.py", line 1415, in connect
server_hostname=server_hostname)
File "D:\buildarea\3.6.ware-win81-release\build\lib\ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "D:\buildarea\3.6.ware-win81-release\build\lib\ssl.py", line 817, in __init__
self.do_handshake()
File "D:\buildarea\3.6.ware-win81-release\build\lib\ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "D:\buildarea\3.6.ware-win81-release\build\lib\ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
----------------------------------------------------------------------
Ran 103 tests in 9.094s
FAILED (errors=1)
test test_httplib failed
skipped 'dtrace(1) failed: [WinError 2] The system cannot find the file specified'
skipped 'dtrace(1) failed: [WinError 2] The system cannot find the file specified'
skipped 'stap(1) failed: [WinError 2] The system cannot find the file specified'
skipped 'stap(1) failed: [WinError 2] The system cannot find the file specified'
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK (skipped=4)
Got an error:
[WinError 10054] An existing connection was forcibly closed by the remote host
test test_httplib failed
Could Not Find D:\buildarea\3.6.ware-win81-release\build\PCbuild\python*.zip |
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot s390x SLES 3.6 has failed when building commit c50d437. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/54/builds/802 Click to see traceback logsTraceback (most recent call last):
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/test/test_httplib.py", line 1605, in test_networked_good_cert
h.request('GET', '/')
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/http/client.py", line 1254, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/http/client.py", line 1300, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/http/client.py", line 1249, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/http/client.py", line 1036, in _send_output
self.send(msg)
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/http/client.py", line 974, in send
self.connect()
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/http/client.py", line 1415, in connect
server_hostname=server_hostname)
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/ssl.py", line 817, in __init__
self.do_handshake()
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
----------------------------------------------------------------------
Ran 103 tests in 0.434s
FAILED (errors=1)
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/test/test_httplib.py", line 1605, in test_networked_good_cert
h.request('GET', '/')
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/http/client.py", line 1254, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/http/client.py", line 1300, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/http/client.py", line 1249, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/http/client.py", line 1036, in _send_output
self.send(msg)
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/http/client.py", line 974, in send
self.connect()
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/http/client.py", line 1415, in connect
server_hostname=server_hostname)
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/ssl.py", line 817, in __init__
self.do_handshake()
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "/home/dje/cpython-buildarea/3.6.edelsohn-sles-z/build/Lib/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
----------------------------------------------------------------------
Ran 103 tests in 0.353s
FAILED (errors=1)
|
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot AMD64 Windows10 3.6 has failed when building commit c50d437. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/31/builds/744 Click to see traceback logsFrom https://github.com/python/cpython
* branch 3.6 -> FETCH_HEAD
* [new tag] 3.4 -> 3.4
* [new tag] v3.8.0a4 -> v3.8.0a4
Reset branch '3.6'
Could Not Find D:\buildarea\3.6.bolen-windows10\build\Lib\*.pyc
The system cannot find the file specified.
Could Not Find D:\buildarea\3.6.bolen-windows10\build\PCbuild\python*.zip
stty: standard input: Inappropriate ioctl for device
test_pty skipped -- No module named 'termios'
test_poll skipped -- select.poll not defined
test_readline skipped -- No module named 'readline'
test_spwd skipped -- No module named 'spwd'
skipped 'dtrace(1) failed: [WinError 2] The system cannot find the file specified'
skipped 'dtrace(1) failed: [WinError 2] The system cannot find the file specified'
skipped 'stap(1) failed: [WinError 2] The system cannot find the file specified'
skipped 'stap(1) failed: [WinError 2] The system cannot find the file specified'
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK (skipped=4)
test_crypt skipped -- No module named '_crypt'
test_multiprocessing_fork skipped -- fork is not available on Windows
test_wait3 skipped -- os.fork not defined
test_devpoll skipped -- test works only on Solaris OS family
minkernel\crts\ucrt\src\appcrt\lowio\write.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
minkernel\crts\ucrt\src\appcrt\lowio\close.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
minkernel\crts\ucrt\src\appcrt\lowio\close.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
test_resource skipped -- No module named 'resource'
test_gdb skipped -- Couldn't find gdb on the path
test_syslog skipped -- No module named 'syslog'
test_ossaudiodev skipped -- No module named 'ossaudiodev'
test_bad_status_repr (test.test_httplib.BasicTest) ... ok
test_chunked (test.test_httplib.BasicTest) ... ok
test_chunked_extension (test.test_httplib.BasicTest) ... ok
test_chunked_head (test.test_httplib.BasicTest) ... ok
test_chunked_missing_end (test.test_httplib.BasicTest)
some servers may serve up a short chunked encoding stream ... ok
test_chunked_sync (test.test_httplib.BasicTest)
Check that we don't read past the end of the chunked-encoding stream ... ok
test_chunked_trailers (test.test_httplib.BasicTest)
See that trailers are read and ignored ... ok
test_content_length_sync (test.test_httplib.BasicTest)
Check that we don't read past the end of the Content-Length stream ... ok
test_early_eof (test.test_httplib.BasicTest) ... ok
test_epipe (test.test_httplib.BasicTest) ... ok
test_error_leak (test.test_httplib.BasicTest) ... ok
test_host_port (test.test_httplib.BasicTest) ... ok
test_incomplete_read (test.test_httplib.BasicTest) ... ok
test_mixed_reads (test.test_httplib.BasicTest) ... ok
test_negative_content_length (test.test_httplib.BasicTest) ... ok
test_overflowing_chunked_line (test.test_httplib.BasicTest) ... ok
test_overflowing_header_line (test.test_httplib.BasicTest) ... ok
test_overflowing_status_line (test.test_httplib.BasicTest) ... ok
test_partial_readintos (test.test_httplib.BasicTest) ... ok
test_partial_readintos_incomplete_body (test.test_httplib.BasicTest) ... ok
test_partial_readintos_no_content_length (test.test_httplib.BasicTest) ... ok
test_partial_reads (test.test_httplib.BasicTest) ... ok
test_partial_reads_incomplete_body (test.test_httplib.BasicTest) ... ok
test_partial_reads_no_content_length (test.test_httplib.BasicTest) ... ok
test_read1_bound_content_length (test.test_httplib.BasicTest) ... ok
test_read1_content_length (test.test_httplib.BasicTest) ... ok
test_read_head (test.test_httplib.BasicTest) ... ok
test_readinto_chunked (test.test_httplib.BasicTest) ... ok
test_readinto_chunked_head (test.test_httplib.BasicTest) ... ok
test_readinto_head (test.test_httplib.BasicTest) ... ok
test_readline_bound_content_length (test.test_httplib.BasicTest) ... ok
test_readlines_content_length (test.test_httplib.BasicTest) ... ok
test_response_fileno (test.test_httplib.BasicTest) ... ok
test_response_headers (test.test_httplib.BasicTest) ... ok
test_send (test.test_httplib.BasicTest) ... ok
test_send_file (test.test_httplib.BasicTest) ... ok
test_send_iter (test.test_httplib.BasicTest) ... ok
test_send_type_error (test.test_httplib.BasicTest) ... ok
test_send_updating_file (test.test_httplib.BasicTest) ... ok
test_status_lines (test.test_httplib.BasicTest) ... ok
test_too_many_headers (test.test_httplib.BasicTest) ... ok
test_peek (test.test_httplib.ExtendedReadTest) ... ok
test_peek_0 (test.test_httplib.ExtendedReadTest) ... ok
test_read1 (test.test_httplib.ExtendedReadTest) ... ok
test_read1_0 (test.test_httplib.ExtendedReadTest) ... ok
test_read1_bounded (test.test_httplib.ExtendedReadTest) ... ok
test_read1_unbounded (test.test_httplib.ExtendedReadTest) ... ok
test_readline (test.test_httplib.ExtendedReadTest) ... ok
test_peek (test.test_httplib.ExtendedReadTestChunked) ... ok
test_peek_0 (test.test_httplib.ExtendedReadTestChunked) ... ok
test_read1 (test.test_httplib.ExtendedReadTestChunked) ... ok
test_read1_0 (test.test_httplib.ExtendedReadTestChunked) ... ok
test_read1_bounded (test.test_httplib.ExtendedReadTestChunked) ... ok
test_read1_unbounded (test.test_httplib.ExtendedReadTestChunked) ... ok
test_readline (test.test_httplib.ExtendedReadTestChunked) ... ok
test_getting_header (test.test_httplib.HTTPResponseTest) ... ok
test_getting_header_defaultint (test.test_httplib.HTTPResponseTest) ... ok
test_getting_nonexistent_header_with_iterable_default (test.test_httplib.HTTPResponseTest) ... ok
test_getting_nonexistent_header_with_string_default (test.test_httplib.HTTPResponseTest) ... ok
test_getting_nonexistent_header_without_default (test.test_httplib.HTTPResponseTest) ... ok
test_attributes (test.test_httplib.HTTPSTest) ... ok
test_host_port (test.test_httplib.HTTPSTest) ... ok
test_local_bad_hostname (test.test_httplib.HTTPSTest) ... server (('127.0.0.1', 58996):58996 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 12:51:04] code 404, message File not found
server (('127.0.0.1', 58996):58996 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 12:51:04] "GET /nonexistent HTTP/1.1" 404 -
server (('127.0.0.1', 58996):58996 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 12:51:05] code 404, message File not found
server (('127.0.0.1', 58996):58996 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 12:51:05] "GET /nonexistent HTTP/1.1" 404 -
stopping HTTPS server
joining HTTPS thread
ok
test_local_good_hostname (test.test_httplib.HTTPSTest) ... server (('127.0.0.1', 59007):59007 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 12:51:08] code 404, message File not found
server (('127.0.0.1', 59007):59007 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 12:51:08] "GET /nonexistent HTTP/1.1" 404 -
stopping HTTPS server
joining HTTPS thread
ok
test_local_unknown_cert (test.test_httplib.HTTPSTest) ... stopping HTTPS server
Got an error:
[WinError 10054] An existing connection was forcibly closed by the remote host
joining HTTPS thread
ok
test_networked (test.test_httplib.HTTPSTest) ... ok
test_networked_bad_cert (test.test_httplib.HTTPSTest) ... ok
test_networked_good_cert (test.test_httplib.HTTPSTest) ... ERROR
test_networked_noverification (test.test_httplib.HTTPSTest) ... ok
test_networked_trusted_by_default_cert (test.test_httplib.HTTPSTest) ... ok
test_auto_headers (test.test_httplib.HeaderTests) ... ok
test_content_length_0 (test.test_httplib.HeaderTests) ... ok
test_headers_debuglevel (test.test_httplib.HeaderTests) ... ok
test_invalid_headers (test.test_httplib.HeaderTests) ... ok
test_ipv6host_header (test.test_httplib.HeaderTests) ... ok
test_malformed_headers_coped_with (test.test_httplib.HeaderTests) ... ok
test_parse_all_octets (test.test_httplib.HeaderTests) ... ok
test_putheader (test.test_httplib.HeaderTests) ... ok
test_all (test.test_httplib.OfflineTest) ... ok
test_client_constants (test.test_httplib.OfflineTest) ... ok
test_responses (test.test_httplib.OfflineTest) ... ok
test_100_close (test.test_httplib.PersistenceTest) ... ok
test_disconnected (test.test_httplib.PersistenceTest) ... ok
test_reuse_reconnect (test.test_httplib.PersistenceTest) ... ok
test_ascii_body (test.test_httplib.RequestBodyTest) ... ok
test_binary_file_body (test.test_httplib.RequestBodyTest) ... ok
test_bytes_body (test.test_httplib.RequestBodyTest) ... ok
test_latin1_body (test.test_httplib.RequestBodyTest) ... ok
test_list_body (test.test_httplib.RequestBodyTest) ... ok
test_manual_content_length (test.test_httplib.RequestBodyTest) ... ok
test_text_file_body (test.test_httplib.RequestBodyTest) ... ok
testHTTPConnectionSourceAddress (test.test_httplib.SourceAddressTest) ... ok
testHTTPSConnectionSourceAddress (test.test_httplib.SourceAddressTest) ... ok
testTimeoutAttribute (test.test_httplib.TimeoutTest) ... ok
test_empty_body (test.test_httplib.TransferEncodingTest) ... ok
test_endheaders_chunked (test.test_httplib.TransferEncodingTest) ... ok
test_explicit_headers (test.test_httplib.TransferEncodingTest) ... ok
test_request (test.test_httplib.TransferEncodingTest) ... ok
test_connect_put_request (test.test_httplib.TunnelTests) ... ok
test_connect_with_tunnel (test.test_httplib.TunnelTests) ... ok
test_disallow_set_tunnel_after_connect (test.test_httplib.TunnelTests) ... ok
test_set_tunnel_host_port_headers (test.test_httplib.TunnelTests) ... ok
test_tunnel_debuglog (test.test_httplib.TunnelTests) ... ok
======================================================================
ERROR: test_networked_good_cert (test.test_httplib.HTTPSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\buildarea\3.6.bolen-windows10\build\lib\test\test_httplib.py", line 1605, in test_networked_good_cert
h.request('GET', '/')
File "D:\buildarea\3.6.bolen-windows10\build\lib\http\client.py", line 1254, in request
self._send_request(method, url, body, headers, encode_chunked)
File "D:\buildarea\3.6.bolen-windows10\build\lib\http\client.py", line 1300, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "D:\buildarea\3.6.bolen-windows10\build\lib\http\client.py", line 1249, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "D:\buildarea\3.6.bolen-windows10\build\lib\http\client.py", line 1036, in _send_output
self.send(msg)
File "D:\buildarea\3.6.bolen-windows10\build\lib\http\client.py", line 974, in send
self.connect()
File "D:\buildarea\3.6.bolen-windows10\build\lib\http\client.py", line 1415, in connect
server_hostname=server_hostname)
File "D:\buildarea\3.6.bolen-windows10\build\lib\ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "D:\buildarea\3.6.bolen-windows10\build\lib\ssl.py", line 817, in __init__
self.do_handshake()
File "D:\buildarea\3.6.bolen-windows10\build\lib\ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "D:\buildarea\3.6.bolen-windows10\build\lib\ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
----------------------------------------------------------------------
Ran 103 tests in 9.094s
FAILED (errors=1)
test test_httplib failed
test_grp skipped -- No module named 'grp'
test_nis skipped -- No module named 'nis'
test_wait4 skipped -- object <module 'os' from 'D:\\buildarea\\3.6.bolen-windows10\\build\\lib\\os.py'> has no attribute 'fork'
test_fcntl skipped -- No module named 'fcntl'
test_pipes skipped -- pipes module only works on posix
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
test_dbm_gnu skipped -- No module named '_gdbm'
test_fork1 skipped -- object <module 'os' from 'D:\\buildarea\\3.6.bolen-windows10\\build\\lib\\os.py'> has no attribute 'fork'
test_kqueue skipped -- test works only on BSD
test_ioctl skipped -- No module named 'fcntl'
test_multiprocessing_forkserver skipped -- forkserver is not available on Windows
test_posix skipped -- No module named 'posix'
test_pwd skipped -- No module named 'pwd'
test_threadsignals skipped -- Can't test signal on win32
test_dbm_ndbm skipped -- No module named '_dbm'
test_openpty skipped -- os.openpty() not available.
minkernel\crts\ucrt\src\appcrt\lowio\write.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
test_curses skipped -- No module named '_curses'
test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
test_epoll skipped -- test works only on Linux 2.6
Got an error:
[SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:852)
test test_httplib failed
Could Not Find D:\buildarea\3.6.bolen-windows10\build\PCbuild\python*.zip |
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot AMD64 Debian root 3.6 has failed when building commit c50d437. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/37/builds/795 Click to see traceback logsTraceback (most recent call last):
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/test/test_httplib.py", line 1605, in test_networked_good_cert
h.request('GET', '/')
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/http/client.py", line 1254, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/http/client.py", line 1300, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/http/client.py", line 1249, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/http/client.py", line 1036, in _send_output
self.send(msg)
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/http/client.py", line 974, in send
self.connect()
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/http/client.py", line 1415, in connect
server_hostname=server_hostname)
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/ssl.py", line 817, in __init__
self.do_handshake()
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
----------------------------------------------------------------------
Ran 103 tests in 3.012s
FAILED (errors=1)
Traceback (most recent call last):
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/test/test_httplib.py", line 1605, in test_networked_good_cert
h.request('GET', '/')
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/http/client.py", line 1254, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/http/client.py", line 1300, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/http/client.py", line 1249, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/http/client.py", line 1036, in _send_output
self.send(msg)
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/http/client.py", line 974, in send
self.connect()
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/http/client.py", line 1415, in connect
server_hostname=server_hostname)
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/ssl.py", line 817, in __init__
self.do_handshake()
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "/root/buildarea/3.6.angelico-debian-amd64/build/Lib/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
----------------------------------------------------------------------
Ran 103 tests in 3.022s
FAILED (errors=1)
|
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot s390x RHEL 3.6 has failed when building commit c50d437. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/29/builds/799 Click to see traceback logsTraceback (most recent call last):
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/test/test_httplib.py", line 1605, in test_networked_good_cert
h.request('GET', '/')
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/http/client.py", line 1254, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/http/client.py", line 1300, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/http/client.py", line 1249, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/http/client.py", line 1036, in _send_output
self.send(msg)
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/http/client.py", line 974, in send
self.connect()
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/http/client.py", line 1415, in connect
server_hostname=server_hostname)
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/ssl.py", line 817, in __init__
self.do_handshake()
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
----------------------------------------------------------------------
Ran 103 tests in 5.644s
FAILED (errors=1)
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/test/test_httplib.py", line 1605, in test_networked_good_cert
h.request('GET', '/')
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/http/client.py", line 1254, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/http/client.py", line 1300, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/http/client.py", line 1249, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/http/client.py", line 1036, in _send_output
self.send(msg)
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/http/client.py", line 974, in send
self.connect()
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/http/client.py", line 1415, in connect
server_hostname=server_hostname)
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/ssl.py", line 817, in __init__
self.do_handshake()
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "/home/dje/cpython-buildarea/3.6.edelsohn-rhel-z/build/Lib/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
----------------------------------------------------------------------
Ran 103 tests in 0.632s
FAILED (errors=1)
|
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot PPC64 Fedora 3.6 has failed when building commit c50d437. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/50/builds/797 Click to see traceback logsTraceback (most recent call last):
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/test/test_httplib.py", line 1605, in test_networked_good_cert
h.request('GET', '/')
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/http/client.py", line 1254, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/http/client.py", line 1300, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/http/client.py", line 1249, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/http/client.py", line 1036, in _send_output
self.send(msg)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/http/client.py", line 974, in send
self.connect()
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/http/client.py", line 1415, in connect
server_hostname=server_hostname)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 817, in __init__
self.do_handshake()
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
----------------------------------------------------------------------
Ran 103 tests in 1.374s
FAILED (errors=1)
Traceback (most recent call last):
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/test/test_httplib.py", line 1605, in test_networked_good_cert
h.request('GET', '/')
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/http/client.py", line 1254, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/http/client.py", line 1300, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/http/client.py", line 1249, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/http/client.py", line 1036, in _send_output
self.send(msg)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/http/client.py", line 974, in send
self.connect()
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/http/client.py", line 1415, in connect
server_hostname=server_hostname)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 817, in __init__
self.do_handshake()
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
----------------------------------------------------------------------
Ran 103 tests in 1.336s
FAILED (errors=1)
|
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot PPC64LE Fedora 3.6 has failed when building commit c50d437. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/83/builds/724 Click to see traceback logsTraceback (most recent call last):
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/test/test_httplib.py", line 1605, in test_networked_good_cert
h.request('GET', '/')
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/http/client.py", line 1254, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/http/client.py", line 1300, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/http/client.py", line 1249, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/http/client.py", line 1036, in _send_output
self.send(msg)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/http/client.py", line 974, in send
self.connect()
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/http/client.py", line 1415, in connect
server_hostname=server_hostname)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/ssl.py", line 817, in __init__
self.do_handshake()
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
----------------------------------------------------------------------
Ran 103 tests in 1.520s
FAILED (errors=1)
Traceback (most recent call last):
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/test/test_httplib.py", line 1605, in test_networked_good_cert
h.request('GET', '/')
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/http/client.py", line 1254, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/http/client.py", line 1300, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/http/client.py", line 1249, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/http/client.py", line 1036, in _send_output
self.send(msg)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/http/client.py", line 974, in send
self.connect()
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/http/client.py", line 1415, in connect
server_hostname=server_hostname)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/ssl.py", line 817, in __init__
self.do_handshake()
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "/home/shager/cpython-buildarea/3.6.edelsohn-fedora-ppc64le/build/Lib/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
----------------------------------------------------------------------
Ran 103 tests in 1.411s
FAILED (errors=1)
|
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot s390x Debian 3.6 has failed when building commit c50d437. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/63/builds/822 Click to see traceback logsTraceback (most recent call last):
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/test/test_httplib.py", line 1605, in test_networked_good_cert
h.request('GET', '/')
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/http/client.py", line 1254, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/http/client.py", line 1300, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/http/client.py", line 1249, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/http/client.py", line 1036, in _send_output
self.send(msg)
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/http/client.py", line 974, in send
self.connect()
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/http/client.py", line 1415, in connect
server_hostname=server_hostname)
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/ssl.py", line 817, in __init__
self.do_handshake()
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
----------------------------------------------------------------------
Ran 103 tests in 0.429s
FAILED (errors=1)
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/test/test_httplib.py", line 1605, in test_networked_good_cert
h.request('GET', '/')
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/http/client.py", line 1254, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/http/client.py", line 1300, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/http/client.py", line 1249, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/http/client.py", line 1036, in _send_output
self.send(msg)
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/http/client.py", line 974, in send
self.connect()
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/http/client.py", line 1415, in connect
server_hostname=server_hostname)
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/ssl.py", line 817, in __init__
self.do_handshake()
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "/home/dje/cpython-buildarea/3.6.edelsohn-debian-z/build/Lib/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
----------------------------------------------------------------------
Ran 103 tests in 0.534s
FAILED (errors=1)
|
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot AMD64 Ubuntu Shared 3.6 has failed when building commit c50d437. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/144/builds/423 Click to see traceback logsTraceback (most recent call last):
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/test/test_httplib.py", line 1605, in test_networked_good_cert
h.request('GET', '/')
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/http/client.py", line 1254, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/http/client.py", line 1300, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/http/client.py", line 1249, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/http/client.py", line 1036, in _send_output
self.send(msg)
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/http/client.py", line 974, in send
self.connect()
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/http/client.py", line 1415, in connect
server_hostname=server_hostname)
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/ssl.py", line 817, in __init__
self.do_handshake()
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
----------------------------------------------------------------------
Ran 103 tests in 0.481s
FAILED (errors=1)
Traceback (most recent call last):
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/test/test_httplib.py", line 1605, in test_networked_good_cert
h.request('GET', '/')
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/http/client.py", line 1254, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/http/client.py", line 1300, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/http/client.py", line 1249, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/http/client.py", line 1036, in _send_output
self.send(msg)
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/http/client.py", line 974, in send
self.connect()
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/http/client.py", line 1415, in connect
server_hostname=server_hostname)
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/ssl.py", line 817, in __init__
self.do_handshake()
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "/srv/buildbot/buildarea/3.6.bolen-ubuntu/build/Lib/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
----------------------------------------------------------------------
Ran 103 tests in 0.588s
FAILED (errors=1)
|
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot AMD64 Debian PGO 3.6 has failed when building commit c50d437. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/77/builds/784 Click to see traceback logsTraceback (most recent call last):
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/test/test_httplib.py", line 1605, in test_networked_good_cert
h.request('GET', '/')
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/http/client.py", line 1254, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/http/client.py", line 1300, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/http/client.py", line 1249, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/http/client.py", line 1036, in _send_output
self.send(msg)
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/http/client.py", line 974, in send
self.connect()
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/http/client.py", line 1415, in connect
server_hostname=server_hostname)
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/ssl.py", line 817, in __init__
self.do_handshake()
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
----------------------------------------------------------------------
Ran 103 tests in 0.569s
FAILED (errors=1)
Traceback (most recent call last):
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/test/test_httplib.py", line 1605, in test_networked_good_cert
h.request('GET', '/')
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/http/client.py", line 1254, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/http/client.py", line 1300, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/http/client.py", line 1249, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/http/client.py", line 1036, in _send_output
self.send(msg)
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/http/client.py", line 974, in send
self.connect()
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/http/client.py", line 1415, in connect
server_hostname=server_hostname)
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/ssl.py", line 817, in __init__
self.do_handshake()
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.6.gps-debian-profile-opt.nondebug/build/Lib/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
----------------------------------------------------------------------
Ran 103 tests in 0.493s
FAILED (errors=1)
|
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot x86 Windows7 3.6 has failed when building commit c50d437. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/90/builds/747 Click to see traceback logsFrom https://github.com/python/cpython
* branch 3.6 -> FETCH_HEAD
* [new tag] 3.4 -> 3.4
* [new tag] v3.8.0a4 -> v3.8.0a4
Reset branch '3.6'
The term 'Invoke-WebRequest' is not recognized as the name of a cmdlet, functio
n, script file, or operable program. Check the spelling of the name, or if a pa
th was included, verify that the path is correct and try again.
At line:1 char:18
+ Invoke-WebRequest <<<< https://aka.ms/nugetclidl -OutFile 'D:\cygwin\home\db
3l\buildarea\3.6.bolen-windows7\build\PCbuild\\..\externals\nuget.exe'
+ CategoryInfo : ObjectNotFound: (Invoke-WebRequest:String) [], C
ommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
'py' is not recognized as an internal or external command,
operable program or batch file.
'"D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\PCbuild\\..\externals\nuget.exe"' is not recognized as an internal or external command,
operable program or batch file.
The term 'Invoke-WebRequest' is not recognized as the name of a cmdlet, functio
n, script file, or operable program. Check the spelling of the name, or if a pa
th was included, verify that the path is correct and try again.
At line:1 char:18
+ Invoke-WebRequest <<<< https://aka.ms/nugetclidl -OutFile 'D:\cygwin\home\db
3l\buildarea\3.6.bolen-windows7\build\PCbuild\\..\externals\nuget.exe'
+ CategoryInfo : ObjectNotFound: (Invoke-WebRequest:String) [], C
ommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
'py' is not recognized as an internal or external command,
operable program or batch file.
'"D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\PCbuild\\..\externals\nuget.exe"' is not recognized as an internal or external command,
operable program or batch file.
Could Not Find D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\Lib\*.pyc
The system cannot find the file specified.
Could Not Find D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\PCbuild\python*.zip
The term 'Invoke-WebRequest' is not recognized as the name of a cmdlet, functio
n, script file, or operable program. Check the spelling of the name, or if a pa
th was included, verify that the path is correct and try again.
At line:1 char:18
+ Invoke-WebRequest <<<< https://aka.ms/nugetclidl -OutFile 'D:\cygwin\home\db
3l\buildarea\3.6.bolen-windows7\build\PCbuild\\..\externals\nuget.exe'
+ CategoryInfo : ObjectNotFound: (Invoke-WebRequest:String) [], C
ommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
'py' is not recognized as an internal or external command,
operable program or batch file.
'"D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\PCbuild\\..\externals\nuget.exe"' is not recognized as an internal or external command,
operable program or batch file.
test_dbm_gnu skipped -- No module named '_gdbm'
test_grp skipped -- No module named 'grp'
skipped 'test requires 2500000000 bytes and a long time to run'
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK (skipped=1)
test_bad_status_repr (test.test_httplib.BasicTest) ... ok
test_chunked (test.test_httplib.BasicTest) ... ok
test_chunked_extension (test.test_httplib.BasicTest) ... ok
test_chunked_head (test.test_httplib.BasicTest) ... ok
test_chunked_missing_end (test.test_httplib.BasicTest)
some servers may serve up a short chunked encoding stream ... ok
test_chunked_sync (test.test_httplib.BasicTest)
Check that we don't read past the end of the chunked-encoding stream ... ok
test_chunked_trailers (test.test_httplib.BasicTest)
See that trailers are read and ignored ... ok
test_content_length_sync (test.test_httplib.BasicTest)
Check that we don't read past the end of the Content-Length stream ... ok
test_early_eof (test.test_httplib.BasicTest) ... ok
test_epipe (test.test_httplib.BasicTest) ... ok
test_error_leak (test.test_httplib.BasicTest) ... ok
test_host_port (test.test_httplib.BasicTest) ... ok
test_incomplete_read (test.test_httplib.BasicTest) ... ok
test_mixed_reads (test.test_httplib.BasicTest) ... ok
test_negative_content_length (test.test_httplib.BasicTest) ... ok
test_overflowing_chunked_line (test.test_httplib.BasicTest) ... ok
test_overflowing_header_line (test.test_httplib.BasicTest) ... ok
test_overflowing_status_line (test.test_httplib.BasicTest) ... ok
test_partial_readintos (test.test_httplib.BasicTest) ... ok
test_partial_readintos_incomplete_body (test.test_httplib.BasicTest) ... ok
test_partial_readintos_no_content_length (test.test_httplib.BasicTest) ... ok
test_partial_reads (test.test_httplib.BasicTest) ... ok
test_partial_reads_incomplete_body (test.test_httplib.BasicTest) ... ok
test_partial_reads_no_content_length (test.test_httplib.BasicTest) ... ok
test_read1_bound_content_length (test.test_httplib.BasicTest) ... ok
test_read1_content_length (test.test_httplib.BasicTest) ... ok
test_read_head (test.test_httplib.BasicTest) ... ok
test_readinto_chunked (test.test_httplib.BasicTest) ... ok
test_readinto_chunked_head (test.test_httplib.BasicTest) ... ok
test_readinto_head (test.test_httplib.BasicTest) ... ok
test_readline_bound_content_length (test.test_httplib.BasicTest) ... ok
test_readlines_content_length (test.test_httplib.BasicTest) ... ok
test_response_fileno (test.test_httplib.BasicTest) ... ok
test_response_headers (test.test_httplib.BasicTest) ... ok
test_send (test.test_httplib.BasicTest) ... ok
test_send_file (test.test_httplib.BasicTest) ... ok
test_send_iter (test.test_httplib.BasicTest) ... ok
test_send_type_error (test.test_httplib.BasicTest) ... ok
test_send_updating_file (test.test_httplib.BasicTest) ... ok
test_status_lines (test.test_httplib.BasicTest) ... ok
test_too_many_headers (test.test_httplib.BasicTest) ... ok
test_peek (test.test_httplib.ExtendedReadTest) ... ok
test_peek_0 (test.test_httplib.ExtendedReadTest) ... ok
test_read1 (test.test_httplib.ExtendedReadTest) ... ok
test_read1_0 (test.test_httplib.ExtendedReadTest) ... ok
test_read1_bounded (test.test_httplib.ExtendedReadTest) ... ok
test_read1_unbounded (test.test_httplib.ExtendedReadTest) ... ok
test_readline (test.test_httplib.ExtendedReadTest) ... ok
test_peek (test.test_httplib.ExtendedReadTestChunked) ... ok
test_peek_0 (test.test_httplib.ExtendedReadTestChunked) ... ok
test_read1 (test.test_httplib.ExtendedReadTestChunked) ... ok
test_read1_0 (test.test_httplib.ExtendedReadTestChunked) ... ok
test_read1_bounded (test.test_httplib.ExtendedReadTestChunked) ... ok
test_read1_unbounded (test.test_httplib.ExtendedReadTestChunked) ... ok
test_readline (test.test_httplib.ExtendedReadTestChunked) ... ok
test_getting_header (test.test_httplib.HTTPResponseTest) ... ok
test_getting_header_defaultint (test.test_httplib.HTTPResponseTest) ... ok
test_getting_nonexistent_header_with_iterable_default (test.test_httplib.HTTPResponseTest) ... ok
test_getting_nonexistent_header_with_string_default (test.test_httplib.HTTPResponseTest) ... ok
test_getting_nonexistent_header_without_default (test.test_httplib.HTTPResponseTest) ... ok
test_attributes (test.test_httplib.HTTPSTest) ... ok
test_host_port (test.test_httplib.HTTPSTest) ... ok
test_local_bad_hostname (test.test_httplib.HTTPSTest) ... server (('127.0.0.1', 56004):56004 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 13:43:41] code 404, message File not found
server (('127.0.0.1', 56004):56004 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 13:43:41] "GET /nonexistent HTTP/1.1" 404 -
server (('127.0.0.1', 56004):56004 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 13:43:43] code 404, message File not found
server (('127.0.0.1', 56004):56004 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 13:43:43] "GET /nonexistent HTTP/1.1" 404 -
stopping HTTPS server
joining HTTPS thread
ok
test_local_good_hostname (test.test_httplib.HTTPSTest) ... server (('127.0.0.1', 56019):56019 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 13:43:45] code 404, message File not found
server (('127.0.0.1', 56019):56019 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
[08/May/2019 13:43:45] "GET /nonexistent HTTP/1.1" 404 -
stopping HTTPS server
joining HTTPS thread
ok
test_local_unknown_cert (test.test_httplib.HTTPSTest) ... stopping HTTPS server
Got an error:
[WinError 10054] An existing connection was forcibly closed by the remote host
joining HTTPS thread
ok
test_networked (test.test_httplib.HTTPSTest) ... ok
test_networked_bad_cert (test.test_httplib.HTTPSTest) ... ok
test_networked_good_cert (test.test_httplib.HTTPSTest) ... ERROR
test_networked_noverification (test.test_httplib.HTTPSTest) ... ok
test_networked_trusted_by_default_cert (test.test_httplib.HTTPSTest) ... skipped 'system does not contain necessary certificates'
test_auto_headers (test.test_httplib.HeaderTests) ... ok
test_content_length_0 (test.test_httplib.HeaderTests) ... ok
test_headers_debuglevel (test.test_httplib.HeaderTests) ... ok
test_invalid_headers (test.test_httplib.HeaderTests) ... ok
test_ipv6host_header (test.test_httplib.HeaderTests) ... ok
test_malformed_headers_coped_with (test.test_httplib.HeaderTests) ... ok
test_parse_all_octets (test.test_httplib.HeaderTests) ... ok
test_putheader (test.test_httplib.HeaderTests) ... ok
test_all (test.test_httplib.OfflineTest) ... ok
test_client_constants (test.test_httplib.OfflineTest) ... ok
test_responses (test.test_httplib.OfflineTest) ... ok
test_100_close (test.test_httplib.PersistenceTest) ... ok
test_disconnected (test.test_httplib.PersistenceTest) ... ok
test_reuse_reconnect (test.test_httplib.PersistenceTest) ... ok
test_ascii_body (test.test_httplib.RequestBodyTest) ... ok
test_binary_file_body (test.test_httplib.RequestBodyTest) ... ok
test_bytes_body (test.test_httplib.RequestBodyTest) ... ok
test_latin1_body (test.test_httplib.RequestBodyTest) ... ok
test_list_body (test.test_httplib.RequestBodyTest) ... ok
test_manual_content_length (test.test_httplib.RequestBodyTest) ... ok
test_text_file_body (test.test_httplib.RequestBodyTest) ... ok
testHTTPConnectionSourceAddress (test.test_httplib.SourceAddressTest) ... ok
testHTTPSConnectionSourceAddress (test.test_httplib.SourceAddressTest) ... ok
testTimeoutAttribute (test.test_httplib.TimeoutTest) ... ok
test_empty_body (test.test_httplib.TransferEncodingTest) ... ok
test_endheaders_chunked (test.test_httplib.TransferEncodingTest) ... ok
test_explicit_headers (test.test_httplib.TransferEncodingTest) ... ok
test_request (test.test_httplib.TransferEncodingTest) ... ok
test_connect_put_request (test.test_httplib.TunnelTests) ... ok
test_connect_with_tunnel (test.test_httplib.TunnelTests) ... ok
test_disallow_set_tunnel_after_connect (test.test_httplib.TunnelTests) ... ok
test_set_tunnel_host_port_headers (test.test_httplib.TunnelTests) ... ok
test_tunnel_debuglog (test.test_httplib.TunnelTests) ... ok
======================================================================
ERROR: test_networked_good_cert (test.test_httplib.HTTPSTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\lib\test\test_httplib.py", line 1605, in test_networked_good_cert
h.request('GET', '/')
File "D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\lib\http\client.py", line 1254, in request
self._send_request(method, url, body, headers, encode_chunked)
File "D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\lib\http\client.py", line 1300, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\lib\http\client.py", line 1249, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\lib\http\client.py", line 1036, in _send_output
self.send(msg)
File "D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\lib\http\client.py", line 974, in send
self.connect()
File "D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\lib\http\client.py", line 1415, in connect
server_hostname=server_hostname)
File "D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\lib\ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\lib\ssl.py", line 817, in __init__
self.do_handshake()
File "D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\lib\ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\lib\ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
----------------------------------------------------------------------
Ran 103 tests in 12.057s
FAILED (errors=1, skipped=1)
test test_httplib failed
test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
test_curses skipped -- No module named '_curses'
test_devpoll skipped -- test works only on Solaris OS family
test_multiprocessing_fork skipped -- fork is not available on Windows
test_fcntl skipped -- No module named 'fcntl'
test_threadsignals skipped -- Can't test signal on win32
test_pipes skipped -- pipes module only works on posix
minkernel\crts\ucrt\src\appcrt\lowio\write.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
minkernel\crts\ucrt\src\appcrt\lowio\close.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
minkernel\crts\ucrt\src\appcrt\lowio\close.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
test_fork1 skipped -- object <module 'os' from 'D:\\cygwin\\home\\db3l\\buildarea\\3.6.bolen-windows7\\build\\lib\\os.py'> has no attribute 'fork'
test_readline skipped -- No module named 'readline'
test_syslog skipped -- No module named 'syslog'
test_dbm_ndbm skipped -- No module named '_dbm'
skipped 'dtrace(1) failed: [WinError 2] The system cannot find the file specified'
skipped 'dtrace(1) failed: [WinError 2] The system cannot find the file specified'
skipped 'stap(1) failed: [WinError 2] The system cannot find the file specified'
skipped 'stap(1) failed: [WinError 2] The system cannot find the file specified'
----------------------------------------------------------------------
Ran 0 tests in 0.070s
OK (skipped=4)
test_ioctl skipped -- No module named 'fcntl'
test_crypt skipped -- No module named '_crypt'
test_wait4 skipped -- object <module 'os' from 'D:\\cygwin\\home\\db3l\\buildarea\\3.6.bolen-windows7\\build\\lib\\os.py'> has no attribute 'fork'
test_ossaudiodev skipped -- No module named 'ossaudiodev'
test_openpty skipped -- os.openpty() not available.
test_kqueue skipped -- test works only on BSD
test_resource skipped -- No module named 'resource'
test_nis skipped -- No module named 'nis'
test_pty skipped -- No module named 'termios'
test_pwd skipped -- No module named 'pwd'
minkernel\crts\ucrt\src\appcrt\lowio\write.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
test_gdb skipped -- Couldn't find gdb on the path
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
test_multiprocessing_forkserver skipped -- forkserver is not available on Windows
test_posix skipped -- No module named 'posix'
test_wait3 skipped -- os.fork not defined
stty: standard input: Inappropriate ioctl for device
D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\lib\test\support\__init__.py:1036: RuntimeWarning: tests may fail, unable to create temp dir: D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\build\test_python_1096
with temp_dir(path=name, quiet=quiet) as temp_path:
test_poll skipped -- select.poll not defined
test_spwd skipped -- No module named 'spwd'
test_epoll skipped -- test works only on Linux 2.6
Got an error:
[WinError 10054] An existing connection was forcibly closed by the remote host
test test_httplib failed
The term 'Invoke-WebRequest' is not recognized as the name of a cmdlet, functio
n, script file, or operable program. Check the spelling of the name, or if a pa
th was included, verify that the path is correct and try again.
At line:1 char:18
+ Invoke-WebRequest <<<< https://aka.ms/nugetclidl -OutFile 'D:\cygwin\home\db
3l\buildarea\3.6.bolen-windows7\build\PCbuild\\..\externals\nuget.exe'
+ CategoryInfo : ObjectNotFound: (Invoke-WebRequest:String) [], C
ommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
'py' is not recognized as an internal or external command,
operable program or batch file.
'"D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\PCbuild\\..\externals\nuget.exe"' is not recognized as an internal or external command,
operable program or batch file.
The term 'Invoke-WebRequest' is not recognized as the name of a cmdlet, functio
n, script file, or operable program. Check the spelling of the name, or if a pa
th was included, verify that the path is correct and try again.
At line:1 char:18
+ Invoke-WebRequest <<<< https://aka.ms/nugetclidl -OutFile 'D:\cygwin\home\db
3l\buildarea\3.6.bolen-windows7\build\PCbuild\\..\externals\nuget.exe'
+ CategoryInfo : ObjectNotFound: (Invoke-WebRequest:String) [], C
ommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
'py' is not recognized as an internal or external command,
operable program or batch file.
'"D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\PCbuild\\..\externals\nuget.exe"' is not recognized as an internal or external command,
operable program or batch file.
Could Not Find D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\PCbuild\python*.zip |
Sorry, something went wrong.
Disallow control chars in http URLs in urllib.urlopen. This addresses a potential security problem for applications that do not sanity check their URLs where http request headers could be injected. Disable https related urllib tests on a build without ssl (pythonGH-13032) These tests require an SSL enabled build. Skip these tests when python is built without SSL to fix test failures. Use http.client.InvalidURL instead of ValueError as the new error case's exception. (pythonGH-13044) Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
…H-13315) Disallow control chars in http URLs in urllib2.urlopen. This addresses a potential security problem for applications that do not sanity check their URLs where http request headers could be injected. Disable https related urllib tests on a build without ssl (GH-13032) These tests require an SSL enabled build. Skip these tests when python is built without SSL to fix test failures. Use httplib.InvalidURL instead of ValueError as the new error case's exception. (GH-13044) Backport Co-Authored-By: Miro Hrončok <miro@hroncok.cz> (cherry picked from commit 7e200e0) Notes on backport to Python 2.7: * test_urllib tests urllib.urlopen() which quotes the URL and so is not vulerable to HTTP Header Injection. * Add tests to test_urllib2 on urllib2.urlopen(). * Reject non-ASCII characters: range 0x80-0xff.
Disallow control chars in http URLs in urllib.urlopen. This addresses a potential security problem for applications that do not sanity check their URLs where http request headers could be injected. Disable https related urllib tests on a build without ssl (GH-13032) These tests require an SSL enabled build. Skip these tests when python is built without SSL to fix test failures. Use http.client.InvalidURL instead of ValueError as the new error case's exception. (GH-13044) Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
…honGH-13154) Disallow control chars in http URLs in urllib.urlopen. This addresses a potential security problem for applications that do not sanity check their URLs where http request headers could be injected. Disable https related urllib tests on a build without ssl (pythonGH-13032) These tests require an SSL enabled build. Skip these tests when python is built without SSL to fix test failures. Use http.client.InvalidURL instead of ValueError as the new error case's exception. (pythonGH-13044) Backport Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
They triggered CVE-2019-9740 checks added in python here [0]. The problematic test should fail because of invalid source address but it failed earlier because of invalid request URL. Request URLs contained string representation of the tested source address which can contain whitespaces. E.g. "/source_address?(\'192.0.2.255\', 0)" The source addresses seem to be there only for information and were added as part of [1]. Removing them from the request URL makes the tests pass again. [0] python/cpython#12755 [1] urllib3#703
adapted from python/cpython#12755
bpo-36276 and bpo-30458:
disallow control characters such as whitespace in urls put into the raw http protocol within http.client.
https://bugs.python.org/issue36276
https://bugs.python.org/issue30458