"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestFileReadAtNonZeroLength|TestUnicodeNormalization|TestVFSOpenFile|TestVFSStat|TestVFSStatParent|TestWriteFileHandleFlush)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 4/5) 2026/05/18 03:22:10 DEBUG : Creating backend with remote "TestMega:rclone-test-lolicuw2qipu" 2026/05/18 03:22:10 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/18 03:22:10 DEBUG : mega root 'rclone-test-lolicuw2qipu': Using previously stored session ID and master key to initialize the Mega API 2026/05/18 03:22:30 DEBUG : Creating backend with remote "/tmp/rclone3456114608" === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:198: Remote "mega root 'rclone-test-lolicuw2qipu'", Local "Local file system at /tmp/rclone3456114608", Modify Window "876000h0m0s" 2026/05/18 03:22:30 INFO : mega root 'rclone-test-lolicuw2qipu': poll-interval is not supported by this remote 2026/05/18 03:22:30 NOTICE: mega root 'rclone-test-lolicuw2qipu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/18 03:22:36 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:22:36 DEBUG : dir: Looking for writers 2026/05/18 03:22:36 DEBUG : file1: reading active writers 2026/05/18 03:22:36 DEBUG : Looking for writers 2026/05/18 03:22:36 DEBUG : dir: reading active writers 2026/05/18 03:22:36 DEBUG : >WaitForWriters: 2026/05/18 03:22:39 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/18 03:22:39 DEBUG : newLeaf: Updating file with newLeaf 0x120f92078820 2026/05/18 03:22:39 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/18 03:22:39 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/off,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/off,forceCache=false Messages: Unexpected file "file1" 2026/05/18 03:22:56 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/18 03:22:56 DEBUG : dir/file1: Updating file with dir/file1 0x120f92078820 2026/05/18 03:22:56 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/18 03:22:56 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/off,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/off,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/off,forceCache=false Messages: Unexpected file "dir/file1" 2026/05/18 03:23:03 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/18 03:23:03 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/05/18 03:23:03 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/18 03:23:03 DEBUG : dir/file1: File is currently open, delaying rename 0x120f92078820 2026/05/18 03:23:03 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/18 03:23:03 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/18 03:23:03 DEBUG : mega root 'rclone-test-lolicuw2qipu': File to upload is small (25 bytes), uploading instead of streaming 2026/05/18 03:23:06 DEBUG : dir/file1: size = 25 OK 2026/05/18 03:23:06 NOTICE: mega root 'rclone-test-lolicuw2qipu': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2026/05/18 03:23:06 DEBUG : dir/file1: Size of src and dst objects identical 2026/05/18 03:23:06 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/18 03:23:06 DEBUG : newLeaf: Running delayed rename now 2026/05/18 03:23:06 INFO : newLeaf: Deleted 2026/05/18 03:23:09 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/18 03:23:09 DEBUG : newLeaf: Updating file with newLeaf 0x120f92078820 2026/05/18 03:23:09 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:23:09 DEBUG : dir: Looking for writers 2026/05/18 03:23:09 DEBUG : Looking for writers 2026/05/18 03:23:09 DEBUG : dir: reading active writers 2026/05/18 03:23:09 DEBUG : newLeaf: reading active writers 2026/05/18 03:23:09 DEBUG : >WaitForWriters: 2026/05/18 03:23:09 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:23:09 DEBUG : dir: Looking for writers 2026/05/18 03:23:09 DEBUG : Looking for writers 2026/05/18 03:23:09 DEBUG : dir: reading active writers 2026/05/18 03:23:09 DEBUG : newLeaf: reading active writers 2026/05/18 03:23:09 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:198: Remote "mega root 'rclone-test-lolicuw2qipu'", Local "Local file system at /tmp/rclone3456114608", Modify Window "876000h0m0s" 2026/05/18 03:23:09 INFO : mega root 'rclone-test-lolicuw2qipu': poll-interval is not supported by this remote 2026/05/18 03:23:09 NOTICE: mega root 'rclone-test-lolicuw2qipu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/18 03:23:09 DEBUG : mega root 'rclone-test-lolicuw2qipu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/18 03:23:09 DEBUG : mega root 'rclone-test-lolicuw2qipu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:23:09 DEBUG : mega root 'rclone-test-lolicuw2qipu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:23:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:23:09 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/18 03:23:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-lolicuw2qipu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:23:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:23:09 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/18 03:23:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-lolicuw2qipu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:23:09 INFO : mega root 'rclone-test-lolicuw2qipu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/18 03:23:10 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:23:10 DEBUG : dir: Looking for writers 2026/05/18 03:23:10 DEBUG : file1: reading active writers 2026/05/18 03:23:10 DEBUG : Looking for writers 2026/05/18 03:23:10 DEBUG : dir: reading active writers 2026/05/18 03:23:10 DEBUG : >WaitForWriters: 2026/05/18 03:23:13 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/18 03:23:13 DEBUG : newLeaf: Updating file with newLeaf 0x120f9262e820 2026/05/18 03:23:13 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/18 03:23:13 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/18 03:23:31 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/18 03:23:31 DEBUG : dir/file1: Updating file with dir/file1 0x120f9262e820 2026/05/18 03:23:31 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/18 03:23:31 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/18 03:23:38 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/18 03:23:38 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/05/18 03:23:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/18 03:23:38 DEBUG : dir/file1: File is currently open, delaying rename 0x120f9262e820 2026/05/18 03:23:38 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/18 03:23:38 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/18 03:23:38 DEBUG : mega root 'rclone-test-lolicuw2qipu': File to upload is small (25 bytes), uploading instead of streaming 2026/05/18 03:23:38 DEBUG : dir/file1: size = 25 OK 2026/05/18 03:23:38 DEBUG : dir/file1: Size of src and dst objects identical 2026/05/18 03:23:38 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/18 03:23:38 DEBUG : newLeaf: Running delayed rename now 2026/05/18 03:23:38 INFO : newLeaf: Deleted 2026/05/18 03:23:40 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/18 03:23:40 DEBUG : newLeaf: Updating file with newLeaf 0x120f9262e820 2026/05/18 03:23:40 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:23:40 DEBUG : dir: Looking for writers 2026/05/18 03:23:40 DEBUG : Looking for writers 2026/05/18 03:23:40 DEBUG : dir: reading active writers 2026/05/18 03:23:40 DEBUG : newLeaf: reading active writers 2026/05/18 03:23:40 DEBUG : >WaitForWriters: 2026/05/18 03:23:40 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:23:40 DEBUG : dir: Looking for writers 2026/05/18 03:23:40 DEBUG : Looking for writers 2026/05/18 03:23:40 DEBUG : dir: reading active writers 2026/05/18 03:23:40 DEBUG : newLeaf: reading active writers 2026/05/18 03:23:40 DEBUG : >WaitForWriters: 2026/05/18 03:23:40 DEBUG : mega root 'rclone-test-lolicuw2qipu': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:198: Remote "mega root 'rclone-test-lolicuw2qipu'", Local "Local file system at /tmp/rclone3456114608", Modify Window "876000h0m0s" 2026/05/18 03:23:42 INFO : mega root 'rclone-test-lolicuw2qipu': poll-interval is not supported by this remote 2026/05/18 03:23:42 NOTICE: mega root 'rclone-test-lolicuw2qipu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/18 03:23:42 DEBUG : mega root 'rclone-test-lolicuw2qipu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/18 03:23:42 DEBUG : mega root 'rclone-test-lolicuw2qipu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:23:42 DEBUG : mega root 'rclone-test-lolicuw2qipu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:23:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:23:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/18 03:23:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-lolicuw2qipu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:23:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:23:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/18 03:23:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-lolicuw2qipu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:23:42 INFO : mega root 'rclone-test-lolicuw2qipu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/18 03:23:46 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/05/18 03:23:46 DEBUG : dir/file1: newRWFileHandle: 2026/05/18 03:23:46 DEBUG : dir/file1(0x120f9238d800): openPending: 2026/05/18 03:23:46 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/05/18 03:23:46 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/05/18 03:23:46 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/18 03:23:46 DEBUG : dir/file1(0x120f9238d800): >openPending: err= 2026/05/18 03:23:46 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/18 03:23:46 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/18 03:23:46 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/18 03:23:46 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/18 03:23:46 DEBUG : dir/file1(0x120f9238d800): _writeAt: size=14, off=0 2026/05/18 03:23:46 DEBUG : dir/file1(0x120f9238d800): >_writeAt: n=14, err= 2026/05/18 03:23:46 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/05/18 03:23:46 DEBUG : dir/file1(0x120f9238d800): close: 2026/05/18 03:23:46 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/05/18 03:23:46 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/05/18 03:23:46 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/05/18 03:23:46 DEBUG : dir/file1(0x120f9238d800): >close: err= 2026/05/18 03:23:46 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:23:46 DEBUG : dir: Looking for writers 2026/05/18 03:23:46 DEBUG : file1: reading active writers 2026/05/18 03:23:46 DEBUG : Looking for writers 2026/05/18 03:23:46 DEBUG : dir: reading active writers 2026/05/18 03:23:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/18 03:23:46 DEBUG : dir: Looking for writers 2026/05/18 03:23:46 DEBUG : file1: reading active writers 2026/05/18 03:23:46 DEBUG : Looking for writers 2026/05/18 03:23:46 DEBUG : dir: reading active writers 2026/05/18 03:23:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/18 03:23:46 DEBUG : dir: Looking for writers 2026/05/18 03:23:46 DEBUG : file1: reading active writers 2026/05/18 03:23:46 DEBUG : Looking for writers 2026/05/18 03:23:46 DEBUG : dir: reading active writers 2026/05/18 03:23:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/18 03:23:46 DEBUG : dir: Looking for writers 2026/05/18 03:23:46 DEBUG : file1: reading active writers 2026/05/18 03:23:46 DEBUG : Looking for writers 2026/05/18 03:23:46 DEBUG : dir: reading active writers 2026/05/18 03:23:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/18 03:23:46 DEBUG : dir/file1: vfs cache: starting upload 2026/05/18 03:23:46 DEBUG : dir: Looking for writers 2026/05/18 03:23:46 DEBUG : file1: reading active writers 2026/05/18 03:23:46 DEBUG : Looking for writers 2026/05/18 03:23:46 DEBUG : dir: reading active writers 2026/05/18 03:23:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/18 03:23:46 DEBUG : dir: Looking for writers 2026/05/18 03:23:46 DEBUG : file1: reading active writers 2026/05/18 03:23:46 DEBUG : Looking for writers 2026/05/18 03:23:46 DEBUG : dir: reading active writers 2026/05/18 03:23:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/18 03:23:47 DEBUG : dir/file1: size = 14 OK 2026/05/18 03:23:47 INFO : dir/file1: Copied (replaced existing) 2026/05/18 03:23:47 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/05/18 03:23:47 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/05/18 03:23:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/18 03:23:47 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/05/18 03:23:47 DEBUG : dir: Looking for writers 2026/05/18 03:23:47 DEBUG : file1: reading active writers 2026/05/18 03:23:47 DEBUG : Looking for writers 2026/05/18 03:23:47 DEBUG : dir: reading active writers 2026/05/18 03:23:47 DEBUG : >WaitForWriters: 2026/05/18 03:23:47 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/18 03:23:47 DEBUG : dir/file1: newRWFileHandle: 2026/05/18 03:23:47 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/18 03:23:47 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/18 03:23:47 DEBUG : dir/file1(0x120f9288f180): _readAt: size=512, off=0 2026/05/18 03:23:47 DEBUG : dir/file1(0x120f9288f180): openPending: 2026/05/18 03:23:47 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/18 03:23:47 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/18 03:23:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/18 03:23:47 DEBUG : dir/file1(0x120f9288f180): >openPending: err= 2026/05/18 03:23:47 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/05/18 03:23:47 DEBUG : dir/file1(0x120f9288f180): >_readAt: n=14, err=EOF 2026/05/18 03:23:47 DEBUG : dir/file1(0x120f9288f180): close: 2026/05/18 03:23:47 DEBUG : dir/file1(0x120f9288f180): >close: err= 2026/05/18 03:23:47 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/18 03:23:47 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/18 03:23:47 DEBUG : newLeaf: Updating file with newLeaf 0x120f921d72b0 2026/05/18 03:23:47 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/18 03:23:47 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/18 03:23:48 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/18 03:23:48 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/05/18 03:23:48 DEBUG : dir/file1: Updating file with dir/file1 0x120f921d72b0 2026/05/18 03:23:48 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/18 03:23:48 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 2026/05/18 03:23:52 DEBUG : dir/file1: vfs cache: setting modification time to 2026-05-18 03:23:46 +0000 UTC 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/18 03:23:55 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/18 03:23:55 DEBUG : dir/file1: newRWFileHandle: 2026/05/18 03:23:55 DEBUG : dir/file1(0x120f929363c0): openPending: 2026/05/18 03:23:55 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/18 03:23:55 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/18 03:23:55 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/18 03:23:55 DEBUG : dir/file1(0x120f929363c0): >openPending: err= 2026/05/18 03:23:55 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/18 03:23:55 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/18 03:23:55 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/18 03:23:55 DEBUG : dir/file1(0x120f929363c0): _writeAt: size=25, off=0 2026/05/18 03:23:55 DEBUG : dir/file1(0x120f929363c0): >_writeAt: n=25, err= 2026/05/18 03:23:55 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/18 03:23:55 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/18 03:23:55 DEBUG : newLeaf: Updating file with newLeaf 0x120f921d72b0 2026/05/18 03:23:55 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/18 03:23:55 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/18 03:23:55 DEBUG : newLeaf(0x120f929363c0): close: 2026/05/18 03:23:55 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/05/18 03:23:55 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-18 03:23:55.287297758 +0000 UTC m=+104.664456930 2026/05/18 03:23:55 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/05/18 03:23:55 DEBUG : newLeaf(0x120f929363c0): >close: err= 2026/05/18 03:23:55 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:23:55 DEBUG : dir: Looking for writers 2026/05/18 03:23:55 DEBUG : Looking for writers 2026/05/18 03:23:55 DEBUG : dir: reading active writers 2026/05/18 03:23:55 DEBUG : newLeaf: reading active writers 2026/05/18 03:23:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/18 03:23:55 DEBUG : dir: Looking for writers 2026/05/18 03:23:55 DEBUG : Looking for writers 2026/05/18 03:23:55 DEBUG : dir: reading active writers 2026/05/18 03:23:55 DEBUG : newLeaf: reading active writers 2026/05/18 03:23:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/18 03:23:55 DEBUG : dir: Looking for writers 2026/05/18 03:23:55 DEBUG : Looking for writers 2026/05/18 03:23:55 DEBUG : newLeaf: reading active writers 2026/05/18 03:23:55 DEBUG : dir: reading active writers 2026/05/18 03:23:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/18 03:23:55 DEBUG : dir: Looking for writers 2026/05/18 03:23:55 DEBUG : Looking for writers 2026/05/18 03:23:55 DEBUG : dir: reading active writers 2026/05/18 03:23:55 DEBUG : newLeaf: reading active writers 2026/05/18 03:23:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/18 03:23:55 DEBUG : newLeaf: vfs cache: starting upload 2026/05/18 03:23:55 DEBUG : dir: Looking for writers 2026/05/18 03:23:55 DEBUG : Looking for writers 2026/05/18 03:23:55 DEBUG : dir: reading active writers 2026/05/18 03:23:55 DEBUG : newLeaf: reading active writers 2026/05/18 03:23:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/18 03:23:56 DEBUG : dir: Looking for writers 2026/05/18 03:23:56 DEBUG : Looking for writers 2026/05/18 03:23:56 DEBUG : dir: reading active writers 2026/05/18 03:23:56 DEBUG : newLeaf: reading active writers 2026/05/18 03:23:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/18 03:23:56 DEBUG : dir: Looking for writers 2026/05/18 03:23:56 DEBUG : Looking for writers 2026/05/18 03:23:56 DEBUG : newLeaf: reading active writers 2026/05/18 03:23:56 DEBUG : dir: reading active writers 2026/05/18 03:23:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/18 03:23:57 DEBUG : dir: Looking for writers 2026/05/18 03:23:57 DEBUG : Looking for writers 2026/05/18 03:23:57 DEBUG : dir: reading active writers 2026/05/18 03:23:57 DEBUG : newLeaf: reading active writers 2026/05/18 03:23:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:23:58 DEBUG : dir: Looking for writers 2026/05/18 03:23:58 DEBUG : Looking for writers 2026/05/18 03:23:58 DEBUG : dir: reading active writers 2026/05/18 03:23:58 DEBUG : newLeaf: reading active writers 2026/05/18 03:23:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:23:59 DEBUG : dir: Looking for writers 2026/05/18 03:23:59 DEBUG : Looking for writers 2026/05/18 03:23:59 DEBUG : dir: reading active writers 2026/05/18 03:23:59 DEBUG : newLeaf: reading active writers 2026/05/18 03:23:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:24:00 DEBUG : dir: Looking for writers 2026/05/18 03:24:00 DEBUG : Looking for writers 2026/05/18 03:24:00 DEBUG : dir: reading active writers 2026/05/18 03:24:00 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:24:01 DEBUG : dir: Looking for writers 2026/05/18 03:24:01 DEBUG : Looking for writers 2026/05/18 03:24:01 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:01 DEBUG : dir: reading active writers 2026/05/18 03:24:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:24:02 DEBUG : dir: Looking for writers 2026/05/18 03:24:02 DEBUG : Looking for writers 2026/05/18 03:24:02 DEBUG : dir: reading active writers 2026/05/18 03:24:02 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:24:03 DEBUG : dir: Looking for writers 2026/05/18 03:24:03 DEBUG : Looking for writers 2026/05/18 03:24:03 DEBUG : dir: reading active writers 2026/05/18 03:24:03 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:24:04 DEBUG : dir: Looking for writers 2026/05/18 03:24:04 DEBUG : Looking for writers 2026/05/18 03:24:04 DEBUG : dir: reading active writers 2026/05/18 03:24:04 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:24:05 DEBUG : dir: Looking for writers 2026/05/18 03:24:05 DEBUG : Looking for writers 2026/05/18 03:24:05 DEBUG : dir: reading active writers 2026/05/18 03:24:05 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:24:06 DEBUG : dir: Looking for writers 2026/05/18 03:24:06 DEBUG : Looking for writers 2026/05/18 03:24:06 DEBUG : dir: reading active writers 2026/05/18 03:24:06 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:24:07 DEBUG : dir: Looking for writers 2026/05/18 03:24:07 DEBUG : Looking for writers 2026/05/18 03:24:07 DEBUG : dir: reading active writers 2026/05/18 03:24:07 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:24:08 DEBUG : dir: Looking for writers 2026/05/18 03:24:08 DEBUG : Looking for writers 2026/05/18 03:24:08 DEBUG : dir: reading active writers 2026/05/18 03:24:08 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:24:09 DEBUG : dir: Looking for writers 2026/05/18 03:24:09 DEBUG : Looking for writers 2026/05/18 03:24:09 DEBUG : dir: reading active writers 2026/05/18 03:24:09 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:24:10 DEBUG : dir: Looking for writers 2026/05/18 03:24:10 DEBUG : Looking for writers 2026/05/18 03:24:10 DEBUG : dir: reading active writers 2026/05/18 03:24:10 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:24:10 DEBUG : newLeaf: size = 25 OK 2026/05/18 03:24:10 INFO : newLeaf: Copied (replaced existing) 2026/05/18 03:24:10 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/05/18 03:24:10 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/05/18 03:24:10 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/18 03:24:10 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/05/18 03:24:11 DEBUG : dir: Looking for writers 2026/05/18 03:24:11 DEBUG : Looking for writers 2026/05/18 03:24:11 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:11 DEBUG : dir: reading active writers 2026/05/18 03:24:11 DEBUG : >WaitForWriters: 2026/05/18 03:24:11 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:24:11 DEBUG : dir: Looking for writers 2026/05/18 03:24:11 DEBUG : Looking for writers 2026/05/18 03:24:11 DEBUG : dir: reading active writers 2026/05/18 03:24:11 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:11 DEBUG : >WaitForWriters: 2026/05/18 03:24:11 DEBUG : mega root 'rclone-test-lolicuw2qipu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:198: Remote "mega root 'rclone-test-lolicuw2qipu'", Local "Local file system at /tmp/rclone3456114608", Modify Window "876000h0m0s" 2026/05/18 03:24:13 INFO : mega root 'rclone-test-lolicuw2qipu': poll-interval is not supported by this remote 2026/05/18 03:24:13 DEBUG : mega root 'rclone-test-lolicuw2qipu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/18 03:24:13 DEBUG : mega root 'rclone-test-lolicuw2qipu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:24:13 DEBUG : mega root 'rclone-test-lolicuw2qipu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:24:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:24:13 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/18 03:24:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-lolicuw2qipu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:24:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:24:13 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/18 03:24:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-lolicuw2qipu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:24:13 INFO : mega root 'rclone-test-lolicuw2qipu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/18 03:24:15 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:24:15 DEBUG : dir: Looking for writers 2026/05/18 03:24:15 DEBUG : file1: reading active writers 2026/05/18 03:24:15 DEBUG : Looking for writers 2026/05/18 03:24:15 DEBUG : dir: reading active writers 2026/05/18 03:24:15 DEBUG : >WaitForWriters: 2026/05/18 03:24:15 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/18 03:24:15 DEBUG : newLeaf: Updating file with newLeaf 0x120f92b064e0 2026/05/18 03:24:15 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/18 03:24:15 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/writes,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/writes,forceCache=false Messages: Unexpected file "file1" 2026/05/18 03:24:33 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/18 03:24:33 DEBUG : dir/file1: Updating file with dir/file1 0x120f92b064e0 2026/05/18 03:24:33 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/18 03:24:33 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), 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/writes,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/writes,forceCache=false Messages: Unexpected file "dir/file1" 2026/05/18 03:24:40 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/18 03:24:40 DEBUG : dir/file1: newRWFileHandle: 2026/05/18 03:24:40 DEBUG : dir/file1(0x120f926deb00): openPending: 2026/05/18 03:24:40 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/05/18 03:24:40 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/05/18 03:24:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/18 03:24:40 DEBUG : dir/file1(0x120f926deb00): >openPending: err= 2026/05/18 03:24:40 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/18 03:24:40 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/18 03:24:40 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/18 03:24:40 DEBUG : dir/file1(0x120f926deb00): _writeAt: size=25, off=0 2026/05/18 03:24:40 DEBUG : dir/file1(0x120f926deb00): >_writeAt: n=25, err= 2026/05/18 03:24:51 INFO : newLeaf: Deleted 2026/05/18 03:24:52 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/18 03:24:52 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/18 03:24:52 DEBUG : newLeaf: Updating file with newLeaf 0x120f92b064e0 2026/05/18 03:24:52 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/18 03:24:52 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/18 03:24:52 DEBUG : newLeaf(0x120f926deb00): close: 2026/05/18 03:24:52 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/05/18 03:24:52 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-18 03:24:40.623064483 +0000 UTC m=+150.000223675 2026/05/18 03:24:52 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/05/18 03:24:52 DEBUG : newLeaf(0x120f926deb00): >close: err= 2026/05/18 03:24:52 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:24:52 DEBUG : dir: Looking for writers 2026/05/18 03:24:52 DEBUG : Looking for writers 2026/05/18 03:24:52 DEBUG : dir: reading active writers 2026/05/18 03:24:52 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/18 03:24:52 DEBUG : dir: Looking for writers 2026/05/18 03:24:52 DEBUG : Looking for writers 2026/05/18 03:24:52 DEBUG : dir: reading active writers 2026/05/18 03:24:52 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/18 03:24:52 DEBUG : dir: Looking for writers 2026/05/18 03:24:52 DEBUG : Looking for writers 2026/05/18 03:24:52 DEBUG : dir: reading active writers 2026/05/18 03:24:52 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/18 03:24:52 DEBUG : dir: Looking for writers 2026/05/18 03:24:52 DEBUG : Looking for writers 2026/05/18 03:24:52 DEBUG : dir: reading active writers 2026/05/18 03:24:52 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/18 03:24:52 DEBUG : newLeaf: vfs cache: starting upload 2026/05/18 03:24:52 DEBUG : dir: Looking for writers 2026/05/18 03:24:52 DEBUG : Looking for writers 2026/05/18 03:24:52 DEBUG : dir: reading active writers 2026/05/18 03:24:52 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/18 03:24:52 DEBUG : dir: Looking for writers 2026/05/18 03:24:52 DEBUG : Looking for writers 2026/05/18 03:24:52 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:52 DEBUG : dir: reading active writers 2026/05/18 03:24:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/18 03:24:53 DEBUG : dir: Looking for writers 2026/05/18 03:24:53 DEBUG : Looking for writers 2026/05/18 03:24:53 DEBUG : dir: reading active writers 2026/05/18 03:24:53 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/18 03:24:53 DEBUG : dir: Looking for writers 2026/05/18 03:24:53 DEBUG : Looking for writers 2026/05/18 03:24:53 DEBUG : dir: reading active writers 2026/05/18 03:24:53 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:24:54 DEBUG : newLeaf: size = 25 OK 2026/05/18 03:24:54 INFO : newLeaf: Copied (replaced existing) 2026/05/18 03:24:54 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/05/18 03:24:54 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/05/18 03:24:54 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/18 03:24:54 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/05/18 03:24:54 DEBUG : dir: Looking for writers 2026/05/18 03:24:54 DEBUG : Looking for writers 2026/05/18 03:24:54 DEBUG : dir: reading active writers 2026/05/18 03:24:54 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:54 DEBUG : >WaitForWriters: 2026/05/18 03:24:54 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:24:54 DEBUG : dir: Looking for writers 2026/05/18 03:24:54 DEBUG : Looking for writers 2026/05/18 03:24:54 DEBUG : newLeaf: reading active writers 2026/05/18 03:24:54 DEBUG : dir: reading active writers 2026/05/18 03:24:54 DEBUG : >WaitForWriters: 2026/05/18 03:24:54 DEBUG : mega root 'rclone-test-lolicuw2qipu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:198: Remote "mega root 'rclone-test-lolicuw2qipu'", Local "Local file system at /tmp/rclone3456114608", Modify Window "876000h0m0s" 2026/05/18 03:24:55 INFO : mega root 'rclone-test-lolicuw2qipu': poll-interval is not supported by this remote 2026/05/18 03:24:55 DEBUG : mega root 'rclone-test-lolicuw2qipu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/18 03:24:55 DEBUG : mega root 'rclone-test-lolicuw2qipu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:24:55 DEBUG : mega root 'rclone-test-lolicuw2qipu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:24:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:24:55 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/18 03:24:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-lolicuw2qipu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:24:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:24:55 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/18 03:24:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-lolicuw2qipu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:24:55 INFO : mega root 'rclone-test-lolicuw2qipu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/18 03:24:59 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/05/18 03:24:59 DEBUG : dir/file1: newRWFileHandle: 2026/05/18 03:24:59 DEBUG : dir/file1(0x120f8b3ee2c0): openPending: 2026/05/18 03:24:59 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/05/18 03:24:59 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/05/18 03:24:59 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/18 03:24:59 DEBUG : dir/file1(0x120f8b3ee2c0): >openPending: err= 2026/05/18 03:24:59 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/18 03:24:59 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/18 03:24:59 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/18 03:24:59 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/18 03:24:59 DEBUG : dir/file1(0x120f8b3ee2c0): _writeAt: size=14, off=0 2026/05/18 03:24:59 DEBUG : dir/file1(0x120f8b3ee2c0): >_writeAt: n=14, err= 2026/05/18 03:24:59 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/05/18 03:24:59 DEBUG : dir/file1(0x120f8b3ee2c0): close: 2026/05/18 03:24:59 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/05/18 03:24:59 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/05/18 03:24:59 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/05/18 03:24:59 DEBUG : dir/file1(0x120f8b3ee2c0): >close: err= 2026/05/18 03:24:59 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:24:59 DEBUG : dir: Looking for writers 2026/05/18 03:24:59 DEBUG : file1: reading active writers 2026/05/18 03:24:59 DEBUG : Looking for writers 2026/05/18 03:24:59 DEBUG : dir: reading active writers 2026/05/18 03:24:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/18 03:24:59 DEBUG : dir: Looking for writers 2026/05/18 03:24:59 DEBUG : file1: reading active writers 2026/05/18 03:24:59 DEBUG : Looking for writers 2026/05/18 03:24:59 DEBUG : dir: reading active writers 2026/05/18 03:24:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/18 03:24:59 DEBUG : dir: Looking for writers 2026/05/18 03:24:59 DEBUG : file1: reading active writers 2026/05/18 03:24:59 DEBUG : Looking for writers 2026/05/18 03:24:59 DEBUG : dir: reading active writers 2026/05/18 03:24:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/18 03:24:59 DEBUG : dir: Looking for writers 2026/05/18 03:24:59 DEBUG : file1: reading active writers 2026/05/18 03:24:59 DEBUG : Looking for writers 2026/05/18 03:24:59 DEBUG : dir: reading active writers 2026/05/18 03:24:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/18 03:24:59 DEBUG : dir/file1: vfs cache: starting upload 2026/05/18 03:24:59 DEBUG : dir: Looking for writers 2026/05/18 03:24:59 DEBUG : file1: reading active writers 2026/05/18 03:24:59 DEBUG : Looking for writers 2026/05/18 03:24:59 DEBUG : dir: reading active writers 2026/05/18 03:24:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/18 03:24:59 DEBUG : dir: Looking for writers 2026/05/18 03:24:59 DEBUG : file1: reading active writers 2026/05/18 03:24:59 DEBUG : Looking for writers 2026/05/18 03:24:59 DEBUG : dir: reading active writers 2026/05/18 03:24:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/18 03:24:59 DEBUG : dir: Looking for writers 2026/05/18 03:24:59 DEBUG : file1: reading active writers 2026/05/18 03:24:59 DEBUG : Looking for writers 2026/05/18 03:24:59 DEBUG : dir: reading active writers 2026/05/18 03:24:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/18 03:25:00 DEBUG : dir: Looking for writers 2026/05/18 03:25:00 DEBUG : file1: reading active writers 2026/05/18 03:25:00 DEBUG : Looking for writers 2026/05/18 03:25:00 DEBUG : dir: reading active writers 2026/05/18 03:25:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:25:01 DEBUG : dir: Looking for writers 2026/05/18 03:25:01 DEBUG : file1: reading active writers 2026/05/18 03:25:01 DEBUG : Looking for writers 2026/05/18 03:25:01 DEBUG : dir: reading active writers 2026/05/18 03:25:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:25:02 DEBUG : dir: Looking for writers 2026/05/18 03:25:02 DEBUG : file1: reading active writers 2026/05/18 03:25:02 DEBUG : Looking for writers 2026/05/18 03:25:02 DEBUG : dir: reading active writers 2026/05/18 03:25:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:25:03 DEBUG : dir/file1: size = 14 OK 2026/05/18 03:25:03 INFO : dir/file1: Copied (replaced existing) 2026/05/18 03:25:03 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/05/18 03:25:03 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/05/18 03:25:03 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/18 03:25:03 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/05/18 03:25:03 DEBUG : dir: Looking for writers 2026/05/18 03:25:03 DEBUG : file1: reading active writers 2026/05/18 03:25:03 DEBUG : Looking for writers 2026/05/18 03:25:03 DEBUG : dir: reading active writers 2026/05/18 03:25:03 DEBUG : >WaitForWriters: 2026/05/18 03:25:03 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/18 03:25:03 DEBUG : dir/file1: newRWFileHandle: 2026/05/18 03:25:03 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/18 03:25:03 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/18 03:25:03 DEBUG : dir/file1(0x120f9242a4c0): _readAt: size=512, off=0 2026/05/18 03:25:03 DEBUG : dir/file1(0x120f9242a4c0): openPending: 2026/05/18 03:25:03 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/18 03:25:03 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/18 03:25:03 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/18 03:25:03 DEBUG : dir/file1(0x120f9242a4c0): >openPending: err= 2026/05/18 03:25:03 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/05/18 03:25:03 DEBUG : dir/file1(0x120f9242a4c0): >_readAt: n=14, err=EOF 2026/05/18 03:25:03 DEBUG : dir/file1(0x120f9242a4c0): close: 2026/05/18 03:25:03 DEBUG : dir/file1(0x120f9242a4c0): >close: err= 2026/05/18 03:25:03 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/18 03:25:03 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/18 03:25:03 DEBUG : newLeaf: Updating file with newLeaf 0x120f92b600d0 2026/05/18 03:25:03 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/18 03:25:03 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/18 03:25:05 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/18 03:25:05 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/05/18 03:25:05 DEBUG : dir/file1: Updating file with dir/file1 0x120f92b600d0 2026/05/18 03:25:05 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/18 03:25:05 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/18 03:25:08 DEBUG : dir/file1: vfs cache: setting modification time to 2026-05-18 03:24:59 +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/18 03:25:12 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/18 03:25:12 DEBUG : dir/file1: newRWFileHandle: 2026/05/18 03:25:12 DEBUG : dir/file1(0x120f9234aa80): openPending: 2026/05/18 03:25:12 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/18 03:25:12 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/18 03:25:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/18 03:25:12 DEBUG : dir/file1(0x120f9234aa80): >openPending: err= 2026/05/18 03:25:12 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/18 03:25:12 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/18 03:25:12 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/18 03:25:12 DEBUG : dir/file1(0x120f9234aa80): _writeAt: size=25, off=0 2026/05/18 03:25:12 DEBUG : dir/file1(0x120f9234aa80): >_writeAt: n=25, err= 2026/05/18 03:25:15 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/18 03:25:15 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/18 03:25:15 DEBUG : newLeaf: Updating file with newLeaf 0x120f92b600d0 2026/05/18 03:25:15 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/18 03:25:15 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/18 03:25:15 DEBUG : newLeaf(0x120f9234aa80): close: 2026/05/18 03:25:15 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/05/18 03:25:15 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-18 03:25:12.96298017 +0000 UTC m=+182.340139352 2026/05/18 03:25:15 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/05/18 03:25:15 DEBUG : newLeaf(0x120f9234aa80): >close: err= 2026/05/18 03:25:15 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:25:15 DEBUG : dir: Looking for writers 2026/05/18 03:25:15 DEBUG : Looking for writers 2026/05/18 03:25:15 DEBUG : dir: reading active writers 2026/05/18 03:25:15 DEBUG : newLeaf: reading active writers 2026/05/18 03:25:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/18 03:25:15 DEBUG : dir: Looking for writers 2026/05/18 03:25:15 DEBUG : Looking for writers 2026/05/18 03:25:15 DEBUG : newLeaf: reading active writers 2026/05/18 03:25:15 DEBUG : dir: reading active writers 2026/05/18 03:25:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/18 03:25:15 DEBUG : dir: Looking for writers 2026/05/18 03:25:15 DEBUG : Looking for writers 2026/05/18 03:25:15 DEBUG : newLeaf: reading active writers 2026/05/18 03:25:15 DEBUG : dir: reading active writers 2026/05/18 03:25:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/18 03:25:15 DEBUG : dir: Looking for writers 2026/05/18 03:25:15 DEBUG : Looking for writers 2026/05/18 03:25:15 DEBUG : dir: reading active writers 2026/05/18 03:25:15 DEBUG : newLeaf: reading active writers 2026/05/18 03:25:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/18 03:25:15 DEBUG : newLeaf: vfs cache: starting upload 2026/05/18 03:25:15 DEBUG : dir: Looking for writers 2026/05/18 03:25:15 DEBUG : Looking for writers 2026/05/18 03:25:15 DEBUG : dir: reading active writers 2026/05/18 03:25:15 DEBUG : newLeaf: reading active writers 2026/05/18 03:25:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/18 03:25:15 DEBUG : dir: Looking for writers 2026/05/18 03:25:15 DEBUG : Looking for writers 2026/05/18 03:25:15 DEBUG : dir: reading active writers 2026/05/18 03:25:15 DEBUG : newLeaf: reading active writers 2026/05/18 03:25:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/18 03:25:16 DEBUG : dir: Looking for writers 2026/05/18 03:25:16 DEBUG : Looking for writers 2026/05/18 03:25:16 DEBUG : dir: reading active writers 2026/05/18 03:25:16 DEBUG : newLeaf: reading active writers 2026/05/18 03:25:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/18 03:25:16 DEBUG : dir: Looking for writers 2026/05/18 03:25:16 DEBUG : Looking for writers 2026/05/18 03:25:16 DEBUG : dir: reading active writers 2026/05/18 03:25:16 DEBUG : newLeaf: reading active writers 2026/05/18 03:25:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:25:17 DEBUG : dir: Looking for writers 2026/05/18 03:25:17 DEBUG : Looking for writers 2026/05/18 03:25:17 DEBUG : dir: reading active writers 2026/05/18 03:25:17 DEBUG : newLeaf: reading active writers 2026/05/18 03:25:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:25:18 DEBUG : dir: Looking for writers 2026/05/18 03:25:18 DEBUG : Looking for writers 2026/05/18 03:25:18 DEBUG : dir: reading active writers 2026/05/18 03:25:18 DEBUG : newLeaf: reading active writers 2026/05/18 03:25:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:25:19 DEBUG : dir: Looking for writers 2026/05/18 03:25:19 DEBUG : Looking for writers 2026/05/18 03:25:19 DEBUG : dir: reading active writers 2026/05/18 03:25:19 DEBUG : newLeaf: reading active writers 2026/05/18 03:25:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:25:20 DEBUG : dir: Looking for writers 2026/05/18 03:25:20 DEBUG : Looking for writers 2026/05/18 03:25:20 DEBUG : dir: reading active writers 2026/05/18 03:25:20 DEBUG : newLeaf: reading active writers 2026/05/18 03:25:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:25:21 DEBUG : dir: Looking for writers 2026/05/18 03:25:21 DEBUG : Looking for writers 2026/05/18 03:25:21 DEBUG : newLeaf: reading active writers 2026/05/18 03:25:21 DEBUG : dir: reading active writers 2026/05/18 03:25:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:25:22 DEBUG : dir: Looking for writers 2026/05/18 03:25:22 DEBUG : Looking for writers 2026/05/18 03:25:22 DEBUG : dir: reading active writers 2026/05/18 03:25:22 DEBUG : newLeaf: reading active writers 2026/05/18 03:25:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:25:23 DEBUG : dir: Looking for writers 2026/05/18 03:25:23 DEBUG : Looking for writers 2026/05/18 03:25:23 DEBUG : dir: reading active writers 2026/05/18 03:25:23 DEBUG : newLeaf: reading active writers 2026/05/18 03:25:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:25:24 DEBUG : dir: Looking for writers 2026/05/18 03:25:24 DEBUG : Looking for writers 2026/05/18 03:25:24 DEBUG : dir: reading active writers 2026/05/18 03:25:24 DEBUG : newLeaf: reading active writers 2026/05/18 03:25:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:25:25 DEBUG : dir: Looking for writers 2026/05/18 03:25:25 DEBUG : Looking for writers 2026/05/18 03:25:25 DEBUG : dir: reading active writers 2026/05/18 03:25:25 DEBUG : newLeaf: reading active writers 2026/05/18 03:25:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:25:26 DEBUG : newLeaf: size = 25 OK 2026/05/18 03:25:26 INFO : newLeaf: Copied (replaced existing) 2026/05/18 03:25:26 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/05/18 03:25:26 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/05/18 03:25:26 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/18 03:25:26 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/05/18 03:25:26 DEBUG : dir: Looking for writers 2026/05/18 03:25:26 DEBUG : Looking for writers 2026/05/18 03:25:26 DEBUG : dir: reading active writers 2026/05/18 03:25:26 DEBUG : newLeaf: reading active writers 2026/05/18 03:25:26 DEBUG : >WaitForWriters: 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/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want newLeaf (25) got newLeaf (14), newLeaf (25) fstest.go:150: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:150 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:195 /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/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Not equal: expected: 25 actual : 14 Test: TestFileRename/writes,forceCache=true Messages: newLeaf: size incorrect file=25 vs obj=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/vfs/file_test.go:396 /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 "newLeaf" 2026/05/18 03:25:33 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:25:33 DEBUG : dir: Looking for writers 2026/05/18 03:25:33 DEBUG : Looking for writers 2026/05/18 03:25:33 DEBUG : dir: reading active writers 2026/05/18 03:25:33 DEBUG : newLeaf: reading active writers 2026/05/18 03:25:33 DEBUG : >WaitForWriters: 2026/05/18 03:25:33 DEBUG : mega root 'rclone-test-lolicuw2qipu': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:198: Remote "mega root 'rclone-test-lolicuw2qipu'", Local "Local file system at /tmp/rclone3456114608", Modify Window "876000h0m0s" 2026/05/18 03:25:41 INFO : mega root 'rclone-test-lolicuw2qipu': poll-interval is not supported by this remote 2026/05/18 03:25:41 DEBUG : mega root 'rclone-test-lolicuw2qipu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/18 03:25:41 DEBUG : mega root 'rclone-test-lolicuw2qipu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:25:41 DEBUG : mega root 'rclone-test-lolicuw2qipu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:25:41 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:25:41 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/18 03:25:41 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-lolicuw2qipu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:25:41 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:25:41 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/18 03:25:41 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-lolicuw2qipu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-lolicuw2qipu" 2026/05/18 03:25:41 INFO : mega root 'rclone-test-lolicuw2qipu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/18 03:25:45 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:25:45 DEBUG : dir: Looking for writers 2026/05/18 03:25:45 DEBUG : file1: reading active writers 2026/05/18 03:25:45 DEBUG : Looking for writers 2026/05/18 03:25:45 DEBUG : dir: reading active writers 2026/05/18 03:25:45 DEBUG : >WaitForWriters: 2026/05/18 03:25:45 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/18 03:25:45 DEBUG : dir/file1: newRWFileHandle: 2026/05/18 03:25:45 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/18 03:25:45 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/18 03:25:45 DEBUG : dir/file1(0x120f9263be80): _readAt: size=512, off=0 2026/05/18 03:25:45 DEBUG : dir/file1(0x120f9263be80): openPending: 2026/05/18 03:25:45 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/05/18 03:25:45 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/05/18 03:25:45 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/18 03:25:45 DEBUG : dir/file1(0x120f9263be80): >openPending: err= 2026/05/18 03:25:45 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2026/05/18 03:25:45 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/05/18 03:25:45 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/18 03:25:45 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/05/18 03:25:45 DEBUG : dir/file1(0x120f9263be80): >_readAt: n=14, err=EOF 2026/05/18 03:25:45 DEBUG : dir/file1(0x120f9263be80): close: 2026/05/18 03:25:45 DEBUG : dir/file1(0x120f9263be80): >close: err= 2026/05/18 03:25:48 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/18 03:25:48 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/18 03:25:48 DEBUG : newLeaf: Updating file with newLeaf 0x120f92b7f2b0 2026/05/18 03:25:48 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/18 03:25:48 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/18 03:25:48 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/18 03:25:48 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/05/18 03:25:48 DEBUG : dir/file1: Updating file with dir/file1 0x120f92b7f2b0 2026/05/18 03:25:48 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/18 03:25:48 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/18 03:25:50 DEBUG : dir/file1: vfs cache: setting modification time to 2026-05-18 03:25:43 +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/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/18 03:25:55 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/18 03:25:55 DEBUG : dir/file1: newRWFileHandle: 2026/05/18 03:25:55 DEBUG : dir/file1(0x120f9268cf00): openPending: 2026/05/18 03:25:55 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/18 03:25:55 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/18 03:25:55 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/18 03:25:55 DEBUG : dir/file1(0x120f9268cf00): >openPending: err= 2026/05/18 03:25:55 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/18 03:25:55 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/18 03:25:55 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/18 03:25:55 DEBUG : dir/file1(0x120f9268cf00): _writeAt: size=25, off=0 2026/05/18 03:25:55 DEBUG : dir/file1(0x120f9268cf00): >_writeAt: n=25, err= 2026/05/18 03:26:08 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/18 03:26:08 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/18 03:26:08 DEBUG : newLeaf: Updating file with newLeaf 0x120f92b7f2b0 2026/05/18 03:26:08 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/18 03:26:08 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/18 03:26:08 DEBUG : newLeaf(0x120f9268cf00): close: 2026/05/18 03:26:08 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/05/18 03:26:08 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-18 03:25:55.473582114 +0000 UTC m=+224.850741296 2026/05/18 03:26:08 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/05/18 03:26:08 DEBUG : newLeaf(0x120f9268cf00): >close: err= 2026/05/18 03:26:08 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:26:08 DEBUG : dir: Looking for writers 2026/05/18 03:26:08 DEBUG : Looking for writers 2026/05/18 03:26:08 DEBUG : dir: reading active writers 2026/05/18 03:26:08 DEBUG : newLeaf: reading active writers 2026/05/18 03:26:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/18 03:26:08 DEBUG : dir: Looking for writers 2026/05/18 03:26:08 DEBUG : Looking for writers 2026/05/18 03:26:08 DEBUG : dir: reading active writers 2026/05/18 03:26:08 DEBUG : newLeaf: reading active writers 2026/05/18 03:26:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/18 03:26:08 DEBUG : dir: Looking for writers 2026/05/18 03:26:08 DEBUG : Looking for writers 2026/05/18 03:26:08 DEBUG : dir: reading active writers 2026/05/18 03:26:08 DEBUG : newLeaf: reading active writers 2026/05/18 03:26:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/18 03:26:08 DEBUG : dir: Looking for writers 2026/05/18 03:26:08 DEBUG : Looking for writers 2026/05/18 03:26:08 DEBUG : dir: reading active writers 2026/05/18 03:26:08 DEBUG : newLeaf: reading active writers 2026/05/18 03:26:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/18 03:26:08 DEBUG : newLeaf: vfs cache: starting upload 2026/05/18 03:26:08 DEBUG : dir: Looking for writers 2026/05/18 03:26:08 DEBUG : Looking for writers 2026/05/18 03:26:08 DEBUG : dir: reading active writers 2026/05/18 03:26:08 DEBUG : newLeaf: reading active writers 2026/05/18 03:26:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/18 03:26:08 DEBUG : dir: Looking for writers 2026/05/18 03:26:08 DEBUG : Looking for writers 2026/05/18 03:26:08 DEBUG : dir: reading active writers 2026/05/18 03:26:08 DEBUG : newLeaf: reading active writers 2026/05/18 03:26:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/18 03:26:08 DEBUG : dir: Looking for writers 2026/05/18 03:26:08 DEBUG : Looking for writers 2026/05/18 03:26:08 DEBUG : dir: reading active writers 2026/05/18 03:26:08 DEBUG : newLeaf: reading active writers 2026/05/18 03:26:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/18 03:26:09 DEBUG : dir: Looking for writers 2026/05/18 03:26:09 DEBUG : Looking for writers 2026/05/18 03:26:09 DEBUG : dir: reading active writers 2026/05/18 03:26:09 DEBUG : newLeaf: reading active writers 2026/05/18 03:26:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:26:10 DEBUG : dir: Looking for writers 2026/05/18 03:26:10 DEBUG : Looking for writers 2026/05/18 03:26:10 DEBUG : dir: reading active writers 2026/05/18 03:26:10 DEBUG : newLeaf: reading active writers 2026/05/18 03:26:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/18 03:26:11 DEBUG : newLeaf: size = 25 OK 2026/05/18 03:26:11 INFO : newLeaf: Copied (replaced existing) 2026/05/18 03:26:11 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/05/18 03:26:11 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/05/18 03:26:11 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/18 03:26:11 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/05/18 03:26:11 DEBUG : dir: Looking for writers 2026/05/18 03:26:11 DEBUG : Looking for writers 2026/05/18 03:26:11 DEBUG : dir: reading active writers 2026/05/18 03:26:11 DEBUG : newLeaf: reading active writers 2026/05/18 03:26:11 DEBUG : >WaitForWriters: 2026/05/18 03:26:11 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:26:11 DEBUG : dir: Looking for writers 2026/05/18 03:26:11 DEBUG : Looking for writers 2026/05/18 03:26:11 DEBUG : dir: reading active writers 2026/05/18 03:26:11 DEBUG : newLeaf: reading active writers 2026/05/18 03:26:11 DEBUG : >WaitForWriters: 2026/05/18 03:26:11 DEBUG : mega root 'rclone-test-lolicuw2qipu': vfs cache: cleaner exiting --- FAIL: TestFileRename (222.87s) --- FAIL: TestFileRename/off,forceCache=false (38.83s) --- FAIL: TestFileRename/minimal,forceCache=false (33.19s) --- FAIL: TestFileRename/minimal,forceCache=true (30.25s) --- FAIL: TestFileRename/writes,forceCache=false (42.43s) --- FAIL: TestFileRename/writes,forceCache=true (46.33s) --- FAIL: TestFileRename/full,forceCache=false (31.83s) === RUN TestUnicodeNormalization run.go:198: Remote "mega root 'rclone-test-lolicuw2qipu'", Local "Local file system at /tmp/rclone3456114608", Modify Window "876000h0m0s" 2026/05/18 03:26:15 INFO : mega root 'rclone-test-lolicuw2qipu': poll-interval is not supported by this remote 2026/05/18 03:26:15 NOTICE: mega root 'rclone-test-lolicuw2qipu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/18 03:26:15 DEBUG : normal name with no special characters.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/18 03:26:15 DEBUG : normal name with no special characters.txt: Open: flags=O_RDONLY 2026/05/18 03:26:15 DEBUG : normal name with no special characters.txt: >Open: fd=normal name with no special characters.txt (r), err= 2026/05/18 03:26:15 DEBUG : normal name with no special characters.txt: >OpenFile: fd=normal name with no special characters.txt (r), err= 2026/05/18 03:26:15 DEBUG : normal name with no special characters.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/18 03:26:15 DEBUG : normal name with no special characters.txt: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/05/18 03:26:15 DEBUG : 測試_Русский___ě_áñ: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/18 03:26:15 DEBUG : 測試_Русский___ě_áñ: Open: flags=O_RDONLY 2026/05/18 03:26:15 DEBUG : 測試_Русский___ě_áñ: >Open: fd=測試_Русский___ě_áñ (r), err= 2026/05/18 03:26:15 DEBUG : 測試_Русский___ě_áñ: >OpenFile: fd=測試_Русский___ě_áñ (r), err= 2026/05/18 03:26:15 DEBUG : 測試_Русский___ě_áñ: ChunkedReader.openRange at 0 length 134217728 2026/05/18 03:26:15 DEBUG : 測試_Русский___ě_áñ: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/05/18 03:26:15 DEBUG : normal name with no special characters.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/18 03:26:15 DEBUG : normal name with no special characters.txt: Open: flags=O_RDONLY 2026/05/18 03:26:15 DEBUG : normal name with no special characters.txt: >Open: fd=normal name with no special characters.txt (r), err= 2026/05/18 03:26:15 DEBUG : normal name with no special characters.txt: >OpenFile: fd=normal name with no special characters.txt (r), err= 2026/05/18 03:26:15 DEBUG : normal name with no special characters.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/18 03:26:15 DEBUG : normal name with no special characters.txt: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/05/18 03:26:15 DEBUG : 測試_Русский___ě_áñ: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/18 03:26:15 DEBUG : 測試_Русский___ě_áñ: >OpenFile: fd=, err=file does not exist 2026/05/18 03:26:15 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:26:15 DEBUG : Looking for writers 2026/05/18 03:26:15 DEBUG : normal name with no special characters.txt: reading active writers 2026/05/18 03:26:15 DEBUG : 測試_Русский___ě_áñ: reading active writers 2026/05/18 03:26:15 DEBUG : >WaitForWriters: --- PASS: TestUnicodeNormalization (4.21s) === RUN TestVFSStat run.go:198: Remote "mega root 'rclone-test-lolicuw2qipu'", Local "Local file system at /tmp/rclone3456114608", Modify Window "876000h0m0s" 2026/05/18 03:26:17 INFO : mega root 'rclone-test-lolicuw2qipu': poll-interval is not supported by this remote 2026/05/18 03:26:17 NOTICE: mega root 'rclone-test-lolicuw2qipu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/18 03:26:18 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:26:18 DEBUG : dir: Looking for writers 2026/05/18 03:26:18 DEBUG : file2: reading active writers 2026/05/18 03:26:18 DEBUG : Looking for writers 2026/05/18 03:26:18 DEBUG : file1: reading active writers 2026/05/18 03:26:18 DEBUG : dir: reading active writers 2026/05/18 03:26:18 DEBUG : >WaitForWriters: run.go:186: removing dir "dir" failed - try 1/3: sleeping 1s: directory not empty --- PASS: TestVFSStat (6.13s) === RUN TestVFSStatParent run.go:198: Remote "mega root 'rclone-test-lolicuw2qipu'", Local "Local file system at /tmp/rclone3456114608", Modify Window "876000h0m0s" 2026/05/18 03:26:23 INFO : mega root 'rclone-test-lolicuw2qipu': poll-interval is not supported by this remote 2026/05/18 03:26:23 NOTICE: mega root 'rclone-test-lolicuw2qipu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/18 03:26:28 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:26:28 DEBUG : dir: Looking for writers 2026/05/18 03:26:28 DEBUG : Looking for writers 2026/05/18 03:26:28 DEBUG : dir: reading active writers 2026/05/18 03:26:28 DEBUG : file1: reading active writers 2026/05/18 03:26:28 DEBUG : >WaitForWriters: --- PASS: TestVFSStatParent (5.62s) === RUN TestVFSOpenFile run.go:198: Remote "mega root 'rclone-test-lolicuw2qipu'", Local "Local file system at /tmp/rclone3456114608", Modify Window "876000h0m0s" 2026/05/18 03:26:29 INFO : mega root 'rclone-test-lolicuw2qipu': poll-interval is not supported by this remote 2026/05/18 03:26:29 NOTICE: mega root 'rclone-test-lolicuw2qipu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream run.go:303: Failed to put "dir/file2" to "mega root 'rclone-test-lolicuw2qipu'": failed to finish upload: unexpected end of JSON input 2026/05/18 03:26:41 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:26:41 DEBUG : Looking for writers 2026/05/18 03:26:41 DEBUG : >WaitForWriters: --- FAIL: TestVFSOpenFile (23.26s) === RUN TestWriteFileHandleFlush run.go:198: Remote "mega root 'rclone-test-lolicuw2qipu'", Local "Local file system at /tmp/rclone3456114608", Modify Window "876000h0m0s" 2026/05/18 03:26:52 INFO : mega root 'rclone-test-lolicuw2qipu': poll-interval is not supported by this remote 2026/05/18 03:26:52 NOTICE: mega root 'rclone-test-lolicuw2qipu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/18 03:26:52 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/05/18 03:26:52 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/05/18 03:26:52 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/18 03:26:52 DEBUG : file1: >Open: fd=file1 (w), err= 2026/05/18 03:26:52 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/05/18 03:26:52 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2026/05/18 03:26:52 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/18 03:26:52 DEBUG : mega root 'rclone-test-lolicuw2qipu': File to upload is small (5 bytes), uploading instead of streaming 2026/05/18 03:26:52 DEBUG : file1: size = 5 OK 2026/05/18 03:26:52 DEBUG : file1: Size of src and dst objects identical 2026/05/18 03:26:52 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/18 03:26:52 DEBUG : file1: WriteFileHandle.Flush nothing to do 2026/05/18 03:26:52 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:26:52 DEBUG : Looking for writers 2026/05/18 03:26:52 DEBUG : file1: reading active writers 2026/05/18 03:26:52 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure --- PASS: TestWriteFileHandleFlush (7.40s) === RUN TestFileReadAtNonZeroLength run.go:198: Remote "mega root 'rclone-test-lolicuw2qipu'", Local "Local file system at /tmp/rclone3456114608", Modify Window "876000h0m0s" 2026/05/18 03:27:00 INFO : mega root 'rclone-test-lolicuw2qipu': poll-interval is not supported by this remote 2026/05/18 03:27:00 NOTICE: mega root 'rclone-test-lolicuw2qipu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/18 03:27:00 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/05/18 03:27:00 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/05/18 03:27:00 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/18 03:27:00 DEBUG : file1: >Open: fd=file1 (w), err= 2026/05/18 03:27:00 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/05/18 03:27:00 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/18 03:27:00 DEBUG : mega root 'rclone-test-lolicuw2qipu': File to upload is small (100 bytes), uploading instead of streaming 2026/05/18 03:27:10 ERROR : file1: WriteFileHandle.New Rcat failed: upload file failed to create session: unexpected end of JSON input 2026/05/18 03:27:10 DEBUG : file1: Remove: 2026/05/18 03:27:10 DEBUG : Added virtual directory entry vDel: "file1" 2026/05/18 03:27:10 DEBUG : file1: >Remove: err= write_test.go:360: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384 Error: Received unexpected error: upload file failed to create session: unexpected end of JSON input Test: TestFileReadAtNonZeroLength 2026/05/18 03:27:10 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2026/05/18 03:27:10 DEBUG : file1: >OpenFile: fd=, err=file does not exist write_test.go:365: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384 Error: Received unexpected error: file does not exist Test: TestFileReadAtNonZeroLength 2026/05/18 03:27:10 DEBUG : WaitForWriters: timeout=30s 2026/05/18 03:27:10 DEBUG : Looking for writers 2026/05/18 03:27:10 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtNonZeroLength (10.67s) FAIL 2026/05/18 03:27:10 DEBUG : mega root 'rclone-test-lolicuw2qipu': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestFileReadAtNonZeroLength|TestUnicodeNormalization|TestVFSOpenFile|TestVFSStat|TestVFSStatParent|TestWriteFileHandleFlush)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 5m2.115374402s (try 4/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 TestVFSOpenFile TestFileReadAtNonZeroLength]