[issue30212] test_ssl.py is broken in Centos7
STINNER Victor
report at bugs.python.org
Tue May 2 06:03:58 EDT 2017
STINNER Victor added the comment:
Oh, I missed the attached test.log file. So, it's CentOS 7.3.1611 and the full error message is:
== CPython 3.5.2 (default, Apr 29 2017, 16:07:16) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]
== Linux-3.10.0-514.16.1.el7.x86_64-x86_64-with-centos-7.3.1611-Core little-endian
== hash algorithm: siphash24 64bit
== /home/vagrant/Downloads/Python-3.5.2/build/test_python_16502
...
[1/1/1] test_ssl
test_ssl: testing with 'OpenSSL 1.0.1e-fips 11 Feb 2013' (1, 0, 1, 5, 15)
under Linux ('CentOS Linux', '7.3.1611', 'Core')
HAS_SNI = True
OP_ALL = 0x800003f7
OP_NO_TLSv1_1 = 0x10000000
...
test_read_write_data (test.test_ssl.NetworkedBIOTests) ... Needed 3 calls to complete do_handshake().
Needed 1 calls to complete write().
ERROR
...
======================================================================
ERROR: test_read_write_data (test.test_ssl.NetworkedBIOTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/Downloads/Python-3.5.2/Lib/test/test_ssl.py", line 1785, in test_read_write_data
buf = self.ssl_io_loop(sock, incoming, outgoing, sslobj.read, 1024)
File "/home/vagrant/Downloads/Python-3.5.2/Lib/test/test_ssl.py", line 1724, in ssl_io_loop
sock.sendall(buf)
BrokenPipeError: [Errno 32] Broken pipe
----------------------------------------------------------------------
Ran 117 tests in 39.538s
FAILED (errors=1, skipped=8)
/home/vagrant/Downloads/Python-3.5.2/Lib/unittest/case.py:628: ResourceWarning: unclosed <socket.socket fd=4, family=AddressFamily.AF_INET, type=2049, proto=0, laddr=('10.0.2.15', 53304)>
outcome.errors.clear()
test test_ssl failed
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30212>
_______________________________________
More information about the Python-bugs-list
mailing list