This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients christian.heimes, erlendaasland, pablogsal, terry.reedy
Date 2021-06-23.14:56:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1624460196.76.0.679530768998.issue44229@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-06-23 14:56:36terry.reedysetrecipients: + terry.reedy, christian.heimes, pablogsal, erlendaasland
2021-06-23 14:56:36terry.reedysetmessageid: <1624460196.76.0.679530768998.issue44229@roundup.psfhosted.org>
2021-06-23 14:56:36terry.reedylinkissue44229 messages
2021-06-23 14:56:36terry.reedycreate