"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 3/5) 2025/12/29 05:21:19 DEBUG : Creating backend with remote "TestMega:rclone-test-sisiwap8hudo" 2025/12/29 05:21:19 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/12/29 05:21:19 DEBUG : mega root 'rclone-test-sisiwap8hudo': Using previously stored session ID and master key to initialize the Mega API 2025/12/29 05:21:33 DEBUG : Creating backend with remote "/tmp/rclone3593404555" === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:185: Remote "mega root 'rclone-test-sisiwap8hudo'", Local "Local file system at /tmp/rclone3593404555", Modify Window "876000h0m0s" 2025/12/29 05:21:33 INFO : mega root 'rclone-test-sisiwap8hudo': poll-interval is not supported by this remote 2025/12/29 05:21:33 NOTICE: mega root 'rclone-test-sisiwap8hudo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/29 05:21:33 DEBUG : WaitForWriters: timeout=30s 2025/12/29 05:21:33 DEBUG : dir: Looking for writers 2025/12/29 05:21:33 DEBUG : file1: reading active writers 2025/12/29 05:21:33 DEBUG : Looking for writers 2025/12/29 05:21:33 DEBUG : dir: reading active writers 2025/12/29 05:21:33 DEBUG : >WaitForWriters: 2025/12/29 05:21:34 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/29 05:21:34 DEBUG : newLeaf: Updating file with newLeaf 0xc00064e480 2025/12/29 05:21:34 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/29 05:21:34 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/29 05:21:35 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/12/29 05:21:35 DEBUG : dir/file1: Updating file with dir/file1 0xc00064e480 2025/12/29 05:21:35 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/12/29 05:21:35 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/29 05:21:35 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/12/29 05:21:35 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/12/29 05:21:35 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/29 05:21:35 DEBUG : dir/file1: File is currently open, delaying rename 0xc00064e480 2025/12/29 05:21:35 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/29 05:21:35 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/29 05:21:35 DEBUG : mega root 'rclone-test-sisiwap8hudo': File to upload is small (25 bytes), uploading instead of streaming 2025/12/29 05:21:35 DEBUG : dir/file1: size = 25 OK 2025/12/29 05:21:35 NOTICE: mega root 'rclone-test-sisiwap8hudo': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2025/12/29 05:21:35 DEBUG : dir/file1: Size of src and dst objects identical 2025/12/29 05:21:35 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/29 05:21:35 DEBUG : newLeaf: Running delayed rename now 2025/12/29 05:21:36 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/29 05:21:36 DEBUG : newLeaf: Updating file with newLeaf 0xc00064e480 2025/12/29 05:21:36 DEBUG : WaitForWriters: timeout=30s 2025/12/29 05:21:36 DEBUG : dir: Looking for writers 2025/12/29 05:21:36 DEBUG : Looking for writers 2025/12/29 05:21:36 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:36 DEBUG : dir: reading active writers 2025/12/29 05:21:36 DEBUG : >WaitForWriters: 2025/12/29 05:21:36 DEBUG : WaitForWriters: timeout=30s 2025/12/29 05:21:36 DEBUG : dir: Looking for writers 2025/12/29 05:21:36 DEBUG : Looking for writers 2025/12/29 05:21:36 DEBUG : dir: reading active writers 2025/12/29 05:21:36 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:36 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:185: Remote "mega root 'rclone-test-sisiwap8hudo'", Local "Local file system at /tmp/rclone3593404555", Modify Window "876000h0m0s" 2025/12/29 05:21:36 INFO : mega root 'rclone-test-sisiwap8hudo': poll-interval is not supported by this remote 2025/12/29 05:21:36 NOTICE: mega root 'rclone-test-sisiwap8hudo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/29 05:21:36 DEBUG : mega root 'rclone-test-sisiwap8hudo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/29 05:21:36 DEBUG : mega root 'rclone-test-sisiwap8hudo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:36 DEBUG : mega root 'rclone-test-sisiwap8hudo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/29 05:21:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sisiwap8hudo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/29 05:21:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sisiwap8hudo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:36 INFO : mega root 'rclone-test-sisiwap8hudo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/29 05:21:36 DEBUG : WaitForWriters: timeout=30s 2025/12/29 05:21:36 DEBUG : dir: Looking for writers 2025/12/29 05:21:36 DEBUG : file1: reading active writers 2025/12/29 05:21:36 DEBUG : Looking for writers 2025/12/29 05:21:36 DEBUG : dir: reading active writers 2025/12/29 05:21:36 DEBUG : >WaitForWriters: 2025/12/29 05:21:37 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/29 05:21:37 DEBUG : newLeaf: Updating file with newLeaf 0xc003834300 2025/12/29 05:21:37 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/29 05:21:37 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/29 05:21:38 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/12/29 05:21:38 DEBUG : dir/file1: Updating file with dir/file1 0xc003834300 2025/12/29 05:21:38 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/12/29 05:21:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/29 05:21:38 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/12/29 05:21:38 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/12/29 05:21:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/29 05:21:38 DEBUG : dir/file1: File is currently open, delaying rename 0xc003834300 2025/12/29 05:21:38 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/29 05:21:38 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/29 05:21:38 DEBUG : mega root 'rclone-test-sisiwap8hudo': File to upload is small (25 bytes), uploading instead of streaming 2025/12/29 05:21:38 DEBUG : dir/file1: size = 25 OK 2025/12/29 05:21:38 DEBUG : dir/file1: Size of src and dst objects identical 2025/12/29 05:21:38 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/29 05:21:38 DEBUG : newLeaf: Running delayed rename now 2025/12/29 05:21:39 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/29 05:21:39 DEBUG : newLeaf: Updating file with newLeaf 0xc003834300 2025/12/29 05:21:39 DEBUG : WaitForWriters: timeout=30s 2025/12/29 05:21:39 DEBUG : dir: Looking for writers 2025/12/29 05:21:39 DEBUG : Looking for writers 2025/12/29 05:21:39 DEBUG : dir: reading active writers 2025/12/29 05:21:39 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:39 DEBUG : >WaitForWriters: 2025/12/29 05:21:39 DEBUG : WaitForWriters: timeout=30s 2025/12/29 05:21:39 DEBUG : dir: Looking for writers 2025/12/29 05:21:39 DEBUG : Looking for writers 2025/12/29 05:21:39 DEBUG : dir: reading active writers 2025/12/29 05:21:39 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:39 DEBUG : >WaitForWriters: 2025/12/29 05:21:39 DEBUG : mega root 'rclone-test-sisiwap8hudo': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:185: Remote "mega root 'rclone-test-sisiwap8hudo'", Local "Local file system at /tmp/rclone3593404555", Modify Window "876000h0m0s" 2025/12/29 05:21:40 INFO : mega root 'rclone-test-sisiwap8hudo': poll-interval is not supported by this remote 2025/12/29 05:21:40 NOTICE: mega root 'rclone-test-sisiwap8hudo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/29 05:21:40 DEBUG : mega root 'rclone-test-sisiwap8hudo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/29 05:21:40 DEBUG : mega root 'rclone-test-sisiwap8hudo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:40 DEBUG : mega root 'rclone-test-sisiwap8hudo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/29 05:21:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sisiwap8hudo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/29 05:21:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sisiwap8hudo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:40 INFO : mega root 'rclone-test-sisiwap8hudo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/29 05:21:40 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/12/29 05:21:40 DEBUG : dir/file1: newRWFileHandle: 2025/12/29 05:21:40 DEBUG : dir/file1(0xc000625b80): openPending: 2025/12/29 05:21:40 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/12/29 05:21:40 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/12/29 05:21:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/29 05:21:40 DEBUG : dir/file1(0xc000625b80): >openPending: err= 2025/12/29 05:21:40 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/12/29 05:21:40 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/29 05:21:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/29 05:21:40 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/29 05:21:40 DEBUG : dir/file1(0xc000625b80): _writeAt: size=14, off=0 2025/12/29 05:21:40 DEBUG : dir/file1(0xc000625b80): >_writeAt: n=14, err= 2025/12/29 05:21:40 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/12/29 05:21:40 DEBUG : dir/file1(0xc000625b80): close: 2025/12/29 05:21:40 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/12/29 05:21:40 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/12/29 05:21:40 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/12/29 05:21:40 DEBUG : dir/file1(0xc000625b80): >close: err= 2025/12/29 05:21:40 DEBUG : WaitForWriters: timeout=30s 2025/12/29 05:21:40 DEBUG : dir: Looking for writers 2025/12/29 05:21:40 DEBUG : file1: reading active writers 2025/12/29 05:21:40 DEBUG : Looking for writers 2025/12/29 05:21:40 DEBUG : dir: reading active writers 2025/12/29 05:21:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/29 05:21:40 DEBUG : dir: Looking for writers 2025/12/29 05:21:40 DEBUG : file1: reading active writers 2025/12/29 05:21:40 DEBUG : Looking for writers 2025/12/29 05:21:40 DEBUG : dir: reading active writers 2025/12/29 05:21:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/29 05:21:40 DEBUG : dir: Looking for writers 2025/12/29 05:21:40 DEBUG : file1: reading active writers 2025/12/29 05:21:40 DEBUG : Looking for writers 2025/12/29 05:21:40 DEBUG : dir: reading active writers 2025/12/29 05:21:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/29 05:21:40 DEBUG : dir: Looking for writers 2025/12/29 05:21:40 DEBUG : file1: reading active writers 2025/12/29 05:21:40 DEBUG : Looking for writers 2025/12/29 05:21:40 DEBUG : dir: reading active writers 2025/12/29 05:21:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/29 05:21:40 DEBUG : dir/file1: vfs cache: starting upload 2025/12/29 05:21:40 DEBUG : dir: Looking for writers 2025/12/29 05:21:40 DEBUG : file1: reading active writers 2025/12/29 05:21:40 DEBUG : Looking for writers 2025/12/29 05:21:40 DEBUG : dir: reading active writers 2025/12/29 05:21:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/29 05:21:40 DEBUG : dir/file1: size = 14 OK 2025/12/29 05:21:40 INFO : dir/file1: Copied (replaced existing) 2025/12/29 05:21:40 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/12/29 05:21:40 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/12/29 05:21:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/29 05:21:40 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/12/29 05:21:40 DEBUG : dir: Looking for writers 2025/12/29 05:21:40 DEBUG : file1: reading active writers 2025/12/29 05:21:40 DEBUG : Looking for writers 2025/12/29 05:21:40 DEBUG : dir: reading active writers 2025/12/29 05:21:40 DEBUG : >WaitForWriters: 2025/12/29 05:21:40 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/12/29 05:21:40 DEBUG : dir/file1: newRWFileHandle: 2025/12/29 05:21:40 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/29 05:21:40 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/29 05:21:40 DEBUG : dir/file1(0xc00398c800): _readAt: size=512, off=0 2025/12/29 05:21:40 DEBUG : dir/file1(0xc00398c800): openPending: 2025/12/29 05:21:40 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/12/29 05:21:40 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/12/29 05:21:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/29 05:21:40 DEBUG : dir/file1(0xc00398c800): >openPending: err= 2025/12/29 05:21:40 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/12/29 05:21:40 DEBUG : dir/file1(0xc00398c800): >_readAt: n=14, err=EOF 2025/12/29 05:21:40 DEBUG : dir/file1(0xc00398c800): close: 2025/12/29 05:21:40 DEBUG : dir/file1: vfs cache: setting modification time to 2025-12-29 05:21:40 +0000 UTC 2025/12/29 05:21:40 DEBUG : dir/file1(0xc00398c800): >close: err= 2025/12/29 05:21:41 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/29 05:21:41 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/12/29 05:21:41 DEBUG : newLeaf: Updating file with newLeaf 0xc00064ecc0 2025/12/29 05:21:41 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/29 05:21:41 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/29 05:21:42 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/12/29 05:21:42 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/12/29 05:21:42 DEBUG : dir/file1: Updating file with dir/file1 0xc00064ecc0 2025/12/29 05:21:42 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/12/29 05:21:42 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/29 05:21:42 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/12/29 05:21:42 DEBUG : dir/file1: newRWFileHandle: 2025/12/29 05:21:42 DEBUG : dir/file1(0xc003a0e280): openPending: 2025/12/29 05:21:42 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/12/29 05:21:42 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/12/29 05:21:42 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/29 05:21:42 DEBUG : dir/file1(0xc003a0e280): >openPending: err= 2025/12/29 05:21:42 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/12/29 05:21:42 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/29 05:21:42 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/29 05:21:42 DEBUG : dir/file1(0xc003a0e280): _writeAt: size=25, off=0 2025/12/29 05:21:42 DEBUG : dir/file1(0xc003a0e280): >_writeAt: n=25, err= 2025/12/29 05:21:42 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/29 05:21:42 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/12/29 05:21:42 DEBUG : newLeaf: Updating file with newLeaf 0xc00064ecc0 2025/12/29 05:21:42 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/29 05:21:42 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/29 05:21:42 DEBUG : newLeaf(0xc003a0e280): close: 2025/12/29 05:21:42 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/12/29 05:21:42 DEBUG : newLeaf: vfs cache: setting modification time to 2025-12-29 05:21:42.087635611 +0000 UTC m=+23.104834891 2025/12/29 05:21:42 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/12/29 05:21:42 DEBUG : newLeaf(0xc003a0e280): >close: err= 2025/12/29 05:21:42 DEBUG : WaitForWriters: timeout=30s 2025/12/29 05:21:42 DEBUG : dir: Looking for writers 2025/12/29 05:21:42 DEBUG : Looking for writers 2025/12/29 05:21:42 DEBUG : dir: reading active writers 2025/12/29 05:21:42 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/29 05:21:42 DEBUG : dir: Looking for writers 2025/12/29 05:21:42 DEBUG : Looking for writers 2025/12/29 05:21:42 DEBUG : dir: reading active writers 2025/12/29 05:21:42 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/29 05:21:42 DEBUG : dir: Looking for writers 2025/12/29 05:21:42 DEBUG : Looking for writers 2025/12/29 05:21:42 DEBUG : dir: reading active writers 2025/12/29 05:21:42 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/29 05:21:42 DEBUG : dir: Looking for writers 2025/12/29 05:21:42 DEBUG : Looking for writers 2025/12/29 05:21:42 DEBUG : dir: reading active writers 2025/12/29 05:21:42 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/29 05:21:42 DEBUG : newLeaf: vfs cache: starting upload 2025/12/29 05:21:42 DEBUG : dir: Looking for writers 2025/12/29 05:21:42 DEBUG : Looking for writers 2025/12/29 05:21:42 DEBUG : dir: reading active writers 2025/12/29 05:21:42 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/29 05:21:43 DEBUG : dir: Looking for writers 2025/12/29 05:21:43 DEBUG : Looking for writers 2025/12/29 05:21:43 DEBUG : dir: reading active writers 2025/12/29 05:21:43 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/29 05:21:43 DEBUG : newLeaf: size = 25 OK 2025/12/29 05:21:43 INFO : newLeaf: Copied (replaced existing) 2025/12/29 05:21:43 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/12/29 05:21:43 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/12/29 05:21:43 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/29 05:21:43 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/12/29 05:21:43 DEBUG : dir: Looking for writers 2025/12/29 05:21:43 DEBUG : Looking for writers 2025/12/29 05:21:43 DEBUG : dir: reading active writers 2025/12/29 05:21:43 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:43 DEBUG : >WaitForWriters: 2025/12/29 05:21:43 DEBUG : WaitForWriters: timeout=30s 2025/12/29 05:21:43 DEBUG : dir: Looking for writers 2025/12/29 05:21:43 DEBUG : Looking for writers 2025/12/29 05:21:43 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:43 DEBUG : dir: reading active writers 2025/12/29 05:21:43 DEBUG : >WaitForWriters: 2025/12/29 05:21:43 DEBUG : mega root 'rclone-test-sisiwap8hudo': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:185: Remote "mega root 'rclone-test-sisiwap8hudo'", Local "Local file system at /tmp/rclone3593404555", Modify Window "876000h0m0s" 2025/12/29 05:21:43 INFO : mega root 'rclone-test-sisiwap8hudo': poll-interval is not supported by this remote 2025/12/29 05:21:43 DEBUG : mega root 'rclone-test-sisiwap8hudo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/29 05:21:43 DEBUG : mega root 'rclone-test-sisiwap8hudo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:43 DEBUG : mega root 'rclone-test-sisiwap8hudo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:43 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:43 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/29 05:21:43 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sisiwap8hudo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:43 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:43 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/29 05:21:43 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sisiwap8hudo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:43 INFO : mega root 'rclone-test-sisiwap8hudo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/29 05:21:44 DEBUG : WaitForWriters: timeout=30s 2025/12/29 05:21:44 DEBUG : dir: Looking for writers 2025/12/29 05:21:44 DEBUG : file1: reading active writers 2025/12/29 05:21:44 DEBUG : Looking for writers 2025/12/29 05:21:44 DEBUG : dir: reading active writers 2025/12/29 05:21:44 DEBUG : >WaitForWriters: 2025/12/29 05:21:44 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/29 05:21:44 DEBUG : newLeaf: Updating file with newLeaf 0xc0000f8780 2025/12/29 05:21:44 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/29 05:21:44 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/29 05:21:45 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/12/29 05:21:45 DEBUG : dir/file1: Updating file with dir/file1 0xc0000f8780 2025/12/29 05:21:45 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/12/29 05:21:45 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/29 05:21:45 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/12/29 05:21:45 DEBUG : dir/file1: newRWFileHandle: 2025/12/29 05:21:45 DEBUG : dir/file1(0xc00398dd80): openPending: 2025/12/29 05:21:45 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/12/29 05:21:45 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/12/29 05:21:45 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/29 05:21:45 DEBUG : dir/file1(0xc00398dd80): >openPending: err= 2025/12/29 05:21:45 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/12/29 05:21:45 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/29 05:21:45 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/29 05:21:45 DEBUG : dir/file1(0xc00398dd80): _writeAt: size=25, off=0 2025/12/29 05:21:45 DEBUG : dir/file1(0xc00398dd80): >_writeAt: n=25, err= 2025/12/29 05:21:46 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/29 05:21:46 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/12/29 05:21:46 DEBUG : newLeaf: Updating file with newLeaf 0xc0000f8780 2025/12/29 05:21:46 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/29 05:21:46 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/29 05:21:46 DEBUG : newLeaf(0xc00398dd80): close: 2025/12/29 05:21:46 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/12/29 05:21:46 DEBUG : newLeaf: vfs cache: setting modification time to 2025-12-29 05:21:45.668626517 +0000 UTC m=+26.685825796 2025/12/29 05:21:46 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/12/29 05:21:46 DEBUG : newLeaf(0xc00398dd80): >close: err= 2025/12/29 05:21:46 DEBUG : WaitForWriters: timeout=30s 2025/12/29 05:21:46 DEBUG : dir: Looking for writers 2025/12/29 05:21:46 DEBUG : Looking for writers 2025/12/29 05:21:46 DEBUG : dir: reading active writers 2025/12/29 05:21:46 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/29 05:21:46 DEBUG : dir: Looking for writers 2025/12/29 05:21:46 DEBUG : Looking for writers 2025/12/29 05:21:46 DEBUG : dir: reading active writers 2025/12/29 05:21:46 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/29 05:21:46 DEBUG : dir: Looking for writers 2025/12/29 05:21:46 DEBUG : Looking for writers 2025/12/29 05:21:46 DEBUG : dir: reading active writers 2025/12/29 05:21:46 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/29 05:21:46 DEBUG : dir: Looking for writers 2025/12/29 05:21:46 DEBUG : Looking for writers 2025/12/29 05:21:46 DEBUG : dir: reading active writers 2025/12/29 05:21:46 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/29 05:21:46 DEBUG : newLeaf: vfs cache: starting upload 2025/12/29 05:21:46 DEBUG : dir: Looking for writers 2025/12/29 05:21:46 DEBUG : Looking for writers 2025/12/29 05:21:46 DEBUG : dir: reading active writers 2025/12/29 05:21:46 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/29 05:21:46 DEBUG : dir: Looking for writers 2025/12/29 05:21:46 DEBUG : Looking for writers 2025/12/29 05:21:46 DEBUG : dir: reading active writers 2025/12/29 05:21:46 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/29 05:21:46 DEBUG : newLeaf: size = 25 OK 2025/12/29 05:21:46 INFO : newLeaf: Copied (replaced existing) 2025/12/29 05:21:46 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/12/29 05:21:46 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/12/29 05:21:46 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/29 05:21:46 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/12/29 05:21:46 DEBUG : dir: Looking for writers 2025/12/29 05:21:46 DEBUG : Looking for writers 2025/12/29 05:21:46 DEBUG : dir: reading active writers 2025/12/29 05:21:46 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:46 DEBUG : >WaitForWriters: 2025/12/29 05:21:46 DEBUG : WaitForWriters: timeout=30s 2025/12/29 05:21:46 DEBUG : dir: Looking for writers 2025/12/29 05:21:46 DEBUG : Looking for writers 2025/12/29 05:21:46 DEBUG : dir: reading active writers 2025/12/29 05:21:46 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:46 DEBUG : >WaitForWriters: 2025/12/29 05:21:46 DEBUG : mega root 'rclone-test-sisiwap8hudo': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:185: Remote "mega root 'rclone-test-sisiwap8hudo'", Local "Local file system at /tmp/rclone3593404555", Modify Window "876000h0m0s" 2025/12/29 05:21:47 INFO : mega root 'rclone-test-sisiwap8hudo': poll-interval is not supported by this remote 2025/12/29 05:21:47 DEBUG : mega root 'rclone-test-sisiwap8hudo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/29 05:21:47 DEBUG : mega root 'rclone-test-sisiwap8hudo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:47 DEBUG : mega root 'rclone-test-sisiwap8hudo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:47 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:47 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/29 05:21:47 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sisiwap8hudo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:47 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:47 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/29 05:21:47 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sisiwap8hudo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:47 INFO : mega root 'rclone-test-sisiwap8hudo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/29 05:21:48 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/12/29 05:21:48 DEBUG : dir/file1: newRWFileHandle: 2025/12/29 05:21:48 DEBUG : dir/file1(0xc0039ed040): openPending: 2025/12/29 05:21:48 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/12/29 05:21:48 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/12/29 05:21:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/29 05:21:48 DEBUG : dir/file1(0xc0039ed040): >openPending: err= 2025/12/29 05:21:48 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/12/29 05:21:48 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/29 05:21:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/29 05:21:48 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/29 05:21:48 DEBUG : dir/file1(0xc0039ed040): _writeAt: size=14, off=0 2025/12/29 05:21:48 DEBUG : dir/file1(0xc0039ed040): >_writeAt: n=14, err= 2025/12/29 05:21:48 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/12/29 05:21:48 DEBUG : dir/file1(0xc0039ed040): close: 2025/12/29 05:21:48 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/12/29 05:21:48 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/12/29 05:21:48 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/12/29 05:21:48 DEBUG : dir/file1(0xc0039ed040): >close: err= 2025/12/29 05:21:48 DEBUG : WaitForWriters: timeout=30s 2025/12/29 05:21:48 DEBUG : dir: Looking for writers 2025/12/29 05:21:48 DEBUG : file1: reading active writers 2025/12/29 05:21:48 DEBUG : Looking for writers 2025/12/29 05:21:48 DEBUG : dir: reading active writers 2025/12/29 05:21:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/29 05:21:48 DEBUG : dir: Looking for writers 2025/12/29 05:21:48 DEBUG : file1: reading active writers 2025/12/29 05:21:48 DEBUG : Looking for writers 2025/12/29 05:21:48 DEBUG : dir: reading active writers 2025/12/29 05:21:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/29 05:21:48 DEBUG : dir: Looking for writers 2025/12/29 05:21:48 DEBUG : file1: reading active writers 2025/12/29 05:21:48 DEBUG : Looking for writers 2025/12/29 05:21:48 DEBUG : dir: reading active writers 2025/12/29 05:21:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/29 05:21:48 DEBUG : dir: Looking for writers 2025/12/29 05:21:48 DEBUG : file1: reading active writers 2025/12/29 05:21:48 DEBUG : Looking for writers 2025/12/29 05:21:48 DEBUG : dir: reading active writers 2025/12/29 05:21:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/29 05:21:48 DEBUG : dir/file1: vfs cache: starting upload 2025/12/29 05:21:48 DEBUG : dir: Looking for writers 2025/12/29 05:21:48 DEBUG : file1: reading active writers 2025/12/29 05:21:48 DEBUG : Looking for writers 2025/12/29 05:21:48 DEBUG : dir: reading active writers 2025/12/29 05:21:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/29 05:21:48 DEBUG : dir: Looking for writers 2025/12/29 05:21:48 DEBUG : file1: reading active writers 2025/12/29 05:21:48 DEBUG : Looking for writers 2025/12/29 05:21:48 DEBUG : dir: reading active writers 2025/12/29 05:21:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/29 05:21:48 DEBUG : dir/file1: size = 14 OK 2025/12/29 05:21:48 INFO : dir/file1: Copied (replaced existing) 2025/12/29 05:21:48 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/12/29 05:21:48 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/12/29 05:21:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/29 05:21:48 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/12/29 05:21:48 DEBUG : dir: Looking for writers 2025/12/29 05:21:48 DEBUG : file1: reading active writers 2025/12/29 05:21:48 DEBUG : Looking for writers 2025/12/29 05:21:48 DEBUG : dir: reading active writers 2025/12/29 05:21:48 DEBUG : >WaitForWriters: 2025/12/29 05:21:48 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/12/29 05:21:48 DEBUG : dir/file1: newRWFileHandle: 2025/12/29 05:21:48 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/29 05:21:48 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/29 05:21:48 DEBUG : dir/file1(0xc003bb91c0): _readAt: size=512, off=0 2025/12/29 05:21:48 DEBUG : dir/file1(0xc003bb91c0): openPending: 2025/12/29 05:21:48 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/12/29 05:21:48 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/12/29 05:21:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/29 05:21:48 DEBUG : dir/file1(0xc003bb91c0): >openPending: err= 2025/12/29 05:21:48 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/12/29 05:21:48 DEBUG : dir/file1(0xc003bb91c0): >_readAt: n=14, err=EOF 2025/12/29 05:21:48 DEBUG : dir/file1(0xc003bb91c0): close: 2025/12/29 05:21:48 DEBUG : dir/file1: vfs cache: setting modification time to 2025-12-29 05:21:48 +0000 UTC 2025/12/29 05:21:48 DEBUG : dir/file1(0xc003bb91c0): >close: err= 2025/12/29 05:21:49 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/29 05:21:49 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/12/29 05:21:49 DEBUG : newLeaf: Updating file with newLeaf 0xc00064fe00 2025/12/29 05:21:49 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/29 05:21:49 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/29 05:21:49 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/12/29 05:21:49 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/12/29 05:21:49 DEBUG : dir/file1: Updating file with dir/file1 0xc00064fe00 2025/12/29 05:21:49 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/12/29 05:21:49 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/29 05:21:49 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/12/29 05:21:49 DEBUG : dir/file1: newRWFileHandle: 2025/12/29 05:21:49 DEBUG : dir/file1(0xc003bb9900): openPending: 2025/12/29 05:21:49 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/12/29 05:21:49 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/12/29 05:21:49 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/29 05:21:49 DEBUG : dir/file1(0xc003bb9900): >openPending: err= 2025/12/29 05:21:49 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/12/29 05:21:49 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/29 05:21:49 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/29 05:21:49 DEBUG : dir/file1(0xc003bb9900): _writeAt: size=25, off=0 2025/12/29 05:21:49 DEBUG : dir/file1(0xc003bb9900): >_writeAt: n=25, err= 2025/12/29 05:21:50 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/29 05:21:50 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/12/29 05:21:50 DEBUG : newLeaf: Updating file with newLeaf 0xc00064fe00 2025/12/29 05:21:50 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/29 05:21:50 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/29 05:21:50 DEBUG : newLeaf(0xc003bb9900): close: 2025/12/29 05:21:50 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/12/29 05:21:50 DEBUG : newLeaf: vfs cache: setting modification time to 2025-12-29 05:21:49.884266873 +0000 UTC m=+30.901466162 2025/12/29 05:21:50 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/12/29 05:21:50 DEBUG : newLeaf(0xc003bb9900): >close: err= 2025/12/29 05:21:50 DEBUG : WaitForWriters: timeout=30s 2025/12/29 05:21:50 DEBUG : dir: Looking for writers 2025/12/29 05:21:50 DEBUG : Looking for writers 2025/12/29 05:21:50 DEBUG : dir: reading active writers 2025/12/29 05:21:50 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/29 05:21:50 DEBUG : dir: Looking for writers 2025/12/29 05:21:50 DEBUG : Looking for writers 2025/12/29 05:21:50 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:50 DEBUG : dir: reading active writers 2025/12/29 05:21:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/29 05:21:50 DEBUG : dir: Looking for writers 2025/12/29 05:21:50 DEBUG : Looking for writers 2025/12/29 05:21:50 DEBUG : dir: reading active writers 2025/12/29 05:21:50 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/29 05:21:50 DEBUG : dir: Looking for writers 2025/12/29 05:21:50 DEBUG : Looking for writers 2025/12/29 05:21:50 DEBUG : dir: reading active writers 2025/12/29 05:21:50 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/29 05:21:50 DEBUG : newLeaf: vfs cache: starting upload 2025/12/29 05:21:50 DEBUG : dir: Looking for writers 2025/12/29 05:21:50 DEBUG : Looking for writers 2025/12/29 05:21:50 DEBUG : dir: reading active writers 2025/12/29 05:21:50 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/29 05:21:50 DEBUG : dir: Looking for writers 2025/12/29 05:21:50 DEBUG : Looking for writers 2025/12/29 05:21:50 DEBUG : dir: reading active writers 2025/12/29 05:21:50 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/29 05:21:51 DEBUG : dir: Looking for writers 2025/12/29 05:21:51 DEBUG : Looking for writers 2025/12/29 05:21:51 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:51 DEBUG : dir: reading active writers 2025/12/29 05:21:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/12/29 05:21:51 DEBUG : newLeaf: size = 25 OK 2025/12/29 05:21:51 INFO : newLeaf: Copied (replaced existing) 2025/12/29 05:21:51 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/12/29 05:21:51 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/12/29 05:21:51 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/29 05:21:51 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/12/29 05:21:51 DEBUG : dir: Looking for writers 2025/12/29 05:21:51 DEBUG : Looking for writers 2025/12/29 05:21:51 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:51 DEBUG : dir: reading active writers 2025/12/29 05:21:51 DEBUG : >WaitForWriters: 2025/12/29 05:21:51 DEBUG : WaitForWriters: timeout=30s 2025/12/29 05:21:51 DEBUG : dir: Looking for writers 2025/12/29 05:21:51 DEBUG : Looking for writers 2025/12/29 05:21:51 DEBUG : dir: reading active writers 2025/12/29 05:21:51 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:51 DEBUG : >WaitForWriters: 2025/12/29 05:21:51 DEBUG : mega root 'rclone-test-sisiwap8hudo': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:185: Remote "mega root 'rclone-test-sisiwap8hudo'", Local "Local file system at /tmp/rclone3593404555", Modify Window "876000h0m0s" 2025/12/29 05:21:52 INFO : mega root 'rclone-test-sisiwap8hudo': poll-interval is not supported by this remote 2025/12/29 05:21:52 DEBUG : mega root 'rclone-test-sisiwap8hudo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/29 05:21:52 DEBUG : mega root 'rclone-test-sisiwap8hudo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:52 DEBUG : mega root 'rclone-test-sisiwap8hudo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/29 05:21:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sisiwap8hudo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/29 05:21:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sisiwap8hudo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sisiwap8hudo" 2025/12/29 05:21:52 INFO : mega root 'rclone-test-sisiwap8hudo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/29 05:21:53 DEBUG : WaitForWriters: timeout=30s 2025/12/29 05:21:53 DEBUG : dir: Looking for writers 2025/12/29 05:21:53 DEBUG : file1: reading active writers 2025/12/29 05:21:53 DEBUG : Looking for writers 2025/12/29 05:21:53 DEBUG : dir: reading active writers 2025/12/29 05:21:53 DEBUG : >WaitForWriters: 2025/12/29 05:21:53 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/12/29 05:21:53 DEBUG : dir/file1: newRWFileHandle: 2025/12/29 05:21:53 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/29 05:21:53 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/29 05:21:53 DEBUG : dir/file1(0xc0038d6ec0): _readAt: size=512, off=0 2025/12/29 05:21:53 DEBUG : dir/file1(0xc0038d6ec0): openPending: 2025/12/29 05:21:53 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/12/29 05:21:53 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/12/29 05:21:53 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/29 05:21:53 DEBUG : dir/file1(0xc0038d6ec0): >openPending: err= 2025/12/29 05:21:53 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2025/12/29 05:21:53 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/12/29 05:21:53 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/29 05:21:53 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/12/29 05:21:53 DEBUG : dir/file1(0xc0038d6ec0): >_readAt: n=14, err=EOF 2025/12/29 05:21:53 DEBUG : dir/file1(0xc0038d6ec0): close: 2025/12/29 05:21:53 DEBUG : dir/file1: vfs cache: setting modification time to 2025-12-29 05:21:53 +0000 UTC 2025/12/29 05:21:53 DEBUG : dir/file1(0xc0038d6ec0): >close: err= 2025/12/29 05:21:54 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/29 05:21:54 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/12/29 05:21:54 DEBUG : newLeaf: Updating file with newLeaf 0xc0048380c0 2025/12/29 05:21:54 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/29 05:21:54 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/29 05:21:54 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/12/29 05:21:54 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/12/29 05:21:54 DEBUG : dir/file1: Updating file with dir/file1 0xc0048380c0 2025/12/29 05:21:54 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/12/29 05:21:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/29 05:21:54 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/12/29 05:21:54 DEBUG : dir/file1: newRWFileHandle: 2025/12/29 05:21:54 DEBUG : dir/file1(0xc0039edd00): openPending: 2025/12/29 05:21:54 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/12/29 05:21:54 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/12/29 05:21:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/29 05:21:54 DEBUG : dir/file1(0xc0039edd00): >openPending: err= 2025/12/29 05:21:54 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/12/29 05:21:55 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/29 05:21:55 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/29 05:21:55 DEBUG : dir/file1(0xc0039edd00): _writeAt: size=25, off=0 2025/12/29 05:21:55 DEBUG : dir/file1(0xc0039edd00): >_writeAt: n=25, err= 2025/12/29 05:21:55 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/29 05:21:55 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/12/29 05:21:55 DEBUG : newLeaf: Updating file with newLeaf 0xc0048380c0 2025/12/29 05:21:55 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/29 05:21:55 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/29 05:21:55 DEBUG : newLeaf(0xc0039edd00): close: 2025/12/29 05:21:55 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/12/29 05:21:55 DEBUG : newLeaf: vfs cache: setting modification time to 2025-12-29 05:21:55.000946012 +0000 UTC m=+36.018145331 2025/12/29 05:21:55 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/12/29 05:21:55 DEBUG : newLeaf(0xc0039edd00): >close: err= 2025/12/29 05:21:55 DEBUG : WaitForWriters: timeout=30s 2025/12/29 05:21:55 DEBUG : dir: Looking for writers 2025/12/29 05:21:55 DEBUG : Looking for writers 2025/12/29 05:21:55 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:55 DEBUG : dir: reading active writers 2025/12/29 05:21:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/29 05:21:55 DEBUG : dir: Looking for writers 2025/12/29 05:21:55 DEBUG : Looking for writers 2025/12/29 05:21:55 DEBUG : dir: reading active writers 2025/12/29 05:21:55 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/29 05:21:55 DEBUG : dir: Looking for writers 2025/12/29 05:21:55 DEBUG : Looking for writers 2025/12/29 05:21:55 DEBUG : dir: reading active writers 2025/12/29 05:21:55 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/29 05:21:55 DEBUG : dir: Looking for writers 2025/12/29 05:21:55 DEBUG : Looking for writers 2025/12/29 05:21:55 DEBUG : dir: reading active writers 2025/12/29 05:21:55 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/29 05:21:55 DEBUG : newLeaf: vfs cache: starting upload 2025/12/29 05:21:55 DEBUG : dir: Looking for writers 2025/12/29 05:21:55 DEBUG : Looking for writers 2025/12/29 05:21:55 DEBUG : dir: reading active writers 2025/12/29 05:21:55 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/29 05:21:55 DEBUG : newLeaf: size = 25 OK 2025/12/29 05:21:55 INFO : newLeaf: Copied (replaced existing) 2025/12/29 05:21:55 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/12/29 05:21:55 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/12/29 05:21:55 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/29 05:21:55 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/12/29 05:21:55 DEBUG : dir: Looking for writers 2025/12/29 05:21:55 DEBUG : Looking for writers 2025/12/29 05:21:55 DEBUG : dir: reading active writers 2025/12/29 05:21:55 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:55 DEBUG : >WaitForWriters: 2025/12/29 05:21:55 DEBUG : WaitForWriters: timeout=30s 2025/12/29 05:21:55 DEBUG : dir: Looking for writers 2025/12/29 05:21:55 DEBUG : Looking for writers 2025/12/29 05:21:55 DEBUG : dir: reading active writers 2025/12/29 05:21:55 DEBUG : newLeaf: reading active writers 2025/12/29 05:21:55 DEBUG : >WaitForWriters: 2025/12/29 05:21:55 DEBUG : mega root 'rclone-test-sisiwap8hudo': vfs cache: cleaner exiting --- PASS: TestFileRename (23.12s) --- PASS: TestFileRename/off,forceCache=false (3.36s) --- PASS: TestFileRename/minimal,forceCache=false (3.49s) --- PASS: TestFileRename/minimal,forceCache=true (3.68s) --- PASS: TestFileRename/writes,forceCache=false (3.59s) --- PASS: TestFileRename/writes,forceCache=true (5.02s) --- PASS: TestFileRename/full,forceCache=false (3.98s) PASS 2025/12/29 05:21:56 DEBUG : mega root 'rclone-test-sisiwap8hudo': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished OK in 38.334408654s (try 3/5)