"./vfs.test -test.v -test.timeout 1h0m0s -remote TestChunkerChunk50bYandex: -verbose -size-limit 1024 -test.run '^(TestRWFileHandleFlushRead|TestReadFileHandleReadAt)$'" - Starting (try 2/5) 2025/01/14 05:09:06 DEBUG : Creating backend with remote "TestChunkerChunk50bYandex:rclone-test-lucudap2waje" 2025/01/14 05:09:06 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/14 05:09:06 DEBUG : Creating backend with remote "TestYandex:rclone-test-lucudap2waje" 2025/01/14 05:09:06 DEBUG : Reset feature "ListR" 2025/01/14 05:09:06 DEBUG : Creating backend with remote "/tmp/rclone2473761010" === RUN TestReadFileHandleReadAt run.go:180: Remote "Chunked 'TestChunkerChunk50bYandex:rclone-test-lucudap2waje'", Local "Local file system at /tmp/rclone2473761010", Modify Window "1ns" 2025/01/14 05:09:06 INFO : Chunked 'TestChunkerChunk50bYandex:rclone-test-lucudap2waje': poll-interval is not supported by this remote 2025/01/14 05:09:12 INFO : dir/file1.rclone_chunk.001_2h89s0: Moved (server-side) to: dir/file1 2025/01/14 05:09:13 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/01/14 05:09:13 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/01/14 05:09:13 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/01/14 05:09:13 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/01/14 05:09:13 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/01/14 05:09:14 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/01/14 05:09:14 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/01/14 05:09:14 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/01/14 05:09:14 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/01/14 05:09:14 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/01/14 05:09:14 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/01/14 05:09:14 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/01/14 05:09:14 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/01/14 05:09:15 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2025/01/14 05:09:15 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2025/01/14 05:09:15 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2025/01/14 05:09:15 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2025/01/14 05:09:15 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2025/01/14 05:09:15 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2025/01/14 05:09:15 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2025/01/14 05:09:15 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2025/01/14 05:09:15 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2025/01/14 05:09:15 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2025/01/14 05:09:15 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/01/14 05:09:16 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2025/01/14 05:09:16 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2025/01/14 05:09:16 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2025/01/14 05:09:16 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/01/14 05:09:18 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/01/14 05:09:18 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/01/14 05:09:18 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/01/14 05:09:18 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2025/01/14 05:09:18 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/01/14 05:09:18 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/01/14 05:09:18 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/01/14 05:09:18 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2025/01/14 05:09:18 DEBUG : WaitForWriters: timeout=30s 2025/01/14 05:09:18 DEBUG : dir: Looking for writers 2025/01/14 05:09:18 DEBUG : file1: reading active writers 2025/01/14 05:09:18 DEBUG : : Looking for writers 2025/01/14 05:09:18 DEBUG : dir: reading active writers 2025/01/14 05:09:18 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (21.77s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "Chunked 'TestChunkerChunk50bYandex:rclone-test-lucudap2waje'", Local "Local file system at /tmp/rclone2473761010", Modify Window "1ns" 2025/01/14 05:09:28 INFO : Chunked 'TestChunkerChunk50bYandex:rclone-test-lucudap2waje': poll-interval is not supported by this remote 2025/01/14 05:09:28 DEBUG : Chunked 'TestChunkerChunk50bYandex:rclone-test-lucudap2waje': vfs cache: root is "/home/rclone/.cache/rclone" 2025/01/14 05:09:28 DEBUG : Chunked 'TestChunkerChunk50bYandex:rclone-test-lucudap2waje': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestChunkerChunk50bYandex/rclone-test-lucudap2waje" 2025/01/14 05:09:28 DEBUG : Chunked 'TestChunkerChunk50bYandex:rclone-test-lucudap2waje': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestChunkerChunk50bYandex/rclone-test-lucudap2waje" 2025/01/14 05:09:28 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestChunkerChunk50bYandex/rclone-test-lucudap2waje" 2025/01/14 05:09:28 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2025/01/14 05:09:28 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestChunkerChunk50bYandex/rclone-test-lucudap2waje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestChunkerChunk50bYandex/rclone-test-lucudap2waje" 2025/01/14 05:09:28 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestChunkerChunk50bYandex/rclone-test-lucudap2waje" 2025/01/14 05:09:28 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2025/01/14 05:09:28 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestChunkerChunk50bYandex/rclone-test-lucudap2waje" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestChunkerChunk50bYandex/rclone-test-lucudap2waje" 2025/01/14 05:09:28 INFO : Chunked 'TestChunkerChunk50bYandex:rclone-test-lucudap2waje': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/01/14 05:09:37 INFO : dir/file1.rclone_chunk.001_2h8vqq: Moved (server-side) to: dir/file1 2025/01/14 05:09:38 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/01/14 05:09:38 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/01/14 05:09:38 DEBUG : dir/file1: newRWFileHandle: 2025/01/14 05:09:38 DEBUG : dir/file1: >newRWFileHandle: err= 2025/01/14 05:09:38 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/01/14 05:09:38 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/01/14 05:09:38 DEBUG : dir/file1(0xc0002c2880): RWFileHandle.Flush 2025/01/14 05:09:38 DEBUG : dir/file1(0xc0002c2880): _readAt: size=256, off=0 2025/01/14 05:09:38 DEBUG : dir/file1(0xc0002c2880): openPending: 2025/01/14 05:09:38 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06.499999999 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/01/14 05:09:38 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/01/14 05:09:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/01/14 05:09:38 DEBUG : dir/file1(0xc0002c2880): >openPending: err= 2025/01/14 05:09:38 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/01/14 05:09:38 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/01/14 05:09:38 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/01/14 05:09:38 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/01/14 05:09:39 DEBUG : dir/file1(0xc0002c2880): >_readAt: n=16, err=EOF 2025/01/14 05:09:39 DEBUG : dir/file1(0xc0002c2880): RWFileHandle.Flush 2025/01/14 05:09:39 DEBUG : dir/file1(0xc0002c2880): RWFileHandle.Flush 2025/01/14 05:09:39 DEBUG : dir/file1(0xc0002c2880): close: 2025/01/14 05:09:39 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/01/14 05:09:39 DEBUG : dir/file1(0xc0002c2880): >close: err= 2025/01/14 05:09:39 DEBUG : WaitForWriters: timeout=30s 2025/01/14 05:09:39 DEBUG : dir: Looking for writers 2025/01/14 05:09:39 DEBUG : file1: reading active writers 2025/01/14 05:09:39 DEBUG : : Looking for writers 2025/01/14 05:09:39 DEBUG : dir: reading active writers 2025/01/14 05:09:39 DEBUG : >WaitForWriters: 2025/01/14 05:09:39 DEBUG : Chunked 'TestChunkerChunk50bYandex:rclone-test-lucudap2waje': vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushRead (20.26s) PASS 2025/01/14 05:09:48 DEBUG : Chunked 'TestChunkerChunk50bYandex:rclone-test-lucudap2waje': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestChunkerChunk50bYandex: -verbose -size-limit 1024 -test.run '^(TestRWFileHandleFlushRead|TestReadFileHandleReadAt)$'" - Finished OK in 46.400827858s (try 2/5)