Issue 39488: test_largefile: TestSocketSendfile.test_it() uses too much disk space (original) (raw)
TestSocketSendfile.test_it() failed with "OSError: [Errno 28] No space left on device" on PPC64LE Fedora 3.x buildbot.
It also caused troubles on "AMD64 Fedora Rawhide Clang 3.x" worker.
If I recall correctly, it writes like 8 GB of real data, not just empty files made of holes.
I suggest to either remove the test or to use way less disk space.
https://buildbot.python.org/all/#builders/11/builds/259
Traceback (most recent call last): File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64le/build/Lib/test/test_largefile.py", line 161, in test_it shutil.copyfile(TESTFN, TESTFN2) File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64le/build/Lib/shutil.py", line 270, in copyfile _fastcopy_sendfile(fsrc, fdst) File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64le/build/Lib/shutil.py", line 163, in _fastcopy_sendfile raise err from None File "/home/shager/cpython-buildarea/3.x.edelsohn-fedora-ppc64le/build/Lib/shutil.py", line 149, in _fastcopy_sendfile sent = os.sendfile(outfd, infd, offset, blocksize) OSError: [Errno 28] No space left on device: '@test_38097_tmp' -> '@test_38097_tmp2'