"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestDirRemove|TestZipDirsInRoot)$|^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/12 02:18:05 DEBUG : Creating backend with remote "TestMega:rclone-test-tubiwoz8fuzu" 2025/12/12 02:18:05 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/12/12 02:18:05 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': Using previously stored session ID and master key to initialize the Mega API 2025/12/12 02:18:23 DEBUG : Creating backend with remote "/tmp/rclone604837664" === RUN TestDirRemove run.go:185: Remote "mega root 'rclone-test-tubiwoz8fuzu'", Local "Local file system at /tmp/rclone604837664", Modify Window "876000h0m0s" 2025/12/12 02:18:23 INFO : mega root 'rclone-test-tubiwoz8fuzu': poll-interval is not supported by this remote 2025/12/12 02:18:23 NOTICE: mega root 'rclone-test-tubiwoz8fuzu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/12 02:18:27 ERROR : dir/: Dir.Remove not empty 2025/12/12 02:18:27 DEBUG : dir/file1: Remove: 2025/12/12 02:18:29 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/12 02:18:29 DEBUG : dir/file1: >Remove: err= 2025/12/12 02:18:29 ERROR : dir/: Dir.Remove failed to remove directory: directory not empty dir_test.go:456: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:456 Error: Received unexpected error: directory not empty Test: TestDirRemove 2025/12/12 02:18:29 DEBUG : WaitForWriters: timeout=30s 2025/12/12 02:18:29 DEBUG : dir: Looking for writers 2025/12/12 02:18:29 DEBUG : Looking for writers 2025/12/12 02:18:29 DEBUG : dir: reading active writers 2025/12/12 02:18:29 DEBUG : >WaitForWriters: --- FAIL: TestDirRemove (6.81s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:185: Remote "mega root 'rclone-test-tubiwoz8fuzu'", Local "Local file system at /tmp/rclone604837664", Modify Window "876000h0m0s" 2025/12/12 02:18:30 INFO : mega root 'rclone-test-tubiwoz8fuzu': poll-interval is not supported by this remote 2025/12/12 02:18:30 NOTICE: mega root 'rclone-test-tubiwoz8fuzu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream run.go:290: Failed to put "dir/file1" to "mega root 'rclone-test-tubiwoz8fuzu'": upload file failed to create session: unexpected end of JSON input 2025/12/12 02:18:43 DEBUG : WaitForWriters: timeout=30s 2025/12/12 02:18:43 DEBUG : Looking for writers 2025/12/12 02:18:43 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:185: Remote "mega root 'rclone-test-tubiwoz8fuzu'", Local "Local file system at /tmp/rclone604837664", Modify Window "876000h0m0s" 2025/12/12 02:18:46 INFO : mega root 'rclone-test-tubiwoz8fuzu': poll-interval is not supported by this remote 2025/12/12 02:18:46 NOTICE: mega root 'rclone-test-tubiwoz8fuzu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/12 02:18:46 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/12 02:18:46 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:18:46 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:18:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:18:46 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/12 02:18:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tubiwoz8fuzu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:18:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:18:46 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/12 02:18:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tubiwoz8fuzu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:18:46 INFO : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/12 02:18:46 DEBUG : WaitForWriters: timeout=30s 2025/12/12 02:18:46 DEBUG : dir: Looking for writers 2025/12/12 02:18:46 DEBUG : file1: reading active writers 2025/12/12 02:18:46 DEBUG : Looking for writers 2025/12/12 02:18:46 DEBUG : dir: reading active writers 2025/12/12 02:18:46 DEBUG : >WaitForWriters: 2025/12/12 02:18:47 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/12 02:18:47 DEBUG : newLeaf: Updating file with newLeaf 0xc0023286c0 2025/12/12 02:18:47 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/12 02:18:47 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/12 02:18:50 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/12/12 02:18:50 DEBUG : dir/file1: Updating file with dir/file1 0xc0023286c0 2025/12/12 02:18:50 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/12/12 02:18:50 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/12 02:18:50 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/12/12 02:18:50 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/12/12 02:18:50 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/12 02:18:50 DEBUG : dir/file1: File is currently open, delaying rename 0xc0023286c0 2025/12/12 02:18:50 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/12 02:18:50 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/12 02:18:50 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': File to upload is small (25 bytes), uploading instead of streaming 2025/12/12 02:18:51 DEBUG : dir/file1: size = 25 OK 2025/12/12 02:18:51 NOTICE: mega root 'rclone-test-tubiwoz8fuzu': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2025/12/12 02:18:51 DEBUG : dir/file1: Size of src and dst objects identical 2025/12/12 02:18:51 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/12 02:18:51 DEBUG : newLeaf: Running delayed rename now 2025/12/12 02:18:54 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/12 02:18:54 DEBUG : newLeaf: Updating file with newLeaf 0xc0023286c0 2025/12/12 02:18:54 DEBUG : WaitForWriters: timeout=30s 2025/12/12 02:18:54 DEBUG : dir: Looking for writers 2025/12/12 02:18:54 DEBUG : Looking for writers 2025/12/12 02:18:54 DEBUG : newLeaf: reading active writers 2025/12/12 02:18:54 DEBUG : dir: reading active writers 2025/12/12 02:18:54 DEBUG : >WaitForWriters: 2025/12/12 02:18:54 DEBUG : WaitForWriters: timeout=30s 2025/12/12 02:18:54 DEBUG : dir: Looking for writers 2025/12/12 02:18:54 DEBUG : Looking for writers 2025/12/12 02:18:54 DEBUG : dir: reading active writers 2025/12/12 02:18:54 DEBUG : newLeaf: reading active writers 2025/12/12 02:18:54 DEBUG : >WaitForWriters: 2025/12/12 02:18:54 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:185: Remote "mega root 'rclone-test-tubiwoz8fuzu'", Local "Local file system at /tmp/rclone604837664", Modify Window "876000h0m0s" 2025/12/12 02:18:54 INFO : mega root 'rclone-test-tubiwoz8fuzu': poll-interval is not supported by this remote 2025/12/12 02:18:54 NOTICE: mega root 'rclone-test-tubiwoz8fuzu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/12 02:18:54 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/12 02:18:54 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:18:54 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:18:54 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:18:54 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/12 02:18:54 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tubiwoz8fuzu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:18:54 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:18:54 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/12 02:18:54 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tubiwoz8fuzu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:18:54 INFO : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/12 02:18:58 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/12/12 02:18:58 DEBUG : dir/file1: newRWFileHandle: 2025/12/12 02:18:58 DEBUG : dir/file1(0xc002da4f80): openPending: 2025/12/12 02:18:58 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/12/12 02:18:58 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/12/12 02:18:58 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/12 02:18:58 DEBUG : dir/file1(0xc002da4f80): >openPending: err= 2025/12/12 02:18:58 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/12/12 02:18:58 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/12 02:18:58 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/12 02:18:58 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/12 02:18:58 DEBUG : dir/file1(0xc002da4f80): _writeAt: size=14, off=0 2025/12/12 02:18:58 DEBUG : dir/file1(0xc002da4f80): >_writeAt: n=14, err= 2025/12/12 02:18:58 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/12/12 02:18:58 DEBUG : dir/file1(0xc002da4f80): close: 2025/12/12 02:18:58 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/12/12 02:18:58 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/12/12 02:18:58 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/12/12 02:18:58 DEBUG : dir/file1(0xc002da4f80): >close: err= 2025/12/12 02:18:58 DEBUG : WaitForWriters: timeout=30s 2025/12/12 02:18:58 DEBUG : dir: Looking for writers 2025/12/12 02:18:58 DEBUG : file1: reading active writers 2025/12/12 02:18:58 DEBUG : Looking for writers 2025/12/12 02:18:58 DEBUG : dir: reading active writers 2025/12/12 02:18:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/12 02:18:58 DEBUG : dir: Looking for writers 2025/12/12 02:18:58 DEBUG : file1: reading active writers 2025/12/12 02:18:58 DEBUG : Looking for writers 2025/12/12 02:18:58 DEBUG : dir: reading active writers 2025/12/12 02:18:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/12 02:18:58 DEBUG : dir: Looking for writers 2025/12/12 02:18:58 DEBUG : file1: reading active writers 2025/12/12 02:18:58 DEBUG : Looking for writers 2025/12/12 02:18:58 DEBUG : dir: reading active writers 2025/12/12 02:18:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/12 02:18:58 DEBUG : dir: Looking for writers 2025/12/12 02:18:58 DEBUG : file1: reading active writers 2025/12/12 02:18:58 DEBUG : Looking for writers 2025/12/12 02:18:58 DEBUG : dir: reading active writers 2025/12/12 02:18:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/12 02:18:58 DEBUG : dir/file1: vfs cache: starting upload 2025/12/12 02:18:58 DEBUG : dir: Looking for writers 2025/12/12 02:18:58 DEBUG : file1: reading active writers 2025/12/12 02:18:58 DEBUG : Looking for writers 2025/12/12 02:18:58 DEBUG : dir: reading active writers 2025/12/12 02:18:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/12 02:18:58 DEBUG : dir: Looking for writers 2025/12/12 02:18:58 DEBUG : file1: reading active writers 2025/12/12 02:18:58 DEBUG : Looking for writers 2025/12/12 02:18:58 DEBUG : dir: reading active writers 2025/12/12 02:18:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/12 02:18:59 DEBUG : dir: Looking for writers 2025/12/12 02:18:59 DEBUG : file1: reading active writers 2025/12/12 02:18:59 DEBUG : Looking for writers 2025/12/12 02:18:59 DEBUG : dir: reading active writers 2025/12/12 02:18:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/12/12 02:18:59 DEBUG : dir/file1: size = 14 OK 2025/12/12 02:18:59 INFO : dir/file1: Copied (replaced existing) 2025/12/12 02:18:59 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/12/12 02:18:59 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/12/12 02:18:59 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/12 02:18:59 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/12/12 02:18:59 DEBUG : dir: Looking for writers 2025/12/12 02:18:59 DEBUG : file1: reading active writers 2025/12/12 02:18:59 DEBUG : Looking for writers 2025/12/12 02:18:59 DEBUG : dir: reading active writers 2025/12/12 02:18:59 DEBUG : >WaitForWriters: 2025/12/12 02:18:59 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/12/12 02:18:59 DEBUG : dir/file1: newRWFileHandle: 2025/12/12 02:18:59 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/12 02:18:59 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/12 02:18:59 DEBUG : dir/file1(0xc002baf200): _readAt: size=512, off=0 2025/12/12 02:18:59 DEBUG : dir/file1(0xc002baf200): openPending: 2025/12/12 02:18:59 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/12/12 02:18:59 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/12/12 02:18:59 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/12 02:18:59 DEBUG : dir/file1(0xc002baf200): >openPending: err= 2025/12/12 02:18:59 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/12/12 02:18:59 DEBUG : dir/file1(0xc002baf200): >_readAt: n=14, err=EOF 2025/12/12 02:18:59 DEBUG : dir/file1(0xc002baf200): close: 2025/12/12 02:18:59 DEBUG : dir/file1: vfs cache: setting modification time to 2025-12-12 02:18:58 +0000 UTC 2025/12/12 02:18:59 DEBUG : dir/file1(0xc002baf200): >close: err= 2025/12/12 02:19:00 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/12 02:19:00 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/12/12 02:19:00 DEBUG : newLeaf: Updating file with newLeaf 0xc002dc2900 2025/12/12 02:19:00 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/12 02:19:00 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/12 02:19:01 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/12/12 02:19:01 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/12/12 02:19:01 DEBUG : dir/file1: Updating file with dir/file1 0xc002dc2900 2025/12/12 02:19:01 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/12/12 02:19:01 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/12 02:19:01 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/12/12 02:19:01 DEBUG : dir/file1: newRWFileHandle: 2025/12/12 02:19:01 DEBUG : dir/file1(0xc002bafb80): openPending: 2025/12/12 02:19:01 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/12/12 02:19:01 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/12/12 02:19:01 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/12 02:19:01 DEBUG : dir/file1(0xc002bafb80): >openPending: err= 2025/12/12 02:19:01 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/12/12 02:19:01 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/12 02:19:01 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/12 02:19:01 DEBUG : dir/file1(0xc002bafb80): _writeAt: size=25, off=0 2025/12/12 02:19:01 DEBUG : dir/file1(0xc002bafb80): >_writeAt: n=25, err= 2025/12/12 02:19:01 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/12 02:19:01 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/12/12 02:19:01 DEBUG : newLeaf: Updating file with newLeaf 0xc002dc2900 2025/12/12 02:19:01 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/12 02:19:01 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/12 02:19:01 DEBUG : newLeaf(0xc002bafb80): close: 2025/12/12 02:19:01 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/12/12 02:19:01 DEBUG : newLeaf: vfs cache: setting modification time to 2025-12-12 02:19:01.241230257 +0000 UTC m=+55.766347902 2025/12/12 02:19:01 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/12/12 02:19:01 DEBUG : newLeaf(0xc002bafb80): >close: err= 2025/12/12 02:19:01 DEBUG : WaitForWriters: timeout=30s 2025/12/12 02:19:01 DEBUG : dir: Looking for writers 2025/12/12 02:19:01 DEBUG : Looking for writers 2025/12/12 02:19:01 DEBUG : dir: reading active writers 2025/12/12 02:19:01 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/12 02:19:01 DEBUG : dir: Looking for writers 2025/12/12 02:19:01 DEBUG : Looking for writers 2025/12/12 02:19:01 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:01 DEBUG : dir: reading active writers 2025/12/12 02:19:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/12 02:19:01 DEBUG : dir: Looking for writers 2025/12/12 02:19:01 DEBUG : Looking for writers 2025/12/12 02:19:01 DEBUG : dir: reading active writers 2025/12/12 02:19:01 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/12 02:19:02 DEBUG : dir: Looking for writers 2025/12/12 02:19:02 DEBUG : Looking for writers 2025/12/12 02:19:02 DEBUG : dir: reading active writers 2025/12/12 02:19:02 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/12 02:19:02 DEBUG : newLeaf: vfs cache: starting upload 2025/12/12 02:19:02 DEBUG : dir: Looking for writers 2025/12/12 02:19:02 DEBUG : Looking for writers 2025/12/12 02:19:02 DEBUG : dir: reading active writers 2025/12/12 02:19:02 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/12 02:19:02 DEBUG : dir: Looking for writers 2025/12/12 02:19:02 DEBUG : Looking for writers 2025/12/12 02:19:02 DEBUG : dir: reading active writers 2025/12/12 02:19:02 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/12 02:19:02 DEBUG : dir: Looking for writers 2025/12/12 02:19:02 DEBUG : Looking for writers 2025/12/12 02:19:02 DEBUG : dir: reading active writers 2025/12/12 02:19:02 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/12/12 02:19:03 DEBUG : dir: Looking for writers 2025/12/12 02:19:03 DEBUG : Looking for writers 2025/12/12 02:19:03 DEBUG : dir: reading active writers 2025/12/12 02:19:03 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/12 02:19:04 DEBUG : dir: Looking for writers 2025/12/12 02:19:04 DEBUG : Looking for writers 2025/12/12 02:19:04 DEBUG : dir: reading active writers 2025/12/12 02:19:04 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/12 02:19:05 DEBUG : dir: Looking for writers 2025/12/12 02:19:05 DEBUG : Looking for writers 2025/12/12 02:19:05 DEBUG : dir: reading active writers 2025/12/12 02:19:05 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/12 02:19:06 DEBUG : dir: Looking for writers 2025/12/12 02:19:06 DEBUG : Looking for writers 2025/12/12 02:19:06 DEBUG : dir: reading active writers 2025/12/12 02:19:06 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/12 02:19:07 DEBUG : dir: Looking for writers 2025/12/12 02:19:07 DEBUG : Looking for writers 2025/12/12 02:19:07 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:07 DEBUG : dir: reading active writers 2025/12/12 02:19:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/12 02:19:08 DEBUG : dir: Looking for writers 2025/12/12 02:19:08 DEBUG : Looking for writers 2025/12/12 02:19:08 DEBUG : dir: reading active writers 2025/12/12 02:19:08 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/12 02:19:09 DEBUG : dir: Looking for writers 2025/12/12 02:19:09 DEBUG : Looking for writers 2025/12/12 02:19:09 DEBUG : dir: reading active writers 2025/12/12 02:19:09 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/12 02:19:10 DEBUG : dir: Looking for writers 2025/12/12 02:19:10 DEBUG : Looking for writers 2025/12/12 02:19:10 DEBUG : dir: reading active writers 2025/12/12 02:19:10 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/12 02:19:11 DEBUG : dir: Looking for writers 2025/12/12 02:19:11 DEBUG : Looking for writers 2025/12/12 02:19:11 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:11 DEBUG : dir: reading active writers 2025/12/12 02:19:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/12 02:19:12 DEBUG : dir: Looking for writers 2025/12/12 02:19:12 DEBUG : Looking for writers 2025/12/12 02:19:12 DEBUG : dir: reading active writers 2025/12/12 02:19:12 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/12 02:19:13 DEBUG : dir: Looking for writers 2025/12/12 02:19:13 DEBUG : Looking for writers 2025/12/12 02:19:13 DEBUG : dir: reading active writers 2025/12/12 02:19:13 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/12 02:19:14 DEBUG : newLeaf: size = 25 OK 2025/12/12 02:19:14 INFO : newLeaf: Copied (replaced existing) 2025/12/12 02:19:14 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/12/12 02:19:14 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/12/12 02:19:14 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/12 02:19:14 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/12/12 02:19:14 DEBUG : dir: Looking for writers 2025/12/12 02:19:14 DEBUG : Looking for writers 2025/12/12 02:19:14 DEBUG : dir: reading active writers 2025/12/12 02:19:14 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:14 DEBUG : >WaitForWriters: 2025/12/12 02:19:14 DEBUG : WaitForWriters: timeout=30s 2025/12/12 02:19:14 DEBUG : dir: Looking for writers 2025/12/12 02:19:14 DEBUG : Looking for writers 2025/12/12 02:19:14 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:14 DEBUG : dir: reading active writers 2025/12/12 02:19:14 DEBUG : >WaitForWriters: 2025/12/12 02:19:14 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:185: Remote "mega root 'rclone-test-tubiwoz8fuzu'", Local "Local file system at /tmp/rclone604837664", Modify Window "876000h0m0s" 2025/12/12 02:19:25 INFO : mega root 'rclone-test-tubiwoz8fuzu': poll-interval is not supported by this remote 2025/12/12 02:19:25 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/12 02:19:25 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:19:25 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:19:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:19:25 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/12 02:19:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tubiwoz8fuzu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:19:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:19:25 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/12 02:19:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tubiwoz8fuzu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:19:25 INFO : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/12 02:19:27 DEBUG : WaitForWriters: timeout=30s 2025/12/12 02:19:27 DEBUG : dir: Looking for writers 2025/12/12 02:19:27 DEBUG : file1: reading active writers 2025/12/12 02:19:27 DEBUG : Looking for writers 2025/12/12 02:19:27 DEBUG : dir: reading active writers 2025/12/12 02:19:27 DEBUG : >WaitForWriters: 2025/12/12 02:19:28 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/12 02:19:28 DEBUG : newLeaf: Updating file with newLeaf 0xc002f540c0 2025/12/12 02:19:28 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/12 02:19:28 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/12 02:19:30 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/12/12 02:19:30 DEBUG : dir/file1: Updating file with dir/file1 0xc002f540c0 2025/12/12 02:19:30 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/12/12 02:19:30 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/12 02:19:30 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/12/12 02:19:30 DEBUG : dir/file1: newRWFileHandle: 2025/12/12 02:19:30 DEBUG : dir/file1(0xc0030aa640): openPending: 2025/12/12 02:19:30 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/12/12 02:19:30 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/12/12 02:19:30 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/12 02:19:30 DEBUG : dir/file1(0xc0030aa640): >openPending: err= 2025/12/12 02:19:30 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/12/12 02:19:30 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/12 02:19:30 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/12 02:19:30 DEBUG : dir/file1(0xc0030aa640): _writeAt: size=25, off=0 2025/12/12 02:19:30 DEBUG : dir/file1(0xc0030aa640): >_writeAt: n=25, err= 2025/12/12 02:19:42 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/12 02:19:42 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/12/12 02:19:42 DEBUG : newLeaf: Updating file with newLeaf 0xc002f540c0 2025/12/12 02:19:42 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/12 02:19:42 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/12 02:19:42 DEBUG : newLeaf(0xc0030aa640): close: 2025/12/12 02:19:42 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/12/12 02:19:42 DEBUG : newLeaf: vfs cache: setting modification time to 2025-12-12 02:19:30.696795709 +0000 UTC m=+85.221913333 2025/12/12 02:19:42 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/12/12 02:19:42 DEBUG : newLeaf(0xc0030aa640): >close: err= 2025/12/12 02:19:42 DEBUG : WaitForWriters: timeout=30s 2025/12/12 02:19:42 DEBUG : dir: Looking for writers 2025/12/12 02:19:42 DEBUG : Looking for writers 2025/12/12 02:19:42 DEBUG : dir: reading active writers 2025/12/12 02:19:42 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/12 02:19:42 DEBUG : dir: Looking for writers 2025/12/12 02:19:42 DEBUG : Looking for writers 2025/12/12 02:19:42 DEBUG : dir: reading active writers 2025/12/12 02:19:42 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/12 02:19:42 DEBUG : dir: Looking for writers 2025/12/12 02:19:42 DEBUG : Looking for writers 2025/12/12 02:19:42 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:42 DEBUG : dir: reading active writers 2025/12/12 02:19:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/12 02:19:42 DEBUG : dir: Looking for writers 2025/12/12 02:19:42 DEBUG : Looking for writers 2025/12/12 02:19:42 DEBUG : dir: reading active writers 2025/12/12 02:19:42 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/12 02:19:42 DEBUG : newLeaf: vfs cache: starting upload 2025/12/12 02:19:42 DEBUG : dir: Looking for writers 2025/12/12 02:19:42 DEBUG : Looking for writers 2025/12/12 02:19:42 DEBUG : dir: reading active writers 2025/12/12 02:19:42 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/12 02:19:42 DEBUG : dir: Looking for writers 2025/12/12 02:19:42 DEBUG : Looking for writers 2025/12/12 02:19:42 DEBUG : dir: reading active writers 2025/12/12 02:19:42 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/12 02:19:42 DEBUG : newLeaf: size = 25 OK 2025/12/12 02:19:42 INFO : newLeaf: Copied (replaced existing) 2025/12/12 02:19:42 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/12/12 02:19:42 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/12/12 02:19:42 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/12 02:19:42 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/12/12 02:19:42 DEBUG : dir: Looking for writers 2025/12/12 02:19:42 DEBUG : Looking for writers 2025/12/12 02:19:42 DEBUG : dir: reading active writers 2025/12/12 02:19:42 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:42 DEBUG : >WaitForWriters: 2025/12/12 02:19:42 DEBUG : WaitForWriters: timeout=30s 2025/12/12 02:19:42 DEBUG : dir: Looking for writers 2025/12/12 02:19:42 DEBUG : Looking for writers 2025/12/12 02:19:42 DEBUG : dir: reading active writers 2025/12/12 02:19:42 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:42 DEBUG : >WaitForWriters: 2025/12/12 02:19:42 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:185: Remote "mega root 'rclone-test-tubiwoz8fuzu'", Local "Local file system at /tmp/rclone604837664", Modify Window "876000h0m0s" 2025/12/12 02:19:43 INFO : mega root 'rclone-test-tubiwoz8fuzu': poll-interval is not supported by this remote 2025/12/12 02:19:43 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/12 02:19:43 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:19:43 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:19:43 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:19:43 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/12 02:19:43 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tubiwoz8fuzu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:19:43 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:19:43 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/12 02:19:43 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tubiwoz8fuzu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:19:43 INFO : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/12/12 02:19:47 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/12/12 02:19:47 DEBUG : dir/file1: newRWFileHandle: 2025/12/12 02:19:47 DEBUG : dir/file1(0xc0030ab180): openPending: 2025/12/12 02:19:47 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/12/12 02:19:47 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/12/12 02:19:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/12 02:19:47 DEBUG : dir/file1(0xc0030ab180): >openPending: err= 2025/12/12 02:19:47 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/12/12 02:19:47 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/12 02:19:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/12 02:19:47 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/12 02:19:47 DEBUG : dir/file1(0xc0030ab180): _writeAt: size=14, off=0 2025/12/12 02:19:47 DEBUG : dir/file1(0xc0030ab180): >_writeAt: n=14, err= 2025/12/12 02:19:47 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/12/12 02:19:47 DEBUG : dir/file1(0xc0030ab180): close: 2025/12/12 02:19:47 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/12/12 02:19:47 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/12/12 02:19:47 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/12/12 02:19:47 DEBUG : dir/file1(0xc0030ab180): >close: err= 2025/12/12 02:19:47 DEBUG : WaitForWriters: timeout=30s 2025/12/12 02:19:47 DEBUG : dir: Looking for writers 2025/12/12 02:19:47 DEBUG : file1: reading active writers 2025/12/12 02:19:47 DEBUG : Looking for writers 2025/12/12 02:19:47 DEBUG : dir: reading active writers 2025/12/12 02:19:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/12 02:19:47 DEBUG : dir: Looking for writers 2025/12/12 02:19:47 DEBUG : file1: reading active writers 2025/12/12 02:19:47 DEBUG : Looking for writers 2025/12/12 02:19:47 DEBUG : dir: reading active writers 2025/12/12 02:19:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/12 02:19:47 DEBUG : dir: Looking for writers 2025/12/12 02:19:47 DEBUG : file1: reading active writers 2025/12/12 02:19:47 DEBUG : Looking for writers 2025/12/12 02:19:47 DEBUG : dir: reading active writers 2025/12/12 02:19:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/12 02:19:47 DEBUG : dir: Looking for writers 2025/12/12 02:19:47 DEBUG : file1: reading active writers 2025/12/12 02:19:47 DEBUG : Looking for writers 2025/12/12 02:19:47 DEBUG : dir: reading active writers 2025/12/12 02:19:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/12 02:19:47 DEBUG : dir/file1: vfs cache: starting upload 2025/12/12 02:19:47 DEBUG : dir: Looking for writers 2025/12/12 02:19:47 DEBUG : file1: reading active writers 2025/12/12 02:19:47 DEBUG : Looking for writers 2025/12/12 02:19:47 DEBUG : dir: reading active writers 2025/12/12 02:19:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/12 02:19:47 DEBUG : dir: Looking for writers 2025/12/12 02:19:47 DEBUG : file1: reading active writers 2025/12/12 02:19:47 DEBUG : Looking for writers 2025/12/12 02:19:47 DEBUG : dir: reading active writers 2025/12/12 02:19:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/12 02:19:48 DEBUG : dir: Looking for writers 2025/12/12 02:19:48 DEBUG : file1: reading active writers 2025/12/12 02:19:48 DEBUG : Looking for writers 2025/12/12 02:19:48 DEBUG : dir: reading active writers 2025/12/12 02:19:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/12/12 02:19:48 DEBUG : dir: Looking for writers 2025/12/12 02:19:48 DEBUG : file1: reading active writers 2025/12/12 02:19:48 DEBUG : Looking for writers 2025/12/12 02:19:48 DEBUG : dir: reading active writers 2025/12/12 02:19:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/12 02:19:49 DEBUG : dir: Looking for writers 2025/12/12 02:19:49 DEBUG : file1: reading active writers 2025/12/12 02:19:49 DEBUG : Looking for writers 2025/12/12 02:19:49 DEBUG : dir: reading active writers 2025/12/12 02:19:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/12/12 02:19:49 DEBUG : dir/file1: size = 14 OK 2025/12/12 02:19:49 INFO : dir/file1: Copied (replaced existing) 2025/12/12 02:19:49 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/12/12 02:19:49 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/12/12 02:19:49 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/12 02:19:49 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/12/12 02:19:50 DEBUG : dir: Looking for writers 2025/12/12 02:19:50 DEBUG : file1: reading active writers 2025/12/12 02:19:50 DEBUG : Looking for writers 2025/12/12 02:19:50 DEBUG : dir: reading active writers 2025/12/12 02:19:50 DEBUG : >WaitForWriters: 2025/12/12 02:19:50 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/12/12 02:19:50 DEBUG : dir/file1: newRWFileHandle: 2025/12/12 02:19:50 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/12 02:19:50 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/12 02:19:50 DEBUG : dir/file1(0xc0032a4300): _readAt: size=512, off=0 2025/12/12 02:19:50 DEBUG : dir/file1(0xc0032a4300): openPending: 2025/12/12 02:19:50 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/12/12 02:19:50 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/12/12 02:19:50 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/12 02:19:50 DEBUG : dir/file1(0xc0032a4300): >openPending: err= 2025/12/12 02:19:50 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/12/12 02:19:50 DEBUG : dir/file1(0xc0032a4300): >_readAt: n=14, err=EOF 2025/12/12 02:19:50 DEBUG : dir/file1(0xc0032a4300): close: 2025/12/12 02:19:50 DEBUG : dir/file1: vfs cache: setting modification time to 2025-12-12 02:19:48 +0000 UTC 2025/12/12 02:19:50 DEBUG : dir/file1(0xc0032a4300): >close: err= 2025/12/12 02:19:52 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/12 02:19:52 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/12/12 02:19:52 DEBUG : newLeaf: Updating file with newLeaf 0xc000831d40 2025/12/12 02:19:52 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/12 02:19:52 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/12 02:19:53 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/12/12 02:19:53 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/12/12 02:19:53 DEBUG : dir/file1: Updating file with dir/file1 0xc000831d40 2025/12/12 02:19:53 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/12/12 02:19:53 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/12 02:19:53 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/12/12 02:19:53 DEBUG : dir/file1: newRWFileHandle: 2025/12/12 02:19:53 DEBUG : dir/file1(0xc002c9ba00): openPending: 2025/12/12 02:19:53 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/12/12 02:19:53 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/12/12 02:19:53 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/12/12 02:19:53 DEBUG : dir/file1(0xc002c9ba00): >openPending: err= 2025/12/12 02:19:53 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/12/12 02:19:53 DEBUG : dir/file1: >newRWFileHandle: err= 2025/12/12 02:19:53 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/12/12 02:19:53 DEBUG : dir/file1(0xc002c9ba00): _writeAt: size=25, off=0 2025/12/12 02:19:53 DEBUG : dir/file1(0xc002c9ba00): >_writeAt: n=25, err= 2025/12/12 02:19:55 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/12/12 02:19:55 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/12/12 02:19:55 DEBUG : newLeaf: Updating file with newLeaf 0xc000831d40 2025/12/12 02:19:55 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/12/12 02:19:55 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/12 02:19:55 DEBUG : newLeaf(0xc002c9ba00): close: 2025/12/12 02:19:55 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/12/12 02:19:55 DEBUG : newLeaf: vfs cache: setting modification time to 2025-12-12 02:19:53.360706768 +0000 UTC m=+107.885824383 2025/12/12 02:19:55 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/12/12 02:19:55 DEBUG : newLeaf(0xc002c9ba00): >close: err= 2025/12/12 02:19:55 DEBUG : WaitForWriters: timeout=30s 2025/12/12 02:19:55 DEBUG : dir: Looking for writers 2025/12/12 02:19:55 DEBUG : Looking for writers 2025/12/12 02:19:55 DEBUG : dir: reading active writers 2025/12/12 02:19:55 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/12/12 02:19:55 DEBUG : dir: Looking for writers 2025/12/12 02:19:55 DEBUG : Looking for writers 2025/12/12 02:19:55 DEBUG : dir: reading active writers 2025/12/12 02:19:55 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/12/12 02:19:55 DEBUG : dir: Looking for writers 2025/12/12 02:19:55 DEBUG : Looking for writers 2025/12/12 02:19:55 DEBUG : dir: reading active writers 2025/12/12 02:19:55 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/12/12 02:19:55 DEBUG : dir: Looking for writers 2025/12/12 02:19:55 DEBUG : Looking for writers 2025/12/12 02:19:55 DEBUG : dir: reading active writers 2025/12/12 02:19:55 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/12/12 02:19:55 DEBUG : newLeaf: vfs cache: starting upload 2025/12/12 02:19:55 DEBUG : dir: Looking for writers 2025/12/12 02:19:55 DEBUG : Looking for writers 2025/12/12 02:19:55 DEBUG : dir: reading active writers 2025/12/12 02:19:55 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/12/12 02:19:55 DEBUG : dir: Looking for writers 2025/12/12 02:19:55 DEBUG : Looking for writers 2025/12/12 02:19:55 DEBUG : dir: reading active writers 2025/12/12 02:19:55 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/12/12 02:19:55 DEBUG : newLeaf: size = 25 OK 2025/12/12 02:19:55 INFO : newLeaf: Copied (replaced existing) 2025/12/12 02:19:55 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/12/12 02:19:55 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/12/12 02:19:55 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/12/12 02:19:55 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/12/12 02:19:56 DEBUG : dir: Looking for writers 2025/12/12 02:19:56 DEBUG : Looking for writers 2025/12/12 02:19:56 DEBUG : dir: reading active writers 2025/12/12 02:19:56 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:56 DEBUG : >WaitForWriters: 2025/12/12 02:19:56 DEBUG : WaitForWriters: timeout=30s 2025/12/12 02:19:56 DEBUG : dir: Looking for writers 2025/12/12 02:19:56 DEBUG : Looking for writers 2025/12/12 02:19:56 DEBUG : dir: reading active writers 2025/12/12 02:19:56 DEBUG : newLeaf: reading active writers 2025/12/12 02:19:56 DEBUG : >WaitForWriters: 2025/12/12 02:19:56 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:185: Remote "mega root 'rclone-test-tubiwoz8fuzu'", Local "Local file system at /tmp/rclone604837664", Modify Window "876000h0m0s" 2025/12/12 02:19:56 INFO : mega root 'rclone-test-tubiwoz8fuzu': poll-interval is not supported by this remote 2025/12/12 02:19:56 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/12/12 02:19:56 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:19:56 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:19:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:19:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/12 02:19:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tubiwoz8fuzu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:19:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:19:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/12/12 02:19:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tubiwoz8fuzu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-tubiwoz8fuzu" 2025/12/12 02:19:56 INFO : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) run.go:290: Failed to put "dir/file1" to "mega root 'rclone-test-tubiwoz8fuzu'": mkdir create node failed: unexpected end of JSON input 2025/12/12 02:20:07 DEBUG : WaitForWriters: timeout=30s 2025/12/12 02:20:07 DEBUG : Looking for writers 2025/12/12 02:20:07 DEBUG : >WaitForWriters: 2025/12/12 02:20:07 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': vfs cache: cleaner exiting --- FAIL: TestFileRename (96.99s) --- FAIL: TestFileRename/off,forceCache=false (16.23s) --- PASS: TestFileRename/minimal,forceCache=false (8.46s) --- PASS: TestFileRename/minimal,forceCache=true (30.61s) --- PASS: TestFileRename/writes,forceCache=false (17.84s) --- PASS: TestFileRename/writes,forceCache=true (13.31s) --- FAIL: TestFileRename/full,forceCache=false (10.54s) === RUN TestZipDirsInRoot run.go:185: Remote "mega root 'rclone-test-tubiwoz8fuzu'", Local "Local file system at /tmp/rclone604837664", Modify Window "876000h0m0s" 2025/12/12 02:20:07 INFO : mega root 'rclone-test-tubiwoz8fuzu': poll-interval is not supported by this remote 2025/12/12 02:20:07 NOTICE: mega root 'rclone-test-tubiwoz8fuzu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/12/12 02:20:22 DEBUG : dir1/a.txt: Open: flags=O_RDONLY 2025/12/12 02:20:22 DEBUG : dir1/a.txt: >Open: fd=dir1/a.txt (r), err= 2025/12/12 02:20:22 DEBUG : dir1/a.txt: Set virtual modtime to 2025-12-12 02:20:18 +0000 UTC 2025/12/12 02:20:22 DEBUG : dir1/a.txt: ChunkedReader.openRange at 0 length 134217728 2025/12/12 02:20:22 DEBUG : dir1/a.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/12 02:20:23 NOTICE: Unsolicited response received on idle HTTP channel starting with "88888"; err= 2025/12/12 02:20:23 DEBUG : dir2/b.txt: Open: flags=O_RDONLY 2025/12/12 02:20:23 DEBUG : dir2/b.txt: >Open: fd=dir2/b.txt (r), err= 2025/12/12 02:20:23 DEBUG : dir2/b.txt: Set virtual modtime to 2025-12-12 02:20:18 +0000 UTC 2025/12/12 02:20:23 DEBUG : dir2/b.txt: ChunkedReader.openRange at 0 length 134217728 2025/12/12 02:20:23 DEBUG : dir2/b.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/12 02:20:26 NOTICE: Unsolicited response received on idle HTTP channel starting with "\x05\x05\x05\x05\x05"; err= 2025/12/12 02:20:26 DEBUG : dir3/c.txt: Open: flags=O_RDONLY 2025/12/12 02:20:26 DEBUG : dir3/c.txt: >Open: fd=dir3/c.txt (r), err= 2025/12/12 02:20:26 DEBUG : dir3/c.txt: Set virtual modtime to 2025-12-12 02:20:20 +0000 UTC 2025/12/12 02:20:26 DEBUG : dir3/c.txt: ChunkedReader.openRange at 0 length 134217728 2025/12/12 02:20:26 DEBUG : dir3/c.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/12/12 02:20:26 NOTICE: Unsolicited response received on idle HTTP channel starting with "\xa5\xa5\xa5\xa5"; err= 2025/12/12 02:20:26 DEBUG : WaitForWriters: timeout=30s 2025/12/12 02:20:26 DEBUG : dir1: Looking for writers 2025/12/12 02:20:26 DEBUG : a.txt: reading active writers 2025/12/12 02:20:26 DEBUG : dir2: Looking for writers 2025/12/12 02:20:26 DEBUG : b.txt: reading active writers 2025/12/12 02:20:26 DEBUG : dir3: Looking for writers 2025/12/12 02:20:26 DEBUG : c.txt: reading active writers 2025/12/12 02:20:26 DEBUG : Looking for writers 2025/12/12 02:20:26 DEBUG : dir1: reading active writers 2025/12/12 02:20:26 DEBUG : dir2: reading active writers 2025/12/12 02:20:26 DEBUG : dir3: reading active writers 2025/12/12 02:20:26 DEBUG : >WaitForWriters: --- PASS: TestZipDirsInRoot (23.24s) FAIL 2025/12/12 02:20:30 DEBUG : mega root 'rclone-test-tubiwoz8fuzu': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestDirRemove|TestZipDirsInRoot)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 2m25.898802327s (try 3/5): exit status 1: Failed [TestDirRemove TestFileRename/off,forceCache=false TestFileRename/full,forceCache=false]