"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestVFSMkdir|TestVFSMkdirAll|TestVFSOpenFile|TestVFSStat|TestZipDirsInRoot)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 3/5) 2025/11/29 02:27:10 DEBUG : Creating backend with remote "TestMega:rclone-test-gakesir6lefo" 2025/11/29 02:27:10 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/11/29 02:27:10 DEBUG : mega root 'rclone-test-gakesir6lefo': Using previously stored session ID and master key to initialize the Mega API 2025/11/29 02:27:26 DEBUG : Creating backend with remote "/tmp/rclone2095348590" === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:185: Remote "mega root 'rclone-test-gakesir6lefo'", Local "Local file system at /tmp/rclone2095348590", Modify Window "876000h0m0s" 2025/11/29 02:27:26 INFO : mega root 'rclone-test-gakesir6lefo': poll-interval is not supported by this remote 2025/11/29 02:27:26 NOTICE: mega root 'rclone-test-gakesir6lefo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 02:27:29 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:27:29 DEBUG : dir: Looking for writers 2025/11/29 02:27:29 DEBUG : file1: reading active writers 2025/11/29 02:27:29 DEBUG : Looking for writers 2025/11/29 02:27:29 DEBUG : dir: reading active writers 2025/11/29 02:27:29 DEBUG : >WaitForWriters: 2025/11/29 02:27:29 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/29 02:27:29 DEBUG : newLeaf: Updating file with newLeaf 0xc000832180 2025/11/29 02:27:29 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/29 02:27:29 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:1700 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" 2025/11/29 02:27:40 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/11/29 02:27:40 DEBUG : dir/file1: Updating file with dir/file1 0xc000832180 2025/11/29 02:27:40 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/11/29 02:27:40 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:1700 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/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:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go: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 "dir/file1" 2025/11/29 02:27:47 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/11/29 02:27:47 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/11/29 02:27:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/29 02:27:47 DEBUG : dir/file1: File is currently open, delaying rename 0xc000832180 2025/11/29 02:27:47 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/29 02:27:47 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/29 02:27:47 DEBUG : mega root 'rclone-test-gakesir6lefo': File to upload is small (25 bytes), uploading instead of streaming 2025/11/29 02:27:59 ERROR : dir/file1: WriteFileHandle.New Rcat failed: failed to finish upload: unexpected end of JSON input 2025/11/29 02:27:59 DEBUG : newLeaf: Running delayed rename now 2025/11/29 02:28:05 INFO : newLeaf: Deleted 2025/11/29 02:28:06 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/29 02:28:06 DEBUG : newLeaf: Updating file with newLeaf 0xc000832180 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/off,forceCache=false 2025/11/29 02:28:06 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:28:06 DEBUG : dir: Looking for writers 2025/11/29 02:28:06 DEBUG : Looking for writers 2025/11/29 02:28:06 DEBUG : dir: reading active writers 2025/11/29 02:28:06 DEBUG : newLeaf: reading active writers 2025/11/29 02:28:06 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:185: Remote "mega root 'rclone-test-gakesir6lefo'", Local "Local file system at /tmp/rclone2095348590", Modify Window "876000h0m0s" 2025/11/29 02:28:08 INFO : mega root 'rclone-test-gakesir6lefo': poll-interval is not supported by this remote 2025/11/29 02:28:08 NOTICE: mega root 'rclone-test-gakesir6lefo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 02:28:08 DEBUG : mega root 'rclone-test-gakesir6lefo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/29 02:28:08 DEBUG : mega root 'rclone-test-gakesir6lefo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:28:08 DEBUG : mega root 'rclone-test-gakesir6lefo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:28:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:28:08 DEBUG : Config file has changed externally - reloading 2025/11/29 02:28:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/29 02:28:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-gakesir6lefo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:28:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:28:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/29 02:28:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-gakesir6lefo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:28:08 INFO : mega root 'rclone-test-gakesir6lefo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/11/29 02:28:10 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:28:10 DEBUG : dir: Looking for writers 2025/11/29 02:28:10 DEBUG : file1: reading active writers 2025/11/29 02:28:10 DEBUG : Looking for writers 2025/11/29 02:28:10 DEBUG : dir: reading active writers 2025/11/29 02:28:10 DEBUG : >WaitForWriters: 2025/11/29 02:28:13 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/29 02:28:13 DEBUG : newLeaf: Updating file with newLeaf 0xc0076ee600 2025/11/29 02:28:13 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/29 02:28:13 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:1700 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" 2025/11/29 02:28:26 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/11/29 02:28:26 DEBUG : dir/file1: Updating file with dir/file1 0xc0076ee600 2025/11/29 02:28:26 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/11/29 02:28:26 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:1700 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/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: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 "newLeaf" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go: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 "dir/file1" 2025/11/29 02:28:33 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/11/29 02:28:33 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/11/29 02:28:33 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/29 02:28:33 DEBUG : dir/file1: File is currently open, delaying rename 0xc0076ee600 2025/11/29 02:28:33 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/29 02:28:33 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/29 02:28:33 DEBUG : mega root 'rclone-test-gakesir6lefo': File to upload is small (25 bytes), uploading instead of streaming 2025/11/29 02:28:45 DEBUG : dir/file1: size = 25 OK 2025/11/29 02:28:45 NOTICE: mega root 'rclone-test-gakesir6lefo': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2025/11/29 02:28:45 DEBUG : dir/file1: Size of src and dst objects identical 2025/11/29 02:28:45 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/29 02:28:45 DEBUG : newLeaf: Running delayed rename now 2025/11/29 02:28:45 INFO : newLeaf: Deleted 2025/11/29 02:28:46 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/29 02:28:46 DEBUG : newLeaf: Updating file with newLeaf 0xc0076ee600 2025/11/29 02:28:46 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:28:46 DEBUG : dir: Looking for writers 2025/11/29 02:28:46 DEBUG : Looking for writers 2025/11/29 02:28:46 DEBUG : dir: reading active writers 2025/11/29 02:28:46 DEBUG : newLeaf: reading active writers 2025/11/29 02:28:46 DEBUG : >WaitForWriters: 2025/11/29 02:28:46 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:28:46 DEBUG : dir: Looking for writers 2025/11/29 02:28:46 DEBUG : Looking for writers 2025/11/29 02:28:46 DEBUG : dir: reading active writers 2025/11/29 02:28:46 DEBUG : newLeaf: reading active writers 2025/11/29 02:28:46 DEBUG : >WaitForWriters: 2025/11/29 02:28:46 DEBUG : mega root 'rclone-test-gakesir6lefo': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:185: Remote "mega root 'rclone-test-gakesir6lefo'", Local "Local file system at /tmp/rclone2095348590", Modify Window "876000h0m0s" 2025/11/29 02:28:46 INFO : mega root 'rclone-test-gakesir6lefo': poll-interval is not supported by this remote 2025/11/29 02:28:46 NOTICE: mega root 'rclone-test-gakesir6lefo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 02:28:46 DEBUG : mega root 'rclone-test-gakesir6lefo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/29 02:28:46 DEBUG : mega root 'rclone-test-gakesir6lefo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:28:46 DEBUG : mega root 'rclone-test-gakesir6lefo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:28:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:28:46 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/29 02:28:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-gakesir6lefo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:28:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:28:46 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/29 02:28:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-gakesir6lefo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:28:46 INFO : mega root 'rclone-test-gakesir6lefo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/11/29 02:28:59 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/11/29 02:28:59 DEBUG : dir/file1: newRWFileHandle: 2025/11/29 02:28:59 DEBUG : dir/file1(0xc0003ccf80): openPending: 2025/11/29 02:28:59 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/11/29 02:28:59 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/11/29 02:28:59 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/29 02:28:59 DEBUG : dir/file1(0xc0003ccf80): >openPending: err= 2025/11/29 02:28:59 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/11/29 02:28:59 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/29 02:28:59 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/29 02:28:59 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/29 02:28:59 DEBUG : dir/file1(0xc0003ccf80): _writeAt: size=14, off=0 2025/11/29 02:28:59 DEBUG : dir/file1(0xc0003ccf80): >_writeAt: n=14, err= 2025/11/29 02:28:59 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/11/29 02:28:59 DEBUG : dir/file1(0xc0003ccf80): close: 2025/11/29 02:28:59 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/11/29 02:28:59 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/11/29 02:28:59 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/11/29 02:28:59 DEBUG : dir/file1(0xc0003ccf80): >close: err= 2025/11/29 02:28:59 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:28:59 DEBUG : dir: Looking for writers 2025/11/29 02:28:59 DEBUG : file1: reading active writers 2025/11/29 02:28:59 DEBUG : Looking for writers 2025/11/29 02:28:59 DEBUG : dir: reading active writers 2025/11/29 02:28:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/11/29 02:28:59 DEBUG : dir: Looking for writers 2025/11/29 02:28:59 DEBUG : file1: reading active writers 2025/11/29 02:28:59 DEBUG : Looking for writers 2025/11/29 02:28:59 DEBUG : dir: reading active writers 2025/11/29 02:28:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/11/29 02:28:59 DEBUG : dir: Looking for writers 2025/11/29 02:28:59 DEBUG : file1: reading active writers 2025/11/29 02:28:59 DEBUG : Looking for writers 2025/11/29 02:28:59 DEBUG : dir: reading active writers 2025/11/29 02:28:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/11/29 02:28:59 DEBUG : dir: Looking for writers 2025/11/29 02:28:59 DEBUG : file1: reading active writers 2025/11/29 02:28:59 DEBUG : Looking for writers 2025/11/29 02:28:59 DEBUG : dir: reading active writers 2025/11/29 02:28:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/11/29 02:28:59 DEBUG : dir/file1: vfs cache: starting upload 2025/11/29 02:28:59 DEBUG : dir: Looking for writers 2025/11/29 02:28:59 DEBUG : file1: reading active writers 2025/11/29 02:28:59 DEBUG : Looking for writers 2025/11/29 02:28:59 DEBUG : dir: reading active writers 2025/11/29 02:28:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/11/29 02:28:59 DEBUG : dir: Looking for writers 2025/11/29 02:28:59 DEBUG : file1: reading active writers 2025/11/29 02:28:59 DEBUG : Looking for writers 2025/11/29 02:28:59 DEBUG : dir: reading active writers 2025/11/29 02:28:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/11/29 02:29:00 DEBUG : dir/file1: size = 14 OK 2025/11/29 02:29:00 INFO : dir/file1: Copied (replaced existing) 2025/11/29 02:29:00 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/11/29 02:29:00 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/11/29 02:29:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/29 02:29:00 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/11/29 02:29:00 DEBUG : dir: Looking for writers 2025/11/29 02:29:00 DEBUG : file1: reading active writers 2025/11/29 02:29:00 DEBUG : Looking for writers 2025/11/29 02:29:00 DEBUG : dir: reading active writers 2025/11/29 02:29:00 DEBUG : >WaitForWriters: 2025/11/29 02:29:00 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/11/29 02:29:00 DEBUG : dir/file1: newRWFileHandle: 2025/11/29 02:29:00 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/29 02:29:00 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/29 02:29:00 DEBUG : dir/file1(0xc007745780): _readAt: size=512, off=0 2025/11/29 02:29:00 DEBUG : dir/file1(0xc007745780): openPending: 2025/11/29 02:29:00 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/11/29 02:29:00 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/11/29 02:29:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/29 02:29:00 DEBUG : dir/file1(0xc007745780): >openPending: err= 2025/11/29 02:29:00 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/11/29 02:29:00 DEBUG : dir/file1(0xc007745780): >_readAt: n=14, err=EOF 2025/11/29 02:29:00 DEBUG : dir/file1(0xc007745780): close: 2025/11/29 02:29:00 DEBUG : dir/file1: vfs cache: setting modification time to 2025-11-29 02:29:00 +0000 UTC 2025/11/29 02:29:00 DEBUG : dir/file1(0xc007745780): >close: err= 2025/11/29 02:29:01 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/29 02:29:01 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/11/29 02:29:01 DEBUG : newLeaf: Updating file with newLeaf 0xc000532900 2025/11/29 02:29:01 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/29 02:29:01 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/29 02:29:03 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/11/29 02:29:03 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/11/29 02:29:03 DEBUG : dir/file1: Updating file with dir/file1 0xc000532900 2025/11/29 02:29:03 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/11/29 02:29:03 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:1700 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go: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=true Messages: Unexpected file "dir/file1" 2025/11/29 02:29:10 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/11/29 02:29:10 DEBUG : dir/file1: newRWFileHandle: 2025/11/29 02:29:10 DEBUG : dir/file1(0xc00777d980): openPending: 2025/11/29 02:29:10 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/11/29 02:29:10 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/11/29 02:29:10 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/29 02:29:10 DEBUG : dir/file1(0xc00777d980): >openPending: err= 2025/11/29 02:29:10 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/11/29 02:29:10 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/29 02:29:10 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/29 02:29:10 DEBUG : dir/file1(0xc00777d980): _writeAt: size=25, off=0 2025/11/29 02:29:10 DEBUG : dir/file1(0xc00777d980): >_writeAt: n=25, err= 2025/11/29 02:29:14 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/29 02:29:14 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/11/29 02:29:14 DEBUG : newLeaf: Updating file with newLeaf 0xc000532900 2025/11/29 02:29:14 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/29 02:29:14 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/29 02:29:14 DEBUG : newLeaf(0xc00777d980): close: 2025/11/29 02:29:14 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/11/29 02:29:14 DEBUG : newLeaf: vfs cache: setting modification time to 2025-11-29 02:29:10.482887612 +0000 UTC m=+120.273767522 2025/11/29 02:29:14 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/11/29 02:29:14 DEBUG : newLeaf(0xc00777d980): >close: err= 2025/11/29 02:29:14 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:29:14 DEBUG : dir: Looking for writers 2025/11/29 02:29:14 DEBUG : Looking for writers 2025/11/29 02:29:14 DEBUG : dir: reading active writers 2025/11/29 02:29:14 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/11/29 02:29:14 DEBUG : dir: Looking for writers 2025/11/29 02:29:14 DEBUG : Looking for writers 2025/11/29 02:29:14 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:14 DEBUG : dir: reading active writers 2025/11/29 02:29:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/11/29 02:29:14 DEBUG : dir: Looking for writers 2025/11/29 02:29:14 DEBUG : Looking for writers 2025/11/29 02:29:14 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:14 DEBUG : dir: reading active writers 2025/11/29 02:29:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/11/29 02:29:14 DEBUG : dir: Looking for writers 2025/11/29 02:29:14 DEBUG : Looking for writers 2025/11/29 02:29:14 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:14 DEBUG : dir: reading active writers 2025/11/29 02:29:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/11/29 02:29:14 DEBUG : newLeaf: vfs cache: starting upload 2025/11/29 02:29:14 DEBUG : dir: Looking for writers 2025/11/29 02:29:14 DEBUG : Looking for writers 2025/11/29 02:29:14 DEBUG : dir: reading active writers 2025/11/29 02:29:14 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/11/29 02:29:14 DEBUG : dir: Looking for writers 2025/11/29 02:29:14 DEBUG : Looking for writers 2025/11/29 02:29:14 DEBUG : dir: reading active writers 2025/11/29 02:29:14 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/11/29 02:29:15 DEBUG : dir: Looking for writers 2025/11/29 02:29:15 DEBUG : Looking for writers 2025/11/29 02:29:15 DEBUG : dir: reading active writers 2025/11/29 02:29:15 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/11/29 02:29:15 DEBUG : newLeaf: size = 25 OK 2025/11/29 02:29:15 INFO : newLeaf: Copied (replaced existing) 2025/11/29 02:29:15 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/11/29 02:29:15 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/11/29 02:29:15 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/29 02:29:15 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/11/29 02:29:15 DEBUG : dir: Looking for writers 2025/11/29 02:29:15 DEBUG : Looking for writers 2025/11/29 02:29:15 DEBUG : dir: reading active writers 2025/11/29 02:29:15 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:15 DEBUG : >WaitForWriters: 2025/11/29 02:29:15 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:29:15 DEBUG : dir: Looking for writers 2025/11/29 02:29:15 DEBUG : Looking for writers 2025/11/29 02:29:15 DEBUG : dir: reading active writers 2025/11/29 02:29:15 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:15 DEBUG : >WaitForWriters: 2025/11/29 02:29:15 DEBUG : mega root 'rclone-test-gakesir6lefo': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:185: Remote "mega root 'rclone-test-gakesir6lefo'", Local "Local file system at /tmp/rclone2095348590", Modify Window "876000h0m0s" 2025/11/29 02:29:16 INFO : mega root 'rclone-test-gakesir6lefo': poll-interval is not supported by this remote 2025/11/29 02:29:16 DEBUG : mega root 'rclone-test-gakesir6lefo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/29 02:29:16 DEBUG : mega root 'rclone-test-gakesir6lefo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:29:16 DEBUG : mega root 'rclone-test-gakesir6lefo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:29:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:29:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/29 02:29:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-gakesir6lefo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:29:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:29:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/29 02:29:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-gakesir6lefo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:29:16 INFO : mega root 'rclone-test-gakesir6lefo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/11/29 02:29:19 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:29:19 DEBUG : dir: Looking for writers 2025/11/29 02:29:19 DEBUG : file1: reading active writers 2025/11/29 02:29:19 DEBUG : Looking for writers 2025/11/29 02:29:19 DEBUG : dir: reading active writers 2025/11/29 02:29:19 DEBUG : >WaitForWriters: 2025/11/29 02:29:31 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/29 02:29:31 DEBUG : newLeaf: Updating file with newLeaf 0xc000832540 2025/11/29 02:29:31 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/29 02:29:31 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/29 02:29:32 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/11/29 02:29:32 DEBUG : dir/file1: Updating file with dir/file1 0xc000832540 2025/11/29 02:29:32 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/11/29 02:29:32 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/29 02:29:32 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/11/29 02:29:32 DEBUG : dir/file1: newRWFileHandle: 2025/11/29 02:29:32 DEBUG : dir/file1(0xc000c38000): openPending: 2025/11/29 02:29:32 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/11/29 02:29:32 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/11/29 02:29:32 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/29 02:29:32 DEBUG : dir/file1(0xc000c38000): >openPending: err= 2025/11/29 02:29:32 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/11/29 02:29:32 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/29 02:29:32 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/29 02:29:32 DEBUG : dir/file1(0xc000c38000): _writeAt: size=25, off=0 2025/11/29 02:29:32 DEBUG : dir/file1(0xc000c38000): >_writeAt: n=25, err= 2025/11/29 02:29:47 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/29 02:29:47 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/11/29 02:29:47 DEBUG : newLeaf: Updating file with newLeaf 0xc000832540 2025/11/29 02:29:47 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/29 02:29:47 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/29 02:29:47 DEBUG : newLeaf(0xc000c38000): close: 2025/11/29 02:29:47 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/11/29 02:29:47 DEBUG : newLeaf: vfs cache: setting modification time to 2025-11-29 02:29:32.511044236 +0000 UTC m=+142.301924144 2025/11/29 02:29:47 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/11/29 02:29:47 DEBUG : newLeaf(0xc000c38000): >close: err= 2025/11/29 02:29:47 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:29:47 DEBUG : dir: Looking for writers 2025/11/29 02:29:47 DEBUG : Looking for writers 2025/11/29 02:29:47 DEBUG : dir: reading active writers 2025/11/29 02:29:47 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/11/29 02:29:47 DEBUG : dir: Looking for writers 2025/11/29 02:29:47 DEBUG : Looking for writers 2025/11/29 02:29:47 DEBUG : dir: reading active writers 2025/11/29 02:29:47 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/11/29 02:29:47 DEBUG : dir: Looking for writers 2025/11/29 02:29:47 DEBUG : Looking for writers 2025/11/29 02:29:47 DEBUG : dir: reading active writers 2025/11/29 02:29:47 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/11/29 02:29:47 DEBUG : dir: Looking for writers 2025/11/29 02:29:47 DEBUG : Looking for writers 2025/11/29 02:29:47 DEBUG : dir: reading active writers 2025/11/29 02:29:47 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/11/29 02:29:47 DEBUG : newLeaf: vfs cache: starting upload 2025/11/29 02:29:47 DEBUG : dir: Looking for writers 2025/11/29 02:29:47 DEBUG : Looking for writers 2025/11/29 02:29:47 DEBUG : dir: reading active writers 2025/11/29 02:29:47 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/11/29 02:29:48 DEBUG : dir: Looking for writers 2025/11/29 02:29:48 DEBUG : Looking for writers 2025/11/29 02:29:48 DEBUG : dir: reading active writers 2025/11/29 02:29:48 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/11/29 02:29:48 DEBUG : dir: Looking for writers 2025/11/29 02:29:48 DEBUG : Looking for writers 2025/11/29 02:29:48 DEBUG : dir: reading active writers 2025/11/29 02:29:48 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/11/29 02:29:49 DEBUG : dir: Looking for writers 2025/11/29 02:29:49 DEBUG : Looking for writers 2025/11/29 02:29:49 DEBUG : dir: reading active writers 2025/11/29 02:29:49 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/29 02:29:50 DEBUG : dir: Looking for writers 2025/11/29 02:29:50 DEBUG : Looking for writers 2025/11/29 02:29:50 DEBUG : dir: reading active writers 2025/11/29 02:29:50 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/29 02:29:51 DEBUG : dir: Looking for writers 2025/11/29 02:29:51 DEBUG : Looking for writers 2025/11/29 02:29:51 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:51 DEBUG : dir: reading active writers 2025/11/29 02:29:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/29 02:29:52 DEBUG : dir: Looking for writers 2025/11/29 02:29:52 DEBUG : Looking for writers 2025/11/29 02:29:52 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:52 DEBUG : dir: reading active writers 2025/11/29 02:29:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/29 02:29:53 DEBUG : dir: Looking for writers 2025/11/29 02:29:53 DEBUG : Looking for writers 2025/11/29 02:29:53 DEBUG : dir: reading active writers 2025/11/29 02:29:53 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/29 02:29:54 DEBUG : dir: Looking for writers 2025/11/29 02:29:54 DEBUG : Looking for writers 2025/11/29 02:29:54 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:54 DEBUG : dir: reading active writers 2025/11/29 02:29:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/29 02:29:55 DEBUG : dir: Looking for writers 2025/11/29 02:29:55 DEBUG : Looking for writers 2025/11/29 02:29:55 DEBUG : dir: reading active writers 2025/11/29 02:29:55 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/29 02:29:56 DEBUG : dir: Looking for writers 2025/11/29 02:29:56 DEBUG : Looking for writers 2025/11/29 02:29:56 DEBUG : dir: reading active writers 2025/11/29 02:29:56 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/29 02:29:57 DEBUG : dir: Looking for writers 2025/11/29 02:29:57 DEBUG : Looking for writers 2025/11/29 02:29:57 DEBUG : dir: reading active writers 2025/11/29 02:29:57 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/29 02:29:58 DEBUG : dir: Looking for writers 2025/11/29 02:29:58 DEBUG : Looking for writers 2025/11/29 02:29:58 DEBUG : dir: reading active writers 2025/11/29 02:29:58 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/29 02:29:59 DEBUG : dir: Looking for writers 2025/11/29 02:29:59 DEBUG : Looking for writers 2025/11/29 02:29:59 DEBUG : newLeaf: reading active writers 2025/11/29 02:29:59 DEBUG : dir: reading active writers 2025/11/29 02:29:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/29 02:29:59 ERROR : newLeaf: Failed to copy: upload file failed to create session: unexpected end of JSON input 2025/11/29 02:29:59 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 2025/11/29 02:29:59 DEBUG : newLeaf: vfs cache: starting upload 2025/11/29 02:30:00 DEBUG : dir: Looking for writers 2025/11/29 02:30:00 DEBUG : Looking for writers 2025/11/29 02:30:00 DEBUG : dir: reading active writers 2025/11/29 02:30:00 DEBUG : newLeaf: reading active writers 2025/11/29 02:30:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/29 02:30:01 DEBUG : dir: Looking for writers 2025/11/29 02:30:01 DEBUG : Looking for writers 2025/11/29 02:30:01 DEBUG : dir: reading active writers 2025/11/29 02:30:01 DEBUG : newLeaf: reading active writers 2025/11/29 02:30:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/29 02:30:02 DEBUG : dir: Looking for writers 2025/11/29 02:30:02 DEBUG : Looking for writers 2025/11/29 02:30:02 DEBUG : dir: reading active writers 2025/11/29 02:30:02 DEBUG : newLeaf: reading active writers 2025/11/29 02:30:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/29 02:30:03 DEBUG : dir: Looking for writers 2025/11/29 02:30:03 DEBUG : Looking for writers 2025/11/29 02:30:03 DEBUG : dir: reading active writers 2025/11/29 02:30:03 DEBUG : newLeaf: reading active writers 2025/11/29 02:30:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/29 02:30:03 DEBUG : newLeaf: size = 25 OK 2025/11/29 02:30:03 INFO : newLeaf: Copied (replaced existing) 2025/11/29 02:30:03 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/11/29 02:30:03 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/11/29 02:30:03 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/29 02:30:03 INFO : newLeaf: vfs cache: upload succeeded try #2 2025/11/29 02:30:04 DEBUG : dir: Looking for writers 2025/11/29 02:30:04 DEBUG : Looking for writers 2025/11/29 02:30:04 DEBUG : dir: reading active writers 2025/11/29 02:30:04 DEBUG : newLeaf: reading active writers 2025/11/29 02:30:04 DEBUG : >WaitForWriters: 2025/11/29 02:30:04 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:30:04 DEBUG : dir: Looking for writers 2025/11/29 02:30:04 DEBUG : Looking for writers 2025/11/29 02:30:04 DEBUG : dir: reading active writers 2025/11/29 02:30:04 DEBUG : newLeaf: reading active writers 2025/11/29 02:30:04 DEBUG : >WaitForWriters: 2025/11/29 02:30:04 DEBUG : mega root 'rclone-test-gakesir6lefo': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:185: Remote "mega root 'rclone-test-gakesir6lefo'", Local "Local file system at /tmp/rclone2095348590", Modify Window "876000h0m0s" 2025/11/29 02:30:04 INFO : mega root 'rclone-test-gakesir6lefo': poll-interval is not supported by this remote 2025/11/29 02:30:04 DEBUG : mega root 'rclone-test-gakesir6lefo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/29 02:30:04 DEBUG : mega root 'rclone-test-gakesir6lefo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:30:04 DEBUG : mega root 'rclone-test-gakesir6lefo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:30:04 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:30:04 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/29 02:30:04 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-gakesir6lefo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:30:04 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:30:04 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/29 02:30:04 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-gakesir6lefo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:30:04 INFO : mega root 'rclone-test-gakesir6lefo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/11/29 02:30:05 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/11/29 02:30:05 DEBUG : dir/file1: newRWFileHandle: 2025/11/29 02:30:05 DEBUG : dir/file1(0xc000e0c700): openPending: 2025/11/29 02:30:05 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/11/29 02:30:05 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/11/29 02:30:05 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/29 02:30:05 DEBUG : dir/file1(0xc000e0c700): >openPending: err= 2025/11/29 02:30:05 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/11/29 02:30:05 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/29 02:30:05 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/29 02:30:05 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/29 02:30:05 DEBUG : dir/file1(0xc000e0c700): _writeAt: size=14, off=0 2025/11/29 02:30:05 DEBUG : dir/file1(0xc000e0c700): >_writeAt: n=14, err= 2025/11/29 02:30:05 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/11/29 02:30:05 DEBUG : dir/file1(0xc000e0c700): close: 2025/11/29 02:30:05 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/11/29 02:30:05 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/11/29 02:30:05 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/11/29 02:30:05 DEBUG : dir/file1(0xc000e0c700): >close: err= 2025/11/29 02:30:05 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:30:05 DEBUG : dir: Looking for writers 2025/11/29 02:30:05 DEBUG : file1: reading active writers 2025/11/29 02:30:05 DEBUG : Looking for writers 2025/11/29 02:30:05 DEBUG : dir: reading active writers 2025/11/29 02:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/11/29 02:30:05 DEBUG : dir: Looking for writers 2025/11/29 02:30:05 DEBUG : file1: reading active writers 2025/11/29 02:30:05 DEBUG : Looking for writers 2025/11/29 02:30:05 DEBUG : dir: reading active writers 2025/11/29 02:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/11/29 02:30:05 DEBUG : dir: Looking for writers 2025/11/29 02:30:05 DEBUG : file1: reading active writers 2025/11/29 02:30:05 DEBUG : Looking for writers 2025/11/29 02:30:05 DEBUG : dir: reading active writers 2025/11/29 02:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/11/29 02:30:05 DEBUG : dir: Looking for writers 2025/11/29 02:30:05 DEBUG : file1: reading active writers 2025/11/29 02:30:05 DEBUG : Looking for writers 2025/11/29 02:30:05 DEBUG : dir: reading active writers 2025/11/29 02:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/11/29 02:30:05 DEBUG : dir/file1: vfs cache: starting upload 2025/11/29 02:30:05 DEBUG : dir: Looking for writers 2025/11/29 02:30:05 DEBUG : file1: reading active writers 2025/11/29 02:30:05 DEBUG : Looking for writers 2025/11/29 02:30:05 DEBUG : dir: reading active writers 2025/11/29 02:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/11/29 02:30:05 DEBUG : dir: Looking for writers 2025/11/29 02:30:05 DEBUG : file1: reading active writers 2025/11/29 02:30:05 DEBUG : Looking for writers 2025/11/29 02:30:05 DEBUG : dir: reading active writers 2025/11/29 02:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/11/29 02:30:05 DEBUG : dir: Looking for writers 2025/11/29 02:30:05 DEBUG : file1: reading active writers 2025/11/29 02:30:05 DEBUG : Looking for writers 2025/11/29 02:30:05 DEBUG : dir: reading active writers 2025/11/29 02:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/11/29 02:30:06 DEBUG : dir: Looking for writers 2025/11/29 02:30:06 DEBUG : file1: reading active writers 2025/11/29 02:30:06 DEBUG : Looking for writers 2025/11/29 02:30:06 DEBUG : dir: reading active writers 2025/11/29 02:30:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/29 02:30:07 DEBUG : dir: Looking for writers 2025/11/29 02:30:07 DEBUG : file1: reading active writers 2025/11/29 02:30:07 DEBUG : Looking for writers 2025/11/29 02:30:07 DEBUG : dir: reading active writers 2025/11/29 02:30:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/29 02:30:07 DEBUG : dir/file1: size = 14 OK 2025/11/29 02:30:07 INFO : dir/file1: Copied (replaced existing) 2025/11/29 02:30:07 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/11/29 02:30:07 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/11/29 02:30:07 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/29 02:30:07 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/11/29 02:30:08 DEBUG : dir: Looking for writers 2025/11/29 02:30:08 DEBUG : file1: reading active writers 2025/11/29 02:30:08 DEBUG : Looking for writers 2025/11/29 02:30:08 DEBUG : dir: reading active writers 2025/11/29 02:30:08 DEBUG : >WaitForWriters: 2025/11/29 02:30:08 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/11/29 02:30:08 DEBUG : dir/file1: newRWFileHandle: 2025/11/29 02:30:08 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/29 02:30:08 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/29 02:30:08 DEBUG : dir/file1(0xc000d29b40): _readAt: size=512, off=0 2025/11/29 02:30:08 DEBUG : dir/file1(0xc000d29b40): openPending: 2025/11/29 02:30:08 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/11/29 02:30:08 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/11/29 02:30:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/29 02:30:08 DEBUG : dir/file1(0xc000d29b40): >openPending: err= 2025/11/29 02:30:08 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/11/29 02:30:08 DEBUG : dir/file1(0xc000d29b40): >_readAt: n=14, err=EOF 2025/11/29 02:30:08 DEBUG : dir/file1(0xc000d29b40): close: 2025/11/29 02:30:08 DEBUG : dir/file1: vfs cache: setting modification time to 2025-11-29 02:30:05 +0000 UTC 2025/11/29 02:30:08 DEBUG : dir/file1(0xc000d29b40): >close: err= 2025/11/29 02:30:10 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/29 02:30:10 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/11/29 02:30:10 DEBUG : newLeaf: Updating file with newLeaf 0xc000a68a80 2025/11/29 02:30:10 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/29 02:30:10 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/29 02:30:11 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/11/29 02:30:11 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/11/29 02:30:11 DEBUG : dir/file1: Updating file with dir/file1 0xc000a68a80 2025/11/29 02:30:11 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/11/29 02:30:11 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:1700 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go: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 "dir/file1" 2025/11/29 02:30:18 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/11/29 02:30:18 DEBUG : dir/file1: newRWFileHandle: 2025/11/29 02:30:18 DEBUG : dir/file1(0xc007aa5780): openPending: 2025/11/29 02:30:18 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/11/29 02:30:18 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/11/29 02:30:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/29 02:30:18 DEBUG : dir/file1(0xc007aa5780): >openPending: err= 2025/11/29 02:30:18 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/11/29 02:30:18 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/29 02:30:18 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/29 02:30:18 DEBUG : dir/file1(0xc007aa5780): _writeAt: size=25, off=0 2025/11/29 02:30:18 DEBUG : dir/file1(0xc007aa5780): >_writeAt: n=25, err= 2025/11/29 02:30:18 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/29 02:30:18 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/11/29 02:30:18 DEBUG : newLeaf: Updating file with newLeaf 0xc000a68a80 2025/11/29 02:30:18 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/29 02:30:18 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/29 02:30:18 DEBUG : newLeaf(0xc007aa5780): close: 2025/11/29 02:30:18 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/11/29 02:30:18 DEBUG : newLeaf: vfs cache: setting modification time to 2025-11-29 02:30:18.012371814 +0000 UTC m=+187.803251874 2025/11/29 02:30:18 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/11/29 02:30:18 DEBUG : newLeaf(0xc007aa5780): >close: err= 2025/11/29 02:30:18 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:30:18 DEBUG : dir: Looking for writers 2025/11/29 02:30:18 DEBUG : Looking for writers 2025/11/29 02:30:18 DEBUG : dir: reading active writers 2025/11/29 02:30:18 DEBUG : newLeaf: reading active writers 2025/11/29 02:30:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/11/29 02:30:18 DEBUG : dir: Looking for writers 2025/11/29 02:30:18 DEBUG : Looking for writers 2025/11/29 02:30:18 DEBUG : dir: reading active writers 2025/11/29 02:30:18 DEBUG : newLeaf: reading active writers 2025/11/29 02:30:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/11/29 02:30:18 DEBUG : dir: Looking for writers 2025/11/29 02:30:18 DEBUG : Looking for writers 2025/11/29 02:30:18 DEBUG : dir: reading active writers 2025/11/29 02:30:18 DEBUG : newLeaf: reading active writers 2025/11/29 02:30:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/11/29 02:30:18 DEBUG : dir: Looking for writers 2025/11/29 02:30:18 DEBUG : Looking for writers 2025/11/29 02:30:18 DEBUG : dir: reading active writers 2025/11/29 02:30:18 DEBUG : newLeaf: reading active writers 2025/11/29 02:30:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/11/29 02:30:19 DEBUG : newLeaf: vfs cache: starting upload 2025/11/29 02:30:19 DEBUG : dir: Looking for writers 2025/11/29 02:30:19 DEBUG : Looking for writers 2025/11/29 02:30:19 DEBUG : dir: reading active writers 2025/11/29 02:30:19 DEBUG : newLeaf: reading active writers 2025/11/29 02:30:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/11/29 02:30:19 DEBUG : dir: Looking for writers 2025/11/29 02:30:19 DEBUG : Looking for writers 2025/11/29 02:30:19 DEBUG : dir: reading active writers 2025/11/29 02:30:19 DEBUG : newLeaf: reading active writers 2025/11/29 02:30:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/11/29 02:30:19 DEBUG : dir: Looking for writers 2025/11/29 02:30:19 DEBUG : Looking for writers 2025/11/29 02:30:19 DEBUG : dir: reading active writers 2025/11/29 02:30:19 DEBUG : newLeaf: reading active writers 2025/11/29 02:30:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/11/29 02:30:20 DEBUG : dir: Looking for writers 2025/11/29 02:30:20 DEBUG : Looking for writers 2025/11/29 02:30:20 DEBUG : dir: reading active writers 2025/11/29 02:30:20 DEBUG : newLeaf: reading active writers 2025/11/29 02:30:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/29 02:30:21 DEBUG : dir: Looking for writers 2025/11/29 02:30:21 DEBUG : Looking for writers 2025/11/29 02:30:21 DEBUG : dir: reading active writers 2025/11/29 02:30:21 DEBUG : newLeaf: reading active writers 2025/11/29 02:30:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/29 02:30:22 DEBUG : dir: Looking for writers 2025/11/29 02:30:22 DEBUG : Looking for writers 2025/11/29 02:30:22 DEBUG : dir: reading active writers 2025/11/29 02:30:22 DEBUG : newLeaf: reading active writers 2025/11/29 02:30:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/29 02:30:23 DEBUG : dir: Looking for writers 2025/11/29 02:30:23 DEBUG : Looking for writers 2025/11/29 02:30:23 DEBUG : newLeaf: reading active writers 2025/11/29 02:30:23 DEBUG : dir: reading active writers 2025/11/29 02:30:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/29 02:30:24 DEBUG : newLeaf: size = 25 OK 2025/11/29 02:30:24 INFO : newLeaf: Copied (replaced existing) 2025/11/29 02:30:24 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/11/29 02:30:24 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/11/29 02:30:24 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/29 02:30:24 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/11/29 02:30:24 DEBUG : dir: Looking for writers 2025/11/29 02:30:24 DEBUG : Looking for writers 2025/11/29 02:30:24 DEBUG : newLeaf: reading active writers 2025/11/29 02:30:24 DEBUG : dir: reading active writers 2025/11/29 02:30:24 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure 2025/11/29 02:30:31 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:30:31 DEBUG : dir: Looking for writers 2025/11/29 02:30:31 DEBUG : Looking for writers 2025/11/29 02:30:31 DEBUG : dir: reading active writers 2025/11/29 02:30:31 DEBUG : newLeaf: reading active writers 2025/11/29 02:30:31 DEBUG : >WaitForWriters: 2025/11/29 02:30:31 DEBUG : mega root 'rclone-test-gakesir6lefo': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:185: Remote "mega root 'rclone-test-gakesir6lefo'", Local "Local file system at /tmp/rclone2095348590", Modify Window "876000h0m0s" 2025/11/29 02:30:42 INFO : mega root 'rclone-test-gakesir6lefo': poll-interval is not supported by this remote 2025/11/29 02:30:42 DEBUG : mega root 'rclone-test-gakesir6lefo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/29 02:30:42 DEBUG : mega root 'rclone-test-gakesir6lefo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:30:42 DEBUG : mega root 'rclone-test-gakesir6lefo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:30:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:30:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/29 02:30:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-gakesir6lefo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:30:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:30:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/29 02:30:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-gakesir6lefo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-gakesir6lefo" 2025/11/29 02:30:42 INFO : mega root 'rclone-test-gakesir6lefo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/11/29 02:30:46 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:30:46 DEBUG : dir: Looking for writers 2025/11/29 02:30:46 DEBUG : file1: reading active writers 2025/11/29 02:30:46 DEBUG : Looking for writers 2025/11/29 02:30:46 DEBUG : dir: reading active writers 2025/11/29 02:30:46 DEBUG : >WaitForWriters: 2025/11/29 02:30:46 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/11/29 02:30:46 DEBUG : dir/file1: newRWFileHandle: 2025/11/29 02:30:46 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/29 02:30:46 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/29 02:30:46 DEBUG : dir/file1(0xc000739e80): _readAt: size=512, off=0 2025/11/29 02:30:46 DEBUG : dir/file1(0xc000739e80): openPending: 2025/11/29 02:30:46 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/11/29 02:30:46 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/11/29 02:30:46 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/29 02:30:46 DEBUG : dir/file1(0xc000739e80): >openPending: err= 2025/11/29 02:30:46 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2025/11/29 02:30:46 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/11/29 02:30:46 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/29 02:30:46 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/11/29 02:30:46 DEBUG : dir/file1(0xc000739e80): >_readAt: n=14, err=EOF 2025/11/29 02:30:46 DEBUG : dir/file1(0xc000739e80): close: 2025/11/29 02:30:46 DEBUG : dir/file1: vfs cache: setting modification time to 2025-11-29 02:30:44 +0000 UTC 2025/11/29 02:30:46 DEBUG : dir/file1(0xc000739e80): >close: err= 2025/11/29 02:30:47 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/29 02:30:47 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/11/29 02:30:47 DEBUG : newLeaf: Updating file with newLeaf 0xc0076ee6c0 2025/11/29 02:30:47 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/29 02:30:47 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:1700 Error: Should be true Test: TestFileRename/full,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/full,forceCache=false Messages: Unexpected file "file1" 2025/11/29 02:31:11 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/11/29 02:31:11 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/11/29 02:31:11 DEBUG : dir/file1: Updating file with dir/file1 0xc0076ee6c0 2025/11/29 02:31:11 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/11/29 02:31:11 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:1700 Error: Should be true Test: TestFileRename/full,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/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 "file1" 2025/11/29 02:31:18 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/11/29 02:31:18 DEBUG : dir/file1: newRWFileHandle: 2025/11/29 02:31:18 DEBUG : dir/file1(0xc00777cf80): openPending: 2025/11/29 02:31:18 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/11/29 02:31:18 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/11/29 02:31:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/29 02:31:18 DEBUG : dir/file1(0xc00777cf80): >openPending: err= 2025/11/29 02:31:18 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/11/29 02:31:18 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/29 02:31:18 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/29 02:31:18 DEBUG : dir/file1(0xc00777cf80): _writeAt: size=25, off=0 2025/11/29 02:31:18 DEBUG : dir/file1(0xc00777cf80): >_writeAt: n=25, err= 2025/11/29 02:31:18 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/29 02:31:18 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/11/29 02:31:18 DEBUG : newLeaf: Updating file with newLeaf 0xc0076ee6c0 2025/11/29 02:31:18 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/29 02:31:18 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/29 02:31:18 DEBUG : newLeaf(0xc00777cf80): close: 2025/11/29 02:31:18 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/11/29 02:31:18 DEBUG : newLeaf: vfs cache: setting modification time to 2025-11-29 02:31:18.543220291 +0000 UTC m=+248.334100290 2025/11/29 02:31:18 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/11/29 02:31:18 DEBUG : newLeaf(0xc00777cf80): >close: err= 2025/11/29 02:31:18 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:31:18 DEBUG : dir: Looking for writers 2025/11/29 02:31:18 DEBUG : Looking for writers 2025/11/29 02:31:18 DEBUG : newLeaf: reading active writers 2025/11/29 02:31:18 DEBUG : dir: reading active writers 2025/11/29 02:31:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/11/29 02:31:18 DEBUG : dir: Looking for writers 2025/11/29 02:31:18 DEBUG : Looking for writers 2025/11/29 02:31:18 DEBUG : dir: reading active writers 2025/11/29 02:31:18 DEBUG : newLeaf: reading active writers 2025/11/29 02:31:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/11/29 02:31:18 DEBUG : dir: Looking for writers 2025/11/29 02:31:18 DEBUG : Looking for writers 2025/11/29 02:31:18 DEBUG : dir: reading active writers 2025/11/29 02:31:18 DEBUG : newLeaf: reading active writers 2025/11/29 02:31:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/11/29 02:31:18 DEBUG : dir: Looking for writers 2025/11/29 02:31:18 DEBUG : Looking for writers 2025/11/29 02:31:18 DEBUG : dir: reading active writers 2025/11/29 02:31:18 DEBUG : newLeaf: reading active writers 2025/11/29 02:31:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/11/29 02:31:18 DEBUG : newLeaf: vfs cache: starting upload 2025/11/29 02:31:18 DEBUG : dir: Looking for writers 2025/11/29 02:31:18 DEBUG : Looking for writers 2025/11/29 02:31:18 DEBUG : dir: reading active writers 2025/11/29 02:31:18 DEBUG : newLeaf: reading active writers 2025/11/29 02:31:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/11/29 02:31:19 DEBUG : dir: Looking for writers 2025/11/29 02:31:19 DEBUG : Looking for writers 2025/11/29 02:31:19 DEBUG : dir: reading active writers 2025/11/29 02:31:19 DEBUG : newLeaf: reading active writers 2025/11/29 02:31:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/11/29 02:31:19 DEBUG : newLeaf: size = 25 OK 2025/11/29 02:31:19 INFO : newLeaf: Copied (replaced existing) 2025/11/29 02:31:19 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/11/29 02:31:19 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/11/29 02:31:19 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/29 02:31:19 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/11/29 02:31:19 DEBUG : dir: Looking for writers 2025/11/29 02:31:19 DEBUG : Looking for writers 2025/11/29 02:31:19 DEBUG : dir: reading active writers 2025/11/29 02:31:19 DEBUG : newLeaf: reading active writers 2025/11/29 02:31: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/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 newLeaf (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/full,forceCache=false Messages: Unexpected file "newLeaf" 2025/11/29 02:31:26 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:31:26 DEBUG : dir: Looking for writers 2025/11/29 02:31:26 DEBUG : Looking for writers 2025/11/29 02:31:26 DEBUG : newLeaf: reading active writers 2025/11/29 02:31:26 DEBUG : dir: reading active writers 2025/11/29 02:31:26 DEBUG : >WaitForWriters: 2025/11/29 02:31:26 DEBUG : mega root 'rclone-test-gakesir6lefo': vfs cache: cleaner exiting --- FAIL: TestFileRename (253.67s) --- FAIL: TestFileRename/off,forceCache=false (42.10s) --- FAIL: TestFileRename/minimal,forceCache=false (38.57s) --- FAIL: TestFileRename/minimal,forceCache=true (29.43s) --- PASS: TestFileRename/writes,forceCache=false (48.41s) --- FAIL: TestFileRename/writes,forceCache=true (37.94s) --- FAIL: TestFileRename/full,forceCache=false (57.21s) === RUN TestVFSStat run.go:185: Remote "mega root 'rclone-test-gakesir6lefo'", Local "Local file system at /tmp/rclone2095348590", Modify Window "876000h0m0s" 2025/11/29 02:31:39 INFO : mega root 'rclone-test-gakesir6lefo': poll-interval is not supported by this remote 2025/11/29 02:31:39 NOTICE: mega root 'rclone-test-gakesir6lefo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 02:31:46 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:31:46 DEBUG : dir: Looking for writers 2025/11/29 02:31:46 DEBUG : file2: reading active writers 2025/11/29 02:31:46 DEBUG : Looking for writers 2025/11/29 02:31:46 DEBUG : dir: reading active writers 2025/11/29 02:31:46 DEBUG : file1: reading active writers 2025/11/29 02:31:46 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- PASS: TestVFSStat (8.23s) === RUN TestVFSOpenFile run.go:185: Remote "mega root 'rclone-test-gakesir6lefo'", Local "Local file system at /tmp/rclone2095348590", Modify Window "876000h0m0s" 2025/11/29 02:31:48 INFO : mega root 'rclone-test-gakesir6lefo': poll-interval is not supported by this remote 2025/11/29 02:31:48 NOTICE: mega root 'rclone-test-gakesir6lefo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 02:31:49 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/29 02:31:49 DEBUG : file1: Open: flags=O_RDONLY 2025/11/29 02:31:49 DEBUG : file1: >Open: fd=file1 (r), err= 2025/11/29 02:31:49 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2025/11/29 02:31:49 DEBUG : dir: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/29 02:31:49 DEBUG : dir: >OpenFile: fd=dir/ (r), err= 2025/11/29 02:31:49 DEBUG : dir/new_file.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/29 02:31:49 DEBUG : dir/new_file.txt: >OpenFile: fd=, err=file does not exist 2025/11/29 02:31:49 DEBUG : dir/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/29 02:31:49 DEBUG : dir/new_file.txt: Open: flags=O_WRONLY|O_CREATE 2025/11/29 02:31:49 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/11/29 02:31:49 DEBUG : dir/new_file.txt: >Open: fd=dir/new_file.txt (w), err= 2025/11/29 02:31:49 DEBUG : dir/new_file.txt: >OpenFile: fd=dir/new_file.txt (w), err= 2025/11/29 02:31:49 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/11/29 02:31:49 DEBUG : mega root 'rclone-test-gakesir6lefo': File to upload is small (0 bytes), uploading instead of streaming 2025/11/29 02:31:49 DEBUG : dir/new_file.txt: size = 0 OK 2025/11/29 02:31:49 DEBUG : dir/new_file.txt: Size of src and dst objects identical 2025/11/29 02:31:49 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/11/29 02:31:49 DEBUG : not found/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/29 02:31:49 DEBUG : not found/new_file.txt: >OpenFile: fd=, err=file does not exist 2025/11/29 02:31:49 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:31:49 DEBUG : dir: Looking for writers 2025/11/29 02:31:49 DEBUG : file2: reading active writers 2025/11/29 02:31:49 DEBUG : new_file.txt: reading active writers 2025/11/29 02:31:49 DEBUG : Looking for writers 2025/11/29 02:31:49 DEBUG : file1: reading active writers 2025/11/29 02:31:49 DEBUG : dir: reading active writers 2025/11/29 02:31:49 DEBUG : >WaitForWriters: --- PASS: TestVFSOpenFile (4.97s) === RUN TestVFSMkdir run.go:185: Remote "mega root 'rclone-test-gakesir6lefo'", Local "Local file system at /tmp/rclone2095348590", Modify Window "876000h0m0s" 2025/11/29 02:31:53 INFO : mega root 'rclone-test-gakesir6lefo': poll-interval is not supported by this remote 2025/11/29 02:31:53 NOTICE: mega root 'rclone-test-gakesir6lefo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 02:31:53 DEBUG : Added virtual directory entry vAddDir: "/" 2025/11/29 02:31:53 DEBUG : Added virtual directory entry vAddDir: "a" 2025/11/29 02:31:53 DEBUG : Added virtual directory entry vAddDir: "b" 2025/11/29 02:31:54 DEBUG : Added virtual directory entry vAddDir: "c" 2025/11/29 02:31:54 DEBUG : Added virtual directory entry vAddDir: "d" 2025/11/29 02:31:54 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:31:54 DEBUG : c: Looking for writers 2025/11/29 02:31:54 DEBUG : d: Looking for writers 2025/11/29 02:31:54 DEBUG : Looking for writers 2025/11/29 02:31:54 DEBUG : a: Looking for writers 2025/11/29 02:31:54 DEBUG : b: Looking for writers 2025/11/29 02:31:54 DEBUG : Looking for writers 2025/11/29 02:31:54 DEBUG : /: reading active writers 2025/11/29 02:31:54 DEBUG : a: reading active writers 2025/11/29 02:31:54 DEBUG : b: reading active writers 2025/11/29 02:31:54 DEBUG : c: reading active writers 2025/11/29 02:31:54 DEBUG : d: reading active writers 2025/11/29 02:31:54 DEBUG : >WaitForWriters: --- PASS: TestVFSMkdir (4.92s) === RUN TestVFSMkdirAll run.go:185: Remote "mega root 'rclone-test-gakesir6lefo'", Local "Local file system at /tmp/rclone2095348590", Modify Window "876000h0m0s" 2025/11/29 02:31:57 INFO : mega root 'rclone-test-gakesir6lefo': poll-interval is not supported by this remote 2025/11/29 02:31:57 NOTICE: mega root 'rclone-test-gakesir6lefo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 02:32:08 ERROR : /: Dir.Mkdir failed to create directory: Mkdir failed: mkdir create node failed: unexpected end of JSON input vfs_test.go:425: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:425 Error: Received unexpected error: Mkdir failed: mkdir create node failed: unexpected end of JSON input Test: TestVFSMkdirAll 2025/11/29 02:32:08 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:32:08 DEBUG : Looking for writers 2025/11/29 02:32:08 DEBUG : >WaitForWriters: --- FAIL: TestVFSMkdirAll (10.62s) === RUN TestZipDirsInRoot run.go:185: Remote "mega root 'rclone-test-gakesir6lefo'", Local "Local file system at /tmp/rclone2095348590", Modify Window "876000h0m0s" 2025/11/29 02:32:08 INFO : mega root 'rclone-test-gakesir6lefo': poll-interval is not supported by this remote 2025/11/29 02:32:08 NOTICE: mega root 'rclone-test-gakesir6lefo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/29 02:32:23 DEBUG : dir1/a.txt: Open: flags=O_RDONLY 2025/11/29 02:32:23 DEBUG : dir1/a.txt: >Open: fd=dir1/a.txt (r), err= 2025/11/29 02:32:23 DEBUG : dir1/a.txt: Set virtual modtime to 2025-11-29 02:32:14 +0000 UTC 2025/11/29 02:32:23 DEBUG : dir1/a.txt: ChunkedReader.openRange at 0 length 134217728 2025/11/29 02:32:23 DEBUG : dir1/a.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/29 02:32:23 NOTICE: Unsolicited response received on idle HTTP channel starting with "ttttt"; err= 2025/11/29 02:32:23 DEBUG : dir2/b.txt: Open: flags=O_RDONLY 2025/11/29 02:32:23 DEBUG : dir2/b.txt: >Open: fd=dir2/b.txt (r), err= 2025/11/29 02:32:23 DEBUG : dir2/b.txt: Set virtual modtime to 2025-11-29 02:32:17 +0000 UTC 2025/11/29 02:32:23 DEBUG : dir2/b.txt: ChunkedReader.openRange at 0 length 134217728 2025/11/29 02:32:24 DEBUG : dir2/b.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/29 02:32:24 NOTICE: Unsolicited response received on idle HTTP channel starting with "\xc9\xc9\xc9\xc9\xc9"; err= 2025/11/29 02:32:24 DEBUG : dir3/c.txt: Open: flags=O_RDONLY 2025/11/29 02:32:24 DEBUG : dir3/c.txt: >Open: fd=dir3/c.txt (r), err= 2025/11/29 02:32:24 DEBUG : dir3/c.txt: Set virtual modtime to 2025-11-29 02:32:21 +0000 UTC 2025/11/29 02:32:24 DEBUG : dir3/c.txt: ChunkedReader.openRange at 0 length 134217728 2025/11/29 02:32:25 DEBUG : dir3/c.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/29 02:32:25 NOTICE: Unsolicited response received on idle HTTP channel starting with "JJJJ"; err= 2025/11/29 02:32:25 DEBUG : WaitForWriters: timeout=30s 2025/11/29 02:32:25 DEBUG : dir3: Looking for writers 2025/11/29 02:32:25 DEBUG : c.txt: reading active writers 2025/11/29 02:32:25 DEBUG : dir1: Looking for writers 2025/11/29 02:32:25 DEBUG : a.txt: reading active writers 2025/11/29 02:32:25 DEBUG : dir2: Looking for writers 2025/11/29 02:32:25 DEBUG : b.txt: reading active writers 2025/11/29 02:32:25 DEBUG : Looking for writers 2025/11/29 02:32:25 DEBUG : dir1: reading active writers 2025/11/29 02:32:25 DEBUG : dir2: reading active writers 2025/11/29 02:32:25 DEBUG : dir3: reading active writers 2025/11/29 02:32:25 DEBUG : >WaitForWriters: --- PASS: TestZipDirsInRoot (20.88s) FAIL 2025/11/29 02:32:29 DEBUG : mega root 'rclone-test-gakesir6lefo': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestVFSMkdir|TestVFSMkdirAll|TestVFSOpenFile|TestVFSStat|TestZipDirsInRoot)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 5m20.436919915s (try 3/5): exit status 1: Failed [TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false TestVFSMkdirAll]