"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestRWFileHandleMethodsRead|TestRWFileHandleSizeCreateExisting|TestVFSOpenFile|TestWriteFileHandleFlush|TestZipDirsInRoot|TestZipLargeFiles|TestZipManyFiles)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 3/5) 2026/05/04 04:13:17 DEBUG : Creating backend with remote "TestMega:rclone-test-fasatob9tezu" 2026/05/04 04:13:17 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/04 04:13:17 DEBUG : mega root 'rclone-test-fasatob9tezu': Using previously stored session ID and master key to initialize the Mega API 2026/05/04 04:13:38 DEBUG : Creating backend with remote "/tmp/rclone3030801917" === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:185: Remote "mega root 'rclone-test-fasatob9tezu'", Local "Local file system at /tmp/rclone3030801917", Modify Window "876000h0m0s" 2026/05/04 04:13:38 INFO : mega root 'rclone-test-fasatob9tezu': poll-interval is not supported by this remote 2026/05/04 04:13:38 NOTICE: mega root 'rclone-test-fasatob9tezu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/04 04:13:39 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:13:39 DEBUG : dir: Looking for writers 2026/05/04 04:13:39 DEBUG : file1: reading active writers 2026/05/04 04:13:39 DEBUG : Looking for writers 2026/05/04 04:13:39 DEBUG : dir: reading active writers 2026/05/04 04:13:39 DEBUG : >WaitForWriters: 2026/05/04 04:13:41 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/04 04:13:41 DEBUG : newLeaf: Updating file with newLeaf 0x250abe509450 2026/05/04 04:13:41 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/04 04:13: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:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "file1" 2026/05/04 04:13:55 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/04 04:13:55 DEBUG : dir/file1: Updating file with dir/file1 0x250abe509450 2026/05/04 04:13:55 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/04 04:13:55 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "dir/file1" 2026/05/04 04:14:02 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/04 04:14:02 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/05/04 04:14:02 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/04 04:14:02 DEBUG : dir/file1: File is currently open, delaying rename 0x250abe509450 2026/05/04 04:14:02 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/04 04:14:02 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/04 04:14:02 DEBUG : mega root 'rclone-test-fasatob9tezu': File to upload is small (25 bytes), uploading instead of streaming 2026/05/04 04:14:08 DEBUG : dir/file1: size = 25 OK 2026/05/04 04:14:08 NOTICE: mega root 'rclone-test-fasatob9tezu': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2026/05/04 04:14:08 DEBUG : dir/file1: Size of src and dst objects identical 2026/05/04 04:14:08 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/04 04:14:08 DEBUG : newLeaf: Running delayed rename now 2026/05/04 04:14:08 INFO : newLeaf: Deleted 2026/05/04 04:14:09 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/04 04:14:09 DEBUG : newLeaf: Updating file with newLeaf 0x250abe509450 2026/05/04 04:14:09 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:14:09 DEBUG : dir: Looking for writers 2026/05/04 04:14:09 DEBUG : Looking for writers 2026/05/04 04:14:09 DEBUG : dir: reading active writers 2026/05/04 04:14:09 DEBUG : newLeaf: reading active writers 2026/05/04 04:14:09 DEBUG : >WaitForWriters: 2026/05/04 04:14:09 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:14:09 DEBUG : dir: Looking for writers 2026/05/04 04:14:09 DEBUG : Looking for writers 2026/05/04 04:14:09 DEBUG : dir: reading active writers 2026/05/04 04:14:09 DEBUG : newLeaf: reading active writers 2026/05/04 04:14:09 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:185: Remote "mega root 'rclone-test-fasatob9tezu'", Local "Local file system at /tmp/rclone3030801917", Modify Window "876000h0m0s" 2026/05/04 04:14:11 INFO : mega root 'rclone-test-fasatob9tezu': poll-interval is not supported by this remote 2026/05/04 04:14:11 NOTICE: mega root 'rclone-test-fasatob9tezu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/04 04:14:11 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/04 04:14:11 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:14:11 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:14:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:14:11 DEBUG : Config file has changed externally - reloading 2026/05/04 04:14:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/04 04:14:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:14:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:14:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/04 04:14:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:14:11 INFO : mega root 'rclone-test-fasatob9tezu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/04 04:14:11 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:14:11 DEBUG : dir: Looking for writers 2026/05/04 04:14:11 DEBUG : file1: reading active writers 2026/05/04 04:14:11 DEBUG : Looking for writers 2026/05/04 04:14:11 DEBUG : dir: reading active writers 2026/05/04 04:14:11 DEBUG : >WaitForWriters: 2026/05/04 04:14:13 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/04 04:14:13 DEBUG : newLeaf: Updating file with newLeaf 0x250abcd59450 2026/05/04 04:14:13 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/04 04:14:13 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "file1" 2026/05/04 04:14:24 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/04 04:14:24 DEBUG : dir/file1: Updating file with dir/file1 0x250abcd59450 2026/05/04 04:14:24 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/04 04:14:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "dir/file1" 2026/05/04 04:14:31 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/04 04:14:31 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/05/04 04:14:31 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/04 04:14:31 DEBUG : dir/file1: File is currently open, delaying rename 0x250abcd59450 2026/05/04 04:14:31 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/04 04:14:31 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/04 04:14:31 DEBUG : mega root 'rclone-test-fasatob9tezu': File to upload is small (25 bytes), uploading instead of streaming 2026/05/04 04:14:31 DEBUG : dir/file1: size = 25 OK 2026/05/04 04:14:31 DEBUG : dir/file1: Size of src and dst objects identical 2026/05/04 04:14:31 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/04 04:14:31 DEBUG : newLeaf: Running delayed rename now 2026/05/04 04:14:31 INFO : newLeaf: Deleted 2026/05/04 04:14:32 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/04 04:14:32 DEBUG : newLeaf: Updating file with newLeaf 0x250abcd59450 2026/05/04 04:14:32 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:14:32 DEBUG : dir: Looking for writers 2026/05/04 04:14:32 DEBUG : Looking for writers 2026/05/04 04:14:32 DEBUG : dir: reading active writers 2026/05/04 04:14:32 DEBUG : newLeaf: reading active writers 2026/05/04 04:14:32 DEBUG : >WaitForWriters: 2026/05/04 04:14:32 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:14:32 DEBUG : dir: Looking for writers 2026/05/04 04:14:32 DEBUG : Looking for writers 2026/05/04 04:14:32 DEBUG : dir: reading active writers 2026/05/04 04:14:32 DEBUG : newLeaf: reading active writers 2026/05/04 04:14:32 DEBUG : >WaitForWriters: 2026/05/04 04:14:32 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:185: Remote "mega root 'rclone-test-fasatob9tezu'", Local "Local file system at /tmp/rclone3030801917", Modify Window "876000h0m0s" 2026/05/04 04:14:32 INFO : mega root 'rclone-test-fasatob9tezu': poll-interval is not supported by this remote 2026/05/04 04:14:32 NOTICE: mega root 'rclone-test-fasatob9tezu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/04 04:14:32 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/04 04:14:32 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:14:32 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:14:32 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:14:32 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/04 04:14:32 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:14:32 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:14:32 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/04 04:14:32 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:14:32 INFO : mega root 'rclone-test-fasatob9tezu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/04 04:14:36 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/05/04 04:14:36 DEBUG : dir/file1: newRWFileHandle: 2026/05/04 04:14:36 DEBUG : dir/file1(0x250abf084e80): openPending: 2026/05/04 04:14:36 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/05/04 04:14:36 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/05/04 04:14:36 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/04 04:14:36 DEBUG : dir/file1(0x250abf084e80): >openPending: err= 2026/05/04 04:14:36 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/04 04:14:36 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/04 04:14:36 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/04 04:14:36 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/04 04:14:36 DEBUG : dir/file1(0x250abf084e80): _writeAt: size=14, off=0 2026/05/04 04:14:36 DEBUG : dir/file1(0x250abf084e80): >_writeAt: n=14, err= 2026/05/04 04:14:36 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/05/04 04:14:36 DEBUG : dir/file1(0x250abf084e80): close: 2026/05/04 04:14:36 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/05/04 04:14:36 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/05/04 04:14:36 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/05/04 04:14:36 DEBUG : dir/file1(0x250abf084e80): >close: err= 2026/05/04 04:14:36 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:14:36 DEBUG : dir: Looking for writers 2026/05/04 04:14:36 DEBUG : file1: reading active writers 2026/05/04 04:14:36 DEBUG : Looking for writers 2026/05/04 04:14:36 DEBUG : dir: reading active writers 2026/05/04 04:14:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/04 04:14:36 DEBUG : dir: Looking for writers 2026/05/04 04:14:36 DEBUG : file1: reading active writers 2026/05/04 04:14:36 DEBUG : Looking for writers 2026/05/04 04:14:36 DEBUG : dir: reading active writers 2026/05/04 04:14:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/04 04:14:36 DEBUG : dir: Looking for writers 2026/05/04 04:14:36 DEBUG : file1: reading active writers 2026/05/04 04:14:36 DEBUG : Looking for writers 2026/05/04 04:14:36 DEBUG : dir: reading active writers 2026/05/04 04:14:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/04 04:14:36 DEBUG : dir: Looking for writers 2026/05/04 04:14:36 DEBUG : file1: reading active writers 2026/05/04 04:14:36 DEBUG : Looking for writers 2026/05/04 04:14:36 DEBUG : dir: reading active writers 2026/05/04 04:14:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/04 04:14:36 DEBUG : dir/file1: vfs cache: starting upload 2026/05/04 04:14:36 DEBUG : dir: Looking for writers 2026/05/04 04:14:36 DEBUG : file1: reading active writers 2026/05/04 04:14:36 DEBUG : Looking for writers 2026/05/04 04:14:36 DEBUG : dir: reading active writers 2026/05/04 04:14:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/04 04:14:36 DEBUG : dir: Looking for writers 2026/05/04 04:14:36 DEBUG : file1: reading active writers 2026/05/04 04:14:36 DEBUG : Looking for writers 2026/05/04 04:14:36 DEBUG : dir: reading active writers 2026/05/04 04:14:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/04 04:14:37 DEBUG : dir: Looking for writers 2026/05/04 04:14:37 DEBUG : file1: reading active writers 2026/05/04 04:14:37 DEBUG : Looking for writers 2026/05/04 04:14:37 DEBUG : dir: reading active writers 2026/05/04 04:14:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/04 04:14:37 DEBUG : dir: Looking for writers 2026/05/04 04:14:37 DEBUG : file1: reading active writers 2026/05/04 04:14:37 DEBUG : Looking for writers 2026/05/04 04:14:37 DEBUG : dir: reading active writers 2026/05/04 04:14:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/04 04:14:38 DEBUG : dir: Looking for writers 2026/05/04 04:14:38 DEBUG : file1: reading active writers 2026/05/04 04:14:38 DEBUG : Looking for writers 2026/05/04 04:14:38 DEBUG : dir: reading active writers 2026/05/04 04:14:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/04 04:14:39 DEBUG : dir/file1: size = 14 OK 2026/05/04 04:14:39 INFO : dir/file1: Copied (replaced existing) 2026/05/04 04:14:39 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/05/04 04:14:39 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/05/04 04:14:39 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/04 04:14:39 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/05/04 04:14:39 DEBUG : dir: Looking for writers 2026/05/04 04:14:39 DEBUG : file1: reading active writers 2026/05/04 04:14:39 DEBUG : Looking for writers 2026/05/04 04:14:39 DEBUG : dir: reading active writers 2026/05/04 04:14:39 DEBUG : >WaitForWriters: 2026/05/04 04:14:39 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/04 04:14:39 DEBUG : dir/file1: newRWFileHandle: 2026/05/04 04:14:39 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/04 04:14:39 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/04 04:14:39 DEBUG : dir/file1(0x250abf23ca80): _readAt: size=512, off=0 2026/05/04 04:14:39 DEBUG : dir/file1(0x250abf23ca80): openPending: 2026/05/04 04:14:39 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/04 04:14:39 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/04 04:14:39 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/04 04:14:39 DEBUG : dir/file1(0x250abf23ca80): >openPending: err= 2026/05/04 04:14:39 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/05/04 04:14:39 DEBUG : dir/file1(0x250abf23ca80): >_readAt: n=14, err=EOF 2026/05/04 04:14:39 DEBUG : dir/file1(0x250abf23ca80): close: 2026/05/04 04:14:39 DEBUG : dir/file1(0x250abf23ca80): >close: err= 2026/05/04 04:14:41 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/04 04:14:41 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/04 04:14:41 DEBUG : newLeaf: Updating file with newLeaf 0x250abe22b930 2026/05/04 04:14:41 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/04 04:14:41 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/04 04:14:43 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/04 04:14:43 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/05/04 04:14:43 DEBUG : dir/file1: Updating file with dir/file1 0x250abe22b930 2026/05/04 04:14:43 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/04 04:14:43 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2026/05/04 04:14:44 DEBUG : dir/file1: vfs cache: setting modification time to 2026-05-04 04:14:36 +0000 UTC fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "dir/file1" 2026/05/04 04:14:50 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/04 04:14:50 DEBUG : dir/file1: newRWFileHandle: 2026/05/04 04:14:50 DEBUG : dir/file1(0x250abf23d440): openPending: 2026/05/04 04:14:50 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/04 04:14:50 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/04 04:14:50 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/04 04:14:50 DEBUG : dir/file1(0x250abf23d440): >openPending: err= 2026/05/04 04:14:50 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/04 04:14:50 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/04 04:14:50 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/04 04:14:50 DEBUG : dir/file1(0x250abf23d440): _writeAt: size=25, off=0 2026/05/04 04:14:50 DEBUG : dir/file1(0x250abf23d440): >_writeAt: n=25, err= 2026/05/04 04:14:51 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/04 04:14:51 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/04 04:14:51 DEBUG : newLeaf: Updating file with newLeaf 0x250abe22b930 2026/05/04 04:14:51 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/04 04:14:51 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/04 04:14:51 DEBUG : newLeaf(0x250abf23d440): close: 2026/05/04 04:14:51 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/05/04 04:14:51 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-04 04:14:50.588556534 +0000 UTC m=+93.447953123 2026/05/04 04:14:51 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/05/04 04:14:51 DEBUG : newLeaf(0x250abf23d440): >close: err= 2026/05/04 04:14:51 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:14:51 DEBUG : dir: Looking for writers 2026/05/04 04:14:51 DEBUG : Looking for writers 2026/05/04 04:14:51 DEBUG : dir: reading active writers 2026/05/04 04:14:51 DEBUG : newLeaf: reading active writers 2026/05/04 04:14:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/04 04:14:51 DEBUG : dir: Looking for writers 2026/05/04 04:14:51 DEBUG : Looking for writers 2026/05/04 04:14:51 DEBUG : newLeaf: reading active writers 2026/05/04 04:14:51 DEBUG : dir: reading active writers 2026/05/04 04:14:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/04 04:14:51 DEBUG : dir: Looking for writers 2026/05/04 04:14:51 DEBUG : Looking for writers 2026/05/04 04:14:51 DEBUG : dir: reading active writers 2026/05/04 04:14:51 DEBUG : newLeaf: reading active writers 2026/05/04 04:14:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/04 04:14:51 DEBUG : dir: Looking for writers 2026/05/04 04:14:51 DEBUG : Looking for writers 2026/05/04 04:14:51 DEBUG : newLeaf: reading active writers 2026/05/04 04:14:51 DEBUG : dir: reading active writers 2026/05/04 04:14:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/04 04:14:51 DEBUG : newLeaf: vfs cache: starting upload 2026/05/04 04:14:51 DEBUG : dir: Looking for writers 2026/05/04 04:14:51 DEBUG : Looking for writers 2026/05/04 04:14:51 DEBUG : dir: reading active writers 2026/05/04 04:14:51 DEBUG : newLeaf: reading active writers 2026/05/04 04:14:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/04 04:14:51 DEBUG : dir: Looking for writers 2026/05/04 04:14:51 DEBUG : Looking for writers 2026/05/04 04:14:51 DEBUG : dir: reading active writers 2026/05/04 04:14:51 DEBUG : newLeaf: reading active writers 2026/05/04 04:14:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/04 04:14:51 DEBUG : dir: Looking for writers 2026/05/04 04:14:51 DEBUG : Looking for writers 2026/05/04 04:14:51 DEBUG : dir: reading active writers 2026/05/04 04:14:51 DEBUG : newLeaf: reading active writers 2026/05/04 04:14:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/04 04:14:52 DEBUG : dir: Looking for writers 2026/05/04 04:14:52 DEBUG : Looking for writers 2026/05/04 04:14:52 DEBUG : dir: reading active writers 2026/05/04 04:14:52 DEBUG : newLeaf: reading active writers 2026/05/04 04:14:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/04 04:14:53 DEBUG : newLeaf: size = 25 OK 2026/05/04 04:14:53 INFO : newLeaf: Copied (replaced existing) 2026/05/04 04:14:53 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/05/04 04:14:53 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/05/04 04:14:53 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/04 04:14:53 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/05/04 04:14:53 DEBUG : dir: Looking for writers 2026/05/04 04:14:53 DEBUG : Looking for writers 2026/05/04 04:14:53 DEBUG : dir: reading active writers 2026/05/04 04:14:53 DEBUG : newLeaf: reading active writers 2026/05/04 04:14:53 DEBUG : >WaitForWriters: 2026/05/04 04:14:53 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:14:53 DEBUG : dir: Looking for writers 2026/05/04 04:14:53 DEBUG : Looking for writers 2026/05/04 04:14:53 DEBUG : dir: reading active writers 2026/05/04 04:14:53 DEBUG : newLeaf: reading active writers 2026/05/04 04:14:53 DEBUG : >WaitForWriters: 2026/05/04 04:14:53 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:185: Remote "mega root 'rclone-test-fasatob9tezu'", Local "Local file system at /tmp/rclone3030801917", Modify Window "876000h0m0s" 2026/05/04 04:14:54 INFO : mega root 'rclone-test-fasatob9tezu': poll-interval is not supported by this remote 2026/05/04 04:14:54 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/04 04:14:54 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:14:54 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:14:54 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:14:54 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/04 04:14:54 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:14:54 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:14:54 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/04 04:14:54 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:14:54 INFO : mega root 'rclone-test-fasatob9tezu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/04 04:14:57 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:14:57 DEBUG : dir: Looking for writers 2026/05/04 04:14:57 DEBUG : file1: reading active writers 2026/05/04 04:14:57 DEBUG : Looking for writers 2026/05/04 04:14:57 DEBUG : dir: reading active writers 2026/05/04 04:14:57 DEBUG : >WaitForWriters: 2026/05/04 04:14:57 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/04 04:14:57 DEBUG : newLeaf: Updating file with newLeaf 0x250abf2c8dd0 2026/05/04 04:14:57 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/04 04:14: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:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "file1" 2026/05/04 04:15:05 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/04 04:15:05 DEBUG : dir/file1: Updating file with dir/file1 0x250abf2c8dd0 2026/05/04 04:15:05 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/04 04:15:05 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "dir/file1" 2026/05/04 04:15:12 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/04 04:15:12 DEBUG : dir/file1: newRWFileHandle: 2026/05/04 04:15:12 DEBUG : dir/file1(0x250ac058a7c0): openPending: 2026/05/04 04:15:12 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/05/04 04:15:12 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/05/04 04:15:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/04 04:15:12 DEBUG : dir/file1(0x250ac058a7c0): >openPending: err= 2026/05/04 04:15:12 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/04 04:15:12 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/04 04:15:12 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/04 04:15:12 DEBUG : dir/file1(0x250ac058a7c0): _writeAt: size=25, off=0 2026/05/04 04:15:12 DEBUG : dir/file1(0x250ac058a7c0): >_writeAt: n=25, err= 2026/05/04 04:15:22 INFO : newLeaf: Deleted 2026/05/04 04:15:23 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/04 04:15:23 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/04 04:15:23 DEBUG : newLeaf: Updating file with newLeaf 0x250abf2c8dd0 2026/05/04 04:15:23 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/04 04:15:23 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/04 04:15:23 DEBUG : newLeaf(0x250ac058a7c0): close: 2026/05/04 04:15:23 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/05/04 04:15:23 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-04 04:15:12.024949226 +0000 UTC m=+114.884345816 2026/05/04 04:15:23 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/05/04 04:15:23 DEBUG : newLeaf(0x250ac058a7c0): >close: err= 2026/05/04 04:15:23 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:15:23 DEBUG : dir: Looking for writers 2026/05/04 04:15:23 DEBUG : Looking for writers 2026/05/04 04:15:23 DEBUG : dir: reading active writers 2026/05/04 04:15:23 DEBUG : newLeaf: reading active writers 2026/05/04 04:15:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/04 04:15:23 DEBUG : dir: Looking for writers 2026/05/04 04:15:23 DEBUG : Looking for writers 2026/05/04 04:15:23 DEBUG : dir: reading active writers 2026/05/04 04:15:23 DEBUG : newLeaf: reading active writers 2026/05/04 04:15:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/04 04:15:23 DEBUG : dir: Looking for writers 2026/05/04 04:15:23 DEBUG : Looking for writers 2026/05/04 04:15:23 DEBUG : dir: reading active writers 2026/05/04 04:15:23 DEBUG : newLeaf: reading active writers 2026/05/04 04:15:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/04 04:15:23 DEBUG : dir: Looking for writers 2026/05/04 04:15:23 DEBUG : Looking for writers 2026/05/04 04:15:23 DEBUG : dir: reading active writers 2026/05/04 04:15:23 DEBUG : newLeaf: reading active writers 2026/05/04 04:15:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/04 04:15:23 DEBUG : newLeaf: vfs cache: starting upload 2026/05/04 04:15:23 DEBUG : dir: Looking for writers 2026/05/04 04:15:23 DEBUG : Looking for writers 2026/05/04 04:15:23 DEBUG : newLeaf: reading active writers 2026/05/04 04:15:23 DEBUG : dir: reading active writers 2026/05/04 04:15:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/04 04:15:23 DEBUG : dir: Looking for writers 2026/05/04 04:15:23 DEBUG : Looking for writers 2026/05/04 04:15:23 DEBUG : dir: reading active writers 2026/05/04 04:15:23 DEBUG : newLeaf: reading active writers 2026/05/04 04:15:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/04 04:15:23 DEBUG : newLeaf: size = 25 OK 2026/05/04 04:15:23 INFO : newLeaf: Copied (replaced existing) 2026/05/04 04:15:23 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/05/04 04:15:23 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/05/04 04:15:23 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/04 04:15:23 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/05/04 04:15:23 DEBUG : dir: Looking for writers 2026/05/04 04:15:23 DEBUG : Looking for writers 2026/05/04 04:15:23 DEBUG : dir: reading active writers 2026/05/04 04:15:23 DEBUG : newLeaf: reading active writers 2026/05/04 04:15:23 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/04 04:15:30 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:15:30 DEBUG : dir: Looking for writers 2026/05/04 04:15:30 DEBUG : Looking for writers 2026/05/04 04:15:30 DEBUG : dir: reading active writers 2026/05/04 04:15:30 DEBUG : newLeaf: reading active writers 2026/05/04 04:15:30 DEBUG : >WaitForWriters: 2026/05/04 04:15:30 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:185: Remote "mega root 'rclone-test-fasatob9tezu'", Local "Local file system at /tmp/rclone3030801917", Modify Window "876000h0m0s" 2026/05/04 04:15:31 INFO : mega root 'rclone-test-fasatob9tezu': poll-interval is not supported by this remote 2026/05/04 04:15:31 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/04 04:15:31 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:15:31 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:15:31 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:15:31 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/04 04:15:31 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:15:31 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:15:31 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/04 04:15:31 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:15:31 INFO : mega root 'rclone-test-fasatob9tezu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/04 04:15:42 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/05/04 04:15:42 DEBUG : dir/file1: newRWFileHandle: 2026/05/04 04:15:42 DEBUG : dir/file1(0x250abb4da840): openPending: 2026/05/04 04:15:42 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/05/04 04:15:42 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/05/04 04:15:42 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/04 04:15:42 DEBUG : dir/file1(0x250abb4da840): >openPending: err= 2026/05/04 04:15:42 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/04 04:15:42 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/04 04:15:42 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/04 04:15:42 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/04 04:15:42 DEBUG : dir/file1(0x250abb4da840): _writeAt: size=14, off=0 2026/05/04 04:15:42 DEBUG : dir/file1(0x250abb4da840): >_writeAt: n=14, err= 2026/05/04 04:15:42 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/05/04 04:15:42 DEBUG : dir/file1(0x250abb4da840): close: 2026/05/04 04:15:42 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/05/04 04:15:42 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/05/04 04:15:42 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/05/04 04:15:42 DEBUG : dir/file1(0x250abb4da840): >close: err= 2026/05/04 04:15:42 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:15:42 DEBUG : dir: Looking for writers 2026/05/04 04:15:42 DEBUG : file1: reading active writers 2026/05/04 04:15:42 DEBUG : Looking for writers 2026/05/04 04:15:42 DEBUG : dir: reading active writers 2026/05/04 04:15:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/04 04:15:42 DEBUG : dir: Looking for writers 2026/05/04 04:15:42 DEBUG : file1: reading active writers 2026/05/04 04:15:42 DEBUG : Looking for writers 2026/05/04 04:15:42 DEBUG : dir: reading active writers 2026/05/04 04:15:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/04 04:15:42 DEBUG : dir: Looking for writers 2026/05/04 04:15:42 DEBUG : file1: reading active writers 2026/05/04 04:15:42 DEBUG : Looking for writers 2026/05/04 04:15:42 DEBUG : dir: reading active writers 2026/05/04 04:15:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/04 04:15:42 DEBUG : dir: Looking for writers 2026/05/04 04:15:42 DEBUG : file1: reading active writers 2026/05/04 04:15:42 DEBUG : Looking for writers 2026/05/04 04:15:42 DEBUG : dir: reading active writers 2026/05/04 04:15:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/04 04:15:42 DEBUG : dir/file1: vfs cache: starting upload 2026/05/04 04:15:42 DEBUG : dir: Looking for writers 2026/05/04 04:15:42 DEBUG : file1: reading active writers 2026/05/04 04:15:42 DEBUG : Looking for writers 2026/05/04 04:15:42 DEBUG : dir: reading active writers 2026/05/04 04:15:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/04 04:15:43 DEBUG : dir: Looking for writers 2026/05/04 04:15:43 DEBUG : file1: reading active writers 2026/05/04 04:15:43 DEBUG : Looking for writers 2026/05/04 04:15:43 DEBUG : dir: reading active writers 2026/05/04 04:15:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/04 04:15:43 DEBUG : dir: Looking for writers 2026/05/04 04:15:43 DEBUG : file1: reading active writers 2026/05/04 04:15:43 DEBUG : Looking for writers 2026/05/04 04:15:43 DEBUG : dir: reading active writers 2026/05/04 04:15:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/04 04:15:44 DEBUG : dir/file1: size = 14 OK 2026/05/04 04:15:44 INFO : dir/file1: Copied (replaced existing) 2026/05/04 04:15:44 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/05/04 04:15:44 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/05/04 04:15:44 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/04 04:15:44 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/05/04 04:15:44 DEBUG : dir: Looking for writers 2026/05/04 04:15:44 DEBUG : file1: reading active writers 2026/05/04 04:15:44 DEBUG : Looking for writers 2026/05/04 04:15:44 DEBUG : dir: reading active writers 2026/05/04 04:15:44 DEBUG : >WaitForWriters: 2026/05/04 04:15:44 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/04 04:15:44 DEBUG : dir/file1: newRWFileHandle: 2026/05/04 04:15:44 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/04 04:15:44 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/04 04:15:44 DEBUG : dir/file1(0x250abb387140): _readAt: size=512, off=0 2026/05/04 04:15:44 DEBUG : dir/file1(0x250abb387140): openPending: 2026/05/04 04:15:44 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/04 04:15:44 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/04 04:15:44 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/04 04:15:44 DEBUG : dir/file1(0x250abb387140): >openPending: err= 2026/05/04 04:15:44 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/05/04 04:15:44 DEBUG : dir/file1(0x250abb387140): >_readAt: n=14, err=EOF 2026/05/04 04:15:44 DEBUG : dir/file1(0x250abb387140): close: 2026/05/04 04:15:44 DEBUG : dir/file1(0x250abb387140): >close: err= 2026/05/04 04:15:44 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/04 04:15:44 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/04 04:15:44 DEBUG : newLeaf: Updating file with newLeaf 0x250abf402750 2026/05/04 04:15:44 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/04 04:15:44 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/04 04:15:44 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/04 04:15:44 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/05/04 04:15:44 DEBUG : dir/file1: Updating file with dir/file1 0x250abf402750 2026/05/04 04:15:44 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/04 04:15:44 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/04 04:15:49 DEBUG : dir/file1: vfs cache: setting modification time to 2026-05-04 04:15:43 +0000 UTC fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "dir/file1" 2026/05/04 04:15:51 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/04 04:15:51 DEBUG : dir/file1: newRWFileHandle: 2026/05/04 04:15:51 DEBUG : dir/file1(0x250abb47d500): openPending: 2026/05/04 04:15:51 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/04 04:15:51 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/04 04:15:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/04 04:15:51 DEBUG : dir/file1(0x250abb47d500): >openPending: err= 2026/05/04 04:15:51 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/04 04:15:51 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/04 04:15:51 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/04 04:15:51 DEBUG : dir/file1(0x250abb47d500): _writeAt: size=25, off=0 2026/05/04 04:15:51 DEBUG : dir/file1(0x250abb47d500): >_writeAt: n=25, err= 2026/05/04 04:15:53 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/04 04:15:53 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/04 04:15:53 DEBUG : newLeaf: Updating file with newLeaf 0x250abf402750 2026/05/04 04:15:53 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/04 04:15:53 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/04 04:15:53 DEBUG : newLeaf(0x250abb47d500): close: 2026/05/04 04:15:53 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/05/04 04:15:53 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-04 04:15:51.830957696 +0000 UTC m=+154.690354295 2026/05/04 04:15:53 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/05/04 04:15:53 DEBUG : newLeaf(0x250abb47d500): >close: err= 2026/05/04 04:15:53 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:15:53 DEBUG : dir: Looking for writers 2026/05/04 04:15:53 DEBUG : Looking for writers 2026/05/04 04:15:53 DEBUG : dir: reading active writers 2026/05/04 04:15:53 DEBUG : newLeaf: reading active writers 2026/05/04 04:15:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/04 04:15:53 DEBUG : dir: Looking for writers 2026/05/04 04:15:53 DEBUG : Looking for writers 2026/05/04 04:15:53 DEBUG : dir: reading active writers 2026/05/04 04:15:53 DEBUG : newLeaf: reading active writers 2026/05/04 04:15:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/04 04:15:53 DEBUG : dir: Looking for writers 2026/05/04 04:15:53 DEBUG : Looking for writers 2026/05/04 04:15:53 DEBUG : dir: reading active writers 2026/05/04 04:15:53 DEBUG : newLeaf: reading active writers 2026/05/04 04:15:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/04 04:15:53 DEBUG : dir: Looking for writers 2026/05/04 04:15:53 DEBUG : Looking for writers 2026/05/04 04:15:53 DEBUG : newLeaf: reading active writers 2026/05/04 04:15:53 DEBUG : dir: reading active writers 2026/05/04 04:15:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/04 04:15:53 DEBUG : newLeaf: vfs cache: starting upload 2026/05/04 04:15:53 DEBUG : dir: Looking for writers 2026/05/04 04:15:53 DEBUG : Looking for writers 2026/05/04 04:15:53 DEBUG : dir: reading active writers 2026/05/04 04:15:53 DEBUG : newLeaf: reading active writers 2026/05/04 04:15:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/04 04:15:54 DEBUG : dir: Looking for writers 2026/05/04 04:15:54 DEBUG : Looking for writers 2026/05/04 04:15:54 DEBUG : dir: reading active writers 2026/05/04 04:15:54 DEBUG : newLeaf: reading active writers 2026/05/04 04:15:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/04 04:15:54 DEBUG : dir: Looking for writers 2026/05/04 04:15:54 DEBUG : Looking for writers 2026/05/04 04:15:54 DEBUG : newLeaf: reading active writers 2026/05/04 04:15:54 DEBUG : dir: reading active writers 2026/05/04 04:15:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/04 04:15:54 DEBUG : newLeaf: size = 25 OK 2026/05/04 04:15:54 INFO : newLeaf: Copied (replaced existing) 2026/05/04 04:15:54 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/05/04 04:15:54 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/05/04 04:15:54 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/04 04:15:54 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/05/04 04:15:55 DEBUG : dir: Looking for writers 2026/05/04 04:15:55 DEBUG : Looking for writers 2026/05/04 04:15:55 DEBUG : dir: reading active writers 2026/05/04 04:15:55 DEBUG : newLeaf: reading active writers 2026/05/04 04:15:55 DEBUG : >WaitForWriters: 2026/05/04 04:15:55 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:15:55 DEBUG : dir: Looking for writers 2026/05/04 04:15:55 DEBUG : Looking for writers 2026/05/04 04:15:55 DEBUG : dir: reading active writers 2026/05/04 04:15:55 DEBUG : newLeaf: reading active writers 2026/05/04 04:15:55 DEBUG : >WaitForWriters: 2026/05/04 04:15:55 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:185: Remote "mega root 'rclone-test-fasatob9tezu'", Local "Local file system at /tmp/rclone3030801917", Modify Window "876000h0m0s" 2026/05/04 04:15:55 INFO : mega root 'rclone-test-fasatob9tezu': poll-interval is not supported by this remote 2026/05/04 04:15:55 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/04 04:15:55 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:15:55 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:15:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:15:55 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/04 04:15:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:15:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:15:55 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/04 04:15:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:15:55 INFO : mega root 'rclone-test-fasatob9tezu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/04 04:15:56 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:15:56 DEBUG : dir: Looking for writers 2026/05/04 04:15:56 DEBUG : file1: reading active writers 2026/05/04 04:15:56 DEBUG : Looking for writers 2026/05/04 04:15:56 DEBUG : dir: reading active writers 2026/05/04 04:15:56 DEBUG : >WaitForWriters: 2026/05/04 04:15:56 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/04 04:15:56 DEBUG : dir/file1: newRWFileHandle: 2026/05/04 04:15:56 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/04 04:15:56 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/04 04:15:56 DEBUG : dir/file1(0x250abe570a80): _readAt: size=512, off=0 2026/05/04 04:15:56 DEBUG : dir/file1(0x250abe570a80): openPending: 2026/05/04 04:15:56 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/05/04 04:15:56 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/05/04 04:15:56 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/04 04:15:56 DEBUG : dir/file1(0x250abe570a80): >openPending: err= 2026/05/04 04:15:56 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2026/05/04 04:15:56 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/05/04 04:15:56 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/04 04:15:56 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/05/04 04:15:56 DEBUG : dir/file1(0x250abe570a80): >_readAt: n=14, err=EOF 2026/05/04 04:15:56 DEBUG : dir/file1(0x250abe570a80): close: 2026/05/04 04:15:56 DEBUG : dir/file1(0x250abe570a80): >close: err= 2026/05/04 04:15:57 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/04 04:15:57 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/04 04:15:57 DEBUG : newLeaf: Updating file with newLeaf 0x250abe29b040 2026/05/04 04:15:57 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/04 04:15:57 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/04 04:16:08 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-04 04:15:56 +0000 UTC 2026/05/04 04:16:08 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/04 04:16:08 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/05/04 04:16:08 DEBUG : dir/file1: Updating file with dir/file1 0x250abe29b040 2026/05/04 04:16:08 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/04 04:16:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "dir/file1" 2026/05/04 04:16:15 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/04 04:16:15 DEBUG : dir/file1: newRWFileHandle: 2026/05/04 04:16:15 DEBUG : dir/file1(0x250abf3eae40): openPending: 2026/05/04 04:16:15 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/04 04:16:15 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/04 04:16:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/04 04:16:15 DEBUG : dir/file1(0x250abf3eae40): >openPending: err= 2026/05/04 04:16:15 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/04 04:16:15 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/04 04:16:15 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/04 04:16:15 DEBUG : dir/file1(0x250abf3eae40): _writeAt: size=25, off=0 2026/05/04 04:16:15 DEBUG : dir/file1(0x250abf3eae40): >_writeAt: n=25, err= 2026/05/04 04:16:15 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/04 04:16:15 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/04 04:16:15 DEBUG : newLeaf: Updating file with newLeaf 0x250abe29b040 2026/05/04 04:16:15 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/04 04:16:15 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/04 04:16:15 DEBUG : newLeaf(0x250abf3eae40): close: 2026/05/04 04:16:15 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/05/04 04:16:15 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-04 04:16:15.287293597 +0000 UTC m=+178.146690186 2026/05/04 04:16:15 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/05/04 04:16:15 DEBUG : newLeaf(0x250abf3eae40): >close: err= 2026/05/04 04:16:15 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:16:15 DEBUG : dir: Looking for writers 2026/05/04 04:16:15 DEBUG : Looking for writers 2026/05/04 04:16:15 DEBUG : dir: reading active writers 2026/05/04 04:16:15 DEBUG : newLeaf: reading active writers 2026/05/04 04:16:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/04 04:16:15 DEBUG : dir: Looking for writers 2026/05/04 04:16:15 DEBUG : Looking for writers 2026/05/04 04:16:15 DEBUG : dir: reading active writers 2026/05/04 04:16:15 DEBUG : newLeaf: reading active writers 2026/05/04 04:16:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/04 04:16:15 DEBUG : dir: Looking for writers 2026/05/04 04:16:15 DEBUG : Looking for writers 2026/05/04 04:16:15 DEBUG : dir: reading active writers 2026/05/04 04:16:15 DEBUG : newLeaf: reading active writers 2026/05/04 04:16:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/04 04:16:16 DEBUG : dir: Looking for writers 2026/05/04 04:16:16 DEBUG : Looking for writers 2026/05/04 04:16:16 DEBUG : dir: reading active writers 2026/05/04 04:16:16 DEBUG : newLeaf: reading active writers 2026/05/04 04:16:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/04 04:16:16 DEBUG : newLeaf: vfs cache: starting upload 2026/05/04 04:16:16 DEBUG : dir: Looking for writers 2026/05/04 04:16:16 DEBUG : Looking for writers 2026/05/04 04:16:16 DEBUG : dir: reading active writers 2026/05/04 04:16:16 DEBUG : newLeaf: reading active writers 2026/05/04 04:16:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/04 04:16:16 DEBUG : dir: Looking for writers 2026/05/04 04:16:16 DEBUG : Looking for writers 2026/05/04 04:16:16 DEBUG : dir: reading active writers 2026/05/04 04:16:16 DEBUG : newLeaf: reading active writers 2026/05/04 04:16:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/04 04:16:16 DEBUG : newLeaf: size = 25 OK 2026/05/04 04:16:16 INFO : newLeaf: Copied (replaced existing) 2026/05/04 04:16:16 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/05/04 04:16:16 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/05/04 04:16:16 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/04 04:16:16 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/05/04 04:16:16 DEBUG : dir: Looking for writers 2026/05/04 04:16:16 DEBUG : Looking for writers 2026/05/04 04:16:16 DEBUG : dir: reading active writers 2026/05/04 04:16:16 DEBUG : newLeaf: reading active writers 2026/05/04 04:16:16 DEBUG : >WaitForWriters: 2026/05/04 04:16:16 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:16:16 DEBUG : dir: Looking for writers 2026/05/04 04:16:16 DEBUG : Looking for writers 2026/05/04 04:16:16 DEBUG : newLeaf: reading active writers 2026/05/04 04:16:16 DEBUG : dir: reading active writers 2026/05/04 04:16:16 DEBUG : >WaitForWriters: 2026/05/04 04:16:16 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: cleaner exiting --- FAIL: TestFileRename (158.61s) --- FAIL: TestFileRename/off,forceCache=false (32.64s) --- FAIL: TestFileRename/minimal,forceCache=false (21.68s) --- FAIL: TestFileRename/minimal,forceCache=true (21.40s) --- FAIL: TestFileRename/writes,forceCache=false (37.44s) --- FAIL: TestFileRename/writes,forceCache=true (23.65s) --- FAIL: TestFileRename/full,forceCache=false (21.80s) === RUN TestRWFileHandleMethodsRead run.go:185: Remote "mega root 'rclone-test-fasatob9tezu'", Local "Local file system at /tmp/rclone3030801917", Modify Window "876000h0m0s" 2026/05/04 04:16:17 INFO : mega root 'rclone-test-fasatob9tezu': poll-interval is not supported by this remote 2026/05/04 04:16:17 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/04 04:16:17 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:16:17 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:16:17 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:16:17 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/04 04:16:17 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:16:17 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:16:17 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/04 04:16:17 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:16:17 INFO : mega root 'rclone-test-fasatob9tezu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/04 04:16:19 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/04 04:16:19 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/04 04:16:19 DEBUG : dir/file1: newRWFileHandle: 2026/05/04 04:16:19 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/04 04:16:19 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/04 04:16:19 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/05/04 04:16:19 DEBUG : dir/file1(0x250abb856180): _readAt: size=1, off=0 2026/05/04 04:16:19 DEBUG : dir/file1(0x250abb856180): openPending: 2026/05/04 04:16:19 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2026/05/04 04:16:19 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/05/04 04:16:19 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/04 04:16:19 DEBUG : dir/file1(0x250abb856180): >openPending: err= 2026/05/04 04:16:19 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2026/05/04 04:16:19 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/05/04 04:16:19 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:19 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/05/04 04:16:19 DEBUG : dir/file1(0x250abb856180): >_readAt: n=1, err= 2026/05/04 04:16:19 DEBUG : dir/file1(0x250abb856180): _readAt: size=256, off=1 2026/05/04 04:16:19 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2026/05/04 04:16:19 DEBUG : dir/file1(0x250abb856180): >_readAt: n=15, err=EOF 2026/05/04 04:16:19 DEBUG : dir/file1(0x250abb856180): _readAt: size=16, off=16 2026/05/04 04:16:19 DEBUG : dir/file1(0x250abb856180): >_readAt: n=0, err=EOF 2026/05/04 04:16:19 DEBUG : dir/file1(0x250abb856180): close: 2026/05/04 04:16:19 DEBUG : dir/file1(0x250abb856180): >close: err= 2026/05/04 04:16:19 DEBUG : dir/file1(0x250abb856180): close: 2026/05/04 04:16:19 DEBUG : dir/file1(0x250abb856180): >close: err=file already closed 2026/05/04 04:16:19 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:16:19 DEBUG : dir: Looking for writers 2026/05/04 04:16:19 DEBUG : file1: reading active writers 2026/05/04 04:16:19 DEBUG : Looking for writers 2026/05/04 04:16:19 DEBUG : dir: reading active writers 2026/05/04 04:16:19 DEBUG : >WaitForWriters: 2026/05/04 04:16:19 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsRead (2.60s) === RUN TestRWFileHandleSizeCreateExisting run.go:185: Remote "mega root 'rclone-test-fasatob9tezu'", Local "Local file system at /tmp/rclone3030801917", Modify Window "876000h0m0s" 2026/05/04 04:16:19 INFO : mega root 'rclone-test-fasatob9tezu': poll-interval is not supported by this remote 2026/05/04 04:16:19 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/04 04:16:19 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:16:19 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:16:19 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:16:19 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/04 04:16:19 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:16:19 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:16:19 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/04 04:16:19 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu" 2026/05/04 04:16:19 INFO : mega root 'rclone-test-fasatob9tezu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/04 04:16:20 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/05/04 04:16:20 DEBUG : dir/file1: Open: flags=O_WRONLY|O_CREATE 2026/05/04 04:16:20 DEBUG : dir/file1: newRWFileHandle: 2026/05/04 04:16:20 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/04 04:16:20 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/04 04:16:20 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/04 04:16:20 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/05/04 04:16:20 DEBUG : dir/file1(0x250abf3eb7c0): _writeAt: size=5, off=0 2026/05/04 04:16:20 DEBUG : dir/file1(0x250abf3eb7c0): openPending: 2026/05/04 04:16:20 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2026/05/04 04:16:20 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/05/04 04:16:20 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/04 04:16:20 DEBUG : dir/file1(0x250abf3eb7c0): >openPending: err= 2026/05/04 04:16:20 DEBUG : dir/file1(0x250abf3eb7c0): >_writeAt: n=5, err= 2026/05/04 04:16:20 DEBUG : dir/file1(0x250abf3eb7c0): _writeAt: size=15, off=5 2026/05/04 04:16:20 DEBUG : dir/file1(0x250abf3eb7c0): >_writeAt: n=15, err= 2026/05/04 04:16:20 DEBUG : dir/file1(0x250abf3eb7c0): close: 2026/05/04 04:16:20 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2026/05/04 04:16:20 DEBUG : dir/file1: vfs cache: setting modification time to 2026-05-04 04:16:20.150245395 +0000 UTC m=+183.009641973 2026/05/04 04:16:20 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/05/04 04:16:20 DEBUG : dir/file1(0x250abf3eb7c0): >close: err= 2026/05/04 04:16:20 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:16:20 DEBUG : dir: Looking for writers 2026/05/04 04:16:20 DEBUG : file1: reading active writers 2026/05/04 04:16:20 DEBUG : Looking for writers 2026/05/04 04:16:20 DEBUG : dir: reading active writers 2026/05/04 04:16:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/04 04:16:20 DEBUG : dir: Looking for writers 2026/05/04 04:16:20 DEBUG : file1: reading active writers 2026/05/04 04:16:20 DEBUG : Looking for writers 2026/05/04 04:16:20 DEBUG : dir: reading active writers 2026/05/04 04:16:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/04 04:16:20 DEBUG : dir: Looking for writers 2026/05/04 04:16:20 DEBUG : file1: reading active writers 2026/05/04 04:16:20 DEBUG : Looking for writers 2026/05/04 04:16:20 DEBUG : dir: reading active writers 2026/05/04 04:16:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/04 04:16:20 DEBUG : dir: Looking for writers 2026/05/04 04:16:20 DEBUG : file1: reading active writers 2026/05/04 04:16:20 DEBUG : Looking for writers 2026/05/04 04:16:20 DEBUG : dir: reading active writers 2026/05/04 04:16:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/04 04:16:20 DEBUG : dir/file1: vfs cache: starting upload 2026/05/04 04:16:20 DEBUG : dir: Looking for writers 2026/05/04 04:16:20 DEBUG : file1: reading active writers 2026/05/04 04:16:20 DEBUG : Looking for writers 2026/05/04 04:16:20 DEBUG : dir: reading active writers 2026/05/04 04:16:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/04 04:16:20 DEBUG : dir: Looking for writers 2026/05/04 04:16:20 DEBUG : file1: reading active writers 2026/05/04 04:16:20 DEBUG : Looking for writers 2026/05/04 04:16:20 DEBUG : dir: reading active writers 2026/05/04 04:16:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/04 04:16:20 DEBUG : dir/file1: size = 20 OK 2026/05/04 04:16:20 INFO : dir/file1: Copied (replaced existing) 2026/05/04 04:16:20 DEBUG : dir/file1: vfs cache: fingerprint now "20" 2026/05/04 04:16:20 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/05/04 04:16:20 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/04 04:16:20 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/05/04 04:16:20 DEBUG : dir: Looking for writers 2026/05/04 04:16:20 DEBUG : file1: reading active writers 2026/05/04 04:16:20 DEBUG : Looking for writers 2026/05/04 04:16:20 DEBUG : dir: reading active writers 2026/05/04 04:16:20 DEBUG : >WaitForWriters: 2026/05/04 04:16:20 DEBUG : mega root 'rclone-test-fasatob9tezu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateExisting (1.73s) === RUN TestVFSOpenFile run.go:185: Remote "mega root 'rclone-test-fasatob9tezu'", Local "Local file system at /tmp/rclone3030801917", Modify Window "876000h0m0s" 2026/05/04 04:16:21 INFO : mega root 'rclone-test-fasatob9tezu': poll-interval is not supported by this remote 2026/05/04 04:16:21 NOTICE: mega root 'rclone-test-fasatob9tezu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/04 04:16:22 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/04 04:16:22 DEBUG : file1: Open: flags=O_RDONLY 2026/05/04 04:16:22 DEBUG : file1: >Open: fd=file1 (r), err= 2026/05/04 04:16:22 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2026/05/04 04:16:22 DEBUG : dir: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/04 04:16:22 DEBUG : dir: >OpenFile: fd=dir/ (r), err= 2026/05/04 04:16:22 DEBUG : dir/new_file.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/04 04:16:22 DEBUG : dir/new_file.txt: >OpenFile: fd=, err=file does not exist 2026/05/04 04:16:22 DEBUG : dir/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/05/04 04:16:22 DEBUG : dir/new_file.txt: Open: flags=O_WRONLY|O_CREATE 2026/05/04 04:16:22 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2026/05/04 04:16:22 DEBUG : dir/new_file.txt: >Open: fd=dir/new_file.txt (w), err= 2026/05/04 04:16:22 DEBUG : dir/new_file.txt: >OpenFile: fd=dir/new_file.txt (w), err= 2026/05/04 04:16:22 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2026/05/04 04:16:22 DEBUG : mega root 'rclone-test-fasatob9tezu': File to upload is small (0 bytes), uploading instead of streaming 2026/05/04 04:16:23 DEBUG : dir/new_file.txt: size = 0 OK 2026/05/04 04:16:23 DEBUG : dir/new_file.txt: Size of src and dst objects identical 2026/05/04 04:16:23 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2026/05/04 04:16:23 DEBUG : not found/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/05/04 04:16:23 DEBUG : not found/new_file.txt: >OpenFile: fd=, err=file does not exist 2026/05/04 04:16:23 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:16:23 DEBUG : dir: Looking for writers 2026/05/04 04:16:23 DEBUG : file2: reading active writers 2026/05/04 04:16:23 DEBUG : new_file.txt: reading active writers 2026/05/04 04:16:23 DEBUG : Looking for writers 2026/05/04 04:16:23 DEBUG : dir: reading active writers 2026/05/04 04:16:23 DEBUG : file1: reading active writers 2026/05/04 04:16:23 DEBUG : >WaitForWriters: 2026/05/04 04:16:24 ERROR : dir/file1: vfs cache: item close failed: vfs cache item: failed to write metadata: open /home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-fasatob9tezu/dir/file1: no such file or directory 2026/05/04 04:16:24 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-fasatob9tezu/dir/file1: no such file or directory --- PASS: TestVFSOpenFile (2.92s) === RUN TestWriteFileHandleFlush run.go:185: Remote "mega root 'rclone-test-fasatob9tezu'", Local "Local file system at /tmp/rclone3030801917", Modify Window "876000h0m0s" 2026/05/04 04:16:24 INFO : mega root 'rclone-test-fasatob9tezu': poll-interval is not supported by this remote 2026/05/04 04:16:24 NOTICE: mega root 'rclone-test-fasatob9tezu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/04 04:16:24 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/05/04 04:16:24 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/05/04 04:16:24 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/04 04:16:24 DEBUG : file1: >Open: fd=file1 (w), err= 2026/05/04 04:16:24 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/05/04 04:16:24 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2026/05/04 04:16:24 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/04 04:16:24 DEBUG : mega root 'rclone-test-fasatob9tezu': File to upload is small (5 bytes), uploading instead of streaming 2026/05/04 04:16:24 DEBUG : file1: size = 5 OK 2026/05/04 04:16:24 DEBUG : file1: Size of src and dst objects identical 2026/05/04 04:16:24 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/04 04:16:24 DEBUG : file1: WriteFileHandle.Flush nothing to do 2026/05/04 04:16:24 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:16:24 DEBUG : Looking for writers 2026/05/04 04:16:24 DEBUG : file1: reading active writers 2026/05/04 04:16:24 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure --- PASS: TestWriteFileHandleFlush (7.33s) === RUN TestZipManyFiles run.go:185: Remote "mega root 'rclone-test-fasatob9tezu'", Local "Local file system at /tmp/rclone3030801917", Modify Window "876000h0m0s" 2026/05/04 04:16:31 INFO : mega root 'rclone-test-fasatob9tezu': poll-interval is not supported by this remote 2026/05/04 04:16:31 NOTICE: mega root 'rclone-test-fasatob9tezu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/04 04:16:36 DEBUG : flat/f000.txt: Open: flags=O_RDONLY 2026/05/04 04:16:36 DEBUG : flat/f000.txt: >Open: fd=flat/f000.txt (r), err= 2026/05/04 04:16:36 DEBUG : flat/f000.txt: Set virtual modtime to 2026-05-04 04:16:32 +0000 UTC 2026/05/04 04:16:36 DEBUG : flat/f000.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/04 04:16:36 DEBUG : flat/f000.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:36 DEBUG : flat/f001.txt: Open: flags=O_RDONLY 2026/05/04 04:16:36 DEBUG : flat/f001.txt: >Open: fd=flat/f001.txt (r), err= 2026/05/04 04:16:36 DEBUG : flat/f001.txt: Set virtual modtime to 2026-05-04 04:16:32 +0000 UTC 2026/05/04 04:16:36 DEBUG : flat/f001.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/04 04:16:36 DEBUG : flat/f001.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:36 DEBUG : flat/f002.txt: Open: flags=O_RDONLY 2026/05/04 04:16:36 DEBUG : flat/f002.txt: >Open: fd=flat/f002.txt (r), err= 2026/05/04 04:16:36 DEBUG : flat/f002.txt: Set virtual modtime to 2026-05-04 04:16:36 +0000 UTC 2026/05/04 04:16:36 DEBUG : flat/f002.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/04 04:16:36 DEBUG : flat/f002.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:37 DEBUG : flat/f003.txt: Open: flags=O_RDONLY 2026/05/04 04:16:37 DEBUG : flat/f003.txt: >Open: fd=flat/f003.txt (r), err= 2026/05/04 04:16:37 DEBUG : flat/f003.txt: Set virtual modtime to 2026-05-04 04:16:36 +0000 UTC 2026/05/04 04:16:37 DEBUG : flat/f003.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/04 04:16:37 DEBUG : flat/f003.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:37 DEBUG : flat/f004.txt: Open: flags=O_RDONLY 2026/05/04 04:16:37 DEBUG : flat/f004.txt: >Open: fd=flat/f004.txt (r), err= 2026/05/04 04:16:37 DEBUG : flat/f004.txt: Set virtual modtime to 2026-05-04 04:16:36 +0000 UTC 2026/05/04 04:16:37 DEBUG : flat/f004.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/04 04:16:37 DEBUG : flat/f004.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:37 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:16:37 DEBUG : flat: Looking for writers 2026/05/04 04:16:37 DEBUG : f000.txt: reading active writers 2026/05/04 04:16:37 DEBUG : f001.txt: reading active writers 2026/05/04 04:16:37 DEBUG : f002.txt: reading active writers 2026/05/04 04:16:37 DEBUG : f003.txt: reading active writers 2026/05/04 04:16:37 DEBUG : f004.txt: reading active writers 2026/05/04 04:16:37 DEBUG : Looking for writers 2026/05/04 04:16:37 DEBUG : flat: reading active writers 2026/05/04 04:16:37 DEBUG : >WaitForWriters: --- PASS: TestZipManyFiles (6.66s) === RUN TestZipLargeFiles run.go:185: Remote "mega root 'rclone-test-fasatob9tezu'", Local "Local file system at /tmp/rclone3030801917", Modify Window "876000h0m0s" 2026/05/04 04:16:38 INFO : mega root 'rclone-test-fasatob9tezu': poll-interval is not supported by this remote 2026/05/04 04:16:38 NOTICE: mega root 'rclone-test-fasatob9tezu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/04 04:16:39 DEBUG : bigdir/big.bin: Open: flags=O_RDONLY 2026/05/04 04:16:39 DEBUG : bigdir/big.bin: >Open: fd=bigdir/big.bin (r), err= 2026/05/04 04:16:39 DEBUG : bigdir/big.bin: Set virtual modtime to 2026-05-04 04:16:39 +0000 UTC 2026/05/04 04:16:39 DEBUG : bigdir/big.bin: ChunkedReader.openRange at 0 length 134217728 2026/05/04 04:16:39 DEBUG : bigdir/big.bin: ChunkedReader.Read at 0 length 4096 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:39 DEBUG : bigdir/big.bin: ChunkedReader.Read at 4096 length 8192 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:39 DEBUG : bigdir/big.bin: ChunkedReader.Read at 12288 length 16384 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:39 DEBUG : bigdir/big.bin: ChunkedReader.Read at 28672 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:39 DEBUG : bigdir/big.bin: ChunkedReader.Read at 61440 length 65536 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:39 DEBUG : bigdir/big.bin: ChunkedReader.Read at 126976 length 131072 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:39 DEBUG : bigdir/big.bin: ChunkedReader.Read at 258048 length 262144 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:39 DEBUG : bigdir/big.bin: ChunkedReader.Read at 520192 length 524288 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:39 DEBUG : bigdir/big.bin: ChunkedReader.Read at 1044480 length 1048576 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:39 DEBUG : bigdir/big.bin: ChunkedReader.Read at 2093056 length 1048576 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:39 DEBUG : bigdir/big.bin: ChunkedReader.Read at 3141632 length 1048576 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:40 DEBUG : bigdir/big.bin: ChunkedReader.Read at 4190208 length 1048576 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:40 DEBUG : bigdir/big.bin: ChunkedReader.Read at 5238784 length 1048576 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:40 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:16:40 DEBUG : bigdir: Looking for writers 2026/05/04 04:16:40 DEBUG : big.bin: reading active writers 2026/05/04 04:16:40 DEBUG : Looking for writers 2026/05/04 04:16:40 DEBUG : bigdir: reading active writers 2026/05/04 04:16:40 DEBUG : >WaitForWriters: --- PASS: TestZipLargeFiles (2.30s) === RUN TestZipDirsInRoot run.go:185: Remote "mega root 'rclone-test-fasatob9tezu'", Local "Local file system at /tmp/rclone3030801917", Modify Window "876000h0m0s" 2026/05/04 04:16:40 INFO : mega root 'rclone-test-fasatob9tezu': poll-interval is not supported by this remote 2026/05/04 04:16:40 NOTICE: mega root 'rclone-test-fasatob9tezu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/04 04:16:42 DEBUG : dir1/a.txt: Open: flags=O_RDONLY 2026/05/04 04:16:42 DEBUG : dir1/a.txt: >Open: fd=dir1/a.txt (r), err= 2026/05/04 04:16:42 DEBUG : dir1/a.txt: Set virtual modtime to 2026-05-04 04:16:41 +0000 UTC 2026/05/04 04:16:42 DEBUG : dir1/a.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/04 04:16:42 DEBUG : dir1/a.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:42 NOTICE: Unsolicited response received on idle HTTP channel starting with "\xc8\xc8"; err= 2026/05/04 04:16:42 DEBUG : dir2/b.txt: Open: flags=O_RDONLY 2026/05/04 04:16:42 DEBUG : dir2/b.txt: >Open: fd=dir2/b.txt (r), err= 2026/05/04 04:16:42 DEBUG : dir2/b.txt: Set virtual modtime to 2026-05-04 04:16:41 +0000 UTC 2026/05/04 04:16:42 DEBUG : dir2/b.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/04 04:16:42 DEBUG : dir2/b.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:42 NOTICE: Unsolicited response received on idle HTTP channel starting with "\x03\x03"; err= 2026/05/04 04:16:42 DEBUG : dir3/c.txt: Open: flags=O_RDONLY 2026/05/04 04:16:42 DEBUG : dir3/c.txt: >Open: fd=dir3/c.txt (r), err= 2026/05/04 04:16:42 DEBUG : dir3/c.txt: Set virtual modtime to 2026-05-04 04:16:42 +0000 UTC 2026/05/04 04:16:42 DEBUG : dir3/c.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/04 04:16:42 DEBUG : dir3/c.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/04 04:16:42 NOTICE: Unsolicited response received on idle HTTP channel starting with "\xbe\xbe"; err= 2026/05/04 04:16:42 DEBUG : WaitForWriters: timeout=30s 2026/05/04 04:16:42 DEBUG : dir3: Looking for writers 2026/05/04 04:16:42 DEBUG : c.txt: reading active writers 2026/05/04 04:16:42 DEBUG : dir1: Looking for writers 2026/05/04 04:16:42 DEBUG : a.txt: reading active writers 2026/05/04 04:16:42 DEBUG : dir2: Looking for writers 2026/05/04 04:16:42 DEBUG : b.txt: reading active writers 2026/05/04 04:16:42 DEBUG : Looking for writers 2026/05/04 04:16:42 DEBUG : dir1: reading active writers 2026/05/04 04:16:42 DEBUG : dir2: reading active writers 2026/05/04 04:16:42 DEBUG : dir3: reading active writers 2026/05/04 04:16:42 DEBUG : >WaitForWriters: --- PASS: TestZipDirsInRoot (3.70s) FAIL 2026/05/04 04:16:44 DEBUG : mega root 'rclone-test-fasatob9tezu': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestRWFileHandleMethodsRead|TestRWFileHandleSizeCreateExisting|TestVFSOpenFile|TestWriteFileHandleFlush|TestZipDirsInRoot|TestZipLargeFiles|TestZipManyFiles)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 3m27.630137796s (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]