[New-bugs-announce] [issue23965] test_ssl failure on Fedora 22

Kushal Das report at bugs.python.org
Wed Apr 15 16:44:02 CEST 2015


New submission from Kushal Das:

OpenSSL version openssl-1.0.1k-6.fc22.x86_64
>>> ssl.OPENSSL_VERSION
'OpenSSL 1.0.1k-fips 8 Jan 2015'


======================================================================
ERROR: test_protocol_sslv23 (test.test_ssl.ThreadedTests)
Connecting to an SSLv23 server with various client options
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/kdas/code/python/cpython/Lib/test/test_ssl.py", line 119, in f
    return func(*args, **kwargs)
  File "/home/kdas/code/python/cpython/Lib/test/test_ssl.py", line 2454, in test_protocol_sslv23
    try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv3, 'SSLv3')
  File "/home/kdas/code/python/cpython/Lib/test/test_ssl.py", line 2203, in try_protocol_combo
    chatty=False, connectionchatty=False)
  File "/home/kdas/code/python/cpython/Lib/test/test_ssl.py", line 2130, in server_params_test
    s.connect((HOST, server.port))
  File "/home/kdas/code/python/cpython/Lib/ssl.py", line 1014, in connect
    self._real_connect(addr, False)
  File "/home/kdas/code/python/cpython/Lib/ssl.py", line 1005, in _real_connect
    self.do_handshake()
  File "/home/kdas/code/python/cpython/Lib/ssl.py", line 983, in do_handshake
    self._sslobj.do_handshake()
  File "/home/kdas/code/python/cpython/Lib/ssl.py", line 628, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:634)

======================================================================
ERROR: test_protocol_sslv3 (test.test_ssl.ThreadedTests)
Connecting to an SSLv3 server with various client options
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/kdas/code/python/cpython/Lib/test/test_ssl.py", line 119, in f
    return func(*args, **kwargs)
  File "/home/kdas/code/python/cpython/Lib/test/test_ssl.py", line 2497, in test_protocol_sslv3
    client_options=ssl.OP_NO_SSLv2)
  File "/home/kdas/code/python/cpython/Lib/test/test_ssl.py", line 2203, in try_protocol_combo
    chatty=False, connectionchatty=False)
  File "/home/kdas/code/python/cpython/Lib/test/test_ssl.py", line 2130, in server_params_test
    s.connect((HOST, server.port))
  File "/home/kdas/code/python/cpython/Lib/ssl.py", line 1014, in connect
    self._real_connect(addr, False)
  File "/home/kdas/code/python/cpython/Lib/ssl.py", line 1005, in _real_connect
    self.do_handshake()
  File "/home/kdas/code/python/cpython/Lib/ssl.py", line 983, in do_handshake
    self._sslobj.do_handshake()
  File "/home/kdas/code/python/cpython/Lib/ssl.py", line 628, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: UNSUPPORTED_PROTOCOL] unsupported protocol (_ssl.c:634)

======================================================================
FAIL: test_options (test.test_ssl.ContextTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/kdas/code/python/cpython/Lib/test/test_ssl.py", line 119, in f
    return func(*args, **kwargs)
  File "/home/kdas/code/python/cpython/Lib/test/test_ssl.py", line 789, in test_options
    ctx.options)
AssertionError: 2164261887 != 2197816319

----------------------------------------------------------------------

----------
components: Library (Lib)
messages: 241109
nosy: christian.heimes, kushal.das
priority: normal
severity: normal
status: open
title: test_ssl failure on Fedora 22
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23965>
_______________________________________


More information about the New-bugs-announce mailing list