Skip to content

Conversation

@lkollar
Copy link
Contributor

@lkollarlkollar commented Sep 9, 2025

Copy link
Member

@pablogsalpablogsal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I am landing this since this is getting too big. At this point this is solid enough we can land and fix small details later in subsequent PRs.

@pablogsalpablogsal merged commit 137519a into python:mainSep 9, 2025
73 of 95 checks passed
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot s390x RHEL9 Refleaks 3.x (tier-3) has failed when building commit 137519a.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1589/builds/2108) and take a look at the build logs.
  4. Check if the failure is related to this commit (137519a) or if it is a false positive.
  5. 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/1589/builds/2108

Failed tests:

  • test_profiling

Test leaking resources:

  • test_profiling: memory blocks
  • test_profiling: references

Summary of the results of the build (if available):

==

Click to see traceback logs
remote: Enumerating objects: 28, done. remote: Counting objects: 6% (1/15) remote: Counting objects: 13% (2/15) remote: Counting objects: 20% (3/15) remote: Counting objects: 26% (4/15) remote: Counting objects: 33% (5/15) remote: Counting objects: 40% (6/15) remote: Counting objects: 46% (7/15) remote: Counting objects: 53% (8/15) remote: Counting objects: 60% (9/15) remote: Counting objects: 66% (10/15) remote: Counting objects: 73% (11/15) remote: Counting objects: 80% (12/15) remote: Counting objects: 86% (13/15) remote: Counting objects: 93% (14/15) remote: Counting objects: 100% (15/15) remote: Counting objects: 100% (15/15), done. remote: Compressing objects: 7% (1/13) remote: Compressing objects: 15% (2/13) remote: Compressing objects: 23% (3/13) remote: Compressing objects: 30% (4/13) remote: Compressing objects: 38% (5/13) remote: Compressing objects: 46% (6/13) remote: Compressing objects: 53% (7/13) remote: Compressing objects: 61% (8/13) remote: Compressing objects: 69% (9/13) remote: Compressing objects: 76% (10/13) remote: Compressing objects: 84% (11/13) remote: Compressing objects: 92% (12/13) remote: Compressing objects: 100% (13/13) remote: Compressing objects: 100% (13/13), done. remote: Total 28 (delta 2), reused 3 (delta 2), pack-reused 13 (from 2)  From https://github.com/python/cpython * branch main -> FETCH_HEAD Note: switching to '137519a38ccabcb009a2b1b7eab1fbbf9c3ceae0'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c <new-branch-name> Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 137519a38cc gh-135953: Add flamegraph reporter to sampling profiler (#138715) Switched to and reset branch 'main' make: *** [Makefile:2494: buildbottest] Error 2

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot AMD64 CentOS9 NoGIL Refleaks 3.x (tier-1) has failed when building commit 137519a.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1610/builds/2043) and take a look at the build logs.
  4. Check if the failure is related to this commit (137519a) or if it is a false positive.
  5. 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/1610/builds/2043

Failed tests:

  • test_profiling

Test leaking resources:

  • test_profiling: memory blocks
  • test_profiling: references

Summary of the results of the build (if available):

==

Click to see traceback logs
remote: Enumerating objects: 28, done. remote: Counting objects: 6% (1/15) remote: Counting objects: 13% (2/15) remote: Counting objects: 20% (3/15) remote: Counting objects: 26% (4/15) remote: Counting objects: 33% (5/15) remote: Counting objects: 40% (6/15) remote: Counting objects: 46% (7/15) remote: Counting objects: 53% (8/15) remote: Counting objects: 60% (9/15) remote: Counting objects: 66% (10/15) remote: Counting objects: 73% (11/15) remote: Counting objects: 80% (12/15) remote: Counting objects: 86% (13/15) remote: Counting objects: 93% (14/15) remote: Counting objects: 100% (15/15) remote: Counting objects: 100% (15/15), done. remote: Compressing objects: 7% (1/13) remote: Compressing objects: 15% (2/13) remote: Compressing objects: 23% (3/13) remote: Compressing objects: 30% (4/13) remote: Compressing objects: 38% (5/13) remote: Compressing objects: 46% (6/13) remote: Compressing objects: 53% (7/13) remote: Compressing objects: 61% (8/13) remote: Compressing objects: 69% (9/13) remote: Compressing objects: 76% (10/13) remote: Compressing objects: 84% (11/13) remote: Compressing objects: 92% (12/13) remote: Compressing objects: 100% (13/13) remote: Compressing objects: 100% (13/13), done. remote: Total 28 (delta 2), reused 3 (delta 2), pack-reused 13 (from 2)  From https://github.com/python/cpython * branch main -> FETCH_HEAD Note: switching to '137519a38ccabcb009a2b1b7eab1fbbf9c3ceae0'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c <new-branch-name> Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 137519a38cc gh-135953: Add flamegraph reporter to sampling profiler (#138715) Switched to and reset branch 'main' configure: WARNING: no system libmpdec found; falling back to pure-Python version for the decimal modulemake: *** [Makefile:2486: buildbottest] Error 2

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot ARM64 MacOS M1 Refleaks NoGIL 3.x (tier-2) has failed when building commit 137519a.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1368/builds/3827) and take a look at the build logs.
  4. Check if the failure is related to this commit (137519a) or if it is a false positive.
  5. 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/1368/builds/3827

Failed tests:

  • test_profiling
  • test_ssl

Failed subtests:

  • test_client_sigalgs_mismatch - test.test_ssl.ThreadedTests.test_client_sigalgs_mismatch

Test leaking resources:

  • test_ssl: memory blocks
  • test_profiling: memory blocks
  • test_profiling: references

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1108) client: read b'foo\n' client: sending b'FOO\n'... client: read b'foo\n' client: read b'foo\n' client: sending b'FOO\n'... client: closing connection. client: read b'foo\n' client: closing connection. client: read b'foo\n' client: closing connection. server: new connection from ('127.0.0.1', 49362) server: new connection from ('127.0.0.1', 49366) server: new connection from ('127.0.0.1', 49367) server: new connection from ('127.0.0.1', 49368) server: new connection from ('127.0.0.1', 49369) server: new connection from ('127.0.0.1', 49371) server: new connection from ('127.0.0.1', 49372) server: new connection from ('127.0.0.1', 49373) server: new connection from ('127.0.0.1', 49374) server: new connection from ('127.0.0.1', 49375) server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) Connection reset by peer: ('127.0.0.1', 49353) server: new connection from ('127.0.0.1', 49377) client: sending b'FOO\n'... server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) Connection reset by peer: ('127.0.0.1', 49355) server: new connection from ('127.0.0.1', 49379) server: new connection from ('127.0.0.1', 49382) server: new connection from ('127.0.0.1', 49384) server: new connection from ('127.0.0.1', 49385) server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) client: read b'foo\n' client: sending b'FOO\n'... client: read b'foo\n' client: sending b'FOO\n'... client: read b'foo\n' client: closing connection. Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1108) server: new connection from ('127.0.0.1', 49337) server: new connection from ('127.0.0.1', 49338) Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:1108) k Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1108) {'OCSP': ('http://testca.pythontest.net/testca/ocsp/',), 'caIssuers': ('http://testca.pythontest.net/testca/pycacert.cer',), 'crlDistributionPoints': ('http://testca.pythontest.net/testca/revocation.crl',), 'issuer': ((('countryName', 'XY'),), (('organizationName', 'Python Software Foundation CA'),), (('commonName', 'our-ca-server'),)), 'notAfter': 'Oct 28 14:23:16 2525 GMT', 'notBefore': 'Aug 29 14:23:16 2018 GMT', 'serialNumber': 'CB2D80995A69525C', 'subject': ((('countryName', 'XY'),), (('localityName', 'Castle Anthrax'),), (('organizationName', 'Python Software Foundation'),), (('commonName', 'localhost'),)), 'subjectAltName': (('DNS', 'localhost'),), 'version': 3} Connection cipher is ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256). {'OCSP': ('http://testca.pythontest.net/testca/ocsp/',), 'caIssuers': ('http://testca.pythontest.net/testca/pycacert.cer',), 'crlDistributionPoints': ('http://testca.pythontest.net/testca/revocation.crl',), 'issuer': ((('countryName', 'XY'),), (('organizationName', 'Python Software Foundation CA'),), (('commonName', 'our-ca-server'),)), 'notAfter': 'Oct 28 14:23:16 2525 GMT', 'notBefore': 'Aug 29 14:23:16 2018 GMT', 'serialNumber': 'CB2D80995A69525C', 'subject': ((('countryName', 'XY'),), (('localityName', 'Castle Anthrax'),), (('organizationName', 'Python Software Foundation'),), (('commonName', 'localhost'),)), 'subjectAltName': (('DNS', 'localhost'),), 'version': 3} Connection cipher is ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256). Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1108) Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1108) Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLError: [SSL: NO_SHARED_SIGNATURE_ALGORITHMS] no shared signature algorithms (_ssl.c:1108) k Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1108) server: new connection from ('127.0.0.1', 49341) server: new connection from ('127.0.0.1', 49342) server: new connection from ('127.0.0.1', 49343) server: new connection from ('127.0.0.1', 49344) server: new connection from ('127.0.0.1', 49345) client: sending b'FOO\n'... server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) client: sending b'FOO\n'... server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLError: [SSL: NO_SHARED_CIPHER] no shared cipher (_ssl.c:1108) k Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1108) client: sending b'FOO\n'... Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2507, in run msg =self.read() File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2484, in read returnself.sslconn.read() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1160, in read returnself._sslobj.read(len) ~~~~~~~~~~~~~~~~~^^^^^ ssl.SSLError: [SSL: PEER_DID_NOT_RETURN_A_CERTIFICATE] peer did not return a certificate (_ssl.c:2997) k Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:1108) connection timeout TimeoutError('timed out') k Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLError: [SSL: PEER_DID_NOT_RETURN_A_CERTIFICATE] peer did not return a certificate (_ssl.c:1108) ERROR Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1108) client: sending b'FOO\n'... server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) server: new connection from ('127.0.0.1', 49290) server: new connection from ('127.0.0.1', 49291) client: read b'foo\n' client: sending b'FOO\n'... client: read b'foo\n' server: new connection from ('127.0.0.1', 49322) server: new connection from ('127.0.0.1', 49324) client: closing connection. client: sending b'FOO\n'... Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1108) k Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1108) client: read b'foo\n' client: sending b'FOO\n'... client: read b'foo\n' client: sending b'FOO\n'... server: new connection from ('127.0.0.1', 49293) client: read b'foo\n' client: sending b'FOO\n'... client: read b'foo\n' client: sending b'FOO\n'... client: read b'foo\n' client: sending b'FOO\n'... client: read b'foo\n' client: sending b'FOO\n'... client: read b'foo\n' client: closing connection. client: read b'foo\n' client: sending b'FOO\n'... client: read b'foo\n' client: read b'foo\n' client: closing connection. client: read b'foo\n' client: closing connection. client: read b'foo\n' client: closing connection. client: read b'foo\n' client: sending b'FOO\n'... client: sending b'FOO\n'... client: read b'foo\n' client: closing connection. client: read b'foo\n' client: closing connection. client: read b'foo\n' client: closing connection. client: read b'foo\n' client: closing connection. client: read b'foo\n' client: closing connection. server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) Connection reset by peer: ('127.0.0.1', 49318) server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) Connection reset by peer: ('127.0.0.1', 49290) server: new connection from ('127.0.0.1', 49336) Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1108) k Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:1108) server: new connection from ('127.0.0.1', 49476) Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:1108) Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLError: [SSL: NO_SUITABLE_KEY_SHARE] no suitable key share (_ssl.c:1108) k Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:1108) server: new connection from ('127.0.0.1', 49465) server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) Connection reset by peer: ('127.0.0.1', 49465) Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLEOFError: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1108) k Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1108) server: new connection from ('127.0.0.1', 49349) client: read b'foo\n' client: sending b'FOO\n'... Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1108) client: sending b'FOO\n'... Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1108) server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) Connection reset by peer: ('127.0.0.1', 49371) server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) Connection reset by peer: ('127.0.0.1', 49373) server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) client: read b'foo\n' client: sending b'FOO\n'... client: read b'foo\n' client: sending b'FOO\n'... server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) Connection reset by peer: ('127.0.0.1', 49367) client: read b'foo\n' client: closing connection. server: new connection from ('127.0.0.1', 49389) server: new connection from ('127.0.0.1', 49391) server: new connection from ('127.0.0.1', 49392) server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) Connection reset by peer: ('127.0.0.1', 49375) server: new connection from ('127.0.0.1', 49393) server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) Connection reset by peer: ('127.0.0.1', 49372) server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) Connection reset by peer: ('127.0.0.1', 49374) server: new connection from ('127.0.0.1', 49396) server: new connection from ('127.0.0.1', 49397) client: sending b'FOO\n'... client: sending b'FOO\n'... server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) Connection reset by peer: ('127.0.0.1', 49382) client: read b'foo\n' client: sending b'FOO\n'... server: new connection from ('127.0.0.1', 49399) client: read b'foo\n' client: sending b'FOO\n'... client: sending b'FOO\n'... client: read b'foo\n' client: closing connection. server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) client: read b'foo\n' client: sending b'FOO\n'... client: read b'foo\n' client: sending b'FOO\n'... client: read b'foo\n' client: closing connection. server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) client: read b'foo\n' client: sending b'FOO\n'... server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) Connection reset by peer: ('127.0.0.1', 49385) server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) Connection reset by peer: ('127.0.0.1', 49389) client: read b'foo\n' client: sending b'FOO\n'... client: read b'foo\n' client: closing connection. server: new connection from ('127.0.0.1', 49401) server: new connection from ('127.0.0.1', 49404) server: new connection from ('127.0.0.1', 49405) client: sending b'FOO\n'... server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) Connection reset by peer: ('127.0.0.1', 49391) server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) Connection reset by peer: ('127.0.0.1', 49397) server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:1108) connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') k Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLError: [SSL: PEER_DID_NOT_RETURN_A_CERTIFICATE] peer did not return a certificate (_ssl.c:1108) k Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1108) server: new connection from ('127.0.0.1', 65399) server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) Connection reset by peer: ('127.0.0.1', 65399) k Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 4351, in test_client_sigalgs_mismatch server_params_test(client_context, server_context, ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ chatty=True, connectionchatty=True, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ sni_name=hostname) ^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2832, in server_params_test s.write(arg) ~~~~~~~^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1177, in writereturnself._sslobj.write(data) ~~~~~~~~~~~~~~~~~~^^^^^^BrokenPipeError: [Errno 32] Broken pipe Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:1108) connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') connection timeout TimeoutError('timed out') k Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1108) server: new connection from ('127.0.0.1', 49172) server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256) server: new connection from ('127.0.0.1', 49174) server: connection cipher is now ('ECDHE-PSK-CHACHA20-POLY1305', 'TLSv1.2', 256) k Traceback (most recent call last): File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/test/test_ssl.py", line 2423, in wrap_conn self.sslconn =self.server.context.wrap_socket( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^self.sock, server_side=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 459, in wrap_socket returnself.sslsocket_class._create( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sock=sock, ^^^^^^^^^^...<5 lines>... session=session ^^^^^^^^^^^^^^^ ) ^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1096, in _create self.do_handshake() ~~~~~~~~~~~~~~~~~^^ File "/Users/ec2-user/buildbot/buildarea/3.x.itamaro-macos-arm64-aws.macos-with-brew.refleak.nogil/build/Lib/ssl.py", line 1427, in do_handshake self._sslobj.do_handshake() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ ssl.SSLError: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:1108) server: new connection from ('127.0.0.1', 49563) server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256) Connection reset by peer: ('127.0.0.1', 49563) k 

@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot s390x Fedora Stable Refleaks 3.x (tier-3) has failed when building commit 137519a.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1641/builds/887) and take a look at the build logs.
  4. Check if the failure is related to this commit (137519a) or if it is a false positive.
  5. 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/1641/builds/887

Failed tests:

  • test_profiling

Test leaking resources:

  • test_profiling: memory blocks
  • test_profiling: references

Summary of the results of the build (if available):

==

Click to see traceback logs
remote: Enumerating objects: 28, done. remote: Counting objects: 6% (1/15) remote: Counting objects: 13% (2/15) remote: Counting objects: 20% (3/15) remote: Counting objects: 26% (4/15) remote: Counting objects: 33% (5/15) remote: Counting objects: 40% (6/15) remote: Counting objects: 46% (7/15) remote: Counting objects: 53% (8/15) remote: Counting objects: 60% (9/15) remote: Counting objects: 66% (10/15) remote: Counting objects: 73% (11/15) remote: Counting objects: 80% (12/15) remote: Counting objects: 86% (13/15) remote: Counting objects: 93% (14/15) remote: Counting objects: 100% (15/15) remote: Counting objects: 100% (15/15), done. remote: Compressing objects: 7% (1/13) remote: Compressing objects: 15% (2/13) remote: Compressing objects: 23% (3/13) remote: Compressing objects: 30% (4/13) remote: Compressing objects: 38% (5/13) remote: Compressing objects: 46% (6/13) remote: Compressing objects: 53% (7/13) remote: Compressing objects: 61% (8/13) remote: Compressing objects: 69% (9/13) remote: Compressing objects: 76% (10/13) remote: Compressing objects: 84% (11/13) remote: Compressing objects: 92% (12/13) remote: Compressing objects: 100% (13/13) remote: Compressing objects: 100% (13/13), done. remote: Total 28 (delta 2), reused 3 (delta 2), pack-reused 13 (from 2)  From https://github.com/python/cpython * branch main -> FETCH_HEAD Note: switching to '137519a38ccabcb009a2b1b7eab1fbbf9c3ceae0'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c <new-branch-name> Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 137519a38cc gh-135953: Add flamegraph reporter to sampling profiler (#138715) Switched to and reset branch 'main' make: *** [Makefile:2494: buildbottest] Error 2

@pablogsal
Copy link
Member

Refleaks being fixed in #138721

@pablogsal
Copy link
Member

haha good that I did the PSA in https://youtu.be/mqu66lg79X8?si=fx7NeqU3H1XZWv8q&t=1670 :P

@pythonpython deleted a comment from bedevere-botSep 10, 2025
@pythonpython deleted a comment from bedevere-botSep 10, 2025
@lkollarlkollar deleted the profiling/flamegraph branch September 13, 2025 17:43
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@lkollar@bedevere-bot@pablogsal