"./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 4/5) 2026/04/07 02:59:14 DEBUG : Creating backend with remote "TestMega:rclone-test-pikinup8taci" 2026/04/07 02:59:14 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/04/07 02:59:14 DEBUG : mega root 'rclone-test-pikinup8taci': Using previously stored session ID and master key to initialize the Mega API 2026/04/07 02:59:30 DEBUG : Creating backend with remote "/tmp/rclone76443318" === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:185: Remote "mega root 'rclone-test-pikinup8taci'", Local "Local file system at /tmp/rclone76443318", Modify Window "876000h0m0s" 2026/04/07 02:59:30 INFO : mega root 'rclone-test-pikinup8taci': poll-interval is not supported by this remote 2026/04/07 02:59:30 NOTICE: mega root 'rclone-test-pikinup8taci': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/07 02:59:35 DEBUG : WaitForWriters: timeout=30s 2026/04/07 02:59:35 DEBUG : dir: Looking for writers 2026/04/07 02:59:35 DEBUG : file1: reading active writers 2026/04/07 02:59:35 DEBUG : Looking for writers 2026/04/07 02:59:35 DEBUG : dir: reading active writers 2026/04/07 02:59:35 DEBUG : >WaitForWriters: 2026/04/07 02:59:37 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/07 02:59:37 DEBUG : newLeaf: Updating file with newLeaf 0x2ec2295a1500 2026/04/07 02:59:37 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/07 02:59:37 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "file1" 2026/04/07 02:59:55 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/04/07 02:59:55 DEBUG : dir/file1: Updating file with dir/file1 0x2ec2295a1500 2026/04/07 02:59:55 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/04/07 02:59:55 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), file1 (14), file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "file1" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "file1" 2026/04/07 03:00:02 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/04/07 03:00:02 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/04/07 03:00:02 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/07 03:00:02 DEBUG : dir/file1: File is currently open, delaying rename 0x2ec2295a1500 2026/04/07 03:00:02 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/07 03:00:02 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/07 03:00:02 DEBUG : mega root 'rclone-test-pikinup8taci': File to upload is small (25 bytes), uploading instead of streaming 2026/04/07 03:00:13 ERROR : dir/file1: WriteFileHandle.New Rcat failed: upload file failed to create session: unexpected end of JSON input 2026/04/07 03:00:13 DEBUG : newLeaf: Running delayed rename now 2026/04/07 03:00:23 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/07 03:00:23 DEBUG : newLeaf: Updating file with newLeaf 0x2ec2295a1500 file_test.go:391: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:391 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Received unexpected error: upload file failed to create session: unexpected end of JSON input Test: TestFileRename/off,forceCache=false 2026/04/07 03:00:23 DEBUG : WaitForWriters: timeout=30s 2026/04/07 03:00:23 DEBUG : dir: Looking for writers 2026/04/07 03:00:23 DEBUG : Looking for writers 2026/04/07 03:00:23 DEBUG : newLeaf: reading active writers 2026/04/07 03:00:23 DEBUG : dir: reading active writers 2026/04/07 03:00:23 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1317 /usr/local/go/src/testing/testing.go:1667 /usr/local/go/src/testing/testing.go:2030 /usr/local/go/src/runtime/panic.go:694 /usr/local/go/src/testing/testing.go:1022 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:391 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want got file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1317 /usr/local/go/src/testing/testing.go:1667 /usr/local/go/src/testing/testing.go:2030 /usr/local/go/src/runtime/panic.go:694 /usr/local/go/src/testing/testing.go:1022 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:391 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "file1" === RUN TestFileRename/minimal,forceCache=false run.go:185: Remote "mega root 'rclone-test-pikinup8taci'", Local "Local file system at /tmp/rclone76443318", Modify Window "876000h0m0s" 2026/04/07 03:01:14 INFO : mega root 'rclone-test-pikinup8taci': poll-interval is not supported by this remote 2026/04/07 03:01:14 NOTICE: mega root 'rclone-test-pikinup8taci': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/07 03:01:14 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/07 03:01:14 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:01:14 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:01:14 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:01:14 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/07 03:01:14 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pikinup8taci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:01:14 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:01:14 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/07 03:01:14 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pikinup8taci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:01:14 INFO : mega root 'rclone-test-pikinup8taci': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "file1" 2026/04/07 03:01:31 DEBUG : WaitForWriters: timeout=30s 2026/04/07 03:01:31 DEBUG : dir: Looking for writers 2026/04/07 03:01:31 DEBUG : file1: reading active writers 2026/04/07 03:01:31 DEBUG : Looking for writers 2026/04/07 03:01:31 DEBUG : dir: reading active writers 2026/04/07 03:01:31 DEBUG : file1: reading active writers 2026/04/07 03:01:31 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "file1" 2026/04/07 03:01:39 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/07 03:01:39 DEBUG : newLeaf: Updating file with newLeaf 0x2ec2295a0e40 2026/04/07 03:01:39 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/07 03:01:39 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "file1" 2026/04/07 03:02:07 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/04/07 03:02:07 DEBUG : dir/file1: Updating file with dir/file1 0x2ec2295a0e40 2026/04/07 03:02:07 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/04/07 03:02:07 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2026/04/07 03:02:14 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2026/04/07 03:02:14 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item newLeaf not removed, freed 0 bytes 2026/04/07 03:02:14 INFO : mega root 'rclone-test-pikinup8taci': vfs cache: cleaned: objects 2 (was 2) in use 0, to upload 0, uploading 0, total size 0 (was 0) fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "file1" 2026/04/07 03:02:14 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/04/07 03:02:14 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/04/07 03:02:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/07 03:02:14 DEBUG : dir/file1: File is currently open, delaying rename 0x2ec2295a0e40 2026/04/07 03:02:14 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/07 03:02:14 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/07 03:02:14 DEBUG : mega root 'rclone-test-pikinup8taci': File to upload is small (25 bytes), uploading instead of streaming 2026/04/07 03:02:26 ERROR : dir/file1: WriteFileHandle.New Rcat failed: failed to finish upload: unexpected end of JSON input 2026/04/07 03:02:26 DEBUG : newLeaf: Running delayed rename now 2026/04/07 03:02:26 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/07 03:02:26 DEBUG : newLeaf: Updating file with newLeaf 0x2ec2295a0e40 file_test.go:391: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:391 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Received unexpected error: failed to finish upload: unexpected end of JSON input Test: TestFileRename/minimal,forceCache=false 2026/04/07 03:02:26 DEBUG : WaitForWriters: timeout=30s 2026/04/07 03:02:26 DEBUG : dir: Looking for writers 2026/04/07 03:02:26 DEBUG : Looking for writers 2026/04/07 03:02:26 DEBUG : dir: reading active writers 2026/04/07 03:02:26 DEBUG : file1: reading active writers 2026/04/07 03:02:26 DEBUG : newLeaf: reading active writers 2026/04/07 03:02:26 DEBUG : >WaitForWriters: 2026/04/07 03:02:26 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache: cleaner exiting fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1317 /usr/local/go/src/testing/testing.go:1667 /usr/local/go/src/testing/testing.go:2030 /usr/local/go/src/runtime/panic.go:694 /usr/local/go/src/testing/testing.go:1022 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:391 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want got file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1317 /usr/local/go/src/testing/testing.go:1667 /usr/local/go/src/testing/testing.go:2030 /usr/local/go/src/runtime/panic.go:694 /usr/local/go/src/testing/testing.go:1022 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:391 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "file1" === RUN TestFileRename/minimal,forceCache=true run.go:185: Remote "mega root 'rclone-test-pikinup8taci'", Local "Local file system at /tmp/rclone76443318", Modify Window "876000h0m0s" 2026/04/07 03:02:38 INFO : mega root 'rclone-test-pikinup8taci': poll-interval is not supported by this remote 2026/04/07 03:02:38 NOTICE: mega root 'rclone-test-pikinup8taci': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/04/07 03:02:38 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/07 03:02:38 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:02:38 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:02:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:02:38 DEBUG : Config file has changed externally - reloading 2026/04/07 03:02:38 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/07 03:02:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pikinup8taci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:02:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:02:38 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/07 03:02:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pikinup8taci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:02:38 INFO : mega root 'rclone-test-pikinup8taci': 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-pikinup8taci'": upload file failed to create session: unexpected end of JSON input 2026/04/07 03:02:59 DEBUG : WaitForWriters: timeout=30s 2026/04/07 03:02:59 DEBUG : Looking for writers 2026/04/07 03:02:59 DEBUG : >WaitForWriters: 2026/04/07 03:02:59 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache: cleaner exiting fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1317 /usr/local/go/src/testing/testing.go:1667 /usr/local/go/src/testing/testing.go:2030 /usr/local/go/src/runtime/panic.go:694 /usr/local/go/src/testing/testing.go:1022 /usr/local/go/src/testing/testing.go:1228 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:290 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:297 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:27 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want got file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1317 /usr/local/go/src/testing/testing.go:1667 /usr/local/go/src/testing/testing.go:2030 /usr/local/go/src/runtime/panic.go:694 /usr/local/go/src/testing/testing.go:1022 /usr/local/go/src/testing/testing.go:1228 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:290 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:297 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:27 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "file1" === RUN TestFileRename/writes,forceCache=false run.go:185: Remote "mega root 'rclone-test-pikinup8taci'", Local "Local file system at /tmp/rclone76443318", Modify Window "876000h0m0s" 2026/04/07 03:03:10 INFO : mega root 'rclone-test-pikinup8taci': poll-interval is not supported by this remote 2026/04/07 03:03:10 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/07 03:03:10 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:03:10 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:03:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:03:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/07 03:03:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pikinup8taci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:03:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:03:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/07 03:03:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pikinup8taci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:03:10 INFO : mega root 'rclone-test-pikinup8taci': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "file1" 2026/04/07 03:03:19 DEBUG : WaitForWriters: timeout=30s 2026/04/07 03:03:19 DEBUG : dir: Looking for writers 2026/04/07 03:03:19 DEBUG : file1: reading active writers 2026/04/07 03:03:19 DEBUG : Looking for writers 2026/04/07 03:03:19 DEBUG : dir: reading active writers 2026/04/07 03:03:19 DEBUG : file1: reading active writers 2026/04/07 03:03:19 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "file1" 2026/04/07 03:03:37 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/07 03:03:37 DEBUG : newLeaf: Updating file with newLeaf 0x2ec2298c1380 2026/04/07 03:03:37 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/07 03:03:37 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "file1" 2026/04/07 03:03:45 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/04/07 03:03:45 DEBUG : dir/file1: Updating file with dir/file1 0x2ec2298c1380 2026/04/07 03:03:45 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/04/07 03:03:45 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "file1" 2026/04/07 03:03:52 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/04/07 03:03:52 DEBUG : dir/file1: newRWFileHandle: 2026/04/07 03:03:52 DEBUG : dir/file1(0x2ec2299ede00): openPending: 2026/04/07 03:03:52 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/04/07 03:03:52 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/04/07 03:03:52 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/07 03:03:52 DEBUG : dir/file1(0x2ec2299ede00): >openPending: err= 2026/04/07 03:03:52 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/04/07 03:03:52 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/07 03:03:52 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/07 03:03:52 DEBUG : dir/file1(0x2ec2299ede00): _writeAt: size=25, off=0 2026/04/07 03:03:52 DEBUG : dir/file1(0x2ec2299ede00): >_writeAt: n=25, err= 2026/04/07 03:04:10 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2026/04/07 03:04:10 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item newLeaf not removed, freed 0 bytes 2026/04/07 03:04:10 INFO : mega root 'rclone-test-pikinup8taci': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 0, total size 25 (was 25) 2026/04/07 03:04:13 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/07 03:04:13 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/04/07 03:04:13 DEBUG : newLeaf: Updating file with newLeaf 0x2ec2298c1380 2026/04/07 03:04:13 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/07 03:04:13 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/07 03:04:13 DEBUG : newLeaf(0x2ec2299ede00): close: 2026/04/07 03:04:13 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/04/07 03:04:13 DEBUG : newLeaf: vfs cache: setting modification time to 2026-04-07 03:03:52.309030668 +0000 UTC m=+277.937715837 2026/04/07 03:04:13 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/04/07 03:04:13 DEBUG : newLeaf(0x2ec2299ede00): >close: err= 2026/04/07 03:04:13 DEBUG : WaitForWriters: timeout=30s 2026/04/07 03:04:13 DEBUG : dir: Looking for writers 2026/04/07 03:04:13 DEBUG : Looking for writers 2026/04/07 03:04:13 DEBUG : dir: reading active writers 2026/04/07 03:04:13 DEBUG : file1: reading active writers 2026/04/07 03:04:13 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/04/07 03:04:13 DEBUG : dir: Looking for writers 2026/04/07 03:04:13 DEBUG : Looking for writers 2026/04/07 03:04:13 DEBUG : dir: reading active writers 2026/04/07 03:04:13 DEBUG : file1: reading active writers 2026/04/07 03:04:13 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/04/07 03:04:13 DEBUG : dir: Looking for writers 2026/04/07 03:04:13 DEBUG : Looking for writers 2026/04/07 03:04:13 DEBUG : dir: reading active writers 2026/04/07 03:04:13 DEBUG : file1: reading active writers 2026/04/07 03:04:13 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/04/07 03:04:13 DEBUG : dir: Looking for writers 2026/04/07 03:04:13 DEBUG : Looking for writers 2026/04/07 03:04:13 DEBUG : dir: reading active writers 2026/04/07 03:04:13 DEBUG : file1: reading active writers 2026/04/07 03:04:13 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/04/07 03:04:13 DEBUG : newLeaf: vfs cache: starting upload 2026/04/07 03:04:14 DEBUG : dir: Looking for writers 2026/04/07 03:04:14 DEBUG : Looking for writers 2026/04/07 03:04:14 DEBUG : dir: reading active writers 2026/04/07 03:04:14 DEBUG : file1: reading active writers 2026/04/07 03:04:14 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/04/07 03:04:14 DEBUG : dir: Looking for writers 2026/04/07 03:04:14 DEBUG : Looking for writers 2026/04/07 03:04:14 DEBUG : dir: reading active writers 2026/04/07 03:04:14 DEBUG : file1: reading active writers 2026/04/07 03:04:14 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/04/07 03:04:14 DEBUG : dir: Looking for writers 2026/04/07 03:04:14 DEBUG : Looking for writers 2026/04/07 03:04:14 DEBUG : dir: reading active writers 2026/04/07 03:04:14 DEBUG : file1: reading active writers 2026/04/07 03:04:14 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/04/07 03:04:15 DEBUG : dir: Looking for writers 2026/04/07 03:04:15 DEBUG : Looking for writers 2026/04/07 03:04:15 DEBUG : dir: reading active writers 2026/04/07 03:04:15 DEBUG : file1: reading active writers 2026/04/07 03:04:15 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:16 DEBUG : dir: Looking for writers 2026/04/07 03:04:16 DEBUG : Looking for writers 2026/04/07 03:04:16 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:16 DEBUG : dir: reading active writers 2026/04/07 03:04:16 DEBUG : file1: reading active writers 2026/04/07 03:04:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:17 DEBUG : dir: Looking for writers 2026/04/07 03:04:17 DEBUG : Looking for writers 2026/04/07 03:04:17 DEBUG : dir: reading active writers 2026/04/07 03:04:17 DEBUG : file1: reading active writers 2026/04/07 03:04:17 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:18 DEBUG : dir: Looking for writers 2026/04/07 03:04:18 DEBUG : Looking for writers 2026/04/07 03:04:18 DEBUG : file1: reading active writers 2026/04/07 03:04:18 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:18 DEBUG : dir: reading active writers 2026/04/07 03:04:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:19 DEBUG : dir: Looking for writers 2026/04/07 03:04:19 DEBUG : Looking for writers 2026/04/07 03:04:19 DEBUG : dir: reading active writers 2026/04/07 03:04:19 DEBUG : file1: reading active writers 2026/04/07 03:04:19 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:20 DEBUG : dir: Looking for writers 2026/04/07 03:04:20 DEBUG : Looking for writers 2026/04/07 03:04:20 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:20 DEBUG : dir: reading active writers 2026/04/07 03:04:20 DEBUG : file1: reading active writers 2026/04/07 03:04:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:21 DEBUG : dir: Looking for writers 2026/04/07 03:04:21 DEBUG : Looking for writers 2026/04/07 03:04:21 DEBUG : dir: reading active writers 2026/04/07 03:04:21 DEBUG : file1: reading active writers 2026/04/07 03:04:21 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:22 DEBUG : dir: Looking for writers 2026/04/07 03:04:22 DEBUG : Looking for writers 2026/04/07 03:04:22 DEBUG : dir: reading active writers 2026/04/07 03:04:22 DEBUG : file1: reading active writers 2026/04/07 03:04:22 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:23 DEBUG : dir: Looking for writers 2026/04/07 03:04:23 DEBUG : Looking for writers 2026/04/07 03:04:23 DEBUG : file1: reading active writers 2026/04/07 03:04:23 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:23 DEBUG : dir: reading active writers 2026/04/07 03:04:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:24 DEBUG : dir: Looking for writers 2026/04/07 03:04:24 DEBUG : Looking for writers 2026/04/07 03:04:24 DEBUG : dir: reading active writers 2026/04/07 03:04:24 DEBUG : file1: reading active writers 2026/04/07 03:04:24 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:24 ERROR : newLeaf: Failed to copy: upload file failed to create session: unexpected end of JSON input 2026/04/07 03:04:24 ERROR : newLeaf: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: upload file failed to create session: unexpected end of JSON input 2026/04/07 03:04:24 DEBUG : newLeaf: vfs cache: starting upload 2026/04/07 03:04:25 DEBUG : dir: Looking for writers 2026/04/07 03:04:25 DEBUG : Looking for writers 2026/04/07 03:04:25 DEBUG : dir: reading active writers 2026/04/07 03:04:25 DEBUG : file1: reading active writers 2026/04/07 03:04:25 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:26 DEBUG : dir: Looking for writers 2026/04/07 03:04:26 DEBUG : Looking for writers 2026/04/07 03:04:26 DEBUG : dir: reading active writers 2026/04/07 03:04:26 DEBUG : file1: reading active writers 2026/04/07 03:04:26 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:27 DEBUG : dir: Looking for writers 2026/04/07 03:04:27 DEBUG : Looking for writers 2026/04/07 03:04:27 DEBUG : dir: reading active writers 2026/04/07 03:04:27 DEBUG : file1: reading active writers 2026/04/07 03:04:27 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:28 DEBUG : dir: Looking for writers 2026/04/07 03:04:28 DEBUG : Looking for writers 2026/04/07 03:04:28 DEBUG : dir: reading active writers 2026/04/07 03:04:28 DEBUG : file1: reading active writers 2026/04/07 03:04:28 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:29 DEBUG : dir: Looking for writers 2026/04/07 03:04:29 DEBUG : Looking for writers 2026/04/07 03:04:29 DEBUG : dir: reading active writers 2026/04/07 03:04:29 DEBUG : file1: reading active writers 2026/04/07 03:04:29 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:30 DEBUG : dir: Looking for writers 2026/04/07 03:04:30 DEBUG : Looking for writers 2026/04/07 03:04:30 DEBUG : dir: reading active writers 2026/04/07 03:04:30 DEBUG : file1: reading active writers 2026/04/07 03:04:30 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:31 DEBUG : dir: Looking for writers 2026/04/07 03:04:31 DEBUG : Looking for writers 2026/04/07 03:04:31 DEBUG : dir: reading active writers 2026/04/07 03:04:31 DEBUG : file1: reading active writers 2026/04/07 03:04:31 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:32 DEBUG : dir: Looking for writers 2026/04/07 03:04:32 DEBUG : Looking for writers 2026/04/07 03:04:32 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:32 DEBUG : dir: reading active writers 2026/04/07 03:04:32 DEBUG : file1: reading active writers 2026/04/07 03:04:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:33 DEBUG : dir: Looking for writers 2026/04/07 03:04:33 DEBUG : Looking for writers 2026/04/07 03:04:33 DEBUG : dir: reading active writers 2026/04/07 03:04:33 DEBUG : file1: reading active writers 2026/04/07 03:04:33 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:34 DEBUG : dir: Looking for writers 2026/04/07 03:04:34 DEBUG : Looking for writers 2026/04/07 03:04:34 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:34 DEBUG : dir: reading active writers 2026/04/07 03:04:34 DEBUG : file1: reading active writers 2026/04/07 03:04:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:35 DEBUG : dir: Looking for writers 2026/04/07 03:04:35 DEBUG : Looking for writers 2026/04/07 03:04:35 DEBUG : dir: reading active writers 2026/04/07 03:04:35 DEBUG : file1: reading active writers 2026/04/07 03:04:35 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:35 ERROR : newLeaf: Failed to copy: failed to finish upload: unexpected end of JSON input 2026/04/07 03:04:35 ERROR : newLeaf: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: failed to finish upload: unexpected end of JSON input 2026/04/07 03:04:36 DEBUG : newLeaf: vfs cache: starting upload 2026/04/07 03:04:36 DEBUG : dir: Looking for writers 2026/04/07 03:04:36 DEBUG : Looking for writers 2026/04/07 03:04:36 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:36 DEBUG : dir: reading active writers 2026/04/07 03:04:36 DEBUG : file1: reading active writers 2026/04/07 03:04:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:37 DEBUG : dir: Looking for writers 2026/04/07 03:04:37 DEBUG : Looking for writers 2026/04/07 03:04:37 DEBUG : dir: reading active writers 2026/04/07 03:04:37 DEBUG : file1: reading active writers 2026/04/07 03:04:37 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:38 DEBUG : dir: Looking for writers 2026/04/07 03:04:38 DEBUG : Looking for writers 2026/04/07 03:04:38 DEBUG : dir: reading active writers 2026/04/07 03:04:38 DEBUG : file1: reading active writers 2026/04/07 03:04:38 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:39 DEBUG : dir: Looking for writers 2026/04/07 03:04:39 DEBUG : Looking for writers 2026/04/07 03:04:39 DEBUG : dir: reading active writers 2026/04/07 03:04:39 DEBUG : file1: reading active writers 2026/04/07 03:04:39 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:40 DEBUG : dir: Looking for writers 2026/04/07 03:04:40 DEBUG : Looking for writers 2026/04/07 03:04:40 DEBUG : dir: reading active writers 2026/04/07 03:04:40 DEBUG : file1: reading active writers 2026/04/07 03:04:40 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:41 DEBUG : dir: Looking for writers 2026/04/07 03:04:41 DEBUG : Looking for writers 2026/04/07 03:04:41 DEBUG : file1: reading active writers 2026/04/07 03:04:41 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:41 DEBUG : dir: reading active writers 2026/04/07 03:04:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:42 DEBUG : dir: Looking for writers 2026/04/07 03:04:42 DEBUG : Looking for writers 2026/04/07 03:04:42 DEBUG : file1: reading active writers 2026/04/07 03:04:42 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:42 DEBUG : dir: reading active writers 2026/04/07 03:04:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:43 DEBUG : dir: Looking for writers 2026/04/07 03:04:43 DEBUG : Looking for writers 2026/04/07 03:04:43 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:43 DEBUG : dir: reading active writers 2026/04/07 03:04:43 DEBUG : file1: reading active writers 2026/04/07 03:04:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:43 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "newLeaf": &{c:0x2ec229c4f950 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0x2ec22999a248 notify:{wait:0 notify:0 lock:0 head: tail:} checker:51411456467584} name:newLeaf opens:0 downloaders: o:0x2ec22c7e5e20 fd: info:{ModTime:{wall:14009918775645400844 ext:277937715837 loc:0x4669360} ATime:{wall:14009918798769790902 ext:299513527621 loc:0x4669360} Size:25 Rs:[{Pos:0 Size:25}] Fingerprint:14 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false graceTimer:}, } 2026/04/07 03:04:43 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2026/04/07 03:04:46 ERROR : newLeaf: Failed to copy: failed to finish upload: unexpected end of JSON input 2026/04/07 03:04:46 ERROR : newLeaf: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: failed to finish upload: unexpected end of JSON input 2026/04/07 03:04:47 DEBUG : newLeaf: vfs cache: starting upload fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want newLeaf (25) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "file1" fstest.go:150: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:150 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:195 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Not equal: expected: 25 actual : 14 Test: TestFileRename/writes,forceCache=false Messages: newLeaf: size incorrect file=25 vs obj=14 2026/04/07 03:04:50 DEBUG : WaitForWriters: timeout=30s 2026/04/07 03:04:50 DEBUG : dir: Looking for writers 2026/04/07 03:04:50 DEBUG : Looking for writers 2026/04/07 03:04:50 DEBUG : dir: reading active writers 2026/04/07 03:04:50 DEBUG : file1: reading active writers 2026/04/07 03:04:50 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/04/07 03:04:50 DEBUG : dir: Looking for writers 2026/04/07 03:04:50 DEBUG : Looking for writers 2026/04/07 03:04:50 DEBUG : dir: reading active writers 2026/04/07 03:04:50 DEBUG : file1: reading active writers 2026/04/07 03:04:50 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/04/07 03:04:50 DEBUG : dir: Looking for writers 2026/04/07 03:04:50 DEBUG : Looking for writers 2026/04/07 03:04:50 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:50 DEBUG : dir: reading active writers 2026/04/07 03:04:50 DEBUG : file1: reading active writers 2026/04/07 03:04:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/04/07 03:04:50 DEBUG : dir: Looking for writers 2026/04/07 03:04:50 DEBUG : Looking for writers 2026/04/07 03:04:50 DEBUG : dir: reading active writers 2026/04/07 03:04:50 DEBUG : file1: reading active writers 2026/04/07 03:04:50 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/04/07 03:04:51 DEBUG : dir: Looking for writers 2026/04/07 03:04:51 DEBUG : Looking for writers 2026/04/07 03:04:51 DEBUG : dir: reading active writers 2026/04/07 03:04:51 DEBUG : file1: reading active writers 2026/04/07 03:04:51 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/04/07 03:04:51 DEBUG : dir: Looking for writers 2026/04/07 03:04:51 DEBUG : Looking for writers 2026/04/07 03:04:51 DEBUG : dir: reading active writers 2026/04/07 03:04:51 DEBUG : file1: reading active writers 2026/04/07 03:04:51 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/04/07 03:04:51 DEBUG : dir: Looking for writers 2026/04/07 03:04:51 DEBUG : Looking for writers 2026/04/07 03:04:51 DEBUG : file1: reading active writers 2026/04/07 03:04:51 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:51 DEBUG : dir: reading active writers 2026/04/07 03:04:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/04/07 03:04:52 DEBUG : dir: Looking for writers 2026/04/07 03:04:52 DEBUG : Looking for writers 2026/04/07 03:04:52 DEBUG : dir: reading active writers 2026/04/07 03:04:52 DEBUG : file1: reading active writers 2026/04/07 03:04:52 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:53 DEBUG : dir: Looking for writers 2026/04/07 03:04:53 DEBUG : Looking for writers 2026/04/07 03:04:53 DEBUG : dir: reading active writers 2026/04/07 03:04:53 DEBUG : file1: reading active writers 2026/04/07 03:04:53 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:54 DEBUG : dir: Looking for writers 2026/04/07 03:04:54 DEBUG : Looking for writers 2026/04/07 03:04:54 DEBUG : dir: reading active writers 2026/04/07 03:04:54 DEBUG : file1: reading active writers 2026/04/07 03:04:54 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:55 DEBUG : dir: Looking for writers 2026/04/07 03:04:55 DEBUG : Looking for writers 2026/04/07 03:04:55 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:55 DEBUG : dir: reading active writers 2026/04/07 03:04:55 DEBUG : file1: reading active writers 2026/04/07 03:04:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:56 DEBUG : dir: Looking for writers 2026/04/07 03:04:56 DEBUG : Looking for writers 2026/04/07 03:04:56 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:56 DEBUG : dir: reading active writers 2026/04/07 03:04:56 DEBUG : file1: reading active writers 2026/04/07 03:04:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:57 DEBUG : dir: Looking for writers 2026/04/07 03:04:57 DEBUG : Looking for writers 2026/04/07 03:04:57 DEBUG : dir: reading active writers 2026/04/07 03:04:57 DEBUG : file1: reading active writers 2026/04/07 03:04:57 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:58 DEBUG : dir: Looking for writers 2026/04/07 03:04:58 DEBUG : Looking for writers 2026/04/07 03:04:58 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:58 DEBUG : dir: reading active writers 2026/04/07 03:04:58 DEBUG : file1: reading active writers 2026/04/07 03:04:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:58 ERROR : newLeaf: Failed to copy: upload file failed to create session: unexpected end of JSON input 2026/04/07 03:04:58 ERROR : newLeaf: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: upload file failed to create session: unexpected end of JSON input 2026/04/07 03:04:59 DEBUG : dir: Looking for writers 2026/04/07 03:04:59 DEBUG : Looking for writers 2026/04/07 03:04:59 DEBUG : dir: reading active writers 2026/04/07 03:04:59 DEBUG : file1: reading active writers 2026/04/07 03:04:59 DEBUG : newLeaf: reading active writers 2026/04/07 03:04:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:04:59 DEBUG : newLeaf: vfs cache: starting upload 2026/04/07 03:05:00 DEBUG : dir: Looking for writers 2026/04/07 03:05:00 DEBUG : Looking for writers 2026/04/07 03:05:00 DEBUG : dir: reading active writers 2026/04/07 03:05:00 DEBUG : file1: reading active writers 2026/04/07 03:05:00 DEBUG : newLeaf: reading active writers 2026/04/07 03:05:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:01 DEBUG : dir: Looking for writers 2026/04/07 03:05:01 DEBUG : Looking for writers 2026/04/07 03:05:01 DEBUG : dir: reading active writers 2026/04/07 03:05:01 DEBUG : file1: reading active writers 2026/04/07 03:05:01 DEBUG : newLeaf: reading active writers 2026/04/07 03:05:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:02 DEBUG : dir: Looking for writers 2026/04/07 03:05:02 DEBUG : Looking for writers 2026/04/07 03:05:02 DEBUG : dir: reading active writers 2026/04/07 03:05:02 DEBUG : file1: reading active writers 2026/04/07 03:05:02 DEBUG : newLeaf: reading active writers 2026/04/07 03:05:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:03 DEBUG : dir: Looking for writers 2026/04/07 03:05:03 DEBUG : Looking for writers 2026/04/07 03:05:03 DEBUG : newLeaf: reading active writers 2026/04/07 03:05:03 DEBUG : dir: reading active writers 2026/04/07 03:05:03 DEBUG : file1: reading active writers 2026/04/07 03:05:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:04 DEBUG : dir: Looking for writers 2026/04/07 03:05:04 DEBUG : Looking for writers 2026/04/07 03:05:04 DEBUG : file1: reading active writers 2026/04/07 03:05:04 DEBUG : newLeaf: reading active writers 2026/04/07 03:05:04 DEBUG : dir: reading active writers 2026/04/07 03:05:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:05 DEBUG : dir: Looking for writers 2026/04/07 03:05:05 DEBUG : Looking for writers 2026/04/07 03:05:05 DEBUG : dir: reading active writers 2026/04/07 03:05:05 DEBUG : file1: reading active writers 2026/04/07 03:05:05 DEBUG : newLeaf: reading active writers 2026/04/07 03:05:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:06 DEBUG : dir: Looking for writers 2026/04/07 03:05:06 DEBUG : Looking for writers 2026/04/07 03:05:06 DEBUG : newLeaf: reading active writers 2026/04/07 03:05:06 DEBUG : dir: reading active writers 2026/04/07 03:05:06 DEBUG : file1: reading active writers 2026/04/07 03:05:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:07 DEBUG : dir: Looking for writers 2026/04/07 03:05:07 DEBUG : Looking for writers 2026/04/07 03:05:07 DEBUG : dir: reading active writers 2026/04/07 03:05:07 DEBUG : file1: reading active writers 2026/04/07 03:05:07 DEBUG : newLeaf: reading active writers 2026/04/07 03:05:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:08 DEBUG : dir: Looking for writers 2026/04/07 03:05:08 DEBUG : Looking for writers 2026/04/07 03:05:08 DEBUG : dir: reading active writers 2026/04/07 03:05:08 DEBUG : file1: reading active writers 2026/04/07 03:05:08 DEBUG : newLeaf: reading active writers 2026/04/07 03:05:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:09 DEBUG : dir: Looking for writers 2026/04/07 03:05:09 DEBUG : Looking for writers 2026/04/07 03:05:09 DEBUG : newLeaf: reading active writers 2026/04/07 03:05:09 DEBUG : dir: reading active writers 2026/04/07 03:05:09 DEBUG : file1: reading active writers 2026/04/07 03:05:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:09 DEBUG : newLeaf: size = 25 OK 2026/04/07 03:05:09 INFO : newLeaf: Copied (replaced existing) 2026/04/07 03:05:09 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/04/07 03:05:09 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/04/07 03:05:09 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/07 03:05:09 INFO : newLeaf: vfs cache: upload succeeded try #5 2026/04/07 03:05:10 DEBUG : dir: Looking for writers 2026/04/07 03:05:10 DEBUG : Looking for writers 2026/04/07 03:05:10 DEBUG : dir: reading active writers 2026/04/07 03:05:10 DEBUG : file1: reading active writers 2026/04/07 03:05:10 DEBUG : newLeaf: reading active writers 2026/04/07 03:05:10 DEBUG : >WaitForWriters: 2026/04/07 03:05:10 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache: cleaner exiting fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1317 /usr/local/go/src/testing/testing.go:1667 /usr/local/go/src/testing/testing.go:2030 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want got file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1317 /usr/local/go/src/testing/testing.go:1667 /usr/local/go/src/testing/testing.go:2030 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "file1" === RUN TestFileRename/writes,forceCache=true run.go:185: Remote "mega root 'rclone-test-pikinup8taci'", Local "Local file system at /tmp/rclone76443318", Modify Window "876000h0m0s" 2026/04/07 03:05:18 INFO : mega root 'rclone-test-pikinup8taci': poll-interval is not supported by this remote 2026/04/07 03:05:18 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/07 03:05:18 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:05:18 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:05:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:05:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/07 03:05:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pikinup8taci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:05:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:05:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/07 03:05:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pikinup8taci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:05:18 INFO : mega root 'rclone-test-pikinup8taci': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "file1" 2026/04/07 03:05:28 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/04/07 03:05:28 DEBUG : dir/file1: newRWFileHandle: 2026/04/07 03:05:28 DEBUG : dir/file1(0x2ec22a104140): openPending: 2026/04/07 03:05:28 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/04/07 03:05:28 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/04/07 03:05:28 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/07 03:05:28 DEBUG : dir/file1(0x2ec22a104140): >openPending: err= 2026/04/07 03:05:28 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/04/07 03:05:28 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/07 03:05:28 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/07 03:05:28 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/07 03:05:28 DEBUG : dir/file1(0x2ec22a104140): _writeAt: size=14, off=0 2026/04/07 03:05:28 DEBUG : dir/file1(0x2ec22a104140): >_writeAt: n=14, err= 2026/04/07 03:05:28 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/04/07 03:05:28 DEBUG : dir/file1(0x2ec22a104140): close: 2026/04/07 03:05:28 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/04/07 03:05:28 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/04/07 03:05:28 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/04/07 03:05:28 DEBUG : dir/file1(0x2ec22a104140): >close: err= 2026/04/07 03:05:28 DEBUG : WaitForWriters: timeout=30s 2026/04/07 03:05:28 DEBUG : dir: Looking for writers 2026/04/07 03:05:28 DEBUG : file1: reading active writers 2026/04/07 03:05:28 DEBUG : Looking for writers 2026/04/07 03:05:28 DEBUG : dir: reading active writers 2026/04/07 03:05:28 DEBUG : file1: reading active writers 2026/04/07 03:05:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/04/07 03:05:28 DEBUG : dir: Looking for writers 2026/04/07 03:05:28 DEBUG : file1: reading active writers 2026/04/07 03:05:28 DEBUG : Looking for writers 2026/04/07 03:05:28 DEBUG : dir: reading active writers 2026/04/07 03:05:28 DEBUG : file1: reading active writers 2026/04/07 03:05:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/04/07 03:05:28 DEBUG : dir: Looking for writers 2026/04/07 03:05:28 DEBUG : file1: reading active writers 2026/04/07 03:05:28 DEBUG : Looking for writers 2026/04/07 03:05:28 DEBUG : dir: reading active writers 2026/04/07 03:05:28 DEBUG : file1: reading active writers 2026/04/07 03:05:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/04/07 03:05:28 DEBUG : dir: Looking for writers 2026/04/07 03:05:28 DEBUG : file1: reading active writers 2026/04/07 03:05:28 DEBUG : Looking for writers 2026/04/07 03:05:28 DEBUG : dir: reading active writers 2026/04/07 03:05:28 DEBUG : file1: reading active writers 2026/04/07 03:05:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/04/07 03:05:28 DEBUG : dir/file1: vfs cache: starting upload 2026/04/07 03:05:28 DEBUG : dir: Looking for writers 2026/04/07 03:05:28 DEBUG : file1: reading active writers 2026/04/07 03:05:28 DEBUG : Looking for writers 2026/04/07 03:05:28 DEBUG : dir: reading active writers 2026/04/07 03:05:28 DEBUG : file1: reading active writers 2026/04/07 03:05:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/04/07 03:05:28 DEBUG : dir: Looking for writers 2026/04/07 03:05:28 DEBUG : file1: reading active writers 2026/04/07 03:05:28 DEBUG : Looking for writers 2026/04/07 03:05:28 DEBUG : dir: reading active writers 2026/04/07 03:05:28 DEBUG : file1: reading active writers 2026/04/07 03:05:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/04/07 03:05:28 DEBUG : dir: Looking for writers 2026/04/07 03:05:28 DEBUG : file1: reading active writers 2026/04/07 03:05:28 DEBUG : Looking for writers 2026/04/07 03:05:28 DEBUG : file1: reading active writers 2026/04/07 03:05:28 DEBUG : dir: reading active writers 2026/04/07 03:05:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/04/07 03:05:29 DEBUG : dir: Looking for writers 2026/04/07 03:05:29 DEBUG : file1: reading active writers 2026/04/07 03:05:29 DEBUG : Looking for writers 2026/04/07 03:05:29 DEBUG : dir: reading active writers 2026/04/07 03:05:29 DEBUG : file1: reading active writers 2026/04/07 03:05:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:30 DEBUG : dir: Looking for writers 2026/04/07 03:05:30 DEBUG : file1: reading active writers 2026/04/07 03:05:30 DEBUG : Looking for writers 2026/04/07 03:05:30 DEBUG : dir: reading active writers 2026/04/07 03:05:30 DEBUG : file1: reading active writers 2026/04/07 03:05:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:31 DEBUG : dir: Looking for writers 2026/04/07 03:05:31 DEBUG : file1: reading active writers 2026/04/07 03:05:31 DEBUG : Looking for writers 2026/04/07 03:05:31 DEBUG : dir: reading active writers 2026/04/07 03:05:31 DEBUG : file1: reading active writers 2026/04/07 03:05:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:32 DEBUG : dir: Looking for writers 2026/04/07 03:05:32 DEBUG : file1: reading active writers 2026/04/07 03:05:32 DEBUG : Looking for writers 2026/04/07 03:05:32 DEBUG : dir: reading active writers 2026/04/07 03:05:32 DEBUG : file1: reading active writers 2026/04/07 03:05:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:33 DEBUG : dir: Looking for writers 2026/04/07 03:05:33 DEBUG : file1: reading active writers 2026/04/07 03:05:33 DEBUG : Looking for writers 2026/04/07 03:05:33 DEBUG : dir: reading active writers 2026/04/07 03:05:33 DEBUG : file1: reading active writers 2026/04/07 03:05:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:34 DEBUG : dir: Looking for writers 2026/04/07 03:05:34 DEBUG : file1: reading active writers 2026/04/07 03:05:34 DEBUG : Looking for writers 2026/04/07 03:05:34 DEBUG : dir: reading active writers 2026/04/07 03:05:34 DEBUG : file1: reading active writers 2026/04/07 03:05:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:35 DEBUG : dir: Looking for writers 2026/04/07 03:05:35 DEBUG : file1: reading active writers 2026/04/07 03:05:35 DEBUG : Looking for writers 2026/04/07 03:05:35 DEBUG : dir: reading active writers 2026/04/07 03:05:35 DEBUG : file1: reading active writers 2026/04/07 03:05:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:36 DEBUG : dir: Looking for writers 2026/04/07 03:05:36 DEBUG : file1: reading active writers 2026/04/07 03:05:36 DEBUG : Looking for writers 2026/04/07 03:05:36 DEBUG : dir: reading active writers 2026/04/07 03:05:36 DEBUG : file1: reading active writers 2026/04/07 03:05:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:37 DEBUG : dir: Looking for writers 2026/04/07 03:05:37 DEBUG : file1: reading active writers 2026/04/07 03:05:37 DEBUG : Looking for writers 2026/04/07 03:05:37 DEBUG : dir: reading active writers 2026/04/07 03:05:37 DEBUG : file1: reading active writers 2026/04/07 03:05:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:38 DEBUG : dir: Looking for writers 2026/04/07 03:05:38 DEBUG : file1: reading active writers 2026/04/07 03:05:38 DEBUG : Looking for writers 2026/04/07 03:05:38 DEBUG : dir: reading active writers 2026/04/07 03:05:38 DEBUG : file1: reading active writers 2026/04/07 03:05:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:38 ERROR : dir/file1: Failed to copy: upload file failed to create session: unexpected end of JSON input 2026/04/07 03:05:38 ERROR : dir/file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: upload file failed to create session: unexpected end of JSON input 2026/04/07 03:05:39 DEBUG : dir/file1: vfs cache: starting upload 2026/04/07 03:05:39 DEBUG : dir: Looking for writers 2026/04/07 03:05:39 DEBUG : file1: reading active writers 2026/04/07 03:05:39 DEBUG : Looking for writers 2026/04/07 03:05:39 DEBUG : dir: reading active writers 2026/04/07 03:05:39 DEBUG : file1: reading active writers 2026/04/07 03:05:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:40 DEBUG : dir: Looking for writers 2026/04/07 03:05:40 DEBUG : file1: reading active writers 2026/04/07 03:05:40 DEBUG : Looking for writers 2026/04/07 03:05:40 DEBUG : dir: reading active writers 2026/04/07 03:05:40 DEBUG : file1: reading active writers 2026/04/07 03:05:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:41 DEBUG : dir: Looking for writers 2026/04/07 03:05:41 DEBUG : file1: reading active writers 2026/04/07 03:05:41 DEBUG : Looking for writers 2026/04/07 03:05:41 DEBUG : file1: reading active writers 2026/04/07 03:05:41 DEBUG : dir: reading active writers 2026/04/07 03:05:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:42 DEBUG : dir: Looking for writers 2026/04/07 03:05:42 DEBUG : file1: reading active writers 2026/04/07 03:05:42 DEBUG : Looking for writers 2026/04/07 03:05:42 DEBUG : dir: reading active writers 2026/04/07 03:05:42 DEBUG : file1: reading active writers 2026/04/07 03:05:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:43 DEBUG : dir: Looking for writers 2026/04/07 03:05:43 DEBUG : file1: reading active writers 2026/04/07 03:05:43 DEBUG : Looking for writers 2026/04/07 03:05:43 DEBUG : dir: reading active writers 2026/04/07 03:05:43 DEBUG : file1: reading active writers 2026/04/07 03:05:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:44 DEBUG : dir: Looking for writers 2026/04/07 03:05:44 DEBUG : file1: reading active writers 2026/04/07 03:05:44 DEBUG : Looking for writers 2026/04/07 03:05:44 DEBUG : dir: reading active writers 2026/04/07 03:05:44 DEBUG : file1: reading active writers 2026/04/07 03:05:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:45 DEBUG : dir: Looking for writers 2026/04/07 03:05:45 DEBUG : file1: reading active writers 2026/04/07 03:05:45 DEBUG : Looking for writers 2026/04/07 03:05:45 DEBUG : dir: reading active writers 2026/04/07 03:05:45 DEBUG : file1: reading active writers 2026/04/07 03:05:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:46 DEBUG : dir: Looking for writers 2026/04/07 03:05:46 DEBUG : file1: reading active writers 2026/04/07 03:05:46 DEBUG : Looking for writers 2026/04/07 03:05:46 DEBUG : dir: reading active writers 2026/04/07 03:05:46 DEBUG : file1: reading active writers 2026/04/07 03:05:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:47 DEBUG : dir: Looking for writers 2026/04/07 03:05:47 DEBUG : file1: reading active writers 2026/04/07 03:05:47 DEBUG : Looking for writers 2026/04/07 03:05:47 DEBUG : dir: reading active writers 2026/04/07 03:05:47 DEBUG : file1: reading active writers 2026/04/07 03:05:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:48 DEBUG : dir: Looking for writers 2026/04/07 03:05:48 DEBUG : file1: reading active writers 2026/04/07 03:05:48 DEBUG : Looking for writers 2026/04/07 03:05:48 DEBUG : dir: reading active writers 2026/04/07 03:05:48 DEBUG : file1: reading active writers 2026/04/07 03:05:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:49 DEBUG : dir: Looking for writers 2026/04/07 03:05:49 DEBUG : file1: reading active writers 2026/04/07 03:05:49 DEBUG : Looking for writers 2026/04/07 03:05:49 DEBUG : dir: reading active writers 2026/04/07 03:05:49 DEBUG : file1: reading active writers 2026/04/07 03:05:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:49 ERROR : dir/file1: Failed to copy: upload file failed to create session: unexpected end of JSON input 2026/04/07 03:05:49 ERROR : dir/file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: upload file failed to create session: unexpected end of JSON input 2026/04/07 03:05:50 DEBUG : dir/file1: vfs cache: starting upload 2026/04/07 03:05:50 DEBUG : dir: Looking for writers 2026/04/07 03:05:50 DEBUG : file1: reading active writers 2026/04/07 03:05:50 DEBUG : Looking for writers 2026/04/07 03:05:50 DEBUG : dir: reading active writers 2026/04/07 03:05:50 DEBUG : file1: reading active writers 2026/04/07 03:05:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:51 DEBUG : dir: Looking for writers 2026/04/07 03:05:51 DEBUG : file1: reading active writers 2026/04/07 03:05:51 DEBUG : Looking for writers 2026/04/07 03:05:51 DEBUG : file1: reading active writers 2026/04/07 03:05:51 DEBUG : dir: reading active writers 2026/04/07 03:05:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:52 DEBUG : dir: Looking for writers 2026/04/07 03:05:52 DEBUG : file1: reading active writers 2026/04/07 03:05:52 DEBUG : Looking for writers 2026/04/07 03:05:52 DEBUG : dir: reading active writers 2026/04/07 03:05:52 DEBUG : file1: reading active writers 2026/04/07 03:05:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:53 DEBUG : dir: Looking for writers 2026/04/07 03:05:53 DEBUG : file1: reading active writers 2026/04/07 03:05:53 DEBUG : Looking for writers 2026/04/07 03:05:53 DEBUG : dir: reading active writers 2026/04/07 03:05:53 DEBUG : file1: reading active writers 2026/04/07 03:05:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:54 DEBUG : dir: Looking for writers 2026/04/07 03:05:54 DEBUG : file1: reading active writers 2026/04/07 03:05:54 DEBUG : Looking for writers 2026/04/07 03:05:54 DEBUG : dir: reading active writers 2026/04/07 03:05:54 DEBUG : file1: reading active writers 2026/04/07 03:05:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:55 DEBUG : dir: Looking for writers 2026/04/07 03:05:55 DEBUG : file1: reading active writers 2026/04/07 03:05:55 DEBUG : Looking for writers 2026/04/07 03:05:55 DEBUG : dir: reading active writers 2026/04/07 03:05:55 DEBUG : file1: reading active writers 2026/04/07 03:05:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:56 DEBUG : dir: Looking for writers 2026/04/07 03:05:56 DEBUG : file1: reading active writers 2026/04/07 03:05:56 DEBUG : Looking for writers 2026/04/07 03:05:56 DEBUG : dir: reading active writers 2026/04/07 03:05:56 DEBUG : file1: reading active writers 2026/04/07 03:05:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:57 DEBUG : dir: Looking for writers 2026/04/07 03:05:57 DEBUG : file1: reading active writers 2026/04/07 03:05:57 DEBUG : Looking for writers 2026/04/07 03:05:57 DEBUG : file1: reading active writers 2026/04/07 03:05:57 DEBUG : dir: reading active writers 2026/04/07 03:05:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:05:58 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "dir/file1": &{c:0x2ec229e5f860 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0x2ec229a547e8 notify:{wait:0 notify:0 lock:0 head: tail:} checker:51411457230880} name:dir/file1 opens:0 downloaders: o:0x2ec22cb62520 fd: info:{ModTime:{wall:499999999 ext:63116769906 loc:} ATime:{wall:14009918878552995154 ext:373766095074 loc:0x4669360} Size:14 Rs:[{Pos:0 Size:14}] Fingerprint:14 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false graceTimer:}, } 2026/04/07 03:05:58 DEBUG : >WaitForWriters: 2026/04/07 03:05:58 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/04/07 03:05:58 DEBUG : dir/file1: newRWFileHandle: 2026/04/07 03:05:58 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/07 03:05:58 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/07 03:05:58 DEBUG : dir/file1(0x2ec22c9ba840): _readAt: size=512, off=0 2026/04/07 03:05:58 DEBUG : dir/file1(0x2ec22c9ba840): openPending: 2026/04/07 03:05:58 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/04/07 03:05:58 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/04/07 03:05:58 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/07 03:05:58 DEBUG : dir/file1(0x2ec22c9ba840): >openPending: err= 2026/04/07 03:05:58 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/04/07 03:05:58 DEBUG : dir/file1(0x2ec22c9ba840): >_readAt: n=14, err=EOF 2026/04/07 03:05:58 DEBUG : dir/file1(0x2ec22c9ba840): close: 2026/04/07 03:05:58 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/04/07 03:05:58 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/04/07 03:05:58 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/04/07 03:05:58 DEBUG : dir/file1(0x2ec22c9ba840): >close: err= fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2026/04/07 03:06:00 ERROR : dir/file1: Failed to copy: upload file failed to create session: unexpected end of JSON input 2026/04/07 03:06:00 ERROR : dir/file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: upload file failed to create session: unexpected end of JSON input fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2026/04/07 03:06:01 DEBUG : dir/file1: vfs cache: starting upload fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "file1" 2026/04/07 03:06:12 ERROR : dir/file1: Failed to copy: upload file failed to create session: unexpected end of JSON input 2026/04/07 03:06:12 ERROR : dir/file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: upload file failed to create session: unexpected end of JSON input 2026/04/07 03:06:14 DEBUG : dir/file1: vfs cache: starting upload 2026/04/07 03:06:18 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2026/04/07 03:06:18 INFO : mega root 'rclone-test-pikinup8taci': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 14 (was 14) 2026/04/07 03:06:24 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/07 03:06:24 DEBUG : dir/file1: vfs cache: cancelling upload 2026/04/07 03:06:34 ERROR : dir/file1: Failed to copy: upload file failed to create session: context canceled 2026/04/07 03:06:34 INFO : dir/file1: vfs cache: upload canceled 2026/04/07 03:06:34 DEBUG : dir/file1: vfs cache: cancelled upload 2026/04/07 03:06:34 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/04/07 03:06:34 DEBUG : newLeaf: Updating file with newLeaf 0x2ec2298c0540 2026/04/07 03:06:34 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/07 03:06:34 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 2026/04/07 03:06:34 DEBUG : newLeaf: vfs cache: starting upload fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache 2026/04/07 03:06:39 DEBUG : newLeaf: size = 14 OK 2026/04/07 03:06:39 INFO : newLeaf: Copied (replaced existing) 2026/04/07 03:06:39 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/04/07 03:06:39 DEBUG : newLeaf: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/04/07 03:06:39 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/07 03:06:39 INFO : newLeaf: vfs cache: upload succeeded try #6 fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "file1" 2026/04/07 03:06:44 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/04/07 03:06:44 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/04/07 03:06:44 DEBUG : dir/file1: Updating file with dir/file1 0x2ec2298c0540 2026/04/07 03:06:44 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/04/07 03:06:44 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "file1" 2026/04/07 03:06:51 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/04/07 03:06:51 DEBUG : dir/file1: newRWFileHandle: 2026/04/07 03:06:51 DEBUG : dir/file1(0x2ec229dbbe00): openPending: 2026/04/07 03:06:51 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/04/07 03:06:51 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/04/07 03:06:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/07 03:06:51 DEBUG : dir/file1(0x2ec229dbbe00): >openPending: err= 2026/04/07 03:06:51 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/04/07 03:06:51 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/07 03:06:51 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/07 03:06:51 DEBUG : dir/file1(0x2ec229dbbe00): _writeAt: size=25, off=0 2026/04/07 03:06:51 DEBUG : dir/file1(0x2ec229dbbe00): >_writeAt: n=25, err= 2026/04/07 03:07:05 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/07 03:07:05 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/04/07 03:07:05 DEBUG : newLeaf: Updating file with newLeaf 0x2ec2298c0540 2026/04/07 03:07:05 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/07 03:07:05 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/07 03:07:05 DEBUG : newLeaf(0x2ec229dbbe00): close: 2026/04/07 03:07:05 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/04/07 03:07:05 DEBUG : newLeaf: vfs cache: setting modification time to 2026-04-07 03:06:51.352701535 +0000 UTC m=+456.981386734 2026/04/07 03:07:05 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/04/07 03:07:05 DEBUG : newLeaf(0x2ec229dbbe00): >close: err= 2026/04/07 03:07:05 DEBUG : WaitForWriters: timeout=30s 2026/04/07 03:07:05 DEBUG : dir: Looking for writers 2026/04/07 03:07:05 DEBUG : Looking for writers 2026/04/07 03:07:05 DEBUG : dir: reading active writers 2026/04/07 03:07:05 DEBUG : file1: reading active writers 2026/04/07 03:07:05 DEBUG : newLeaf: reading active writers 2026/04/07 03:07:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/04/07 03:07:05 DEBUG : dir: Looking for writers 2026/04/07 03:07:05 DEBUG : Looking for writers 2026/04/07 03:07:05 DEBUG : dir: reading active writers 2026/04/07 03:07:05 DEBUG : file1: reading active writers 2026/04/07 03:07:05 DEBUG : newLeaf: reading active writers 2026/04/07 03:07:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/04/07 03:07:05 DEBUG : dir: Looking for writers 2026/04/07 03:07:05 DEBUG : Looking for writers 2026/04/07 03:07:05 DEBUG : dir: reading active writers 2026/04/07 03:07:05 DEBUG : file1: reading active writers 2026/04/07 03:07:05 DEBUG : newLeaf: reading active writers 2026/04/07 03:07:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/04/07 03:07:05 DEBUG : dir: Looking for writers 2026/04/07 03:07:05 DEBUG : Looking for writers 2026/04/07 03:07:05 DEBUG : dir: reading active writers 2026/04/07 03:07:05 DEBUG : file1: reading active writers 2026/04/07 03:07:05 DEBUG : newLeaf: reading active writers 2026/04/07 03:07:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/04/07 03:07:05 DEBUG : newLeaf: vfs cache: starting upload 2026/04/07 03:07:05 DEBUG : dir: Looking for writers 2026/04/07 03:07:05 DEBUG : Looking for writers 2026/04/07 03:07:05 DEBUG : dir: reading active writers 2026/04/07 03:07:05 DEBUG : file1: reading active writers 2026/04/07 03:07:05 DEBUG : newLeaf: reading active writers 2026/04/07 03:07:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/04/07 03:07:05 DEBUG : dir: Looking for writers 2026/04/07 03:07:05 DEBUG : Looking for writers 2026/04/07 03:07:05 DEBUG : dir: reading active writers 2026/04/07 03:07:05 DEBUG : file1: reading active writers 2026/04/07 03:07:05 DEBUG : newLeaf: reading active writers 2026/04/07 03:07:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/04/07 03:07:05 DEBUG : dir: Looking for writers 2026/04/07 03:07:05 DEBUG : Looking for writers 2026/04/07 03:07:05 DEBUG : file1: reading active writers 2026/04/07 03:07:05 DEBUG : newLeaf: reading active writers 2026/04/07 03:07:05 DEBUG : dir: reading active writers 2026/04/07 03:07:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/04/07 03:07:06 DEBUG : dir: Looking for writers 2026/04/07 03:07:06 DEBUG : Looking for writers 2026/04/07 03:07:06 DEBUG : dir: reading active writers 2026/04/07 03:07:06 DEBUG : file1: reading active writers 2026/04/07 03:07:06 DEBUG : newLeaf: reading active writers 2026/04/07 03:07:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:07:07 DEBUG : dir: Looking for writers 2026/04/07 03:07:07 DEBUG : Looking for writers 2026/04/07 03:07:07 DEBUG : dir: reading active writers 2026/04/07 03:07:07 DEBUG : file1: reading active writers 2026/04/07 03:07:07 DEBUG : newLeaf: reading active writers 2026/04/07 03:07:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:07:08 DEBUG : dir: Looking for writers 2026/04/07 03:07:08 DEBUG : Looking for writers 2026/04/07 03:07:08 DEBUG : newLeaf: reading active writers 2026/04/07 03:07:08 DEBUG : dir: reading active writers 2026/04/07 03:07:08 DEBUG : file1: reading active writers 2026/04/07 03:07:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:07:09 DEBUG : dir: Looking for writers 2026/04/07 03:07:09 DEBUG : Looking for writers 2026/04/07 03:07:09 DEBUG : dir: reading active writers 2026/04/07 03:07:09 DEBUG : file1: reading active writers 2026/04/07 03:07:09 DEBUG : newLeaf: reading active writers 2026/04/07 03:07:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:07:10 DEBUG : dir: Looking for writers 2026/04/07 03:07:10 DEBUG : Looking for writers 2026/04/07 03:07:10 DEBUG : newLeaf: reading active writers 2026/04/07 03:07:10 DEBUG : dir: reading active writers 2026/04/07 03:07:10 DEBUG : file1: reading active writers 2026/04/07 03:07:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:07:11 DEBUG : dir: Looking for writers 2026/04/07 03:07:11 DEBUG : Looking for writers 2026/04/07 03:07:11 DEBUG : dir: reading active writers 2026/04/07 03:07:11 DEBUG : file1: reading active writers 2026/04/07 03:07:11 DEBUG : newLeaf: reading active writers 2026/04/07 03:07:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:07:12 DEBUG : dir: Looking for writers 2026/04/07 03:07:12 DEBUG : Looking for writers 2026/04/07 03:07:12 DEBUG : newLeaf: reading active writers 2026/04/07 03:07:12 DEBUG : dir: reading active writers 2026/04/07 03:07:12 DEBUG : file1: reading active writers 2026/04/07 03:07:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:07:13 DEBUG : dir: Looking for writers 2026/04/07 03:07:13 DEBUG : Looking for writers 2026/04/07 03:07:13 DEBUG : dir: reading active writers 2026/04/07 03:07:13 DEBUG : file1: reading active writers 2026/04/07 03:07:13 DEBUG : newLeaf: reading active writers 2026/04/07 03:07:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:07:14 DEBUG : dir: Looking for writers 2026/04/07 03:07:14 DEBUG : Looking for writers 2026/04/07 03:07:14 DEBUG : dir: reading active writers 2026/04/07 03:07:14 DEBUG : file1: reading active writers 2026/04/07 03:07:14 DEBUG : newLeaf: reading active writers 2026/04/07 03:07:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:07:15 DEBUG : dir: Looking for writers 2026/04/07 03:07:15 DEBUG : Looking for writers 2026/04/07 03:07:15 DEBUG : dir: reading active writers 2026/04/07 03:07:15 DEBUG : file1: reading active writers 2026/04/07 03:07:15 DEBUG : newLeaf: reading active writers 2026/04/07 03:07:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:07:16 DEBUG : dir: Looking for writers 2026/04/07 03:07:16 DEBUG : Looking for writers 2026/04/07 03:07:16 DEBUG : dir: reading active writers 2026/04/07 03:07:16 DEBUG : file1: reading active writers 2026/04/07 03:07:16 DEBUG : newLeaf: reading active writers 2026/04/07 03:07:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:07:16 DEBUG : newLeaf: size = 25 OK 2026/04/07 03:07:16 INFO : newLeaf: Copied (replaced existing) 2026/04/07 03:07:16 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/04/07 03:07:16 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/04/07 03:07:16 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/07 03:07:16 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/04/07 03:07:17 DEBUG : dir: Looking for writers 2026/04/07 03:07:17 DEBUG : Looking for writers 2026/04/07 03:07:17 DEBUG : dir: reading active writers 2026/04/07 03:07:17 DEBUG : file1: reading active writers 2026/04/07 03:07:17 DEBUG : newLeaf: reading active writers 2026/04/07 03:07:17 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2026/04/07 03:07:18 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item newLeaf not removed, freed 0 bytes 2026/04/07 03:07:18 INFO : mega root 'rclone-test-pikinup8taci': vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 25 (was 25) fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want newLeaf (25) got file1 (14), newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "file1" 2026/04/07 03:07:24 DEBUG : WaitForWriters: timeout=30s 2026/04/07 03:07:24 DEBUG : dir: Looking for writers 2026/04/07 03:07:24 DEBUG : Looking for writers 2026/04/07 03:07:24 DEBUG : dir: reading active writers 2026/04/07 03:07:24 DEBUG : file1: reading active writers 2026/04/07 03:07:24 DEBUG : newLeaf: reading active writers 2026/04/07 03:07:24 DEBUG : >WaitForWriters: 2026/04/07 03:07:24 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache: cleaner exiting fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1317 /usr/local/go/src/testing/testing.go:1667 /usr/local/go/src/testing/testing.go:2030 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want got file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1317 /usr/local/go/src/testing/testing.go:1667 /usr/local/go/src/testing/testing.go:2030 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "file1" === RUN TestFileRename/full,forceCache=false run.go:185: Remote "mega root 'rclone-test-pikinup8taci'", Local "Local file system at /tmp/rclone76443318", Modify Window "876000h0m0s" 2026/04/07 03:07:35 INFO : mega root 'rclone-test-pikinup8taci': poll-interval is not supported by this remote 2026/04/07 03:07:35 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache: root is "/home/rclone/.cache/rclone" 2026/04/07 03:07:35 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:07:35 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:07:35 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:07:35 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/07 03:07:35 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pikinup8taci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:07:35 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:07:35 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/04/07 03:07:35 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pikinup8taci" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pikinup8taci" 2026/04/07 03:07:35 INFO : mega root 'rclone-test-pikinup8taci': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "file1" 2026/04/07 03:07:47 DEBUG : WaitForWriters: timeout=30s 2026/04/07 03:07:47 DEBUG : dir: Looking for writers 2026/04/07 03:07:47 DEBUG : file1: reading active writers 2026/04/07 03:07:47 DEBUG : Looking for writers 2026/04/07 03:07:47 DEBUG : dir: reading active writers 2026/04/07 03:07:47 DEBUG : file1: reading active writers 2026/04/07 03:07:47 DEBUG : >WaitForWriters: 2026/04/07 03:07:47 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/04/07 03:07:47 DEBUG : dir/file1: newRWFileHandle: 2026/04/07 03:07:47 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/07 03:07:47 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/07 03:07:47 DEBUG : dir/file1(0x2ec22a233a40): _readAt: size=512, off=0 2026/04/07 03:07:47 DEBUG : dir/file1(0x2ec22a233a40): openPending: 2026/04/07 03:07:47 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/04/07 03:07:47 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/04/07 03:07:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/07 03:07:47 DEBUG : dir/file1(0x2ec22a233a40): >openPending: err= 2026/04/07 03:07:47 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2026/04/07 03:07:47 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/04/07 03:07:47 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/04/07 03:07:47 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/04/07 03:07:47 DEBUG : dir/file1(0x2ec22a233a40): >_readAt: n=14, err=EOF 2026/04/07 03:07:47 DEBUG : dir/file1(0x2ec22a233a40): close: 2026/04/07 03:07:47 DEBUG : dir/file1(0x2ec22a233a40): >close: err= fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2026/04/07 03:07:52 DEBUG : dir/file1: vfs cache: setting modification time to 2026-04-07 03:07:38 +0000 UTC fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "file1" 2026/04/07 03:08:08 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/07 03:08:08 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/04/07 03:08:08 DEBUG : newLeaf: Updating file with newLeaf 0x2ec22dc5e900 2026/04/07 03:08:08 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/07 03:08:08 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "file1" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "file1" fstest.go:203: Not found "newLeaf" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Not equal: expected: 0 actual : 1 Test: TestFileRename/full,forceCache=false Messages: 1 objects not found 2026/04/07 03:08:17 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/04/07 03:08:17 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/04/07 03:08:17 DEBUG : dir/file1: Updating file with dir/file1 0x2ec22dc5e900 2026/04/07 03:08:17 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/04/07 03:08:17 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "file1" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "dir/file1" 2026/04/07 03:08:24 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/04/07 03:08:24 DEBUG : dir/file1: newRWFileHandle: 2026/04/07 03:08:24 DEBUG : dir/file1(0x2ec229775780): openPending: 2026/04/07 03:08:24 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/04/07 03:08:24 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/04/07 03:08:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/04/07 03:08:24 DEBUG : dir/file1(0x2ec229775780): >openPending: err= 2026/04/07 03:08:24 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/04/07 03:08:24 DEBUG : dir/file1: >newRWFileHandle: err= 2026/04/07 03:08:24 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/04/07 03:08:24 DEBUG : dir/file1(0x2ec229775780): _writeAt: size=25, off=0 2026/04/07 03:08:24 DEBUG : dir/file1(0x2ec229775780): >_writeAt: n=25, err= 2026/04/07 03:08:35 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2026/04/07 03:08:35 INFO : mega root 'rclone-test-pikinup8taci': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 25 (was 25) 2026/04/07 03:08:46 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/04/07 03:08:46 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/04/07 03:08:46 DEBUG : newLeaf: Updating file with newLeaf 0x2ec22dc5e900 2026/04/07 03:08:46 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/04/07 03:08:46 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/04/07 03:08:46 DEBUG : newLeaf(0x2ec229775780): close: 2026/04/07 03:08:46 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/04/07 03:08:46 DEBUG : newLeaf: vfs cache: setting modification time to 2026-04-07 03:08:24.615045576 +0000 UTC m=+550.243730775 2026/04/07 03:08:46 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/04/07 03:08:46 DEBUG : newLeaf(0x2ec229775780): >close: err= 2026/04/07 03:08:46 DEBUG : WaitForWriters: timeout=30s 2026/04/07 03:08:46 DEBUG : dir: Looking for writers 2026/04/07 03:08:46 DEBUG : Looking for writers 2026/04/07 03:08:46 DEBUG : dir: reading active writers 2026/04/07 03:08:46 DEBUG : file1: reading active writers 2026/04/07 03:08:46 DEBUG : newLeaf: reading active writers 2026/04/07 03:08:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/04/07 03:08:46 DEBUG : dir: Looking for writers 2026/04/07 03:08:46 DEBUG : Looking for writers 2026/04/07 03:08:46 DEBUG : dir: reading active writers 2026/04/07 03:08:46 DEBUG : file1: reading active writers 2026/04/07 03:08:46 DEBUG : newLeaf: reading active writers 2026/04/07 03:08:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/04/07 03:08:46 DEBUG : dir: Looking for writers 2026/04/07 03:08:46 DEBUG : Looking for writers 2026/04/07 03:08:46 DEBUG : file1: reading active writers 2026/04/07 03:08:46 DEBUG : newLeaf: reading active writers 2026/04/07 03:08:46 DEBUG : dir: reading active writers 2026/04/07 03:08:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/04/07 03:08:46 DEBUG : dir: Looking for writers 2026/04/07 03:08:46 DEBUG : Looking for writers 2026/04/07 03:08:46 DEBUG : dir: reading active writers 2026/04/07 03:08:46 DEBUG : file1: reading active writers 2026/04/07 03:08:46 DEBUG : newLeaf: reading active writers 2026/04/07 03:08:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/04/07 03:08:46 DEBUG : newLeaf: vfs cache: starting upload 2026/04/07 03:08:46 DEBUG : dir: Looking for writers 2026/04/07 03:08:46 DEBUG : Looking for writers 2026/04/07 03:08:46 DEBUG : dir: reading active writers 2026/04/07 03:08:46 DEBUG : file1: reading active writers 2026/04/07 03:08:46 DEBUG : newLeaf: reading active writers 2026/04/07 03:08:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/04/07 03:08:46 DEBUG : dir: Looking for writers 2026/04/07 03:08:46 DEBUG : Looking for writers 2026/04/07 03:08:46 DEBUG : dir: reading active writers 2026/04/07 03:08:46 DEBUG : file1: reading active writers 2026/04/07 03:08:46 DEBUG : newLeaf: reading active writers 2026/04/07 03:08:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/04/07 03:08:46 DEBUG : dir: Looking for writers 2026/04/07 03:08:46 DEBUG : Looking for writers 2026/04/07 03:08:46 DEBUG : newLeaf: reading active writers 2026/04/07 03:08:46 DEBUG : dir: reading active writers 2026/04/07 03:08:46 DEBUG : file1: reading active writers 2026/04/07 03:08:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/04/07 03:08:47 DEBUG : dir: Looking for writers 2026/04/07 03:08:47 DEBUG : Looking for writers 2026/04/07 03:08:47 DEBUG : dir: reading active writers 2026/04/07 03:08:47 DEBUG : file1: reading active writers 2026/04/07 03:08:47 DEBUG : newLeaf: reading active writers 2026/04/07 03:08:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:08:48 DEBUG : dir: Looking for writers 2026/04/07 03:08:48 DEBUG : Looking for writers 2026/04/07 03:08:48 DEBUG : dir: reading active writers 2026/04/07 03:08:48 DEBUG : file1: reading active writers 2026/04/07 03:08:48 DEBUG : newLeaf: reading active writers 2026/04/07 03:08:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:08:49 DEBUG : dir: Looking for writers 2026/04/07 03:08:49 DEBUG : Looking for writers 2026/04/07 03:08:49 DEBUG : dir: reading active writers 2026/04/07 03:08:49 DEBUG : file1: reading active writers 2026/04/07 03:08:49 DEBUG : newLeaf: reading active writers 2026/04/07 03:08:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:08:50 DEBUG : dir: Looking for writers 2026/04/07 03:08:50 DEBUG : Looking for writers 2026/04/07 03:08:50 DEBUG : dir: reading active writers 2026/04/07 03:08:50 DEBUG : file1: reading active writers 2026/04/07 03:08:50 DEBUG : newLeaf: reading active writers 2026/04/07 03:08:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:08:51 DEBUG : dir: Looking for writers 2026/04/07 03:08:51 DEBUG : Looking for writers 2026/04/07 03:08:51 DEBUG : dir: reading active writers 2026/04/07 03:08:51 DEBUG : file1: reading active writers 2026/04/07 03:08:51 DEBUG : newLeaf: reading active writers 2026/04/07 03:08:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:08:52 DEBUG : dir: Looking for writers 2026/04/07 03:08:52 DEBUG : Looking for writers 2026/04/07 03:08:52 DEBUG : dir: reading active writers 2026/04/07 03:08:52 DEBUG : file1: reading active writers 2026/04/07 03:08:52 DEBUG : newLeaf: reading active writers 2026/04/07 03:08:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:08:53 DEBUG : dir: Looking for writers 2026/04/07 03:08:53 DEBUG : Looking for writers 2026/04/07 03:08:53 DEBUG : newLeaf: reading active writers 2026/04/07 03:08:53 DEBUG : dir: reading active writers 2026/04/07 03:08:53 DEBUG : file1: reading active writers 2026/04/07 03:08:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:08:54 DEBUG : dir: Looking for writers 2026/04/07 03:08:54 DEBUG : Looking for writers 2026/04/07 03:08:54 DEBUG : dir: reading active writers 2026/04/07 03:08:54 DEBUG : file1: reading active writers 2026/04/07 03:08:54 DEBUG : newLeaf: reading active writers 2026/04/07 03:08:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:08:55 DEBUG : dir: Looking for writers 2026/04/07 03:08:55 DEBUG : Looking for writers 2026/04/07 03:08:55 DEBUG : dir: reading active writers 2026/04/07 03:08:55 DEBUG : file1: reading active writers 2026/04/07 03:08:55 DEBUG : newLeaf: reading active writers 2026/04/07 03:08:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:08:56 DEBUG : dir: Looking for writers 2026/04/07 03:08:56 DEBUG : Looking for writers 2026/04/07 03:08:56 DEBUG : newLeaf: reading active writers 2026/04/07 03:08:56 DEBUG : dir: reading active writers 2026/04/07 03:08:56 DEBUG : file1: reading active writers 2026/04/07 03:08:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:08:56 ERROR : newLeaf: Failed to copy: upload file failed to create session: unexpected end of JSON input 2026/04/07 03:08:56 ERROR : newLeaf: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: upload file failed to create session: unexpected end of JSON input 2026/04/07 03:08:57 DEBUG : newLeaf: vfs cache: starting upload 2026/04/07 03:08:57 DEBUG : dir: Looking for writers 2026/04/07 03:08:57 DEBUG : Looking for writers 2026/04/07 03:08:57 DEBUG : dir: reading active writers 2026/04/07 03:08:57 DEBUG : file1: reading active writers 2026/04/07 03:08:57 DEBUG : newLeaf: reading active writers 2026/04/07 03:08:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:08:58 DEBUG : dir: Looking for writers 2026/04/07 03:08:58 DEBUG : Looking for writers 2026/04/07 03:08:58 DEBUG : dir: reading active writers 2026/04/07 03:08:58 DEBUG : file1: reading active writers 2026/04/07 03:08:58 DEBUG : newLeaf: reading active writers 2026/04/07 03:08:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:08:59 DEBUG : dir: Looking for writers 2026/04/07 03:08:59 DEBUG : Looking for writers 2026/04/07 03:08:59 DEBUG : file1: reading active writers 2026/04/07 03:08:59 DEBUG : newLeaf: reading active writers 2026/04/07 03:08:59 DEBUG : dir: reading active writers 2026/04/07 03:08:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:00 DEBUG : dir: Looking for writers 2026/04/07 03:09:00 DEBUG : Looking for writers 2026/04/07 03:09:00 DEBUG : dir: reading active writers 2026/04/07 03:09:00 DEBUG : file1: reading active writers 2026/04/07 03:09:00 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:01 DEBUG : dir: Looking for writers 2026/04/07 03:09:01 DEBUG : Looking for writers 2026/04/07 03:09:01 DEBUG : file1: reading active writers 2026/04/07 03:09:01 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:01 DEBUG : dir: reading active writers 2026/04/07 03:09:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:02 DEBUG : dir: Looking for writers 2026/04/07 03:09:02 DEBUG : Looking for writers 2026/04/07 03:09:02 DEBUG : dir: reading active writers 2026/04/07 03:09:02 DEBUG : file1: reading active writers 2026/04/07 03:09:02 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:03 DEBUG : dir: Looking for writers 2026/04/07 03:09:03 DEBUG : Looking for writers 2026/04/07 03:09:03 DEBUG : dir: reading active writers 2026/04/07 03:09:03 DEBUG : file1: reading active writers 2026/04/07 03:09:03 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:04 DEBUG : dir: Looking for writers 2026/04/07 03:09:04 DEBUG : Looking for writers 2026/04/07 03:09:04 DEBUG : dir: reading active writers 2026/04/07 03:09:04 DEBUG : file1: reading active writers 2026/04/07 03:09:04 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:05 DEBUG : dir: Looking for writers 2026/04/07 03:09:05 DEBUG : Looking for writers 2026/04/07 03:09:05 DEBUG : dir: reading active writers 2026/04/07 03:09:05 DEBUG : file1: reading active writers 2026/04/07 03:09:05 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:06 DEBUG : dir: Looking for writers 2026/04/07 03:09:06 DEBUG : Looking for writers 2026/04/07 03:09:06 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:06 DEBUG : dir: reading active writers 2026/04/07 03:09:06 DEBUG : file1: reading active writers 2026/04/07 03:09:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:07 DEBUG : dir: Looking for writers 2026/04/07 03:09:07 DEBUG : Looking for writers 2026/04/07 03:09:07 DEBUG : dir: reading active writers 2026/04/07 03:09:07 DEBUG : file1: reading active writers 2026/04/07 03:09:07 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:07 ERROR : newLeaf: Failed to copy: upload file failed to create session: unexpected end of JSON input 2026/04/07 03:09:07 ERROR : newLeaf: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: upload file failed to create session: unexpected end of JSON input 2026/04/07 03:09:07 DEBUG : newLeaf: vfs cache: starting upload 2026/04/07 03:09:08 DEBUG : dir: Looking for writers 2026/04/07 03:09:08 DEBUG : Looking for writers 2026/04/07 03:09:08 DEBUG : dir: reading active writers 2026/04/07 03:09:08 DEBUG : file1: reading active writers 2026/04/07 03:09:08 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:09 DEBUG : dir: Looking for writers 2026/04/07 03:09:09 DEBUG : Looking for writers 2026/04/07 03:09:09 DEBUG : dir: reading active writers 2026/04/07 03:09:09 DEBUG : file1: reading active writers 2026/04/07 03:09:09 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:10 DEBUG : dir: Looking for writers 2026/04/07 03:09:10 DEBUG : Looking for writers 2026/04/07 03:09:10 DEBUG : dir: reading active writers 2026/04/07 03:09:10 DEBUG : file1: reading active writers 2026/04/07 03:09:10 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:11 DEBUG : dir: Looking for writers 2026/04/07 03:09:11 DEBUG : Looking for writers 2026/04/07 03:09:11 DEBUG : dir: reading active writers 2026/04/07 03:09:11 DEBUG : file1: reading active writers 2026/04/07 03:09:11 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:12 DEBUG : dir: Looking for writers 2026/04/07 03:09:12 DEBUG : Looking for writers 2026/04/07 03:09:12 DEBUG : dir: reading active writers 2026/04/07 03:09:12 DEBUG : file1: reading active writers 2026/04/07 03:09:12 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:13 DEBUG : dir: Looking for writers 2026/04/07 03:09:13 DEBUG : Looking for writers 2026/04/07 03:09:13 DEBUG : dir: reading active writers 2026/04/07 03:09:13 DEBUG : file1: reading active writers 2026/04/07 03:09:13 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:14 DEBUG : dir: Looking for writers 2026/04/07 03:09:14 DEBUG : Looking for writers 2026/04/07 03:09:14 DEBUG : dir: reading active writers 2026/04/07 03:09:14 DEBUG : file1: reading active writers 2026/04/07 03:09:14 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:15 DEBUG : dir: Looking for writers 2026/04/07 03:09:15 DEBUG : Looking for writers 2026/04/07 03:09:15 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:15 DEBUG : dir: reading active writers 2026/04/07 03:09:15 DEBUG : file1: reading active writers 2026/04/07 03:09:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:16 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "newLeaf": &{c:0x2ec229ac8e10 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0x2ec229e18908 notify:{wait:0 notify:0 lock:0 head: tail:} checker:51411461179712} name:newLeaf opens:0 downloaders: o:0x2ec22ca7bc40 fd: info:{ModTime:{wall:14009919068009191880 ext:550243730775 loc:0x4669360} ATime:{wall:14009919091284344935 ext:571896563693 loc:0x4669360} Size:25 Rs:[{Pos:0 Size:25}] Fingerprint:14 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false graceTimer:}, } 2026/04/07 03:09:16 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2026/04/07 03:09:20 ERROR : newLeaf: Failed to copy: failed to finish upload: unexpected end of JSON input 2026/04/07 03:09:20 ERROR : newLeaf: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: failed to finish upload: unexpected end of JSON input 2026/04/07 03:09:20 DEBUG : newLeaf: vfs cache: starting upload fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want newLeaf (25) got dir/file1 (14), file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "file1" fstest.go:150: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:150 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:195 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1771 Error: Not equal: expected: 25 actual : 14 Test: TestFileRename/full,forceCache=false Messages: newLeaf: size incorrect file=25 vs obj=14 fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "dir/file1" 2026/04/07 03:09:23 DEBUG : WaitForWriters: timeout=30s 2026/04/07 03:09:23 DEBUG : dir: Looking for writers 2026/04/07 03:09:23 DEBUG : Looking for writers 2026/04/07 03:09:23 DEBUG : dir: reading active writers 2026/04/07 03:09:23 DEBUG : file1: reading active writers 2026/04/07 03:09:23 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/04/07 03:09:23 DEBUG : dir: Looking for writers 2026/04/07 03:09:23 DEBUG : Looking for writers 2026/04/07 03:09:23 DEBUG : dir: reading active writers 2026/04/07 03:09:23 DEBUG : file1: reading active writers 2026/04/07 03:09:23 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/04/07 03:09:23 DEBUG : dir: Looking for writers 2026/04/07 03:09:23 DEBUG : Looking for writers 2026/04/07 03:09:23 DEBUG : dir: reading active writers 2026/04/07 03:09:23 DEBUG : file1: reading active writers 2026/04/07 03:09:23 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/04/07 03:09:23 DEBUG : dir: Looking for writers 2026/04/07 03:09:23 DEBUG : Looking for writers 2026/04/07 03:09:23 DEBUG : dir: reading active writers 2026/04/07 03:09:23 DEBUG : file1: reading active writers 2026/04/07 03:09:23 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/04/07 03:09:23 DEBUG : dir: Looking for writers 2026/04/07 03:09:23 DEBUG : Looking for writers 2026/04/07 03:09:23 DEBUG : dir: reading active writers 2026/04/07 03:09:23 DEBUG : file1: reading active writers 2026/04/07 03:09:23 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/04/07 03:09:23 DEBUG : dir: Looking for writers 2026/04/07 03:09:23 DEBUG : Looking for writers 2026/04/07 03:09:23 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:23 DEBUG : dir: reading active writers 2026/04/07 03:09:23 DEBUG : file1: reading active writers 2026/04/07 03:09:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/04/07 03:09:23 DEBUG : dir: Looking for writers 2026/04/07 03:09:23 DEBUG : Looking for writers 2026/04/07 03:09:23 DEBUG : dir: reading active writers 2026/04/07 03:09:23 DEBUG : file1: reading active writers 2026/04/07 03:09:23 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/04/07 03:09:24 DEBUG : dir: Looking for writers 2026/04/07 03:09:24 DEBUG : Looking for writers 2026/04/07 03:09:24 DEBUG : dir: reading active writers 2026/04/07 03:09:24 DEBUG : file1: reading active writers 2026/04/07 03:09:24 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:25 DEBUG : dir: Looking for writers 2026/04/07 03:09:25 DEBUG : Looking for writers 2026/04/07 03:09:25 DEBUG : dir: reading active writers 2026/04/07 03:09:25 DEBUG : file1: reading active writers 2026/04/07 03:09:25 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:26 DEBUG : dir: Looking for writers 2026/04/07 03:09:26 DEBUG : Looking for writers 2026/04/07 03:09:26 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:26 DEBUG : dir: reading active writers 2026/04/07 03:09:26 DEBUG : file1: reading active writers 2026/04/07 03:09:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:27 DEBUG : dir: Looking for writers 2026/04/07 03:09:27 DEBUG : Looking for writers 2026/04/07 03:09:27 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:27 DEBUG : dir: reading active writers 2026/04/07 03:09:27 DEBUG : file1: reading active writers 2026/04/07 03:09:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:28 DEBUG : dir: Looking for writers 2026/04/07 03:09:28 DEBUG : Looking for writers 2026/04/07 03:09:28 DEBUG : dir: reading active writers 2026/04/07 03:09:28 DEBUG : file1: reading active writers 2026/04/07 03:09:28 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:29 DEBUG : dir: Looking for writers 2026/04/07 03:09:29 DEBUG : Looking for writers 2026/04/07 03:09:29 DEBUG : dir: reading active writers 2026/04/07 03:09:29 DEBUG : file1: reading active writers 2026/04/07 03:09:29 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:30 DEBUG : dir: Looking for writers 2026/04/07 03:09:30 DEBUG : Looking for writers 2026/04/07 03:09:30 DEBUG : dir: reading active writers 2026/04/07 03:09:30 DEBUG : file1: reading active writers 2026/04/07 03:09:30 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:31 DEBUG : dir: Looking for writers 2026/04/07 03:09:31 DEBUG : Looking for writers 2026/04/07 03:09:31 DEBUG : dir: reading active writers 2026/04/07 03:09:31 DEBUG : file1: reading active writers 2026/04/07 03:09:31 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:31 ERROR : newLeaf: Failed to copy: upload file failed to create session: unexpected end of JSON input 2026/04/07 03:09:31 ERROR : newLeaf: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: upload file failed to create session: unexpected end of JSON input 2026/04/07 03:09:32 DEBUG : dir: Looking for writers 2026/04/07 03:09:32 DEBUG : Looking for writers 2026/04/07 03:09:32 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:32 DEBUG : dir: reading active writers 2026/04/07 03:09:32 DEBUG : file1: reading active writers 2026/04/07 03:09:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:33 DEBUG : newLeaf: vfs cache: starting upload 2026/04/07 03:09:33 DEBUG : dir: Looking for writers 2026/04/07 03:09:33 DEBUG : Looking for writers 2026/04/07 03:09:33 DEBUG : dir: reading active writers 2026/04/07 03:09:33 DEBUG : file1: reading active writers 2026/04/07 03:09:33 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:34 DEBUG : dir: Looking for writers 2026/04/07 03:09:34 DEBUG : Looking for writers 2026/04/07 03:09:34 DEBUG : dir: reading active writers 2026/04/07 03:09:34 DEBUG : file1: reading active writers 2026/04/07 03:09:34 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:35 DEBUG : dir: forgetting directory cache 2026/04/07 03:09:35 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2026/04/07 03:09:35 DEBUG : forgetting directory cache 2026/04/07 03:09:35 DEBUG : dir: forgetting directory cache 2026/04/07 03:09:35 DEBUG : Removed virtual directory entry vAddFile: "newLeaf" 2026/04/07 03:09:35 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item newLeaf not removed, freed 0 bytes 2026/04/07 03:09:35 INFO : mega root 'rclone-test-pikinup8taci': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 25 (was 25) 2026/04/07 03:09:35 DEBUG : dir: Looking for writers 2026/04/07 03:09:35 DEBUG : Looking for writers 2026/04/07 03:09:35 DEBUG : dir: reading active writers 2026/04/07 03:09:35 DEBUG : file1: reading active writers 2026/04/07 03:09:35 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:36 DEBUG : dir: Looking for writers 2026/04/07 03:09:36 DEBUG : Looking for writers 2026/04/07 03:09:36 DEBUG : dir: reading active writers 2026/04/07 03:09:36 DEBUG : file1: reading active writers 2026/04/07 03:09:36 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:37 DEBUG : dir: Looking for writers 2026/04/07 03:09:37 DEBUG : Looking for writers 2026/04/07 03:09:37 DEBUG : dir: reading active writers 2026/04/07 03:09:37 DEBUG : file1: reading active writers 2026/04/07 03:09:37 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:38 DEBUG : dir: Looking for writers 2026/04/07 03:09:38 DEBUG : Looking for writers 2026/04/07 03:09:38 DEBUG : dir: reading active writers 2026/04/07 03:09:38 DEBUG : file1: reading active writers 2026/04/07 03:09:38 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:39 DEBUG : dir: Looking for writers 2026/04/07 03:09:39 DEBUG : Looking for writers 2026/04/07 03:09:39 DEBUG : file1: reading active writers 2026/04/07 03:09:39 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:39 DEBUG : dir: reading active writers 2026/04/07 03:09:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:40 DEBUG : dir: Looking for writers 2026/04/07 03:09:40 DEBUG : Looking for writers 2026/04/07 03:09:40 DEBUG : dir: reading active writers 2026/04/07 03:09:40 DEBUG : file1: reading active writers 2026/04/07 03:09:40 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:41 DEBUG : dir: Looking for writers 2026/04/07 03:09:41 DEBUG : Looking for writers 2026/04/07 03:09:41 DEBUG : dir: reading active writers 2026/04/07 03:09:41 DEBUG : file1: reading active writers 2026/04/07 03:09:41 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:42 DEBUG : dir: Looking for writers 2026/04/07 03:09:42 DEBUG : Looking for writers 2026/04/07 03:09:42 DEBUG : dir: reading active writers 2026/04/07 03:09:42 DEBUG : file1: reading active writers 2026/04/07 03:09:42 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:43 DEBUG : dir: Looking for writers 2026/04/07 03:09:43 DEBUG : Looking for writers 2026/04/07 03:09:43 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:43 DEBUG : dir: reading active writers 2026/04/07 03:09:43 DEBUG : file1: reading active writers 2026/04/07 03:09:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:43 ERROR : newLeaf: Failed to copy: upload file failed to create session: unexpected end of JSON input 2026/04/07 03:09:43 ERROR : newLeaf: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: upload file failed to create session: unexpected end of JSON input 2026/04/07 03:09:44 DEBUG : dir: Looking for writers 2026/04/07 03:09:44 DEBUG : Looking for writers 2026/04/07 03:09:44 DEBUG : file1: reading active writers 2026/04/07 03:09:44 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:44 DEBUG : dir: reading active writers 2026/04/07 03:09:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:45 DEBUG : dir: Looking for writers 2026/04/07 03:09:45 DEBUG : Looking for writers 2026/04/07 03:09:45 DEBUG : dir: reading active writers 2026/04/07 03:09:45 DEBUG : file1: reading active writers 2026/04/07 03:09:45 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:46 DEBUG : dir: Looking for writers 2026/04/07 03:09:46 DEBUG : Looking for writers 2026/04/07 03:09:46 DEBUG : dir: reading active writers 2026/04/07 03:09:46 DEBUG : file1: reading active writers 2026/04/07 03:09:46 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:46 DEBUG : newLeaf: vfs cache: starting upload 2026/04/07 03:09:47 DEBUG : dir: Looking for writers 2026/04/07 03:09:47 DEBUG : Looking for writers 2026/04/07 03:09:47 DEBUG : dir: reading active writers 2026/04/07 03:09:47 DEBUG : file1: reading active writers 2026/04/07 03:09:47 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:48 DEBUG : dir: Looking for writers 2026/04/07 03:09:48 DEBUG : Looking for writers 2026/04/07 03:09:48 DEBUG : dir: reading active writers 2026/04/07 03:09:48 DEBUG : file1: reading active writers 2026/04/07 03:09:48 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:49 DEBUG : dir: Looking for writers 2026/04/07 03:09:49 DEBUG : Looking for writers 2026/04/07 03:09:49 DEBUG : file1: reading active writers 2026/04/07 03:09:49 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:49 DEBUG : dir: reading active writers 2026/04/07 03:09:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:50 DEBUG : dir: Looking for writers 2026/04/07 03:09:50 DEBUG : Looking for writers 2026/04/07 03:09:50 DEBUG : dir: reading active writers 2026/04/07 03:09:50 DEBUG : file1: reading active writers 2026/04/07 03:09:50 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:51 DEBUG : dir: Looking for writers 2026/04/07 03:09:51 DEBUG : Looking for writers 2026/04/07 03:09:51 DEBUG : dir: reading active writers 2026/04/07 03:09:51 DEBUG : file1: reading active writers 2026/04/07 03:09:51 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:52 DEBUG : dir: Looking for writers 2026/04/07 03:09:52 DEBUG : Looking for writers 2026/04/07 03:09:52 DEBUG : dir: reading active writers 2026/04/07 03:09:52 DEBUG : file1: reading active writers 2026/04/07 03:09:52 DEBUG : newLeaf: reading active writers 2026/04/07 03:09:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/04/07 03:09:53 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "newLeaf": &{c:0x2ec229ac8e10 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0x2ec229e18908 notify:{wait:0 notify:0 lock:0 head: tail:} checker:51411461179712} name:newLeaf opens:0 downloaders: o:0x2ec22ca7bc40 fd: info:{ModTime:{wall:14009919068009191880 ext:550243730775 loc:0x4669360} ATime:{wall:14009919091284344935 ext:571896563693 loc:0x4669360} Size:25 Rs:[{Pos:0 Size:25}] Fingerprint:14 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false graceTimer:}, } 2026/04/07 03:09:53 DEBUG : >WaitForWriters: 2026/04/07 03:09:53 DEBUG : mega root 'rclone-test-pikinup8taci': vfs cache: cleaner exiting 2026/04/07 03:09:57 ERROR : newLeaf: Failed to copy: upload file failed to create session: unexpected end of JSON input 2026/04/07 03:09:57 ERROR : newLeaf: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: upload file failed to create session: unexpected end of JSON input fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1317 /usr/local/go/src/testing/testing.go:1667 /usr/local/go/src/testing/testing.go:2030 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want got file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1317 /usr/local/go/src/testing/testing.go:1667 /usr/local/go/src/testing/testing.go:2030 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "file1" --- FAIL: TestFileRename (646.73s) --- FAIL: TestFileRename/off,forceCache=false (103.82s) --- FAIL: TestFileRename/minimal,forceCache=false (83.61s) --- FAIL: TestFileRename/minimal,forceCache=true (31.90s) --- FAIL: TestFileRename/writes,forceCache=false (128.63s) --- FAIL: TestFileRename/writes,forceCache=true (136.57s) --- FAIL: TestFileRename/full,forceCache=false (162.20s) FAIL 2026/04/07 03:10:17 DEBUG : mega root 'rclone-test-pikinup8taci': 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 ERROR in 11m4.721623751s (try 4/5): exit status 1: Failed [TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false]