autopkgtest fails with openssl 1.1.1 pre3

Bug #1759177 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python3.7 (Ubuntu)
New
Undecided
Unassigned

Bug Description

autopkgtest fails with openssl1.1.1 pre3

As seen at:

https://bileto.ubuntu.com/excuses/3217/bionic.html

======================================================================
ERROR: test_create_server_ssl_match_failed (test.test_asyncio.test_events.EPollEventLoopTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.6/test/test_asyncio/test_events.py", line 1172, in test_create_server_ssl_match_failed
    proto.transport.close()
AttributeError: 'NoneType' object has no attribute 'close'

======================================================================
ERROR: test_create_server_ssl_match_failed (test.test_asyncio.test_events.PollEventLoopTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.6/test/test_asyncio/test_events.py", line 1172, in test_create_server_ssl_match_failed
    proto.transport.close()
AttributeError: 'NoneType' object has no attribute 'close'

======================================================================
ERROR: test_create_server_ssl_match_failed (test.test_asyncio.test_events.SelectEventLoopTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.6/test/test_asyncio/test_events.py", line 1172, in test_create_server_ssl_match_failed
    proto.transport.close()
AttributeError: 'NoneType' object has no attribute 'close'

----------------------------------------------------------------------
Ran 1527 tests in 17.309s

FAILED (errors=3, skipped=3)

======================================================================
ERROR: test_storbinary (test.test_ftplib.TestTLS_FTPClassMixin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.6/test/test_ftplib.py", line 587, in test_storbinary
    self.client.storbinary('stor', f)
  File "/usr/lib/python3.6/ftplib.py", line 514, in storbinary
    conn.unwrap()
  File "/usr/lib/python3.6/ssl.py", line 1051, in unwrap
    s = self._sslobj.unwrap()
  File "/usr/lib/python3.6/ssl.py", line 698, in unwrap
    return self._sslobj.shutdown()
OSError: [Errno 0] Error

======================================================================
ERROR: test_storbinary_rest (test.test_ftplib.TestTLS_FTPClassMixin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.6/test/test_ftplib.py", line 599, in test_storbinary_rest
    self.client.storbinary('stor', f, rest=r)
  File "/usr/lib/python3.6/ftplib.py", line 514, in storbinary
    conn.unwrap()
  File "/usr/lib/python3.6/ssl.py", line 1051, in unwrap
    s = self._sslobj.unwrap()
  File "/usr/lib/python3.6/ssl.py", line 698, in unwrap
    return self._sslobj.shutdown()
OSError: [Errno 0] Error

======================================================================
ERROR: test_storlines (test.test_ftplib.TestTLS_FTPClassMixin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.6/test/test_ftplib.py", line 604, in test_storlines
    self.client.storlines('stor', f)
  File "/usr/lib/python3.6/ftplib.py", line 545, in storlines
    conn.unwrap()
  File "/usr/lib/python3.6/ssl.py", line 1051, in unwrap
    s = self._sslobj.unwrap()
  File "/usr/lib/python3.6/ssl.py", line 698, in unwrap
    return self._sslobj.shutdown()
OSError: [Errno 0] Error

----------------------------------------------------------------------
Ran 89 tests in 3.540s

FAILED (errors=3)

======================================================================
FAIL: test_options (test.test_ssl.ContextTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.6/test/test_ssl.py", line 908, in test_options
    self.assertEqual(default, ctx.options)
AssertionError: <Opti[26 chars]CIPHER_SERVER_PREFERENCE|OP_NO_COMPRESSION: 2185363540> != <Opti[26 chars]CIPHER_SERVER_PREFERENCE|1048576|OP_NO_COMPRESSION: 2186412116>

======================================================================
FAIL: test_default_ciphers (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.6/test/test_ssl.py", line 3087, in test_default_ciphers
    s.connect((HOST, server.port))
AssertionError: OSError not raised

======================================================================
FAIL: test_default_ecdh_curve (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.6/test/test_ssl.py", line 3141, in test_default_ecdh_curve
    self.assertIn("ECDH", s.cipher()[0])
AssertionError: 'ECDH' not found in 'TLS_AES_256_GCM_SHA384'

======================================================================
FAIL: test_session_handling (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.6/test/test_ssl.py", line 3592, in test_session_handling
    self.assertEqual(s.session_reused, True)
AssertionError: False != True

======================================================================
FAIL: test_shared_ciphers (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.6/test/test_ssl.py", line 3459, in test_shared_ciphers
    self.fail(name)
AssertionError: TLS_AES_256_GCM_SHA384

----------------------------------------------------------------------
Ran 125 tests in 1.165s

FAILED (failures=5, skipped=8)

Tags: tls1.3
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.