"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestDirEntryModTimeInvalidation|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestVFSMkdir|TestVFSMkdirAll|TestVFSRename|TestVFSStatfs|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 3/5) 2025/02/21 06:05:14 DEBUG : Creating backend with remote "TestMega:rclone-test-zecovot0xiqu" 2025/02/21 06:05:14 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/02/21 06:05:29 DEBUG : Creating backend with remote "/tmp/rclone645950540" === RUN TestDirEntryModTimeInvalidation run.go:180: Remote "mega root 'rclone-test-zecovot0xiqu'", Local "Local file system at /tmp/rclone645950540", Modify Window "876000h0m0s" 2025/02/21 06:05:29 INFO : mega root 'rclone-test-zecovot0xiqu': poll-interval is not supported by this remote 2025/02/21 06:05:29 NOTICE: mega root 'rclone-test-zecovot0xiqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/02/21 06:05:30 DEBUG : dir: forgetting directory cache 2025/02/21 06:05:30 DEBUG : : forgetting directory cache 2025/02/21 06:05:30 DEBUG : dir: forgetting directory cache dir_test.go:687: ModTime not invalidated 2025/02/21 06:05:30 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:05:30 DEBUG : dir: Looking for writers 2025/02/21 06:05:30 DEBUG : : Looking for writers 2025/02/21 06:05:30 DEBUG : dir: reading active writers 2025/02/21 06:05:30 DEBUG : >WaitForWriters: 2025/02/21 06:05:30 DEBUG : : forgetting directory cache 2025/02/21 06:05:30 DEBUG : dir: forgetting directory cache 2025/02/21 06:05:30 DEBUG : dir: forgetting directory cache run.go:125: removing dir "dir" failed - try 1/3: directory not empty --- FAIL: TestDirEntryModTimeInvalidation (2.91s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "mega root 'rclone-test-zecovot0xiqu'", Local "Local file system at /tmp/rclone645950540", Modify Window "876000h0m0s" 2025/02/21 06:05:32 INFO : mega root 'rclone-test-zecovot0xiqu': poll-interval is not supported by this remote 2025/02/21 06:05:32 NOTICE: mega root 'rclone-test-zecovot0xiqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/02/21 06:05:33 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:05:33 DEBUG : dir: Looking for writers 2025/02/21 06:05:33 DEBUG : file1: reading active writers 2025/02/21 06:05:33 DEBUG : : Looking for writers 2025/02/21 06:05:33 DEBUG : dir: reading active writers 2025/02/21 06:05:33 DEBUG : >WaitForWriters: 2025/02/21 06:05:33 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/02/21 06:05:33 DEBUG : newLeaf: Updating file with newLeaf 0xc000166600 2025/02/21 06:05:33 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/02/21 06:05:33 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:295: Flushing the directory cache fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "file1" 2025/02/21 06:05:41 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/02/21 06:05:41 DEBUG : dir/file1: Updating file with dir/file1 0xc000166600 2025/02/21 06:05:41 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2025/02/21 06:05:41 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:295: Flushing the directory cache fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /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: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /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/02/21 06:05:48 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/02/21 06:05:48 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/02/21 06:05:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/02/21 06:05:48 DEBUG : dir/file1: File is currently open, delaying rename 0xc000166600 2025/02/21 06:05:48 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/02/21 06:05:48 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/02/21 06:05:48 DEBUG : mega root 'rclone-test-zecovot0xiqu': File to upload is small (25 bytes), uploading instead of streaming 2025/02/21 06:05:48 NOTICE: mega root 'rclone-test-zecovot0xiqu': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only 2025/02/21 06:05:48 DEBUG : dir/file1: Size of src and dst objects identical 2025/02/21 06:05:48 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/02/21 06:05:48 DEBUG : newLeaf: Running delayed rename now 2025/02/21 06:05:48 INFO : newLeaf: Deleted 2025/02/21 06:05:49 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/02/21 06:05:49 DEBUG : newLeaf: Updating file with newLeaf 0xc000166600 2025/02/21 06:05:49 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:05:49 DEBUG : dir: Looking for writers 2025/02/21 06:05:49 DEBUG : : Looking for writers 2025/02/21 06:05:49 DEBUG : dir: reading active writers 2025/02/21 06:05:49 DEBUG : newLeaf: reading active writers 2025/02/21 06:05:49 DEBUG : >WaitForWriters: 2025/02/21 06:05:49 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:05:49 DEBUG : dir: Looking for writers 2025/02/21 06:05:49 DEBUG : : Looking for writers 2025/02/21 06:05:49 DEBUG : dir: reading active writers 2025/02/21 06:05:49 DEBUG : newLeaf: reading active writers 2025/02/21 06:05:49 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "mega root 'rclone-test-zecovot0xiqu'", Local "Local file system at /tmp/rclone645950540", Modify Window "876000h0m0s" 2025/02/21 06:05:49 INFO : mega root 'rclone-test-zecovot0xiqu': poll-interval is not supported by this remote 2025/02/21 06:05:49 NOTICE: mega root 'rclone-test-zecovot0xiqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/02/21 06:05:49 DEBUG : mega root 'rclone-test-zecovot0xiqu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/02/21 06:05:49 DEBUG : mega root 'rclone-test-zecovot0xiqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:05:49 DEBUG : mega root 'rclone-test-zecovot0xiqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:05:49 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:05:49 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/02/21 06:05:49 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zecovot0xiqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:05:49 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:05:49 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/02/21 06:05:49 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zecovot0xiqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:05:49 INFO : mega root 'rclone-test-zecovot0xiqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/02/21 06:05:50 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:05:50 DEBUG : dir: Looking for writers 2025/02/21 06:05:50 DEBUG : file1: reading active writers 2025/02/21 06:05:50 DEBUG : : Looking for writers 2025/02/21 06:05:50 DEBUG : dir: reading active writers 2025/02/21 06:05:50 DEBUG : >WaitForWriters: 2025/02/21 06:05:51 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/02/21 06:05:51 DEBUG : newLeaf: Updating file with newLeaf 0xc001984000 2025/02/21 06:05:51 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/02/21 06:05:51 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:295: Flushing the directory cache fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /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: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "file1" 2025/02/21 06:05:58 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/02/21 06:05:58 DEBUG : dir/file1: Updating file with dir/file1 0xc001984000 2025/02/21 06:05:58 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2025/02/21 06:05:58 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:295: Flushing the directory cache fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /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: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /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:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /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/02/21 06:06:05 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/02/21 06:06:05 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/02/21 06:06:05 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/02/21 06:06:05 DEBUG : dir/file1: File is currently open, delaying rename 0xc001984000 2025/02/21 06:06:05 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/02/21 06:06:05 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/02/21 06:06:05 DEBUG : mega root 'rclone-test-zecovot0xiqu': File to upload is small (25 bytes), uploading instead of streaming 2025/02/21 06:06:06 DEBUG : dir/file1: Size of src and dst objects identical 2025/02/21 06:06:06 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/02/21 06:06:06 DEBUG : newLeaf: Running delayed rename now 2025/02/21 06:06:06 INFO : newLeaf: Deleted 2025/02/21 06:06:06 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/02/21 06:06:06 DEBUG : newLeaf: Updating file with newLeaf 0xc001984000 2025/02/21 06:06:06 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:06:06 DEBUG : dir: Looking for writers 2025/02/21 06:06:06 DEBUG : : Looking for writers 2025/02/21 06:06:06 DEBUG : dir: reading active writers 2025/02/21 06:06:06 DEBUG : newLeaf: reading active writers 2025/02/21 06:06:06 DEBUG : >WaitForWriters: 2025/02/21 06:06:06 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:06:06 DEBUG : dir: Looking for writers 2025/02/21 06:06:06 DEBUG : : Looking for writers 2025/02/21 06:06:06 DEBUG : dir: reading active writers 2025/02/21 06:06:06 DEBUG : newLeaf: reading active writers 2025/02/21 06:06:06 DEBUG : >WaitForWriters: 2025/02/21 06:06:06 DEBUG : mega root 'rclone-test-zecovot0xiqu': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "mega root 'rclone-test-zecovot0xiqu'", Local "Local file system at /tmp/rclone645950540", Modify Window "876000h0m0s" 2025/02/21 06:06:07 INFO : mega root 'rclone-test-zecovot0xiqu': poll-interval is not supported by this remote 2025/02/21 06:06:07 NOTICE: mega root 'rclone-test-zecovot0xiqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/02/21 06:06:07 DEBUG : mega root 'rclone-test-zecovot0xiqu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/02/21 06:06:07 DEBUG : mega root 'rclone-test-zecovot0xiqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:06:07 DEBUG : mega root 'rclone-test-zecovot0xiqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:06:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:06:07 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/02/21 06:06:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zecovot0xiqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:06:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:06:07 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/02/21 06:06:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zecovot0xiqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:06:07 INFO : mega root 'rclone-test-zecovot0xiqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/02/21 06:06:07 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/02/21 06:06:07 DEBUG : dir/file1: newRWFileHandle: 2025/02/21 06:06:07 DEBUG : dir/file1(0xc003c33740): openPending: 2025/02/21 06:06:07 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/02/21 06:06:07 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/02/21 06:06:07 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/02/21 06:06:07 DEBUG : dir/file1(0xc003c33740): >openPending: err= 2025/02/21 06:06:07 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/02/21 06:06:07 DEBUG : dir/file1: >newRWFileHandle: err= 2025/02/21 06:06:07 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/02/21 06:06:07 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/02/21 06:06:07 DEBUG : dir/file1(0xc003c33740): _writeAt: size=14, off=0 2025/02/21 06:06:07 DEBUG : dir/file1(0xc003c33740): >_writeAt: n=14, err= 2025/02/21 06:06:07 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/02/21 06:06:07 DEBUG : dir/file1(0xc003c33740): close: 2025/02/21 06:06:07 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/02/21 06:06:07 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/02/21 06:06:07 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/02/21 06:06:07 DEBUG : dir/file1(0xc003c33740): >close: err= 2025/02/21 06:06:07 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:06:07 DEBUG : dir: Looking for writers 2025/02/21 06:06:07 DEBUG : file1: reading active writers 2025/02/21 06:06:07 DEBUG : : Looking for writers 2025/02/21 06:06:07 DEBUG : dir: reading active writers 2025/02/21 06:06:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/02/21 06:06:07 DEBUG : dir: Looking for writers 2025/02/21 06:06:07 DEBUG : file1: reading active writers 2025/02/21 06:06:07 DEBUG : : Looking for writers 2025/02/21 06:06:07 DEBUG : dir: reading active writers 2025/02/21 06:06:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/02/21 06:06:07 DEBUG : dir: Looking for writers 2025/02/21 06:06:07 DEBUG : file1: reading active writers 2025/02/21 06:06:07 DEBUG : : Looking for writers 2025/02/21 06:06:07 DEBUG : dir: reading active writers 2025/02/21 06:06:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/02/21 06:06:07 DEBUG : dir: Looking for writers 2025/02/21 06:06:07 DEBUG : file1: reading active writers 2025/02/21 06:06:07 DEBUG : : Looking for writers 2025/02/21 06:06:07 DEBUG : dir: reading active writers 2025/02/21 06:06:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/02/21 06:06:07 DEBUG : dir/file1: vfs cache: starting upload 2025/02/21 06:06:07 DEBUG : dir: Looking for writers 2025/02/21 06:06:07 DEBUG : file1: reading active writers 2025/02/21 06:06:07 DEBUG : : Looking for writers 2025/02/21 06:06:07 DEBUG : dir: reading active writers 2025/02/21 06:06:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/02/21 06:06:08 DEBUG : dir: Looking for writers 2025/02/21 06:06:08 DEBUG : file1: reading active writers 2025/02/21 06:06:08 DEBUG : : Looking for writers 2025/02/21 06:06:08 DEBUG : dir: reading active writers 2025/02/21 06:06:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/02/21 06:06:08 DEBUG : dir: Looking for writers 2025/02/21 06:06:08 DEBUG : file1: reading active writers 2025/02/21 06:06:08 DEBUG : : Looking for writers 2025/02/21 06:06:08 DEBUG : dir: reading active writers 2025/02/21 06:06:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/02/21 06:06:09 DEBUG : dir: Looking for writers 2025/02/21 06:06:09 DEBUG : file1: reading active writers 2025/02/21 06:06:09 DEBUG : : Looking for writers 2025/02/21 06:06:09 DEBUG : dir: reading active writers 2025/02/21 06:06:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/02/21 06:06:09 INFO : dir/file1: Copied (replaced existing) 2025/02/21 06:06:09 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/02/21 06:06:09 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/02/21 06:06:09 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/02/21 06:06:09 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/02/21 06:06:10 DEBUG : dir: Looking for writers 2025/02/21 06:06:10 DEBUG : file1: reading active writers 2025/02/21 06:06:10 DEBUG : : Looking for writers 2025/02/21 06:06:10 DEBUG : dir: reading active writers 2025/02/21 06:06:10 DEBUG : >WaitForWriters: 2025/02/21 06:06:10 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/02/21 06:06:10 DEBUG : dir/file1: newRWFileHandle: 2025/02/21 06:06:10 DEBUG : dir/file1: >newRWFileHandle: err= 2025/02/21 06:06:10 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/02/21 06:06:10 DEBUG : dir/file1(0xc007a7e700): _readAt: size=512, off=0 2025/02/21 06:06:10 DEBUG : dir/file1(0xc007a7e700): openPending: 2025/02/21 06:06:10 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/02/21 06:06:10 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/02/21 06:06:10 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/02/21 06:06:10 DEBUG : dir/file1(0xc007a7e700): >openPending: err= 2025/02/21 06:06:10 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/02/21 06:06:10 DEBUG : dir/file1(0xc007a7e700): >_readAt: n=14, err=EOF 2025/02/21 06:06:10 DEBUG : dir/file1(0xc007a7e700): close: 2025/02/21 06:06:10 DEBUG : dir/file1: vfs cache: setting modification time to 2025-02-21 06:06:09 +0000 UTC 2025/02/21 06:06:10 DEBUG : dir/file1(0xc007a7e700): >close: err= 2025/02/21 06:06:10 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/02/21 06:06:10 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/02/21 06:06:10 DEBUG : newLeaf: Updating file with newLeaf 0xc000000fc0 2025/02/21 06:06:10 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/02/21 06:06:10 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/02/21 06:06:11 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/02/21 06:06:11 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/02/21 06:06:11 DEBUG : dir/file1: Updating file with dir/file1 0xc000000fc0 2025/02/21 06:06:11 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2025/02/21 06:06:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:295: Flushing the directory cache fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "dir/file1" 2025/02/21 06:06:18 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/02/21 06:06:18 DEBUG : dir/file1: newRWFileHandle: 2025/02/21 06:06:18 DEBUG : dir/file1(0xc007a7f940): openPending: 2025/02/21 06:06:18 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/02/21 06:06:18 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/02/21 06:06:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/02/21 06:06:18 DEBUG : dir/file1(0xc007a7f940): >openPending: err= 2025/02/21 06:06:18 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/02/21 06:06:18 DEBUG : dir/file1: >newRWFileHandle: err= 2025/02/21 06:06:18 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/02/21 06:06:18 DEBUG : dir/file1(0xc007a7f940): _writeAt: size=25, off=0 2025/02/21 06:06:18 DEBUG : dir/file1(0xc007a7f940): >_writeAt: n=25, err= 2025/02/21 06:06:18 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/02/21 06:06:18 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/02/21 06:06:18 DEBUG : newLeaf: Updating file with newLeaf 0xc000000fc0 2025/02/21 06:06:18 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/02/21 06:06:18 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/02/21 06:06:18 DEBUG : newLeaf(0xc007a7f940): close: 2025/02/21 06:06:18 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/02/21 06:06:18 DEBUG : newLeaf: vfs cache: setting modification time to 2025-02-21 06:06:18.01656872 +0000 UTC m=+63.331606008 2025/02/21 06:06:18 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/02/21 06:06:18 DEBUG : newLeaf(0xc007a7f940): >close: err= 2025/02/21 06:06:18 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:06:18 DEBUG : dir: Looking for writers 2025/02/21 06:06:18 DEBUG : : Looking for writers 2025/02/21 06:06:18 DEBUG : dir: reading active writers 2025/02/21 06:06:18 DEBUG : newLeaf: reading active writers 2025/02/21 06:06:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/02/21 06:06:18 DEBUG : dir: Looking for writers 2025/02/21 06:06:18 DEBUG : : Looking for writers 2025/02/21 06:06:18 DEBUG : dir: reading active writers 2025/02/21 06:06:18 DEBUG : newLeaf: reading active writers 2025/02/21 06:06:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/02/21 06:06:18 DEBUG : dir: Looking for writers 2025/02/21 06:06:18 DEBUG : : Looking for writers 2025/02/21 06:06:18 DEBUG : dir: reading active writers 2025/02/21 06:06:18 DEBUG : newLeaf: reading active writers 2025/02/21 06:06:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/02/21 06:06:18 DEBUG : dir: Looking for writers 2025/02/21 06:06:18 DEBUG : : Looking for writers 2025/02/21 06:06:18 DEBUG : dir: reading active writers 2025/02/21 06:06:18 DEBUG : newLeaf: reading active writers 2025/02/21 06:06:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/02/21 06:06:18 DEBUG : newLeaf: vfs cache: starting upload 2025/02/21 06:06:18 DEBUG : dir: Looking for writers 2025/02/21 06:06:18 DEBUG : : Looking for writers 2025/02/21 06:06:18 DEBUG : dir: reading active writers 2025/02/21 06:06:18 DEBUG : newLeaf: reading active writers 2025/02/21 06:06:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/02/21 06:06:18 DEBUG : dir: Looking for writers 2025/02/21 06:06:18 DEBUG : : Looking for writers 2025/02/21 06:06:18 DEBUG : dir: reading active writers 2025/02/21 06:06:18 DEBUG : newLeaf: reading active writers 2025/02/21 06:06:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/02/21 06:06:18 INFO : newLeaf: Copied (replaced existing) 2025/02/21 06:06:18 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/02/21 06:06:18 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/02/21 06:06:18 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/02/21 06:06:18 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/02/21 06:06:19 DEBUG : dir: Looking for writers 2025/02/21 06:06:19 DEBUG : : Looking for writers 2025/02/21 06:06:19 DEBUG : newLeaf: reading active writers 2025/02/21 06:06:19 DEBUG : dir: reading active writers 2025/02/21 06:06:19 DEBUG : >WaitForWriters: fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure 2025/02/21 06:06:26 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:06:26 DEBUG : dir: Looking for writers 2025/02/21 06:06:26 DEBUG : : Looking for writers 2025/02/21 06:06:26 DEBUG : dir: reading active writers 2025/02/21 06:06:26 DEBUG : newLeaf: reading active writers 2025/02/21 06:06:26 DEBUG : >WaitForWriters: 2025/02/21 06:06:26 DEBUG : mega root 'rclone-test-zecovot0xiqu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "mega root 'rclone-test-zecovot0xiqu'", Local "Local file system at /tmp/rclone645950540", Modify Window "876000h0m0s" 2025/02/21 06:06:26 INFO : mega root 'rclone-test-zecovot0xiqu': poll-interval is not supported by this remote 2025/02/21 06:06:26 DEBUG : mega root 'rclone-test-zecovot0xiqu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/02/21 06:06:26 DEBUG : mega root 'rclone-test-zecovot0xiqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:06:26 DEBUG : mega root 'rclone-test-zecovot0xiqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:06:26 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:06:26 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/02/21 06:06:26 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zecovot0xiqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:06:26 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:06:26 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/02/21 06:06:26 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zecovot0xiqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:06:26 INFO : mega root 'rclone-test-zecovot0xiqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/02/21 06:06:27 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:06:27 DEBUG : dir: Looking for writers 2025/02/21 06:06:27 DEBUG : file1: reading active writers 2025/02/21 06:06:27 DEBUG : : Looking for writers 2025/02/21 06:06:27 DEBUG : dir: reading active writers 2025/02/21 06:06:27 DEBUG : >WaitForWriters: 2025/02/21 06:06:27 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/02/21 06:06:27 DEBUG : newLeaf: Updating file with newLeaf 0xc001984840 2025/02/21 06:06:27 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/02/21 06:06:27 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:295: Flushing the directory cache fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /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: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:345 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "file1" 2025/02/21 06:06:35 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/02/21 06:06:35 DEBUG : dir/file1: Updating file with dir/file1 0xc001984840 2025/02/21 06:06:35 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2025/02/21 06:06:35 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:295: Flushing the directory cache fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /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: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /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:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /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/02/21 06:06:42 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/02/21 06:06:42 DEBUG : dir/file1: newRWFileHandle: 2025/02/21 06:06:42 DEBUG : dir/file1(0xc001cd7600): openPending: 2025/02/21 06:06:42 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/02/21 06:06:42 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/02/21 06:06:42 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/02/21 06:06:42 DEBUG : dir/file1(0xc001cd7600): >openPending: err= 2025/02/21 06:06:42 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/02/21 06:06:42 DEBUG : dir/file1: >newRWFileHandle: err= 2025/02/21 06:06:42 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/02/21 06:06:42 DEBUG : dir/file1(0xc001cd7600): _writeAt: size=25, off=0 2025/02/21 06:06:42 DEBUG : dir/file1(0xc001cd7600): >_writeAt: n=25, err= 2025/02/21 06:06:42 INFO : newLeaf: Deleted 2025/02/21 06:06:42 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/02/21 06:06:42 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/02/21 06:06:42 DEBUG : newLeaf: Updating file with newLeaf 0xc001984840 2025/02/21 06:06:42 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/02/21 06:06:42 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/02/21 06:06:42 DEBUG : newLeaf(0xc001cd7600): close: 2025/02/21 06:06:42 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/02/21 06:06:42 DEBUG : newLeaf: vfs cache: setting modification time to 2025-02-21 06:06:42.031701016 +0000 UTC m=+87.346738284 2025/02/21 06:06:42 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/02/21 06:06:42 DEBUG : newLeaf(0xc001cd7600): >close: err= 2025/02/21 06:06:42 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:06:42 DEBUG : dir: Looking for writers 2025/02/21 06:06:42 DEBUG : : Looking for writers 2025/02/21 06:06:42 DEBUG : dir: reading active writers 2025/02/21 06:06:42 DEBUG : newLeaf: reading active writers 2025/02/21 06:06:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/02/21 06:06:42 DEBUG : dir: Looking for writers 2025/02/21 06:06:42 DEBUG : : Looking for writers 2025/02/21 06:06:42 DEBUG : dir: reading active writers 2025/02/21 06:06:42 DEBUG : newLeaf: reading active writers 2025/02/21 06:06:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/02/21 06:06:42 DEBUG : dir: Looking for writers 2025/02/21 06:06:42 DEBUG : : Looking for writers 2025/02/21 06:06:42 DEBUG : dir: reading active writers 2025/02/21 06:06:42 DEBUG : newLeaf: reading active writers 2025/02/21 06:06:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/02/21 06:06:42 DEBUG : dir: Looking for writers 2025/02/21 06:06:42 DEBUG : : Looking for writers 2025/02/21 06:06:42 DEBUG : dir: reading active writers 2025/02/21 06:06:42 DEBUG : newLeaf: reading active writers 2025/02/21 06:06:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/02/21 06:06:42 DEBUG : newLeaf: vfs cache: starting upload 2025/02/21 06:06:42 DEBUG : dir: Looking for writers 2025/02/21 06:06:42 DEBUG : : Looking for writers 2025/02/21 06:06:42 DEBUG : dir: reading active writers 2025/02/21 06:06:42 DEBUG : newLeaf: reading active writers 2025/02/21 06:06:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/02/21 06:06:43 DEBUG : dir: Looking for writers 2025/02/21 06:06:43 DEBUG : : Looking for writers 2025/02/21 06:06:43 DEBUG : dir: reading active writers 2025/02/21 06:06:43 DEBUG : newLeaf: reading active writers 2025/02/21 06:06:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/02/21 06:06:43 INFO : newLeaf: Copied (replaced existing) 2025/02/21 06:06:43 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/02/21 06:06:43 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/02/21 06:06:43 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/02/21 06:06:43 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/02/21 06:06:43 DEBUG : dir: Looking for writers 2025/02/21 06:06:43 DEBUG : : Looking for writers 2025/02/21 06:06:43 DEBUG : dir: reading active writers 2025/02/21 06:06:43 DEBUG : newLeaf: reading active writers 2025/02/21 06:06:43 DEBUG : >WaitForWriters: fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure 2025/02/21 06:06:50 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:06:50 DEBUG : dir: Looking for writers 2025/02/21 06:06:50 DEBUG : : Looking for writers 2025/02/21 06:06:50 DEBUG : dir: reading active writers 2025/02/21 06:06:50 DEBUG : newLeaf: reading active writers 2025/02/21 06:06:50 DEBUG : >WaitForWriters: 2025/02/21 06:06:50 DEBUG : mega root 'rclone-test-zecovot0xiqu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "mega root 'rclone-test-zecovot0xiqu'", Local "Local file system at /tmp/rclone645950540", Modify Window "876000h0m0s" 2025/02/21 06:06:50 INFO : mega root 'rclone-test-zecovot0xiqu': poll-interval is not supported by this remote 2025/02/21 06:06:50 DEBUG : mega root 'rclone-test-zecovot0xiqu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/02/21 06:06:50 DEBUG : mega root 'rclone-test-zecovot0xiqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:06:50 DEBUG : mega root 'rclone-test-zecovot0xiqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:06:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:06:50 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/02/21 06:06:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zecovot0xiqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:06:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:06:50 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/02/21 06:06:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zecovot0xiqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:06:50 INFO : mega root 'rclone-test-zecovot0xiqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/02/21 06:06:51 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/02/21 06:06:51 DEBUG : dir/file1: newRWFileHandle: 2025/02/21 06:06:51 DEBUG : dir/file1(0xc001b66800): openPending: 2025/02/21 06:06:51 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/02/21 06:06:51 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/02/21 06:06:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/02/21 06:06:51 DEBUG : dir/file1(0xc001b66800): >openPending: err= 2025/02/21 06:06:51 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/02/21 06:06:51 DEBUG : dir/file1: >newRWFileHandle: err= 2025/02/21 06:06:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/02/21 06:06:51 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/02/21 06:06:51 DEBUG : dir/file1(0xc001b66800): _writeAt: size=14, off=0 2025/02/21 06:06:51 DEBUG : dir/file1(0xc001b66800): >_writeAt: n=14, err= 2025/02/21 06:06:51 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/02/21 06:06:51 DEBUG : dir/file1(0xc001b66800): close: 2025/02/21 06:06:51 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/02/21 06:06:51 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/02/21 06:06:51 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/02/21 06:06:51 DEBUG : dir/file1(0xc001b66800): >close: err= 2025/02/21 06:06:51 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:06:51 DEBUG : dir: Looking for writers 2025/02/21 06:06:51 DEBUG : file1: reading active writers 2025/02/21 06:06:51 DEBUG : : Looking for writers 2025/02/21 06:06:51 DEBUG : dir: reading active writers 2025/02/21 06:06:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/02/21 06:06:51 DEBUG : dir: Looking for writers 2025/02/21 06:06:51 DEBUG : file1: reading active writers 2025/02/21 06:06:51 DEBUG : : Looking for writers 2025/02/21 06:06:51 DEBUG : dir: reading active writers 2025/02/21 06:06:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/02/21 06:06:51 DEBUG : dir: Looking for writers 2025/02/21 06:06:51 DEBUG : file1: reading active writers 2025/02/21 06:06:51 DEBUG : : Looking for writers 2025/02/21 06:06:51 DEBUG : dir: reading active writers 2025/02/21 06:06:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/02/21 06:06:51 DEBUG : dir: Looking for writers 2025/02/21 06:06:51 DEBUG : file1: reading active writers 2025/02/21 06:06:51 DEBUG : : Looking for writers 2025/02/21 06:06:51 DEBUG : dir: reading active writers 2025/02/21 06:06:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/02/21 06:06:51 DEBUG : dir/file1: vfs cache: starting upload 2025/02/21 06:06:51 DEBUG : dir: Looking for writers 2025/02/21 06:06:51 DEBUG : file1: reading active writers 2025/02/21 06:06:51 DEBUG : : Looking for writers 2025/02/21 06:06:51 DEBUG : dir: reading active writers 2025/02/21 06:06:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/02/21 06:06:51 DEBUG : dir: Looking for writers 2025/02/21 06:06:51 DEBUG : file1: reading active writers 2025/02/21 06:06:51 DEBUG : : Looking for writers 2025/02/21 06:06:51 DEBUG : dir: reading active writers 2025/02/21 06:06:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/02/21 06:06:51 DEBUG : dir: Looking for writers 2025/02/21 06:06:51 DEBUG : file1: reading active writers 2025/02/21 06:06:51 DEBUG : : Looking for writers 2025/02/21 06:06:51 DEBUG : dir: reading active writers 2025/02/21 06:06:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/02/21 06:06:51 INFO : dir/file1: Copied (replaced existing) 2025/02/21 06:06:51 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/02/21 06:06:51 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/02/21 06:06:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/02/21 06:06:51 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/02/21 06:06:52 DEBUG : dir: Looking for writers 2025/02/21 06:06:52 DEBUG : file1: reading active writers 2025/02/21 06:06:52 DEBUG : : Looking for writers 2025/02/21 06:06:52 DEBUG : dir: reading active writers 2025/02/21 06:06:52 DEBUG : >WaitForWriters: 2025/02/21 06:06:52 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/02/21 06:06:52 DEBUG : dir/file1: newRWFileHandle: 2025/02/21 06:06:52 DEBUG : dir/file1: >newRWFileHandle: err= 2025/02/21 06:06:52 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/02/21 06:06:52 DEBUG : dir/file1(0xc001f5a300): _readAt: size=512, off=0 2025/02/21 06:06:52 DEBUG : dir/file1(0xc001f5a300): openPending: 2025/02/21 06:06:52 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/02/21 06:06:52 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/02/21 06:06:52 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/02/21 06:06:52 DEBUG : dir/file1(0xc001f5a300): >openPending: err= 2025/02/21 06:06:52 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/02/21 06:06:52 DEBUG : dir/file1(0xc001f5a300): >_readAt: n=14, err=EOF 2025/02/21 06:06:52 DEBUG : dir/file1(0xc001f5a300): close: 2025/02/21 06:06:52 DEBUG : dir/file1: vfs cache: setting modification time to 2025-02-21 06:06:51 +0000 UTC 2025/02/21 06:06:52 DEBUG : dir/file1(0xc001f5a300): >close: err= 2025/02/21 06:06:53 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/02/21 06:06:53 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/02/21 06:06:53 DEBUG : newLeaf: Updating file with newLeaf 0xc001984cc0 2025/02/21 06:06:53 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/02/21 06:06:53 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/02/21 06:06:53 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/02/21 06:06:53 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/02/21 06:06:53 DEBUG : dir/file1: Updating file with dir/file1 0xc001984cc0 2025/02/21 06:06:53 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2025/02/21 06:06:53 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:295: Flushing the directory cache fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /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: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /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/02/21 06:07:00 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/02/21 06:07:00 DEBUG : dir/file1: newRWFileHandle: 2025/02/21 06:07:00 DEBUG : dir/file1(0xc001e616c0): openPending: 2025/02/21 06:07:00 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/02/21 06:07:00 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/02/21 06:07:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:00 DEBUG : dir/file1(0xc001e616c0): >openPending: err= 2025/02/21 06:07:00 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/02/21 06:07:00 DEBUG : dir/file1: >newRWFileHandle: err= 2025/02/21 06:07:00 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/02/21 06:07:00 DEBUG : dir/file1(0xc001e616c0): _writeAt: size=25, off=0 2025/02/21 06:07:00 DEBUG : dir/file1(0xc001e616c0): >_writeAt: n=25, err= 2025/02/21 06:07:01 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/02/21 06:07:01 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/02/21 06:07:01 DEBUG : newLeaf: Updating file with newLeaf 0xc001984cc0 2025/02/21 06:07:01 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/02/21 06:07:01 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/02/21 06:07:01 DEBUG : newLeaf(0xc001e616c0): close: 2025/02/21 06:07:01 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/02/21 06:07:01 DEBUG : newLeaf: vfs cache: setting modification time to 2025-02-21 06:07:00.570693499 +0000 UTC m=+105.885730757 2025/02/21 06:07:01 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/02/21 06:07:01 DEBUG : newLeaf(0xc001e616c0): >close: err= 2025/02/21 06:07:01 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:07:01 DEBUG : dir: Looking for writers 2025/02/21 06:07:01 DEBUG : : Looking for writers 2025/02/21 06:07:01 DEBUG : dir: reading active writers 2025/02/21 06:07:01 DEBUG : newLeaf: reading active writers 2025/02/21 06:07:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/02/21 06:07:01 DEBUG : dir: Looking for writers 2025/02/21 06:07:01 DEBUG : : Looking for writers 2025/02/21 06:07:01 DEBUG : dir: reading active writers 2025/02/21 06:07:01 DEBUG : newLeaf: reading active writers 2025/02/21 06:07:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/02/21 06:07:01 DEBUG : dir: Looking for writers 2025/02/21 06:07:01 DEBUG : : Looking for writers 2025/02/21 06:07:01 DEBUG : dir: reading active writers 2025/02/21 06:07:01 DEBUG : newLeaf: reading active writers 2025/02/21 06:07:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/02/21 06:07:01 DEBUG : dir: Looking for writers 2025/02/21 06:07:01 DEBUG : : Looking for writers 2025/02/21 06:07:01 DEBUG : newLeaf: reading active writers 2025/02/21 06:07:01 DEBUG : dir: reading active writers 2025/02/21 06:07:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/02/21 06:07:01 DEBUG : newLeaf: vfs cache: starting upload 2025/02/21 06:07:01 DEBUG : dir: Looking for writers 2025/02/21 06:07:01 DEBUG : : Looking for writers 2025/02/21 06:07:01 DEBUG : dir: reading active writers 2025/02/21 06:07:01 DEBUG : newLeaf: reading active writers 2025/02/21 06:07:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/02/21 06:07:01 DEBUG : dir: Looking for writers 2025/02/21 06:07:01 DEBUG : : Looking for writers 2025/02/21 06:07:01 DEBUG : dir: reading active writers 2025/02/21 06:07:01 DEBUG : newLeaf: reading active writers 2025/02/21 06:07:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/02/21 06:07:01 INFO : newLeaf: Copied (replaced existing) 2025/02/21 06:07:01 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/02/21 06:07:01 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/02/21 06:07:01 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/02/21 06:07:01 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/02/21 06:07:01 DEBUG : dir: Looking for writers 2025/02/21 06:07:01 DEBUG : : Looking for writers 2025/02/21 06:07:01 DEBUG : dir: reading active writers 2025/02/21 06:07:01 DEBUG : newLeaf: reading active writers 2025/02/21 06:07:01 DEBUG : >WaitForWriters: 2025/02/21 06:07:01 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:07:01 DEBUG : dir: Looking for writers 2025/02/21 06:07:01 DEBUG : : Looking for writers 2025/02/21 06:07:01 DEBUG : dir: reading active writers 2025/02/21 06:07:01 DEBUG : newLeaf: reading active writers 2025/02/21 06:07:01 DEBUG : >WaitForWriters: 2025/02/21 06:07:01 DEBUG : mega root 'rclone-test-zecovot0xiqu': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "mega root 'rclone-test-zecovot0xiqu'", Local "Local file system at /tmp/rclone645950540", Modify Window "876000h0m0s" 2025/02/21 06:07:02 INFO : mega root 'rclone-test-zecovot0xiqu': poll-interval is not supported by this remote 2025/02/21 06:07:02 DEBUG : mega root 'rclone-test-zecovot0xiqu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/02/21 06:07:02 DEBUG : mega root 'rclone-test-zecovot0xiqu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:07:02 DEBUG : mega root 'rclone-test-zecovot0xiqu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:07:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:07:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/02/21 06:07:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zecovot0xiqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:07:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:07:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/02/21 06:07:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zecovot0xiqu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-zecovot0xiqu" 2025/02/21 06:07:02 INFO : mega root 'rclone-test-zecovot0xiqu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/02/21 06:07:02 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:07:02 DEBUG : dir: Looking for writers 2025/02/21 06:07:02 DEBUG : file1: reading active writers 2025/02/21 06:07:02 DEBUG : : Looking for writers 2025/02/21 06:07:02 DEBUG : dir: reading active writers 2025/02/21 06:07:02 DEBUG : >WaitForWriters: 2025/02/21 06:07:02 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/02/21 06:07:02 DEBUG : dir/file1: newRWFileHandle: 2025/02/21 06:07:02 DEBUG : dir/file1: >newRWFileHandle: err= 2025/02/21 06:07:02 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/02/21 06:07:02 DEBUG : dir/file1(0xc002b42340): _readAt: size=512, off=0 2025/02/21 06:07:02 DEBUG : dir/file1(0xc002b42340): openPending: 2025/02/21 06:07:02 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2025/02/21 06:07:02 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/02/21 06:07:02 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:02 DEBUG : dir/file1(0xc002b42340): >openPending: err= 2025/02/21 06:07:02 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2025/02/21 06:07:02 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/02/21 06:07:02 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/02/21 06:07:02 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/02/21 06:07:03 DEBUG : dir/file1(0xc002b42340): >_readAt: n=14, err=EOF 2025/02/21 06:07:03 DEBUG : dir/file1(0xc002b42340): close: 2025/02/21 06:07:03 DEBUG : dir/file1: vfs cache: setting modification time to 2025-02-21 06:07:02 +0000 UTC 2025/02/21 06:07:03 DEBUG : dir/file1(0xc002b42340): >close: err= 2025/02/21 06:07:03 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/02/21 06:07:03 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/02/21 06:07:03 DEBUG : newLeaf: Updating file with newLeaf 0xc000001b00 2025/02/21 06:07:03 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/02/21 06:07:03 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/02/21 06:07:04 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/02/21 06:07:04 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/02/21 06:07:04 DEBUG : dir/file1: Updating file with dir/file1 0xc000001b00 2025/02/21 06:07:04 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2025/02/21 06:07:04 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:295: Flushing the directory cache fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "dir/file1" 2025/02/21 06:07:11 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/02/21 06:07:11 DEBUG : dir/file1: newRWFileHandle: 2025/02/21 06:07:11 DEBUG : dir/file1(0xc001b67e00): openPending: 2025/02/21 06:07:11 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2025/02/21 06:07:11 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/02/21 06:07:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:11 DEBUG : dir/file1(0xc001b67e00): >openPending: err= 2025/02/21 06:07:11 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/02/21 06:07:11 DEBUG : dir/file1: >newRWFileHandle: err= 2025/02/21 06:07:11 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/02/21 06:07:11 DEBUG : dir/file1(0xc001b67e00): _writeAt: size=25, off=0 2025/02/21 06:07:11 DEBUG : dir/file1(0xc001b67e00): >_writeAt: n=25, err= 2025/02/21 06:07:11 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/02/21 06:07:11 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/02/21 06:07:11 DEBUG : newLeaf: Updating file with newLeaf 0xc000001b00 2025/02/21 06:07:11 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/02/21 06:07:11 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/02/21 06:07:11 DEBUG : newLeaf(0xc001b67e00): close: 2025/02/21 06:07:11 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/02/21 06:07:11 DEBUG : newLeaf: vfs cache: setting modification time to 2025-02-21 06:07:11.433368709 +0000 UTC m=+116.748405977 2025/02/21 06:07:11 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/02/21 06:07:11 DEBUG : newLeaf(0xc001b67e00): >close: err= 2025/02/21 06:07:11 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:07:11 DEBUG : dir: Looking for writers 2025/02/21 06:07:11 DEBUG : : Looking for writers 2025/02/21 06:07:11 DEBUG : dir: reading active writers 2025/02/21 06:07:11 DEBUG : newLeaf: reading active writers 2025/02/21 06:07:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/02/21 06:07:11 DEBUG : dir: Looking for writers 2025/02/21 06:07:11 DEBUG : : Looking for writers 2025/02/21 06:07:11 DEBUG : newLeaf: reading active writers 2025/02/21 06:07:11 DEBUG : dir: reading active writers 2025/02/21 06:07:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/02/21 06:07:11 DEBUG : dir: Looking for writers 2025/02/21 06:07:11 DEBUG : : Looking for writers 2025/02/21 06:07:11 DEBUG : dir: reading active writers 2025/02/21 06:07:11 DEBUG : newLeaf: reading active writers 2025/02/21 06:07:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/02/21 06:07:12 DEBUG : dir: Looking for writers 2025/02/21 06:07:12 DEBUG : : Looking for writers 2025/02/21 06:07:12 DEBUG : dir: reading active writers 2025/02/21 06:07:12 DEBUG : newLeaf: reading active writers 2025/02/21 06:07:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/02/21 06:07:12 DEBUG : newLeaf: vfs cache: starting upload 2025/02/21 06:07:12 DEBUG : dir: Looking for writers 2025/02/21 06:07:12 DEBUG : : Looking for writers 2025/02/21 06:07:12 DEBUG : dir: reading active writers 2025/02/21 06:07:12 DEBUG : newLeaf: reading active writers 2025/02/21 06:07:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/02/21 06:07:12 DEBUG : dir: Looking for writers 2025/02/21 06:07:12 DEBUG : : Looking for writers 2025/02/21 06:07:12 DEBUG : dir: reading active writers 2025/02/21 06:07:12 DEBUG : newLeaf: reading active writers 2025/02/21 06:07:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/02/21 06:07:12 DEBUG : dir: Looking for writers 2025/02/21 06:07:12 DEBUG : : Looking for writers 2025/02/21 06:07:12 DEBUG : dir: reading active writers 2025/02/21 06:07:12 DEBUG : newLeaf: reading active writers 2025/02/21 06:07:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/02/21 06:07:12 INFO : newLeaf: Copied (replaced existing) 2025/02/21 06:07:12 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2025/02/21 06:07:12 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/02/21 06:07:12 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/02/21 06:07:12 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/02/21 06:07:13 DEBUG : dir: Looking for writers 2025/02/21 06:07:13 DEBUG : : Looking for writers 2025/02/21 06:07:13 DEBUG : dir: reading active writers 2025/02/21 06:07:13 DEBUG : newLeaf: reading active writers 2025/02/21 06:07:13 DEBUG : >WaitForWriters: 2025/02/21 06:07:13 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:07:13 DEBUG : dir: Looking for writers 2025/02/21 06:07:13 DEBUG : : Looking for writers 2025/02/21 06:07:13 DEBUG : dir: reading active writers 2025/02/21 06:07:13 DEBUG : newLeaf: reading active writers 2025/02/21 06:07:13 DEBUG : >WaitForWriters: 2025/02/21 06:07:13 DEBUG : mega root 'rclone-test-zecovot0xiqu': vfs cache: cleaner exiting --- FAIL: TestFileRename (101.49s) --- FAIL: TestFileRename/off,forceCache=false (17.26s) --- FAIL: TestFileRename/minimal,forceCache=false (17.34s) --- FAIL: TestFileRename/minimal,forceCache=true (19.07s) --- FAIL: TestFileRename/writes,forceCache=false (24.50s) --- FAIL: TestFileRename/writes,forceCache=true (11.50s) --- FAIL: TestFileRename/full,forceCache=false (11.81s) === RUN TestVFSRename run.go:180: Remote "mega root 'rclone-test-zecovot0xiqu'", Local "Local file system at /tmp/rclone645950540", Modify Window "876000h0m0s" 2025/02/21 06:07:14 INFO : mega root 'rclone-test-zecovot0xiqu': poll-interval is not supported by this remote 2025/02/21 06:07:14 NOTICE: mega root 'rclone-test-zecovot0xiqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/02/21 06:07:15 INFO : dir/file2: Moved (server-side) to: dir/file1 2025/02/21 06:07:15 DEBUG : dir/file1: Updating file with dir/file1 0xc002d52300 2025/02/21 06:07:15 DEBUG : dir: Added virtual directory entry vDel: "file2" 2025/02/21 06:07:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:15 INFO : dir/file1: Moved (server-side) to: file0 2025/02/21 06:07:15 DEBUG : file0: Updating file with file0 0xc002d52300 2025/02/21 06:07:15 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/02/21 06:07:15 DEBUG : : Added virtual directory entry vAddFile: "file0" 2025/02/21 06:07:15 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:07:15 DEBUG : dir: Looking for writers 2025/02/21 06:07:15 DEBUG : : Looking for writers 2025/02/21 06:07:15 DEBUG : dir: reading active writers 2025/02/21 06:07:15 DEBUG : file0: reading active writers 2025/02/21 06:07:15 DEBUG : >WaitForWriters: --- PASS: TestVFSRename (2.47s) === RUN TestVFSStatfs run.go:180: Remote "mega root 'rclone-test-zecovot0xiqu'", Local "Local file system at /tmp/rclone645950540", Modify Window "876000h0m0s" 2025/02/21 06:07:16 INFO : mega root 'rclone-test-zecovot0xiqu': poll-interval is not supported by this remote 2025/02/21 06:07:16 NOTICE: mega root 'rclone-test-zecovot0xiqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/02/21 06:07:17 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:07:17 DEBUG : : Looking for writers 2025/02/21 06:07:17 DEBUG : >WaitForWriters: --- PASS: TestVFSStatfs (1.12s) === RUN TestVFSMkdir run.go:180: Remote "mega root 'rclone-test-zecovot0xiqu'", Local "Local file system at /tmp/rclone645950540", Modify Window "876000h0m0s" 2025/02/21 06:07:17 INFO : mega root 'rclone-test-zecovot0xiqu': poll-interval is not supported by this remote 2025/02/21 06:07:17 NOTICE: mega root 'rclone-test-zecovot0xiqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/02/21 06:07:17 DEBUG : : Added virtual directory entry vAddDir: "/" 2025/02/21 06:07:17 DEBUG : : Added virtual directory entry vAddDir: "a" 2025/02/21 06:07:18 DEBUG : : Added virtual directory entry vAddDir: "b" 2025/02/21 06:07:18 DEBUG : : Added virtual directory entry vAddDir: "c" 2025/02/21 06:07:18 DEBUG : : Added virtual directory entry vAddDir: "d" 2025/02/21 06:07:18 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:07:18 DEBUG : : Looking for writers 2025/02/21 06:07:18 DEBUG : a: Looking for writers 2025/02/21 06:07:18 DEBUG : b: Looking for writers 2025/02/21 06:07:18 DEBUG : c: Looking for writers 2025/02/21 06:07:18 DEBUG : d: Looking for writers 2025/02/21 06:07:18 DEBUG : : Looking for writers 2025/02/21 06:07:18 DEBUG : d: reading active writers 2025/02/21 06:07:18 DEBUG : /: reading active writers 2025/02/21 06:07:18 DEBUG : a: reading active writers 2025/02/21 06:07:18 DEBUG : b: reading active writers 2025/02/21 06:07:18 DEBUG : c: reading active writers 2025/02/21 06:07:18 DEBUG : >WaitForWriters: --- PASS: TestVFSMkdir (2.49s) === RUN TestVFSMkdirAll run.go:180: Remote "mega root 'rclone-test-zecovot0xiqu'", Local "Local file system at /tmp/rclone645950540", Modify Window "876000h0m0s" 2025/02/21 06:07:20 INFO : mega root 'rclone-test-zecovot0xiqu': poll-interval is not supported by this remote 2025/02/21 06:07:20 NOTICE: mega root 'rclone-test-zecovot0xiqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/02/21 06:07:20 DEBUG : : Added virtual directory entry vAddDir: "a" 2025/02/21 06:07:20 DEBUG : a: Added virtual directory entry vAddDir: "b" 2025/02/21 06:07:20 DEBUG : a/b: Added virtual directory entry vAddDir: "c" 2025/02/21 06:07:20 DEBUG : a/b/c: Added virtual directory entry vAddDir: "d" 2025/02/21 06:07:20 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:07:20 DEBUG : a/b/c/d: Looking for writers 2025/02/21 06:07:20 DEBUG : a/b/c: Looking for writers 2025/02/21 06:07:20 DEBUG : d: reading active writers 2025/02/21 06:07:20 DEBUG : a/b: Looking for writers 2025/02/21 06:07:20 DEBUG : c: reading active writers 2025/02/21 06:07:20 DEBUG : a: Looking for writers 2025/02/21 06:07:20 DEBUG : b: reading active writers 2025/02/21 06:07:20 DEBUG : : Looking for writers 2025/02/21 06:07:20 DEBUG : a: reading active writers 2025/02/21 06:07:20 DEBUG : >WaitForWriters: --- PASS: TestVFSMkdirAll (2.18s) === RUN TestWriteFileHandleMethods run.go:180: Remote "mega root 'rclone-test-zecovot0xiqu'", Local "Local file system at /tmp/rclone645950540", Modify Window "876000h0m0s" 2025/02/21 06:07:22 INFO : mega root 'rclone-test-zecovot0xiqu': poll-interval is not supported by this remote 2025/02/21 06:07:22 NOTICE: mega root 'rclone-test-zecovot0xiqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/02/21 06:07:22 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/02/21 06:07:22 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/02/21 06:07:22 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:22 DEBUG : file1: >Open: fd=file1 (w), err= 2025/02/21 06:07:22 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/02/21 06:07:22 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:22 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/02/21 06:07:22 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/02/21 06:07:22 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/02/21 06:07:22 DEBUG : mega root 'rclone-test-zecovot0xiqu': File to upload is small (5 bytes), uploading instead of streaming 2025/02/21 06:07:22 DEBUG : file1: Size of src and dst objects identical 2025/02/21 06:07:22 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:22 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/02/21 06:07:22 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/02/21 06:07:22 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:22 DEBUG : file1: >Open: fd=file1 (w), err= 2025/02/21 06:07:22 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/02/21 06:07:22 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/02/21 06:07:22 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/02/21 06:07:22 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:22 DEBUG : file1: >Open: fd=file1 (w), err= 2025/02/21 06:07:22 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/02/21 06:07:22 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2025/02/21 06:07:22 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/02/21 06:07:22 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/02/21 06:07:22 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:22 DEBUG : file1: >Open: fd=file1 (w), err= 2025/02/21 06:07:22 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/02/21 06:07:22 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:22 DEBUG : mega root 'rclone-test-zecovot0xiqu': File to upload is small (0 bytes), uploading instead of streaming 2025/02/21 06:07:23 DEBUG : file1: Size of src and dst objects identical 2025/02/21 06:07:23 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:23 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/02/21 06:07:23 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/02/21 06:07:23 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:23 DEBUG : file1: >Open: fd=file1 (w), err= 2025/02/21 06:07:23 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/02/21 06:07:23 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:23 DEBUG : mega root 'rclone-test-zecovot0xiqu': File to upload is small (7 bytes), uploading instead of streaming 2025/02/21 06:07:24 DEBUG : file1: Size of src and dst objects identical 2025/02/21 06:07:24 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:24 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:07:24 DEBUG : : Looking for writers 2025/02/21 06:07:24 DEBUG : file1: reading active writers 2025/02/21 06:07:24 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleMethods (1.95s) === RUN TestWriteFileHandleWriteAt run.go:180: Remote "mega root 'rclone-test-zecovot0xiqu'", Local "Local file system at /tmp/rclone645950540", Modify Window "876000h0m0s" 2025/02/21 06:07:24 INFO : mega root 'rclone-test-zecovot0xiqu': poll-interval is not supported by this remote 2025/02/21 06:07:24 NOTICE: mega root 'rclone-test-zecovot0xiqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/02/21 06:07:24 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/02/21 06:07:24 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/02/21 06:07:24 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:24 DEBUG : file1: >Open: fd=file1 (w), err= 2025/02/21 06:07:24 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/02/21 06:07:24 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:24 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2025/02/21 06:07:25 DEBUG : file1: aborting in-sequence write wait, off=100 2025/02/21 06:07:25 DEBUG : file1: failed to wait for in-sequence write to 100 2025/02/21 06:07:25 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2025/02/21 06:07:25 DEBUG : mega root 'rclone-test-zecovot0xiqu': File to upload is small (11 bytes), uploading instead of streaming 2025/02/21 06:07:26 DEBUG : file1: Size of src and dst objects identical 2025/02/21 06:07:26 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:26 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor 2025/02/21 06:07:26 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:07:26 DEBUG : : Looking for writers 2025/02/21 06:07:26 DEBUG : file1: reading active writers 2025/02/21 06:07:26 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleWriteAt (1.82s) === RUN TestWriteFileHandleFlush run.go:180: Remote "mega root 'rclone-test-zecovot0xiqu'", Local "Local file system at /tmp/rclone645950540", Modify Window "876000h0m0s" 2025/02/21 06:07:26 INFO : mega root 'rclone-test-zecovot0xiqu': poll-interval is not supported by this remote 2025/02/21 06:07:26 NOTICE: mega root 'rclone-test-zecovot0xiqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/02/21 06:07:26 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/02/21 06:07:26 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/02/21 06:07:26 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:26 DEBUG : file1: >Open: fd=file1 (w), err= 2025/02/21 06:07:26 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/02/21 06:07:26 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2025/02/21 06:07:26 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:26 DEBUG : mega root 'rclone-test-zecovot0xiqu': File to upload is small (5 bytes), uploading instead of streaming 2025/02/21 06:07:26 DEBUG : file1: Size of src and dst objects identical 2025/02/21 06:07:26 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:26 DEBUG : file1: WriteFileHandle.Flush nothing to do 2025/02/21 06:07:26 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:07:26 DEBUG : : Looking for writers 2025/02/21 06:07:26 DEBUG : file1: reading active writers 2025/02/21 06:07:26 DEBUG : >WaitForWriters: fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure --- PASS: TestWriteFileHandleFlush (7.63s) === RUN TestWriteFileHandleRelease run.go:180: Remote "mega root 'rclone-test-zecovot0xiqu'", Local "Local file system at /tmp/rclone645950540", Modify Window "876000h0m0s" 2025/02/21 06:07:33 INFO : mega root 'rclone-test-zecovot0xiqu': poll-interval is not supported by this remote 2025/02/21 06:07:33 NOTICE: mega root 'rclone-test-zecovot0xiqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/02/21 06:07:33 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/02/21 06:07:33 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/02/21 06:07:33 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:33 DEBUG : file1: >Open: fd=file1 (w), err= 2025/02/21 06:07:33 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/02/21 06:07:33 DEBUG : file1: WriteFileHandle.Release closing 2025/02/21 06:07:33 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:33 DEBUG : mega root 'rclone-test-zecovot0xiqu': File to upload is small (0 bytes), uploading instead of streaming 2025/02/21 06:07:34 DEBUG : file1: Size of src and dst objects identical 2025/02/21 06:07:34 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:34 DEBUG : file1: WriteFileHandle.Release nothing to do 2025/02/21 06:07:34 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:07:34 DEBUG : : Looking for writers 2025/02/21 06:07:34 DEBUG : file1: reading active writers 2025/02/21 06:07:34 DEBUG : >WaitForWriters: fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure --- PASS: TestWriteFileHandleRelease (7.30s) === RUN TestWriteFileModTimeWithOpenWriters run.go:180: Remote "mega root 'rclone-test-zecovot0xiqu'", Local "Local file system at /tmp/rclone645950540", Modify Window "876000h0m0s" 2025/02/21 06:07:41 INFO : mega root 'rclone-test-zecovot0xiqu': poll-interval is not supported by this remote 2025/02/21 06:07:41 NOTICE: mega root 'rclone-test-zecovot0xiqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/02/21 06:07:41 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/02/21 06:07:41 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/02/21 06:07:41 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:07:41 DEBUG : file1: >Open: fd=file1 (w), err= 2025/02/21 06:07:41 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/02/21 06:07:41 DEBUG : Can set mod time: false write_test.go:321: can't set mod time 2025/02/21 06:07:41 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:07:41 DEBUG : : Looking for writers 2025/02/21 06:07:41 DEBUG : file1: reading active writers 2025/02/21 06:07:41 DEBUG : file1: active writers 1 2025/02/21 06:07:41 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2025/02/21 06:07:41 DEBUG : : Looking for writers 2025/02/21 06:07:41 DEBUG : file1: reading active writers 2025/02/21 06:07:41 DEBUG : file1: active writers 1 2025/02/21 06:07:41 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2025/02/21 06:07:41 DEBUG : : Looking for writers 2025/02/21 06:07:41 DEBUG : file1: reading active writers 2025/02/21 06:07:41 DEBUG : file1: active writers 1 2025/02/21 06:07:41 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2025/02/21 06:07:41 DEBUG : : Looking for writers 2025/02/21 06:07:41 DEBUG : file1: reading active writers 2025/02/21 06:07:41 DEBUG : file1: active writers 1 2025/02/21 06:07:41 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2025/02/21 06:07:41 DEBUG : : Looking for writers 2025/02/21 06:07:41 DEBUG : file1: reading active writers 2025/02/21 06:07:41 DEBUG : file1: active writers 1 2025/02/21 06:07:41 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2025/02/21 06:07:41 DEBUG : : Looking for writers 2025/02/21 06:07:41 DEBUG : file1: reading active writers 2025/02/21 06:07:41 DEBUG : file1: active writers 1 2025/02/21 06:07:41 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2025/02/21 06:07:42 DEBUG : : Looking for writers 2025/02/21 06:07:42 DEBUG : file1: reading active writers 2025/02/21 06:07:42 DEBUG : file1: active writers 1 2025/02/21 06:07:42 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2025/02/21 06:07:42 DEBUG : : Looking for writers 2025/02/21 06:07:42 DEBUG : file1: reading active writers 2025/02/21 06:07:42 DEBUG : file1: active writers 1 2025/02/21 06:07:42 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:07:43 DEBUG : : Looking for writers 2025/02/21 06:07:43 DEBUG : file1: reading active writers 2025/02/21 06:07:43 DEBUG : file1: active writers 1 2025/02/21 06:07:43 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:07:44 DEBUG : : Looking for writers 2025/02/21 06:07:44 DEBUG : file1: reading active writers 2025/02/21 06:07:44 DEBUG : file1: active writers 1 2025/02/21 06:07:44 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:07:45 DEBUG : : Looking for writers 2025/02/21 06:07:45 DEBUG : file1: reading active writers 2025/02/21 06:07:45 DEBUG : file1: active writers 1 2025/02/21 06:07:45 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:07:46 DEBUG : : Looking for writers 2025/02/21 06:07:46 DEBUG : file1: reading active writers 2025/02/21 06:07:46 DEBUG : file1: active writers 1 2025/02/21 06:07:46 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:07:47 DEBUG : : Looking for writers 2025/02/21 06:07:47 DEBUG : file1: reading active writers 2025/02/21 06:07:47 DEBUG : file1: active writers 1 2025/02/21 06:07:47 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:07:48 DEBUG : : Looking for writers 2025/02/21 06:07:48 DEBUG : file1: reading active writers 2025/02/21 06:07:48 DEBUG : file1: active writers 1 2025/02/21 06:07:48 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:07:49 DEBUG : : Looking for writers 2025/02/21 06:07:49 DEBUG : file1: reading active writers 2025/02/21 06:07:49 DEBUG : file1: active writers 1 2025/02/21 06:07:49 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:07:50 DEBUG : : Looking for writers 2025/02/21 06:07:50 DEBUG : file1: reading active writers 2025/02/21 06:07:50 DEBUG : file1: active writers 1 2025/02/21 06:07:50 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:07:51 DEBUG : : Looking for writers 2025/02/21 06:07:51 DEBUG : file1: reading active writers 2025/02/21 06:07:51 DEBUG : file1: active writers 1 2025/02/21 06:07:51 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:07:52 DEBUG : : Looking for writers 2025/02/21 06:07:52 DEBUG : file1: reading active writers 2025/02/21 06:07:52 DEBUG : file1: active writers 1 2025/02/21 06:07:52 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:07:53 DEBUG : : Looking for writers 2025/02/21 06:07:53 DEBUG : file1: reading active writers 2025/02/21 06:07:53 DEBUG : file1: active writers 1 2025/02/21 06:07:53 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:07:54 DEBUG : : Looking for writers 2025/02/21 06:07:54 DEBUG : file1: reading active writers 2025/02/21 06:07:54 DEBUG : file1: active writers 1 2025/02/21 06:07:54 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:07:55 DEBUG : : Looking for writers 2025/02/21 06:07:55 DEBUG : file1: reading active writers 2025/02/21 06:07:55 DEBUG : file1: active writers 1 2025/02/21 06:07:55 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:07:56 DEBUG : : Looking for writers 2025/02/21 06:07:56 DEBUG : file1: reading active writers 2025/02/21 06:07:56 DEBUG : file1: active writers 1 2025/02/21 06:07:56 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:07:57 DEBUG : : Looking for writers 2025/02/21 06:07:57 DEBUG : file1: reading active writers 2025/02/21 06:07:57 DEBUG : file1: active writers 1 2025/02/21 06:07:57 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:07:58 DEBUG : : Looking for writers 2025/02/21 06:07:58 DEBUG : file1: reading active writers 2025/02/21 06:07:58 DEBUG : file1: active writers 1 2025/02/21 06:07:58 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:07:59 DEBUG : : Looking for writers 2025/02/21 06:07:59 DEBUG : file1: reading active writers 2025/02/21 06:07:59 DEBUG : file1: active writers 1 2025/02/21 06:07:59 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:08:00 DEBUG : : Looking for writers 2025/02/21 06:08:00 DEBUG : file1: reading active writers 2025/02/21 06:08:00 DEBUG : file1: active writers 1 2025/02/21 06:08:00 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:08:01 DEBUG : : Looking for writers 2025/02/21 06:08:01 DEBUG : file1: reading active writers 2025/02/21 06:08:01 DEBUG : file1: active writers 1 2025/02/21 06:08:01 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:08:02 DEBUG : : Looking for writers 2025/02/21 06:08:02 DEBUG : file1: reading active writers 2025/02/21 06:08:02 DEBUG : file1: active writers 1 2025/02/21 06:08:02 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:08:03 DEBUG : : Looking for writers 2025/02/21 06:08:03 DEBUG : file1: reading active writers 2025/02/21 06:08:03 DEBUG : file1: active writers 1 2025/02/21 06:08:03 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:08:04 DEBUG : : Looking for writers 2025/02/21 06:08:04 DEBUG : file1: reading active writers 2025/02/21 06:08:04 DEBUG : file1: active writers 1 2025/02/21 06:08:04 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:08:05 DEBUG : : Looking for writers 2025/02/21 06:08:05 DEBUG : file1: reading active writers 2025/02/21 06:08:05 DEBUG : file1: active writers 1 2025/02/21 06:08:05 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:08:06 DEBUG : : Looking for writers 2025/02/21 06:08:06 DEBUG : file1: reading active writers 2025/02/21 06:08:06 DEBUG : file1: active writers 1 2025/02/21 06:08:06 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:08:07 DEBUG : : Looking for writers 2025/02/21 06:08:07 DEBUG : file1: reading active writers 2025/02/21 06:08:07 DEBUG : file1: active writers 1 2025/02/21 06:08:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:08:08 DEBUG : : Looking for writers 2025/02/21 06:08:08 DEBUG : file1: reading active writers 2025/02/21 06:08:08 DEBUG : file1: active writers 1 2025/02/21 06:08:08 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:08:09 DEBUG : : Looking for writers 2025/02/21 06:08:09 DEBUG : file1: reading active writers 2025/02/21 06:08:09 DEBUG : file1: active writers 1 2025/02/21 06:08:09 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:08:10 DEBUG : : Looking for writers 2025/02/21 06:08:10 DEBUG : file1: reading active writers 2025/02/21 06:08:10 DEBUG : file1: active writers 1 2025/02/21 06:08:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/02/21 06:08:11 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2025/02/21 06:08:11 DEBUG : >WaitForWriters: --- SKIP: TestWriteFileModTimeWithOpenWriters (30.49s) === RUN TestFileReadAtZeroLength run.go:180: Remote "mega root 'rclone-test-zecovot0xiqu'", Local "Local file system at /tmp/rclone645950540", Modify Window "876000h0m0s" 2025/02/21 06:08:11 INFO : mega root 'rclone-test-zecovot0xiqu': poll-interval is not supported by this remote 2025/02/21 06:08:11 NOTICE: mega root 'rclone-test-zecovot0xiqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/02/21 06:08:11 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/02/21 06:08:11 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/02/21 06:08:11 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:08:11 DEBUG : file1: >Open: fd=file1 (w), err= 2025/02/21 06:08:11 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/02/21 06:08:11 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:08:11 DEBUG : mega root 'rclone-test-zecovot0xiqu': File to upload is small (0 bytes), uploading instead of streaming 2025/02/21 06:08:11 DEBUG : file1: Size of src and dst objects identical 2025/02/21 06:08:11 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:08:11 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/02/21 06:08:11 DEBUG : file1: Open: flags=O_RDONLY 2025/02/21 06:08:11 DEBUG : file1: >Open: fd=file1 (r), err= 2025/02/21 06:08:11 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2025/02/21 06:08:11 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2025/02/21 06:08:11 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2025/02/21 06:08:11 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:08:11 DEBUG : : Looking for writers 2025/02/21 06:08:11 DEBUG : file1: reading active writers 2025/02/21 06:08:11 DEBUG : >WaitForWriters: fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure --- PASS: TestFileReadAtZeroLength (7.60s) === RUN TestFileReadAtNonZeroLength run.go:180: Remote "mega root 'rclone-test-zecovot0xiqu'", Local "Local file system at /tmp/rclone645950540", Modify Window "876000h0m0s" 2025/02/21 06:08:19 INFO : mega root 'rclone-test-zecovot0xiqu': poll-interval is not supported by this remote 2025/02/21 06:08:19 NOTICE: mega root 'rclone-test-zecovot0xiqu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/02/21 06:08:19 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/02/21 06:08:19 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/02/21 06:08:19 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:08:19 DEBUG : file1: >Open: fd=file1 (w), err= 2025/02/21 06:08:19 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/02/21 06:08:19 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:08:19 DEBUG : mega root 'rclone-test-zecovot0xiqu': File to upload is small (100 bytes), uploading instead of streaming 2025/02/21 06:08:19 DEBUG : file1: Size of src and dst objects identical 2025/02/21 06:08:19 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/02/21 06:08:19 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/02/21 06:08:19 DEBUG : file1: Open: flags=O_RDONLY 2025/02/21 06:08:19 DEBUG : file1: >Open: fd=file1 (r), err= 2025/02/21 06:08:19 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2025/02/21 06:08:19 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2025/02/21 06:08:19 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2025/02/21 06:08:20 DEBUG : WaitForWriters: timeout=30s 2025/02/21 06:08:20 DEBUG : : Looking for writers 2025/02/21 06:08:20 DEBUG : file1: reading active writers 2025/02/21 06:08:20 DEBUG : >WaitForWriters: --- PASS: TestFileReadAtNonZeroLength (0.94s) FAIL 2025/02/21 06:08:20 DEBUG : mega root 'rclone-test-zecovot0xiqu': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestDirEntryModTimeInvalidation|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestVFSMkdir|TestVFSMkdirAll|TestVFSRename|TestVFSStatfs|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 3m6.039820056s (try 3/5): exit status 1: Failed [TestDirEntryModTimeInvalidation TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false]