"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestCaseSensitivity|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestRWCacheRename|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleFlushWrite|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleReleaseWrite|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeCreateNew|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestRcGetVFS|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSIsMetadataFile|TestVFSMkdir|TestVFSMkdirAll|TestVFSNew|TestVFSNewWithOpts|TestVFSOpenFile|TestVFSRename|TestVFSRoot|TestVFSStat|TestVFSStatParent|TestVFSStatfs|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters|TestZipDirsInRoot|TestZipLargeFiles|TestZipManyFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$|^TestRWFileHandleOpenTests$/^full$/^(os.O_RDONLY|os.O_RDWR|os.O_WRONLY)$|^TestRWFileHandleOpenTests$/^writes$/^(os.O_RDONLY|os.O_RDWR|os.O_WRONLY)$'" - Starting (try 4/5) 2026/04/09 02:18:35 DEBUG : Creating backend with remote "TestMega:rclone-test-tidizoq6luqu" 2026/04/09 02:18:35 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/04/09 02:18:35 DEBUG : mega root 'rclone-test-tidizoq6luqu': Using previously stored session ID and master key to initialize the Mega API 2026/04/09 02:19:00 DEBUG : Creating backend with remote "/tmp/rclone479288703" === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:19:00 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:19:00 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:19:01 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:19:01 DEBUG : dir: Looking for writers 2026/04/09 02:19:01 DEBUG : file1: reading active writers 2026/04/09 02:19:01 DEBUG : Looking for writers 2026/04/09 02:19:01 DEBUG : dir: reading active writers 2026/04/09 02:19:01 DEBUG : >WaitForWriters: 2026/04/09 02:19:01 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/09 02:19:01 DEBUG : newLeaf: Updating file with newLeaf 0x2610986395c0 2026/04/09 02:19:01 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/09 02:19:01 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go: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/04/09 02:19:08 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/04/09 02:19:08 DEBUG : dir/file1: Updating file with dir/file1 0x2610986395c0 2026/04/09 02:19:08 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/04/09 02:19:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go: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/04/09 02:19:15 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/04/09 02:19:15 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/04/09 02:19:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:19:15 DEBUG : dir/file1: File is currently open, delaying rename 0x2610986395c0 2026/04/09 02:19:15 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/09 02:19:15 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/09 02:19:15 DEBUG : mega root 'rclone-test-tidizoq6luqu': File to upload is small (25 bytes), uploading instead of streaming 2026/04/09 02:19:16 DEBUG : dir/file1: size = 25 OK 2026/04/09 02:19:16 NOTICE: mega root 'rclone-test-tidizoq6luqu': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2026/04/09 02:19:16 DEBUG : dir/file1: Size of src and dst objects identical 2026/04/09 02:19:16 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/09 02:19:16 DEBUG : newLeaf: Running delayed rename now 2026/04/09 02:19:16 INFO : newLeaf: Deleted 2026/04/09 02:19:16 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/09 02:19:16 DEBUG : newLeaf: Updating file with newLeaf 0x2610986395c0 2026/04/09 02:19:16 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:19:16 DEBUG : dir: Looking for writers 2026/04/09 02:19:16 DEBUG : Looking for writers 2026/04/09 02:19:16 DEBUG : dir: reading active writers 2026/04/09 02:19:16 DEBUG : newLeaf: reading active writers 2026/04/09 02:19:16 DEBUG : >WaitForWriters: 2026/04/09 02:19:16 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:19:16 DEBUG : dir: Looking for writers 2026/04/09 02:19:16 DEBUG : Looking for writers 2026/04/09 02:19:16 DEBUG : dir: reading active writers 2026/04/09 02:19:16 DEBUG : newLeaf: reading active writers 2026/04/09 02:19:16 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:19:16 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:19:16 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:19:16 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:19:16 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:19:16 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:19:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:19:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:19:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:19:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:19:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:19:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:19:16 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/04/09 02:19:17 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:19:17 DEBUG : dir: Looking for writers 2026/04/09 02:19:17 DEBUG : file1: reading active writers 2026/04/09 02:19:17 DEBUG : Looking for writers 2026/04/09 02:19:17 DEBUG : dir: reading active writers 2026/04/09 02:19:17 DEBUG : >WaitForWriters: 2026/04/09 02:19:17 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/09 02:19:17 DEBUG : newLeaf: Updating file with newLeaf 0x261099faa840 2026/04/09 02:19:17 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/09 02:19:17 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go: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/04/09 02:19:25 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/04/09 02:19:25 DEBUG : dir/file1: Updating file with dir/file1 0x261099faa840 2026/04/09 02:19:25 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/04/09 02:19:25 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go: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/04/09 02:19:32 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/04/09 02:19:32 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/04/09 02:19:32 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:19:32 DEBUG : dir/file1: File is currently open, delaying rename 0x261099faa840 2026/04/09 02:19:32 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/09 02:19:32 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/09 02:19:32 DEBUG : mega root 'rclone-test-tidizoq6luqu': File to upload is small (25 bytes), uploading instead of streaming 2026/04/09 02:19:32 DEBUG : dir/file1: size = 25 OK 2026/04/09 02:19:32 DEBUG : dir/file1: Size of src and dst objects identical 2026/04/09 02:19:32 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/09 02:19:32 DEBUG : newLeaf: Running delayed rename now 2026/04/09 02:19:33 INFO : newLeaf: Deleted 2026/04/09 02:19:33 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/09 02:19:33 DEBUG : newLeaf: Updating file with newLeaf 0x261099faa840 2026/04/09 02:19:33 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:19:33 DEBUG : dir: Looking for writers 2026/04/09 02:19:33 DEBUG : Looking for writers 2026/04/09 02:19:33 DEBUG : dir: reading active writers 2026/04/09 02:19:33 DEBUG : newLeaf: reading active writers 2026/04/09 02:19:33 DEBUG : >WaitForWriters: 2026/04/09 02:19:33 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:19:33 DEBUG : dir: Looking for writers 2026/04/09 02:19:33 DEBUG : Looking for writers 2026/04/09 02:19:33 DEBUG : dir: reading active writers 2026/04/09 02:19:33 DEBUG : newLeaf: reading active writers 2026/04/09 02:19:33 DEBUG : >WaitForWriters: 2026/04/09 02:19:33 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:19:33 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:19:33 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:19:33 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:19:33 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:19:33 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:19:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:19:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:19:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:19:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:19:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:19:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:19:33 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/04/09 02:19:34 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/04/09 02:19:34 DEBUG : dir/file1: newRWFileHandle: 2026/04/09 02:19:34 DEBUG : dir/file1(0x26109ac612c0): openPending: 2026/04/09 02:19:34 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/04/09 02:19:34 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/04/09 02:19:34 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:19:34 DEBUG : dir/file1(0x26109ac612c0): >openPending: err= 2026/04/09 02:19:34 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/04/09 02:19:34 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/09 02:19:34 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:19:34 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/09 02:19:34 DEBUG : dir/file1(0x26109ac612c0): _writeAt: size=14, off=0 2026/04/09 02:19:34 DEBUG : dir/file1(0x26109ac612c0): >_writeAt: n=14, err= 2026/04/09 02:19:34 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/04/09 02:19:34 DEBUG : dir/file1(0x26109ac612c0): close: 2026/04/09 02:19:34 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/04/09 02:19:34 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/04/09 02:19:34 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/04/09 02:19:34 DEBUG : dir/file1(0x26109ac612c0): >close: err= 2026/04/09 02:19:34 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:19:34 DEBUG : dir: Looking for writers 2026/04/09 02:19:34 DEBUG : file1: reading active writers 2026/04/09 02:19:34 DEBUG : Looking for writers 2026/04/09 02:19:34 DEBUG : dir: reading active writers 2026/04/09 02:19:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/04/09 02:19:34 DEBUG : dir: Looking for writers 2026/04/09 02:19:34 DEBUG : file1: reading active writers 2026/04/09 02:19:34 DEBUG : Looking for writers 2026/04/09 02:19:34 DEBUG : dir: reading active writers 2026/04/09 02:19:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/04/09 02:19:34 DEBUG : dir: Looking for writers 2026/04/09 02:19:34 DEBUG : file1: reading active writers 2026/04/09 02:19:34 DEBUG : Looking for writers 2026/04/09 02:19:34 DEBUG : dir: reading active writers 2026/04/09 02:19:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/04/09 02:19:34 DEBUG : dir: Looking for writers 2026/04/09 02:19:34 DEBUG : file1: reading active writers 2026/04/09 02:19:34 DEBUG : Looking for writers 2026/04/09 02:19:34 DEBUG : dir: reading active writers 2026/04/09 02:19:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/04/09 02:19:34 DEBUG : dir/file1: vfs cache: starting upload 2026/04/09 02:19:34 DEBUG : dir: Looking for writers 2026/04/09 02:19:34 DEBUG : file1: reading active writers 2026/04/09 02:19:34 DEBUG : Looking for writers 2026/04/09 02:19:34 DEBUG : dir: reading active writers 2026/04/09 02:19:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/04/09 02:19:34 DEBUG : dir: Looking for writers 2026/04/09 02:19:34 DEBUG : file1: reading active writers 2026/04/09 02:19:34 DEBUG : Looking for writers 2026/04/09 02:19:34 DEBUG : dir: reading active writers 2026/04/09 02:19:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/04/09 02:19:34 DEBUG : dir: Looking for writers 2026/04/09 02:19:34 DEBUG : file1: reading active writers 2026/04/09 02:19:34 DEBUG : Looking for writers 2026/04/09 02:19:34 DEBUG : dir: reading active writers 2026/04/09 02:19:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/04/09 02:19:35 DEBUG : dir: Looking for writers 2026/04/09 02:19:35 DEBUG : file1: reading active writers 2026/04/09 02:19:35 DEBUG : Looking for writers 2026/04/09 02:19:35 DEBUG : dir: reading active writers 2026/04/09 02:19:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:19:36 DEBUG : dir: Looking for writers 2026/04/09 02:19:36 DEBUG : file1: reading active writers 2026/04/09 02:19:36 DEBUG : Looking for writers 2026/04/09 02:19:36 DEBUG : dir: reading active writers 2026/04/09 02:19:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:19:36 DEBUG : dir/file1: size = 14 OK 2026/04/09 02:19:36 INFO : dir/file1: Copied (replaced existing) 2026/04/09 02:19:36 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/04/09 02:19:36 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/04/09 02:19:36 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:19:36 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/04/09 02:19:37 DEBUG : dir: Looking for writers 2026/04/09 02:19:37 DEBUG : file1: reading active writers 2026/04/09 02:19:37 DEBUG : Looking for writers 2026/04/09 02:19:37 DEBUG : dir: reading active writers 2026/04/09 02:19:37 DEBUG : >WaitForWriters: 2026/04/09 02:19:37 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/04/09 02:19:37 DEBUG : dir/file1: newRWFileHandle: 2026/04/09 02:19:37 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/09 02:19:37 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/09 02:19:37 DEBUG : dir/file1(0x26109abd4000): _readAt: size=512, off=0 2026/04/09 02:19:37 DEBUG : dir/file1(0x26109abd4000): openPending: 2026/04/09 02:19:37 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/04/09 02:19:37 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/04/09 02:19:37 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:19:37 DEBUG : dir/file1(0x26109abd4000): >openPending: err= 2026/04/09 02:19:37 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/04/09 02:19:37 DEBUG : dir/file1(0x26109abd4000): >_readAt: n=14, err=EOF 2026/04/09 02:19:37 DEBUG : dir/file1(0x26109abd4000): close: 2026/04/09 02:19:37 DEBUG : dir/file1(0x26109abd4000): >close: err= 2026/04/09 02:19:37 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/09 02:19:37 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/04/09 02:19:37 DEBUG : newLeaf: Updating file with newLeaf 0x261099faae40 2026/04/09 02:19:37 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/09 02:19:37 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/09 02:19:38 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/04/09 02:19:38 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/04/09 02:19:38 DEBUG : dir/file1: Updating file with dir/file1 0x261099faae40 2026/04/09 02:19:38 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/04/09 02:19:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2026/04/09 02:19:42 DEBUG : dir/file1: vfs cache: setting modification time to 2026-04-09 02:19:34 +0000 UTC fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go: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/04/09 02:19:45 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/04/09 02:19:45 DEBUG : dir/file1: newRWFileHandle: 2026/04/09 02:19:45 DEBUG : dir/file1(0x26109b1b8500): openPending: 2026/04/09 02:19:45 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/04/09 02:19:45 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/04/09 02:19:45 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:19:45 DEBUG : dir/file1(0x26109b1b8500): >openPending: err= 2026/04/09 02:19:45 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/04/09 02:19:45 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/09 02:19:45 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/09 02:19:45 DEBUG : dir/file1(0x26109b1b8500): _writeAt: size=25, off=0 2026/04/09 02:19:45 DEBUG : dir/file1(0x26109b1b8500): >_writeAt: n=25, err= 2026/04/09 02:19:45 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/09 02:19:45 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/04/09 02:19:45 DEBUG : newLeaf: Updating file with newLeaf 0x261099faae40 2026/04/09 02:19:45 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/09 02:19:45 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/09 02:19:45 DEBUG : newLeaf(0x26109b1b8500): close: 2026/04/09 02:19:45 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/04/09 02:19:45 DEBUG : newLeaf: vfs cache: setting modification time to 2026-04-09 02:19:45.011583661 +0000 UTC m=+69.616354112 2026/04/09 02:19:45 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/04/09 02:19:45 DEBUG : newLeaf(0x26109b1b8500): >close: err= 2026/04/09 02:19:45 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:19:45 DEBUG : dir: Looking for writers 2026/04/09 02:19:45 DEBUG : Looking for writers 2026/04/09 02:19:45 DEBUG : dir: reading active writers 2026/04/09 02:19:45 DEBUG : newLeaf: reading active writers 2026/04/09 02:19:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/04/09 02:19:45 DEBUG : dir: Looking for writers 2026/04/09 02:19:45 DEBUG : Looking for writers 2026/04/09 02:19:45 DEBUG : dir: reading active writers 2026/04/09 02:19:45 DEBUG : newLeaf: reading active writers 2026/04/09 02:19:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/04/09 02:19:45 DEBUG : dir: Looking for writers 2026/04/09 02:19:45 DEBUG : Looking for writers 2026/04/09 02:19:45 DEBUG : dir: reading active writers 2026/04/09 02:19:45 DEBUG : newLeaf: reading active writers 2026/04/09 02:19:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/04/09 02:19:45 DEBUG : dir: Looking for writers 2026/04/09 02:19:45 DEBUG : Looking for writers 2026/04/09 02:19:45 DEBUG : dir: reading active writers 2026/04/09 02:19:45 DEBUG : newLeaf: reading active writers 2026/04/09 02:19:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/04/09 02:19:45 DEBUG : newLeaf: vfs cache: starting upload 2026/04/09 02:19:45 DEBUG : dir: Looking for writers 2026/04/09 02:19:45 DEBUG : Looking for writers 2026/04/09 02:19:45 DEBUG : dir: reading active writers 2026/04/09 02:19:45 DEBUG : newLeaf: reading active writers 2026/04/09 02:19:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/04/09 02:19:45 DEBUG : dir: Looking for writers 2026/04/09 02:19:45 DEBUG : Looking for writers 2026/04/09 02:19:45 DEBUG : dir: reading active writers 2026/04/09 02:19:45 DEBUG : newLeaf: reading active writers 2026/04/09 02:19:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/04/09 02:19:45 DEBUG : newLeaf: size = 25 OK 2026/04/09 02:19:45 INFO : newLeaf: Copied (replaced existing) 2026/04/09 02:19:45 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/04/09 02:19:45 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/04/09 02:19:45 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/09 02:19:45 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/04/09 02:19:45 DEBUG : dir: Looking for writers 2026/04/09 02:19:45 DEBUG : Looking for writers 2026/04/09 02:19:45 DEBUG : dir: reading active writers 2026/04/09 02:19:45 DEBUG : newLeaf: reading active writers 2026/04/09 02:19:45 DEBUG : >WaitForWriters: 2026/04/09 02:19:45 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:19:45 DEBUG : dir: Looking for writers 2026/04/09 02:19:45 DEBUG : Looking for writers 2026/04/09 02:19:45 DEBUG : dir: reading active writers 2026/04/09 02:19:45 DEBUG : newLeaf: reading active writers 2026/04/09 02:19:45 DEBUG : >WaitForWriters: 2026/04/09 02:19:45 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:19:48 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:19:48 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:19:48 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:19:48 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:19:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:19:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:19:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:19:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:19:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:19:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:19:48 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/04/09 02:19:48 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:19:48 DEBUG : dir: Looking for writers 2026/04/09 02:19:48 DEBUG : file1: reading active writers 2026/04/09 02:19:48 DEBUG : Looking for writers 2026/04/09 02:19:48 DEBUG : dir: reading active writers 2026/04/09 02:19:48 DEBUG : >WaitForWriters: 2026/04/09 02:19:49 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/09 02:19:49 DEBUG : newLeaf: Updating file with newLeaf 0x261099fab800 2026/04/09 02:19:49 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/09 02:19:49 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go: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/04/09 02:19:56 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/04/09 02:19:56 DEBUG : dir/file1: Updating file with dir/file1 0x261099fab800 2026/04/09 02:19:56 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/04/09 02:19:56 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "dir/file1" 2026/04/09 02:20:03 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/04/09 02:20:03 DEBUG : dir/file1: newRWFileHandle: 2026/04/09 02:20:03 DEBUG : dir/file1(0x26109b5b47c0): openPending: 2026/04/09 02:20:03 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/04/09 02:20:03 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/04/09 02:20:03 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:20:03 DEBUG : dir/file1(0x26109b5b47c0): >openPending: err= 2026/04/09 02:20:03 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/04/09 02:20:03 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/09 02:20:03 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/09 02:20:03 DEBUG : dir/file1(0x26109b5b47c0): _writeAt: size=25, off=0 2026/04/09 02:20:03 DEBUG : dir/file1(0x26109b5b47c0): >_writeAt: n=25, err= 2026/04/09 02:20:03 INFO : newLeaf: Deleted 2026/04/09 02:20:03 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/09 02:20:03 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/04/09 02:20:03 DEBUG : newLeaf: Updating file with newLeaf 0x261099fab800 2026/04/09 02:20:03 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/09 02:20:03 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/09 02:20:03 DEBUG : newLeaf(0x26109b5b47c0): close: 2026/04/09 02:20:03 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/04/09 02:20:03 DEBUG : newLeaf: vfs cache: setting modification time to 2026-04-09 02:20:03.493708084 +0000 UTC m=+88.098478554 2026/04/09 02:20:03 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/04/09 02:20:03 DEBUG : newLeaf(0x26109b5b47c0): >close: err= 2026/04/09 02:20:03 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:03 DEBUG : dir: Looking for writers 2026/04/09 02:20:03 DEBUG : Looking for writers 2026/04/09 02:20:03 DEBUG : dir: reading active writers 2026/04/09 02:20:03 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/04/09 02:20:03 DEBUG : dir: Looking for writers 2026/04/09 02:20:03 DEBUG : Looking for writers 2026/04/09 02:20:03 DEBUG : dir: reading active writers 2026/04/09 02:20:03 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/04/09 02:20:03 DEBUG : dir: Looking for writers 2026/04/09 02:20:03 DEBUG : Looking for writers 2026/04/09 02:20:03 DEBUG : dir: reading active writers 2026/04/09 02:20:03 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/04/09 02:20:03 DEBUG : dir: Looking for writers 2026/04/09 02:20:03 DEBUG : Looking for writers 2026/04/09 02:20:03 DEBUG : dir: reading active writers 2026/04/09 02:20:03 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/04/09 02:20:03 DEBUG : newLeaf: vfs cache: starting upload 2026/04/09 02:20:04 DEBUG : dir: Looking for writers 2026/04/09 02:20:04 DEBUG : Looking for writers 2026/04/09 02:20:04 DEBUG : dir: reading active writers 2026/04/09 02:20:04 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/04/09 02:20:04 DEBUG : dir: Looking for writers 2026/04/09 02:20:04 DEBUG : Looking for writers 2026/04/09 02:20:04 DEBUG : dir: reading active writers 2026/04/09 02:20:04 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/04/09 02:20:04 DEBUG : dir: Looking for writers 2026/04/09 02:20:04 DEBUG : Looking for writers 2026/04/09 02:20:04 DEBUG : dir: reading active writers 2026/04/09 02:20:04 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/04/09 02:20:05 DEBUG : dir: Looking for writers 2026/04/09 02:20:05 DEBUG : Looking for writers 2026/04/09 02:20:05 DEBUG : dir: reading active writers 2026/04/09 02:20:05 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:20:05 DEBUG : newLeaf: size = 25 OK 2026/04/09 02:20:05 INFO : newLeaf: Copied (replaced existing) 2026/04/09 02:20:05 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/04/09 02:20:05 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/04/09 02:20:05 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/09 02:20:05 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/04/09 02:20:06 DEBUG : dir: Looking for writers 2026/04/09 02:20:06 DEBUG : Looking for writers 2026/04/09 02:20:06 DEBUG : dir: reading active writers 2026/04/09 02:20:06 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:06 DEBUG : >WaitForWriters: 2026/04/09 02:20:06 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:06 DEBUG : dir: Looking for writers 2026/04/09 02:20:06 DEBUG : Looking for writers 2026/04/09 02:20:06 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:06 DEBUG : dir: reading active writers 2026/04/09 02:20:06 DEBUG : >WaitForWriters: 2026/04/09 02:20:06 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:20:06 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:20:06 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:20:06 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:06 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:20:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:20:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:06 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/04/09 02:20:06 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/04/09 02:20:06 DEBUG : dir/file1: newRWFileHandle: 2026/04/09 02:20:06 DEBUG : dir/file1(0x26109b8b7540): openPending: 2026/04/09 02:20:06 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/04/09 02:20:06 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/04/09 02:20:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:20:06 DEBUG : dir/file1(0x26109b8b7540): >openPending: err= 2026/04/09 02:20:06 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/04/09 02:20:06 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/09 02:20:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:20:06 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/09 02:20:06 DEBUG : dir/file1(0x26109b8b7540): _writeAt: size=14, off=0 2026/04/09 02:20:06 DEBUG : dir/file1(0x26109b8b7540): >_writeAt: n=14, err= 2026/04/09 02:20:06 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/04/09 02:20:06 DEBUG : dir/file1(0x26109b8b7540): close: 2026/04/09 02:20:06 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/04/09 02:20:06 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/04/09 02:20:06 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/04/09 02:20:06 DEBUG : dir/file1(0x26109b8b7540): >close: err= 2026/04/09 02:20:06 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:06 DEBUG : dir: Looking for writers 2026/04/09 02:20:06 DEBUG : file1: reading active writers 2026/04/09 02:20:06 DEBUG : Looking for writers 2026/04/09 02:20:06 DEBUG : dir: reading active writers 2026/04/09 02:20:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/04/09 02:20:06 DEBUG : dir: Looking for writers 2026/04/09 02:20:06 DEBUG : file1: reading active writers 2026/04/09 02:20:06 DEBUG : Looking for writers 2026/04/09 02:20:06 DEBUG : dir: reading active writers 2026/04/09 02:20:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/04/09 02:20:06 DEBUG : dir: Looking for writers 2026/04/09 02:20:06 DEBUG : file1: reading active writers 2026/04/09 02:20:06 DEBUG : Looking for writers 2026/04/09 02:20:06 DEBUG : dir: reading active writers 2026/04/09 02:20:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/04/09 02:20:06 DEBUG : dir: Looking for writers 2026/04/09 02:20:06 DEBUG : file1: reading active writers 2026/04/09 02:20:06 DEBUG : Looking for writers 2026/04/09 02:20:06 DEBUG : dir: reading active writers 2026/04/09 02:20:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/04/09 02:20:06 DEBUG : dir/file1: vfs cache: starting upload 2026/04/09 02:20:07 DEBUG : dir: Looking for writers 2026/04/09 02:20:07 DEBUG : file1: reading active writers 2026/04/09 02:20:07 DEBUG : Looking for writers 2026/04/09 02:20:07 DEBUG : dir: reading active writers 2026/04/09 02:20:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/04/09 02:20:07 DEBUG : dir: Looking for writers 2026/04/09 02:20:07 DEBUG : file1: reading active writers 2026/04/09 02:20:07 DEBUG : Looking for writers 2026/04/09 02:20:07 DEBUG : dir: reading active writers 2026/04/09 02:20:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/04/09 02:20:07 DEBUG : dir/file1: size = 14 OK 2026/04/09 02:20:07 INFO : dir/file1: Copied (replaced existing) 2026/04/09 02:20:07 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/04/09 02:20:07 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/04/09 02:20:07 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:20:07 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/04/09 02:20:07 DEBUG : dir: Looking for writers 2026/04/09 02:20:07 DEBUG : file1: reading active writers 2026/04/09 02:20:07 DEBUG : Looking for writers 2026/04/09 02:20:07 DEBUG : dir: reading active writers 2026/04/09 02:20:07 DEBUG : >WaitForWriters: 2026/04/09 02:20:07 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/04/09 02:20:07 DEBUG : dir/file1: newRWFileHandle: 2026/04/09 02:20:07 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/09 02:20:07 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/09 02:20:07 DEBUG : dir/file1(0x26109b92a880): _readAt: size=512, off=0 2026/04/09 02:20:07 DEBUG : dir/file1(0x26109b92a880): openPending: 2026/04/09 02:20:07 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/04/09 02:20:07 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/04/09 02:20:07 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:20:07 DEBUG : dir/file1(0x26109b92a880): >openPending: err= 2026/04/09 02:20:07 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/04/09 02:20:07 DEBUG : dir/file1(0x26109b92a880): >_readAt: n=14, err=EOF 2026/04/09 02:20:07 DEBUG : dir/file1(0x26109b92a880): close: 2026/04/09 02:20:07 DEBUG : dir/file1(0x26109b92a880): >close: err= 2026/04/09 02:20:07 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/09 02:20:07 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/04/09 02:20:07 DEBUG : newLeaf: Updating file with newLeaf 0x2610997e9e00 2026/04/09 02:20:07 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/09 02:20:07 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/09 02:20:10 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/04/09 02:20:10 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/04/09 02:20:10 DEBUG : dir/file1: Updating file with dir/file1 0x2610997e9e00 2026/04/09 02:20:10 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/04/09 02:20:10 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2026/04/09 02:20:12 DEBUG : dir/file1: vfs cache: setting modification time to 2026-04-09 02:20:07 +0000 UTC fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "dir/file1" 2026/04/09 02:20:17 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/04/09 02:20:17 DEBUG : dir/file1: newRWFileHandle: 2026/04/09 02:20:17 DEBUG : dir/file1(0x26109b20b540): openPending: 2026/04/09 02:20:17 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/04/09 02:20:17 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/04/09 02:20:17 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:20:17 DEBUG : dir/file1(0x26109b20b540): >openPending: err= 2026/04/09 02:20:17 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/04/09 02:20:17 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/09 02:20:17 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/09 02:20:17 DEBUG : dir/file1(0x26109b20b540): _writeAt: size=25, off=0 2026/04/09 02:20:17 DEBUG : dir/file1(0x26109b20b540): >_writeAt: n=25, err= 2026/04/09 02:20:17 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/09 02:20:17 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/04/09 02:20:17 DEBUG : newLeaf: Updating file with newLeaf 0x2610997e9e00 2026/04/09 02:20:17 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/09 02:20:17 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/09 02:20:17 DEBUG : newLeaf(0x26109b20b540): close: 2026/04/09 02:20:17 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/04/09 02:20:17 DEBUG : newLeaf: vfs cache: setting modification time to 2026-04-09 02:20:17.178120691 +0000 UTC m=+101.782891143 2026/04/09 02:20:17 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/04/09 02:20:17 DEBUG : newLeaf(0x26109b20b540): >close: err= 2026/04/09 02:20:17 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:17 DEBUG : dir: Looking for writers 2026/04/09 02:20:17 DEBUG : Looking for writers 2026/04/09 02:20:17 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:17 DEBUG : dir: reading active writers 2026/04/09 02:20:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/04/09 02:20:17 DEBUG : dir: Looking for writers 2026/04/09 02:20:17 DEBUG : Looking for writers 2026/04/09 02:20:17 DEBUG : dir: reading active writers 2026/04/09 02:20:17 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/04/09 02:20:17 DEBUG : dir: Looking for writers 2026/04/09 02:20:17 DEBUG : Looking for writers 2026/04/09 02:20:17 DEBUG : dir: reading active writers 2026/04/09 02:20:17 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/04/09 02:20:17 DEBUG : dir: Looking for writers 2026/04/09 02:20:17 DEBUG : Looking for writers 2026/04/09 02:20:17 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:17 DEBUG : dir: reading active writers 2026/04/09 02:20:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/04/09 02:20:17 DEBUG : newLeaf: vfs cache: starting upload 2026/04/09 02:20:17 DEBUG : dir: Looking for writers 2026/04/09 02:20:17 DEBUG : Looking for writers 2026/04/09 02:20:17 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:17 DEBUG : dir: reading active writers 2026/04/09 02:20:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/04/09 02:20:17 DEBUG : dir: Looking for writers 2026/04/09 02:20:17 DEBUG : Looking for writers 2026/04/09 02:20:17 DEBUG : dir: reading active writers 2026/04/09 02:20:17 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/04/09 02:20:18 DEBUG : newLeaf: size = 25 OK 2026/04/09 02:20:18 INFO : newLeaf: Copied (replaced existing) 2026/04/09 02:20:18 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/04/09 02:20:18 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/04/09 02:20:18 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/09 02:20:18 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/04/09 02:20:18 DEBUG : dir: Looking for writers 2026/04/09 02:20:18 DEBUG : Looking for writers 2026/04/09 02:20:18 DEBUG : dir: reading active writers 2026/04/09 02:20:18 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:18 DEBUG : >WaitForWriters: 2026/04/09 02:20:18 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:18 DEBUG : dir: Looking for writers 2026/04/09 02:20:18 DEBUG : Looking for writers 2026/04/09 02:20:18 DEBUG : dir: reading active writers 2026/04/09 02:20:18 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:18 DEBUG : >WaitForWriters: 2026/04/09 02:20:18 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:20:18 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:20:18 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:20:18 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:18 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:20:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:20:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:18 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/04/09 02:20:19 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:19 DEBUG : dir: Looking for writers 2026/04/09 02:20:19 DEBUG : file1: reading active writers 2026/04/09 02:20:19 DEBUG : Looking for writers 2026/04/09 02:20:19 DEBUG : dir: reading active writers 2026/04/09 02:20:19 DEBUG : >WaitForWriters: 2026/04/09 02:20:19 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/04/09 02:20:19 DEBUG : dir/file1: newRWFileHandle: 2026/04/09 02:20:19 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/09 02:20:19 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/09 02:20:19 DEBUG : dir/file1(0x26109ba72e40): _readAt: size=512, off=0 2026/04/09 02:20:19 DEBUG : dir/file1(0x26109ba72e40): openPending: 2026/04/09 02:20:19 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/04/09 02:20:19 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/04/09 02:20:19 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:20:19 DEBUG : dir/file1(0x26109ba72e40): >openPending: err= 2026/04/09 02:20:19 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2026/04/09 02:20:19 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/04/09 02:20:19 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/04/09 02:20:19 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:20:19 DEBUG : dir/file1(0x26109ba72e40): >_readAt: n=14, err=EOF 2026/04/09 02:20:19 DEBUG : dir/file1(0x26109ba72e40): close: 2026/04/09 02:20:19 DEBUG : dir/file1(0x26109ba72e40): >close: err= 2026/04/09 02:20:19 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/09 02:20:19 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/04/09 02:20:19 DEBUG : newLeaf: Updating file with newLeaf 0x26109ba6e240 2026/04/09 02:20:19 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/09 02:20:19 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 2026/04/09 02:20:24 DEBUG : newLeaf: vfs cache: setting modification time to 2026-04-09 02:20:19 +0000 UTC fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/full,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/full,forceCache=false Messages: Unexpected file "file1" 2026/04/09 02:20:26 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/04/09 02:20:26 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/04/09 02:20:26 DEBUG : dir/file1: Updating file with dir/file1 0x26109ba6e240 2026/04/09 02:20:26 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/04/09 02:20:26 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/full,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/full,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/full,forceCache=false Messages: Unexpected file "dir/file1" 2026/04/09 02:20:33 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/04/09 02:20:33 DEBUG : dir/file1: newRWFileHandle: 2026/04/09 02:20:33 DEBUG : dir/file1(0x26109be80440): openPending: 2026/04/09 02:20:33 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/04/09 02:20:33 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/04/09 02:20:33 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:20:33 DEBUG : dir/file1(0x26109be80440): >openPending: err= 2026/04/09 02:20:33 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/04/09 02:20:33 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/09 02:20:33 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/09 02:20:33 DEBUG : dir/file1(0x26109be80440): _writeAt: size=25, off=0 2026/04/09 02:20:33 DEBUG : dir/file1(0x26109be80440): >_writeAt: n=25, err= 2026/04/09 02:20:33 INFO : newLeaf: Deleted 2026/04/09 02:20:34 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/09 02:20:34 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/04/09 02:20:34 DEBUG : newLeaf: Updating file with newLeaf 0x26109ba6e240 2026/04/09 02:20:34 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/09 02:20:34 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/09 02:20:34 DEBUG : newLeaf(0x26109be80440): close: 2026/04/09 02:20:34 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/04/09 02:20:34 DEBUG : newLeaf: vfs cache: setting modification time to 2026-04-09 02:20:33.792076274 +0000 UTC m=+118.396846725 2026/04/09 02:20:34 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/04/09 02:20:34 DEBUG : newLeaf(0x26109be80440): >close: err= 2026/04/09 02:20:34 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:34 DEBUG : dir: Looking for writers 2026/04/09 02:20:34 DEBUG : Looking for writers 2026/04/09 02:20:34 DEBUG : dir: reading active writers 2026/04/09 02:20:34 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/04/09 02:20:34 DEBUG : dir: Looking for writers 2026/04/09 02:20:34 DEBUG : Looking for writers 2026/04/09 02:20:34 DEBUG : dir: reading active writers 2026/04/09 02:20:34 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/04/09 02:20:34 DEBUG : dir: Looking for writers 2026/04/09 02:20:34 DEBUG : Looking for writers 2026/04/09 02:20:34 DEBUG : dir: reading active writers 2026/04/09 02:20:34 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/04/09 02:20:34 DEBUG : dir: Looking for writers 2026/04/09 02:20:34 DEBUG : Looking for writers 2026/04/09 02:20:34 DEBUG : dir: reading active writers 2026/04/09 02:20:34 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/04/09 02:20:34 DEBUG : newLeaf: vfs cache: starting upload 2026/04/09 02:20:34 DEBUG : dir: Looking for writers 2026/04/09 02:20:34 DEBUG : Looking for writers 2026/04/09 02:20:34 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:34 DEBUG : dir: reading active writers 2026/04/09 02:20:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/04/09 02:20:34 DEBUG : dir: Looking for writers 2026/04/09 02:20:34 DEBUG : Looking for writers 2026/04/09 02:20:34 DEBUG : dir: reading active writers 2026/04/09 02:20:34 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/04/09 02:20:34 DEBUG : newLeaf: size = 25 OK 2026/04/09 02:20:34 INFO : newLeaf: Copied (replaced existing) 2026/04/09 02:20:34 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/04/09 02:20:34 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/04/09 02:20:34 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/09 02:20:34 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/04/09 02:20:34 DEBUG : dir: Looking for writers 2026/04/09 02:20:34 DEBUG : Looking for writers 2026/04/09 02:20:34 DEBUG : dir: reading active writers 2026/04/09 02:20:34 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:34 DEBUG : >WaitForWriters: 2026/04/09 02:20:34 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:34 DEBUG : dir: Looking for writers 2026/04/09 02:20:34 DEBUG : Looking for writers 2026/04/09 02:20:34 DEBUG : dir: reading active writers 2026/04/09 02:20:34 DEBUG : newLeaf: reading active writers 2026/04/09 02:20:34 DEBUG : >WaitForWriters: 2026/04/09 02:20:34 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaner exiting --- FAIL: TestFileRename (94.20s) --- FAIL: TestFileRename/off,forceCache=false (16.15s) --- FAIL: TestFileRename/minimal,forceCache=false (16.88s) --- FAIL: TestFileRename/minimal,forceCache=true (14.22s) --- FAIL: TestFileRename/writes,forceCache=false (18.58s) --- FAIL: TestFileRename/writes,forceCache=true (12.24s) --- FAIL: TestFileRename/full,forceCache=false (16.14s) === RUN TestRcGetVFS run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:20:34 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:20:34 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:20:34 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:20:34 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:20:34 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:34 DEBUG : Looking for writers 2026/04/09 02:20:34 DEBUG : >WaitForWriters: --- PASS: TestRcGetVFS (0.00s) === RUN TestReadFileHandleMethods run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:20:34 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:20:34 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:20:35 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:20:35 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/04/09 02:20:35 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2026/04/09 02:20:35 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2026/04/09 02:20:35 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:20:35 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2026/04/09 02:20:35 DEBUG : dir/file1: ChunkedReader.Read at 1 length 256 chunkOffset 0 chunkSize 134217728 2026/04/09 02:20:35 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:35 DEBUG : dir: Looking for writers 2026/04/09 02:20:35 DEBUG : file1: reading active writers 2026/04/09 02:20:35 DEBUG : Looking for writers 2026/04/09 02:20:35 DEBUG : dir: reading active writers 2026/04/09 02:20:35 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleMethods (0.74s) === RUN TestReadFileHandleSeek run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:20:35 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:20:35 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:20:36 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:20:36 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/04/09 02:20:36 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2026/04/09 02:20:36 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2026/04/09 02:20:36 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:20:36 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2026/04/09 02:20:36 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2026/04/09 02:20:36 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2026/04/09 02:20:36 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2026/04/09 02:20:36 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2026/04/09 02:20:36 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2026/04/09 02:20:36 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2026/04/09 02:20:36 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2026/04/09 02:20:36 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2026/04/09 02:20:36 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2026/04/09 02:20:36 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2026/04/09 02:20:36 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2026/04/09 02:20:36 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2026/04/09 02:20:36 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2026/04/09 02:20:36 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2026/04/09 02:20:36 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2026/04/09 02:20:36 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:36 DEBUG : dir: Looking for writers 2026/04/09 02:20:36 DEBUG : file1: reading active writers 2026/04/09 02:20:36 DEBUG : Looking for writers 2026/04/09 02:20:36 DEBUG : dir: reading active writers 2026/04/09 02:20:36 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleSeek (1.24s) === RUN TestReadFileHandleReadAt run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:20:36 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:20:36 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:20:37 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:20:37 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/04/09 02:20:37 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2026/04/09 02:20:37 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2026/04/09 02:20:37 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:20:37 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2026/04/09 02:20:37 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2026/04/09 02:20:37 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2026/04/09 02:20:37 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2026/04/09 02:20:37 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2026/04/09 02:20:37 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2026/04/09 02:20:37 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2026/04/09 02:20:37 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2026/04/09 02:20:37 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2026/04/09 02:20:37 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2026/04/09 02:20:37 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2026/04/09 02:20:37 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2026/04/09 02:20:37 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2026/04/09 02:20:37 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2026/04/09 02:20:37 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2026/04/09 02:20:37 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2026/04/09 02:20:37 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2026/04/09 02:20:37 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2026/04/09 02:20:37 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2026/04/09 02:20:37 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2026/04/09 02:20:37 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2026/04/09 02:20:37 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2026/04/09 02:20:37 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2026/04/09 02:20:37 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2026/04/09 02:20:37 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2026/04/09 02:20:37 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2026/04/09 02:20:37 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2026/04/09 02:20:37 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2026/04/09 02:20:37 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2026/04/09 02:20:37 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2026/04/09 02:20:37 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2026/04/09 02:20:37 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:37 DEBUG : dir: Looking for writers 2026/04/09 02:20:37 DEBUG : file1: reading active writers 2026/04/09 02:20:37 DEBUG : Looking for writers 2026/04/09 02:20:37 DEBUG : dir: reading active writers 2026/04/09 02:20:37 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (1.47s) === RUN TestReadFileHandleFlush run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:20:38 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:20:38 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:20:38 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:20:38 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/04/09 02:20:38 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2026/04/09 02:20:38 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2026/04/09 02:20:38 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:20:38 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2026/04/09 02:20:38 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:38 DEBUG : dir: Looking for writers 2026/04/09 02:20:38 DEBUG : file1: reading active writers 2026/04/09 02:20:38 DEBUG : Looking for writers 2026/04/09 02:20:38 DEBUG : dir: reading active writers 2026/04/09 02:20:38 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleFlush (0.64s) === RUN TestReadFileHandleRelease run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:20:39 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:20:39 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:20:41 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:20:41 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/04/09 02:20:41 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2026/04/09 02:20:41 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2026/04/09 02:20:41 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:20:41 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2026/04/09 02:20:41 DEBUG : dir/file1: ReadFileHandle.Release closing 2026/04/09 02:20:41 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2026/04/09 02:20:41 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:41 DEBUG : dir: Looking for writers 2026/04/09 02:20:41 DEBUG : file1: reading active writers 2026/04/09 02:20:41 DEBUG : Looking for writers 2026/04/09 02:20:41 DEBUG : dir: reading active writers 2026/04/09 02:20:41 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleRelease (4.58s) === RUN TestRWFileHandleMethodsRead run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:20:43 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:20:43 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:20:43 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:43 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:43 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:43 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:20:43 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:43 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:43 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:20:43 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:43 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/04/09 02:20:43 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:20:43 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/04/09 02:20:43 DEBUG : dir/file1: newRWFileHandle: 2026/04/09 02:20:43 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/09 02:20:43 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/09 02:20:43 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/04/09 02:20:43 DEBUG : dir/file1(0x26109c1d1940): _readAt: size=1, off=0 2026/04/09 02:20:43 DEBUG : dir/file1(0x26109c1d1940): openPending: 2026/04/09 02:20:43 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2026/04/09 02:20:43 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/04/09 02:20:43 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:20:43 DEBUG : dir/file1(0x26109c1d1940): >openPending: err= 2026/04/09 02:20:43 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2026/04/09 02:20:43 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/04/09 02:20:43 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/04/09 02:20:43 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:20:43 DEBUG : dir/file1(0x26109c1d1940): >_readAt: n=1, err= 2026/04/09 02:20:43 DEBUG : dir/file1(0x26109c1d1940): _readAt: size=256, off=1 2026/04/09 02:20:43 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2026/04/09 02:20:43 DEBUG : dir/file1(0x26109c1d1940): >_readAt: n=15, err=EOF 2026/04/09 02:20:43 DEBUG : dir/file1(0x26109c1d1940): _readAt: size=16, off=16 2026/04/09 02:20:43 DEBUG : dir/file1(0x26109c1d1940): >_readAt: n=0, err=EOF 2026/04/09 02:20:43 DEBUG : dir/file1(0x26109c1d1940): close: 2026/04/09 02:20:43 DEBUG : dir/file1(0x26109c1d1940): >close: err= 2026/04/09 02:20:43 DEBUG : dir/file1(0x26109c1d1940): close: 2026/04/09 02:20:43 DEBUG : dir/file1(0x26109c1d1940): >close: err=file already closed 2026/04/09 02:20:43 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:43 DEBUG : dir: Looking for writers 2026/04/09 02:20:43 DEBUG : file1: reading active writers 2026/04/09 02:20:43 DEBUG : Looking for writers 2026/04/09 02:20:43 DEBUG : dir: reading active writers 2026/04/09 02:20:43 DEBUG : >WaitForWriters: 2026/04/09 02:20:43 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsRead (0.59s) === RUN TestRWFileHandleSeek run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:20:44 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:20:44 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:20:44 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:44 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:20:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:20:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:44 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/04/09 02:20:46 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:20:46 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/04/09 02:20:46 DEBUG : dir/file1: newRWFileHandle: 2026/04/09 02:20:46 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/09 02:20:46 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/09 02:20:46 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/04/09 02:20:46 DEBUG : dir/file1(0x26109c02be00): _readAt: size=1, off=0 2026/04/09 02:20:46 DEBUG : dir/file1(0x26109c02be00): openPending: 2026/04/09 02:20:46 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2026/04/09 02:20:46 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/04/09 02:20:46 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:20:46 DEBUG : dir/file1(0x26109c02be00): >openPending: err= 2026/04/09 02:20:46 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2026/04/09 02:20:46 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/04/09 02:20:46 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/04/09 02:20:46 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:20:46 DEBUG : dir/file1(0x26109c02be00): >_readAt: n=1, err= 2026/04/09 02:20:46 DEBUG : dir/file1(0x26109c02be00): _readAt: size=1, off=5 2026/04/09 02:20:46 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2026/04/09 02:20:46 DEBUG : dir/file1(0x26109c02be00): >_readAt: n=1, err= 2026/04/09 02:20:46 DEBUG : dir/file1(0x26109c02be00): _readAt: size=1, off=3 2026/04/09 02:20:46 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2026/04/09 02:20:46 DEBUG : dir/file1(0x26109c02be00): >_readAt: n=1, err= 2026/04/09 02:20:46 DEBUG : dir/file1(0x26109c02be00): _readAt: size=1, off=13 2026/04/09 02:20:46 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2026/04/09 02:20:46 DEBUG : dir/file1(0x26109c02be00): >_readAt: n=1, err= 2026/04/09 02:20:46 DEBUG : dir/file1(0x26109c02be00): _readAt: size=16, off=100 2026/04/09 02:20:46 DEBUG : dir/file1(0x26109c02be00): >_readAt: n=0, err=EOF 2026/04/09 02:20:46 DEBUG : dir/file1(0x26109c02be00): close: 2026/04/09 02:20:46 DEBUG : dir/file1(0x26109c02be00): >close: err= 2026/04/09 02:20:46 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:46 DEBUG : dir: Looking for writers 2026/04/09 02:20:46 DEBUG : file1: reading active writers 2026/04/09 02:20:46 DEBUG : Looking for writers 2026/04/09 02:20:46 DEBUG : dir: reading active writers 2026/04/09 02:20:46 DEBUG : >WaitForWriters: 2026/04/09 02:20:46 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaner exiting run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- PASS: TestRWFileHandleSeek (3.47s) === RUN TestRWFileHandleReadAt run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:20:47 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:20:47 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:20:47 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:47 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:47 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:47 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:20:47 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:47 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:47 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:20:47 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:47 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/04/09 02:20:47 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:20:47 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/04/09 02:20:47 DEBUG : dir/file1: newRWFileHandle: 2026/04/09 02:20:47 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/09 02:20:47 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/09 02:20:47 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/04/09 02:20:47 DEBUG : dir/file1(0x26109c5973c0): _readAt: size=1, off=0 2026/04/09 02:20:47 DEBUG : dir/file1(0x26109c5973c0): openPending: 2026/04/09 02:20:47 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2026/04/09 02:20:47 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/04/09 02:20:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:20:47 DEBUG : dir/file1(0x26109c5973c0): >openPending: err= 2026/04/09 02:20:47 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2026/04/09 02:20:47 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/04/09 02:20:47 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/04/09 02:20:47 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109c5973c0): >_readAt: n=1, err= 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109c5973c0): _readAt: size=1, off=5 2026/04/09 02:20:48 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109c5973c0): >_readAt: n=1, err= 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109c5973c0): _readAt: size=1, off=1 2026/04/09 02:20:48 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109c5973c0): >_readAt: n=1, err= 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109c5973c0): _readAt: size=6, off=10 2026/04/09 02:20:48 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109c5973c0): >_readAt: n=6, err= 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109c5973c0): _readAt: size=256, off=10 2026/04/09 02:20:48 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109c5973c0): >_readAt: n=6, err=EOF 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109c5973c0): _readAt: size=256, off=100 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109c5973c0): >_readAt: n=0, err=EOF 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109c5973c0): close: 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109c5973c0): >close: err= 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109c5973c0): _readAt: size=256, off=100 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109c5973c0): >_readAt: n=0, err=file already closed 2026/04/09 02:20:48 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:48 DEBUG : dir: Looking for writers 2026/04/09 02:20:48 DEBUG : file1: reading active writers 2026/04/09 02:20:48 DEBUG : Looking for writers 2026/04/09 02:20:48 DEBUG : dir: reading active writers 2026/04/09 02:20:48 DEBUG : >WaitForWriters: 2026/04/09 02:20:48 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReadAt (0.69s) === RUN TestRWFileHandleFlushRead run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:20:48 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:20:48 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:20:48 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:48 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:20:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:20:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:48 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/04/09 02:20:48 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:20:48 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/04/09 02:20:48 DEBUG : dir/file1: newRWFileHandle: 2026/04/09 02:20:48 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/09 02:20:48 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/09 02:20:48 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109bfe1c00): RWFileHandle.Flush 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109bfe1c00): _readAt: size=256, off=0 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109bfe1c00): openPending: 2026/04/09 02:20:48 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2026/04/09 02:20:48 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/04/09 02:20:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109bfe1c00): >openPending: err= 2026/04/09 02:20:48 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2026/04/09 02:20:48 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/04/09 02:20:48 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/04/09 02:20:48 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109bfe1c00): >_readAt: n=16, err=EOF 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109bfe1c00): RWFileHandle.Flush 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109bfe1c00): RWFileHandle.Flush 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109bfe1c00): close: 2026/04/09 02:20:48 DEBUG : dir/file1(0x26109bfe1c00): >close: err= 2026/04/09 02:20:48 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:48 DEBUG : dir: Looking for writers 2026/04/09 02:20:48 DEBUG : file1: reading active writers 2026/04/09 02:20:48 DEBUG : Looking for writers 2026/04/09 02:20:48 DEBUG : dir: reading active writers 2026/04/09 02:20:48 DEBUG : >WaitForWriters: 2026/04/09 02:20:48 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaner exiting 2026/04/09 02:20:48 ERROR : dir/file1: vfs cache: item close failed: vfs cache item: failed to write metadata: open /home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu/dir/file1: no such file or directory 2026/04/09 02:20:48 ERROR : dir/file1: vfs cache: close after grace period failed: vfs cache item: failed to write metadata: open /home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu/dir/file1: no such file or directory --- PASS: TestRWFileHandleFlushRead (0.86s) === RUN TestRWFileHandleReleaseRead run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:20:49 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:20:49 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:20:49 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:49 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:49 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:49 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:20:49 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:49 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:49 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:20:49 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:49 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/04/09 02:20:51 ERROR : dir/file1: vfs cache: item close failed: vfs cache item: failed to write metadata: open /home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu/dir/file1: no such file or directory 2026/04/09 02:20:51 ERROR : dir/file1: vfs cache: close after grace period failed: vfs cache item: failed to write metadata: open /home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu/dir/file1: no such file or directory 2026/04/09 02:20:51 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:20:51 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/04/09 02:20:51 DEBUG : dir/file1: newRWFileHandle: 2026/04/09 02:20:51 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/09 02:20:51 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/09 02:20:51 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/04/09 02:20:51 DEBUG : dir/file1(0x26109c2a3ec0): _readAt: size=256, off=0 2026/04/09 02:20:51 DEBUG : dir/file1(0x26109c2a3ec0): openPending: 2026/04/09 02:20:51 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2026/04/09 02:20:51 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/04/09 02:20:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:20:51 DEBUG : dir/file1(0x26109c2a3ec0): >openPending: err= 2026/04/09 02:20:51 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2026/04/09 02:20:51 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/04/09 02:20:51 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/04/09 02:20:51 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:20:51 DEBUG : dir/file1(0x26109c2a3ec0): >_readAt: n=16, err=EOF 2026/04/09 02:20:51 DEBUG : dir/file1(0x26109c2a3ec0): RWFileHandle.Release 2026/04/09 02:20:51 DEBUG : dir/file1(0x26109c2a3ec0): close: 2026/04/09 02:20:51 DEBUG : dir/file1(0x26109c2a3ec0): >close: err= 2026/04/09 02:20:51 DEBUG : dir/file1(0x26109c2a3ec0): RWFileHandle.Release 2026/04/09 02:20:51 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:51 DEBUG : dir: Looking for writers 2026/04/09 02:20:51 DEBUG : file1: reading active writers 2026/04/09 02:20:51 DEBUG : Looking for writers 2026/04/09 02:20:51 DEBUG : dir: reading active writers 2026/04/09 02:20:51 DEBUG : >WaitForWriters: 2026/04/09 02:20:51 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseRead (2.63s) === RUN TestRWFileHandleMethodsWrite run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:20:51 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:20:51 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:20:51 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:51 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:51 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:51 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:20:51 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:51 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:51 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:20:51 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:51 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:20:51 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:20:51 DEBUG : file1: newRWFileHandle: 2026/04/09 02:20:51 DEBUG : file1(0x26109c664880): openPending: 2026/04/09 02:20:51 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2026/04/09 02:20:51 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:20:51 DEBUG : file1(0x26109c664880): >openPending: err= 2026/04/09 02:20:51 DEBUG : file1: >newRWFileHandle: err= 2026/04/09 02:20:51 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:20:51 DEBUG : file1: >Open: fd=file1 (rw), err= 2026/04/09 02:20:51 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2026/04/09 02:20:51 DEBUG : file1(0x26109c664880): _writeAt: size=5, off=0 2026/04/09 02:20:51 DEBUG : file1(0x26109c664880): >_writeAt: n=5, err= 2026/04/09 02:20:51 DEBUG : file1(0x26109c664880): _writeAt: size=7, off=5 2026/04/09 02:20:51 DEBUG : file1(0x26109c664880): >_writeAt: n=7, err= 2026/04/09 02:20:51 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2026/04/09 02:20:51 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 12 (was 12) 2026/04/09 02:20:51 DEBUG : file1: vfs cache: truncate to size=11 2026/04/09 02:20:51 DEBUG : file1(0x26109c664880): close: 2026/04/09 02:20:51 DEBUG : file1: vfs cache: setting modification time to 2026-04-09 02:20:51.905423381 +0000 UTC m=+136.510193832 2026/04/09 02:20:51 INFO : file1: vfs cache: queuing for upload in 100ms 2026/04/09 02:20:51 DEBUG : file1(0x26109c664880): >close: err= 2026/04/09 02:20:51 DEBUG : file1(0x26109c664880): close: 2026/04/09 02:20:51 DEBUG : file1(0x26109c664880): >close: err=file already closed 2026/04/09 02:20:51 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:51 DEBUG : Looking for writers 2026/04/09 02:20:51 DEBUG : file1: reading active writers 2026/04/09 02:20:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/04/09 02:20:51 DEBUG : Looking for writers 2026/04/09 02:20:51 DEBUG : file1: reading active writers 2026/04/09 02:20:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/04/09 02:20:51 DEBUG : Looking for writers 2026/04/09 02:20:51 DEBUG : file1: reading active writers 2026/04/09 02:20:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/04/09 02:20:51 DEBUG : Looking for writers 2026/04/09 02:20:51 DEBUG : file1: reading active writers 2026/04/09 02:20:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/04/09 02:20:52 DEBUG : file1: vfs cache: starting upload 2026/04/09 02:20:52 DEBUG : Looking for writers 2026/04/09 02:20:52 DEBUG : file1: reading active writers 2026/04/09 02:20:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/04/09 02:20:52 DEBUG : Looking for writers 2026/04/09 02:20:52 DEBUG : file1: reading active writers 2026/04/09 02:20:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/04/09 02:20:52 DEBUG : file1: size = 11 OK 2026/04/09 02:20:52 INFO : file1: Copied (new) 2026/04/09 02:20:52 DEBUG : file1: vfs cache: fingerprint now "11" 2026/04/09 02:20:52 DEBUG : file1: vfs cache: writeback object to VFS layer 2026/04/09 02:20:52 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:20:52 INFO : file1: vfs cache: upload succeeded try #1 2026/04/09 02:20:52 DEBUG : Looking for writers 2026/04/09 02:20:52 DEBUG : file1: reading active writers 2026/04/09 02:20:52 DEBUG : >WaitForWriters: 2026/04/09 02:20:52 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:52 DEBUG : Looking for writers 2026/04/09 02:20:52 DEBUG : file1: reading active writers 2026/04/09 02:20:52 DEBUG : >WaitForWriters: 2026/04/09 02:20:52 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsWrite (0.71s) === RUN TestRWFileHandleWriteAt run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:20:52 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:20:52 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:20:52 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:52 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:20:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:20:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:20:52 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:20:52 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:20:52 DEBUG : file1: newRWFileHandle: 2026/04/09 02:20:52 DEBUG : file1(0x26109c665640): openPending: 2026/04/09 02:20:52 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2026/04/09 02:20:52 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:20:52 DEBUG : file1(0x26109c665640): >openPending: err= 2026/04/09 02:20:52 DEBUG : file1: >newRWFileHandle: err= 2026/04/09 02:20:52 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:20:52 DEBUG : file1: >Open: fd=file1 (rw), err= 2026/04/09 02:20:52 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2026/04/09 02:20:52 DEBUG : file1(0x26109c665640): _writeAt: size=7, off=0 2026/04/09 02:20:52 DEBUG : file1(0x26109c665640): >_writeAt: n=7, err= 2026/04/09 02:20:52 DEBUG : file1(0x26109c665640): _writeAt: size=6, off=5 2026/04/09 02:20:52 DEBUG : file1(0x26109c665640): >_writeAt: n=6, err= 2026/04/09 02:20:52 DEBUG : file1(0x26109c665640): close: 2026/04/09 02:20:52 DEBUG : file1: vfs cache: setting modification time to 2026-04-09 02:20:52.617543056 +0000 UTC m=+137.222313507 2026/04/09 02:20:52 INFO : file1: vfs cache: queuing for upload in 100ms 2026/04/09 02:20:52 DEBUG : file1(0x26109c665640): >close: err= 2026/04/09 02:20:52 DEBUG : file1(0x26109c665640): _writeAt: size=5, off=0 2026/04/09 02:20:52 DEBUG : file1(0x26109c665640): >_writeAt: n=0, err=file already closed 2026/04/09 02:20:52 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2026/04/09 02:20:52 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2026/04/09 02:20:52 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:52 DEBUG : Looking for writers 2026/04/09 02:20:52 DEBUG : file1: reading active writers 2026/04/09 02:20:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/04/09 02:20:52 DEBUG : Looking for writers 2026/04/09 02:20:52 DEBUG : file1: reading active writers 2026/04/09 02:20:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/04/09 02:20:52 DEBUG : Looking for writers 2026/04/09 02:20:52 DEBUG : file1: reading active writers 2026/04/09 02:20:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/04/09 02:20:52 DEBUG : Looking for writers 2026/04/09 02:20:52 DEBUG : file1: reading active writers 2026/04/09 02:20:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/04/09 02:20:52 DEBUG : file1: vfs cache: starting upload 2026/04/09 02:20:52 DEBUG : Looking for writers 2026/04/09 02:20:52 DEBUG : file1: reading active writers 2026/04/09 02:20:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/04/09 02:20:52 DEBUG : Looking for writers 2026/04/09 02:20:52 DEBUG : file1: reading active writers 2026/04/09 02:20:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/04/09 02:20:53 ERROR : dir/file1: vfs cache: item close failed: vfs cache item: failed to write metadata: open /home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu/dir/file1: no such file or directory 2026/04/09 02:20:53 ERROR : dir/file1: vfs cache: close after grace period failed: vfs cache item: failed to write metadata: open /home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu/dir/file1: no such file or directory 2026/04/09 02:20:53 DEBUG : Looking for writers 2026/04/09 02:20:53 DEBUG : file1: reading active writers 2026/04/09 02:20:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/04/09 02:20:53 ERROR : dir/file1: vfs cache: item close failed: vfs cache item: failed to write metadata: open /home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu/dir/file1: no such file or directory 2026/04/09 02:20:53 ERROR : dir/file1: vfs cache: close after grace period failed: vfs cache item: failed to write metadata: open /home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu/dir/file1: no such file or directory 2026/04/09 02:20:53 DEBUG : Looking for writers 2026/04/09 02:20:53 DEBUG : file1: reading active writers 2026/04/09 02:20:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:20:54 DEBUG : file1: size = 11 OK 2026/04/09 02:20:54 INFO : file1: Copied (new) 2026/04/09 02:20:54 DEBUG : file1: vfs cache: fingerprint now "11" 2026/04/09 02:20:54 DEBUG : file1: vfs cache: writeback object to VFS layer 2026/04/09 02:20:54 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:20:54 INFO : file1: vfs cache: upload succeeded try #1 2026/04/09 02:20:54 DEBUG : Looking for writers 2026/04/09 02:20:54 DEBUG : file1: reading active writers 2026/04/09 02:20:54 DEBUG : >WaitForWriters: 2026/04/09 02:20:54 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:20:54 DEBUG : Looking for writers 2026/04/09 02:20:54 DEBUG : file1: reading active writers 2026/04/09 02:20:54 DEBUG : >WaitForWriters: 2026/04/09 02:20:54 DEBUG : mega root 'rclone-test-tidizoq6luqu': 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:292: Sleeping for 6s just to make sure 2026/04/09 02:20:56 ERROR : dir/file1: vfs cache: item close failed: vfs cache item: failed to write metadata: open /home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu/dir/file1: no such file or directory 2026/04/09 02:20:56 ERROR : dir/file1: vfs cache: close after grace period failed: vfs cache item: failed to write metadata: open /home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu/dir/file1: no such file or directory --- PASS: TestRWFileHandleWriteAt (9.49s) === RUN TestRWFileHandleWriteNoWrite run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:21:02 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:21:02 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:21:02 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:02 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:02 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:21:02 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:21:02 DEBUG : file1: newRWFileHandle: 2026/04/09 02:21:02 DEBUG : file1(0x26109d152540): openPending: 2026/04/09 02:21:02 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2026/04/09 02:21:02 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:21:02 DEBUG : file1(0x26109d152540): >openPending: err= 2026/04/09 02:21:02 DEBUG : file1: >newRWFileHandle: err= 2026/04/09 02:21:02 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:21:02 DEBUG : file1: >Open: fd=file1 (rw), err= 2026/04/09 02:21:02 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2026/04/09 02:21:02 DEBUG : file1(0x26109d152540): close: 2026/04/09 02:21:02 DEBUG : file1: vfs cache: setting modification time to 2026-04-09 02:21:02.104630249 +0000 UTC m=+146.709400700 2026/04/09 02:21:02 INFO : file1: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:02 DEBUG : file1(0x26109d152540): >close: err= 2026/04/09 02:21:02 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/04/09 02:21:02 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/04/09 02:21:02 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2026/04/09 02:21:02 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 0 (was 0) 2026/04/09 02:21:02 DEBUG : file2: newRWFileHandle: 2026/04/09 02:21:02 DEBUG : file2(0x26109d152a80): openPending: 2026/04/09 02:21:02 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2026/04/09 02:21:02 DEBUG : Added virtual directory entry vAddFile: "file2" 2026/04/09 02:21:02 DEBUG : file2(0x26109d152a80): >openPending: err= 2026/04/09 02:21:02 DEBUG : file2: >newRWFileHandle: err= 2026/04/09 02:21:02 DEBUG : Added virtual directory entry vAddFile: "file2" 2026/04/09 02:21:02 DEBUG : file2: >Open: fd=file2 (rw), err= 2026/04/09 02:21:02 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2026/04/09 02:21:02 DEBUG : file2(0x26109d152a80): RWFileHandle.Flush 2026/04/09 02:21:02 DEBUG : file2(0x26109d152a80): RWFileHandle.Release 2026/04/09 02:21:02 DEBUG : file2(0x26109d152a80): close: 2026/04/09 02:21:02 DEBUG : file2: vfs cache: setting modification time to 2026-04-09 02:21:02.10904409 +0000 UTC m=+146.713814541 2026/04/09 02:21:02 INFO : file2: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:02 DEBUG : file2(0x26109d152a80): >close: err= 2026/04/09 02:21:02 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:21:02 DEBUG : Looking for writers 2026/04/09 02:21:02 DEBUG : file1: reading active writers 2026/04/09 02:21:02 DEBUG : file2: reading active writers 2026/04/09 02:21:02 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2026/04/09 02:21:02 DEBUG : Looking for writers 2026/04/09 02:21:02 DEBUG : file1: reading active writers 2026/04/09 02:21:02 DEBUG : file2: reading active writers 2026/04/09 02:21:02 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2026/04/09 02:21:02 DEBUG : Looking for writers 2026/04/09 02:21:02 DEBUG : file1: reading active writers 2026/04/09 02:21:02 DEBUG : file2: reading active writers 2026/04/09 02:21:02 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2026/04/09 02:21:02 DEBUG : Looking for writers 2026/04/09 02:21:02 DEBUG : file1: reading active writers 2026/04/09 02:21:02 DEBUG : file2: reading active writers 2026/04/09 02:21:02 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2026/04/09 02:21:02 DEBUG : file1: vfs cache: starting upload 2026/04/09 02:21:02 DEBUG : file2: vfs cache: starting upload 2026/04/09 02:21:02 DEBUG : Looking for writers 2026/04/09 02:21:02 DEBUG : file1: reading active writers 2026/04/09 02:21:02 DEBUG : file2: reading active writers 2026/04/09 02:21:02 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2026/04/09 02:21:02 DEBUG : file1: size = 0 OK 2026/04/09 02:21:02 INFO : file1: Copied (new) 2026/04/09 02:21:02 DEBUG : file1: vfs cache: fingerprint now "0" 2026/04/09 02:21:02 DEBUG : file1: vfs cache: writeback object to VFS layer 2026/04/09 02:21:02 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:21:02 INFO : file1: vfs cache: upload succeeded try #1 2026/04/09 02:21:02 DEBUG : Looking for writers 2026/04/09 02:21:02 DEBUG : file1: reading active writers 2026/04/09 02:21:02 DEBUG : file2: reading active writers 2026/04/09 02:21:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/04/09 02:21:02 DEBUG : file2: size = 0 OK 2026/04/09 02:21:02 INFO : file2: Copied (new) 2026/04/09 02:21:02 DEBUG : file2: vfs cache: fingerprint now "0" 2026/04/09 02:21:02 DEBUG : file2: vfs cache: writeback object to VFS layer 2026/04/09 02:21:02 DEBUG : Added virtual directory entry vAddFile: "file2" 2026/04/09 02:21:02 INFO : file2: vfs cache: upload succeeded try #1 2026/04/09 02:21:02 DEBUG : Looking for writers 2026/04/09 02:21:02 DEBUG : file1: reading active writers 2026/04/09 02:21:02 DEBUG : file2: reading active writers 2026/04/09 02:21:02 DEBUG : >WaitForWriters: 2026/04/09 02:21:02 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:21:02 DEBUG : Looking for writers 2026/04/09 02:21:02 DEBUG : file1: reading active writers 2026/04/09 02:21:02 DEBUG : file2: reading active writers 2026/04/09 02:21:02 DEBUG : >WaitForWriters: 2026/04/09 02:21:02 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleWriteNoWrite (0.78s) === RUN TestRWFileHandleFlushWrite run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:21:02 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:21:02 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:21:02 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:02 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:02 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:21:02 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:21:02 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/04/09 02:21:02 DEBUG : file1: newRWFileHandle: 2026/04/09 02:21:02 DEBUG : file1(0x2610989f8700): openPending: 2026/04/09 02:21:02 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2026/04/09 02:21:02 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:21:02 DEBUG : file1(0x2610989f8700): >openPending: err= 2026/04/09 02:21:02 DEBUG : file1: >newRWFileHandle: err= 2026/04/09 02:21:02 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:21:02 DEBUG : file1: >Open: fd=file1 (rw), err= 2026/04/09 02:21:02 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2026/04/09 02:21:02 DEBUG : file1(0x2610989f8700): _writeAt: size=5, off=0 2026/04/09 02:21:02 DEBUG : file1(0x2610989f8700): >_writeAt: n=5, err= 2026/04/09 02:21:02 DEBUG : file1(0x2610989f8700): RWFileHandle.Flush 2026/04/09 02:21:02 DEBUG : file1(0x2610989f8700): RWFileHandle.Flush 2026/04/09 02:21:02 DEBUG : file1(0x2610989f8700): close: 2026/04/09 02:21:02 DEBUG : file1: vfs cache: setting modification time to 2026-04-09 02:21:02.885892257 +0000 UTC m=+147.490662708 2026/04/09 02:21:02 INFO : file1: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:02 DEBUG : file1(0x2610989f8700): >close: err= 2026/04/09 02:21:02 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:21:02 DEBUG : Looking for writers 2026/04/09 02:21:02 DEBUG : file1: reading active writers 2026/04/09 02:21:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/04/09 02:21:02 DEBUG : Looking for writers 2026/04/09 02:21:02 DEBUG : file1: reading active writers 2026/04/09 02:21:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/04/09 02:21:02 DEBUG : Looking for writers 2026/04/09 02:21:02 DEBUG : file1: reading active writers 2026/04/09 02:21:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/04/09 02:21:02 DEBUG : Looking for writers 2026/04/09 02:21:02 DEBUG : file1: reading active writers 2026/04/09 02:21:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/04/09 02:21:02 DEBUG : file1: vfs cache: starting upload 2026/04/09 02:21:03 DEBUG : Looking for writers 2026/04/09 02:21:03 DEBUG : file1: reading active writers 2026/04/09 02:21:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/04/09 02:21:03 DEBUG : file1: size = 5 OK 2026/04/09 02:21:03 INFO : file1: Copied (new) 2026/04/09 02:21:03 DEBUG : file1: vfs cache: fingerprint now "5" 2026/04/09 02:21:03 DEBUG : file1: vfs cache: writeback object to VFS layer 2026/04/09 02:21:03 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:21:03 INFO : file1: vfs cache: upload succeeded try #1 2026/04/09 02:21:03 DEBUG : Looking for writers 2026/04/09 02:21:03 DEBUG : file1: reading active writers 2026/04/09 02:21:03 DEBUG : >WaitForWriters: 2026/04/09 02:21:03 DEBUG : mega root 'rclone-test-tidizoq6luqu': 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:292: Sleeping for 6s just to make sure --- PASS: TestRWFileHandleFlushWrite (7.40s) === RUN TestRWFileHandleReleaseWrite run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:21:10 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:21:10 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:21:10 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:10 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:10 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:21:10 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:21:10 DEBUG : file1: newRWFileHandle: 2026/04/09 02:21:10 DEBUG : file1(0x261098c7c900): openPending: 2026/04/09 02:21:10 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2026/04/09 02:21:10 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:21:10 DEBUG : file1(0x261098c7c900): >openPending: err= 2026/04/09 02:21:10 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/04/09 02:21:10 DEBUG : file1: >newRWFileHandle: err= 2026/04/09 02:21:10 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:21:10 DEBUG : file1: >Open: fd=file1 (rw), err= 2026/04/09 02:21:10 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2026/04/09 02:21:10 DEBUG : file1(0x261098c7c900): _writeAt: size=5, off=0 2026/04/09 02:21:10 DEBUG : file1(0x261098c7c900): >_writeAt: n=5, err= 2026/04/09 02:21:10 DEBUG : file1(0x261098c7c900): RWFileHandle.Release 2026/04/09 02:21:10 DEBUG : file1(0x261098c7c900): close: 2026/04/09 02:21:10 DEBUG : file1: vfs cache: setting modification time to 2026-04-09 02:21:10.290100538 +0000 UTC m=+154.894871000 2026/04/09 02:21:10 INFO : file1: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:10 DEBUG : file1(0x261098c7c900): >close: err= 2026/04/09 02:21:10 DEBUG : file1(0x261098c7c900): RWFileHandle.Release 2026/04/09 02:21:10 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:21:10 DEBUG : Looking for writers 2026/04/09 02:21:10 DEBUG : file1: reading active writers 2026/04/09 02:21:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/04/09 02:21:10 DEBUG : Looking for writers 2026/04/09 02:21:10 DEBUG : file1: reading active writers 2026/04/09 02:21:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/04/09 02:21:10 DEBUG : Looking for writers 2026/04/09 02:21:10 DEBUG : file1: reading active writers 2026/04/09 02:21:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/04/09 02:21:10 DEBUG : Looking for writers 2026/04/09 02:21:10 DEBUG : file1: reading active writers 2026/04/09 02:21:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/04/09 02:21:10 DEBUG : file1: vfs cache: starting upload 2026/04/09 02:21:10 DEBUG : Looking for writers 2026/04/09 02:21:10 DEBUG : file1: reading active writers 2026/04/09 02:21:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/04/09 02:21:10 DEBUG : Looking for writers 2026/04/09 02:21:10 DEBUG : file1: reading active writers 2026/04/09 02:21:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/04/09 02:21:10 DEBUG : file1: size = 5 OK 2026/04/09 02:21:10 INFO : file1: Copied (new) 2026/04/09 02:21:10 DEBUG : file1: vfs cache: fingerprint now "5" 2026/04/09 02:21:10 DEBUG : file1: vfs cache: writeback object to VFS layer 2026/04/09 02:21:10 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:21:10 INFO : file1: vfs cache: upload succeeded try #1 2026/04/09 02:21:10 DEBUG : Looking for writers 2026/04/09 02:21:10 DEBUG : file1: reading active writers 2026/04/09 02:21:10 DEBUG : >WaitForWriters: 2026/04/09 02:21:10 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseWrite (0.73s) === RUN TestRWFileHandleSizeTruncateExisting run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:21:11 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:21:11 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:21:11 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:11 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:11 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/04/09 02:21:11 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_TRUNC, perm=-rwxrwxrwx 2026/04/09 02:21:11 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/04/09 02:21:11 DEBUG : dir/file1: newRWFileHandle: 2026/04/09 02:21:11 DEBUG : dir/file1(0x26109a5c8680): openPending: 2026/04/09 02:21:11 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2026/04/09 02:21:11 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/04/09 02:21:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:21:11 DEBUG : dir/file1(0x26109a5c8680): >openPending: err= 2026/04/09 02:21:11 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/04/09 02:21:11 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/09 02:21:11 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/09 02:21:11 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/04/09 02:21:11 DEBUG : dir/file1(0x26109a5c8680): _writeAt: size=5, off=0 2026/04/09 02:21:11 DEBUG : dir/file1(0x26109a5c8680): >_writeAt: n=5, err= 2026/04/09 02:21:11 DEBUG : dir/file1(0x26109a5c8680): close: 2026/04/09 02:21:11 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2026/04/09 02:21:11 DEBUG : dir/file1: vfs cache: setting modification time to 2026-04-09 02:21:11.301011369 +0000 UTC m=+155.905781820 2026/04/09 02:21:11 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:11 DEBUG : dir/file1(0x26109a5c8680): >close: err= 2026/04/09 02:21:11 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:21:11 DEBUG : dir: Looking for writers 2026/04/09 02:21:11 DEBUG : file1: reading active writers 2026/04/09 02:21:11 DEBUG : Looking for writers 2026/04/09 02:21:11 DEBUG : dir: reading active writers 2026/04/09 02:21:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/04/09 02:21:11 DEBUG : dir: Looking for writers 2026/04/09 02:21:11 DEBUG : file1: reading active writers 2026/04/09 02:21:11 DEBUG : Looking for writers 2026/04/09 02:21:11 DEBUG : dir: reading active writers 2026/04/09 02:21:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/04/09 02:21:11 DEBUG : dir: Looking for writers 2026/04/09 02:21:11 DEBUG : file1: reading active writers 2026/04/09 02:21:11 DEBUG : Looking for writers 2026/04/09 02:21:11 DEBUG : dir: reading active writers 2026/04/09 02:21:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/04/09 02:21:11 DEBUG : dir: Looking for writers 2026/04/09 02:21:11 DEBUG : file1: reading active writers 2026/04/09 02:21:11 DEBUG : Looking for writers 2026/04/09 02:21:11 DEBUG : dir: reading active writers 2026/04/09 02:21:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/04/09 02:21:11 DEBUG : dir/file1: vfs cache: starting upload 2026/04/09 02:21:11 DEBUG : dir: Looking for writers 2026/04/09 02:21:11 DEBUG : file1: reading active writers 2026/04/09 02:21:11 DEBUG : Looking for writers 2026/04/09 02:21:11 DEBUG : dir: reading active writers 2026/04/09 02:21:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/04/09 02:21:11 DEBUG : dir: Looking for writers 2026/04/09 02:21:11 DEBUG : file1: reading active writers 2026/04/09 02:21:11 DEBUG : Looking for writers 2026/04/09 02:21:11 DEBUG : dir: reading active writers 2026/04/09 02:21:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/04/09 02:21:11 DEBUG : dir: Looking for writers 2026/04/09 02:21:11 DEBUG : file1: reading active writers 2026/04/09 02:21:11 DEBUG : Looking for writers 2026/04/09 02:21:11 DEBUG : dir: reading active writers 2026/04/09 02:21:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/04/09 02:21:12 DEBUG : dir: Looking for writers 2026/04/09 02:21:12 DEBUG : file1: reading active writers 2026/04/09 02:21:12 DEBUG : Looking for writers 2026/04/09 02:21:12 DEBUG : dir: reading active writers 2026/04/09 02:21:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:13 DEBUG : dir/file1: size = 5 OK 2026/04/09 02:21:13 INFO : dir/file1: Copied (replaced existing) 2026/04/09 02:21:13 DEBUG : dir/file1: vfs cache: fingerprint now "5" 2026/04/09 02:21:13 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/04/09 02:21:13 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:21:13 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/04/09 02:21:13 DEBUG : dir: Looking for writers 2026/04/09 02:21:13 DEBUG : file1: reading active writers 2026/04/09 02:21:13 DEBUG : Looking for writers 2026/04/09 02:21:13 DEBUG : dir: reading active writers 2026/04/09 02:21:13 DEBUG : >WaitForWriters: 2026/04/09 02:21:13 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeTruncateExisting (2.94s) === RUN TestRWFileHandleSizeCreateExisting run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:21:13 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:21:13 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:21:13 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:13 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:13 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:13 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:13 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/04/09 02:21:14 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:21:14 DEBUG : dir/file1: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:21:14 DEBUG : dir/file1: newRWFileHandle: 2026/04/09 02:21:14 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/09 02:21:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:21:14 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/09 02:21:14 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/04/09 02:21:14 DEBUG : dir/file1(0x26109a5c9e80): _writeAt: size=5, off=0 2026/04/09 02:21:14 DEBUG : dir/file1(0x26109a5c9e80): openPending: 2026/04/09 02:21:14 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2026/04/09 02:21:14 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/04/09 02:21:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:21:14 DEBUG : dir/file1(0x26109a5c9e80): >openPending: err= 2026/04/09 02:21:14 DEBUG : dir/file1(0x26109a5c9e80): >_writeAt: n=5, err= 2026/04/09 02:21:14 DEBUG : dir/file1(0x26109a5c9e80): _writeAt: size=15, off=5 2026/04/09 02:21:14 DEBUG : dir/file1(0x26109a5c9e80): >_writeAt: n=15, err= 2026/04/09 02:21:14 DEBUG : dir/file1(0x26109a5c9e80): close: 2026/04/09 02:21:14 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2026/04/09 02:21:14 DEBUG : dir/file1: vfs cache: setting modification time to 2026-04-09 02:21:14.236327227 +0000 UTC m=+158.841097678 2026/04/09 02:21:14 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:14 DEBUG : dir/file1(0x26109a5c9e80): >close: err= 2026/04/09 02:21:14 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:21:14 DEBUG : dir: Looking for writers 2026/04/09 02:21:14 DEBUG : file1: reading active writers 2026/04/09 02:21:14 DEBUG : Looking for writers 2026/04/09 02:21:14 DEBUG : dir: reading active writers 2026/04/09 02:21:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/04/09 02:21:14 DEBUG : dir: Looking for writers 2026/04/09 02:21:14 DEBUG : file1: reading active writers 2026/04/09 02:21:14 DEBUG : Looking for writers 2026/04/09 02:21:14 DEBUG : dir: reading active writers 2026/04/09 02:21:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/04/09 02:21:14 DEBUG : dir: Looking for writers 2026/04/09 02:21:14 DEBUG : file1: reading active writers 2026/04/09 02:21:14 DEBUG : Looking for writers 2026/04/09 02:21:14 DEBUG : dir: reading active writers 2026/04/09 02:21:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/04/09 02:21:14 DEBUG : dir: Looking for writers 2026/04/09 02:21:14 DEBUG : file1: reading active writers 2026/04/09 02:21:14 DEBUG : Looking for writers 2026/04/09 02:21:14 DEBUG : dir: reading active writers 2026/04/09 02:21:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/04/09 02:21:14 DEBUG : dir/file1: vfs cache: starting upload 2026/04/09 02:21:14 DEBUG : dir: Looking for writers 2026/04/09 02:21:14 DEBUG : file1: reading active writers 2026/04/09 02:21:14 DEBUG : Looking for writers 2026/04/09 02:21:14 DEBUG : dir: reading active writers 2026/04/09 02:21:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/04/09 02:21:14 DEBUG : dir: Looking for writers 2026/04/09 02:21:14 DEBUG : file1: reading active writers 2026/04/09 02:21:14 DEBUG : Looking for writers 2026/04/09 02:21:14 DEBUG : dir: reading active writers 2026/04/09 02:21:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/04/09 02:21:14 DEBUG : dir/file1: size = 20 OK 2026/04/09 02:21:14 INFO : dir/file1: Copied (replaced existing) 2026/04/09 02:21:14 DEBUG : dir/file1: vfs cache: fingerprint now "20" 2026/04/09 02:21:14 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/04/09 02:21:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:21:14 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/04/09 02:21:14 DEBUG : dir: Looking for writers 2026/04/09 02:21:14 DEBUG : file1: reading active writers 2026/04/09 02:21:14 DEBUG : Looking for writers 2026/04/09 02:21:14 DEBUG : dir: reading active writers 2026/04/09 02:21:14 DEBUG : >WaitForWriters: 2026/04/09 02:21:14 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateExisting (1.31s) === RUN TestRWFileHandleSizeCreateNew run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:21:15 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:21:15 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:21:15 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:15 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:15 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:15 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:15 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:15 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:15 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:15 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:15 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:21:15 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:21:15 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2026/04/09 02:21:15 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/04/09 02:21:15 DEBUG : file1: newRWFileHandle: 2026/04/09 02:21:15 DEBUG : file1(0x26109a9e2640): openPending: 2026/04/09 02:21:15 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2026/04/09 02:21:15 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:21:15 DEBUG : file1(0x26109a9e2640): >openPending: err= 2026/04/09 02:21:15 DEBUG : file1: >newRWFileHandle: err= 2026/04/09 02:21:15 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:21:15 DEBUG : file1: >Open: fd=file1 (rw), err= 2026/04/09 02:21:15 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2026/04/09 02:21:15 DEBUG : file1(0x26109a9e2640): _writeAt: size=5, off=0 2026/04/09 02:21:15 DEBUG : file1(0x26109a9e2640): >_writeAt: n=5, err= 2026/04/09 02:21:15 DEBUG : file1(0x26109a9e2640): close: 2026/04/09 02:21:15 DEBUG : file1: vfs cache: setting modification time to 2026-04-09 02:21:15.269869802 +0000 UTC m=+159.874640253 2026/04/09 02:21:15 INFO : file1: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:15 DEBUG : file1(0x26109a9e2640): >close: err= 2026/04/09 02:21:15 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:21:15 DEBUG : Looking for writers 2026/04/09 02:21:15 DEBUG : file1: reading active writers 2026/04/09 02:21:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/04/09 02:21:15 DEBUG : Looking for writers 2026/04/09 02:21:15 DEBUG : file1: reading active writers 2026/04/09 02:21:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/04/09 02:21:15 DEBUG : Looking for writers 2026/04/09 02:21:15 DEBUG : file1: reading active writers 2026/04/09 02:21:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/04/09 02:21:15 DEBUG : Looking for writers 2026/04/09 02:21:15 DEBUG : file1: reading active writers 2026/04/09 02:21:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/04/09 02:21:15 DEBUG : file1: vfs cache: starting upload 2026/04/09 02:21:15 DEBUG : Looking for writers 2026/04/09 02:21:15 DEBUG : file1: reading active writers 2026/04/09 02:21:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/04/09 02:21:15 DEBUG : Looking for writers 2026/04/09 02:21:15 DEBUG : file1: reading active writers 2026/04/09 02:21:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/04/09 02:21:15 DEBUG : Looking for writers 2026/04/09 02:21:15 DEBUG : file1: reading active writers 2026/04/09 02:21:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/04/09 02:21:16 DEBUG : Looking for writers 2026/04/09 02:21:16 DEBUG : file1: reading active writers 2026/04/09 02:21:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:17 DEBUG : file1: size = 5 OK 2026/04/09 02:21:17 INFO : file1: Copied (new) 2026/04/09 02:21:17 DEBUG : file1: vfs cache: fingerprint now "5" 2026/04/09 02:21:17 DEBUG : file1: vfs cache: writeback object to VFS layer 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:21:17 INFO : file1: vfs cache: upload succeeded try #1 2026/04/09 02:21:17 DEBUG : Looking for writers 2026/04/09 02:21:17 DEBUG : file1: reading active writers 2026/04/09 02:21:17 DEBUG : >WaitForWriters: 2026/04/09 02:21:17 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateNew (2.50s) === RUN TestRWFileHandleOpenTests === RUN TestRWFileHandleOpenTests/writes run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:21:17 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:21:17 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:21:17 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:17 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:17 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:17 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:17 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:17 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:17 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:17 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" === RUN TestRWFileHandleOpenTests/writes/os.O_RDONLY 2026/04/09 02:21:17 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=-rw-rw-rw- 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:21:17 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:21:17 DEBUG : open-test-file: newRWFileHandle: 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109ac60bc0): openPending: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109ac60bc0): >openPending: err= 2026/04/09 02:21:17 DEBUG : open-test-file: >newRWFileHandle: err= 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109ac60bc0): _writeAt: size=5, off=0 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109ac60bc0): >_writeAt: n=5, err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109ac60bc0): close: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: setting modification time to 2026-04-09 02:21:17.766648876 +0000 UTC m=+162.371419327 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109ac60bc0): >close: err= 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=-rw-rw-rw- 2026/04/09 02:21:17 DEBUG : open-test-file: Open: flags=O_RDONLY 2026/04/09 02:21:17 DEBUG : open-test-file: newRWFileHandle: 2026/04/09 02:21:17 DEBUG : open-test-file: >newRWFileHandle: err= 2026/04/09 02:21:17 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109ac61040): _readAt: size=2, off=0 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109ac61040): openPending: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109ac61040): >openPending: err= 2026/04/09 02:21:17 DEBUG : vfs cache: looking for range={Pos:0 Size:2} in [{Pos:0 Size:5}] - present true 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109ac61040): >_readAt: n=2, err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109ac61040): _writeAt: size=3, off=2 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109ac61040): >_writeAt: n=0, err=Bad file descriptor 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109ac61040): close: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: setting modification time to 2026-04-09 02:21:17.766648876 +0000 UTC m=+162.371419327 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109ac61040): >close: err= 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2026/04/09 02:21:17 DEBUG : open-test-file: Open: flags=O_RDONLY 2026/04/09 02:21:17 DEBUG : open-test-file: newRWFileHandle: 2026/04/09 02:21:17 DEBUG : open-test-file: >newRWFileHandle: err= 2026/04/09 02:21:17 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109ac61540): _readAt: size=512, off=0 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109ac61540): openPending: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109ac61540): >openPending: err= 2026/04/09 02:21:17 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109ac61540): >_readAt: n=5, err=EOF 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109ac61540): close: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: setting modification time to 2026-04-09 02:21:17.766648876 +0000 UTC m=+162.371419327 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109ac61540): >close: err= 2026/04/09 02:21:17 DEBUG : open-test-file: Remove: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0x26109a8d4380 item 1 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: removed cache file as file deleted 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vDel: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file: >Remove: err= === RUN TestRWFileHandleOpenTests/writes/os.O_WRONLY 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_WRONLY, perm=-rw-rw-rw- 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:21:17 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:21:17 DEBUG : open-test-file: newRWFileHandle: 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b20b500): openPending: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b20b500): >openPending: err= 2026/04/09 02:21:17 DEBUG : open-test-file: >newRWFileHandle: err= 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b20b500): _writeAt: size=5, off=0 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b20b500): >_writeAt: n=5, err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b20b500): close: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: setting modification time to 2026-04-09 02:21:17.78018162 +0000 UTC m=+162.384952071 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b20b500): >close: err= 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_WRONLY, perm=-rw-rw-rw- 2026/04/09 02:21:17 DEBUG : open-test-file: Open: flags=O_WRONLY 2026/04/09 02:21:17 DEBUG : open-test-file: newRWFileHandle: 2026/04/09 02:21:17 DEBUG : open-test-file: >newRWFileHandle: err= 2026/04/09 02:21:17 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b20b980): _readAt: size=2, off=0 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b20b980): >_readAt: n=0, err=Bad file descriptor 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b20b980): _writeAt: size=3, off=0 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b20b980): openPending: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b20b980): >openPending: err= 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0x261099526460 item 2 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b20b980): >_writeAt: n=3, err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b20b980): close: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: setting modification time to 2026-04-09 02:21:17.780978175 +0000 UTC m=+162.385748627 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b20b980): >close: err= 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2026/04/09 02:21:17 DEBUG : open-test-file: Open: flags=O_RDONLY 2026/04/09 02:21:17 DEBUG : open-test-file: newRWFileHandle: 2026/04/09 02:21:17 DEBUG : open-test-file: >newRWFileHandle: err= 2026/04/09 02:21:17 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b20be80): _readAt: size=512, off=0 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b20be80): openPending: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b20be80): >openPending: err= 2026/04/09 02:21:17 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b20be80): >_readAt: n=5, err=EOF 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b20be80): close: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: setting modification time to 2026-04-09 02:21:17.780978175 +0000 UTC m=+162.385748627 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b20be80): >close: err= 2026/04/09 02:21:17 DEBUG : open-test-file: Remove: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0x261099526620 item 2 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: removed cache file as file deleted 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vDel: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file: >Remove: err= === RUN TestRWFileHandleOpenTests/writes/os.O_RDWR 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_RDWR, perm=-rw-rw-rw- 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:21:17 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:21:17 DEBUG : open-test-file: newRWFileHandle: 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109bf34380): openPending: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109bf34380): >openPending: err= 2026/04/09 02:21:17 DEBUG : open-test-file: >newRWFileHandle: err= 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109bf34380): _writeAt: size=5, off=0 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109bf34380): >_writeAt: n=5, err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109bf34380): close: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: setting modification time to 2026-04-09 02:21:17.792811799 +0000 UTC m=+162.397582250 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109bf34380): >close: err= 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_RDWR, perm=-rw-rw-rw- 2026/04/09 02:21:17 DEBUG : open-test-file: Open: flags=O_RDWR 2026/04/09 02:21:17 DEBUG : open-test-file: newRWFileHandle: 2026/04/09 02:21:17 DEBUG : open-test-file: >newRWFileHandle: err= 2026/04/09 02:21:17 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109bf34800): _readAt: size=2, off=0 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109bf34800): openPending: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109bf34800): >openPending: err= 2026/04/09 02:21:17 DEBUG : vfs cache: looking for range={Pos:0 Size:2} in [{Pos:0 Size:5}] - present true 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109bf34800): >_readAt: n=2, err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109bf34800): _writeAt: size=3, off=2 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0x261099ccf420 item 3 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109bf34800): >_writeAt: n=3, err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109bf34800): close: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: setting modification time to 2026-04-09 02:21:17.794794246 +0000 UTC m=+162.399564697 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109bf34800): >close: err= 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2026/04/09 02:21:17 DEBUG : open-test-file: Open: flags=O_RDONLY 2026/04/09 02:21:17 DEBUG : open-test-file: newRWFileHandle: 2026/04/09 02:21:17 DEBUG : open-test-file: >newRWFileHandle: err= 2026/04/09 02:21:17 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109bf34d00): _readAt: size=512, off=0 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109bf34d00): openPending: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109bf34d00): >openPending: err= 2026/04/09 02:21:17 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109bf34d00): >_readAt: n=5, err=EOF 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109bf34d00): close: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: setting modification time to 2026-04-09 02:21:17.794794246 +0000 UTC m=+162.399564697 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109bf34d00): >close: err= 2026/04/09 02:21:17 DEBUG : open-test-file: Remove: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0x261099ccf5e0 item 3 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: removed cache file as file deleted 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vDel: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file: >Remove: err= 2026/04/09 02:21:17 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:21:17 DEBUG : Looking for writers 2026/04/09 02:21:17 DEBUG : >WaitForWriters: 2026/04/09 02:21:17 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaner exiting === RUN TestRWFileHandleOpenTests/full run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:21:17 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:21:17 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:21:17 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:17 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:17 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:17 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:17 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:17 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:17 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:17 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:17 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) === RUN TestRWFileHandleOpenTests/full/os.O_RDONLY 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=-rw-rw-rw- 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:21:17 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:21:17 DEBUG : open-test-file: newRWFileHandle: 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c596200): openPending: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c596200): >openPending: err= 2026/04/09 02:21:17 DEBUG : open-test-file: >newRWFileHandle: err= 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c596200): _writeAt: size=5, off=0 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c596200): >_writeAt: n=5, err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c596200): close: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: setting modification time to 2026-04-09 02:21:17.813603612 +0000 UTC m=+162.418374063 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c596200): >close: err= 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=-rw-rw-rw- 2026/04/09 02:21:17 DEBUG : open-test-file: Open: flags=O_RDONLY 2026/04/09 02:21:17 DEBUG : open-test-file: newRWFileHandle: 2026/04/09 02:21:17 DEBUG : open-test-file: >newRWFileHandle: err= 2026/04/09 02:21:17 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c596680): _readAt: size=2, off=0 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c596680): openPending: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c596680): >openPending: err= 2026/04/09 02:21:17 DEBUG : vfs cache: looking for range={Pos:0 Size:2} in [{Pos:0 Size:5}] - present true 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c596680): >_readAt: n=2, err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c596680): _writeAt: size=3, off=2 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c596680): >_writeAt: n=0, err=Bad file descriptor 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c596680): close: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: setting modification time to 2026-04-09 02:21:17.813603612 +0000 UTC m=+162.418374063 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c596680): >close: err= 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2026/04/09 02:21:17 DEBUG : open-test-file: Open: flags=O_RDONLY 2026/04/09 02:21:17 DEBUG : open-test-file: newRWFileHandle: 2026/04/09 02:21:17 DEBUG : open-test-file: >newRWFileHandle: err= 2026/04/09 02:21:17 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c596bc0): _readAt: size=512, off=0 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c596bc0): openPending: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c596bc0): >openPending: err= 2026/04/09 02:21:17 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c596bc0): >_readAt: n=5, err=EOF 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c596bc0): close: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: setting modification time to 2026-04-09 02:21:17.813603612 +0000 UTC m=+162.418374063 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c596bc0): >close: err= 2026/04/09 02:21:17 DEBUG : open-test-file: Remove: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0x26109a8c9180 item 1 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: removed cache file as file deleted 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vDel: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file: >Remove: err= === RUN TestRWFileHandleOpenTests/full/os.O_WRONLY 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_WRONLY, perm=-rw-rw-rw- 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:21:17 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:21:17 DEBUG : open-test-file: newRWFileHandle: 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b448f40): openPending: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b448f40): >openPending: err= 2026/04/09 02:21:17 DEBUG : open-test-file: >newRWFileHandle: err= 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b448f40): _writeAt: size=5, off=0 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b448f40): >_writeAt: n=5, err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b448f40): close: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: setting modification time to 2026-04-09 02:21:17.826302982 +0000 UTC m=+162.431073433 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b448f40): >close: err= 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_WRONLY, perm=-rw-rw-rw- 2026/04/09 02:21:17 DEBUG : open-test-file: Open: flags=O_WRONLY 2026/04/09 02:21:17 DEBUG : open-test-file: newRWFileHandle: 2026/04/09 02:21:17 DEBUG : open-test-file: >newRWFileHandle: err= 2026/04/09 02:21:17 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b4493c0): _readAt: size=2, off=0 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b4493c0): >_readAt: n=0, err=Bad file descriptor 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b4493c0): _writeAt: size=3, off=0 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b4493c0): openPending: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b4493c0): >openPending: err= 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0x26109b5a5d50 item 2 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b4493c0): >_writeAt: n=3, err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b4493c0): close: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: setting modification time to 2026-04-09 02:21:17.826775495 +0000 UTC m=+162.431545946 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b4493c0): >close: err= 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2026/04/09 02:21:17 DEBUG : open-test-file: Open: flags=O_RDONLY 2026/04/09 02:21:17 DEBUG : open-test-file: newRWFileHandle: 2026/04/09 02:21:17 DEBUG : open-test-file: >newRWFileHandle: err= 2026/04/09 02:21:17 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b4498c0): _readAt: size=512, off=0 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b4498c0): openPending: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b4498c0): >openPending: err= 2026/04/09 02:21:17 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b4498c0): >_readAt: n=5, err=EOF 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b4498c0): close: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: setting modification time to 2026-04-09 02:21:17.826775495 +0000 UTC m=+162.431545946 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109b4498c0): >close: err= 2026/04/09 02:21:17 DEBUG : open-test-file: Remove: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0x26109b5fa070 item 2 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: removed cache file as file deleted 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vDel: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file: >Remove: err= === RUN TestRWFileHandleOpenTests/full/os.O_RDWR 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_RDWR, perm=-rw-rw-rw- 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:21:17 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:21:17 DEBUG : open-test-file: newRWFileHandle: 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109be9da40): openPending: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109be9da40): >openPending: err= 2026/04/09 02:21:17 DEBUG : open-test-file: >newRWFileHandle: err= 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109be9da40): _writeAt: size=5, off=0 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109be9da40): >_writeAt: n=5, err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109be9da40): close: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: setting modification time to 2026-04-09 02:21:17.838803756 +0000 UTC m=+162.443574208 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109be9da40): >close: err= 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_RDWR, perm=-rw-rw-rw- 2026/04/09 02:21:17 DEBUG : open-test-file: Open: flags=O_RDWR 2026/04/09 02:21:17 DEBUG : open-test-file: newRWFileHandle: 2026/04/09 02:21:17 DEBUG : open-test-file: >newRWFileHandle: err= 2026/04/09 02:21:17 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109be9dec0): _readAt: size=2, off=0 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109be9dec0): openPending: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109be9dec0): >openPending: err= 2026/04/09 02:21:17 DEBUG : vfs cache: looking for range={Pos:0 Size:2} in [{Pos:0 Size:5}] - present true 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109be9dec0): >_readAt: n=2, err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109be9dec0): _writeAt: size=3, off=2 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0x26109c1244d0 item 3 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109be9dec0): >_writeAt: n=3, err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109be9dec0): close: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: setting modification time to 2026-04-09 02:21:17.8393823 +0000 UTC m=+162.444152750 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109be9dec0): >close: err= 2026/04/09 02:21:17 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2026/04/09 02:21:17 DEBUG : open-test-file: Open: flags=O_RDONLY 2026/04/09 02:21:17 DEBUG : open-test-file: newRWFileHandle: 2026/04/09 02:21:17 DEBUG : open-test-file: >newRWFileHandle: err= 2026/04/09 02:21:17 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c13e4c0): _readAt: size=512, off=0 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c13e4c0): openPending: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c13e4c0): >openPending: err= 2026/04/09 02:21:17 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c13e4c0): >_readAt: n=5, err=EOF 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c13e4c0): close: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: setting modification time to 2026-04-09 02:21:17.8393823 +0000 UTC m=+162.444152750 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:17 DEBUG : open-test-file(0x26109c13e4c0): >close: err= 2026/04/09 02:21:17 DEBUG : open-test-file: Remove: 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0x26109c124690 item 3 2026/04/09 02:21:17 INFO : open-test-file: vfs cache: removed cache file as file deleted 2026/04/09 02:21:17 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vDel: "open-test-file" 2026/04/09 02:21:17 DEBUG : open-test-file: >Remove: err= 2026/04/09 02:21:17 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:21:17 DEBUG : Looking for writers 2026/04/09 02:21:17 DEBUG : >WaitForWriters: 2026/04/09 02:21:17 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleOpenTests (0.09s) --- PASS: TestRWFileHandleOpenTests/writes (0.04s) --- PASS: TestRWFileHandleOpenTests/writes/os.O_RDONLY (0.00s) --- PASS: TestRWFileHandleOpenTests/writes/os.O_WRONLY (0.00s) --- PASS: TestRWFileHandleOpenTests/writes/os.O_RDWR (0.00s) --- PASS: TestRWFileHandleOpenTests/full (0.04s) --- PASS: TestRWFileHandleOpenTests/full/os.O_RDONLY (0.01s) --- PASS: TestRWFileHandleOpenTests/full/os.O_WRONLY (0.00s) --- PASS: TestRWFileHandleOpenTests/full/os.O_RDWR (0.00s) === RUN TestRWFileModTimeWithOpenWriters run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:21:17 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:21:17 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:21:17 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:17 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:17 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:17 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:17 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:17 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:17 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:17 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:17 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:21:17 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:21:17 DEBUG : file1: newRWFileHandle: 2026/04/09 02:21:17 DEBUG : file1(0x26109cea4900): openPending: 2026/04/09 02:21:17 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2026/04/09 02:21:17 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2026/04/09 02:21:17 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 0 (was 0) 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:21:17 DEBUG : file1(0x26109cea4900): >openPending: err= 2026/04/09 02:21:17 DEBUG : file1: >newRWFileHandle: err= 2026/04/09 02:21:17 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:21:17 DEBUG : file1: >Open: fd=file1 (rw), err= 2026/04/09 02:21:17 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2026/04/09 02:21:18 DEBUG : Can set mod time: false read_write_test.go:655: can't set mod time 2026/04/09 02:21:18 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:21:18 DEBUG : Looking for writers 2026/04/09 02:21:18 DEBUG : file1: reading active writers 2026/04/09 02:21:18 DEBUG : file1: active writers 1 2026/04/09 02:21:18 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2026/04/09 02:21:18 DEBUG : Looking for writers 2026/04/09 02:21:18 DEBUG : file1: reading active writers 2026/04/09 02:21:18 DEBUG : file1: active writers 1 2026/04/09 02:21:18 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2026/04/09 02:21:18 DEBUG : Looking for writers 2026/04/09 02:21:18 DEBUG : file1: reading active writers 2026/04/09 02:21:18 DEBUG : file1: active writers 1 2026/04/09 02:21:18 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2026/04/09 02:21:18 DEBUG : Looking for writers 2026/04/09 02:21:18 DEBUG : file1: reading active writers 2026/04/09 02:21:18 DEBUG : file1: active writers 1 2026/04/09 02:21:18 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2026/04/09 02:21:18 DEBUG : Looking for writers 2026/04/09 02:21:18 DEBUG : file1: reading active writers 2026/04/09 02:21:18 DEBUG : file1: active writers 1 2026/04/09 02:21:18 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2026/04/09 02:21:18 DEBUG : Looking for writers 2026/04/09 02:21:18 DEBUG : file1: reading active writers 2026/04/09 02:21:18 DEBUG : file1: active writers 1 2026/04/09 02:21:18 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2026/04/09 02:21:18 DEBUG : Looking for writers 2026/04/09 02:21:18 DEBUG : file1: reading active writers 2026/04/09 02:21:18 DEBUG : file1: active writers 1 2026/04/09 02:21:18 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2026/04/09 02:21:19 DEBUG : Looking for writers 2026/04/09 02:21:19 DEBUG : file1: reading active writers 2026/04/09 02:21:19 DEBUG : file1: active writers 1 2026/04/09 02:21:19 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:20 DEBUG : Looking for writers 2026/04/09 02:21:20 DEBUG : file1: reading active writers 2026/04/09 02:21:20 DEBUG : file1: active writers 1 2026/04/09 02:21:20 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:21 DEBUG : Looking for writers 2026/04/09 02:21:21 DEBUG : file1: reading active writers 2026/04/09 02:21:21 DEBUG : file1: active writers 1 2026/04/09 02:21:21 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:22 DEBUG : Looking for writers 2026/04/09 02:21:22 DEBUG : file1: reading active writers 2026/04/09 02:21:22 DEBUG : file1: active writers 1 2026/04/09 02:21:22 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:23 DEBUG : Looking for writers 2026/04/09 02:21:23 DEBUG : file1: reading active writers 2026/04/09 02:21:23 DEBUG : file1: active writers 1 2026/04/09 02:21:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:24 DEBUG : Looking for writers 2026/04/09 02:21:24 DEBUG : file1: reading active writers 2026/04/09 02:21:24 DEBUG : file1: active writers 1 2026/04/09 02:21:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:25 DEBUG : Looking for writers 2026/04/09 02:21:25 DEBUG : file1: reading active writers 2026/04/09 02:21:25 DEBUG : file1: active writers 1 2026/04/09 02:21:25 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:26 DEBUG : Looking for writers 2026/04/09 02:21:26 DEBUG : file1: reading active writers 2026/04/09 02:21:26 DEBUG : file1: active writers 1 2026/04/09 02:21:26 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:27 DEBUG : Looking for writers 2026/04/09 02:21:27 DEBUG : file1: reading active writers 2026/04/09 02:21:27 DEBUG : file1: active writers 1 2026/04/09 02:21:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:28 DEBUG : Looking for writers 2026/04/09 02:21:28 DEBUG : file1: reading active writers 2026/04/09 02:21:28 DEBUG : file1: active writers 1 2026/04/09 02:21:28 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:29 DEBUG : Looking for writers 2026/04/09 02:21:29 DEBUG : file1: reading active writers 2026/04/09 02:21:29 DEBUG : file1: active writers 1 2026/04/09 02:21:29 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:30 DEBUG : Looking for writers 2026/04/09 02:21:30 DEBUG : file1: reading active writers 2026/04/09 02:21:30 DEBUG : file1: active writers 1 2026/04/09 02:21:30 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:31 DEBUG : Looking for writers 2026/04/09 02:21:31 DEBUG : file1: reading active writers 2026/04/09 02:21:31 DEBUG : file1: active writers 1 2026/04/09 02:21:31 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:32 DEBUG : Looking for writers 2026/04/09 02:21:32 DEBUG : file1: reading active writers 2026/04/09 02:21:32 DEBUG : file1: active writers 1 2026/04/09 02:21:32 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:33 DEBUG : Looking for writers 2026/04/09 02:21:33 DEBUG : file1: reading active writers 2026/04/09 02:21:33 DEBUG : file1: active writers 1 2026/04/09 02:21:33 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:34 DEBUG : Looking for writers 2026/04/09 02:21:34 DEBUG : file1: reading active writers 2026/04/09 02:21:34 DEBUG : file1: active writers 1 2026/04/09 02:21:34 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:35 DEBUG : Looking for writers 2026/04/09 02:21:35 DEBUG : file1: reading active writers 2026/04/09 02:21:35 DEBUG : file1: active writers 1 2026/04/09 02:21:35 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:36 DEBUG : Looking for writers 2026/04/09 02:21:36 DEBUG : file1: reading active writers 2026/04/09 02:21:36 DEBUG : file1: active writers 1 2026/04/09 02:21:36 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:37 DEBUG : Looking for writers 2026/04/09 02:21:37 DEBUG : file1: reading active writers 2026/04/09 02:21:37 DEBUG : file1: active writers 1 2026/04/09 02:21:37 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:38 DEBUG : Looking for writers 2026/04/09 02:21:38 DEBUG : file1: reading active writers 2026/04/09 02:21:38 DEBUG : file1: active writers 1 2026/04/09 02:21:38 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:39 DEBUG : Looking for writers 2026/04/09 02:21:39 DEBUG : file1: reading active writers 2026/04/09 02:21:39 DEBUG : file1: active writers 1 2026/04/09 02:21:39 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:40 DEBUG : Looking for writers 2026/04/09 02:21:40 DEBUG : file1: reading active writers 2026/04/09 02:21:40 DEBUG : file1: active writers 1 2026/04/09 02:21:40 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:41 DEBUG : Looking for writers 2026/04/09 02:21:41 DEBUG : file1: reading active writers 2026/04/09 02:21:41 DEBUG : file1: active writers 1 2026/04/09 02:21:41 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:42 DEBUG : Looking for writers 2026/04/09 02:21:42 DEBUG : file1: reading active writers 2026/04/09 02:21:42 DEBUG : file1: active writers 1 2026/04/09 02:21:42 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:43 DEBUG : Looking for writers 2026/04/09 02:21:43 DEBUG : file1: reading active writers 2026/04/09 02:21:43 DEBUG : file1: active writers 1 2026/04/09 02:21:43 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:44 DEBUG : Looking for writers 2026/04/09 02:21:44 DEBUG : file1: reading active writers 2026/04/09 02:21:44 DEBUG : file1: active writers 1 2026/04/09 02:21:44 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:45 DEBUG : Looking for writers 2026/04/09 02:21:45 DEBUG : file1: reading active writers 2026/04/09 02:21:45 DEBUG : file1: active writers 1 2026/04/09 02:21:45 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:46 DEBUG : Looking for writers 2026/04/09 02:21:46 DEBUG : file1: reading active writers 2026/04/09 02:21:46 DEBUG : file1: active writers 1 2026/04/09 02:21:46 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:47 DEBUG : Looking for writers 2026/04/09 02:21:47 DEBUG : file1: reading active writers 2026/04/09 02:21:47 DEBUG : file1: active writers 1 2026/04/09 02:21:47 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2026/04/09 02:21:48 ERROR : Exiting even though 1 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0x26109ce54a50 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0x26109b9497a8 notify:{wait:0 notify:0 lock:0 head: tail:} checker:41852771538912} name:file1 opens:1 downloaders: o: fd:0x2610985831a0 info:{ModTime:{wall:14010101575368713967 ext:162460287362 loc:0x469f880} ATime:{wall:14010101575368713967 ext:162460287362 loc:0x469f880} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:0 pendingAccesses:0 modified:true beingReset:false graceTimer:}, } 2026/04/09 02:21:48 DEBUG : >WaitForWriters: 2026/04/09 02:21:48 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaner exiting --- SKIP: TestRWFileModTimeWithOpenWriters (30.29s) === RUN TestRWCacheRename run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:21:48 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:21:48 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:21:48 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:48 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:48 DEBUG : Config file has changed externally - reloading 2026/04/09 02:21:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:48 DEBUG : rename_me: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:21:48 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/04/09 02:21:48 DEBUG : rename_me: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:21:48 DEBUG : rename_me: newRWFileHandle: 2026/04/09 02:21:48 DEBUG : rename_me(0x26109cf1dcc0): openPending: 2026/04/09 02:21:48 DEBUG : rename_me: vfs cache: truncate to size=0 (not needed as size correct) 2026/04/09 02:21:48 DEBUG : Added virtual directory entry vAddFile: "rename_me" 2026/04/09 02:21:48 DEBUG : rename_me(0x26109cf1dcc0): >openPending: err= 2026/04/09 02:21:48 DEBUG : rename_me: >newRWFileHandle: err= 2026/04/09 02:21:48 DEBUG : Added virtual directory entry vAddFile: "rename_me" 2026/04/09 02:21:48 DEBUG : rename_me: >Open: fd=rename_me (rw), err= 2026/04/09 02:21:48 DEBUG : rename_me: >OpenFile: fd=rename_me (rw), err= 2026/04/09 02:21:48 DEBUG : rename_me(0x26109cf1dcc0): _writeAt: size=5, off=0 2026/04/09 02:21:48 DEBUG : rename_me(0x26109cf1dcc0): >_writeAt: n=5, err= 2026/04/09 02:21:48 DEBUG : rename_me(0x26109cf1dcc0): close: 2026/04/09 02:21:48 DEBUG : rename_me: vfs cache: setting modification time to 2026-04-09 02:21:48.149427322 +0000 UTC m=+192.754197773 2026/04/09 02:21:48 INFO : rename_me: vfs cache: queuing for upload in 100ms 2026/04/09 02:21:48 DEBUG : rename_me(0x26109cf1dcc0): >close: err= 2026/04/09 02:21:48 INFO : rename_me: vfs cache: renamed in cache to "i_was_renamed" 2026/04/09 02:21:48 DEBUG : i_was_renamed: Updating file with 0x26109cec2d80 2026/04/09 02:21:48 DEBUG : Added virtual directory entry vDel: "rename_me" 2026/04/09 02:21:48 DEBUG : Added virtual directory entry vAddFile: "i_was_renamed" 2026/04/09 02:21:48 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:21:48 DEBUG : Looking for writers 2026/04/09 02:21:48 DEBUG : i_was_renamed: reading active writers 2026/04/09 02:21:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/04/09 02:21:48 DEBUG : Looking for writers 2026/04/09 02:21:48 DEBUG : i_was_renamed: reading active writers 2026/04/09 02:21:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/04/09 02:21:48 DEBUG : Looking for writers 2026/04/09 02:21:48 DEBUG : i_was_renamed: reading active writers 2026/04/09 02:21:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/04/09 02:21:48 DEBUG : Looking for writers 2026/04/09 02:21:48 DEBUG : i_was_renamed: reading active writers 2026/04/09 02:21:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/04/09 02:21:48 DEBUG : i_was_renamed: vfs cache: starting upload 2026/04/09 02:21:48 DEBUG : Looking for writers 2026/04/09 02:21:48 DEBUG : i_was_renamed: reading active writers 2026/04/09 02:21:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/04/09 02:21:48 DEBUG : i_was_renamed: size = 5 OK 2026/04/09 02:21:48 INFO : i_was_renamed: Copied (new) 2026/04/09 02:21:48 DEBUG : i_was_renamed: vfs cache: fingerprint now "5" 2026/04/09 02:21:48 DEBUG : i_was_renamed: vfs cache: writeback object to VFS layer 2026/04/09 02:21:48 DEBUG : Added virtual directory entry vAddFile: "i_was_renamed" 2026/04/09 02:21:48 INFO : i_was_renamed: vfs cache: upload succeeded try #1 2026/04/09 02:21:48 DEBUG : Looking for writers 2026/04/09 02:21:48 DEBUG : i_was_renamed: reading active writers 2026/04/09 02:21:48 DEBUG : >WaitForWriters: 2026/04/09 02:21:48 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaner exiting --- PASS: TestRWCacheRename (0.68s) === RUN TestRWCacheUpdate run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:21:48 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:21:48 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/09 02:21:48 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:48 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" 2026/04/09 02:21:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/09 02:21:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tidizoq6luqu" read_write_test.go:730: skip as modtime not supported 2026/04/09 02:21:48 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:21:48 DEBUG : Looking for writers 2026/04/09 02:21:48 DEBUG : >WaitForWriters: 2026/04/09 02:21:48 INFO : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/04/09 02:21:48 DEBUG : mega root 'rclone-test-tidizoq6luqu': vfs cache: cleaner exiting --- SKIP: TestRWCacheUpdate (0.01s) === RUN TestCaseSensitivity run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:21:49 DEBUG : forgetting directory cache 2026/04/09 02:21:49 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:21:49 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:21:49 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:21:49 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:21:49 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:49 DEBUG : FiLeA: Open: flags=O_RDONLY 2026/04/09 02:21:49 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2026/04/09 02:21:49 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2026/04/09 02:21:49 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:21:49 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/04/09 02:21:49 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:49 DEBUG : FiLeA: Open: flags=O_RDONLY 2026/04/09 02:21:49 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2026/04/09 02:21:49 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2026/04/09 02:21:49 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:21:49 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/04/09 02:21:49 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:49 DEBUG : FiLeA: Open: flags=O_RDONLY 2026/04/09 02:21:49 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2026/04/09 02:21:49 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2026/04/09 02:21:49 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:21:49 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/04/09 02:21:50 DEBUG : FiLeB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:50 DEBUG : FiLeB: Open: flags=O_RDONLY 2026/04/09 02:21:50 DEBUG : FiLeB: >Open: fd=FiLeB (r), err= 2026/04/09 02:21:50 DEBUG : FiLeB: >OpenFile: fd=FiLeB (r), err= 2026/04/09 02:21:50 DEBUG : FiLeB: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:21:50 DEBUG : FiLeB: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/04/09 02:21:50 DEBUG : FilEb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:50 DEBUG : FilEb: Open: flags=O_RDONLY 2026/04/09 02:21:50 DEBUG : FilEb: >Open: fd=FilEb (r), err= 2026/04/09 02:21:50 DEBUG : FilEb: >OpenFile: fd=FilEb (r), err= 2026/04/09 02:21:50 DEBUG : FilEb: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:21:50 DEBUG : FilEb: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/04/09 02:21:50 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:50 DEBUG : FiLeA: Open: flags=O_RDONLY 2026/04/09 02:21:50 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2026/04/09 02:21:50 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2026/04/09 02:21:50 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:21:50 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/04/09 02:21:50 DEBUG : fileA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:50 DEBUG : FiLeA: Open: flags=O_RDONLY 2026/04/09 02:21:50 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2026/04/09 02:21:50 DEBUG : fileA: >OpenFile: fd=FiLeA (r), err= 2026/04/09 02:21:50 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:21:50 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/04/09 02:21:50 DEBUG : filea: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:50 DEBUG : FiLeA: Open: flags=O_RDONLY 2026/04/09 02:21:50 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2026/04/09 02:21:50 DEBUG : filea: >OpenFile: fd=FiLeA (r), err= 2026/04/09 02:21:50 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:21:50 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/04/09 02:21:50 DEBUG : FILEA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:50 DEBUG : FiLeA: Open: flags=O_RDONLY 2026/04/09 02:21:50 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2026/04/09 02:21:50 DEBUG : FILEA: >OpenFile: fd=FiLeA (r), err= 2026/04/09 02:21:50 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:21:50 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/04/09 02:21:51 DEBUG : FiLeB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:51 DEBUG : FiLeB: Open: flags=O_RDONLY 2026/04/09 02:21:51 DEBUG : FiLeB: >Open: fd=FiLeB (r), err= 2026/04/09 02:21:51 DEBUG : FiLeB: >OpenFile: fd=FiLeB (r), err= 2026/04/09 02:21:51 DEBUG : FiLeB: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:21:51 DEBUG : FiLeB: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/04/09 02:21:51 DEBUG : FilEb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:51 DEBUG : FilEb: Open: flags=O_RDONLY 2026/04/09 02:21:51 DEBUG : FilEb: >Open: fd=FilEb (r), err= 2026/04/09 02:21:51 DEBUG : FilEb: >OpenFile: fd=FilEb (r), err= 2026/04/09 02:21:51 DEBUG : FilEb: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:21:51 DEBUG : FilEb: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/04/09 02:21:51 DEBUG : fileb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:51 ERROR : /: Dir.Stat error: duplicate filename "fileb" detected with case/unicode normalization settings 2026/04/09 02:21:51 DEBUG : fileb: >OpenFile: fd=, err=duplicate filename "fileb" detected with case/unicode normalization settings 2026/04/09 02:21:51 DEBUG : FILEB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:51 ERROR : /: Dir.Stat error: duplicate filename "FILEB" detected with case/unicode normalization settings 2026/04/09 02:21:51 DEBUG : FILEB: >OpenFile: fd=, err=duplicate filename "FILEB" detected with case/unicode normalization settings 2026/04/09 02:21:51 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:51 DEBUG : FiLeA: Open: flags=O_RDONLY 2026/04/09 02:21:51 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2026/04/09 02:21:51 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2026/04/09 02:21:51 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:21:51 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/04/09 02:21:51 DEBUG : fileA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:51 DEBUG : fileA: >OpenFile: fd=, err=file does not exist 2026/04/09 02:21:51 DEBUG : filea: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:51 DEBUG : filea: >OpenFile: fd=, err=file does not exist 2026/04/09 02:21:51 DEBUG : FILEA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:51 DEBUG : FILEA: >OpenFile: fd=, err=file does not exist 2026/04/09 02:21:51 DEBUG : FiLeB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:51 DEBUG : FiLeB: Open: flags=O_RDONLY 2026/04/09 02:21:51 DEBUG : FiLeB: >Open: fd=FiLeB (r), err= 2026/04/09 02:21:51 DEBUG : FiLeB: >OpenFile: fd=FiLeB (r), err= 2026/04/09 02:21:51 DEBUG : FiLeB: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:21:51 DEBUG : FiLeB: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/04/09 02:21:51 DEBUG : FilEb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:51 DEBUG : FilEb: Open: flags=O_RDONLY 2026/04/09 02:21:51 DEBUG : FilEb: >Open: fd=FilEb (r), err= 2026/04/09 02:21:51 DEBUG : FilEb: >OpenFile: fd=FilEb (r), err= 2026/04/09 02:21:51 DEBUG : FilEb: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:21:51 DEBUG : FilEb: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/04/09 02:21:52 DEBUG : fileb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:52 DEBUG : fileb: >OpenFile: fd=, err=file does not exist 2026/04/09 02:21:52 DEBUG : FILEB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:52 DEBUG : FILEB: >OpenFile: fd=, err=file does not exist 2026/04/09 02:21:52 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:21:52 DEBUG : Looking for writers 2026/04/09 02:21:52 DEBUG : FiLeA: reading active writers 2026/04/09 02:21:52 DEBUG : FiLeB: reading active writers 2026/04/09 02:21:52 DEBUG : FilEb: reading active writers 2026/04/09 02:21:52 DEBUG : >WaitForWriters: 2026/04/09 02:21:52 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:21:52 DEBUG : Looking for writers 2026/04/09 02:21:52 DEBUG : FiLeA: reading active writers 2026/04/09 02:21:52 DEBUG : FiLeB: reading active writers 2026/04/09 02:21:52 DEBUG : FilEb: reading active writers 2026/04/09 02:21:52 DEBUG : >WaitForWriters: --- PASS: TestCaseSensitivity (3.50s) === RUN TestUnicodeNormalization run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:21:54 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:21:54 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:21:54 DEBUG : normal name with no special characters.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:54 DEBUG : normal name with no special characters.txt: Open: flags=O_RDONLY 2026/04/09 02:21:54 DEBUG : normal name with no special characters.txt: >Open: fd=normal name with no special characters.txt (r), err= 2026/04/09 02:21:54 DEBUG : normal name with no special characters.txt: >OpenFile: fd=normal name with no special characters.txt (r), err= 2026/04/09 02:21:54 DEBUG : normal name with no special characters.txt: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:21:55 DEBUG : normal name with no special characters.txt: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/04/09 02:21:55 DEBUG : 測試_Русский___ě_áñ: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:55 DEBUG : 測試_Русский___ě_áñ: Open: flags=O_RDONLY 2026/04/09 02:21:55 DEBUG : 測試_Русский___ě_áñ: >Open: fd=測試_Русский___ě_áñ (r), err= 2026/04/09 02:21:55 DEBUG : 測試_Русский___ě_áñ: >OpenFile: fd=測試_Русский___ě_áñ (r), err= 2026/04/09 02:21:55 DEBUG : 測試_Русский___ě_áñ: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:21:56 DEBUG : 測試_Русский___ě_áñ: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/04/09 02:21:56 DEBUG : normal name with no special characters.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:56 DEBUG : normal name with no special characters.txt: Open: flags=O_RDONLY 2026/04/09 02:21:56 DEBUG : normal name with no special characters.txt: >Open: fd=normal name with no special characters.txt (r), err= 2026/04/09 02:21:56 DEBUG : normal name with no special characters.txt: >OpenFile: fd=normal name with no special characters.txt (r), err= 2026/04/09 02:21:56 DEBUG : normal name with no special characters.txt: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:21:56 DEBUG : normal name with no special characters.txt: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2026/04/09 02:21:56 DEBUG : 測試_Русский___ě_áñ: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:21:56 DEBUG : 測試_Русский___ě_áñ: >OpenFile: fd=, err=file does not exist 2026/04/09 02:21:56 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:21:56 DEBUG : Looking for writers 2026/04/09 02:21:56 DEBUG : normal name with no special characters.txt: reading active writers 2026/04/09 02:21:56 DEBUG : 測試_Русский___ě_áñ: reading active writers 2026/04/09 02:21:56 DEBUG : >WaitForWriters: --- PASS: TestUnicodeNormalization (4.20s) === RUN TestVFSNew run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:21:56 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:21:56 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:21:56 DEBUG : mega root 'rclone-test-tidizoq6luqu': Reusing VFS from active cache 2026/04/09 02:21:56 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:21:56 DEBUG : Looking for writers 2026/04/09 02:21:56 DEBUG : >WaitForWriters: 2026/04/09 02:21:56 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:21:56 DEBUG : Looking for writers 2026/04/09 02:21:56 DEBUG : >WaitForWriters: --- PASS: TestVFSNew (0.00s) === RUN TestVFSNewWithOpts run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:21:56 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:21:56 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:21:56 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:21:56 DEBUG : Looking for writers 2026/04/09 02:21:56 DEBUG : >WaitForWriters: --- PASS: TestVFSNewWithOpts (0.00s) === RUN TestVFSRoot run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:21:56 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:21:56 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:21:56 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:21:56 DEBUG : Looking for writers 2026/04/09 02:21:56 DEBUG : >WaitForWriters: --- PASS: TestVFSRoot (0.00s) === RUN TestVFSStat run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:21:56 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:21:56 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:21:58 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:21:58 DEBUG : dir: Looking for writers 2026/04/09 02:21:58 DEBUG : file2: reading active writers 2026/04/09 02:21:58 DEBUG : Looking for writers 2026/04/09 02:21:58 DEBUG : dir: reading active writers 2026/04/09 02:21:58 DEBUG : file1: reading active writers 2026/04/09 02:21:58 DEBUG : >WaitForWriters: --- PASS: TestVFSStat (2.66s) === RUN TestVFSStatParent run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:21:59 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:21:59 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:21:59 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:21:59 DEBUG : dir: Looking for writers 2026/04/09 02:21:59 DEBUG : Looking for writers 2026/04/09 02:21:59 DEBUG : dir: reading active writers 2026/04/09 02:21:59 DEBUG : file1: reading active writers 2026/04/09 02:21:59 DEBUG : >WaitForWriters: --- PASS: TestVFSStatParent (0.68s) === RUN TestVFSOpenFile run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:21:59 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:21:59 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:22:00 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:22:00 DEBUG : file1: Open: flags=O_RDONLY 2026/04/09 02:22:00 DEBUG : file1: >Open: fd=file1 (r), err= 2026/04/09 02:22:00 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2026/04/09 02:22:00 DEBUG : dir: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:22:00 DEBUG : dir: >OpenFile: fd=dir/ (r), err= 2026/04/09 02:22:00 DEBUG : dir/new_file.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/04/09 02:22:00 DEBUG : dir/new_file.txt: >OpenFile: fd=, err=file does not exist 2026/04/09 02:22:00 DEBUG : dir/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:22:00 DEBUG : dir/new_file.txt: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:22:00 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2026/04/09 02:22:00 DEBUG : dir/new_file.txt: >Open: fd=dir/new_file.txt (w), err= 2026/04/09 02:22:00 DEBUG : dir/new_file.txt: >OpenFile: fd=dir/new_file.txt (w), err= 2026/04/09 02:22:00 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2026/04/09 02:22:00 DEBUG : mega root 'rclone-test-tidizoq6luqu': File to upload is small (0 bytes), uploading instead of streaming 2026/04/09 02:22:00 DEBUG : dir/new_file.txt: size = 0 OK 2026/04/09 02:22:00 DEBUG : dir/new_file.txt: Size of src and dst objects identical 2026/04/09 02:22:00 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2026/04/09 02:22:00 DEBUG : not found/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:22:00 DEBUG : not found/new_file.txt: >OpenFile: fd=, err=file does not exist 2026/04/09 02:22:00 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:22:00 DEBUG : dir: Looking for writers 2026/04/09 02:22:00 DEBUG : file2: reading active writers 2026/04/09 02:22:00 DEBUG : new_file.txt: reading active writers 2026/04/09 02:22:00 DEBUG : Looking for writers 2026/04/09 02:22:00 DEBUG : dir: reading active writers 2026/04/09 02:22:00 DEBUG : file1: reading active writers 2026/04/09 02:22:00 DEBUG : >WaitForWriters: --- PASS: TestVFSOpenFile (1.68s) === RUN TestVFSRename run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:22:01 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:22:01 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:22:01 INFO : dir/file2: Moved (server-side) to: dir/file1 2026/04/09 02:22:01 DEBUG : dir/file1: Updating file with dir/file1 0x2610985ccd80 2026/04/09 02:22:01 DEBUG : dir: Added virtual directory entry vDel: "file2" 2026/04/09 02:22:01 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:02 INFO : dir/file1: Moved (server-side) to: file0 2026/04/09 02:22:02 DEBUG : file0: Updating file with file0 0x2610985ccd80 2026/04/09 02:22:02 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/09 02:22:02 DEBUG : Added virtual directory entry vAddFile: "file0" 2026/04/09 02:22:02 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:22:02 DEBUG : dir: Looking for writers 2026/04/09 02:22:02 DEBUG : Looking for writers 2026/04/09 02:22:02 DEBUG : dir: reading active writers 2026/04/09 02:22:02 DEBUG : file0: reading active writers 2026/04/09 02:22:02 DEBUG : >WaitForWriters: --- PASS: TestVFSRename (1.07s) === RUN TestVFSStatfs run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:22:02 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:22:02 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:22:02 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:22:02 DEBUG : Looking for writers 2026/04/09 02:22:02 DEBUG : >WaitForWriters: --- PASS: TestVFSStatfs (0.06s) === RUN TestVFSMkdir run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:22:02 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:22:02 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:22:02 DEBUG : Added virtual directory entry vAddDir: "/" 2026/04/09 02:22:02 DEBUG : Added virtual directory entry vAddDir: "a" 2026/04/09 02:22:04 DEBUG : Added virtual directory entry vAddDir: "b" 2026/04/09 02:22:04 DEBUG : Added virtual directory entry vAddDir: "c" 2026/04/09 02:22:04 DEBUG : Added virtual directory entry vAddDir: "d" 2026/04/09 02:22:04 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:22:04 DEBUG : a: Looking for writers 2026/04/09 02:22:04 DEBUG : b: Looking for writers 2026/04/09 02:22:04 DEBUG : c: Looking for writers 2026/04/09 02:22:04 DEBUG : d: Looking for writers 2026/04/09 02:22:04 DEBUG : Looking for writers 2026/04/09 02:22:04 DEBUG : Looking for writers 2026/04/09 02:22:04 DEBUG : a: reading active writers 2026/04/09 02:22:04 DEBUG : b: reading active writers 2026/04/09 02:22:04 DEBUG : c: reading active writers 2026/04/09 02:22:04 DEBUG : d: reading active writers 2026/04/09 02:22:04 DEBUG : /: reading active writers 2026/04/09 02:22:04 DEBUG : >WaitForWriters: --- PASS: TestVFSMkdir (3.01s) === RUN TestVFSMkdirAll run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:22:05 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:22:05 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:22:05 DEBUG : Added virtual directory entry vAddDir: "a" 2026/04/09 02:22:05 DEBUG : a: Added virtual directory entry vAddDir: "b" 2026/04/09 02:22:05 DEBUG : a/b: Added virtual directory entry vAddDir: "c" 2026/04/09 02:22:05 DEBUG : a/b/c: Added virtual directory entry vAddDir: "d" 2026/04/09 02:22:05 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:22:05 DEBUG : a/b/c/d: Looking for writers 2026/04/09 02:22:05 DEBUG : a/b/c: Looking for writers 2026/04/09 02:22:05 DEBUG : d: reading active writers 2026/04/09 02:22:05 DEBUG : a/b: Looking for writers 2026/04/09 02:22:05 DEBUG : c: reading active writers 2026/04/09 02:22:05 DEBUG : a: Looking for writers 2026/04/09 02:22:05 DEBUG : b: reading active writers 2026/04/09 02:22:05 DEBUG : Looking for writers 2026/04/09 02:22:05 DEBUG : a: reading active writers 2026/04/09 02:22:05 DEBUG : >WaitForWriters: --- PASS: TestVFSMkdirAll (1.28s) === RUN TestVFSIsMetadataFile run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:22:06 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:22:06 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:22:06 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:22:06 DEBUG : Looking for writers 2026/04/09 02:22:06 DEBUG : >WaitForWriters: --- PASS: TestVFSIsMetadataFile (0.00s) === RUN TestWriteFileHandleMethods run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:22:06 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:22:06 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:22:06 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:22:06 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:22:06 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:06 DEBUG : file1: >Open: fd=file1 (w), err= 2026/04/09 02:22:06 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/04/09 02:22:06 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:06 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2026/04/09 02:22:06 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2026/04/09 02:22:06 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2026/04/09 02:22:06 DEBUG : mega root 'rclone-test-tidizoq6luqu': File to upload is small (5 bytes), uploading instead of streaming 2026/04/09 02:22:07 DEBUG : file1: size = 5 OK 2026/04/09 02:22:07 DEBUG : file1: Size of src and dst objects identical 2026/04/09 02:22:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:07 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:22:07 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:22:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:07 DEBUG : file1: >Open: fd=file1 (w), err= 2026/04/09 02:22:07 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/04/09 02:22:07 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:22:07 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:22:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:07 DEBUG : file1: >Open: fd=file1 (w), err= 2026/04/09 02:22:07 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/04/09 02:22:07 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2026/04/09 02:22:07 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/04/09 02:22:07 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/04/09 02:22:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:07 DEBUG : file1: >Open: fd=file1 (w), err= 2026/04/09 02:22:07 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/04/09 02:22:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:07 DEBUG : mega root 'rclone-test-tidizoq6luqu': File to upload is small (0 bytes), uploading instead of streaming 2026/04/09 02:22:07 DEBUG : file1: size = 0 OK 2026/04/09 02:22:07 DEBUG : file1: Size of src and dst objects identical 2026/04/09 02:22:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:07 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/04/09 02:22:07 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/04/09 02:22:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:07 DEBUG : file1: >Open: fd=file1 (w), err= 2026/04/09 02:22:07 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/04/09 02:22:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:07 DEBUG : mega root 'rclone-test-tidizoq6luqu': File to upload is small (7 bytes), uploading instead of streaming 2026/04/09 02:22:08 DEBUG : file1: size = 7 OK 2026/04/09 02:22:08 DEBUG : file1: Size of src and dst objects identical 2026/04/09 02:22:08 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:08 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:22:08 DEBUG : Looking for writers 2026/04/09 02:22:08 DEBUG : file1: reading active writers 2026/04/09 02:22:08 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleMethods (1.43s) === RUN TestWriteFileHandleWriteAt run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:22:08 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:22:08 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:22:08 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:22:08 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:22:08 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:08 DEBUG : file1: >Open: fd=file1 (w), err= 2026/04/09 02:22:08 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/04/09 02:22:08 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:08 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2026/04/09 02:22:09 DEBUG : file1: aborting in-sequence write wait, off=100 2026/04/09 02:22:09 DEBUG : file1: failed to wait for in-sequence write to 100 2026/04/09 02:22:09 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2026/04/09 02:22:09 DEBUG : mega root 'rclone-test-tidizoq6luqu': File to upload is small (11 bytes), uploading instead of streaming 2026/04/09 02:22:09 DEBUG : file1: size = 11 OK 2026/04/09 02:22:09 DEBUG : file1: Size of src and dst objects identical 2026/04/09 02:22:09 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:09 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor 2026/04/09 02:22:09 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:22:09 DEBUG : Looking for writers 2026/04/09 02:22:09 DEBUG : file1: reading active writers 2026/04/09 02:22:09 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleWriteAt (1.24s) === RUN TestWriteFileHandleFlush run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:22:09 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:22:09 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:22:09 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:22:09 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:22:09 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:09 DEBUG : file1: >Open: fd=file1 (w), err= 2026/04/09 02:22:09 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/04/09 02:22:09 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2026/04/09 02:22:09 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:09 DEBUG : mega root 'rclone-test-tidizoq6luqu': File to upload is small (5 bytes), uploading instead of streaming 2026/04/09 02:22:09 DEBUG : file1: size = 5 OK 2026/04/09 02:22:09 DEBUG : file1: Size of src and dst objects identical 2026/04/09 02:22:09 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:09 DEBUG : file1: WriteFileHandle.Flush nothing to do 2026/04/09 02:22:09 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:22:09 DEBUG : Looking for writers 2026/04/09 02:22:09 DEBUG : file1: reading active writers 2026/04/09 02:22:09 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleFlush (0.28s) === RUN TestWriteFileHandleRelease run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:22:09 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:22:09 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:22:09 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:22:09 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:22:09 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:09 DEBUG : file1: >Open: fd=file1 (w), err= 2026/04/09 02:22:09 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/04/09 02:22:09 DEBUG : file1: WriteFileHandle.Release closing 2026/04/09 02:22:09 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:09 DEBUG : mega root 'rclone-test-tidizoq6luqu': File to upload is small (0 bytes), uploading instead of streaming 2026/04/09 02:22:10 DEBUG : file1: size = 0 OK 2026/04/09 02:22:10 DEBUG : file1: Size of src and dst objects identical 2026/04/09 02:22:10 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:10 DEBUG : file1: WriteFileHandle.Release nothing to do 2026/04/09 02:22:10 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:22:10 DEBUG : Looking for writers 2026/04/09 02:22:10 DEBUG : file1: reading active writers 2026/04/09 02:22:10 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleRelease (0.19s) === RUN TestWriteFileModTimeWithOpenWriters run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:22:10 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:22:10 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:22:10 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:22:10 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:22:10 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:10 DEBUG : file1: >Open: fd=file1 (w), err= 2026/04/09 02:22:10 DEBUG : file1: >OpenFile: fd=file1 (w), err= write_test.go:321: can't set mod time 2026/04/09 02:22:10 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:22:10 DEBUG : Looking for writers 2026/04/09 02:22:10 DEBUG : file1: reading active writers 2026/04/09 02:22:10 DEBUG : file1: active writers 1 2026/04/09 02:22:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2026/04/09 02:22:10 DEBUG : Looking for writers 2026/04/09 02:22:10 DEBUG : file1: reading active writers 2026/04/09 02:22:10 DEBUG : file1: active writers 1 2026/04/09 02:22:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2026/04/09 02:22:10 DEBUG : Looking for writers 2026/04/09 02:22:10 DEBUG : file1: reading active writers 2026/04/09 02:22:10 DEBUG : file1: active writers 1 2026/04/09 02:22:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2026/04/09 02:22:10 DEBUG : Looking for writers 2026/04/09 02:22:10 DEBUG : file1: reading active writers 2026/04/09 02:22:10 DEBUG : file1: active writers 1 2026/04/09 02:22:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2026/04/09 02:22:10 DEBUG : Looking for writers 2026/04/09 02:22:10 DEBUG : file1: reading active writers 2026/04/09 02:22:10 DEBUG : file1: active writers 1 2026/04/09 02:22:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2026/04/09 02:22:10 DEBUG : Looking for writers 2026/04/09 02:22:10 DEBUG : file1: reading active writers 2026/04/09 02:22:10 DEBUG : file1: active writers 1 2026/04/09 02:22:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2026/04/09 02:22:10 DEBUG : Looking for writers 2026/04/09 02:22:10 DEBUG : file1: reading active writers 2026/04/09 02:22:10 DEBUG : file1: active writers 1 2026/04/09 02:22:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2026/04/09 02:22:11 DEBUG : Looking for writers 2026/04/09 02:22:11 DEBUG : file1: reading active writers 2026/04/09 02:22:11 DEBUG : file1: active writers 1 2026/04/09 02:22:11 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:12 DEBUG : Looking for writers 2026/04/09 02:22:12 DEBUG : file1: reading active writers 2026/04/09 02:22:12 DEBUG : file1: active writers 1 2026/04/09 02:22:12 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:13 DEBUG : Looking for writers 2026/04/09 02:22:13 DEBUG : file1: reading active writers 2026/04/09 02:22:13 DEBUG : file1: active writers 1 2026/04/09 02:22:13 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:14 DEBUG : Looking for writers 2026/04/09 02:22:14 DEBUG : file1: reading active writers 2026/04/09 02:22:14 DEBUG : file1: active writers 1 2026/04/09 02:22:14 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:15 DEBUG : Looking for writers 2026/04/09 02:22:15 DEBUG : file1: reading active writers 2026/04/09 02:22:15 DEBUG : file1: active writers 1 2026/04/09 02:22:15 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:16 DEBUG : Looking for writers 2026/04/09 02:22:16 DEBUG : file1: reading active writers 2026/04/09 02:22:16 DEBUG : file1: active writers 1 2026/04/09 02:22:16 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:17 DEBUG : Looking for writers 2026/04/09 02:22:17 DEBUG : file1: reading active writers 2026/04/09 02:22:17 DEBUG : file1: active writers 1 2026/04/09 02:22:17 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:18 DEBUG : Looking for writers 2026/04/09 02:22:18 DEBUG : file1: reading active writers 2026/04/09 02:22:18 DEBUG : file1: active writers 1 2026/04/09 02:22:18 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:19 DEBUG : Looking for writers 2026/04/09 02:22:19 DEBUG : file1: reading active writers 2026/04/09 02:22:19 DEBUG : file1: active writers 1 2026/04/09 02:22:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:20 DEBUG : Looking for writers 2026/04/09 02:22:20 DEBUG : file1: reading active writers 2026/04/09 02:22:20 DEBUG : file1: active writers 1 2026/04/09 02:22:20 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:21 DEBUG : Looking for writers 2026/04/09 02:22:21 DEBUG : file1: reading active writers 2026/04/09 02:22:21 DEBUG : file1: active writers 1 2026/04/09 02:22:21 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:22 DEBUG : Looking for writers 2026/04/09 02:22:22 DEBUG : file1: reading active writers 2026/04/09 02:22:22 DEBUG : file1: active writers 1 2026/04/09 02:22:22 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:23 DEBUG : Looking for writers 2026/04/09 02:22:23 DEBUG : file1: reading active writers 2026/04/09 02:22:23 DEBUG : file1: active writers 1 2026/04/09 02:22:23 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:24 DEBUG : Looking for writers 2026/04/09 02:22:24 DEBUG : file1: reading active writers 2026/04/09 02:22:24 DEBUG : file1: active writers 1 2026/04/09 02:22:24 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:25 DEBUG : Looking for writers 2026/04/09 02:22:25 DEBUG : file1: reading active writers 2026/04/09 02:22:25 DEBUG : file1: active writers 1 2026/04/09 02:22:25 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:26 DEBUG : Looking for writers 2026/04/09 02:22:26 DEBUG : file1: reading active writers 2026/04/09 02:22:26 DEBUG : file1: active writers 1 2026/04/09 02:22:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:27 DEBUG : Looking for writers 2026/04/09 02:22:27 DEBUG : file1: reading active writers 2026/04/09 02:22:27 DEBUG : file1: active writers 1 2026/04/09 02:22:27 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:28 DEBUG : Looking for writers 2026/04/09 02:22:28 DEBUG : file1: reading active writers 2026/04/09 02:22:28 DEBUG : file1: active writers 1 2026/04/09 02:22:28 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:29 DEBUG : Looking for writers 2026/04/09 02:22:29 DEBUG : file1: reading active writers 2026/04/09 02:22:29 DEBUG : file1: active writers 1 2026/04/09 02:22:29 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:30 DEBUG : Looking for writers 2026/04/09 02:22:30 DEBUG : file1: reading active writers 2026/04/09 02:22:30 DEBUG : file1: active writers 1 2026/04/09 02:22:30 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:31 DEBUG : Looking for writers 2026/04/09 02:22:31 DEBUG : file1: reading active writers 2026/04/09 02:22:31 DEBUG : file1: active writers 1 2026/04/09 02:22:31 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:32 DEBUG : Looking for writers 2026/04/09 02:22:32 DEBUG : file1: reading active writers 2026/04/09 02:22:32 DEBUG : file1: active writers 1 2026/04/09 02:22:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:33 DEBUG : Looking for writers 2026/04/09 02:22:33 DEBUG : file1: reading active writers 2026/04/09 02:22:33 DEBUG : file1: active writers 1 2026/04/09 02:22:33 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:34 DEBUG : Looking for writers 2026/04/09 02:22:34 DEBUG : file1: reading active writers 2026/04/09 02:22:34 DEBUG : file1: active writers 1 2026/04/09 02:22:34 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:35 DEBUG : Looking for writers 2026/04/09 02:22:35 DEBUG : file1: reading active writers 2026/04/09 02:22:35 DEBUG : file1: active writers 1 2026/04/09 02:22:35 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:36 DEBUG : Looking for writers 2026/04/09 02:22:36 DEBUG : file1: reading active writers 2026/04/09 02:22:36 DEBUG : file1: active writers 1 2026/04/09 02:22:36 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:37 DEBUG : Looking for writers 2026/04/09 02:22:37 DEBUG : file1: reading active writers 2026/04/09 02:22:37 DEBUG : file1: active writers 1 2026/04/09 02:22:37 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:38 DEBUG : Looking for writers 2026/04/09 02:22:38 DEBUG : file1: reading active writers 2026/04/09 02:22:38 DEBUG : file1: active writers 1 2026/04/09 02:22:38 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:39 DEBUG : Looking for writers 2026/04/09 02:22:39 DEBUG : file1: reading active writers 2026/04/09 02:22:39 DEBUG : file1: active writers 1 2026/04/09 02:22:39 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/04/09 02:22:40 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2026/04/09 02:22:40 DEBUG : >WaitForWriters: --- SKIP: TestWriteFileModTimeWithOpenWriters (30.00s) === RUN TestFileReadAtZeroLength run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:22:40 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:22:40 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:22:40 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:22:40 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:22:40 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:40 DEBUG : file1: >Open: fd=file1 (w), err= 2026/04/09 02:22:40 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/04/09 02:22:40 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:40 DEBUG : mega root 'rclone-test-tidizoq6luqu': File to upload is small (0 bytes), uploading instead of streaming 2026/04/09 02:22:40 DEBUG : file1: size = 0 OK 2026/04/09 02:22:40 DEBUG : file1: Size of src and dst objects identical 2026/04/09 02:22:40 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:40 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2026/04/09 02:22:40 DEBUG : file1: Open: flags=O_RDONLY 2026/04/09 02:22:40 DEBUG : file1: >Open: fd=file1 (r), err= 2026/04/09 02:22:40 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2026/04/09 02:22:40 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:22:40 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:40 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:22:40 DEBUG : Looking for writers 2026/04/09 02:22:40 DEBUG : file1: reading active writers 2026/04/09 02:22:40 DEBUG : >WaitForWriters: --- PASS: TestFileReadAtZeroLength (0.95s) === RUN TestFileReadAtNonZeroLength run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:22:41 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:22:41 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:22:41 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/04/09 02:22:41 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/04/09 02:22:41 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:41 DEBUG : file1: >Open: fd=file1 (w), err= 2026/04/09 02:22:41 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/04/09 02:22:41 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:41 DEBUG : mega root 'rclone-test-tidizoq6luqu': File to upload is small (100 bytes), uploading instead of streaming 2026/04/09 02:22:41 DEBUG : file1: size = 100 OK 2026/04/09 02:22:41 DEBUG : file1: Size of src and dst objects identical 2026/04/09 02:22:41 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/04/09 02:22:41 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2026/04/09 02:22:41 DEBUG : file1: Open: flags=O_RDONLY 2026/04/09 02:22:41 DEBUG : file1: >Open: fd=file1 (r), err= 2026/04/09 02:22:41 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2026/04/09 02:22:41 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:22:41 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:41 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:22:41 DEBUG : Looking for writers 2026/04/09 02:22:41 DEBUG : file1: reading active writers 2026/04/09 02:22:41 DEBUG : >WaitForWriters: --- PASS: TestFileReadAtNonZeroLength (0.50s) === RUN TestZipManyFiles run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:22:41 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:22:41 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:22:44 DEBUG : flat/f000.txt: Open: flags=O_RDONLY 2026/04/09 02:22:44 DEBUG : flat/f000.txt: >Open: fd=flat/f000.txt (r), err= 2026/04/09 02:22:44 DEBUG : flat/f000.txt: Set virtual modtime to 2026-04-09 02:22:41 +0000 UTC 2026/04/09 02:22:44 DEBUG : flat/f000.txt: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:22:44 DEBUG : flat/f000.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:44 DEBUG : flat/f001.txt: Open: flags=O_RDONLY 2026/04/09 02:22:44 DEBUG : flat/f001.txt: >Open: fd=flat/f001.txt (r), err= 2026/04/09 02:22:44 DEBUG : flat/f001.txt: Set virtual modtime to 2026-04-09 02:22:41 +0000 UTC 2026/04/09 02:22:44 DEBUG : flat/f001.txt: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:22:44 DEBUG : flat/f001.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:44 DEBUG : flat/f002.txt: Open: flags=O_RDONLY 2026/04/09 02:22:44 DEBUG : flat/f002.txt: >Open: fd=flat/f002.txt (r), err= 2026/04/09 02:22:44 DEBUG : flat/f002.txt: Set virtual modtime to 2026-04-09 02:22:42 +0000 UTC 2026/04/09 02:22:44 DEBUG : flat/f002.txt: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:22:44 DEBUG : flat/f002.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:44 DEBUG : flat/f003.txt: Open: flags=O_RDONLY 2026/04/09 02:22:44 DEBUG : flat/f003.txt: >Open: fd=flat/f003.txt (r), err= 2026/04/09 02:22:44 DEBUG : flat/f003.txt: Set virtual modtime to 2026-04-09 02:22:42 +0000 UTC 2026/04/09 02:22:44 DEBUG : flat/f003.txt: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:22:44 DEBUG : flat/f003.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:45 DEBUG : flat/f004.txt: Open: flags=O_RDONLY 2026/04/09 02:22:45 DEBUG : flat/f004.txt: >Open: fd=flat/f004.txt (r), err= 2026/04/09 02:22:45 DEBUG : flat/f004.txt: Set virtual modtime to 2026-04-09 02:22:44 +0000 UTC 2026/04/09 02:22:45 DEBUG : flat/f004.txt: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:22:45 DEBUG : flat/f004.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:45 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:22:45 DEBUG : flat: Looking for writers 2026/04/09 02:22:45 DEBUG : f004.txt: reading active writers 2026/04/09 02:22:45 DEBUG : f000.txt: reading active writers 2026/04/09 02:22:45 DEBUG : f001.txt: reading active writers 2026/04/09 02:22:45 DEBUG : f002.txt: reading active writers 2026/04/09 02:22:45 DEBUG : f003.txt: reading active writers 2026/04/09 02:22:45 DEBUG : Looking for writers 2026/04/09 02:22:45 DEBUG : flat: reading active writers 2026/04/09 02:22:45 DEBUG : >WaitForWriters: --- PASS: TestZipManyFiles (4.38s) === RUN TestZipManySubDirs run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:22:45 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:22:45 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:22:48 DEBUG : a/b/c/deep.txt: Open: flags=O_RDONLY 2026/04/09 02:22:48 DEBUG : a/b/c/deep.txt: >Open: fd=a/b/c/deep.txt (r), err= 2026/04/09 02:22:48 DEBUG : a/b/c/deep.txt: Set virtual modtime to 2026-04-09 02:22:48 +0000 UTC 2026/04/09 02:22:48 DEBUG : a/b/c/deep.txt: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:22:48 DEBUG : a/b/c/deep.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:48 DEBUG : a/b/mid.txt: Open: flags=O_RDONLY 2026/04/09 02:22:48 DEBUG : a/b/mid.txt: >Open: fd=a/b/mid.txt (r), err= 2026/04/09 02:22:48 DEBUG : a/b/mid.txt: Set virtual modtime to 2026-04-09 02:22:48 +0000 UTC 2026/04/09 02:22:48 DEBUG : a/b/mid.txt: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:22:48 DEBUG : a/b/mid.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:48 DEBUG : a/top.txt: Open: flags=O_RDONLY 2026/04/09 02:22:48 DEBUG : a/top.txt: >Open: fd=a/top.txt (r), err= 2026/04/09 02:22:48 DEBUG : a/top.txt: Set virtual modtime to 2026-04-09 02:22:46 +0000 UTC 2026/04/09 02:22:48 DEBUG : a/top.txt: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:22:48 DEBUG : a/top.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:48 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:22:48 DEBUG : a/b/c: Looking for writers 2026/04/09 02:22:48 DEBUG : deep.txt: reading active writers 2026/04/09 02:22:48 DEBUG : a/b: Looking for writers 2026/04/09 02:22:48 DEBUG : c: reading active writers 2026/04/09 02:22:48 DEBUG : mid.txt: reading active writers 2026/04/09 02:22:48 DEBUG : a: Looking for writers 2026/04/09 02:22:48 DEBUG : b: reading active writers 2026/04/09 02:22:48 DEBUG : top.txt: reading active writers 2026/04/09 02:22:48 DEBUG : Looking for writers 2026/04/09 02:22:48 DEBUG : a: reading active writers 2026/04/09 02:22:48 DEBUG : >WaitForWriters: --- PASS: TestZipManySubDirs (3.88s) === RUN TestZipLargeFiles run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:22:49 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:22:49 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:22:50 DEBUG : bigdir/big.bin: Open: flags=O_RDONLY 2026/04/09 02:22:50 DEBUG : bigdir/big.bin: >Open: fd=bigdir/big.bin (r), err= 2026/04/09 02:22:50 DEBUG : bigdir/big.bin: Set virtual modtime to 2026-04-09 02:22:50 +0000 UTC 2026/04/09 02:22:50 DEBUG : bigdir/big.bin: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:22:51 DEBUG : bigdir/big.bin: ChunkedReader.Read at 0 length 4096 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:51 DEBUG : bigdir/big.bin: ChunkedReader.Read at 4096 length 8192 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:51 DEBUG : bigdir/big.bin: ChunkedReader.Read at 12288 length 16384 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:51 DEBUG : bigdir/big.bin: ChunkedReader.Read at 28672 length 32768 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:51 DEBUG : bigdir/big.bin: ChunkedReader.Read at 61440 length 65536 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:51 DEBUG : bigdir/big.bin: ChunkedReader.Read at 126976 length 131072 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:51 DEBUG : bigdir/big.bin: ChunkedReader.Read at 258048 length 262144 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:51 DEBUG : bigdir/big.bin: ChunkedReader.Read at 520192 length 524288 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:51 DEBUG : bigdir/big.bin: ChunkedReader.Read at 1044480 length 1048576 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:51 DEBUG : bigdir/big.bin: ChunkedReader.Read at 2093056 length 1048576 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:51 DEBUG : bigdir/big.bin: ChunkedReader.Read at 3141632 length 1048576 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:51 DEBUG : bigdir/big.bin: ChunkedReader.Read at 4190208 length 1048576 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:51 DEBUG : bigdir/big.bin: ChunkedReader.Read at 5238784 length 1048576 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:51 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:22:51 DEBUG : bigdir: Looking for writers 2026/04/09 02:22:51 DEBUG : big.bin: reading active writers 2026/04/09 02:22:51 DEBUG : Looking for writers 2026/04/09 02:22:51 DEBUG : bigdir: reading active writers 2026/04/09 02:22:51 DEBUG : >WaitForWriters: --- PASS: TestZipLargeFiles (2.57s) === RUN TestZipDirsInRoot run.go:185: Remote "mega root 'rclone-test-tidizoq6luqu'", Local "Local file system at /tmp/rclone479288703", Modify Window "876000h0m0s" 2026/04/09 02:22:52 INFO : mega root 'rclone-test-tidizoq6luqu': poll-interval is not supported by this remote 2026/04/09 02:22:52 NOTICE: mega root 'rclone-test-tidizoq6luqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/09 02:22:55 DEBUG : dir1/a.txt: Open: flags=O_RDONLY 2026/04/09 02:22:55 DEBUG : dir1/a.txt: >Open: fd=dir1/a.txt (r), err= 2026/04/09 02:22:55 DEBUG : dir1/a.txt: Set virtual modtime to 2026-04-09 02:22:52 +0000 UTC 2026/04/09 02:22:55 DEBUG : dir1/a.txt: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:22:55 DEBUG : dir1/a.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:55 NOTICE: Unsolicited response received on idle HTTP channel starting with "\x9e\x9e"; err= 2026/04/09 02:22:55 DEBUG : dir2/b.txt: Open: flags=O_RDONLY 2026/04/09 02:22:55 DEBUG : dir2/b.txt: >Open: fd=dir2/b.txt (r), err= 2026/04/09 02:22:55 DEBUG : dir2/b.txt: Set virtual modtime to 2026-04-09 02:22:55 +0000 UTC 2026/04/09 02:22:55 DEBUG : dir2/b.txt: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:22:56 DEBUG : dir2/b.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:56 NOTICE: Unsolicited response received on idle HTTP channel starting with "\xa4\xa4"; err= 2026/04/09 02:22:56 DEBUG : dir3/c.txt: Open: flags=O_RDONLY 2026/04/09 02:22:56 DEBUG : dir3/c.txt: >Open: fd=dir3/c.txt (r), err= 2026/04/09 02:22:56 DEBUG : dir3/c.txt: Set virtual modtime to 2026-04-09 02:22:55 +0000 UTC 2026/04/09 02:22:56 DEBUG : dir3/c.txt: ChunkedReader.openRange at 0 length 134217728 2026/04/09 02:22:56 DEBUG : dir3/c.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/04/09 02:22:57 DEBUG : WaitForWriters: timeout=30s 2026/04/09 02:22:57 DEBUG : dir2: Looking for writers 2026/04/09 02:22:57 DEBUG : b.txt: reading active writers 2026/04/09 02:22:57 DEBUG : dir3: Looking for writers 2026/04/09 02:22:57 DEBUG : c.txt: reading active writers 2026/04/09 02:22:57 DEBUG : dir1: Looking for writers 2026/04/09 02:22:57 DEBUG : a.txt: reading active writers 2026/04/09 02:22:57 DEBUG : Looking for writers 2026/04/09 02:22:57 DEBUG : dir1: reading active writers 2026/04/09 02:22:57 DEBUG : dir2: reading active writers 2026/04/09 02:22:57 DEBUG : dir3: reading active writers 2026/04/09 02:22:57 DEBUG : >WaitForWriters: --- PASS: TestZipDirsInRoot (5.94s) FAIL 2026/04/09 02:22:58 DEBUG : mega root 'rclone-test-tidizoq6luqu': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestCaseSensitivity|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestRWCacheRename|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleFlushWrite|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleReleaseWrite|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeCreateNew|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestRcGetVFS|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSIsMetadataFile|TestVFSMkdir|TestVFSMkdirAll|TestVFSNew|TestVFSNewWithOpts|TestVFSOpenFile|TestVFSRename|TestVFSRoot|TestVFSStat|TestVFSStatParent|TestVFSStatfs|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters|TestZipDirsInRoot|TestZipLargeFiles|TestZipManyFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$|^TestRWFileHandleOpenTests$/^full$/^(os.O_RDONLY|os.O_RDWR|os.O_WRONLY)$|^TestRWFileHandleOpenTests$/^writes$/^(os.O_RDONLY|os.O_RDWR|os.O_WRONLY)$'" - Finished ERROR in 4m23.14586294s (try 4/5): exit status 1: Failed [TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false]