[issue13218] test_ssl failures on Debian/Ubuntu

Nadeem Vawda report at bugs.python.org
Sun Oct 30 10:40:51 CET 2011


Nadeem Vawda <nadeem.vawda at gmail.com> added the comment:

> New changeset 3c225f938dae by Barry Warsaw in branch '2.7':
> - Issue #13218: Fix test_ssl failures on Debian/Ubuntu.
> http://hg.python.org/cpython/rev/3c225f938dae

This changeset appears to have broken a number of the 2.7 Linux buildbots:

    http://www.python.org/dev/buildbot/all/builders/AMD64%20Gentoo%20Wide%202.7/builds/861
    http://www.python.org/dev/buildbot/all/builders/x86%20Gentoo%202.7/builds/287
    http://www.python.org/dev/buildbot/all/builders/x86%20Gentoo%20Non-Debug%202.7/builds/245
    http://www.python.org/dev/buildbot/all/builders/x86%20Ubuntu%20Shared%202.7/builds/1147
    http://www.python.org/dev/buildbot/all/builders/ARM%20Ubuntu%202.7/builds/24

All of the errors look something like:

    ======================================================================
    ERROR: test_protocol_sslv3 (test.test_ssl.ThreadedTests)
    Connecting to an SSLv3 server with various client options
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/home/buildbot/buildarea/2.7.ochtman-gentoo-amd64/build/Lib/test/test_ssl.py", line 75, in f
        return func(*args, **kwargs)
      File "/home/buildbot/buildarea/2.7.ochtman-gentoo-amd64/build/Lib/test/test_ssl.py", line 1029, in test_protocol_sslv3
        client_options=ssl.OP_NO_SSLv3)
    AttributeError: 'module' object has no attribute 'OP_NO_SSLv3'

    ======================================================================
    ERROR: test_protocol_tlsv1 (test.test_ssl.ThreadedTests)
    Connecting to a TLSv1 server with various client options
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/home/buildbot/buildarea/2.7.ochtman-gentoo-amd64/build/Lib/test/test_ssl.py", line 75, in f
        return func(*args, **kwargs)
      File "/home/buildbot/buildarea/2.7.ochtman-gentoo-amd64/build/Lib/test/test_ssl.py", line 1044, in test_protocol_tlsv1
        client_options=ssl.OP_NO_TLSv1)
    AttributeError: 'module' object has no attribute 'OP_NO_TLSv1'

The ARM Ubuntu builder gets two additional errors, saying that
ssl.PROTOCOL_SSLv2 doesn't exist either.

----------

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


More information about the Python-bugs-list mailing list