"./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 4/5) 2025/11/22 02:13:13 DEBUG : Creating backend with remote "TestMega:rclone-test-digasak0vazo" 2025/11/22 02:13:13 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/11/22 02:13:13 DEBUG : mega root 'rclone-test-digasak0vazo': Using previously stored session ID and master key to initialize the Mega API 2025/11/22 02:13:29 DEBUG : Creating backend with remote "/tmp/rclone1476689833" === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:185: Remote "mega root 'rclone-test-digasak0vazo'", Local "Local file system at /tmp/rclone1476689833", Modify Window "876000h0m0s" 2025/11/22 02:13:29 INFO : mega root 'rclone-test-digasak0vazo': poll-interval is not supported by this remote 2025/11/22 02:13:29 NOTICE: mega root 'rclone-test-digasak0vazo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/22 02:13:32 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:13:32 DEBUG : dir: Looking for writers 2025/11/22 02:13:32 DEBUG : file1: reading active writers 2025/11/22 02:13:32 DEBUG : Looking for writers 2025/11/22 02:13:32 DEBUG : dir: reading active writers 2025/11/22 02:13:32 DEBUG : >WaitForWriters: 2025/11/22 02:13:34 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/22 02:13:34 DEBUG : newLeaf: Updating file with newLeaf 0xc000426600 2025/11/22 02:13:34 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/22 02:13:34 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/22 02:13:36 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/11/22 02:13:36 DEBUG : dir/file1: Updating file with dir/file1 0xc000426600 2025/11/22 02:13:36 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/11/22 02:13:36 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) 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:13:43 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/11/22 02:13:43 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/11/22 02:13:43 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/22 02:13:43 DEBUG : dir/file1: File is currently open, delaying rename 0xc000426600 2025/11/22 02:13:43 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/22 02:13:43 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/22 02:13:43 DEBUG : mega root 'rclone-test-digasak0vazo': File to upload is small (25 bytes), uploading instead of streaming 2025/11/22 02:13:44 DEBUG : dir/file1: size = 25 OK 2025/11/22 02:13:44 NOTICE: mega root 'rclone-test-digasak0vazo': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2025/11/22 02:13:44 DEBUG : dir/file1: Size of src and dst objects identical 2025/11/22 02:13:44 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/22 02:13:44 DEBUG : newLeaf: Running delayed rename now 2025/11/22 02:13:44 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/22 02:13:44 DEBUG : newLeaf: Updating file with newLeaf 0xc000426600 2025/11/22 02:13:44 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:13:44 DEBUG : dir: Looking for writers 2025/11/22 02:13:44 DEBUG : Looking for writers 2025/11/22 02:13:44 DEBUG : newLeaf: reading active writers 2025/11/22 02:13:44 DEBUG : dir: reading active writers 2025/11/22 02:13:44 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (25) got file1 (25), newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "file1" 2025/11/22 02:13:51 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:13:51 DEBUG : dir: Looking for writers 2025/11/22 02:13:51 DEBUG : Looking for writers 2025/11/22 02:13:51 DEBUG : dir: reading active writers 2025/11/22 02:13:51 DEBUG : newLeaf: reading active writers 2025/11/22 02:13:51 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want got newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "newLeaf" === RUN TestFileRename/minimal,forceCache=false run.go:185: Remote "mega root 'rclone-test-digasak0vazo'", Local "Local file system at /tmp/rclone1476689833", Modify Window "876000h0m0s" 2025/11/22 02:13:59 INFO : mega root 'rclone-test-digasak0vazo': poll-interval is not supported by this remote 2025/11/22 02:13:59 NOTICE: mega root 'rclone-test-digasak0vazo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/22 02:13:59 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/22 02:13:59 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:13:59 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:13:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:13:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:13:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:13:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:13:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:13:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:13:59 INFO : mega root 'rclone-test-digasak0vazo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" 2025/11/22 02:14:06 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:14:06 DEBUG : dir: Looking for writers 2025/11/22 02:14:06 DEBUG : file1: reading active writers 2025/11/22 02:14:06 DEBUG : Looking for writers 2025/11/22 02:14:06 DEBUG : dir: reading active writers 2025/11/22 02:14:06 DEBUG : newLeaf: reading active writers 2025/11/22 02:14:06 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" 2025/11/22 02:14:13 INFO : newLeaf: Deleted 2025/11/22 02:14:13 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/22 02:14:13 DEBUG : newLeaf: Updating file with newLeaf 0xc000426e40 2025/11/22 02:14:13 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/22 02:14:13 DEBUG : Added virtual directory entry vAddFile: "newLeaf" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want newLeaf (14) got newLeaf (14), newLeaf (25) fstest.go:150: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:150 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:195 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Not equal: expected: 14 actual : 25 Test: TestFileRename/minimal,forceCache=false Messages: newLeaf: size incorrect file=14 vs obj=25 fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/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 "newLeaf" 2025/11/22 02:14:22 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/11/22 02:14:22 DEBUG : dir/file1: Updating file with dir/file1 0xc000426e40 2025/11/22 02:14:22 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/11/22 02:14:22 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 (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/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:14:29 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/11/22 02:14:29 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/11/22 02:14:29 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/22 02:14:29 DEBUG : dir/file1: File is currently open, delaying rename 0xc000426e40 2025/11/22 02:14:29 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/22 02:14:29 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/22 02:14:29 DEBUG : mega root 'rclone-test-digasak0vazo': File to upload is small (25 bytes), uploading instead of streaming 2025/11/22 02:14:32 DEBUG : dir/file1: size = 25 OK 2025/11/22 02:14:32 DEBUG : dir/file1: Size of src and dst objects identical 2025/11/22 02:14:32 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/22 02:14:32 DEBUG : newLeaf: Running delayed rename now 2025/11/22 02:14:32 INFO : newLeaf: Deleted 2025/11/22 02:14:32 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/22 02:14:32 DEBUG : newLeaf: Updating file with newLeaf 0xc000426e40 2025/11/22 02:14:32 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:14:32 DEBUG : dir: Looking for writers 2025/11/22 02:14:32 DEBUG : Looking for writers 2025/11/22 02:14:32 DEBUG : dir: reading active writers 2025/11/22 02:14:32 DEBUG : newLeaf: reading active writers 2025/11/22 02:14:32 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want newLeaf (25) got newLeaf (25), newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" 2025/11/22 02:14:39 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:14:39 DEBUG : dir: Looking for writers 2025/11/22 02:14:39 DEBUG : Looking for writers 2025/11/22 02:14:39 DEBUG : newLeaf: reading active writers 2025/11/22 02:14:39 DEBUG : dir: reading active writers 2025/11/22 02:14:39 DEBUG : >WaitForWriters: 2025/11/22 02:14:39 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: cleaner exiting fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want got newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" === RUN TestFileRename/writes,forceCache=false run.go:185: Remote "mega root 'rclone-test-digasak0vazo'", Local "Local file system at /tmp/rclone1476689833", Modify Window "876000h0m0s" 2025/11/22 02:14:46 INFO : mega root 'rclone-test-digasak0vazo': poll-interval is not supported by this remote 2025/11/22 02:14:46 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/22 02:14:46 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:14:46 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:14:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:14:46 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:14:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:14:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:14:46 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:14:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:14:46 INFO : mega root 'rclone-test-digasak0vazo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" 2025/11/22 02:14:54 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:14:54 DEBUG : dir: Looking for writers 2025/11/22 02:14:54 DEBUG : file1: reading active writers 2025/11/22 02:14:54 DEBUG : Looking for writers 2025/11/22 02:14:54 DEBUG : dir: reading active writers 2025/11/22 02:14:54 DEBUG : newLeaf: reading active writers 2025/11/22 02:14:54 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" 2025/11/22 02:15:01 INFO : newLeaf: Deleted 2025/11/22 02:15:01 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/22 02:15:01 DEBUG : newLeaf: Updating file with newLeaf 0xc0067e4e40 2025/11/22 02:15:01 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/22 02:15:01 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 newLeaf (14), newLeaf (25) fstest.go:150: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:150 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:195 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Not equal: expected: 14 actual : 25 Test: TestFileRename/writes,forceCache=false Messages: newLeaf: size incorrect file=14 vs obj=25 fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/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 "newLeaf" 2025/11/22 02:15:19 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/11/22 02:15:19 DEBUG : dir/file1: Updating file with dir/file1 0xc0067e4e40 2025/11/22 02:15:19 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/11/22 02:15:19 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 (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/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:15:26 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/11/22 02:15:26 DEBUG : dir/file1: newRWFileHandle: 2025/11/22 02:15:26 DEBUG : dir/file1(0xc006d5cf40): openPending: 2025/11/22 02:15:26 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/11/22 02:15:26 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/11/22 02:15:26 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/22 02:15:26 DEBUG : dir/file1(0xc006d5cf40): >openPending: err= 2025/11/22 02:15:26 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/11/22 02:15:26 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/22 02:15:26 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/22 02:15:26 DEBUG : dir/file1(0xc006d5cf40): _writeAt: size=25, off=0 2025/11/22 02:15:26 DEBUG : dir/file1(0xc006d5cf40): >_writeAt: n=25, err= 2025/11/22 02:15:26 INFO : newLeaf: Deleted 2025/11/22 02:15:26 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/22 02:15:26 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/11/22 02:15:26 DEBUG : newLeaf: Updating file with newLeaf 0xc0067e4e40 2025/11/22 02:15:26 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/22 02:15:26 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/22 02:15:26 DEBUG : newLeaf(0xc006d5cf40): close: 2025/11/22 02:15:26 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/11/22 02:15:26 DEBUG : newLeaf: vfs cache: setting modification time to 2025-11-22 02:15:26.465460585 +0000 UTC m=+133.145184151 2025/11/22 02:15:26 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/11/22 02:15:26 DEBUG : newLeaf(0xc006d5cf40): >close: err= 2025/11/22 02:15:26 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:15:26 DEBUG : dir: Looking for writers 2025/11/22 02:15:26 DEBUG : Looking for writers 2025/11/22 02:15:26 DEBUG : dir: reading active writers 2025/11/22 02:15:26 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/11/22 02:15:26 DEBUG : dir: Looking for writers 2025/11/22 02:15:26 DEBUG : Looking for writers 2025/11/22 02:15:26 DEBUG : dir: reading active writers 2025/11/22 02:15:26 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/11/22 02:15:26 DEBUG : dir: Looking for writers 2025/11/22 02:15:26 DEBUG : Looking for writers 2025/11/22 02:15:26 DEBUG : dir: reading active writers 2025/11/22 02:15:26 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/11/22 02:15:26 DEBUG : dir: Looking for writers 2025/11/22 02:15:26 DEBUG : Looking for writers 2025/11/22 02:15:26 DEBUG : dir: reading active writers 2025/11/22 02:15:26 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/11/22 02:15:26 DEBUG : newLeaf: vfs cache: starting upload 2025/11/22 02:15:26 DEBUG : dir: Looking for writers 2025/11/22 02:15:26 DEBUG : Looking for writers 2025/11/22 02:15:26 DEBUG : dir: reading active writers 2025/11/22 02:15:26 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/11/22 02:15:27 DEBUG : dir: Looking for writers 2025/11/22 02:15:27 DEBUG : Looking for writers 2025/11/22 02:15:27 DEBUG : dir: reading active writers 2025/11/22 02:15:27 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/11/22 02:15:27 DEBUG : dir: Looking for writers 2025/11/22 02:15:27 DEBUG : Looking for writers 2025/11/22 02:15:27 DEBUG : dir: reading active writers 2025/11/22 02:15:27 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/11/22 02:15:28 DEBUG : dir: Looking for writers 2025/11/22 02:15:28 DEBUG : Looking for writers 2025/11/22 02:15:28 DEBUG : dir: reading active writers 2025/11/22 02:15:28 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:15:28 DEBUG : newLeaf: size = 25 OK 2025/11/22 02:15:28 INFO : newLeaf: Copied (replaced existing) 2025/11/22 02:15:28 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/11/22 02:15:28 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/11/22 02:15:28 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/22 02:15:28 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/11/22 02:15:29 DEBUG : dir: Looking for writers 2025/11/22 02:15:29 DEBUG : Looking for writers 2025/11/22 02:15:29 DEBUG : dir: reading active writers 2025/11/22 02:15:29 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:29 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want newLeaf (25) got newLeaf (25), newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" 2025/11/22 02:15:36 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:15:36 DEBUG : dir: Looking for writers 2025/11/22 02:15:36 DEBUG : Looking for writers 2025/11/22 02:15:36 DEBUG : dir: reading active writers 2025/11/22 02:15:36 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:36 DEBUG : >WaitForWriters: 2025/11/22 02:15:36 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: cleaner exiting fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want got newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" === RUN TestFileRename/writes,forceCache=true run.go:185: Remote "mega root 'rclone-test-digasak0vazo'", Local "Local file system at /tmp/rclone1476689833", Modify Window "876000h0m0s" 2025/11/22 02:15:43 INFO : mega root 'rclone-test-digasak0vazo': poll-interval is not supported by this remote 2025/11/22 02:15:43 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/22 02:15:43 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:15:43 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:15:43 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:15:43 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:15:43 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:15:43 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:15:43 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:15:43 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:15:43 INFO : mega root 'rclone-test-digasak0vazo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "newLeaf" 2025/11/22 02:15:51 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/11/22 02:15:51 DEBUG : dir/file1: newRWFileHandle: 2025/11/22 02:15:51 DEBUG : dir/file1(0xc006c72e40): openPending: 2025/11/22 02:15:51 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/11/22 02:15:51 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/11/22 02:15:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/22 02:15:51 DEBUG : dir/file1(0xc006c72e40): >openPending: err= 2025/11/22 02:15:51 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/11/22 02:15:51 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/22 02:15:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/22 02:15:51 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/22 02:15:51 DEBUG : dir/file1(0xc006c72e40): _writeAt: size=14, off=0 2025/11/22 02:15:51 DEBUG : dir/file1(0xc006c72e40): >_writeAt: n=14, err= 2025/11/22 02:15:51 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/11/22 02:15:51 DEBUG : dir/file1(0xc006c72e40): close: 2025/11/22 02:15:51 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/11/22 02:15:51 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/11/22 02:15:51 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/11/22 02:15:51 DEBUG : dir/file1(0xc006c72e40): >close: err= 2025/11/22 02:15:51 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:15:51 DEBUG : dir: Looking for writers 2025/11/22 02:15:51 DEBUG : file1: reading active writers 2025/11/22 02:15:51 DEBUG : Looking for writers 2025/11/22 02:15:51 DEBUG : dir: reading active writers 2025/11/22 02:15:51 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/11/22 02:15:51 DEBUG : dir: Looking for writers 2025/11/22 02:15:51 DEBUG : file1: reading active writers 2025/11/22 02:15:51 DEBUG : Looking for writers 2025/11/22 02:15:51 DEBUG : dir: reading active writers 2025/11/22 02:15:51 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/11/22 02:15:51 DEBUG : dir: Looking for writers 2025/11/22 02:15:51 DEBUG : file1: reading active writers 2025/11/22 02:15:51 DEBUG : Looking for writers 2025/11/22 02:15:51 DEBUG : dir: reading active writers 2025/11/22 02:15:51 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/11/22 02:15:51 DEBUG : dir: Looking for writers 2025/11/22 02:15:51 DEBUG : file1: reading active writers 2025/11/22 02:15:51 DEBUG : Looking for writers 2025/11/22 02:15:51 DEBUG : dir: reading active writers 2025/11/22 02:15:51 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/11/22 02:15:51 DEBUG : dir/file1: vfs cache: starting upload 2025/11/22 02:15:51 DEBUG : dir: Looking for writers 2025/11/22 02:15:51 DEBUG : file1: reading active writers 2025/11/22 02:15:51 DEBUG : Looking for writers 2025/11/22 02:15:51 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:51 DEBUG : dir: reading active writers 2025/11/22 02:15:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/11/22 02:15:51 DEBUG : dir: Looking for writers 2025/11/22 02:15:51 DEBUG : file1: reading active writers 2025/11/22 02:15:51 DEBUG : Looking for writers 2025/11/22 02:15:51 DEBUG : dir: reading active writers 2025/11/22 02:15:51 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/11/22 02:15:51 DEBUG : dir: Looking for writers 2025/11/22 02:15:51 DEBUG : file1: reading active writers 2025/11/22 02:15:51 DEBUG : Looking for writers 2025/11/22 02:15:51 DEBUG : dir: reading active writers 2025/11/22 02:15:51 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/11/22 02:15:52 DEBUG : dir: Looking for writers 2025/11/22 02:15:52 DEBUG : file1: reading active writers 2025/11/22 02:15:52 DEBUG : Looking for writers 2025/11/22 02:15:52 DEBUG : dir: reading active writers 2025/11/22 02:15:52 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:15:53 DEBUG : dir: Looking for writers 2025/11/22 02:15:53 DEBUG : file1: reading active writers 2025/11/22 02:15:53 DEBUG : Looking for writers 2025/11/22 02:15:53 DEBUG : dir: reading active writers 2025/11/22 02:15:53 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:15:54 DEBUG : dir: Looking for writers 2025/11/22 02:15:54 DEBUG : file1: reading active writers 2025/11/22 02:15:54 DEBUG : Looking for writers 2025/11/22 02:15:54 DEBUG : dir: reading active writers 2025/11/22 02:15:54 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:15:55 DEBUG : dir: Looking for writers 2025/11/22 02:15:55 DEBUG : file1: reading active writers 2025/11/22 02:15:55 DEBUG : Looking for writers 2025/11/22 02:15:55 DEBUG : dir: reading active writers 2025/11/22 02:15:55 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:15:56 DEBUG : dir: Looking for writers 2025/11/22 02:15:56 DEBUG : file1: reading active writers 2025/11/22 02:15:56 DEBUG : Looking for writers 2025/11/22 02:15:56 DEBUG : dir: reading active writers 2025/11/22 02:15:56 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:15:57 DEBUG : dir: Looking for writers 2025/11/22 02:15:57 DEBUG : file1: reading active writers 2025/11/22 02:15:57 DEBUG : Looking for writers 2025/11/22 02:15:57 DEBUG : dir: reading active writers 2025/11/22 02:15:57 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:15:58 DEBUG : dir: Looking for writers 2025/11/22 02:15:58 DEBUG : file1: reading active writers 2025/11/22 02:15:58 DEBUG : Looking for writers 2025/11/22 02:15:58 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:58 DEBUG : dir: reading active writers 2025/11/22 02:15:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:15:59 DEBUG : dir: Looking for writers 2025/11/22 02:15:59 DEBUG : file1: reading active writers 2025/11/22 02:15:59 DEBUG : Looking for writers 2025/11/22 02:15:59 DEBUG : dir: reading active writers 2025/11/22 02:15:59 DEBUG : newLeaf: reading active writers 2025/11/22 02:15:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:16:00 DEBUG : dir: Looking for writers 2025/11/22 02:16:00 DEBUG : file1: reading active writers 2025/11/22 02:16:00 DEBUG : Looking for writers 2025/11/22 02:16:00 DEBUG : dir: reading active writers 2025/11/22 02:16:00 DEBUG : newLeaf: reading active writers 2025/11/22 02:16:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:16:01 DEBUG : dir: Looking for writers 2025/11/22 02:16:01 DEBUG : file1: reading active writers 2025/11/22 02:16:01 DEBUG : Looking for writers 2025/11/22 02:16:01 DEBUG : dir: reading active writers 2025/11/22 02:16:01 DEBUG : newLeaf: reading active writers 2025/11/22 02:16:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:16:02 DEBUG : dir/file1: size = 14 OK 2025/11/22 02:16:02 INFO : dir/file1: Copied (replaced existing) 2025/11/22 02:16:02 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/11/22 02:16:02 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:16:02 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/22 02:16:02 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/11/22 02:16:02 DEBUG : dir: Looking for writers 2025/11/22 02:16:02 DEBUG : file1: reading active writers 2025/11/22 02:16:02 DEBUG : Looking for writers 2025/11/22 02:16:02 DEBUG : dir: reading active writers 2025/11/22 02:16:02 DEBUG : newLeaf: reading active writers 2025/11/22 02:16:02 DEBUG : >WaitForWriters: 2025/11/22 02:16:02 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/11/22 02:16:02 DEBUG : dir/file1: newRWFileHandle: 2025/11/22 02:16:02 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/22 02:16:02 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/22 02:16:02 DEBUG : dir/file1(0xc000129380): _readAt: size=512, off=0 2025/11/22 02:16:02 DEBUG : dir/file1(0xc000129380): openPending: 2025/11/22 02:16:02 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/11/22 02:16:02 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/11/22 02:16:02 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/22 02:16:02 DEBUG : dir/file1(0xc000129380): >openPending: err= 2025/11/22 02:16:02 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/11/22 02:16:02 DEBUG : dir/file1(0xc000129380): >_readAt: n=14, err=EOF 2025/11/22 02:16:02 DEBUG : dir/file1(0xc000129380): close: 2025/11/22 02:16:02 DEBUG : dir/file1: vfs cache: setting modification time to 2025-11-22 02:16:02 +0000 UTC 2025/11/22 02:16:02 DEBUG : dir/file1(0xc000129380): >close: err= fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "newLeaf" 2025/11/22 02:16:09 INFO : newLeaf: Deleted 2025/11/22 02:16:09 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/22 02:16:09 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/11/22 02:16:09 DEBUG : newLeaf: Updating file with newLeaf 0xc00091a300 2025/11/22 02:16:09 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/22 02:16:09 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=true Messages: listing wrong, want newLeaf (14) got newLeaf (14), newLeaf (25) fstest.go:150: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:150 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:195 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Not equal: expected: 14 actual : 25 Test: TestFileRename/writes,forceCache=true Messages: newLeaf: size incorrect file=14 vs obj=25 fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "newLeaf" 2025/11/22 02:16:17 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/11/22 02:16:17 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/11/22 02:16:17 DEBUG : dir/file1: Updating file with dir/file1 0xc00091a300 2025/11/22 02:16:17 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/11/22 02:16:17 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/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 "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=true Messages: Unexpected file "dir/file1" 2025/11/22 02:16:24 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/11/22 02:16:24 DEBUG : dir/file1: newRWFileHandle: 2025/11/22 02:16:24 DEBUG : dir/file1(0xc006f3fe40): openPending: 2025/11/22 02:16:24 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/11/22 02:16:24 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/11/22 02:16:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/22 02:16:24 DEBUG : dir/file1(0xc006f3fe40): >openPending: err= 2025/11/22 02:16:24 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/11/22 02:16:24 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/22 02:16:24 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/22 02:16:24 DEBUG : dir/file1(0xc006f3fe40): _writeAt: size=25, off=0 2025/11/22 02:16:24 DEBUG : dir/file1(0xc006f3fe40): >_writeAt: n=25, err= 2025/11/22 02:16:35 INFO : newLeaf: Deleted 2025/11/22 02:16:35 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/11/22 02:16:35 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/11/22 02:16:35 DEBUG : newLeaf: Updating file with newLeaf 0xc00091a300 2025/11/22 02:16:35 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/11/22 02:16:35 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/22 02:16:35 DEBUG : newLeaf(0xc006f3fe40): close: 2025/11/22 02:16:35 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/11/22 02:16:35 DEBUG : newLeaf: vfs cache: setting modification time to 2025-11-22 02:16:24.283900978 +0000 UTC m=+190.963624502 2025/11/22 02:16:35 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/11/22 02:16:35 DEBUG : newLeaf(0xc006f3fe40): >close: err= 2025/11/22 02:16:35 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:16:35 DEBUG : dir: Looking for writers 2025/11/22 02:16:35 DEBUG : Looking for writers 2025/11/22 02:16:35 DEBUG : dir: reading active writers 2025/11/22 02:16:35 DEBUG : newLeaf: reading active writers 2025/11/22 02:16:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/11/22 02:16:35 DEBUG : dir: Looking for writers 2025/11/22 02:16:35 DEBUG : Looking for writers 2025/11/22 02:16:35 DEBUG : dir: reading active writers 2025/11/22 02:16:35 DEBUG : newLeaf: reading active writers 2025/11/22 02:16:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/11/22 02:16:35 DEBUG : dir: Looking for writers 2025/11/22 02:16:35 DEBUG : Looking for writers 2025/11/22 02:16:35 DEBUG : dir: reading active writers 2025/11/22 02:16:35 DEBUG : newLeaf: reading active writers 2025/11/22 02:16:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/11/22 02:16:35 DEBUG : dir: Looking for writers 2025/11/22 02:16:35 DEBUG : Looking for writers 2025/11/22 02:16:35 DEBUG : dir: reading active writers 2025/11/22 02:16:35 DEBUG : newLeaf: reading active writers 2025/11/22 02:16:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/11/22 02:16:35 DEBUG : newLeaf: vfs cache: starting upload 2025/11/22 02:16:35 DEBUG : dir: Looking for writers 2025/11/22 02:16:35 DEBUG : Looking for writers 2025/11/22 02:16:35 DEBUG : dir: reading active writers 2025/11/22 02:16:35 DEBUG : newLeaf: reading active writers 2025/11/22 02:16:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/11/22 02:16:35 DEBUG : dir: Looking for writers 2025/11/22 02:16:35 DEBUG : Looking for writers 2025/11/22 02:16:35 DEBUG : dir: reading active writers 2025/11/22 02:16:35 DEBUG : newLeaf: reading active writers 2025/11/22 02:16:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/11/22 02:16:36 DEBUG : newLeaf: size = 25 OK 2025/11/22 02:16:36 INFO : newLeaf: Copied (replaced existing) 2025/11/22 02:16:36 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/11/22 02:16:36 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/11/22 02:16:36 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/11/22 02:16:36 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/11/22 02:16:36 DEBUG : dir: Looking for writers 2025/11/22 02:16:36 DEBUG : Looking for writers 2025/11/22 02:16:36 DEBUG : dir: reading active writers 2025/11/22 02:16:36 DEBUG : newLeaf: reading active writers 2025/11/22 02:16:36 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want newLeaf (25) got newLeaf (25), newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "newLeaf" 2025/11/22 02:16:43 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:16:43 DEBUG : dir: Looking for writers 2025/11/22 02:16:43 DEBUG : Looking for writers 2025/11/22 02:16:43 DEBUG : dir: reading active writers 2025/11/22 02:16:43 DEBUG : newLeaf: reading active writers 2025/11/22 02:16:43 DEBUG : >WaitForWriters: 2025/11/22 02:16:43 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: cleaner exiting fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want got newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "newLeaf" --- FAIL: TestFileRename (200.75s) --- FAIL: TestFileRename/off,forceCache=false (29.08s) --- FAIL: TestFileRename/minimal,forceCache=false (47.94s) --- FAIL: TestFileRename/writes,forceCache=false (56.82s) --- FAIL: TestFileRename/writes,forceCache=true (66.91s) === RUN TestRWFileHandleMethodsRead run.go:185: Remote "mega root 'rclone-test-digasak0vazo'", Local "Local file system at /tmp/rclone1476689833", Modify Window "876000h0m0s" 2025/11/22 02:16:50 INFO : mega root 'rclone-test-digasak0vazo': poll-interval is not supported by this remote 2025/11/22 02:16:50 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/22 02:16:50 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:16:50 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:16:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:16:50 DEBUG : Config file has changed externally - reloading 2025/11/22 02:16:50 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:16:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:16:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:16:50 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:16:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:16:50 INFO : mega root 'rclone-test-digasak0vazo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:40 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:53 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:72 Error: Should be true Test: TestRWFileHandleMethodsRead Messages: listing wrong, want dir/file1 (16) got dir/file1 (16), newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/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/read_write_test.go:40 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:53 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:72 Error: Should be true Test: TestRWFileHandleMethodsRead Messages: Unexpected file "newLeaf" 2025/11/22 02:17:01 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:17:01 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/11/22 02:17:01 DEBUG : dir/file1: newRWFileHandle: 2025/11/22 02:17:01 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/22 02:17:01 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/22 02:17:01 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/11/22 02:17:01 DEBUG : dir/file1(0xc00657b200): _readAt: size=1, off=0 2025/11/22 02:17:01 DEBUG : dir/file1(0xc00657b200): openPending: 2025/11/22 02:17:01 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2025/11/22 02:17:01 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/11/22 02:17:01 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/22 02:17:01 DEBUG : dir/file1(0xc00657b200): >openPending: err= 2025/11/22 02:17:01 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/11/22 02:17:01 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/11/22 02:17:01 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/22 02:17:01 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:17:01 DEBUG : dir/file1(0xc00657b200): >_readAt: n=1, err= 2025/11/22 02:17:01 DEBUG : dir/file1(0xc00657b200): _readAt: size=256, off=1 2025/11/22 02:17:01 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2025/11/22 02:17:01 DEBUG : dir/file1(0xc00657b200): >_readAt: n=15, err=EOF 2025/11/22 02:17:01 DEBUG : dir/file1(0xc00657b200): _readAt: size=16, off=16 2025/11/22 02:17:01 DEBUG : dir/file1(0xc00657b200): >_readAt: n=0, err=EOF 2025/11/22 02:17:01 DEBUG : dir/file1(0xc00657b200): close: 2025/11/22 02:17:01 DEBUG : dir/file1: vfs cache: setting modification time to 2025-11-22 02:16:52 +0000 UTC 2025/11/22 02:17:01 DEBUG : dir/file1(0xc00657b200): >close: err= 2025/11/22 02:17:01 DEBUG : dir/file1(0xc00657b200): close: 2025/11/22 02:17:01 DEBUG : dir/file1(0xc00657b200): >close: err=file already closed 2025/11/22 02:17:01 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:17:01 DEBUG : dir: Looking for writers 2025/11/22 02:17:01 DEBUG : file1: reading active writers 2025/11/22 02:17:01 DEBUG : Looking for writers 2025/11/22 02:17:01 DEBUG : dir: reading active writers 2025/11/22 02:17:01 DEBUG : newLeaf: reading active writers 2025/11/22 02:17:01 DEBUG : >WaitForWriters: 2025/11/22 02:17:01 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: cleaner exiting fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestRWFileHandleMethodsRead Messages: listing wrong, want got newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestRWFileHandleMethodsRead Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleMethodsRead (18.36s) === RUN TestRWFileHandleReleaseRead run.go:185: Remote "mega root 'rclone-test-digasak0vazo'", Local "Local file system at /tmp/rclone1476689833", Modify Window "876000h0m0s" 2025/11/22 02:17:09 INFO : mega root 'rclone-test-digasak0vazo': poll-interval is not supported by this remote 2025/11/22 02:17:09 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/22 02:17:09 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:17:09 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:17:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:17:09 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:17:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:17:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:17:09 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:17:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:17:09 INFO : mega root 'rclone-test-digasak0vazo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:40 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:53 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:244 Error: Should be true Test: TestRWFileHandleReleaseRead Messages: listing wrong, want dir/file1 (16) got dir/file1 (16), newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/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/read_write_test.go:40 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:53 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:244 Error: Should be true Test: TestRWFileHandleReleaseRead Messages: Unexpected file "newLeaf" 2025/11/22 02:17:23 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/11/22 02:17:23 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/11/22 02:17:23 DEBUG : dir/file1: newRWFileHandle: 2025/11/22 02:17:23 DEBUG : dir/file1: >newRWFileHandle: err= 2025/11/22 02:17:23 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/11/22 02:17:23 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/11/22 02:17:23 DEBUG : dir/file1(0xc0009dc440): _readAt: size=256, off=0 2025/11/22 02:17:23 DEBUG : dir/file1(0xc0009dc440): openPending: 2025/11/22 02:17:23 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2025/11/22 02:17:23 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/11/22 02:17:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/11/22 02:17:23 DEBUG : dir/file1(0xc0009dc440): >openPending: err= 2025/11/22 02:17:23 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/11/22 02:17:23 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/11/22 02:17:23 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/22 02:17:23 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:17:23 DEBUG : dir/file1(0xc0009dc440): >_readAt: n=16, err=EOF 2025/11/22 02:17:23 DEBUG : dir/file1(0xc0009dc440): RWFileHandle.Release 2025/11/22 02:17:23 DEBUG : dir/file1(0xc0009dc440): close: 2025/11/22 02:17:23 DEBUG : dir/file1: vfs cache: setting modification time to 2025-11-22 02:17:14 +0000 UTC 2025/11/22 02:17:23 DEBUG : dir/file1(0xc0009dc440): >close: err= 2025/11/22 02:17:23 DEBUG : dir/file1(0xc0009dc440): RWFileHandle.Release 2025/11/22 02:17:23 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:17:23 DEBUG : dir: Looking for writers 2025/11/22 02:17:23 DEBUG : file1: reading active writers 2025/11/22 02:17:23 DEBUG : Looking for writers 2025/11/22 02:17:23 DEBUG : dir: reading active writers 2025/11/22 02:17:23 DEBUG : newLeaf: reading active writers 2025/11/22 02:17:23 DEBUG : >WaitForWriters: 2025/11/22 02:17:23 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: cleaner exiting fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestRWFileHandleReleaseRead Messages: listing wrong, want got newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestRWFileHandleReleaseRead Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleReleaseRead (22.40s) === RUN TestRWFileHandleMethodsWrite run.go:185: Remote "mega root 'rclone-test-digasak0vazo'", Local "Local file system at /tmp/rclone1476689833", Modify Window "876000h0m0s" 2025/11/22 02:17:31 INFO : mega root 'rclone-test-digasak0vazo': poll-interval is not supported by this remote 2025/11/22 02:17:31 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/22 02:17:31 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:17:31 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:17:31 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:17:31 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:17:31 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:17:31 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:17:31 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:17:31 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:17:31 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:17:31 INFO : mega root 'rclone-test-digasak0vazo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/11/22 02:17:31 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/22 02:17:31 DEBUG : file1: newRWFileHandle: 2025/11/22 02:17:31 DEBUG : file1(0xc000695140): openPending: 2025/11/22 02:17:31 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/11/22 02:17:31 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:17:31 DEBUG : file1(0xc000695140): >openPending: err= 2025/11/22 02:17:31 DEBUG : file1: >newRWFileHandle: err= 2025/11/22 02:17:31 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:17:31 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/11/22 02:17:31 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/11/22 02:17:31 DEBUG : file1(0xc000695140): _writeAt: size=5, off=0 2025/11/22 02:17:31 DEBUG : file1(0xc000695140): >_writeAt: n=5, err= 2025/11/22 02:17:31 DEBUG : file1(0xc000695140): _writeAt: size=7, off=5 2025/11/22 02:17:31 DEBUG : file1(0xc000695140): >_writeAt: n=7, err= 2025/11/22 02:17:31 DEBUG : file1: vfs cache: truncate to size=11 2025/11/22 02:17:31 DEBUG : file1(0xc000695140): close: 2025/11/22 02:17:31 DEBUG : file1: vfs cache: setting modification time to 2025-11-22 02:17:31.497517158 +0000 UTC m=+258.177240773 2025/11/22 02:17:31 INFO : file1: vfs cache: queuing for upload in 100ms 2025/11/22 02:17:31 DEBUG : file1(0xc000695140): >close: err= 2025/11/22 02:17:31 DEBUG : file1(0xc000695140): close: 2025/11/22 02:17:31 DEBUG : file1(0xc000695140): >close: err=file already closed dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:332 Error: Not equal: expected: []string{"file1,11,false"} actual : []string{"file1,11,false", "newLeaf,25,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=1) { - (string) (len=14) "file1,11,false" +([]string) (len=2) { + (string) (len=14) "file1,11,false", + (string) (len=16) "newLeaf,25,false" } Test: TestRWFileHandleMethodsWrite 2025/11/22 02:17:31 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:17:31 DEBUG : Looking for writers 2025/11/22 02:17:31 DEBUG : newLeaf: reading active writers 2025/11/22 02:17:31 DEBUG : file1: reading active writers 2025/11/22 02:17:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/11/22 02:17:31 DEBUG : Looking for writers 2025/11/22 02:17:31 DEBUG : newLeaf: reading active writers 2025/11/22 02:17:31 DEBUG : file1: reading active writers 2025/11/22 02:17:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/11/22 02:17:31 DEBUG : Looking for writers 2025/11/22 02:17:31 DEBUG : newLeaf: reading active writers 2025/11/22 02:17:31 DEBUG : file1: reading active writers 2025/11/22 02:17:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/11/22 02:17:31 DEBUG : Looking for writers 2025/11/22 02:17:31 DEBUG : newLeaf: reading active writers 2025/11/22 02:17:31 DEBUG : file1: reading active writers 2025/11/22 02:17:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/11/22 02:17:31 DEBUG : file1: vfs cache: starting upload 2025/11/22 02:17:31 DEBUG : Looking for writers 2025/11/22 02:17:31 DEBUG : file1: reading active writers 2025/11/22 02:17:31 DEBUG : newLeaf: reading active writers 2025/11/22 02:17:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/11/22 02:17:31 DEBUG : Looking for writers 2025/11/22 02:17:31 DEBUG : newLeaf: reading active writers 2025/11/22 02:17:31 DEBUG : file1: reading active writers 2025/11/22 02:17:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/11/22 02:17:31 DEBUG : file1: size = 11 OK 2025/11/22 02:17:31 INFO : file1: Copied (new) 2025/11/22 02:17:31 DEBUG : file1: vfs cache: fingerprint now "11" 2025/11/22 02:17:31 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/11/22 02:17:31 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:17:31 INFO : file1: vfs cache: upload succeeded try #1 2025/11/22 02:17:32 DEBUG : Looking for writers 2025/11/22 02:17:32 DEBUG : newLeaf: reading active writers 2025/11/22 02:17:32 DEBUG : file1: reading active writers 2025/11/22 02:17:32 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:337 Error: Should be true Test: TestRWFileHandleMethodsWrite Messages: listing wrong, want file1 (11) got file1 (11), newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:337 Error: Should be true Test: TestRWFileHandleMethodsWrite Messages: Unexpected file "newLeaf" 2025/11/22 02:17:39 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:17:39 DEBUG : Looking for writers 2025/11/22 02:17:39 DEBUG : newLeaf: reading active writers 2025/11/22 02:17:39 DEBUG : file1: reading active writers 2025/11/22 02:17:39 DEBUG : >WaitForWriters: 2025/11/22 02:17:39 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: cleaner exiting fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestRWFileHandleMethodsWrite Messages: listing wrong, want got newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestRWFileHandleMethodsWrite Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleMethodsWrite (20.76s) === RUN TestRWFileHandleWriteAt run.go:185: Remote "mega root 'rclone-test-digasak0vazo'", Local "Local file system at /tmp/rclone1476689833", Modify Window "876000h0m0s" 2025/11/22 02:17:52 INFO : mega root 'rclone-test-digasak0vazo': poll-interval is not supported by this remote 2025/11/22 02:17:52 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/22 02:17:52 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:17:52 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:17:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:17:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:17:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:17:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:17:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:17:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:17:52 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:17:52 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/22 02:17:52 DEBUG : file1: newRWFileHandle: 2025/11/22 02:17:52 DEBUG : file1(0xc0009dd180): openPending: 2025/11/22 02:17:52 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/11/22 02:17:52 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/11/22 02:17:52 INFO : mega root 'rclone-test-digasak0vazo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 0 (was 0) 2025/11/22 02:17:52 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:17:52 DEBUG : file1(0xc0009dd180): >openPending: err= 2025/11/22 02:17:52 DEBUG : file1: >newRWFileHandle: err= 2025/11/22 02:17:52 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:17:52 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/11/22 02:17:52 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/11/22 02:17:52 DEBUG : file1(0xc0009dd180): _writeAt: size=7, off=0 2025/11/22 02:17:52 DEBUG : file1(0xc0009dd180): >_writeAt: n=7, err= 2025/11/22 02:17:52 DEBUG : file1(0xc0009dd180): _writeAt: size=6, off=5 2025/11/22 02:17:52 DEBUG : file1(0xc0009dd180): >_writeAt: n=6, err= 2025/11/22 02:17:52 DEBUG : file1(0xc0009dd180): close: 2025/11/22 02:17:52 DEBUG : file1: vfs cache: setting modification time to 2025-11-22 02:17:52.249860076 +0000 UTC m=+278.929583641 2025/11/22 02:17:52 INFO : file1: vfs cache: queuing for upload in 100ms 2025/11/22 02:17:52 DEBUG : file1(0xc0009dd180): >close: err= 2025/11/22 02:17:52 DEBUG : file1(0xc0009dd180): _writeAt: size=5, off=0 2025/11/22 02:17:52 DEBUG : file1(0xc0009dd180): >_writeAt: n=0, err=file already closed dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:382 Error: Not equal: expected: []string{"file1,11,false"} actual : []string{"file1,11,false", "newLeaf,25,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=1) { - (string) (len=14) "file1,11,false" +([]string) (len=2) { + (string) (len=14) "file1,11,false", + (string) (len=16) "newLeaf,25,false" } Test: TestRWFileHandleWriteAt 2025/11/22 02:17:52 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:17:52 DEBUG : Looking for writers 2025/11/22 02:17:52 DEBUG : newLeaf: reading active writers 2025/11/22 02:17:52 DEBUG : file1: reading active writers 2025/11/22 02:17:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/11/22 02:17:52 DEBUG : Looking for writers 2025/11/22 02:17:52 DEBUG : newLeaf: reading active writers 2025/11/22 02:17:52 DEBUG : file1: reading active writers 2025/11/22 02:17:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/11/22 02:17:52 DEBUG : Looking for writers 2025/11/22 02:17:52 DEBUG : newLeaf: reading active writers 2025/11/22 02:17:52 DEBUG : file1: reading active writers 2025/11/22 02:17:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/11/22 02:17:52 DEBUG : Looking for writers 2025/11/22 02:17:52 DEBUG : newLeaf: reading active writers 2025/11/22 02:17:52 DEBUG : file1: reading active writers 2025/11/22 02:17:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/11/22 02:17:52 DEBUG : file1: vfs cache: starting upload 2025/11/22 02:17:52 DEBUG : Looking for writers 2025/11/22 02:17:52 DEBUG : newLeaf: reading active writers 2025/11/22 02:17:52 DEBUG : file1: reading active writers 2025/11/22 02:17:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/11/22 02:17:52 DEBUG : Looking for writers 2025/11/22 02:17:52 DEBUG : newLeaf: reading active writers 2025/11/22 02:17:52 DEBUG : file1: reading active writers 2025/11/22 02:17:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/11/22 02:17:52 DEBUG : file1: size = 11 OK 2025/11/22 02:17:52 INFO : file1: Copied (new) 2025/11/22 02:17:52 DEBUG : file1: vfs cache: fingerprint now "11" 2025/11/22 02:17:52 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/11/22 02:17:52 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:17:52 INFO : file1: vfs cache: upload succeeded try #1 2025/11/22 02:17:52 DEBUG : Looking for writers 2025/11/22 02:17:52 DEBUG : newLeaf: reading active writers 2025/11/22 02:17:52 DEBUG : file1: reading active writers 2025/11/22 02:17:52 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387 Error: Should be true Test: TestRWFileHandleWriteAt Messages: listing wrong, want file1 (11) got file1 (11), newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387 Error: Should be true Test: TestRWFileHandleWriteAt Messages: Unexpected file "newLeaf" 2025/11/22 02:17:59 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:17:59 DEBUG : Looking for writers 2025/11/22 02:17:59 DEBUG : newLeaf: reading active writers 2025/11/22 02:17:59 DEBUG : file1: reading active writers 2025/11/22 02:17:59 DEBUG : >WaitForWriters: 2025/11/22 02:17:59 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: cleaner exiting fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestRWFileHandleWriteAt Messages: listing wrong, want got newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestRWFileHandleWriteAt Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleWriteAt (14.81s) === RUN TestRWFileHandleWriteNoWrite run.go:185: Remote "mega root 'rclone-test-digasak0vazo'", Local "Local file system at /tmp/rclone1476689833", Modify Window "876000h0m0s" 2025/11/22 02:18:07 INFO : mega root 'rclone-test-digasak0vazo': poll-interval is not supported by this remote 2025/11/22 02:18:07 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/22 02:18:07 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:18:07 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:18:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:18:07 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:18:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:18:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:18:07 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:18:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:18:07 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:18:07 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/22 02:18:07 DEBUG : file1: newRWFileHandle: 2025/11/22 02:18:07 DEBUG : file1(0xc0001290c0): openPending: 2025/11/22 02:18:07 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/11/22 02:18:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:18:07 DEBUG : file1(0xc0001290c0): >openPending: err= 2025/11/22 02:18:07 DEBUG : file1: >newRWFileHandle: err= 2025/11/22 02:18:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:18:07 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/11/22 02:18:07 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/11/22 02:18:07 DEBUG : file1(0xc0001290c0): close: 2025/11/22 02:18:07 DEBUG : file1: vfs cache: setting modification time to 2025-11-22 02:18:07.056974982 +0000 UTC m=+293.736698548 2025/11/22 02:18:07 INFO : file1: vfs cache: queuing for upload in 100ms 2025/11/22 02:18:07 DEBUG : file1(0xc0001290c0): >close: err= 2025/11/22 02:18:07 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/11/22 02:18:07 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/11/22 02:18:07 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/11/22 02:18:07 INFO : mega root 'rclone-test-digasak0vazo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 0 (was 0) 2025/11/22 02:18:07 DEBUG : file2: newRWFileHandle: 2025/11/22 02:18:07 DEBUG : file2(0xc0001296c0): openPending: 2025/11/22 02:18:07 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2025/11/22 02:18:07 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/11/22 02:18:07 DEBUG : file2(0xc0001296c0): >openPending: err= 2025/11/22 02:18:07 DEBUG : file2: >newRWFileHandle: err= 2025/11/22 02:18:07 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/11/22 02:18:07 DEBUG : file2: >Open: fd=file2 (rw), err= 2025/11/22 02:18:07 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2025/11/22 02:18:07 DEBUG : file2(0xc0001296c0): RWFileHandle.Flush 2025/11/22 02:18:07 DEBUG : file2(0xc0001296c0): RWFileHandle.Release 2025/11/22 02:18:07 DEBUG : file2(0xc0001296c0): close: 2025/11/22 02:18:07 DEBUG : file2: vfs cache: setting modification time to 2025-11-22 02:18:07.059230742 +0000 UTC m=+293.738954297 2025/11/22 02:18:07 INFO : file2: vfs cache: queuing for upload in 100ms 2025/11/22 02:18:07 DEBUG : file2(0xc0001296c0): >close: err= dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:414 Error: Not equal: expected: []string{"file1,0,false", "file2,0,false"} actual : []string{"file1,0,false", "file2,0,false", "newLeaf,25,false"} Diff: --- Expected +++ Actual @@ -1,4 +1,5 @@ -([]string) (len=2) { +([]string) (len=3) { (string) (len=13) "file1,0,false", - (string) (len=13) "file2,0,false" + (string) (len=13) "file2,0,false", + (string) (len=16) "newLeaf,25,false" } Test: TestRWFileHandleWriteNoWrite 2025/11/22 02:18:07 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:18:07 DEBUG : Looking for writers 2025/11/22 02:18:07 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:07 DEBUG : file1: reading active writers 2025/11/22 02:18:07 DEBUG : file2: reading active writers 2025/11/22 02:18:07 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/11/22 02:18:07 DEBUG : Looking for writers 2025/11/22 02:18:07 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:07 DEBUG : file1: reading active writers 2025/11/22 02:18:07 DEBUG : file2: reading active writers 2025/11/22 02:18:07 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/11/22 02:18:07 DEBUG : Looking for writers 2025/11/22 02:18:07 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:07 DEBUG : file1: reading active writers 2025/11/22 02:18:07 DEBUG : file2: reading active writers 2025/11/22 02:18:07 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/11/22 02:18:07 DEBUG : Looking for writers 2025/11/22 02:18:07 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:07 DEBUG : file1: reading active writers 2025/11/22 02:18:07 DEBUG : file2: reading active writers 2025/11/22 02:18:07 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/11/22 02:18:07 DEBUG : file1: vfs cache: starting upload 2025/11/22 02:18:07 DEBUG : file2: vfs cache: starting upload 2025/11/22 02:18:07 DEBUG : Looking for writers 2025/11/22 02:18:07 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:07 DEBUG : file1: reading active writers 2025/11/22 02:18:07 DEBUG : file2: reading active writers 2025/11/22 02:18:07 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/11/22 02:18:07 DEBUG : Looking for writers 2025/11/22 02:18:07 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:07 DEBUG : file1: reading active writers 2025/11/22 02:18:07 DEBUG : file2: reading active writers 2025/11/22 02:18:07 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/11/22 02:18:07 DEBUG : Looking for writers 2025/11/22 02:18:07 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:07 DEBUG : file1: reading active writers 2025/11/22 02:18:07 DEBUG : file2: reading active writers 2025/11/22 02:18:07 DEBUG : Still 0 writers active and 2 cache items in use, waiting 640ms 2025/11/22 02:18:07 DEBUG : file1: size = 0 OK 2025/11/22 02:18:07 INFO : file1: Copied (new) 2025/11/22 02:18:07 DEBUG : file1: vfs cache: fingerprint now "0" 2025/11/22 02:18:07 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/11/22 02:18:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:18:07 INFO : file1: vfs cache: upload succeeded try #1 2025/11/22 02:18:07 DEBUG : file2: size = 0 OK 2025/11/22 02:18:07 INFO : file2: Copied (new) 2025/11/22 02:18:07 DEBUG : file2: vfs cache: fingerprint now "0" 2025/11/22 02:18:07 DEBUG : file2: vfs cache: writeback object to VFS layer 2025/11/22 02:18:07 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/11/22 02:18:07 INFO : file2: vfs cache: upload succeeded try #1 2025/11/22 02:18:08 DEBUG : Looking for writers 2025/11/22 02:18:08 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:08 DEBUG : file1: reading active writers 2025/11/22 02:18:08 DEBUG : file2: reading active writers 2025/11/22 02:18:08 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: listing wrong, want file1 (0), file2 (0) got file1 (0), file2 (0), newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: Unexpected file "newLeaf" 2025/11/22 02:18:15 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:18:15 DEBUG : Looking for writers 2025/11/22 02:18:15 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:15 DEBUG : file1: reading active writers 2025/11/22 02:18:15 DEBUG : file2: reading active writers 2025/11/22 02:18:15 DEBUG : >WaitForWriters: 2025/11/22 02:18:15 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: cleaner exiting fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: listing wrong, want got newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleWriteNoWrite (15.54s) === RUN TestRWFileModTimeWithOpenWriters run.go:185: Remote "mega root 'rclone-test-digasak0vazo'", Local "Local file system at /tmp/rclone1476689833", Modify Window "876000h0m0s" 2025/11/22 02:18:22 INFO : mega root 'rclone-test-digasak0vazo': poll-interval is not supported by this remote 2025/11/22 02:18:22 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/11/22 02:18:22 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:18:22 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:18:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:18:22 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:18:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:18:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:18:22 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/11/22 02:18:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-digasak0vazo" 2025/11/22 02:18:22 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:18:22 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/22 02:18:22 DEBUG : file1: newRWFileHandle: 2025/11/22 02:18:22 DEBUG : file1(0xc0004e1880): openPending: 2025/11/22 02:18:22 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/11/22 02:18:22 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/11/22 02:18:22 INFO : mega root 'rclone-test-digasak0vazo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 0 (was 0) 2025/11/22 02:18:22 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:18:22 DEBUG : file1(0xc0004e1880): >openPending: err= 2025/11/22 02:18:22 DEBUG : file1: >newRWFileHandle: err= 2025/11/22 02:18:22 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:18:22 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/11/22 02:18:22 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/11/22 02:18:22 DEBUG : Can set mod time: false read_write_test.go:655: can't set mod time 2025/11/22 02:18:22 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:18:22 DEBUG : Looking for writers 2025/11/22 02:18:22 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:22 DEBUG : file1: reading active writers 2025/11/22 02:18:22 DEBUG : file1: active writers 1 2025/11/22 02:18:22 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2025/11/22 02:18:22 DEBUG : Looking for writers 2025/11/22 02:18:22 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:22 DEBUG : file1: reading active writers 2025/11/22 02:18:22 DEBUG : file1: active writers 1 2025/11/22 02:18:22 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2025/11/22 02:18:22 DEBUG : Looking for writers 2025/11/22 02:18:22 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:22 DEBUG : file1: reading active writers 2025/11/22 02:18:22 DEBUG : file1: active writers 1 2025/11/22 02:18:22 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2025/11/22 02:18:22 DEBUG : Looking for writers 2025/11/22 02:18:22 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:22 DEBUG : file1: reading active writers 2025/11/22 02:18:22 DEBUG : file1: active writers 1 2025/11/22 02:18:22 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2025/11/22 02:18:22 DEBUG : Looking for writers 2025/11/22 02:18:22 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:22 DEBUG : file1: reading active writers 2025/11/22 02:18:22 DEBUG : file1: active writers 1 2025/11/22 02:18:22 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2025/11/22 02:18:23 DEBUG : Looking for writers 2025/11/22 02:18:23 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:23 DEBUG : file1: reading active writers 2025/11/22 02:18:23 DEBUG : file1: active writers 1 2025/11/22 02:18:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2025/11/22 02:18:23 DEBUG : Looking for writers 2025/11/22 02:18:23 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:23 DEBUG : file1: reading active writers 2025/11/22 02:18:23 DEBUG : file1: active writers 1 2025/11/22 02:18:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2025/11/22 02:18:24 DEBUG : Looking for writers 2025/11/22 02:18:24 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:24 DEBUG : file1: reading active writers 2025/11/22 02:18:24 DEBUG : file1: active writers 1 2025/11/22 02:18:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:25 DEBUG : Looking for writers 2025/11/22 02:18:25 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:25 DEBUG : file1: reading active writers 2025/11/22 02:18:25 DEBUG : file1: active writers 1 2025/11/22 02:18:25 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:26 DEBUG : Looking for writers 2025/11/22 02:18:26 DEBUG : file1: reading active writers 2025/11/22 02:18:26 DEBUG : file1: active writers 1 2025/11/22 02:18:26 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:26 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:27 DEBUG : Looking for writers 2025/11/22 02:18:27 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:27 DEBUG : file1: reading active writers 2025/11/22 02:18:27 DEBUG : file1: active writers 1 2025/11/22 02:18:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:28 DEBUG : Looking for writers 2025/11/22 02:18:28 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:28 DEBUG : file1: reading active writers 2025/11/22 02:18:28 DEBUG : file1: active writers 1 2025/11/22 02:18:28 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:29 DEBUG : Looking for writers 2025/11/22 02:18:29 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:29 DEBUG : file1: reading active writers 2025/11/22 02:18:29 DEBUG : file1: active writers 1 2025/11/22 02:18:29 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:30 DEBUG : Looking for writers 2025/11/22 02:18:30 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:30 DEBUG : file1: reading active writers 2025/11/22 02:18:30 DEBUG : file1: active writers 1 2025/11/22 02:18:30 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:31 DEBUG : Looking for writers 2025/11/22 02:18:31 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:31 DEBUG : file1: reading active writers 2025/11/22 02:18:31 DEBUG : file1: active writers 1 2025/11/22 02:18:31 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:32 DEBUG : Looking for writers 2025/11/22 02:18:32 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:32 DEBUG : file1: reading active writers 2025/11/22 02:18:32 DEBUG : file1: active writers 1 2025/11/22 02:18:32 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:33 DEBUG : Looking for writers 2025/11/22 02:18:33 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:33 DEBUG : file1: reading active writers 2025/11/22 02:18:33 DEBUG : file1: active writers 1 2025/11/22 02:18:33 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:34 DEBUG : Looking for writers 2025/11/22 02:18:34 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:34 DEBUG : file1: reading active writers 2025/11/22 02:18:34 DEBUG : file1: active writers 1 2025/11/22 02:18:34 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:35 DEBUG : Looking for writers 2025/11/22 02:18:35 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:35 DEBUG : file1: reading active writers 2025/11/22 02:18:35 DEBUG : file1: active writers 1 2025/11/22 02:18:35 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:36 DEBUG : Looking for writers 2025/11/22 02:18:36 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:36 DEBUG : file1: reading active writers 2025/11/22 02:18:36 DEBUG : file1: active writers 1 2025/11/22 02:18:36 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:37 DEBUG : Looking for writers 2025/11/22 02:18:37 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:37 DEBUG : file1: reading active writers 2025/11/22 02:18:37 DEBUG : file1: active writers 1 2025/11/22 02:18:37 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:38 DEBUG : Looking for writers 2025/11/22 02:18:38 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:38 DEBUG : file1: reading active writers 2025/11/22 02:18:38 DEBUG : file1: active writers 1 2025/11/22 02:18:38 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:39 DEBUG : Looking for writers 2025/11/22 02:18:39 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:39 DEBUG : file1: reading active writers 2025/11/22 02:18:39 DEBUG : file1: active writers 1 2025/11/22 02:18:39 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:40 DEBUG : Looking for writers 2025/11/22 02:18:40 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:40 DEBUG : file1: reading active writers 2025/11/22 02:18:40 DEBUG : file1: active writers 1 2025/11/22 02:18:40 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:41 DEBUG : Looking for writers 2025/11/22 02:18:41 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:41 DEBUG : file1: reading active writers 2025/11/22 02:18:41 DEBUG : file1: active writers 1 2025/11/22 02:18:41 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:42 DEBUG : Looking for writers 2025/11/22 02:18:42 DEBUG : file1: reading active writers 2025/11/22 02:18:42 DEBUG : file1: active writers 1 2025/11/22 02:18:42 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:42 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:43 DEBUG : Looking for writers 2025/11/22 02:18:43 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:43 DEBUG : file1: reading active writers 2025/11/22 02:18:43 DEBUG : file1: active writers 1 2025/11/22 02:18:43 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:44 DEBUG : Looking for writers 2025/11/22 02:18:44 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:44 DEBUG : file1: reading active writers 2025/11/22 02:18:44 DEBUG : file1: active writers 1 2025/11/22 02:18:44 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:45 DEBUG : Looking for writers 2025/11/22 02:18:45 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:45 DEBUG : file1: reading active writers 2025/11/22 02:18:45 DEBUG : file1: active writers 1 2025/11/22 02:18:45 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:46 DEBUG : Looking for writers 2025/11/22 02:18:46 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:46 DEBUG : file1: reading active writers 2025/11/22 02:18:46 DEBUG : file1: active writers 1 2025/11/22 02:18:46 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:47 DEBUG : Looking for writers 2025/11/22 02:18:47 DEBUG : file1: reading active writers 2025/11/22 02:18:47 DEBUG : file1: active writers 1 2025/11/22 02:18:47 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:47 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:48 DEBUG : Looking for writers 2025/11/22 02:18:48 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:48 DEBUG : file1: reading active writers 2025/11/22 02:18:48 DEBUG : file1: active writers 1 2025/11/22 02:18:48 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:49 DEBUG : Looking for writers 2025/11/22 02:18:49 DEBUG : file1: reading active writers 2025/11/22 02:18:49 DEBUG : file1: active writers 1 2025/11/22 02:18:49 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:49 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:50 DEBUG : Looking for writers 2025/11/22 02:18:50 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:50 DEBUG : file1: reading active writers 2025/11/22 02:18:50 DEBUG : file1: active writers 1 2025/11/22 02:18:50 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:51 DEBUG : Looking for writers 2025/11/22 02:18:51 DEBUG : file1: reading active writers 2025/11/22 02:18:51 DEBUG : file1: active writers 1 2025/11/22 02:18:51 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:51 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:52 DEBUG : Looking for writers 2025/11/22 02:18:52 DEBUG : newLeaf: reading active writers 2025/11/22 02:18:52 DEBUG : file1: reading active writers 2025/11/22 02:18:52 DEBUG : file1: active writers 1 2025/11/22 02:18:52 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/11/22 02:18:52 ERROR : Exiting even though 1 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0069f12c0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc006b7a108 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824746418496} name:file1 opens:1 downloaders: o: fd:0xc000680198 info:{ModTime:{wall:13997298948694462194 ext:309281724703 loc:0x429bc00} ATime:{wall:13997298948694462194 ext:309281724703 loc:0x429bc00} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:0 pendingAccesses:0 modified:true beingReset:false}, } 2025/11/22 02:18:52 DEBUG : >WaitForWriters: 2025/11/22 02:18:52 DEBUG : mega root 'rclone-test-digasak0vazo': vfs cache: cleaner exiting fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 /usr/local/go/src/runtime/panic.go:636 /usr/local/go/src/testing/testing.go:1156 /usr/local/go/src/testing/testing.go:1132 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:655 Error: Should be true Test: TestRWFileModTimeWithOpenWriters Messages: listing wrong, want got newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 /usr/local/go/src/runtime/panic.go:636 /usr/local/go/src/testing/testing.go:1156 /usr/local/go/src/testing/testing.go:1132 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:655 Error: Should be true Test: TestRWFileModTimeWithOpenWriters Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileModTimeWithOpenWriters (47.82s) === RUN TestCaseSensitivity run.go:185: Remote "mega root 'rclone-test-digasak0vazo'", Local "Local file system at /tmp/rclone1476689833", Modify Window "876000h0m0s" run.go:290: Failed to put "FiLeA" to "mega root 'rclone-test-digasak0vazo'": upload file failed to create session: unexpected end of JSON input fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 /usr/local/go/src/runtime/panic.go:636 /usr/local/go/src/testing/testing.go:1041 /usr/local/go/src/testing/testing.go:1125 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:290 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:297 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_case_test.go:25 Error: Should be true Test: TestCaseSensitivity Messages: listing wrong, want got newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 /usr/local/go/src/runtime/panic.go:636 /usr/local/go/src/testing/testing.go:1041 /usr/local/go/src/testing/testing.go:1125 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:290 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:297 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_case_test.go:25 Error: Should be true Test: TestCaseSensitivity Messages: Unexpected file "newLeaf" --- FAIL: TestCaseSensitivity (28.18s) === RUN TestVFSStatParent run.go:185: Remote "mega root 'rclone-test-digasak0vazo'", Local "Local file system at /tmp/rclone1476689833", Modify Window "876000h0m0s" 2025/11/22 02:19:38 INFO : mega root 'rclone-test-digasak0vazo': poll-interval is not supported by this remote 2025/11/22 02:19:38 NOTICE: mega root 'rclone-test-digasak0vazo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream run.go:290: Failed to put "file1" to "mega root 'rclone-test-digasak0vazo'": upload file failed to create session: unexpected end of JSON input 2025/11/22 02:19:49 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:19:49 DEBUG : Looking for writers 2025/11/22 02:19:49 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 /usr/local/go/src/runtime/panic.go:636 /usr/local/go/src/testing/testing.go:1041 /usr/local/go/src/testing/testing.go:1125 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:290 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:297 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:223 Error: Should be true Test: TestVFSStatParent Messages: listing wrong, want got newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 /usr/local/go/src/runtime/panic.go:636 /usr/local/go/src/testing/testing.go:1041 /usr/local/go/src/testing/testing.go:1125 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:290 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:297 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:223 Error: Should be true Test: TestVFSStatParent Messages: Unexpected file "newLeaf" --- FAIL: TestVFSStatParent (28.20s) === RUN TestVFSOpenFile run.go:185: Remote "mega root 'rclone-test-digasak0vazo'", Local "Local file system at /tmp/rclone1476689833", Modify Window "876000h0m0s" 2025/11/22 02:20:06 INFO : mega root 'rclone-test-digasak0vazo': poll-interval is not supported by this remote 2025/11/22 02:20:06 NOTICE: mega root 'rclone-test-digasak0vazo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream run.go:290: Failed to put "file1" to "mega root 'rclone-test-digasak0vazo'": upload file failed to create session: unexpected end of JSON input 2025/11/22 02:20:17 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:20:17 DEBUG : Looking for writers 2025/11/22 02:20:17 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 /usr/local/go/src/runtime/panic.go:636 /usr/local/go/src/testing/testing.go:1041 /usr/local/go/src/testing/testing.go:1125 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:290 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:297 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:255 Error: Should be true Test: TestVFSOpenFile Messages: listing wrong, want got newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 /usr/local/go/src/runtime/panic.go:636 /usr/local/go/src/testing/testing.go:1041 /usr/local/go/src/testing/testing.go:1125 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:290 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:297 /home/rclone/go/src/github.com/rclone/rclone/vfs/vfs_test.go:255 Error: Should be true Test: TestVFSOpenFile Messages: Unexpected file "newLeaf" --- FAIL: TestVFSOpenFile (28.15s) === RUN TestWriteFileHandleMethods run.go:185: Remote "mega root 'rclone-test-digasak0vazo'", Local "Local file system at /tmp/rclone1476689833", Modify Window "876000h0m0s" 2025/11/22 02:20:34 INFO : mega root 'rclone-test-digasak0vazo': poll-interval is not supported by this remote 2025/11/22 02:20:34 NOTICE: mega root 'rclone-test-digasak0vazo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/22 02:20:34 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:20:34 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/22 02:20:34 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:20:34 DEBUG : file1: >Open: fd=file1 (w), err= 2025/11/22 02:20:34 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/11/22 02:20:34 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:20:34 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/11/22 02:20:34 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/11/22 02:20:34 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/11/22 02:20:34 DEBUG : mega root 'rclone-test-digasak0vazo': File to upload is small (5 bytes), uploading instead of streaming 2025/11/22 02:20:45 ERROR : file1: WriteFileHandle.New Rcat failed: upload file failed to create session: unexpected end of JSON input 2025/11/22 02:20:45 DEBUG : file1: Remove: 2025/11/22 02:20:45 DEBUG : Added virtual directory entry vDel: "file1" 2025/11/22 02:20:45 DEBUG : file1: >Remove: err= write_test.go:144: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:144 Error: Received unexpected error: upload file failed to create session: unexpected end of JSON input Test: TestWriteFileHandleMethods dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:153 Error: Not equal: expected: []string{"file1,5,false"} actual : []string{"newLeaf,25,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=13) "file1,5,false" + (string) (len=16) "newLeaf,25,false" } Test: TestWriteFileHandleMethods fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:157 Error: Should be true Test: TestWriteFileHandleMethods Messages: listing wrong, want file1 (5) got newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:157 Error: Should be true Test: TestWriteFileHandleMethods Messages: Unexpected file "newLeaf" fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:157 Error: Not equal: expected: 0 actual : 1 Test: TestWriteFileHandleMethods Messages: 1 objects not found 2025/11/22 02:20:52 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:20:52 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/22 02:20:52 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:20:52 DEBUG : file1: >Open: fd=file1 (w), err= 2025/11/22 02:20:52 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/11/22 02:20:52 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:20:52 DEBUG : mega root 'rclone-test-digasak0vazo': File to upload is small (0 bytes), uploading instead of streaming 2025/11/22 02:21:03 ERROR : file1: WriteFileHandle.New Rcat failed: upload file failed to create session: unexpected end of JSON input 2025/11/22 02:21:03 DEBUG : file1: Remove: 2025/11/22 02:21:03 DEBUG : Added virtual directory entry vDel: "file1" 2025/11/22 02:21:03 DEBUG : file1: >Remove: err= write_test.go:163: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:163 Error: Received unexpected error: upload file failed to create session: unexpected end of JSON input Test: TestWriteFileHandleMethods dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:164 Error: Not equal: expected: []string{"file1,5,false"} actual : []string{"newLeaf,25,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=13) "file1,5,false" + (string) (len=16) "newLeaf,25,false" } Test: TestWriteFileHandleMethods 2025/11/22 02:21:03 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:21:03 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/22 02:21:03 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:21:03 DEBUG : file1: >Open: fd=file1 (w), err= 2025/11/22 02:21:03 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/11/22 02:21:03 DEBUG : Added virtual directory entry vAddFile: "file1" write_test.go:171: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:171 Error: Not equal: expected: *errors.errorString(&errors.errorString{s:"permission denied"}) actual : () Test: TestWriteFileHandleMethods 2025/11/22 02:21:03 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:21:03 DEBUG : Looking for writers 2025/11/22 02:21:03 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:03 DEBUG : file1: reading active writers 2025/11/22 02:21:03 DEBUG : file1: active writers 1 2025/11/22 02:21:03 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2025/11/22 02:21:03 DEBUG : Looking for writers 2025/11/22 02:21:03 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:03 DEBUG : file1: reading active writers 2025/11/22 02:21:03 DEBUG : file1: active writers 1 2025/11/22 02:21:03 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2025/11/22 02:21:03 DEBUG : Looking for writers 2025/11/22 02:21:03 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:03 DEBUG : file1: reading active writers 2025/11/22 02:21:03 DEBUG : file1: active writers 1 2025/11/22 02:21:03 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2025/11/22 02:21:03 DEBUG : Looking for writers 2025/11/22 02:21:03 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:03 DEBUG : file1: reading active writers 2025/11/22 02:21:03 DEBUG : file1: active writers 1 2025/11/22 02:21:03 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2025/11/22 02:21:03 DEBUG : Looking for writers 2025/11/22 02:21:03 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:03 DEBUG : file1: reading active writers 2025/11/22 02:21:03 DEBUG : file1: active writers 1 2025/11/22 02:21:03 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2025/11/22 02:21:03 DEBUG : Looking for writers 2025/11/22 02:21:03 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:03 DEBUG : file1: reading active writers 2025/11/22 02:21:03 DEBUG : file1: active writers 1 2025/11/22 02:21:03 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2025/11/22 02:21:03 DEBUG : Looking for writers 2025/11/22 02:21:03 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:03 DEBUG : file1: reading active writers 2025/11/22 02:21:03 DEBUG : file1: active writers 1 2025/11/22 02:21:03 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2025/11/22 02:21:04 DEBUG : Looking for writers 2025/11/22 02:21:04 DEBUG : file1: reading active writers 2025/11/22 02:21:04 DEBUG : file1: active writers 1 2025/11/22 02:21:04 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:04 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:05 DEBUG : Looking for writers 2025/11/22 02:21:05 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:05 DEBUG : file1: reading active writers 2025/11/22 02:21:05 DEBUG : file1: active writers 1 2025/11/22 02:21:05 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:06 DEBUG : Looking for writers 2025/11/22 02:21:06 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:06 DEBUG : file1: reading active writers 2025/11/22 02:21:06 DEBUG : file1: active writers 1 2025/11/22 02:21:06 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:07 DEBUG : Looking for writers 2025/11/22 02:21:07 DEBUG : file1: reading active writers 2025/11/22 02:21:07 DEBUG : file1: active writers 1 2025/11/22 02:21:07 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:08 DEBUG : Looking for writers 2025/11/22 02:21:08 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:08 DEBUG : file1: reading active writers 2025/11/22 02:21:08 DEBUG : file1: active writers 1 2025/11/22 02:21:08 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:09 DEBUG : Looking for writers 2025/11/22 02:21:09 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:09 DEBUG : file1: reading active writers 2025/11/22 02:21:09 DEBUG : file1: active writers 1 2025/11/22 02:21:09 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:10 DEBUG : Looking for writers 2025/11/22 02:21:10 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:10 DEBUG : file1: reading active writers 2025/11/22 02:21:10 DEBUG : file1: active writers 1 2025/11/22 02:21:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:11 DEBUG : Looking for writers 2025/11/22 02:21:11 DEBUG : file1: reading active writers 2025/11/22 02:21:11 DEBUG : file1: active writers 1 2025/11/22 02:21:11 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:11 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:12 DEBUG : Looking for writers 2025/11/22 02:21:12 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:12 DEBUG : file1: reading active writers 2025/11/22 02:21:12 DEBUG : file1: active writers 1 2025/11/22 02:21:12 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:13 DEBUG : Looking for writers 2025/11/22 02:21:13 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:13 DEBUG : file1: reading active writers 2025/11/22 02:21:13 DEBUG : file1: active writers 1 2025/11/22 02:21:13 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:14 DEBUG : Looking for writers 2025/11/22 02:21:14 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:14 DEBUG : file1: reading active writers 2025/11/22 02:21:14 DEBUG : file1: active writers 1 2025/11/22 02:21:14 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:15 DEBUG : Looking for writers 2025/11/22 02:21:15 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:15 DEBUG : file1: reading active writers 2025/11/22 02:21:15 DEBUG : file1: active writers 1 2025/11/22 02:21:15 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:16 DEBUG : Looking for writers 2025/11/22 02:21:16 DEBUG : file1: reading active writers 2025/11/22 02:21:16 DEBUG : file1: active writers 1 2025/11/22 02:21:16 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:16 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:17 DEBUG : Looking for writers 2025/11/22 02:21:17 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:17 DEBUG : file1: reading active writers 2025/11/22 02:21:17 DEBUG : file1: active writers 1 2025/11/22 02:21:17 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:18 DEBUG : Looking for writers 2025/11/22 02:21:18 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:18 DEBUG : file1: reading active writers 2025/11/22 02:21:18 DEBUG : file1: active writers 1 2025/11/22 02:21:18 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:19 DEBUG : Looking for writers 2025/11/22 02:21:19 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:19 DEBUG : file1: reading active writers 2025/11/22 02:21:19 DEBUG : file1: active writers 1 2025/11/22 02:21:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:20 DEBUG : Looking for writers 2025/11/22 02:21:20 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:20 DEBUG : file1: reading active writers 2025/11/22 02:21:20 DEBUG : file1: active writers 1 2025/11/22 02:21:20 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:21 DEBUG : Looking for writers 2025/11/22 02:21:21 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:21 DEBUG : file1: reading active writers 2025/11/22 02:21:21 DEBUG : file1: active writers 1 2025/11/22 02:21:21 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:22 DEBUG : Looking for writers 2025/11/22 02:21:22 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:22 DEBUG : file1: reading active writers 2025/11/22 02:21:22 DEBUG : file1: active writers 1 2025/11/22 02:21:22 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:23 DEBUG : Looking for writers 2025/11/22 02:21:23 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:23 DEBUG : file1: reading active writers 2025/11/22 02:21:23 DEBUG : file1: active writers 1 2025/11/22 02:21:23 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:24 DEBUG : Looking for writers 2025/11/22 02:21:24 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:24 DEBUG : file1: reading active writers 2025/11/22 02:21:24 DEBUG : file1: active writers 1 2025/11/22 02:21:24 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:25 DEBUG : Looking for writers 2025/11/22 02:21:25 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:25 DEBUG : file1: reading active writers 2025/11/22 02:21:25 DEBUG : file1: active writers 1 2025/11/22 02:21:25 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:26 DEBUG : Looking for writers 2025/11/22 02:21:26 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:26 DEBUG : file1: reading active writers 2025/11/22 02:21:26 DEBUG : file1: active writers 1 2025/11/22 02:21:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:27 DEBUG : Looking for writers 2025/11/22 02:21:27 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:27 DEBUG : file1: reading active writers 2025/11/22 02:21:27 DEBUG : file1: active writers 1 2025/11/22 02:21:27 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:28 DEBUG : Looking for writers 2025/11/22 02:21:28 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:28 DEBUG : file1: reading active writers 2025/11/22 02:21:28 DEBUG : file1: active writers 1 2025/11/22 02:21:28 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:29 DEBUG : Looking for writers 2025/11/22 02:21:29 DEBUG : file1: reading active writers 2025/11/22 02:21:29 DEBUG : file1: active writers 1 2025/11/22 02:21:29 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:29 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:30 DEBUG : Looking for writers 2025/11/22 02:21:30 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:30 DEBUG : file1: reading active writers 2025/11/22 02:21:30 DEBUG : file1: active writers 1 2025/11/22 02:21:30 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:31 DEBUG : Looking for writers 2025/11/22 02:21:31 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:31 DEBUG : file1: reading active writers 2025/11/22 02:21:31 DEBUG : file1: active writers 1 2025/11/22 02:21:31 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:32 DEBUG : Looking for writers 2025/11/22 02:21:32 DEBUG : newLeaf: reading active writers 2025/11/22 02:21:32 DEBUG : file1: reading active writers 2025/11/22 02:21:32 DEBUG : file1: active writers 1 2025/11/22 02:21:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:21:33 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2025/11/22 02:21:33 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 /usr/local/go/src/runtime/panic.go:636 /usr/local/go/src/testing/testing.go:1041 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:171 Error: Should be true Test: TestWriteFileHandleMethods Messages: listing wrong, want got newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 /usr/local/go/src/runtime/panic.go:636 /usr/local/go/src/testing/testing.go:1041 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:171 Error: Should be true Test: TestWriteFileHandleMethods Messages: Unexpected file "newLeaf" --- FAIL: TestWriteFileHandleMethods (76.21s) === RUN TestWriteFileHandleFlush run.go:185: Remote "mega root 'rclone-test-digasak0vazo'", Local "Local file system at /tmp/rclone1476689833", Modify Window "876000h0m0s" 2025/11/22 02:21:51 INFO : mega root 'rclone-test-digasak0vazo': poll-interval is not supported by this remote 2025/11/22 02:21:51 NOTICE: mega root 'rclone-test-digasak0vazo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/22 02:21:51 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:21:51 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/22 02:21:51 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:21:51 DEBUG : file1: >Open: fd=file1 (w), err= 2025/11/22 02:21:51 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/11/22 02:21:51 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2025/11/22 02:21:51 DEBUG : Added virtual directory entry vAddFile: "file1" dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:247 Error: Not equal: expected: []string{"file1,0,false"} actual : []string{"file1,0,false", "newLeaf,25,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=1) { - (string) (len=13) "file1,0,false" +([]string) (len=2) { + (string) (len=13) "file1,0,false", + (string) (len=16) "newLeaf,25,false" } Test: TestWriteFileHandleFlush 2025/11/22 02:21:51 DEBUG : mega root 'rclone-test-digasak0vazo': File to upload is small (5 bytes), uploading instead of streaming 2025/11/22 02:22:01 ERROR : file1: WriteFileHandle.New Rcat failed: upload file failed to create session: unexpected end of JSON input 2025/11/22 02:22:01 DEBUG : file1: Remove: 2025/11/22 02:22:01 DEBUG : Added virtual directory entry vDel: "file1" 2025/11/22 02:22:01 DEBUG : file1: >Remove: err= 2025/11/22 02:22:01 ERROR : file1: WriteFileHandle.Flush error: upload file failed to create session: unexpected end of JSON input write_test.go:256: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:256 Error: Received unexpected error: upload file failed to create session: unexpected end of JSON input Test: TestWriteFileHandleFlush 2025/11/22 02:22:01 DEBUG : file1: WriteFileHandle.Flush nothing to do dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:267 Error: Not equal: expected: []string{"file1,5,false"} actual : []string{"newLeaf,25,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=13) "file1,5,false" + (string) (len=16) "newLeaf,25,false" } Test: TestWriteFileHandleFlush 2025/11/22 02:22:01 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:22:01 DEBUG : Looking for writers 2025/11/22 02:22:01 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:01 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestWriteFileHandleFlush Messages: listing wrong, want got newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestWriteFileHandleFlush Messages: Unexpected file "newLeaf" --- FAIL: TestWriteFileHandleFlush (28.28s) === RUN TestWriteFileModTimeWithOpenWriters run.go:185: Remote "mega root 'rclone-test-digasak0vazo'", Local "Local file system at /tmp/rclone1476689833", Modify Window "876000h0m0s" 2025/11/22 02:22:19 INFO : mega root 'rclone-test-digasak0vazo': poll-interval is not supported by this remote 2025/11/22 02:22:19 NOTICE: mega root 'rclone-test-digasak0vazo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/22 02:22:19 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:22:19 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/22 02:22:19 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:22:19 DEBUG : file1: >Open: fd=file1 (w), err= 2025/11/22 02:22:19 DEBUG : file1: >OpenFile: fd=file1 (w), err= write_test.go:321: can't set mod time 2025/11/22 02:22:19 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:22:19 DEBUG : Looking for writers 2025/11/22 02:22:19 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:19 DEBUG : file1: reading active writers 2025/11/22 02:22:19 DEBUG : file1: active writers 1 2025/11/22 02:22:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2025/11/22 02:22:19 DEBUG : Looking for writers 2025/11/22 02:22:19 DEBUG : file1: reading active writers 2025/11/22 02:22:19 DEBUG : file1: active writers 1 2025/11/22 02:22:19 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2025/11/22 02:22:19 DEBUG : Looking for writers 2025/11/22 02:22:19 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:19 DEBUG : file1: reading active writers 2025/11/22 02:22:19 DEBUG : file1: active writers 1 2025/11/22 02:22:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2025/11/22 02:22:19 DEBUG : Looking for writers 2025/11/22 02:22:19 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:19 DEBUG : file1: reading active writers 2025/11/22 02:22:19 DEBUG : file1: active writers 1 2025/11/22 02:22:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2025/11/22 02:22:19 DEBUG : Looking for writers 2025/11/22 02:22:19 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:19 DEBUG : file1: reading active writers 2025/11/22 02:22:19 DEBUG : file1: active writers 1 2025/11/22 02:22:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2025/11/22 02:22:19 DEBUG : Looking for writers 2025/11/22 02:22:19 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:19 DEBUG : file1: reading active writers 2025/11/22 02:22:19 DEBUG : file1: active writers 1 2025/11/22 02:22:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2025/11/22 02:22:20 DEBUG : Looking for writers 2025/11/22 02:22:20 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:20 DEBUG : file1: reading active writers 2025/11/22 02:22:20 DEBUG : file1: active writers 1 2025/11/22 02:22:20 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2025/11/22 02:22:20 DEBUG : Looking for writers 2025/11/22 02:22:20 DEBUG : file1: reading active writers 2025/11/22 02:22:20 DEBUG : file1: active writers 1 2025/11/22 02:22:20 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:20 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:21 DEBUG : Looking for writers 2025/11/22 02:22:21 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:21 DEBUG : file1: reading active writers 2025/11/22 02:22:21 DEBUG : file1: active writers 1 2025/11/22 02:22:21 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:22 DEBUG : Looking for writers 2025/11/22 02:22:22 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:22 DEBUG : file1: reading active writers 2025/11/22 02:22:22 DEBUG : file1: active writers 1 2025/11/22 02:22:22 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:23 DEBUG : Looking for writers 2025/11/22 02:22:23 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:23 DEBUG : file1: reading active writers 2025/11/22 02:22:23 DEBUG : file1: active writers 1 2025/11/22 02:22:23 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:24 DEBUG : Looking for writers 2025/11/22 02:22:24 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:24 DEBUG : file1: reading active writers 2025/11/22 02:22:24 DEBUG : file1: active writers 1 2025/11/22 02:22:24 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:25 DEBUG : Looking for writers 2025/11/22 02:22:25 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:25 DEBUG : file1: reading active writers 2025/11/22 02:22:25 DEBUG : file1: active writers 1 2025/11/22 02:22:25 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:26 DEBUG : Looking for writers 2025/11/22 02:22:26 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:26 DEBUG : file1: reading active writers 2025/11/22 02:22:26 DEBUG : file1: active writers 1 2025/11/22 02:22:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:27 DEBUG : Looking for writers 2025/11/22 02:22:27 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:27 DEBUG : file1: reading active writers 2025/11/22 02:22:27 DEBUG : file1: active writers 1 2025/11/22 02:22:27 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:28 DEBUG : Looking for writers 2025/11/22 02:22:28 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:28 DEBUG : file1: reading active writers 2025/11/22 02:22:28 DEBUG : file1: active writers 1 2025/11/22 02:22:28 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:29 DEBUG : Looking for writers 2025/11/22 02:22:29 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:29 DEBUG : file1: reading active writers 2025/11/22 02:22:29 DEBUG : file1: active writers 1 2025/11/22 02:22:29 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:30 DEBUG : Looking for writers 2025/11/22 02:22:30 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:30 DEBUG : file1: reading active writers 2025/11/22 02:22:30 DEBUG : file1: active writers 1 2025/11/22 02:22:30 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:31 DEBUG : Looking for writers 2025/11/22 02:22:31 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:31 DEBUG : file1: reading active writers 2025/11/22 02:22:31 DEBUG : file1: active writers 1 2025/11/22 02:22:31 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:32 DEBUG : Looking for writers 2025/11/22 02:22:32 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:32 DEBUG : file1: reading active writers 2025/11/22 02:22:32 DEBUG : file1: active writers 1 2025/11/22 02:22:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:33 DEBUG : Looking for writers 2025/11/22 02:22:33 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:33 DEBUG : file1: reading active writers 2025/11/22 02:22:33 DEBUG : file1: active writers 1 2025/11/22 02:22:33 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:34 DEBUG : Looking for writers 2025/11/22 02:22:34 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:34 DEBUG : file1: reading active writers 2025/11/22 02:22:34 DEBUG : file1: active writers 1 2025/11/22 02:22:34 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:35 DEBUG : Looking for writers 2025/11/22 02:22:35 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:35 DEBUG : file1: reading active writers 2025/11/22 02:22:35 DEBUG : file1: active writers 1 2025/11/22 02:22:35 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:36 DEBUG : Looking for writers 2025/11/22 02:22:36 DEBUG : file1: reading active writers 2025/11/22 02:22:36 DEBUG : file1: active writers 1 2025/11/22 02:22:36 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:36 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:37 DEBUG : Looking for writers 2025/11/22 02:22:37 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:37 DEBUG : file1: reading active writers 2025/11/22 02:22:37 DEBUG : file1: active writers 1 2025/11/22 02:22:37 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:38 DEBUG : Looking for writers 2025/11/22 02:22:38 DEBUG : file1: reading active writers 2025/11/22 02:22:38 DEBUG : file1: active writers 1 2025/11/22 02:22:38 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:38 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:39 DEBUG : Looking for writers 2025/11/22 02:22:39 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:39 DEBUG : file1: reading active writers 2025/11/22 02:22:39 DEBUG : file1: active writers 1 2025/11/22 02:22:39 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:40 DEBUG : Looking for writers 2025/11/22 02:22:40 DEBUG : file1: reading active writers 2025/11/22 02:22:40 DEBUG : file1: active writers 1 2025/11/22 02:22:40 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:40 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:41 DEBUG : Looking for writers 2025/11/22 02:22:41 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:41 DEBUG : file1: reading active writers 2025/11/22 02:22:41 DEBUG : file1: active writers 1 2025/11/22 02:22:41 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:42 DEBUG : Looking for writers 2025/11/22 02:22:42 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:42 DEBUG : file1: reading active writers 2025/11/22 02:22:42 DEBUG : file1: active writers 1 2025/11/22 02:22:42 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:43 DEBUG : Looking for writers 2025/11/22 02:22:43 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:43 DEBUG : file1: reading active writers 2025/11/22 02:22:43 DEBUG : file1: active writers 1 2025/11/22 02:22:43 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:44 DEBUG : Looking for writers 2025/11/22 02:22:44 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:44 DEBUG : file1: reading active writers 2025/11/22 02:22:44 DEBUG : file1: active writers 1 2025/11/22 02:22:44 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:45 DEBUG : Looking for writers 2025/11/22 02:22:45 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:45 DEBUG : file1: reading active writers 2025/11/22 02:22:45 DEBUG : file1: active writers 1 2025/11/22 02:22:45 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:46 DEBUG : Looking for writers 2025/11/22 02:22:46 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:46 DEBUG : file1: reading active writers 2025/11/22 02:22:46 DEBUG : file1: active writers 1 2025/11/22 02:22:46 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:47 DEBUG : Looking for writers 2025/11/22 02:22:47 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:47 DEBUG : file1: reading active writers 2025/11/22 02:22:47 DEBUG : file1: active writers 1 2025/11/22 02:22:47 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:48 DEBUG : Looking for writers 2025/11/22 02:22:48 DEBUG : newLeaf: reading active writers 2025/11/22 02:22:48 DEBUG : file1: reading active writers 2025/11/22 02:22:48 DEBUG : file1: active writers 1 2025/11/22 02:22:48 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/11/22 02:22:49 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2025/11/22 02:22:49 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 /usr/local/go/src/runtime/panic.go:636 /usr/local/go/src/testing/testing.go:1156 /usr/local/go/src/testing/testing.go:1132 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:321 Error: Should be true Test: TestWriteFileModTimeWithOpenWriters Messages: listing wrong, want got newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 /usr/local/go/src/runtime/panic.go:636 /usr/local/go/src/testing/testing.go:1156 /usr/local/go/src/testing/testing.go:1132 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:321 Error: Should be true Test: TestWriteFileModTimeWithOpenWriters Messages: Unexpected file "newLeaf" --- FAIL: TestWriteFileModTimeWithOpenWriters (37.17s) === RUN TestFileReadAtZeroLength run.go:185: Remote "mega root 'rclone-test-digasak0vazo'", Local "Local file system at /tmp/rclone1476689833", Modify Window "876000h0m0s" 2025/11/22 02:22:56 INFO : mega root 'rclone-test-digasak0vazo': poll-interval is not supported by this remote 2025/11/22 02:22:56 NOTICE: mega root 'rclone-test-digasak0vazo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/22 02:22:56 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/11/22 02:22:56 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/11/22 02:22:56 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:22:56 DEBUG : file1: >Open: fd=file1 (w), err= 2025/11/22 02:22:56 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/11/22 02:22:56 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:22:56 DEBUG : mega root 'rclone-test-digasak0vazo': File to upload is small (0 bytes), uploading instead of streaming 2025/11/22 02:23:07 DEBUG : file1: size = 0 OK 2025/11/22 02:23:07 DEBUG : file1: Size of src and dst objects identical 2025/11/22 02:23:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/11/22 02:23:07 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/11/22 02:23:07 DEBUG : file1: Open: flags=O_RDONLY 2025/11/22 02:23:07 DEBUG : file1: >Open: fd=file1 (r), err= 2025/11/22 02:23:07 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2025/11/22 02:23:07 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:23:07 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2025/11/22 02:23:07 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:23:07 DEBUG : Looking for writers 2025/11/22 02:23:07 DEBUG : newLeaf: reading active writers 2025/11/22 02:23:07 DEBUG : file1: reading active writers 2025/11/22 02:23:07 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestFileReadAtZeroLength Messages: listing wrong, want got newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestFileReadAtZeroLength Messages: Unexpected file "newLeaf" --- FAIL: TestFileReadAtZeroLength (17.97s) === RUN TestZipManyFiles run.go:185: Remote "mega root 'rclone-test-digasak0vazo'", Local "Local file system at /tmp/rclone1476689833", Modify Window "876000h0m0s" 2025/11/22 02:23:14 INFO : mega root 'rclone-test-digasak0vazo': poll-interval is not supported by this remote 2025/11/22 02:23:14 NOTICE: mega root 'rclone-test-digasak0vazo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 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/zip_test.go:65 Error: Should be true Test: TestZipManyFiles Messages: listing wrong, want flat/f000.txt (7), flat/f001.txt (14), flat/f002.txt (21), flat/f003.txt (28), flat/f004.txt (35) got flat/f000.txt (7), flat/f001.txt (14), flat/f002.txt (21), flat/f003.txt (28), flat/f004.txt (35), newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/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/zip_test.go:65 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Should be true Test: TestZipManyFiles Messages: Unexpected file "newLeaf" 2025/11/22 02:23:25 DEBUG : flat/f000.txt: Open: flags=O_RDONLY 2025/11/22 02:23:25 DEBUG : flat/f000.txt: >Open: fd=flat/f000.txt (r), err= 2025/11/22 02:23:25 DEBUG : flat/f000.txt: Set virtual modtime to 2025-11-22 02:23:14 +0000 UTC 2025/11/22 02:23:25 DEBUG : flat/f000.txt: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:23:25 DEBUG : flat/f000.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/22 02:23:25 DEBUG : flat/f001.txt: Open: flags=O_RDONLY 2025/11/22 02:23:25 DEBUG : flat/f001.txt: >Open: fd=flat/f001.txt (r), err= 2025/11/22 02:23:25 DEBUG : flat/f001.txt: Set virtual modtime to 2025-11-22 02:23:15 +0000 UTC 2025/11/22 02:23:25 DEBUG : flat/f001.txt: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:23:25 DEBUG : flat/f001.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/22 02:23:25 DEBUG : flat/f002.txt: Open: flags=O_RDONLY 2025/11/22 02:23:25 DEBUG : flat/f002.txt: >Open: fd=flat/f002.txt (r), err= 2025/11/22 02:23:25 DEBUG : flat/f002.txt: Set virtual modtime to 2025-11-22 02:23:17 +0000 UTC 2025/11/22 02:23:25 DEBUG : flat/f002.txt: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:23:25 DEBUG : flat/f002.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/22 02:23:25 DEBUG : flat/f003.txt: Open: flags=O_RDONLY 2025/11/22 02:23:25 DEBUG : flat/f003.txt: >Open: fd=flat/f003.txt (r), err= 2025/11/22 02:23:25 DEBUG : flat/f003.txt: Set virtual modtime to 2025-11-22 02:23:17 +0000 UTC 2025/11/22 02:23:25 DEBUG : flat/f003.txt: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:23:25 DEBUG : flat/f003.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/22 02:23:25 DEBUG : flat/f004.txt: Open: flags=O_RDONLY 2025/11/22 02:23:25 DEBUG : flat/f004.txt: >Open: fd=flat/f004.txt (r), err= 2025/11/22 02:23:25 DEBUG : flat/f004.txt: Set virtual modtime to 2025-11-22 02:23:18 +0000 UTC 2025/11/22 02:23:25 DEBUG : flat/f004.txt: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:23:25 DEBUG : flat/f004.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/22 02:23:25 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:23:25 DEBUG : flat: Looking for writers 2025/11/22 02:23:25 DEBUG : f003.txt: reading active writers 2025/11/22 02:23:25 DEBUG : f004.txt: reading active writers 2025/11/22 02:23:25 DEBUG : f000.txt: reading active writers 2025/11/22 02:23:25 DEBUG : f001.txt: reading active writers 2025/11/22 02:23:25 DEBUG : f002.txt: reading active writers 2025/11/22 02:23:25 DEBUG : Looking for writers 2025/11/22 02:23:25 DEBUG : flat: reading active writers 2025/11/22 02:23:25 DEBUG : newLeaf: reading active writers 2025/11/22 02:23:25 DEBUG : >WaitForWriters: 2025/11/22 02:23:32 DEBUG : dir: forgetting directory cache 2025/11/22 02:23:32 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/11/22 02:23:32 DEBUG : forgetting directory cache 2025/11/22 02:23:32 DEBUG : dir: forgetting directory cache 2025/11/22 02:23:32 DEBUG : Removed 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/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestZipManyFiles Messages: listing wrong, want got newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestZipManyFiles Messages: Unexpected file "newLeaf" --- FAIL: TestZipManyFiles (27.41s) === RUN TestZipManySubDirs run.go:185: Remote "mega root 'rclone-test-digasak0vazo'", Local "Local file system at /tmp/rclone1476689833", Modify Window "876000h0m0s" 2025/11/22 02:23:41 INFO : mega root 'rclone-test-digasak0vazo': poll-interval is not supported by this remote 2025/11/22 02:23:41 NOTICE: mega root 'rclone-test-digasak0vazo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/22 02:23:50 DEBUG : a/b/c/deep.txt: Open: flags=O_RDONLY 2025/11/22 02:23:50 DEBUG : a/b/c/deep.txt: >Open: fd=a/b/c/deep.txt (r), err= 2025/11/22 02:23:50 DEBUG : a/b/c/deep.txt: Set virtual modtime to 2025-11-22 02:23:48 +0000 UTC 2025/11/22 02:23:50 DEBUG : a/b/c/deep.txt: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:23:50 DEBUG : a/b/c/deep.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/22 02:23:50 DEBUG : a/b/mid.txt: Open: flags=O_RDONLY 2025/11/22 02:23:50 DEBUG : a/b/mid.txt: >Open: fd=a/b/mid.txt (r), err= 2025/11/22 02:23:50 DEBUG : a/b/mid.txt: Set virtual modtime to 2025-11-22 02:23:48 +0000 UTC 2025/11/22 02:23:50 DEBUG : a/b/mid.txt: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:23:50 DEBUG : a/b/mid.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/22 02:23:50 DEBUG : a/top.txt: Open: flags=O_RDONLY 2025/11/22 02:23:50 DEBUG : a/top.txt: >Open: fd=a/top.txt (r), err= 2025/11/22 02:23:50 DEBUG : a/top.txt: Set virtual modtime to 2025-11-22 02:23:47 +0000 UTC 2025/11/22 02:23:50 DEBUG : a/top.txt: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:23:50 DEBUG : a/top.txt: ChunkedReader.Read at 0 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/22 02:23:50 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:23:50 DEBUG : a/b/c: Looking for writers 2025/11/22 02:23:50 DEBUG : deep.txt: reading active writers 2025/11/22 02:23:50 DEBUG : a/b: Looking for writers 2025/11/22 02:23:50 DEBUG : mid.txt: reading active writers 2025/11/22 02:23:50 DEBUG : c: reading active writers 2025/11/22 02:23:50 DEBUG : a: Looking for writers 2025/11/22 02:23:50 DEBUG : b: reading active writers 2025/11/22 02:23:50 DEBUG : top.txt: reading active writers 2025/11/22 02:23:50 DEBUG : Looking for writers 2025/11/22 02:23:50 DEBUG : a: reading active writers 2025/11/22 02:23:50 DEBUG : newLeaf: reading active writers 2025/11/22 02:23:50 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestZipManySubDirs Messages: listing wrong, want got newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestZipManySubDirs Messages: Unexpected file "newLeaf" --- FAIL: TestZipManySubDirs (17.59s) === RUN TestZipLargeFiles run.go:185: Remote "mega root 'rclone-test-digasak0vazo'", Local "Local file system at /tmp/rclone1476689833", Modify Window "876000h0m0s" 2025/11/22 02:23:59 INFO : mega root 'rclone-test-digasak0vazo': poll-interval is not supported by this remote 2025/11/22 02:23:59 NOTICE: mega root 'rclone-test-digasak0vazo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/22 02:24:06 DEBUG : forgetting directory cache 2025/11/22 02:24:06 DEBUG : dir: forgetting directory cache 2025/11/22 02:24:06 DEBUG : dir: forgetting directory cache 2025/11/22 02:24:06 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/11/22 02:24:06 DEBUG : Removed virtual directory entry vAddFile: "newLeaf" 2025/11/22 02:24:09 DEBUG : bigdir/big.bin: Open: flags=O_RDONLY 2025/11/22 02:24:09 DEBUG : bigdir/big.bin: >Open: fd=bigdir/big.bin (r), err= 2025/11/22 02:24:09 DEBUG : bigdir/big.bin: Set virtual modtime to 2025-11-22 02:24:07 +0000 UTC 2025/11/22 02:24:09 DEBUG : bigdir/big.bin: ChunkedReader.openRange at 0 length 134217728 2025/11/22 02:24:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 0 length 4096 chunkOffset 0 chunkSize 134217728 2025/11/22 02:24:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 4096 length 8192 chunkOffset 0 chunkSize 134217728 2025/11/22 02:24:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 12288 length 16384 chunkOffset 0 chunkSize 134217728 2025/11/22 02:24:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 28672 length 32768 chunkOffset 0 chunkSize 134217728 2025/11/22 02:24:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 61440 length 65536 chunkOffset 0 chunkSize 134217728 2025/11/22 02:24:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 126976 length 131072 chunkOffset 0 chunkSize 134217728 2025/11/22 02:24:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 258048 length 262144 chunkOffset 0 chunkSize 134217728 2025/11/22 02:24:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 520192 length 524288 chunkOffset 0 chunkSize 134217728 2025/11/22 02:24:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 1044480 length 1048576 chunkOffset 0 chunkSize 134217728 2025/11/22 02:24:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 2093056 length 1048576 chunkOffset 0 chunkSize 134217728 2025/11/22 02:24:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 3141632 length 1048576 chunkOffset 0 chunkSize 134217728 2025/11/22 02:24:09 DEBUG : bigdir/big.bin: ChunkedReader.Read at 4190208 length 1048576 chunkOffset 0 chunkSize 134217728 2025/11/22 02:24:10 DEBUG : bigdir/big.bin: ChunkedReader.Read at 5238784 length 1048576 chunkOffset 0 chunkSize 134217728 2025/11/22 02:24:10 DEBUG : WaitForWriters: timeout=30s 2025/11/22 02:24:10 DEBUG : bigdir: Looking for writers 2025/11/22 02:24:10 DEBUG : big.bin: reading active writers 2025/11/22 02:24:10 DEBUG : Looking for writers 2025/11/22 02:24:10 DEBUG : bigdir: reading active writers 2025/11/22 02:24:10 DEBUG : newLeaf: reading active writers 2025/11/22 02:24:10 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestZipLargeFiles Messages: listing wrong, want got newLeaf (25) fstest.go:191: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:191 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:308 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:178 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 Error: Should be true Test: TestZipLargeFiles Messages: Unexpected file "newLeaf" --- FAIL: TestZipLargeFiles (19.00s) FAIL 2025/11/22 02:24:18 DEBUG : mega root 'rclone-test-digasak0vazo': 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 11m5.536815547s (try 4/5): exit status 1: Failed [TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestRWFileHandleMethodsRead TestRWFileHandleReleaseRead TestRWFileHandleMethodsWrite TestRWFileHandleWriteAt TestRWFileHandleWriteNoWrite TestRWFileModTimeWithOpenWriters TestCaseSensitivity TestVFSStatParent TestVFSOpenFile TestWriteFileHandleMethods TestWriteFileHandleFlush TestWriteFileModTimeWithOpenWriters TestFileReadAtZeroLength TestZipManyFiles TestZipManySubDirs TestZipLargeFiles]