"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestFileReadAtNonZeroLength|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestZipDirsInRoot|TestZipLargeFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 3/5) 2026/02/17 04:41:23 DEBUG : Creating backend with remote "TestMega:rclone-test-faroxox6pobe" 2026/02/17 04:41:23 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/02/17 04:41:23 DEBUG : mega root 'rclone-test-faroxox6pobe': Using previously stored session ID and master key to initialize the Mega API 2026/02/17 04:41:37 DEBUG : Creating backend with remote "/tmp/rclone3775352715" === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:185: Remote "mega root 'rclone-test-faroxox6pobe'", Local "Local file system at /tmp/rclone3775352715", Modify Window "876000h0m0s" 2026/02/17 04:41:37 INFO : mega root 'rclone-test-faroxox6pobe': poll-interval is not supported by this remote 2026/02/17 04:41:37 NOTICE: mega root 'rclone-test-faroxox6pobe': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/02/17 04:41:42 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:41:42 DEBUG : dir: Looking for writers 2026/02/17 04:41:42 DEBUG : file1: reading active writers 2026/02/17 04:41:42 DEBUG : Looking for writers 2026/02/17 04:41:42 DEBUG : dir: reading active writers 2026/02/17 04:41:42 DEBUG : >WaitForWriters: 2026/02/17 04:41:44 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/02/17 04:41:44 DEBUG : newLeaf: Updating file with newLeaf 0xc00018cf00 2026/02/17 04:41:44 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/02/17 04:41:44 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/02/17 04:41:52 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/02/17 04:41:52 DEBUG : dir/file1: Updating file with dir/file1 0xc00018cf00 2026/02/17 04:41:52 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/02/17 04:41:52 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/02/17 04:41:59 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/02/17 04:41:59 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/02/17 04:41:59 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/17 04:41:59 DEBUG : dir/file1: File is currently open, delaying rename 0xc00018cf00 2026/02/17 04:41:59 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/02/17 04:41:59 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/02/17 04:41:59 DEBUG : mega root 'rclone-test-faroxox6pobe': File to upload is small (25 bytes), uploading instead of streaming 2026/02/17 04:42:02 DEBUG : dir/file1: size = 25 OK 2026/02/17 04:42:02 NOTICE: mega root 'rclone-test-faroxox6pobe': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2026/02/17 04:42:02 DEBUG : dir/file1: Size of src and dst objects identical 2026/02/17 04:42:02 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/02/17 04:42:02 DEBUG : newLeaf: Running delayed rename now 2026/02/17 04:42:02 INFO : newLeaf: Deleted 2026/02/17 04:42:04 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/02/17 04:42:04 DEBUG : newLeaf: Updating file with newLeaf 0xc00018cf00 2026/02/17 04:42:04 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:42:04 DEBUG : dir: Looking for writers 2026/02/17 04:42:04 DEBUG : Looking for writers 2026/02/17 04:42:04 DEBUG : dir: reading active writers 2026/02/17 04:42:04 DEBUG : newLeaf: reading active writers 2026/02/17 04:42:04 DEBUG : >WaitForWriters: 2026/02/17 04:42:04 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:42:04 DEBUG : dir: Looking for writers 2026/02/17 04:42:04 DEBUG : Looking for writers 2026/02/17 04:42:04 DEBUG : newLeaf: reading active writers 2026/02/17 04:42:04 DEBUG : dir: reading active writers 2026/02/17 04:42:04 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:185: Remote "mega root 'rclone-test-faroxox6pobe'", Local "Local file system at /tmp/rclone3775352715", Modify Window "876000h0m0s" 2026/02/17 04:42:05 INFO : mega root 'rclone-test-faroxox6pobe': poll-interval is not supported by this remote 2026/02/17 04:42:05 NOTICE: mega root 'rclone-test-faroxox6pobe': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/02/17 04:42:05 DEBUG : mega root 'rclone-test-faroxox6pobe': vfs cache: root is "/home/rclone/.cache/rclone" 2026/02/17 04:42:05 DEBUG : mega root 'rclone-test-faroxox6pobe': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:42:05 DEBUG : mega root 'rclone-test-faroxox6pobe': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:42:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:42:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/02/17 04:42:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-faroxox6pobe" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:42:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:42:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/02/17 04:42:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-faroxox6pobe" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:42:05 INFO : mega root 'rclone-test-faroxox6pobe': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/02/17 04:42:07 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:42:07 DEBUG : dir: Looking for writers 2026/02/17 04:42:07 DEBUG : file1: reading active writers 2026/02/17 04:42:07 DEBUG : Looking for writers 2026/02/17 04:42:07 DEBUG : dir: reading active writers 2026/02/17 04:42:07 DEBUG : >WaitForWriters: 2026/02/17 04:42:10 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/02/17 04:42:10 DEBUG : newLeaf: Updating file with newLeaf 0xc000982c00 2026/02/17 04:42:10 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/02/17 04:42:10 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/02/17 04:42:23 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/02/17 04:42:23 DEBUG : dir/file1: Updating file with dir/file1 0xc000982c00 2026/02/17 04:42:23 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/02/17 04:42:23 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/02/17 04:42:30 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/02/17 04:42:30 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/02/17 04:42:30 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/17 04:42:30 DEBUG : dir/file1: File is currently open, delaying rename 0xc000982c00 2026/02/17 04:42:30 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/02/17 04:42:30 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/02/17 04:42:30 DEBUG : mega root 'rclone-test-faroxox6pobe': File to upload is small (25 bytes), uploading instead of streaming 2026/02/17 04:42:41 ERROR : dir/file1: WriteFileHandle.New Rcat failed: upload file failed to create session: unexpected end of JSON input 2026/02/17 04:42:41 DEBUG : newLeaf: Running delayed rename now 2026/02/17 04:42:51 INFO : newLeaf: Deleted 2026/02/17 04:42:52 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/02/17 04:42:52 DEBUG : newLeaf: Updating file with newLeaf 0xc000982c00 file_test.go:391: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:391 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Received unexpected error: upload file failed to create session: unexpected end of JSON input Test: TestFileRename/minimal,forceCache=false 2026/02/17 04:42:52 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:42:52 DEBUG : dir: Looking for writers 2026/02/17 04:42:52 DEBUG : Looking for writers 2026/02/17 04:42:52 DEBUG : dir: reading active writers 2026/02/17 04:42:52 DEBUG : newLeaf: reading active writers 2026/02/17 04:42:52 DEBUG : >WaitForWriters: 2026/02/17 04:42:52 DEBUG : mega root 'rclone-test-faroxox6pobe': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:185: Remote "mega root 'rclone-test-faroxox6pobe'", Local "Local file system at /tmp/rclone3775352715", Modify Window "876000h0m0s" 2026/02/17 04:42:54 INFO : mega root 'rclone-test-faroxox6pobe': poll-interval is not supported by this remote 2026/02/17 04:42:54 NOTICE: mega root 'rclone-test-faroxox6pobe': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/02/17 04:42:54 DEBUG : mega root 'rclone-test-faroxox6pobe': vfs cache: root is "/home/rclone/.cache/rclone" 2026/02/17 04:42:54 DEBUG : mega root 'rclone-test-faroxox6pobe': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:42:54 DEBUG : mega root 'rclone-test-faroxox6pobe': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:42:54 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:42:54 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/02/17 04:42:54 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-faroxox6pobe" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:42:54 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:42:54 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/02/17 04:42:54 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-faroxox6pobe" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:42:54 INFO : mega root 'rclone-test-faroxox6pobe': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/02/17 04:42:56 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/02/17 04:42:56 DEBUG : dir/file1: newRWFileHandle: 2026/02/17 04:42:56 DEBUG : dir/file1(0xc004e2f140): openPending: 2026/02/17 04:42:56 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/02/17 04:42:56 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/02/17 04:42:56 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/17 04:42:56 DEBUG : dir/file1(0xc004e2f140): >openPending: err= 2026/02/17 04:42:56 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/02/17 04:42:56 DEBUG : dir/file1: >newRWFileHandle: err= 2026/02/17 04:42:56 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/17 04:42:56 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/02/17 04:42:56 DEBUG : dir/file1(0xc004e2f140): _writeAt: size=14, off=0 2026/02/17 04:42:56 DEBUG : dir/file1(0xc004e2f140): >_writeAt: n=14, err= 2026/02/17 04:42:56 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/02/17 04:42:56 DEBUG : dir/file1(0xc004e2f140): close: 2026/02/17 04:42:56 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/02/17 04:42:56 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/02/17 04:42:56 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/02/17 04:42:56 DEBUG : dir/file1(0xc004e2f140): >close: err= 2026/02/17 04:42:56 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:42:56 DEBUG : dir: Looking for writers 2026/02/17 04:42:56 DEBUG : file1: reading active writers 2026/02/17 04:42:56 DEBUG : Looking for writers 2026/02/17 04:42:56 DEBUG : dir: reading active writers 2026/02/17 04:42:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/02/17 04:42:56 DEBUG : dir: Looking for writers 2026/02/17 04:42:56 DEBUG : file1: reading active writers 2026/02/17 04:42:56 DEBUG : Looking for writers 2026/02/17 04:42:56 DEBUG : dir: reading active writers 2026/02/17 04:42:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/02/17 04:42:56 DEBUG : dir: Looking for writers 2026/02/17 04:42:56 DEBUG : file1: reading active writers 2026/02/17 04:42:56 DEBUG : Looking for writers 2026/02/17 04:42:56 DEBUG : dir: reading active writers 2026/02/17 04:42:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/02/17 04:42:56 DEBUG : dir: Looking for writers 2026/02/17 04:42:56 DEBUG : file1: reading active writers 2026/02/17 04:42:56 DEBUG : Looking for writers 2026/02/17 04:42:56 DEBUG : dir: reading active writers 2026/02/17 04:42:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/02/17 04:42:56 DEBUG : dir/file1: vfs cache: starting upload 2026/02/17 04:42:57 DEBUG : dir: Looking for writers 2026/02/17 04:42:57 DEBUG : file1: reading active writers 2026/02/17 04:42:57 DEBUG : Looking for writers 2026/02/17 04:42:57 DEBUG : dir: reading active writers 2026/02/17 04:42:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/02/17 04:42:57 DEBUG : dir: Looking for writers 2026/02/17 04:42:57 DEBUG : file1: reading active writers 2026/02/17 04:42:57 DEBUG : Looking for writers 2026/02/17 04:42:57 DEBUG : dir: reading active writers 2026/02/17 04:42:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/02/17 04:42:57 DEBUG : dir: Looking for writers 2026/02/17 04:42:57 DEBUG : file1: reading active writers 2026/02/17 04:42:57 DEBUG : Looking for writers 2026/02/17 04:42:57 DEBUG : dir: reading active writers 2026/02/17 04:42:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/02/17 04:42:58 DEBUG : dir: Looking for writers 2026/02/17 04:42:58 DEBUG : file1: reading active writers 2026/02/17 04:42:58 DEBUG : Looking for writers 2026/02/17 04:42:58 DEBUG : dir: reading active writers 2026/02/17 04:42:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/17 04:42:59 DEBUG : dir: Looking for writers 2026/02/17 04:42:59 DEBUG : file1: reading active writers 2026/02/17 04:42:59 DEBUG : Looking for writers 2026/02/17 04:42:59 DEBUG : dir: reading active writers 2026/02/17 04:42:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/17 04:43:00 DEBUG : dir: Looking for writers 2026/02/17 04:43:00 DEBUG : file1: reading active writers 2026/02/17 04:43:00 DEBUG : Looking for writers 2026/02/17 04:43:00 DEBUG : dir: reading active writers 2026/02/17 04:43:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/17 04:43:00 DEBUG : dir/file1: size = 14 OK 2026/02/17 04:43:00 INFO : dir/file1: Copied (replaced existing) 2026/02/17 04:43:00 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/02/17 04:43:00 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/02/17 04:43:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/17 04:43:00 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/02/17 04:43:01 DEBUG : dir: Looking for writers 2026/02/17 04:43:01 DEBUG : file1: reading active writers 2026/02/17 04:43:01 DEBUG : Looking for writers 2026/02/17 04:43:01 DEBUG : dir: reading active writers 2026/02/17 04:43:01 DEBUG : >WaitForWriters: 2026/02/17 04:43:01 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/02/17 04:43:01 DEBUG : dir/file1: newRWFileHandle: 2026/02/17 04:43:01 DEBUG : dir/file1: >newRWFileHandle: err= 2026/02/17 04:43:01 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/02/17 04:43:01 DEBUG : dir/file1(0xc004a81680): _readAt: size=512, off=0 2026/02/17 04:43:01 DEBUG : dir/file1(0xc004a81680): openPending: 2026/02/17 04:43:01 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/02/17 04:43:01 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/02/17 04:43:01 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/17 04:43:01 DEBUG : dir/file1(0xc004a81680): >openPending: err= 2026/02/17 04:43:01 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/02/17 04:43:01 DEBUG : dir/file1(0xc004a81680): >_readAt: n=14, err=EOF 2026/02/17 04:43:01 DEBUG : dir/file1(0xc004a81680): close: 2026/02/17 04:43:01 DEBUG : dir/file1: vfs cache: setting modification time to 2026-02-17 04:42:57 +0000 UTC 2026/02/17 04:43:01 DEBUG : dir/file1(0xc004a81680): >close: err= 2026/02/17 04:43:01 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/02/17 04:43:01 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/02/17 04:43:01 DEBUG : newLeaf: Updating file with newLeaf 0xc000407200 2026/02/17 04:43:01 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/02/17 04:43:01 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/02/17 04:43:12 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/02/17 04:43:12 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/02/17 04:43:12 DEBUG : dir/file1: Updating file with dir/file1 0xc000407200 2026/02/17 04:43:12 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/02/17 04:43:12 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/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=true Messages: Unexpected file "dir/newLeaf" 2026/02/17 04:43:19 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/02/17 04:43:19 DEBUG : dir/file1: newRWFileHandle: 2026/02/17 04:43:19 DEBUG : dir/file1(0xc004be97c0): openPending: 2026/02/17 04:43:19 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/02/17 04:43:19 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/02/17 04:43:19 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/17 04:43:19 DEBUG : dir/file1(0xc004be97c0): >openPending: err= 2026/02/17 04:43:19 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/02/17 04:43:19 DEBUG : dir/file1: >newRWFileHandle: err= 2026/02/17 04:43:19 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/02/17 04:43:19 DEBUG : dir/file1(0xc004be97c0): _writeAt: size=25, off=0 2026/02/17 04:43:19 DEBUG : dir/file1(0xc004be97c0): >_writeAt: n=25, err= 2026/02/17 04:43:30 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/02/17 04:43:30 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/02/17 04:43:30 DEBUG : newLeaf: Updating file with newLeaf 0xc000407200 2026/02/17 04:43:30 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/02/17 04:43:30 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/02/17 04:43:30 DEBUG : newLeaf(0xc004be97c0): close: 2026/02/17 04:43:30 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/02/17 04:43:30 DEBUG : newLeaf: vfs cache: setting modification time to 2026-02-17 04:43:19.198513383 +0000 UTC m=+115.515514153 2026/02/17 04:43:30 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/02/17 04:43:30 DEBUG : newLeaf(0xc004be97c0): >close: err= 2026/02/17 04:43:30 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:43:30 DEBUG : dir: Looking for writers 2026/02/17 04:43:30 DEBUG : Looking for writers 2026/02/17 04:43:30 DEBUG : dir: reading active writers 2026/02/17 04:43:30 DEBUG : newLeaf: reading active writers 2026/02/17 04:43:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/02/17 04:43:30 DEBUG : dir: Looking for writers 2026/02/17 04:43:30 DEBUG : Looking for writers 2026/02/17 04:43:30 DEBUG : dir: reading active writers 2026/02/17 04:43:30 DEBUG : newLeaf: reading active writers 2026/02/17 04:43:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/02/17 04:43:30 DEBUG : dir: Looking for writers 2026/02/17 04:43:30 DEBUG : Looking for writers 2026/02/17 04:43:30 DEBUG : dir: reading active writers 2026/02/17 04:43:30 DEBUG : newLeaf: reading active writers 2026/02/17 04:43:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/02/17 04:43:30 DEBUG : dir: Looking for writers 2026/02/17 04:43:30 DEBUG : Looking for writers 2026/02/17 04:43:30 DEBUG : dir: reading active writers 2026/02/17 04:43:30 DEBUG : newLeaf: reading active writers 2026/02/17 04:43:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/02/17 04:43:30 DEBUG : newLeaf: vfs cache: starting upload 2026/02/17 04:43:30 DEBUG : dir: Looking for writers 2026/02/17 04:43:30 DEBUG : Looking for writers 2026/02/17 04:43:30 DEBUG : dir: reading active writers 2026/02/17 04:43:30 DEBUG : newLeaf: reading active writers 2026/02/17 04:43:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/02/17 04:43:30 DEBUG : dir: Looking for writers 2026/02/17 04:43:30 DEBUG : Looking for writers 2026/02/17 04:43:30 DEBUG : newLeaf: reading active writers 2026/02/17 04:43:30 DEBUG : dir: reading active writers 2026/02/17 04:43:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/02/17 04:43:30 DEBUG : newLeaf: size = 25 OK 2026/02/17 04:43:30 INFO : newLeaf: Copied (replaced existing) 2026/02/17 04:43:30 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/02/17 04:43:30 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/02/17 04:43:30 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/02/17 04:43:30 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/02/17 04:43:30 DEBUG : dir: Looking for writers 2026/02/17 04:43:30 DEBUG : Looking for writers 2026/02/17 04:43:30 DEBUG : dir: reading active writers 2026/02/17 04:43:30 DEBUG : newLeaf: reading active writers 2026/02/17 04:43:30 DEBUG : >WaitForWriters: 2026/02/17 04:43:30 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:43:30 DEBUG : dir: Looking for writers 2026/02/17 04:43:30 DEBUG : Looking for writers 2026/02/17 04:43:30 DEBUG : dir: reading active writers 2026/02/17 04:43:30 DEBUG : newLeaf: reading active writers 2026/02/17 04:43:30 DEBUG : >WaitForWriters: 2026/02/17 04:43:30 DEBUG : mega root 'rclone-test-faroxox6pobe': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:185: Remote "mega root 'rclone-test-faroxox6pobe'", Local "Local file system at /tmp/rclone3775352715", Modify Window "876000h0m0s" 2026/02/17 04:43:31 INFO : mega root 'rclone-test-faroxox6pobe': poll-interval is not supported by this remote 2026/02/17 04:43:31 DEBUG : mega root 'rclone-test-faroxox6pobe': vfs cache: root is "/home/rclone/.cache/rclone" 2026/02/17 04:43:31 DEBUG : mega root 'rclone-test-faroxox6pobe': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:43:31 DEBUG : mega root 'rclone-test-faroxox6pobe': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:43:31 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:43:31 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/02/17 04:43:31 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-faroxox6pobe" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:43:31 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:43:31 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/02/17 04:43:31 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-faroxox6pobe" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:43:31 INFO : mega root 'rclone-test-faroxox6pobe': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/02/17 04:43:31 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:43:31 DEBUG : dir: Looking for writers 2026/02/17 04:43:31 DEBUG : file1: reading active writers 2026/02/17 04:43:31 DEBUG : Looking for writers 2026/02/17 04:43:31 DEBUG : dir: reading active writers 2026/02/17 04:43:31 DEBUG : >WaitForWriters: 2026/02/17 04:43:34 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/02/17 04:43:34 DEBUG : newLeaf: Updating file with newLeaf 0xc0054d6240 2026/02/17 04:43:34 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/02/17 04:43:34 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/02/17 04:43:46 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/02/17 04:43:46 DEBUG : dir/file1: Updating file with dir/file1 0xc0054d6240 2026/02/17 04:43:46 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/02/17 04:43: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/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/02/17 04:43:53 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/02/17 04:43:53 DEBUG : dir/file1: newRWFileHandle: 2026/02/17 04:43:53 DEBUG : dir/file1(0xc0049ed800): openPending: 2026/02/17 04:43:53 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/02/17 04:43:53 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/02/17 04:43:53 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/17 04:43:53 DEBUG : dir/file1(0xc0049ed800): >openPending: err= 2026/02/17 04:43:53 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/02/17 04:43:53 DEBUG : dir/file1: >newRWFileHandle: err= 2026/02/17 04:43:53 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/02/17 04:43:53 DEBUG : dir/file1(0xc0049ed800): _writeAt: size=25, off=0 2026/02/17 04:43:53 DEBUG : dir/file1(0xc0049ed800): >_writeAt: n=25, err= 2026/02/17 04:43:54 INFO : newLeaf: Deleted 2026/02/17 04:43:57 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/02/17 04:43:57 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/02/17 04:43:57 DEBUG : newLeaf: Updating file with newLeaf 0xc0054d6240 2026/02/17 04:43:57 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/02/17 04:43:57 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/02/17 04:43:57 DEBUG : newLeaf(0xc0049ed800): close: 2026/02/17 04:43:57 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/02/17 04:43:57 DEBUG : newLeaf: vfs cache: setting modification time to 2026-02-17 04:43:53.423704256 +0000 UTC m=+149.740705137 2026/02/17 04:43:57 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/02/17 04:43:57 DEBUG : newLeaf(0xc0049ed800): >close: err= 2026/02/17 04:43:57 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:43:57 DEBUG : dir: Looking for writers 2026/02/17 04:43:57 DEBUG : Looking for writers 2026/02/17 04:43:57 DEBUG : dir: reading active writers 2026/02/17 04:43:57 DEBUG : newLeaf: reading active writers 2026/02/17 04:43:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/02/17 04:43:57 DEBUG : dir: Looking for writers 2026/02/17 04:43:57 DEBUG : Looking for writers 2026/02/17 04:43:57 DEBUG : dir: reading active writers 2026/02/17 04:43:57 DEBUG : newLeaf: reading active writers 2026/02/17 04:43:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/02/17 04:43:57 DEBUG : dir: Looking for writers 2026/02/17 04:43:57 DEBUG : Looking for writers 2026/02/17 04:43:57 DEBUG : dir: reading active writers 2026/02/17 04:43:57 DEBUG : newLeaf: reading active writers 2026/02/17 04:43:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/02/17 04:43:57 DEBUG : dir: Looking for writers 2026/02/17 04:43:57 DEBUG : Looking for writers 2026/02/17 04:43:57 DEBUG : dir: reading active writers 2026/02/17 04:43:57 DEBUG : newLeaf: reading active writers 2026/02/17 04:43:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/02/17 04:43:57 DEBUG : newLeaf: vfs cache: starting upload 2026/02/17 04:43:57 DEBUG : dir: Looking for writers 2026/02/17 04:43:57 DEBUG : Looking for writers 2026/02/17 04:43:57 DEBUG : newLeaf: reading active writers 2026/02/17 04:43:57 DEBUG : dir: reading active writers 2026/02/17 04:43:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/02/17 04:43:57 DEBUG : dir: Looking for writers 2026/02/17 04:43:57 DEBUG : Looking for writers 2026/02/17 04:43:57 DEBUG : dir: reading active writers 2026/02/17 04:43:57 DEBUG : newLeaf: reading active writers 2026/02/17 04:43:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/02/17 04:43:58 DEBUG : dir: Looking for writers 2026/02/17 04:43:58 DEBUG : Looking for writers 2026/02/17 04:43:58 DEBUG : dir: reading active writers 2026/02/17 04:43:58 DEBUG : newLeaf: reading active writers 2026/02/17 04:43:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/02/17 04:43:58 DEBUG : dir: Looking for writers 2026/02/17 04:43:58 DEBUG : Looking for writers 2026/02/17 04:43:58 DEBUG : dir: reading active writers 2026/02/17 04:43:58 DEBUG : newLeaf: reading active writers 2026/02/17 04:43:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/17 04:43:59 DEBUG : dir: Looking for writers 2026/02/17 04:43:59 DEBUG : Looking for writers 2026/02/17 04:43:59 DEBUG : dir: reading active writers 2026/02/17 04:43:59 DEBUG : newLeaf: reading active writers 2026/02/17 04:43:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/17 04:43:59 DEBUG : newLeaf: size = 25 OK 2026/02/17 04:43:59 INFO : newLeaf: Copied (replaced existing) 2026/02/17 04:43:59 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/02/17 04:43:59 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/02/17 04:43:59 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/02/17 04:43:59 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/02/17 04:44:00 DEBUG : dir: Looking for writers 2026/02/17 04:44:00 DEBUG : Looking for writers 2026/02/17 04:44:00 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:00 DEBUG : dir: reading active writers 2026/02/17 04:44:00 DEBUG : >WaitForWriters: 2026/02/17 04:44:00 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:44:00 DEBUG : dir: Looking for writers 2026/02/17 04:44:00 DEBUG : Looking for writers 2026/02/17 04:44:00 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:00 DEBUG : dir: reading active writers 2026/02/17 04:44:00 DEBUG : >WaitForWriters: 2026/02/17 04:44:00 DEBUG : mega root 'rclone-test-faroxox6pobe': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:185: Remote "mega root 'rclone-test-faroxox6pobe'", Local "Local file system at /tmp/rclone3775352715", Modify Window "876000h0m0s" 2026/02/17 04:44:02 INFO : mega root 'rclone-test-faroxox6pobe': poll-interval is not supported by this remote 2026/02/17 04:44:02 DEBUG : mega root 'rclone-test-faroxox6pobe': vfs cache: root is "/home/rclone/.cache/rclone" 2026/02/17 04:44:02 DEBUG : mega root 'rclone-test-faroxox6pobe': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:44:02 DEBUG : mega root 'rclone-test-faroxox6pobe': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:44:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:44:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/02/17 04:44:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-faroxox6pobe" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:44:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:44:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/02/17 04:44:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-faroxox6pobe" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:44:02 INFO : mega root 'rclone-test-faroxox6pobe': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/02/17 04:44:06 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/02/17 04:44:06 DEBUG : dir/file1: newRWFileHandle: 2026/02/17 04:44:06 DEBUG : dir/file1(0xc0000b1ac0): openPending: 2026/02/17 04:44:06 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/02/17 04:44:06 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/02/17 04:44:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/17 04:44:06 DEBUG : dir/file1(0xc0000b1ac0): >openPending: err= 2026/02/17 04:44:06 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/02/17 04:44:06 DEBUG : dir/file1: >newRWFileHandle: err= 2026/02/17 04:44:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/17 04:44:06 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/02/17 04:44:06 DEBUG : dir/file1(0xc0000b1ac0): _writeAt: size=14, off=0 2026/02/17 04:44:06 DEBUG : dir/file1(0xc0000b1ac0): >_writeAt: n=14, err= 2026/02/17 04:44:06 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/02/17 04:44:06 DEBUG : dir/file1(0xc0000b1ac0): close: 2026/02/17 04:44:06 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/02/17 04:44:06 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/02/17 04:44:06 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/02/17 04:44:06 DEBUG : dir/file1(0xc0000b1ac0): >close: err= 2026/02/17 04:44:06 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:44:06 DEBUG : dir: Looking for writers 2026/02/17 04:44:06 DEBUG : file1: reading active writers 2026/02/17 04:44:06 DEBUG : Looking for writers 2026/02/17 04:44:06 DEBUG : dir: reading active writers 2026/02/17 04:44:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/02/17 04:44:06 DEBUG : dir: Looking for writers 2026/02/17 04:44:06 DEBUG : file1: reading active writers 2026/02/17 04:44:06 DEBUG : Looking for writers 2026/02/17 04:44:06 DEBUG : dir: reading active writers 2026/02/17 04:44:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/02/17 04:44:06 DEBUG : dir: Looking for writers 2026/02/17 04:44:06 DEBUG : file1: reading active writers 2026/02/17 04:44:06 DEBUG : Looking for writers 2026/02/17 04:44:06 DEBUG : dir: reading active writers 2026/02/17 04:44:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/02/17 04:44:06 DEBUG : dir: Looking for writers 2026/02/17 04:44:06 DEBUG : file1: reading active writers 2026/02/17 04:44:06 DEBUG : Looking for writers 2026/02/17 04:44:06 DEBUG : dir: reading active writers 2026/02/17 04:44:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/02/17 04:44:06 DEBUG : dir/file1: vfs cache: starting upload 2026/02/17 04:44:06 DEBUG : dir: Looking for writers 2026/02/17 04:44:06 DEBUG : file1: reading active writers 2026/02/17 04:44:06 DEBUG : Looking for writers 2026/02/17 04:44:06 DEBUG : dir: reading active writers 2026/02/17 04:44:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/02/17 04:44:06 DEBUG : dir: Looking for writers 2026/02/17 04:44:06 DEBUG : file1: reading active writers 2026/02/17 04:44:06 DEBUG : Looking for writers 2026/02/17 04:44:06 DEBUG : dir: reading active writers 2026/02/17 04:44:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/02/17 04:44:06 DEBUG : dir/file1: size = 14 OK 2026/02/17 04:44:06 INFO : dir/file1: Copied (replaced existing) 2026/02/17 04:44:06 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/02/17 04:44:06 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/02/17 04:44:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/17 04:44:06 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/02/17 04:44:06 DEBUG : dir: Looking for writers 2026/02/17 04:44:06 DEBUG : file1: reading active writers 2026/02/17 04:44:06 DEBUG : Looking for writers 2026/02/17 04:44:06 DEBUG : dir: reading active writers 2026/02/17 04:44:06 DEBUG : >WaitForWriters: 2026/02/17 04:44:06 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/02/17 04:44:06 DEBUG : dir/file1: newRWFileHandle: 2026/02/17 04:44:06 DEBUG : dir/file1: >newRWFileHandle: err= 2026/02/17 04:44:06 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/02/17 04:44:06 DEBUG : dir/file1(0xc0009e1e40): _readAt: size=512, off=0 2026/02/17 04:44:06 DEBUG : dir/file1(0xc0009e1e40): openPending: 2026/02/17 04:44:06 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/02/17 04:44:06 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/02/17 04:44:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/17 04:44:06 DEBUG : dir/file1(0xc0009e1e40): >openPending: err= 2026/02/17 04:44:06 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/02/17 04:44:06 DEBUG : dir/file1(0xc0009e1e40): >_readAt: n=14, err=EOF 2026/02/17 04:44:06 DEBUG : dir/file1(0xc0009e1e40): close: 2026/02/17 04:44:06 DEBUG : dir/file1: vfs cache: setting modification time to 2026-02-17 04:44:06 +0000 UTC 2026/02/17 04:44:06 DEBUG : dir/file1(0xc0009e1e40): >close: err= 2026/02/17 04:44:07 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/02/17 04:44:07 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/02/17 04:44:07 DEBUG : newLeaf: Updating file with newLeaf 0xc0054d6900 2026/02/17 04:44:07 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/02/17 04:44:07 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/02/17 04:44:09 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/02/17 04:44:09 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/02/17 04:44:09 DEBUG : dir/file1: Updating file with dir/file1 0xc0054d6900 2026/02/17 04:44:09 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/02/17 04:44:09 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/02/17 04:44:16 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/02/17 04:44:16 DEBUG : dir/file1: newRWFileHandle: 2026/02/17 04:44:16 DEBUG : dir/file1(0xc000555c00): openPending: 2026/02/17 04:44:16 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/02/17 04:44:16 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/02/17 04:44:16 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/17 04:44:16 DEBUG : dir/file1(0xc000555c00): >openPending: err= 2026/02/17 04:44:16 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/02/17 04:44:16 DEBUG : dir/file1: >newRWFileHandle: err= 2026/02/17 04:44:16 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/02/17 04:44:16 DEBUG : dir/file1(0xc000555c00): _writeAt: size=25, off=0 2026/02/17 04:44:16 DEBUG : dir/file1(0xc000555c00): >_writeAt: n=25, err= 2026/02/17 04:44:19 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/02/17 04:44:19 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/02/17 04:44:19 DEBUG : newLeaf: Updating file with newLeaf 0xc0054d6900 2026/02/17 04:44:19 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/02/17 04:44:19 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/02/17 04:44:19 DEBUG : newLeaf(0xc000555c00): close: 2026/02/17 04:44:19 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/02/17 04:44:19 DEBUG : newLeaf: vfs cache: setting modification time to 2026-02-17 04:44:16.226101764 +0000 UTC m=+172.543102575 2026/02/17 04:44:19 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/02/17 04:44:19 DEBUG : newLeaf(0xc000555c00): >close: err= 2026/02/17 04:44:19 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:44:19 DEBUG : dir: Looking for writers 2026/02/17 04:44:19 DEBUG : Looking for writers 2026/02/17 04:44:19 DEBUG : dir: reading active writers 2026/02/17 04:44:19 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/02/17 04:44:19 DEBUG : dir: Looking for writers 2026/02/17 04:44:19 DEBUG : Looking for writers 2026/02/17 04:44:19 DEBUG : dir: reading active writers 2026/02/17 04:44:19 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/02/17 04:44:19 DEBUG : dir: Looking for writers 2026/02/17 04:44:19 DEBUG : Looking for writers 2026/02/17 04:44:19 DEBUG : dir: reading active writers 2026/02/17 04:44:19 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/02/17 04:44:19 DEBUG : dir: Looking for writers 2026/02/17 04:44:19 DEBUG : Looking for writers 2026/02/17 04:44:19 DEBUG : dir: reading active writers 2026/02/17 04:44:19 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/02/17 04:44:19 DEBUG : newLeaf: vfs cache: starting upload 2026/02/17 04:44:19 DEBUG : dir: Looking for writers 2026/02/17 04:44:19 DEBUG : Looking for writers 2026/02/17 04:44:19 DEBUG : dir: reading active writers 2026/02/17 04:44:19 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/02/17 04:44:19 DEBUG : dir: Looking for writers 2026/02/17 04:44:19 DEBUG : Looking for writers 2026/02/17 04:44:19 DEBUG : dir: reading active writers 2026/02/17 04:44:19 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/02/17 04:44:20 DEBUG : dir: Looking for writers 2026/02/17 04:44:20 DEBUG : Looking for writers 2026/02/17 04:44:20 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:20 DEBUG : dir: reading active writers 2026/02/17 04:44:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/02/17 04:44:20 DEBUG : dir: Looking for writers 2026/02/17 04:44:20 DEBUG : Looking for writers 2026/02/17 04:44:20 DEBUG : dir: reading active writers 2026/02/17 04:44:20 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/17 04:44:21 DEBUG : dir: Looking for writers 2026/02/17 04:44:21 DEBUG : Looking for writers 2026/02/17 04:44:21 DEBUG : dir: reading active writers 2026/02/17 04:44:21 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/17 04:44:22 DEBUG : dir: Looking for writers 2026/02/17 04:44:22 DEBUG : Looking for writers 2026/02/17 04:44:22 DEBUG : dir: reading active writers 2026/02/17 04:44:22 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/17 04:44:23 DEBUG : dir: Looking for writers 2026/02/17 04:44:23 DEBUG : Looking for writers 2026/02/17 04:44:23 DEBUG : dir: reading active writers 2026/02/17 04:44:23 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/17 04:44:24 DEBUG : dir: Looking for writers 2026/02/17 04:44:24 DEBUG : Looking for writers 2026/02/17 04:44:24 DEBUG : dir: reading active writers 2026/02/17 04:44:24 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/17 04:44:25 DEBUG : dir: Looking for writers 2026/02/17 04:44:25 DEBUG : Looking for writers 2026/02/17 04:44:25 DEBUG : dir: reading active writers 2026/02/17 04:44:25 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/17 04:44:26 DEBUG : dir: Looking for writers 2026/02/17 04:44:26 DEBUG : Looking for writers 2026/02/17 04:44:26 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:26 DEBUG : dir: reading active writers 2026/02/17 04:44:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/17 04:44:27 DEBUG : dir: Looking for writers 2026/02/17 04:44:27 DEBUG : Looking for writers 2026/02/17 04:44:27 DEBUG : dir: reading active writers 2026/02/17 04:44:27 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/17 04:44:28 DEBUG : dir: Looking for writers 2026/02/17 04:44:28 DEBUG : Looking for writers 2026/02/17 04:44:28 DEBUG : dir: reading active writers 2026/02/17 04:44:28 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/17 04:44:29 DEBUG : dir: Looking for writers 2026/02/17 04:44:29 DEBUG : Looking for writers 2026/02/17 04:44:29 DEBUG : dir: reading active writers 2026/02/17 04:44:29 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/17 04:44:30 ERROR : newLeaf: Failed to copy: failed to finish upload: unexpected end of JSON input 2026/02/17 04:44:30 ERROR : newLeaf: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: failed to finish upload: unexpected end of JSON input 2026/02/17 04:44:30 DEBUG : newLeaf: vfs cache: starting upload 2026/02/17 04:44:30 DEBUG : dir: Looking for writers 2026/02/17 04:44:30 DEBUG : Looking for writers 2026/02/17 04:44:30 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:30 DEBUG : dir: reading active writers 2026/02/17 04:44:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/17 04:44:31 DEBUG : dir: Looking for writers 2026/02/17 04:44:31 DEBUG : Looking for writers 2026/02/17 04:44:31 DEBUG : dir: reading active writers 2026/02/17 04:44:31 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/02/17 04:44:32 DEBUG : newLeaf: size = 25 OK 2026/02/17 04:44:32 INFO : newLeaf: Copied (replaced existing) 2026/02/17 04:44:32 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/02/17 04:44:32 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/02/17 04:44:32 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/02/17 04:44:32 INFO : newLeaf: vfs cache: upload succeeded try #2 2026/02/17 04:44:32 DEBUG : dir: Looking for writers 2026/02/17 04:44:32 DEBUG : Looking for writers 2026/02/17 04:44:32 DEBUG : dir: reading active writers 2026/02/17 04:44:32 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:32 DEBUG : >WaitForWriters: 2026/02/17 04:44:32 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:44:32 DEBUG : dir: Looking for writers 2026/02/17 04:44:32 DEBUG : Looking for writers 2026/02/17 04:44:32 DEBUG : newLeaf: reading active writers 2026/02/17 04:44:32 DEBUG : dir: reading active writers 2026/02/17 04:44:32 DEBUG : >WaitForWriters: 2026/02/17 04:44:32 DEBUG : mega root 'rclone-test-faroxox6pobe': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:185: Remote "mega root 'rclone-test-faroxox6pobe'", Local "Local file system at /tmp/rclone3775352715", Modify Window "876000h0m0s" 2026/02/17 04:44:34 INFO : mega root 'rclone-test-faroxox6pobe': poll-interval is not supported by this remote 2026/02/17 04:44:34 DEBUG : mega root 'rclone-test-faroxox6pobe': vfs cache: root is "/home/rclone/.cache/rclone" 2026/02/17 04:44:34 DEBUG : mega root 'rclone-test-faroxox6pobe': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:44:34 DEBUG : mega root 'rclone-test-faroxox6pobe': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:44:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:44:34 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/02/17 04:44:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-faroxox6pobe" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:44:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:44:34 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/02/17 04:44:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-faroxox6pobe" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-faroxox6pobe" 2026/02/17 04:44:34 INFO : mega root 'rclone-test-faroxox6pobe': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/02/17 04:44:38 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:44:38 DEBUG : dir: Looking for writers 2026/02/17 04:44:38 DEBUG : file1: reading active writers 2026/02/17 04:44:38 DEBUG : Looking for writers 2026/02/17 04:44:38 DEBUG : dir: reading active writers 2026/02/17 04:44:38 DEBUG : >WaitForWriters: 2026/02/17 04:44:38 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/02/17 04:44:38 DEBUG : dir/file1: newRWFileHandle: 2026/02/17 04:44:38 DEBUG : dir/file1: >newRWFileHandle: err= 2026/02/17 04:44:38 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/02/17 04:44:38 DEBUG : dir/file1(0xc004a68b80): _readAt: size=512, off=0 2026/02/17 04:44:38 DEBUG : dir/file1(0xc004a68b80): openPending: 2026/02/17 04:44:38 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/02/17 04:44:38 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/02/17 04:44:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/17 04:44:38 DEBUG : dir/file1(0xc004a68b80): >openPending: err= 2026/02/17 04:44:38 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2026/02/17 04:44:38 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/02/17 04:44:38 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/02/17 04:44:38 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/02/17 04:44:38 DEBUG : dir/file1(0xc004a68b80): >_readAt: n=14, err=EOF 2026/02/17 04:44:38 DEBUG : dir/file1(0xc004a68b80): close: 2026/02/17 04:44:38 DEBUG : dir/file1: vfs cache: setting modification time to 2026-02-17 04:44:36 +0000 UTC 2026/02/17 04:44:38 DEBUG : dir/file1(0xc004a68b80): >close: err= 2026/02/17 04:44:44 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/02/17 04:44:44 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/02/17 04:44:44 DEBUG : newLeaf: Updating file with newLeaf 0xc004830840 2026/02/17 04:44:44 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/02/17 04:44:44 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/02/17 04:44:47 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/02/17 04:44:47 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/02/17 04:44:47 DEBUG : dir/file1: Updating file with dir/file1 0xc004830840 2026/02/17 04:44:47 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/02/17 04:44:47 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/02/17 04:44:54 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/02/17 04:44:54 DEBUG : dir/file1: newRWFileHandle: 2026/02/17 04:44:54 DEBUG : dir/file1(0xc000a7a5c0): openPending: 2026/02/17 04:44:54 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/02/17 04:44:54 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/02/17 04:44:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/02/17 04:44:54 DEBUG : dir/file1(0xc000a7a5c0): >openPending: err= 2026/02/17 04:44:54 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/02/17 04:44:54 DEBUG : dir/file1: >newRWFileHandle: err= 2026/02/17 04:44:54 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/02/17 04:44:54 DEBUG : dir/file1(0xc000a7a5c0): _writeAt: size=25, off=0 2026/02/17 04:44:54 DEBUG : dir/file1(0xc000a7a5c0): >_writeAt: n=25, err= 2026/02/17 04:45:06 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/02/17 04:45:06 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/02/17 04:45:06 DEBUG : newLeaf: Updating file with newLeaf 0xc004830840 2026/02/17 04:45:06 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/02/17 04:45:06 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/02/17 04:45:06 DEBUG : newLeaf(0xc000a7a5c0): close: 2026/02/17 04:45:06 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/02/17 04:45:06 DEBUG : newLeaf: vfs cache: setting modification time to 2026-02-17 04:44:54.090572276 +0000 UTC m=+210.407573075 2026/02/17 04:45:06 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/02/17 04:45:06 DEBUG : newLeaf(0xc000a7a5c0): >close: err= 2026/02/17 04:45:06 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:45:06 DEBUG : dir: Looking for writers 2026/02/17 04:45:06 DEBUG : Looking for writers 2026/02/17 04:45:06 DEBUG : dir: reading active writers 2026/02/17 04:45:06 DEBUG : newLeaf: reading active writers 2026/02/17 04:45:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/02/17 04:45:06 DEBUG : dir: Looking for writers 2026/02/17 04:45:06 DEBUG : Looking for writers 2026/02/17 04:45:06 DEBUG : dir: reading active writers 2026/02/17 04:45:06 DEBUG : newLeaf: reading active writers 2026/02/17 04:45:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/02/17 04:45:06 DEBUG : dir: Looking for writers 2026/02/17 04:45:06 DEBUG : Looking for writers 2026/02/17 04:45:06 DEBUG : dir: reading active writers 2026/02/17 04:45:06 DEBUG : newLeaf: reading active writers 2026/02/17 04:45:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/02/17 04:45:06 DEBUG : dir: Looking for writers 2026/02/17 04:45:06 DEBUG : Looking for writers 2026/02/17 04:45:06 DEBUG : dir: reading active writers 2026/02/17 04:45:06 DEBUG : newLeaf: reading active writers 2026/02/17 04:45:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/02/17 04:45:06 DEBUG : newLeaf: vfs cache: starting upload 2026/02/17 04:45:06 DEBUG : dir: Looking for writers 2026/02/17 04:45:06 DEBUG : Looking for writers 2026/02/17 04:45:06 DEBUG : dir: reading active writers 2026/02/17 04:45:06 DEBUG : newLeaf: reading active writers 2026/02/17 04:45:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/02/17 04:45:06 DEBUG : dir: Looking for writers 2026/02/17 04:45:06 DEBUG : Looking for writers 2026/02/17 04:45:06 DEBUG : dir: reading active writers 2026/02/17 04:45:06 DEBUG : newLeaf: reading active writers 2026/02/17 04:45:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/02/17 04:45:06 DEBUG : newLeaf: size = 25 OK 2026/02/17 04:45:06 INFO : newLeaf: Copied (replaced existing) 2026/02/17 04:45:06 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/02/17 04:45:06 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/02/17 04:45:06 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/02/17 04:45:06 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/02/17 04:45:07 DEBUG : dir: Looking for writers 2026/02/17 04:45:07 DEBUG : Looking for writers 2026/02/17 04:45:07 DEBUG : dir: reading active writers 2026/02/17 04:45:07 DEBUG : newLeaf: reading active writers 2026/02/17 04:45:07 DEBUG : >WaitForWriters: 2026/02/17 04:45:07 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:45:07 DEBUG : dir: Looking for writers 2026/02/17 04:45:07 DEBUG : Looking for writers 2026/02/17 04:45:07 DEBUG : dir: reading active writers 2026/02/17 04:45:07 DEBUG : newLeaf: reading active writers 2026/02/17 04:45:07 DEBUG : >WaitForWriters: 2026/02/17 04:45:07 DEBUG : mega root 'rclone-test-faroxox6pobe': vfs cache: cleaner exiting --- FAIL: TestFileRename (211.92s) --- FAIL: TestFileRename/off,forceCache=false (28.45s) --- FAIL: TestFileRename/minimal,forceCache=false (49.03s) --- FAIL: TestFileRename/minimal,forceCache=true (36.53s) --- FAIL: TestFileRename/writes,forceCache=false (30.99s) --- FAIL: TestFileRename/writes,forceCache=true (32.52s) --- FAIL: TestFileRename/full,forceCache=false (34.39s) === RUN TestWriteFileHandleMethods run.go:185: Remote "mega root 'rclone-test-faroxox6pobe'", Local "Local file system at /tmp/rclone3775352715", Modify Window "876000h0m0s" 2026/02/17 04:45:09 INFO : mega root 'rclone-test-faroxox6pobe': poll-interval is not supported by this remote 2026/02/17 04:45:09 NOTICE: mega root 'rclone-test-faroxox6pobe': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/02/17 04:45:09 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/02/17 04:45:09 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/02/17 04:45:09 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/17 04:45:09 DEBUG : file1: >Open: fd=file1 (w), err= 2026/02/17 04:45:09 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/02/17 04:45:09 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/17 04:45:09 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2026/02/17 04:45:09 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2026/02/17 04:45:09 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2026/02/17 04:45:09 DEBUG : mega root 'rclone-test-faroxox6pobe': File to upload is small (5 bytes), uploading instead of streaming 2026/02/17 04:45:11 DEBUG : file1: size = 5 OK 2026/02/17 04:45:11 DEBUG : file1: Size of src and dst objects identical 2026/02/17 04:45:11 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/17 04:45:11 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/02/17 04:45:11 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/02/17 04:45:11 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/17 04:45:11 DEBUG : file1: >Open: fd=file1 (w), err= 2026/02/17 04:45:11 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/02/17 04:45:11 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/02/17 04:45:11 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/02/17 04:45:11 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/17 04:45:11 DEBUG : file1: >Open: fd=file1 (w), err= 2026/02/17 04:45:11 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/02/17 04:45:11 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2026/02/17 04:45:11 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/02/17 04:45:11 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/02/17 04:45:11 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/17 04:45:11 DEBUG : file1: >Open: fd=file1 (w), err= 2026/02/17 04:45:11 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/02/17 04:45:11 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/17 04:45:11 DEBUG : mega root 'rclone-test-faroxox6pobe': File to upload is small (0 bytes), uploading instead of streaming 2026/02/17 04:45:13 DEBUG : file1: size = 0 OK 2026/02/17 04:45:13 DEBUG : file1: Size of src and dst objects identical 2026/02/17 04:45:13 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/17 04:45:13 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/02/17 04:45:13 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/02/17 04:45:13 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/17 04:45:13 DEBUG : file1: >Open: fd=file1 (w), err= 2026/02/17 04:45:13 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/02/17 04:45:13 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/17 04:45:13 DEBUG : mega root 'rclone-test-faroxox6pobe': File to upload is small (7 bytes), uploading instead of streaming 2026/02/17 04:45:15 DEBUG : file1: size = 7 OK 2026/02/17 04:45:15 DEBUG : file1: Size of src and dst objects identical 2026/02/17 04:45:15 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/17 04:45:15 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:45:15 DEBUG : Looking for writers 2026/02/17 04:45:15 DEBUG : file1: reading active writers 2026/02/17 04:45:15 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleMethods (6.77s) === RUN TestWriteFileHandleFlush run.go:185: Remote "mega root 'rclone-test-faroxox6pobe'", Local "Local file system at /tmp/rclone3775352715", Modify Window "876000h0m0s" 2026/02/17 04:45:15 INFO : mega root 'rclone-test-faroxox6pobe': poll-interval is not supported by this remote 2026/02/17 04:45:15 NOTICE: mega root 'rclone-test-faroxox6pobe': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/02/17 04:45:15 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/02/17 04:45:15 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/02/17 04:45:15 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/17 04:45:15 DEBUG : file1: >Open: fd=file1 (w), err= 2026/02/17 04:45:15 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/02/17 04:45:15 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2026/02/17 04:45:15 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/17 04:45:15 DEBUG : mega root 'rclone-test-faroxox6pobe': File to upload is small (5 bytes), uploading instead of streaming 2026/02/17 04:45:18 DEBUG : file1: size = 5 OK 2026/02/17 04:45:18 DEBUG : file1: Size of src and dst objects identical 2026/02/17 04:45:18 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/17 04:45:18 DEBUG : file1: WriteFileHandle.Flush nothing to do 2026/02/17 04:45:18 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:45:18 DEBUG : Looking for writers 2026/02/17 04:45:18 DEBUG : file1: reading active writers 2026/02/17 04:45:18 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 (9.41s) === RUN TestFileReadAtNonZeroLength run.go:185: Remote "mega root 'rclone-test-faroxox6pobe'", Local "Local file system at /tmp/rclone3775352715", Modify Window "876000h0m0s" 2026/02/17 04:45:25 INFO : mega root 'rclone-test-faroxox6pobe': poll-interval is not supported by this remote 2026/02/17 04:45:25 NOTICE: mega root 'rclone-test-faroxox6pobe': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/02/17 04:45:25 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/02/17 04:45:25 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/02/17 04:45:25 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/17 04:45:25 DEBUG : file1: >Open: fd=file1 (w), err= 2026/02/17 04:45:25 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/02/17 04:45:25 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/02/17 04:45:25 DEBUG : mega root 'rclone-test-faroxox6pobe': File to upload is small (100 bytes), uploading instead of streaming 2026/02/17 04:45:36 ERROR : file1: WriteFileHandle.New Rcat failed: upload file failed to create session: unexpected end of JSON input 2026/02/17 04:45:36 DEBUG : file1: Remove: 2026/02/17 04:45:36 DEBUG : Added virtual directory entry vDel: "file1" 2026/02/17 04:45:36 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/02/17 04:45:36 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2026/02/17 04:45:36 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/02/17 04:45:36 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:45:36 DEBUG : Looking for writers 2026/02/17 04:45:36 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtNonZeroLength (10.72s) === RUN TestZipManySubDirs run.go:185: Remote "mega root 'rclone-test-faroxox6pobe'", Local "Local file system at /tmp/rclone3775352715", Modify Window "876000h0m0s" 2026/02/17 04:45:36 INFO : mega root 'rclone-test-faroxox6pobe': poll-interval is not supported by this remote 2026/02/17 04:45:36 NOTICE: mega root 'rclone-test-faroxox6pobe': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/02/17 04:45:45 DEBUG : a/b/c/deep.txt: Open: flags=O_RDONLY 2026/02/17 04:45:45 DEBUG : a/b/c/deep.txt: >Open: fd=a/b/c/deep.txt (r), err= 2026/02/17 04:45:45 DEBUG : a/b/c/deep.txt: Set virtual modtime to 2026-02-17 04:45:45 +0000 UTC 2026/02/17 04:45:45 DEBUG : a/b/c/deep.txt: ChunkedReader.openRange at 0 length 134217728 2026/02/17 04:45:45 DEBUG : a/b/c/deep.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/02/17 04:45:45 DEBUG : a/b/mid.txt: Open: flags=O_RDONLY 2026/02/17 04:45:45 DEBUG : a/b/mid.txt: >Open: fd=a/b/mid.txt (r), err= 2026/02/17 04:45:45 DEBUG : a/b/mid.txt: Set virtual modtime to 2026-02-17 04:45:41 +0000 UTC 2026/02/17 04:45:45 DEBUG : a/b/mid.txt: ChunkedReader.openRange at 0 length 134217728 2026/02/17 04:45:45 DEBUG : a/b/mid.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/02/17 04:45:45 NOTICE: Unsolicited response received on idle HTTP channel starting with "\x02\xa5A\x02\xa5A"; err= 2026/02/17 04:45:45 DEBUG : a/top.txt: Open: flags=O_RDONLY 2026/02/17 04:45:45 DEBUG : a/top.txt: >Open: fd=a/top.txt (r), err= 2026/02/17 04:45:45 DEBUG : a/top.txt: Set virtual modtime to 2026-02-17 04:45:37 +0000 UTC 2026/02/17 04:45:45 DEBUG : a/top.txt: ChunkedReader.openRange at 0 length 134217728 2026/02/17 04:45:45 DEBUG : a/top.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/02/17 04:45:46 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:45:46 DEBUG : a/b/c: Looking for writers 2026/02/17 04:45:46 DEBUG : deep.txt: reading active writers 2026/02/17 04:45:46 DEBUG : a/b: Looking for writers 2026/02/17 04:45:46 DEBUG : c: reading active writers 2026/02/17 04:45:46 DEBUG : mid.txt: reading active writers 2026/02/17 04:45:46 DEBUG : a: Looking for writers 2026/02/17 04:45:46 DEBUG : b: reading active writers 2026/02/17 04:45:46 DEBUG : top.txt: reading active writers 2026/02/17 04:45:46 DEBUG : Looking for writers 2026/02/17 04:45:46 DEBUG : a: reading active writers 2026/02/17 04:45:46 DEBUG : >WaitForWriters: --- PASS: TestZipManySubDirs (22.93s) === RUN TestZipLargeFiles run.go:185: Remote "mega root 'rclone-test-faroxox6pobe'", Local "Local file system at /tmp/rclone3775352715", Modify Window "876000h0m0s" 2026/02/17 04:45:59 INFO : mega root 'rclone-test-faroxox6pobe': poll-interval is not supported by this remote 2026/02/17 04:45:59 NOTICE: mega root 'rclone-test-faroxox6pobe': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/02/17 04:46:01 DEBUG : bigdir/big.bin: Open: flags=O_RDONLY 2026/02/17 04:46:01 DEBUG : bigdir/big.bin: >Open: fd=bigdir/big.bin (r), err= 2026/02/17 04:46:01 DEBUG : bigdir/big.bin: Set virtual modtime to 2026-02-17 04:46:01 +0000 UTC 2026/02/17 04:46:01 DEBUG : bigdir/big.bin: ChunkedReader.openRange at 0 length 134217728 2026/02/17 04:46:01 DEBUG : bigdir/big.bin: ChunkedReader.Read at 0 length 4096 chunkOffset 0 chunkSize 134217728 2026/02/17 04:46:01 DEBUG : bigdir/big.bin: ChunkedReader.Read at 4096 length 8192 chunkOffset 0 chunkSize 134217728 2026/02/17 04:46:01 DEBUG : bigdir/big.bin: ChunkedReader.Read at 12288 length 16384 chunkOffset 0 chunkSize 134217728 2026/02/17 04:46:01 DEBUG : bigdir/big.bin: ChunkedReader.Read at 28672 length 32768 chunkOffset 0 chunkSize 134217728 2026/02/17 04:46:01 DEBUG : bigdir/big.bin: ChunkedReader.Read at 61440 length 65536 chunkOffset 0 chunkSize 134217728 2026/02/17 04:46:01 DEBUG : bigdir/big.bin: ChunkedReader.Read at 126976 length 131072 chunkOffset 0 chunkSize 134217728 2026/02/17 04:46:01 DEBUG : bigdir/big.bin: ChunkedReader.Read at 258048 length 262144 chunkOffset 0 chunkSize 134217728 2026/02/17 04:46:01 DEBUG : bigdir/big.bin: ChunkedReader.Read at 520192 length 524288 chunkOffset 0 chunkSize 134217728 2026/02/17 04:46:02 DEBUG : bigdir/big.bin: ChunkedReader.Read at 1044480 length 1048576 chunkOffset 0 chunkSize 134217728 2026/02/17 04:46:02 DEBUG : bigdir/big.bin: ChunkedReader.Read at 2093056 length 1048576 chunkOffset 0 chunkSize 134217728 2026/02/17 04:46:02 DEBUG : bigdir/big.bin: ChunkedReader.Read at 3141632 length 1048576 chunkOffset 0 chunkSize 134217728 2026/02/17 04:46:02 DEBUG : bigdir/big.bin: ChunkedReader.Read at 4190208 length 1048576 chunkOffset 0 chunkSize 134217728 2026/02/17 04:46:02 DEBUG : bigdir/big.bin: ChunkedReader.Read at 5238784 length 1048576 chunkOffset 0 chunkSize 134217728 2026/02/17 04:46:02 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:46:02 DEBUG : bigdir: Looking for writers 2026/02/17 04:46:02 DEBUG : big.bin: reading active writers 2026/02/17 04:46:02 DEBUG : Looking for writers 2026/02/17 04:46:02 DEBUG : bigdir: reading active writers 2026/02/17 04:46:02 DEBUG : >WaitForWriters: --- PASS: TestZipLargeFiles (4.77s) === RUN TestZipDirsInRoot run.go:185: Remote "mega root 'rclone-test-faroxox6pobe'", Local "Local file system at /tmp/rclone3775352715", Modify Window "876000h0m0s" 2026/02/17 04:46:03 INFO : mega root 'rclone-test-faroxox6pobe': poll-interval is not supported by this remote 2026/02/17 04:46:03 NOTICE: mega root 'rclone-test-faroxox6pobe': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/02/17 04:46:13 DEBUG : dir1/a.txt: Open: flags=O_RDONLY 2026/02/17 04:46:13 DEBUG : dir1/a.txt: >Open: fd=dir1/a.txt (r), err= 2026/02/17 04:46:13 DEBUG : dir1/a.txt: Set virtual modtime to 2026-02-17 04:46:05 +0000 UTC 2026/02/17 04:46:13 DEBUG : dir1/a.txt: ChunkedReader.openRange at 0 length 134217728 2026/02/17 04:46:14 DEBUG : dir1/a.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/02/17 04:46:14 NOTICE: Unsolicited response received on idle HTTP channel starting with "\"\""; err= 2026/02/17 04:46:14 DEBUG : dir2/b.txt: Open: flags=O_RDONLY 2026/02/17 04:46:14 DEBUG : dir2/b.txt: >Open: fd=dir2/b.txt (r), err= 2026/02/17 04:46:14 DEBUG : dir2/b.txt: Set virtual modtime to 2026-02-17 04:46:10 +0000 UTC 2026/02/17 04:46:14 DEBUG : dir2/b.txt: ChunkedReader.openRange at 0 length 134217728 2026/02/17 04:46:14 DEBUG : dir2/b.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/02/17 04:46:14 NOTICE: Unsolicited response received on idle HTTP channel starting with "\xc3\xc3"; err= 2026/02/17 04:46:14 DEBUG : dir3/c.txt: Open: flags=O_RDONLY 2026/02/17 04:46:14 DEBUG : dir3/c.txt: >Open: fd=dir3/c.txt (r), err= 2026/02/17 04:46:14 DEBUG : dir3/c.txt: Set virtual modtime to 2026-02-17 04:46:13 +0000 UTC 2026/02/17 04:46:14 DEBUG : dir3/c.txt: ChunkedReader.openRange at 0 length 134217728 2026/02/17 04:46:14 DEBUG : dir3/c.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/02/17 04:46:14 NOTICE: Unsolicited response received on idle HTTP channel starting with "\xf6\xf6"; err= 2026/02/17 04:46:14 DEBUG : WaitForWriters: timeout=30s 2026/02/17 04:46:14 DEBUG : dir1: Looking for writers 2026/02/17 04:46:14 DEBUG : a.txt: reading active writers 2026/02/17 04:46:14 DEBUG : dir2: Looking for writers 2026/02/17 04:46:14 DEBUG : b.txt: reading active writers 2026/02/17 04:46:14 DEBUG : dir3: Looking for writers 2026/02/17 04:46:14 DEBUG : c.txt: reading active writers 2026/02/17 04:46:14 DEBUG : Looking for writers 2026/02/17 04:46:14 DEBUG : dir1: reading active writers 2026/02/17 04:46:14 DEBUG : dir2: reading active writers 2026/02/17 04:46:14 DEBUG : dir3: reading active writers 2026/02/17 04:46:14 DEBUG : >WaitForWriters: --- PASS: TestZipDirsInRoot (15.47s) FAIL 2026/02/17 04:46:19 DEBUG : mega root 'rclone-test-faroxox6pobe': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestFileReadAtNonZeroLength|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestZipDirsInRoot|TestZipLargeFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 4m55.958317943s (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 TestFileReadAtNonZeroLength]