GeezerVison is showing github.com — gh-149816: Fix race in subtype_getweakref in free-threading build by Abhi210 · Pull Request #150247 · python/cpython
Conversation
Abhi210
commented
May 22, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
This PR resolves finding 61 from the weakref race tracking issue: "Racy weakref head load before incref in Objects/typeobject.c".
Description
In free-threaded builds, subtype_getweakref() had a race condition where the weakref list head (*weaklistptr) was loaded and immediately passed to Py_NewRef(). If another thread concurrently triggered weakref_dealloc(), the weakref could be freed before the incref, leading to a use-after-free (UAF).
This PR fixes the issue by:
- Wrapping the pointer load and incref sequence inside the existing
LOCK_WEAKREFS(obj) / UNLOCK_WEAKREFS(obj) critical section.
- Replacing
Py_NewRef() with _Py_TryIncref() to safely handle weakrefs whose refcount has reached zero during the race window.
- Returning
Py_NewRef(Py_None) when the list is empty or the weakref is no longer live, preserving the existing API behavior.
Testing
Added regression tests in Lib/test/test_free_threading/test_weakref.py that:
- Exercise
obj.__weakref__ concurrently from reader and mutator threads synchronized with threading.Barrier.
- Verify correct return values (
None versus weakref.ref).
- Check refcount stability across repeated accesses to detect leaks or incorrect incref/decref behavior.
AI Tool Disclosure:
Claude Code was used to help understand the relevant code paths and to improve the clarity and documentation of the proposed tests. It was not used to modify Objects/typeobject.c; all code changes and final decisions were made by me.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
All commit authors signed the Contributor License Agreement.

|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
nascheme
commented
Jul 3, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
This looks like a real issue. Comments on PR:
- use
test.support.threading_helper.run_concurrently() rather than custom run_in_threads()
- avoid using os.cpu_count(), might be large number on big machines, use a hard-coded small number of threads instead, should be sufficient to show issue
- unit test file contains too much verbose comments, IMHO. This is typical of AI generated code in my experience. Don't explain what the code is doing if the code is clear (which it should be if all possible).
- The
if (*weaklistptr == NULL) branch should have braces to conform to modern CPython C style
- The comment about
LOCK_WEAKREFS() is overly verbose. I'd suggest: "Synchronize with weakref creation/destruction so the list head cannot be removed and freed between loading it and taking a reference."
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Hello @nascheme! Thank you for the comments. I have resolved those issues. Let me know if there are any other changes to be made.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
This PR is stale because it has been open for 90 days with no activity.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
Thanks @Abhi210 for the PR, and @nascheme for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Thanks @Abhi210 for the PR, and @nascheme for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️
Hi! The buildbot AMD64 FreeBSD Refleaks 3.14 (tier-3) has failed when building commit 2e332b2.
What do you need to do:
- Don't panic.
- Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
- Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1800/builds/1633) and take a look at the build logs.
- Check if the failure is related to this commit (2e332b2) or if it is a false positive.
- If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.
You can take a look at the buildbot page here:
https://buildbot.python.org/#/builders/1800/builds/1633
Failed tests:
Failed subtests:
- test_timerfd_select - test.test_os.TimerfdTests.test_timerfd_select
- test_large_content_length_truncated - test.test_httpservers.CGIHTTPServerTestCase.test_large_content_length_truncated
Test leaking resources:
- test_events: references
- test_httpservers: memory blocks
- test_events: memory blocks
Summary of the results of the build (if available):
==
Click to see traceback logs
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:1082)
server: new connection from ('127.0.0.1', 26344)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1082)
server: new connection from ('127.0.0.1', 16500)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
Connection reset by peer: ('127.0.0.1', 16500)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1082)
server: new connection from ('127.0.0.1', 26741)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:1082)
server: new connection from ('127.0.0.1', 10163)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
Connection reset by peer: ('127.0.0.1', 10163)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1082)
server: new connection from ('127.0.0.1', 58946)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
server: new connection from ('127.0.0.1', 64039)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2806, in run
msg = self.read()
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2783, in read
return self.sslconn.read()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1151, in read
return self._sslobj.read(len)
~~~~~~~~~~~~~~~~~^^^^^
ssl.SSLError: [SSL: PEER_DID_NOT_RETURN_A_CERTIFICATE] peer did not return a certificate (_ssl.c:2713)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1082)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2806, in run
msg = self.read()
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2783, in read
return self.sslconn.read()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1151, in read
return self._sslobj.read(len)
~~~~~~~~~~~~~~~~~^^^^^
ssl.SSLError: [SSL: PEER_DID_NOT_RETURN_A_CERTIFICATE] peer did not return a certificate (_ssl.c:2713)
TLS: (<ssl.SSLSocket fd=4, family=2, type=1, proto=0, laddr=('127.0.0.1', 13992), raddr=('127.0.0.1', 46621)>, 'read', <TLSVersion.TLSv1_3: 772>, <_TLSContentType.ALERT: 21>, <_TLSAlertType.CERTIFICATE_REQUIRED: 116>, b'\x02t')
connection timeout TimeoutError('timed out')
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1082)
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1082)
server: new connection from ('127.0.0.1', 51600)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
server: new connection from ('127.0.0.1', 10552)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:1082)
server: new connection from ('127.0.0.1', 30558)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
Connection reset by peer: ('127.0.0.1', 30558)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1082)
server: new connection from ('127.0.0.1', 56837)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
Connection reset by peer: ('127.0.0.1', 56837)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:1082)
server: new connection from ('127.0.0.1', 50836)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
Connection reset by peer: ('127.0.0.1', 50836)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/unittest/case.py", line 615, in _callTestMethod
result = method()
ResourceWarning: unclosed <socket.socket fd=4, family=2, type=1, proto=6, laddr=('127.0.0.1', 13429)>
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1082)
server: new connection from ('127.0.0.1', 34098)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
server: new connection from ('127.0.0.1', 16989)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ConnectionResetError: [Errno 54] Connection reset by peer
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:1082)
connection timeout TimeoutError('timed out')
connection timeout TimeoutError('timed out')
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:1082)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2806, in run
msg = self.read()
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2783, in read
return self.sslconn.read()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1151, in read
return self._sslobj.read(len)
~~~~~~~~~~~~~~~~~^^^^^
ssl.SSLError: [SSL: PEER_DID_NOT_RETURN_A_CERTIFICATE] peer did not return a certificate (_ssl.c:2713)
TLS: (<ssl.SSLSocket fd=4, family=2, type=1, proto=0, laddr=('127.0.0.1', 22978), raddr=('127.0.0.1', 37947)>, 'read', <TLSVersion.TLSv1_3: 772>, <_TLSContentType.ALERT: 21>, <_TLSAlertType.CERTIFICATE_REQUIRED: 116>, b'\x02t')
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: NO_SUITABLE_KEY_SHARE] no suitable key share (_ssl.c:1082)
connection timeout TimeoutError('timed out')
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/support/__init__.py", line 861, in gc_collect
gc.collect()
ResourceWarning: unclosed <socket.socket fd=8, family=2, type=1, proto=6, laddr=('127.0.0.1', 21219), raddr=('127.0.0.1', 48550)>
Task was destroyed but it is pending!
task: <Task pending name='Task-89' coro=<BaseSelectorEventLoop._accept_connection2() done, defined at /home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/asyncio/selector_events.py:217> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Warning -- Unraisable exception
Exception ignored while calling deallocator <function _SelectorTransport.__del__ at 0x1acf8ed35490>:
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/asyncio/selector_events.py", line 875, in __del__
_warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
ResourceWarning: unclosed transport <_SelectorSocketTransport closing fd=8>
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1082)
connection timeout TimeoutError('timed out')
server: new connection from ('127.0.0.1', 29228)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
server: new connection from ('127.0.0.1', 41429)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1082)
server: new connection from ('127.0.0.1', 61070)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
server: new connection from ('127.0.0.1', 32453)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/support/__init__.py", line 861, in gc_collect
gc.collect()
ResourceWarning: unclosed <socket.socket fd=8, family=2, type=1, proto=6, laddr=('127.0.0.1', 47698), raddr=('127.0.0.1', 43635)>
Task was destroyed but it is pending!
task: <Task pending name='Task-99' coro=<BaseSelectorEventLoop._accept_connection2() done, defined at /home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/asyncio/selector_events.py:217> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Warning -- Unraisable exception
Exception ignored while calling deallocator <function _SelectorTransport.__del__ at 0x1acf8ed35490>:
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/asyncio/selector_events.py", line 875, in __del__
_warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
ResourceWarning: unclosed transport <_SelectorSocketTransport closing fd=8>
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:1082)
server: new connection from ('127.0.0.1', 14710)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
Connection reset by peer: ('127.0.0.1', 14710)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:1082)
server: new connection from ('127.0.0.1', 43046)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
Connection reset by peer: ('127.0.0.1', 43046)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_os.py", line 4612, in test_timerfd_select
self.assertEqual((rfd, wfd, xfd), ([fd], [], []))
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Tuples differ: ([], [], []) != ([3], [], [])
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/support/__init__.py", line 861, in gc_collect
gc.collect()
ResourceWarning: unclosed <socket.socket fd=7, family=2, type=1, proto=6, laddr=('127.0.0.1', 14010), raddr=('127.0.0.1', 15713)>
Task was destroyed but it is pending!
task: <Task pending name='Task-4657' coro=<BaseSelectorEventLoop._accept_connection2() done, defined at /home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/asyncio/selector_events.py:217> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Warning -- Unraisable exception
Exception ignored while calling deallocator <function _SelectorTransport.__del__ at 0x10411dddf950>:
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/asyncio/selector_events.py", line 875, in __del__
_warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
ResourceWarning: unclosed transport <_SelectorSocketTransport closing fd=7>
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:1082)
server: new connection from ('127.0.0.1', 14851)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
Connection reset by peer: ('127.0.0.1', 14851)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1082)
connection timeout TimeoutError('timed out')
server: new connection from ('127.0.0.1', 20210)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
Connection reset by peer: ('127.0.0.1', 20210)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1082)
server: new connection from ('127.0.0.1', 32848)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
server: new connection from ('127.0.0.1', 15807)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:1082)
server: new connection from ('127.0.0.1', 62338)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
Connection reset by peer: ('127.0.0.1', 62338)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/support/__init__.py", line 861, in gc_collect
gc.collect()
ResourceWarning: unclosed <socket.socket fd=7, family=2, type=1, proto=6, laddr=('127.0.0.1', 35797), raddr=('127.0.0.1', 16586)>
Task was destroyed but it is pending!
task: <Task pending name='Task-4939' coro=<BaseSelectorEventLoop._accept_connection2() done, defined at /home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/asyncio/selector_events.py:217> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Warning -- Unraisable exception
Exception ignored while calling deallocator <function _SelectorTransport.__del__ at 0x1acf8ed35490>:
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/asyncio/selector_events.py", line 875, in __del__
_warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
ResourceWarning: unclosed transport <_SelectorSocketTransport closing fd=7>
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1082)
server: new connection from ('127.0.0.1', 40277)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1082)
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1082)
connection timeout TimeoutError('timed out')
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1082)
server: new connection from ('127.0.0.1', 34886)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1082)
server: new connection from ('127.0.0.1', 29299)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
Connection reset by peer: ('127.0.0.1', 29299)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1082)
server: new connection from ('127.0.0.1', 49778)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: NO_SHARED_CIPHER] no shared cipher (_ssl.c:1082)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:1082)
server: new connection from ('127.0.0.1', 22611)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
Connection reset by peer: ('127.0.0.1', 22611)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1082)
server: new connection from ('127.0.0.1', 56473)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
Connection reset by peer: ('127.0.0.1', 56473)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:1082)
server: new connection from ('127.0.0.1', 61769)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
Connection reset by peer: ('127.0.0.1', 61769)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1082)
server: new connection from ('127.0.0.1', 37913)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
server: new connection from ('127.0.0.1', 15972)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1082)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: NO_SUITABLE_KEY_SHARE] no suitable key share (_ssl.c:1082)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1082)
server: new connection from ('127.0.0.1', 47340)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
server: new connection from ('127.0.0.1', 16178)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/support/__init__.py", line 861, in gc_collect
gc.collect()
ResourceWarning: unclosed <socket.socket fd=7, family=2, type=1, proto=6, laddr=('127.0.0.1', 57825), raddr=('127.0.0.1', 50444)>
Task was destroyed but it is pending!
task: <Task pending name='Task-1505' coro=<BaseSelectorEventLoop._accept_connection2() done, defined at /home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/asyncio/selector_events.py:217> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Warning -- Unraisable exception
Exception ignored while calling deallocator <function _SelectorTransport.__del__ at 0x1acf8ed35490>:
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/asyncio/selector_events.py", line 875, in __del__
_warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
ResourceWarning: unclosed transport <_SelectorSocketTransport closing fd=7>
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:1082)
server: new connection from ('127.0.0.1', 48108)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
Connection reset by peer: ('127.0.0.1', 48108)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1082)
connection timeout TimeoutError('timed out')
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/support/__init__.py", line 861, in gc_collect
gc.collect()
ResourceWarning: unclosed <socket.socket fd=8, family=2, type=1, proto=6, laddr=('127.0.0.1', 46007), raddr=('127.0.0.1', 25363)>
Task was destroyed but it is pending!
task: <Task pending name='Task-4389' coro=<BaseSelectorEventLoop._accept_connection2() done, defined at /home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/asyncio/selector_events.py:217> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Warning -- Unraisable exception
Exception ignored while calling deallocator <function _SelectorTransport.__del__ at 0x1acf8ed35490>:
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/asyncio/selector_events.py", line 875, in __del__
_warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
ResourceWarning: unclosed transport <_SelectorSocketTransport closing fd=8>
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1082)
server: new connection from ('127.0.0.1', 43024)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
Connection reset by peer: ('127.0.0.1', 43024)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1082)
server: new connection from ('127.0.0.1', 27563)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
server: new connection from ('127.0.0.1', 43843)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1082)
server: new connection from ('127.0.0.1', 20692)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
Connection reset by peer: ('127.0.0.1', 20692)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2806, in run
msg = self.read()
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2783, in read
return self.sslconn.read()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1151, in read
return self._sslobj.read(len)
~~~~~~~~~~~~~~~~~^^^^^
ssl.SSLError: [SSL: PEER_DID_NOT_RETURN_A_CERTIFICATE] peer did not return a certificate (_ssl.c:2713)
TLS: (<ssl.SSLSocket fd=4, family=2, type=1, proto=0, laddr=('127.0.0.1', 30072), raddr=('127.0.0.1', 20397)>, 'read', <TLSVersion.TLSv1_3: 772>, <_TLSContentType.ALERT: 21>, <_TLSAlertType.CERTIFICATE_REQUIRED: 116>, b'\x02t')
connection timeout TimeoutError('timed out')
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:1082)
connection timeout TimeoutError('timed out')
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2806, in run
msg = self.read()
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2783, in read
return self.sslconn.read()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1151, in read
return self._sslobj.read(len)
~~~~~~~~~~~~~~~~~^^^^^
ssl.SSLError: [SSL: PEER_DID_NOT_RETURN_A_CERTIFICATE] peer did not return a certificate (_ssl.c:2713)
TLS: (<ssl.SSLSocket fd=4, family=2, type=1, proto=0, laddr=('127.0.0.1', 48646), raddr=('127.0.0.1', 21676)>, 'read', <TLSVersion.TLSv1_3: 772>, <_TLSContentType.ALERT: 21>, <_TLSAlertType.CERTIFICATE_REQUIRED: 116>, b'\x02t')
connection timeout TimeoutError('timed out')
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:1082)
server: new connection from ('127.0.0.1', 45591)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
Connection reset by peer: ('127.0.0.1', 45591)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_httpservers.py", line 1151, in test_large_content_length_truncated
self.assertEqual(res.read(), b'Hello World' + self.linesep)
~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/http/client.py", line 507, in read
s = self.fp.read()
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/socket.py", line 729, in readinto
return self._sock.recv_into(b)
~~~~~~~~~~~~~~~~~~~~^^^
ConnectionResetError: [Errno 54] Connection reset by peer
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1082)
server: new connection from ('127.0.0.1', 20840)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
server: new connection from ('127.0.0.1', 57214)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLEOFError: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1082)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1082)
server: new connection from ('127.0.0.1', 52964)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
server: new connection from ('127.0.0.1', 34941)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1082)
server: new connection from ('127.0.0.1', 31107)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
server: new connection from ('127.0.0.1', 39886)
server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1082)
server: new connection from ('127.0.0.1', 23593)
server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
Connection reset by peer: ('127.0.0.1', 23593)
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/test/test_ssl.py", line 2722, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.sock, server_side=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 469, in wrap_socket
return self.sslsocket_class._create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
sock=sock,
^^^^^^^^^^
...<5 lines>...
session=session
^^^^^^^^^^^^^^^
)
^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1087, in _create
self.do_handshake()
~~~~~~~~~~~~~~~~~^^
File "/home/buildbot/buildarea/3.14.opsec-fbsd14.refleak/build/Lib/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1082)
connection timeout TimeoutError('timed out')
k
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
kumaraditya303
Awaiting requested review from kumaraditya303
kumaraditya303 is a code owner
markshannon
Awaiting requested review from markshannon
markshannon is a code owner
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
stale
Stale PR or inactive for long period of time.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
22 free-threading race conditions
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|