"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestCaseSensitivity|TestFileReadAtZeroLength|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReleaseRead|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestVFSOpenFile|TestVFSStatParent|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileModTimeWithOpenWriters|TestZipLargeFiles|TestZipManyFiles|TestZipManySubDirs)$|^TestFileRename$/^(minimal,forceCache=false|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 5/5) 2025/11/22 02:24:18 DEBUG : Creating backend with remote "TestMega:rclone-test-midekeh1vomu" 2025/11/22 02:24:18 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/11/22 02:24:18 DEBUG : mega root 'rclone-test-midekeh1vomu': Using previously stored session ID and master key to initialize the Mega API 2025/11/22 02:24:39 DEBUG : Creating backend with remote "/tmp/rclone1736043585" === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:185: Remote "mega root 'rclone-test-midekeh1vomu'", Local "Local file system at /tmp/rclone1736043585", Modify Window "876000h0m0s" 2025/11/22 02:24:39 INFO : mega root 'rclone-test-midekeh1vomu': poll-interval is not supported by this remote 2025/11/22 02:24:39 NOTICE: mega root 'rclone-test-midekeh1vomu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/22 02:24:45 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:24:45 DEBUG : dir: Looking for writers 2025/11/22 02:24:45 DEBUG : file1: reading active writers 2025/11/22 02:24:45 DEBUG : Looking for writers 2025/11/22 02:24:45 DEBUG : dir: reading active writers 2025/11/22 02:24:45 DEBUG : >WaitForWriters: 2025/11/22 02:24:47 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/22 02:24:47 DEBUG : newLeaf: Updating file with newLeaf 0xc00148c180 2025/11/22 02:24:47 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/22 02:24:47 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "file1" 2025/11/22 02:24:54 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/11/22 02:24:54 DEBUG : dir/file1: Updating file with dir/file1 0xc00148c180 2025/11/22 02:24:54 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/11/22 02:24:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "dir/file1" 2025/11/22 02:25:01 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/11/22 02:25:01 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/11/22 02:25:01 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/22 02:25:01 DEBUG : dir/file1: File is currently open, delaying rename 0xc00148c180 2025/11/22 02:25:01 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/22 02:25:01 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/22 02:25:01 DEBUG : mega root 'rclone-test-midekeh1vomu': File to upload is small (25 bytes), uploading instead of streaming 2025/11/22 02:25:07 DEBUG : dir/file1: size = 25 OK 2025/11/22 02:25:07 NOTICE: mega root 'rclone-test-midekeh1vomu': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2025/11/22 02:25:07 DEBUG : dir/file1: Size of src and dst objects identical 2025/11/22 02:25:07 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/22 02:25:07 DEBUG : newLeaf: Running delayed rename now 2025/11/22 02:25:07 INFO : newLeaf: Deleted 2025/11/22 02:25:08 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/22 02:25:08 DEBUG : newLeaf: Updating file with newLeaf 0xc00148c180 2025/11/22 02:25:08 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:25:08 DEBUG : dir: Looking for writers 2025/11/22 02:25:08 DEBUG : Looking for writers 2025/11/22 02:25:08 DEBUG : newLeaf: reading active writers 2025/11/22 02:25:08 DEBUG : dir: reading active writers 2025/11/22 02:25:08 DEBUG : >WaitForWriters: 2025/11/22 02:25:08 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:25:08 DEBUG : dir: Looking for writers 2025/11/22 02:25:08 DEBUG : Looking for writers 2025/11/22 02:25:08 DEBUG : dir: reading active writers 2025/11/22 02:25:08 DEBUG : newLeaf: reading active writers 2025/11/22 02:25:08 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:185: Remote "mega root 'rclone-test-midekeh1vomu'", Local "Local file system at /tmp/rclone1736043585", Modify Window "876000h0m0s" 2025/11/22 02:25:10 INFO : mega root 'rclone-test-midekeh1vomu': poll-interval is not supported by this remote 2025/11/22 02:25:10 NOTICE: mega root 'rclone-test-midekeh1vomu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/22 02:25:10 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/22 02:25:10 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:25:10 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:25:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:25:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:25:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:25:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:25:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:25:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:25:10 INFO : mega root 'rclone-test-midekeh1vomu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/11/22 02:25:11 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:25:11 DEBUG : dir: Looking for writers 2025/11/22 02:25:11 DEBUG : file1: reading active writers 2025/11/22 02:25:11 DEBUG : Looking for writers 2025/11/22 02:25:11 DEBUG : dir: reading active writers 2025/11/22 02:25:11 DEBUG : >WaitForWriters: 2025/11/22 02:25:11 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/22 02:25:11 DEBUG : newLeaf: Updating file with newLeaf 0xc0001a1d40 2025/11/22 02:25:11 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/22 02:25:11 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "file1" 2025/11/22 02:25:24 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/11/22 02:25:24 DEBUG : dir/file1: Updating file with dir/file1 0xc0001a1d40 2025/11/22 02:25:24 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/11/22 02:25:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "dir/file1" 2025/11/22 02:25:31 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/11/22 02:25:31 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/11/22 02:25:31 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/22 02:25:31 DEBUG : dir/file1: File is currently open, delaying rename 0xc0001a1d40 2025/11/22 02:25:31 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/22 02:25:31 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/22 02:25:31 DEBUG : mega root 'rclone-test-midekeh1vomu': File to upload is small (25 bytes), uploading instead of streaming 2025/11/22 02:25:34 DEBUG : dir/file1: size = 25 OK 2025/11/22 02:25:34 DEBUG : dir/file1: Size of src and dst objects identical 2025/11/22 02:25:34 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/22 02:25:34 DEBUG : newLeaf: Running delayed rename now 2025/11/22 02:25:34 INFO : newLeaf: Deleted 2025/11/22 02:25:35 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/22 02:25:35 DEBUG : newLeaf: Updating file with newLeaf 0xc0001a1d40 2025/11/22 02:25:35 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:25:35 DEBUG : dir: Looking for writers 2025/11/22 02:25:35 DEBUG : Looking for writers 2025/11/22 02:25:35 DEBUG : dir: reading active writers 2025/11/22 02:25:35 DEBUG : newLeaf: reading active writers 2025/11/22 02:25:35 DEBUG : >WaitForWriters: 2025/11/22 02:25:35 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:25:35 DEBUG : dir: Looking for writers 2025/11/22 02:25:35 DEBUG : Looking for writers 2025/11/22 02:25:35 DEBUG : dir: reading active writers 2025/11/22 02:25:35 DEBUG : newLeaf: reading active writers 2025/11/22 02:25:35 DEBUG : >WaitForWriters: 2025/11/22 02:25:35 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:185: Remote "mega root 'rclone-test-midekeh1vomu'", Local "Local file system at /tmp/rclone1736043585", Modify Window "876000h0m0s" 2025/11/22 02:25:36 INFO : mega root 'rclone-test-midekeh1vomu': poll-interval is not supported by this remote 2025/11/22 02:25:36 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/22 02:25:36 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:25:36 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:25:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:25:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:25:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:25:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:25:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:25:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:25:36 INFO : mega root 'rclone-test-midekeh1vomu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/11/22 02:25:38 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:25:38 DEBUG : dir: Looking for writers 2025/11/22 02:25:38 DEBUG : file1: reading active writers 2025/11/22 02:25:38 DEBUG : Looking for writers 2025/11/22 02:25:38 DEBUG : dir: reading active writers 2025/11/22 02:25:38 DEBUG : >WaitForWriters: 2025/11/22 02:25:40 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/22 02:25:40 DEBUG : newLeaf: Updating file with newLeaf 0xc001b969c0 2025/11/22 02:25:40 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/22 02:25:40 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/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" 2025/11/22 02:25:48 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/11/22 02:25:48 DEBUG : dir/file1: Updating file with dir/file1 0xc001b969c0 2025/11/22 02:25:48 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/11/22 02:25:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/writes,forceCache=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" 2025/11/22 02:25:55 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/11/22 02:25:55 DEBUG : dir/file1: newRWFileHandle: 2025/11/22 02:25:55 DEBUG : dir/file1(0xc00172b700): openPending: 2025/11/22 02:25:55 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/11/22 02:25:55 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/11/22 02:25:55 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/22 02:25:55 DEBUG : dir/file1(0xc00172b700): >openPending: err= 2025/11/22 02:25:55 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/11/22 02:25:55 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/22 02:25:55 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/22 02:25:55 DEBUG : dir/file1(0xc00172b700): _writeAt: size=25, off=0 2025/11/22 02:25:55 DEBUG : dir/file1(0xc00172b700): >_writeAt: n=25, err= 2025/11/22 02:25:57 INFO : newLeaf: Deleted 2025/11/22 02:25:57 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/22 02:25:57 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/11/22 02:25:57 DEBUG : newLeaf: Updating file with newLeaf 0xc001b969c0 2025/11/22 02:25:57 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/22 02:25:57 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/22 02:25:57 DEBUG : newLeaf(0xc00172b700): close: 2025/11/22 02:25:57 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/11/22 02:25:57 DEBUG : newLeaf: vfs cache: setting modification time to 2025-11-22 02:25:55.183779834 +0000 UTC m=+96.322621644 2025/11/22 02:25:57 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/11/22 02:25:57 DEBUG : newLeaf(0xc00172b700): >close: err= 2025/11/22 02:25:57 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:25:57 DEBUG : dir: Looking for writers 2025/11/22 02:25:57 DEBUG : Looking for writers 2025/11/22 02:25:57 DEBUG : dir: reading active writers 2025/11/22 02:25:57 DEBUG : newLeaf: reading active writers 2025/11/22 02:25:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/11/22 02:25:57 DEBUG : dir: Looking for writers 2025/11/22 02:25:57 DEBUG : Looking for writers 2025/11/22 02:25:57 DEBUG : dir: reading active writers 2025/11/22 02:25:57 DEBUG : newLeaf: reading active writers 2025/11/22 02:25:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/11/22 02:25:57 DEBUG : dir: Looking for writers 2025/11/22 02:25:57 DEBUG : Looking for writers 2025/11/22 02:25:57 DEBUG : dir: reading active writers 2025/11/22 02:25:57 DEBUG : newLeaf: reading active writers 2025/11/22 02:25:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/11/22 02:25:57 DEBUG : dir: Looking for writers 2025/11/22 02:25:57 DEBUG : Looking for writers 2025/11/22 02:25:57 DEBUG : dir: reading active writers 2025/11/22 02:25:57 DEBUG : newLeaf: reading active writers 2025/11/22 02:25:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/11/22 02:25:57 DEBUG : newLeaf: vfs cache: starting upload 2025/11/22 02:25:57 DEBUG : dir: Looking for writers 2025/11/22 02:25:57 DEBUG : Looking for writers 2025/11/22 02:25:57 DEBUG : dir: reading active writers 2025/11/22 02:25:57 DEBUG : newLeaf: reading active writers 2025/11/22 02:25:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/11/22 02:25:57 DEBUG : dir: Looking for writers 2025/11/22 02:25:57 DEBUG : Looking for writers 2025/11/22 02:25:57 DEBUG : dir: reading active writers 2025/11/22 02:25:57 DEBUG : newLeaf: reading active writers 2025/11/22 02:25:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/11/22 02:25:57 DEBUG : dir: Looking for writers 2025/11/22 02:25:57 DEBUG : Looking for writers 2025/11/22 02:25:57 DEBUG : dir: reading active writers 2025/11/22 02:25:57 DEBUG : newLeaf: reading active writers 2025/11/22 02:25:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/11/22 02:25:58 DEBUG : dir: Looking for writers 2025/11/22 02:25:58 DEBUG : Looking for writers 2025/11/22 02:25:58 DEBUG : dir: reading active writers 2025/11/22 02:25:58 DEBUG : newLeaf: reading active writers 2025/11/22 02:25:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:25:59 DEBUG : newLeaf: size = 25 OK 2025/11/22 02:25:59 INFO : newLeaf: Copied (replaced existing) 2025/11/22 02:25:59 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/11/22 02:25:59 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/11/22 02:25:59 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/22 02:25:59 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/11/22 02:25:59 DEBUG : dir: Looking for writers 2025/11/22 02:25:59 DEBUG : Looking for writers 2025/11/22 02:25:59 DEBUG : newLeaf: reading active writers 2025/11/22 02:25:59 DEBUG : dir: reading active writers 2025/11/22 02:25:59 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure 2025/11/22 02:26:06 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:26:06 DEBUG : dir: Looking for writers 2025/11/22 02:26:06 DEBUG : Looking for writers 2025/11/22 02:26:06 DEBUG : dir: reading active writers 2025/11/22 02:26:06 DEBUG : newLeaf: reading active writers 2025/11/22 02:26:06 DEBUG : >WaitForWriters: 2025/11/22 02:26:06 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:185: Remote "mega root 'rclone-test-midekeh1vomu'", Local "Local file system at /tmp/rclone1736043585", Modify Window "876000h0m0s" 2025/11/22 02:26:06 INFO : mega root 'rclone-test-midekeh1vomu': poll-interval is not supported by this remote 2025/11/22 02:26:06 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/22 02:26:06 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:06 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:26:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:26:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:06 INFO : mega root 'rclone-test-midekeh1vomu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/11/22 02:26:09 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/11/22 02:26:09 DEBUG : dir/file1: newRWFileHandle: 2025/11/22 02:26:09 DEBUG : dir/file1(0xc001f0f0c0): openPending: 2025/11/22 02:26:09 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/11/22 02:26:09 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/11/22 02:26:09 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/22 02:26:09 DEBUG : dir/file1(0xc001f0f0c0): >openPending: err= 2025/11/22 02:26:09 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/11/22 02:26:09 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/22 02:26:09 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/22 02:26:09 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/22 02:26:09 DEBUG : dir/file1(0xc001f0f0c0): _writeAt: size=14, off=0 2025/11/22 02:26:09 DEBUG : dir/file1(0xc001f0f0c0): >_writeAt: n=14, err= 2025/11/22 02:26:09 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/11/22 02:26:09 DEBUG : dir/file1(0xc001f0f0c0): close: 2025/11/22 02:26:09 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/11/22 02:26:09 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/11/22 02:26:09 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/11/22 02:26:09 DEBUG : dir/file1(0xc001f0f0c0): >close: err= 2025/11/22 02:26:09 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:26:09 DEBUG : dir: Looking for writers 2025/11/22 02:26:09 DEBUG : file1: reading active writers 2025/11/22 02:26:09 DEBUG : Looking for writers 2025/11/22 02:26:09 DEBUG : dir: reading active writers 2025/11/22 02:26:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/11/22 02:26:09 DEBUG : dir: Looking for writers 2025/11/22 02:26:09 DEBUG : file1: reading active writers 2025/11/22 02:26:09 DEBUG : Looking for writers 2025/11/22 02:26:09 DEBUG : dir: reading active writers 2025/11/22 02:26:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/11/22 02:26:09 DEBUG : dir: Looking for writers 2025/11/22 02:26:09 DEBUG : file1: reading active writers 2025/11/22 02:26:09 DEBUG : Looking for writers 2025/11/22 02:26:09 DEBUG : dir: reading active writers 2025/11/22 02:26:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/11/22 02:26:09 DEBUG : dir: Looking for writers 2025/11/22 02:26:09 DEBUG : file1: reading active writers 2025/11/22 02:26:09 DEBUG : Looking for writers 2025/11/22 02:26:09 DEBUG : dir: reading active writers 2025/11/22 02:26:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/11/22 02:26:09 DEBUG : dir/file1: vfs cache: starting upload 2025/11/22 02:26:09 DEBUG : dir: Looking for writers 2025/11/22 02:26:09 DEBUG : file1: reading active writers 2025/11/22 02:26:09 DEBUG : Looking for writers 2025/11/22 02:26:09 DEBUG : dir: reading active writers 2025/11/22 02:26:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/11/22 02:26:09 DEBUG : dir: Looking for writers 2025/11/22 02:26:09 DEBUG : file1: reading active writers 2025/11/22 02:26:09 DEBUG : Looking for writers 2025/11/22 02:26:09 DEBUG : dir: reading active writers 2025/11/22 02:26:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/11/22 02:26:09 DEBUG : dir/file1: size = 14 OK 2025/11/22 02:26:09 INFO : dir/file1: Copied (replaced existing) 2025/11/22 02:26:09 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/11/22 02:26:09 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/11/22 02:26:09 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/22 02:26:09 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/11/22 02:26:09 DEBUG : dir: Looking for writers 2025/11/22 02:26:09 DEBUG : file1: reading active writers 2025/11/22 02:26:09 DEBUG : Looking for writers 2025/11/22 02:26:09 DEBUG : dir: reading active writers 2025/11/22 02:26:09 DEBUG : >WaitForWriters: 2025/11/22 02:26:09 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/11/22 02:26:09 DEBUG : dir/file1: newRWFileHandle: 2025/11/22 02:26:09 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/22 02:26:09 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/22 02:26:09 DEBUG : dir/file1(0xc002021b00): _readAt: size=512, off=0 2025/11/22 02:26:09 DEBUG : dir/file1(0xc002021b00): openPending: 2025/11/22 02:26:09 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/11/22 02:26:09 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/11/22 02:26:09 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/22 02:26:09 DEBUG : dir/file1(0xc002021b00): >openPending: err= 2025/11/22 02:26:09 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/11/22 02:26:09 DEBUG : dir/file1(0xc002021b00): >_readAt: n=14, err=EOF 2025/11/22 02:26:09 DEBUG : dir/file1(0xc002021b00): close: 2025/11/22 02:26:09 DEBUG : dir/file1: vfs cache: setting modification time to 2025-11-22 02:26:09 +0000 UTC 2025/11/22 02:26:09 DEBUG : dir/file1(0xc002021b00): >close: err= 2025/11/22 02:26:10 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/22 02:26:10 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/11/22 02:26:10 DEBUG : newLeaf: Updating file with newLeaf 0xc0003b8e40 2025/11/22 02:26:10 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/22 02:26:10 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/22 02:26:12 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/11/22 02:26:12 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/11/22 02:26:12 DEBUG : dir/file1: Updating file with dir/file1 0xc0003b8e40 2025/11/22 02:26:12 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/11/22 02:26:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "dir/file1" 2025/11/22 02:26:19 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/11/22 02:26:19 DEBUG : dir/file1: newRWFileHandle: 2025/11/22 02:26:19 DEBUG : dir/file1(0xc0022de100): openPending: 2025/11/22 02:26:19 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/11/22 02:26:19 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/11/22 02:26:19 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/22 02:26:19 DEBUG : dir/file1(0xc0022de100): >openPending: err= 2025/11/22 02:26:19 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/11/22 02:26:19 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/22 02:26:19 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/22 02:26:19 DEBUG : dir/file1(0xc0022de100): _writeAt: size=25, off=0 2025/11/22 02:26:19 DEBUG : dir/file1(0xc0022de100): >_writeAt: n=25, err= 2025/11/22 02:26:20 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/22 02:26:20 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/11/22 02:26:20 DEBUG : newLeaf: Updating file with newLeaf 0xc0003b8e40 2025/11/22 02:26:20 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/22 02:26:20 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/22 02:26:20 DEBUG : newLeaf(0xc0022de100): close: 2025/11/22 02:26:20 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/11/22 02:26:20 DEBUG : newLeaf: vfs cache: setting modification time to 2025-11-22 02:26:19.379842074 +0000 UTC m=+120.518683924 2025/11/22 02:26:20 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/11/22 02:26:20 DEBUG : newLeaf(0xc0022de100): >close: err= 2025/11/22 02:26:20 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:26:20 DEBUG : dir: Looking for writers 2025/11/22 02:26:20 DEBUG : Looking for writers 2025/11/22 02:26:20 DEBUG : dir: reading active writers 2025/11/22 02:26:20 DEBUG : newLeaf: reading active writers 2025/11/22 02:26:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/11/22 02:26:20 DEBUG : dir: Looking for writers 2025/11/22 02:26:20 DEBUG : Looking for writers 2025/11/22 02:26:20 DEBUG : dir: reading active writers 2025/11/22 02:26:20 DEBUG : newLeaf: reading active writers 2025/11/22 02:26:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/11/22 02:26:20 DEBUG : dir: Looking for writers 2025/11/22 02:26:20 DEBUG : Looking for writers 2025/11/22 02:26:20 DEBUG : dir: reading active writers 2025/11/22 02:26:20 DEBUG : newLeaf: reading active writers 2025/11/22 02:26:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/11/22 02:26:20 DEBUG : dir: Looking for writers 2025/11/22 02:26:20 DEBUG : Looking for writers 2025/11/22 02:26:20 DEBUG : dir: reading active writers 2025/11/22 02:26:20 DEBUG : newLeaf: reading active writers 2025/11/22 02:26:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/11/22 02:26:20 DEBUG : newLeaf: vfs cache: starting upload 2025/11/22 02:26:20 DEBUG : dir: Looking for writers 2025/11/22 02:26:20 DEBUG : Looking for writers 2025/11/22 02:26:20 DEBUG : dir: reading active writers 2025/11/22 02:26:20 DEBUG : newLeaf: reading active writers 2025/11/22 02:26:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/11/22 02:26:20 DEBUG : dir: Looking for writers 2025/11/22 02:26:20 DEBUG : Looking for writers 2025/11/22 02:26:20 DEBUG : dir: reading active writers 2025/11/22 02:26:20 DEBUG : newLeaf: reading active writers 2025/11/22 02:26:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/11/22 02:26:20 DEBUG : dir: Looking for writers 2025/11/22 02:26:20 DEBUG : Looking for writers 2025/11/22 02:26:20 DEBUG : dir: reading active writers 2025/11/22 02:26:20 DEBUG : newLeaf: reading active writers 2025/11/22 02:26:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/11/22 02:26:21 DEBUG : dir: Looking for writers 2025/11/22 02:26:21 DEBUG : Looking for writers 2025/11/22 02:26:21 DEBUG : dir: reading active writers 2025/11/22 02:26:21 DEBUG : newLeaf: reading active writers 2025/11/22 02:26:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:26:21 DEBUG : newLeaf: size = 25 OK 2025/11/22 02:26:21 INFO : newLeaf: Copied (replaced existing) 2025/11/22 02:26:21 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/11/22 02:26:21 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/11/22 02:26:21 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/22 02:26:21 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/11/22 02:26:22 DEBUG : dir: Looking for writers 2025/11/22 02:26:22 DEBUG : Looking for writers 2025/11/22 02:26:22 DEBUG : dir: reading active writers 2025/11/22 02:26:22 DEBUG : newLeaf: reading active writers 2025/11/22 02:26:22 DEBUG : >WaitForWriters: 2025/11/22 02:26:22 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:26:22 DEBUG : dir: Looking for writers 2025/11/22 02:26:22 DEBUG : Looking for writers 2025/11/22 02:26:22 DEBUG : dir: reading active writers 2025/11/22 02:26:22 DEBUG : newLeaf: reading active writers 2025/11/22 02:26:22 DEBUG : >WaitForWriters: 2025/11/22 02:26:22 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: cleaner exiting --- FAIL: TestFileRename (103.85s) --- FAIL: TestFileRename/off,forceCache=false (31.66s) --- FAIL: TestFileRename/minimal,forceCache=false (25.37s) --- FAIL: TestFileRename/writes,forceCache=false (30.89s) --- FAIL: TestFileRename/writes,forceCache=true (15.94s) === RUN TestRWFileHandleMethodsRead run.go:185: Remote "mega root 'rclone-test-midekeh1vomu'", Local "Local file system at /tmp/rclone1736043585", Modify Window "876000h0m0s" 2025/11/22 02:26:22 INFO : mega root 'rclone-test-midekeh1vomu': poll-interval is not supported by this remote 2025/11/22 02:26:22 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/22 02:26:22 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:22 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:22 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:26:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:22 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:26:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:22 INFO : mega root 'rclone-test-midekeh1vomu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/11/22 02:26:26 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:26:26 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/11/22 02:26:26 DEBUG : dir/file1: newRWFileHandle: 2025/11/22 02:26:26 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/22 02:26:26 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/22 02:26:26 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/11/22 02:26:26 DEBUG : dir/file1(0xc002600a40): _readAt: size=1, off=0 2025/11/22 02:26:26 DEBUG : dir/file1(0xc002600a40): openPending: 2025/11/22 02:26:26 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2025/11/22 02:26:26 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/11/22 02:26:26 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/22 02:26:26 DEBUG : dir/file1(0xc002600a40): >openPending: err= 2025/11/22 02:26:26 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/11/22 02:26:26 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/11/22 02:26:26 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/22 02:26:26 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:26:26 DEBUG : dir/file1(0xc002600a40): >_readAt: n=1, err= 2025/11/22 02:26:26 DEBUG : dir/file1(0xc002600a40): _readAt: size=256, off=1 2025/11/22 02:26:26 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2025/11/22 02:26:26 DEBUG : dir/file1(0xc002600a40): >_readAt: n=15, err=EOF 2025/11/22 02:26:26 DEBUG : dir/file1(0xc002600a40): _readAt: size=16, off=16 2025/11/22 02:26:26 DEBUG : dir/file1(0xc002600a40): >_readAt: n=0, err=EOF 2025/11/22 02:26:26 DEBUG : dir/file1(0xc002600a40): close: 2025/11/22 02:26:26 DEBUG : dir/file1: vfs cache: setting modification time to 2025-11-22 02:26:25 +0000 UTC 2025/11/22 02:26:26 DEBUG : dir/file1(0xc002600a40): >close: err= 2025/11/22 02:26:26 DEBUG : dir/file1(0xc002600a40): close: 2025/11/22 02:26:26 DEBUG : dir/file1(0xc002600a40): >close: err=file already closed 2025/11/22 02:26:26 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:26:26 DEBUG : dir: Looking for writers 2025/11/22 02:26:26 DEBUG : file1: reading active writers 2025/11/22 02:26:26 DEBUG : Looking for writers 2025/11/22 02:26:26 DEBUG : dir: reading active writers 2025/11/22 02:26:26 DEBUG : >WaitForWriters: 2025/11/22 02:26:26 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsRead (6.09s) === RUN TestRWFileHandleReleaseRead run.go:185: Remote "mega root 'rclone-test-midekeh1vomu'", Local "Local file system at /tmp/rclone1736043585", Modify Window "876000h0m0s" 2025/11/22 02:26:29 INFO : mega root 'rclone-test-midekeh1vomu': poll-interval is not supported by this remote 2025/11/22 02:26:29 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/22 02:26:29 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:29 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:26:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:26:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:29 INFO : mega root 'rclone-test-midekeh1vomu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/11/22 02:26:31 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:26:31 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/11/22 02:26:31 DEBUG : dir/file1: newRWFileHandle: 2025/11/22 02:26:31 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/22 02:26:31 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/22 02:26:31 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/11/22 02:26:31 DEBUG : dir/file1(0xc002601800): _readAt: size=256, off=0 2025/11/22 02:26:31 DEBUG : dir/file1(0xc002601800): openPending: 2025/11/22 02:26:31 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2025/11/22 02:26:31 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/11/22 02:26:31 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/22 02:26:31 DEBUG : dir/file1(0xc002601800): >openPending: err= 2025/11/22 02:26:31 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/11/22 02:26:31 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/11/22 02:26:31 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/22 02:26:31 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:26:31 DEBUG : dir/file1(0xc002601800): >_readAt: n=16, err=EOF 2025/11/22 02:26:31 DEBUG : dir/file1(0xc002601800): RWFileHandle.Release 2025/11/22 02:26:31 DEBUG : dir/file1(0xc002601800): close: 2025/11/22 02:26:31 DEBUG : dir/file1: vfs cache: setting modification time to 2025-11-22 02:26:31 +0000 UTC 2025/11/22 02:26:31 DEBUG : dir/file1(0xc002601800): >close: err= 2025/11/22 02:26:31 DEBUG : dir/file1(0xc002601800): RWFileHandle.Release 2025/11/22 02:26:31 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:26:31 DEBUG : dir: Looking for writers 2025/11/22 02:26:31 DEBUG : file1: reading active writers 2025/11/22 02:26:31 DEBUG : Looking for writers 2025/11/22 02:26:31 DEBUG : dir: reading active writers 2025/11/22 02:26:31 DEBUG : >WaitForWriters: 2025/11/22 02:26:31 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseRead (5.22s) === RUN TestRWFileHandleMethodsWrite run.go:185: Remote "mega root 'rclone-test-midekeh1vomu'", Local "Local file system at /tmp/rclone1736043585", Modify Window "876000h0m0s" 2025/11/22 02:26:34 INFO : mega root 'rclone-test-midekeh1vomu': poll-interval is not supported by this remote 2025/11/22 02:26:34 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/22 02:26:34 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:34 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:34 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:26:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:34 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:26:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:34 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:26:34 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/22 02:26:34 DEBUG : file1: newRWFileHandle: 2025/11/22 02:26:34 DEBUG : file1(0xc0024bf980): openPending: 2025/11/22 02:26:34 INFO : mega root 'rclone-test-midekeh1vomu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/11/22 02:26:34 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/11/22 02:26:34 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:26:34 DEBUG : file1(0xc0024bf980): >openPending: err= 2025/11/22 02:26:34 DEBUG : file1: >newRWFileHandle: err= 2025/11/22 02:26:34 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:26:34 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/11/22 02:26:34 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/11/22 02:26:34 DEBUG : file1(0xc0024bf980): _writeAt: size=5, off=0 2025/11/22 02:26:34 DEBUG : file1(0xc0024bf980): >_writeAt: n=5, err= 2025/11/22 02:26:34 DEBUG : file1(0xc0024bf980): _writeAt: size=7, off=5 2025/11/22 02:26:34 DEBUG : file1(0xc0024bf980): >_writeAt: n=7, err= 2025/11/22 02:26:34 DEBUG : file1: vfs cache: truncate to size=11 2025/11/22 02:26:34 DEBUG : file1(0xc0024bf980): close: 2025/11/22 02:26:34 DEBUG : file1: vfs cache: setting modification time to 2025-11-22 02:26:34.242366569 +0000 UTC m=+135.381208379 2025/11/22 02:26:34 INFO : file1: vfs cache: queuing for upload in 100ms 2025/11/22 02:26:34 DEBUG : file1(0xc0024bf980): >close: err= 2025/11/22 02:26:34 DEBUG : file1(0xc0024bf980): close: 2025/11/22 02:26:34 DEBUG : file1(0xc0024bf980): >close: err=file already closed 2025/11/22 02:26:34 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:26:34 DEBUG : Looking for writers 2025/11/22 02:26:34 DEBUG : file1: reading active writers 2025/11/22 02:26:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/11/22 02:26:34 DEBUG : Looking for writers 2025/11/22 02:26:34 DEBUG : file1: reading active writers 2025/11/22 02:26:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/11/22 02:26:34 DEBUG : Looking for writers 2025/11/22 02:26:34 DEBUG : file1: reading active writers 2025/11/22 02:26:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/11/22 02:26:34 DEBUG : Looking for writers 2025/11/22 02:26:34 DEBUG : file1: reading active writers 2025/11/22 02:26:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/11/22 02:26:34 DEBUG : file1: vfs cache: starting upload 2025/11/22 02:26:34 DEBUG : Looking for writers 2025/11/22 02:26:34 DEBUG : file1: reading active writers 2025/11/22 02:26:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/11/22 02:26:34 DEBUG : Looking for writers 2025/11/22 02:26:34 DEBUG : file1: reading active writers 2025/11/22 02:26:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/11/22 02:26:34 DEBUG : Looking for writers 2025/11/22 02:26:34 DEBUG : file1: reading active writers 2025/11/22 02:26:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/11/22 02:26:35 DEBUG : Looking for writers 2025/11/22 02:26:35 DEBUG : file1: reading active writers 2025/11/22 02:26:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:26:35 DEBUG : file1: size = 11 OK 2025/11/22 02:26:35 INFO : file1: Copied (new) 2025/11/22 02:26:35 DEBUG : file1: vfs cache: fingerprint now "11" 2025/11/22 02:26:35 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/11/22 02:26:35 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:26:35 INFO : file1: vfs cache: upload succeeded try #1 2025/11/22 02:26:36 DEBUG : Looking for writers 2025/11/22 02:26:36 DEBUG : file1: reading active writers 2025/11/22 02:26:36 DEBUG : >WaitForWriters: 2025/11/22 02:26:36 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:26:36 DEBUG : Looking for writers 2025/11/22 02:26:36 DEBUG : file1: reading active writers 2025/11/22 02:26:36 DEBUG : >WaitForWriters: 2025/11/22 02:26:36 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsWrite (2.35s) === RUN TestRWFileHandleWriteAt run.go:185: Remote "mega root 'rclone-test-midekeh1vomu'", Local "Local file system at /tmp/rclone1736043585", Modify Window "876000h0m0s" 2025/11/22 02:26:36 INFO : mega root 'rclone-test-midekeh1vomu': poll-interval is not supported by this remote 2025/11/22 02:26:36 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/22 02:26:36 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:36 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:26:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:26:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:36 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:26:36 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/22 02:26:36 DEBUG : file1: newRWFileHandle: 2025/11/22 02:26:36 DEBUG : file1(0xc002c061c0): openPending: 2025/11/22 02:26:36 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/11/22 02:26:36 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/11/22 02:26:36 INFO : mega root 'rclone-test-midekeh1vomu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 0 (was 0) 2025/11/22 02:26:36 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:26:36 DEBUG : file1(0xc002c061c0): >openPending: err= 2025/11/22 02:26:36 DEBUG : file1: >newRWFileHandle: err= 2025/11/22 02:26:36 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:26:36 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/11/22 02:26:36 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/11/22 02:26:36 DEBUG : file1(0xc002c061c0): _writeAt: size=7, off=0 2025/11/22 02:26:36 DEBUG : file1(0xc002c061c0): >_writeAt: n=7, err= 2025/11/22 02:26:36 DEBUG : file1(0xc002c061c0): _writeAt: size=6, off=5 2025/11/22 02:26:36 DEBUG : file1(0xc002c061c0): >_writeAt: n=6, err= 2025/11/22 02:26:36 DEBUG : file1(0xc002c061c0): close: 2025/11/22 02:26:36 DEBUG : file1: vfs cache: setting modification time to 2025-11-22 02:26:36.617872025 +0000 UTC m=+137.756713834 2025/11/22 02:26:36 INFO : file1: vfs cache: queuing for upload in 100ms 2025/11/22 02:26:36 DEBUG : file1(0xc002c061c0): >close: err= 2025/11/22 02:26:36 DEBUG : file1(0xc002c061c0): _writeAt: size=5, off=0 2025/11/22 02:26:36 DEBUG : file1(0xc002c061c0): >_writeAt: n=0, err=file already closed 2025/11/22 02:26:36 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:26:36 DEBUG : Looking for writers 2025/11/22 02:26:36 DEBUG : file1: reading active writers 2025/11/22 02:26:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/11/22 02:26:36 DEBUG : Looking for writers 2025/11/22 02:26:36 DEBUG : file1: reading active writers 2025/11/22 02:26:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/11/22 02:26:36 DEBUG : Looking for writers 2025/11/22 02:26:36 DEBUG : file1: reading active writers 2025/11/22 02:26:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/11/22 02:26:36 DEBUG : Looking for writers 2025/11/22 02:26:36 DEBUG : file1: reading active writers 2025/11/22 02:26:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/11/22 02:26:36 DEBUG : file1: vfs cache: starting upload 2025/11/22 02:26:36 DEBUG : Looking for writers 2025/11/22 02:26:36 DEBUG : file1: reading active writers 2025/11/22 02:26:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/11/22 02:26:36 DEBUG : Looking for writers 2025/11/22 02:26:36 DEBUG : file1: reading active writers 2025/11/22 02:26:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/11/22 02:26:37 DEBUG : Looking for writers 2025/11/22 02:26:37 DEBUG : file1: reading active writers 2025/11/22 02:26:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/11/22 02:26:37 DEBUG : Looking for writers 2025/11/22 02:26:37 DEBUG : file1: reading active writers 2025/11/22 02:26:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:26:38 DEBUG : file1: size = 11 OK 2025/11/22 02:26:38 INFO : file1: Copied (new) 2025/11/22 02:26:38 DEBUG : file1: vfs cache: fingerprint now "11" 2025/11/22 02:26:38 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/11/22 02:26:38 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:26:38 INFO : file1: vfs cache: upload succeeded try #1 2025/11/22 02:26:38 DEBUG : Looking for writers 2025/11/22 02:26:38 DEBUG : file1: reading active writers 2025/11/22 02:26:38 DEBUG : >WaitForWriters: 2025/11/22 02:26:38 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:26:38 DEBUG : Looking for writers 2025/11/22 02:26:38 DEBUG : file1: reading active writers 2025/11/22 02:26:38 DEBUG : >WaitForWriters: 2025/11/22 02:26:38 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleWriteAt (2.38s) === RUN TestRWFileHandleWriteNoWrite run.go:185: Remote "mega root 'rclone-test-midekeh1vomu'", Local "Local file system at /tmp/rclone1736043585", Modify Window "876000h0m0s" 2025/11/22 02:26:38 INFO : mega root 'rclone-test-midekeh1vomu': poll-interval is not supported by this remote 2025/11/22 02:26:38 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/22 02:26:38 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:38 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:38 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:26:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:38 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:26:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:38 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:26:38 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/22 02:26:38 DEBUG : file1: newRWFileHandle: 2025/11/22 02:26:38 DEBUG : file1(0xc0003c6d40): openPending: 2025/11/22 02:26:38 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/11/22 02:26:38 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:26:38 DEBUG : file1(0xc0003c6d40): >openPending: err= 2025/11/22 02:26:38 DEBUG : file1: >newRWFileHandle: err= 2025/11/22 02:26:38 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:26:38 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/11/22 02:26:38 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/11/22 02:26:38 DEBUG : file1(0xc0003c6d40): close: 2025/11/22 02:26:38 DEBUG : file1: vfs cache: setting modification time to 2025-11-22 02:26:38.968936621 +0000 UTC m=+140.107778431 2025/11/22 02:26:38 INFO : file1: vfs cache: queuing for upload in 100ms 2025/11/22 02:26:38 DEBUG : file1(0xc0003c6d40): >close: err= 2025/11/22 02:26:38 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/11/22 02:26:38 INFO : mega root 'rclone-test-midekeh1vomu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 0 (was 0) 2025/11/22 02:26:38 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/11/22 02:26:38 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/11/22 02:26:38 DEBUG : file2: newRWFileHandle: 2025/11/22 02:26:38 DEBUG : file2(0xc0003c71c0): openPending: 2025/11/22 02:26:38 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2025/11/22 02:26:38 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/11/22 02:26:38 DEBUG : file2(0xc0003c71c0): >openPending: err= 2025/11/22 02:26:38 DEBUG : file2: >newRWFileHandle: err= 2025/11/22 02:26:38 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/11/22 02:26:38 DEBUG : file2: >Open: fd=file2 (rw), err= 2025/11/22 02:26:38 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2025/11/22 02:26:38 DEBUG : file2(0xc0003c71c0): RWFileHandle.Flush 2025/11/22 02:26:38 DEBUG : file2(0xc0003c71c0): RWFileHandle.Release 2025/11/22 02:26:38 DEBUG : file2(0xc0003c71c0): close: 2025/11/22 02:26:38 DEBUG : file2: vfs cache: setting modification time to 2025-11-22 02:26:38.976978604 +0000 UTC m=+140.115820414 2025/11/22 02:26:38 INFO : file2: vfs cache: queuing for upload in 100ms 2025/11/22 02:26:38 DEBUG : file2(0xc0003c71c0): >close: err= 2025/11/22 02:26:38 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:26:38 DEBUG : Looking for writers 2025/11/22 02:26:38 DEBUG : file1: reading active writers 2025/11/22 02:26:38 DEBUG : file2: reading active writers 2025/11/22 02:26:38 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/11/22 02:26:38 DEBUG : Looking for writers 2025/11/22 02:26:38 DEBUG : file1: reading active writers 2025/11/22 02:26:38 DEBUG : file2: reading active writers 2025/11/22 02:26:38 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/11/22 02:26:39 DEBUG : Looking for writers 2025/11/22 02:26:39 DEBUG : file2: reading active writers 2025/11/22 02:26:39 DEBUG : file1: reading active writers 2025/11/22 02:26:39 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/11/22 02:26:39 DEBUG : Looking for writers 2025/11/22 02:26:39 DEBUG : file1: reading active writers 2025/11/22 02:26:39 DEBUG : file2: reading active writers 2025/11/22 02:26:39 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/11/22 02:26:39 DEBUG : file1: vfs cache: starting upload 2025/11/22 02:26:39 DEBUG : file2: vfs cache: starting upload 2025/11/22 02:26:39 DEBUG : Looking for writers 2025/11/22 02:26:39 DEBUG : file1: reading active writers 2025/11/22 02:26:39 DEBUG : file2: reading active writers 2025/11/22 02:26:39 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/11/22 02:26:39 DEBUG : Looking for writers 2025/11/22 02:26:39 DEBUG : file1: reading active writers 2025/11/22 02:26:39 DEBUG : file2: reading active writers 2025/11/22 02:26:39 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/11/22 02:26:39 DEBUG : Looking for writers 2025/11/22 02:26:39 DEBUG : file1: reading active writers 2025/11/22 02:26:39 DEBUG : file2: reading active writers 2025/11/22 02:26:39 DEBUG : Still 0 writers active and 2 cache items in use, waiting 640ms 2025/11/22 02:26:40 DEBUG : Looking for writers 2025/11/22 02:26:40 DEBUG : file2: reading active writers 2025/11/22 02:26:40 DEBUG : file1: reading active writers 2025/11/22 02:26:40 DEBUG : Still 0 writers active and 2 cache items in use, waiting 1s 2025/11/22 02:26:41 DEBUG : file1: size = 0 OK 2025/11/22 02:26:41 INFO : file1: Copied (new) 2025/11/22 02:26:41 DEBUG : file1: vfs cache: fingerprint now "0" 2025/11/22 02:26:41 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/11/22 02:26:41 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:26:41 INFO : file1: vfs cache: upload succeeded try #1 2025/11/22 02:26:41 DEBUG : Looking for writers 2025/11/22 02:26:41 DEBUG : file1: reading active writers 2025/11/22 02:26:41 DEBUG : file2: reading active writers 2025/11/22 02:26:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:26:42 DEBUG : Looking for writers 2025/11/22 02:26:42 DEBUG : file1: reading active writers 2025/11/22 02:26:42 DEBUG : file2: reading active writers 2025/11/22 02:26:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:26:43 DEBUG : Looking for writers 2025/11/22 02:26:43 DEBUG : file1: reading active writers 2025/11/22 02:26:43 DEBUG : file2: reading active writers 2025/11/22 02:26:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:26:43 DEBUG : file2: size = 0 OK 2025/11/22 02:26:43 INFO : file2: Copied (new) 2025/11/22 02:26:43 DEBUG : file2: vfs cache: fingerprint now "0" 2025/11/22 02:26:43 DEBUG : file2: vfs cache: writeback object to VFS layer 2025/11/22 02:26:43 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/11/22 02:26:43 INFO : file2: vfs cache: upload succeeded try #1 2025/11/22 02:26:44 DEBUG : Looking for writers 2025/11/22 02:26:44 DEBUG : file1: reading active writers 2025/11/22 02:26:44 DEBUG : file2: reading active writers 2025/11/22 02:26:44 DEBUG : >WaitForWriters: 2025/11/22 02:26:44 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:26:44 DEBUG : Looking for writers 2025/11/22 02:26:44 DEBUG : file1: reading active writers 2025/11/22 02:26:44 DEBUG : file2: reading active writers 2025/11/22 02:26:44 DEBUG : >WaitForWriters: 2025/11/22 02:26:44 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleWriteNoWrite (6.92s) === RUN TestRWFileModTimeWithOpenWriters run.go:185: Remote "mega root 'rclone-test-midekeh1vomu'", Local "Local file system at /tmp/rclone1736043585", Modify Window "876000h0m0s" 2025/11/22 02:26:45 INFO : mega root 'rclone-test-midekeh1vomu': poll-interval is not supported by this remote 2025/11/22 02:26:45 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/22 02:26:45 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:45 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:45 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:45 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:26:45 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:45 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:45 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:26:45 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-midekeh1vomu" 2025/11/22 02:26:45 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:26:45 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/22 02:26:45 DEBUG : file1: newRWFileHandle: 2025/11/22 02:26:45 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/11/22 02:26:45 INFO : mega root 'rclone-test-midekeh1vomu': vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/11/22 02:26:45 DEBUG : file1(0xc000669a80): openPending: 2025/11/22 02:26:45 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/11/22 02:26:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:26:45 DEBUG : file1(0xc000669a80): >openPending: err= 2025/11/22 02:26:45 DEBUG : file1: >newRWFileHandle: err= 2025/11/22 02:26:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:26:45 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/11/22 02:26:45 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/11/22 02:26:48 DEBUG : Can set mod time: false read_write_test.go:655: can't set mod time 2025/11/22 02:26:48 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:26:48 DEBUG : Looking for writers 2025/11/22 02:26:48 DEBUG : file1: reading active writers 2025/11/22 02:26:48 DEBUG : file1: active writers 1 2025/11/22 02:26:48 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2025/11/22 02:26:48 DEBUG : Looking for writers 2025/11/22 02:26:48 DEBUG : file1: reading active writers 2025/11/22 02:26:48 DEBUG : file1: active writers 1 2025/11/22 02:26:48 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2025/11/22 02:26:48 DEBUG : Looking for writers 2025/11/22 02:26:48 DEBUG : file1: reading active writers 2025/11/22 02:26:48 DEBUG : file1: active writers 1 2025/11/22 02:26:48 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2025/11/22 02:26:48 DEBUG : Looking for writers 2025/11/22 02:26:48 DEBUG : file1: reading active writers 2025/11/22 02:26:48 DEBUG : file1: active writers 1 2025/11/22 02:26:48 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2025/11/22 02:26:48 DEBUG : Looking for writers 2025/11/22 02:26:48 DEBUG : file1: reading active writers 2025/11/22 02:26:48 DEBUG : file1: active writers 1 2025/11/22 02:26:48 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2025/11/22 02:26:48 DEBUG : Looking for writers 2025/11/22 02:26:48 DEBUG : file1: reading active writers 2025/11/22 02:26:48 DEBUG : file1: active writers 1 2025/11/22 02:26:48 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2025/11/22 02:26:49 DEBUG : Looking for writers 2025/11/22 02:26:49 DEBUG : file1: reading active writers 2025/11/22 02:26:49 DEBUG : file1: active writers 1 2025/11/22 02:26:49 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2025/11/22 02:26:49 DEBUG : Looking for writers 2025/11/22 02:26:49 DEBUG : file1: reading active writers 2025/11/22 02:26:49 DEBUG : file1: active writers 1 2025/11/22 02:26:49 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:26:50 DEBUG : Looking for writers 2025/11/22 02:26:50 DEBUG : file1: reading active writers 2025/11/22 02:26:50 DEBUG : file1: active writers 1 2025/11/22 02:26:50 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:26:51 DEBUG : Looking for writers 2025/11/22 02:26:51 DEBUG : file1: reading active writers 2025/11/22 02:26:51 DEBUG : file1: active writers 1 2025/11/22 02:26:51 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:26:52 DEBUG : Looking for writers 2025/11/22 02:26:52 DEBUG : file1: reading active writers 2025/11/22 02:26:52 DEBUG : file1: active writers 1 2025/11/22 02:26:52 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:26:53 DEBUG : Looking for writers 2025/11/22 02:26:53 DEBUG : file1: reading active writers 2025/11/22 02:26:53 DEBUG : file1: active writers 1 2025/11/22 02:26:53 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:26:54 DEBUG : Looking for writers 2025/11/22 02:26:54 DEBUG : file1: reading active writers 2025/11/22 02:26:54 DEBUG : file1: active writers 1 2025/11/22 02:26:54 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:26:55 DEBUG : Looking for writers 2025/11/22 02:26:55 DEBUG : file1: reading active writers 2025/11/22 02:26:55 DEBUG : file1: active writers 1 2025/11/22 02:26:55 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:26:56 DEBUG : Looking for writers 2025/11/22 02:26:56 DEBUG : file1: reading active writers 2025/11/22 02:26:56 DEBUG : file1: active writers 1 2025/11/22 02:26:56 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:26:57 DEBUG : Looking for writers 2025/11/22 02:26:57 DEBUG : file1: reading active writers 2025/11/22 02:26:57 DEBUG : file1: active writers 1 2025/11/22 02:26:57 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:26:58 DEBUG : Looking for writers 2025/11/22 02:26:58 DEBUG : file1: reading active writers 2025/11/22 02:26:58 DEBUG : file1: active writers 1 2025/11/22 02:26:58 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:26:59 DEBUG : Looking for writers 2025/11/22 02:26:59 DEBUG : file1: reading active writers 2025/11/22 02:26:59 DEBUG : file1: active writers 1 2025/11/22 02:26:59 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:27:00 DEBUG : Looking for writers 2025/11/22 02:27:00 DEBUG : file1: reading active writers 2025/11/22 02:27:00 DEBUG : file1: active writers 1 2025/11/22 02:27:00 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:27:01 DEBUG : Looking for writers 2025/11/22 02:27:01 DEBUG : file1: reading active writers 2025/11/22 02:27:01 DEBUG : file1: active writers 1 2025/11/22 02:27:01 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:27:02 DEBUG : Looking for writers 2025/11/22 02:27:02 DEBUG : file1: reading active writers 2025/11/22 02:27:02 DEBUG : file1: active writers 1 2025/11/22 02:27:02 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:27:03 DEBUG : Looking for writers 2025/11/22 02:27:03 DEBUG : file1: reading active writers 2025/11/22 02:27:03 DEBUG : file1: active writers 1 2025/11/22 02:27:03 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:27:04 DEBUG : Looking for writers 2025/11/22 02:27:04 DEBUG : file1: reading active writers 2025/11/22 02:27:04 DEBUG : file1: active writers 1 2025/11/22 02:27:04 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:27:05 DEBUG : Looking for writers 2025/11/22 02:27:05 DEBUG : file1: reading active writers 2025/11/22 02:27:05 DEBUG : file1: active writers 1 2025/11/22 02:27:05 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:27:06 DEBUG : Looking for writers 2025/11/22 02:27:06 DEBUG : file1: reading active writers 2025/11/22 02:27:06 DEBUG : file1: active writers 1 2025/11/22 02:27:06 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:27:07 DEBUG : Looking for writers 2025/11/22 02:27:07 DEBUG : file1: reading active writers 2025/11/22 02:27:07 DEBUG : file1: active writers 1 2025/11/22 02:27:07 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:27:08 DEBUG : Looking for writers 2025/11/22 02:27:08 DEBUG : file1: reading active writers 2025/11/22 02:27:08 DEBUG : file1: active writers 1 2025/11/22 02:27:08 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:27:09 DEBUG : Looking for writers 2025/11/22 02:27:09 DEBUG : file1: reading active writers 2025/11/22 02:27:09 DEBUG : file1: active writers 1 2025/11/22 02:27:09 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:27:10 DEBUG : Looking for writers 2025/11/22 02:27:10 DEBUG : file1: reading active writers 2025/11/22 02:27:10 DEBUG : file1: active writers 1 2025/11/22 02:27:10 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:27:11 DEBUG : Looking for writers 2025/11/22 02:27:11 DEBUG : file1: reading active writers 2025/11/22 02:27:11 DEBUG : file1: active writers 1 2025/11/22 02:27:11 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:27:12 DEBUG : Looking for writers 2025/11/22 02:27:12 DEBUG : file1: reading active writers 2025/11/22 02:27:12 DEBUG : file1: active writers 1 2025/11/22 02:27:12 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:27:13 DEBUG : Looking for writers 2025/11/22 02:27:13 DEBUG : file1: reading active writers 2025/11/22 02:27:13 DEBUG : file1: active writers 1 2025/11/22 02:27:13 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:27:14 DEBUG : Looking for writers 2025/11/22 02:27:14 DEBUG : file1: reading active writers 2025/11/22 02:27:14 DEBUG : file1: active writers 1 2025/11/22 02:27:14 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:27:15 DEBUG : Looking for writers 2025/11/22 02:27:15 DEBUG : file1: reading active writers 2025/11/22 02:27:15 DEBUG : file1: active writers 1 2025/11/22 02:27:15 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:27:16 DEBUG : Looking for writers 2025/11/22 02:27:16 DEBUG : file1: reading active writers 2025/11/22 02:27:16 DEBUG : file1: active writers 1 2025/11/22 02:27:16 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:27:17 DEBUG : Looking for writers 2025/11/22 02:27:17 DEBUG : file1: reading active writers 2025/11/22 02:27:17 DEBUG : file1: active writers 1 2025/11/22 02:27:17 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:27:18 ERROR : Exiting even though 1 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0002450e0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0014b6b08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824655440704} name:file1 opens:1 downloaders: o: fd:0xc001f42138 info:{ModTime:{wall:13997299489069634692 ext:147023877964 loc:0x429bc00} ATime:{wall:13997299489069634692 ext:147023877964 loc:0x429bc00} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:0 pendingAccesses:0 modified:true beingReset:false}, } 2025/11/22 02:27:18 DEBUG : >WaitForWriters: 2025/11/22 02:27:18 DEBUG : mega root 'rclone-test-midekeh1vomu': vfs cache: cleaner exiting --- SKIP: TestRWFileModTimeWithOpenWriters (32.53s) === RUN TestCaseSensitivity run.go:185: Remote "mega root 'rclone-test-midekeh1vomu'", Local "Local file system at /tmp/rclone1736043585", Modify Window "876000h0m0s" 2025/11/22 02:27:26 INFO : mega root 'rclone-test-midekeh1vomu': poll-interval is not supported by this remote 2025/11/22 02:27:26 NOTICE: mega root 'rclone-test-midekeh1vomu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/22 02:27:26 INFO : mega root 'rclone-test-midekeh1vomu': poll-interval is not supported by this remote 2025/11/22 02:27:26 NOTICE: mega root 'rclone-test-midekeh1vomu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/22 02:27:26 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:26 DEBUG : FiLeA: Open: flags=O_RDONLY 2025/11/22 02:27:26 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2025/11/22 02:27:26 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2025/11/22 02:27:26 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:27:26 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/11/22 02:27:26 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:26 DEBUG : FiLeA: Open: flags=O_RDONLY 2025/11/22 02:27:26 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2025/11/22 02:27:26 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2025/11/22 02:27:26 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:27:26 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/11/22 02:27:26 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:26 DEBUG : FiLeA: Open: flags=O_RDONLY 2025/11/22 02:27:26 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2025/11/22 02:27:26 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2025/11/22 02:27:26 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:27:26 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/11/22 02:27:26 DEBUG : FiLeB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:26 DEBUG : FiLeB: Open: flags=O_RDONLY 2025/11/22 02:27:26 DEBUG : FiLeB: >Open: fd=FiLeB (r), err= 2025/11/22 02:27:26 DEBUG : FiLeB: >OpenFile: fd=FiLeB (r), err= 2025/11/22 02:27:26 DEBUG : FiLeB: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:27:26 DEBUG : FiLeB: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/11/22 02:27:26 DEBUG : FilEb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:26 DEBUG : FilEb: Open: flags=O_RDONLY 2025/11/22 02:27:26 DEBUG : FilEb: >Open: fd=FilEb (r), err= 2025/11/22 02:27:26 DEBUG : FilEb: >OpenFile: fd=FilEb (r), err= 2025/11/22 02:27:26 DEBUG : FilEb: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:27:26 DEBUG : FilEb: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/11/22 02:27:27 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:27 DEBUG : FiLeA: Open: flags=O_RDONLY 2025/11/22 02:27:27 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2025/11/22 02:27:27 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2025/11/22 02:27:27 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:27:27 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/11/22 02:27:27 DEBUG : fileA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:27 DEBUG : FiLeA: Open: flags=O_RDONLY 2025/11/22 02:27:27 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2025/11/22 02:27:27 DEBUG : fileA: >OpenFile: fd=FiLeA (r), err= 2025/11/22 02:27:27 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:27:27 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/11/22 02:27:27 DEBUG : filea: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:27 DEBUG : FiLeA: Open: flags=O_RDONLY 2025/11/22 02:27:27 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2025/11/22 02:27:27 DEBUG : filea: >OpenFile: fd=FiLeA (r), err= 2025/11/22 02:27:27 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:27:27 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/11/22 02:27:27 DEBUG : FILEA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:27 DEBUG : FiLeA: Open: flags=O_RDONLY 2025/11/22 02:27:27 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2025/11/22 02:27:27 DEBUG : FILEA: >OpenFile: fd=FiLeA (r), err= 2025/11/22 02:27:27 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:27:27 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/11/22 02:27:27 DEBUG : FiLeB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:27 DEBUG : FiLeB: Open: flags=O_RDONLY 2025/11/22 02:27:27 DEBUG : FiLeB: >Open: fd=FiLeB (r), err= 2025/11/22 02:27:27 DEBUG : FiLeB: >OpenFile: fd=FiLeB (r), err= 2025/11/22 02:27:27 DEBUG : FiLeB: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:27:27 DEBUG : FiLeB: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/11/22 02:27:27 DEBUG : FilEb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:27 DEBUG : FilEb: Open: flags=O_RDONLY 2025/11/22 02:27:27 DEBUG : FilEb: >Open: fd=FilEb (r), err= 2025/11/22 02:27:27 DEBUG : FilEb: >OpenFile: fd=FilEb (r), err= 2025/11/22 02:27:27 DEBUG : FilEb: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:27:27 DEBUG : FilEb: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/11/22 02:27:27 DEBUG : fileb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:27 ERROR : /: Dir.Stat error: duplicate filename "fileb" detected with case/unicode normalization settings 2025/11/22 02:27:27 DEBUG : fileb: >OpenFile: fd=, err=duplicate filename "fileb" detected with case/unicode normalization settings 2025/11/22 02:27:27 DEBUG : FILEB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:27 ERROR : /: Dir.Stat error: duplicate filename "FILEB" detected with case/unicode normalization settings 2025/11/22 02:27:27 DEBUG : FILEB: >OpenFile: fd=, err=duplicate filename "FILEB" detected with case/unicode normalization settings 2025/11/22 02:27:27 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:27 DEBUG : FiLeA: Open: flags=O_RDONLY 2025/11/22 02:27:27 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2025/11/22 02:27:27 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2025/11/22 02:27:27 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:27:27 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/11/22 02:27:27 DEBUG : fileA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:27 DEBUG : fileA: >OpenFile: fd=, err=file does not exist 2025/11/22 02:27:27 DEBUG : filea: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:27 DEBUG : filea: >OpenFile: fd=, err=file does not exist 2025/11/22 02:27:27 DEBUG : FILEA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:27 DEBUG : FILEA: >OpenFile: fd=, err=file does not exist 2025/11/22 02:27:27 DEBUG : FiLeB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:27 DEBUG : FiLeB: Open: flags=O_RDONLY 2025/11/22 02:27:27 DEBUG : FiLeB: >Open: fd=FiLeB (r), err= 2025/11/22 02:27:27 DEBUG : FiLeB: >OpenFile: fd=FiLeB (r), err= 2025/11/22 02:27:27 DEBUG : FiLeB: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:27:27 DEBUG : FiLeB: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/11/22 02:27:28 DEBUG : FilEb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:28 DEBUG : FilEb: Open: flags=O_RDONLY 2025/11/22 02:27:28 DEBUG : FilEb: >Open: fd=FilEb (r), err= 2025/11/22 02:27:28 DEBUG : FilEb: >OpenFile: fd=FilEb (r), err= 2025/11/22 02:27:28 DEBUG : FilEb: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:27:28 DEBUG : FilEb: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2025/11/22 02:27:28 DEBUG : fileb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:28 DEBUG : fileb: >OpenFile: fd=, err=file does not exist 2025/11/22 02:27:28 DEBUG : FILEB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:28 DEBUG : FILEB: >OpenFile: fd=, err=file does not exist 2025/11/22 02:27:28 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:27:28 DEBUG : Looking for writers 2025/11/22 02:27:28 DEBUG : FiLeA: reading active writers 2025/11/22 02:27:28 DEBUG : FiLeB: reading active writers 2025/11/22 02:27:28 DEBUG : FilEb: reading active writers 2025/11/22 02:27:28 DEBUG : >WaitForWriters: 2025/11/22 02:27:28 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:27:28 DEBUG : Looking for writers 2025/11/22 02:27:28 DEBUG : FilEb: reading active writers 2025/11/22 02:27:28 DEBUG : FiLeA: reading active writers 2025/11/22 02:27:28 DEBUG : FiLeB: reading active writers 2025/11/22 02:27:28 DEBUG : >WaitForWriters: --- PASS: TestCaseSensitivity (10.40s) === RUN TestVFSStatParent run.go:185: Remote "mega root 'rclone-test-midekeh1vomu'", Local "Local file system at /tmp/rclone1736043585", Modify Window "876000h0m0s" 2025/11/22 02:27:28 INFO : mega root 'rclone-test-midekeh1vomu': poll-interval is not supported by this remote 2025/11/22 02:27:28 NOTICE: mega root 'rclone-test-midekeh1vomu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/22 02:27:29 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:27:29 DEBUG : dir: Looking for writers 2025/11/22 02:27:29 DEBUG : Looking for writers 2025/11/22 02:27:29 DEBUG : dir: reading active writers 2025/11/22 02:27:29 DEBUG : file1: reading active writers 2025/11/22 02:27:29 DEBUG : >WaitForWriters: --- PASS: TestVFSStatParent (1.40s) === RUN TestVFSOpenFile run.go:185: Remote "mega root 'rclone-test-midekeh1vomu'", Local "Local file system at /tmp/rclone1736043585", Modify Window "876000h0m0s" 2025/11/22 02:27:30 INFO : mega root 'rclone-test-midekeh1vomu': poll-interval is not supported by this remote 2025/11/22 02:27:30 NOTICE: mega root 'rclone-test-midekeh1vomu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/22 02:27:33 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:33 DEBUG : file1: Open: flags=O_RDONLY 2025/11/22 02:27:33 DEBUG : file1: >Open: fd=file1 (r), err= 2025/11/22 02:27:33 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2025/11/22 02:27:33 DEBUG : dir: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:33 DEBUG : dir: >OpenFile: fd=dir/ (r), err= 2025/11/22 02:27:33 DEBUG : dir/new_file.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:27:33 DEBUG : dir/new_file.txt: >OpenFile: fd=, err=file does not exist 2025/11/22 02:27:33 DEBUG : dir/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:27:33 DEBUG : dir/new_file.txt: Open: flags=O_WRONLY|O_CREATE 2025/11/22 02:27:33 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/11/22 02:27:33 DEBUG : dir/new_file.txt: >Open: fd=dir/new_file.txt (w), err= 2025/11/22 02:27:33 DEBUG : dir/new_file.txt: >OpenFile: fd=dir/new_file.txt (w), err= 2025/11/22 02:27:33 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/11/22 02:27:33 DEBUG : mega root 'rclone-test-midekeh1vomu': File to upload is small (0 bytes), uploading instead of streaming 2025/11/22 02:27:44 DEBUG : dir/new_file.txt: size = 0 OK 2025/11/22 02:27:44 DEBUG : dir/new_file.txt: Size of src and dst objects identical 2025/11/22 02:27:44 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/11/22 02:27:44 DEBUG : not found/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:27:44 DEBUG : not found/new_file.txt: >OpenFile: fd=, err=file does not exist 2025/11/22 02:27:44 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:27:44 DEBUG : dir: Looking for writers 2025/11/22 02:27:44 DEBUG : file2: reading active writers 2025/11/22 02:27:44 DEBUG : new_file.txt: reading active writers 2025/11/22 02:27:44 DEBUG : Looking for writers 2025/11/22 02:27:44 DEBUG : dir: reading active writers 2025/11/22 02:27:44 DEBUG : file1: reading active writers 2025/11/22 02:27:44 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: directory not empty --- PASS: TestVFSOpenFile (15.63s) === RUN TestWriteFileHandleMethods run.go:185: Remote "mega root 'rclone-test-midekeh1vomu'", Local "Local file system at /tmp/rclone1736043585", Modify Window "876000h0m0s" 2025/11/22 02:27:45 INFO : mega root 'rclone-test-midekeh1vomu': poll-interval is not supported by this remote 2025/11/22 02:27:45 NOTICE: mega root 'rclone-test-midekeh1vomu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/22 02:27:45 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:27:45 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/22 02:27:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:27:45 DEBUG : file1: >Open: fd=file1 (w), err= 2025/11/22 02:27:45 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/11/22 02:27:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:27:45 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/11/22 02:27:45 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/11/22 02:27:45 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/11/22 02:27:45 DEBUG : mega root 'rclone-test-midekeh1vomu': File to upload is small (5 bytes), uploading instead of streaming 2025/11/22 02:27:46 DEBUG : file1: size = 5 OK 2025/11/22 02:27:46 DEBUG : file1: Size of src and dst objects identical 2025/11/22 02:27:46 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:27:46 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:27:46 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/22 02:27:46 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:27:46 DEBUG : file1: >Open: fd=file1 (w), err= 2025/11/22 02:27:46 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/11/22 02:27:46 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:27:46 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/22 02:27:46 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:27:46 DEBUG : file1: >Open: fd=file1 (w), err= 2025/11/22 02:27:46 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/11/22 02:27:46 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2025/11/22 02:27:46 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/11/22 02:27:46 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/11/22 02:27:46 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:27:46 DEBUG : file1: >Open: fd=file1 (w), err= 2025/11/22 02:27:46 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/11/22 02:27:46 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:27:46 DEBUG : mega root 'rclone-test-midekeh1vomu': File to upload is small (0 bytes), uploading instead of streaming 2025/11/22 02:27:47 DEBUG : file1: size = 0 OK 2025/11/22 02:27:47 DEBUG : file1: Size of src and dst objects identical 2025/11/22 02:27:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:27:47 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/11/22 02:27:47 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/11/22 02:27:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:27:47 DEBUG : file1: >Open: fd=file1 (w), err= 2025/11/22 02:27:47 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/11/22 02:27:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:27:47 DEBUG : mega root 'rclone-test-midekeh1vomu': File to upload is small (7 bytes), uploading instead of streaming 2025/11/22 02:27:47 DEBUG : file1: size = 7 OK 2025/11/22 02:27:47 DEBUG : file1: Size of src and dst objects identical 2025/11/22 02:27:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:27:47 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:27:47 DEBUG : Looking for writers 2025/11/22 02:27:47 DEBUG : file1: reading active writers 2025/11/22 02:27: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: TestWriteFileHandleMethods (10.54s) === RUN TestWriteFileHandleFlush run.go:185: Remote "mega root 'rclone-test-midekeh1vomu'", Local "Local file system at /tmp/rclone1736043585", Modify Window "876000h0m0s" 2025/11/22 02:27:56 INFO : mega root 'rclone-test-midekeh1vomu': poll-interval is not supported by this remote 2025/11/22 02:27:56 NOTICE: mega root 'rclone-test-midekeh1vomu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/22 02:27:56 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:27:56 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/22 02:27:56 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:27:56 DEBUG : file1: >Open: fd=file1 (w), err= 2025/11/22 02:27:56 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/11/22 02:27:56 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2025/11/22 02:27:56 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:27:56 DEBUG : mega root 'rclone-test-midekeh1vomu': File to upload is small (5 bytes), uploading instead of streaming 2025/11/22 02:27:59 DEBUG : file1: size = 5 OK 2025/11/22 02:27:59 DEBUG : file1: Size of src and dst objects identical 2025/11/22 02:27:59 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:27:59 DEBUG : file1: WriteFileHandle.Flush nothing to do 2025/11/22 02:27:59 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:27:59 DEBUG : Looking for writers 2025/11/22 02:27:59 DEBUG : file1: reading active writers 2025/11/22 02:27:59 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: TestWriteFileHandleFlush (10.47s) === RUN TestWriteFileModTimeWithOpenWriters run.go:185: Remote "mega root 'rclone-test-midekeh1vomu'", Local "Local file system at /tmp/rclone1736043585", Modify Window "876000h0m0s" 2025/11/22 02:28:06 INFO : mega root 'rclone-test-midekeh1vomu': poll-interval is not supported by this remote 2025/11/22 02:28:06 NOTICE: mega root 'rclone-test-midekeh1vomu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/22 02:28:06 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:28:06 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/22 02:28:06 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:28:06 DEBUG : file1: >Open: fd=file1 (w), err= 2025/11/22 02:28:06 DEBUG : file1: >OpenFile: fd=file1 (w), err= write_test.go:321: can't set mod time 2025/11/22 02:28:06 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:28:06 DEBUG : Looking for writers 2025/11/22 02:28:06 DEBUG : file1: reading active writers 2025/11/22 02:28:06 DEBUG : file1: active writers 1 2025/11/22 02:28:06 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2025/11/22 02:28:06 DEBUG : Looking for writers 2025/11/22 02:28:06 DEBUG : file1: reading active writers 2025/11/22 02:28:06 DEBUG : file1: active writers 1 2025/11/22 02:28:06 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2025/11/22 02:28:06 DEBUG : Looking for writers 2025/11/22 02:28:06 DEBUG : file1: reading active writers 2025/11/22 02:28:06 DEBUG : file1: active writers 1 2025/11/22 02:28:06 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2025/11/22 02:28:06 DEBUG : Looking for writers 2025/11/22 02:28:06 DEBUG : file1: reading active writers 2025/11/22 02:28:06 DEBUG : file1: active writers 1 2025/11/22 02:28:06 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2025/11/22 02:28:07 DEBUG : Looking for writers 2025/11/22 02:28:07 DEBUG : file1: reading active writers 2025/11/22 02:28:07 DEBUG : file1: active writers 1 2025/11/22 02:28:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2025/11/22 02:28:07 DEBUG : Looking for writers 2025/11/22 02:28:07 DEBUG : file1: reading active writers 2025/11/22 02:28:07 DEBUG : file1: active writers 1 2025/11/22 02:28:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2025/11/22 02:28:07 DEBUG : Looking for writers 2025/11/22 02:28:07 DEBUG : file1: reading active writers 2025/11/22 02:28:07 DEBUG : file1: active writers 1 2025/11/22 02:28:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2025/11/22 02:28:08 DEBUG : Looking for writers 2025/11/22 02:28:08 DEBUG : file1: reading active writers 2025/11/22 02:28:08 DEBUG : file1: active writers 1 2025/11/22 02:28:08 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:09 DEBUG : Looking for writers 2025/11/22 02:28:09 DEBUG : file1: reading active writers 2025/11/22 02:28:09 DEBUG : file1: active writers 1 2025/11/22 02:28:09 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:10 DEBUG : Looking for writers 2025/11/22 02:28:10 DEBUG : file1: reading active writers 2025/11/22 02:28:10 DEBUG : file1: active writers 1 2025/11/22 02:28:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:11 DEBUG : Looking for writers 2025/11/22 02:28:11 DEBUG : file1: reading active writers 2025/11/22 02:28:11 DEBUG : file1: active writers 1 2025/11/22 02:28:11 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:12 DEBUG : Looking for writers 2025/11/22 02:28:12 DEBUG : file1: reading active writers 2025/11/22 02:28:12 DEBUG : file1: active writers 1 2025/11/22 02:28:12 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:13 DEBUG : Looking for writers 2025/11/22 02:28:13 DEBUG : file1: reading active writers 2025/11/22 02:28:13 DEBUG : file1: active writers 1 2025/11/22 02:28:13 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:14 DEBUG : Looking for writers 2025/11/22 02:28:14 DEBUG : file1: reading active writers 2025/11/22 02:28:14 DEBUG : file1: active writers 1 2025/11/22 02:28:14 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:15 DEBUG : Looking for writers 2025/11/22 02:28:15 DEBUG : file1: reading active writers 2025/11/22 02:28:15 DEBUG : file1: active writers 1 2025/11/22 02:28:15 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:16 DEBUG : Looking for writers 2025/11/22 02:28:16 DEBUG : file1: reading active writers 2025/11/22 02:28:16 DEBUG : file1: active writers 1 2025/11/22 02:28:16 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:17 DEBUG : Looking for writers 2025/11/22 02:28:17 DEBUG : file1: reading active writers 2025/11/22 02:28:17 DEBUG : file1: active writers 1 2025/11/22 02:28:17 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:18 DEBUG : Looking for writers 2025/11/22 02:28:18 DEBUG : file1: reading active writers 2025/11/22 02:28:18 DEBUG : file1: active writers 1 2025/11/22 02:28:18 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:19 DEBUG : Looking for writers 2025/11/22 02:28:19 DEBUG : file1: reading active writers 2025/11/22 02:28:19 DEBUG : file1: active writers 1 2025/11/22 02:28:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:20 DEBUG : Looking for writers 2025/11/22 02:28:20 DEBUG : file1: reading active writers 2025/11/22 02:28:20 DEBUG : file1: active writers 1 2025/11/22 02:28:20 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:21 DEBUG : Looking for writers 2025/11/22 02:28:21 DEBUG : file1: reading active writers 2025/11/22 02:28:21 DEBUG : file1: active writers 1 2025/11/22 02:28:21 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:22 DEBUG : Looking for writers 2025/11/22 02:28:22 DEBUG : file1: reading active writers 2025/11/22 02:28:22 DEBUG : file1: active writers 1 2025/11/22 02:28:22 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:23 DEBUG : Looking for writers 2025/11/22 02:28:23 DEBUG : file1: reading active writers 2025/11/22 02:28:23 DEBUG : file1: active writers 1 2025/11/22 02:28:23 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:24 DEBUG : Looking for writers 2025/11/22 02:28:24 DEBUG : file1: reading active writers 2025/11/22 02:28:24 DEBUG : file1: active writers 1 2025/11/22 02:28:24 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:25 DEBUG : Looking for writers 2025/11/22 02:28:25 DEBUG : file1: reading active writers 2025/11/22 02:28:25 DEBUG : file1: active writers 1 2025/11/22 02:28:25 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:26 DEBUG : Looking for writers 2025/11/22 02:28:26 DEBUG : file1: reading active writers 2025/11/22 02:28:26 DEBUG : file1: active writers 1 2025/11/22 02:28:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:27 DEBUG : Looking for writers 2025/11/22 02:28:27 DEBUG : file1: reading active writers 2025/11/22 02:28:27 DEBUG : file1: active writers 1 2025/11/22 02:28:27 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:28 DEBUG : Looking for writers 2025/11/22 02:28:28 DEBUG : file1: reading active writers 2025/11/22 02:28:28 DEBUG : file1: active writers 1 2025/11/22 02:28:28 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:29 DEBUG : Looking for writers 2025/11/22 02:28:29 DEBUG : file1: reading active writers 2025/11/22 02:28:29 DEBUG : file1: active writers 1 2025/11/22 02:28:29 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:30 DEBUG : Looking for writers 2025/11/22 02:28:30 DEBUG : file1: reading active writers 2025/11/22 02:28:30 DEBUG : file1: active writers 1 2025/11/22 02:28:30 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:31 DEBUG : Looking for writers 2025/11/22 02:28:31 DEBUG : file1: reading active writers 2025/11/22 02:28:31 DEBUG : file1: active writers 1 2025/11/22 02:28:31 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:32 DEBUG : Looking for writers 2025/11/22 02:28:32 DEBUG : file1: reading active writers 2025/11/22 02:28:32 DEBUG : file1: active writers 1 2025/11/22 02:28:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:33 DEBUG : Looking for writers 2025/11/22 02:28:33 DEBUG : file1: reading active writers 2025/11/22 02:28:33 DEBUG : file1: active writers 1 2025/11/22 02:28:33 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:34 DEBUG : Looking for writers 2025/11/22 02:28:34 DEBUG : file1: reading active writers 2025/11/22 02:28:34 DEBUG : file1: active writers 1 2025/11/22 02:28:34 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:35 DEBUG : Looking for writers 2025/11/22 02:28:35 DEBUG : file1: reading active writers 2025/11/22 02:28:35 DEBUG : file1: active writers 1 2025/11/22 02:28:35 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:36 DEBUG : Looking for writers 2025/11/22 02:28:36 DEBUG : file1: reading active writers 2025/11/22 02:28:36 DEBUG : file1: active writers 1 2025/11/22 02:28:36 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:28:36 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2025/11/22 02:28:36 DEBUG : >WaitForWriters: --- SKIP: TestWriteFileModTimeWithOpenWriters (30.00s) === RUN TestFileReadAtZeroLength run.go:185: Remote "mega root 'rclone-test-midekeh1vomu'", Local "Local file system at /tmp/rclone1736043585", Modify Window "876000h0m0s" 2025/11/22 02:28:36 INFO : mega root 'rclone-test-midekeh1vomu': poll-interval is not supported by this remote 2025/11/22 02:28:36 NOTICE: mega root 'rclone-test-midekeh1vomu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/22 02:28:36 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:28:36 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/22 02:28:36 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:28:36 DEBUG : file1: >Open: fd=file1 (w), err= 2025/11/22 02:28:36 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/11/22 02:28:36 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:28:36 DEBUG : mega root 'rclone-test-midekeh1vomu': File to upload is small (0 bytes), uploading instead of streaming 2025/11/22 02:28:37 DEBUG : file1: size = 0 OK 2025/11/22 02:28:37 DEBUG : file1: Size of src and dst objects identical 2025/11/22 02:28:37 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:28:37 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/11/22 02:28:37 DEBUG : file1: Open: flags=O_RDONLY 2025/11/22 02:28:37 DEBUG : file1: >Open: fd=file1 (r), err= 2025/11/22 02:28:37 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2025/11/22 02:28:37 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:28:37 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2025/11/22 02:28:37 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:28:37 DEBUG : Looking for writers 2025/11/22 02:28:37 DEBUG : file1: reading active writers 2025/11/22 02:28:37 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.47s) === RUN TestZipManyFiles run.go:185: Remote "mega root 'rclone-test-midekeh1vomu'", Local "Local file system at /tmp/rclone1736043585", Modify Window "876000h0m0s" 2025/11/22 02:28:44 INFO : mega root 'rclone-test-midekeh1vomu': poll-interval is not supported by this remote 2025/11/22 02:28:44 NOTICE: mega root 'rclone-test-midekeh1vomu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream run.go:290: Failed to put "flat/f004.txt" to "mega root 'rclone-test-midekeh1vomu'": upload file failed to create session: unexpected end of JSON input 2025/11/22 02:29:08 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:29:08 DEBUG : Looking for writers 2025/11/22 02:29:08 DEBUG : >WaitForWriters: --- FAIL: TestZipManyFiles (29.97s) === RUN TestZipManySubDirs run.go:185: Remote "mega root 'rclone-test-midekeh1vomu'", Local "Local file system at /tmp/rclone1736043585", Modify Window "876000h0m0s" 2025/11/22 02:29:14 INFO : mega root 'rclone-test-midekeh1vomu': poll-interval is not supported by this remote 2025/11/22 02:29:14 NOTICE: mega root 'rclone-test-midekeh1vomu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/22 02:29:29 DEBUG : a/b/c/deep.txt: Open: flags=O_RDONLY 2025/11/22 02:29:29 DEBUG : a/b/c/deep.txt: >Open: fd=a/b/c/deep.txt (r), err= 2025/11/22 02:29:29 DEBUG : a/b/c/deep.txt: Set virtual modtime to 2025-11-22 02:29:29 +0000 UTC 2025/11/22 02:29:29 DEBUG : a/b/c/deep.txt: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:29:29 DEBUG : a/b/c/deep.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/22 02:29:29 DEBUG : a/b/mid.txt: Open: flags=O_RDONLY 2025/11/22 02:29:29 DEBUG : a/b/mid.txt: >Open: fd=a/b/mid.txt (r), err= 2025/11/22 02:29:29 DEBUG : a/b/mid.txt: Set virtual modtime to 2025-11-22 02:29:25 +0000 UTC 2025/11/22 02:29:29 DEBUG : a/b/mid.txt: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:29:29 DEBUG : a/b/mid.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/22 02:29:30 NOTICE: Unsolicited response received on idle HTTP channel starting with "՞\xe8՞\xe8՞\xe8՞\xe8՞\xe8"; err= 2025/11/22 02:29:30 DEBUG : a/top.txt: Open: flags=O_RDONLY 2025/11/22 02:29:30 DEBUG : a/top.txt: >Open: fd=a/top.txt (r), err= 2025/11/22 02:29:30 DEBUG : a/top.txt: Set virtual modtime to 2025-11-22 02:29:16 +0000 UTC 2025/11/22 02:29:30 DEBUG : a/top.txt: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:29:30 DEBUG : a/top.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/22 02:29:30 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:29:30 DEBUG : a/b/c: Looking for writers 2025/11/22 02:29:30 DEBUG : deep.txt: reading active writers 2025/11/22 02:29:30 DEBUG : a/b: Looking for writers 2025/11/22 02:29:30 DEBUG : c: reading active writers 2025/11/22 02:29:30 DEBUG : mid.txt: reading active writers 2025/11/22 02:29:30 DEBUG : a: Looking for writers 2025/11/22 02:29:30 DEBUG : b: reading active writers 2025/11/22 02:29:30 DEBUG : top.txt: reading active writers 2025/11/22 02:29:30 DEBUG : Looking for writers 2025/11/22 02:29:30 DEBUG : a: reading active writers 2025/11/22 02:29:30 DEBUG : >WaitForWriters: --- PASS: TestZipManySubDirs (21.03s) === RUN TestZipLargeFiles run.go:185: Remote "mega root 'rclone-test-midekeh1vomu'", Local "Local file system at /tmp/rclone1736043585", Modify Window "876000h0m0s" 2025/11/22 02:29:35 INFO : mega root 'rclone-test-midekeh1vomu': poll-interval is not supported by this remote 2025/11/22 02:29:35 NOTICE: mega root 'rclone-test-midekeh1vomu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/22 02:29:41 DEBUG : bigdir/big.bin: Open: flags=O_RDONLY 2025/11/22 02:29:41 DEBUG : bigdir/big.bin: >Open: fd=bigdir/big.bin (r), err= 2025/11/22 02:29:41 DEBUG : bigdir/big.bin: Set virtual modtime to 2025-11-22 02:29:38 +0000 UTC 2025/11/22 02:29:41 DEBUG : bigdir/big.bin: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:29:41 DEBUG : bigdir/big.bin: ChunkedReader.Read at 0 length 4096 chunkOffset 0 chunkSize 134217728 2025/11/22 02:29:41 DEBUG : bigdir/big.bin: ChunkedReader.Read at 4096 length 8192 chunkOffset 0 chunkSize 134217728 2025/11/22 02:29:41 DEBUG : bigdir/big.bin: ChunkedReader.Read at 12288 length 16384 chunkOffset 0 chunkSize 134217728 2025/11/22 02:29:41 DEBUG : bigdir/big.bin: ChunkedReader.Read at 28672 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/22 02:29:41 DEBUG : bigdir/big.bin: ChunkedReader.Read at 61440 length 65536 chunkOffset 0 chunkSize 134217728 2025/11/22 02:29:41 DEBUG : bigdir/big.bin: ChunkedReader.Read at 126976 length 131072 chunkOffset 0 chunkSize 134217728 2025/11/22 02:29:41 DEBUG : bigdir/big.bin: ChunkedReader.Read at 258048 length 262144 chunkOffset 0 chunkSize 134217728 2025/11/22 02:29:41 DEBUG : bigdir/big.bin: ChunkedReader.Read at 520192 length 524288 chunkOffset 0 chunkSize 134217728 2025/11/22 02:29:41 DEBUG : bigdir/big.bin: ChunkedReader.Read at 1044480 length 1048576 chunkOffset 0 chunkSize 134217728 2025/11/22 02:29:41 DEBUG : bigdir/big.bin: ChunkedReader.Read at 2093056 length 1048576 chunkOffset 0 chunkSize 134217728 2025/11/22 02:29:42 DEBUG : bigdir/big.bin: ChunkedReader.Read at 3141632 length 1048576 chunkOffset 0 chunkSize 134217728 2025/11/22 02:29:42 DEBUG : bigdir/big.bin: ChunkedReader.Read at 4190208 length 1048576 chunkOffset 0 chunkSize 134217728 2025/11/22 02:29:42 DEBUG : bigdir/big.bin: ChunkedReader.Read at 5238784 length 1048576 chunkOffset 0 chunkSize 134217728 2025/11/22 02:29:42 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:29:42 DEBUG : bigdir: Looking for writers 2025/11/22 02:29:42 DEBUG : big.bin: reading active writers 2025/11/22 02:29:42 DEBUG : Looking for writers 2025/11/22 02:29:42 DEBUG : bigdir: reading active writers 2025/11/22 02:29:42 DEBUG : >WaitForWriters: --- PASS: TestZipLargeFiles (13.32s) FAIL 2025/11/22 02:29:48 DEBUG : mega root 'rclone-test-midekeh1vomu': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestCaseSensitivity|TestFileReadAtZeroLength|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReleaseRead|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestVFSOpenFile|TestVFSStatParent|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileModTimeWithOpenWriters|TestZipLargeFiles|TestZipManyFiles|TestZipManySubDirs)$|^TestFileRename$/^(minimal,forceCache=false|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 5m30.0121526s (try 5/5): exit status 1: Failed [TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestZipManyFiles]