New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_ssl: test_msg_callback_deadlock_bpo43577() failed on macOS of GitHub Action #88021
Comments
macOS of GitHub Action failed: ERROR: test_msg_callback_deadlock_bpo43577 (test.test_ssl.TestSSLDebug) Traceback (most recent call last):
File "/Users/runner/work/cpython/cpython/Lib/test/test_ssl.py", line 4799, in test_msg_callback_deadlock_bpo43577
s.connect((HOST, server.port))
File "/Users/runner/work/cpython/cpython/Lib/ssl.py", line 1342, in connect
self._real_connect(addr, False)
File "/Users/runner/work/cpython/cpython/Lib/ssl.py", line 1329, in _real_connect
super().connect(addr)
ConnectionRefusedError: [Errno 61] Connection refused Test code: def test_msg_callback_deadlock_bpo43577(self):
client_context, server_context, hostname = testing_context()
server_context2 = testing_context()[1]
def msg_cb(conn, direction, version, content_type, msg_type, data):
pass
def sni_cb(sock, servername, ctx):
sock.context = server_context2
server_context._msg_callback = msg_cb
server_context.sni_callback = sni_cb
server = ThreadedEchoServer(context=server_context, chatty=False)
with server:
with client_context.wrap_socket(socket.socket(),
server_hostname=hostname) as s:
s.connect((HOST, server.port))
with client_context.wrap_socket(socket.socket(),
server_hostname=hostname) as s:
s.connect((HOST, server.port)) # <===== FAIL HERE ==== test.pythoninfo: ssl.HAS_SNI: True The test was added recently: commit 77cde50
|
Duplicate of #88395. Please reopen if you disagree. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: