bpo-38275: Skip ssl tests for disabled versions#16386
Conversation
0da9ecd to
c3fdca3
Compare
September 25, 2019 15:38
test_ssl now handles disabled TLS/SSL versions better. OpenSSL's crypto policy and run-time settings are recognized and tests for disabled versions are skipped. Signed-off-by: Christian Heimes <christian@python.org>
c3fdca3 to
7688b92
Compare
September 26, 2019 10:04
Some platforms / vendors override OpenSSL's defaults with a more strict crypto policy. Make tests accept more minimum versions. Signed-off-by: Christian Heimes <christian@python.org>
7688b92 to
9cba929
Compare
September 26, 2019 10:05
vstinner
left a comment
There was a problem hiding this comment.
LGTM.
This PR basically only adds helper function to factorize the code in test_ssl.py, but it doesn't seem to change the behavior. So it looks safe to me.
Sorry, something went wrong.
|
Thanks @tiran for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8. |
Sorry, something went wrong.
|
Sorry @tiran, I had trouble checking out the |
Sorry, something went wrong.
|
Sorry, @tiran, I could not cleanly backport this to |
Sorry, something went wrong.
|
Thanks @tiran for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8. |
Sorry, something went wrong.
|
Sorry @tiran, I had trouble checking out the |
Sorry, something went wrong.
test_ssl now handles disabled TLS/SSL versions better. OpenSSL's crypto policy and run-time settings are recognized and tests for disabled versions are skipped. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue38275 (cherry picked from commit df6ac7e) Co-authored-by: Christian Heimes <christian@python.org>
test_ssl now handles disabled TLS/SSL versions better. OpenSSL's crypto policy and run-time settings are recognized and tests for disabled versions are skipped. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue38275. (cherry picked from commit df6ac7e) Co-authored-by: Christian Heimes <christian@python.org>
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot s390x SLES 3.x has failed when building commit df6ac7e. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/16/builds/3824 Failed tests:
Summary of the results of the build (if available): == Tests result: FAILURE then FAILURE == 403 tests OK. 10 slowest tests:
1 test failed: 15 tests skipped: 1 re-run test: Total duration: 11 min 57 sec Click to see traceback logsTraceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/ssl.py", line 1309, 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 "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_ssl.py", line 215, in wrapper
if not has_tls_version(version):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/ssl.py", line 1309, 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', 42600)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
k
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/ssl.py", line 1309, 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 "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/ssl.py", line 1309, 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 "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/ssl.py", line 1309, 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', 53262)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
k
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/ssl.py", line 1309, 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 "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/ssl.py", line 1309, 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 "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_ssl.py", line 3231, in test_PROTOCOL_TLS
if has_tls_version('SSLv3'):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_ssl.py", line 2808, in test_echo
if not has_tls_protocol(protocol):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_ssl.py", line 168, in has_tls_protocol
return has_tls_version(name[len('PROTOCOL_'):])
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
|
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot AMD64 RHEL7 3.x has failed when building commit df6ac7e. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/254/builds/46 Failed tests:
Summary of the results of the build (if available): == Tests result: FAILURE then FAILURE == 404 tests OK. 10 slowest tests:
1 test failed: 14 tests skipped: 1 re-run test: Total duration: 4 min 22 sec Click to see traceback logsTraceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_ssl.py", line 215, in wrapper
if not has_tls_version(version):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_ssl.py", line 3231, in test_PROTOCOL_TLS
if has_tls_version('SSLv3'):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/ssl.py", line 1309, 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 "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/ssl.py", line 1309, 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 "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/ssl.py", line 1309, 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', 36022)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/ssl.py", line 1309, 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', 59864)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/ssl.py", line 1309, 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 "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/ssl.py", line 1309, 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 "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_ssl.py", line 2808, in test_echo
if not has_tls_protocol(protocol):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_ssl.py", line 168, in has_tls_protocol
return has_tls_version(name[len('PROTOCOL_'):])
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
|
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot s390x RHEL 3.x has failed when building commit df6ac7e. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/21/builds/3873 Failed tests:
Summary of the results of the build (if available): == Tests result: FAILURE then FAILURE == 405 tests OK. 10 slowest tests:
1 test failed: 13 tests skipped: 1 re-run test: Total duration: 12 min 54 sec Click to see traceback logsTraceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ssl.py", line 1309, 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 "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_ssl.py", line 2808, in test_echo
if not has_tls_protocol(protocol):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_ssl.py", line 168, in has_tls_protocol
return has_tls_version(name[len('PROTOCOL_'):])
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ssl.py", line 1309, 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', 33784)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
k
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ssl.py", line 1309, 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', 57354)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
k
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ssl.py", line 1309, 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 "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_ssl.py", line 215, in wrapper
if not has_tls_version(version):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ssl.py", line 1309, 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 "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_ssl.py", line 3231, in test_PROTOCOL_TLS
if has_tls_version('SSLv3'):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ssl.py", line 1309, 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 "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:1108)
k
|
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot AMD64 RHEL7 LTO + PGO 3.x has failed when building commit df6ac7e. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/258/builds/46 Failed tests:
Summary of the results of the build (if available): == Tests result: FAILURE then FAILURE == 404 tests OK. 10 slowest tests:
1 test failed: 14 tests skipped: 1 re-run test: Total duration: 4 min 3 sec Click to see traceback logsTraceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/ssl.py", line 1309, 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 "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/test_ssl.py", line 215, in wrapper
if not has_tls_version(version):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/ssl.py", line 1309, 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 "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/ssl.py", line 1309, 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 "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/ssl.py", line 1309, 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', 60878)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/test_ssl.py", line 3231, in test_PROTOCOL_TLS
if has_tls_version('SSLv3'):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/test_ssl.py", line 2808, in test_echo
if not has_tls_protocol(protocol):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/test_ssl.py", line 168, in has_tls_protocol
return has_tls_version(name[len('PROTOCOL_'):])
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/ssl.py", line 1309, 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', 33590)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto-pgo/build/Lib/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: NO_SHARED_CIPHER] no shared cipher (_ssl.c:1108)
k
|
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot AMD64 RHEL7 LTO 3.x has failed when building commit df6ac7e. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/283/builds/47 Failed tests:
Summary of the results of the build (if available): == Tests result: FAILURE then FAILURE == 404 tests OK. 10 slowest tests:
1 test failed: 14 tests skipped: 1 re-run test: Total duration: 4 min 31 sec Click to see traceback logsTraceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/ssl.py", line 1309, 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 "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/ssl.py", line 1309, 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 "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/ssl.py", line 1309, 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', 54534)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
k
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_ssl.py", line 3231, in test_PROTOCOL_TLS
if has_tls_version('SSLv3'):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/ssl.py", line 1309, 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 "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_ssl.py", line 215, in wrapper
if not has_tls_version(version):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/ssl.py", line 1309, 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 "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_ssl.py", line 2808, in test_echo
if not has_tls_protocol(protocol):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_ssl.py", line 168, in has_tls_protocol
return has_tls_version(name[len('PROTOCOL_'):])
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/buildbot/buildarea/3.x.cstratak-RHEL7-x86_64.lto/build/Lib/ssl.py", line 1309, 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', 57622)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
k
|
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot PPC64 Fedora 3.x has failed when building commit df6ac7e. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/53/builds/3789 Failed tests:
Summary of the results of the build (if available): == Tests result: FAILURE then FAILURE == 405 tests OK. 10 slowest tests:
1 test failed: 13 tests skipped: 1 re-run test: Total duration: 19 min 21 sec Click to see traceback logsTraceback (most recent call last):
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 1309, 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', 44996)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
k
Traceback (most recent call last):
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/test/test_ssl.py", line 215, in wrapper
if not has_tls_version(version):
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 1309, 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 "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/test/test_ssl.py", line 3231, in test_PROTOCOL_TLS
if has_tls_version('SSLv3'):
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 1309, 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', 60908)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
k
Traceback (most recent call last):
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/test/test_ssl.py", line 2808, in test_echo
if not has_tls_protocol(protocol):
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/test/test_ssl.py", line 168, in has_tls_protocol
return has_tls_version(name[len('PROTOCOL_'):])
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 1309, 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 "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 1309, 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 "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 1309, 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 "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64/build/Lib/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1108)
|
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot x86 Gentoo Installed with X 3.x has failed when building commit df6ac7e. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/103/builds/3148 Failed tests:
Summary of the results of the build (if available): == Tests result: FAILURE then FAILURE == 406 tests OK. 1 test failed: 12 tests skipped: 1 re-run test: Total duration: 25 min 42 sec Click to see traceback logsTraceback (most recent call last):
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/ssl.py", line 1040, in _create
self.do_handshake()
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/ssl.py", line 1309, 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 "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/ssl.py", line 1040, in _create
self.do_handshake()
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/ssl.py", line 1309, 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', 50952)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
k
Traceback (most recent call last):
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/test/test_ssl.py", line 2808, in test_echo
if not has_tls_protocol(protocol):
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/test/test_ssl.py", line 168, in has_tls_protocol
return has_tls_version(name[len('PROTOCOL_'):])
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/test/test_ssl.py", line 215, in wrapper
if not has_tls_version(version):
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/ssl.py", line 1040, in _create
self.do_handshake()
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/ssl.py", line 1309, 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', 49870)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
k
Traceback (most recent call last):
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/test/test_ssl.py", line 3231, in test_PROTOCOL_TLS
if has_tls_version('SSLv3'):
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/ssl.py", line 1040, in _create
self.do_handshake()
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/ssl.py", line 1309, 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 "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/ssl.py", line 1040, in _create
self.do_handshake()
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/ssl.py", line 1309, 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 "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/ssl.py", line 1040, in _create
self.do_handshake()
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.installed/build/target/lib/python3.9/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1108)
|
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot x86 Gentoo Non-Debug with X 3.x has failed when building commit df6ac7e. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/99/builds/3377 Failed tests:
Summary of the results of the build (if available): == Tests result: FAILURE then FAILURE == 410 tests OK. 10 slowest tests:
1 test failed: 8 tests skipped: 1 re-run test: Total duration: 28 min 14 sec Click to see traceback logsTraceback (most recent call last):
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/ssl.py", line 1309, 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 "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/ssl.py", line 1309, 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', 54012)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
k
Traceback (most recent call last):
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_ssl.py", line 215, in wrapper
if not has_tls_version(version):
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_ssl.py", line 3231, in test_PROTOCOL_TLS
if has_tls_version('SSLv3'):
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_ssl.py", line 2808, in test_echo
if not has_tls_protocol(protocol):
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_ssl.py", line 168, in has_tls_protocol
return has_tls_version(name[len('PROTOCOL_'):])
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/ssl.py", line 1309, 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', 40140)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
k
Traceback (most recent call last):
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/ssl.py", line 1309, 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 "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/ssl.py", line 1309, 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 "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.nondebug/build/Lib/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1108)
k
|
Sorry, something went wrong.
Check presence of SSLContext.minimum_version to make tests pass with old versions of OpenSSL. Signed-off-by: Christian Heimes <christian@python.org>
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot x86-64 High Sierra 3.x has failed when building commit df6ac7e. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/145/builds/2495 Failed tests:
Summary of the results of the build (if available): == Tests result: FAILURE then FAILURE == 402 tests OK. 10 slowest tests:
1 test failed: 16 tests skipped: 1 re-run test: Total duration: 25 min 41 sec Click to see traceback logsTraceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/ssl.py", line 1309, 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/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/test/test_ssl.py", line 3234, in test_PROTOCOL_TLS
if has_tls_version('TLSv1'):
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/ssl.py", line 1309, 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/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/ssl.py", line 1309, 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/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/test/test_ssl.py", line 215, in wrapper
if not has_tls_version(version):
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/ssl.py", line 1309, 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', 60792)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
k
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/ssl.py", line 1309, 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', 61630)
server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
server: selected protocol is now None
k
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/test/test_ssl.py", line 2808, in test_echo
if not has_tls_protocol(protocol):
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/test/test_ssl.py", line 168, in has_tls_protocol
return has_tls_version(name[len('PROTOCOL_'):])
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/test/test_ssl.py", line 193, in has_tls_version
ctx.minimum_version != ssl.TLSVersion.MINIMUM_SUPPORTED and
AttributeError: 'SSLContext' object has no attribute 'minimum_version'
Traceback (most recent call last):
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/test/test_ssl.py", line 2303, in wrap_conn
self.sslconn = self.server.context.wrap_socket(
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/ssl.py", line 1040, in _create
self.do_handshake()
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/ssl.py", line 1309, 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/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/test/test_ssl.py", line 2447, in run
self.write(msg.lower())
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/test/test_ssl.py", line 2366, in write
return self.sslconn.write(bytes)
File "/Users/buildbot/buildarea/3.x.billenstein-sierra/build/Lib/ssl.py", line 1118, in write
return self._sslobj.write(data)
BrokenPipeError: [Errno 32] Broken pipe
k
|
Sorry, something went wrong.
Check presence of SSLContext.minimum_version to make tests pass with old versions of OpenSSL. Signed-off-by: Christian Heimes <christian@python.org>
Check presence of SSLContext.minimum_version to make tests pass with old versions of OpenSSL. Signed-off-by: Christian Heimes <christian@python.org>
…16425) test_ssl now handles disabled TLS/SSL versions better. OpenSSL's crypto policy and run-time settings are recognized and tests for disabled versions are skipped. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue38275 (cherry picked from commit df6ac7e)
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot s390x Debian 3.8 has failed when building commit 1931132. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/216/builds/463 Failed tests:
Failed subtests:
Summary of the results of the build (if available): == Tests result: FAILURE then FAILURE == 406 tests OK. 10 slowest tests:
4 tests failed: 13 tests skipped: 4 re-run tests: Total duration: 12 min 7 sec Click to see traceback logsTraceback (most recent call last):
File "/home/dje/cpython-buildarea/3.8.edelsohn-debian-z/build/Lib/test/support/__init__.py", line 644, in wrapper
return func(*args, **kw)
File "/home/dje/cpython-buildarea/3.8.edelsohn-debian-z/build/Lib/test/test_asyncio/test_events.py", line 1502, in test_bidirectional_pty
master, read_slave = os.openpty()
FileNotFoundError: [Errno 2] No such file or directory
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.8.edelsohn-debian-z/build/Lib/test/test_os.py", line 3545, in test_openpty
master_fd, slave_fd = os.openpty()
FileNotFoundError: [Errno 2] No such file or directory
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.8.edelsohn-debian-z/build/Lib/test/support/__init__.py", line 644, in wrapper
return func(*args, **kw)
File "/home/dje/cpython-buildarea/3.8.edelsohn-debian-z/build/Lib/test/test_asyncio/test_events.py", line 1458, in test_write_pty
master, slave = os.openpty()
FileNotFoundError: [Errno 2] No such file or directory
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.8.edelsohn-debian-z/build/Lib/test/test_openpty.py", line 11, in test
master, slave = os.openpty()
FileNotFoundError: [Errno 2] No such file or directory
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.8.edelsohn-debian-z/build/Lib/test/test_pty.py", line 130, in test_fork
pid, master_fd = pty.fork()
File "/home/dje/cpython-buildarea/3.8.edelsohn-debian-z/build/Lib/pty.py", line 96, in fork
master_fd, slave_fd = openpty()
File "/home/dje/cpython-buildarea/3.8.edelsohn-debian-z/build/Lib/pty.py", line 29, in openpty
master_fd, slave_name = _open_terminal()
File "/home/dje/cpython-buildarea/3.8.edelsohn-debian-z/build/Lib/pty.py", line 59, in _open_terminal
raise OSError('out of pty devices')
OSError: out of pty devices
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.8.edelsohn-debian-z/build/Lib/test/test_asyncio/test_events.py", line 1360, in test_read_pty_output
master, slave = os.openpty()
FileNotFoundError: [Errno 2] No such file or directory
|
Sorry, something went wrong.
test_ssl now handles disabled TLS/SSL versions better. OpenSSL's crypto policy and run-time settings are recognized and tests for disabled versions are skipped. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue38275
Check presence of SSLContext.minimum_version to make tests pass with old versions of OpenSSL. Signed-off-by: Christian Heimes <christian@python.org>
test_ssl now handles disabled TLS/SSL versions better. OpenSSL's crypto
policy and run-time settings are recognized and tests for disabled versions
are skipped.
Signed-off-by: Christian Heimes christian@python.org
https://bugs.python.org/issue38275
Automerge-Triggered-By: @tiran