"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestDirMkdirSub$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 2/5) 2026/06/05 05:27:55 DEBUG : Creating backend with remote "TestMega:rclone-test-momotup9moju" 2026/06/05 05:27:55 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/06/05 05:27:55 DEBUG : mega root 'rclone-test-momotup9moju': Using previously stored session ID and master key to initialize the Mega API 2026/06/05 05:28:13 DEBUG : Creating backend with remote "/tmp/rclone3562184149" === RUN TestDirMkdirSub run.go:198: Remote "mega root 'rclone-test-momotup9moju'", Local "Local file system at /tmp/rclone3562184149", Modify Window "876000h0m0s" 2026/06/05 05:28:13 INFO : mega root 'rclone-test-momotup9moju': poll-interval is not supported by this remote 2026/06/05 05:28:13 NOTICE: mega root 'rclone-test-momotup9moju': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/06/05 05:28:16 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2026/06/05 05:28:16 DEBUG : dir/sub: Added virtual directory entry vAddDir: "subsub" 2026/06/05 05:28:16 DEBUG : WaitForWriters: timeout=30s 2026/06/05 05:28:16 DEBUG : dir/sub/subsub: Looking for writers 2026/06/05 05:28:16 DEBUG : dir/sub: Looking for writers 2026/06/05 05:28:16 DEBUG : subsub: reading active writers 2026/06/05 05:28:16 DEBUG : dir: Looking for writers 2026/06/05 05:28:16 DEBUG : file1: reading active writers 2026/06/05 05:28:16 DEBUG : sub: reading active writers 2026/06/05 05:28:16 DEBUG : Looking for writers 2026/06/05 05:28:16 DEBUG : dir: reading active writers 2026/06/05 05:28:16 DEBUG : >WaitForWriters: --- PASS: TestDirMkdirSub (3.86s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:198: Remote "mega root 'rclone-test-momotup9moju'", Local "Local file system at /tmp/rclone3562184149", Modify Window "876000h0m0s" 2026/06/05 05:28:17 INFO : mega root 'rclone-test-momotup9moju': poll-interval is not supported by this remote 2026/06/05 05:28:17 NOTICE: mega root 'rclone-test-momotup9moju': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/06/05 05:28:18 DEBUG : WaitForWriters: timeout=30s 2026/06/05 05:28:18 DEBUG : dir: Looking for writers 2026/06/05 05:28:18 DEBUG : file1: reading active writers 2026/06/05 05:28:18 DEBUG : Looking for writers 2026/06/05 05:28:18 DEBUG : dir: reading active writers 2026/06/05 05:28:18 DEBUG : >WaitForWriters: 2026/06/05 05:28:18 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/06/05 05:28:18 DEBUG : newLeaf: Updating file with newLeaf 0x1d0047fb8680 2026/06/05 05:28:18 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/06/05 05:28:18 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/06/05 05:28:19 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/06/05 05:28:19 DEBUG : dir/file1: Updating file with dir/file1 0x1d0047fb8680 2026/06/05 05:28:19 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/06/05 05:28:19 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/06/05 05:28:19 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/06/05 05:28:19 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/06/05 05:28:19 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/06/05 05:28:19 DEBUG : dir/file1: File is currently open, delaying rename 0x1d0047fb8680 2026/06/05 05:28:19 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/06/05 05:28:19 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/06/05 05:28:19 DEBUG : mega root 'rclone-test-momotup9moju': File to upload is small (25 bytes), uploading instead of streaming 2026/06/05 05:28:20 DEBUG : dir/file1: size = 25 OK 2026/06/05 05:28:20 NOTICE: mega root 'rclone-test-momotup9moju': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2026/06/05 05:28:20 DEBUG : dir/file1: Size of src and dst objects identical 2026/06/05 05:28:20 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/06/05 05:28:20 DEBUG : newLeaf: Running delayed rename now 2026/06/05 05:28:20 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/06/05 05:28:20 DEBUG : newLeaf: Updating file with newLeaf 0x1d0047fb8680 2026/06/05 05:28:20 DEBUG : WaitForWriters: timeout=30s 2026/06/05 05:28:20 DEBUG : dir: Looking for writers 2026/06/05 05:28:20 DEBUG : Looking for writers 2026/06/05 05:28:20 DEBUG : dir: reading active writers 2026/06/05 05:28:20 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:20 DEBUG : >WaitForWriters: 2026/06/05 05:28:20 DEBUG : WaitForWriters: timeout=30s 2026/06/05 05:28:20 DEBUG : dir: Looking for writers 2026/06/05 05:28:20 DEBUG : Looking for writers 2026/06/05 05:28:20 DEBUG : dir: reading active writers 2026/06/05 05:28:20 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:20 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:198: Remote "mega root 'rclone-test-momotup9moju'", Local "Local file system at /tmp/rclone3562184149", Modify Window "876000h0m0s" 2026/06/05 05:28:21 INFO : mega root 'rclone-test-momotup9moju': poll-interval is not supported by this remote 2026/06/05 05:28:21 NOTICE: mega root 'rclone-test-momotup9moju': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/06/05 05:28:21 DEBUG : mega root 'rclone-test-momotup9moju': vfs cache: root is "/home/rclone/.cache/rclone" 2026/06/05 05:28:21 DEBUG : mega root 'rclone-test-momotup9moju': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:21 DEBUG : mega root 'rclone-test-momotup9moju': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:21 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/06/05 05:28:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-momotup9moju" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:21 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/06/05 05:28:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-momotup9moju" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:21 INFO : mega root 'rclone-test-momotup9moju': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/06/05 05:28:22 DEBUG : WaitForWriters: timeout=30s 2026/06/05 05:28:22 DEBUG : dir: Looking for writers 2026/06/05 05:28:22 DEBUG : file1: reading active writers 2026/06/05 05:28:22 DEBUG : Looking for writers 2026/06/05 05:28:22 DEBUG : dir: reading active writers 2026/06/05 05:28:22 DEBUG : >WaitForWriters: 2026/06/05 05:28:23 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/06/05 05:28:23 DEBUG : newLeaf: Updating file with newLeaf 0x1d00461dd790 2026/06/05 05:28:23 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/06/05 05:28:23 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/06/05 05:28:23 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/06/05 05:28:23 DEBUG : dir/file1: Updating file with dir/file1 0x1d00461dd790 2026/06/05 05:28:23 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/06/05 05:28:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/06/05 05:28:23 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/06/05 05:28:23 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/06/05 05:28:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/06/05 05:28:23 DEBUG : dir/file1: File is currently open, delaying rename 0x1d00461dd790 2026/06/05 05:28:23 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/06/05 05:28:23 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/06/05 05:28:23 DEBUG : mega root 'rclone-test-momotup9moju': File to upload is small (25 bytes), uploading instead of streaming 2026/06/05 05:28:27 DEBUG : dir/file1: size = 25 OK 2026/06/05 05:28:27 DEBUG : dir/file1: Size of src and dst objects identical 2026/06/05 05:28:27 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/06/05 05:28:27 DEBUG : newLeaf: Running delayed rename now 2026/06/05 05:28:28 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/06/05 05:28:28 DEBUG : newLeaf: Updating file with newLeaf 0x1d00461dd790 2026/06/05 05:28:28 DEBUG : WaitForWriters: timeout=30s 2026/06/05 05:28:28 DEBUG : dir: Looking for writers 2026/06/05 05:28:28 DEBUG : Looking for writers 2026/06/05 05:28:28 DEBUG : dir: reading active writers 2026/06/05 05:28:28 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:28 DEBUG : >WaitForWriters: 2026/06/05 05:28:28 DEBUG : WaitForWriters: timeout=30s 2026/06/05 05:28:28 DEBUG : dir: Looking for writers 2026/06/05 05:28:28 DEBUG : Looking for writers 2026/06/05 05:28:28 DEBUG : dir: reading active writers 2026/06/05 05:28:28 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:28 DEBUG : >WaitForWriters: 2026/06/05 05:28:28 DEBUG : mega root 'rclone-test-momotup9moju': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:198: Remote "mega root 'rclone-test-momotup9moju'", Local "Local file system at /tmp/rclone3562184149", Modify Window "876000h0m0s" 2026/06/05 05:28:29 INFO : mega root 'rclone-test-momotup9moju': poll-interval is not supported by this remote 2026/06/05 05:28:29 NOTICE: mega root 'rclone-test-momotup9moju': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/06/05 05:28:29 DEBUG : mega root 'rclone-test-momotup9moju': vfs cache: root is "/home/rclone/.cache/rclone" 2026/06/05 05:28:29 DEBUG : mega root 'rclone-test-momotup9moju': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:29 DEBUG : mega root 'rclone-test-momotup9moju': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/06/05 05:28:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-momotup9moju" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/06/05 05:28:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-momotup9moju" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:29 INFO : mega root 'rclone-test-momotup9moju': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/06/05 05:28:29 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/06/05 05:28:29 DEBUG : dir/file1: newRWFileHandle: 2026/06/05 05:28:29 DEBUG : dir/file1(0x1d00440b93c0): openPending: 2026/06/05 05:28:29 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/06/05 05:28:29 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/06/05 05:28:29 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/06/05 05:28:29 DEBUG : dir/file1(0x1d00440b93c0): >openPending: err= 2026/06/05 05:28:29 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/06/05 05:28:29 DEBUG : dir/file1: >newRWFileHandle: err= 2026/06/05 05:28:29 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/06/05 05:28:29 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/06/05 05:28:29 DEBUG : dir/file1(0x1d00440b93c0): _writeAt: size=14, off=0 2026/06/05 05:28:29 DEBUG : dir/file1(0x1d00440b93c0): >_writeAt: n=14, err= 2026/06/05 05:28:29 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/06/05 05:28:29 DEBUG : dir/file1(0x1d00440b93c0): close: 2026/06/05 05:28:29 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/06/05 05:28:29 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/06/05 05:28:29 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/06/05 05:28:29 DEBUG : dir/file1(0x1d00440b93c0): >close: err= 2026/06/05 05:28:29 DEBUG : WaitForWriters: timeout=30s 2026/06/05 05:28:29 DEBUG : dir: Looking for writers 2026/06/05 05:28:29 DEBUG : file1: reading active writers 2026/06/05 05:28:29 DEBUG : Looking for writers 2026/06/05 05:28:29 DEBUG : dir: reading active writers 2026/06/05 05:28:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/06/05 05:28:29 DEBUG : dir: Looking for writers 2026/06/05 05:28:29 DEBUG : file1: reading active writers 2026/06/05 05:28:29 DEBUG : Looking for writers 2026/06/05 05:28:29 DEBUG : dir: reading active writers 2026/06/05 05:28:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/06/05 05:28:29 DEBUG : dir: Looking for writers 2026/06/05 05:28:29 DEBUG : file1: reading active writers 2026/06/05 05:28:29 DEBUG : Looking for writers 2026/06/05 05:28:29 DEBUG : dir: reading active writers 2026/06/05 05:28:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/06/05 05:28:29 DEBUG : dir: Looking for writers 2026/06/05 05:28:29 DEBUG : file1: reading active writers 2026/06/05 05:28:29 DEBUG : Looking for writers 2026/06/05 05:28:29 DEBUG : dir: reading active writers 2026/06/05 05:28:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/06/05 05:28:29 DEBUG : dir/file1: vfs cache: starting upload 2026/06/05 05:28:29 DEBUG : dir: Looking for writers 2026/06/05 05:28:29 DEBUG : file1: reading active writers 2026/06/05 05:28:29 DEBUG : Looking for writers 2026/06/05 05:28:29 DEBUG : dir: reading active writers 2026/06/05 05:28:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/06/05 05:28:29 DEBUG : dir: Looking for writers 2026/06/05 05:28:29 DEBUG : file1: reading active writers 2026/06/05 05:28:29 DEBUG : Looking for writers 2026/06/05 05:28:29 DEBUG : dir: reading active writers 2026/06/05 05:28:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/06/05 05:28:30 DEBUG : dir/file1: size = 14 OK 2026/06/05 05:28:30 INFO : dir/file1: Copied (replaced existing) 2026/06/05 05:28:30 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/06/05 05:28:30 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/06/05 05:28:30 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/06/05 05:28:30 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/06/05 05:28:30 DEBUG : dir: Looking for writers 2026/06/05 05:28:30 DEBUG : file1: reading active writers 2026/06/05 05:28:30 DEBUG : Looking for writers 2026/06/05 05:28:30 DEBUG : dir: reading active writers 2026/06/05 05:28:30 DEBUG : >WaitForWriters: 2026/06/05 05:28:30 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/06/05 05:28:30 DEBUG : dir/file1: newRWFileHandle: 2026/06/05 05:28:30 DEBUG : dir/file1: >newRWFileHandle: err= 2026/06/05 05:28:30 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/06/05 05:28:30 DEBUG : dir/file1(0x1d00444bb680): _readAt: size=512, off=0 2026/06/05 05:28:30 DEBUG : dir/file1(0x1d00444bb680): openPending: 2026/06/05 05:28:30 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/06/05 05:28:30 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/06/05 05:28:30 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/06/05 05:28:30 DEBUG : dir/file1(0x1d00444bb680): >openPending: err= 2026/06/05 05:28:30 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/06/05 05:28:30 DEBUG : dir/file1(0x1d00444bb680): >_readAt: n=14, err=EOF 2026/06/05 05:28:30 DEBUG : dir/file1(0x1d00444bb680): close: 2026/06/05 05:28:30 DEBUG : dir/file1(0x1d00444bb680): >close: err= 2026/06/05 05:28:30 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/06/05 05:28:30 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/06/05 05:28:30 DEBUG : newLeaf: Updating file with newLeaf 0x1d0047f5b380 2026/06/05 05:28:30 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/06/05 05:28:30 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/06/05 05:28:31 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/06/05 05:28:31 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/06/05 05:28:31 DEBUG : dir/file1: Updating file with dir/file1 0x1d0047f5b380 2026/06/05 05:28:31 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/06/05 05:28:31 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/06/05 05:28:31 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/06/05 05:28:31 DEBUG : dir/file1: newRWFileHandle: 2026/06/05 05:28:31 DEBUG : dir/file1(0x1d00481b3d40): openPending: 2026/06/05 05:28:31 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/06/05 05:28:31 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/06/05 05:28:31 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/06/05 05:28:31 DEBUG : dir/file1(0x1d00481b3d40): >openPending: err= 2026/06/05 05:28:31 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/06/05 05:28:31 DEBUG : dir/file1: >newRWFileHandle: err= 2026/06/05 05:28:31 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/06/05 05:28:31 DEBUG : dir/file1(0x1d00481b3d40): _writeAt: size=25, off=0 2026/06/05 05:28:31 DEBUG : dir/file1(0x1d00481b3d40): >_writeAt: n=25, err= 2026/06/05 05:28:34 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/06/05 05:28:34 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/06/05 05:28:34 DEBUG : newLeaf: Updating file with newLeaf 0x1d0047f5b380 2026/06/05 05:28:34 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/06/05 05:28:34 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/06/05 05:28:34 DEBUG : newLeaf(0x1d00481b3d40): close: 2026/06/05 05:28:34 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/06/05 05:28:34 DEBUG : newLeaf: vfs cache: setting modification time to 2026-06-05 05:28:31.873936084 +0000 UTC m=+36.270256956 2026/06/05 05:28:34 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/06/05 05:28:34 DEBUG : newLeaf(0x1d00481b3d40): >close: err= 2026/06/05 05:28:34 DEBUG : WaitForWriters: timeout=30s 2026/06/05 05:28:34 DEBUG : dir: Looking for writers 2026/06/05 05:28:34 DEBUG : Looking for writers 2026/06/05 05:28:34 DEBUG : dir: reading active writers 2026/06/05 05:28:34 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/06/05 05:28:34 DEBUG : dir: Looking for writers 2026/06/05 05:28:34 DEBUG : Looking for writers 2026/06/05 05:28:34 DEBUG : dir: reading active writers 2026/06/05 05:28:34 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/06/05 05:28:34 DEBUG : dir: Looking for writers 2026/06/05 05:28:34 DEBUG : Looking for writers 2026/06/05 05:28:34 DEBUG : dir: reading active writers 2026/06/05 05:28:34 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/06/05 05:28:34 DEBUG : dir: Looking for writers 2026/06/05 05:28:34 DEBUG : Looking for writers 2026/06/05 05:28:34 DEBUG : dir: reading active writers 2026/06/05 05:28:34 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/06/05 05:28:34 DEBUG : newLeaf: vfs cache: starting upload 2026/06/05 05:28:34 DEBUG : dir: Looking for writers 2026/06/05 05:28:34 DEBUG : Looking for writers 2026/06/05 05:28:34 DEBUG : dir: reading active writers 2026/06/05 05:28:34 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/06/05 05:28:34 DEBUG : dir: Looking for writers 2026/06/05 05:28:34 DEBUG : Looking for writers 2026/06/05 05:28:34 DEBUG : dir: reading active writers 2026/06/05 05:28:34 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/06/05 05:28:34 DEBUG : newLeaf: size = 25 OK 2026/06/05 05:28:34 INFO : newLeaf: Copied (replaced existing) 2026/06/05 05:28:34 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/06/05 05:28:34 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/06/05 05:28:34 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/06/05 05:28:34 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/06/05 05:28:34 DEBUG : dir: Looking for writers 2026/06/05 05:28:34 DEBUG : Looking for writers 2026/06/05 05:28:34 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:34 DEBUG : dir: reading active writers 2026/06/05 05:28:34 DEBUG : >WaitForWriters: 2026/06/05 05:28:34 DEBUG : WaitForWriters: timeout=30s 2026/06/05 05:28:34 DEBUG : dir: Looking for writers 2026/06/05 05:28:34 DEBUG : Looking for writers 2026/06/05 05:28:34 DEBUG : dir: reading active writers 2026/06/05 05:28:34 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:34 DEBUG : >WaitForWriters: 2026/06/05 05:28:34 DEBUG : mega root 'rclone-test-momotup9moju': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:198: Remote "mega root 'rclone-test-momotup9moju'", Local "Local file system at /tmp/rclone3562184149", Modify Window "876000h0m0s" 2026/06/05 05:28:38 INFO : mega root 'rclone-test-momotup9moju': poll-interval is not supported by this remote 2026/06/05 05:28:38 DEBUG : mega root 'rclone-test-momotup9moju': vfs cache: root is "/home/rclone/.cache/rclone" 2026/06/05 05:28:38 DEBUG : mega root 'rclone-test-momotup9moju': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:38 DEBUG : mega root 'rclone-test-momotup9moju': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:38 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/06/05 05:28:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-momotup9moju" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:38 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/06/05 05:28:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-momotup9moju" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:38 INFO : mega root 'rclone-test-momotup9moju': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/06/05 05:28:38 DEBUG : WaitForWriters: timeout=30s 2026/06/05 05:28:38 DEBUG : dir: Looking for writers 2026/06/05 05:28:38 DEBUG : file1: reading active writers 2026/06/05 05:28:38 DEBUG : Looking for writers 2026/06/05 05:28:38 DEBUG : dir: reading active writers 2026/06/05 05:28:38 DEBUG : >WaitForWriters: 2026/06/05 05:28:39 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/06/05 05:28:39 DEBUG : newLeaf: Updating file with newLeaf 0x1d00493b7790 2026/06/05 05:28:39 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/06/05 05:28:39 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/06/05 05:28:40 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/06/05 05:28:40 DEBUG : dir/file1: Updating file with dir/file1 0x1d00493b7790 2026/06/05 05:28:40 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/06/05 05:28:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/06/05 05:28:40 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/06/05 05:28:40 DEBUG : dir/file1: newRWFileHandle: 2026/06/05 05:28:40 DEBUG : dir/file1(0x1d00483b8e40): openPending: 2026/06/05 05:28:40 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/06/05 05:28:40 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/06/05 05:28:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/06/05 05:28:40 DEBUG : dir/file1(0x1d00483b8e40): >openPending: err= 2026/06/05 05:28:40 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/06/05 05:28:40 DEBUG : dir/file1: >newRWFileHandle: err= 2026/06/05 05:28:40 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/06/05 05:28:40 DEBUG : dir/file1(0x1d00483b8e40): _writeAt: size=25, off=0 2026/06/05 05:28:40 DEBUG : dir/file1(0x1d00483b8e40): >_writeAt: n=25, err= 2026/06/05 05:28:41 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/06/05 05:28:41 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/06/05 05:28:41 DEBUG : newLeaf: Updating file with newLeaf 0x1d00493b7790 2026/06/05 05:28:41 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/06/05 05:28:41 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/06/05 05:28:41 DEBUG : newLeaf(0x1d00483b8e40): close: 2026/06/05 05:28:41 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/06/05 05:28:41 DEBUG : newLeaf: vfs cache: setting modification time to 2026-06-05 05:28:40.488281558 +0000 UTC m=+44.884602429 2026/06/05 05:28:41 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/06/05 05:28:41 DEBUG : newLeaf(0x1d00483b8e40): >close: err= 2026/06/05 05:28:41 DEBUG : WaitForWriters: timeout=30s 2026/06/05 05:28:41 DEBUG : dir: Looking for writers 2026/06/05 05:28:41 DEBUG : Looking for writers 2026/06/05 05:28:41 DEBUG : dir: reading active writers 2026/06/05 05:28:41 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/06/05 05:28:41 DEBUG : dir: Looking for writers 2026/06/05 05:28:41 DEBUG : Looking for writers 2026/06/05 05:28:41 DEBUG : dir: reading active writers 2026/06/05 05:28:41 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/06/05 05:28:41 DEBUG : dir: Looking for writers 2026/06/05 05:28:41 DEBUG : Looking for writers 2026/06/05 05:28:41 DEBUG : dir: reading active writers 2026/06/05 05:28:41 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/06/05 05:28:41 DEBUG : dir: Looking for writers 2026/06/05 05:28:41 DEBUG : Looking for writers 2026/06/05 05:28:41 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:41 DEBUG : dir: reading active writers 2026/06/05 05:28:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/06/05 05:28:41 DEBUG : newLeaf: vfs cache: starting upload 2026/06/05 05:28:41 DEBUG : dir: Looking for writers 2026/06/05 05:28:41 DEBUG : Looking for writers 2026/06/05 05:28:41 DEBUG : dir: reading active writers 2026/06/05 05:28:41 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/06/05 05:28:41 DEBUG : dir: Looking for writers 2026/06/05 05:28:41 DEBUG : Looking for writers 2026/06/05 05:28:41 DEBUG : dir: reading active writers 2026/06/05 05:28:41 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/06/05 05:28:41 DEBUG : newLeaf: size = 25 OK 2026/06/05 05:28:41 INFO : newLeaf: Copied (replaced existing) 2026/06/05 05:28:41 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/06/05 05:28:41 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/06/05 05:28:41 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/06/05 05:28:41 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/06/05 05:28:42 DEBUG : dir: Looking for writers 2026/06/05 05:28:42 DEBUG : Looking for writers 2026/06/05 05:28:42 DEBUG : dir: reading active writers 2026/06/05 05:28:42 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:42 DEBUG : >WaitForWriters: 2026/06/05 05:28:42 DEBUG : WaitForWriters: timeout=30s 2026/06/05 05:28:42 DEBUG : dir: Looking for writers 2026/06/05 05:28:42 DEBUG : Looking for writers 2026/06/05 05:28:42 DEBUG : dir: reading active writers 2026/06/05 05:28:42 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:42 DEBUG : >WaitForWriters: 2026/06/05 05:28:42 DEBUG : mega root 'rclone-test-momotup9moju': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:198: Remote "mega root 'rclone-test-momotup9moju'", Local "Local file system at /tmp/rclone3562184149", Modify Window "876000h0m0s" 2026/06/05 05:28:42 INFO : mega root 'rclone-test-momotup9moju': poll-interval is not supported by this remote 2026/06/05 05:28:42 DEBUG : mega root 'rclone-test-momotup9moju': vfs cache: root is "/home/rclone/.cache/rclone" 2026/06/05 05:28:42 DEBUG : mega root 'rclone-test-momotup9moju': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:42 DEBUG : mega root 'rclone-test-momotup9moju': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/06/05 05:28:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-momotup9moju" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/06/05 05:28:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-momotup9moju" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:42 INFO : mega root 'rclone-test-momotup9moju': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/06/05 05:28:43 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/06/05 05:28:43 DEBUG : dir/file1: newRWFileHandle: 2026/06/05 05:28:43 DEBUG : dir/file1(0x1d00483b9a40): openPending: 2026/06/05 05:28:43 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/06/05 05:28:43 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/06/05 05:28:43 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/06/05 05:28:43 DEBUG : dir/file1(0x1d00483b9a40): >openPending: err= 2026/06/05 05:28:43 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/06/05 05:28:43 DEBUG : dir/file1: >newRWFileHandle: err= 2026/06/05 05:28:43 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/06/05 05:28:43 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/06/05 05:28:43 DEBUG : dir/file1(0x1d00483b9a40): _writeAt: size=14, off=0 2026/06/05 05:28:43 DEBUG : dir/file1(0x1d00483b9a40): >_writeAt: n=14, err= 2026/06/05 05:28:43 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/06/05 05:28:43 DEBUG : dir/file1(0x1d00483b9a40): close: 2026/06/05 05:28:43 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/06/05 05:28:43 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/06/05 05:28:43 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/06/05 05:28:43 DEBUG : dir/file1(0x1d00483b9a40): >close: err= 2026/06/05 05:28:43 DEBUG : WaitForWriters: timeout=30s 2026/06/05 05:28:43 DEBUG : dir: Looking for writers 2026/06/05 05:28:43 DEBUG : file1: reading active writers 2026/06/05 05:28:43 DEBUG : Looking for writers 2026/06/05 05:28:43 DEBUG : dir: reading active writers 2026/06/05 05:28:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/06/05 05:28:43 DEBUG : dir: Looking for writers 2026/06/05 05:28:43 DEBUG : file1: reading active writers 2026/06/05 05:28:43 DEBUG : Looking for writers 2026/06/05 05:28:43 DEBUG : dir: reading active writers 2026/06/05 05:28:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/06/05 05:28:43 DEBUG : dir: Looking for writers 2026/06/05 05:28:43 DEBUG : file1: reading active writers 2026/06/05 05:28:43 DEBUG : Looking for writers 2026/06/05 05:28:43 DEBUG : dir: reading active writers 2026/06/05 05:28:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/06/05 05:28:43 DEBUG : dir: Looking for writers 2026/06/05 05:28:43 DEBUG : file1: reading active writers 2026/06/05 05:28:43 DEBUG : Looking for writers 2026/06/05 05:28:43 DEBUG : dir: reading active writers 2026/06/05 05:28:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/06/05 05:28:43 DEBUG : dir/file1: vfs cache: starting upload 2026/06/05 05:28:43 DEBUG : dir: Looking for writers 2026/06/05 05:28:43 DEBUG : file1: reading active writers 2026/06/05 05:28:43 DEBUG : Looking for writers 2026/06/05 05:28:43 DEBUG : dir: reading active writers 2026/06/05 05:28:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/06/05 05:28:43 DEBUG : dir: Looking for writers 2026/06/05 05:28:43 DEBUG : file1: reading active writers 2026/06/05 05:28:43 DEBUG : Looking for writers 2026/06/05 05:28:43 DEBUG : dir: reading active writers 2026/06/05 05:28:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/06/05 05:28:44 DEBUG : dir/file1: size = 14 OK 2026/06/05 05:28:44 INFO : dir/file1: Copied (replaced existing) 2026/06/05 05:28:44 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/06/05 05:28:44 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/06/05 05:28:44 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/06/05 05:28:44 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/06/05 05:28:44 DEBUG : dir: Looking for writers 2026/06/05 05:28:44 DEBUG : file1: reading active writers 2026/06/05 05:28:44 DEBUG : Looking for writers 2026/06/05 05:28:44 DEBUG : dir: reading active writers 2026/06/05 05:28:44 DEBUG : >WaitForWriters: 2026/06/05 05:28:44 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/06/05 05:28:44 DEBUG : dir/file1: newRWFileHandle: 2026/06/05 05:28:44 DEBUG : dir/file1: >newRWFileHandle: err= 2026/06/05 05:28:44 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/06/05 05:28:44 DEBUG : dir/file1(0x1d0049413000): _readAt: size=512, off=0 2026/06/05 05:28:44 DEBUG : dir/file1(0x1d0049413000): openPending: 2026/06/05 05:28:44 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/06/05 05:28:44 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/06/05 05:28:44 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/06/05 05:28:44 DEBUG : dir/file1(0x1d0049413000): >openPending: err= 2026/06/05 05:28:44 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/06/05 05:28:44 DEBUG : dir/file1(0x1d0049413000): >_readAt: n=14, err=EOF 2026/06/05 05:28:44 DEBUG : dir/file1(0x1d0049413000): close: 2026/06/05 05:28:44 DEBUG : dir/file1(0x1d0049413000): >close: err= 2026/06/05 05:28:45 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/06/05 05:28:45 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/06/05 05:28:45 DEBUG : newLeaf: Updating file with newLeaf 0x1d00483fe820 2026/06/05 05:28:45 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/06/05 05:28:45 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/06/05 05:28:45 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/06/05 05:28:45 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/06/05 05:28:45 DEBUG : dir/file1: Updating file with dir/file1 0x1d00483fe820 2026/06/05 05:28:45 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/06/05 05:28:45 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/06/05 05:28:45 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/06/05 05:28:45 DEBUG : dir/file1: newRWFileHandle: 2026/06/05 05:28:45 DEBUG : dir/file1(0x1d00494e6c40): openPending: 2026/06/05 05:28:45 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/06/05 05:28:45 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/06/05 05:28:45 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/06/05 05:28:45 DEBUG : dir/file1(0x1d00494e6c40): >openPending: err= 2026/06/05 05:28:45 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/06/05 05:28:45 DEBUG : dir/file1: >newRWFileHandle: err= 2026/06/05 05:28:45 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/06/05 05:28:45 DEBUG : dir/file1(0x1d00494e6c40): _writeAt: size=25, off=0 2026/06/05 05:28:45 DEBUG : dir/file1(0x1d00494e6c40): >_writeAt: n=25, err= 2026/06/05 05:28:46 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/06/05 05:28:46 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/06/05 05:28:46 DEBUG : newLeaf: Updating file with newLeaf 0x1d00483fe820 2026/06/05 05:28:46 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/06/05 05:28:46 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/06/05 05:28:46 DEBUG : newLeaf(0x1d00494e6c40): close: 2026/06/05 05:28:46 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/06/05 05:28:46 DEBUG : newLeaf: vfs cache: setting modification time to 2026-06-05 05:28:45.931259316 +0000 UTC m=+50.327580188 2026/06/05 05:28:46 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/06/05 05:28:46 DEBUG : newLeaf(0x1d00494e6c40): >close: err= 2026/06/05 05:28:46 DEBUG : WaitForWriters: timeout=30s 2026/06/05 05:28:46 DEBUG : dir: Looking for writers 2026/06/05 05:28:46 DEBUG : Looking for writers 2026/06/05 05:28:46 DEBUG : dir: reading active writers 2026/06/05 05:28:46 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/06/05 05:28:46 DEBUG : dir: Looking for writers 2026/06/05 05:28:46 DEBUG : Looking for writers 2026/06/05 05:28:46 DEBUG : dir: reading active writers 2026/06/05 05:28:46 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/06/05 05:28:46 DEBUG : dir: Looking for writers 2026/06/05 05:28:46 DEBUG : Looking for writers 2026/06/05 05:28:46 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:46 DEBUG : dir: reading active writers 2026/06/05 05:28:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/06/05 05:28:46 DEBUG : dir: Looking for writers 2026/06/05 05:28:46 DEBUG : Looking for writers 2026/06/05 05:28:46 DEBUG : dir: reading active writers 2026/06/05 05:28:46 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/06/05 05:28:46 DEBUG : newLeaf: vfs cache: starting upload 2026/06/05 05:28:46 DEBUG : dir: Looking for writers 2026/06/05 05:28:46 DEBUG : Looking for writers 2026/06/05 05:28:46 DEBUG : dir: reading active writers 2026/06/05 05:28:46 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/06/05 05:28:47 DEBUG : dir: Looking for writers 2026/06/05 05:28:47 DEBUG : Looking for writers 2026/06/05 05:28:47 DEBUG : dir: reading active writers 2026/06/05 05:28:47 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/06/05 05:28:47 DEBUG : newLeaf: size = 25 OK 2026/06/05 05:28:47 INFO : newLeaf: Copied (replaced existing) 2026/06/05 05:28:47 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/06/05 05:28:47 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/06/05 05:28:47 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/06/05 05:28:47 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/06/05 05:28:47 DEBUG : dir: Looking for writers 2026/06/05 05:28:47 DEBUG : Looking for writers 2026/06/05 05:28:47 DEBUG : dir: reading active writers 2026/06/05 05:28:47 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:47 DEBUG : >WaitForWriters: 2026/06/05 05:28:47 DEBUG : WaitForWriters: timeout=30s 2026/06/05 05:28:47 DEBUG : dir: Looking for writers 2026/06/05 05:28:47 DEBUG : Looking for writers 2026/06/05 05:28:47 DEBUG : dir: reading active writers 2026/06/05 05:28:47 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:47 DEBUG : >WaitForWriters: 2026/06/05 05:28:47 DEBUG : mega root 'rclone-test-momotup9moju': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:198: Remote "mega root 'rclone-test-momotup9moju'", Local "Local file system at /tmp/rclone3562184149", Modify Window "876000h0m0s" 2026/06/05 05:28:48 INFO : mega root 'rclone-test-momotup9moju': poll-interval is not supported by this remote 2026/06/05 05:28:48 DEBUG : mega root 'rclone-test-momotup9moju': vfs cache: root is "/home/rclone/.cache/rclone" 2026/06/05 05:28:48 DEBUG : mega root 'rclone-test-momotup9moju': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:48 DEBUG : mega root 'rclone-test-momotup9moju': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/06/05 05:28:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-momotup9moju" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/06/05 05:28:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-momotup9moju" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-momotup9moju" 2026/06/05 05:28:48 INFO : mega root 'rclone-test-momotup9moju': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/06/05 05:28:48 DEBUG : WaitForWriters: timeout=30s 2026/06/05 05:28:48 DEBUG : dir: Looking for writers 2026/06/05 05:28:48 DEBUG : file1: reading active writers 2026/06/05 05:28:48 DEBUG : Looking for writers 2026/06/05 05:28:48 DEBUG : dir: reading active writers 2026/06/05 05:28:48 DEBUG : >WaitForWriters: 2026/06/05 05:28:48 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/06/05 05:28:48 DEBUG : dir/file1: newRWFileHandle: 2026/06/05 05:28:48 DEBUG : dir/file1: >newRWFileHandle: err= 2026/06/05 05:28:48 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/06/05 05:28:48 DEBUG : dir/file1(0x1d00484d3080): _readAt: size=512, off=0 2026/06/05 05:28:48 DEBUG : dir/file1(0x1d00484d3080): openPending: 2026/06/05 05:28:48 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/06/05 05:28:48 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/06/05 05:28:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/06/05 05:28:48 DEBUG : dir/file1(0x1d00484d3080): >openPending: err= 2026/06/05 05:28:48 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2026/06/05 05:28:48 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/06/05 05:28:48 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/06/05 05:28:48 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/06/05 05:28:48 DEBUG : dir/file1(0x1d00484d3080): >_readAt: n=14, err=EOF 2026/06/05 05:28:48 DEBUG : dir/file1(0x1d00484d3080): close: 2026/06/05 05:28:48 DEBUG : dir/file1(0x1d00484d3080): >close: err= 2026/06/05 05:28:49 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/06/05 05:28:49 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/06/05 05:28:49 DEBUG : newLeaf: Updating file with newLeaf 0x1d00484c1d40 2026/06/05 05:28:49 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/06/05 05:28:49 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/06/05 05:28:51 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/06/05 05:28:51 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/06/05 05:28:51 DEBUG : dir/file1: Updating file with dir/file1 0x1d00484c1d40 2026/06/05 05:28:51 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/06/05 05:28:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/06/05 05:28:51 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/06/05 05:28:51 DEBUG : dir/file1: newRWFileHandle: 2026/06/05 05:28:51 DEBUG : dir/file1(0x1d0048513d80): openPending: 2026/06/05 05:28:51 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/06/05 05:28:51 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/06/05 05:28:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/06/05 05:28:51 DEBUG : dir/file1(0x1d0048513d80): >openPending: err= 2026/06/05 05:28:51 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/06/05 05:28:51 DEBUG : dir/file1: >newRWFileHandle: err= 2026/06/05 05:28:51 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/06/05 05:28:51 DEBUG : dir/file1(0x1d0048513d80): _writeAt: size=25, off=0 2026/06/05 05:28:51 DEBUG : dir/file1(0x1d0048513d80): >_writeAt: n=25, err= 2026/06/05 05:28:52 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/06/05 05:28:52 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/06/05 05:28:52 DEBUG : newLeaf: Updating file with newLeaf 0x1d00484c1d40 2026/06/05 05:28:52 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/06/05 05:28:52 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/06/05 05:28:52 DEBUG : newLeaf(0x1d0048513d80): close: 2026/06/05 05:28:52 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/06/05 05:28:52 DEBUG : newLeaf: vfs cache: setting modification time to 2026-06-05 05:28:51.798836666 +0000 UTC m=+56.195157526 2026/06/05 05:28:52 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/06/05 05:28:52 DEBUG : newLeaf(0x1d0048513d80): >close: err= 2026/06/05 05:28:52 DEBUG : WaitForWriters: timeout=30s 2026/06/05 05:28:52 DEBUG : dir: Looking for writers 2026/06/05 05:28:52 DEBUG : Looking for writers 2026/06/05 05:28:52 DEBUG : dir: reading active writers 2026/06/05 05:28:52 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/06/05 05:28:52 DEBUG : dir: Looking for writers 2026/06/05 05:28:52 DEBUG : Looking for writers 2026/06/05 05:28:52 DEBUG : dir: reading active writers 2026/06/05 05:28:52 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/06/05 05:28:52 DEBUG : dir: Looking for writers 2026/06/05 05:28:52 DEBUG : Looking for writers 2026/06/05 05:28:52 DEBUG : dir: reading active writers 2026/06/05 05:28:52 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/06/05 05:28:52 DEBUG : dir: Looking for writers 2026/06/05 05:28:52 DEBUG : Looking for writers 2026/06/05 05:28:52 DEBUG : dir: reading active writers 2026/06/05 05:28:52 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/06/05 05:28:52 DEBUG : newLeaf: vfs cache: starting upload 2026/06/05 05:28:52 DEBUG : dir: Looking for writers 2026/06/05 05:28:52 DEBUG : Looking for writers 2026/06/05 05:28:52 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:52 DEBUG : dir: reading active writers 2026/06/05 05:28:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/06/05 05:28:52 DEBUG : dir: Looking for writers 2026/06/05 05:28:52 DEBUG : Looking for writers 2026/06/05 05:28:52 DEBUG : dir: reading active writers 2026/06/05 05:28:52 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/06/05 05:28:52 DEBUG : newLeaf: size = 25 OK 2026/06/05 05:28:52 INFO : newLeaf: Copied (replaced existing) 2026/06/05 05:28:52 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/06/05 05:28:52 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/06/05 05:28:52 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/06/05 05:28:52 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/06/05 05:28:53 DEBUG : dir: Looking for writers 2026/06/05 05:28:53 DEBUG : Looking for writers 2026/06/05 05:28:53 DEBUG : dir: reading active writers 2026/06/05 05:28:53 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:53 DEBUG : >WaitForWriters: 2026/06/05 05:28:53 DEBUG : WaitForWriters: timeout=30s 2026/06/05 05:28:53 DEBUG : dir: Looking for writers 2026/06/05 05:28:53 DEBUG : Looking for writers 2026/06/05 05:28:53 DEBUG : newLeaf: reading active writers 2026/06/05 05:28:53 DEBUG : dir: reading active writers 2026/06/05 05:28:53 DEBUG : >WaitForWriters: 2026/06/05 05:28:53 DEBUG : mega root 'rclone-test-momotup9moju': vfs cache: cleaner exiting --- PASS: TestFileRename (46.86s) --- PASS: TestFileRename/off,forceCache=false (4.30s) --- PASS: TestFileRename/minimal,forceCache=false (7.45s) --- PASS: TestFileRename/minimal,forceCache=true (9.27s) --- PASS: TestFileRename/writes,forceCache=false (4.43s) --- PASS: TestFileRename/writes,forceCache=true (5.22s) --- PASS: TestFileRename/full,forceCache=false (16.20s) PASS 2026/06/05 05:29:04 DEBUG : mega root 'rclone-test-momotup9moju': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestDirMkdirSub$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished OK in 1m9.353107792s (try 2/5)