** Description changed: - autopkgtest fails with openssl1.1.1 pre3 + autopkgtest fails with openssl1.1.1 As seen at: - - https://bileto.ubuntu.com/excuses/3217/bionic.html - - test test_ftplib failed -- multiple errors occurred; run in verbose mode - for details - - test test_ssl failed -- multiple errors occurred; run in verbose mode - for details - - Rebuilding python2.7 also fails: - https://launchpadlibrarian.net/362271446/buildlog_ubuntu-bionic-amd64.python2.7_2.7.14-7_BUILDING.txt.gz - - ====================================================================== - ERROR: test_storbinary (test.test_ftplib.TestTLS_FTPClassMixin) - ---------------------------------------------------------------------- - Traceback (most recent call last): - File "/<<PKGBUILDDIR>>/Lib/test/test_ftplib.py", line 534, in test_storbinary - self.client.storbinary('stor', f) - File "/<<PKGBUILDDIR>>/Lib/ftplib.py", line 781, in storbinary - conn.unwrap() - File "/<<PKGBUILDDIR>>/Lib/ssl.py", line 829, in unwrap - s = self._sslobj.shutdown() - error: [Errno 0] Error - - ====================================================================== - ERROR: test_storbinary_rest (test.test_ftplib.TestTLS_FTPClassMixin) - ---------------------------------------------------------------------- - Traceback (most recent call last): - File "/<<PKGBUILDDIR>>/Lib/test/test_ftplib.py", line 546, in test_storbinary_rest - self.client.storbinary('stor', f, rest=r) - File "/<<PKGBUILDDIR>>/Lib/ftplib.py", line 781, in storbinary - conn.unwrap() - File "/<<PKGBUILDDIR>>/Lib/ssl.py", line 829, in unwrap - s = self._sslobj.shutdown() - error: [Errno 0] Error - - ====================================================================== - ERROR: test_storlines (test.test_ftplib.TestTLS_FTPClassMixin) - ---------------------------------------------------------------------- - Traceback (most recent call last): - File "/<<PKGBUILDDIR>>/Lib/test/test_ftplib.py", line 551, in test_storlines - self.client.storlines('stor', f) - File "/<<PKGBUILDDIR>>/Lib/ftplib.py", line 802, in storlines - conn.unwrap() - File "/<<PKGBUILDDIR>>/Lib/ssl.py", line 829, in unwrap - s = self._sslobj.shutdown() - error: [Errno 0] Error - - ---------------------------------------------------------------------- - Ran 71 tests in 1.956s - - FAILED (errors=3, skipped=1) - - ====================================================================== - ERROR: test_load_dh_params (test.test_ssl.ContextTests) - ---------------------------------------------------------------------- - Traceback (most recent call last): - File "/<<PKGBUILDDIR>>/Lib/test/test_ssl.py", line 1005, in test_load_dh_params - shutil.copy(DHFILE, fname) - File "/<<PKGBUILDDIR>>/Lib/shutil.py", line 131, in copy - if os.path.isdir(dst): - File "/<<PKGBUILDDIR>>/build-debug/../Lib/genericpath.py", line 49, in isdir - st = os.stat(s) - UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 18: ordinal not in range(128) + 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 "/<<PKGBUILDDIR>>/Lib/test/test_ssl.py", line 2808, in test_tls1_3 + 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__ - - ====================================================================== - FAIL: test_options (test.test_ssl.ContextTests) - ---------------------------------------------------------------------- - Traceback (most recent call last): - File "/<<PKGBUILDDIR>>/Lib/test/test_ssl.py", line 780, in test_options - self.assertEqual(default, ctx.options) - AssertionError: 2181169236 != 2182217812L - - ====================================================================== - FAIL: test_default_ciphers (test.test_ssl.ThreadedTests) - ---------------------------------------------------------------------- - Traceback (most recent call last): - File "/<<PKGBUILDDIR>>/Lib/test/test_ssl.py", line 2780, in test_default_ciphers - s.connect((HOST, server.port)) - AssertionError: SSLError not raised - - ====================================================================== - FAIL: test_default_ecdh_curve (test.test_ssl.ThreadedTests) - ---------------------------------------------------------------------- - Traceback (most recent call last): - File "/<<PKGBUILDDIR>>/Lib/test/test_ssl.py", line 2831, in test_default_ecdh_curve - self.assertIn("ECDH", s.cipher()[0]) - AssertionError: 'ECDH' not found in 'TLS_AES_256_GCM_SHA384' - - ---------------------------------------------------------------------- - Ran 95 tests in 1.962s - - FAILED (failures=3, errors=2, skipped=8)
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1759172 Title: failed unit tests during build & autopkgtest fails with openssl 1.1.1 pre3 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1759172/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs