Message323472
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) |
|
Date |
User |
Action |
Args |
2018-08-13 09:50:35 | christian.heimes | set | recipients:
+ christian.heimes |
2018-08-13 09:50:35 | christian.heimes | set | messageid: <1534153835.38.0.56676864532.issue34391@psf.upfronthosting.co.za> |
2018-08-13 09:50:35 | christian.heimes | link | issue34391 messages |
2018-08-13 09:50:34 | christian.heimes | create | |
|