New submission from Christian Heimes <li...@cheimes.de>:
Related to #32947 Four ftplib tests are failing with OpenSSL 1.1.1-pre8 and TLS 1.3 enabled. All failing tests use a separate data connection and transfer data on the server. For store operations, the client never calls recv(). This breaks bidirectional shutdown. I assume there are session tickets stuck on the wire. ====================================================================== ERROR: test_storbinary (test.test_ftplib.TestTLS_FTPClassMixin) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/heimes/dev/python/cpython/Lib/test/test_ftplib.py", line 591, in test_storbinary self.client.storbinary('stor', f) File "/home/heimes/dev/python/cpython/Lib/ftplib.py", line 514, in storbinary conn.unwrap() File "/home/heimes/dev/python/cpython/Lib/ssl.py", line 1091, in unwrap s = self._sslobj.shutdown() OSError: [Errno 0] Error ====================================================================== ERROR: test_storbinary_rest (test.test_ftplib.TestTLS_FTPClassMixin) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/heimes/dev/python/cpython/Lib/test/test_ftplib.py", line 603, in test_storbinary_rest self.client.storbinary('stor', f, rest=r) File "/home/heimes/dev/python/cpython/Lib/ftplib.py", line 514, in storbinary conn.unwrap() File "/home/heimes/dev/python/cpython/Lib/ssl.py", line 1091, in unwrap s = self._sslobj.shutdown() OSError: [Errno 0] Error ====================================================================== ERROR: test_storlines (test.test_ftplib.TestTLS_FTPClassMixin) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/heimes/dev/python/cpython/Lib/test/test_ftplib.py", line 608, in test_storlines self.client.storlines('stor', f) File "/home/heimes/dev/python/cpython/Lib/ftplib.py", line 545, in storlines conn.unwrap() File "/home/heimes/dev/python/cpython/Lib/ssl.py", line 1091, in unwrap s = self._sslobj.shutdown() OSError: [Errno 0] Error ====================================================================== ERROR: test_data_connection (test.test_ftplib.TestTLS_FTPClass) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/heimes/dev/python/cpython/Lib/test/test_ftplib.py", line 889, in test_data_connection self.assertEqual(self.client.voidresp(), "226 transfer complete") File "/home/heimes/dev/python/cpython/Lib/ftplib.py", line 251, in voidresp resp = self.getresp() File "/home/heimes/dev/python/cpython/Lib/ftplib.py", line 236, in getresp resp = self.getmultiline() File "/home/heimes/dev/python/cpython/Lib/ftplib.py", line 222, in getmultiline line = self.getline() File "/home/heimes/dev/python/cpython/Lib/ftplib.py", line 204, in getline line = self.file.readline(self.maxline + 1) File "/home/heimes/dev/python/cpython/Lib/socket.py", line 589, in readinto return self._sock.recv_into(b) socket.timeout: timed out ---------------------------------------------------------------------- Ran 88 tests in 9.402s FAILED (errors=4, skipped=1) ---------- messages: 323472 nosy: christian.heimes priority: normal severity: normal status: open title: test_ftplib is failing with TLS 1.3 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34391> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com