"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestWriteFileHandleWriteAt|TestZipManyFiles)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 5/5) 2026/05/10 05:29:38 DEBUG : Creating backend with remote "TestMega:rclone-test-zofexan1gegu" 2026/05/10 05:29:38 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/10 05:29:38 DEBUG : mega root 'rclone-test-zofexan1gegu': Using previously stored session ID and master key to initialize the Mega API 2026/05/10 05:29:55 DEBUG : Creating backend with remote "/tmp/rclone2655744483" === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:198: Remote "mega root 'rclone-test-zofexan1gegu'", Local "Local file system at /tmp/rclone2655744483", Modify Window "876000h0m0s" 2026/05/10 05:29:55 INFO : mega root 'rclone-test-zofexan1gegu': poll-interval is not supported by this remote 2026/05/10 05:29:55 NOTICE: mega root 'rclone-test-zofexan1gegu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream run.go:303: Failed to put "dir/file1" to "mega root 'rclone-test-zofexan1gegu'": failed to finish upload: unexpected end of JSON input 2026/05/10 05:30:08 DEBUG : WaitForWriters: timeout=30s 2026/05/10 05:30:08 DEBUG : Looking for writers 2026/05/10 05:30:08 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:198: Remote "mega root 'rclone-test-zofexan1gegu'", Local "Local file system at /tmp/rclone2655744483", Modify Window "876000h0m0s" 2026/05/10 05:30:14 INFO : mega root 'rclone-test-zofexan1gegu': poll-interval is not supported by this remote 2026/05/10 05:30:14 NOTICE: mega root 'rclone-test-zofexan1gegu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/10 05:30:14 DEBUG : mega root 'rclone-test-zofexan1gegu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/10 05:30:14 DEBUG : mega root 'rclone-test-zofexan1gegu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:30:14 DEBUG : mega root 'rclone-test-zofexan1gegu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:30:14 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:30:14 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/10 05:30:14 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zofexan1gegu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:30:14 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:30:14 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/10 05:30:14 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zofexan1gegu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:30:14 INFO : mega root 'rclone-test-zofexan1gegu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/10 05:30:14 DEBUG : WaitForWriters: timeout=30s 2026/05/10 05:30:14 DEBUG : dir: Looking for writers 2026/05/10 05:30:14 DEBUG : file1: reading active writers 2026/05/10 05:30:14 DEBUG : Looking for writers 2026/05/10 05:30:14 DEBUG : dir: reading active writers 2026/05/10 05:30:14 DEBUG : >WaitForWriters: 2026/05/10 05:30:17 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/10 05:30:17 DEBUG : newLeaf: Updating file with newLeaf 0x39eacb98b2b0 2026/05/10 05:30:17 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/10 05:30:17 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "file1" 2026/05/10 05:30:24 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/10 05:30:24 DEBUG : dir/file1: Updating file with dir/file1 0x39eacb98b2b0 2026/05/10 05:30:24 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/10 05:30:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "dir/file1" 2026/05/10 05:30:31 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/10 05:30:31 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/05/10 05:30:31 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/10 05:30:31 DEBUG : dir/file1: File is currently open, delaying rename 0x39eacb98b2b0 2026/05/10 05:30:31 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/10 05:30:31 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/10 05:30:31 DEBUG : mega root 'rclone-test-zofexan1gegu': File to upload is small (25 bytes), uploading instead of streaming 2026/05/10 05:30:42 DEBUG : dir/file1: size = 25 OK 2026/05/10 05:30:42 NOTICE: mega root 'rclone-test-zofexan1gegu': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2026/05/10 05:30:42 DEBUG : dir/file1: Size of src and dst objects identical 2026/05/10 05:30:42 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/10 05:30:42 DEBUG : newLeaf: Running delayed rename now 2026/05/10 05:30:42 INFO : newLeaf: Deleted 2026/05/10 05:30:42 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/10 05:30:42 DEBUG : newLeaf: Updating file with newLeaf 0x39eacb98b2b0 2026/05/10 05:30:42 DEBUG : WaitForWriters: timeout=30s 2026/05/10 05:30:42 DEBUG : dir: Looking for writers 2026/05/10 05:30:42 DEBUG : Looking for writers 2026/05/10 05:30:42 DEBUG : dir: reading active writers 2026/05/10 05:30:42 DEBUG : newLeaf: reading active writers 2026/05/10 05:30:42 DEBUG : >WaitForWriters: 2026/05/10 05:30:42 DEBUG : WaitForWriters: timeout=30s 2026/05/10 05:30:42 DEBUG : dir: Looking for writers 2026/05/10 05:30:42 DEBUG : Looking for writers 2026/05/10 05:30:42 DEBUG : newLeaf: reading active writers 2026/05/10 05:30:42 DEBUG : dir: reading active writers 2026/05/10 05:30:42 DEBUG : >WaitForWriters: 2026/05/10 05:30:42 DEBUG : mega root 'rclone-test-zofexan1gegu': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:198: Remote "mega root 'rclone-test-zofexan1gegu'", Local "Local file system at /tmp/rclone2655744483", Modify Window "876000h0m0s" 2026/05/10 05:30:43 INFO : mega root 'rclone-test-zofexan1gegu': poll-interval is not supported by this remote 2026/05/10 05:30:43 NOTICE: mega root 'rclone-test-zofexan1gegu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/10 05:30:43 DEBUG : mega root 'rclone-test-zofexan1gegu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/10 05:30:43 DEBUG : mega root 'rclone-test-zofexan1gegu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:30:43 DEBUG : mega root 'rclone-test-zofexan1gegu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:30:43 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:30:43 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/10 05:30:43 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zofexan1gegu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:30:43 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:30:43 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/10 05:30:43 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zofexan1gegu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:30:43 INFO : mega root 'rclone-test-zofexan1gegu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/10 05:30:45 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/05/10 05:30:45 DEBUG : dir/file1: newRWFileHandle: 2026/05/10 05:30:45 DEBUG : dir/file1(0x39eacba81180): openPending: 2026/05/10 05:30:45 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/05/10 05:30:45 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/05/10 05:30:45 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/10 05:30:45 DEBUG : dir/file1(0x39eacba81180): >openPending: err= 2026/05/10 05:30:45 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/10 05:30:45 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/10 05:30:45 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/10 05:30:45 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/10 05:30:45 DEBUG : dir/file1(0x39eacba81180): _writeAt: size=14, off=0 2026/05/10 05:30:45 DEBUG : dir/file1(0x39eacba81180): >_writeAt: n=14, err= 2026/05/10 05:30:45 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/05/10 05:30:45 DEBUG : dir/file1(0x39eacba81180): close: 2026/05/10 05:30:45 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/05/10 05:30:45 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/05/10 05:30:45 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/05/10 05:30:45 DEBUG : dir/file1(0x39eacba81180): >close: err= 2026/05/10 05:30:45 DEBUG : WaitForWriters: timeout=30s 2026/05/10 05:30:45 DEBUG : dir: Looking for writers 2026/05/10 05:30:45 DEBUG : file1: reading active writers 2026/05/10 05:30:45 DEBUG : Looking for writers 2026/05/10 05:30:45 DEBUG : dir: reading active writers 2026/05/10 05:30:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/10 05:30:45 DEBUG : dir: Looking for writers 2026/05/10 05:30:45 DEBUG : file1: reading active writers 2026/05/10 05:30:45 DEBUG : Looking for writers 2026/05/10 05:30:45 DEBUG : dir: reading active writers 2026/05/10 05:30:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/10 05:30:45 DEBUG : dir: Looking for writers 2026/05/10 05:30:45 DEBUG : file1: reading active writers 2026/05/10 05:30:45 DEBUG : Looking for writers 2026/05/10 05:30:45 DEBUG : dir: reading active writers 2026/05/10 05:30:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/10 05:30:45 DEBUG : dir: Looking for writers 2026/05/10 05:30:45 DEBUG : file1: reading active writers 2026/05/10 05:30:45 DEBUG : Looking for writers 2026/05/10 05:30:45 DEBUG : dir: reading active writers 2026/05/10 05:30:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/10 05:30:45 DEBUG : dir/file1: vfs cache: starting upload 2026/05/10 05:30:45 DEBUG : dir: Looking for writers 2026/05/10 05:30:45 DEBUG : file1: reading active writers 2026/05/10 05:30:45 DEBUG : Looking for writers 2026/05/10 05:30:45 DEBUG : dir: reading active writers 2026/05/10 05:30:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/10 05:30:45 DEBUG : dir: Looking for writers 2026/05/10 05:30:45 DEBUG : file1: reading active writers 2026/05/10 05:30:45 DEBUG : Looking for writers 2026/05/10 05:30:45 DEBUG : dir: reading active writers 2026/05/10 05:30:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/10 05:30:45 DEBUG : dir/file1: size = 14 OK 2026/05/10 05:30:45 INFO : dir/file1: Copied (replaced existing) 2026/05/10 05:30:45 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/05/10 05:30:45 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/05/10 05:30:45 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/10 05:30:45 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/05/10 05:30:46 DEBUG : dir: Looking for writers 2026/05/10 05:30:46 DEBUG : file1: reading active writers 2026/05/10 05:30:46 DEBUG : Looking for writers 2026/05/10 05:30:46 DEBUG : dir: reading active writers 2026/05/10 05:30:46 DEBUG : >WaitForWriters: 2026/05/10 05:30:46 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/10 05:30:46 DEBUG : dir/file1: newRWFileHandle: 2026/05/10 05:30:46 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/10 05:30:46 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/10 05:30:46 DEBUG : dir/file1(0x39eacbd00980): _readAt: size=512, off=0 2026/05/10 05:30:46 DEBUG : dir/file1(0x39eacbd00980): openPending: 2026/05/10 05:30:46 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/10 05:30:46 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/10 05:30:46 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/10 05:30:46 DEBUG : dir/file1(0x39eacbd00980): >openPending: err= 2026/05/10 05:30:46 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/05/10 05:30:46 DEBUG : dir/file1(0x39eacbd00980): >_readAt: n=14, err=EOF 2026/05/10 05:30:46 DEBUG : dir/file1(0x39eacbd00980): close: 2026/05/10 05:30:46 DEBUG : dir/file1(0x39eacbd00980): >close: err= 2026/05/10 05:30:48 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/10 05:30:48 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/10 05:30:48 DEBUG : newLeaf: Updating file with newLeaf 0x39eacb762c30 2026/05/10 05:30:48 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/10 05:30:48 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2026/05/10 05:30:51 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-10 05:30:45 +0000 UTC fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 7s just to make sure 2026/05/10 05:30:59 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/10 05:30:59 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/05/10 05:30:59 DEBUG : dir/file1: Updating file with dir/file1 0x39eacb762c30 2026/05/10 05:30:59 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/10 05:30:59 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "dir/file1" 2026/05/10 05:31:06 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/10 05:31:06 DEBUG : dir/file1: newRWFileHandle: 2026/05/10 05:31:06 DEBUG : dir/file1(0x39eacbce6e40): openPending: 2026/05/10 05:31:06 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/10 05:31:06 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/10 05:31:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/10 05:31:06 DEBUG : dir/file1(0x39eacbce6e40): >openPending: err= 2026/05/10 05:31:06 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/10 05:31:06 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/10 05:31:06 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/10 05:31:06 DEBUG : dir/file1(0x39eacbce6e40): _writeAt: size=25, off=0 2026/05/10 05:31:06 DEBUG : dir/file1(0x39eacbce6e40): >_writeAt: n=25, err= 2026/05/10 05:31:07 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/10 05:31:07 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/10 05:31:07 DEBUG : newLeaf: Updating file with newLeaf 0x39eacb762c30 2026/05/10 05:31:07 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/10 05:31:07 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/10 05:31:07 DEBUG : newLeaf(0x39eacbce6e40): close: 2026/05/10 05:31:07 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/05/10 05:31:07 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-10 05:31:06.857347636 +0000 UTC m=+88.440650528 2026/05/10 05:31:07 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/05/10 05:31:07 DEBUG : newLeaf(0x39eacbce6e40): >close: err= 2026/05/10 05:31:07 DEBUG : WaitForWriters: timeout=30s 2026/05/10 05:31:07 DEBUG : dir: Looking for writers 2026/05/10 05:31:07 DEBUG : Looking for writers 2026/05/10 05:31:07 DEBUG : dir: reading active writers 2026/05/10 05:31:07 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/10 05:31:07 DEBUG : dir: Looking for writers 2026/05/10 05:31:07 DEBUG : Looking for writers 2026/05/10 05:31:07 DEBUG : dir: reading active writers 2026/05/10 05:31:07 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/10 05:31:07 DEBUG : dir: Looking for writers 2026/05/10 05:31:07 DEBUG : Looking for writers 2026/05/10 05:31:07 DEBUG : dir: reading active writers 2026/05/10 05:31:07 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/10 05:31:07 DEBUG : dir: Looking for writers 2026/05/10 05:31:07 DEBUG : Looking for writers 2026/05/10 05:31:07 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:07 DEBUG : dir: reading active writers 2026/05/10 05:31:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/10 05:31:07 DEBUG : newLeaf: vfs cache: starting upload 2026/05/10 05:31:07 DEBUG : dir: Looking for writers 2026/05/10 05:31:07 DEBUG : Looking for writers 2026/05/10 05:31:07 DEBUG : dir: reading active writers 2026/05/10 05:31:07 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/10 05:31:07 DEBUG : dir: Looking for writers 2026/05/10 05:31:07 DEBUG : Looking for writers 2026/05/10 05:31:07 DEBUG : dir: reading active writers 2026/05/10 05:31:07 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/10 05:31:07 DEBUG : dir: Looking for writers 2026/05/10 05:31:07 DEBUG : Looking for writers 2026/05/10 05:31:07 DEBUG : dir: reading active writers 2026/05/10 05:31:07 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/10 05:31:08 DEBUG : dir: Looking for writers 2026/05/10 05:31:08 DEBUG : Looking for writers 2026/05/10 05:31:08 DEBUG : dir: reading active writers 2026/05/10 05:31:08 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:09 DEBUG : dir: Looking for writers 2026/05/10 05:31:09 DEBUG : Looking for writers 2026/05/10 05:31:09 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:09 DEBUG : dir: reading active writers 2026/05/10 05:31:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:10 DEBUG : dir: Looking for writers 2026/05/10 05:31:10 DEBUG : Looking for writers 2026/05/10 05:31:10 DEBUG : dir: reading active writers 2026/05/10 05:31:10 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:11 DEBUG : dir: Looking for writers 2026/05/10 05:31:11 DEBUG : Looking for writers 2026/05/10 05:31:11 DEBUG : dir: reading active writers 2026/05/10 05:31:11 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:12 DEBUG : dir: Looking for writers 2026/05/10 05:31:12 DEBUG : Looking for writers 2026/05/10 05:31:12 DEBUG : dir: reading active writers 2026/05/10 05:31:12 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:13 DEBUG : dir: Looking for writers 2026/05/10 05:31:13 DEBUG : Looking for writers 2026/05/10 05:31:13 DEBUG : dir: reading active writers 2026/05/10 05:31:13 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:14 DEBUG : dir: Looking for writers 2026/05/10 05:31:14 DEBUG : Looking for writers 2026/05/10 05:31:14 DEBUG : dir: reading active writers 2026/05/10 05:31:14 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:15 DEBUG : dir: Looking for writers 2026/05/10 05:31:15 DEBUG : Looking for writers 2026/05/10 05:31:15 DEBUG : dir: reading active writers 2026/05/10 05:31:15 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:16 DEBUG : dir: Looking for writers 2026/05/10 05:31:16 DEBUG : Looking for writers 2026/05/10 05:31:16 DEBUG : dir: reading active writers 2026/05/10 05:31:16 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:17 DEBUG : dir: Looking for writers 2026/05/10 05:31:17 DEBUG : Looking for writers 2026/05/10 05:31:17 DEBUG : dir: reading active writers 2026/05/10 05:31:17 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:18 DEBUG : dir: Looking for writers 2026/05/10 05:31:18 DEBUG : Looking for writers 2026/05/10 05:31:18 DEBUG : dir: reading active writers 2026/05/10 05:31:18 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:19 DEBUG : dir: Looking for writers 2026/05/10 05:31:19 DEBUG : Looking for writers 2026/05/10 05:31:19 DEBUG : dir: reading active writers 2026/05/10 05:31:19 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:20 DEBUG : newLeaf: size = 25 OK 2026/05/10 05:31:20 INFO : newLeaf: Copied (replaced existing) 2026/05/10 05:31:20 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/05/10 05:31:20 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/05/10 05:31:20 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/10 05:31:20 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/05/10 05:31:20 DEBUG : dir: Looking for writers 2026/05/10 05:31:20 DEBUG : Looking for writers 2026/05/10 05:31:20 DEBUG : dir: reading active writers 2026/05/10 05:31:20 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:20 DEBUG : >WaitForWriters: 2026/05/10 05:31:20 DEBUG : WaitForWriters: timeout=30s 2026/05/10 05:31:20 DEBUG : dir: Looking for writers 2026/05/10 05:31:20 DEBUG : Looking for writers 2026/05/10 05:31:20 DEBUG : dir: reading active writers 2026/05/10 05:31:20 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:20 DEBUG : >WaitForWriters: 2026/05/10 05:31:20 DEBUG : mega root 'rclone-test-zofexan1gegu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:198: Remote "mega root 'rclone-test-zofexan1gegu'", Local "Local file system at /tmp/rclone2655744483", Modify Window "876000h0m0s" 2026/05/10 05:31:22 INFO : mega root 'rclone-test-zofexan1gegu': poll-interval is not supported by this remote 2026/05/10 05:31:22 DEBUG : mega root 'rclone-test-zofexan1gegu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/10 05:31:22 DEBUG : mega root 'rclone-test-zofexan1gegu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:31:22 DEBUG : mega root 'rclone-test-zofexan1gegu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:31:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:31:22 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/10 05:31:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zofexan1gegu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:31:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:31:22 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/10 05:31:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zofexan1gegu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:31:22 INFO : mega root 'rclone-test-zofexan1gegu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/10 05:31:27 DEBUG : WaitForWriters: timeout=30s 2026/05/10 05:31:27 DEBUG : dir: Looking for writers 2026/05/10 05:31:27 DEBUG : file1: reading active writers 2026/05/10 05:31:27 DEBUG : Looking for writers 2026/05/10 05:31:27 DEBUG : dir: reading active writers 2026/05/10 05:31:27 DEBUG : >WaitForWriters: 2026/05/10 05:31:27 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/10 05:31:27 DEBUG : newLeaf: Updating file with newLeaf 0x39eacc0e6ea0 2026/05/10 05:31:27 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/10 05:31:27 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/10 05:31:28 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/10 05:31:28 DEBUG : dir/file1: Updating file with dir/file1 0x39eacc0e6ea0 2026/05/10 05:31:28 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/10 05:31:28 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "dir/file1" 2026/05/10 05:31:35 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/10 05:31:35 DEBUG : dir/file1: newRWFileHandle: 2026/05/10 05:31:35 DEBUG : dir/file1(0x39eacc1b1040): openPending: 2026/05/10 05:31:35 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/05/10 05:31:35 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/05/10 05:31:35 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/10 05:31:35 DEBUG : dir/file1(0x39eacc1b1040): >openPending: err= 2026/05/10 05:31:35 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/10 05:31:35 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/10 05:31:35 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/10 05:31:35 DEBUG : dir/file1(0x39eacc1b1040): _writeAt: size=25, off=0 2026/05/10 05:31:35 DEBUG : dir/file1(0x39eacc1b1040): >_writeAt: n=25, err= 2026/05/10 05:31:35 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/10 05:31:35 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/10 05:31:35 DEBUG : newLeaf: Updating file with newLeaf 0x39eacc0e6ea0 2026/05/10 05:31:35 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/10 05:31:35 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/10 05:31:35 DEBUG : newLeaf(0x39eacc1b1040): close: 2026/05/10 05:31:35 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/05/10 05:31:35 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-10 05:31:35.298058927 +0000 UTC m=+116.881361799 2026/05/10 05:31:35 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/05/10 05:31:35 DEBUG : newLeaf(0x39eacc1b1040): >close: err= 2026/05/10 05:31:35 DEBUG : WaitForWriters: timeout=30s 2026/05/10 05:31:35 DEBUG : dir: Looking for writers 2026/05/10 05:31:35 DEBUG : Looking for writers 2026/05/10 05:31:35 DEBUG : dir: reading active writers 2026/05/10 05:31:35 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/10 05:31:35 DEBUG : dir: Looking for writers 2026/05/10 05:31:35 DEBUG : Looking for writers 2026/05/10 05:31:35 DEBUG : dir: reading active writers 2026/05/10 05:31:35 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/10 05:31:35 DEBUG : dir: Looking for writers 2026/05/10 05:31:35 DEBUG : Looking for writers 2026/05/10 05:31:35 DEBUG : dir: reading active writers 2026/05/10 05:31:35 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/10 05:31:35 DEBUG : dir: Looking for writers 2026/05/10 05:31:35 DEBUG : Looking for writers 2026/05/10 05:31:35 DEBUG : dir: reading active writers 2026/05/10 05:31:35 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/10 05:31:35 DEBUG : newLeaf: vfs cache: starting upload 2026/05/10 05:31:35 DEBUG : dir: Looking for writers 2026/05/10 05:31:35 DEBUG : Looking for writers 2026/05/10 05:31:35 DEBUG : dir: reading active writers 2026/05/10 05:31:35 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/10 05:31:35 DEBUG : dir: Looking for writers 2026/05/10 05:31:35 DEBUG : Looking for writers 2026/05/10 05:31:35 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:35 DEBUG : dir: reading active writers 2026/05/10 05:31:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/10 05:31:36 DEBUG : dir: Looking for writers 2026/05/10 05:31:36 DEBUG : Looking for writers 2026/05/10 05:31:36 DEBUG : dir: reading active writers 2026/05/10 05:31:36 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/10 05:31:36 DEBUG : newLeaf: size = 25 OK 2026/05/10 05:31:36 INFO : newLeaf: Copied (replaced existing) 2026/05/10 05:31:36 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/05/10 05:31:36 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/05/10 05:31:36 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/10 05:31:36 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/05/10 05:31:36 DEBUG : dir: Looking for writers 2026/05/10 05:31:36 DEBUG : Looking for writers 2026/05/10 05:31:36 DEBUG : dir: reading active writers 2026/05/10 05:31:36 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:36 DEBUG : >WaitForWriters: 2026/05/10 05:31:36 DEBUG : WaitForWriters: timeout=30s 2026/05/10 05:31:36 DEBUG : dir: Looking for writers 2026/05/10 05:31:36 DEBUG : Looking for writers 2026/05/10 05:31:36 DEBUG : dir: reading active writers 2026/05/10 05:31:36 DEBUG : newLeaf: reading active writers 2026/05/10 05:31:36 DEBUG : >WaitForWriters: 2026/05/10 05:31:36 DEBUG : mega root 'rclone-test-zofexan1gegu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:198: Remote "mega root 'rclone-test-zofexan1gegu'", Local "Local file system at /tmp/rclone2655744483", Modify Window "876000h0m0s" 2026/05/10 05:31:38 INFO : mega root 'rclone-test-zofexan1gegu': poll-interval is not supported by this remote 2026/05/10 05:31:38 DEBUG : mega root 'rclone-test-zofexan1gegu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/10 05:31:38 DEBUG : mega root 'rclone-test-zofexan1gegu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:31:38 DEBUG : mega root 'rclone-test-zofexan1gegu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:31:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:31:38 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/10 05:31:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zofexan1gegu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:31:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:31:38 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/10 05:31:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zofexan1gegu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:31:38 INFO : mega root 'rclone-test-zofexan1gegu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/10 05:31:40 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/05/10 05:31:40 DEBUG : dir/file1: newRWFileHandle: 2026/05/10 05:31:40 DEBUG : dir/file1(0x39eacc326fc0): openPending: 2026/05/10 05:31:40 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/05/10 05:31:40 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/05/10 05:31:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/10 05:31:40 DEBUG : dir/file1(0x39eacc326fc0): >openPending: err= 2026/05/10 05:31:40 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/10 05:31:40 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/10 05:31:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/10 05:31:40 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/10 05:31:40 DEBUG : dir/file1(0x39eacc326fc0): _writeAt: size=14, off=0 2026/05/10 05:31:40 DEBUG : dir/file1(0x39eacc326fc0): >_writeAt: n=14, err= 2026/05/10 05:31:40 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/05/10 05:31:40 DEBUG : dir/file1(0x39eacc326fc0): close: 2026/05/10 05:31:40 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/05/10 05:31:40 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/05/10 05:31:40 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/05/10 05:31:40 DEBUG : dir/file1(0x39eacc326fc0): >close: err= 2026/05/10 05:31:40 DEBUG : WaitForWriters: timeout=30s 2026/05/10 05:31:40 DEBUG : dir: Looking for writers 2026/05/10 05:31:40 DEBUG : file1: reading active writers 2026/05/10 05:31:40 DEBUG : Looking for writers 2026/05/10 05:31:40 DEBUG : dir: reading active writers 2026/05/10 05:31:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/10 05:31:40 DEBUG : dir: Looking for writers 2026/05/10 05:31:40 DEBUG : file1: reading active writers 2026/05/10 05:31:40 DEBUG : Looking for writers 2026/05/10 05:31:40 DEBUG : dir: reading active writers 2026/05/10 05:31:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/10 05:31:40 DEBUG : dir: Looking for writers 2026/05/10 05:31:40 DEBUG : file1: reading active writers 2026/05/10 05:31:40 DEBUG : Looking for writers 2026/05/10 05:31:40 DEBUG : dir: reading active writers 2026/05/10 05:31:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/10 05:31:40 DEBUG : dir: Looking for writers 2026/05/10 05:31:40 DEBUG : file1: reading active writers 2026/05/10 05:31:40 DEBUG : Looking for writers 2026/05/10 05:31:40 DEBUG : dir: reading active writers 2026/05/10 05:31:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/10 05:31:40 DEBUG : dir/file1: vfs cache: starting upload 2026/05/10 05:31:41 DEBUG : dir: Looking for writers 2026/05/10 05:31:41 DEBUG : file1: reading active writers 2026/05/10 05:31:41 DEBUG : Looking for writers 2026/05/10 05:31:41 DEBUG : dir: reading active writers 2026/05/10 05:31:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/10 05:31:41 DEBUG : dir: Looking for writers 2026/05/10 05:31:41 DEBUG : file1: reading active writers 2026/05/10 05:31:41 DEBUG : Looking for writers 2026/05/10 05:31:41 DEBUG : dir: reading active writers 2026/05/10 05:31:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/10 05:31:41 DEBUG : dir: Looking for writers 2026/05/10 05:31:41 DEBUG : file1: reading active writers 2026/05/10 05:31:41 DEBUG : Looking for writers 2026/05/10 05:31:41 DEBUG : dir: reading active writers 2026/05/10 05:31:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/10 05:31:42 DEBUG : dir: Looking for writers 2026/05/10 05:31:42 DEBUG : file1: reading active writers 2026/05/10 05:31:42 DEBUG : Looking for writers 2026/05/10 05:31:42 DEBUG : dir: reading active writers 2026/05/10 05:31:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:43 DEBUG : dir: Looking for writers 2026/05/10 05:31:43 DEBUG : file1: reading active writers 2026/05/10 05:31:43 DEBUG : Looking for writers 2026/05/10 05:31:43 DEBUG : dir: reading active writers 2026/05/10 05:31:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:44 DEBUG : dir: Looking for writers 2026/05/10 05:31:44 DEBUG : file1: reading active writers 2026/05/10 05:31:44 DEBUG : Looking for writers 2026/05/10 05:31:44 DEBUG : dir: reading active writers 2026/05/10 05:31:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:45 DEBUG : dir: Looking for writers 2026/05/10 05:31:45 DEBUG : file1: reading active writers 2026/05/10 05:31:45 DEBUG : Looking for writers 2026/05/10 05:31:45 DEBUG : dir: reading active writers 2026/05/10 05:31:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:46 DEBUG : dir: Looking for writers 2026/05/10 05:31:46 DEBUG : file1: reading active writers 2026/05/10 05:31:46 DEBUG : Looking for writers 2026/05/10 05:31:46 DEBUG : dir: reading active writers 2026/05/10 05:31:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:47 DEBUG : dir: Looking for writers 2026/05/10 05:31:47 DEBUG : file1: reading active writers 2026/05/10 05:31:47 DEBUG : Looking for writers 2026/05/10 05:31:47 DEBUG : dir: reading active writers 2026/05/10 05:31:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:48 DEBUG : dir: Looking for writers 2026/05/10 05:31:48 DEBUG : file1: reading active writers 2026/05/10 05:31:48 DEBUG : Looking for writers 2026/05/10 05:31:48 DEBUG : dir: reading active writers 2026/05/10 05:31:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:49 DEBUG : dir: Looking for writers 2026/05/10 05:31:49 DEBUG : file1: reading active writers 2026/05/10 05:31:49 DEBUG : Looking for writers 2026/05/10 05:31:49 DEBUG : dir: reading active writers 2026/05/10 05:31:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:50 DEBUG : dir: Looking for writers 2026/05/10 05:31:50 DEBUG : file1: reading active writers 2026/05/10 05:31:50 DEBUG : Looking for writers 2026/05/10 05:31:50 DEBUG : dir: reading active writers 2026/05/10 05:31:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:51 DEBUG : dir: Looking for writers 2026/05/10 05:31:51 DEBUG : file1: reading active writers 2026/05/10 05:31:51 DEBUG : Looking for writers 2026/05/10 05:31:51 DEBUG : dir: reading active writers 2026/05/10 05:31:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:51 ERROR : dir/file1: Failed to copy: failed to finish upload: unexpected end of JSON input 2026/05/10 05:31:51 ERROR : dir/file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: failed to finish upload: unexpected end of JSON input 2026/05/10 05:31:52 DEBUG : dir/file1: vfs cache: starting upload 2026/05/10 05:31:52 DEBUG : dir: Looking for writers 2026/05/10 05:31:52 DEBUG : file1: reading active writers 2026/05/10 05:31:52 DEBUG : Looking for writers 2026/05/10 05:31:52 DEBUG : dir: reading active writers 2026/05/10 05:31:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:53 DEBUG : dir: Looking for writers 2026/05/10 05:31:53 DEBUG : file1: reading active writers 2026/05/10 05:31:53 DEBUG : Looking for writers 2026/05/10 05:31:53 DEBUG : dir: reading active writers 2026/05/10 05:31:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:54 DEBUG : dir: Looking for writers 2026/05/10 05:31:54 DEBUG : file1: reading active writers 2026/05/10 05:31:54 DEBUG : Looking for writers 2026/05/10 05:31:54 DEBUG : dir: reading active writers 2026/05/10 05:31:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:55 DEBUG : dir: Looking for writers 2026/05/10 05:31:55 DEBUG : file1: reading active writers 2026/05/10 05:31:55 DEBUG : Looking for writers 2026/05/10 05:31:55 DEBUG : dir: reading active writers 2026/05/10 05:31:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:56 DEBUG : dir: Looking for writers 2026/05/10 05:31:56 DEBUG : file1: reading active writers 2026/05/10 05:31:56 DEBUG : Looking for writers 2026/05/10 05:31:56 DEBUG : dir: reading active writers 2026/05/10 05:31:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:57 DEBUG : dir: Looking for writers 2026/05/10 05:31:57 DEBUG : file1: reading active writers 2026/05/10 05:31:57 DEBUG : Looking for writers 2026/05/10 05:31:57 DEBUG : dir: reading active writers 2026/05/10 05:31:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:31:58 DEBUG : dir/file1: size = 14 OK 2026/05/10 05:31:58 INFO : dir/file1: Copied (replaced existing) 2026/05/10 05:31:58 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/05/10 05:31:58 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/05/10 05:31:58 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/10 05:31:58 INFO : dir/file1: vfs cache: upload succeeded try #2 2026/05/10 05:31:58 DEBUG : dir: Looking for writers 2026/05/10 05:31:58 DEBUG : file1: reading active writers 2026/05/10 05:31:58 DEBUG : Looking for writers 2026/05/10 05:31:58 DEBUG : dir: reading active writers 2026/05/10 05:31:58 DEBUG : >WaitForWriters: 2026/05/10 05:31:58 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/10 05:31:58 DEBUG : dir/file1: newRWFileHandle: 2026/05/10 05:31:58 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/10 05:31:58 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/10 05:31:58 DEBUG : dir/file1(0x39eacc326300): _readAt: size=512, off=0 2026/05/10 05:31:58 DEBUG : dir/file1(0x39eacc326300): openPending: 2026/05/10 05:31:58 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/10 05:31:58 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/10 05:31:58 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/10 05:31:58 DEBUG : dir/file1(0x39eacc326300): >openPending: err= 2026/05/10 05:31:58 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/05/10 05:31:58 DEBUG : dir/file1(0x39eacc326300): >_readAt: n=14, err=EOF 2026/05/10 05:31:58 DEBUG : dir/file1(0x39eacc326300): close: 2026/05/10 05:31:58 DEBUG : dir/file1(0x39eacc326300): >close: err= 2026/05/10 05:32:00 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/10 05:32:00 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/10 05:32:00 DEBUG : newLeaf: Updating file with newLeaf 0x39eacc325040 2026/05/10 05:32:00 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/10 05:32:00 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/10 05:32:00 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/10 05:32:00 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/05/10 05:32:00 DEBUG : dir/file1: Updating file with dir/file1 0x39eacc325040 2026/05/10 05:32:00 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/10 05:32:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2026/05/10 05:32:03 DEBUG : dir/file1: vfs cache: setting modification time to 2026-05-10 05:31:57 +0000 UTC fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "dir/file1" 2026/05/10 05:32:07 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/10 05:32:07 DEBUG : dir/file1: newRWFileHandle: 2026/05/10 05:32:07 DEBUG : dir/file1(0x39eac80d4f00): openPending: 2026/05/10 05:32:07 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/10 05:32:07 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/10 05:32:07 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/10 05:32:07 DEBUG : dir/file1(0x39eac80d4f00): >openPending: err= 2026/05/10 05:32:07 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/10 05:32:07 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/10 05:32:07 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/10 05:32:07 DEBUG : dir/file1(0x39eac80d4f00): _writeAt: size=25, off=0 2026/05/10 05:32:07 DEBUG : dir/file1(0x39eac80d4f00): >_writeAt: n=25, err= 2026/05/10 05:32:19 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/10 05:32:19 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/10 05:32:19 DEBUG : newLeaf: Updating file with newLeaf 0x39eacc325040 2026/05/10 05:32:19 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/10 05:32:19 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/10 05:32:19 DEBUG : newLeaf(0x39eac80d4f00): close: 2026/05/10 05:32:19 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/05/10 05:32:19 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-10 05:32:07.703417419 +0000 UTC m=+149.286720291 2026/05/10 05:32:19 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/05/10 05:32:19 DEBUG : newLeaf(0x39eac80d4f00): >close: err= 2026/05/10 05:32:19 DEBUG : WaitForWriters: timeout=30s 2026/05/10 05:32:19 DEBUG : dir: Looking for writers 2026/05/10 05:32:19 DEBUG : Looking for writers 2026/05/10 05:32:19 DEBUG : dir: reading active writers 2026/05/10 05:32:19 DEBUG : newLeaf: reading active writers 2026/05/10 05:32:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/10 05:32:19 DEBUG : dir: Looking for writers 2026/05/10 05:32:19 DEBUG : Looking for writers 2026/05/10 05:32:19 DEBUG : dir: reading active writers 2026/05/10 05:32:19 DEBUG : newLeaf: reading active writers 2026/05/10 05:32:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/10 05:32:19 DEBUG : dir: Looking for writers 2026/05/10 05:32:19 DEBUG : Looking for writers 2026/05/10 05:32:19 DEBUG : dir: reading active writers 2026/05/10 05:32:19 DEBUG : newLeaf: reading active writers 2026/05/10 05:32:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/10 05:32:19 DEBUG : dir: Looking for writers 2026/05/10 05:32:19 DEBUG : Looking for writers 2026/05/10 05:32:19 DEBUG : dir: reading active writers 2026/05/10 05:32:19 DEBUG : newLeaf: reading active writers 2026/05/10 05:32:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/10 05:32:19 DEBUG : newLeaf: vfs cache: starting upload 2026/05/10 05:32:19 DEBUG : dir: Looking for writers 2026/05/10 05:32:19 DEBUG : Looking for writers 2026/05/10 05:32:19 DEBUG : dir: reading active writers 2026/05/10 05:32:19 DEBUG : newLeaf: reading active writers 2026/05/10 05:32:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/10 05:32:19 DEBUG : dir: Looking for writers 2026/05/10 05:32:19 DEBUG : Looking for writers 2026/05/10 05:32:19 DEBUG : dir: reading active writers 2026/05/10 05:32:19 DEBUG : newLeaf: reading active writers 2026/05/10 05:32:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/10 05:32:19 DEBUG : dir: Looking for writers 2026/05/10 05:32:19 DEBUG : Looking for writers 2026/05/10 05:32:19 DEBUG : dir: reading active writers 2026/05/10 05:32:19 DEBUG : newLeaf: reading active writers 2026/05/10 05:32:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/10 05:32:20 DEBUG : dir: Looking for writers 2026/05/10 05:32:20 DEBUG : Looking for writers 2026/05/10 05:32:20 DEBUG : dir: reading active writers 2026/05/10 05:32:20 DEBUG : newLeaf: reading active writers 2026/05/10 05:32:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/10 05:32:21 DEBUG : newLeaf: size = 25 OK 2026/05/10 05:32:21 INFO : newLeaf: Copied (replaced existing) 2026/05/10 05:32:21 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/05/10 05:32:21 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/05/10 05:32:21 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/10 05:32:21 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/05/10 05:32:21 DEBUG : dir: Looking for writers 2026/05/10 05:32:21 DEBUG : Looking for writers 2026/05/10 05:32:21 DEBUG : dir: reading active writers 2026/05/10 05:32:21 DEBUG : newLeaf: reading active writers 2026/05/10 05:32:21 DEBUG : >WaitForWriters: 2026/05/10 05:32:21 DEBUG : WaitForWriters: timeout=30s 2026/05/10 05:32:21 DEBUG : dir: Looking for writers 2026/05/10 05:32:21 DEBUG : Looking for writers 2026/05/10 05:32:21 DEBUG : dir: reading active writers 2026/05/10 05:32:21 DEBUG : newLeaf: reading active writers 2026/05/10 05:32:21 DEBUG : >WaitForWriters: 2026/05/10 05:32:21 DEBUG : mega root 'rclone-test-zofexan1gegu': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:198: Remote "mega root 'rclone-test-zofexan1gegu'", Local "Local file system at /tmp/rclone2655744483", Modify Window "876000h0m0s" 2026/05/10 05:32:23 INFO : mega root 'rclone-test-zofexan1gegu': poll-interval is not supported by this remote 2026/05/10 05:32:23 DEBUG : mega root 'rclone-test-zofexan1gegu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/10 05:32:23 DEBUG : mega root 'rclone-test-zofexan1gegu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:32:23 DEBUG : mega root 'rclone-test-zofexan1gegu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:32:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:32:23 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/10 05:32:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zofexan1gegu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:32:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:32:23 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/10 05:32:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zofexan1gegu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zofexan1gegu" 2026/05/10 05:32:23 INFO : mega root 'rclone-test-zofexan1gegu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/10 05:32:27 DEBUG : WaitForWriters: timeout=30s 2026/05/10 05:32:27 DEBUG : dir: Looking for writers 2026/05/10 05:32:27 DEBUG : file1: reading active writers 2026/05/10 05:32:27 DEBUG : Looking for writers 2026/05/10 05:32:27 DEBUG : dir: reading active writers 2026/05/10 05:32:27 DEBUG : >WaitForWriters: 2026/05/10 05:32:27 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/10 05:32:27 DEBUG : dir/file1: newRWFileHandle: 2026/05/10 05:32:27 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/10 05:32:27 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/10 05:32:27 DEBUG : dir/file1(0x39eac85203c0): _readAt: size=512, off=0 2026/05/10 05:32:27 DEBUG : dir/file1(0x39eac85203c0): openPending: 2026/05/10 05:32:27 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/05/10 05:32:27 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/05/10 05:32:27 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/10 05:32:27 DEBUG : dir/file1(0x39eac85203c0): >openPending: err= 2026/05/10 05:32:27 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2026/05/10 05:32:27 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/05/10 05:32:27 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/10 05:32:27 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/05/10 05:32:27 DEBUG : dir/file1(0x39eac85203c0): >_readAt: n=14, err=EOF 2026/05/10 05:32:27 DEBUG : dir/file1(0x39eac85203c0): close: 2026/05/10 05:32:27 DEBUG : dir/file1(0x39eac85203c0): >close: err= 2026/05/10 05:32:30 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/10 05:32:30 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/10 05:32:30 DEBUG : newLeaf: Updating file with newLeaf 0x39eacd16a9c0 2026/05/10 05:32:30 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/10 05:32:30 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/10 05:32:32 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/10 05:32:32 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/05/10 05:32:32 DEBUG : dir/file1: Updating file with dir/file1 0x39eacd16a9c0 2026/05/10 05:32:32 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/10 05:32:32 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 2026/05/10 05:32:32 DEBUG : dir/file1: vfs cache: setting modification time to 2026-05-10 05:32:25 +0000 UTC fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "dir/file1" 2026/05/10 05:32:39 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/10 05:32:39 DEBUG : dir/file1: newRWFileHandle: 2026/05/10 05:32:39 DEBUG : dir/file1(0x39eac7aff880): openPending: 2026/05/10 05:32:39 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/10 05:32:39 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/10 05:32:39 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/10 05:32:39 DEBUG : dir/file1(0x39eac7aff880): >openPending: err= 2026/05/10 05:32:39 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/10 05:32:39 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/10 05:32:39 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/10 05:32:39 DEBUG : dir/file1(0x39eac7aff880): _writeAt: size=25, off=0 2026/05/10 05:32:39 DEBUG : dir/file1(0x39eac7aff880): >_writeAt: n=25, err= 2026/05/10 05:32:39 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/10 05:32:39 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/10 05:32:39 DEBUG : newLeaf: Updating file with newLeaf 0x39eacd16a9c0 2026/05/10 05:32:39 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/10 05:32:39 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/10 05:32:39 DEBUG : newLeaf(0x39eac7aff880): close: 2026/05/10 05:32:39 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/05/10 05:32:39 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-10 05:32:39.150814694 +0000 UTC m=+180.734117587 2026/05/10 05:32:39 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/05/10 05:32:39 DEBUG : newLeaf(0x39eac7aff880): >close: err= 2026/05/10 05:32:39 DEBUG : WaitForWriters: timeout=30s 2026/05/10 05:32:39 DEBUG : dir: Looking for writers 2026/05/10 05:32:39 DEBUG : Looking for writers 2026/05/10 05:32:39 DEBUG : dir: reading active writers 2026/05/10 05:32:39 DEBUG : newLeaf: reading active writers 2026/05/10 05:32:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/10 05:32:39 DEBUG : dir: Looking for writers 2026/05/10 05:32:39 DEBUG : Looking for writers 2026/05/10 05:32:39 DEBUG : dir: reading active writers 2026/05/10 05:32:39 DEBUG : newLeaf: reading active writers 2026/05/10 05:32:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/10 05:32:39 DEBUG : dir: Looking for writers 2026/05/10 05:32:39 DEBUG : Looking for writers 2026/05/10 05:32:39 DEBUG : dir: reading active writers 2026/05/10 05:32:39 DEBUG : newLeaf: reading active writers 2026/05/10 05:32:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/10 05:32:39 DEBUG : dir: Looking for writers 2026/05/10 05:32:39 DEBUG : Looking for writers 2026/05/10 05:32:39 DEBUG : newLeaf: reading active writers 2026/05/10 05:32:39 DEBUG : dir: reading active writers 2026/05/10 05:32:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/10 05:32:39 DEBUG : newLeaf: vfs cache: starting upload 2026/05/10 05:32:39 DEBUG : dir: Looking for writers 2026/05/10 05:32:39 DEBUG : Looking for writers 2026/05/10 05:32:39 DEBUG : dir: reading active writers 2026/05/10 05:32:39 DEBUG : newLeaf: reading active writers 2026/05/10 05:32:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/10 05:32:39 DEBUG : dir: Looking for writers 2026/05/10 05:32:39 DEBUG : Looking for writers 2026/05/10 05:32:39 DEBUG : dir: reading active writers 2026/05/10 05:32:39 DEBUG : newLeaf: reading active writers 2026/05/10 05:32:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/10 05:32:40 DEBUG : dir: Looking for writers 2026/05/10 05:32:40 DEBUG : Looking for writers 2026/05/10 05:32:40 DEBUG : newLeaf: reading active writers 2026/05/10 05:32:40 DEBUG : dir: reading active writers 2026/05/10 05:32:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/10 05:32:40 DEBUG : newLeaf: size = 25 OK 2026/05/10 05:32:40 INFO : newLeaf: Copied (replaced existing) 2026/05/10 05:32:40 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/05/10 05:32:40 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/05/10 05:32:40 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/10 05:32:40 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/05/10 05:32:40 DEBUG : dir: Looking for writers 2026/05/10 05:32:40 DEBUG : Looking for writers 2026/05/10 05:32:40 DEBUG : dir: reading active writers 2026/05/10 05:32:40 DEBUG : newLeaf: reading active writers 2026/05/10 05:32:40 DEBUG : >WaitForWriters: 2026/05/10 05:32:40 DEBUG : WaitForWriters: timeout=30s 2026/05/10 05:32:40 DEBUG : dir: Looking for writers 2026/05/10 05:32:40 DEBUG : Looking for writers 2026/05/10 05:32:40 DEBUG : dir: reading active writers 2026/05/10 05:32:40 DEBUG : newLeaf: reading active writers 2026/05/10 05:32:40 DEBUG : >WaitForWriters: 2026/05/10 05:32:40 DEBUG : mega root 'rclone-test-zofexan1gegu': vfs cache: cleaner exiting --- FAIL: TestFileRename (166.76s) --- FAIL: TestFileRename/off,forceCache=false (18.48s) --- FAIL: TestFileRename/minimal,forceCache=false (28.75s) --- FAIL: TestFileRename/minimal,forceCache=true (39.28s) --- FAIL: TestFileRename/writes,forceCache=false (16.14s) --- FAIL: TestFileRename/writes,forceCache=true (45.04s) --- FAIL: TestFileRename/full,forceCache=false (19.06s) === RUN TestWriteFileHandleWriteAt run.go:198: Remote "mega root 'rclone-test-zofexan1gegu'", Local "Local file system at /tmp/rclone2655744483", Modify Window "876000h0m0s" 2026/05/10 05:32:42 INFO : mega root 'rclone-test-zofexan1gegu': poll-interval is not supported by this remote 2026/05/10 05:32:42 NOTICE: mega root 'rclone-test-zofexan1gegu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/10 05:32:42 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/05/10 05:32:42 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/05/10 05:32:42 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/10 05:32:42 DEBUG : file1: >Open: fd=file1 (w), err= 2026/05/10 05:32:42 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/05/10 05:32:42 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/10 05:32:42 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2026/05/10 05:32:43 DEBUG : file1: aborting in-sequence write wait, off=100 2026/05/10 05:32:43 DEBUG : file1: failed to wait for in-sequence write to 100 2026/05/10 05:32:43 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2026/05/10 05:32:43 DEBUG : mega root 'rclone-test-zofexan1gegu': File to upload is small (11 bytes), uploading instead of streaming 2026/05/10 05:32:44 DEBUG : file1: size = 11 OK 2026/05/10 05:32:44 DEBUG : file1: Size of src and dst objects identical 2026/05/10 05:32:44 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/10 05:32:44 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor 2026/05/10 05:32:44 DEBUG : WaitForWriters: timeout=30s 2026/05/10 05:32:44 DEBUG : Looking for writers 2026/05/10 05:32:44 DEBUG : file1: reading active writers 2026/05/10 05:32:44 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleWriteAt (4.00s) === RUN TestZipManyFiles run.go:198: Remote "mega root 'rclone-test-zofexan1gegu'", Local "Local file system at /tmp/rclone2655744483", Modify Window "876000h0m0s" 2026/05/10 05:32:46 INFO : mega root 'rclone-test-zofexan1gegu': poll-interval is not supported by this remote 2026/05/10 05:32:46 NOTICE: mega root 'rclone-test-zofexan1gegu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/10 05:32:52 DEBUG : flat/f000.txt: Open: flags=O_RDONLY 2026/05/10 05:32:52 DEBUG : flat/f000.txt: >Open: fd=flat/f000.txt (r), err= 2026/05/10 05:32:52 DEBUG : flat/f000.txt: Set virtual modtime to 2026-05-10 05:32:49 +0000 UTC 2026/05/10 05:32:52 DEBUG : flat/f000.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/10 05:32:52 DEBUG : flat/f000.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/10 05:32:52 DEBUG : flat/f001.txt: Open: flags=O_RDONLY 2026/05/10 05:32:52 DEBUG : flat/f001.txt: >Open: fd=flat/f001.txt (r), err= 2026/05/10 05:32:52 DEBUG : flat/f001.txt: Set virtual modtime to 2026-05-10 05:32:49 +0000 UTC 2026/05/10 05:32:52 DEBUG : flat/f001.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/10 05:32:52 DEBUG : flat/f001.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/10 05:32:52 DEBUG : flat/f002.txt: Open: flags=O_RDONLY 2026/05/10 05:32:52 DEBUG : flat/f002.txt: >Open: fd=flat/f002.txt (r), err= 2026/05/10 05:32:52 DEBUG : flat/f002.txt: Set virtual modtime to 2026-05-10 05:32:49 +0000 UTC 2026/05/10 05:32:52 DEBUG : flat/f002.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/10 05:32:52 DEBUG : flat/f002.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/10 05:32:52 DEBUG : flat/f003.txt: Open: flags=O_RDONLY 2026/05/10 05:32:52 DEBUG : flat/f003.txt: >Open: fd=flat/f003.txt (r), err= 2026/05/10 05:32:52 DEBUG : flat/f003.txt: Set virtual modtime to 2026-05-10 05:32:49 +0000 UTC 2026/05/10 05:32:52 DEBUG : flat/f003.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/10 05:32:52 DEBUG : flat/f003.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/10 05:32:52 DEBUG : flat/f004.txt: Open: flags=O_RDONLY 2026/05/10 05:32:52 DEBUG : flat/f004.txt: >Open: fd=flat/f004.txt (r), err= 2026/05/10 05:32:52 DEBUG : flat/f004.txt: Set virtual modtime to 2026-05-10 05:32:52 +0000 UTC 2026/05/10 05:32:52 DEBUG : flat/f004.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/10 05:32:52 DEBUG : flat/f004.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/10 05:32:52 DEBUG : WaitForWriters: timeout=30s 2026/05/10 05:32:52 DEBUG : flat: Looking for writers 2026/05/10 05:32:52 DEBUG : f002.txt: reading active writers 2026/05/10 05:32:52 DEBUG : f003.txt: reading active writers 2026/05/10 05:32:52 DEBUG : f004.txt: reading active writers 2026/05/10 05:32:52 DEBUG : f000.txt: reading active writers 2026/05/10 05:32:52 DEBUG : f001.txt: reading active writers 2026/05/10 05:32:52 DEBUG : Looking for writers 2026/05/10 05:32:52 DEBUG : flat: reading active writers 2026/05/10 05:32:52 DEBUG : >WaitForWriters: --- PASS: TestZipManyFiles (10.36s) FAIL 2026/05/10 05:32:57 DEBUG : mega root 'rclone-test-zofexan1gegu': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestWriteFileHandleWriteAt|TestZipManyFiles)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 3m18.859985846s (try 5/5): exit status 1: Failed [TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false]