"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestDirFileOpen|TestDirMetadataExtension|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleWriteAt|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestVFSMkdir|TestVFSOpenFile|TestWriteFileHandleMethods|TestZipManyFiles|TestZipManySubDirs)$|^TestDirReadDirAll$/^Virtual$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 2/5) 2026/03/03 01:16:27 DEBUG : Creating backend with remote "TestMega:rclone-test-defokud8yoxa" 2026/03/03 01:16:27 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/03/03 01:16:27 DEBUG : mega root 'rclone-test-defokud8yoxa': Using previously stored session ID and master key to initialize the Mega API 2026/03/03 01:16:41 DEBUG : Creating backend with remote "/tmp/rclone324183042" === RUN TestDirReadDirAll run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:16:41 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:16:41 NOTICE: mega root 'rclone-test-defokud8yoxa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream === RUN TestDirReadDirAll/Virtual 2026/03/03 01:16:48 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2026/03/03 01:16:48 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2026/03/03 01:16:48 DEBUG : dir: Added virtual directory entry vDel: "file2" 2026/03/03 01:16:48 DEBUG : dir: Added virtual directory entry vDel: "subdir" 2026/03/03 01:16:51 DEBUG : dir: invalidating directory cache 2026/03/03 01:16:51 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir" 2026/03/03 01:16:51 DEBUG : dir: Removed virtual directory entry vDel: "file2" 2026/03/03 01:16:51 DEBUG : dir: Removed virtual directory entry vDel: "subdir" 2026/03/03 01:16:51 DEBUG : dir/file1: Reset virtual modtime 2026/03/03 01:16:51 DEBUG : dir: Removed virtual directory entry vAddFile: "virtualFile" 2026/03/03 01:16:51 DEBUG : dir/virtualFile: Reset virtual modtime 2026/03/03 01:16:51 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile2" 2026/03/03 01:16:51 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir2" 2026/03/03 01:16:51 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/03 01:16:51 DEBUG : dir: invalidating directory cache 2026/03/03 01:16:51 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2026/03/03 01:16:51 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir2" 2026/03/03 01:16:51 DEBUG : dir/virtualFile: Reset virtual modtime 2026/03/03 01:16:51 DEBUG : forgetting directory cache 2026/03/03 01:16:51 DEBUG : dir: forgetting directory cache 2026/03/03 01:16:51 DEBUG : dir/virtualDir: forgetting directory cache 2026/03/03 01:16:51 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:16:51 DEBUG : dir/virtualDir: Looking for writers 2026/03/03 01:16:51 DEBUG : dir: Looking for writers 2026/03/03 01:16:51 DEBUG : virtualFile: reading active writers 2026/03/03 01:16:51 DEBUG : virtualDir: reading active writers 2026/03/03 01:16:51 DEBUG : file1: reading active writers 2026/03/03 01:16:51 DEBUG : virtualFile2: reading active writers 2026/03/03 01:16:51 DEBUG : Looking for writers 2026/03/03 01:16:51 DEBUG : dir: reading active writers 2026/03/03 01:16:51 DEBUG : >WaitForWriters: --- PASS: TestDirReadDirAll (14.52s) --- PASS: TestDirReadDirAll/Virtual (3.16s) === RUN TestDirFileOpen run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:16:56 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:16:56 NOTICE: mega root 'rclone-test-defokud8yoxa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/03 01:16:58 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2026/03/03 01:16:58 DEBUG : dir/sub/file0: OpenFile: flags=O_RDWR|O_CREATE|O_TRUNC, perm=-rw-rw-rw- 2026/03/03 01:16:58 DEBUG : dir/sub/file0: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/03/03 01:16:58 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file0" 2026/03/03 01:16:58 DEBUG : dir/sub/file0: >Open: fd=dir/sub/file0 (w), err= 2026/03/03 01:16:58 DEBUG : dir/sub/file0: >OpenFile: fd=dir/sub/file0 (w), err= 2026/03/03 01:16:58 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file0" 2026/03/03 01:16:58 DEBUG : dir/sub/file2: OpenFile: flags=O_RDWR|O_CREATE|O_TRUNC, perm=-rw-rw-rw- 2026/03/03 01:16:58 DEBUG : dir/sub/file2: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/03/03 01:16:58 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file2" 2026/03/03 01:16:58 DEBUG : dir/sub/file2: >Open: fd=dir/sub/file2 (w), err= 2026/03/03 01:16:58 DEBUG : dir/sub/file2: >OpenFile: fd=dir/sub/file2 (w), err= 2026/03/03 01:16:58 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file2" 2026/03/03 01:16:58 DEBUG : mega root 'rclone-test-defokud8yoxa': File to upload is small (12 bytes), uploading instead of streaming 2026/03/03 01:16:58 DEBUG : dir/sub/file2: size = 12 OK 2026/03/03 01:16:58 NOTICE: mega root 'rclone-test-defokud8yoxa': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2026/03/03 01:16:58 DEBUG : dir/sub/file2: Size of src and dst objects identical 2026/03/03 01:16:58 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file2" 2026/03/03 01:16:58 DEBUG : forgetting directory cache 2026/03/03 01:16:58 DEBUG : dir: forgetting directory cache 2026/03/03 01:16:58 DEBUG : dir/sub: forgetting directory cache 2026/03/03 01:16:58 DEBUG : dir/sub: Removed virtual directory entry vAddFile: "file2" 2026/03/03 01:16:58 DEBUG : dir: Removed virtual directory entry vAddDir: "sub" 2026/03/03 01:16:58 DEBUG : mega root 'rclone-test-defokud8yoxa': File to upload is small (5 bytes), uploading instead of streaming 2026/03/03 01:16:58 DEBUG : dir/sub/file0: size = 5 OK 2026/03/03 01:16:58 DEBUG : dir/sub/file0: Size of src and dst objects identical 2026/03/03 01:16:58 DEBUG : dir/sub: Added virtual directory entry vAddFile: "file0" 2026/03/03 01:16:58 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:16:58 DEBUG : dir/sub: Looking for writers 2026/03/03 01:16:58 DEBUG : file0: reading active writers 2026/03/03 01:16:58 DEBUG : file2: reading active writers 2026/03/03 01:16:58 DEBUG : dir: Looking for writers 2026/03/03 01:16:58 DEBUG : file1: reading active writers 2026/03/03 01:16:58 DEBUG : sub: reading active writers 2026/03/03 01:16:58 DEBUG : Looking for writers 2026/03/03 01:16:58 DEBUG : dir: reading active writers 2026/03/03 01:16:58 DEBUG : >WaitForWriters: run.go:130: removing dir "dir/sub" failed - try 1/3: directory not empty --- PASS: TestDirFileOpen (4.46s) === RUN TestDirMetadataExtension run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:17:00 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:17:00 NOTICE: mega root 'rclone-test-defokud8yoxa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/03 01:17:02 DEBUG : dir: Added virtual directory entry vAddFile: "file1.metadata" 2026/03/03 01:17:02 DEBUG : dir/file1.metadata: Set virtual modtime to 2026-03-03 01:17:00 +0000 UTC 2026/03/03 01:17:02 DEBUG : dir/file1.metadata: OpenFile: flags=O_RDONLY, perm=---------- 2026/03/03 01:17:02 DEBUG : dir/file1.metadata: Open: flags=O_RDONLY 2026/03/03 01:17:02 DEBUG : dir/file1.metadata: >Open: fd=dir/file1.metadata (r), err= 2026/03/03 01:17:02 DEBUG : dir/file1.metadata: >OpenFile: fd=dir/file1.metadata (r), err= 2026/03/03 01:17:02 DEBUG : dir/file1.metadata: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:17:02 DEBUG : dir/file1.metadata: ChunkedReader.Read at 0 length 512 chunkOffset 0 chunkSize 134217728 2026/03/03 01:17:02 DEBUG : Added virtual directory entry vAddFile: "dir.metadata" 2026/03/03 01:17:02 DEBUG : dir.metadata: Set virtual modtime to 2026-03-03 01:17:00 +0000 UTC 2026/03/03 01:17:02 DEBUG : dir.metadata: OpenFile: flags=O_RDONLY, perm=---------- 2026/03/03 01:17:02 DEBUG : dir.metadata: Open: flags=O_RDONLY 2026/03/03 01:17:02 DEBUG : dir.metadata: >Open: fd=dir.metadata (r), err= 2026/03/03 01:17:02 DEBUG : dir.metadata: >OpenFile: fd=dir.metadata (r), err= 2026/03/03 01:17:02 DEBUG : dir.metadata: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:17:02 DEBUG : dir.metadata: ChunkedReader.Read at 0 length 512 chunkOffset 0 chunkSize 134217728 2026/03/03 01:17:02 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:17:02 DEBUG : dir: Looking for writers 2026/03/03 01:17:02 DEBUG : file1: reading active writers 2026/03/03 01:17:02 DEBUG : file1.metadata: reading active writers 2026/03/03 01:17:02 DEBUG : Looking for writers 2026/03/03 01:17:02 DEBUG : dir: reading active writers 2026/03/03 01:17:02 DEBUG : dir.metadata: reading active writers 2026/03/03 01:17:02 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- PASS: TestDirMetadataExtension (13.98s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:17:14 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:17:14 NOTICE: mega root 'rclone-test-defokud8yoxa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/03 01:17:21 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:17:21 DEBUG : dir: Looking for writers 2026/03/03 01:17:21 DEBUG : file1: reading active writers 2026/03/03 01:17:21 DEBUG : Looking for writers 2026/03/03 01:17:21 DEBUG : dir: reading active writers 2026/03/03 01:17:21 DEBUG : >WaitForWriters: 2026/03/03 01:17:21 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/03 01:17:21 DEBUG : newLeaf: Updating file with newLeaf 0xc000706fc0 2026/03/03 01:17:21 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/03 01:17:21 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "file1" 2026/03/03 01:17:29 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/03/03 01:17:29 DEBUG : dir/file1: Updating file with dir/file1 0xc000706fc0 2026/03/03 01:17:29 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/03/03 01:17:29 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "dir/file1" 2026/03/03 01:17:36 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/03/03 01:17:36 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/03/03 01:17:36 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/03 01:17:36 DEBUG : dir/file1: File is currently open, delaying rename 0xc000706fc0 2026/03/03 01:17:36 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/03 01:17:36 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/03 01:17:36 DEBUG : mega root 'rclone-test-defokud8yoxa': File to upload is small (25 bytes), uploading instead of streaming 2026/03/03 01:17:42 DEBUG : dir/file1: size = 25 OK 2026/03/03 01:17:42 DEBUG : dir/file1: Size of src and dst objects identical 2026/03/03 01:17:42 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/03 01:17:42 DEBUG : newLeaf: Running delayed rename now 2026/03/03 01:17:42 INFO : newLeaf: Deleted 2026/03/03 01:17:44 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/03 01:17:44 DEBUG : newLeaf: Updating file with newLeaf 0xc000706fc0 2026/03/03 01:17:44 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:17:44 DEBUG : dir: Looking for writers 2026/03/03 01:17:44 DEBUG : Looking for writers 2026/03/03 01:17:44 DEBUG : dir: reading active writers 2026/03/03 01:17:44 DEBUG : newLeaf: reading active writers 2026/03/03 01:17:44 DEBUG : >WaitForWriters: 2026/03/03 01:17:44 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:17:44 DEBUG : dir: Looking for writers 2026/03/03 01:17:44 DEBUG : Looking for writers 2026/03/03 01:17:44 DEBUG : dir: reading active writers 2026/03/03 01:17:44 DEBUG : newLeaf: reading active writers 2026/03/03 01:17:44 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:17:44 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:17:44 NOTICE: mega root 'rclone-test-defokud8yoxa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/03 01:17:44 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/03 01:17:44 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:17:44 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:17:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:17:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:17:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:17:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:17:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:17:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:17:44 INFO : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/03/03 01:17:46 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:17:46 DEBUG : dir: Looking for writers 2026/03/03 01:17:46 DEBUG : file1: reading active writers 2026/03/03 01:17:46 DEBUG : Looking for writers 2026/03/03 01:17:46 DEBUG : dir: reading active writers 2026/03/03 01:17:46 DEBUG : >WaitForWriters: 2026/03/03 01:17:49 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/03 01:17:49 DEBUG : newLeaf: Updating file with newLeaf 0xc000707800 2026/03/03 01:17:49 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/03 01:17:49 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "file1" 2026/03/03 01:18:07 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/03/03 01:18:07 DEBUG : dir/file1: Updating file with dir/file1 0xc000707800 2026/03/03 01:18:07 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/03/03 01:18:07 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "dir/file1" 2026/03/03 01:18:14 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/03/03 01:18:14 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2026/03/03 01:18:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/03 01:18:14 DEBUG : dir/file1: File is currently open, delaying rename 0xc000707800 2026/03/03 01:18:14 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/03 01:18:14 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/03 01:18:14 DEBUG : mega root 'rclone-test-defokud8yoxa': File to upload is small (25 bytes), uploading instead of streaming 2026/03/03 01:18:24 ERROR : dir/file1: WriteFileHandle.New Rcat failed: upload file failed to create session: unexpected end of JSON input 2026/03/03 01:18:24 DEBUG : newLeaf: Running delayed rename now 2026/03/03 01:18:35 INFO : newLeaf: Deleted 2026/03/03 01:18:39 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/03 01:18:39 DEBUG : newLeaf: Updating file with newLeaf 0xc000707800 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/03/03 01:18:39 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:18:39 DEBUG : dir: Looking for writers 2026/03/03 01:18:39 DEBUG : Looking for writers 2026/03/03 01:18:39 DEBUG : dir: reading active writers 2026/03/03 01:18:39 DEBUG : newLeaf: reading active writers 2026/03/03 01:18:39 DEBUG : >WaitForWriters: 2026/03/03 01:18:39 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:18:40 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:18:40 NOTICE: mega root 'rclone-test-defokud8yoxa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/03 01:18:40 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/03 01:18:40 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:18:40 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:18:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:18:40 DEBUG : Config file has changed externally - reloading 2026/03/03 01:18:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:18:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:18:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:18:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:18:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:18:40 INFO : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/03/03 01:18:40 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/03/03 01:18:40 DEBUG : dir/file1: newRWFileHandle: 2026/03/03 01:18:40 DEBUG : dir/file1(0xc005123d40): openPending: 2026/03/03 01:18:40 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/03/03 01:18:40 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/03/03 01:18:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/03 01:18:40 DEBUG : dir/file1(0xc005123d40): >openPending: err= 2026/03/03 01:18:40 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/03/03 01:18:40 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/03 01:18:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/03 01:18:40 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/03 01:18:40 DEBUG : dir/file1(0xc005123d40): _writeAt: size=14, off=0 2026/03/03 01:18:40 DEBUG : dir/file1(0xc005123d40): >_writeAt: n=14, err= 2026/03/03 01:18:40 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/03/03 01:18:40 DEBUG : dir/file1(0xc005123d40): close: 2026/03/03 01:18:40 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/03/03 01:18:40 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/03/03 01:18:40 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/03/03 01:18:40 DEBUG : dir/file1(0xc005123d40): >close: err= 2026/03/03 01:18:40 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:18:40 DEBUG : dir: Looking for writers 2026/03/03 01:18:40 DEBUG : file1: reading active writers 2026/03/03 01:18:40 DEBUG : Looking for writers 2026/03/03 01:18:40 DEBUG : dir: reading active writers 2026/03/03 01:18:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/03/03 01:18:40 DEBUG : dir: Looking for writers 2026/03/03 01:18:40 DEBUG : file1: reading active writers 2026/03/03 01:18:40 DEBUG : Looking for writers 2026/03/03 01:18:40 DEBUG : dir: reading active writers 2026/03/03 01:18:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/03/03 01:18:40 DEBUG : dir: Looking for writers 2026/03/03 01:18:40 DEBUG : file1: reading active writers 2026/03/03 01:18:40 DEBUG : Looking for writers 2026/03/03 01:18:40 DEBUG : dir: reading active writers 2026/03/03 01:18:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/03/03 01:18:40 DEBUG : dir: Looking for writers 2026/03/03 01:18:40 DEBUG : file1: reading active writers 2026/03/03 01:18:40 DEBUG : Looking for writers 2026/03/03 01:18:40 DEBUG : dir: reading active writers 2026/03/03 01:18:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/03/03 01:18:40 DEBUG : dir/file1: vfs cache: starting upload 2026/03/03 01:18:40 DEBUG : dir: Looking for writers 2026/03/03 01:18:40 DEBUG : file1: reading active writers 2026/03/03 01:18:40 DEBUG : Looking for writers 2026/03/03 01:18:40 DEBUG : dir: reading active writers 2026/03/03 01:18:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/03/03 01:18:40 DEBUG : dir: Looking for writers 2026/03/03 01:18:40 DEBUG : file1: reading active writers 2026/03/03 01:18:40 DEBUG : Looking for writers 2026/03/03 01:18:40 DEBUG : dir: reading active writers 2026/03/03 01:18:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/03/03 01:18:41 DEBUG : dir/file1: size = 14 OK 2026/03/03 01:18:41 INFO : dir/file1: Copied (replaced existing) 2026/03/03 01:18:41 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/03/03 01:18:41 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/03/03 01:18:41 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/03 01:18:41 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/03/03 01:18:41 DEBUG : dir: Looking for writers 2026/03/03 01:18:41 DEBUG : file1: reading active writers 2026/03/03 01:18:41 DEBUG : Looking for writers 2026/03/03 01:18:41 DEBUG : dir: reading active writers 2026/03/03 01:18:41 DEBUG : >WaitForWriters: 2026/03/03 01:18:41 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/03/03 01:18:41 DEBUG : dir/file1: newRWFileHandle: 2026/03/03 01:18:41 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/03 01:18:41 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/03 01:18:41 DEBUG : dir/file1(0xc005cf0780): _readAt: size=512, off=0 2026/03/03 01:18:41 DEBUG : dir/file1(0xc005cf0780): openPending: 2026/03/03 01:18:41 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/03/03 01:18:41 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/03/03 01:18:41 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/03 01:18:41 DEBUG : dir/file1(0xc005cf0780): >openPending: err= 2026/03/03 01:18:41 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/03/03 01:18:41 DEBUG : dir/file1(0xc005cf0780): >_readAt: n=14, err=EOF 2026/03/03 01:18:41 DEBUG : dir/file1(0xc005cf0780): close: 2026/03/03 01:18:41 DEBUG : dir/file1: vfs cache: setting modification time to 2026-03-03 01:18:40 +0000 UTC 2026/03/03 01:18:41 DEBUG : dir/file1(0xc005cf0780): >close: err= 2026/03/03 01:18:41 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/03 01:18:41 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/03/03 01:18:41 DEBUG : newLeaf: Updating file with newLeaf 0xc0040ab2c0 2026/03/03 01:18:41 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/03 01:18:41 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/03 01:18:41 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/03/03 01:18:41 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/03/03 01:18:41 DEBUG : dir/file1: Updating file with dir/file1 0xc0040ab2c0 2026/03/03 01:18:41 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/03/03 01:18:41 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "dir/file1" 2026/03/03 01:18:48 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/03/03 01:18:48 DEBUG : dir/file1: newRWFileHandle: 2026/03/03 01:18:48 DEBUG : dir/file1(0xc0005b9780): openPending: 2026/03/03 01:18:48 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/03/03 01:18:48 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/03/03 01:18:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/03 01:18:48 DEBUG : dir/file1(0xc0005b9780): >openPending: err= 2026/03/03 01:18:48 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/03/03 01:18:48 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/03 01:18:48 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/03 01:18:48 DEBUG : dir/file1(0xc0005b9780): _writeAt: size=25, off=0 2026/03/03 01:18:48 DEBUG : dir/file1(0xc0005b9780): >_writeAt: n=25, err= 2026/03/03 01:18:56 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/03 01:18:56 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/03/03 01:18:56 DEBUG : newLeaf: Updating file with newLeaf 0xc0040ab2c0 2026/03/03 01:18:56 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/03 01:18:56 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/03 01:18:56 DEBUG : newLeaf(0xc0005b9780): close: 2026/03/03 01:18:56 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/03/03 01:18:56 DEBUG : newLeaf: vfs cache: setting modification time to 2026-03-03 01:18:48.995330832 +0000 UTC m=+141.250077109 2026/03/03 01:18:56 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/03/03 01:18:56 DEBUG : newLeaf(0xc0005b9780): >close: err= 2026/03/03 01:18:56 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:18:56 DEBUG : dir: Looking for writers 2026/03/03 01:18:56 DEBUG : Looking for writers 2026/03/03 01:18:56 DEBUG : dir: reading active writers 2026/03/03 01:18:56 DEBUG : newLeaf: reading active writers 2026/03/03 01:18:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/03/03 01:18:56 DEBUG : dir: Looking for writers 2026/03/03 01:18:56 DEBUG : Looking for writers 2026/03/03 01:18:56 DEBUG : dir: reading active writers 2026/03/03 01:18:56 DEBUG : newLeaf: reading active writers 2026/03/03 01:18:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/03/03 01:18:56 DEBUG : dir: Looking for writers 2026/03/03 01:18:56 DEBUG : Looking for writers 2026/03/03 01:18:56 DEBUG : dir: reading active writers 2026/03/03 01:18:56 DEBUG : newLeaf: reading active writers 2026/03/03 01:18:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/03/03 01:18:56 DEBUG : dir: Looking for writers 2026/03/03 01:18:56 DEBUG : Looking for writers 2026/03/03 01:18:56 DEBUG : dir: reading active writers 2026/03/03 01:18:56 DEBUG : newLeaf: reading active writers 2026/03/03 01:18:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/03/03 01:18:56 DEBUG : newLeaf: vfs cache: starting upload 2026/03/03 01:18:56 DEBUG : dir: Looking for writers 2026/03/03 01:18:56 DEBUG : Looking for writers 2026/03/03 01:18:56 DEBUG : dir: reading active writers 2026/03/03 01:18:56 DEBUG : newLeaf: reading active writers 2026/03/03 01:18:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/03/03 01:18:56 DEBUG : dir: Looking for writers 2026/03/03 01:18:56 DEBUG : Looking for writers 2026/03/03 01:18:56 DEBUG : dir: reading active writers 2026/03/03 01:18:56 DEBUG : newLeaf: reading active writers 2026/03/03 01:18:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/03/03 01:18:57 DEBUG : newLeaf: size = 25 OK 2026/03/03 01:18:57 INFO : newLeaf: Copied (replaced existing) 2026/03/03 01:18:57 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/03/03 01:18:57 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/03/03 01:18:57 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/03 01:18:57 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/03/03 01:18:57 DEBUG : dir: Looking for writers 2026/03/03 01:18:57 DEBUG : Looking for writers 2026/03/03 01:18:57 DEBUG : dir: reading active writers 2026/03/03 01:18:57 DEBUG : newLeaf: reading active writers 2026/03/03 01:18:57 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure 2026/03/03 01:19:04 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:19:04 DEBUG : dir: Looking for writers 2026/03/03 01:19:04 DEBUG : Looking for writers 2026/03/03 01:19:04 DEBUG : dir: reading active writers 2026/03/03 01:19:04 DEBUG : newLeaf: reading active writers 2026/03/03 01:19:04 DEBUG : >WaitForWriters: 2026/03/03 01:19:04 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:19:06 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:19:06 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/03 01:19:06 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:19:06 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:19:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:19:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:19:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:19:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:19:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:19:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:19:06 INFO : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/03/03 01:19:06 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:19:06 DEBUG : dir: Looking for writers 2026/03/03 01:19:06 DEBUG : file1: reading active writers 2026/03/03 01:19:06 DEBUG : Looking for writers 2026/03/03 01:19:06 DEBUG : dir: reading active writers 2026/03/03 01:19:06 DEBUG : >WaitForWriters: 2026/03/03 01:19:06 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/03 01:19:06 DEBUG : newLeaf: Updating file with newLeaf 0xc000706780 2026/03/03 01:19:06 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/03 01:19:06 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "file1" 2026/03/03 01:19:14 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/03/03 01:19:14 DEBUG : dir/file1: Updating file with dir/file1 0xc000706780 2026/03/03 01:19:14 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/03/03 01:19:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 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:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "dir/file1" 2026/03/03 01:19:21 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/03/03 01:19:21 DEBUG : dir/file1: newRWFileHandle: 2026/03/03 01:19:21 DEBUG : dir/file1(0xc005122540): openPending: 2026/03/03 01:19:21 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/03/03 01:19:21 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/03/03 01:19:21 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/03 01:19:21 DEBUG : dir/file1(0xc005122540): >openPending: err= 2026/03/03 01:19:21 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/03/03 01:19:21 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/03 01:19:21 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/03 01:19:21 DEBUG : dir/file1(0xc005122540): _writeAt: size=25, off=0 2026/03/03 01:19:21 DEBUG : dir/file1(0xc005122540): >_writeAt: n=25, err= 2026/03/03 01:19:27 INFO : newLeaf: Deleted 2026/03/03 01:19:28 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/03 01:19:28 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/03/03 01:19:28 DEBUG : newLeaf: Updating file with newLeaf 0xc000706780 2026/03/03 01:19:28 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/03 01:19:28 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/03 01:19:28 DEBUG : newLeaf(0xc005122540): close: 2026/03/03 01:19:28 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/03/03 01:19:28 DEBUG : newLeaf: vfs cache: setting modification time to 2026-03-03 01:19:21.406629114 +0000 UTC m=+173.661375382 2026/03/03 01:19:28 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/03/03 01:19:28 DEBUG : newLeaf(0xc005122540): >close: err= 2026/03/03 01:19:28 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:19:28 DEBUG : dir: Looking for writers 2026/03/03 01:19:28 DEBUG : Looking for writers 2026/03/03 01:19:28 DEBUG : newLeaf: reading active writers 2026/03/03 01:19:28 DEBUG : dir: reading active writers 2026/03/03 01:19:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/03/03 01:19:28 DEBUG : dir: Looking for writers 2026/03/03 01:19:28 DEBUG : Looking for writers 2026/03/03 01:19:28 DEBUG : newLeaf: reading active writers 2026/03/03 01:19:28 DEBUG : dir: reading active writers 2026/03/03 01:19:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/03/03 01:19:28 DEBUG : dir: Looking for writers 2026/03/03 01:19:28 DEBUG : Looking for writers 2026/03/03 01:19:28 DEBUG : dir: reading active writers 2026/03/03 01:19:28 DEBUG : newLeaf: reading active writers 2026/03/03 01:19:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/03/03 01:19:28 DEBUG : dir: Looking for writers 2026/03/03 01:19:28 DEBUG : Looking for writers 2026/03/03 01:19:28 DEBUG : dir: reading active writers 2026/03/03 01:19:28 DEBUG : newLeaf: reading active writers 2026/03/03 01:19:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/03/03 01:19:28 DEBUG : newLeaf: vfs cache: starting upload 2026/03/03 01:19:28 DEBUG : dir: Looking for writers 2026/03/03 01:19:28 DEBUG : Looking for writers 2026/03/03 01:19:28 DEBUG : dir: reading active writers 2026/03/03 01:19:28 DEBUG : newLeaf: reading active writers 2026/03/03 01:19:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/03/03 01:19:28 DEBUG : dir: Looking for writers 2026/03/03 01:19:28 DEBUG : Looking for writers 2026/03/03 01:19:28 DEBUG : dir: reading active writers 2026/03/03 01:19:28 DEBUG : newLeaf: reading active writers 2026/03/03 01:19:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/03/03 01:19:28 DEBUG : dir: Looking for writers 2026/03/03 01:19:28 DEBUG : Looking for writers 2026/03/03 01:19:28 DEBUG : dir: reading active writers 2026/03/03 01:19:28 DEBUG : newLeaf: reading active writers 2026/03/03 01:19:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/03/03 01:19:29 DEBUG : dir: Looking for writers 2026/03/03 01:19:29 DEBUG : Looking for writers 2026/03/03 01:19:29 DEBUG : dir: reading active writers 2026/03/03 01:19:29 DEBUG : newLeaf: reading active writers 2026/03/03 01:19:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/03 01:19:30 DEBUG : dir: Looking for writers 2026/03/03 01:19:30 DEBUG : Looking for writers 2026/03/03 01:19:30 DEBUG : dir: reading active writers 2026/03/03 01:19:30 DEBUG : newLeaf: reading active writers 2026/03/03 01:19:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/03 01:19:31 DEBUG : dir: Looking for writers 2026/03/03 01:19:31 DEBUG : Looking for writers 2026/03/03 01:19:31 DEBUG : newLeaf: reading active writers 2026/03/03 01:19:31 DEBUG : dir: reading active writers 2026/03/03 01:19:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/03 01:19:32 DEBUG : newLeaf: size = 25 OK 2026/03/03 01:19:32 INFO : newLeaf: Copied (replaced existing) 2026/03/03 01:19:32 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/03/03 01:19:32 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/03/03 01:19:32 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/03 01:19:32 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/03/03 01:19:32 DEBUG : dir: Looking for writers 2026/03/03 01:19:32 DEBUG : Looking for writers 2026/03/03 01:19:32 DEBUG : dir: reading active writers 2026/03/03 01:19:32 DEBUG : newLeaf: reading active writers 2026/03/03 01:19:32 DEBUG : >WaitForWriters: 2026/03/03 01:19:32 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:19:32 DEBUG : dir: Looking for writers 2026/03/03 01:19:32 DEBUG : Looking for writers 2026/03/03 01:19:32 DEBUG : dir: reading active writers 2026/03/03 01:19:32 DEBUG : newLeaf: reading active writers 2026/03/03 01:19:32 DEBUG : >WaitForWriters: 2026/03/03 01:19:32 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:19:46 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:19:46 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/03 01:19:46 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:19:46 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:19:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:19:46 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:19:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:19:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:19:46 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:19:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:19:46 INFO : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/03/03 01:19:46 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2026/03/03 01:19:46 DEBUG : dir/file1: newRWFileHandle: 2026/03/03 01:19:46 DEBUG : dir/file1(0xc000bc3880): openPending: 2026/03/03 01:19:46 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/03/03 01:19:46 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/03/03 01:19:46 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/03 01:19:46 DEBUG : dir/file1(0xc000bc3880): >openPending: err= 2026/03/03 01:19:46 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/03/03 01:19:46 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/03 01:19:46 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/03 01:19:46 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/03 01:19:46 DEBUG : dir/file1(0xc000bc3880): _writeAt: size=14, off=0 2026/03/03 01:19:46 DEBUG : dir/file1(0xc000bc3880): >_writeAt: n=14, err= 2026/03/03 01:19:46 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/03/03 01:19:46 DEBUG : dir/file1(0xc000bc3880): close: 2026/03/03 01:19:46 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/03/03 01:19:46 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2026/03/03 01:19:46 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/03/03 01:19:46 DEBUG : dir/file1(0xc000bc3880): >close: err= 2026/03/03 01:19:46 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:19:46 DEBUG : dir: Looking for writers 2026/03/03 01:19:46 DEBUG : file1: reading active writers 2026/03/03 01:19:46 DEBUG : Looking for writers 2026/03/03 01:19:46 DEBUG : dir: reading active writers 2026/03/03 01:19:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/03/03 01:19:46 DEBUG : dir: Looking for writers 2026/03/03 01:19:46 DEBUG : file1: reading active writers 2026/03/03 01:19:46 DEBUG : Looking for writers 2026/03/03 01:19:46 DEBUG : dir: reading active writers 2026/03/03 01:19:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/03/03 01:19:46 DEBUG : dir: Looking for writers 2026/03/03 01:19:46 DEBUG : file1: reading active writers 2026/03/03 01:19:46 DEBUG : Looking for writers 2026/03/03 01:19:46 DEBUG : dir: reading active writers 2026/03/03 01:19:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/03/03 01:19:46 DEBUG : dir: Looking for writers 2026/03/03 01:19:46 DEBUG : file1: reading active writers 2026/03/03 01:19:46 DEBUG : Looking for writers 2026/03/03 01:19:46 DEBUG : dir: reading active writers 2026/03/03 01:19:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/03/03 01:19:46 DEBUG : dir/file1: vfs cache: starting upload 2026/03/03 01:19:46 DEBUG : dir: Looking for writers 2026/03/03 01:19:46 DEBUG : file1: reading active writers 2026/03/03 01:19:46 DEBUG : Looking for writers 2026/03/03 01:19:46 DEBUG : dir: reading active writers 2026/03/03 01:19:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/03/03 01:19:46 DEBUG : dir: Looking for writers 2026/03/03 01:19:46 DEBUG : file1: reading active writers 2026/03/03 01:19:46 DEBUG : Looking for writers 2026/03/03 01:19:46 DEBUG : dir: reading active writers 2026/03/03 01:19:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/03/03 01:19:47 DEBUG : dir: Looking for writers 2026/03/03 01:19:47 DEBUG : file1: reading active writers 2026/03/03 01:19:47 DEBUG : Looking for writers 2026/03/03 01:19:47 DEBUG : dir: reading active writers 2026/03/03 01:19:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/03/03 01:19:47 DEBUG : dir: Looking for writers 2026/03/03 01:19:47 DEBUG : file1: reading active writers 2026/03/03 01:19:47 DEBUG : Looking for writers 2026/03/03 01:19:47 DEBUG : dir: reading active writers 2026/03/03 01:19:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/03 01:19:48 DEBUG : dir: Looking for writers 2026/03/03 01:19:48 DEBUG : file1: reading active writers 2026/03/03 01:19:48 DEBUG : Looking for writers 2026/03/03 01:19:48 DEBUG : dir: reading active writers 2026/03/03 01:19:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/03 01:19:49 DEBUG : dir/file1: size = 14 OK 2026/03/03 01:19:49 INFO : dir/file1: Copied (replaced existing) 2026/03/03 01:19:49 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/03/03 01:19:49 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2026/03/03 01:19:49 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/03 01:19:49 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/03/03 01:19:49 DEBUG : dir: Looking for writers 2026/03/03 01:19:49 DEBUG : file1: reading active writers 2026/03/03 01:19:49 DEBUG : Looking for writers 2026/03/03 01:19:49 DEBUG : dir: reading active writers 2026/03/03 01:19:49 DEBUG : >WaitForWriters: 2026/03/03 01:19:49 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/03/03 01:19:49 DEBUG : dir/file1: newRWFileHandle: 2026/03/03 01:19:49 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/03 01:19:49 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/03 01:19:49 DEBUG : dir/file1(0xc000c65ec0): _readAt: size=512, off=0 2026/03/03 01:19:49 DEBUG : dir/file1(0xc000c65ec0): openPending: 2026/03/03 01:19:49 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/03/03 01:19:49 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/03/03 01:19:49 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/03 01:19:49 DEBUG : dir/file1(0xc000c65ec0): >openPending: err= 2026/03/03 01:19:49 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2026/03/03 01:19:49 DEBUG : dir/file1(0xc000c65ec0): >_readAt: n=14, err=EOF 2026/03/03 01:19:49 DEBUG : dir/file1(0xc000c65ec0): close: 2026/03/03 01:19:49 DEBUG : dir/file1: vfs cache: setting modification time to 2026-03-03 01:19:47 +0000 UTC 2026/03/03 01:19:49 DEBUG : dir/file1(0xc000c65ec0): >close: err= 2026/03/03 01:19:51 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/03 01:19:51 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/03/03 01:19:51 DEBUG : newLeaf: Updating file with newLeaf 0xc00076c600 2026/03/03 01:19:51 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/03 01:19:51 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/03 01:19:51 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/03/03 01:19:51 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/03/03 01:19:51 DEBUG : dir/file1: Updating file with dir/file1 0xc00076c600 2026/03/03 01:19:51 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/03/03 01:19:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "dir/file1" 2026/03/03 01:19:58 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/03/03 01:19:58 DEBUG : dir/file1: newRWFileHandle: 2026/03/03 01:19:58 DEBUG : dir/file1(0xc000d55b00): openPending: 2026/03/03 01:19:58 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/03/03 01:19:58 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/03/03 01:19:58 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/03 01:19:58 DEBUG : dir/file1(0xc000d55b00): >openPending: err= 2026/03/03 01:19:58 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/03/03 01:19:58 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/03 01:19:58 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/03 01:19:58 DEBUG : dir/file1(0xc000d55b00): _writeAt: size=25, off=0 2026/03/03 01:19:58 DEBUG : dir/file1(0xc000d55b00): >_writeAt: n=25, err= 2026/03/03 01:20:04 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/03 01:20:04 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/03/03 01:20:04 DEBUG : newLeaf: Updating file with newLeaf 0xc00076c600 2026/03/03 01:20:04 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/03 01:20:04 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/03 01:20:04 DEBUG : newLeaf(0xc000d55b00): close: 2026/03/03 01:20:04 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/03/03 01:20:04 DEBUG : newLeaf: vfs cache: setting modification time to 2026-03-03 01:19:58.838944015 +0000 UTC m=+211.093690273 2026/03/03 01:20:04 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/03/03 01:20:04 DEBUG : newLeaf(0xc000d55b00): >close: err= 2026/03/03 01:20:04 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:20:04 DEBUG : dir: Looking for writers 2026/03/03 01:20:04 DEBUG : Looking for writers 2026/03/03 01:20:04 DEBUG : dir: reading active writers 2026/03/03 01:20:04 DEBUG : newLeaf: reading active writers 2026/03/03 01:20:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/03/03 01:20:04 DEBUG : dir: Looking for writers 2026/03/03 01:20:04 DEBUG : Looking for writers 2026/03/03 01:20:04 DEBUG : newLeaf: reading active writers 2026/03/03 01:20:04 DEBUG : dir: reading active writers 2026/03/03 01:20:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/03/03 01:20:04 DEBUG : dir: Looking for writers 2026/03/03 01:20:04 DEBUG : Looking for writers 2026/03/03 01:20:04 DEBUG : newLeaf: reading active writers 2026/03/03 01:20:04 DEBUG : dir: reading active writers 2026/03/03 01:20:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/03/03 01:20:04 DEBUG : dir: Looking for writers 2026/03/03 01:20:04 DEBUG : Looking for writers 2026/03/03 01:20:04 DEBUG : dir: reading active writers 2026/03/03 01:20:04 DEBUG : newLeaf: reading active writers 2026/03/03 01:20:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/03/03 01:20:04 DEBUG : newLeaf: vfs cache: starting upload 2026/03/03 01:20:05 DEBUG : dir: Looking for writers 2026/03/03 01:20:05 DEBUG : Looking for writers 2026/03/03 01:20:05 DEBUG : dir: reading active writers 2026/03/03 01:20:05 DEBUG : newLeaf: reading active writers 2026/03/03 01:20:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/03/03 01:20:05 DEBUG : dir: Looking for writers 2026/03/03 01:20:05 DEBUG : Looking for writers 2026/03/03 01:20:05 DEBUG : dir: reading active writers 2026/03/03 01:20:05 DEBUG : newLeaf: reading active writers 2026/03/03 01:20:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/03/03 01:20:05 DEBUG : dir: Looking for writers 2026/03/03 01:20:05 DEBUG : Looking for writers 2026/03/03 01:20:05 DEBUG : dir: reading active writers 2026/03/03 01:20:05 DEBUG : newLeaf: reading active writers 2026/03/03 01:20:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/03/03 01:20:06 DEBUG : dir: Looking for writers 2026/03/03 01:20:06 DEBUG : Looking for writers 2026/03/03 01:20:06 DEBUG : dir: reading active writers 2026/03/03 01:20:06 DEBUG : newLeaf: reading active writers 2026/03/03 01:20:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/03 01:20:07 DEBUG : dir: Looking for writers 2026/03/03 01:20:07 DEBUG : Looking for writers 2026/03/03 01:20:07 DEBUG : dir: reading active writers 2026/03/03 01:20:07 DEBUG : newLeaf: reading active writers 2026/03/03 01:20:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/03 01:20:07 DEBUG : newLeaf: size = 25 OK 2026/03/03 01:20:07 INFO : newLeaf: Copied (replaced existing) 2026/03/03 01:20:07 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/03/03 01:20:07 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/03/03 01:20:07 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/03 01:20:07 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/03/03 01:20:08 DEBUG : dir: Looking for writers 2026/03/03 01:20:08 DEBUG : Looking for writers 2026/03/03 01:20:08 DEBUG : dir: reading active writers 2026/03/03 01:20:08 DEBUG : newLeaf: reading active writers 2026/03/03 01:20:08 DEBUG : >WaitForWriters: 2026/03/03 01:20:08 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:20:08 DEBUG : dir: Looking for writers 2026/03/03 01:20:08 DEBUG : Looking for writers 2026/03/03 01:20:08 DEBUG : dir: reading active writers 2026/03/03 01:20:08 DEBUG : newLeaf: reading active writers 2026/03/03 01:20:08 DEBUG : >WaitForWriters: 2026/03/03 01:20:08 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:20:18 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:20:18 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/03 01:20:18 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:20:18 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:20:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:20:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:20:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:20:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:20:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:20:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:20:18 INFO : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/03/03 01:20:23 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:20:23 DEBUG : dir: Looking for writers 2026/03/03 01:20:23 DEBUG : file1: reading active writers 2026/03/03 01:20:23 DEBUG : Looking for writers 2026/03/03 01:20:23 DEBUG : dir: reading active writers 2026/03/03 01:20:23 DEBUG : >WaitForWriters: 2026/03/03 01:20:23 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/03/03 01:20:23 DEBUG : dir/file1: newRWFileHandle: 2026/03/03 01:20:23 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/03 01:20:23 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/03 01:20:23 DEBUG : dir/file1(0xc001216bc0): _readAt: size=512, off=0 2026/03/03 01:20:23 DEBUG : dir/file1(0xc001216bc0): openPending: 2026/03/03 01:20:23 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2026/03/03 01:20:23 DEBUG : dir/file1: vfs cache: truncate to size=14 2026/03/03 01:20:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/03 01:20:23 DEBUG : dir/file1(0xc001216bc0): >openPending: err= 2026/03/03 01:20:23 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2026/03/03 01:20:23 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/03/03 01:20:23 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/03 01:20:23 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:20:23 DEBUG : dir/file1(0xc001216bc0): >_readAt: n=14, err=EOF 2026/03/03 01:20:23 DEBUG : dir/file1(0xc001216bc0): close: 2026/03/03 01:20:23 DEBUG : dir/file1: vfs cache: setting modification time to 2026-03-03 01:20:21 +0000 UTC 2026/03/03 01:20:23 DEBUG : dir/file1(0xc001216bc0): >close: err= 2026/03/03 01:20:26 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/03 01:20:26 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/03/03 01:20:26 DEBUG : newLeaf: Updating file with newLeaf 0xc001206300 2026/03/03 01:20:26 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/03 01:20:26 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/03 01:20:26 INFO : newLeaf: Moved (server-side) to: dir/file1 2026/03/03 01:20:26 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2026/03/03 01:20:26 DEBUG : dir/file1: Updating file with dir/file1 0xc001206300 2026/03/03 01:20:26 DEBUG : Added virtual directory entry vDel: "newLeaf" 2026/03/03 01:20:26 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /home/rclone/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.0.linux-amd64/src/runtime/asm_amd64.s:1693 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:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "dir/file1" 2026/03/03 01:20:33 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/03/03 01:20:33 DEBUG : dir/file1: newRWFileHandle: 2026/03/03 01:20:33 DEBUG : dir/file1(0xc001217940): openPending: 2026/03/03 01:20:33 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2026/03/03 01:20:33 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2026/03/03 01:20:33 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/03 01:20:33 DEBUG : dir/file1(0xc001217940): >openPending: err= 2026/03/03 01:20:33 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/03/03 01:20:33 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/03 01:20:33 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/03 01:20:33 DEBUG : dir/file1(0xc001217940): _writeAt: size=25, off=0 2026/03/03 01:20:33 DEBUG : dir/file1(0xc001217940): >_writeAt: n=25, err= 2026/03/03 01:20:34 INFO : dir/file1: Moved (server-side) to: newLeaf 2026/03/03 01:20:34 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2026/03/03 01:20:34 DEBUG : newLeaf: Updating file with newLeaf 0xc001206300 2026/03/03 01:20:34 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/03 01:20:34 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/03 01:20:34 DEBUG : newLeaf(0xc001217940): close: 2026/03/03 01:20:34 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2026/03/03 01:20:34 DEBUG : newLeaf: vfs cache: setting modification time to 2026-03-03 01:20:33.384149548 +0000 UTC m=+245.638895856 2026/03/03 01:20:34 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2026/03/03 01:20:34 DEBUG : newLeaf(0xc001217940): >close: err= 2026/03/03 01:20:34 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:20:34 DEBUG : dir: Looking for writers 2026/03/03 01:20:34 DEBUG : Looking for writers 2026/03/03 01:20:34 DEBUG : dir: reading active writers 2026/03/03 01:20:34 DEBUG : newLeaf: reading active writers 2026/03/03 01:20:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/03/03 01:20:34 DEBUG : dir: Looking for writers 2026/03/03 01:20:34 DEBUG : Looking for writers 2026/03/03 01:20:34 DEBUG : newLeaf: reading active writers 2026/03/03 01:20:34 DEBUG : dir: reading active writers 2026/03/03 01:20:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/03/03 01:20:34 DEBUG : dir: Looking for writers 2026/03/03 01:20:34 DEBUG : Looking for writers 2026/03/03 01:20:34 DEBUG : dir: reading active writers 2026/03/03 01:20:34 DEBUG : newLeaf: reading active writers 2026/03/03 01:20:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/03/03 01:20:34 DEBUG : dir: Looking for writers 2026/03/03 01:20:34 DEBUG : Looking for writers 2026/03/03 01:20:34 DEBUG : dir: reading active writers 2026/03/03 01:20:34 DEBUG : newLeaf: reading active writers 2026/03/03 01:20:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/03/03 01:20:34 DEBUG : newLeaf: vfs cache: starting upload 2026/03/03 01:20:34 DEBUG : dir: Looking for writers 2026/03/03 01:20:34 DEBUG : Looking for writers 2026/03/03 01:20:34 DEBUG : dir: reading active writers 2026/03/03 01:20:34 DEBUG : newLeaf: reading active writers 2026/03/03 01:20:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/03/03 01:20:34 DEBUG : dir: Looking for writers 2026/03/03 01:20:34 DEBUG : Looking for writers 2026/03/03 01:20:34 DEBUG : dir: reading active writers 2026/03/03 01:20:34 DEBUG : newLeaf: reading active writers 2026/03/03 01:20:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/03/03 01:20:35 DEBUG : dir: Looking for writers 2026/03/03 01:20:35 DEBUG : Looking for writers 2026/03/03 01:20:35 DEBUG : dir: reading active writers 2026/03/03 01:20:35 DEBUG : newLeaf: reading active writers 2026/03/03 01:20:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/03/03 01:20:35 DEBUG : dir: Looking for writers 2026/03/03 01:20:35 DEBUG : Looking for writers 2026/03/03 01:20:35 DEBUG : dir: reading active writers 2026/03/03 01:20:35 DEBUG : newLeaf: reading active writers 2026/03/03 01:20:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/03 01:20:36 DEBUG : newLeaf: size = 25 OK 2026/03/03 01:20:36 INFO : newLeaf: Copied (replaced existing) 2026/03/03 01:20:36 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2026/03/03 01:20:36 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2026/03/03 01:20:36 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2026/03/03 01:20:36 INFO : newLeaf: vfs cache: upload succeeded try #1 2026/03/03 01:20:36 DEBUG : dir: Looking for writers 2026/03/03 01:20:36 DEBUG : Looking for writers 2026/03/03 01:20:36 DEBUG : dir: reading active writers 2026/03/03 01:20:36 DEBUG : newLeaf: reading active writers 2026/03/03 01:20:36 DEBUG : >WaitForWriters: 2026/03/03 01:20:36 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:20:36 DEBUG : dir: Looking for writers 2026/03/03 01:20:36 DEBUG : Looking for writers 2026/03/03 01:20:36 DEBUG : dir: reading active writers 2026/03/03 01:20:36 DEBUG : newLeaf: reading active writers 2026/03/03 01:20:36 DEBUG : >WaitForWriters: 2026/03/03 01:20:36 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaner exiting --- FAIL: TestFileRename (204.04s) --- FAIL: TestFileRename/off,forceCache=false (30.26s) --- FAIL: TestFileRename/minimal,forceCache=false (55.30s) --- FAIL: TestFileRename/minimal,forceCache=true (25.90s) --- FAIL: TestFileRename/writes,forceCache=false (40.29s) --- FAIL: TestFileRename/writes,forceCache=true (32.58s) --- FAIL: TestFileRename/full,forceCache=false (19.70s) === RUN TestReadFileHandleMethods run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:20:38 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:20:38 NOTICE: mega root 'rclone-test-defokud8yoxa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/03 01:20:42 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/03/03 01:20:42 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/03/03 01:20:42 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2026/03/03 01:20:42 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2026/03/03 01:20:42 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:20:42 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2026/03/03 01:20:42 DEBUG : dir/file1: ChunkedReader.Read at 1 length 256 chunkOffset 0 chunkSize 134217728 2026/03/03 01:20:42 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:20:42 DEBUG : dir: Looking for writers 2026/03/03 01:20:42 DEBUG : file1: reading active writers 2026/03/03 01:20:42 DEBUG : Looking for writers 2026/03/03 01:20:42 DEBUG : dir: reading active writers 2026/03/03 01:20:42 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleMethods (4.64s) === RUN TestReadFileHandleSeek run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:20:43 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:20:43 NOTICE: mega root 'rclone-test-defokud8yoxa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/03 01:20:43 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/03/03 01:20:43 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/03/03 01:20:43 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2026/03/03 01:20:43 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2026/03/03 01:20:43 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:20:44 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2026/03/03 01:20:44 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2026/03/03 01:20:44 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2026/03/03 01:20:44 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2026/03/03 01:20:44 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2026/03/03 01:20:44 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2026/03/03 01:20:44 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2026/03/03 01:20:44 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2026/03/03 01:20:44 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2026/03/03 01:20:44 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2026/03/03 01:20:44 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2026/03/03 01:20:44 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2026/03/03 01:20:44 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2026/03/03 01:20:44 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2026/03/03 01:20:44 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2026/03/03 01:20:44 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2026/03/03 01:20:44 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:20:44 DEBUG : dir: Looking for writers 2026/03/03 01:20:44 DEBUG : file1: reading active writers 2026/03/03 01:20:44 DEBUG : Looking for writers 2026/03/03 01:20:44 DEBUG : dir: reading active writers 2026/03/03 01:20:44 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleSeek (2.63s) === RUN TestReadFileHandleReadAt run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:20:45 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:20:45 NOTICE: mega root 'rclone-test-defokud8yoxa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/03 01:20:46 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/03/03 01:20:46 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/03/03 01:20:46 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2026/03/03 01:20:46 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2026/03/03 01:20:46 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:20:46 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2026/03/03 01:20:46 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2026/03/03 01:20:46 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2026/03/03 01:20:46 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2026/03/03 01:20:46 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2026/03/03 01:20:46 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2026/03/03 01:20:46 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2026/03/03 01:20:46 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2026/03/03 01:20:46 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2026/03/03 01:20:46 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2026/03/03 01:20:46 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2026/03/03 01:20:46 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2026/03/03 01:20:46 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2026/03/03 01:20:46 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2026/03/03 01:20:46 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2026/03/03 01:20:46 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2026/03/03 01:20:46 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2026/03/03 01:20:46 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2026/03/03 01:20:46 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2026/03/03 01:20:46 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2026/03/03 01:20:46 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2026/03/03 01:20:46 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2026/03/03 01:20:46 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2026/03/03 01:20:46 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2026/03/03 01:20:46 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2026/03/03 01:20:46 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2026/03/03 01:20:46 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2026/03/03 01:20:46 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2026/03/03 01:20:47 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2026/03/03 01:20:47 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2026/03/03 01:20:47 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2026/03/03 01:20:47 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:20:47 DEBUG : dir: Looking for writers 2026/03/03 01:20:47 DEBUG : file1: reading active writers 2026/03/03 01:20:47 DEBUG : Looking for writers 2026/03/03 01:20:47 DEBUG : dir: reading active writers 2026/03/03 01:20:47 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (2.91s) === RUN TestReadFileHandleFlush run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:20:48 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:20:48 NOTICE: mega root 'rclone-test-defokud8yoxa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/03 01:20:50 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/03/03 01:20:50 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/03/03 01:20:50 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2026/03/03 01:20:50 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2026/03/03 01:20:50 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:20:50 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2026/03/03 01:20:50 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:20:50 DEBUG : dir: Looking for writers 2026/03/03 01:20:50 DEBUG : file1: reading active writers 2026/03/03 01:20:50 DEBUG : Looking for writers 2026/03/03 01:20:50 DEBUG : dir: reading active writers 2026/03/03 01:20:50 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- PASS: TestReadFileHandleFlush (3.29s) === RUN TestReadFileHandleRelease run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:20:52 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:20:52 NOTICE: mega root 'rclone-test-defokud8yoxa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/03 01:20:52 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/03/03 01:20:52 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/03/03 01:20:52 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2026/03/03 01:20:52 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2026/03/03 01:20:52 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:20:52 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2026/03/03 01:20:52 DEBUG : dir/file1: ReadFileHandle.Release closing 2026/03/03 01:20:52 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2026/03/03 01:20:52 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:20:52 DEBUG : dir: Looking for writers 2026/03/03 01:20:52 DEBUG : file1: reading active writers 2026/03/03 01:20:52 DEBUG : Looking for writers 2026/03/03 01:20:52 DEBUG : dir: reading active writers 2026/03/03 01:20:52 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleRelease (0.80s) === RUN TestRWFileHandleMethodsRead run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:20:52 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:20:52 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/03 01:20:52 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:20:52 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:20:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:20:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:20:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:20:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:20:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:20:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:20:52 INFO : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/03/03 01:20:57 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/03/03 01:20:57 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/03/03 01:20:57 DEBUG : dir/file1: newRWFileHandle: 2026/03/03 01:20:57 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/03 01:20:57 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/03 01:20:57 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/03/03 01:20:57 DEBUG : dir/file1(0xc00036a800): _readAt: size=1, off=0 2026/03/03 01:20:57 DEBUG : dir/file1(0xc00036a800): openPending: 2026/03/03 01:20:57 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2026/03/03 01:20:57 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/03/03 01:20:57 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/03 01:20:57 DEBUG : dir/file1(0xc00036a800): >openPending: err= 2026/03/03 01:20:57 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2026/03/03 01:20:57 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/03/03 01:20:57 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/03 01:20:57 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:20:57 DEBUG : dir/file1(0xc00036a800): >_readAt: n=1, err= 2026/03/03 01:20:57 DEBUG : dir/file1(0xc00036a800): _readAt: size=256, off=1 2026/03/03 01:20:57 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2026/03/03 01:20:57 DEBUG : dir/file1(0xc00036a800): >_readAt: n=15, err=EOF 2026/03/03 01:20:57 DEBUG : dir/file1(0xc00036a800): _readAt: size=16, off=16 2026/03/03 01:20:57 DEBUG : dir/file1(0xc00036a800): >_readAt: n=0, err=EOF 2026/03/03 01:20:57 DEBUG : dir/file1(0xc00036a800): close: 2026/03/03 01:20:57 DEBUG : dir/file1: vfs cache: setting modification time to 2026-03-03 01:20:56 +0000 UTC 2026/03/03 01:20:57 DEBUG : dir/file1(0xc00036a800): >close: err= 2026/03/03 01:20:57 DEBUG : dir/file1(0xc00036a800): close: 2026/03/03 01:20:57 DEBUG : dir/file1(0xc00036a800): >close: err=file already closed 2026/03/03 01:20:57 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:20:57 DEBUG : dir: Looking for writers 2026/03/03 01:20:57 DEBUG : file1: reading active writers 2026/03/03 01:20:57 DEBUG : Looking for writers 2026/03/03 01:20:57 DEBUG : dir: reading active writers 2026/03/03 01:20:57 DEBUG : >WaitForWriters: 2026/03/03 01:20:57 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsRead (5.09s) === RUN TestRWFileHandleSeek run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:20:58 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:20:58 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/03 01:20:58 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:20:58 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:20:58 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:20:58 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:20:58 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:20:58 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:20:58 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:20:58 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:20:58 INFO : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/03/03 01:21:02 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/03/03 01:21:02 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/03/03 01:21:02 DEBUG : dir/file1: newRWFileHandle: 2026/03/03 01:21:02 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/03 01:21:02 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/03 01:21:02 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/03/03 01:21:02 DEBUG : dir/file1(0xc000a8a380): _readAt: size=1, off=0 2026/03/03 01:21:02 DEBUG : dir/file1(0xc000a8a380): openPending: 2026/03/03 01:21:02 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2026/03/03 01:21:02 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/03/03 01:21:02 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:02 DEBUG : dir/file1(0xc000a8a380): >openPending: err= 2026/03/03 01:21:02 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2026/03/03 01:21:02 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/03/03 01:21:02 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/03 01:21:02 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:21:02 DEBUG : dir/file1(0xc000a8a380): >_readAt: n=1, err= 2026/03/03 01:21:02 DEBUG : dir/file1(0xc000a8a380): _readAt: size=1, off=5 2026/03/03 01:21:02 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2026/03/03 01:21:02 DEBUG : dir/file1(0xc000a8a380): >_readAt: n=1, err= 2026/03/03 01:21:02 DEBUG : dir/file1(0xc000a8a380): _readAt: size=1, off=3 2026/03/03 01:21:02 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2026/03/03 01:21:02 DEBUG : dir/file1(0xc000a8a380): >_readAt: n=1, err= 2026/03/03 01:21:02 DEBUG : dir/file1(0xc000a8a380): _readAt: size=1, off=13 2026/03/03 01:21:02 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2026/03/03 01:21:02 DEBUG : dir/file1(0xc000a8a380): >_readAt: n=1, err= 2026/03/03 01:21:02 DEBUG : dir/file1(0xc000a8a380): _readAt: size=16, off=100 2026/03/03 01:21:02 DEBUG : dir/file1(0xc000a8a380): >_readAt: n=0, err=EOF 2026/03/03 01:21:02 DEBUG : dir/file1(0xc000a8a380): close: 2026/03/03 01:21:02 DEBUG : dir/file1: vfs cache: setting modification time to 2026-03-03 01:21:00 +0000 UTC 2026/03/03 01:21:02 DEBUG : dir/file1(0xc000a8a380): >close: err= 2026/03/03 01:21:02 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:21:02 DEBUG : dir: Looking for writers 2026/03/03 01:21:02 DEBUG : file1: reading active writers 2026/03/03 01:21:02 DEBUG : Looking for writers 2026/03/03 01:21:02 DEBUG : dir: reading active writers 2026/03/03 01:21:02 DEBUG : >WaitForWriters: 2026/03/03 01:21:02 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSeek (6.61s) === RUN TestRWFileHandleReadAt run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:21:04 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:21:04 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/03 01:21:04 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:04 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:04 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:04 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:21:04 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:04 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:04 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:21:04 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:04 INFO : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/03/03 01:21:04 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/03/03 01:21:04 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/03/03 01:21:04 DEBUG : dir/file1: newRWFileHandle: 2026/03/03 01:21:04 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/03 01:21:04 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/03 01:21:04 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/03/03 01:21:04 DEBUG : dir/file1(0xc000709780): _readAt: size=1, off=0 2026/03/03 01:21:04 DEBUG : dir/file1(0xc000709780): openPending: 2026/03/03 01:21:04 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2026/03/03 01:21:04 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/03/03 01:21:04 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:04 DEBUG : dir/file1(0xc000709780): >openPending: err= 2026/03/03 01:21:04 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2026/03/03 01:21:04 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/03/03 01:21:04 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/03 01:21:04 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:21:04 DEBUG : dir/file1(0xc000709780): >_readAt: n=1, err= 2026/03/03 01:21:04 DEBUG : dir/file1(0xc000709780): _readAt: size=1, off=5 2026/03/03 01:21:04 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2026/03/03 01:21:04 DEBUG : dir/file1(0xc000709780): >_readAt: n=1, err= 2026/03/03 01:21:04 DEBUG : dir/file1(0xc000709780): _readAt: size=1, off=1 2026/03/03 01:21:04 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2026/03/03 01:21:04 DEBUG : dir/file1(0xc000709780): >_readAt: n=1, err= 2026/03/03 01:21:04 DEBUG : dir/file1(0xc000709780): _readAt: size=6, off=10 2026/03/03 01:21:04 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2026/03/03 01:21:04 DEBUG : dir/file1(0xc000709780): >_readAt: n=6, err= 2026/03/03 01:21:04 DEBUG : dir/file1(0xc000709780): _readAt: size=256, off=10 2026/03/03 01:21:04 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2026/03/03 01:21:04 DEBUG : dir/file1(0xc000709780): >_readAt: n=6, err=EOF 2026/03/03 01:21:04 DEBUG : dir/file1(0xc000709780): _readAt: size=256, off=100 2026/03/03 01:21:04 DEBUG : dir/file1(0xc000709780): >_readAt: n=0, err=EOF 2026/03/03 01:21:04 DEBUG : dir/file1(0xc000709780): close: 2026/03/03 01:21:04 DEBUG : dir/file1: vfs cache: setting modification time to 2026-03-03 01:21:04 +0000 UTC 2026/03/03 01:21:04 DEBUG : dir/file1(0xc000709780): >close: err= 2026/03/03 01:21:04 DEBUG : dir/file1(0xc000709780): _readAt: size=256, off=100 2026/03/03 01:21:04 DEBUG : dir/file1(0xc000709780): >_readAt: n=0, err=file already closed 2026/03/03 01:21:04 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:21:04 DEBUG : dir: Looking for writers 2026/03/03 01:21:04 DEBUG : file1: reading active writers 2026/03/03 01:21:04 DEBUG : Looking for writers 2026/03/03 01:21:04 DEBUG : dir: reading active writers 2026/03/03 01:21:04 DEBUG : >WaitForWriters: 2026/03/03 01:21:04 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReadAt (0.90s) === RUN TestRWFileHandleFlushRead run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:21:05 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:21:05 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/03 01:21:05 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:05 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:21:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:21:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:05 INFO : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/03/03 01:21:07 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/03/03 01:21:07 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/03/03 01:21:07 DEBUG : dir/file1: newRWFileHandle: 2026/03/03 01:21:07 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/03 01:21:07 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/03 01:21:07 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/03/03 01:21:07 DEBUG : dir/file1(0xc005e93bc0): RWFileHandle.Flush 2026/03/03 01:21:07 DEBUG : dir/file1(0xc005e93bc0): _readAt: size=256, off=0 2026/03/03 01:21:07 DEBUG : dir/file1(0xc005e93bc0): openPending: 2026/03/03 01:21:07 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2026/03/03 01:21:07 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/03/03 01:21:07 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:07 DEBUG : dir/file1(0xc005e93bc0): >openPending: err= 2026/03/03 01:21:07 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2026/03/03 01:21:07 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/03/03 01:21:07 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/03 01:21:07 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:21:07 DEBUG : dir/file1(0xc005e93bc0): >_readAt: n=16, err=EOF 2026/03/03 01:21:07 DEBUG : dir/file1(0xc005e93bc0): RWFileHandle.Flush 2026/03/03 01:21:07 DEBUG : dir/file1(0xc005e93bc0): RWFileHandle.Flush 2026/03/03 01:21:07 DEBUG : dir/file1(0xc005e93bc0): close: 2026/03/03 01:21:07 DEBUG : dir/file1: vfs cache: setting modification time to 2026-03-03 01:21:05 +0000 UTC 2026/03/03 01:21:07 DEBUG : dir/file1(0xc005e93bc0): >close: err= 2026/03/03 01:21:07 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:21:07 DEBUG : dir: Looking for writers 2026/03/03 01:21:07 DEBUG : file1: reading active writers 2026/03/03 01:21:07 DEBUG : Looking for writers 2026/03/03 01:21:07 DEBUG : dir: reading active writers 2026/03/03 01:21:07 DEBUG : >WaitForWriters: 2026/03/03 01:21:07 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushRead (13.91s) === RUN TestRWFileHandleReleaseRead run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:21:19 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:21:19 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/03 01:21:19 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:19 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:19 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:19 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:21:19 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:19 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:19 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:21:19 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:19 INFO : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/03/03 01:21:22 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/03/03 01:21:22 DEBUG : dir/file1: Open: flags=O_RDONLY 2026/03/03 01:21:22 DEBUG : dir/file1: newRWFileHandle: 2026/03/03 01:21:22 DEBUG : dir/file1: >newRWFileHandle: err= 2026/03/03 01:21:22 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/03/03 01:21:22 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/03/03 01:21:22 DEBUG : dir/file1(0xc0045c34c0): _readAt: size=256, off=0 2026/03/03 01:21:22 DEBUG : dir/file1(0xc0045c34c0): openPending: 2026/03/03 01:21:22 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2026/03/03 01:21:22 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/03/03 01:21:22 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:22 DEBUG : dir/file1(0xc0045c34c0): >openPending: err= 2026/03/03 01:21:22 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2026/03/03 01:21:22 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2026/03/03 01:21:22 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/03 01:21:22 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:21:22 DEBUG : dir/file1(0xc0045c34c0): >_readAt: n=16, err=EOF 2026/03/03 01:21:22 DEBUG : dir/file1(0xc0045c34c0): RWFileHandle.Release 2026/03/03 01:21:22 DEBUG : dir/file1(0xc0045c34c0): close: 2026/03/03 01:21:22 DEBUG : dir/file1: vfs cache: setting modification time to 2026-03-03 01:21:22 +0000 UTC 2026/03/03 01:21:22 DEBUG : dir/file1(0xc0045c34c0): >close: err= 2026/03/03 01:21:22 DEBUG : dir/file1(0xc0045c34c0): RWFileHandle.Release 2026/03/03 01:21:22 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:21:22 DEBUG : dir: Looking for writers 2026/03/03 01:21:22 DEBUG : file1: reading active writers 2026/03/03 01:21:22 DEBUG : Looking for writers 2026/03/03 01:21:22 DEBUG : dir: reading active writers 2026/03/03 01:21:22 DEBUG : >WaitForWriters: 2026/03/03 01:21:22 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseRead (4.03s) === RUN TestRWFileHandleMethodsWrite run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:21:23 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:21:23 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/03 01:21:23 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:23 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:23 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:21:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:23 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:21:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:23 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/03/03 01:21:23 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/03/03 01:21:23 DEBUG : file1: newRWFileHandle: 2026/03/03 01:21:23 DEBUG : file1(0xc0049566c0): openPending: 2026/03/03 01:21:23 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2026/03/03 01:21:23 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2026/03/03 01:21:23 INFO : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 0 (was 0) 2026/03/03 01:21:23 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:23 DEBUG : file1(0xc0049566c0): >openPending: err= 2026/03/03 01:21:23 DEBUG : file1: >newRWFileHandle: err= 2026/03/03 01:21:23 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:23 DEBUG : file1: >Open: fd=file1 (rw), err= 2026/03/03 01:21:23 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2026/03/03 01:21:23 DEBUG : file1(0xc0049566c0): _writeAt: size=5, off=0 2026/03/03 01:21:23 DEBUG : file1(0xc0049566c0): >_writeAt: n=5, err= 2026/03/03 01:21:23 DEBUG : file1(0xc0049566c0): _writeAt: size=7, off=5 2026/03/03 01:21:23 DEBUG : file1(0xc0049566c0): >_writeAt: n=7, err= 2026/03/03 01:21:23 DEBUG : file1: vfs cache: truncate to size=11 2026/03/03 01:21:23 DEBUG : file1(0xc0049566c0): close: 2026/03/03 01:21:23 DEBUG : file1: vfs cache: setting modification time to 2026-03-03 01:21:23.466872019 +0000 UTC m=+295.721618297 2026/03/03 01:21:23 INFO : file1: vfs cache: queuing for upload in 100ms 2026/03/03 01:21:23 DEBUG : file1(0xc0049566c0): >close: err= 2026/03/03 01:21:23 DEBUG : file1(0xc0049566c0): close: 2026/03/03 01:21:23 DEBUG : file1(0xc0049566c0): >close: err=file already closed 2026/03/03 01:21:23 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:21:23 DEBUG : Looking for writers 2026/03/03 01:21:23 DEBUG : file1: reading active writers 2026/03/03 01:21:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/03/03 01:21:23 DEBUG : Looking for writers 2026/03/03 01:21:23 DEBUG : file1: reading active writers 2026/03/03 01:21:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/03/03 01:21:23 DEBUG : Looking for writers 2026/03/03 01:21:23 DEBUG : file1: reading active writers 2026/03/03 01:21:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/03/03 01:21:23 DEBUG : Looking for writers 2026/03/03 01:21:23 DEBUG : file1: reading active writers 2026/03/03 01:21:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/03/03 01:21:23 DEBUG : file1: vfs cache: starting upload 2026/03/03 01:21:23 DEBUG : Looking for writers 2026/03/03 01:21:23 DEBUG : file1: reading active writers 2026/03/03 01:21:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/03/03 01:21:23 DEBUG : Looking for writers 2026/03/03 01:21:23 DEBUG : file1: reading active writers 2026/03/03 01:21:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/03/03 01:21:24 DEBUG : Looking for writers 2026/03/03 01:21:24 DEBUG : file1: reading active writers 2026/03/03 01:21:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/03/03 01:21:24 DEBUG : Looking for writers 2026/03/03 01:21:24 DEBUG : file1: reading active writers 2026/03/03 01:21:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/03 01:21:25 DEBUG : file1: size = 11 OK 2026/03/03 01:21:25 INFO : file1: Copied (new) 2026/03/03 01:21:25 DEBUG : file1: vfs cache: fingerprint now "11" 2026/03/03 01:21:25 DEBUG : file1: vfs cache: writeback object to VFS layer 2026/03/03 01:21:25 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:25 INFO : file1: vfs cache: upload succeeded try #1 2026/03/03 01:21:25 DEBUG : Looking for writers 2026/03/03 01:21:25 DEBUG : file1: reading active writers 2026/03/03 01:21:25 DEBUG : >WaitForWriters: 2026/03/03 01:21:25 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:21:25 DEBUG : Looking for writers 2026/03/03 01:21:25 DEBUG : file1: reading active writers 2026/03/03 01:21:25 DEBUG : >WaitForWriters: 2026/03/03 01:21:25 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsWrite (2.35s) === RUN TestRWFileHandleWriteAt run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:21:25 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:21:25 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: root is "/home/rclone/.cache/rclone" 2026/03/03 01:21:25 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:25 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:25 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:21:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:25 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/03/03 01:21:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-defokud8yoxa" 2026/03/03 01:21:25 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/03/03 01:21:25 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/03/03 01:21:25 DEBUG : file1: newRWFileHandle: 2026/03/03 01:21:25 DEBUG : file1(0xc004e2cb80): openPending: 2026/03/03 01:21:25 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2026/03/03 01:21:25 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:25 DEBUG : file1(0xc004e2cb80): >openPending: err= 2026/03/03 01:21:25 DEBUG : file1: >newRWFileHandle: err= 2026/03/03 01:21:25 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:25 DEBUG : file1: >Open: fd=file1 (rw), err= 2026/03/03 01:21:25 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2026/03/03 01:21:25 DEBUG : file1(0xc004e2cb80): _writeAt: size=7, off=0 2026/03/03 01:21:25 DEBUG : file1(0xc004e2cb80): >_writeAt: n=7, err= 2026/03/03 01:21:25 DEBUG : file1(0xc004e2cb80): _writeAt: size=6, off=5 2026/03/03 01:21:25 DEBUG : file1(0xc004e2cb80): >_writeAt: n=6, err= 2026/03/03 01:21:25 DEBUG : file1(0xc004e2cb80): close: 2026/03/03 01:21:25 DEBUG : file1: vfs cache: setting modification time to 2026-03-03 01:21:25.809909923 +0000 UTC m=+298.064656202 2026/03/03 01:21:25 INFO : file1: vfs cache: queuing for upload in 100ms 2026/03/03 01:21:25 DEBUG : file1(0xc004e2cb80): >close: err= 2026/03/03 01:21:25 DEBUG : file1(0xc004e2cb80): _writeAt: size=5, off=0 2026/03/03 01:21:25 DEBUG : file1(0xc004e2cb80): >_writeAt: n=0, err=file already closed 2026/03/03 01:21:25 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2026/03/03 01:21:25 INFO : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2026/03/03 01:21:25 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:21:25 DEBUG : Looking for writers 2026/03/03 01:21:25 DEBUG : file1: reading active writers 2026/03/03 01:21:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/03/03 01:21:25 DEBUG : Looking for writers 2026/03/03 01:21:25 DEBUG : file1: reading active writers 2026/03/03 01:21:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/03/03 01:21:25 DEBUG : Looking for writers 2026/03/03 01:21:25 DEBUG : file1: reading active writers 2026/03/03 01:21:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/03/03 01:21:25 DEBUG : Looking for writers 2026/03/03 01:21:25 DEBUG : file1: reading active writers 2026/03/03 01:21:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/03/03 01:21:25 DEBUG : file1: vfs cache: starting upload 2026/03/03 01:21:25 DEBUG : Looking for writers 2026/03/03 01:21:25 DEBUG : file1: reading active writers 2026/03/03 01:21:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/03/03 01:21:26 DEBUG : Looking for writers 2026/03/03 01:21:26 DEBUG : file1: reading active writers 2026/03/03 01:21:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/03/03 01:21:26 DEBUG : Looking for writers 2026/03/03 01:21:26 DEBUG : file1: reading active writers 2026/03/03 01:21:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/03/03 01:21:27 DEBUG : Looking for writers 2026/03/03 01:21:27 DEBUG : file1: reading active writers 2026/03/03 01:21:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2026/03/03 01:21:27 DEBUG : file1: size = 11 OK 2026/03/03 01:21:27 INFO : file1: Copied (new) 2026/03/03 01:21:27 DEBUG : file1: vfs cache: fingerprint now "11" 2026/03/03 01:21:27 DEBUG : file1: vfs cache: writeback object to VFS layer 2026/03/03 01:21:27 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:27 INFO : file1: vfs cache: upload succeeded try #1 2026/03/03 01:21:28 DEBUG : Looking for writers 2026/03/03 01:21:28 DEBUG : file1: reading active writers 2026/03/03 01:21:28 DEBUG : >WaitForWriters: 2026/03/03 01:21:28 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:21:28 DEBUG : Looking for writers 2026/03/03 01:21:28 DEBUG : file1: reading active writers 2026/03/03 01:21:28 DEBUG : >WaitForWriters: 2026/03/03 01:21:28 DEBUG : mega root 'rclone-test-defokud8yoxa': vfs cache: cleaner exiting --- PASS: TestRWFileHandleWriteAt (2.40s) === RUN TestVFSOpenFile run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:21:28 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:21:28 NOTICE: mega root 'rclone-test-defokud8yoxa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/03 01:21:32 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/03/03 01:21:32 DEBUG : file1: Open: flags=O_RDONLY 2026/03/03 01:21:32 DEBUG : file1: >Open: fd=file1 (r), err= 2026/03/03 01:21:32 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2026/03/03 01:21:32 DEBUG : dir: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/03/03 01:21:32 DEBUG : dir: >OpenFile: fd=dir/ (r), err= 2026/03/03 01:21:32 DEBUG : dir/new_file.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2026/03/03 01:21:32 DEBUG : dir/new_file.txt: >OpenFile: fd=, err=file does not exist 2026/03/03 01:21:32 DEBUG : dir/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/03/03 01:21:32 DEBUG : dir/new_file.txt: Open: flags=O_WRONLY|O_CREATE 2026/03/03 01:21:32 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2026/03/03 01:21:32 DEBUG : dir/new_file.txt: >Open: fd=dir/new_file.txt (w), err= 2026/03/03 01:21:32 DEBUG : dir/new_file.txt: >OpenFile: fd=dir/new_file.txt (w), err= 2026/03/03 01:21:32 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2026/03/03 01:21:32 DEBUG : mega root 'rclone-test-defokud8yoxa': File to upload is small (0 bytes), uploading instead of streaming 2026/03/03 01:21:32 DEBUG : dir/new_file.txt: size = 0 OK 2026/03/03 01:21:32 DEBUG : dir/new_file.txt: Size of src and dst objects identical 2026/03/03 01:21:32 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2026/03/03 01:21:32 DEBUG : not found/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/03/03 01:21:32 DEBUG : not found/new_file.txt: >OpenFile: fd=, err=file does not exist 2026/03/03 01:21:32 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:21:32 DEBUG : dir: Looking for writers 2026/03/03 01:21:32 DEBUG : new_file.txt: reading active writers 2026/03/03 01:21:32 DEBUG : file2: reading active writers 2026/03/03 01:21:32 DEBUG : Looking for writers 2026/03/03 01:21:32 DEBUG : file1: reading active writers 2026/03/03 01:21:32 DEBUG : dir: reading active writers 2026/03/03 01:21:32 DEBUG : >WaitForWriters: --- PASS: TestVFSOpenFile (7.62s) === RUN TestVFSMkdir run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:21:35 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:21:35 NOTICE: mega root 'rclone-test-defokud8yoxa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/03 01:21:35 DEBUG : Added virtual directory entry vAddDir: "/" 2026/03/03 01:21:37 DEBUG : Added virtual directory entry vAddDir: "a" 2026/03/03 01:21:39 DEBUG : Added virtual directory entry vAddDir: "b" 2026/03/03 01:21:39 DEBUG : Added virtual directory entry vAddDir: "c" 2026/03/03 01:21:41 DEBUG : Added virtual directory entry vAddDir: "d" 2026/03/03 01:21:41 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:21:41 DEBUG : Looking for writers 2026/03/03 01:21:41 DEBUG : a: Looking for writers 2026/03/03 01:21:41 DEBUG : b: Looking for writers 2026/03/03 01:21:41 DEBUG : c: Looking for writers 2026/03/03 01:21:41 DEBUG : d: Looking for writers 2026/03/03 01:21:41 DEBUG : Looking for writers 2026/03/03 01:21:41 DEBUG : c: reading active writers 2026/03/03 01:21:41 DEBUG : d: reading active writers 2026/03/03 01:21:41 DEBUG : /: reading active writers 2026/03/03 01:21:41 DEBUG : a: reading active writers 2026/03/03 01:21:41 DEBUG : b: reading active writers 2026/03/03 01:21:41 DEBUG : >WaitForWriters: --- PASS: TestVFSMkdir (6.71s) === RUN TestWriteFileHandleMethods run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:21:42 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:21:42 NOTICE: mega root 'rclone-test-defokud8yoxa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/03 01:21:42 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/03/03 01:21:42 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/03/03 01:21:42 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:42 DEBUG : file1: >Open: fd=file1 (w), err= 2026/03/03 01:21:42 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/03/03 01:21:42 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:42 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2026/03/03 01:21:42 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2026/03/03 01:21:42 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2026/03/03 01:21:42 DEBUG : mega root 'rclone-test-defokud8yoxa': File to upload is small (5 bytes), uploading instead of streaming 2026/03/03 01:21:43 DEBUG : file1: size = 5 OK 2026/03/03 01:21:43 DEBUG : file1: Size of src and dst objects identical 2026/03/03 01:21:43 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:43 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/03/03 01:21:43 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/03/03 01:21:43 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:43 DEBUG : file1: >Open: fd=file1 (w), err= 2026/03/03 01:21:43 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/03/03 01:21:43 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/03/03 01:21:43 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/03/03 01:21:43 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:43 DEBUG : file1: >Open: fd=file1 (w), err= 2026/03/03 01:21:43 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/03/03 01:21:43 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2026/03/03 01:21:43 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/03/03 01:21:43 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/03/03 01:21:43 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:43 DEBUG : file1: >Open: fd=file1 (w), err= 2026/03/03 01:21:43 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/03/03 01:21:43 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:43 DEBUG : mega root 'rclone-test-defokud8yoxa': File to upload is small (0 bytes), uploading instead of streaming 2026/03/03 01:21:46 DEBUG : file1: size = 0 OK 2026/03/03 01:21:46 DEBUG : file1: Size of src and dst objects identical 2026/03/03 01:21:46 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:46 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2026/03/03 01:21:46 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2026/03/03 01:21:46 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:46 DEBUG : file1: >Open: fd=file1 (w), err= 2026/03/03 01:21:46 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/03/03 01:21:46 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:46 DEBUG : mega root 'rclone-test-defokud8yoxa': File to upload is small (7 bytes), uploading instead of streaming 2026/03/03 01:21:46 DEBUG : file1: size = 7 OK 2026/03/03 01:21:46 DEBUG : file1: Size of src and dst objects identical 2026/03/03 01:21:46 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:46 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:21:46 DEBUG : Looking for writers 2026/03/03 01:21:46 DEBUG : file1: reading active writers 2026/03/03 01:21:46 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleMethods (4.54s) === RUN TestFileReadAtZeroLength run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:21:47 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:21:47 NOTICE: mega root 'rclone-test-defokud8yoxa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/03 01:21:47 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/03/03 01:21:47 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/03/03 01:21:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:47 DEBUG : file1: >Open: fd=file1 (w), err= 2026/03/03 01:21:47 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/03/03 01:21:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:47 DEBUG : mega root 'rclone-test-defokud8yoxa': File to upload is small (0 bytes), uploading instead of streaming 2026/03/03 01:21:47 DEBUG : file1: size = 0 OK 2026/03/03 01:21:47 DEBUG : file1: Size of src and dst objects identical 2026/03/03 01:21:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:47 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2026/03/03 01:21:47 DEBUG : file1: Open: flags=O_RDONLY 2026/03/03 01:21:47 DEBUG : file1: >Open: fd=file1 (r), err= 2026/03/03 01:21:47 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2026/03/03 01:21:47 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:21:47 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2026/03/03 01:21:47 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:21:47 DEBUG : Looking for writers 2026/03/03 01:21:47 DEBUG : file1: reading active writers 2026/03/03 01:21:47 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure --- PASS: TestFileReadAtZeroLength (7.46s) === RUN TestFileReadAtNonZeroLength run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:21:54 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:21:54 NOTICE: mega root 'rclone-test-defokud8yoxa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/03 01:21:54 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/03/03 01:21:54 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/03/03 01:21:54 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:54 DEBUG : file1: >Open: fd=file1 (w), err= 2026/03/03 01:21:54 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2026/03/03 01:21:54 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:21:54 DEBUG : mega root 'rclone-test-defokud8yoxa': File to upload is small (100 bytes), uploading instead of streaming 2026/03/03 01:22:05 DEBUG : file1: size = 100 OK 2026/03/03 01:22:05 DEBUG : file1: Size of src and dst objects identical 2026/03/03 01:22:05 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/03/03 01:22:05 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2026/03/03 01:22:05 DEBUG : file1: Open: flags=O_RDONLY 2026/03/03 01:22:05 DEBUG : file1: >Open: fd=file1 (r), err= 2026/03/03 01:22:05 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2026/03/03 01:22:05 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:22:05 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2026/03/03 01:22:05 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:22:05 DEBUG : Looking for writers 2026/03/03 01:22:05 DEBUG : file1: reading active writers 2026/03/03 01:22:05 DEBUG : >WaitForWriters: --- PASS: TestFileReadAtNonZeroLength (10.95s) === RUN TestZipManyFiles run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:22:05 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:22:05 NOTICE: mega root 'rclone-test-defokud8yoxa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/03 01:22:06 DEBUG : flat/f000.txt: Open: flags=O_RDONLY 2026/03/03 01:22:06 DEBUG : flat/f000.txt: >Open: fd=flat/f000.txt (r), err= 2026/03/03 01:22:06 DEBUG : flat/f000.txt: Set virtual modtime to 2026-03-03 01:22:05 +0000 UTC 2026/03/03 01:22:06 DEBUG : flat/f000.txt: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:22:06 DEBUG : flat/f000.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/03 01:22:07 DEBUG : flat/f001.txt: Open: flags=O_RDONLY 2026/03/03 01:22:07 DEBUG : flat/f001.txt: >Open: fd=flat/f001.txt (r), err= 2026/03/03 01:22:07 DEBUG : flat/f001.txt: Set virtual modtime to 2026-03-03 01:22:06 +0000 UTC 2026/03/03 01:22:07 DEBUG : flat/f001.txt: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:22:07 DEBUG : flat/f001.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/03 01:22:07 DEBUG : flat/f002.txt: Open: flags=O_RDONLY 2026/03/03 01:22:07 DEBUG : flat/f002.txt: >Open: fd=flat/f002.txt (r), err= 2026/03/03 01:22:07 DEBUG : flat/f002.txt: Set virtual modtime to 2026-03-03 01:22:06 +0000 UTC 2026/03/03 01:22:07 DEBUG : flat/f002.txt: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:22:07 DEBUG : flat/f002.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/03 01:22:07 DEBUG : flat/f003.txt: Open: flags=O_RDONLY 2026/03/03 01:22:07 DEBUG : flat/f003.txt: >Open: fd=flat/f003.txt (r), err= 2026/03/03 01:22:07 DEBUG : flat/f003.txt: Set virtual modtime to 2026-03-03 01:22:06 +0000 UTC 2026/03/03 01:22:07 DEBUG : flat/f003.txt: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:22:07 DEBUG : flat/f003.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/03 01:22:07 DEBUG : flat/f004.txt: Open: flags=O_RDONLY 2026/03/03 01:22:07 DEBUG : flat/f004.txt: >Open: fd=flat/f004.txt (r), err= 2026/03/03 01:22:07 DEBUG : flat/f004.txt: Set virtual modtime to 2026-03-03 01:22:06 +0000 UTC 2026/03/03 01:22:07 DEBUG : flat/f004.txt: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:22:07 DEBUG : flat/f004.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/03 01:22:07 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:22:07 DEBUG : flat: Looking for writers 2026/03/03 01:22:07 DEBUG : f000.txt: reading active writers 2026/03/03 01:22:07 DEBUG : f001.txt: reading active writers 2026/03/03 01:22:07 DEBUG : f002.txt: reading active writers 2026/03/03 01:22:07 DEBUG : f003.txt: reading active writers 2026/03/03 01:22:07 DEBUG : f004.txt: reading active writers 2026/03/03 01:22:07 DEBUG : Looking for writers 2026/03/03 01:22:07 DEBUG : flat: reading active writers 2026/03/03 01:22:07 DEBUG : >WaitForWriters: --- PASS: TestZipManyFiles (14.85s) === RUN TestZipManySubDirs run.go:185: Remote "mega root 'rclone-test-defokud8yoxa'", Local "Local file system at /tmp/rclone324183042", Modify Window "876000h0m0s" 2026/03/03 01:22:20 INFO : mega root 'rclone-test-defokud8yoxa': poll-interval is not supported by this remote 2026/03/03 01:22:20 NOTICE: mega root 'rclone-test-defokud8yoxa': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/03 01:22:27 DEBUG : a/b/c/deep.txt: Open: flags=O_RDONLY 2026/03/03 01:22:27 DEBUG : a/b/c/deep.txt: >Open: fd=a/b/c/deep.txt (r), err= 2026/03/03 01:22:27 DEBUG : a/b/c/deep.txt: Set virtual modtime to 2026-03-03 01:22:27 +0000 UTC 2026/03/03 01:22:27 DEBUG : a/b/c/deep.txt: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:22:27 DEBUG : a/b/c/deep.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/03 01:22:27 DEBUG : a/b/mid.txt: Open: flags=O_RDONLY 2026/03/03 01:22:27 DEBUG : a/b/mid.txt: >Open: fd=a/b/mid.txt (r), err= 2026/03/03 01:22:27 DEBUG : a/b/mid.txt: Set virtual modtime to 2026-03-03 01:22:22 +0000 UTC 2026/03/03 01:22:27 DEBUG : a/b/mid.txt: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:22:27 DEBUG : a/b/mid.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/03 01:22:28 DEBUG : a/top.txt: Open: flags=O_RDONLY 2026/03/03 01:22:28 DEBUG : a/top.txt: >Open: fd=a/top.txt (r), err= 2026/03/03 01:22:28 DEBUG : a/top.txt: Set virtual modtime to 2026-03-03 01:22:20 +0000 UTC 2026/03/03 01:22:28 DEBUG : a/top.txt: ChunkedReader.openRange at 0 length 134217728 2026/03/03 01:22:28 DEBUG : a/top.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2026/03/03 01:22:28 DEBUG : WaitForWriters: timeout=30s 2026/03/03 01:22:28 DEBUG : a/b/c: Looking for writers 2026/03/03 01:22:28 DEBUG : deep.txt: reading active writers 2026/03/03 01:22:28 DEBUG : a/b: Looking for writers 2026/03/03 01:22:28 DEBUG : c: reading active writers 2026/03/03 01:22:28 DEBUG : mid.txt: reading active writers 2026/03/03 01:22:28 DEBUG : a: Looking for writers 2026/03/03 01:22:28 DEBUG : b: reading active writers 2026/03/03 01:22:28 DEBUG : top.txt: reading active writers 2026/03/03 01:22:28 DEBUG : Looking for writers 2026/03/03 01:22:28 DEBUG : a: reading active writers 2026/03/03 01:22:28 DEBUG : >WaitForWriters: --- PASS: TestZipManySubDirs (9.23s) FAIL 2026/03/03 01:22:29 DEBUG : mega root 'rclone-test-defokud8yoxa': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestDirFileOpen|TestDirMetadataExtension|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleWriteAt|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestVFSMkdir|TestVFSOpenFile|TestWriteFileHandleMethods|TestZipManyFiles|TestZipManySubDirs)$|^TestDirReadDirAll$/^Virtual$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 6m12.344653409s (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]