"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestWriteFileHandleFlush|TestZipDirsInRoot|TestZipLargeFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 3/5) 2026/05/21 03:47:23 DEBUG : Creating backend with remote "TestMega:rclone-test-budibuc1tudu" 2026/05/21 03:47:23 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/21 03:47:23 DEBUG : mega root 'rclone-test-budibuc1tudu': Using previously stored session ID and master key to initialize the Mega API 2026/05/21 03:47:43 DEBUG : Creating backend with remote "/tmp/rclone1645674248" === RUN TestFileOpenWrite run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:47:43 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:47:43 NOTICE: mega root 'rclone-test-budibuc1tudu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/21 03:47:46 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:47:46 DEBUG : mega root 'rclone-test-budibuc1tudu': File to upload is small (25 bytes), uploading instead of streaming 2026/05/21 03:47:50 DEBUG : dir/file1: size = 25 OK 2026/05/21 03:47:50 NOTICE: mega root 'rclone-test-budibuc1tudu': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2026/05/21 03:47:50 DEBUG : dir/file1: Size of src and dst objects identical 2026/05/21 03:47:50 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:47:50 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:47:50 DEBUG : dir: Looking for writers 2026/05/21 03:47:50 DEBUG : file1: reading active writers 2026/05/21 03:47:50 DEBUG : Looking for writers 2026/05/21 03:47:50 DEBUG : dir: reading active writers 2026/05/21 03:47:50 DEBUG : >WaitForWriters: --- PASS: TestFileOpenWrite (6.91s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:47:50 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:47:50 NOTICE: mega root 'rclone-test-budibuc1tudu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/21 03:47:54 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:47:54 DEBUG : dir: Looking for writers 2026/05/21 03:47:54 DEBUG : file1: reading active writers 2026/05/21 03:47:54 DEBUG : Looking for writers 2026/05/21 03:47:54 DEBUG : dir: reading active writers 2026/05/21 03:47:54 DEBUG : >WaitForWriters: 2026/05/21 03:47:57 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/21 03:47:57 DEBUG : newLeaf: Updating file with newLeaf 0x2fd391276820 2026/05/21 03:47:57 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/21 03:47:57 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "file1" 2026/05/21 03:48:15 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/21 03:48:15 DEBUG : dir/file1: Updating file with dir/file1 0x2fd391276820 2026/05/21 03:48:15 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/21 03:48:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "dir/file1" 2026/05/21 03:48:22 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/21 03:48:22 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/05/21 03:48:22 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:48:22 DEBUG : dir/file1: File is currently open, delaying rename 0x2fd391276820 2026/05/21 03:48:22 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/21 03:48:22 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/21 03:48:22 DEBUG : mega root 'rclone-test-budibuc1tudu': File to upload is small (25 bytes), uploading instead of streaming 2026/05/21 03:48:32 DEBUG : dir/file1: size = 25 OK 2026/05/21 03:48:32 DEBUG : dir/file1: Size of src and dst objects identical 2026/05/21 03:48:32 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/21 03:48:32 DEBUG : newLeaf: Running delayed rename now 2026/05/21 03:48:32 INFO : newLeaf: Deleted 2026/05/21 03:48:34 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/21 03:48:34 DEBUG : newLeaf: Updating file with newLeaf 0x2fd391276820 2026/05/21 03:48:34 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:48:34 DEBUG : dir: Looking for writers 2026/05/21 03:48:34 DEBUG : Looking for writers 2026/05/21 03:48:34 DEBUG : dir: reading active writers 2026/05/21 03:48:34 DEBUG : newLeaf: reading active writers 2026/05/21 03:48:34 DEBUG : >WaitForWriters: 2026/05/21 03:48:34 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:48:34 DEBUG : dir: Looking for writers 2026/05/21 03:48:34 DEBUG : Looking for writers 2026/05/21 03:48:34 DEBUG : dir: reading active writers 2026/05/21 03:48:34 DEBUG : newLeaf: reading active writers 2026/05/21 03:48:34 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:48:36 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:48:36 NOTICE: mega root 'rclone-test-budibuc1tudu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/21 03:48:36 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/21 03:48:36 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:48:36 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:48:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:48:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:48:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:48:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:48:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:48:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:48:36 INFO : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/21 03:48:37 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:48:37 DEBUG : dir: Looking for writers 2026/05/21 03:48:37 DEBUG : file1: reading active writers 2026/05/21 03:48:37 DEBUG : Looking for writers 2026/05/21 03:48:37 DEBUG : dir: reading active writers 2026/05/21 03:48:37 DEBUG : >WaitForWriters: 2026/05/21 03:48:40 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/21 03:48:40 DEBUG : newLeaf: Updating file with newLeaf 0x2fd391277450 2026/05/21 03:48:40 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/21 03:48:40 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "file1" 2026/05/21 03:48:48 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/21 03:48:48 DEBUG : dir/file1: Updating file with dir/file1 0x2fd391277450 2026/05/21 03:48:48 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/21 03:48:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "dir/file1" 2026/05/21 03:48:55 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/21 03:48:55 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/05/21 03:48:55 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:48:55 DEBUG : dir/file1: File is currently open, delaying rename 0x2fd391277450 2026/05/21 03:48:55 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/21 03:48:55 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/21 03:48:55 DEBUG : mega root 'rclone-test-budibuc1tudu': File to upload is small (25 bytes), uploading instead of streaming 2026/05/21 03:49:01 DEBUG : dir/file1: size = 25 OK 2026/05/21 03:49:01 DEBUG : dir/file1: Size of src and dst objects identical 2026/05/21 03:49:01 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/21 03:49:01 DEBUG : newLeaf: Running delayed rename now 2026/05/21 03:49:01 INFO : newLeaf: Deleted 2026/05/21 03:49:01 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/21 03:49:01 DEBUG : newLeaf: Updating file with newLeaf 0x2fd391277450 2026/05/21 03:49:01 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:49:01 DEBUG : dir: Looking for writers 2026/05/21 03:49:01 DEBUG : Looking for writers 2026/05/21 03:49:01 DEBUG : dir: reading active writers 2026/05/21 03:49:01 DEBUG : newLeaf: reading active writers 2026/05/21 03:49:01 DEBUG : >WaitForWriters: 2026/05/21 03:49:01 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:49:01 DEBUG : dir: Looking for writers 2026/05/21 03:49:01 DEBUG : Looking for writers 2026/05/21 03:49:01 DEBUG : newLeaf: reading active writers 2026/05/21 03:49:01 DEBUG : dir: reading active writers 2026/05/21 03:49:01 DEBUG : >WaitForWriters: 2026/05/21 03:49:01 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:49:03 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:49:03 NOTICE: mega root 'rclone-test-budibuc1tudu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/21 03:49:03 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/21 03:49:03 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:49:03 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:49:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:49:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:49:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:49:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:49:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:49:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:49:03 INFO : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/21 03:49:16 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/05/21 03:49:16 DEBUG : dir/file1: newRWFileHandle: 2026/05/21 03:49:16 DEBUG : dir/file1(0x2fd3914cbcc0): openPending: 2026/05/21 03:49:16 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/05/21 03:49:16 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/05/21 03:49:16 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:49:16 DEBUG : dir/file1(0x2fd3914cbcc0): >openPending: err= 2026/05/21 03:49:16 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/21 03:49:16 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/21 03:49:16 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:49:16 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/21 03:49:16 DEBUG : dir/file1(0x2fd3914cbcc0): _writeAt: size=14, off=0 2026/05/21 03:49:16 DEBUG : dir/file1(0x2fd3914cbcc0): >_writeAt: n=14, err= 2026/05/21 03:49:16 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/05/21 03:49:16 DEBUG : dir/file1(0x2fd3914cbcc0): close: 2026/05/21 03:49:16 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/05/21 03:49:16 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/05/21 03:49:16 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/05/21 03:49:16 DEBUG : dir/file1(0x2fd3914cbcc0): >close: err= 2026/05/21 03:49:16 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:49:16 DEBUG : dir: Looking for writers 2026/05/21 03:49:16 DEBUG : file1: reading active writers 2026/05/21 03:49:16 DEBUG : Looking for writers 2026/05/21 03:49:16 DEBUG : dir: reading active writers 2026/05/21 03:49:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/21 03:49:16 DEBUG : dir: Looking for writers 2026/05/21 03:49:16 DEBUG : file1: reading active writers 2026/05/21 03:49:16 DEBUG : Looking for writers 2026/05/21 03:49:16 DEBUG : dir: reading active writers 2026/05/21 03:49:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/21 03:49:16 DEBUG : dir: Looking for writers 2026/05/21 03:49:16 DEBUG : file1: reading active writers 2026/05/21 03:49:16 DEBUG : Looking for writers 2026/05/21 03:49:16 DEBUG : dir: reading active writers 2026/05/21 03:49:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/21 03:49:16 DEBUG : dir: Looking for writers 2026/05/21 03:49:16 DEBUG : file1: reading active writers 2026/05/21 03:49:16 DEBUG : Looking for writers 2026/05/21 03:49:16 DEBUG : dir: reading active writers 2026/05/21 03:49:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/21 03:49:16 DEBUG : dir/file1: vfs cache: starting upload 2026/05/21 03:49:16 DEBUG : dir: Looking for writers 2026/05/21 03:49:16 DEBUG : file1: reading active writers 2026/05/21 03:49:16 DEBUG : Looking for writers 2026/05/21 03:49:16 DEBUG : dir: reading active writers 2026/05/21 03:49:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/21 03:49:16 DEBUG : dir: Looking for writers 2026/05/21 03:49:16 DEBUG : file1: reading active writers 2026/05/21 03:49:16 DEBUG : Looking for writers 2026/05/21 03:49:16 DEBUG : dir: reading active writers 2026/05/21 03:49:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/21 03:49:17 DEBUG : dir: Looking for writers 2026/05/21 03:49:17 DEBUG : file1: reading active writers 2026/05/21 03:49:17 DEBUG : Looking for writers 2026/05/21 03:49:17 DEBUG : dir: reading active writers 2026/05/21 03:49:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/21 03:49:17 DEBUG : dir: Looking for writers 2026/05/21 03:49:17 DEBUG : file1: reading active writers 2026/05/21 03:49:17 DEBUG : Looking for writers 2026/05/21 03:49:17 DEBUG : dir: reading active writers 2026/05/21 03:49:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/21 03:49:18 DEBUG : dir/file1: size = 14 OK 2026/05/21 03:49:18 INFO : dir/file1: Copied (replaced existing) 2026/05/21 03:49:18 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/05/21 03:49:18 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/05/21 03:49:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:49:18 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/05/21 03:49:18 DEBUG : dir: Looking for writers 2026/05/21 03:49:18 DEBUG : file1: reading active writers 2026/05/21 03:49:18 DEBUG : Looking for writers 2026/05/21 03:49:18 DEBUG : dir: reading active writers 2026/05/21 03:49:18 DEBUG : >WaitForWriters: 2026/05/21 03:49:18 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/21 03:49:18 DEBUG : dir/file1: newRWFileHandle: 2026/05/21 03:49:18 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/21 03:49:18 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/21 03:49:18 DEBUG : dir/file1(0x2fd391613c00): _readAt: size=512, off=0 2026/05/21 03:49:18 DEBUG : dir/file1(0x2fd391613c00): openPending: 2026/05/21 03:49:18 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/21 03:49:18 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/21 03:49:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:49:18 DEBUG : dir/file1(0x2fd391613c00): >openPending: err= 2026/05/21 03:49:18 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/05/21 03:49:18 DEBUG : dir/file1(0x2fd391613c00): >_readAt: n=14, err=EOF 2026/05/21 03:49:18 DEBUG : dir/file1(0x2fd391613c00): close: 2026/05/21 03:49:18 DEBUG : dir/file1(0x2fd391613c00): >close: err= 2026/05/21 03:49:21 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/21 03:49:21 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/21 03:49:21 DEBUG : newLeaf: Updating file with newLeaf 0x2fd391277c70 2026/05/21 03:49:21 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/21 03:49:21 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/21 03:49:23 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/21 03:49:23 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/05/21 03:49:23 DEBUG : dir/file1: Updating file with dir/file1 0x2fd391277c70 2026/05/21 03:49:23 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/21 03:49:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 2026/05/21 03:49:23 DEBUG : dir/file1: vfs cache: setting modification time to 2026-05-21 03:49:16 +0000 UTC fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "dir/file1" 2026/05/21 03:49:30 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/21 03:49:30 DEBUG : dir/file1: newRWFileHandle: 2026/05/21 03:49:30 DEBUG : dir/file1(0x2fd3918f5540): openPending: 2026/05/21 03:49:30 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/21 03:49:30 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/21 03:49:30 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:49:30 DEBUG : dir/file1(0x2fd3918f5540): >openPending: err= 2026/05/21 03:49:30 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/21 03:49:30 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/21 03:49:30 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/21 03:49:30 DEBUG : dir/file1(0x2fd3918f5540): _writeAt: size=25, off=0 2026/05/21 03:49:30 DEBUG : dir/file1(0x2fd3918f5540): >_writeAt: n=25, err= 2026/05/21 03:49:34 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/21 03:49:34 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/21 03:49:34 DEBUG : newLeaf: Updating file with newLeaf 0x2fd391277c70 2026/05/21 03:49:34 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/21 03:49:34 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/21 03:49:34 DEBUG : newLeaf(0x2fd3918f5540): close: 2026/05/21 03:49:34 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/05/21 03:49:34 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-21 03:49:30.737170145 +0000 UTC m=+127.356347575 2026/05/21 03:49:34 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/05/21 03:49:34 DEBUG : newLeaf(0x2fd3918f5540): >close: err= 2026/05/21 03:49:34 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:49:34 DEBUG : dir: Looking for writers 2026/05/21 03:49:34 DEBUG : Looking for writers 2026/05/21 03:49:34 DEBUG : newLeaf: reading active writers 2026/05/21 03:49:34 DEBUG : dir: reading active writers 2026/05/21 03:49:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/21 03:49:34 DEBUG : dir: Looking for writers 2026/05/21 03:49:34 DEBUG : Looking for writers 2026/05/21 03:49:34 DEBUG : dir: reading active writers 2026/05/21 03:49:34 DEBUG : newLeaf: reading active writers 2026/05/21 03:49:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/21 03:49:34 DEBUG : dir: Looking for writers 2026/05/21 03:49:34 DEBUG : Looking for writers 2026/05/21 03:49:34 DEBUG : newLeaf: reading active writers 2026/05/21 03:49:34 DEBUG : dir: reading active writers 2026/05/21 03:49:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/21 03:49:34 DEBUG : dir: Looking for writers 2026/05/21 03:49:34 DEBUG : Looking for writers 2026/05/21 03:49:34 DEBUG : newLeaf: reading active writers 2026/05/21 03:49:34 DEBUG : dir: reading active writers 2026/05/21 03:49:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/21 03:49:34 DEBUG : newLeaf: vfs cache: starting upload 2026/05/21 03:49:34 DEBUG : dir: Looking for writers 2026/05/21 03:49:34 DEBUG : Looking for writers 2026/05/21 03:49:34 DEBUG : dir: reading active writers 2026/05/21 03:49:34 DEBUG : newLeaf: reading active writers 2026/05/21 03:49:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/21 03:49:34 DEBUG : dir: Looking for writers 2026/05/21 03:49:34 DEBUG : Looking for writers 2026/05/21 03:49:34 DEBUG : dir: reading active writers 2026/05/21 03:49:34 DEBUG : newLeaf: reading active writers 2026/05/21 03:49:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/21 03:49:35 DEBUG : dir: Looking for writers 2026/05/21 03:49:35 DEBUG : Looking for writers 2026/05/21 03:49:35 DEBUG : dir: reading active writers 2026/05/21 03:49:35 DEBUG : newLeaf: reading active writers 2026/05/21 03:49:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/21 03:49:35 DEBUG : dir: Looking for writers 2026/05/21 03:49:35 DEBUG : Looking for writers 2026/05/21 03:49:35 DEBUG : newLeaf: reading active writers 2026/05/21 03:49:35 DEBUG : dir: reading active writers 2026/05/21 03:49:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/21 03:49:36 DEBUG : newLeaf: size = 25 OK 2026/05/21 03:49:36 INFO : newLeaf: Copied (replaced existing) 2026/05/21 03:49:36 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/05/21 03:49:36 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/05/21 03:49:36 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/21 03:49:36 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/05/21 03:49:36 DEBUG : dir: Looking for writers 2026/05/21 03:49:36 DEBUG : Looking for writers 2026/05/21 03:49:36 DEBUG : dir: reading active writers 2026/05/21 03:49:36 DEBUG : newLeaf: reading active writers 2026/05/21 03:49:36 DEBUG : >WaitForWriters: 2026/05/21 03:49:36 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:49:36 DEBUG : dir: Looking for writers 2026/05/21 03:49:36 DEBUG : Looking for writers 2026/05/21 03:49:36 DEBUG : dir: reading active writers 2026/05/21 03:49:36 DEBUG : newLeaf: reading active writers 2026/05/21 03:49:36 DEBUG : >WaitForWriters: 2026/05/21 03:49:36 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:49:36 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:49:36 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/21 03:49:36 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:49:36 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:49:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:49:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:49:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:49:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:49:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:49:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:49:36 INFO : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/21 03:49:39 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:49:39 DEBUG : dir: Looking for writers 2026/05/21 03:49:39 DEBUG : file1: reading active writers 2026/05/21 03:49:39 DEBUG : Looking for writers 2026/05/21 03:49:39 DEBUG : dir: reading active writers 2026/05/21 03:49:39 DEBUG : >WaitForWriters: 2026/05/21 03:49:41 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/21 03:49:41 DEBUG : newLeaf: Updating file with newLeaf 0x2fd391951110 2026/05/21 03:49:41 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/21 03:49:41 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "file1" 2026/05/21 03:49:50 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/21 03:49:50 DEBUG : dir/file1: Updating file with dir/file1 0x2fd391951110 2026/05/21 03:49:50 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/21 03:49:50 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "dir/file1" 2026/05/21 03:49:57 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/21 03:49:57 DEBUG : dir/file1: newRWFileHandle: 2026/05/21 03:49:57 DEBUG : dir/file1(0x2fd38bbd17c0): openPending: 2026/05/21 03:49:57 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/05/21 03:49:57 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/05/21 03:49:57 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:49:57 DEBUG : dir/file1(0x2fd38bbd17c0): >openPending: err= 2026/05/21 03:49:57 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/21 03:49:57 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/21 03:49:57 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/21 03:49:57 DEBUG : dir/file1(0x2fd38bbd17c0): _writeAt: size=25, off=0 2026/05/21 03:49:57 DEBUG : dir/file1(0x2fd38bbd17c0): >_writeAt: n=25, err= 2026/05/21 03:49:57 INFO : newLeaf: Deleted 2026/05/21 03:49:59 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/21 03:49:59 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/21 03:49:59 DEBUG : newLeaf: Updating file with newLeaf 0x2fd391951110 2026/05/21 03:49:59 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/21 03:49:59 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/21 03:49:59 DEBUG : newLeaf(0x2fd38bbd17c0): close: 2026/05/21 03:49:59 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/05/21 03:49:59 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-21 03:49:57.429702103 +0000 UTC m=+154.048879543 2026/05/21 03:49:59 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/05/21 03:49:59 DEBUG : newLeaf(0x2fd38bbd17c0): >close: err= 2026/05/21 03:49:59 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:49:59 DEBUG : dir: Looking for writers 2026/05/21 03:49:59 DEBUG : Looking for writers 2026/05/21 03:49:59 DEBUG : dir: reading active writers 2026/05/21 03:49:59 DEBUG : newLeaf: reading active writers 2026/05/21 03:49:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/21 03:50:00 DEBUG : dir: Looking for writers 2026/05/21 03:50:00 DEBUG : Looking for writers 2026/05/21 03:50:00 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:00 DEBUG : dir: reading active writers 2026/05/21 03:50:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/21 03:50:00 DEBUG : dir: Looking for writers 2026/05/21 03:50:00 DEBUG : Looking for writers 2026/05/21 03:50:00 DEBUG : dir: reading active writers 2026/05/21 03:50:00 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/21 03:50:00 DEBUG : dir: Looking for writers 2026/05/21 03:50:00 DEBUG : Looking for writers 2026/05/21 03:50:00 DEBUG : dir: reading active writers 2026/05/21 03:50:00 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/21 03:50:00 DEBUG : newLeaf: vfs cache: starting upload 2026/05/21 03:50:00 DEBUG : dir: Looking for writers 2026/05/21 03:50:00 DEBUG : Looking for writers 2026/05/21 03:50:00 DEBUG : dir: reading active writers 2026/05/21 03:50:00 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/21 03:50:00 DEBUG : dir: Looking for writers 2026/05/21 03:50:00 DEBUG : Looking for writers 2026/05/21 03:50:00 DEBUG : dir: reading active writers 2026/05/21 03:50:00 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/21 03:50:00 DEBUG : dir: Looking for writers 2026/05/21 03:50:00 DEBUG : Looking for writers 2026/05/21 03:50:00 DEBUG : dir: reading active writers 2026/05/21 03:50:00 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/21 03:50:01 DEBUG : dir: Looking for writers 2026/05/21 03:50:01 DEBUG : Looking for writers 2026/05/21 03:50:01 DEBUG : dir: reading active writers 2026/05/21 03:50:01 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/21 03:50:02 DEBUG : dir: Looking for writers 2026/05/21 03:50:02 DEBUG : Looking for writers 2026/05/21 03:50:02 DEBUG : dir: reading active writers 2026/05/21 03:50:02 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/21 03:50:03 DEBUG : dir: Looking for writers 2026/05/21 03:50:03 DEBUG : Looking for writers 2026/05/21 03:50:03 DEBUG : dir: reading active writers 2026/05/21 03:50:03 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/21 03:50:04 DEBUG : dir: Looking for writers 2026/05/21 03:50:04 DEBUG : Looking for writers 2026/05/21 03:50:04 DEBUG : dir: reading active writers 2026/05/21 03:50:04 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/21 03:50:05 DEBUG : dir: Looking for writers 2026/05/21 03:50:05 DEBUG : Looking for writers 2026/05/21 03:50:05 DEBUG : dir: reading active writers 2026/05/21 03:50:05 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/21 03:50:06 DEBUG : dir: Looking for writers 2026/05/21 03:50:06 DEBUG : Looking for writers 2026/05/21 03:50:06 DEBUG : dir: reading active writers 2026/05/21 03:50:06 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/21 03:50:07 DEBUG : dir: Looking for writers 2026/05/21 03:50:07 DEBUG : Looking for writers 2026/05/21 03:50:07 DEBUG : dir: reading active writers 2026/05/21 03:50:07 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/21 03:50:08 DEBUG : dir: Looking for writers 2026/05/21 03:50:08 DEBUG : Looking for writers 2026/05/21 03:50:08 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:08 DEBUG : dir: reading active writers 2026/05/21 03:50:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/21 03:50:09 DEBUG : dir: Looking for writers 2026/05/21 03:50:09 DEBUG : Looking for writers 2026/05/21 03:50:09 DEBUG : dir: reading active writers 2026/05/21 03:50:09 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/21 03:50:10 DEBUG : dir: Looking for writers 2026/05/21 03:50:10 DEBUG : Looking for writers 2026/05/21 03:50:10 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:10 DEBUG : dir: reading active writers 2026/05/21 03:50:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/21 03:50:11 DEBUG : dir: Looking for writers 2026/05/21 03:50:11 DEBUG : Looking for writers 2026/05/21 03:50:11 DEBUG : dir: reading active writers 2026/05/21 03:50:11 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/21 03:50:11 DEBUG : newLeaf: size = 25 OK 2026/05/21 03:50:11 INFO : newLeaf: Copied (replaced existing) 2026/05/21 03:50:11 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/05/21 03:50:11 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/05/21 03:50:11 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/21 03:50:11 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/05/21 03:50:12 DEBUG : dir: Looking for writers 2026/05/21 03:50:12 DEBUG : Looking for writers 2026/05/21 03:50:12 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:12 DEBUG : dir: reading active writers 2026/05/21 03:50:12 DEBUG : >WaitForWriters: 2026/05/21 03:50:12 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:50:12 DEBUG : dir: Looking for writers 2026/05/21 03:50:12 DEBUG : Looking for writers 2026/05/21 03:50:12 DEBUG : dir: reading active writers 2026/05/21 03:50:12 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:12 DEBUG : >WaitForWriters: 2026/05/21 03:50:12 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:50:12 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:50:12 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/21 03:50:12 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:12 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:12 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:12 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:50:12 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:12 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:12 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:50:12 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:12 INFO : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/21 03:50:15 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/05/21 03:50:15 DEBUG : dir/file1: newRWFileHandle: 2026/05/21 03:50:15 DEBUG : dir/file1(0x2fd39187fd40): openPending: 2026/05/21 03:50:15 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/05/21 03:50:15 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/05/21 03:50:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:50:15 DEBUG : dir/file1(0x2fd39187fd40): >openPending: err= 2026/05/21 03:50:15 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/21 03:50:15 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/21 03:50:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:50:15 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/21 03:50:15 DEBUG : dir/file1(0x2fd39187fd40): _writeAt: size=14, off=0 2026/05/21 03:50:15 DEBUG : dir/file1(0x2fd39187fd40): >_writeAt: n=14, err= 2026/05/21 03:50:15 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/05/21 03:50:15 DEBUG : dir/file1(0x2fd39187fd40): close: 2026/05/21 03:50:15 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/05/21 03:50:15 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/05/21 03:50:15 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/05/21 03:50:15 DEBUG : dir/file1(0x2fd39187fd40): >close: err= 2026/05/21 03:50:15 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:50:15 DEBUG : dir: Looking for writers 2026/05/21 03:50:15 DEBUG : file1: reading active writers 2026/05/21 03:50:15 DEBUG : Looking for writers 2026/05/21 03:50:15 DEBUG : dir: reading active writers 2026/05/21 03:50:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/21 03:50:15 DEBUG : dir: Looking for writers 2026/05/21 03:50:15 DEBUG : file1: reading active writers 2026/05/21 03:50:15 DEBUG : Looking for writers 2026/05/21 03:50:15 DEBUG : dir: reading active writers 2026/05/21 03:50:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/21 03:50:15 DEBUG : dir: Looking for writers 2026/05/21 03:50:15 DEBUG : file1: reading active writers 2026/05/21 03:50:15 DEBUG : Looking for writers 2026/05/21 03:50:15 DEBUG : dir: reading active writers 2026/05/21 03:50:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/21 03:50:15 DEBUG : dir: Looking for writers 2026/05/21 03:50:15 DEBUG : file1: reading active writers 2026/05/21 03:50:15 DEBUG : Looking for writers 2026/05/21 03:50:15 DEBUG : dir: reading active writers 2026/05/21 03:50:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/21 03:50:15 DEBUG : dir/file1: vfs cache: starting upload 2026/05/21 03:50:15 DEBUG : dir: Looking for writers 2026/05/21 03:50:15 DEBUG : file1: reading active writers 2026/05/21 03:50:15 DEBUG : Looking for writers 2026/05/21 03:50:15 DEBUG : dir: reading active writers 2026/05/21 03:50:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/21 03:50:15 DEBUG : dir: Looking for writers 2026/05/21 03:50:15 DEBUG : file1: reading active writers 2026/05/21 03:50:15 DEBUG : Looking for writers 2026/05/21 03:50:15 DEBUG : dir: reading active writers 2026/05/21 03:50:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/21 03:50:15 DEBUG : dir: Looking for writers 2026/05/21 03:50:15 DEBUG : file1: reading active writers 2026/05/21 03:50:15 DEBUG : Looking for writers 2026/05/21 03:50:15 DEBUG : dir: reading active writers 2026/05/21 03:50:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/21 03:50:16 DEBUG : dir/file1: size = 14 OK 2026/05/21 03:50:16 INFO : dir/file1: Copied (replaced existing) 2026/05/21 03:50:16 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/05/21 03:50:16 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/05/21 03:50:16 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:50:16 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/05/21 03:50:16 DEBUG : dir: Looking for writers 2026/05/21 03:50:16 DEBUG : file1: reading active writers 2026/05/21 03:50:16 DEBUG : Looking for writers 2026/05/21 03:50:16 DEBUG : dir: reading active writers 2026/05/21 03:50:16 DEBUG : >WaitForWriters: 2026/05/21 03:50:16 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/21 03:50:16 DEBUG : dir/file1: newRWFileHandle: 2026/05/21 03:50:16 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/21 03:50:16 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/21 03:50:16 DEBUG : dir/file1(0x2fd391c89480): _readAt: size=512, off=0 2026/05/21 03:50:16 DEBUG : dir/file1(0x2fd391c89480): openPending: 2026/05/21 03:50:16 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/21 03:50:16 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/21 03:50:16 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:50:16 DEBUG : dir/file1(0x2fd391c89480): >openPending: err= 2026/05/21 03:50:16 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/05/21 03:50:16 DEBUG : dir/file1(0x2fd391c89480): >_readAt: n=14, err=EOF 2026/05/21 03:50:16 DEBUG : dir/file1(0x2fd391c89480): close: 2026/05/21 03:50:16 DEBUG : dir/file1(0x2fd391c89480): >close: err= 2026/05/21 03:50:16 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/21 03:50:16 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/21 03:50:16 DEBUG : newLeaf: Updating file with newLeaf 0x2fd391adcf70 2026/05/21 03:50:16 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/21 03:50:16 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/21 03:50:17 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/21 03:50:17 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/05/21 03:50:17 DEBUG : dir/file1: Updating file with dir/file1 0x2fd391adcf70 2026/05/21 03:50:17 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/21 03:50:17 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2026/05/21 03:50:21 DEBUG : dir/file1: vfs cache: setting modification time to 2026-05-21 03:50:15 +0000 UTC fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "dir/file1" 2026/05/21 03:50:24 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/21 03:50:24 DEBUG : dir/file1: newRWFileHandle: 2026/05/21 03:50:24 DEBUG : dir/file1(0x2fd38b2eadc0): openPending: 2026/05/21 03:50:24 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/21 03:50:24 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/21 03:50:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:50:24 DEBUG : dir/file1(0x2fd38b2eadc0): >openPending: err= 2026/05/21 03:50:24 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/21 03:50:24 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/21 03:50:24 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/21 03:50:24 DEBUG : dir/file1(0x2fd38b2eadc0): _writeAt: size=25, off=0 2026/05/21 03:50:24 DEBUG : dir/file1(0x2fd38b2eadc0): >_writeAt: n=25, err= 2026/05/21 03:50:25 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/21 03:50:25 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/21 03:50:25 DEBUG : newLeaf: Updating file with newLeaf 0x2fd391adcf70 2026/05/21 03:50:25 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/21 03:50:25 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/21 03:50:25 DEBUG : newLeaf(0x2fd38b2eadc0): close: 2026/05/21 03:50:25 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/05/21 03:50:25 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-21 03:50:24.147761403 +0000 UTC m=+180.766938834 2026/05/21 03:50:25 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/05/21 03:50:25 DEBUG : newLeaf(0x2fd38b2eadc0): >close: err= 2026/05/21 03:50:25 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:50:25 DEBUG : dir: Looking for writers 2026/05/21 03:50:25 DEBUG : Looking for writers 2026/05/21 03:50:25 DEBUG : dir: reading active writers 2026/05/21 03:50:25 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/21 03:50:25 DEBUG : dir: Looking for writers 2026/05/21 03:50:25 DEBUG : Looking for writers 2026/05/21 03:50:25 DEBUG : dir: reading active writers 2026/05/21 03:50:25 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/21 03:50:25 DEBUG : dir: Looking for writers 2026/05/21 03:50:25 DEBUG : Looking for writers 2026/05/21 03:50:25 DEBUG : dir: reading active writers 2026/05/21 03:50:25 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/21 03:50:25 DEBUG : dir: Looking for writers 2026/05/21 03:50:25 DEBUG : Looking for writers 2026/05/21 03:50:25 DEBUG : dir: reading active writers 2026/05/21 03:50:25 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/21 03:50:25 DEBUG : newLeaf: vfs cache: starting upload 2026/05/21 03:50:25 DEBUG : dir: Looking for writers 2026/05/21 03:50:25 DEBUG : Looking for writers 2026/05/21 03:50:25 DEBUG : dir: reading active writers 2026/05/21 03:50:25 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/21 03:50:25 DEBUG : dir: Looking for writers 2026/05/21 03:50:25 DEBUG : Looking for writers 2026/05/21 03:50:25 DEBUG : dir: reading active writers 2026/05/21 03:50:25 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/21 03:50:26 DEBUG : dir: Looking for writers 2026/05/21 03:50:26 DEBUG : Looking for writers 2026/05/21 03:50:26 DEBUG : dir: reading active writers 2026/05/21 03:50:26 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/21 03:50:26 DEBUG : newLeaf: size = 25 OK 2026/05/21 03:50:26 INFO : newLeaf: Copied (replaced existing) 2026/05/21 03:50:26 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/05/21 03:50:26 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/05/21 03:50:26 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/21 03:50:26 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/05/21 03:50:26 DEBUG : dir: Looking for writers 2026/05/21 03:50:26 DEBUG : Looking for writers 2026/05/21 03:50:26 DEBUG : dir: reading active writers 2026/05/21 03:50:26 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:26 DEBUG : >WaitForWriters: 2026/05/21 03:50:26 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:50:26 DEBUG : dir: Looking for writers 2026/05/21 03:50:26 DEBUG : Looking for writers 2026/05/21 03:50:26 DEBUG : dir: reading active writers 2026/05/21 03:50:26 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:26 DEBUG : >WaitForWriters: 2026/05/21 03:50:26 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:50:27 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:50:27 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/21 03:50:27 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:27 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:27 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:27 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:50:27 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:27 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:27 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:50:27 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:27 INFO : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/21 03:50:27 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:50:27 DEBUG : dir: Looking for writers 2026/05/21 03:50:27 DEBUG : file1: reading active writers 2026/05/21 03:50:27 DEBUG : Looking for writers 2026/05/21 03:50:27 DEBUG : dir: reading active writers 2026/05/21 03:50:27 DEBUG : >WaitForWriters: 2026/05/21 03:50:27 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/21 03:50:27 DEBUG : dir/file1: newRWFileHandle: 2026/05/21 03:50:27 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/21 03:50:27 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/21 03:50:27 DEBUG : dir/file1(0x2fd38b770ec0): _readAt: size=512, off=0 2026/05/21 03:50:27 DEBUG : dir/file1(0x2fd38b770ec0): openPending: 2026/05/21 03:50:27 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/05/21 03:50:27 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/05/21 03:50:27 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:50:27 DEBUG : dir/file1(0x2fd38b770ec0): >openPending: err= 2026/05/21 03:50:27 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2026/05/21 03:50:27 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/05/21 03:50:27 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/21 03:50:27 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/05/21 03:50:27 DEBUG : dir/file1(0x2fd38b770ec0): >_readAt: n=14, err=EOF 2026/05/21 03:50:27 DEBUG : dir/file1(0x2fd38b770ec0): close: 2026/05/21 03:50:27 DEBUG : dir/file1(0x2fd38b770ec0): >close: err= 2026/05/21 03:50:28 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/21 03:50:28 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/21 03:50:28 DEBUG : newLeaf: Updating file with newLeaf 0x2fd38bb90ea0 2026/05/21 03:50:28 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/21 03:50:28 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/21 03:50:28 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/21 03:50:28 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/05/21 03:50:28 DEBUG : dir/file1: Updating file with dir/file1 0x2fd38bb90ea0 2026/05/21 03:50:28 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/21 03:50:28 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2026/05/21 03:50:32 DEBUG : dir/file1: vfs cache: setting modification time to 2026-05-21 03:50:27 +0000 UTC fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "dir/file1" 2026/05/21 03:50:35 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/21 03:50:35 DEBUG : dir/file1: newRWFileHandle: 2026/05/21 03:50:35 DEBUG : dir/file1(0x2fd38b82a840): openPending: 2026/05/21 03:50:35 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/21 03:50:35 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/21 03:50:35 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:50:35 DEBUG : dir/file1(0x2fd38b82a840): >openPending: err= 2026/05/21 03:50:35 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/21 03:50:35 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/21 03:50:35 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/21 03:50:35 DEBUG : dir/file1(0x2fd38b82a840): _writeAt: size=25, off=0 2026/05/21 03:50:35 DEBUG : dir/file1(0x2fd38b82a840): >_writeAt: n=25, err= 2026/05/21 03:50:35 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/21 03:50:35 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/21 03:50:35 DEBUG : newLeaf: Updating file with newLeaf 0x2fd38bb90ea0 2026/05/21 03:50:35 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/21 03:50:35 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/21 03:50:35 DEBUG : newLeaf(0x2fd38b82a840): close: 2026/05/21 03:50:35 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/05/21 03:50:35 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-21 03:50:35.468901929 +0000 UTC m=+192.088079359 2026/05/21 03:50:35 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/05/21 03:50:35 DEBUG : newLeaf(0x2fd38b82a840): >close: err= 2026/05/21 03:50:35 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:50:35 DEBUG : dir: Looking for writers 2026/05/21 03:50:35 DEBUG : Looking for writers 2026/05/21 03:50:35 DEBUG : dir: reading active writers 2026/05/21 03:50:35 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/21 03:50:35 DEBUG : dir: Looking for writers 2026/05/21 03:50:35 DEBUG : Looking for writers 2026/05/21 03:50:35 DEBUG : dir: reading active writers 2026/05/21 03:50:35 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/21 03:50:35 DEBUG : dir: Looking for writers 2026/05/21 03:50:35 DEBUG : Looking for writers 2026/05/21 03:50:35 DEBUG : dir: reading active writers 2026/05/21 03:50:35 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/21 03:50:35 DEBUG : dir: Looking for writers 2026/05/21 03:50:35 DEBUG : Looking for writers 2026/05/21 03:50:35 DEBUG : dir: reading active writers 2026/05/21 03:50:35 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/21 03:50:35 DEBUG : newLeaf: vfs cache: starting upload 2026/05/21 03:50:36 DEBUG : dir: Looking for writers 2026/05/21 03:50:36 DEBUG : Looking for writers 2026/05/21 03:50:36 DEBUG : dir: reading active writers 2026/05/21 03:50:36 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/21 03:50:36 DEBUG : dir: Looking for writers 2026/05/21 03:50:36 DEBUG : Looking for writers 2026/05/21 03:50:36 DEBUG : dir: reading active writers 2026/05/21 03:50:36 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/21 03:50:36 DEBUG : newLeaf: size = 25 OK 2026/05/21 03:50:36 INFO : newLeaf: Copied (replaced existing) 2026/05/21 03:50:36 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/05/21 03:50:36 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/05/21 03:50:36 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/21 03:50:36 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/05/21 03:50:36 DEBUG : dir: Looking for writers 2026/05/21 03:50:36 DEBUG : Looking for writers 2026/05/21 03:50:36 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:36 DEBUG : dir: reading active writers 2026/05/21 03:50:36 DEBUG : >WaitForWriters: 2026/05/21 03:50:36 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:50:36 DEBUG : dir: Looking for writers 2026/05/21 03:50:36 DEBUG : Looking for writers 2026/05/21 03:50:36 DEBUG : dir: reading active writers 2026/05/21 03:50:36 DEBUG : newLeaf: reading active writers 2026/05/21 03:50:36 DEBUG : >WaitForWriters: 2026/05/21 03:50:36 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaner exiting --- FAIL: TestFileRename (168.39s) --- FAIL: TestFileRename/off,forceCache=false (46.11s) --- FAIL: TestFileRename/minimal,forceCache=false (26.93s) --- FAIL: TestFileRename/minimal,forceCache=true (33.08s) --- FAIL: TestFileRename/writes,forceCache=false (35.85s) --- FAIL: TestFileRename/writes,forceCache=true (14.47s) --- FAIL: TestFileRename/full,forceCache=false (11.95s) === RUN TestReadFileHandleMethods run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:50:39 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:50:39 NOTICE: mega root 'rclone-test-budibuc1tudu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/21 03:50:39 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/21 03:50:39 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/21 03:50:39 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2026/05/21 03:50:39 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2026/05/21 03:50:39 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/05/21 03:50:39 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2026/05/21 03:50:39 DEBUG : dir/file1: ChunkedReader.Read at 1 length 256 chunkOffset 0 chunkSize 134217728 2026/05/21 03:50:39 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:50:39 DEBUG : dir: Looking for writers 2026/05/21 03:50:39 DEBUG : file1: reading active writers 2026/05/21 03:50:39 DEBUG : Looking for writers 2026/05/21 03:50:39 DEBUG : dir: reading active writers 2026/05/21 03:50:39 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleMethods (1.23s) === RUN TestReadFileHandleSeek run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:50:40 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:50:40 NOTICE: mega root 'rclone-test-budibuc1tudu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/21 03:50:42 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/21 03:50:42 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/21 03:50:42 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2026/05/21 03:50:42 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2026/05/21 03:50:42 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/05/21 03:50:42 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2026/05/21 03:50:42 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2026/05/21 03:50:42 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2026/05/21 03:50:42 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2026/05/21 03:50:42 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2026/05/21 03:50:42 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2026/05/21 03:50:42 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2026/05/21 03:50:42 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2026/05/21 03:50:42 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2026/05/21 03:50:42 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2026/05/21 03:50:42 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2026/05/21 03:50:42 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2026/05/21 03:50:43 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2026/05/21 03:50:43 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2026/05/21 03:50:43 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2026/05/21 03:50:43 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2026/05/21 03:50:43 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:50:43 DEBUG : dir: Looking for writers 2026/05/21 03:50:43 DEBUG : file1: reading active writers 2026/05/21 03:50:43 DEBUG : Looking for writers 2026/05/21 03:50:43 DEBUG : dir: reading active writers 2026/05/21 03:50:43 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleSeek (3.00s) === RUN TestReadFileHandleReadAt run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:50:43 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:50:43 NOTICE: mega root 'rclone-test-budibuc1tudu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/21 03:50:43 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/21 03:50:43 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/21 03:50:43 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2026/05/21 03:50:43 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2026/05/21 03:50:43 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/05/21 03:50:43 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2026/05/21 03:50:44 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2026/05/21 03:50:44 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2026/05/21 03:50:44 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2026/05/21 03:50:44 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2026/05/21 03:50:44 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2026/05/21 03:50:44 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2026/05/21 03:50:44 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2026/05/21 03:50:44 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2026/05/21 03:50:44 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2026/05/21 03:50:44 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2026/05/21 03:50:44 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2026/05/21 03:50:44 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2026/05/21 03:50:44 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2026/05/21 03:50:44 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2026/05/21 03:50:44 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2026/05/21 03:50:44 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2026/05/21 03:50:44 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2026/05/21 03:50:44 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2026/05/21 03:50:44 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2026/05/21 03:50:44 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2026/05/21 03:50:44 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2026/05/21 03:50:44 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2026/05/21 03:50:44 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2026/05/21 03:50:44 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2026/05/21 03:50:44 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2026/05/21 03:50:44 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2026/05/21 03:50:44 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2026/05/21 03:50:44 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2026/05/21 03:50:44 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2026/05/21 03:50:44 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2026/05/21 03:50:44 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:50:44 DEBUG : dir: Looking for writers 2026/05/21 03:50:44 DEBUG : file1: reading active writers 2026/05/21 03:50:44 DEBUG : Looking for writers 2026/05/21 03:50:44 DEBUG : dir: reading active writers 2026/05/21 03:50:44 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (2.75s) === RUN TestReadFileHandleFlush run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:50:46 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:50:46 NOTICE: mega root 'rclone-test-budibuc1tudu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/21 03:50:46 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/21 03:50:46 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/21 03:50:46 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2026/05/21 03:50:46 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2026/05/21 03:50:46 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/05/21 03:50:46 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2026/05/21 03:50:46 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:50:46 DEBUG : dir: Looking for writers 2026/05/21 03:50:46 DEBUG : file1: reading active writers 2026/05/21 03:50:46 DEBUG : Looking for writers 2026/05/21 03:50:46 DEBUG : dir: reading active writers 2026/05/21 03:50:46 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleFlush (0.93s) === RUN TestReadFileHandleRelease run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:50:47 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:50:47 NOTICE: mega root 'rclone-test-budibuc1tudu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/21 03:50:47 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/21 03:50:47 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/21 03:50:47 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2026/05/21 03:50:47 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2026/05/21 03:50:47 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/05/21 03:50:47 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2026/05/21 03:50:47 DEBUG : dir/file1: ReadFileHandle.Release closing 2026/05/21 03:50:47 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2026/05/21 03:50:47 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:50:47 DEBUG : dir: Looking for writers 2026/05/21 03:50:47 DEBUG : file1: reading active writers 2026/05/21 03:50:47 DEBUG : Looking for writers 2026/05/21 03:50:47 DEBUG : dir: reading active writers 2026/05/21 03:50:47 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleRelease (1.03s) === RUN TestRWFileHandleMethodsRead run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:50:48 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:50:48 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/21 03:50:48 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:48 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:50:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:50:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:48 INFO : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/21 03:50:50 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/21 03:50:50 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/21 03:50:50 DEBUG : dir/file1: newRWFileHandle: 2026/05/21 03:50:50 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/21 03:50:50 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/21 03:50:50 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/05/21 03:50:50 DEBUG : dir/file1(0x2fd3919d3a00): _readAt: size=1, off=0 2026/05/21 03:50:50 DEBUG : dir/file1(0x2fd3919d3a00): openPending: 2026/05/21 03:50:50 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2026/05/21 03:50:50 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/05/21 03:50:50 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:50:50 DEBUG : dir/file1(0x2fd3919d3a00): >openPending: err= 2026/05/21 03:50:50 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2026/05/21 03:50:50 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/05/21 03:50:50 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/21 03:50:50 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/05/21 03:50:50 DEBUG : dir/file1(0x2fd3919d3a00): >_readAt: n=1, err= 2026/05/21 03:50:50 DEBUG : dir/file1(0x2fd3919d3a00): _readAt: size=256, off=1 2026/05/21 03:50:50 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2026/05/21 03:50:50 DEBUG : dir/file1(0x2fd3919d3a00): >_readAt: n=15, err=EOF 2026/05/21 03:50:50 DEBUG : dir/file1(0x2fd3919d3a00): _readAt: size=16, off=16 2026/05/21 03:50:50 DEBUG : dir/file1(0x2fd3919d3a00): >_readAt: n=0, err=EOF 2026/05/21 03:50:50 DEBUG : dir/file1(0x2fd3919d3a00): close: 2026/05/21 03:50:50 DEBUG : dir/file1(0x2fd3919d3a00): >close: err= 2026/05/21 03:50:50 DEBUG : dir/file1(0x2fd3919d3a00): close: 2026/05/21 03:50:50 DEBUG : dir/file1(0x2fd3919d3a00): >close: err=file already closed 2026/05/21 03:50:50 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:50:50 DEBUG : dir: Looking for writers 2026/05/21 03:50:50 DEBUG : file1: reading active writers 2026/05/21 03:50:50 DEBUG : Looking for writers 2026/05/21 03:50:50 DEBUG : dir: reading active writers 2026/05/21 03:50:50 DEBUG : >WaitForWriters: 2026/05/21 03:50:50 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsRead (3.03s) === RUN TestRWFileHandleSeek run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:50:51 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:50:51 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/21 03:50:51 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:51 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:51 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:51 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:50:51 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:51 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:51 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:50:51 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:51 INFO : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/21 03:50:51 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/21 03:50:51 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/21 03:50:51 DEBUG : dir/file1: newRWFileHandle: 2026/05/21 03:50:51 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/21 03:50:51 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/21 03:50:51 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/05/21 03:50:51 DEBUG : dir/file1(0x2fd391613c40): _readAt: size=1, off=0 2026/05/21 03:50:51 DEBUG : dir/file1(0x2fd391613c40): openPending: 2026/05/21 03:50:51 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2026/05/21 03:50:51 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/05/21 03:50:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:50:51 DEBUG : dir/file1(0x2fd391613c40): >openPending: err= 2026/05/21 03:50:51 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2026/05/21 03:50:51 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/05/21 03:50:51 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/21 03:50:51 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/05/21 03:50:51 DEBUG : dir/file1(0x2fd391613c40): >_readAt: n=1, err= 2026/05/21 03:50:51 DEBUG : dir/file1(0x2fd391613c40): _readAt: size=1, off=5 2026/05/21 03:50:51 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2026/05/21 03:50:51 DEBUG : dir/file1(0x2fd391613c40): >_readAt: n=1, err= 2026/05/21 03:50:51 DEBUG : dir/file1(0x2fd391613c40): _readAt: size=1, off=3 2026/05/21 03:50:51 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2026/05/21 03:50:51 DEBUG : dir/file1(0x2fd391613c40): >_readAt: n=1, err= 2026/05/21 03:50:51 DEBUG : dir/file1(0x2fd391613c40): _readAt: size=1, off=13 2026/05/21 03:50:51 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2026/05/21 03:50:51 DEBUG : dir/file1(0x2fd391613c40): >_readAt: n=1, err= 2026/05/21 03:50:51 DEBUG : dir/file1(0x2fd391613c40): _readAt: size=16, off=100 2026/05/21 03:50:51 DEBUG : dir/file1(0x2fd391613c40): >_readAt: n=0, err=EOF 2026/05/21 03:50:51 DEBUG : dir/file1(0x2fd391613c40): close: 2026/05/21 03:50:51 DEBUG : dir/file1(0x2fd391613c40): >close: err= 2026/05/21 03:50:51 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:50:51 DEBUG : dir: Looking for writers 2026/05/21 03:50:51 DEBUG : file1: reading active writers 2026/05/21 03:50:51 DEBUG : Looking for writers 2026/05/21 03:50:51 DEBUG : dir: reading active writers 2026/05/21 03:50:51 DEBUG : >WaitForWriters: 2026/05/21 03:50:51 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSeek (0.94s) === RUN TestRWFileHandleReadAt run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:50:52 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:50:52 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/21 03:50:52 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:52 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:50:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:50:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:52 INFO : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/21 03:50:54 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/21 03:50:54 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/21 03:50:54 DEBUG : dir/file1: newRWFileHandle: 2026/05/21 03:50:54 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/21 03:50:54 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/21 03:50:54 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/05/21 03:50:54 DEBUG : dir/file1(0x2fd38be5e980): _readAt: size=1, off=0 2026/05/21 03:50:54 DEBUG : dir/file1(0x2fd38be5e980): openPending: 2026/05/21 03:50:54 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2026/05/21 03:50:54 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/05/21 03:50:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:50:54 DEBUG : dir/file1(0x2fd38be5e980): >openPending: err= 2026/05/21 03:50:54 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2026/05/21 03:50:54 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/05/21 03:50:54 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/21 03:50:54 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/05/21 03:50:54 DEBUG : dir/file1(0x2fd38be5e980): >_readAt: n=1, err= 2026/05/21 03:50:54 DEBUG : dir/file1(0x2fd38be5e980): _readAt: size=1, off=5 2026/05/21 03:50:54 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2026/05/21 03:50:54 DEBUG : dir/file1(0x2fd38be5e980): >_readAt: n=1, err= 2026/05/21 03:50:54 DEBUG : dir/file1(0x2fd38be5e980): _readAt: size=1, off=1 2026/05/21 03:50:54 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2026/05/21 03:50:54 DEBUG : dir/file1(0x2fd38be5e980): >_readAt: n=1, err= 2026/05/21 03:50:54 DEBUG : dir/file1(0x2fd38be5e980): _readAt: size=6, off=10 2026/05/21 03:50:54 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2026/05/21 03:50:54 DEBUG : dir/file1(0x2fd38be5e980): >_readAt: n=6, err= 2026/05/21 03:50:54 DEBUG : dir/file1(0x2fd38be5e980): _readAt: size=256, off=10 2026/05/21 03:50:54 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2026/05/21 03:50:54 DEBUG : dir/file1(0x2fd38be5e980): >_readAt: n=6, err=EOF 2026/05/21 03:50:54 DEBUG : dir/file1(0x2fd38be5e980): _readAt: size=256, off=100 2026/05/21 03:50:54 DEBUG : dir/file1(0x2fd38be5e980): >_readAt: n=0, err=EOF 2026/05/21 03:50:54 DEBUG : dir/file1(0x2fd38be5e980): close: 2026/05/21 03:50:54 DEBUG : dir/file1(0x2fd38be5e980): >close: err= 2026/05/21 03:50:54 DEBUG : dir/file1(0x2fd38be5e980): _readAt: size=256, off=100 2026/05/21 03:50:54 DEBUG : dir/file1(0x2fd38be5e980): >_readAt: n=0, err=file already closed 2026/05/21 03:50:54 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:50:54 DEBUG : dir: Looking for writers 2026/05/21 03:50:54 DEBUG : file1: reading active writers 2026/05/21 03:50:54 DEBUG : Looking for writers 2026/05/21 03:50:54 DEBUG : dir: reading active writers 2026/05/21 03:50:54 DEBUG : >WaitForWriters: 2026/05/21 03:50:54 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReadAt (2.92s) === RUN TestRWFileHandleFlushRead run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:50:55 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:50:55 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/21 03:50:55 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:55 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:55 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:50:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:55 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:50:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:55 INFO : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/21 03:50:55 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/21 03:50:55 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/21 03:50:55 DEBUG : dir/file1: newRWFileHandle: 2026/05/21 03:50:55 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/21 03:50:55 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/21 03:50:55 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/05/21 03:50:55 DEBUG : dir/file1(0x2fd38bf6c9c0): RWFileHandle.Flush 2026/05/21 03:50:55 DEBUG : dir/file1(0x2fd38bf6c9c0): _readAt: size=256, off=0 2026/05/21 03:50:55 DEBUG : dir/file1(0x2fd38bf6c9c0): openPending: 2026/05/21 03:50:55 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2026/05/21 03:50:55 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/05/21 03:50:55 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:50:55 DEBUG : dir/file1(0x2fd38bf6c9c0): >openPending: err= 2026/05/21 03:50:55 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2026/05/21 03:50:55 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/05/21 03:50:55 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/21 03:50:55 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/05/21 03:50:55 DEBUG : dir/file1(0x2fd38bf6c9c0): >_readAt: n=16, err=EOF 2026/05/21 03:50:55 DEBUG : dir/file1(0x2fd38bf6c9c0): RWFileHandle.Flush 2026/05/21 03:50:55 DEBUG : dir/file1(0x2fd38bf6c9c0): RWFileHandle.Flush 2026/05/21 03:50:55 DEBUG : dir/file1(0x2fd38bf6c9c0): close: 2026/05/21 03:50:55 DEBUG : dir/file1(0x2fd38bf6c9c0): >close: err= 2026/05/21 03:50:55 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:50:55 DEBUG : dir: Looking for writers 2026/05/21 03:50:55 DEBUG : file1: reading active writers 2026/05/21 03:50:55 DEBUG : Looking for writers 2026/05/21 03:50:55 DEBUG : dir: reading active writers 2026/05/21 03:50:55 DEBUG : >WaitForWriters: 2026/05/21 03:50:55 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaner exiting 2026/05/21 03:50:55 ERROR : dir/file1: vfs cache: item close failed: vfs cache item: failed to write metadata: open /home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu/dir/file1: no such file or directory 2026/05/21 03:50:55 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-budibuc1tudu/dir/file1: no such file or directory --- PASS: TestRWFileHandleFlushRead (0.86s) === RUN TestRWFileHandleReleaseRead run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:50:55 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:50:55 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/21 03:50:55 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:55 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:55 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:50:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:55 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:50:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:55 INFO : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/21 03:50:56 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/21 03:50:56 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/21 03:50:56 DEBUG : dir/file1: newRWFileHandle: 2026/05/21 03:50:56 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/21 03:50:56 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/21 03:50:56 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/05/21 03:50:56 DEBUG : dir/file1(0x2fd38c1a23c0): _readAt: size=256, off=0 2026/05/21 03:50:56 DEBUG : dir/file1(0x2fd38c1a23c0): openPending: 2026/05/21 03:50:56 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2026/05/21 03:50:56 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/05/21 03:50:56 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/21 03:50:56 DEBUG : dir/file1(0x2fd38c1a23c0): >openPending: err= 2026/05/21 03:50:56 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2026/05/21 03:50:56 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/05/21 03:50:56 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/21 03:50:56 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/05/21 03:50:56 DEBUG : dir/file1: vfs cache: setting modification time to 2026-05-21 03:50:51 +0000 UTC 2026/05/21 03:50:56 DEBUG : dir/file1(0x2fd38c1a23c0): >_readAt: n=16, err=EOF 2026/05/21 03:50:56 DEBUG : dir/file1(0x2fd38c1a23c0): RWFileHandle.Release 2026/05/21 03:50:56 DEBUG : dir/file1(0x2fd38c1a23c0): close: 2026/05/21 03:50:56 DEBUG : dir/file1(0x2fd38c1a23c0): >close: err= 2026/05/21 03:50:56 DEBUG : dir/file1(0x2fd38c1a23c0): RWFileHandle.Release 2026/05/21 03:50:56 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:50:56 DEBUG : dir: Looking for writers 2026/05/21 03:50:56 DEBUG : file1: reading active writers 2026/05/21 03:50:56 DEBUG : Looking for writers 2026/05/21 03:50:56 DEBUG : dir: reading active writers 2026/05/21 03:50:56 DEBUG : >WaitForWriters: 2026/05/21 03:50:56 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseRead (1.66s) === RUN TestRWFileHandleMethodsWrite run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:50:57 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:50:57 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/21 03:50:57 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:57 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:50:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/21 03:50:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu" 2026/05/21 03:50:57 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/05/21 03:50:57 INFO : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/21 03:50:57 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/05/21 03:50:57 DEBUG : file1: newRWFileHandle: 2026/05/21 03:50:57 DEBUG : file1(0x2fd38bfb4ac0): openPending: 2026/05/21 03:50:57 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2026/05/21 03:50:57 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/21 03:50:57 DEBUG : file1(0x2fd38bfb4ac0): >openPending: err= 2026/05/21 03:50:57 DEBUG : file1: >newRWFileHandle: err= 2026/05/21 03:50:57 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/21 03:50:57 DEBUG : file1: >Open: fd=file1 (rw), err= 2026/05/21 03:50:57 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2026/05/21 03:50:57 DEBUG : file1(0x2fd38bfb4ac0): _writeAt: size=5, off=0 2026/05/21 03:50:57 DEBUG : file1(0x2fd38bfb4ac0): >_writeAt: n=5, err= 2026/05/21 03:50:57 DEBUG : file1(0x2fd38bfb4ac0): _writeAt: size=7, off=5 2026/05/21 03:50:57 DEBUG : file1(0x2fd38bfb4ac0): >_writeAt: n=7, err= 2026/05/21 03:50:57 DEBUG : file1: vfs cache: truncate to size=11 2026/05/21 03:50:57 DEBUG : file1(0x2fd38bfb4ac0): close: 2026/05/21 03:50:57 DEBUG : file1: vfs cache: setting modification time to 2026-05-21 03:50:57.604405301 +0000 UTC m=+214.223582731 2026/05/21 03:50:57 INFO : file1: vfs cache: queuing for upload in 100ms 2026/05/21 03:50:57 DEBUG : file1(0x2fd38bfb4ac0): >close: err= 2026/05/21 03:50:57 DEBUG : file1(0x2fd38bfb4ac0): close: 2026/05/21 03:50:57 DEBUG : file1(0x2fd38bfb4ac0): >close: err=file already closed 2026/05/21 03:50:57 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:50:57 DEBUG : Looking for writers 2026/05/21 03:50:57 DEBUG : file1: reading active writers 2026/05/21 03:50:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/21 03:50:57 DEBUG : Looking for writers 2026/05/21 03:50:57 DEBUG : file1: reading active writers 2026/05/21 03:50:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/21 03:50:57 DEBUG : Looking for writers 2026/05/21 03:50:57 DEBUG : file1: reading active writers 2026/05/21 03:50:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/21 03:50:57 DEBUG : Looking for writers 2026/05/21 03:50:57 DEBUG : file1: reading active writers 2026/05/21 03:50:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/21 03:50:57 DEBUG : file1: vfs cache: starting upload 2026/05/21 03:50:57 DEBUG : Looking for writers 2026/05/21 03:50:57 DEBUG : file1: reading active writers 2026/05/21 03:50:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/21 03:50:57 DEBUG : Looking for writers 2026/05/21 03:50:57 DEBUG : file1: reading active writers 2026/05/21 03:50:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/21 03:50:57 DEBUG : file1: size = 11 OK 2026/05/21 03:50:57 INFO : file1: Copied (new) 2026/05/21 03:50:57 DEBUG : file1: vfs cache: fingerprint now "11" 2026/05/21 03:50:57 DEBUG : file1: vfs cache: writeback object to VFS layer 2026/05/21 03:50:57 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/21 03:50:57 INFO : file1: vfs cache: upload succeeded try #1 2026/05/21 03:50:58 DEBUG : Looking for writers 2026/05/21 03:50:58 DEBUG : file1: reading active writers 2026/05/21 03:50:58 DEBUG : >WaitForWriters: 2026/05/21 03:50:58 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:50:58 DEBUG : Looking for writers 2026/05/21 03:50:58 DEBUG : file1: reading active writers 2026/05/21 03:50:58 DEBUG : >WaitForWriters: 2026/05/21 03:50:58 DEBUG : mega root 'rclone-test-budibuc1tudu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsWrite (0.76s) === RUN TestWriteFileHandleFlush run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:50:58 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:50:58 NOTICE: mega root 'rclone-test-budibuc1tudu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/21 03:50:58 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/05/21 03:50:58 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/05/21 03:50:58 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/21 03:50:58 DEBUG : file1: >Open: fd=file1 (w), err= 2026/05/21 03:50:58 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/05/21 03:50:58 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2026/05/21 03:50:58 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/21 03:50:58 DEBUG : mega root 'rclone-test-budibuc1tudu': File to upload is small (5 bytes), uploading instead of streaming 2026/05/21 03:50:58 DEBUG : file1: size = 5 OK 2026/05/21 03:50:58 DEBUG : file1: Size of src and dst objects identical 2026/05/21 03:50:58 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/21 03:50:58 DEBUG : file1: WriteFileHandle.Flush nothing to do 2026/05/21 03:50:58 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:50:58 DEBUG : Looking for writers 2026/05/21 03:50:58 DEBUG : file1: reading active writers 2026/05/21 03:50:58 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure 2026/05/21 03:50:59 ERROR : dir/file1: vfs cache: item close failed: vfs cache item: failed to write metadata: open /home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu/dir/file1: no such file or directory 2026/05/21 03:50:59 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-budibuc1tudu/dir/file1: no such file or directory 2026/05/21 03:51:00 ERROR : dir/file1: vfs cache: item close failed: vfs cache item: failed to write metadata: open /home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu/dir/file1: no such file or directory 2026/05/21 03:51:00 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-budibuc1tudu/dir/file1: no such file or directory 2026/05/21 03:51:01 ERROR : dir/file1: vfs cache: item close failed: vfs cache item: failed to write metadata: open /home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-budibuc1tudu/dir/file1: no such file or directory 2026/05/21 03:51:01 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-budibuc1tudu/dir/file1: no such file or directory --- PASS: TestWriteFileHandleFlush (7.32s) === RUN TestFileReadAtZeroLength run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:51:05 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:51:05 NOTICE: mega root 'rclone-test-budibuc1tudu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/21 03:51:05 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/05/21 03:51:05 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/05/21 03:51:05 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/21 03:51:05 DEBUG : file1: >Open: fd=file1 (w), err= 2026/05/21 03:51:05 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/05/21 03:51:05 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/21 03:51:05 DEBUG : mega root 'rclone-test-budibuc1tudu': File to upload is small (0 bytes), uploading instead of streaming 2026/05/21 03:51:16 DEBUG : file1: size = 0 OK 2026/05/21 03:51:16 DEBUG : file1: Size of src and dst objects identical 2026/05/21 03:51:16 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/21 03:51:16 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2026/05/21 03:51:16 DEBUG : file1: Open: flags=O_RDONLY 2026/05/21 03:51:16 DEBUG : file1: >Open: fd=file1 (r), err= 2026/05/21 03:51:16 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2026/05/21 03:51:16 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2026/05/21 03:51:16 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2026/05/21 03:51:16 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:51:16 DEBUG : Looking for writers 2026/05/21 03:51:16 DEBUG : file1: reading active writers 2026/05/21 03:51:16 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure --- PASS: TestFileReadAtZeroLength (18.00s) === RUN TestFileReadAtNonZeroLength run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:51:23 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:51:23 NOTICE: mega root 'rclone-test-budibuc1tudu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/21 03:51:23 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/05/21 03:51:23 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/05/21 03:51:23 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/21 03:51:23 DEBUG : file1: >Open: fd=file1 (w), err= 2026/05/21 03:51:23 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/05/21 03:51:23 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/21 03:51:23 DEBUG : mega root 'rclone-test-budibuc1tudu': File to upload is small (100 bytes), uploading instead of streaming 2026/05/21 03:51:34 DEBUG : file1: size = 100 OK 2026/05/21 03:51:34 DEBUG : file1: Size of src and dst objects identical 2026/05/21 03:51:34 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/21 03:51:34 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2026/05/21 03:51:34 DEBUG : file1: Open: flags=O_RDONLY 2026/05/21 03:51:34 DEBUG : file1: >Open: fd=file1 (r), err= 2026/05/21 03:51:34 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2026/05/21 03:51:34 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2026/05/21 03:51:34 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2026/05/21 03:51:34 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:51:34 DEBUG : Looking for writers 2026/05/21 03:51:34 DEBUG : file1: reading active writers 2026/05/21 03:51:34 DEBUG : >WaitForWriters: --- PASS: TestFileReadAtNonZeroLength (11.06s) === RUN TestZipManySubDirs run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:51:34 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:51:34 NOTICE: mega root 'rclone-test-budibuc1tudu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/21 03:51:40 DEBUG : a/b/c/deep.txt: Open: flags=O_RDONLY 2026/05/21 03:51:40 DEBUG : a/b/c/deep.txt: >Open: fd=a/b/c/deep.txt (r), err= 2026/05/21 03:51:40 DEBUG : a/b/c/deep.txt: Set virtual modtime to 2026-05-21 03:51:40 +0000 UTC 2026/05/21 03:51:40 DEBUG : a/b/c/deep.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/21 03:51:40 DEBUG : a/b/c/deep.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/21 03:51:40 DEBUG : a/b/mid.txt: Open: flags=O_RDONLY 2026/05/21 03:51:40 DEBUG : a/b/mid.txt: >Open: fd=a/b/mid.txt (r), err= 2026/05/21 03:51:40 DEBUG : a/b/mid.txt: Set virtual modtime to 2026-05-21 03:51:39 +0000 UTC 2026/05/21 03:51:40 DEBUG : a/b/mid.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/21 03:51:40 DEBUG : a/b/mid.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/21 03:51:40 DEBUG : a/top.txt: Open: flags=O_RDONLY 2026/05/21 03:51:40 DEBUG : a/top.txt: >Open: fd=a/top.txt (r), err= 2026/05/21 03:51:40 DEBUG : a/top.txt: Set virtual modtime to 2026-05-21 03:51:35 +0000 UTC 2026/05/21 03:51:40 DEBUG : a/top.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/21 03:51:40 DEBUG : a/top.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/21 03:51:40 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:51:40 DEBUG : a/b/c: Looking for writers 2026/05/21 03:51:40 DEBUG : deep.txt: reading active writers 2026/05/21 03:51:40 DEBUG : a/b: Looking for writers 2026/05/21 03:51:40 DEBUG : c: reading active writers 2026/05/21 03:51:40 DEBUG : mid.txt: reading active writers 2026/05/21 03:51:40 DEBUG : a: Looking for writers 2026/05/21 03:51:40 DEBUG : b: reading active writers 2026/05/21 03:51:40 DEBUG : top.txt: reading active writers 2026/05/21 03:51:40 DEBUG : Looking for writers 2026/05/21 03:51:40 DEBUG : a: reading active writers 2026/05/21 03:51:40 DEBUG : >WaitForWriters: --- PASS: TestZipManySubDirs (9.16s) === RUN TestZipLargeFiles run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:51:43 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:51:43 NOTICE: mega root 'rclone-test-budibuc1tudu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/21 03:51:47 DEBUG : bigdir/big.bin: Open: flags=O_RDONLY 2026/05/21 03:51:47 DEBUG : bigdir/big.bin: >Open: fd=bigdir/big.bin (r), err= 2026/05/21 03:51:47 DEBUG : bigdir/big.bin: Set virtual modtime to 2026-05-21 03:51:47 +0000 UTC 2026/05/21 03:51:47 DEBUG : bigdir/big.bin: ChunkedReader.openRange at 0 length 134217728 2026/05/21 03:51:47 DEBUG : bigdir/big.bin: ChunkedReader.Read at 0 length 4096 chunkOffset 0 chunkSize 134217728 2026/05/21 03:51:48 DEBUG : bigdir/big.bin: ChunkedReader.Read at 4096 length 8192 chunkOffset 0 chunkSize 134217728 2026/05/21 03:51:48 DEBUG : bigdir/big.bin: ChunkedReader.Read at 12288 length 16384 chunkOffset 0 chunkSize 134217728 2026/05/21 03:51:48 DEBUG : bigdir/big.bin: ChunkedReader.Read at 28672 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/21 03:51:48 DEBUG : bigdir/big.bin: ChunkedReader.Read at 61440 length 65536 chunkOffset 0 chunkSize 134217728 2026/05/21 03:51:48 DEBUG : bigdir/big.bin: ChunkedReader.Read at 126976 length 131072 chunkOffset 0 chunkSize 134217728 2026/05/21 03:51:49 DEBUG : bigdir/big.bin: ChunkedReader.Read at 258048 length 262144 chunkOffset 0 chunkSize 134217728 2026/05/21 03:51:49 DEBUG : bigdir/big.bin: ChunkedReader.Read at 520192 length 524288 chunkOffset 0 chunkSize 134217728 2026/05/21 03:51:49 DEBUG : bigdir/big.bin: ChunkedReader.Read at 1044480 length 1048576 chunkOffset 0 chunkSize 134217728 2026/05/21 03:51:50 DEBUG : bigdir/big.bin: ChunkedReader.Read at 2093056 length 1048576 chunkOffset 0 chunkSize 134217728 2026/05/21 03:51:51 DEBUG : bigdir/big.bin: ChunkedReader.Read at 3141632 length 1048576 chunkOffset 0 chunkSize 134217728 2026/05/21 03:51:51 DEBUG : bigdir/big.bin: ChunkedReader.Read at 4190208 length 1048576 chunkOffset 0 chunkSize 134217728 2026/05/21 03:51:51 DEBUG : bigdir/big.bin: ChunkedReader.Read at 5238784 length 1048576 chunkOffset 0 chunkSize 134217728 2026/05/21 03:51:51 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:51:51 DEBUG : bigdir: Looking for writers 2026/05/21 03:51:51 DEBUG : big.bin: reading active writers 2026/05/21 03:51:51 DEBUG : Looking for writers 2026/05/21 03:51:51 DEBUG : bigdir: reading active writers 2026/05/21 03:51:51 DEBUG : >WaitForWriters: --- PASS: TestZipLargeFiles (8.56s) === RUN TestZipDirsInRoot run.go:198: Remote "mega root 'rclone-test-budibuc1tudu'", Local "Local file system at /tmp/rclone1645674248", Modify Window "876000h0m0s" 2026/05/21 03:51:52 INFO : mega root 'rclone-test-budibuc1tudu': poll-interval is not supported by this remote 2026/05/21 03:51:52 NOTICE: mega root 'rclone-test-budibuc1tudu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/21 03:51:55 DEBUG : dir1/a.txt: Open: flags=O_RDONLY 2026/05/21 03:51:55 DEBUG : dir1/a.txt: >Open: fd=dir1/a.txt (r), err= 2026/05/21 03:51:55 DEBUG : dir1/a.txt: Set virtual modtime to 2026-05-21 03:51:54 +0000 UTC 2026/05/21 03:51:55 DEBUG : dir1/a.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/21 03:51:55 DEBUG : dir1/a.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/21 03:51:56 NOTICE: Unsolicited response received on idle HTTP channel starting with ",,"; err= 2026/05/21 03:51:56 DEBUG : dir2/b.txt: Open: flags=O_RDONLY 2026/05/21 03:51:56 DEBUG : dir2/b.txt: >Open: fd=dir2/b.txt (r), err= 2026/05/21 03:51:56 DEBUG : dir2/b.txt: Set virtual modtime to 2026-05-21 03:51:55 +0000 UTC 2026/05/21 03:51:56 DEBUG : dir2/b.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/21 03:51:56 DEBUG : dir2/b.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/21 03:51:56 NOTICE: Unsolicited response received on idle HTTP channel starting with "ll"; err= 2026/05/21 03:51:56 DEBUG : dir3/c.txt: Open: flags=O_RDONLY 2026/05/21 03:51:56 DEBUG : dir3/c.txt: >Open: fd=dir3/c.txt (r), err= 2026/05/21 03:51:56 DEBUG : dir3/c.txt: Set virtual modtime to 2026-05-21 03:51:55 +0000 UTC 2026/05/21 03:51:56 DEBUG : dir3/c.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/21 03:51:56 DEBUG : dir3/c.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/21 03:51:56 NOTICE: Unsolicited response received on idle HTTP channel starting with "\xe7\xe7"; err= 2026/05/21 03:51:56 DEBUG : WaitForWriters: timeout=30s 2026/05/21 03:51:56 DEBUG : dir2: Looking for writers 2026/05/21 03:51:56 DEBUG : b.txt: reading active writers 2026/05/21 03:51:56 DEBUG : dir3: Looking for writers 2026/05/21 03:51:56 DEBUG : c.txt: reading active writers 2026/05/21 03:51:56 DEBUG : dir1: Looking for writers 2026/05/21 03:51:56 DEBUG : a.txt: reading active writers 2026/05/21 03:51:56 DEBUG : Looking for writers 2026/05/21 03:51:56 DEBUG : dir3: reading active writers 2026/05/21 03:51:56 DEBUG : dir1: reading active writers 2026/05/21 03:51:56 DEBUG : dir2: reading active writers 2026/05/21 03:51:56 DEBUG : >WaitForWriters: --- PASS: TestZipDirsInRoot (7.36s) FAIL 2026/05/21 03:51:59 DEBUG : mega root 'rclone-test-budibuc1tudu': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestWriteFileHandleFlush|TestZipDirsInRoot|TestZipLargeFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 4m36.750636263s (try 3/5): exit status 1: Failed [TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false]