Two GHI test macOS failures yesterday, once on main, this is on 3.10 backport
https://github.com/python/cpython/pull/26850/checks?check_run_id=2885797677
ERROR: test_get_server_certificate (test.test_ssl.SimpleBackgroundTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/runner/work/cpython/cpython/Lib/test/test_ssl.py", line 2180, in test_get_server_certificate
_test_get_server_certificate(self, *self.server_addr, cert=SIGNING_CA)
File "/Users/runner/work/cpython/cpython/Lib/test/test_ssl.py", line 2377, in _test_get_server_certificate
pem = ssl.get_server_certificate((host, port), ca_certs=cert)
File "/Users/runner/work/cpython/cpython/Lib/ssl.py", line 1527, in get_server_certificate
with create_connection(addr, timeout=timeout) as sock:
File "/Users/runner/work/cpython/cpython/Lib/socket.py", line 844, in create_connection
raise err
File "/Users/runner/work/cpython/cpython/Lib/socket.py", line 832, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 61] Connection refused
So far reported (including #44237) ConnectionRefusedError in
test_get_server_certificate X many
test_msg_callback_deadlock_bpo43577
test_get_server_certificate_sni
ConnectionResetError:
test_connect_cadata
Please, please, skip the randomly failing tests, as is done for other modules. This has been going on a month now. It waste other people's time, making merging more painful. |