[issue30175] Random test_imaplib.test_logincapa_with_client_certfile failure on x86 Gentoo Installed with X 3.x

STINNER Victor report at bugs.python.org
Thu Apr 27 08:47:37 EDT 2017


STINNER Victor added the comment:

https://travis-ci.org/python/cpython/jobs/226357867

Oh, the test started to fail on Travis CI as well:

======================================================================

ERROR: test_logincapa_with_client_certfile (test.test_imaplib.RemoteIMAP_SSLTest)

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

Traceback (most recent call last):

  File "/home/travis/build/python/cpython/Lib/test/test_imaplib.py", line 973, in test_logincapa_with_client_certfile

    certfile=CERTFILE)

  File "/home/travis/build/python/cpython/Lib/imaplib.py", line 1280, in __init__

    IMAP4.__init__(self, host, port)

  File "/home/travis/build/python/cpython/Lib/imaplib.py", line 197, in __init__

    self.open(host, port)

  File "/home/travis/build/python/cpython/Lib/imaplib.py", line 1293, in open

    IMAP4.open(self, host, port)

  File "/home/travis/build/python/cpython/Lib/imaplib.py", line 294, in open

    self.sock = self._create_socket()

  File "/home/travis/build/python/cpython/Lib/imaplib.py", line 1285, in _create_socket

    server_hostname=self.host)

  File "/home/travis/build/python/cpython/Lib/ssl.py", line 401, in wrap_socket

    _context=self, _session=session)

  File "/home/travis/build/python/cpython/Lib/ssl.py", line 808, in __init__

    self.do_handshake()

  File "/home/travis/build/python/cpython/Lib/ssl.py", line 1061, in do_handshake

    self._sslobj.do_handshake()

  File "/home/travis/build/python/cpython/Lib/ssl.py", line 683, in do_handshake

    self._sslobj.do_handshake()

ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:749)

======================================================================

ERROR: test_logincapa_with_client_ssl_context (test.test_imaplib.RemoteIMAP_SSLTest)

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

Traceback (most recent call last):

  File "/home/travis/build/python/cpython/Lib/test/test_imaplib.py", line 979, in test_logincapa_with_client_ssl_context

    self.host, self.port, ssl_context=self.create_ssl_context())

  File "/home/travis/build/python/cpython/Lib/imaplib.py", line 1280, in __init__

    IMAP4.__init__(self, host, port)

  File "/home/travis/build/python/cpython/Lib/imaplib.py", line 197, in __init__

    self.open(host, port)

  File "/home/travis/build/python/cpython/Lib/imaplib.py", line 1293, in open

    IMAP4.open(self, host, port)

  File "/home/travis/build/python/cpython/Lib/imaplib.py", line 294, in open

    self.sock = self._create_socket()

  File "/home/travis/build/python/cpython/Lib/imaplib.py", line 1285, in _create_socket

    server_hostname=self.host)

  File "/home/travis/build/python/cpython/Lib/ssl.py", line 401, in wrap_socket

    _context=self, _session=session)

  File "/home/travis/build/python/cpython/Lib/ssl.py", line 808, in __init__

    self.do_handshake()

  File "/home/travis/build/python/cpython/Lib/ssl.py", line 1061, in do_handshake

    self._sslobj.do_handshake()

  File "/home/travis/build/python/cpython/Lib/ssl.py", line 683, in do_handshake

    self._sslobj.do_handshake()

ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:749)

----------

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


More information about the Python-bugs-list mailing list