"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestDirHandleReaddir|TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestReadFileHandleMethods|TestVFSOpenFile|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestZipManyFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 2/5) 2026/05/14 02:10:38 DEBUG : Creating backend with remote "TestMega:rclone-test-pivibiw6code" 2026/05/14 02:10:38 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/05/14 02:10:38 DEBUG : mega root 'rclone-test-pivibiw6code': Using previously stored session ID and master key to initialize the Mega API 2026/05/14 02:10:58 DEBUG : Creating backend with remote "/tmp/rclone1094920427" 2026/05/14 02:10:58 DEBUG : Config file has changed externally - reloading === RUN TestDirHandleReaddir run.go:198: Remote "mega root 'rclone-test-pivibiw6code'", Local "Local file system at /tmp/rclone1094920427", Modify Window "876000h0m0s" 2026/05/14 02:10:58 INFO : mega root 'rclone-test-pivibiw6code': poll-interval is not supported by this remote 2026/05/14 02:10:58 NOTICE: mega root 'rclone-test-pivibiw6code': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/14 02:11:03 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:11:03 DEBUG : dir/subdir: Looking for writers 2026/05/14 02:11:03 DEBUG : dir: Looking for writers 2026/05/14 02:11:03 DEBUG : file1: reading active writers 2026/05/14 02:11:03 DEBUG : file2: reading active writers 2026/05/14 02:11:03 DEBUG : subdir: reading active writers 2026/05/14 02:11:03 DEBUG : Looking for writers 2026/05/14 02:11:03 DEBUG : dir: reading active writers 2026/05/14 02:11:03 DEBUG : >WaitForWriters: --- PASS: TestDirHandleReaddir (8.07s) === RUN TestFileOpenWrite run.go:198: Remote "mega root 'rclone-test-pivibiw6code'", Local "Local file system at /tmp/rclone1094920427", Modify Window "876000h0m0s" 2026/05/14 02:11:06 INFO : mega root 'rclone-test-pivibiw6code': poll-interval is not supported by this remote 2026/05/14 02:11:06 NOTICE: mega root 'rclone-test-pivibiw6code': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/14 02:11:10 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/14 02:11:10 DEBUG : mega root 'rclone-test-pivibiw6code': File to upload is small (25 bytes), uploading instead of streaming 2026/05/14 02:11:15 DEBUG : dir/file1: size = 25 OK 2026/05/14 02:11:15 NOTICE: mega root 'rclone-test-pivibiw6code': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2026/05/14 02:11:15 DEBUG : dir/file1: Size of src and dst objects identical 2026/05/14 02:11:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/14 02:11:15 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:11:15 DEBUG : dir: Looking for writers 2026/05/14 02:11:15 DEBUG : file1: reading active writers 2026/05/14 02:11:15 DEBUG : Looking for writers 2026/05/14 02:11:15 DEBUG : dir: reading active writers 2026/05/14 02:11:15 DEBUG : >WaitForWriters: --- PASS: TestFileOpenWrite (8.75s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:198: Remote "mega root 'rclone-test-pivibiw6code'", Local "Local file system at /tmp/rclone1094920427", Modify Window "876000h0m0s" 2026/05/14 02:11:15 INFO : mega root 'rclone-test-pivibiw6code': poll-interval is not supported by this remote 2026/05/14 02:11:15 NOTICE: mega root 'rclone-test-pivibiw6code': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/14 02:11:19 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:11:19 DEBUG : dir: Looking for writers 2026/05/14 02:11:19 DEBUG : file1: reading active writers 2026/05/14 02:11:19 DEBUG : Looking for writers 2026/05/14 02:11:19 DEBUG : dir: reading active writers 2026/05/14 02:11:19 DEBUG : >WaitForWriters: 2026/05/14 02:11:24 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/14 02:11:24 DEBUG : newLeaf: Updating file with newLeaf 0x2e4ed6dd7930 2026/05/14 02:11:24 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/14 02:11:24 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:358 /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:358 /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/05/14 02:11:31 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/14 02:11:31 DEBUG : dir/file1: Updating file with dir/file1 0x2e4ed6dd7930 2026/05/14 02:11:31 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/14 02:11:31 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:358 /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), 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:358 /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:358 /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" 2026/05/14 02:11:38 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/14 02:11:38 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/05/14 02:11:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/14 02:11:38 DEBUG : dir/file1: File is currently open, delaying rename 0x2e4ed6dd7930 2026/05/14 02:11:38 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/14 02:11:38 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/14 02:11:38 DEBUG : mega root 'rclone-test-pivibiw6code': File to upload is small (25 bytes), uploading instead of streaming 2026/05/14 02:11:39 DEBUG : dir/file1: size = 25 OK 2026/05/14 02:11:39 DEBUG : dir/file1: Size of src and dst objects identical 2026/05/14 02:11:39 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/14 02:11:39 DEBUG : newLeaf: Running delayed rename now 2026/05/14 02:11:39 INFO : newLeaf: Deleted 2026/05/14 02:11:41 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/14 02:11:41 DEBUG : newLeaf: Updating file with newLeaf 0x2e4ed6dd7930 2026/05/14 02:11:41 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:11:41 DEBUG : dir: Looking for writers 2026/05/14 02:11:41 DEBUG : Looking for writers 2026/05/14 02:11:41 DEBUG : dir: reading active writers 2026/05/14 02:11:41 DEBUG : newLeaf: reading active writers 2026/05/14 02:11:41 DEBUG : >WaitForWriters: 2026/05/14 02:11:41 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:11:41 DEBUG : dir: Looking for writers 2026/05/14 02:11:41 DEBUG : Looking for writers 2026/05/14 02:11:41 DEBUG : dir: reading active writers 2026/05/14 02:11:41 DEBUG : newLeaf: reading active writers 2026/05/14 02:11:41 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:198: Remote "mega root 'rclone-test-pivibiw6code'", Local "Local file system at /tmp/rclone1094920427", Modify Window "876000h0m0s" 2026/05/14 02:11:43 INFO : mega root 'rclone-test-pivibiw6code': poll-interval is not supported by this remote 2026/05/14 02:11:43 NOTICE: mega root 'rclone-test-pivibiw6code': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/14 02:11:43 DEBUG : mega root 'rclone-test-pivibiw6code': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/14 02:11:43 DEBUG : mega root 'rclone-test-pivibiw6code': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:11:43 DEBUG : mega root 'rclone-test-pivibiw6code': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:11:43 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:11:43 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/14 02:11:43 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pivibiw6code" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:11:43 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:11:43 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/14 02:11:43 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pivibiw6code" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:11:43 INFO : mega root 'rclone-test-pivibiw6code': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/14 02:11:47 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:11:47 DEBUG : dir: Looking for writers 2026/05/14 02:11:47 DEBUG : file1: reading active writers 2026/05/14 02:11:47 DEBUG : Looking for writers 2026/05/14 02:11:47 DEBUG : dir: reading active writers 2026/05/14 02:11:47 DEBUG : >WaitForWriters: 2026/05/14 02:11:47 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/14 02:11:47 DEBUG : newLeaf: Updating file with newLeaf 0x2e4ed861c270 2026/05/14 02:11:47 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/14 02:11: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:358 /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:358 /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/05/14 02:12:05 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/14 02:12:05 DEBUG : dir/file1: Updating file with dir/file1 0x2e4ed861c270 2026/05/14 02:12:05 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/14 02:12:05 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:358 /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), 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:358 /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:358 /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" 2026/05/14 02:12:12 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/14 02:12:12 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/05/14 02:12:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/14 02:12:12 DEBUG : dir/file1: File is currently open, delaying rename 0x2e4ed861c270 2026/05/14 02:12:12 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/14 02:12:12 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/14 02:12:12 DEBUG : mega root 'rclone-test-pivibiw6code': File to upload is small (25 bytes), uploading instead of streaming 2026/05/14 02:12:22 ERROR : dir/file1: WriteFileHandle.New Rcat failed: upload file failed to create session: unexpected end of JSON input 2026/05/14 02:12:22 DEBUG : newLeaf: Running delayed rename now 2026/05/14 02:12:23 INFO : newLeaf: Deleted 2026/05/14 02:12:24 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/14 02:12:24 DEBUG : newLeaf: Updating file with newLeaf 0x2e4ed861c270 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/minimal,forceCache=false 2026/05/14 02:12:24 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:12:24 DEBUG : dir: Looking for writers 2026/05/14 02:12:24 DEBUG : Looking for writers 2026/05/14 02:12:24 DEBUG : dir: reading active writers 2026/05/14 02:12:24 DEBUG : newLeaf: reading active writers 2026/05/14 02:12:24 DEBUG : >WaitForWriters: 2026/05/14 02:12:24 DEBUG : mega root 'rclone-test-pivibiw6code': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:198: Remote "mega root 'rclone-test-pivibiw6code'", Local "Local file system at /tmp/rclone1094920427", Modify Window "876000h0m0s" 2026/05/14 02:12:30 INFO : mega root 'rclone-test-pivibiw6code': poll-interval is not supported by this remote 2026/05/14 02:12:30 NOTICE: mega root 'rclone-test-pivibiw6code': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/14 02:12:30 DEBUG : mega root 'rclone-test-pivibiw6code': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/14 02:12:30 DEBUG : mega root 'rclone-test-pivibiw6code': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:12:30 DEBUG : mega root 'rclone-test-pivibiw6code': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:12:30 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:12:30 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/14 02:12:30 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pivibiw6code" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:12:30 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:12:30 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/14 02:12:30 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pivibiw6code" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:12:30 INFO : mega root 'rclone-test-pivibiw6code': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/14 02:12:31 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/05/14 02:12:31 DEBUG : dir/file1: newRWFileHandle: 2026/05/14 02:12:31 DEBUG : dir/file1(0x2e4ed898c340): openPending: 2026/05/14 02:12:31 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/05/14 02:12:31 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/05/14 02:12:31 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/14 02:12:31 DEBUG : dir/file1(0x2e4ed898c340): >openPending: err= 2026/05/14 02:12:31 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/14 02:12:31 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/14 02:12:31 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/14 02:12:31 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/14 02:12:31 DEBUG : dir/file1(0x2e4ed898c340): _writeAt: size=14, off=0 2026/05/14 02:12:31 DEBUG : dir/file1(0x2e4ed898c340): >_writeAt: n=14, err= 2026/05/14 02:12:31 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/05/14 02:12:31 DEBUG : dir/file1(0x2e4ed898c340): close: 2026/05/14 02:12:31 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/05/14 02:12:31 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/05/14 02:12:31 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/05/14 02:12:31 DEBUG : dir/file1(0x2e4ed898c340): >close: err= 2026/05/14 02:12:31 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:12:31 DEBUG : dir: Looking for writers 2026/05/14 02:12:31 DEBUG : file1: reading active writers 2026/05/14 02:12:31 DEBUG : Looking for writers 2026/05/14 02:12:31 DEBUG : dir: reading active writers 2026/05/14 02:12:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/14 02:12:31 DEBUG : dir: Looking for writers 2026/05/14 02:12:31 DEBUG : file1: reading active writers 2026/05/14 02:12:31 DEBUG : Looking for writers 2026/05/14 02:12:31 DEBUG : dir: reading active writers 2026/05/14 02:12:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/14 02:12:31 DEBUG : dir: Looking for writers 2026/05/14 02:12:31 DEBUG : file1: reading active writers 2026/05/14 02:12:31 DEBUG : Looking for writers 2026/05/14 02:12:31 DEBUG : dir: reading active writers 2026/05/14 02:12:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/14 02:12:31 DEBUG : dir: Looking for writers 2026/05/14 02:12:31 DEBUG : file1: reading active writers 2026/05/14 02:12:31 DEBUG : Looking for writers 2026/05/14 02:12:31 DEBUG : dir: reading active writers 2026/05/14 02:12:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/14 02:12:31 DEBUG : dir/file1: vfs cache: starting upload 2026/05/14 02:12:31 DEBUG : dir: Looking for writers 2026/05/14 02:12:31 DEBUG : file1: reading active writers 2026/05/14 02:12:31 DEBUG : Looking for writers 2026/05/14 02:12:31 DEBUG : dir: reading active writers 2026/05/14 02:12:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/14 02:12:31 DEBUG : dir: Looking for writers 2026/05/14 02:12:31 DEBUG : file1: reading active writers 2026/05/14 02:12:31 DEBUG : Looking for writers 2026/05/14 02:12:31 DEBUG : dir: reading active writers 2026/05/14 02:12:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/14 02:12:31 DEBUG : dir: Looking for writers 2026/05/14 02:12:31 DEBUG : file1: reading active writers 2026/05/14 02:12:31 DEBUG : Looking for writers 2026/05/14 02:12:31 DEBUG : dir: reading active writers 2026/05/14 02:12:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/14 02:12:32 DEBUG : dir: Looking for writers 2026/05/14 02:12:32 DEBUG : file1: reading active writers 2026/05/14 02:12:32 DEBUG : Looking for writers 2026/05/14 02:12:32 DEBUG : dir: reading active writers 2026/05/14 02:12:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/14 02:12:33 DEBUG : dir/file1: size = 14 OK 2026/05/14 02:12:33 INFO : dir/file1: Copied (replaced existing) 2026/05/14 02:12:33 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/05/14 02:12:33 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/05/14 02:12:33 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/14 02:12:33 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/05/14 02:12:33 DEBUG : dir: Looking for writers 2026/05/14 02:12:33 DEBUG : file1: reading active writers 2026/05/14 02:12:33 DEBUG : Looking for writers 2026/05/14 02:12:33 DEBUG : dir: reading active writers 2026/05/14 02:12:33 DEBUG : >WaitForWriters: 2026/05/14 02:12:33 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/14 02:12:33 DEBUG : dir/file1: newRWFileHandle: 2026/05/14 02:12:33 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/14 02:12:33 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/14 02:12:33 DEBUG : dir/file1(0x2e4ed86559c0): _readAt: size=512, off=0 2026/05/14 02:12:33 DEBUG : dir/file1(0x2e4ed86559c0): openPending: 2026/05/14 02:12:33 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/14 02:12:33 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/14 02:12:33 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/14 02:12:33 DEBUG : dir/file1(0x2e4ed86559c0): >openPending: err= 2026/05/14 02:12:33 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/05/14 02:12:33 DEBUG : dir/file1(0x2e4ed86559c0): >_readAt: n=14, err=EOF 2026/05/14 02:12:33 DEBUG : dir/file1(0x2e4ed86559c0): close: 2026/05/14 02:12:33 DEBUG : dir/file1(0x2e4ed86559c0): >close: err= 2026/05/14 02:12:35 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/14 02:12:35 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/14 02:12:35 DEBUG : newLeaf: Updating file with newLeaf 0x2e4ed87475f0 2026/05/14 02:12:35 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/14 02:12:35 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/14 02:12:37 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/14 02:12:37 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/05/14 02:12:37 DEBUG : dir/file1: Updating file with dir/file1 0x2e4ed87475f0 2026/05/14 02:12:37 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/14 02:12:37 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 2026/05/14 02:12:38 DEBUG : dir/file1: vfs cache: setting modification time to 2026-05-14 02:12:31 +0000 UTC 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:358 /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=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:358 /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" 2026/05/14 02:12:44 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/14 02:12:44 DEBUG : dir/file1: newRWFileHandle: 2026/05/14 02:12:44 DEBUG : dir/file1(0x2e4ed893ad00): openPending: 2026/05/14 02:12:44 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/14 02:12:44 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/14 02:12:44 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/14 02:12:44 DEBUG : dir/file1(0x2e4ed893ad00): >openPending: err= 2026/05/14 02:12:44 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/14 02:12:44 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/14 02:12:44 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/14 02:12:44 DEBUG : dir/file1(0x2e4ed893ad00): _writeAt: size=25, off=0 2026/05/14 02:12:44 DEBUG : dir/file1(0x2e4ed893ad00): >_writeAt: n=25, err= 2026/05/14 02:13:05 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/14 02:13:05 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/14 02:13:05 DEBUG : newLeaf: Updating file with newLeaf 0x2e4ed87475f0 2026/05/14 02:13:05 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/14 02:13:05 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/14 02:13:05 DEBUG : newLeaf(0x2e4ed893ad00): close: 2026/05/14 02:13:05 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/05/14 02:13:05 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-14 02:12:44.745357139 +0000 UTC m=+126.556925918 2026/05/14 02:13:05 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/05/14 02:13:05 DEBUG : newLeaf(0x2e4ed893ad00): >close: err= 2026/05/14 02:13:05 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:13:05 DEBUG : dir: Looking for writers 2026/05/14 02:13:05 DEBUG : Looking for writers 2026/05/14 02:13:05 DEBUG : dir: reading active writers 2026/05/14 02:13:05 DEBUG : newLeaf: reading active writers 2026/05/14 02:13:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/14 02:13:05 DEBUG : dir: Looking for writers 2026/05/14 02:13:05 DEBUG : Looking for writers 2026/05/14 02:13:05 DEBUG : dir: reading active writers 2026/05/14 02:13:05 DEBUG : newLeaf: reading active writers 2026/05/14 02:13:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/14 02:13:05 DEBUG : dir: Looking for writers 2026/05/14 02:13:05 DEBUG : Looking for writers 2026/05/14 02:13:05 DEBUG : dir: reading active writers 2026/05/14 02:13:05 DEBUG : newLeaf: reading active writers 2026/05/14 02:13:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/14 02:13:06 DEBUG : dir: Looking for writers 2026/05/14 02:13:06 DEBUG : Looking for writers 2026/05/14 02:13:06 DEBUG : dir: reading active writers 2026/05/14 02:13:06 DEBUG : newLeaf: reading active writers 2026/05/14 02:13:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/14 02:13:06 DEBUG : newLeaf: vfs cache: starting upload 2026/05/14 02:13:06 DEBUG : dir: Looking for writers 2026/05/14 02:13:06 DEBUG : Looking for writers 2026/05/14 02:13:06 DEBUG : dir: reading active writers 2026/05/14 02:13:06 DEBUG : newLeaf: reading active writers 2026/05/14 02:13:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/14 02:13:06 DEBUG : dir: Looking for writers 2026/05/14 02:13:06 DEBUG : Looking for writers 2026/05/14 02:13:06 DEBUG : newLeaf: reading active writers 2026/05/14 02:13:06 DEBUG : dir: reading active writers 2026/05/14 02:13:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/14 02:13:06 DEBUG : dir: Looking for writers 2026/05/14 02:13:06 DEBUG : Looking for writers 2026/05/14 02:13:06 DEBUG : dir: reading active writers 2026/05/14 02:13:06 DEBUG : newLeaf: reading active writers 2026/05/14 02:13:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/14 02:13:07 DEBUG : dir: Looking for writers 2026/05/14 02:13:07 DEBUG : Looking for writers 2026/05/14 02:13:07 DEBUG : dir: reading active writers 2026/05/14 02:13:07 DEBUG : newLeaf: reading active writers 2026/05/14 02:13:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/14 02:13:08 DEBUG : dir: Looking for writers 2026/05/14 02:13:08 DEBUG : Looking for writers 2026/05/14 02:13:08 DEBUG : dir: reading active writers 2026/05/14 02:13:08 DEBUG : newLeaf: reading active writers 2026/05/14 02:13:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/14 02:13:09 DEBUG : newLeaf: size = 25 OK 2026/05/14 02:13:09 INFO : newLeaf: Copied (replaced existing) 2026/05/14 02:13:09 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/05/14 02:13:09 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/05/14 02:13:09 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/14 02:13:09 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/05/14 02:13:09 DEBUG : dir: Looking for writers 2026/05/14 02:13:09 DEBUG : Looking for writers 2026/05/14 02:13:09 DEBUG : dir: reading active writers 2026/05/14 02:13:09 DEBUG : newLeaf: reading active writers 2026/05/14 02:13:09 DEBUG : >WaitForWriters: 2026/05/14 02:13:09 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:13:09 DEBUG : dir: Looking for writers 2026/05/14 02:13:09 DEBUG : Looking for writers 2026/05/14 02:13:09 DEBUG : dir: reading active writers 2026/05/14 02:13:09 DEBUG : newLeaf: reading active writers 2026/05/14 02:13:09 DEBUG : >WaitForWriters: 2026/05/14 02:13:09 DEBUG : mega root 'rclone-test-pivibiw6code': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:198: Remote "mega root 'rclone-test-pivibiw6code'", Local "Local file system at /tmp/rclone1094920427", Modify Window "876000h0m0s" 2026/05/14 02:13:11 INFO : mega root 'rclone-test-pivibiw6code': poll-interval is not supported by this remote 2026/05/14 02:13:11 DEBUG : mega root 'rclone-test-pivibiw6code': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/14 02:13:11 DEBUG : mega root 'rclone-test-pivibiw6code': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:13:11 DEBUG : mega root 'rclone-test-pivibiw6code': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:13:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:13:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/14 02:13:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pivibiw6code" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:13:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:13:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/14 02:13:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pivibiw6code" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:13:11 INFO : mega root 'rclone-test-pivibiw6code': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/14 02:13:13 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:13:13 DEBUG : dir: Looking for writers 2026/05/14 02:13:13 DEBUG : file1: reading active writers 2026/05/14 02:13:13 DEBUG : Looking for writers 2026/05/14 02:13:13 DEBUG : dir: reading active writers 2026/05/14 02:13:13 DEBUG : >WaitForWriters: 2026/05/14 02:13:16 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/14 02:13:16 DEBUG : newLeaf: Updating file with newLeaf 0x2e4ed899ec30 2026/05/14 02:13:16 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/14 02:13:16 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:358 /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 newLeaf (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:358 /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 "newLeaf" 2026/05/14 02:13:25 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/14 02:13:25 DEBUG : dir/file1: Updating file with dir/file1 0x2e4ed899ec30 2026/05/14 02:13:25 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/14 02:13:25 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:358 /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), 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:358 /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 "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:358 /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 "dir/file1" 2026/05/14 02:13:32 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/14 02:13:32 DEBUG : dir/file1: newRWFileHandle: 2026/05/14 02:13:32 DEBUG : dir/file1(0x2e4ed2dede80): openPending: 2026/05/14 02:13:32 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/05/14 02:13:32 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/05/14 02:13:32 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/14 02:13:32 DEBUG : dir/file1(0x2e4ed2dede80): >openPending: err= 2026/05/14 02:13:32 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/14 02:13:32 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/14 02:13:32 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/14 02:13:32 DEBUG : dir/file1(0x2e4ed2dede80): _writeAt: size=25, off=0 2026/05/14 02:13:32 DEBUG : dir/file1(0x2e4ed2dede80): >_writeAt: n=25, err= 2026/05/14 02:13:43 INFO : newLeaf: Deleted 2026/05/14 02:13:45 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/14 02:13:45 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/14 02:13:45 DEBUG : newLeaf: Updating file with newLeaf 0x2e4ed899ec30 2026/05/14 02:13:45 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/14 02:13:45 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/14 02:13:45 DEBUG : newLeaf(0x2e4ed2dede80): close: 2026/05/14 02:13:45 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/05/14 02:13:45 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-14 02:13:32.768827335 +0000 UTC m=+174.580396074 2026/05/14 02:13:45 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/05/14 02:13:45 DEBUG : newLeaf(0x2e4ed2dede80): >close: err= 2026/05/14 02:13:45 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:13:45 DEBUG : dir: Looking for writers 2026/05/14 02:13:45 DEBUG : Looking for writers 2026/05/14 02:13:45 DEBUG : dir: reading active writers 2026/05/14 02:13:45 DEBUG : newLeaf: reading active writers 2026/05/14 02:13:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/14 02:13:45 DEBUG : dir: Looking for writers 2026/05/14 02:13:45 DEBUG : Looking for writers 2026/05/14 02:13:45 DEBUG : newLeaf: reading active writers 2026/05/14 02:13:45 DEBUG : dir: reading active writers 2026/05/14 02:13:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/14 02:13:45 DEBUG : dir: Looking for writers 2026/05/14 02:13:45 DEBUG : Looking for writers 2026/05/14 02:13:45 DEBUG : dir: reading active writers 2026/05/14 02:13:45 DEBUG : newLeaf: reading active writers 2026/05/14 02:13:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/14 02:13:45 DEBUG : dir: Looking for writers 2026/05/14 02:13:45 DEBUG : Looking for writers 2026/05/14 02:13:45 DEBUG : dir: reading active writers 2026/05/14 02:13:45 DEBUG : newLeaf: reading active writers 2026/05/14 02:13:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/14 02:13:45 DEBUG : newLeaf: vfs cache: starting upload 2026/05/14 02:13:45 DEBUG : dir: Looking for writers 2026/05/14 02:13:45 DEBUG : Looking for writers 2026/05/14 02:13:45 DEBUG : dir: reading active writers 2026/05/14 02:13:45 DEBUG : newLeaf: reading active writers 2026/05/14 02:13:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/14 02:13:46 DEBUG : dir: Looking for writers 2026/05/14 02:13:46 DEBUG : Looking for writers 2026/05/14 02:13:46 DEBUG : dir: reading active writers 2026/05/14 02:13:46 DEBUG : newLeaf: reading active writers 2026/05/14 02:13:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/14 02:13:46 DEBUG : dir: Looking for writers 2026/05/14 02:13:46 DEBUG : Looking for writers 2026/05/14 02:13:46 DEBUG : dir: reading active writers 2026/05/14 02:13:46 DEBUG : newLeaf: reading active writers 2026/05/14 02:13:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/14 02:13:47 DEBUG : dir: Looking for writers 2026/05/14 02:13:47 DEBUG : Looking for writers 2026/05/14 02:13:47 DEBUG : dir: reading active writers 2026/05/14 02:13:47 DEBUG : newLeaf: reading active writers 2026/05/14 02:13:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/14 02:13:47 DEBUG : newLeaf: size = 25 OK 2026/05/14 02:13:47 INFO : newLeaf: Copied (replaced existing) 2026/05/14 02:13:47 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/05/14 02:13:47 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/05/14 02:13:47 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/14 02:13:47 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/05/14 02:13:48 DEBUG : dir: Looking for writers 2026/05/14 02:13:48 DEBUG : Looking for writers 2026/05/14 02:13:48 DEBUG : dir: reading active writers 2026/05/14 02:13:48 DEBUG : newLeaf: reading active writers 2026/05/14 02:13:48 DEBUG : >WaitForWriters: 2026/05/14 02:13:48 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:13:48 DEBUG : dir: Looking for writers 2026/05/14 02:13:48 DEBUG : Looking for writers 2026/05/14 02:13:48 DEBUG : dir: reading active writers 2026/05/14 02:13:48 DEBUG : newLeaf: reading active writers 2026/05/14 02:13:48 DEBUG : >WaitForWriters: 2026/05/14 02:13:48 DEBUG : mega root 'rclone-test-pivibiw6code': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:198: Remote "mega root 'rclone-test-pivibiw6code'", Local "Local file system at /tmp/rclone1094920427", Modify Window "876000h0m0s" 2026/05/14 02:13:50 INFO : mega root 'rclone-test-pivibiw6code': poll-interval is not supported by this remote 2026/05/14 02:13:50 DEBUG : mega root 'rclone-test-pivibiw6code': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/14 02:13:50 DEBUG : mega root 'rclone-test-pivibiw6code': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:13:50 DEBUG : mega root 'rclone-test-pivibiw6code': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:13:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:13:50 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/14 02:13:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pivibiw6code" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:13:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:13:50 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/14 02:13:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pivibiw6code" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:13:50 INFO : mega root 'rclone-test-pivibiw6code': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/14 02:13:50 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/05/14 02:13:50 DEBUG : dir/file1: newRWFileHandle: 2026/05/14 02:13:50 DEBUG : dir/file1(0x2e4ed24dbd00): openPending: 2026/05/14 02:13:50 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/05/14 02:13:50 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/05/14 02:13:50 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/14 02:13:50 DEBUG : dir/file1(0x2e4ed24dbd00): >openPending: err= 2026/05/14 02:13:50 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/14 02:13:50 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/14 02:13:50 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/14 02:13:50 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/14 02:13:50 DEBUG : dir/file1(0x2e4ed24dbd00): _writeAt: size=14, off=0 2026/05/14 02:13:50 DEBUG : dir/file1(0x2e4ed24dbd00): >_writeAt: n=14, err= 2026/05/14 02:13:50 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/05/14 02:13:50 DEBUG : dir/file1(0x2e4ed24dbd00): close: 2026/05/14 02:13:50 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/05/14 02:13:50 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/05/14 02:13:50 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/05/14 02:13:50 DEBUG : dir/file1(0x2e4ed24dbd00): >close: err= 2026/05/14 02:13:50 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:13:50 DEBUG : dir: Looking for writers 2026/05/14 02:13:50 DEBUG : file1: reading active writers 2026/05/14 02:13:50 DEBUG : Looking for writers 2026/05/14 02:13:50 DEBUG : dir: reading active writers 2026/05/14 02:13:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/14 02:13:50 DEBUG : dir: Looking for writers 2026/05/14 02:13:50 DEBUG : file1: reading active writers 2026/05/14 02:13:50 DEBUG : Looking for writers 2026/05/14 02:13:50 DEBUG : dir: reading active writers 2026/05/14 02:13:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/14 02:13:51 DEBUG : dir: Looking for writers 2026/05/14 02:13:51 DEBUG : file1: reading active writers 2026/05/14 02:13:51 DEBUG : Looking for writers 2026/05/14 02:13:51 DEBUG : dir: reading active writers 2026/05/14 02:13:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/14 02:13:51 DEBUG : dir: Looking for writers 2026/05/14 02:13:51 DEBUG : file1: reading active writers 2026/05/14 02:13:51 DEBUG : Looking for writers 2026/05/14 02:13:51 DEBUG : dir: reading active writers 2026/05/14 02:13:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/14 02:13:51 DEBUG : dir/file1: vfs cache: starting upload 2026/05/14 02:13:51 DEBUG : dir: Looking for writers 2026/05/14 02:13:51 DEBUG : file1: reading active writers 2026/05/14 02:13:51 DEBUG : Looking for writers 2026/05/14 02:13:51 DEBUG : dir: reading active writers 2026/05/14 02:13:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/14 02:13:51 DEBUG : dir: Looking for writers 2026/05/14 02:13:51 DEBUG : file1: reading active writers 2026/05/14 02:13:51 DEBUG : Looking for writers 2026/05/14 02:13:51 DEBUG : dir: reading active writers 2026/05/14 02:13:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/14 02:13:51 DEBUG : dir: Looking for writers 2026/05/14 02:13:51 DEBUG : file1: reading active writers 2026/05/14 02:13:51 DEBUG : Looking for writers 2026/05/14 02:13:51 DEBUG : dir: reading active writers 2026/05/14 02:13:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/14 02:13:52 DEBUG : dir: Looking for writers 2026/05/14 02:13:52 DEBUG : file1: reading active writers 2026/05/14 02:13:52 DEBUG : Looking for writers 2026/05/14 02:13:52 DEBUG : dir: reading active writers 2026/05/14 02:13:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/14 02:13:53 DEBUG : dir: Looking for writers 2026/05/14 02:13:53 DEBUG : file1: reading active writers 2026/05/14 02:13:53 DEBUG : Looking for writers 2026/05/14 02:13:53 DEBUG : dir: reading active writers 2026/05/14 02:13:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/14 02:13:53 DEBUG : dir/file1: size = 14 OK 2026/05/14 02:13:53 INFO : dir/file1: Copied (replaced existing) 2026/05/14 02:13:53 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/05/14 02:13:53 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/05/14 02:13:53 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/14 02:13:53 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/05/14 02:13:54 DEBUG : dir: Looking for writers 2026/05/14 02:13:54 DEBUG : file1: reading active writers 2026/05/14 02:13:54 DEBUG : Looking for writers 2026/05/14 02:13:54 DEBUG : dir: reading active writers 2026/05/14 02:13:54 DEBUG : >WaitForWriters: 2026/05/14 02:13:54 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/14 02:13:54 DEBUG : dir/file1: newRWFileHandle: 2026/05/14 02:13:54 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/14 02:13:54 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/14 02:13:54 DEBUG : dir/file1(0x2e4ed28c8f00): _readAt: size=512, off=0 2026/05/14 02:13:54 DEBUG : dir/file1(0x2e4ed28c8f00): openPending: 2026/05/14 02:13:54 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/14 02:13:54 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/14 02:13:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/14 02:13:54 DEBUG : dir/file1(0x2e4ed28c8f00): >openPending: err= 2026/05/14 02:13:54 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/05/14 02:13:54 DEBUG : dir/file1(0x2e4ed28c8f00): >_readAt: n=14, err=EOF 2026/05/14 02:13:54 DEBUG : dir/file1(0x2e4ed28c8f00): close: 2026/05/14 02:13:54 DEBUG : dir/file1(0x2e4ed28c8f00): >close: err= 2026/05/14 02:13:54 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/14 02:13:54 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/14 02:13:54 DEBUG : newLeaf: Updating file with newLeaf 0x2e4ed2d06000 2026/05/14 02:13:54 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/14 02:13:54 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/14 02:13:56 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/14 02:13:56 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/05/14 02:13:56 DEBUG : dir/file1: Updating file with dir/file1 0x2e4ed2d06000 2026/05/14 02:13:56 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/14 02:13:56 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 2026/05/14 02:13:59 DEBUG : dir/file1: vfs cache: setting modification time to 2026-05-14 02:13:51 +0000 UTC 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:358 /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), 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:358 /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" 2026/05/14 02:14:03 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/14 02:14:03 DEBUG : dir/file1: newRWFileHandle: 2026/05/14 02:14:03 DEBUG : dir/file1(0x2e4ed2f0cd80): openPending: 2026/05/14 02:14:03 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/14 02:14:03 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/14 02:14:03 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/14 02:14:03 DEBUG : dir/file1(0x2e4ed2f0cd80): >openPending: err= 2026/05/14 02:14:03 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/14 02:14:03 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/14 02:14:03 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/14 02:14:03 DEBUG : dir/file1(0x2e4ed2f0cd80): _writeAt: size=25, off=0 2026/05/14 02:14:03 DEBUG : dir/file1(0x2e4ed2f0cd80): >_writeAt: n=25, err= 2026/05/14 02:14:06 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/14 02:14:06 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/14 02:14:06 DEBUG : newLeaf: Updating file with newLeaf 0x2e4ed2d06000 2026/05/14 02:14:06 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/14 02:14:06 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/14 02:14:06 DEBUG : newLeaf(0x2e4ed2f0cd80): close: 2026/05/14 02:14:06 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/05/14 02:14:06 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-14 02:14:03.96659773 +0000 UTC m=+205.778166479 2026/05/14 02:14:06 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/05/14 02:14:06 DEBUG : newLeaf(0x2e4ed2f0cd80): >close: err= 2026/05/14 02:14:06 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:14:06 DEBUG : dir: Looking for writers 2026/05/14 02:14:06 DEBUG : Looking for writers 2026/05/14 02:14:06 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:06 DEBUG : dir: reading active writers 2026/05/14 02:14:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/14 02:14:06 DEBUG : dir: Looking for writers 2026/05/14 02:14:06 DEBUG : Looking for writers 2026/05/14 02:14:06 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:06 DEBUG : dir: reading active writers 2026/05/14 02:14:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/14 02:14:06 DEBUG : dir: Looking for writers 2026/05/14 02:14:06 DEBUG : Looking for writers 2026/05/14 02:14:06 DEBUG : dir: reading active writers 2026/05/14 02:14:06 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/14 02:14:06 DEBUG : dir: Looking for writers 2026/05/14 02:14:06 DEBUG : Looking for writers 2026/05/14 02:14:06 DEBUG : dir: reading active writers 2026/05/14 02:14:06 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/14 02:14:06 DEBUG : newLeaf: vfs cache: starting upload 2026/05/14 02:14:06 DEBUG : dir: Looking for writers 2026/05/14 02:14:06 DEBUG : Looking for writers 2026/05/14 02:14:06 DEBUG : dir: reading active writers 2026/05/14 02:14:06 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/14 02:14:06 DEBUG : dir: Looking for writers 2026/05/14 02:14:06 DEBUG : Looking for writers 2026/05/14 02:14:06 DEBUG : dir: reading active writers 2026/05/14 02:14:06 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/14 02:14:07 DEBUG : dir: Looking for writers 2026/05/14 02:14:07 DEBUG : Looking for writers 2026/05/14 02:14:07 DEBUG : dir: reading active writers 2026/05/14 02:14:07 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/14 02:14:07 DEBUG : newLeaf: size = 25 OK 2026/05/14 02:14:07 INFO : newLeaf: Copied (replaced existing) 2026/05/14 02:14:07 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/05/14 02:14:07 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/05/14 02:14:07 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/14 02:14:07 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/05/14 02:14:07 DEBUG : dir: Looking for writers 2026/05/14 02:14:07 DEBUG : Looking for writers 2026/05/14 02:14:07 DEBUG : dir: reading active writers 2026/05/14 02:14:07 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:07 DEBUG : >WaitForWriters: 2026/05/14 02:14:07 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:14:07 DEBUG : dir: Looking for writers 2026/05/14 02:14:07 DEBUG : Looking for writers 2026/05/14 02:14:07 DEBUG : dir: reading active writers 2026/05/14 02:14:07 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:07 DEBUG : >WaitForWriters: 2026/05/14 02:14:07 DEBUG : mega root 'rclone-test-pivibiw6code': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:198: Remote "mega root 'rclone-test-pivibiw6code'", Local "Local file system at /tmp/rclone1094920427", Modify Window "876000h0m0s" 2026/05/14 02:14:11 INFO : mega root 'rclone-test-pivibiw6code': poll-interval is not supported by this remote 2026/05/14 02:14:11 DEBUG : mega root 'rclone-test-pivibiw6code': vfs cache: root is "/home/rclone/.cache/rclone" 2026/05/14 02:14:11 DEBUG : mega root 'rclone-test-pivibiw6code': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:14:11 DEBUG : mega root 'rclone-test-pivibiw6code': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:14:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:14:11 DEBUG : Config file has changed externally - reloading 2026/05/14 02:14:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/14 02:14:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pivibiw6code" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:14:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:14:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/05/14 02:14:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pivibiw6code" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-pivibiw6code" 2026/05/14 02:14:11 INFO : mega root 'rclone-test-pivibiw6code': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/05/14 02:14:13 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:14:13 DEBUG : dir: Looking for writers 2026/05/14 02:14:13 DEBUG : file1: reading active writers 2026/05/14 02:14:13 DEBUG : Looking for writers 2026/05/14 02:14:13 DEBUG : dir: reading active writers 2026/05/14 02:14:13 DEBUG : >WaitForWriters: 2026/05/14 02:14:13 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/14 02:14:13 DEBUG : dir/file1: newRWFileHandle: 2026/05/14 02:14:13 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/14 02:14:13 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/14 02:14:13 DEBUG : dir/file1(0x2e4ed8a0e600): _readAt: size=512, off=0 2026/05/14 02:14:13 DEBUG : dir/file1(0x2e4ed8a0e600): openPending: 2026/05/14 02:14:13 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/05/14 02:14:13 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/05/14 02:14:13 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/14 02:14:13 DEBUG : dir/file1(0x2e4ed8a0e600): >openPending: err= 2026/05/14 02:14:13 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2026/05/14 02:14:13 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/05/14 02:14:13 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/14 02:14:13 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/05/14 02:14:14 DEBUG : dir/file1(0x2e4ed8a0e600): >_readAt: n=14, err=EOF 2026/05/14 02:14:14 DEBUG : dir/file1(0x2e4ed8a0e600): close: 2026/05/14 02:14:14 DEBUG : dir/file1(0x2e4ed8a0e600): >close: err= 2026/05/14 02:14:16 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/14 02:14:16 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/14 02:14:16 DEBUG : newLeaf: Updating file with newLeaf 0x2e4ed29b24e0 2026/05/14 02:14:16 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/14 02:14:16 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/14 02:14:18 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/05/14 02:14:18 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/05/14 02:14:18 DEBUG : dir/file1: Updating file with dir/file1 0x2e4ed29b24e0 2026/05/14 02:14:18 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/05/14 02:14:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 2026/05/14 02:14:19 DEBUG : dir/file1: vfs cache: setting modification time to 2026-05-14 02:14:13 +0000 UTC 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:358 /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) 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:358 /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/05/14 02:14:25 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/05/14 02:14:25 DEBUG : dir/file1: newRWFileHandle: 2026/05/14 02:14:25 DEBUG : dir/file1(0x2e4ed8654200): openPending: 2026/05/14 02:14:25 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/05/14 02:14:25 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/05/14 02:14:25 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/05/14 02:14:25 DEBUG : dir/file1(0x2e4ed8654200): >openPending: err= 2026/05/14 02:14:25 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/05/14 02:14:25 DEBUG : dir/file1: >newRWFileHandle: err= 2026/05/14 02:14:25 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/05/14 02:14:25 DEBUG : dir/file1(0x2e4ed8654200): _writeAt: size=25, off=0 2026/05/14 02:14:25 DEBUG : dir/file1(0x2e4ed8654200): >_writeAt: n=25, err= 2026/05/14 02:14:38 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/05/14 02:14:38 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/05/14 02:14:38 DEBUG : newLeaf: Updating file with newLeaf 0x2e4ed29b24e0 2026/05/14 02:14:38 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/05/14 02:14:38 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/14 02:14:38 DEBUG : newLeaf(0x2e4ed8654200): close: 2026/05/14 02:14:38 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/05/14 02:14:38 DEBUG : newLeaf: vfs cache: setting modification time to 2026-05-14 02:14:25.700298284 +0000 UTC m=+227.511867033 2026/05/14 02:14:38 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/05/14 02:14:38 DEBUG : newLeaf(0x2e4ed8654200): >close: err= 2026/05/14 02:14:38 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:14:38 DEBUG : dir: Looking for writers 2026/05/14 02:14:38 DEBUG : Looking for writers 2026/05/14 02:14:38 DEBUG : dir: reading active writers 2026/05/14 02:14:38 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/05/14 02:14:38 DEBUG : dir: Looking for writers 2026/05/14 02:14:38 DEBUG : Looking for writers 2026/05/14 02:14:38 DEBUG : dir: reading active writers 2026/05/14 02:14:38 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/05/14 02:14:38 DEBUG : dir: Looking for writers 2026/05/14 02:14:38 DEBUG : Looking for writers 2026/05/14 02:14:38 DEBUG : dir: reading active writers 2026/05/14 02:14:38 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/05/14 02:14:38 DEBUG : dir: Looking for writers 2026/05/14 02:14:38 DEBUG : Looking for writers 2026/05/14 02:14:38 DEBUG : dir: reading active writers 2026/05/14 02:14:38 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/05/14 02:14:38 DEBUG : newLeaf: vfs cache: starting upload 2026/05/14 02:14:38 DEBUG : dir: Looking for writers 2026/05/14 02:14:38 DEBUG : Looking for writers 2026/05/14 02:14:38 DEBUG : dir: reading active writers 2026/05/14 02:14:38 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/05/14 02:14:38 DEBUG : dir: Looking for writers 2026/05/14 02:14:38 DEBUG : Looking for writers 2026/05/14 02:14:38 DEBUG : dir: reading active writers 2026/05/14 02:14:38 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/05/14 02:14:38 DEBUG : dir: Looking for writers 2026/05/14 02:14:38 DEBUG : Looking for writers 2026/05/14 02:14:38 DEBUG : dir: reading active writers 2026/05/14 02:14:38 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/05/14 02:14:39 DEBUG : dir: Looking for writers 2026/05/14 02:14:39 DEBUG : Looking for writers 2026/05/14 02:14:39 DEBUG : dir: reading active writers 2026/05/14 02:14:39 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/14 02:14:40 DEBUG : dir: Looking for writers 2026/05/14 02:14:40 DEBUG : Looking for writers 2026/05/14 02:14:40 DEBUG : dir: reading active writers 2026/05/14 02:14:40 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/14 02:14:41 DEBUG : dir: Looking for writers 2026/05/14 02:14:41 DEBUG : Looking for writers 2026/05/14 02:14:41 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:41 DEBUG : dir: reading active writers 2026/05/14 02:14:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/14 02:14:42 DEBUG : dir: Looking for writers 2026/05/14 02:14:42 DEBUG : Looking for writers 2026/05/14 02:14:42 DEBUG : dir: reading active writers 2026/05/14 02:14:42 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/14 02:14:43 DEBUG : dir: Looking for writers 2026/05/14 02:14:43 DEBUG : Looking for writers 2026/05/14 02:14:43 DEBUG : dir: reading active writers 2026/05/14 02:14:43 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/05/14 02:14:43 DEBUG : newLeaf: size = 25 OK 2026/05/14 02:14:43 INFO : newLeaf: Copied (replaced existing) 2026/05/14 02:14:43 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/05/14 02:14:43 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/05/14 02:14:43 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/05/14 02:14:43 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/05/14 02:14:44 DEBUG : dir: Looking for writers 2026/05/14 02:14:44 DEBUG : Looking for writers 2026/05/14 02:14:44 DEBUG : dir: reading active writers 2026/05/14 02:14:44 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:44 DEBUG : >WaitForWriters: 2026/05/14 02:14:44 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:14:44 DEBUG : dir: Looking for writers 2026/05/14 02:14:44 DEBUG : Looking for writers 2026/05/14 02:14:44 DEBUG : dir: reading active writers 2026/05/14 02:14:44 DEBUG : newLeaf: reading active writers 2026/05/14 02:14:44 DEBUG : >WaitForWriters: 2026/05/14 02:14:44 DEBUG : mega root 'rclone-test-pivibiw6code': vfs cache: cleaner exiting --- FAIL: TestFileRename (209.05s) --- FAIL: TestFileRename/off,forceCache=false (28.00s) --- FAIL: TestFileRename/minimal,forceCache=false (47.10s) --- FAIL: TestFileRename/minimal,forceCache=true (40.84s) --- FAIL: TestFileRename/writes,forceCache=false (38.79s) --- FAIL: TestFileRename/writes,forceCache=true (21.22s) --- FAIL: TestFileRename/full,forceCache=false (33.10s) === RUN TestReadFileHandleMethods run.go:198: Remote "mega root 'rclone-test-pivibiw6code'", Local "Local file system at /tmp/rclone1094920427", Modify Window "876000h0m0s" 2026/05/14 02:14:44 INFO : mega root 'rclone-test-pivibiw6code': poll-interval is not supported by this remote 2026/05/14 02:14:44 NOTICE: mega root 'rclone-test-pivibiw6code': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/14 02:14:45 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/14 02:14:45 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/05/14 02:14:45 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2026/05/14 02:14:45 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2026/05/14 02:14:45 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/05/14 02:14:45 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2026/05/14 02:14:45 DEBUG : dir/file1: ChunkedReader.Read at 1 length 256 chunkOffset 0 chunkSize 134217728 2026/05/14 02:14:45 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:14:45 DEBUG : dir: Looking for writers 2026/05/14 02:14:45 DEBUG : file1: reading active writers 2026/05/14 02:14:45 DEBUG : Looking for writers 2026/05/14 02:14:45 DEBUG : dir: reading active writers 2026/05/14 02:14:45 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleMethods (1.15s) === RUN TestVFSOpenFile run.go:198: Remote "mega root 'rclone-test-pivibiw6code'", Local "Local file system at /tmp/rclone1094920427", Modify Window "876000h0m0s" 2026/05/14 02:14:45 INFO : mega root 'rclone-test-pivibiw6code': poll-interval is not supported by this remote 2026/05/14 02:14:45 NOTICE: mega root 'rclone-test-pivibiw6code': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/14 02:14:46 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/14 02:14:46 DEBUG : file1: Open: flags=O_RDONLY 2026/05/14 02:14:46 DEBUG : file1: >Open: fd=file1 (r), err= 2026/05/14 02:14:46 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2026/05/14 02:14:46 DEBUG : dir: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/14 02:14:46 DEBUG : dir: >OpenFile: fd=dir/ (r), err= 2026/05/14 02:14:46 DEBUG : dir/new_file.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/05/14 02:14:46 DEBUG : dir/new_file.txt: >OpenFile: fd=, err=file does not exist 2026/05/14 02:14:46 DEBUG : dir/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/05/14 02:14:46 DEBUG : dir/new_file.txt: Open: flags=O_WRONLY|O_CREATE 2026/05/14 02:14:46 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2026/05/14 02:14:46 DEBUG : dir/new_file.txt: >Open: fd=dir/new_file.txt (w), err= 2026/05/14 02:14:46 DEBUG : dir/new_file.txt: >OpenFile: fd=dir/new_file.txt (w), err= 2026/05/14 02:14:46 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2026/05/14 02:14:46 DEBUG : mega root 'rclone-test-pivibiw6code': File to upload is small (0 bytes), uploading instead of streaming 2026/05/14 02:14:46 DEBUG : dir/new_file.txt: size = 0 OK 2026/05/14 02:14:46 DEBUG : dir/new_file.txt: Size of src and dst objects identical 2026/05/14 02:14:46 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2026/05/14 02:14:46 DEBUG : not found/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/05/14 02:14:46 DEBUG : not found/new_file.txt: >OpenFile: fd=, err=file does not exist 2026/05/14 02:14:46 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:14:46 DEBUG : dir: Looking for writers 2026/05/14 02:14:46 DEBUG : file2: reading active writers 2026/05/14 02:14:46 DEBUG : new_file.txt: reading active writers 2026/05/14 02:14:46 DEBUG : Looking for writers 2026/05/14 02:14:46 DEBUG : dir: reading active writers 2026/05/14 02:14:46 DEBUG : file1: reading active writers 2026/05/14 02:14:46 DEBUG : >WaitForWriters: --- PASS: TestVFSOpenFile (1.70s) === RUN TestWriteFileHandleMethods run.go:198: Remote "mega root 'rclone-test-pivibiw6code'", Local "Local file system at /tmp/rclone1094920427", Modify Window "876000h0m0s" 2026/05/14 02:14:47 INFO : mega root 'rclone-test-pivibiw6code': poll-interval is not supported by this remote 2026/05/14 02:14:47 NOTICE: mega root 'rclone-test-pivibiw6code': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/14 02:14:47 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/05/14 02:14:47 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/05/14 02:14:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/14 02:14:47 DEBUG : file1: >Open: fd=file1 (w), err= 2026/05/14 02:14:47 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/05/14 02:14:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/14 02:14:47 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2026/05/14 02:14:47 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2026/05/14 02:14:47 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2026/05/14 02:14:47 DEBUG : mega root 'rclone-test-pivibiw6code': File to upload is small (5 bytes), uploading instead of streaming 2026/05/14 02:14:49 DEBUG : file1: size = 5 OK 2026/05/14 02:14:49 DEBUG : file1: Size of src and dst objects identical 2026/05/14 02:14:49 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/14 02:14:49 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/05/14 02:14:49 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/05/14 02:14:49 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/14 02:14:49 DEBUG : file1: >Open: fd=file1 (w), err= 2026/05/14 02:14:49 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/05/14 02:14:49 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/05/14 02:14:49 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/05/14 02:14:49 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/14 02:14:49 DEBUG : file1: >Open: fd=file1 (w), err= 2026/05/14 02:14:49 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/05/14 02:14:49 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2026/05/14 02:14:49 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/05/14 02:14:49 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/05/14 02:14:49 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/14 02:14:49 DEBUG : file1: >Open: fd=file1 (w), err= 2026/05/14 02:14:49 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/05/14 02:14:49 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/14 02:14:49 DEBUG : mega root 'rclone-test-pivibiw6code': File to upload is small (0 bytes), uploading instead of streaming 2026/05/14 02:14:51 DEBUG : file1: size = 0 OK 2026/05/14 02:14:51 DEBUG : file1: Size of src and dst objects identical 2026/05/14 02:14:51 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/14 02:14:51 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/05/14 02:14:51 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/05/14 02:14:51 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/14 02:14:51 DEBUG : file1: >Open: fd=file1 (w), err= 2026/05/14 02:14:51 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/05/14 02:14:51 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/14 02:14:51 DEBUG : mega root 'rclone-test-pivibiw6code': File to upload is small (7 bytes), uploading instead of streaming 2026/05/14 02:15:01 ERROR : file1: WriteFileHandle.New Rcat failed: upload file failed to create session: unexpected end of JSON input write_test.go:190: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:190 Error: Received unexpected error: upload file failed to create session: unexpected end of JSON input Test: TestWriteFileHandleMethods dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:191 Error: Not equal: expected: []string{"file1,7,false"} actual : []string{"file1,0,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=13) "file1,7,false" + (string) (len=13) "file1,0,false" } Test: TestWriteFileHandleMethods 2026/05/14 02:15:01 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:15:01 DEBUG : Looking for writers 2026/05/14 02:15:01 DEBUG : file1: reading active writers 2026/05/14 02:15:01 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleMethods (14.93s) === RUN TestWriteFileHandleRelease run.go:198: Remote "mega root 'rclone-test-pivibiw6code'", Local "Local file system at /tmp/rclone1094920427", Modify Window "876000h0m0s" 2026/05/14 02:15:02 INFO : mega root 'rclone-test-pivibiw6code': poll-interval is not supported by this remote 2026/05/14 02:15:02 NOTICE: mega root 'rclone-test-pivibiw6code': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/14 02:15:02 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/05/14 02:15:02 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/05/14 02:15:02 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/14 02:15:02 DEBUG : file1: >Open: fd=file1 (w), err= 2026/05/14 02:15:02 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/05/14 02:15:02 DEBUG : file1: WriteFileHandle.Release closing 2026/05/14 02:15:02 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/14 02:15:02 DEBUG : mega root 'rclone-test-pivibiw6code': File to upload is small (0 bytes), uploading instead of streaming 2026/05/14 02:15:03 DEBUG : file1: size = 0 OK 2026/05/14 02:15:03 DEBUG : file1: Size of src and dst objects identical 2026/05/14 02:15:03 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/14 02:15:03 DEBUG : file1: WriteFileHandle.Release nothing to do 2026/05/14 02:15:03 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:15:03 DEBUG : Looking for writers 2026/05/14 02:15:03 DEBUG : file1: reading active writers 2026/05/14 02:15:03 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleRelease (0.51s) === RUN TestFileReadAtZeroLength run.go:198: Remote "mega root 'rclone-test-pivibiw6code'", Local "Local file system at /tmp/rclone1094920427", Modify Window "876000h0m0s" 2026/05/14 02:15:03 INFO : mega root 'rclone-test-pivibiw6code': poll-interval is not supported by this remote 2026/05/14 02:15:03 NOTICE: mega root 'rclone-test-pivibiw6code': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/14 02:15:03 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/05/14 02:15:03 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/05/14 02:15:03 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/14 02:15:03 DEBUG : file1: >Open: fd=file1 (w), err= 2026/05/14 02:15:03 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/05/14 02:15:03 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/14 02:15:03 DEBUG : mega root 'rclone-test-pivibiw6code': File to upload is small (0 bytes), uploading instead of streaming 2026/05/14 02:15:07 DEBUG : file1: size = 0 OK 2026/05/14 02:15:07 DEBUG : file1: Size of src and dst objects identical 2026/05/14 02:15:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/14 02:15:07 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2026/05/14 02:15:07 DEBUG : file1: Open: flags=O_RDONLY 2026/05/14 02:15:07 DEBUG : file1: >Open: fd=file1 (r), err= 2026/05/14 02:15:07 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2026/05/14 02:15:07 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2026/05/14 02:15:07 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2026/05/14 02:15:07 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:15:07 DEBUG : Looking for writers 2026/05/14 02:15:07 DEBUG : file1: reading active writers 2026/05/14 02:15:07 DEBUG : >WaitForWriters: --- PASS: TestFileReadAtZeroLength (4.64s) === RUN TestFileReadAtNonZeroLength run.go:198: Remote "mega root 'rclone-test-pivibiw6code'", Local "Local file system at /tmp/rclone1094920427", Modify Window "876000h0m0s" 2026/05/14 02:15:07 INFO : mega root 'rclone-test-pivibiw6code': poll-interval is not supported by this remote 2026/05/14 02:15:07 NOTICE: mega root 'rclone-test-pivibiw6code': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/14 02:15:07 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/05/14 02:15:07 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/05/14 02:15:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/05/14 02:15:07 DEBUG : file1: >Open: fd=file1 (w), err= 2026/05/14 02:15:07 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/05/14 02:15:07 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes write_test.go:350: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:350 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384 Error: Received unexpected error: permission denied Test: TestFileReadAtNonZeroLength 2026/05/14 02:15:07 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:15:07 DEBUG : Looking for writers 2026/05/14 02:15:07 DEBUG : file1: reading active writers 2026/05/14 02:15:07 DEBUG : file1: active writers 1 2026/05/14 02:15:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2026/05/14 02:15:07 DEBUG : Looking for writers 2026/05/14 02:15:07 DEBUG : file1: reading active writers 2026/05/14 02:15:07 DEBUG : file1: active writers 1 2026/05/14 02:15:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2026/05/14 02:15:07 DEBUG : Looking for writers 2026/05/14 02:15:07 DEBUG : file1: reading active writers 2026/05/14 02:15:07 DEBUG : file1: active writers 1 2026/05/14 02:15:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2026/05/14 02:15:07 DEBUG : Looking for writers 2026/05/14 02:15:07 DEBUG : file1: reading active writers 2026/05/14 02:15:07 DEBUG : file1: active writers 1 2026/05/14 02:15:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2026/05/14 02:15:07 DEBUG : Looking for writers 2026/05/14 02:15:07 DEBUG : file1: reading active writers 2026/05/14 02:15:07 DEBUG : file1: active writers 1 2026/05/14 02:15:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2026/05/14 02:15:08 DEBUG : Looking for writers 2026/05/14 02:15:08 DEBUG : file1: reading active writers 2026/05/14 02:15:08 DEBUG : file1: active writers 1 2026/05/14 02:15:08 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2026/05/14 02:15:08 DEBUG : Looking for writers 2026/05/14 02:15:08 DEBUG : file1: reading active writers 2026/05/14 02:15:08 DEBUG : file1: active writers 1 2026/05/14 02:15:08 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2026/05/14 02:15:08 DEBUG : Looking for writers 2026/05/14 02:15:08 DEBUG : file1: reading active writers 2026/05/14 02:15:08 DEBUG : file1: active writers 1 2026/05/14 02:15:08 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:09 DEBUG : Looking for writers 2026/05/14 02:15:09 DEBUG : file1: reading active writers 2026/05/14 02:15:09 DEBUG : file1: active writers 1 2026/05/14 02:15:09 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:10 DEBUG : Looking for writers 2026/05/14 02:15:10 DEBUG : file1: reading active writers 2026/05/14 02:15:10 DEBUG : file1: active writers 1 2026/05/14 02:15:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:11 DEBUG : Looking for writers 2026/05/14 02:15:11 DEBUG : file1: reading active writers 2026/05/14 02:15:11 DEBUG : file1: active writers 1 2026/05/14 02:15:11 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:12 DEBUG : Looking for writers 2026/05/14 02:15:12 DEBUG : file1: reading active writers 2026/05/14 02:15:12 DEBUG : file1: active writers 1 2026/05/14 02:15:12 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:13 DEBUG : Looking for writers 2026/05/14 02:15:13 DEBUG : file1: reading active writers 2026/05/14 02:15:13 DEBUG : file1: active writers 1 2026/05/14 02:15:13 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:14 DEBUG : Looking for writers 2026/05/14 02:15:14 DEBUG : file1: reading active writers 2026/05/14 02:15:14 DEBUG : file1: active writers 1 2026/05/14 02:15:14 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:15 DEBUG : Looking for writers 2026/05/14 02:15:15 DEBUG : file1: reading active writers 2026/05/14 02:15:15 DEBUG : file1: active writers 1 2026/05/14 02:15:15 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:16 DEBUG : Looking for writers 2026/05/14 02:15:16 DEBUG : file1: reading active writers 2026/05/14 02:15:16 DEBUG : file1: active writers 1 2026/05/14 02:15:16 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:17 DEBUG : Looking for writers 2026/05/14 02:15:17 DEBUG : file1: reading active writers 2026/05/14 02:15:17 DEBUG : file1: active writers 1 2026/05/14 02:15:17 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:18 DEBUG : Looking for writers 2026/05/14 02:15:18 DEBUG : file1: reading active writers 2026/05/14 02:15:18 DEBUG : file1: active writers 1 2026/05/14 02:15:18 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:20 DEBUG : Looking for writers 2026/05/14 02:15:20 DEBUG : file1: reading active writers 2026/05/14 02:15:20 DEBUG : file1: active writers 1 2026/05/14 02:15:20 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:21 DEBUG : Looking for writers 2026/05/14 02:15:21 DEBUG : file1: reading active writers 2026/05/14 02:15:21 DEBUG : file1: active writers 1 2026/05/14 02:15:21 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:22 DEBUG : Looking for writers 2026/05/14 02:15:22 DEBUG : file1: reading active writers 2026/05/14 02:15:22 DEBUG : file1: active writers 1 2026/05/14 02:15:22 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:23 DEBUG : Looking for writers 2026/05/14 02:15:23 DEBUG : file1: reading active writers 2026/05/14 02:15:23 DEBUG : file1: active writers 1 2026/05/14 02:15:23 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:24 DEBUG : Looking for writers 2026/05/14 02:15:24 DEBUG : file1: reading active writers 2026/05/14 02:15:24 DEBUG : file1: active writers 1 2026/05/14 02:15:24 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:25 DEBUG : Looking for writers 2026/05/14 02:15:25 DEBUG : file1: reading active writers 2026/05/14 02:15:25 DEBUG : file1: active writers 1 2026/05/14 02:15:25 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:26 DEBUG : Looking for writers 2026/05/14 02:15:26 DEBUG : file1: reading active writers 2026/05/14 02:15:26 DEBUG : file1: active writers 1 2026/05/14 02:15:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:27 DEBUG : Looking for writers 2026/05/14 02:15:27 DEBUG : file1: reading active writers 2026/05/14 02:15:27 DEBUG : file1: active writers 1 2026/05/14 02:15:27 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:28 DEBUG : Looking for writers 2026/05/14 02:15:28 DEBUG : file1: reading active writers 2026/05/14 02:15:28 DEBUG : file1: active writers 1 2026/05/14 02:15:28 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:29 DEBUG : Looking for writers 2026/05/14 02:15:29 DEBUG : file1: reading active writers 2026/05/14 02:15:29 DEBUG : file1: active writers 1 2026/05/14 02:15:29 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:30 DEBUG : Looking for writers 2026/05/14 02:15:30 DEBUG : file1: reading active writers 2026/05/14 02:15:30 DEBUG : file1: active writers 1 2026/05/14 02:15:30 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:31 DEBUG : Looking for writers 2026/05/14 02:15:31 DEBUG : file1: reading active writers 2026/05/14 02:15:31 DEBUG : file1: active writers 1 2026/05/14 02:15:31 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:32 DEBUG : Looking for writers 2026/05/14 02:15:32 DEBUG : file1: reading active writers 2026/05/14 02:15:32 DEBUG : file1: active writers 1 2026/05/14 02:15:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:33 DEBUG : Looking for writers 2026/05/14 02:15:33 DEBUG : file1: reading active writers 2026/05/14 02:15:33 DEBUG : file1: active writers 1 2026/05/14 02:15:33 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:34 DEBUG : Looking for writers 2026/05/14 02:15:34 DEBUG : file1: reading active writers 2026/05/14 02:15:34 DEBUG : file1: active writers 1 2026/05/14 02:15:34 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:35 DEBUG : Looking for writers 2026/05/14 02:15:35 DEBUG : file1: reading active writers 2026/05/14 02:15:35 DEBUG : file1: active writers 1 2026/05/14 02:15:35 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:36 DEBUG : Looking for writers 2026/05/14 02:15:36 DEBUG : file1: reading active writers 2026/05/14 02:15:36 DEBUG : file1: active writers 1 2026/05/14 02:15:36 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:37 DEBUG : Looking for writers 2026/05/14 02:15:37 DEBUG : file1: reading active writers 2026/05/14 02:15:37 DEBUG : file1: active writers 1 2026/05/14 02:15:37 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2026/05/14 02:15:37 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2026/05/14 02:15:37 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtNonZeroLength (30.00s) === RUN TestZipManyFiles run.go:198: Remote "mega root 'rclone-test-pivibiw6code'", Local "Local file system at /tmp/rclone1094920427", Modify Window "876000h0m0s" 2026/05/14 02:15:37 INFO : mega root 'rclone-test-pivibiw6code': poll-interval is not supported by this remote 2026/05/14 02:15:37 NOTICE: mega root 'rclone-test-pivibiw6code': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/14 02:15:47 DEBUG : flat/f000.txt: Open: flags=O_RDONLY 2026/05/14 02:15:47 DEBUG : flat/f000.txt: >Open: fd=flat/f000.txt (r), err= 2026/05/14 02:15:47 DEBUG : flat/f000.txt: Set virtual modtime to 2026-05-14 02:15:40 +0000 UTC 2026/05/14 02:15:47 DEBUG : flat/f000.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/14 02:15:47 DEBUG : flat/f000.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/14 02:15:47 DEBUG : flat/f001.txt: Open: flags=O_RDONLY 2026/05/14 02:15:47 DEBUG : flat/f001.txt: >Open: fd=flat/f001.txt (r), err= 2026/05/14 02:15:47 DEBUG : flat/f001.txt: Set virtual modtime to 2026-05-14 02:15:42 +0000 UTC 2026/05/14 02:15:47 DEBUG : flat/f001.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/14 02:15:47 DEBUG : flat/f001.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/14 02:15:47 DEBUG : flat/f002.txt: Open: flags=O_RDONLY 2026/05/14 02:15:47 DEBUG : flat/f002.txt: >Open: fd=flat/f002.txt (r), err= 2026/05/14 02:15:47 DEBUG : flat/f002.txt: Set virtual modtime to 2026-05-14 02:15:42 +0000 UTC 2026/05/14 02:15:47 DEBUG : flat/f002.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/14 02:15:47 DEBUG : flat/f002.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/14 02:15:47 DEBUG : flat/f003.txt: Open: flags=O_RDONLY 2026/05/14 02:15:47 DEBUG : flat/f003.txt: >Open: fd=flat/f003.txt (r), err= 2026/05/14 02:15:47 DEBUG : flat/f003.txt: Set virtual modtime to 2026-05-14 02:15:45 +0000 UTC 2026/05/14 02:15:47 DEBUG : flat/f003.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/14 02:15:47 DEBUG : flat/f003.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/14 02:15:47 DEBUG : flat/f004.txt: Open: flags=O_RDONLY 2026/05/14 02:15:47 DEBUG : flat/f004.txt: >Open: fd=flat/f004.txt (r), err= 2026/05/14 02:15:47 DEBUG : flat/f004.txt: Set virtual modtime to 2026-05-14 02:15:47 +0000 UTC 2026/05/14 02:15:47 DEBUG : flat/f004.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/14 02:15:47 DEBUG : flat/f004.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/14 02:15:47 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:15:47 DEBUG : flat: Looking for writers 2026/05/14 02:15:47 DEBUG : f002.txt: reading active writers 2026/05/14 02:15:47 DEBUG : f003.txt: reading active writers 2026/05/14 02:15:47 DEBUG : f004.txt: reading active writers 2026/05/14 02:15:47 DEBUG : f000.txt: reading active writers 2026/05/14 02:15:47 DEBUG : f001.txt: reading active writers 2026/05/14 02:15:47 DEBUG : Looking for writers 2026/05/14 02:15:47 DEBUG : flat: reading active writers 2026/05/14 02:15:47 DEBUG : >WaitForWriters: --- PASS: TestZipManyFiles (27.46s) === RUN TestZipManySubDirs run.go:198: Remote "mega root 'rclone-test-pivibiw6code'", Local "Local file system at /tmp/rclone1094920427", Modify Window "876000h0m0s" 2026/05/14 02:16:05 INFO : mega root 'rclone-test-pivibiw6code': poll-interval is not supported by this remote 2026/05/14 02:16:05 NOTICE: mega root 'rclone-test-pivibiw6code': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/05/14 02:16:11 DEBUG : a/b/c/deep.txt: Open: flags=O_RDONLY 2026/05/14 02:16:11 DEBUG : a/b/c/deep.txt: >Open: fd=a/b/c/deep.txt (r), err= 2026/05/14 02:16:11 DEBUG : a/b/c/deep.txt: Set virtual modtime to 2026-05-14 02:16:10 +0000 UTC 2026/05/14 02:16:11 DEBUG : a/b/c/deep.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/14 02:16:11 DEBUG : a/b/c/deep.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/14 02:16:11 DEBUG : a/b/mid.txt: Open: flags=O_RDONLY 2026/05/14 02:16:11 DEBUG : a/b/mid.txt: >Open: fd=a/b/mid.txt (r), err= 2026/05/14 02:16:11 DEBUG : a/b/mid.txt: Set virtual modtime to 2026-05-14 02:16:07 +0000 UTC 2026/05/14 02:16:11 DEBUG : a/b/mid.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/14 02:16:12 DEBUG : a/b/mid.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/14 02:16:12 DEBUG : a/top.txt: Open: flags=O_RDONLY 2026/05/14 02:16:12 DEBUG : a/top.txt: >Open: fd=a/top.txt (r), err= 2026/05/14 02:16:12 DEBUG : a/top.txt: Set virtual modtime to 2026-05-14 02:16:05 +0000 UTC 2026/05/14 02:16:12 DEBUG : a/top.txt: ChunkedReader.openRange at 0 length 134217728 2026/05/14 02:16:12 DEBUG : a/top.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/05/14 02:16:12 DEBUG : WaitForWriters: timeout=30s 2026/05/14 02:16:12 DEBUG : a/b/c: Looking for writers 2026/05/14 02:16:12 DEBUG : deep.txt: reading active writers 2026/05/14 02:16:12 DEBUG : a/b: Looking for writers 2026/05/14 02:16:12 DEBUG : c: reading active writers 2026/05/14 02:16:12 DEBUG : mid.txt: reading active writers 2026/05/14 02:16:12 DEBUG : a: Looking for writers 2026/05/14 02:16:12 DEBUG : b: reading active writers 2026/05/14 02:16:12 DEBUG : top.txt: reading active writers 2026/05/14 02:16:12 DEBUG : Looking for writers 2026/05/14 02:16:12 DEBUG : a: reading active writers 2026/05/14 02:16:12 DEBUG : >WaitForWriters: --- PASS: TestZipManySubDirs (12.17s) FAIL 2026/05/14 02:16:17 DEBUG : mega root 'rclone-test-pivibiw6code': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestDirHandleReaddir|TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestReadFileHandleMethods|TestVFSOpenFile|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestZipManyFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 5m39.366256775s (try 2/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 TestWriteFileHandleMethods TestFileReadAtNonZeroLength]