"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestCaseSensitivity|TestWriteFileHandleFlush|TestWriteFileHandleWriteAt)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false)$'" - Starting (try 3/5) 2026/07/16 02:05:43 DEBUG : Creating backend with remote "TestMega:rclone-test-ceyiwic7luro" 2026/07/16 02:05:43 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/07/16 02:05:43 DEBUG : mega root 'rclone-test-ceyiwic7luro': Using previously stored session ID and master key to initialize the Mega API 2026/07/16 02:06:00 DEBUG : Creating backend with remote "/tmp/rclone3408218704" === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:198: Remote "mega root 'rclone-test-ceyiwic7luro'", Local "Local file system at /tmp/rclone3408218704", Modify Window "876000h0m0s" 2026/07/16 02:06:00 INFO : mega root 'rclone-test-ceyiwic7luro': poll-interval is not supported by this remote 2026/07/16 02:06:00 NOTICE: mega root 'rclone-test-ceyiwic7luro': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/07/16 02:06:01 DEBUG : WaitForWriters: timeout=30s 2026/07/16 02:06:01 DEBUG : dir: Looking for writers 2026/07/16 02:06:01 DEBUG : file1: reading active writers 2026/07/16 02:06:01 DEBUG : Looking for writers 2026/07/16 02:06:01 DEBUG : dir: reading active writers 2026/07/16 02:06:01 DEBUG : >WaitForWriters: 2026/07/16 02:06:01 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/07/16 02:06:01 DEBUG : newLeaf: Updating file with newLeaf 0x4f82af0f040 2026/07/16 02:06:01 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/07/16 02:06:01 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "file1" 2026/07/16 02:06:20 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/07/16 02:06:20 DEBUG : dir/file1: Updating file with dir/file1 0x4f82af0f040 2026/07/16 02:06:20 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/07/16 02:06:20 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/newLeaf (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "dir/newLeaf" 2026/07/16 02:06:27 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/07/16 02:06:27 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/07/16 02:06:27 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/16 02:06:27 DEBUG : dir/file1: File is currently open, delaying rename 0x4f82af0f040 2026/07/16 02:06:27 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/07/16 02:06:27 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/07/16 02:06:27 DEBUG : mega root 'rclone-test-ceyiwic7luro': File to upload is small (25 bytes), uploading instead of streaming 2026/07/16 02:06:27 DEBUG : dir/file1: size = 25 OK 2026/07/16 02:06:27 NOTICE: mega root 'rclone-test-ceyiwic7luro': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2026/07/16 02:06:27 DEBUG : dir/file1: Size of src and dst objects identical 2026/07/16 02:06:27 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/07/16 02:06:27 DEBUG : newLeaf: Running delayed rename now 2026/07/16 02:06:28 INFO : newLeaf: Deleted 2026/07/16 02:06:28 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/07/16 02:06:28 DEBUG : newLeaf: Updating file with newLeaf 0x4f82af0f040 2026/07/16 02:06:28 DEBUG : WaitForWriters: timeout=30s 2026/07/16 02:06:28 DEBUG : dir: Looking for writers 2026/07/16 02:06:28 DEBUG : Looking for writers 2026/07/16 02:06:28 DEBUG : newLeaf: reading active writers 2026/07/16 02:06:28 DEBUG : dir: reading active writers 2026/07/16 02:06:28 DEBUG : >WaitForWriters: 2026/07/16 02:06:28 DEBUG : WaitForWriters: timeout=30s 2026/07/16 02:06:28 DEBUG : dir: Looking for writers 2026/07/16 02:06:28 DEBUG : Looking for writers 2026/07/16 02:06:28 DEBUG : dir: reading active writers 2026/07/16 02:06:28 DEBUG : newLeaf: reading active writers 2026/07/16 02:06:28 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:198: Remote "mega root 'rclone-test-ceyiwic7luro'", Local "Local file system at /tmp/rclone3408218704", Modify Window "876000h0m0s" 2026/07/16 02:06:29 INFO : mega root 'rclone-test-ceyiwic7luro': poll-interval is not supported by this remote 2026/07/16 02:06:29 NOTICE: mega root 'rclone-test-ceyiwic7luro': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/07/16 02:06:29 DEBUG : mega root 'rclone-test-ceyiwic7luro': vfs cache: root is "/home/rclone/.cache/rclone" 2026/07/16 02:06:29 DEBUG : mega root 'rclone-test-ceyiwic7luro': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:06:29 DEBUG : mega root 'rclone-test-ceyiwic7luro': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:06:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:06:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/16 02:06:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-ceyiwic7luro" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:06:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:06:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/16 02:06:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-ceyiwic7luro" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:06:29 INFO : mega root 'rclone-test-ceyiwic7luro': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/07/16 02:06:29 DEBUG : WaitForWriters: timeout=30s 2026/07/16 02:06:29 DEBUG : dir: Looking for writers 2026/07/16 02:06:29 DEBUG : file1: reading active writers 2026/07/16 02:06:29 DEBUG : Looking for writers 2026/07/16 02:06:29 DEBUG : dir: reading active writers 2026/07/16 02:06:29 DEBUG : >WaitForWriters: 2026/07/16 02:06:29 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/07/16 02:06:29 DEBUG : newLeaf: Updating file with newLeaf 0x4f82b922ea0 2026/07/16 02:06:29 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/07/16 02:06:29 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/07/16 02:06:30 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/07/16 02:06:30 DEBUG : dir/file1: Updating file with dir/file1 0x4f82b922ea0 2026/07/16 02:06:30 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/07/16 02:06:30 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "dir/file1" 2026/07/16 02:06:37 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/07/16 02:06:37 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/07/16 02:06:37 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/16 02:06:37 DEBUG : dir/file1: File is currently open, delaying rename 0x4f82b922ea0 2026/07/16 02:06:37 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/07/16 02:06:37 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/07/16 02:06:37 DEBUG : mega root 'rclone-test-ceyiwic7luro': File to upload is small (25 bytes), uploading instead of streaming 2026/07/16 02:06:38 DEBUG : dir/file1: size = 25 OK 2026/07/16 02:06:38 DEBUG : dir/file1: Size of src and dst objects identical 2026/07/16 02:06:38 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/07/16 02:06:38 DEBUG : newLeaf: Running delayed rename now 2026/07/16 02:06:38 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/07/16 02:06:38 DEBUG : newLeaf: Updating file with newLeaf 0x4f82b922ea0 2026/07/16 02:06:38 DEBUG : WaitForWriters: timeout=30s 2026/07/16 02:06:38 DEBUG : dir: Looking for writers 2026/07/16 02:06:38 DEBUG : Looking for writers 2026/07/16 02:06:38 DEBUG : dir: reading active writers 2026/07/16 02:06:38 DEBUG : newLeaf: reading active writers 2026/07/16 02:06:38 DEBUG : >WaitForWriters: 2026/07/16 02:06:38 DEBUG : WaitForWriters: timeout=30s 2026/07/16 02:06:38 DEBUG : dir: Looking for writers 2026/07/16 02:06:38 DEBUG : Looking for writers 2026/07/16 02:06:38 DEBUG : dir: reading active writers 2026/07/16 02:06:38 DEBUG : newLeaf: reading active writers 2026/07/16 02:06:38 DEBUG : >WaitForWriters: 2026/07/16 02:06:38 DEBUG : mega root 'rclone-test-ceyiwic7luro': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:198: Remote "mega root 'rclone-test-ceyiwic7luro'", Local "Local file system at /tmp/rclone3408218704", Modify Window "876000h0m0s" 2026/07/16 02:06:39 INFO : mega root 'rclone-test-ceyiwic7luro': poll-interval is not supported by this remote 2026/07/16 02:06:39 NOTICE: mega root 'rclone-test-ceyiwic7luro': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/07/16 02:06:39 DEBUG : mega root 'rclone-test-ceyiwic7luro': vfs cache: root is "/home/rclone/.cache/rclone" 2026/07/16 02:06:39 DEBUG : mega root 'rclone-test-ceyiwic7luro': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:06:39 DEBUG : mega root 'rclone-test-ceyiwic7luro': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:06:39 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:06:39 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/16 02:06:39 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-ceyiwic7luro" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:06:39 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:06:39 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/16 02:06:39 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-ceyiwic7luro" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:06:39 INFO : mega root 'rclone-test-ceyiwic7luro': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/07/16 02:06:39 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/07/16 02:06:39 DEBUG : dir/file1: newRWFileHandle: 2026/07/16 02:06:39 DEBUG : dir/file1(0x4f82b323c40): openPending: 2026/07/16 02:06:39 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/07/16 02:06:39 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/07/16 02:06:39 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/16 02:06:39 DEBUG : dir/file1(0x4f82b323c40): >openPending: err= 2026/07/16 02:06:39 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/07/16 02:06:39 DEBUG : dir/file1: >newRWFileHandle: err= 2026/07/16 02:06:39 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/16 02:06:39 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/07/16 02:06:39 DEBUG : dir/file1(0x4f82b323c40): _writeAt: size=14, off=0 2026/07/16 02:06:39 DEBUG : dir/file1(0x4f82b323c40): >_writeAt: n=14, err= 2026/07/16 02:06:39 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/07/16 02:06:39 DEBUG : dir/file1(0x4f82b323c40): close: 2026/07/16 02:06:39 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/07/16 02:06:39 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/07/16 02:06:39 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/07/16 02:06:39 DEBUG : dir/file1(0x4f82b323c40): >close: err= 2026/07/16 02:06:39 DEBUG : WaitForWriters: timeout=30s 2026/07/16 02:06:39 DEBUG : dir: Looking for writers 2026/07/16 02:06:39 DEBUG : file1: reading active writers 2026/07/16 02:06:39 DEBUG : Looking for writers 2026/07/16 02:06:39 DEBUG : dir: reading active writers 2026/07/16 02:06:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/07/16 02:06:39 DEBUG : dir: Looking for writers 2026/07/16 02:06:39 DEBUG : file1: reading active writers 2026/07/16 02:06:39 DEBUG : Looking for writers 2026/07/16 02:06:39 DEBUG : dir: reading active writers 2026/07/16 02:06:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/07/16 02:06:39 DEBUG : dir: Looking for writers 2026/07/16 02:06:39 DEBUG : file1: reading active writers 2026/07/16 02:06:39 DEBUG : Looking for writers 2026/07/16 02:06:39 DEBUG : dir: reading active writers 2026/07/16 02:06:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/07/16 02:06:39 DEBUG : dir: Looking for writers 2026/07/16 02:06:39 DEBUG : file1: reading active writers 2026/07/16 02:06:39 DEBUG : Looking for writers 2026/07/16 02:06:39 DEBUG : dir: reading active writers 2026/07/16 02:06:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/07/16 02:06:39 DEBUG : dir/file1: vfs cache: starting upload 2026/07/16 02:06:39 DEBUG : dir: Looking for writers 2026/07/16 02:06:39 DEBUG : file1: reading active writers 2026/07/16 02:06:39 DEBUG : Looking for writers 2026/07/16 02:06:39 DEBUG : dir: reading active writers 2026/07/16 02:06:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/07/16 02:06:40 DEBUG : dir: Looking for writers 2026/07/16 02:06:40 DEBUG : file1: reading active writers 2026/07/16 02:06:40 DEBUG : Looking for writers 2026/07/16 02:06:40 DEBUG : dir: reading active writers 2026/07/16 02:06:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/07/16 02:06:40 DEBUG : dir: Looking for writers 2026/07/16 02:06:40 DEBUG : file1: reading active writers 2026/07/16 02:06:40 DEBUG : Looking for writers 2026/07/16 02:06:40 DEBUG : dir: reading active writers 2026/07/16 02:06:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/07/16 02:06:41 DEBUG : dir: Looking for writers 2026/07/16 02:06:41 DEBUG : file1: reading active writers 2026/07/16 02:06:41 DEBUG : Looking for writers 2026/07/16 02:06:41 DEBUG : dir: reading active writers 2026/07/16 02:06:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/07/16 02:06:42 DEBUG : dir: Looking for writers 2026/07/16 02:06:42 DEBUG : file1: reading active writers 2026/07/16 02:06:42 DEBUG : Looking for writers 2026/07/16 02:06:42 DEBUG : dir: reading active writers 2026/07/16 02:06:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/07/16 02:06:42 DEBUG : dir/file1: size = 14 OK 2026/07/16 02:06:42 INFO : dir/file1: Copied (replaced existing) 2026/07/16 02:06:42 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/07/16 02:06:42 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/07/16 02:06:42 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/16 02:06:42 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/07/16 02:06:43 DEBUG : dir: Looking for writers 2026/07/16 02:06:43 DEBUG : file1: reading active writers 2026/07/16 02:06:43 DEBUG : Looking for writers 2026/07/16 02:06:43 DEBUG : dir: reading active writers 2026/07/16 02:06:43 DEBUG : >WaitForWriters: 2026/07/16 02:06:43 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/07/16 02:06:43 DEBUG : dir/file1: newRWFileHandle: 2026/07/16 02:06:43 DEBUG : dir/file1: >newRWFileHandle: err= 2026/07/16 02:06:43 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/07/16 02:06:43 DEBUG : dir/file1(0x4f82b957880): _readAt: size=512, off=0 2026/07/16 02:06:43 DEBUG : dir/file1(0x4f82b957880): openPending: 2026/07/16 02:06:43 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/07/16 02:06:43 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/07/16 02:06:43 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/16 02:06:43 DEBUG : dir/file1(0x4f82b957880): >openPending: err= 2026/07/16 02:06:43 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/07/16 02:06:43 DEBUG : dir/file1(0x4f82b957880): >_readAt: n=14, err=EOF 2026/07/16 02:06:43 DEBUG : dir/file1(0x4f82b957880): close: 2026/07/16 02:06:43 DEBUG : dir/file1(0x4f82b957880): >close: err= 2026/07/16 02:06:43 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/07/16 02:06:43 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/07/16 02:06:43 DEBUG : newLeaf: Updating file with newLeaf 0x4f82bb54270 2026/07/16 02:06:43 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/07/16 02:06:43 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/07/16 02:06:44 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/07/16 02:06:44 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/07/16 02:06:44 DEBUG : dir/file1: Updating file with dir/file1 0x4f82bb54270 2026/07/16 02:06:44 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/07/16 02:06: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/07/16 02:06:48 DEBUG : dir/file1: vfs cache: setting modification time to 2026-07-16 02:06:40 +0000 UTC fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "dir/file1" 2026/07/16 02:06:51 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/07/16 02:06:51 DEBUG : dir/file1: newRWFileHandle: 2026/07/16 02:06:51 DEBUG : dir/file1(0x4f82bd22080): openPending: 2026/07/16 02:06:51 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/07/16 02:06:51 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/07/16 02:06:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/16 02:06:51 DEBUG : dir/file1(0x4f82bd22080): >openPending: err= 2026/07/16 02:06:51 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/07/16 02:06:51 DEBUG : dir/file1: >newRWFileHandle: err= 2026/07/16 02:06:51 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/07/16 02:06:51 DEBUG : dir/file1(0x4f82bd22080): _writeAt: size=25, off=0 2026/07/16 02:06:51 DEBUG : dir/file1(0x4f82bd22080): >_writeAt: n=25, err= 2026/07/16 02:07:07 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/07/16 02:07:07 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/07/16 02:07:07 DEBUG : newLeaf: Updating file with newLeaf 0x4f82bb54270 2026/07/16 02:07:07 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/07/16 02:07:07 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/07/16 02:07:07 DEBUG : newLeaf(0x4f82bd22080): close: 2026/07/16 02:07:07 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:25}] - present true 2026/07/16 02:07:07 DEBUG : newLeaf: vfs cache: setting modification time to 2026-07-16 02:06:51.029702838 +0000 UTC m=+67.189965756 2026/07/16 02:07:07 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/07/16 02:07:07 DEBUG : newLeaf(0x4f82bd22080): >close: err= 2026/07/16 02:07:07 DEBUG : WaitForWriters: timeout=30s 2026/07/16 02:07:07 DEBUG : dir: Looking for writers 2026/07/16 02:07:07 DEBUG : Looking for writers 2026/07/16 02:07:07 DEBUG : newLeaf: reading active writers 2026/07/16 02:07:07 DEBUG : dir: reading active writers 2026/07/16 02:07:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/07/16 02:07:07 DEBUG : dir: Looking for writers 2026/07/16 02:07:07 DEBUG : Looking for writers 2026/07/16 02:07:07 DEBUG : dir: reading active writers 2026/07/16 02:07:07 DEBUG : newLeaf: reading active writers 2026/07/16 02:07:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/07/16 02:07:07 DEBUG : dir: Looking for writers 2026/07/16 02:07:07 DEBUG : Looking for writers 2026/07/16 02:07:07 DEBUG : dir: reading active writers 2026/07/16 02:07:07 DEBUG : newLeaf: reading active writers 2026/07/16 02:07:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/07/16 02:07:07 DEBUG : dir: Looking for writers 2026/07/16 02:07:07 DEBUG : Looking for writers 2026/07/16 02:07:07 DEBUG : dir: reading active writers 2026/07/16 02:07:07 DEBUG : newLeaf: reading active writers 2026/07/16 02:07:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/07/16 02:07:07 DEBUG : newLeaf: vfs cache: starting upload 2026/07/16 02:07:07 DEBUG : dir: Looking for writers 2026/07/16 02:07:07 DEBUG : Looking for writers 2026/07/16 02:07:07 DEBUG : dir: reading active writers 2026/07/16 02:07:07 DEBUG : newLeaf: reading active writers 2026/07/16 02:07:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/07/16 02:07:07 DEBUG : dir: Looking for writers 2026/07/16 02:07:07 DEBUG : Looking for writers 2026/07/16 02:07:07 DEBUG : dir: reading active writers 2026/07/16 02:07:07 DEBUG : newLeaf: reading active writers 2026/07/16 02:07:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/07/16 02:07:07 DEBUG : dir: Looking for writers 2026/07/16 02:07:07 DEBUG : Looking for writers 2026/07/16 02:07:07 DEBUG : dir: reading active writers 2026/07/16 02:07:07 DEBUG : newLeaf: reading active writers 2026/07/16 02:07:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/07/16 02:07:08 DEBUG : dir: Looking for writers 2026/07/16 02:07:08 DEBUG : Looking for writers 2026/07/16 02:07:08 DEBUG : dir: reading active writers 2026/07/16 02:07:08 DEBUG : newLeaf: reading active writers 2026/07/16 02:07:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/07/16 02:07:09 DEBUG : dir: Looking for writers 2026/07/16 02:07:09 DEBUG : Looking for writers 2026/07/16 02:07:09 DEBUG : dir: reading active writers 2026/07/16 02:07:09 DEBUG : newLeaf: reading active writers 2026/07/16 02:07:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/07/16 02:07:10 DEBUG : dir: Looking for writers 2026/07/16 02:07:10 DEBUG : Looking for writers 2026/07/16 02:07:10 DEBUG : dir: reading active writers 2026/07/16 02:07:10 DEBUG : newLeaf: reading active writers 2026/07/16 02:07:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/07/16 02:07:10 DEBUG : newLeaf: size = 25 OK 2026/07/16 02:07:10 INFO : newLeaf: Copied (replaced existing) 2026/07/16 02:07:10 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/07/16 02:07:10 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/07/16 02:07:10 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/07/16 02:07:10 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/07/16 02:07:11 DEBUG : dir: Looking for writers 2026/07/16 02:07:11 DEBUG : Looking for writers 2026/07/16 02:07:11 DEBUG : dir: reading active writers 2026/07/16 02:07:11 DEBUG : newLeaf: reading active writers 2026/07/16 02:07:11 DEBUG : >WaitForWriters: 2026/07/16 02:07:11 DEBUG : WaitForWriters: timeout=30s 2026/07/16 02:07:11 DEBUG : dir: Looking for writers 2026/07/16 02:07:11 DEBUG : Looking for writers 2026/07/16 02:07:11 DEBUG : dir: reading active writers 2026/07/16 02:07:11 DEBUG : newLeaf: reading active writers 2026/07/16 02:07:11 DEBUG : >WaitForWriters: 2026/07/16 02:07:11 DEBUG : mega root 'rclone-test-ceyiwic7luro': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:198: Remote "mega root 'rclone-test-ceyiwic7luro'", Local "Local file system at /tmp/rclone3408218704", Modify Window "876000h0m0s" 2026/07/16 02:07:19 INFO : mega root 'rclone-test-ceyiwic7luro': poll-interval is not supported by this remote 2026/07/16 02:07:19 DEBUG : mega root 'rclone-test-ceyiwic7luro': vfs cache: root is "/home/rclone/.cache/rclone" 2026/07/16 02:07:19 DEBUG : mega root 'rclone-test-ceyiwic7luro': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:07:19 DEBUG : mega root 'rclone-test-ceyiwic7luro': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:07:19 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:07:19 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/16 02:07:19 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-ceyiwic7luro" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:07:19 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:07:19 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/16 02:07:19 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-ceyiwic7luro" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:07:19 INFO : mega root 'rclone-test-ceyiwic7luro': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/07/16 02:07:20 DEBUG : WaitForWriters: timeout=30s 2026/07/16 02:07:20 DEBUG : dir: Looking for writers 2026/07/16 02:07:20 DEBUG : file1: reading active writers 2026/07/16 02:07:20 DEBUG : Looking for writers 2026/07/16 02:07:20 DEBUG : dir: reading active writers 2026/07/16 02:07:20 DEBUG : >WaitForWriters: 2026/07/16 02:07:25 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/07/16 02:07:25 DEBUG : newLeaf: Updating file with newLeaf 0x4f82be89110 2026/07/16 02:07:25 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/07/16 02:07:25 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/07/16 02:07:27 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/07/16 02:07:27 DEBUG : dir/file1: Updating file with dir/file1 0x4f82be89110 2026/07/16 02:07:27 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/07/16 02:07:27 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "dir/file1" 2026/07/16 02:07:34 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/07/16 02:07:34 DEBUG : dir/file1: newRWFileHandle: 2026/07/16 02:07:34 DEBUG : dir/file1(0x4f82bcbb640): openPending: 2026/07/16 02:07:34 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/07/16 02:07:34 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/07/16 02:07:34 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/07/16 02:07:34 DEBUG : dir/file1(0x4f82bcbb640): >openPending: err= 2026/07/16 02:07:34 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/07/16 02:07:34 DEBUG : dir/file1: >newRWFileHandle: err= 2026/07/16 02:07:34 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/07/16 02:07:34 DEBUG : dir/file1(0x4f82bcbb640): _writeAt: size=25, off=0 2026/07/16 02:07:34 DEBUG : dir/file1(0x4f82bcbb640): >_writeAt: n=25, err= 2026/07/16 02:07:38 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/07/16 02:07:38 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/07/16 02:07:38 DEBUG : newLeaf: Updating file with newLeaf 0x4f82be89110 2026/07/16 02:07:38 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/07/16 02:07:38 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/07/16 02:07:38 DEBUG : newLeaf(0x4f82bcbb640): close: 2026/07/16 02:07:38 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:25}] - present true 2026/07/16 02:07:38 DEBUG : newLeaf: vfs cache: setting modification time to 2026-07-16 02:07:34.964955358 +0000 UTC m=+111.125218295 2026/07/16 02:07:38 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/07/16 02:07:38 DEBUG : newLeaf(0x4f82bcbb640): >close: err= 2026/07/16 02:07:38 DEBUG : WaitForWriters: timeout=30s 2026/07/16 02:07:38 DEBUG : dir: Looking for writers 2026/07/16 02:07:38 DEBUG : Looking for writers 2026/07/16 02:07:38 DEBUG : dir: reading active writers 2026/07/16 02:07:38 DEBUG : newLeaf: reading active writers 2026/07/16 02:07:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/07/16 02:07:38 DEBUG : dir: Looking for writers 2026/07/16 02:07:38 DEBUG : Looking for writers 2026/07/16 02:07:38 DEBUG : dir: reading active writers 2026/07/16 02:07:38 DEBUG : newLeaf: reading active writers 2026/07/16 02:07:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/07/16 02:07:38 DEBUG : dir: Looking for writers 2026/07/16 02:07:38 DEBUG : Looking for writers 2026/07/16 02:07:38 DEBUG : dir: reading active writers 2026/07/16 02:07:38 DEBUG : newLeaf: reading active writers 2026/07/16 02:07:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/07/16 02:07:38 DEBUG : dir: Looking for writers 2026/07/16 02:07:38 DEBUG : Looking for writers 2026/07/16 02:07:38 DEBUG : dir: reading active writers 2026/07/16 02:07:38 DEBUG : newLeaf: reading active writers 2026/07/16 02:07:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/07/16 02:07:38 DEBUG : newLeaf: vfs cache: starting upload 2026/07/16 02:07:38 DEBUG : dir: Looking for writers 2026/07/16 02:07:38 DEBUG : Looking for writers 2026/07/16 02:07:38 DEBUG : dir: reading active writers 2026/07/16 02:07:38 DEBUG : newLeaf: reading active writers 2026/07/16 02:07:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/07/16 02:07:38 DEBUG : dir: Looking for writers 2026/07/16 02:07:38 DEBUG : Looking for writers 2026/07/16 02:07:38 DEBUG : newLeaf: reading active writers 2026/07/16 02:07:38 DEBUG : dir: reading active writers 2026/07/16 02:07:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/07/16 02:07:38 DEBUG : dir: Looking for writers 2026/07/16 02:07:38 DEBUG : Looking for writers 2026/07/16 02:07:38 DEBUG : dir: reading active writers 2026/07/16 02:07:38 DEBUG : newLeaf: reading active writers 2026/07/16 02:07:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/07/16 02:07:39 DEBUG : newLeaf: size = 25 OK 2026/07/16 02:07:39 INFO : newLeaf: Copied (replaced existing) 2026/07/16 02:07:39 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/07/16 02:07:39 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/07/16 02:07:39 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/07/16 02:07:39 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/07/16 02:07:39 DEBUG : dir: Looking for writers 2026/07/16 02:07:39 DEBUG : Looking for writers 2026/07/16 02:07:39 DEBUG : dir: reading active writers 2026/07/16 02:07:39 DEBUG : newLeaf: reading active writers 2026/07/16 02:07:39 DEBUG : >WaitForWriters: 2026/07/16 02:07:39 DEBUG : WaitForWriters: timeout=30s 2026/07/16 02:07:39 DEBUG : dir: Looking for writers 2026/07/16 02:07:39 DEBUG : Looking for writers 2026/07/16 02:07:39 DEBUG : dir: reading active writers 2026/07/16 02:07:39 DEBUG : newLeaf: reading active writers 2026/07/16 02:07:39 DEBUG : >WaitForWriters: 2026/07/16 02:07:39 DEBUG : mega root 'rclone-test-ceyiwic7luro': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:198: Remote "mega root 'rclone-test-ceyiwic7luro'", Local "Local file system at /tmp/rclone3408218704", Modify Window "876000h0m0s" 2026/07/16 02:07:40 INFO : mega root 'rclone-test-ceyiwic7luro': poll-interval is not supported by this remote 2026/07/16 02:07:40 DEBUG : mega root 'rclone-test-ceyiwic7luro': vfs cache: root is "/home/rclone/.cache/rclone" 2026/07/16 02:07:40 DEBUG : mega root 'rclone-test-ceyiwic7luro': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:07:40 DEBUG : mega root 'rclone-test-ceyiwic7luro': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:07:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:07:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/16 02:07:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-ceyiwic7luro" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:07:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:07:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/07/16 02:07:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-ceyiwic7luro" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-ceyiwic7luro" 2026/07/16 02:07:40 INFO : mega root 'rclone-test-ceyiwic7luro': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:303: Failed to put "dir/file1" to "mega root 'rclone-test-ceyiwic7luro'": mkdir create node failed: unexpected end of JSON input 2026/07/16 02:07:51 DEBUG : WaitForWriters: timeout=30s 2026/07/16 02:07:51 DEBUG : Looking for writers 2026/07/16 02:07:51 DEBUG : >WaitForWriters: 2026/07/16 02:07:51 DEBUG : mega root 'rclone-test-ceyiwic7luro': vfs cache: cleaner exiting --- FAIL: TestFileRename (111.35s) --- FAIL: TestFileRename/off,forceCache=false (29.00s) --- FAIL: TestFileRename/minimal,forceCache=false (10.14s) --- FAIL: TestFileRename/minimal,forceCache=true (40.40s) --- FAIL: TestFileRename/writes,forceCache=false (20.57s) --- FAIL: TestFileRename/full,forceCache=false (11.24s) === RUN TestCaseSensitivity run.go:198: Remote "mega root 'rclone-test-ceyiwic7luro'", Local "Local file system at /tmp/rclone3408218704", Modify Window "876000h0m0s" run.go:303: Failed to put "FiLeA" to "mega root 'rclone-test-ceyiwic7luro'": failed to finish upload: unexpected end of JSON input --- FAIL: TestCaseSensitivity (11.39s) === RUN TestWriteFileHandleWriteAt run.go:198: Remote "mega root 'rclone-test-ceyiwic7luro'", Local "Local file system at /tmp/rclone3408218704", Modify Window "876000h0m0s" 2026/07/16 02:08:02 INFO : mega root 'rclone-test-ceyiwic7luro': poll-interval is not supported by this remote 2026/07/16 02:08:02 NOTICE: mega root 'rclone-test-ceyiwic7luro': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/07/16 02:08:02 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/07/16 02:08:02 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/07/16 02:08:02 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/07/16 02:08:02 DEBUG : file1: >Open: fd=file1 (w), err= 2026/07/16 02:08:02 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/07/16 02:08:02 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/07/16 02:08:02 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2026/07/16 02:08:03 DEBUG : file1: aborting in-sequence write wait, off=100 2026/07/16 02:08:03 DEBUG : file1: failed to wait for in-sequence write to 100 2026/07/16 02:08:03 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2026/07/16 02:08:03 DEBUG : mega root 'rclone-test-ceyiwic7luro': File to upload is small (11 bytes), uploading instead of streaming 2026/07/16 02:08:14 ERROR : file1: WriteFileHandle.New Rcat failed: upload file failed to create session: unexpected end of JSON input 2026/07/16 02:08:14 DEBUG : file1: Remove: 2026/07/16 02:08:14 DEBUG : Added virtual directory entry vDel: "file1" 2026/07/16 02:08:14 DEBUG : file1: >Remove: err= write_test.go:221: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:221 Error: Received unexpected error: upload file failed to create session: unexpected end of JSON input Test: TestWriteFileHandleWriteAt 2026/07/16 02:08:14 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:231 Error: Not equal: expected: []string{"file1,11,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=14) "file1,11,false" -} +([]string) Test: TestWriteFileHandleWriteAt fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:235 Error: Should be true Test: TestWriteFileHandleWriteAt Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:235 Error: Not equal: expected: 0 actual : 1 Test: TestWriteFileHandleWriteAt Messages: 1 objects not found 2026/07/16 02:08:21 DEBUG : WaitForWriters: timeout=30s 2026/07/16 02:08:21 DEBUG : Looking for writers 2026/07/16 02:08:21 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleWriteAt (18.56s) === RUN TestWriteFileHandleFlush run.go:198: Remote "mega root 'rclone-test-ceyiwic7luro'", Local "Local file system at /tmp/rclone3408218704", Modify Window "876000h0m0s" 2026/07/16 02:08:21 INFO : mega root 'rclone-test-ceyiwic7luro': poll-interval is not supported by this remote 2026/07/16 02:08:21 NOTICE: mega root 'rclone-test-ceyiwic7luro': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/07/16 02:08:21 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/07/16 02:08:21 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/07/16 02:08:21 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/07/16 02:08:21 DEBUG : file1: >Open: fd=file1 (w), err= 2026/07/16 02:08:21 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/07/16 02:08:21 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2026/07/16 02:08:21 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/07/16 02:08:21 DEBUG : mega root 'rclone-test-ceyiwic7luro': File to upload is small (5 bytes), uploading instead of streaming 2026/07/16 02:08:21 DEBUG : file1: size = 5 OK 2026/07/16 02:08:21 DEBUG : file1: Size of src and dst objects identical 2026/07/16 02:08:21 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/07/16 02:08:21 DEBUG : file1: WriteFileHandle.Flush nothing to do 2026/07/16 02:08:21 DEBUG : WaitForWriters: timeout=30s 2026/07/16 02:08:21 DEBUG : Looking for writers 2026/07/16 02:08:21 DEBUG : file1: reading active writers 2026/07/16 02:08:21 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleFlush (0.91s) FAIL 2026/07/16 02:08:22 DEBUG : mega root 'rclone-test-ceyiwic7luro': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestCaseSensitivity|TestWriteFileHandleFlush|TestWriteFileHandleWriteAt)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false)$'" - Finished ERROR in 2m38.622747847s (try 3/5): exit status 1: Failed [TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/full,forceCache=false TestCaseSensitivity TestWriteFileHandleWriteAt]