"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestDirMkdir|TestDirRemoveAll|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestRWFileHandleFlushRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestVFSMkdirAll|TestVFSStat|TestWriteFileHandleRelease|TestZipLargeFiles|TestZipManyFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false)$'" - Starting (try 2/5) 2026/03/02 05:34:53 DEBUG : Creating backend with remote "TestMega:rclone-test-kosidev5hiku" 2026/03/02 05:34:53 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/03/02 05:34:53 DEBUG : mega root 'rclone-test-kosidev5hiku': Using previously stored session ID and master key to initialize the Mega API 2026/03/02 05:35:06 DEBUG : Creating backend with remote "/tmp/rclone3788481234" === RUN TestDirMkdir run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:35:06 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:35:06 NOTICE: mega root 'rclone-test-kosidev5hiku': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/02 05:35:12 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2026/03/02 05:35:12 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:35:12 DEBUG : dir/sub: Looking for writers 2026/03/02 05:35:12 DEBUG : dir: Looking for writers 2026/03/02 05:35:12 DEBUG : file1: reading active writers 2026/03/02 05:35:12 DEBUG : sub: reading active writers 2026/03/02 05:35:12 DEBUG : Looking for writers 2026/03/02 05:35:12 DEBUG : dir: reading active writers 2026/03/02 05:35:12 DEBUG : >WaitForWriters: --- PASS: TestDirMkdir (7.61s) === RUN TestDirRemoveAll run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:35:13 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:35:13 NOTICE: mega root 'rclone-test-kosidev5hiku': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/02 05:35:14 DEBUG : dir/file1: Remove: 2026/03/02 05:35:15 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/02 05:35:15 DEBUG : dir/file1: >Remove: err= 2026/03/02 05:35:15 DEBUG : Added virtual directory entry vDel: "dir" 2026/03/02 05:35:15 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:35:15 DEBUG : Looking for writers 2026/03/02 05:35:15 DEBUG : >WaitForWriters: --- PASS: TestDirRemoveAll (1.70s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:35:15 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:35:15 NOTICE: mega root 'rclone-test-kosidev5hiku': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/02 05:35:21 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:35:21 DEBUG : dir: Looking for writers 2026/03/02 05:35:21 DEBUG : file1: reading active writers 2026/03/02 05:35:21 DEBUG : Looking for writers 2026/03/02 05:35:21 DEBUG : dir: reading active writers 2026/03/02 05:35:21 DEBUG : >WaitForWriters: 2026/03/02 05:35:23 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/02 05:35:23 DEBUG : newLeaf: Updating file with newLeaf 0xc0001a9440 2026/03/02 05:35:23 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/02 05:35:23 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 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 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/03/02 05:35:35 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/03/02 05:35:35 DEBUG : dir/file1: Updating file with dir/file1 0xc0001a9440 2026/03/02 05:35:35 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/03/02 05:35:35 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 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 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/03/02 05:35:42 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/03/02 05:35:42 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/03/02 05:35:42 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/02 05:35:42 DEBUG : dir/file1: File is currently open, delaying rename 0xc0001a9440 2026/03/02 05:35:42 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/02 05:35:42 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/02 05:35:42 DEBUG : mega root 'rclone-test-kosidev5hiku': File to upload is small (25 bytes), uploading instead of streaming 2026/03/02 05:35:47 DEBUG : dir/file1: size = 25 OK 2026/03/02 05:35:47 NOTICE: mega root 'rclone-test-kosidev5hiku': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2026/03/02 05:35:47 DEBUG : dir/file1: Size of src and dst objects identical 2026/03/02 05:35:47 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/02 05:35:47 DEBUG : newLeaf: Running delayed rename now 2026/03/02 05:35:47 INFO : newLeaf: Deleted 2026/03/02 05:35:48 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/02 05:35:48 DEBUG : newLeaf: Updating file with newLeaf 0xc0001a9440 2026/03/02 05:35:48 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:35:48 DEBUG : dir: Looking for writers 2026/03/02 05:35:48 DEBUG : Looking for writers 2026/03/02 05:35:48 DEBUG : dir: reading active writers 2026/03/02 05:35:48 DEBUG : newLeaf: reading active writers 2026/03/02 05:35:48 DEBUG : >WaitForWriters: 2026/03/02 05:35:48 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:35:48 DEBUG : dir: Looking for writers 2026/03/02 05:35:48 DEBUG : Looking for writers 2026/03/02 05:35:48 DEBUG : dir: reading active writers 2026/03/02 05:35:48 DEBUG : newLeaf: reading active writers 2026/03/02 05:35:48 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:35:50 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:35:50 NOTICE: mega root 'rclone-test-kosidev5hiku': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/02 05:35:50 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/02 05:35:50 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:35:50 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:35:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:35:50 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:35:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:35:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:35:50 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:35:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:35:50 INFO : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/03/02 05:35:52 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:35:52 DEBUG : dir: Looking for writers 2026/03/02 05:35:52 DEBUG : file1: reading active writers 2026/03/02 05:35:52 DEBUG : Looking for writers 2026/03/02 05:35:52 DEBUG : dir: reading active writers 2026/03/02 05:35:52 DEBUG : >WaitForWriters: 2026/03/02 05:35:52 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/02 05:35:52 DEBUG : newLeaf: Updating file with newLeaf 0xc004968780 2026/03/02 05:35:52 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/02 05:35: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 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 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/03/02 05:36:00 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/03/02 05:36:00 DEBUG : dir/file1: Updating file with dir/file1 0xc004968780 2026/03/02 05:36:00 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/03/02 05:36:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 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 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 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/03/02 05:36:07 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/03/02 05:36:07 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/03/02 05:36:07 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/02 05:36:07 DEBUG : dir/file1: File is currently open, delaying rename 0xc004968780 2026/03/02 05:36:07 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/02 05:36:07 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/02 05:36:07 DEBUG : mega root 'rclone-test-kosidev5hiku': File to upload is small (25 bytes), uploading instead of streaming 2026/03/02 05:36:18 ERROR : dir/file1: WriteFileHandle.New Rcat failed: failed to finish upload: unexpected end of JSON input 2026/03/02 05:36:18 DEBUG : newLeaf: Running delayed rename now 2026/03/02 05:36:29 INFO : newLeaf: Deleted 2026/03/02 05:36:41 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/02 05:36:41 DEBUG : newLeaf: Updating file with newLeaf 0xc004968780 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: failed to finish upload: unexpected end of JSON input Test: TestFileRename/minimal,forceCache=false 2026/03/02 05:36:41 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:36:41 DEBUG : dir: Looking for writers 2026/03/02 05:36:41 DEBUG : Looking for writers 2026/03/02 05:36:41 DEBUG : dir: reading active writers 2026/03/02 05:36:41 DEBUG : newLeaf: reading active writers 2026/03/02 05:36:41 DEBUG : >WaitForWriters: 2026/03/02 05:36:41 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:36:43 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:36:43 NOTICE: mega root 'rclone-test-kosidev5hiku': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/02 05:36:43 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/02 05:36:43 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:36:43 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:36:43 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:36:43 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:36:43 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:36:43 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:36:43 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:36:43 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:36:43 INFO : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/03/02 05:36:46 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/03/02 05:36:46 DEBUG : dir/file1: newRWFileHandle: 2026/03/02 05:36:46 DEBUG : dir/file1(0xc005350280): openPending: 2026/03/02 05:36:46 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/03/02 05:36:46 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/03/02 05:36:46 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/02 05:36:46 DEBUG : dir/file1(0xc005350280): >openPending: err= 2026/03/02 05:36:46 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/03/02 05:36:46 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/02 05:36:46 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/02 05:36:46 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/02 05:36:46 DEBUG : dir/file1(0xc005350280): _writeAt: size=14, off=0 2026/03/02 05:36:46 DEBUG : dir/file1(0xc005350280): >_writeAt: n=14, err= 2026/03/02 05:36:46 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/03/02 05:36:46 DEBUG : dir/file1(0xc005350280): close: 2026/03/02 05:36:46 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/03/02 05:36:46 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/03/02 05:36:46 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/03/02 05:36:46 DEBUG : dir/file1(0xc005350280): >close: err= 2026/03/02 05:36:46 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:36:46 DEBUG : dir: Looking for writers 2026/03/02 05:36:46 DEBUG : file1: reading active writers 2026/03/02 05:36:46 DEBUG : Looking for writers 2026/03/02 05:36:46 DEBUG : dir: reading active writers 2026/03/02 05:36:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/03/02 05:36:46 DEBUG : dir: Looking for writers 2026/03/02 05:36:46 DEBUG : file1: reading active writers 2026/03/02 05:36:46 DEBUG : Looking for writers 2026/03/02 05:36:46 DEBUG : dir: reading active writers 2026/03/02 05:36:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/03/02 05:36:46 DEBUG : dir: Looking for writers 2026/03/02 05:36:46 DEBUG : file1: reading active writers 2026/03/02 05:36:46 DEBUG : Looking for writers 2026/03/02 05:36:46 DEBUG : dir: reading active writers 2026/03/02 05:36:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/03/02 05:36:46 DEBUG : dir: Looking for writers 2026/03/02 05:36:46 DEBUG : file1: reading active writers 2026/03/02 05:36:46 DEBUG : Looking for writers 2026/03/02 05:36:46 DEBUG : dir: reading active writers 2026/03/02 05:36:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/03/02 05:36:46 DEBUG : dir/file1: vfs cache: starting upload 2026/03/02 05:36:46 DEBUG : dir: Looking for writers 2026/03/02 05:36:46 DEBUG : file1: reading active writers 2026/03/02 05:36:46 DEBUG : Looking for writers 2026/03/02 05:36:46 DEBUG : dir: reading active writers 2026/03/02 05:36:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/03/02 05:36:46 DEBUG : dir: Looking for writers 2026/03/02 05:36:46 DEBUG : file1: reading active writers 2026/03/02 05:36:46 DEBUG : Looking for writers 2026/03/02 05:36:46 DEBUG : dir: reading active writers 2026/03/02 05:36:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/03/02 05:36:46 DEBUG : dir: Looking for writers 2026/03/02 05:36:46 DEBUG : file1: reading active writers 2026/03/02 05:36:46 DEBUG : Looking for writers 2026/03/02 05:36:46 DEBUG : dir: reading active writers 2026/03/02 05:36:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/03/02 05:36:47 DEBUG : dir: Looking for writers 2026/03/02 05:36:47 DEBUG : file1: reading active writers 2026/03/02 05:36:47 DEBUG : Looking for writers 2026/03/02 05:36:47 DEBUG : dir: reading active writers 2026/03/02 05:36:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:36:48 DEBUG : dir: Looking for writers 2026/03/02 05:36:48 DEBUG : file1: reading active writers 2026/03/02 05:36:48 DEBUG : Looking for writers 2026/03/02 05:36:48 DEBUG : dir: reading active writers 2026/03/02 05:36:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:36:48 DEBUG : dir/file1: size = 14 OK 2026/03/02 05:36:48 INFO : dir/file1: Copied (replaced existing) 2026/03/02 05:36:48 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/03/02 05:36:48 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/03/02 05:36:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/02 05:36:48 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/03/02 05:36:49 DEBUG : dir: Looking for writers 2026/03/02 05:36:49 DEBUG : file1: reading active writers 2026/03/02 05:36:49 DEBUG : Looking for writers 2026/03/02 05:36:49 DEBUG : dir: reading active writers 2026/03/02 05:36:49 DEBUG : >WaitForWriters: 2026/03/02 05:36:49 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/03/02 05:36:49 DEBUG : dir/file1: newRWFileHandle: 2026/03/02 05:36:49 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/02 05:36:49 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/02 05:36:49 DEBUG : dir/file1(0xc005a6e080): _readAt: size=512, off=0 2026/03/02 05:36:49 DEBUG : dir/file1(0xc005a6e080): openPending: 2026/03/02 05:36:49 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/03/02 05:36:49 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/03/02 05:36:49 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/02 05:36:49 DEBUG : dir/file1(0xc005a6e080): >openPending: err= 2026/03/02 05:36:49 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/03/02 05:36:49 DEBUG : dir/file1(0xc005a6e080): >_readAt: n=14, err=EOF 2026/03/02 05:36:49 DEBUG : dir/file1(0xc005a6e080): close: 2026/03/02 05:36:49 DEBUG : dir/file1: vfs cache: setting modification time to 2026-03-02 05:36:46 +0000 UTC 2026/03/02 05:36:49 DEBUG : dir/file1(0xc005a6e080): >close: err= 2026/03/02 05:36:49 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/02 05:36:49 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/03/02 05:36:49 DEBUG : newLeaf: Updating file with newLeaf 0xc00535c180 2026/03/02 05:36:49 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/02 05:36:49 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/02 05:36:51 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/03/02 05:36:51 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/03/02 05:36:51 DEBUG : dir/file1: Updating file with dir/file1 0xc00535c180 2026/03/02 05:36:51 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/03/02 05:36:51 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 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 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/03/02 05:36:58 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/03/02 05:36:58 DEBUG : dir/file1: newRWFileHandle: 2026/03/02 05:36:58 DEBUG : dir/file1(0xc005351200): openPending: 2026/03/02 05:36:58 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/03/02 05:36:58 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/03/02 05:36:58 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/02 05:36:58 DEBUG : dir/file1(0xc005351200): >openPending: err= 2026/03/02 05:36:58 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/03/02 05:36:58 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/02 05:36:58 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/02 05:36:58 DEBUG : dir/file1(0xc005351200): _writeAt: size=25, off=0 2026/03/02 05:36:58 DEBUG : dir/file1(0xc005351200): >_writeAt: n=25, err= 2026/03/02 05:37:11 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/02 05:37:11 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/03/02 05:37:11 DEBUG : newLeaf: Updating file with newLeaf 0xc00535c180 2026/03/02 05:37:11 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/02 05:37:11 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/02 05:37:11 DEBUG : newLeaf(0xc005351200): close: 2026/03/02 05:37:11 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/03/02 05:37:11 DEBUG : newLeaf: vfs cache: setting modification time to 2026-03-02 05:36:58.875664906 +0000 UTC m=+125.644495535 2026/03/02 05:37:11 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/03/02 05:37:11 DEBUG : newLeaf(0xc005351200): >close: err= 2026/03/02 05:37:11 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:37:11 DEBUG : dir: Looking for writers 2026/03/02 05:37:11 DEBUG : Looking for writers 2026/03/02 05:37:11 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:11 DEBUG : dir: reading active writers 2026/03/02 05:37:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/03/02 05:37:11 DEBUG : dir: Looking for writers 2026/03/02 05:37:11 DEBUG : Looking for writers 2026/03/02 05:37:11 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:11 DEBUG : dir: reading active writers 2026/03/02 05:37:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/03/02 05:37:11 DEBUG : dir: Looking for writers 2026/03/02 05:37:11 DEBUG : Looking for writers 2026/03/02 05:37:11 DEBUG : dir: reading active writers 2026/03/02 05:37:11 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/03/02 05:37:11 DEBUG : dir: Looking for writers 2026/03/02 05:37:11 DEBUG : Looking for writers 2026/03/02 05:37:11 DEBUG : dir: reading active writers 2026/03/02 05:37:11 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/03/02 05:37:11 DEBUG : newLeaf: vfs cache: starting upload 2026/03/02 05:37:11 DEBUG : dir: Looking for writers 2026/03/02 05:37:11 DEBUG : Looking for writers 2026/03/02 05:37:11 DEBUG : dir: reading active writers 2026/03/02 05:37:11 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/03/02 05:37:11 DEBUG : dir: Looking for writers 2026/03/02 05:37:11 DEBUG : Looking for writers 2026/03/02 05:37:11 DEBUG : dir: reading active writers 2026/03/02 05:37:11 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/03/02 05:37:11 DEBUG : dir: Looking for writers 2026/03/02 05:37:11 DEBUG : Looking for writers 2026/03/02 05:37:11 DEBUG : dir: reading active writers 2026/03/02 05:37:11 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/03/02 05:37:12 DEBUG : dir: Looking for writers 2026/03/02 05:37:12 DEBUG : Looking for writers 2026/03/02 05:37:12 DEBUG : dir: reading active writers 2026/03/02 05:37:12 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:37:13 DEBUG : dir: Looking for writers 2026/03/02 05:37:13 DEBUG : Looking for writers 2026/03/02 05:37:13 DEBUG : dir: reading active writers 2026/03/02 05:37:13 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:37:14 DEBUG : dir: Looking for writers 2026/03/02 05:37:14 DEBUG : Looking for writers 2026/03/02 05:37:14 DEBUG : dir: reading active writers 2026/03/02 05:37:14 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:37:15 DEBUG : dir: Looking for writers 2026/03/02 05:37:15 DEBUG : Looking for writers 2026/03/02 05:37:15 DEBUG : dir: reading active writers 2026/03/02 05:37:15 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:37:16 DEBUG : dir: Looking for writers 2026/03/02 05:37:16 DEBUG : Looking for writers 2026/03/02 05:37:16 DEBUG : dir: reading active writers 2026/03/02 05:37:16 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:37:17 DEBUG : dir: Looking for writers 2026/03/02 05:37:17 DEBUG : Looking for writers 2026/03/02 05:37:17 DEBUG : dir: reading active writers 2026/03/02 05:37:17 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:37:18 DEBUG : dir: Looking for writers 2026/03/02 05:37:18 DEBUG : Looking for writers 2026/03/02 05:37:18 DEBUG : dir: reading active writers 2026/03/02 05:37:18 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:37:19 DEBUG : dir: Looking for writers 2026/03/02 05:37:19 DEBUG : Looking for writers 2026/03/02 05:37:19 DEBUG : dir: reading active writers 2026/03/02 05:37:19 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:37:20 DEBUG : dir: Looking for writers 2026/03/02 05:37:20 DEBUG : Looking for writers 2026/03/02 05:37:20 DEBUG : dir: reading active writers 2026/03/02 05:37:20 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:37:21 DEBUG : dir: Looking for writers 2026/03/02 05:37:21 DEBUG : Looking for writers 2026/03/02 05:37:21 DEBUG : dir: reading active writers 2026/03/02 05:37:21 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:37:22 ERROR : newLeaf: Failed to copy: failed to finish upload: unexpected end of JSON input 2026/03/02 05:37:22 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/03/02 05:37:22 DEBUG : newLeaf: vfs cache: starting upload 2026/03/02 05:37:22 DEBUG : dir: Looking for writers 2026/03/02 05:37:22 DEBUG : Looking for writers 2026/03/02 05:37:22 DEBUG : dir: reading active writers 2026/03/02 05:37:22 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:37:23 DEBUG : dir: Looking for writers 2026/03/02 05:37:23 DEBUG : Looking for writers 2026/03/02 05:37:23 DEBUG : dir: reading active writers 2026/03/02 05:37:23 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:37:24 DEBUG : dir: Looking for writers 2026/03/02 05:37:24 DEBUG : Looking for writers 2026/03/02 05:37:24 DEBUG : dir: reading active writers 2026/03/02 05:37:24 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:37:25 DEBUG : newLeaf: size = 25 OK 2026/03/02 05:37:25 INFO : newLeaf: Copied (replaced existing) 2026/03/02 05:37:25 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/03/02 05:37:25 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/03/02 05:37:25 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/02 05:37:25 INFO : newLeaf: vfs cache: upload succeeded try #2 2026/03/02 05:37:25 DEBUG : dir: Looking for writers 2026/03/02 05:37:25 DEBUG : Looking for writers 2026/03/02 05:37:25 DEBUG : dir: reading active writers 2026/03/02 05:37:25 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:25 DEBUG : >WaitForWriters: 2026/03/02 05:37:25 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:37:25 DEBUG : dir: Looking for writers 2026/03/02 05:37:25 DEBUG : Looking for writers 2026/03/02 05:37:25 DEBUG : dir: reading active writers 2026/03/02 05:37:25 DEBUG : newLeaf: reading active writers 2026/03/02 05:37:25 DEBUG : >WaitForWriters: 2026/03/02 05:37:25 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:37:26 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:37:26 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/02 05:37:26 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:37:26 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:37:26 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:37:26 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:37:26 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:37:26 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:37:26 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:37:26 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:37:26 INFO : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/03/02 05:37:28 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:37:28 DEBUG : dir: Looking for writers 2026/03/02 05:37:28 DEBUG : file1: reading active writers 2026/03/02 05:37:28 DEBUG : Looking for writers 2026/03/02 05:37:28 DEBUG : dir: reading active writers 2026/03/02 05:37:28 DEBUG : >WaitForWriters: 2026/03/02 05:37:28 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/02 05:37:28 DEBUG : newLeaf: Updating file with newLeaf 0xc0042d8a80 2026/03/02 05:37:28 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/02 05:37: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 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 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/03/02 05:37:57 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/03/02 05:37:57 DEBUG : dir/file1: Updating file with dir/file1 0xc0042d8a80 2026/03/02 05:37:57 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/03/02 05:37:57 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 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), 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 "file1" 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" 2026/03/02 05:38:04 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/03/02 05:38:04 DEBUG : dir/file1: newRWFileHandle: 2026/03/02 05:38:04 DEBUG : dir/file1(0xc00507e100): openPending: 2026/03/02 05:38:04 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/03/02 05:38:04 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/03/02 05:38:04 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/02 05:38:04 DEBUG : dir/file1(0xc00507e100): >openPending: err= 2026/03/02 05:38:04 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/03/02 05:38:04 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/02 05:38:04 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/02 05:38:04 DEBUG : dir/file1(0xc00507e100): _writeAt: size=25, off=0 2026/03/02 05:38:04 DEBUG : dir/file1(0xc00507e100): >_writeAt: n=25, err= 2026/03/02 05:38:05 INFO : newLeaf: Deleted 2026/03/02 05:38:26 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2026/03/02 05:38:26 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item newLeaf not removed, freed 0 bytes 2026/03/02 05:38:26 INFO : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 0, total size 25 (was 25) 2026/03/02 05:38:26 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/02 05:38:26 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/03/02 05:38:26 DEBUG : newLeaf: Updating file with newLeaf 0xc0042d8a80 2026/03/02 05:38:26 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/02 05:38:26 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/02 05:38:26 DEBUG : newLeaf(0xc00507e100): close: 2026/03/02 05:38:26 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/03/02 05:38:26 DEBUG : newLeaf: vfs cache: setting modification time to 2026-03-02 05:38:04.933097628 +0000 UTC m=+191.701928327 2026/03/02 05:38:26 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/03/02 05:38:26 DEBUG : newLeaf(0xc00507e100): >close: err= 2026/03/02 05:38:26 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:38:26 DEBUG : dir: Looking for writers 2026/03/02 05:38:26 DEBUG : Looking for writers 2026/03/02 05:38:26 DEBUG : dir: reading active writers 2026/03/02 05:38:26 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/03/02 05:38:26 DEBUG : dir: Looking for writers 2026/03/02 05:38:26 DEBUG : Looking for writers 2026/03/02 05:38:26 DEBUG : dir: reading active writers 2026/03/02 05:38:26 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/03/02 05:38:26 DEBUG : dir: Looking for writers 2026/03/02 05:38:26 DEBUG : Looking for writers 2026/03/02 05:38:26 DEBUG : dir: reading active writers 2026/03/02 05:38:26 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/03/02 05:38:26 DEBUG : dir: Looking for writers 2026/03/02 05:38:26 DEBUG : Looking for writers 2026/03/02 05:38:26 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:26 DEBUG : dir: reading active writers 2026/03/02 05:38:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/03/02 05:38:27 DEBUG : newLeaf: vfs cache: starting upload 2026/03/02 05:38:27 DEBUG : dir: Looking for writers 2026/03/02 05:38:27 DEBUG : Looking for writers 2026/03/02 05:38:27 DEBUG : dir: reading active writers 2026/03/02 05:38:27 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/03/02 05:38:27 DEBUG : dir: Looking for writers 2026/03/02 05:38:27 DEBUG : Looking for writers 2026/03/02 05:38:27 DEBUG : dir: reading active writers 2026/03/02 05:38:27 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/03/02 05:38:27 DEBUG : dir: Looking for writers 2026/03/02 05:38:27 DEBUG : Looking for writers 2026/03/02 05:38:27 DEBUG : dir: reading active writers 2026/03/02 05:38:27 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/03/02 05:38:28 DEBUG : dir: Looking for writers 2026/03/02 05:38:28 DEBUG : Looking for writers 2026/03/02 05:38:28 DEBUG : dir: reading active writers 2026/03/02 05:38:28 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:29 DEBUG : dir: Looking for writers 2026/03/02 05:38:29 DEBUG : Looking for writers 2026/03/02 05:38:29 DEBUG : dir: reading active writers 2026/03/02 05:38:29 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:30 DEBUG : dir: Looking for writers 2026/03/02 05:38:30 DEBUG : Looking for writers 2026/03/02 05:38:30 DEBUG : dir: reading active writers 2026/03/02 05:38:30 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:31 DEBUG : dir: Looking for writers 2026/03/02 05:38:31 DEBUG : Looking for writers 2026/03/02 05:38:31 DEBUG : dir: reading active writers 2026/03/02 05:38:31 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:32 DEBUG : dir: Looking for writers 2026/03/02 05:38:32 DEBUG : Looking for writers 2026/03/02 05:38:32 DEBUG : dir: reading active writers 2026/03/02 05:38:32 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:33 DEBUG : dir: Looking for writers 2026/03/02 05:38:33 DEBUG : Looking for writers 2026/03/02 05:38:33 DEBUG : dir: reading active writers 2026/03/02 05:38:33 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:34 DEBUG : dir: Looking for writers 2026/03/02 05:38:34 DEBUG : Looking for writers 2026/03/02 05:38:34 DEBUG : dir: reading active writers 2026/03/02 05:38:34 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:35 DEBUG : dir: Looking for writers 2026/03/02 05:38:35 DEBUG : Looking for writers 2026/03/02 05:38:35 DEBUG : dir: reading active writers 2026/03/02 05:38:35 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:36 DEBUG : dir: Looking for writers 2026/03/02 05:38:36 DEBUG : Looking for writers 2026/03/02 05:38:36 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:36 DEBUG : dir: reading active writers 2026/03/02 05:38:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:37 DEBUG : dir: Looking for writers 2026/03/02 05:38:37 DEBUG : Looking for writers 2026/03/02 05:38:37 DEBUG : dir: reading active writers 2026/03/02 05:38:37 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:37 ERROR : newLeaf: Failed to copy: upload file failed to create session: unexpected end of JSON input 2026/03/02 05:38:37 ERROR : newLeaf: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: upload file failed to create session: unexpected end of JSON input 2026/03/02 05:38:38 DEBUG : newLeaf: vfs cache: starting upload 2026/03/02 05:38:38 DEBUG : dir: Looking for writers 2026/03/02 05:38:38 DEBUG : Looking for writers 2026/03/02 05:38:38 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:38 DEBUG : dir: reading active writers 2026/03/02 05:38:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:39 DEBUG : dir: Looking for writers 2026/03/02 05:38:39 DEBUG : Looking for writers 2026/03/02 05:38:39 DEBUG : dir: reading active writers 2026/03/02 05:38:39 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:40 DEBUG : dir: Looking for writers 2026/03/02 05:38:40 DEBUG : Looking for writers 2026/03/02 05:38:40 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:40 DEBUG : dir: reading active writers 2026/03/02 05:38:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:41 DEBUG : dir: Looking for writers 2026/03/02 05:38:41 DEBUG : Looking for writers 2026/03/02 05:38:41 DEBUG : dir: reading active writers 2026/03/02 05:38:41 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:42 DEBUG : dir: Looking for writers 2026/03/02 05:38:42 DEBUG : Looking for writers 2026/03/02 05:38:42 DEBUG : dir: reading active writers 2026/03/02 05:38:42 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:43 DEBUG : dir: Looking for writers 2026/03/02 05:38:43 DEBUG : Looking for writers 2026/03/02 05:38:43 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:43 DEBUG : dir: reading active writers 2026/03/02 05:38:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:44 DEBUG : dir: Looking for writers 2026/03/02 05:38:44 DEBUG : Looking for writers 2026/03/02 05:38:44 DEBUG : dir: reading active writers 2026/03/02 05:38:44 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:45 DEBUG : dir: Looking for writers 2026/03/02 05:38:45 DEBUG : Looking for writers 2026/03/02 05:38:45 DEBUG : dir: reading active writers 2026/03/02 05:38:45 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:46 DEBUG : dir: Looking for writers 2026/03/02 05:38:46 DEBUG : Looking for writers 2026/03/02 05:38:46 DEBUG : dir: reading active writers 2026/03/02 05:38:46 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:47 DEBUG : dir: Looking for writers 2026/03/02 05:38:47 DEBUG : Looking for writers 2026/03/02 05:38:47 DEBUG : dir: reading active writers 2026/03/02 05:38:47 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:48 DEBUG : dir: Looking for writers 2026/03/02 05:38:48 DEBUG : Looking for writers 2026/03/02 05:38:48 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:48 DEBUG : dir: reading active writers 2026/03/02 05:38:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:48 ERROR : newLeaf: Failed to copy: upload file failed to create session: unexpected end of JSON input 2026/03/02 05:38:48 ERROR : newLeaf: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: upload file failed to create session: unexpected end of JSON input 2026/03/02 05:38:49 DEBUG : newLeaf: vfs cache: starting upload 2026/03/02 05:38:49 DEBUG : dir: Looking for writers 2026/03/02 05:38:49 DEBUG : Looking for writers 2026/03/02 05:38:49 DEBUG : dir: reading active writers 2026/03/02 05:38:49 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:50 DEBUG : dir: Looking for writers 2026/03/02 05:38:50 DEBUG : Looking for writers 2026/03/02 05:38:50 DEBUG : dir: reading active writers 2026/03/02 05:38:50 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:51 DEBUG : dir: Looking for writers 2026/03/02 05:38:51 DEBUG : Looking for writers 2026/03/02 05:38:51 DEBUG : dir: reading active writers 2026/03/02 05:38:51 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:38:52 DEBUG : newLeaf: size = 25 OK 2026/03/02 05:38:52 INFO : newLeaf: Copied (replaced existing) 2026/03/02 05:38:52 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/03/02 05:38:52 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/03/02 05:38:52 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/02 05:38:52 INFO : newLeaf: vfs cache: upload succeeded try #3 2026/03/02 05:38:52 DEBUG : dir: Looking for writers 2026/03/02 05:38:52 DEBUG : Looking for writers 2026/03/02 05:38:52 DEBUG : dir: reading active writers 2026/03/02 05:38:52 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:52 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want newLeaf (25) got newLeaf (14), newLeaf (25) fstest.go:150: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:150 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:195 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 Error: Not equal: expected: 25 actual : 14 Test: TestFileRename/writes,forceCache=false Messages: newLeaf: size incorrect file=25 vs obj=14 fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" 2026/03/02 05:38:59 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:38:59 DEBUG : dir: Looking for writers 2026/03/02 05:38:59 DEBUG : Looking for writers 2026/03/02 05:38:59 DEBUG : dir: reading active writers 2026/03/02 05:38:59 DEBUG : newLeaf: reading active writers 2026/03/02 05:38:59 DEBUG : >WaitForWriters: 2026/03/02 05:38:59 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaner exiting 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want got 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" === RUN TestFileRename/full,forceCache=false run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:39:09 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:39:09 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/02 05:39:09 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:39:09 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:39:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:39:09 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:39:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:39:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:39:09 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:39:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:39:09 INFO : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 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:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want dir/file1 (14) got 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:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /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 "newLeaf" 2026/03/02 05:39:18 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:39:18 DEBUG : dir: Looking for writers 2026/03/02 05:39:18 DEBUG : file1: reading active writers 2026/03/02 05:39:18 DEBUG : Looking for writers 2026/03/02 05:39:18 DEBUG : newLeaf: reading active writers 2026/03/02 05:39:18 DEBUG : dir: reading active writers 2026/03/02 05:39:18 DEBUG : >WaitForWriters: 2026/03/02 05:39:18 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/03/02 05:39:18 DEBUG : dir/file1: newRWFileHandle: 2026/03/02 05:39:18 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/02 05:39:18 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/02 05:39:18 DEBUG : dir/file1(0xc004871080): _readAt: size=512, off=0 2026/03/02 05:39:18 DEBUG : dir/file1(0xc004871080): openPending: 2026/03/02 05:39:18 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/03/02 05:39:18 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/03/02 05:39:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/02 05:39:18 DEBUG : dir/file1(0xc004871080): >openPending: err= 2026/03/02 05:39:18 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2026/03/02 05:39:18 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/03/02 05:39:18 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/02 05:39:18 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/03/02 05:39:18 DEBUG : dir/file1(0xc004871080): >_readAt: n=14, err=EOF 2026/03/02 05:39:18 DEBUG : dir/file1(0xc004871080): close: 2026/03/02 05:39:18 DEBUG : dir/file1: vfs cache: setting modification time to 2026-03-02 05:39:11 +0000 UTC 2026/03/02 05:39:18 DEBUG : dir/file1(0xc004871080): >close: err= 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:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want dir/file1 (14) got 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:338 /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 "newLeaf" 2026/03/02 05:39:28 INFO : newLeaf: Deleted 2026/03/02 05:39:28 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/02 05:39:28 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/03/02 05:39:28 DEBUG : newLeaf: Updating file with newLeaf 0xc000597500 2026/03/02 05:39:28 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/02 05: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 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want newLeaf (14) got newLeaf (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/full,forceCache=false Messages: Unexpected file "newLeaf" 2026/03/02 05:39:57 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/03/02 05:39:57 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/03/02 05:39:57 DEBUG : dir/file1: Updating file with dir/file1 0xc000597500 2026/03/02 05:39:57 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/03/02 05:39:57 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 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want dir/file1 (14) got 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/full,forceCache=false Messages: Unexpected file "newLeaf" 2026/03/02 05:40:04 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/03/02 05:40:04 DEBUG : dir/file1: newRWFileHandle: 2026/03/02 05:40:04 DEBUG : dir/file1(0xc00507f340): openPending: 2026/03/02 05:40:04 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/03/02 05:40:04 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/03/02 05:40:04 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/02 05:40:04 DEBUG : dir/file1(0xc00507f340): >openPending: err= 2026/03/02 05:40:04 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/03/02 05:40:04 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/02 05:40:04 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/02 05:40:04 DEBUG : dir/file1(0xc00507f340): _writeAt: size=25, off=0 2026/03/02 05:40:04 DEBUG : dir/file1(0xc00507f340): >_writeAt: n=25, err= 2026/03/02 05:40:04 INFO : newLeaf: Deleted 2026/03/02 05:40:05 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/02 05:40:05 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/03/02 05:40:05 DEBUG : newLeaf: Updating file with newLeaf 0xc000597500 2026/03/02 05:40:05 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/02 05:40:05 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/02 05:40:05 DEBUG : newLeaf(0xc00507f340): close: 2026/03/02 05:40:05 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/03/02 05:40:05 DEBUG : newLeaf: vfs cache: setting modification time to 2026-03-02 05:40:04.555291545 +0000 UTC m=+311.324122164 2026/03/02 05:40:05 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/03/02 05:40:05 DEBUG : newLeaf(0xc00507f340): >close: err= 2026/03/02 05:40:05 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:40:05 DEBUG : dir: Looking for writers 2026/03/02 05:40:05 DEBUG : Looking for writers 2026/03/02 05:40:05 DEBUG : dir: reading active writers 2026/03/02 05:40:05 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/03/02 05:40:05 DEBUG : dir: Looking for writers 2026/03/02 05:40:05 DEBUG : Looking for writers 2026/03/02 05:40:05 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:05 DEBUG : dir: reading active writers 2026/03/02 05:40:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/03/02 05:40:05 DEBUG : dir: Looking for writers 2026/03/02 05:40:05 DEBUG : Looking for writers 2026/03/02 05:40:05 DEBUG : dir: reading active writers 2026/03/02 05:40:05 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/03/02 05:40:05 DEBUG : dir: Looking for writers 2026/03/02 05:40:05 DEBUG : Looking for writers 2026/03/02 05:40:05 DEBUG : dir: reading active writers 2026/03/02 05:40:05 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/03/02 05:40:05 DEBUG : newLeaf: vfs cache: starting upload 2026/03/02 05:40:05 DEBUG : dir: Looking for writers 2026/03/02 05:40:05 DEBUG : Looking for writers 2026/03/02 05:40:05 DEBUG : dir: reading active writers 2026/03/02 05:40:05 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/03/02 05:40:05 DEBUG : dir: Looking for writers 2026/03/02 05:40:05 DEBUG : Looking for writers 2026/03/02 05:40:05 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:05 DEBUG : dir: reading active writers 2026/03/02 05:40:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/03/02 05:40:05 DEBUG : dir: Looking for writers 2026/03/02 05:40:05 DEBUG : Looking for writers 2026/03/02 05:40:05 DEBUG : dir: reading active writers 2026/03/02 05:40:05 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/03/02 05:40:06 DEBUG : dir: Looking for writers 2026/03/02 05:40:06 DEBUG : Looking for writers 2026/03/02 05:40:06 DEBUG : dir: reading active writers 2026/03/02 05:40:06 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:07 DEBUG : dir: Looking for writers 2026/03/02 05:40:07 DEBUG : Looking for writers 2026/03/02 05:40:07 DEBUG : dir: reading active writers 2026/03/02 05:40:07 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:08 DEBUG : dir: Looking for writers 2026/03/02 05:40:08 DEBUG : Looking for writers 2026/03/02 05:40:08 DEBUG : dir: reading active writers 2026/03/02 05:40:08 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:09 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item newLeaf not removed, freed 0 bytes 2026/03/02 05:40:09 INFO : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 25 (was 25) 2026/03/02 05:40:09 DEBUG : dir: Looking for writers 2026/03/02 05:40:09 DEBUG : Looking for writers 2026/03/02 05:40:09 DEBUG : dir: reading active writers 2026/03/02 05:40:09 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:10 DEBUG : dir: Looking for writers 2026/03/02 05:40:10 DEBUG : Looking for writers 2026/03/02 05:40:10 DEBUG : dir: reading active writers 2026/03/02 05:40:10 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:11 DEBUG : dir: Looking for writers 2026/03/02 05:40:11 DEBUG : Looking for writers 2026/03/02 05:40:11 DEBUG : dir: reading active writers 2026/03/02 05:40:11 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:12 DEBUG : dir: Looking for writers 2026/03/02 05:40:12 DEBUG : Looking for writers 2026/03/02 05:40:12 DEBUG : dir: reading active writers 2026/03/02 05:40:12 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:13 DEBUG : dir: Looking for writers 2026/03/02 05:40:13 DEBUG : Looking for writers 2026/03/02 05:40:13 DEBUG : dir: reading active writers 2026/03/02 05:40:13 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:14 DEBUG : dir: Looking for writers 2026/03/02 05:40:14 DEBUG : Looking for writers 2026/03/02 05:40:14 DEBUG : dir: reading active writers 2026/03/02 05:40:14 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:15 DEBUG : dir: Looking for writers 2026/03/02 05:40:15 DEBUG : Looking for writers 2026/03/02 05:40:15 DEBUG : dir: reading active writers 2026/03/02 05:40:15 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:15 ERROR : newLeaf: Failed to copy: upload file failed to create session: unexpected end of JSON input 2026/03/02 05:40:15 ERROR : newLeaf: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: upload file failed to create session: unexpected end of JSON input 2026/03/02 05:40:15 DEBUG : newLeaf: vfs cache: starting upload 2026/03/02 05:40:16 DEBUG : dir: Looking for writers 2026/03/02 05:40:16 DEBUG : Looking for writers 2026/03/02 05:40:16 DEBUG : dir: reading active writers 2026/03/02 05:40:16 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:17 DEBUG : dir: Looking for writers 2026/03/02 05:40:17 DEBUG : Looking for writers 2026/03/02 05:40:17 DEBUG : dir: reading active writers 2026/03/02 05:40:17 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:18 DEBUG : dir: Looking for writers 2026/03/02 05:40:18 DEBUG : Looking for writers 2026/03/02 05:40:18 DEBUG : dir: reading active writers 2026/03/02 05:40:18 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:19 DEBUG : dir: Looking for writers 2026/03/02 05:40:19 DEBUG : Looking for writers 2026/03/02 05:40:19 DEBUG : dir: reading active writers 2026/03/02 05:40:19 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:20 DEBUG : dir: Looking for writers 2026/03/02 05:40:20 DEBUG : Looking for writers 2026/03/02 05:40:20 DEBUG : dir: reading active writers 2026/03/02 05:40:20 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:21 DEBUG : dir: Looking for writers 2026/03/02 05:40:21 DEBUG : Looking for writers 2026/03/02 05:40:21 DEBUG : dir: reading active writers 2026/03/02 05:40:21 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:22 DEBUG : dir: Looking for writers 2026/03/02 05:40:22 DEBUG : Looking for writers 2026/03/02 05:40:22 DEBUG : dir: reading active writers 2026/03/02 05:40:22 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:23 DEBUG : dir: Looking for writers 2026/03/02 05:40:23 DEBUG : Looking for writers 2026/03/02 05:40:23 DEBUG : dir: reading active writers 2026/03/02 05:40:23 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:24 DEBUG : dir: Looking for writers 2026/03/02 05:40:24 DEBUG : Looking for writers 2026/03/02 05:40:24 DEBUG : dir: reading active writers 2026/03/02 05:40:24 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:25 DEBUG : dir: Looking for writers 2026/03/02 05:40:25 DEBUG : Looking for writers 2026/03/02 05:40:25 DEBUG : dir: reading active writers 2026/03/02 05:40:25 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:26 DEBUG : dir: Looking for writers 2026/03/02 05:40:26 DEBUG : Looking for writers 2026/03/02 05:40:26 DEBUG : dir: reading active writers 2026/03/02 05:40:26 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:26 ERROR : newLeaf: Failed to copy: upload file failed to create session: unexpected end of JSON input 2026/03/02 05:40:26 ERROR : newLeaf: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: upload file failed to create session: unexpected end of JSON input 2026/03/02 05:40:27 DEBUG : newLeaf: vfs cache: starting upload 2026/03/02 05:40:27 DEBUG : dir: Looking for writers 2026/03/02 05:40:27 DEBUG : Looking for writers 2026/03/02 05:40:27 DEBUG : dir: reading active writers 2026/03/02 05:40:27 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:28 DEBUG : dir: Looking for writers 2026/03/02 05:40:28 DEBUG : Looking for writers 2026/03/02 05:40:28 DEBUG : dir: reading active writers 2026/03/02 05:40:28 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:29 DEBUG : dir: Looking for writers 2026/03/02 05:40:29 DEBUG : Looking for writers 2026/03/02 05:40:29 DEBUG : dir: reading active writers 2026/03/02 05:40:29 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:30 DEBUG : dir: Looking for writers 2026/03/02 05:40:30 DEBUG : Looking for writers 2026/03/02 05:40:30 DEBUG : dir: reading active writers 2026/03/02 05:40:30 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:31 DEBUG : dir: Looking for writers 2026/03/02 05:40:31 DEBUG : Looking for writers 2026/03/02 05:40:31 DEBUG : dir: reading active writers 2026/03/02 05:40:31 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:32 DEBUG : dir: Looking for writers 2026/03/02 05:40:32 DEBUG : Looking for writers 2026/03/02 05:40:32 DEBUG : dir: reading active writers 2026/03/02 05:40:32 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:33 DEBUG : dir: Looking for writers 2026/03/02 05:40:33 DEBUG : Looking for writers 2026/03/02 05:40:33 DEBUG : dir: reading active writers 2026/03/02 05:40:33 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:34 DEBUG : dir: Looking for writers 2026/03/02 05:40:34 DEBUG : Looking for writers 2026/03/02 05:40:34 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:34 DEBUG : dir: reading active writers 2026/03/02 05:40:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:40:35 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "newLeaf": &{c:0xc005298d20 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc004338e08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824704208448} name:newLeaf opens:0 downloaders: o:0xc002c79060 fd: info:{ModTime:{wall:14006589072430666649 ext:311324122164 loc:0x45874c0} ATime:{wall:14006589072968012446 ext:311787726136 loc:0x45874c0} Size:25 Rs:[{Pos:0 Size:25}] Fingerprint:14 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2026/03/02 05:40:35 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2026/03/02 05:40:39 DEBUG : newLeaf: size = 25 OK 2026/03/02 05:40:39 INFO : newLeaf: Copied (replaced existing) 2026/03/02 05:40:39 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/03/02 05:40:39 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/03/02 05:40:39 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/02 05:40:39 INFO : newLeaf: vfs cache: upload succeeded try #3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want newLeaf (25) got newLeaf (14), newLeaf (14) fstest.go:150: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:150 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:195 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 Error: Not equal: expected: 25 actual : 14 Test: TestFileRename/full,forceCache=false Messages: newLeaf: size incorrect file=25 vs obj=14 fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "newLeaf" 2026/03/02 05:40:42 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:40:42 DEBUG : dir: Looking for writers 2026/03/02 05:40:42 DEBUG : Looking for writers 2026/03/02 05:40:42 DEBUG : dir: reading active writers 2026/03/02 05:40:42 DEBUG : newLeaf: reading active writers 2026/03/02 05:40:42 DEBUG : >WaitForWriters: 2026/03/02 05:40:42 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaner exiting 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want got 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "newLeaf" --- FAIL: TestFileRename (337.66s) --- FAIL: TestFileRename/off,forceCache=false (35.07s) --- FAIL: TestFileRename/minimal,forceCache=false (53.48s) --- FAIL: TestFileRename/minimal,forceCache=true (42.11s) --- FAIL: TestFileRename/writes,forceCache=false (102.93s) --- FAIL: TestFileRename/full,forceCache=false (104.07s) === RUN TestRWFileHandleSeek run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:40:53 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:40:53 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/02 05:40:53 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:40:53 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:40:53 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:40:53 DEBUG : Config file has changed externally - reloading 2026/03/02 05:40:53 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:40:53 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:40:53 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:40:53 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:40:53 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:40:53 INFO : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:290: Failed to put "dir/file1" to "mega root 'rclone-test-kosidev5hiku'": mkdir create node failed: unexpected end of JSON input 2026/03/02 05:41:03 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:41:03 DEBUG : Looking for writers 2026/03/02 05:41:03 DEBUG : >WaitForWriters: 2026/03/02 05:41:03 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaner exiting 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/panic.go:615 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1013 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1219 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:290 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:297 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:39 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:53 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:118 Error: Should be true Test: TestRWFileHandleSeek Messages: listing wrong, want got 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/panic.go:615 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1013 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1219 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:290 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:297 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:39 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:53 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:118 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 Error: Should be true Test: TestRWFileHandleSeek Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleSeek (17.57s) === RUN TestRWFileHandleReadAt run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:41:10 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:41:10 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/02 05:41:10 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:41:10 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:41:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:41:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:41:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:41:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:41:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:41:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:41:10 INFO : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:290: Failed to put "dir/file1" to "mega root 'rclone-test-kosidev5hiku'": mkdir create node failed: unexpected end of JSON input 2026/03/02 05:41:21 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:41:21 DEBUG : Looking for writers 2026/03/02 05:41:21 DEBUG : >WaitForWriters: 2026/03/02 05:41:21 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaner exiting 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/panic.go:615 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1013 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1219 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:290 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:297 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:39 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:53 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:167 Error: Should be true Test: TestRWFileHandleReadAt Messages: listing wrong, want got 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/panic.go:615 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1013 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1219 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:290 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:297 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:39 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:53 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:167 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 Error: Should be true Test: TestRWFileHandleReadAt Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleReadAt (18.00s) === RUN TestRWFileHandleFlushRead run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:41:28 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:41:28 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/02 05:41:28 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:41:28 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:41:28 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:41:28 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:41:28 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:41:28 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:41:28 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:41:28 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:41:28 INFO : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:290: Failed to put "dir/file1" to "mega root 'rclone-test-kosidev5hiku'": mkdir create node failed: unexpected end of JSON input 2026/03/02 05:41:39 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:41:39 DEBUG : Looking for writers 2026/03/02 05:41:39 DEBUG : >WaitForWriters: 2026/03/02 05:41:39 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaner exiting 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/panic.go:615 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1013 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1219 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:290 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:297 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:39 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:53 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:216 Error: Should be true Test: TestRWFileHandleFlushRead Messages: listing wrong, want got 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/panic.go:615 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1013 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1219 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:290 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:297 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:39 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:53 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:216 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 Error: Should be true Test: TestRWFileHandleFlushRead Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleFlushRead (18.57s) === RUN TestRWFileHandleReleaseRead run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:41:47 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:41:47 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/02 05:41:47 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:41:47 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:41:47 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:41:47 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:41:47 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:41:47 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:41:47 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:41:47 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:41:47 INFO : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 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/read_write_test.go:40 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:53 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:244 Error: Should be true Test: TestRWFileHandleReleaseRead Messages: listing wrong, want dir/file1 (16) got dir/file1 (16), 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/read_write_test.go:40 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:53 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:244 Error: Should be true Test: TestRWFileHandleReleaseRead Messages: Unexpected file "newLeaf" 2026/03/02 05:41:59 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/03/02 05:41:59 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/03/02 05:41:59 DEBUG : dir/file1: newRWFileHandle: 2026/03/02 05:41:59 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/02 05:41:59 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/02 05:41:59 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/03/02 05:41:59 DEBUG : dir/file1(0xc000864fc0): _readAt: size=256, off=0 2026/03/02 05:41:59 DEBUG : dir/file1(0xc000864fc0): openPending: 2026/03/02 05:41:59 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2026/03/02 05:41:59 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/03/02 05:41:59 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/02 05:41:59 DEBUG : dir/file1(0xc000864fc0): >openPending: err= 2026/03/02 05:41:59 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2026/03/02 05:41:59 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/03/02 05:41:59 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/02 05:41:59 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/03/02 05:42:00 DEBUG : dir/file1(0xc000864fc0): >_readAt: n=16, err=EOF 2026/03/02 05:42:00 DEBUG : dir/file1(0xc000864fc0): RWFileHandle.Release 2026/03/02 05:42:00 DEBUG : dir/file1(0xc000864fc0): close: 2026/03/02 05:42:00 DEBUG : dir/file1: vfs cache: setting modification time to 2026-03-02 05:41:51 +0000 UTC 2026/03/02 05:42:00 DEBUG : dir/file1(0xc000864fc0): >close: err= 2026/03/02 05:42:00 DEBUG : dir/file1(0xc000864fc0): RWFileHandle.Release 2026/03/02 05:42:00 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:42:00 DEBUG : dir: Looking for writers 2026/03/02 05:42:00 DEBUG : file1: reading active writers 2026/03/02 05:42:00 DEBUG : Looking for writers 2026/03/02 05:42:00 DEBUG : dir: reading active writers 2026/03/02 05:42:00 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:00 DEBUG : >WaitForWriters: 2026/03/02 05:42:00 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaner exiting 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 Error: Should be true Test: TestRWFileHandleReleaseRead Messages: listing wrong, want got 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 Error: Should be true Test: TestRWFileHandleReleaseRead Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleReleaseRead (21.74s) === RUN TestRWFileHandleMethodsWrite run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:42:08 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:42:08 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/02 05:42:08 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:42:08 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:42:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:42:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:42:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:42:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:42:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:42:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:42:08 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/03/02 05:42:08 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/03/02 05:42:08 DEBUG : file1: newRWFileHandle: 2026/03/02 05:42:08 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2026/03/02 05:42:08 INFO : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/03/02 05:42:08 DEBUG : file1(0xc005351940): openPending: 2026/03/02 05:42:08 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2026/03/02 05:42:08 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/02 05:42:08 DEBUG : file1(0xc005351940): >openPending: err= 2026/03/02 05:42:08 DEBUG : file1: >newRWFileHandle: err= 2026/03/02 05:42:08 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/02 05:42:08 DEBUG : file1: >Open: fd=file1 (rw), err= 2026/03/02 05:42:08 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2026/03/02 05:42:08 DEBUG : file1(0xc005351940): _writeAt: size=5, off=0 2026/03/02 05:42:08 DEBUG : file1(0xc005351940): >_writeAt: n=5, err= 2026/03/02 05:42:08 DEBUG : file1(0xc005351940): _writeAt: size=7, off=5 2026/03/02 05:42:08 DEBUG : file1(0xc005351940): >_writeAt: n=7, err= 2026/03/02 05:42:08 DEBUG : file1: vfs cache: truncate to size=11 2026/03/02 05:42:08 DEBUG : file1(0xc005351940): close: 2026/03/02 05:42:08 DEBUG : file1: vfs cache: setting modification time to 2026-03-02 05:42:08.979668722 +0000 UTC m=+435.748499351 2026/03/02 05:42:08 INFO : file1: vfs cache: queuing for upload in 100ms 2026/03/02 05:42:08 DEBUG : file1(0xc005351940): >close: err= 2026/03/02 05:42:08 DEBUG : file1(0xc005351940): close: 2026/03/02 05:42:08 DEBUG : file1(0xc005351940): >close: err=file already closed dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:332 Error: Not equal: expected: []string{"file1,11,false"} actual : []string{"file1,11,false", "newLeaf,14,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=1) { - (string) (len=14) "file1,11,false" +([]string) (len=2) { + (string) (len=14) "file1,11,false", + (string) (len=16) "newLeaf,14,false" } Test: TestRWFileHandleMethodsWrite 2026/03/02 05:42:08 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:42:08 DEBUG : Looking for writers 2026/03/02 05:42:08 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:08 DEBUG : file1: reading active writers 2026/03/02 05:42:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/03/02 05:42:08 DEBUG : Looking for writers 2026/03/02 05:42:08 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:08 DEBUG : file1: reading active writers 2026/03/02 05:42:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/03/02 05:42:09 DEBUG : Looking for writers 2026/03/02 05:42:09 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:09 DEBUG : file1: reading active writers 2026/03/02 05:42:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/03/02 05:42:09 DEBUG : Looking for writers 2026/03/02 05:42:09 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:09 DEBUG : file1: reading active writers 2026/03/02 05:42:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/03/02 05:42:09 DEBUG : file1: vfs cache: starting upload 2026/03/02 05:42:09 DEBUG : Looking for writers 2026/03/02 05:42:09 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:09 DEBUG : file1: reading active writers 2026/03/02 05:42:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/03/02 05:42:09 DEBUG : Looking for writers 2026/03/02 05:42:09 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:09 DEBUG : file1: reading active writers 2026/03/02 05:42:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/03/02 05:42:09 DEBUG : Looking for writers 2026/03/02 05:42:09 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:09 DEBUG : file1: reading active writers 2026/03/02 05:42:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/03/02 05:42:10 DEBUG : file1: size = 11 OK 2026/03/02 05:42:10 INFO : file1: Copied (new) 2026/03/02 05:42:10 DEBUG : file1: vfs cache: fingerprint now "11" 2026/03/02 05:42:10 DEBUG : file1: vfs cache: writeback object to VFS layer 2026/03/02 05:42:10 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/02 05:42:10 INFO : file1: vfs cache: upload succeeded try #1 2026/03/02 05:42:10 DEBUG : Looking for writers 2026/03/02 05:42:10 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:10 DEBUG : file1: reading active writers 2026/03/02 05:42:10 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:337 Error: Should be true Test: TestRWFileHandleMethodsWrite Messages: listing wrong, want file1 (11) got file1 (11), 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/vfs/read_write_test.go:337 Error: Should be true Test: TestRWFileHandleMethodsWrite Messages: Unexpected file "newLeaf" 2026/03/02 05:42:17 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:42:17 DEBUG : Looking for writers 2026/03/02 05:42:17 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:17 DEBUG : file1: reading active writers 2026/03/02 05:42:17 DEBUG : >WaitForWriters: 2026/03/02 05:42:17 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaner exiting 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 Error: Should be true Test: TestRWFileHandleMethodsWrite Messages: listing wrong, want got 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 Error: Should be true Test: TestRWFileHandleMethodsWrite Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleMethodsWrite (15.45s) === RUN TestRWFileHandleWriteAt run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:42:24 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:42:24 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/02 05:42:24 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:42:24 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:42:24 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:42:24 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:42:24 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:42:24 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:42:24 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:42:24 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:42:24 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/03/02 05:42:24 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/03/02 05:42:24 DEBUG : file1: newRWFileHandle: 2026/03/02 05:42:24 DEBUG : file1(0xc00507ea80): openPending: 2026/03/02 05:42:24 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2026/03/02 05:42:24 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2026/03/02 05:42:24 INFO : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 0 (was 0) 2026/03/02 05:42:24 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/02 05:42:24 DEBUG : file1(0xc00507ea80): >openPending: err= 2026/03/02 05:42:24 DEBUG : file1: >newRWFileHandle: err= 2026/03/02 05:42:24 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/02 05:42:24 DEBUG : file1: >Open: fd=file1 (rw), err= 2026/03/02 05:42:24 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2026/03/02 05:42:24 DEBUG : file1(0xc00507ea80): _writeAt: size=7, off=0 2026/03/02 05:42:24 DEBUG : file1(0xc00507ea80): >_writeAt: n=7, err= 2026/03/02 05:42:24 DEBUG : file1(0xc00507ea80): _writeAt: size=6, off=5 2026/03/02 05:42:24 DEBUG : file1(0xc00507ea80): >_writeAt: n=6, err= 2026/03/02 05:42:24 DEBUG : file1(0xc00507ea80): close: 2026/03/02 05:42:24 DEBUG : file1: vfs cache: setting modification time to 2026-03-02 05:42:24.419697412 +0000 UTC m=+451.188528041 2026/03/02 05:42:24 INFO : file1: vfs cache: queuing for upload in 100ms 2026/03/02 05:42:24 DEBUG : file1(0xc00507ea80): >close: err= 2026/03/02 05:42:24 DEBUG : file1(0xc00507ea80): _writeAt: size=5, off=0 2026/03/02 05:42:24 DEBUG : file1(0xc00507ea80): >_writeAt: n=0, err=file already closed dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:382 Error: Not equal: expected: []string{"file1,11,false"} actual : []string{"file1,11,false", "newLeaf,14,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=1) { - (string) (len=14) "file1,11,false" +([]string) (len=2) { + (string) (len=14) "file1,11,false", + (string) (len=16) "newLeaf,14,false" } Test: TestRWFileHandleWriteAt 2026/03/02 05:42:24 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:42:24 DEBUG : Looking for writers 2026/03/02 05:42:24 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:24 DEBUG : file1: reading active writers 2026/03/02 05:42:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/03/02 05:42:24 DEBUG : Looking for writers 2026/03/02 05:42:24 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:24 DEBUG : file1: reading active writers 2026/03/02 05:42:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/03/02 05:42:24 DEBUG : Looking for writers 2026/03/02 05:42:24 DEBUG : file1: reading active writers 2026/03/02 05:42:24 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/03/02 05:42:24 DEBUG : Looking for writers 2026/03/02 05:42:24 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:24 DEBUG : file1: reading active writers 2026/03/02 05:42:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/03/02 05:42:24 DEBUG : file1: vfs cache: starting upload 2026/03/02 05:42:24 DEBUG : Looking for writers 2026/03/02 05:42:24 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:24 DEBUG : file1: reading active writers 2026/03/02 05:42:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/03/02 05:42:24 DEBUG : Looking for writers 2026/03/02 05:42:24 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:24 DEBUG : file1: reading active writers 2026/03/02 05:42:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/03/02 05:42:25 DEBUG : Looking for writers 2026/03/02 05:42:25 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:25 DEBUG : file1: reading active writers 2026/03/02 05:42:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/03/02 05:42:25 DEBUG : Looking for writers 2026/03/02 05:42:25 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:25 DEBUG : file1: reading active writers 2026/03/02 05:42:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:42:26 DEBUG : Looking for writers 2026/03/02 05:42:26 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:26 DEBUG : file1: reading active writers 2026/03/02 05:42:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:42:27 DEBUG : Looking for writers 2026/03/02 05:42:27 DEBUG : file1: reading active writers 2026/03/02 05:42:27 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:42:28 DEBUG : Looking for writers 2026/03/02 05:42:28 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:28 DEBUG : file1: reading active writers 2026/03/02 05:42:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:42:29 DEBUG : Looking for writers 2026/03/02 05:42:29 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:29 DEBUG : file1: reading active writers 2026/03/02 05:42:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:42:30 DEBUG : Looking for writers 2026/03/02 05:42:30 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:30 DEBUG : file1: reading active writers 2026/03/02 05:42:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:42:31 DEBUG : Looking for writers 2026/03/02 05:42:31 DEBUG : file1: reading active writers 2026/03/02 05:42:31 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:42:32 DEBUG : Looking for writers 2026/03/02 05:42:32 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:32 DEBUG : file1: reading active writers 2026/03/02 05:42:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:42:33 DEBUG : Looking for writers 2026/03/02 05:42:33 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:33 DEBUG : file1: reading active writers 2026/03/02 05:42:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:42:34 DEBUG : Looking for writers 2026/03/02 05:42:34 DEBUG : file1: reading active writers 2026/03/02 05:42:34 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:42:35 ERROR : file1: Failed to copy: upload file failed to create session: unexpected end of JSON input 2026/03/02 05:42:35 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: upload file failed to create session: unexpected end of JSON input 2026/03/02 05:42:35 DEBUG : file1: vfs cache: starting upload 2026/03/02 05:42:35 DEBUG : Looking for writers 2026/03/02 05:42:35 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:35 DEBUG : file1: reading active writers 2026/03/02 05:42:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:42:36 DEBUG : Looking for writers 2026/03/02 05:42:36 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:36 DEBUG : file1: reading active writers 2026/03/02 05:42:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:42:37 DEBUG : Looking for writers 2026/03/02 05:42:37 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:37 DEBUG : file1: reading active writers 2026/03/02 05:42:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:42:37 DEBUG : file1: size = 11 OK 2026/03/02 05:42:37 INFO : file1: Copied (new) 2026/03/02 05:42:37 DEBUG : file1: vfs cache: fingerprint now "11" 2026/03/02 05:42:37 DEBUG : file1: vfs cache: writeback object to VFS layer 2026/03/02 05:42:37 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/02 05:42:37 INFO : file1: vfs cache: upload succeeded try #2 2026/03/02 05:42:38 DEBUG : Looking for writers 2026/03/02 05:42:38 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:38 DEBUG : file1: reading active writers 2026/03/02 05:42:38 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387 Error: Should be true Test: TestRWFileHandleWriteAt Messages: listing wrong, want file1 (11) got file1 (11), 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/vfs/read_write_test.go:387 Error: Should be true Test: TestRWFileHandleWriteAt Messages: Unexpected file "newLeaf" 2026/03/02 05:42:45 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:42:45 DEBUG : Looking for writers 2026/03/02 05:42:45 DEBUG : newLeaf: reading active writers 2026/03/02 05:42:45 DEBUG : file1: reading active writers 2026/03/02 05:42:45 DEBUG : >WaitForWriters: 2026/03/02 05:42:45 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaner exiting 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 Error: Should be true Test: TestRWFileHandleWriteAt Messages: listing wrong, want got 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 Error: Should be true Test: TestRWFileHandleWriteAt Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleWriteAt (39.33s) === RUN TestRWFileHandleWriteNoWrite run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:43:03 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:43:03 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/02 05:43:03 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:43:03 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:43:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:43:03 DEBUG : Config file has changed externally - reloading 2026/03/02 05:43:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:43:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:43:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:43:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:43:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:43:03 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/03/02 05:43:03 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/03/02 05:43:03 DEBUG : file1: newRWFileHandle: 2026/03/02 05:43:03 DEBUG : file1(0xc00105e700): openPending: 2026/03/02 05:43:03 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2026/03/02 05:43:03 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/02 05:43:03 DEBUG : file1(0xc00105e700): >openPending: err= 2026/03/02 05:43:03 DEBUG : file1: >newRWFileHandle: err= 2026/03/02 05:43:03 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/02 05:43:03 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2026/03/02 05:43:03 DEBUG : file1: >Open: fd=file1 (rw), err= 2026/03/02 05:43:03 INFO : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 0 (was 0) 2026/03/02 05:43:03 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2026/03/02 05:43:03 DEBUG : file1(0xc00105e700): close: 2026/03/02 05:43:03 DEBUG : file1: vfs cache: setting modification time to 2026-03-02 05:43:03.785211846 +0000 UTC m=+490.554042455 2026/03/02 05:43:03 INFO : file1: vfs cache: queuing for upload in 100ms 2026/03/02 05:43:03 DEBUG : file1(0xc00105e700): >close: err= 2026/03/02 05:43:03 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/03/02 05:43:03 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/03/02 05:43:03 DEBUG : file2: newRWFileHandle: 2026/03/02 05:43:03 DEBUG : file2(0xc00105eb80): openPending: 2026/03/02 05:43:03 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2026/03/02 05:43:03 DEBUG : Added virtual directory entry vAddFile: "file2" 2026/03/02 05:43:03 DEBUG : file2(0xc00105eb80): >openPending: err= 2026/03/02 05:43:03 DEBUG : file2: >newRWFileHandle: err= 2026/03/02 05:43:03 DEBUG : Added virtual directory entry vAddFile: "file2" 2026/03/02 05:43:03 DEBUG : file2: >Open: fd=file2 (rw), err= 2026/03/02 05:43:03 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2026/03/02 05:43:03 DEBUG : file2(0xc00105eb80): RWFileHandle.Flush 2026/03/02 05:43:03 DEBUG : file2(0xc00105eb80): RWFileHandle.Release 2026/03/02 05:43:03 DEBUG : file2(0xc00105eb80): close: 2026/03/02 05:43:03 DEBUG : file2: vfs cache: setting modification time to 2026-03-02 05:43:03.787092011 +0000 UTC m=+490.555922600 2026/03/02 05:43:03 INFO : file2: vfs cache: queuing for upload in 100ms 2026/03/02 05:43:03 DEBUG : file2(0xc00105eb80): >close: err= dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:414 Error: Not equal: expected: []string{"file1,0,false", "file2,0,false"} actual : []string{"file1,0,false", "file2,0,false", "newLeaf,14,false"} Diff: --- Expected +++ Actual @@ -1,4 +1,5 @@ -([]string) (len=2) { +([]string) (len=3) { (string) (len=13) "file1,0,false", - (string) (len=13) "file2,0,false" + (string) (len=13) "file2,0,false", + (string) (len=16) "newLeaf,14,false" } Test: TestRWFileHandleWriteNoWrite 2026/03/02 05:43:03 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:43:03 DEBUG : Looking for writers 2026/03/02 05:43:03 DEBUG : file2: reading active writers 2026/03/02 05:43:03 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:03 DEBUG : file1: reading active writers 2026/03/02 05:43:03 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2026/03/02 05:43:03 DEBUG : Looking for writers 2026/03/02 05:43:03 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:03 DEBUG : file1: reading active writers 2026/03/02 05:43:03 DEBUG : file2: reading active writers 2026/03/02 05:43:03 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2026/03/02 05:43:03 DEBUG : Looking for writers 2026/03/02 05:43:03 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:03 DEBUG : file1: reading active writers 2026/03/02 05:43:03 DEBUG : file2: reading active writers 2026/03/02 05:43:03 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2026/03/02 05:43:03 DEBUG : Looking for writers 2026/03/02 05:43:03 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:03 DEBUG : file1: reading active writers 2026/03/02 05:43:03 DEBUG : file2: reading active writers 2026/03/02 05:43:03 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2026/03/02 05:43:03 DEBUG : file2: vfs cache: starting upload 2026/03/02 05:43:03 DEBUG : file1: vfs cache: starting upload 2026/03/02 05:43:03 DEBUG : Looking for writers 2026/03/02 05:43:03 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:03 DEBUG : file1: reading active writers 2026/03/02 05:43:03 DEBUG : file2: reading active writers 2026/03/02 05:43:03 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2026/03/02 05:43:04 DEBUG : Looking for writers 2026/03/02 05:43:04 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:04 DEBUG : file1: reading active writers 2026/03/02 05:43:04 DEBUG : file2: reading active writers 2026/03/02 05:43:04 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2026/03/02 05:43:04 DEBUG : Looking for writers 2026/03/02 05:43:04 DEBUG : file2: reading active writers 2026/03/02 05:43:04 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:04 DEBUG : file1: reading active writers 2026/03/02 05:43:04 DEBUG : Still 0 writers active and 2 cache items in use, waiting 640ms 2026/03/02 05:43:05 DEBUG : Looking for writers 2026/03/02 05:43:05 DEBUG : file1: reading active writers 2026/03/02 05:43:05 DEBUG : file2: reading active writers 2026/03/02 05:43:05 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:05 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2026/03/02 05:43:06 DEBUG : Looking for writers 2026/03/02 05:43:06 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:06 DEBUG : file1: reading active writers 2026/03/02 05:43:06 DEBUG : file2: reading active writers 2026/03/02 05:43:06 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2026/03/02 05:43:07 DEBUG : Looking for writers 2026/03/02 05:43:07 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:07 DEBUG : file1: reading active writers 2026/03/02 05:43:07 DEBUG : file2: reading active writers 2026/03/02 05:43:07 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2026/03/02 05:43:08 DEBUG : Looking for writers 2026/03/02 05:43:08 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:08 DEBUG : file1: reading active writers 2026/03/02 05:43:08 DEBUG : file2: reading active writers 2026/03/02 05:43:08 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2026/03/02 05:43:09 DEBUG : Looking for writers 2026/03/02 05:43:09 DEBUG : file1: reading active writers 2026/03/02 05:43:09 DEBUG : file2: reading active writers 2026/03/02 05:43:09 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:09 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2026/03/02 05:43:10 DEBUG : Looking for writers 2026/03/02 05:43:10 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:10 DEBUG : file1: reading active writers 2026/03/02 05:43:10 DEBUG : file2: reading active writers 2026/03/02 05:43:10 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2026/03/02 05:43:11 DEBUG : Looking for writers 2026/03/02 05:43:11 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:11 DEBUG : file1: reading active writers 2026/03/02 05:43:11 DEBUG : file2: reading active writers 2026/03/02 05:43:11 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2026/03/02 05:43:12 DEBUG : Looking for writers 2026/03/02 05:43:12 DEBUG : file1: reading active writers 2026/03/02 05:43:12 DEBUG : file2: reading active writers 2026/03/02 05:43:12 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:12 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2026/03/02 05:43:13 DEBUG : Looking for writers 2026/03/02 05:43:13 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:13 DEBUG : file1: reading active writers 2026/03/02 05:43:13 DEBUG : file2: reading active writers 2026/03/02 05:43:13 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2026/03/02 05:43:14 DEBUG : Looking for writers 2026/03/02 05:43:14 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:14 DEBUG : file1: reading active writers 2026/03/02 05:43:14 DEBUG : file2: reading active writers 2026/03/02 05:43:14 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2026/03/02 05:43:14 ERROR : file2: Failed to copy: upload file failed to create session: unexpected end of JSON input 2026/03/02 05:43:14 ERROR : file2: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: upload file failed to create session: unexpected end of JSON input 2026/03/02 05:43:14 DEBUG : file2: vfs cache: starting upload 2026/03/02 05:43:15 DEBUG : Looking for writers 2026/03/02 05:43:15 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:15 DEBUG : file1: reading active writers 2026/03/02 05:43:15 DEBUG : file2: reading active writers 2026/03/02 05:43:15 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2026/03/02 05:43:16 DEBUG : Looking for writers 2026/03/02 05:43:16 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:16 DEBUG : file1: reading active writers 2026/03/02 05:43:16 DEBUG : file2: reading active writers 2026/03/02 05:43:16 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2026/03/02 05:43:17 DEBUG : Looking for writers 2026/03/02 05:43:17 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:17 DEBUG : file1: reading active writers 2026/03/02 05:43:17 DEBUG : file2: reading active writers 2026/03/02 05:43:17 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2026/03/02 05:43:18 DEBUG : Looking for writers 2026/03/02 05:43:18 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:18 DEBUG : file1: reading active writers 2026/03/02 05:43:18 DEBUG : file2: reading active writers 2026/03/02 05:43:18 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2026/03/02 05:43:19 DEBUG : Looking for writers 2026/03/02 05:43:19 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:19 DEBUG : file1: reading active writers 2026/03/02 05:43:19 DEBUG : file2: reading active writers 2026/03/02 05:43:19 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2026/03/02 05:43:20 DEBUG : Looking for writers 2026/03/02 05:43:20 DEBUG : file1: reading active writers 2026/03/02 05:43:20 DEBUG : file2: reading active writers 2026/03/02 05:43:20 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:20 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2026/03/02 05:43:21 DEBUG : Looking for writers 2026/03/02 05:43:21 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:21 DEBUG : file1: reading active writers 2026/03/02 05:43:21 DEBUG : file2: reading active writers 2026/03/02 05:43:21 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2026/03/02 05:43:22 DEBUG : Looking for writers 2026/03/02 05:43:22 DEBUG : file2: reading active writers 2026/03/02 05:43:22 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:22 DEBUG : file1: reading active writers 2026/03/02 05:43:22 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2026/03/02 05:43:23 DEBUG : Looking for writers 2026/03/02 05:43:23 DEBUG : file1: reading active writers 2026/03/02 05:43:23 DEBUG : file2: reading active writers 2026/03/02 05:43:23 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:23 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2026/03/02 05:43:24 DEBUG : Looking for writers 2026/03/02 05:43:24 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:24 DEBUG : file1: reading active writers 2026/03/02 05:43:24 DEBUG : file2: reading active writers 2026/03/02 05:43:24 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2026/03/02 05:43:25 ERROR : file1: Failed to copy: upload file failed to create session: unexpected end of JSON input 2026/03/02 05:43:25 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: upload file failed to create session: unexpected end of JSON input 2026/03/02 05:43:25 DEBUG : Looking for writers 2026/03/02 05:43:25 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:25 DEBUG : file1: reading active writers 2026/03/02 05:43:25 DEBUG : file2: reading active writers 2026/03/02 05:43:25 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2026/03/02 05:43:25 DEBUG : file2: size = 0 OK 2026/03/02 05:43:25 INFO : file2: Copied (new) 2026/03/02 05:43:25 DEBUG : file2: vfs cache: fingerprint now "0" 2026/03/02 05:43:25 DEBUG : file2: vfs cache: writeback object to VFS layer 2026/03/02 05:43:25 DEBUG : Added virtual directory entry vAddFile: "file2" 2026/03/02 05:43:25 INFO : file2: vfs cache: upload succeeded try #2 2026/03/02 05:43:25 DEBUG : file1: vfs cache: starting upload 2026/03/02 05:43:26 DEBUG : Looking for writers 2026/03/02 05:43:26 DEBUG : file1: reading active writers 2026/03/02 05:43:26 DEBUG : file2: reading active writers 2026/03/02 05:43:26 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:43:27 DEBUG : Looking for writers 2026/03/02 05:43:27 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:27 DEBUG : file1: reading active writers 2026/03/02 05:43:27 DEBUG : file2: reading active writers 2026/03/02 05:43:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:43:28 DEBUG : Looking for writers 2026/03/02 05:43:28 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:28 DEBUG : file1: reading active writers 2026/03/02 05:43:28 DEBUG : file2: reading active writers 2026/03/02 05:43:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:43:29 DEBUG : Looking for writers 2026/03/02 05:43:29 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:29 DEBUG : file1: reading active writers 2026/03/02 05:43:29 DEBUG : file2: reading active writers 2026/03/02 05:43:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:43:30 DEBUG : Looking for writers 2026/03/02 05:43:30 DEBUG : file1: reading active writers 2026/03/02 05:43:30 DEBUG : file2: reading active writers 2026/03/02 05:43:30 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:43:31 DEBUG : Looking for writers 2026/03/02 05:43:31 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:31 DEBUG : file1: reading active writers 2026/03/02 05:43:31 DEBUG : file2: reading active writers 2026/03/02 05:43:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:43:32 DEBUG : Looking for writers 2026/03/02 05:43:32 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:32 DEBUG : file1: reading active writers 2026/03/02 05:43:32 DEBUG : file2: reading active writers 2026/03/02 05:43:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:43:33 DEBUG : Looking for writers 2026/03/02 05:43:33 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:33 DEBUG : file1: reading active writers 2026/03/02 05:43:33 DEBUG : file2: reading active writers 2026/03/02 05:43:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:43:33 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000fa4d20 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc004338308 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824704205632} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:14006589264860373446 ext:490554042455 loc:0x45874c0} ATime:{wall:14006589264861831545 ext:490555500534 loc:0x45874c0} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc000fa4d20 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc004338508 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824704206144} name:file2 opens:0 downloaders: o:0xc0055c68e0 fd: info:{ModTime:{wall:14006589264862253611 ext:490555922600 loc:0x45874c0} ATime:{wall:14006589264862394637 ext:490556063637 loc:0x45874c0} Size:0 Rs:[] Fingerprint:0 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2026/03/02 05:43:33 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2026/03/02 05:43:35 ERROR : file1: Failed to copy: upload file failed to create session: unexpected end of JSON input 2026/03/02 05:43:35 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: upload file failed to create session: unexpected end of JSON input 2026/03/02 05:43:36 DEBUG : file1: vfs cache: starting upload fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: listing wrong, want file1 (0), file2 (0) got file2 (0), 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/vfs/read_write_test.go:420 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: Unexpected file "newLeaf" fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleWriteNoWrite Messages: 1 objects not found 2026/03/02 05:43:40 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:43:40 DEBUG : Looking for writers 2026/03/02 05:43:40 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:40 DEBUG : file1: reading active writers 2026/03/02 05:43:40 DEBUG : file2: reading active writers 2026/03/02 05:43:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/03/02 05:43:40 DEBUG : Looking for writers 2026/03/02 05:43:40 DEBUG : file2: reading active writers 2026/03/02 05:43:40 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:40 DEBUG : file1: reading active writers 2026/03/02 05:43:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/03/02 05:43:40 DEBUG : Looking for writers 2026/03/02 05:43:40 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:40 DEBUG : file1: reading active writers 2026/03/02 05:43:40 DEBUG : file2: reading active writers 2026/03/02 05:43:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/03/02 05:43:40 DEBUG : Looking for writers 2026/03/02 05:43:40 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:40 DEBUG : file1: reading active writers 2026/03/02 05:43:40 DEBUG : file2: reading active writers 2026/03/02 05:43:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/03/02 05:43:40 DEBUG : Looking for writers 2026/03/02 05:43:40 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:40 DEBUG : file1: reading active writers 2026/03/02 05:43:40 DEBUG : file2: reading active writers 2026/03/02 05:43:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/03/02 05:43:41 DEBUG : Looking for writers 2026/03/02 05:43:41 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:41 DEBUG : file1: reading active writers 2026/03/02 05:43:41 DEBUG : file2: reading active writers 2026/03/02 05:43:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/03/02 05:43:41 DEBUG : Looking for writers 2026/03/02 05:43:41 DEBUG : file1: reading active writers 2026/03/02 05:43:41 DEBUG : file2: reading active writers 2026/03/02 05:43:41 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/03/02 05:43:42 DEBUG : Looking for writers 2026/03/02 05:43:42 DEBUG : file1: reading active writers 2026/03/02 05:43:42 DEBUG : file2: reading active writers 2026/03/02 05:43:42 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:43:43 DEBUG : Looking for writers 2026/03/02 05:43:43 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:43 DEBUG : file1: reading active writers 2026/03/02 05:43:43 DEBUG : file2: reading active writers 2026/03/02 05:43:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:43:44 DEBUG : Looking for writers 2026/03/02 05:43:44 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:44 DEBUG : file1: reading active writers 2026/03/02 05:43:44 DEBUG : file2: reading active writers 2026/03/02 05:43:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:43:45 DEBUG : Looking for writers 2026/03/02 05:43:45 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:45 DEBUG : file1: reading active writers 2026/03/02 05:43:45 DEBUG : file2: reading active writers 2026/03/02 05:43:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:43:46 DEBUG : Looking for writers 2026/03/02 05:43:46 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:46 DEBUG : file1: reading active writers 2026/03/02 05:43:46 DEBUG : file2: reading active writers 2026/03/02 05:43:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:43:47 DEBUG : Looking for writers 2026/03/02 05:43:47 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:47 DEBUG : file1: reading active writers 2026/03/02 05:43:47 DEBUG : file2: reading active writers 2026/03/02 05:43:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/02 05:43:47 DEBUG : file1: size = 0 OK 2026/03/02 05:43:47 INFO : file1: Copied (new) 2026/03/02 05:43:47 DEBUG : file1: vfs cache: fingerprint now "0" 2026/03/02 05:43:47 DEBUG : file1: vfs cache: writeback object to VFS layer 2026/03/02 05:43:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/02 05:43:47 INFO : file1: vfs cache: upload succeeded try #3 2026/03/02 05:43:48 DEBUG : Looking for writers 2026/03/02 05:43:48 DEBUG : newLeaf: reading active writers 2026/03/02 05:43:48 DEBUG : file1: reading active writers 2026/03/02 05:43:48 DEBUG : file2: reading active writers 2026/03/02 05:43:48 DEBUG : >WaitForWriters: 2026/03/02 05:43:48 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaner exiting 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: listing wrong, want got 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleWriteNoWrite (51.71s) === RUN TestRWFileHandleSizeTruncateExisting run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:43:55 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:43:55 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/02 05:43:55 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:43:55 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:43:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:43:55 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:43:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:43:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:43:55 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/02 05:43:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-kosidev5hiku" 2026/03/02 05:43:55 INFO : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:290: Failed to put "dir/file1" to "mega root 'rclone-test-kosidev5hiku'": mkdir create node failed: unexpected end of JSON input 2026/03/02 05:44:06 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:44:06 DEBUG : Looking for writers 2026/03/02 05:44:06 DEBUG : >WaitForWriters: 2026/03/02 05:44:06 DEBUG : mega root 'rclone-test-kosidev5hiku': vfs cache: cleaner exiting 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/panic.go:615 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1013 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1219 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:290 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:297 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:39 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:481 Error: Should be true Test: TestRWFileHandleSizeTruncateExisting Messages: listing wrong, want got 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/panic.go:615 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1013 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1219 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:290 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:297 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:39 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:481 Error: Should be true Test: TestRWFileHandleSizeTruncateExisting Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleSizeTruncateExisting (17.81s) === RUN TestVFSStat run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:44:13 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:44:13 NOTICE: mega root 'rclone-test-kosidev5hiku': --vfs-cache-mode writes or full is recommended for this remote as it can't stream run.go:290: Failed to put "file1" to "mega root 'rclone-test-kosidev5hiku'": upload file failed to create session: unexpected end of JSON input 2026/03/02 05:44:23 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:44:23 DEBUG : Looking for writers 2026/03/02 05:44:23 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/panic.go:615 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1013 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1219 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:290 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:297 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:188 Error: Should be true Test: TestVFSStat Messages: listing wrong, want got 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/panic.go:615 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1013 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1219 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:290 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:297 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:188 Error: Should be true Test: TestVFSStat Messages: Unexpected file "newLeaf" --- FAIL: TestVFSStat (19.40s) === RUN TestVFSMkdirAll run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:44:32 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:44:32 NOTICE: mega root 'rclone-test-kosidev5hiku': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 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/run.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:416 Error: Should be true Test: TestVFSMkdirAll Messages: listing wrong, want got 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/run.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:416 Error: Should be true Test: TestVFSMkdirAll Messages: Unexpected file "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/run.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:421 Error: Should be true Test: TestVFSMkdirAll Messages: listing wrong, want got 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/run.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:421 Error: Should be true Test: TestVFSMkdirAll Messages: Unexpected file "newLeaf" 2026/03/02 05:44:57 ERROR : /: Dir.Mkdir failed to create directory: Mkdir failed: mkdir create node failed: unexpected end of JSON input vfs_test.go:425: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:425 Error: Received unexpected error: Mkdir failed: mkdir create node failed: unexpected end of JSON input Test: TestVFSMkdirAll 2026/03/02 05:44:57 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:44:57 DEBUG : Looking for writers 2026/03/02 05:44:57 DEBUG : newLeaf: reading active writers 2026/03/02 05:44:57 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/panic.go:615 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1013 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:425 Error: Should be true Test: TestVFSMkdirAll Messages: listing wrong, want got 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/panic.go:615 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1013 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:425 Error: Should be true Test: TestVFSMkdirAll Messages: Unexpected file "newLeaf" --- FAIL: TestVFSMkdirAll (31.82s) === RUN TestWriteFileHandleRelease run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:45:04 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:45:04 NOTICE: mega root 'rclone-test-kosidev5hiku': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/02 05:45:04 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/03/02 05:45:04 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/03/02 05:45:04 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/02 05:45:04 DEBUG : file1: >Open: fd=file1 (w), err= 2026/03/02 05:45:04 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/03/02 05:45:04 DEBUG : file1: WriteFileHandle.Release closing 2026/03/02 05:45:04 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/02 05:45:04 DEBUG : mega root 'rclone-test-kosidev5hiku': File to upload is small (0 bytes), uploading instead of streaming 2026/03/02 05:45:10 DEBUG : dir: forgetting directory cache 2026/03/02 05:45:10 DEBUG : dir/sub: forgetting directory cache 2026/03/02 05:45:10 DEBUG : dir: Removed virtual directory entry vAddDir: "sub" 2026/03/02 05:45:10 DEBUG : forgetting directory cache 2026/03/02 05:45:10 DEBUG : dir: forgetting directory cache 2026/03/02 05:45:14 DEBUG : dir: forgetting directory cache 2026/03/02 05:45:14 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2026/03/02 05:45:14 DEBUG : forgetting directory cache 2026/03/02 05:45:14 DEBUG : Removed virtual directory entry vDel: "dir" 2026/03/02 05:45:15 ERROR : file1: WriteFileHandle.New Rcat failed: upload file failed to create session: unexpected end of JSON input 2026/03/02 05:45:15 DEBUG : file1: Remove: 2026/03/02 05:45:15 DEBUG : Added virtual directory entry vDel: "file1" 2026/03/02 05:45:15 DEBUG : file1: >Remove: err= 2026/03/02 05:45:15 ERROR : file1: WriteFileHandle.Release error: upload file failed to create session: unexpected end of JSON input write_test.go:279: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:279 Error: Received unexpected error: upload file failed to create session: unexpected end of JSON input Test: TestWriteFileHandleRelease 2026/03/02 05:45:15 DEBUG : file1: WriteFileHandle.Release nothing to do 2026/03/02 05:45:15 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:45:15 DEBUG : Looking for writers 2026/03/02 05:45:15 DEBUG : newLeaf: reading active writers 2026/03/02 05:45:15 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2026/03/02 05:45:21 DEBUG : forgetting directory cache 2026/03/02 05:45:21 DEBUG : dir: forgetting directory cache 2026/03/02 05:45:21 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2026/03/02 05:45:21 DEBUG : Removed virtual directory entry vAddFile: "newLeaf" 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 Error: Should be true Test: TestWriteFileHandleRelease Messages: listing wrong, want got 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 Error: Should be true Test: TestWriteFileHandleRelease Messages: Unexpected file "newLeaf" --- FAIL: TestWriteFileHandleRelease (18.14s) === RUN TestFileReadAtZeroLength run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:45:22 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:45:22 NOTICE: mega root 'rclone-test-kosidev5hiku': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/02 05:45:22 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/03/02 05:45:22 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/03/02 05:45:22 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/02 05:45:22 DEBUG : file1: >Open: fd=file1 (w), err= 2026/03/02 05:45:22 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/03/02 05:45:22 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/02 05:45:22 DEBUG : mega root 'rclone-test-kosidev5hiku': File to upload is small (0 bytes), uploading instead of streaming 2026/03/02 05:45:23 DEBUG : file1: size = 0 OK 2026/03/02 05:45:23 DEBUG : file1: Size of src and dst objects identical 2026/03/02 05:45:23 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/02 05:45:23 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2026/03/02 05:45:23 DEBUG : file1: Open: flags=O_RDONLY 2026/03/02 05:45:23 DEBUG : file1: >Open: fd=file1 (r), err= 2026/03/02 05:45:23 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2026/03/02 05:45:23 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2026/03/02 05:45:23 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2026/03/02 05:45:23 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:45:23 DEBUG : Looking for writers 2026/03/02 05:45:23 DEBUG : newLeaf: reading active writers 2026/03/02 05:45:23 DEBUG : file1: reading active writers 2026/03/02 05:45:23 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 Error: Should be true Test: TestFileReadAtZeroLength Messages: listing wrong, want got 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 Error: Should be true Test: TestFileReadAtZeroLength Messages: Unexpected file "newLeaf" --- FAIL: TestFileReadAtZeroLength (14.14s) === RUN TestFileReadAtNonZeroLength run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:45:36 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:45:36 NOTICE: mega root 'rclone-test-kosidev5hiku': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/02 05:45:36 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/03/02 05:45:36 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/03/02 05:45:36 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/02 05:45:36 DEBUG : file1: >Open: fd=file1 (w), err= 2026/03/02 05:45:36 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/03/02 05:45:36 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/02 05:45:36 DEBUG : mega root 'rclone-test-kosidev5hiku': File to upload is small (100 bytes), uploading instead of streaming 2026/03/02 05:45:49 ERROR : file1: WriteFileHandle.New Rcat failed: failed to finish upload: unexpected end of JSON input 2026/03/02 05:45:49 DEBUG : file1: Remove: 2026/03/02 05:45:49 DEBUG : Added virtual directory entry vDel: "file1" 2026/03/02 05:45:49 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: failed to finish upload: unexpected end of JSON input Test: TestFileReadAtNonZeroLength 2026/03/02 05:45:49 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2026/03/02 05:45:49 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/03/02 05:45:49 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:45:49 DEBUG : Looking for writers 2026/03/02 05:45:49 DEBUG : newLeaf: reading active writers 2026/03/02 05:45:49 DEBUG : >WaitForWriters: 2026/03/02 05:45:52 DEBUG : forgetting directory cache 2026/03/02 05:45:52 DEBUG : dir: forgetting directory cache 2026/03/02 05:45:52 DEBUG : dir: forgetting directory cache 2026/03/02 05:45:52 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2026/03/02 05:45:52 DEBUG : Removed 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/panic.go:615 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1013 /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: Should be true Test: TestFileReadAtNonZeroLength Messages: listing wrong, want got 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/panic.go:615 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1013 /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: Should be true Test: TestFileReadAtNonZeroLength Messages: Unexpected file "newLeaf" --- FAIL: TestFileReadAtNonZeroLength (30.07s) === RUN TestZipManyFiles run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:46:06 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:46:06 NOTICE: mega root 'rclone-test-kosidev5hiku': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 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/zip_test.go:65 Error: Should be true Test: TestZipManyFiles Messages: listing wrong, want flat/f000.txt (7), flat/f001.txt (14), flat/f002.txt (21), flat/f003.txt (28), flat/f004.txt (35) got flat/f000.txt (7), flat/f001.txt (14), flat/f002.txt (21), flat/f003.txt (28), flat/f004.txt (35), 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/zip_test.go:65 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 Error: Should be true Test: TestZipManyFiles Messages: Unexpected file "newLeaf" 2026/03/02 05:46:27 DEBUG : flat/f000.txt: Open: flags=O_RDONLY 2026/03/02 05:46:27 DEBUG : flat/f000.txt: >Open: fd=flat/f000.txt (r), err= 2026/03/02 05:46:27 DEBUG : flat/f000.txt: Set virtual modtime to 2026-03-02 05:46:12 +0000 UTC 2026/03/02 05:46:27 DEBUG : flat/f000.txt: ChunkedReader.openRange at 0 length 134217728 2026/03/02 05:46:27 DEBUG : flat/f000.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/02 05:46:27 DEBUG : flat/f001.txt: Open: flags=O_RDONLY 2026/03/02 05:46:27 DEBUG : flat/f001.txt: >Open: fd=flat/f001.txt (r), err= 2026/03/02 05:46:27 DEBUG : flat/f001.txt: Set virtual modtime to 2026-03-02 05:46:14 +0000 UTC 2026/03/02 05:46:27 DEBUG : flat/f001.txt: ChunkedReader.openRange at 0 length 134217728 2026/03/02 05:46:27 DEBUG : flat/f001.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/02 05:46:27 DEBUG : flat/f002.txt: Open: flags=O_RDONLY 2026/03/02 05:46:27 DEBUG : flat/f002.txt: >Open: fd=flat/f002.txt (r), err= 2026/03/02 05:46:27 DEBUG : flat/f002.txt: Set virtual modtime to 2026-03-02 05:46:16 +0000 UTC 2026/03/02 05:46:27 DEBUG : flat/f002.txt: ChunkedReader.openRange at 0 length 134217728 2026/03/02 05:46:28 DEBUG : flat/f002.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/02 05:46:28 DEBUG : flat/f003.txt: Open: flags=O_RDONLY 2026/03/02 05:46:28 DEBUG : flat/f003.txt: >Open: fd=flat/f003.txt (r), err= 2026/03/02 05:46:28 DEBUG : flat/f003.txt: Set virtual modtime to 2026-03-02 05:46:16 +0000 UTC 2026/03/02 05:46:28 DEBUG : flat/f003.txt: ChunkedReader.openRange at 0 length 134217728 2026/03/02 05:46:28 DEBUG : flat/f003.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/02 05:46:28 DEBUG : flat/f004.txt: Open: flags=O_RDONLY 2026/03/02 05:46:28 DEBUG : flat/f004.txt: >Open: fd=flat/f004.txt (r), err= 2026/03/02 05:46:28 DEBUG : flat/f004.txt: Set virtual modtime to 2026-03-02 05:46:18 +0000 UTC 2026/03/02 05:46:28 DEBUG : flat/f004.txt: ChunkedReader.openRange at 0 length 134217728 2026/03/02 05:46:28 DEBUG : flat/f004.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/02 05:46:28 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:46:28 DEBUG : flat: Looking for writers 2026/03/02 05:46:28 DEBUG : f001.txt: reading active writers 2026/03/02 05:46:28 DEBUG : f002.txt: reading active writers 2026/03/02 05:46:28 DEBUG : f003.txt: reading active writers 2026/03/02 05:46:28 DEBUG : f004.txt: reading active writers 2026/03/02 05:46:28 DEBUG : f000.txt: reading active writers 2026/03/02 05:46:28 DEBUG : Looking for writers 2026/03/02 05:46:28 DEBUG : flat: reading active writers 2026/03/02 05:46:28 DEBUG : newLeaf: reading active writers 2026/03/02 05:46:28 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 Error: Should be true Test: TestZipManyFiles Messages: listing wrong, want got 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 Error: Should be true Test: TestZipManyFiles Messages: Unexpected file "newLeaf" --- FAIL: TestZipManyFiles (31.08s) === RUN TestZipManySubDirs run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:46:37 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:46:37 NOTICE: mega root 'rclone-test-kosidev5hiku': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/02 05:46:46 DEBUG : forgetting directory cache 2026/03/02 05:46:46 DEBUG : dir: forgetting directory cache 2026/03/02 05:46:46 DEBUG : dir: forgetting directory cache 2026/03/02 05:46:46 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2026/03/02 05:46:46 DEBUG : Removed virtual directory entry vAddFile: "newLeaf" run.go:290: Failed to put "a/b/mid.txt" to "mega root 'rclone-test-kosidev5hiku'": mkdir create node failed: unexpected end of JSON input 2026/03/02 05:46:50 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:46:50 DEBUG : Looking for writers 2026/03/02 05:46:50 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/panic.go:615 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1013 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1219 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:290 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:297 /home/rclone/go/src/github.com/rclone/rclone/vfs/zip_test.go:94 Error: Should be true Test: TestZipManySubDirs Messages: listing wrong, want got 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/panic.go:615 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1013 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1219 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:290 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:297 /home/rclone/go/src/github.com/rclone/rclone/vfs/zip_test.go:94 Error: Should be true Test: TestZipManySubDirs Messages: Unexpected file "newLeaf" --- FAIL: TestZipManySubDirs (23.03s) === RUN TestZipLargeFiles run.go:185: Remote "mega root 'rclone-test-kosidev5hiku'", Local "Local file system at /tmp/rclone3788481234", Modify Window "876000h0m0s" 2026/03/02 05:47:00 INFO : mega root 'rclone-test-kosidev5hiku': poll-interval is not supported by this remote 2026/03/02 05:47:00 NOTICE: mega root 'rclone-test-kosidev5hiku': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/02 05:47:15 DEBUG : bigdir/big.bin: Open: flags=O_RDONLY 2026/03/02 05:47:15 DEBUG : bigdir/big.bin: >Open: fd=bigdir/big.bin (r), err= 2026/03/02 05:47:15 DEBUG : bigdir/big.bin: Set virtual modtime to 2026-03-02 05:47:12 +0000 UTC 2026/03/02 05:47:15 DEBUG : bigdir/big.bin: ChunkedReader.openRange at 0 length 134217728 2026/03/02 05:47:15 DEBUG : bigdir/big.bin: ChunkedReader.Read at 0 length 4096 chunkOffset 0 chunkSize 134217728 2026/03/02 05:47:15 DEBUG : bigdir/big.bin: ChunkedReader.Read at 4096 length 8192 chunkOffset 0 chunkSize 134217728 2026/03/02 05:47:15 DEBUG : bigdir/big.bin: ChunkedReader.Read at 12288 length 16384 chunkOffset 0 chunkSize 134217728 2026/03/02 05:47:15 DEBUG : bigdir/big.bin: ChunkedReader.Read at 28672 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/02 05:47:15 DEBUG : bigdir/big.bin: ChunkedReader.Read at 61440 length 65536 chunkOffset 0 chunkSize 134217728 2026/03/02 05:47:15 DEBUG : bigdir/big.bin: ChunkedReader.Read at 126976 length 131072 chunkOffset 0 chunkSize 134217728 2026/03/02 05:47:15 DEBUG : bigdir/big.bin: ChunkedReader.Read at 258048 length 262144 chunkOffset 0 chunkSize 134217728 2026/03/02 05:47:15 DEBUG : bigdir/big.bin: ChunkedReader.Read at 520192 length 524288 chunkOffset 0 chunkSize 134217728 2026/03/02 05:47:15 DEBUG : bigdir/big.bin: ChunkedReader.Read at 1044480 length 1048576 chunkOffset 0 chunkSize 134217728 2026/03/02 05:47:16 DEBUG : bigdir/big.bin: ChunkedReader.Read at 2093056 length 1048576 chunkOffset 0 chunkSize 134217728 2026/03/02 05:47:16 DEBUG : bigdir/big.bin: ChunkedReader.Read at 3141632 length 1048576 chunkOffset 0 chunkSize 134217728 2026/03/02 05:47:16 DEBUG : bigdir/big.bin: ChunkedReader.Read at 4190208 length 1048576 chunkOffset 0 chunkSize 134217728 2026/03/02 05:47:16 DEBUG : bigdir/big.bin: ChunkedReader.Read at 5238784 length 1048576 chunkOffset 0 chunkSize 134217728 2026/03/02 05:47:16 DEBUG : WaitForWriters: timeout=30s 2026/03/02 05:47:16 DEBUG : bigdir: Looking for writers 2026/03/02 05:47:16 DEBUG : big.bin: reading active writers 2026/03/02 05:47:16 DEBUG : Looking for writers 2026/03/02 05:47:16 DEBUG : bigdir: reading active writers 2026/03/02 05:47:16 DEBUG : newLeaf: reading active writers 2026/03/02 05:47:16 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 2026/03/02 05:47:28 DEBUG : forgetting directory cache 2026/03/02 05:47:28 DEBUG : dir: forgetting directory cache 2026/03/02 05:47:28 DEBUG : dir: forgetting directory cache 2026/03/02 05:47:28 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2026/03/02 05:47:28 DEBUG : Removed virtual directory entry vAddFile: "newLeaf" 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 Error: Should be true Test: TestZipLargeFiles Messages: listing wrong, want got 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1308 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1572 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/testing/testing.go:1928 Error: Should be true Test: TestZipLargeFiles Messages: Unexpected file "newLeaf" --- FAIL: TestZipLargeFiles (33.74s) FAIL 2026/03/02 05:47:34 DEBUG : mega root 'rclone-test-kosidev5hiku': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestDirMkdir|TestDirRemoveAll|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestRWFileHandleFlushRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestVFSMkdirAll|TestVFSStat|TestWriteFileHandleRelease|TestZipLargeFiles|TestZipManyFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false)$'" - Finished ERROR in 12m52.695055251s (try 2/5): exit status 1: Failed [TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/full,forceCache=false TestRWFileHandleSeek TestRWFileHandleReadAt TestRWFileHandleFlushRead TestRWFileHandleReleaseRead TestRWFileHandleMethodsWrite TestRWFileHandleWriteAt TestRWFileHandleWriteNoWrite TestRWFileHandleSizeTruncateExisting TestVFSStat TestVFSMkdirAll TestWriteFileHandleRelease TestFileReadAtZeroLength TestFileReadAtNonZeroLength TestZipManyFiles TestZipManySubDirs TestZipLargeFiles]