python 2.7 test_ssl hits AttributeError with openssl 1.1.1

Bug #1759172 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python
Confirmed
Unknown
python2.7 (Ubuntu)
New
Undecided
Unassigned

Bug Description

autopkgtest fails with openssl1.1.1

As seen at:
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-cosmic/cosmic/amd64/p/python2.7/20180927_033108_115d8@/log.gz

======================================================================
ERROR: test_tls1_3 (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/test/test_ssl.py", line 2815, in test_tls1_3
    with context.wrap_socket(socket.socket()) as s:
AttributeError: __exit__

Tags: tls1.3
description: updated
summary: - autopkgtest fails with openssl 1.1.1 pre3
+ failed unit tests during build & autopkgtest fails with openssl 1.1.1
+ pre3
description: updated
summary: - failed unit tests during build & autopkgtest fails with openssl 1.1.1
- pre3
+ python 2.7 test_ssl hits AttributeError with openssl 1.1.1
Changed in python:
status: Unknown → New
Changed in python:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.