"./vfs.test -test.v -test.timeout 1h0m0s -remote TestFilesCom: -verbose -test.run '^TestFileRename$/^minimal,forceCache=true$|^TestReadFileHandleReadAt$'" - Starting (try 2/5) 2025/06/21 02:02:09 DEBUG : Creating backend with remote "TestFilesCom:rclone-test-vopukah4zoma" 2025/06/21 02:02:09 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/06/21 02:02:09 DEBUG : Creating backend with remote "/tmp/rclone644856159" === RUN TestFileRename === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "files root 'rclone-test-vopukah4zoma'", Local "Local file system at /tmp/rclone644856159", Modify Window "1s" 2025/06/21 02:02:09 INFO : files root 'rclone-test-vopukah4zoma': poll-interval is not supported by this remote 2025/06/21 02:02:09 DEBUG : files root 'rclone-test-vopukah4zoma': vfs cache: root is "/home/rclone/.cache/rclone" 2025/06/21 02:02:09 DEBUG : files root 'rclone-test-vopukah4zoma': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-vopukah4zoma" 2025/06/21 02:02:09 DEBUG : files root 'rclone-test-vopukah4zoma': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-vopukah4zoma" 2025/06/21 02:02:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-vopukah4zoma" 2025/06/21 02:02:09 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/06/21 02:02:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-vopukah4zoma" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-vopukah4zoma" 2025/06/21 02:02:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-vopukah4zoma" 2025/06/21 02:02:09 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/06/21 02:02:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-vopukah4zoma" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-vopukah4zoma" 2025/06/21 02:02:09 INFO : files root 'rclone-test-vopukah4zoma': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/06/21 02:02:12 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/06/21 02:02:12 DEBUG : dir/file1: newRWFileHandle: 2025/06/21 02:02:12 DEBUG : dir/file1(0xc000714380): openPending: 2025/06/21 02:02:12 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC," against cached fingerprint "" 2025/06/21 02:02:12 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/06/21 02:02:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/06/21 02:02:12 DEBUG : dir/file1(0xc000714380): >openPending: err= 2025/06/21 02:02:12 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/06/21 02:02:12 DEBUG : dir/file1: >newRWFileHandle: err= 2025/06/21 02:02:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/06/21 02:02:12 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/06/21 02:02:12 DEBUG : dir/file1(0xc000714380): _writeAt: size=14, off=0 2025/06/21 02:02:12 DEBUG : dir/file1(0xc000714380): >_writeAt: n=14, err= 2025/06/21 02:02:12 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/06/21 02:02:12 DEBUG : dir/file1(0xc000714380): close: 2025/06/21 02:02:12 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/06/21 02:02:12 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/06/21 02:02:12 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/06/21 02:02:12 DEBUG : dir/file1(0xc000714380): >close: err= 2025/06/21 02:02:12 DEBUG : WaitForWriters: timeout=30s 2025/06/21 02:02:12 DEBUG : dir: Looking for writers 2025/06/21 02:02:12 DEBUG : file1: reading active writers 2025/06/21 02:02:12 DEBUG : Looking for writers 2025/06/21 02:02:12 DEBUG : dir: reading active writers 2025/06/21 02:02:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/06/21 02:02:12 DEBUG : dir: Looking for writers 2025/06/21 02:02:12 DEBUG : file1: reading active writers 2025/06/21 02:02:12 DEBUG : Looking for writers 2025/06/21 02:02:12 DEBUG : dir: reading active writers 2025/06/21 02:02:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/06/21 02:02:12 DEBUG : dir: Looking for writers 2025/06/21 02:02:12 DEBUG : file1: reading active writers 2025/06/21 02:02:12 DEBUG : Looking for writers 2025/06/21 02:02:12 DEBUG : dir: reading active writers 2025/06/21 02:02:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/06/21 02:02:12 DEBUG : dir: Looking for writers 2025/06/21 02:02:12 DEBUG : file1: reading active writers 2025/06/21 02:02:12 DEBUG : Looking for writers 2025/06/21 02:02:12 DEBUG : dir: reading active writers 2025/06/21 02:02:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/06/21 02:02:12 DEBUG : dir/file1: vfs cache: starting upload 2025/06/21 02:02:12 DEBUG : dir: Looking for writers 2025/06/21 02:02:12 DEBUG : file1: reading active writers 2025/06/21 02:02:12 DEBUG : Looking for writers 2025/06/21 02:02:12 DEBUG : dir: reading active writers 2025/06/21 02:02:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/06/21 02:02:12 DEBUG : dir: Looking for writers 2025/06/21 02:02:12 DEBUG : file1: reading active writers 2025/06/21 02:02:12 DEBUG : Looking for writers 2025/06/21 02:02:12 DEBUG : dir: reading active writers 2025/06/21 02:02:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/06/21 02:02:13 DEBUG : dir: Looking for writers 2025/06/21 02:02:13 DEBUG : file1: reading active writers 2025/06/21 02:02:13 DEBUG : Looking for writers 2025/06/21 02:02:13 DEBUG : dir: reading active writers 2025/06/21 02:02:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/06/21 02:02:13 DEBUG : dir/file1: Dst hash empty - aborting Src hash check 2025/06/21 02:02:13 INFO : dir/file1: Copied (replaced existing) 2025/06/21 02:02:13 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/06/21 02:02:13 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/06/21 02:02:13 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/06/21 02:02:13 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/06/21 02:02:13 DEBUG : dir: Looking for writers 2025/06/21 02:02:13 DEBUG : file1: reading active writers 2025/06/21 02:02:13 DEBUG : Looking for writers 2025/06/21 02:02:13 DEBUG : dir: reading active writers 2025/06/21 02:02:13 DEBUG : >WaitForWriters: 2025/06/21 02:02:13 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/06/21 02:02:13 DEBUG : dir/file1: newRWFileHandle: 2025/06/21 02:02:13 DEBUG : dir/file1: >newRWFileHandle: err= 2025/06/21 02:02:13 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/06/21 02:02:13 DEBUG : dir/file1(0xc0006dfe40): _readAt: size=512, off=0 2025/06/21 02:02:13 DEBUG : dir/file1(0xc0006dfe40): openPending: 2025/06/21 02:02:13 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC," against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC," 2025/06/21 02:02:13 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/06/21 02:02:13 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/06/21 02:02:13 DEBUG : dir/file1(0xc0006dfe40): >openPending: err= 2025/06/21 02:02:13 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/06/21 02:02:13 DEBUG : dir/file1(0xc0006dfe40): >_readAt: n=14, err=EOF 2025/06/21 02:02:13 DEBUG : dir/file1(0xc0006dfe40): close: 2025/06/21 02:02:13 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/06/21 02:02:13 DEBUG : dir/file1(0xc0006dfe40): >close: err= 2025/06/21 02:02:14 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/06/21 02:02:14 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/06/21 02:02:14 DEBUG : newLeaf: Updating file with newLeaf 0xc000750840 2025/06/21 02:02:14 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/06/21 02:02:14 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/06/21 02:02:15 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/06/21 02:02:15 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/06/21 02:02:15 DEBUG : dir/file1: Updating file with dir/file1 0xc000750840 2025/06/21 02:02:15 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/06/21 02:02:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/06/21 02:02:15 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/06/21 02:02:15 DEBUG : dir/file1: newRWFileHandle: 2025/06/21 02:02:15 DEBUG : dir/file1(0xc000714500): openPending: 2025/06/21 02:02:15 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC," against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC," 2025/06/21 02:02:15 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/06/21 02:02:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/06/21 02:02:15 DEBUG : dir/file1(0xc000714500): >openPending: err= 2025/06/21 02:02:15 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/06/21 02:02:15 DEBUG : dir/file1: >newRWFileHandle: err= 2025/06/21 02:02:15 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/06/21 02:02:15 DEBUG : dir/file1(0xc000714500): _writeAt: size=25, off=0 2025/06/21 02:02:15 DEBUG : dir/file1(0xc000714500): >_writeAt: n=25, err= 2025/06/21 02:02:16 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/06/21 02:02:16 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/06/21 02:02:16 DEBUG : newLeaf: Updating file with newLeaf 0xc000750840 2025/06/21 02:02:16 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/06/21 02:02:16 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/06/21 02:02:16 DEBUG : newLeaf(0xc000714500): close: 2025/06/21 02:02:16 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/06/21 02:02:16 DEBUG : newLeaf: vfs cache: setting modification time to 2025-06-21 02:02:15.964065315 +0000 UTC m=+7.002028608 2025/06/21 02:02:16 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/06/21 02:02:16 DEBUG : newLeaf(0xc000714500): >close: err= 2025/06/21 02:02:16 DEBUG : WaitForWriters: timeout=30s 2025/06/21 02:02:16 DEBUG : dir: Looking for writers 2025/06/21 02:02:16 DEBUG : Looking for writers 2025/06/21 02:02:16 DEBUG : newLeaf: reading active writers 2025/06/21 02:02:16 DEBUG : dir: reading active writers 2025/06/21 02:02:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/06/21 02:02:16 DEBUG : dir: Looking for writers 2025/06/21 02:02:16 DEBUG : Looking for writers 2025/06/21 02:02:16 DEBUG : dir: reading active writers 2025/06/21 02:02:16 DEBUG : newLeaf: reading active writers 2025/06/21 02:02:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/06/21 02:02:16 DEBUG : dir: Looking for writers 2025/06/21 02:02:16 DEBUG : Looking for writers 2025/06/21 02:02:16 DEBUG : dir: reading active writers 2025/06/21 02:02:16 DEBUG : newLeaf: reading active writers 2025/06/21 02:02:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/06/21 02:02:16 DEBUG : dir: Looking for writers 2025/06/21 02:02:16 DEBUG : Looking for writers 2025/06/21 02:02:16 DEBUG : dir: reading active writers 2025/06/21 02:02:16 DEBUG : newLeaf: reading active writers 2025/06/21 02:02:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/06/21 02:02:16 DEBUG : newLeaf: vfs cache: starting upload 2025/06/21 02:02:16 DEBUG : dir: Looking for writers 2025/06/21 02:02:16 DEBUG : Looking for writers 2025/06/21 02:02:16 DEBUG : dir: reading active writers 2025/06/21 02:02:16 DEBUG : newLeaf: reading active writers 2025/06/21 02:02:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/06/21 02:02:16 DEBUG : dir: Looking for writers 2025/06/21 02:02:16 DEBUG : Looking for writers 2025/06/21 02:02:16 DEBUG : dir: reading active writers 2025/06/21 02:02:16 DEBUG : newLeaf: reading active writers 2025/06/21 02:02:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/06/21 02:02:17 DEBUG : dir: Looking for writers 2025/06/21 02:02:17 DEBUG : Looking for writers 2025/06/21 02:02:17 DEBUG : dir: reading active writers 2025/06/21 02:02:17 DEBUG : newLeaf: reading active writers 2025/06/21 02:02:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/06/21 02:02:17 DEBUG : newLeaf: Dst hash empty - aborting Src hash check 2025/06/21 02:02:17 INFO : newLeaf: Copied (replaced existing) 2025/06/21 02:02:17 DEBUG : newLeaf: vfs cache: fingerprint now "25,2025-06-21 02:02:15 +0000 UTC," 2025/06/21 02:02:17 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/06/21 02:02:17 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/06/21 02:02:17 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/06/21 02:02:17 DEBUG : dir: Looking for writers 2025/06/21 02:02:17 DEBUG : Looking for writers 2025/06/21 02:02:17 DEBUG : dir: reading active writers 2025/06/21 02:02:17 DEBUG : newLeaf: reading active writers 2025/06/21 02:02:17 DEBUG : >WaitForWriters: 2025/06/21 02:02:18 DEBUG : WaitForWriters: timeout=30s 2025/06/21 02:02:18 DEBUG : dir: Looking for writers 2025/06/21 02:02:18 DEBUG : Looking for writers 2025/06/21 02:02:18 DEBUG : newLeaf: reading active writers 2025/06/21 02:02:18 DEBUG : dir: reading active writers 2025/06/21 02:02:18 DEBUG : >WaitForWriters: 2025/06/21 02:02:18 DEBUG : files root 'rclone-test-vopukah4zoma': vfs cache: cleaner exiting --- PASS: TestFileRename (9.11s) --- PASS: TestFileRename/minimal,forceCache=true (9.11s) === RUN TestReadFileHandleReadAt run.go:180: Remote "files root 'rclone-test-vopukah4zoma'", Local "Local file system at /tmp/rclone644856159", Modify Window "1s" 2025/06/21 02:02:18 INFO : files root 'rclone-test-vopukah4zoma': poll-interval is not supported by this remote 2025/06/21 02:02:20 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/06/21 02:02:20 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/06/21 02:02:20 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/06/21 02:02:20 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/06/21 02:02:20 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/06/21 02:02:20 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/06/21 02:02:20 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/06/21 02:02:20 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/06/21 02:02:20 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/06/21 02:02:20 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/06/21 02:02:20 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/06/21 02:02:20 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/06/21 02:02:20 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/06/21 02:02:21 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2025/06/21 02:02:21 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2025/06/21 02:02:21 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2025/06/21 02:02:21 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2025/06/21 02:02:21 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2025/06/21 02:02:21 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2025/06/21 02:02:21 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2025/06/21 02:02:21 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2025/06/21 02:02:21 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2025/06/21 02:02:21 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2025/06/21 02:02:21 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/06/21 02:02:22 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2025/06/21 02:02:22 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2025/06/21 02:02:22 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2025/06/21 02:02:22 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/06/21 02:02:22 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/06/21 02:02:22 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/06/21 02:02:22 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/06/21 02:02:22 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2025/06/21 02:02:22 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/06/21 02:02:22 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/06/21 02:02:22 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/06/21 02:02:22 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2025/06/21 02:02:22 DEBUG : WaitForWriters: timeout=30s 2025/06/21 02:02:22 DEBUG : dir: Looking for writers 2025/06/21 02:02:22 DEBUG : file1: reading active writers 2025/06/21 02:02:22 DEBUG : Looking for writers 2025/06/21 02:02:22 DEBUG : dir: reading active writers 2025/06/21 02:02:22 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (4.27s) PASS 2025/06/21 02:02:23 DEBUG : files root 'rclone-test-vopukah4zoma': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestFilesCom: -verbose -test.run '^TestFileRename$/^minimal,forceCache=true$|^TestReadFileHandleReadAt$'" - Finished OK in 14.419593076s (try 2/5)