"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestDirRemove|TestUnicodeNormalization|TestVFSRename|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestZipManyFiles)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 3/5) 2026/01/18 01:39:05 DEBUG : Creating backend with remote "TestMega:rclone-test-xuyetac5cuni" 2026/01/18 01:39:05 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/01/18 01:39:05 DEBUG : mega root 'rclone-test-xuyetac5cuni': Using previously stored session ID and master key to initialize the Mega API 2026/01/18 01:39:18 DEBUG : Creating backend with remote "/tmp/rclone1887481970" === RUN TestDirRemove run.go:185: Remote "mega root 'rclone-test-xuyetac5cuni'", Local "Local file system at /tmp/rclone1887481970", Modify Window "876000h0m0s" 2026/01/18 01:39:18 INFO : mega root 'rclone-test-xuyetac5cuni': poll-interval is not supported by this remote 2026/01/18 01:39:18 NOTICE: mega root 'rclone-test-xuyetac5cuni': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/01/18 01:39:19 ERROR : dir/: Dir.Remove not empty 2026/01/18 01:39:19 DEBUG : dir/file1: Remove: 2026/01/18 01:39:21 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/01/18 01:39:21 DEBUG : dir/file1: >Remove: err= 2026/01/18 01:39:21 DEBUG : Added virtual directory entry vDel: "dir" 2026/01/18 01:39:21 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:39:21 DEBUG : Looking for writers 2026/01/18 01:39:21 DEBUG : >WaitForWriters: --- PASS: TestDirRemove (2.78s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:185: Remote "mega root 'rclone-test-xuyetac5cuni'", Local "Local file system at /tmp/rclone1887481970", Modify Window "876000h0m0s" 2026/01/18 01:39:21 INFO : mega root 'rclone-test-xuyetac5cuni': poll-interval is not supported by this remote 2026/01/18 01:39:21 NOTICE: mega root 'rclone-test-xuyetac5cuni': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/01/18 01:39:25 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:39:25 DEBUG : dir: Looking for writers 2026/01/18 01:39:25 DEBUG : file1: reading active writers 2026/01/18 01:39:25 DEBUG : Looking for writers 2026/01/18 01:39:25 DEBUG : dir: reading active writers 2026/01/18 01:39:25 DEBUG : >WaitForWriters: 2026/01/18 01:39:28 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/01/18 01:39:28 DEBUG : newLeaf: Updating file with newLeaf 0xc000d36180 2026/01/18 01:39:28 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/01/18 01:39:28 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:345 /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:1700 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:345 /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/01/18 01:39:41 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/01/18 01:39:41 DEBUG : dir/file1: Updating file with dir/file1 0xc000d36180 2026/01/18 01:39:41 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/01/18 01:39:41 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:345 /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:1700 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:345 /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:345 /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/01/18 01:39:48 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/01/18 01:39:48 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/01/18 01:39:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/01/18 01:39:48 DEBUG : dir/file1: File is currently open, delaying rename 0xc000d36180 2026/01/18 01:39:48 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/01/18 01:39:48 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/01/18 01:39:48 DEBUG : mega root 'rclone-test-xuyetac5cuni': File to upload is small (25 bytes), uploading instead of streaming 2026/01/18 01:39:48 DEBUG : dir/file1: size = 25 OK 2026/01/18 01:39:48 NOTICE: mega root 'rclone-test-xuyetac5cuni': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2026/01/18 01:39:48 DEBUG : dir/file1: Size of src and dst objects identical 2026/01/18 01:39:48 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/01/18 01:39:48 DEBUG : newLeaf: Running delayed rename now 2026/01/18 01:39:48 INFO : newLeaf: Deleted 2026/01/18 01:39:50 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/01/18 01:39:50 DEBUG : newLeaf: Updating file with newLeaf 0xc000d36180 2026/01/18 01:39:50 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:39:50 DEBUG : dir: Looking for writers 2026/01/18 01:39:50 DEBUG : Looking for writers 2026/01/18 01:39:50 DEBUG : dir: reading active writers 2026/01/18 01:39:50 DEBUG : newLeaf: reading active writers 2026/01/18 01:39:50 DEBUG : >WaitForWriters: 2026/01/18 01:39:50 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:39:50 DEBUG : dir: Looking for writers 2026/01/18 01:39:50 DEBUG : Looking for writers 2026/01/18 01:39:50 DEBUG : dir: reading active writers 2026/01/18 01:39:50 DEBUG : newLeaf: reading active writers 2026/01/18 01:39:50 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:185: Remote "mega root 'rclone-test-xuyetac5cuni'", Local "Local file system at /tmp/rclone1887481970", Modify Window "876000h0m0s" 2026/01/18 01:39:51 INFO : mega root 'rclone-test-xuyetac5cuni': poll-interval is not supported by this remote 2026/01/18 01:39:51 NOTICE: mega root 'rclone-test-xuyetac5cuni': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/01/18 01:39:51 DEBUG : mega root 'rclone-test-xuyetac5cuni': vfs cache: root is "/home/rclone/.cache/rclone" 2026/01/18 01:39:51 DEBUG : mega root 'rclone-test-xuyetac5cuni': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:39:51 DEBUG : mega root 'rclone-test-xuyetac5cuni': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:39:51 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:39:51 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/01/18 01:39:51 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xuyetac5cuni" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:39:51 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:39:51 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/01/18 01:39:51 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xuyetac5cuni" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:39:51 INFO : mega root 'rclone-test-xuyetac5cuni': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/01/18 01:39:52 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:39:52 DEBUG : dir: Looking for writers 2026/01/18 01:39:52 DEBUG : file1: reading active writers 2026/01/18 01:39:52 DEBUG : Looking for writers 2026/01/18 01:39:52 DEBUG : dir: reading active writers 2026/01/18 01:39:52 DEBUG : >WaitForWriters: 2026/01/18 01:39:52 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/01/18 01:39:52 DEBUG : newLeaf: Updating file with newLeaf 0xc000209800 2026/01/18 01:39:52 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/01/18 01:39:52 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:345 /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:1700 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:345 /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/01/18 01:39:59 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/01/18 01:39:59 DEBUG : dir/file1: Updating file with dir/file1 0xc000209800 2026/01/18 01:39:59 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/01/18 01:39: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:345 /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:1700 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:345 /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:345 /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/01/18 01:40:06 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/01/18 01:40:06 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/01/18 01:40:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/01/18 01:40:06 DEBUG : dir/file1: File is currently open, delaying rename 0xc000209800 2026/01/18 01:40:06 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/01/18 01:40:06 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/01/18 01:40:06 DEBUG : mega root 'rclone-test-xuyetac5cuni': File to upload is small (25 bytes), uploading instead of streaming 2026/01/18 01:40:17 DEBUG : dir/file1: size = 25 OK 2026/01/18 01:40:17 DEBUG : dir/file1: Size of src and dst objects identical 2026/01/18 01:40:17 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/01/18 01:40:17 DEBUG : newLeaf: Running delayed rename now 2026/01/18 01:40:18 INFO : newLeaf: Deleted 2026/01/18 01:40:18 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/01/18 01:40:18 DEBUG : newLeaf: Updating file with newLeaf 0xc000209800 2026/01/18 01:40:18 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:40:18 DEBUG : dir: Looking for writers 2026/01/18 01:40:18 DEBUG : Looking for writers 2026/01/18 01:40:18 DEBUG : dir: reading active writers 2026/01/18 01:40:18 DEBUG : newLeaf: reading active writers 2026/01/18 01:40:18 DEBUG : >WaitForWriters: 2026/01/18 01:40:18 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:40:18 DEBUG : dir: Looking for writers 2026/01/18 01:40:18 DEBUG : Looking for writers 2026/01/18 01:40:18 DEBUG : dir: reading active writers 2026/01/18 01:40:18 DEBUG : newLeaf: reading active writers 2026/01/18 01:40:18 DEBUG : >WaitForWriters: 2026/01/18 01:40:18 DEBUG : mega root 'rclone-test-xuyetac5cuni': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:185: Remote "mega root 'rclone-test-xuyetac5cuni'", Local "Local file system at /tmp/rclone1887481970", Modify Window "876000h0m0s" 2026/01/18 01:40:18 INFO : mega root 'rclone-test-xuyetac5cuni': poll-interval is not supported by this remote 2026/01/18 01:40:18 NOTICE: mega root 'rclone-test-xuyetac5cuni': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/01/18 01:40:18 DEBUG : mega root 'rclone-test-xuyetac5cuni': vfs cache: root is "/home/rclone/.cache/rclone" 2026/01/18 01:40:18 DEBUG : mega root 'rclone-test-xuyetac5cuni': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:40:18 DEBUG : mega root 'rclone-test-xuyetac5cuni': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:40:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:40:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/01/18 01:40:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xuyetac5cuni" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:40:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:40:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/01/18 01:40:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xuyetac5cuni" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:40:18 INFO : mega root 'rclone-test-xuyetac5cuni': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/01/18 01:40:22 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/01/18 01:40:22 DEBUG : dir/file1: newRWFileHandle: 2026/01/18 01:40:22 DEBUG : dir/file1(0xc0024f3000): openPending: 2026/01/18 01:40:22 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/01/18 01:40:22 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/01/18 01:40:22 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/01/18 01:40:22 DEBUG : dir/file1(0xc0024f3000): >openPending: err= 2026/01/18 01:40:22 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/01/18 01:40:22 DEBUG : dir/file1: >newRWFileHandle: err= 2026/01/18 01:40:22 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/01/18 01:40:22 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/01/18 01:40:22 DEBUG : dir/file1(0xc0024f3000): _writeAt: size=14, off=0 2026/01/18 01:40:22 DEBUG : dir/file1(0xc0024f3000): >_writeAt: n=14, err= 2026/01/18 01:40:22 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/01/18 01:40:22 DEBUG : dir/file1(0xc0024f3000): close: 2026/01/18 01:40:22 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/01/18 01:40:22 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/01/18 01:40:22 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/01/18 01:40:22 DEBUG : dir/file1(0xc0024f3000): >close: err= 2026/01/18 01:40:22 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:40:22 DEBUG : dir: Looking for writers 2026/01/18 01:40:22 DEBUG : file1: reading active writers 2026/01/18 01:40:22 DEBUG : Looking for writers 2026/01/18 01:40:22 DEBUG : dir: reading active writers 2026/01/18 01:40:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/01/18 01:40:22 DEBUG : dir: Looking for writers 2026/01/18 01:40:22 DEBUG : file1: reading active writers 2026/01/18 01:40:22 DEBUG : Looking for writers 2026/01/18 01:40:22 DEBUG : dir: reading active writers 2026/01/18 01:40:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/01/18 01:40:22 DEBUG : dir: Looking for writers 2026/01/18 01:40:22 DEBUG : file1: reading active writers 2026/01/18 01:40:22 DEBUG : Looking for writers 2026/01/18 01:40:22 DEBUG : dir: reading active writers 2026/01/18 01:40:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/01/18 01:40:22 DEBUG : dir: Looking for writers 2026/01/18 01:40:22 DEBUG : file1: reading active writers 2026/01/18 01:40:22 DEBUG : Looking for writers 2026/01/18 01:40:22 DEBUG : dir: reading active writers 2026/01/18 01:40:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/01/18 01:40:22 DEBUG : dir/file1: vfs cache: starting upload 2026/01/18 01:40:22 DEBUG : dir: Looking for writers 2026/01/18 01:40:22 DEBUG : file1: reading active writers 2026/01/18 01:40:22 DEBUG : Looking for writers 2026/01/18 01:40:22 DEBUG : dir: reading active writers 2026/01/18 01:40:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/01/18 01:40:23 DEBUG : dir: Looking for writers 2026/01/18 01:40:23 DEBUG : file1: reading active writers 2026/01/18 01:40:23 DEBUG : Looking for writers 2026/01/18 01:40:23 DEBUG : dir: reading active writers 2026/01/18 01:40:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/01/18 01:40:23 DEBUG : dir/file1: size = 14 OK 2026/01/18 01:40:23 INFO : dir/file1: Copied (replaced existing) 2026/01/18 01:40:23 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/01/18 01:40:23 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/01/18 01:40:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/01/18 01:40:23 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/01/18 01:40:23 DEBUG : dir: Looking for writers 2026/01/18 01:40:23 DEBUG : file1: reading active writers 2026/01/18 01:40:23 DEBUG : Looking for writers 2026/01/18 01:40:23 DEBUG : dir: reading active writers 2026/01/18 01:40:23 DEBUG : >WaitForWriters: 2026/01/18 01:40:23 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/01/18 01:40:23 DEBUG : dir/file1: newRWFileHandle: 2026/01/18 01:40:23 DEBUG : dir/file1: >newRWFileHandle: err= 2026/01/18 01:40:23 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/01/18 01:40:23 DEBUG : dir/file1(0xc00240f800): _readAt: size=512, off=0 2026/01/18 01:40:23 DEBUG : dir/file1(0xc00240f800): openPending: 2026/01/18 01:40:23 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/01/18 01:40:23 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/01/18 01:40:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/01/18 01:40:23 DEBUG : dir/file1(0xc00240f800): >openPending: err= 2026/01/18 01:40:23 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/01/18 01:40:23 DEBUG : dir/file1(0xc00240f800): >_readAt: n=14, err=EOF 2026/01/18 01:40:23 DEBUG : dir/file1(0xc00240f800): close: 2026/01/18 01:40:23 DEBUG : dir/file1: vfs cache: setting modification time to 2026-01-18 01:40:22 +0000 UTC 2026/01/18 01:40:23 DEBUG : dir/file1(0xc00240f800): >close: err= 2026/01/18 01:40:23 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/01/18 01:40:23 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/01/18 01:40:23 DEBUG : newLeaf: Updating file with newLeaf 0xc0024fc600 2026/01/18 01:40:23 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/01/18 01:40:23 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/01/18 01:40:25 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/01/18 01:40:25 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/01/18 01:40:25 DEBUG : dir/file1: Updating file with dir/file1 0xc0024fc600 2026/01/18 01:40:25 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/01/18 01:40:25 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:345 /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:1700 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:345 /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/01/18 01:40:32 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/01/18 01:40:32 DEBUG : dir/file1: newRWFileHandle: 2026/01/18 01:40:32 DEBUG : dir/file1(0xc0024f3f00): openPending: 2026/01/18 01:40:32 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/01/18 01:40:32 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/01/18 01:40:32 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/01/18 01:40:32 DEBUG : dir/file1(0xc0024f3f00): >openPending: err= 2026/01/18 01:40:32 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/01/18 01:40:32 DEBUG : dir/file1: >newRWFileHandle: err= 2026/01/18 01:40:32 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/01/18 01:40:32 DEBUG : dir/file1(0xc0024f3f00): _writeAt: size=25, off=0 2026/01/18 01:40:32 DEBUG : dir/file1(0xc0024f3f00): >_writeAt: n=25, err= 2026/01/18 01:40:33 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/01/18 01:40:33 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/01/18 01:40:33 DEBUG : newLeaf: Updating file with newLeaf 0xc0024fc600 2026/01/18 01:40:33 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/01/18 01:40:33 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/01/18 01:40:33 DEBUG : newLeaf(0xc0024f3f00): close: 2026/01/18 01:40:33 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/01/18 01:40:33 DEBUG : newLeaf: vfs cache: setting modification time to 2026-01-18 01:40:32.682976586 +0000 UTC m=+87.298043210 2026/01/18 01:40:33 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/01/18 01:40:33 DEBUG : newLeaf(0xc0024f3f00): >close: err= 2026/01/18 01:40:33 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:40:33 DEBUG : dir: Looking for writers 2026/01/18 01:40:33 DEBUG : Looking for writers 2026/01/18 01:40:33 DEBUG : dir: reading active writers 2026/01/18 01:40:33 DEBUG : newLeaf: reading active writers 2026/01/18 01:40:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/01/18 01:40:33 DEBUG : dir: Looking for writers 2026/01/18 01:40:33 DEBUG : Looking for writers 2026/01/18 01:40:33 DEBUG : dir: reading active writers 2026/01/18 01:40:33 DEBUG : newLeaf: reading active writers 2026/01/18 01:40:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/01/18 01:40:33 DEBUG : dir: Looking for writers 2026/01/18 01:40:33 DEBUG : Looking for writers 2026/01/18 01:40:33 DEBUG : dir: reading active writers 2026/01/18 01:40:33 DEBUG : newLeaf: reading active writers 2026/01/18 01:40:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/01/18 01:40:33 DEBUG : dir: Looking for writers 2026/01/18 01:40:33 DEBUG : Looking for writers 2026/01/18 01:40:33 DEBUG : dir: reading active writers 2026/01/18 01:40:33 DEBUG : newLeaf: reading active writers 2026/01/18 01:40:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/01/18 01:40:33 DEBUG : newLeaf: vfs cache: starting upload 2026/01/18 01:40:33 DEBUG : dir: Looking for writers 2026/01/18 01:40:33 DEBUG : Looking for writers 2026/01/18 01:40:33 DEBUG : dir: reading active writers 2026/01/18 01:40:33 DEBUG : newLeaf: reading active writers 2026/01/18 01:40:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/01/18 01:40:33 DEBUG : dir: Looking for writers 2026/01/18 01:40:33 DEBUG : Looking for writers 2026/01/18 01:40:33 DEBUG : newLeaf: reading active writers 2026/01/18 01:40:33 DEBUG : dir: reading active writers 2026/01/18 01:40:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/01/18 01:40:33 DEBUG : newLeaf: size = 25 OK 2026/01/18 01:40:33 INFO : newLeaf: Copied (replaced existing) 2026/01/18 01:40:33 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/01/18 01:40:33 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/01/18 01:40:33 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/01/18 01:40:33 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/01/18 01:40:33 DEBUG : dir: Looking for writers 2026/01/18 01:40:33 DEBUG : Looking for writers 2026/01/18 01:40:33 DEBUG : dir: reading active writers 2026/01/18 01:40:33 DEBUG : newLeaf: reading active writers 2026/01/18 01:40:33 DEBUG : >WaitForWriters: 2026/01/18 01:40:33 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:40:33 DEBUG : dir: Looking for writers 2026/01/18 01:40:33 DEBUG : Looking for writers 2026/01/18 01:40:33 DEBUG : dir: reading active writers 2026/01/18 01:40:33 DEBUG : newLeaf: reading active writers 2026/01/18 01:40:33 DEBUG : >WaitForWriters: 2026/01/18 01:40:33 DEBUG : mega root 'rclone-test-xuyetac5cuni': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:185: Remote "mega root 'rclone-test-xuyetac5cuni'", Local "Local file system at /tmp/rclone1887481970", Modify Window "876000h0m0s" 2026/01/18 01:40:35 INFO : mega root 'rclone-test-xuyetac5cuni': poll-interval is not supported by this remote 2026/01/18 01:40:35 DEBUG : mega root 'rclone-test-xuyetac5cuni': vfs cache: root is "/home/rclone/.cache/rclone" 2026/01/18 01:40:35 DEBUG : mega root 'rclone-test-xuyetac5cuni': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:40:35 DEBUG : mega root 'rclone-test-xuyetac5cuni': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:40:35 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:40:35 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/01/18 01:40:35 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xuyetac5cuni" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:40:35 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:40:35 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/01/18 01:40:35 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xuyetac5cuni" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:40:35 INFO : mega root 'rclone-test-xuyetac5cuni': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/01/18 01:40:37 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:40:37 DEBUG : dir: Looking for writers 2026/01/18 01:40:37 DEBUG : file1: reading active writers 2026/01/18 01:40:37 DEBUG : Looking for writers 2026/01/18 01:40:37 DEBUG : dir: reading active writers 2026/01/18 01:40:37 DEBUG : >WaitForWriters: 2026/01/18 01:40:40 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/01/18 01:40:40 DEBUG : newLeaf: Updating file with newLeaf 0xc0024fcb40 2026/01/18 01:40:40 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/01/18 01:40:40 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:345 /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:1700 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:345 /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/01/18 01:40:50 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/01/18 01:40:50 DEBUG : dir/file1: Updating file with dir/file1 0xc0024fcb40 2026/01/18 01:40:50 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/01/18 01:40:50 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:345 /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:1700 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:345 /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:345 /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/01/18 01:40:57 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/01/18 01:40:57 DEBUG : dir/file1: newRWFileHandle: 2026/01/18 01:40:57 DEBUG : dir/file1(0xc00252f8c0): openPending: 2026/01/18 01:40:57 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/01/18 01:40:57 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/01/18 01:40:57 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/01/18 01:40:57 DEBUG : dir/file1(0xc00252f8c0): >openPending: err= 2026/01/18 01:40:57 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/01/18 01:40:57 DEBUG : dir/file1: >newRWFileHandle: err= 2026/01/18 01:40:57 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/01/18 01:40:57 DEBUG : dir/file1(0xc00252f8c0): _writeAt: size=25, off=0 2026/01/18 01:40:57 DEBUG : dir/file1(0xc00252f8c0): >_writeAt: n=25, err= 2026/01/18 01:40:57 INFO : newLeaf: Deleted 2026/01/18 01:40:57 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/01/18 01:40:57 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/01/18 01:40:57 DEBUG : newLeaf: Updating file with newLeaf 0xc0024fcb40 2026/01/18 01:40:57 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/01/18 01:40:57 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/01/18 01:40:57 DEBUG : newLeaf(0xc00252f8c0): close: 2026/01/18 01:40:57 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/01/18 01:40:57 DEBUG : newLeaf: vfs cache: setting modification time to 2026-01-18 01:40:57.135383427 +0000 UTC m=+111.750450010 2026/01/18 01:40:57 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/01/18 01:40:57 DEBUG : newLeaf(0xc00252f8c0): >close: err= 2026/01/18 01:40:57 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:40:57 DEBUG : dir: Looking for writers 2026/01/18 01:40:57 DEBUG : Looking for writers 2026/01/18 01:40:57 DEBUG : dir: reading active writers 2026/01/18 01:40:57 DEBUG : newLeaf: reading active writers 2026/01/18 01:40:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/01/18 01:40:57 DEBUG : dir: Looking for writers 2026/01/18 01:40:57 DEBUG : Looking for writers 2026/01/18 01:40:57 DEBUG : dir: reading active writers 2026/01/18 01:40:57 DEBUG : newLeaf: reading active writers 2026/01/18 01:40:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/01/18 01:40:57 DEBUG : dir: Looking for writers 2026/01/18 01:40:57 DEBUG : Looking for writers 2026/01/18 01:40:57 DEBUG : dir: reading active writers 2026/01/18 01:40:57 DEBUG : newLeaf: reading active writers 2026/01/18 01:40:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/01/18 01:40:57 DEBUG : dir: Looking for writers 2026/01/18 01:40:57 DEBUG : Looking for writers 2026/01/18 01:40:57 DEBUG : dir: reading active writers 2026/01/18 01:40:57 DEBUG : newLeaf: reading active writers 2026/01/18 01:40:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/01/18 01:40:57 DEBUG : newLeaf: vfs cache: starting upload 2026/01/18 01:40:57 DEBUG : dir: Looking for writers 2026/01/18 01:40:57 DEBUG : Looking for writers 2026/01/18 01:40:57 DEBUG : dir: reading active writers 2026/01/18 01:40:57 DEBUG : newLeaf: reading active writers 2026/01/18 01:40:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/01/18 01:40:57 DEBUG : dir: Looking for writers 2026/01/18 01:40:57 DEBUG : Looking for writers 2026/01/18 01:40:57 DEBUG : dir: reading active writers 2026/01/18 01:40:57 DEBUG : newLeaf: reading active writers 2026/01/18 01:40:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/01/18 01:40:58 DEBUG : dir: Looking for writers 2026/01/18 01:40:58 DEBUG : Looking for writers 2026/01/18 01:40:58 DEBUG : dir: reading active writers 2026/01/18 01:40:58 DEBUG : newLeaf: reading active writers 2026/01/18 01:40:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/01/18 01:40:58 DEBUG : dir: Looking for writers 2026/01/18 01:40:58 DEBUG : Looking for writers 2026/01/18 01:40:58 DEBUG : dir: reading active writers 2026/01/18 01:40:58 DEBUG : newLeaf: reading active writers 2026/01/18 01:40:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/01/18 01:40:59 DEBUG : dir: Looking for writers 2026/01/18 01:40:59 DEBUG : Looking for writers 2026/01/18 01:40:59 DEBUG : dir: reading active writers 2026/01/18 01:40:59 DEBUG : newLeaf: reading active writers 2026/01/18 01:40:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/01/18 01:41:00 DEBUG : dir: Looking for writers 2026/01/18 01:41:00 DEBUG : Looking for writers 2026/01/18 01:41:00 DEBUG : dir: reading active writers 2026/01/18 01:41:00 DEBUG : newLeaf: reading active writers 2026/01/18 01:41:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/01/18 01:41:01 DEBUG : newLeaf: size = 25 OK 2026/01/18 01:41:01 INFO : newLeaf: Copied (replaced existing) 2026/01/18 01:41:01 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/01/18 01:41:01 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/01/18 01:41:01 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/01/18 01:41:01 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/01/18 01:41:01 DEBUG : dir: Looking for writers 2026/01/18 01:41:01 DEBUG : Looking for writers 2026/01/18 01:41:01 DEBUG : dir: reading active writers 2026/01/18 01:41:01 DEBUG : newLeaf: reading active writers 2026/01/18 01:41:01 DEBUG : >WaitForWriters: 2026/01/18 01:41:01 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:41:01 DEBUG : dir: Looking for writers 2026/01/18 01:41:01 DEBUG : Looking for writers 2026/01/18 01:41:01 DEBUG : dir: reading active writers 2026/01/18 01:41:01 DEBUG : newLeaf: reading active writers 2026/01/18 01:41:01 DEBUG : >WaitForWriters: 2026/01/18 01:41:01 DEBUG : mega root 'rclone-test-xuyetac5cuni': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:185: Remote "mega root 'rclone-test-xuyetac5cuni'", Local "Local file system at /tmp/rclone1887481970", Modify Window "876000h0m0s" 2026/01/18 01:41:04 INFO : mega root 'rclone-test-xuyetac5cuni': poll-interval is not supported by this remote 2026/01/18 01:41:04 DEBUG : mega root 'rclone-test-xuyetac5cuni': vfs cache: root is "/home/rclone/.cache/rclone" 2026/01/18 01:41:04 DEBUG : mega root 'rclone-test-xuyetac5cuni': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:41:04 DEBUG : mega root 'rclone-test-xuyetac5cuni': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:41:04 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:41:04 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/01/18 01:41:04 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xuyetac5cuni" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:41:04 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:41:04 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/01/18 01:41:04 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xuyetac5cuni" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:41:04 INFO : mega root 'rclone-test-xuyetac5cuni': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/01/18 01:41:06 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/01/18 01:41:06 DEBUG : dir/file1: newRWFileHandle: 2026/01/18 01:41:06 DEBUG : dir/file1(0xc003070440): openPending: 2026/01/18 01:41:06 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/01/18 01:41:06 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/01/18 01:41:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/01/18 01:41:06 DEBUG : dir/file1(0xc003070440): >openPending: err= 2026/01/18 01:41:06 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/01/18 01:41:06 DEBUG : dir/file1: >newRWFileHandle: err= 2026/01/18 01:41:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/01/18 01:41:06 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/01/18 01:41:06 DEBUG : dir/file1(0xc003070440): _writeAt: size=14, off=0 2026/01/18 01:41:06 DEBUG : dir/file1(0xc003070440): >_writeAt: n=14, err= 2026/01/18 01:41:06 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/01/18 01:41:06 DEBUG : dir/file1(0xc003070440): close: 2026/01/18 01:41:06 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/01/18 01:41:06 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/01/18 01:41:06 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/01/18 01:41:06 DEBUG : dir/file1(0xc003070440): >close: err= 2026/01/18 01:41:06 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:41:06 DEBUG : dir: Looking for writers 2026/01/18 01:41:06 DEBUG : file1: reading active writers 2026/01/18 01:41:06 DEBUG : Looking for writers 2026/01/18 01:41:06 DEBUG : dir: reading active writers 2026/01/18 01:41:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/01/18 01:41:06 DEBUG : dir: Looking for writers 2026/01/18 01:41:06 DEBUG : file1: reading active writers 2026/01/18 01:41:06 DEBUG : Looking for writers 2026/01/18 01:41:06 DEBUG : dir: reading active writers 2026/01/18 01:41:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/01/18 01:41:06 DEBUG : dir: Looking for writers 2026/01/18 01:41:06 DEBUG : file1: reading active writers 2026/01/18 01:41:06 DEBUG : Looking for writers 2026/01/18 01:41:06 DEBUG : dir: reading active writers 2026/01/18 01:41:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/01/18 01:41:06 DEBUG : dir: Looking for writers 2026/01/18 01:41:06 DEBUG : file1: reading active writers 2026/01/18 01:41:06 DEBUG : Looking for writers 2026/01/18 01:41:06 DEBUG : dir: reading active writers 2026/01/18 01:41:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/01/18 01:41:06 DEBUG : dir/file1: vfs cache: starting upload 2026/01/18 01:41:06 DEBUG : dir: Looking for writers 2026/01/18 01:41:06 DEBUG : file1: reading active writers 2026/01/18 01:41:06 DEBUG : Looking for writers 2026/01/18 01:41:06 DEBUG : dir: reading active writers 2026/01/18 01:41:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/01/18 01:41:06 DEBUG : dir: Looking for writers 2026/01/18 01:41:06 DEBUG : file1: reading active writers 2026/01/18 01:41:06 DEBUG : Looking for writers 2026/01/18 01:41:06 DEBUG : dir: reading active writers 2026/01/18 01:41:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/01/18 01:41:06 DEBUG : dir: Looking for writers 2026/01/18 01:41:06 DEBUG : file1: reading active writers 2026/01/18 01:41:06 DEBUG : Looking for writers 2026/01/18 01:41:06 DEBUG : dir: reading active writers 2026/01/18 01:41:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/01/18 01:41:06 DEBUG : dir/file1: size = 14 OK 2026/01/18 01:41:06 INFO : dir/file1: Copied (replaced existing) 2026/01/18 01:41:06 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/01/18 01:41:06 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/01/18 01:41:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/01/18 01:41:06 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/01/18 01:41:07 DEBUG : dir: Looking for writers 2026/01/18 01:41:07 DEBUG : file1: reading active writers 2026/01/18 01:41:07 DEBUG : Looking for writers 2026/01/18 01:41:07 DEBUG : dir: reading active writers 2026/01/18 01:41:07 DEBUG : >WaitForWriters: 2026/01/18 01:41:07 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/01/18 01:41:07 DEBUG : dir/file1: newRWFileHandle: 2026/01/18 01:41:07 DEBUG : dir/file1: >newRWFileHandle: err= 2026/01/18 01:41:07 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/01/18 01:41:07 DEBUG : dir/file1(0xc002f5ad40): _readAt: size=512, off=0 2026/01/18 01:41:07 DEBUG : dir/file1(0xc002f5ad40): openPending: 2026/01/18 01:41:07 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/01/18 01:41:07 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/01/18 01:41:07 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/01/18 01:41:07 DEBUG : dir/file1(0xc002f5ad40): >openPending: err= 2026/01/18 01:41:07 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/01/18 01:41:07 DEBUG : dir/file1(0xc002f5ad40): >_readAt: n=14, err=EOF 2026/01/18 01:41:07 DEBUG : dir/file1(0xc002f5ad40): close: 2026/01/18 01:41:07 DEBUG : dir/file1: vfs cache: setting modification time to 2026-01-18 01:41:06 +0000 UTC 2026/01/18 01:41:07 DEBUG : dir/file1(0xc002f5ad40): >close: err= 2026/01/18 01:41:09 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/01/18 01:41:09 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/01/18 01:41:09 DEBUG : newLeaf: Updating file with newLeaf 0xc000d37440 2026/01/18 01:41:09 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/01/18 01:41:09 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/01/18 01:41:17 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/01/18 01:41:17 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/01/18 01:41:17 DEBUG : dir/file1: Updating file with dir/file1 0xc000d37440 2026/01/18 01:41:17 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/01/18 01:41:17 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:345 /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:1700 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:345 /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/01/18 01:41:24 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/01/18 01:41:24 DEBUG : dir/file1: newRWFileHandle: 2026/01/18 01:41:24 DEBUG : dir/file1(0xc002f5a880): openPending: 2026/01/18 01:41:24 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/01/18 01:41:24 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/01/18 01:41:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/01/18 01:41:24 DEBUG : dir/file1(0xc002f5a880): >openPending: err= 2026/01/18 01:41:24 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/01/18 01:41:24 DEBUG : dir/file1: >newRWFileHandle: err= 2026/01/18 01:41:24 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/01/18 01:41:24 DEBUG : dir/file1(0xc002f5a880): _writeAt: size=25, off=0 2026/01/18 01:41:24 DEBUG : dir/file1(0xc002f5a880): >_writeAt: n=25, err= 2026/01/18 01:41:24 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/01/18 01:41:24 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/01/18 01:41:24 DEBUG : newLeaf: Updating file with newLeaf 0xc000d37440 2026/01/18 01:41:24 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/01/18 01:41:24 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/01/18 01:41:24 DEBUG : newLeaf(0xc002f5a880): close: 2026/01/18 01:41:24 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/01/18 01:41:24 DEBUG : newLeaf: vfs cache: setting modification time to 2026-01-18 01:41:24.130347871 +0000 UTC m=+138.745414484 2026/01/18 01:41:24 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/01/18 01:41:24 DEBUG : newLeaf(0xc002f5a880): >close: err= 2026/01/18 01:41:24 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:41:24 DEBUG : dir: Looking for writers 2026/01/18 01:41:24 DEBUG : Looking for writers 2026/01/18 01:41:24 DEBUG : dir: reading active writers 2026/01/18 01:41:24 DEBUG : newLeaf: reading active writers 2026/01/18 01:41:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/01/18 01:41:24 DEBUG : dir: Looking for writers 2026/01/18 01:41:24 DEBUG : Looking for writers 2026/01/18 01:41:24 DEBUG : dir: reading active writers 2026/01/18 01:41:24 DEBUG : newLeaf: reading active writers 2026/01/18 01:41:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/01/18 01:41:24 DEBUG : dir: Looking for writers 2026/01/18 01:41:24 DEBUG : Looking for writers 2026/01/18 01:41:24 DEBUG : dir: reading active writers 2026/01/18 01:41:24 DEBUG : newLeaf: reading active writers 2026/01/18 01:41:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/01/18 01:41:24 DEBUG : dir: Looking for writers 2026/01/18 01:41:24 DEBUG : Looking for writers 2026/01/18 01:41:24 DEBUG : dir: reading active writers 2026/01/18 01:41:24 DEBUG : newLeaf: reading active writers 2026/01/18 01:41:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/01/18 01:41:24 DEBUG : newLeaf: vfs cache: starting upload 2026/01/18 01:41:24 DEBUG : dir: Looking for writers 2026/01/18 01:41:24 DEBUG : Looking for writers 2026/01/18 01:41:24 DEBUG : dir: reading active writers 2026/01/18 01:41:24 DEBUG : newLeaf: reading active writers 2026/01/18 01:41:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/01/18 01:41:24 DEBUG : newLeaf: size = 25 OK 2026/01/18 01:41:24 INFO : newLeaf: Copied (replaced existing) 2026/01/18 01:41:24 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/01/18 01:41:24 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/01/18 01:41:24 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/01/18 01:41:24 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/01/18 01:41:24 DEBUG : dir: Looking for writers 2026/01/18 01:41:24 DEBUG : Looking for writers 2026/01/18 01:41:24 DEBUG : dir: reading active writers 2026/01/18 01:41:24 DEBUG : newLeaf: reading active writers 2026/01/18 01:41:24 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 2026/01/18 01:41:31 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:41:31 DEBUG : dir: Looking for writers 2026/01/18 01:41:31 DEBUG : Looking for writers 2026/01/18 01:41:31 DEBUG : dir: reading active writers 2026/01/18 01:41:31 DEBUG : newLeaf: reading active writers 2026/01/18 01:41:31 DEBUG : >WaitForWriters: 2026/01/18 01:41:31 DEBUG : mega root 'rclone-test-xuyetac5cuni': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:185: Remote "mega root 'rclone-test-xuyetac5cuni'", Local "Local file system at /tmp/rclone1887481970", Modify Window "876000h0m0s" 2026/01/18 01:41:32 INFO : mega root 'rclone-test-xuyetac5cuni': poll-interval is not supported by this remote 2026/01/18 01:41:32 DEBUG : mega root 'rclone-test-xuyetac5cuni': vfs cache: root is "/home/rclone/.cache/rclone" 2026/01/18 01:41:32 DEBUG : mega root 'rclone-test-xuyetac5cuni': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:41:32 DEBUG : mega root 'rclone-test-xuyetac5cuni': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:41:32 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:41:32 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/01/18 01:41:32 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xuyetac5cuni" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:41:32 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:41:32 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/01/18 01:41:32 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xuyetac5cuni" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xuyetac5cuni" 2026/01/18 01:41:32 INFO : mega root 'rclone-test-xuyetac5cuni': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/01/18 01:41:43 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:41:43 DEBUG : dir: Looking for writers 2026/01/18 01:41:43 DEBUG : file1: reading active writers 2026/01/18 01:41:43 DEBUG : Looking for writers 2026/01/18 01:41:43 DEBUG : dir: reading active writers 2026/01/18 01:41:43 DEBUG : >WaitForWriters: 2026/01/18 01:41:43 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/01/18 01:41:43 DEBUG : dir/file1: newRWFileHandle: 2026/01/18 01:41:43 DEBUG : dir/file1: >newRWFileHandle: err= 2026/01/18 01:41:43 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/01/18 01:41:43 DEBUG : dir/file1(0xc000cbf0c0): _readAt: size=512, off=0 2026/01/18 01:41:43 DEBUG : dir/file1(0xc000cbf0c0): openPending: 2026/01/18 01:41:43 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/01/18 01:41:43 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/01/18 01:41:43 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/01/18 01:41:43 DEBUG : dir/file1(0xc000cbf0c0): >openPending: err= 2026/01/18 01:41:43 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2026/01/18 01:41:43 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/01/18 01:41:43 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/01/18 01:41:43 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/01/18 01:41:43 DEBUG : dir/file1(0xc000cbf0c0): >_readAt: n=14, err=EOF 2026/01/18 01:41:43 DEBUG : dir/file1(0xc000cbf0c0): close: 2026/01/18 01:41:43 DEBUG : dir/file1: vfs cache: setting modification time to 2026-01-18 01:41:43 +0000 UTC 2026/01/18 01:41:43 DEBUG : dir/file1(0xc000cbf0c0): >close: err= 2026/01/18 01:41:43 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/01/18 01:41:43 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/01/18 01:41:43 DEBUG : newLeaf: Updating file with newLeaf 0xc000d36240 2026/01/18 01:41:43 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/01/18 01:41:43 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/01/18 01:41:46 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/01/18 01:41:46 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/01/18 01:41:46 DEBUG : dir/file1: Updating file with dir/file1 0xc000d36240 2026/01/18 01:41:46 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/01/18 01:41:46 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:345 /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:1700 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:345 /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/01/18 01:41:53 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/01/18 01:41:53 DEBUG : dir/file1: newRWFileHandle: 2026/01/18 01:41:53 DEBUG : dir/file1(0xc0011f2300): openPending: 2026/01/18 01:41:53 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/01/18 01:41:53 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/01/18 01:41:53 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/01/18 01:41:53 DEBUG : dir/file1(0xc0011f2300): >openPending: err= 2026/01/18 01:41:53 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/01/18 01:41:53 DEBUG : dir/file1: >newRWFileHandle: err= 2026/01/18 01:41:53 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/01/18 01:41:53 DEBUG : dir/file1(0xc0011f2300): _writeAt: size=25, off=0 2026/01/18 01:41:53 DEBUG : dir/file1(0xc0011f2300): >_writeAt: n=25, err= 2026/01/18 01:42:03 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/01/18 01:42:03 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/01/18 01:42:03 DEBUG : newLeaf: Updating file with newLeaf 0xc000d36240 2026/01/18 01:42:03 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/01/18 01:42:03 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/01/18 01:42:03 DEBUG : newLeaf(0xc0011f2300): close: 2026/01/18 01:42:03 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/01/18 01:42:03 DEBUG : newLeaf: vfs cache: setting modification time to 2026-01-18 01:41:53.032796941 +0000 UTC m=+167.647863544 2026/01/18 01:42:03 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/01/18 01:42:03 DEBUG : newLeaf(0xc0011f2300): >close: err= 2026/01/18 01:42:03 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:42:03 DEBUG : dir: Looking for writers 2026/01/18 01:42:03 DEBUG : Looking for writers 2026/01/18 01:42:03 DEBUG : dir: reading active writers 2026/01/18 01:42:03 DEBUG : newLeaf: reading active writers 2026/01/18 01:42:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/01/18 01:42:04 DEBUG : dir: Looking for writers 2026/01/18 01:42:04 DEBUG : Looking for writers 2026/01/18 01:42:04 DEBUG : dir: reading active writers 2026/01/18 01:42:04 DEBUG : newLeaf: reading active writers 2026/01/18 01:42:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/01/18 01:42:04 DEBUG : dir: Looking for writers 2026/01/18 01:42:04 DEBUG : Looking for writers 2026/01/18 01:42:04 DEBUG : dir: reading active writers 2026/01/18 01:42:04 DEBUG : newLeaf: reading active writers 2026/01/18 01:42:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/01/18 01:42:04 DEBUG : dir: Looking for writers 2026/01/18 01:42:04 DEBUG : Looking for writers 2026/01/18 01:42:04 DEBUG : newLeaf: reading active writers 2026/01/18 01:42:04 DEBUG : dir: reading active writers 2026/01/18 01:42:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/01/18 01:42:04 DEBUG : newLeaf: vfs cache: starting upload 2026/01/18 01:42:04 DEBUG : dir: Looking for writers 2026/01/18 01:42:04 DEBUG : Looking for writers 2026/01/18 01:42:04 DEBUG : dir: reading active writers 2026/01/18 01:42:04 DEBUG : newLeaf: reading active writers 2026/01/18 01:42:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/01/18 01:42:04 DEBUG : dir: Looking for writers 2026/01/18 01:42:04 DEBUG : Looking for writers 2026/01/18 01:42:04 DEBUG : dir: reading active writers 2026/01/18 01:42:04 DEBUG : newLeaf: reading active writers 2026/01/18 01:42:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/01/18 01:42:04 DEBUG : dir: Looking for writers 2026/01/18 01:42:04 DEBUG : Looking for writers 2026/01/18 01:42:04 DEBUG : dir: reading active writers 2026/01/18 01:42:04 DEBUG : newLeaf: reading active writers 2026/01/18 01:42:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/01/18 01:42:05 DEBUG : dir: Looking for writers 2026/01/18 01:42:05 DEBUG : Looking for writers 2026/01/18 01:42:05 DEBUG : dir: reading active writers 2026/01/18 01:42:05 DEBUG : newLeaf: reading active writers 2026/01/18 01:42:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/01/18 01:42:06 DEBUG : dir: Looking for writers 2026/01/18 01:42:06 DEBUG : Looking for writers 2026/01/18 01:42:06 DEBUG : dir: reading active writers 2026/01/18 01:42:06 DEBUG : newLeaf: reading active writers 2026/01/18 01:42:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/01/18 01:42:07 DEBUG : dir: Looking for writers 2026/01/18 01:42:07 DEBUG : Looking for writers 2026/01/18 01:42:07 DEBUG : dir: reading active writers 2026/01/18 01:42:07 DEBUG : newLeaf: reading active writers 2026/01/18 01:42:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/01/18 01:42:07 DEBUG : newLeaf: size = 25 OK 2026/01/18 01:42:07 INFO : newLeaf: Copied (replaced existing) 2026/01/18 01:42:07 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/01/18 01:42:07 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/01/18 01:42:07 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/01/18 01:42:07 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/01/18 01:42:08 DEBUG : dir: Looking for writers 2026/01/18 01:42:08 DEBUG : Looking for writers 2026/01/18 01:42:08 DEBUG : dir: reading active writers 2026/01/18 01:42:08 DEBUG : newLeaf: reading active writers 2026/01/18 01:42:08 DEBUG : >WaitForWriters: 2026/01/18 01:42:08 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:42:08 DEBUG : dir: Looking for writers 2026/01/18 01:42:08 DEBUG : Looking for writers 2026/01/18 01:42:08 DEBUG : dir: reading active writers 2026/01/18 01:42:08 DEBUG : newLeaf: reading active writers 2026/01/18 01:42:08 DEBUG : >WaitForWriters: 2026/01/18 01:42:08 DEBUG : mega root 'rclone-test-xuyetac5cuni': vfs cache: cleaner exiting --- FAIL: TestFileRename (167.17s) --- FAIL: TestFileRename/off,forceCache=false (30.01s) --- FAIL: TestFileRename/minimal,forceCache=false (27.23s) --- FAIL: TestFileRename/minimal,forceCache=true (16.86s) --- FAIL: TestFileRename/writes,forceCache=false (28.34s) --- FAIL: TestFileRename/writes,forceCache=true (28.17s) --- FAIL: TestFileRename/full,forceCache=false (36.56s) === RUN TestUnicodeNormalization run.go:185: Remote "mega root 'rclone-test-xuyetac5cuni'", Local "Local file system at /tmp/rclone1887481970", Modify Window "876000h0m0s" 2026/01/18 01:42:12 INFO : mega root 'rclone-test-xuyetac5cuni': poll-interval is not supported by this remote 2026/01/18 01:42:12 NOTICE: mega root 'rclone-test-xuyetac5cuni': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/01/18 01:42:12 DEBUG : normal name with no special characters.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/01/18 01:42:12 DEBUG : normal name with no special characters.txt: Open: flags=O_RDONLY 2026/01/18 01:42:12 DEBUG : normal name with no special characters.txt: >Open: fd=normal name with no special characters.txt (r), err= 2026/01/18 01:42:12 DEBUG : normal name with no special characters.txt: >OpenFile: fd=normal name with no special characters.txt (r), err= 2026/01/18 01:42:12 DEBUG : normal name with no special characters.txt: ChunkedReader.openRange at 0 length 134217728 2026/01/18 01:42:12 DEBUG : normal name with no special characters.txt: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/01/18 01:42:12 DEBUG : 測試_Русский___ě_áñ: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/01/18 01:42:12 DEBUG : 測試_Русский___ě_áñ: Open: flags=O_RDONLY 2026/01/18 01:42:12 DEBUG : 測試_Русский___ě_áñ: >Open: fd=測試_Русский___ě_áñ (r), err= 2026/01/18 01:42:12 DEBUG : 測試_Русский___ě_áñ: >OpenFile: fd=測試_Русский___ě_áñ (r), err= 2026/01/18 01:42:12 DEBUG : 測試_Русский___ě_áñ: ChunkedReader.openRange at 0 length 134217728 2026/01/18 01:42:13 DEBUG : 測試_Русский___ě_áñ: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/01/18 01:42:13 DEBUG : normal name with no special characters.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/01/18 01:42:13 DEBUG : normal name with no special characters.txt: Open: flags=O_RDONLY 2026/01/18 01:42:13 DEBUG : normal name with no special characters.txt: >Open: fd=normal name with no special characters.txt (r), err= 2026/01/18 01:42:13 DEBUG : normal name with no special characters.txt: >OpenFile: fd=normal name with no special characters.txt (r), err= 2026/01/18 01:42:13 DEBUG : normal name with no special characters.txt: ChunkedReader.openRange at 0 length 134217728 2026/01/18 01:42:13 DEBUG : normal name with no special characters.txt: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/01/18 01:42:13 DEBUG : 測試_Русский___ě_áñ: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/01/18 01:42:13 DEBUG : 測試_Русский___ě_áñ: >OpenFile: fd=, err=file does not exist 2026/01/18 01:42:13 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:42:13 DEBUG : Looking for writers 2026/01/18 01:42:13 DEBUG : 測試_Русский___ě_áñ: reading active writers 2026/01/18 01:42:13 DEBUG : normal name with no special characters.txt: reading active writers 2026/01/18 01:42:13 DEBUG : >WaitForWriters: --- PASS: TestUnicodeNormalization (6.77s) === RUN TestVFSRename run.go:185: Remote "mega root 'rclone-test-xuyetac5cuni'", Local "Local file system at /tmp/rclone1887481970", Modify Window "876000h0m0s" 2026/01/18 01:42:15 INFO : mega root 'rclone-test-xuyetac5cuni': poll-interval is not supported by this remote 2026/01/18 01:42:15 NOTICE: mega root 'rclone-test-xuyetac5cuni': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/01/18 01:42:18 INFO : dir/file2: Moved (server-side) to: dir/file1 2026/01/18 01:42:18 DEBUG : dir/file1: Updating file with dir/file1 0xc000d36f00 2026/01/18 01:42:18 DEBUG : dir: Added virtual directory entry vDel: "file2" 2026/01/18 01:42:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/01/18 01:42:20 INFO : dir/file1: Moved (server-side) to: file0 2026/01/18 01:42:20 DEBUG : file0: Updating file with file0 0xc000d36f00 2026/01/18 01:42:20 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/01/18 01:42:20 DEBUG : Added virtual directory entry vAddFile: "file0" 2026/01/18 01:42:20 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:42:20 DEBUG : dir: Looking for writers 2026/01/18 01:42:20 DEBUG : Looking for writers 2026/01/18 01:42:20 DEBUG : dir: reading active writers 2026/01/18 01:42:20 DEBUG : file0: reading active writers 2026/01/18 01:42:20 DEBUG : >WaitForWriters: --- PASS: TestVFSRename (7.28s) === RUN TestWriteFileHandleMethods run.go:185: Remote "mega root 'rclone-test-xuyetac5cuni'", Local "Local file system at /tmp/rclone1887481970", Modify Window "876000h0m0s" 2026/01/18 01:42:22 INFO : mega root 'rclone-test-xuyetac5cuni': poll-interval is not supported by this remote 2026/01/18 01:42:22 NOTICE: mega root 'rclone-test-xuyetac5cuni': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/01/18 01:42:22 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/01/18 01:42:22 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/01/18 01:42:22 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/01/18 01:42:22 DEBUG : file1: >Open: fd=file1 (w), err= 2026/01/18 01:42:22 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/01/18 01:42:22 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/01/18 01:42:22 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2026/01/18 01:42:22 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2026/01/18 01:42:22 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2026/01/18 01:42:22 DEBUG : mega root 'rclone-test-xuyetac5cuni': File to upload is small (5 bytes), uploading instead of streaming 2026/01/18 01:42:24 DEBUG : file1: size = 5 OK 2026/01/18 01:42:24 DEBUG : file1: Size of src and dst objects identical 2026/01/18 01:42:24 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/01/18 01:42:24 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/01/18 01:42:24 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/01/18 01:42:24 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/01/18 01:42:24 DEBUG : file1: >Open: fd=file1 (w), err= 2026/01/18 01:42:24 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/01/18 01:42:24 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/01/18 01:42:24 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/01/18 01:42:24 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/01/18 01:42:24 DEBUG : file1: >Open: fd=file1 (w), err= 2026/01/18 01:42:24 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/01/18 01:42:24 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2026/01/18 01:42:24 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/01/18 01:42:24 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/01/18 01:42:24 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/01/18 01:42:24 DEBUG : file1: >Open: fd=file1 (w), err= 2026/01/18 01:42:24 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/01/18 01:42:24 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/01/18 01:42:24 DEBUG : mega root 'rclone-test-xuyetac5cuni': File to upload is small (0 bytes), uploading instead of streaming 2026/01/18 01:42:27 DEBUG : file1: size = 0 OK 2026/01/18 01:42:27 DEBUG : file1: Size of src and dst objects identical 2026/01/18 01:42:27 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/01/18 01:42:27 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/01/18 01:42:27 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/01/18 01:42:27 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/01/18 01:42:27 DEBUG : file1: >Open: fd=file1 (w), err= 2026/01/18 01:42:27 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/01/18 01:42:27 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/01/18 01:42:27 DEBUG : mega root 'rclone-test-xuyetac5cuni': File to upload is small (7 bytes), uploading instead of streaming 2026/01/18 01:42:27 DEBUG : file1: size = 7 OK 2026/01/18 01:42:27 DEBUG : file1: Size of src and dst objects identical 2026/01/18 01:42:27 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/01/18 01:42:27 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:42:27 DEBUG : Looking for writers 2026/01/18 01:42:27 DEBUG : file1: reading active writers 2026/01/18 01:42:27 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleMethods (6.96s) === RUN TestWriteFileHandleWriteAt run.go:185: Remote "mega root 'rclone-test-xuyetac5cuni'", Local "Local file system at /tmp/rclone1887481970", Modify Window "876000h0m0s" 2026/01/18 01:42:29 INFO : mega root 'rclone-test-xuyetac5cuni': poll-interval is not supported by this remote 2026/01/18 01:42:29 NOTICE: mega root 'rclone-test-xuyetac5cuni': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/01/18 01:42:29 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/01/18 01:42:29 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/01/18 01:42:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/01/18 01:42:29 DEBUG : file1: >Open: fd=file1 (w), err= 2026/01/18 01:42:29 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/01/18 01:42:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/01/18 01:42:29 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2026/01/18 01:42:30 DEBUG : file1: aborting in-sequence write wait, off=100 2026/01/18 01:42:30 DEBUG : file1: failed to wait for in-sequence write to 100 2026/01/18 01:42:30 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2026/01/18 01:42:30 DEBUG : mega root 'rclone-test-xuyetac5cuni': File to upload is small (11 bytes), uploading instead of streaming 2026/01/18 01:42:30 DEBUG : file1: size = 11 OK 2026/01/18 01:42:30 DEBUG : file1: Size of src and dst objects identical 2026/01/18 01:42:30 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/01/18 01:42:30 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor 2026/01/18 01:42:30 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:42:30 DEBUG : Looking for writers 2026/01/18 01:42:30 DEBUG : file1: reading active writers 2026/01/18 01:42:30 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: TestWriteFileHandleWriteAt (8.33s) === RUN TestWriteFileHandleRelease run.go:185: Remote "mega root 'rclone-test-xuyetac5cuni'", Local "Local file system at /tmp/rclone1887481970", Modify Window "876000h0m0s" 2026/01/18 01:42:38 INFO : mega root 'rclone-test-xuyetac5cuni': poll-interval is not supported by this remote 2026/01/18 01:42:38 NOTICE: mega root 'rclone-test-xuyetac5cuni': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/01/18 01:42:38 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/01/18 01:42:38 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/01/18 01:42:38 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/01/18 01:42:38 DEBUG : file1: >Open: fd=file1 (w), err= 2026/01/18 01:42:38 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/01/18 01:42:38 DEBUG : file1: WriteFileHandle.Release closing 2026/01/18 01:42:38 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/01/18 01:42:38 DEBUG : mega root 'rclone-test-xuyetac5cuni': File to upload is small (0 bytes), uploading instead of streaming 2026/01/18 01:42:40 DEBUG : file1: size = 0 OK 2026/01/18 01:42:40 DEBUG : file1: Size of src and dst objects identical 2026/01/18 01:42:40 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/01/18 01:42:40 DEBUG : file1: WriteFileHandle.Release nothing to do 2026/01/18 01:42:40 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:42:40 DEBUG : Looking for writers 2026/01/18 01:42:40 DEBUG : file1: reading active writers 2026/01/18 01:42:40 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: TestWriteFileHandleRelease (9.32s) === RUN TestZipManyFiles run.go:185: Remote "mega root 'rclone-test-xuyetac5cuni'", Local "Local file system at /tmp/rclone1887481970", Modify Window "876000h0m0s" 2026/01/18 01:42:47 INFO : mega root 'rclone-test-xuyetac5cuni': poll-interval is not supported by this remote 2026/01/18 01:42:47 NOTICE: mega root 'rclone-test-xuyetac5cuni': --vfs-cache-mode writes or full is recommended for this remote as it can't stream run.go:290: Failed to put "flat/f000.txt" to "mega root 'rclone-test-xuyetac5cuni'": mkdir create node failed: unexpected end of JSON input 2026/01/18 01:42:58 DEBUG : WaitForWriters: timeout=30s 2026/01/18 01:42:58 DEBUG : Looking for writers 2026/01/18 01:42:58 DEBUG : >WaitForWriters: --- FAIL: TestZipManyFiles (10.57s) FAIL 2026/01/18 01:42:58 DEBUG : mega root 'rclone-test-xuyetac5cuni': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestDirRemove|TestUnicodeNormalization|TestVFSRename|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestZipManyFiles)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 3m53.247829865s (try 3/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 TestZipManyFiles]