New submission from Xavier de Gaye <xdeg...@gmail.com>:
The failure on andoid API 24: generic_x86_64:/data/local/tmp/python $ python -m test -v test_largefile -m test_it == CPython 3.9.0a0 (heads/abifa-dirty:cf805c25e6, Nov 18 2019, 16:40:26) [Clang 8.0.2 (https://andro id.googlesource.com/toolchain/clang 40173bab62ec7462 == Linux-3.10.0+-x86_64-with-libc little-endian == cwd: /data/local/tmp/python/tmp/test_python_2626 == CPU count: 2 == encodings: locale=UTF-8, FS=utf-8 0:00:00 Run tests sequentially 0:00:00 [1/1] test_largefile test_it (test.test_largefile.TestCopyfile) ... ERROR test_it (test.test_largefile.TestSocketSendfile) ... Exception in thread Thread-1: Traceback (most recent call last): File "/data/local/tmp/python/lib/python3.9/threading.py", line 944, in _bootstrap_inner self.run() File "/data/local/tmp/python/lib/python3.9/threading.py", line 882, in run self._target(*self._args, **self._kwargs) File "/data/local/tmp/python/lib/python3.9/test/test_largefile.py", line 193, in run f.write(chunk) OSError: [Errno 28] No space left on device ERROR ====================================================================== ERROR: test_it (test.test_largefile.TestCopyfile) ---------------------------------------------------------------------- Traceback (most recent call last): File "/data/local/tmp/python/lib/python3.9/test/test_largefile.py", line 160, in test_it shutil.copyfile(TESTFN, TESTFN2) File "/data/local/tmp/python/lib/python3.9/shutil.py", line 270, in copyfile _fastcopy_sendfile(fsrc, fdst) File "/data/local/tmp/python/lib/python3.9/shutil.py", line 163, in _fastcopy_sendfile raise err from None File "/data/local/tmp/python/lib/python3.9/shutil.py", line 149, in _fastcopy_sendfile sent = os.sendfile(outfd, infd, offset, blocksize) OSError: [Errno 28] No space left on device: '@test_2626_tmp' -> '@test_2626_tmp2' ====================================================================== ERROR: test_it (test.test_largefile.TestSocketSendfile) ---------------------------------------------------------------------- Traceback (most recent call last): File "/data/local/tmp/python/lib/python3.9/test/test_largefile.py", line 207, in test_it shutil.copyfile(TESTFN, TESTFN2) File "/data/local/tmp/python/lib/python3.9/shutil.py", line 270, in copyfile _fastcopy_sendfile(fsrc, fdst) File "/data/local/tmp/python/lib/python3.9/shutil.py", line 163, in _fastcopy_sendfile raise err from None File "/data/local/tmp/python/lib/python3.9/shutil.py", line 149, in _fastcopy_sendfile sent = os.sendfile(outfd, infd, offset, blocksize) OSError: [Errno 28] No space left on device: '@test_2626_tmp' -> '@test_2626_tmp2' ====================================================================== ERROR: test_it (test.test_largefile.TestSocketSendfile) ---------------------------------------------------------------------- Traceback (most recent call last): File "/data/local/tmp/python/lib/python3.9/test/test_largefile.py", line 207, in test_it client.sendfile(f) File "/data/local/tmp/python/lib/python3.9/socket.py", line 483, in sendfile return self._sendfile_use_sendfile(file, offset, count) File "/data/local/tmp/python/lib/python3.9/socket.py", line 400, in _sendfile_use_sendfile raise err from None File "/data/local/tmp/python/lib/python3.9/socket.py", line 386, in _sendfile_use_sendfile sent = os_sendfile(sockno, fileno, offset, blocksize) BrokenPipeError: [Errno 32] Broken pipe ---------------------------------------------------------------------- Ran 2 tests in 1.207s FAILED (errors=2) test test_largefile failed test_largefile failed == Tests result: FAILURE == 1 test failed: test_largefile Total duration: 1.4 sec Tests result: FAILURE ---------- components: Tests messages: 356976 nosy: xdegaye priority: normal severity: normal stage: needs patch status: open title: test_largefile fails on android type: behavior versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38850> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com