"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestCaseSensitivity|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestFileRename|TestRWCacheRename|TestRWFileHandleFlushRead|TestRWFileHandleFlushWrite|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleOpenTests|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleReleaseWrite|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeCreateNew|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestRcGetVFS|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestVFSNew|TestVFSNewWithOpts|TestVFSOpenFile|TestVFSRename|TestVFSRoot|TestVFSStat|TestVFSStatParent|TestVFSStatfs|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters)$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false)$'" - Starting (try 4/5) 2022/04/15 06:45:47 DEBUG : Creating backend with remote "TestMega:rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:45:47 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2022/04/15 06:45:55 DEBUG : Creating backend with remote "/tmp/rclone1442003221" === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:45:55 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:45:55 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/15 06:45:56 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:45:56 DEBUG : dir: Looking for writers 2022/04/15 06:45:56 DEBUG : file1: reading active writers 2022/04/15 06:45:56 DEBUG : : Looking for writers 2022/04/15 06:45:56 DEBUG : dir: reading active writers 2022/04/15 06:45:56 DEBUG : >WaitForWriters: 2022/04/15 06:45:56 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/15 06:45:56 DEBUG : newLeaf: Updating file with newLeaf 0xc0003dad80 2022/04/15 06:45:56 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/15 06:45:56 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "file1" 2022/04/15 06:46:04 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/04/15 06:46:04 DEBUG : dir/file1: Updating file with dir/file1 0xc0003dad80 2022/04/15 06:46:04 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/04/15 06:46:04 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 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:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "dir/file1" 2022/04/15 06:46:11 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/04/15 06:46:11 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2022/04/15 06:46:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/15 06:46:11 DEBUG : dir/file1: File is currently open, delaying rename 0xc0003dad80 2022/04/15 06:46:11 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/15 06:46:11 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/15 06:46:11 DEBUG : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': File to upload is small (25 bytes), uploading instead of streaming 2022/04/15 06:48:56 INFO : dir/file1: Copied (new) 2022/04/15 06:48:56 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/15 06:48:56 DEBUG : newLeaf: Running delayed rename now 2022/04/15 06:48:56 INFO : newLeaf: Deleted 2022/04/15 06:48:57 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/15 06:48:57 DEBUG : newLeaf: Updating file with newLeaf 0xc0003dad80 2022/04/15 06:48:57 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:48:57 DEBUG : dir: Looking for writers 2022/04/15 06:48:57 DEBUG : : Looking for writers 2022/04/15 06:48:57 DEBUG : newLeaf: reading active writers 2022/04/15 06:48:57 DEBUG : dir: reading active writers 2022/04/15 06:48:57 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (25) got file1 (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "file1" 2022/04/15 06:49:04 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:49:04 DEBUG : dir: Looking for writers 2022/04/15 06:49:04 DEBUG : : Looking for writers 2022/04/15 06:49:04 DEBUG : newLeaf: reading active writers 2022/04/15 06:49:04 DEBUG : dir: reading active writers 2022/04/15 06:49:04 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 file_test.go:402 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want got newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 file_test.go:402 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "newLeaf" === RUN TestFileRename/minimal,forceCache=false run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:49:11 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:49:11 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/15 06:49:11 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/15 06:49:11 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:49:11 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:49:11 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:49:11 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:49:11 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:27 file_test.go:306 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:27 file_test.go:306 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" 2022/04/15 06:49:19 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:49:19 DEBUG : dir: Looking for writers 2022/04/15 06:49:19 DEBUG : file1: reading active writers 2022/04/15 06:49:19 DEBUG : : Looking for writers 2022/04/15 06:49:19 DEBUG : dir: reading active writers 2022/04/15 06:49:19 DEBUG : newLeaf: reading active writers 2022/04/15 06:49:19 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:343 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:343 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" 2022/04/15 06:49:26 INFO : newLeaf: Deleted 2022/04/15 06:49:26 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/15 06:49:26 DEBUG : newLeaf: Updating file with newLeaf 0xc00026f080 2022/04/15 06:49:26 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/15 06:49:26 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want newLeaf (14) got newLeaf (14), newLeaf (25) fstest.go:151: Error Trace: fstest.go:151 fstest.go:196 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Not equal: expected: 14 actual : 25 Test: TestFileRename/minimal,forceCache=false Messages: newLeaf: size incorrect file=14 vs obj=25 fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" 2022/04/15 06:49:33 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/04/15 06:49:33 DEBUG : dir/file1: Updating file with dir/file1 0xc00026f080 2022/04/15 06:49:33 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/04/15 06:49:33 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "dir/file1" 2022/04/15 06:49:40 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/04/15 06:49:40 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2022/04/15 06:49:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/15 06:49:40 DEBUG : dir/file1: File is currently open, delaying rename 0xc00026f080 2022/04/15 06:49:40 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/15 06:49:40 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/15 06:49:40 DEBUG : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': File to upload is small (25 bytes), uploading instead of streaming 2022/04/15 06:49:41 INFO : dir/file1: Copied (new) 2022/04/15 06:49:41 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/15 06:49:41 DEBUG : newLeaf: Running delayed rename now 2022/04/15 06:49:41 INFO : newLeaf: Deleted 2022/04/15 06:49:42 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/15 06:49:42 DEBUG : newLeaf: Updating file with newLeaf 0xc00026f080 2022/04/15 06:49:42 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:49:42 DEBUG : dir: Looking for writers 2022/04/15 06:49:42 DEBUG : : Looking for writers 2022/04/15 06:49:42 DEBUG : dir: reading active writers 2022/04/15 06:49:42 DEBUG : newLeaf: reading active writers 2022/04/15 06:49:42 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want newLeaf (25) got newLeaf (25), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" 2022/04/15 06:49:49 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:49:49 DEBUG : dir: Looking for writers 2022/04/15 06:49:49 DEBUG : : Looking for writers 2022/04/15 06:49:49 DEBUG : dir: reading active writers 2022/04/15 06:49:49 DEBUG : newLeaf: reading active writers 2022/04/15 06:49:49 DEBUG : >WaitForWriters: 2022/04/15 06:49:49 DEBUG : vfs cache: cleaner exiting fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 file_test.go:402 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 file_test.go:402 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 file_test.go:402 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" === RUN TestFileRename/minimal,forceCache=true run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:49:56 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:49:56 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/15 06:49:56 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/15 06:49:56 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:49:56 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:49:56 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:49:56 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:49:56 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:27 file_test.go:306 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:27 file_test.go:306 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:27 file_test.go:306 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "newLeaf" 2022/04/15 06:50:04 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2022/04/15 06:50:04 DEBUG : dir/file1: newRWFileHandle: 2022/04/15 06:50:04 DEBUG : dir/file1(0xc0002cef40): openPending: 2022/04/15 06:50:04 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2022/04/15 06:50:04 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/04/15 06:50:04 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/15 06:50:04 DEBUG : dir/file1(0xc0002cef40): >openPending: err= 2022/04/15 06:50:04 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/04/15 06:50:04 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/15 06:50:04 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/15 06:50:04 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/15 06:50:04 DEBUG : dir/file1(0xc0002cef40): _writeAt: size=14, off=0 2022/04/15 06:50:04 DEBUG : dir/file1(0xc0002cef40): >_writeAt: n=14, err= 2022/04/15 06:50:04 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2022/04/15 06:50:04 DEBUG : dir/file1(0xc0002cef40): close: 2022/04/15 06:50:04 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2022/04/15 06:50:04 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2022/04/15 06:50:04 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2022/04/15 06:50:04 DEBUG : dir/file1(0xc0002cef40): >close: err= 2022/04/15 06:50:04 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:50:04 DEBUG : dir: Looking for writers 2022/04/15 06:50:04 DEBUG : file1: reading active writers 2022/04/15 06:50:04 DEBUG : : Looking for writers 2022/04/15 06:50:04 DEBUG : newLeaf: reading active writers 2022/04/15 06:50:04 DEBUG : dir: reading active writers 2022/04/15 06:50:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/04/15 06:50:04 DEBUG : dir: Looking for writers 2022/04/15 06:50:04 DEBUG : file1: reading active writers 2022/04/15 06:50:04 DEBUG : : Looking for writers 2022/04/15 06:50:04 DEBUG : dir: reading active writers 2022/04/15 06:50:04 DEBUG : newLeaf: reading active writers 2022/04/15 06:50:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/04/15 06:50:04 DEBUG : dir: Looking for writers 2022/04/15 06:50:04 DEBUG : file1: reading active writers 2022/04/15 06:50:04 DEBUG : : Looking for writers 2022/04/15 06:50:04 DEBUG : dir: reading active writers 2022/04/15 06:50:04 DEBUG : newLeaf: reading active writers 2022/04/15 06:50:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/04/15 06:50:04 DEBUG : dir: Looking for writers 2022/04/15 06:50:04 DEBUG : file1: reading active writers 2022/04/15 06:50:04 DEBUG : : Looking for writers 2022/04/15 06:50:04 DEBUG : dir: reading active writers 2022/04/15 06:50:04 DEBUG : newLeaf: reading active writers 2022/04/15 06:50:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/04/15 06:50:04 DEBUG : dir/file1: vfs cache: starting upload 2022/04/15 06:50:04 DEBUG : dir: Looking for writers 2022/04/15 06:50:04 DEBUG : file1: reading active writers 2022/04/15 06:50:04 DEBUG : : Looking for writers 2022/04/15 06:50:04 DEBUG : dir: reading active writers 2022/04/15 06:50:04 DEBUG : newLeaf: reading active writers 2022/04/15 06:50:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/04/15 06:50:04 DEBUG : dir: Looking for writers 2022/04/15 06:50:04 DEBUG : file1: reading active writers 2022/04/15 06:50:04 DEBUG : : Looking for writers 2022/04/15 06:50:04 DEBUG : dir: reading active writers 2022/04/15 06:50:04 DEBUG : newLeaf: reading active writers 2022/04/15 06:50:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/04/15 06:50:04 INFO : dir/file1: Copied (replaced existing) 2022/04/15 06:50:04 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2022/04/15 06:50:04 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2022/04/15 06:50:04 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/15 06:50:04 INFO : dir/file1: vfs cache: upload succeeded try #1 2022/04/15 06:50:04 DEBUG : dir: Looking for writers 2022/04/15 06:50:04 DEBUG : file1: reading active writers 2022/04/15 06:50:04 DEBUG : : Looking for writers 2022/04/15 06:50:04 DEBUG : dir: reading active writers 2022/04/15 06:50:04 DEBUG : newLeaf: reading active writers 2022/04/15 06:50:04 DEBUG : >WaitForWriters: 2022/04/15 06:50:04 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/04/15 06:50:04 DEBUG : dir/file1: newRWFileHandle: 2022/04/15 06:50:04 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/15 06:50:04 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/15 06:50:04 DEBUG : dir/file1(0xc0008890c0): _readAt: size=512, off=0 2022/04/15 06:50:04 DEBUG : dir/file1(0xc0008890c0): openPending: 2022/04/15 06:50:04 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2022/04/15 06:50:04 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/04/15 06:50:04 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/15 06:50:04 DEBUG : dir/file1(0xc0008890c0): >openPending: err= 2022/04/15 06:50:04 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2022/04/15 06:50:04 DEBUG : dir/file1(0xc0008890c0): >_readAt: n=14, err=EOF 2022/04/15 06:50:04 DEBUG : dir/file1(0xc0008890c0): close: 2022/04/15 06:50:04 DEBUG : dir/file1: vfs cache: setting modification time to 2022-04-15 06:50:04 +0000 UTC 2022/04/15 06:50:04 DEBUG : dir/file1(0xc0008890c0): >close: err= fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:343 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:343 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:343 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "newLeaf" 2022/04/15 06:50:11 INFO : newLeaf: Deleted 2022/04/15 06:50:12 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/15 06:50:12 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/04/15 06:50:12 DEBUG : newLeaf: Updating file with newLeaf 0xc0033663c0 2022/04/15 06:50:12 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/15 06:50:12 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want newLeaf (14) got newLeaf (14), newLeaf (25), newLeaf (25) fstest.go:151: Error Trace: fstest.go:151 fstest.go:196 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Not equal: expected: 14 actual : 25 Test: TestFileRename/minimal,forceCache=true Messages: newLeaf: size incorrect file=14 vs obj=25 fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "newLeaf" 2022/04/15 06:50:19 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/04/15 06:50:19 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2022/04/15 06:50:19 DEBUG : dir/file1: Updating file with dir/file1 0xc0033663c0 2022/04/15 06:50:19 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/04/15 06:50:19 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "dir/file1" 2022/04/15 06:50:26 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/04/15 06:50:26 DEBUG : dir/file1: newRWFileHandle: 2022/04/15 06:50:26 DEBUG : dir/file1(0xc000790a40): openPending: 2022/04/15 06:50:26 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2022/04/15 06:50:26 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/04/15 06:50:26 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/15 06:50:26 DEBUG : dir/file1(0xc000790a40): >openPending: err= 2022/04/15 06:50:26 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/04/15 06:50:26 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/15 06:50:26 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/15 06:50:26 DEBUG : dir/file1(0xc000790a40): _writeAt: size=25, off=0 2022/04/15 06:50:26 DEBUG : dir/file1(0xc000790a40): >_writeAt: n=25, err= 2022/04/15 06:50:26 INFO : newLeaf: Deleted 2022/04/15 06:50:26 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/15 06:50:26 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/04/15 06:50:26 DEBUG : newLeaf: Updating file with newLeaf 0xc0033663c0 2022/04/15 06:50:26 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/15 06:50:26 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/15 06:50:26 DEBUG : newLeaf(0xc000790a40): close: 2022/04/15 06:50:26 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2022/04/15 06:50:26 DEBUG : newLeaf: vfs cache: setting modification time to 2022-04-15 06:50:26.659335357 +0000 UTC m=+278.829653231 2022/04/15 06:50:26 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2022/04/15 06:50:26 DEBUG : newLeaf(0xc000790a40): >close: err= 2022/04/15 06:50:26 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:50:26 DEBUG : dir: Looking for writers 2022/04/15 06:50:26 DEBUG : : Looking for writers 2022/04/15 06:50:26 DEBUG : dir: reading active writers 2022/04/15 06:50:26 DEBUG : newLeaf: reading active writers 2022/04/15 06:50:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/04/15 06:50:26 DEBUG : dir: Looking for writers 2022/04/15 06:50:26 DEBUG : : Looking for writers 2022/04/15 06:50:26 DEBUG : newLeaf: reading active writers 2022/04/15 06:50:26 DEBUG : dir: reading active writers 2022/04/15 06:50:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/04/15 06:50:26 DEBUG : dir: Looking for writers 2022/04/15 06:50:26 DEBUG : : Looking for writers 2022/04/15 06:50:26 DEBUG : dir: reading active writers 2022/04/15 06:50:26 DEBUG : newLeaf: reading active writers 2022/04/15 06:50:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/04/15 06:50:27 DEBUG : dir: Looking for writers 2022/04/15 06:50:27 DEBUG : : Looking for writers 2022/04/15 06:50:27 DEBUG : dir: reading active writers 2022/04/15 06:50:27 DEBUG : newLeaf: reading active writers 2022/04/15 06:50:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/04/15 06:50:27 DEBUG : newLeaf: vfs cache: starting upload 2022/04/15 06:50:27 DEBUG : dir: Looking for writers 2022/04/15 06:50:27 DEBUG : : Looking for writers 2022/04/15 06:50:27 DEBUG : dir: reading active writers 2022/04/15 06:50:27 DEBUG : newLeaf: reading active writers 2022/04/15 06:50:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/04/15 06:50:27 DEBUG : dir: Looking for writers 2022/04/15 06:50:27 DEBUG : : Looking for writers 2022/04/15 06:50:27 DEBUG : dir: reading active writers 2022/04/15 06:50:27 DEBUG : newLeaf: reading active writers 2022/04/15 06:50:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/04/15 06:50:27 DEBUG : dir: Looking for writers 2022/04/15 06:50:27 DEBUG : : Looking for writers 2022/04/15 06:50:27 DEBUG : dir: reading active writers 2022/04/15 06:50:27 DEBUG : newLeaf: reading active writers 2022/04/15 06:50:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/04/15 06:50:28 DEBUG : dir: Looking for writers 2022/04/15 06:50:28 DEBUG : : Looking for writers 2022/04/15 06:50:28 DEBUG : dir: reading active writers 2022/04/15 06:50:28 DEBUG : newLeaf: reading active writers 2022/04/15 06:50:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:50:29 INFO : newLeaf: Copied (replaced existing) 2022/04/15 06:50:29 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2022/04/15 06:50:29 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2022/04/15 06:50:29 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/15 06:50:29 INFO : newLeaf: vfs cache: upload succeeded try #1 2022/04/15 06:50:29 DEBUG : dir: Looking for writers 2022/04/15 06:50:29 DEBUG : : Looking for writers 2022/04/15 06:50:29 DEBUG : dir: reading active writers 2022/04/15 06:50:29 DEBUG : newLeaf: reading active writers 2022/04/15 06:50:29 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want newLeaf (25) got newLeaf (25), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "newLeaf" 2022/04/15 06:50:36 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:50:36 DEBUG : dir: Looking for writers 2022/04/15 06:50:36 DEBUG : : Looking for writers 2022/04/15 06:50:36 DEBUG : newLeaf: reading active writers 2022/04/15 06:50:36 DEBUG : dir: reading active writers 2022/04/15 06:50:36 DEBUG : >WaitForWriters: 2022/04/15 06:50:36 DEBUG : vfs cache: cleaner exiting fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 file_test.go:402 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 file_test.go:402 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 file_test.go:402 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "newLeaf" === RUN TestFileRename/writes,forceCache=false run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:50:43 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:50:43 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/15 06:50:43 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:50:43 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:50:43 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:50:43 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:50:43 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:27 file_test.go:306 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:27 file_test.go:306 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:27 file_test.go:306 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" 2022/04/15 06:50:51 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:50:51 DEBUG : dir: Looking for writers 2022/04/15 06:50:51 DEBUG : file1: reading active writers 2022/04/15 06:50:51 DEBUG : : Looking for writers 2022/04/15 06:50:51 DEBUG : dir: reading active writers 2022/04/15 06:50:51 DEBUG : newLeaf: reading active writers 2022/04/15 06:50:51 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:343 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:343 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:343 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" 2022/04/15 06:50:58 INFO : newLeaf: Deleted 2022/04/15 06:50:58 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/15 06:50:58 DEBUG : newLeaf: Updating file with newLeaf 0xc003367500 2022/04/15 06:50:58 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/15 06:50:58 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want newLeaf (14) got newLeaf (14), newLeaf (25), newLeaf (25) fstest.go:151: Error Trace: fstest.go:151 fstest.go:196 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Not equal: expected: 14 actual : 25 Test: TestFileRename/writes,forceCache=false Messages: newLeaf: size incorrect file=14 vs obj=25 fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" 2022/04/15 06:51:06 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/04/15 06:51:06 DEBUG : dir/file1: Updating file with dir/file1 0xc003367500 2022/04/15 06:51:06 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/04/15 06:51:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "dir/file1" 2022/04/15 06:51:13 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/04/15 06:51:13 DEBUG : dir/file1: newRWFileHandle: 2022/04/15 06:51:13 DEBUG : dir/file1(0xc000855840): openPending: 2022/04/15 06:51:13 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2022/04/15 06:51:13 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/04/15 06:51:13 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/15 06:51:13 DEBUG : dir/file1(0xc000855840): >openPending: err= 2022/04/15 06:51:13 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/04/15 06:51:13 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/15 06:51:13 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/15 06:51:13 DEBUG : dir/file1(0xc000855840): _writeAt: size=25, off=0 2022/04/15 06:51:13 DEBUG : dir/file1(0xc000855840): >_writeAt: n=25, err= 2022/04/15 06:51:13 INFO : newLeaf: Deleted 2022/04/15 06:51:14 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/15 06:51:14 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/04/15 06:51:14 DEBUG : newLeaf: Updating file with newLeaf 0xc003367500 2022/04/15 06:51:14 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/15 06:51:14 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/15 06:51:14 DEBUG : newLeaf(0xc000855840): close: 2022/04/15 06:51:14 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2022/04/15 06:51:14 DEBUG : newLeaf: vfs cache: setting modification time to 2022-04-15 06:51:13.250863374 +0000 UTC m=+325.421181268 2022/04/15 06:51:14 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2022/04/15 06:51:14 DEBUG : newLeaf(0xc000855840): >close: err= 2022/04/15 06:51:14 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:51:14 DEBUG : dir: Looking for writers 2022/04/15 06:51:14 DEBUG : : Looking for writers 2022/04/15 06:51:14 DEBUG : dir: reading active writers 2022/04/15 06:51:14 DEBUG : newLeaf: reading active writers 2022/04/15 06:51:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/04/15 06:51:14 DEBUG : dir: Looking for writers 2022/04/15 06:51:14 DEBUG : : Looking for writers 2022/04/15 06:51:14 DEBUG : newLeaf: reading active writers 2022/04/15 06:51:14 DEBUG : dir: reading active writers 2022/04/15 06:51:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/04/15 06:51:14 DEBUG : dir: Looking for writers 2022/04/15 06:51:14 DEBUG : : Looking for writers 2022/04/15 06:51:14 DEBUG : dir: reading active writers 2022/04/15 06:51:14 DEBUG : newLeaf: reading active writers 2022/04/15 06:51:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/04/15 06:51:14 DEBUG : dir: Looking for writers 2022/04/15 06:51:14 DEBUG : : Looking for writers 2022/04/15 06:51:14 DEBUG : newLeaf: reading active writers 2022/04/15 06:51:14 DEBUG : dir: reading active writers 2022/04/15 06:51:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/04/15 06:51:14 DEBUG : newLeaf: vfs cache: starting upload 2022/04/15 06:51:14 DEBUG : dir: Looking for writers 2022/04/15 06:51:14 DEBUG : : Looking for writers 2022/04/15 06:51:14 DEBUG : newLeaf: reading active writers 2022/04/15 06:51:14 DEBUG : dir: reading active writers 2022/04/15 06:51:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/04/15 06:51:14 DEBUG : dir: Looking for writers 2022/04/15 06:51:14 DEBUG : : Looking for writers 2022/04/15 06:51:14 DEBUG : dir: reading active writers 2022/04/15 06:51:14 DEBUG : newLeaf: reading active writers 2022/04/15 06:51:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/04/15 06:51:14 INFO : newLeaf: Copied (replaced existing) 2022/04/15 06:51:14 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2022/04/15 06:51:14 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2022/04/15 06:51:14 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/15 06:51:14 INFO : newLeaf: vfs cache: upload succeeded try #1 2022/04/15 06:51:14 DEBUG : dir: Looking for writers 2022/04/15 06:51:14 DEBUG : : Looking for writers 2022/04/15 06:51:14 DEBUG : dir: reading active writers 2022/04/15 06:51:14 DEBUG : newLeaf: reading active writers 2022/04/15 06:51:14 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want newLeaf (25) got newLeaf (25), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" 2022/04/15 06:51:21 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:51:21 DEBUG : dir: Looking for writers 2022/04/15 06:51:21 DEBUG : : Looking for writers 2022/04/15 06:51:21 DEBUG : dir: reading active writers 2022/04/15 06:51:21 DEBUG : newLeaf: reading active writers 2022/04/15 06:51:21 DEBUG : >WaitForWriters: 2022/04/15 06:51:21 DEBUG : vfs cache: cleaner exiting fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 file_test.go:402 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 file_test.go:402 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 file_test.go:402 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" === RUN TestFileRename/full,forceCache=false run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:51:29 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:51:29 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/15 06:51:29 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:51:29 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:51:29 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:51:29 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:51:29 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:27 file_test.go:306 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:27 file_test.go:306 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:27 file_test.go:306 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "newLeaf" 2022/04/15 06:51:37 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:51:37 DEBUG : dir: Looking for writers 2022/04/15 06:51:37 DEBUG : file1: reading active writers 2022/04/15 06:51:37 DEBUG : : Looking for writers 2022/04/15 06:51:37 DEBUG : dir: reading active writers 2022/04/15 06:51:37 DEBUG : newLeaf: reading active writers 2022/04/15 06:51:37 DEBUG : >WaitForWriters: 2022/04/15 06:51:37 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/04/15 06:51:37 DEBUG : dir/file1: newRWFileHandle: 2022/04/15 06:51:37 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/15 06:51:37 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/15 06:51:37 DEBUG : dir/file1(0xc000a30700): _readAt: size=512, off=0 2022/04/15 06:51:37 DEBUG : dir/file1(0xc000a30700): openPending: 2022/04/15 06:51:37 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2022/04/15 06:51:37 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/04/15 06:51:37 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/15 06:51:37 DEBUG : dir/file1(0xc000a30700): >openPending: err= 2022/04/15 06:51:37 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2022/04/15 06:51:37 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2022/04/15 06:51:37 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2022/04/15 06:51:37 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:51:37 DEBUG : dir/file1(0xc000a30700): >_readAt: n=14, err=EOF 2022/04/15 06:51:37 DEBUG : dir/file1(0xc000a30700): close: 2022/04/15 06:51:37 DEBUG : dir/file1: vfs cache: setting modification time to 2022-04-15 06:51:29 +0000 UTC 2022/04/15 06:51:37 DEBUG : dir/file1(0xc000a30700): >close: err= fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:343 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:343 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:343 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "newLeaf" 2022/04/15 06:51:44 INFO : newLeaf: Deleted 2022/04/15 06:51:45 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/15 06:51:45 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/04/15 06:51:45 DEBUG : newLeaf: Updating file with newLeaf 0xc0008feb40 2022/04/15 06:51:45 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/15 06:51:45 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want newLeaf (14) got newLeaf (14), newLeaf (25), newLeaf (25) fstest.go:151: Error Trace: fstest.go:151 fstest.go:196 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Not equal: expected: 14 actual : 25 Test: TestFileRename/full,forceCache=false Messages: newLeaf: size incorrect file=14 vs obj=25 fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "newLeaf" 2022/04/15 06:51:53 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/04/15 06:51:53 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2022/04/15 06:51:53 DEBUG : dir/file1: Updating file with dir/file1 0xc0008feb40 2022/04/15 06:51:53 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/04/15 06:51:53 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "dir/file1" 2022/04/15 06:52:00 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/04/15 06:52:00 DEBUG : dir/file1: newRWFileHandle: 2022/04/15 06:52:00 DEBUG : dir/file1(0xc00098e6c0): openPending: 2022/04/15 06:52:00 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2022/04/15 06:52:00 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/04/15 06:52:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/15 06:52:00 DEBUG : dir/file1(0xc00098e6c0): >openPending: err= 2022/04/15 06:52:00 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/04/15 06:52:00 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/15 06:52:00 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/15 06:52:00 DEBUG : dir/file1(0xc00098e6c0): _writeAt: size=25, off=0 2022/04/15 06:52:00 DEBUG : dir/file1(0xc00098e6c0): >_writeAt: n=25, err= 2022/04/15 06:52:00 INFO : newLeaf: Deleted 2022/04/15 06:52:00 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/15 06:52:00 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/04/15 06:52:00 DEBUG : newLeaf: Updating file with newLeaf 0xc0008feb40 2022/04/15 06:52:00 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/15 06:52:00 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/15 06:52:00 DEBUG : newLeaf(0xc00098e6c0): close: 2022/04/15 06:52:00 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2022/04/15 06:52:00 DEBUG : newLeaf: vfs cache: setting modification time to 2022-04-15 06:52:00.401599909 +0000 UTC m=+372.571917783 2022/04/15 06:52:00 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2022/04/15 06:52:00 DEBUG : newLeaf(0xc00098e6c0): >close: err= 2022/04/15 06:52:00 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:52:00 DEBUG : dir: Looking for writers 2022/04/15 06:52:00 DEBUG : : Looking for writers 2022/04/15 06:52:00 DEBUG : dir: reading active writers 2022/04/15 06:52:00 DEBUG : newLeaf: reading active writers 2022/04/15 06:52:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/04/15 06:52:00 DEBUG : dir: Looking for writers 2022/04/15 06:52:00 DEBUG : : Looking for writers 2022/04/15 06:52:00 DEBUG : dir: reading active writers 2022/04/15 06:52:00 DEBUG : newLeaf: reading active writers 2022/04/15 06:52:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/04/15 06:52:00 DEBUG : dir: Looking for writers 2022/04/15 06:52:00 DEBUG : : Looking for writers 2022/04/15 06:52:00 DEBUG : dir: reading active writers 2022/04/15 06:52:00 DEBUG : newLeaf: reading active writers 2022/04/15 06:52:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/04/15 06:52:00 DEBUG : dir: Looking for writers 2022/04/15 06:52:00 DEBUG : : Looking for writers 2022/04/15 06:52:00 DEBUG : dir: reading active writers 2022/04/15 06:52:00 DEBUG : newLeaf: reading active writers 2022/04/15 06:52:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/04/15 06:52:00 DEBUG : newLeaf: vfs cache: starting upload 2022/04/15 06:52:00 DEBUG : dir: Looking for writers 2022/04/15 06:52:00 DEBUG : : Looking for writers 2022/04/15 06:52:00 DEBUG : dir: reading active writers 2022/04/15 06:52:00 DEBUG : newLeaf: reading active writers 2022/04/15 06:52:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/04/15 06:52:01 DEBUG : dir: Looking for writers 2022/04/15 06:52:01 DEBUG : : Looking for writers 2022/04/15 06:52:01 DEBUG : newLeaf: reading active writers 2022/04/15 06:52:01 DEBUG : dir: reading active writers 2022/04/15 06:52:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/04/15 06:52:01 DEBUG : dir: Looking for writers 2022/04/15 06:52:01 DEBUG : : Looking for writers 2022/04/15 06:52:01 DEBUG : dir: reading active writers 2022/04/15 06:52:01 DEBUG : newLeaf: reading active writers 2022/04/15 06:52:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/04/15 06:52:01 INFO : newLeaf: Copied (replaced existing) 2022/04/15 06:52:01 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2022/04/15 06:52:01 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2022/04/15 06:52:01 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/15 06:52:01 INFO : newLeaf: vfs cache: upload succeeded try #1 2022/04/15 06:52:02 DEBUG : dir: Looking for writers 2022/04/15 06:52:02 DEBUG : : Looking for writers 2022/04/15 06:52:02 DEBUG : newLeaf: reading active writers 2022/04/15 06:52:02 DEBUG : dir: reading active writers 2022/04/15 06:52:02 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want newLeaf (25) got newLeaf (25), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "newLeaf" 2022/04/15 06:52:09 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:52:09 DEBUG : dir: Looking for writers 2022/04/15 06:52:09 DEBUG : : Looking for writers 2022/04/15 06:52:09 DEBUG : dir: reading active writers 2022/04/15 06:52:09 DEBUG : newLeaf: reading active writers 2022/04/15 06:52:09 DEBUG : >WaitForWriters: 2022/04/15 06:52:09 DEBUG : vfs cache: cleaner exiting fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 file_test.go:402 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 file_test.go:402 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 file_test.go:402 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "newLeaf" --- FAIL: TestFileRename (381.25s) --- FAIL: TestFileRename/off,forceCache=false (195.89s) --- FAIL: TestFileRename/minimal,forceCache=false (45.26s) --- FAIL: TestFileRename/minimal,forceCache=true (46.74s) --- FAIL: TestFileRename/writes,forceCache=false (45.92s) --- FAIL: TestFileRename/full,forceCache=false (47.44s) === RUN TestRcGetVFS run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:52:16 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:52:16 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/15 06:52:16 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:52:16 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/15 06:52:16 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:52:16 DEBUG : : Looking for writers 2022/04/15 06:52:16 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 rc_test.go:65 Error: Should be true Test: TestRcGetVFS Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 rc_test.go:65 Error: Should be true Test: TestRcGetVFS Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 rc_test.go:65 Error: Should be true Test: TestRcGetVFS Messages: Unexpected file "newLeaf" --- FAIL: TestRcGetVFS (7.33s) === RUN TestReadFileHandleMethods run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:52:24 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:52:24 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 read_test.go:19 read_test.go:40 Error: Should be true Test: TestReadFileHandleMethods Messages: listing wrong, want dir/file1 (16) got dir/file1 (16), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_test.go:19 read_test.go:40 Error: Should be true Test: TestReadFileHandleMethods Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_test.go:19 read_test.go:40 Error: Should be true Test: TestReadFileHandleMethods Messages: Unexpected file "newLeaf" 2022/04/15 06:52:32 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:52:32 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/04/15 06:52:32 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2022/04/15 06:52:32 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2022/04/15 06:52:32 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:52:32 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2022/04/15 06:52:33 DEBUG : dir/file1: ChunkedReader.Read at 1 length 256 chunkOffset 0 chunkSize 134217728 2022/04/15 06:52:33 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:52:33 DEBUG : dir: Looking for writers 2022/04/15 06:52:33 DEBUG : file1: reading active writers 2022/04/15 06:52:33 DEBUG : : Looking for writers 2022/04/15 06:52:33 DEBUG : dir: reading active writers 2022/04/15 06:52:33 DEBUG : newLeaf: reading active writers 2022/04/15 06:52:33 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_test.go:80 Error: Should be true Test: TestReadFileHandleMethods Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_test.go:80 Error: Should be true Test: TestReadFileHandleMethods Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_test.go:80 Error: Should be true Test: TestReadFileHandleMethods Messages: Unexpected file "newLeaf" --- FAIL: TestReadFileHandleMethods (16.32s) === RUN TestReadFileHandleSeek run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:52:40 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:52:40 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 read_test.go:19 read_test.go:83 Error: Should be true Test: TestReadFileHandleSeek Messages: listing wrong, want dir/file1 (16) got dir/file1 (16), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_test.go:19 read_test.go:83 Error: Should be true Test: TestReadFileHandleSeek Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_test.go:19 read_test.go:83 Error: Should be true Test: TestReadFileHandleSeek Messages: Unexpected file "newLeaf" 2022/04/15 06:52:48 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:52:48 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/04/15 06:52:48 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2022/04/15 06:52:48 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2022/04/15 06:52:48 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:52:48 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2022/04/15 06:52:49 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2022/04/15 06:52:49 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2022/04/15 06:52:49 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2022/04/15 06:52:49 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2022/04/15 06:52:49 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2022/04/15 06:52:49 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2022/04/15 06:52:49 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2022/04/15 06:52:50 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2022/04/15 06:52:50 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2022/04/15 06:52:50 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2022/04/15 06:52:50 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2022/04/15 06:52:51 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2022/04/15 06:52:51 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2022/04/15 06:52:51 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2022/04/15 06:52:51 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2022/04/15 06:52:52 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:52:52 DEBUG : dir: Looking for writers 2022/04/15 06:52:52 DEBUG : file1: reading active writers 2022/04/15 06:52:52 DEBUG : : Looking for writers 2022/04/15 06:52:52 DEBUG : dir: reading active writers 2022/04/15 06:52:52 DEBUG : newLeaf: reading active writers 2022/04/15 06:52:52 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_test.go:123 Error: Should be true Test: TestReadFileHandleSeek Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_test.go:123 Error: Should be true Test: TestReadFileHandleSeek Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_test.go:123 Error: Should be true Test: TestReadFileHandleSeek Messages: Unexpected file "newLeaf" --- FAIL: TestReadFileHandleSeek (19.06s) === RUN TestReadFileHandleReadAt run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:52:59 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:52:59 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 read_test.go:19 read_test.go:126 Error: Should be true Test: TestReadFileHandleReadAt Messages: listing wrong, want dir/file1 (16) got dir/file1 (16), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_test.go:19 read_test.go:126 Error: Should be true Test: TestReadFileHandleReadAt Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_test.go:19 read_test.go:126 Error: Should be true Test: TestReadFileHandleReadAt Messages: Unexpected file "newLeaf" 2022/04/15 06:53:08 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:53:08 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/04/15 06:53:08 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2022/04/15 06:53:08 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2022/04/15 06:53:08 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:53:08 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2022/04/15 06:53:09 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2022/04/15 06:53:09 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2022/04/15 06:53:09 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2022/04/15 06:53:09 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2022/04/15 06:53:09 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2022/04/15 06:53:09 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2022/04/15 06:53:09 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2022/04/15 06:53:10 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2022/04/15 06:53:10 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2022/04/15 06:53:10 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2022/04/15 06:53:10 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2022/04/15 06:53:11 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2022/04/15 06:53:11 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2022/04/15 06:53:11 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2022/04/15 06:53:11 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2022/04/15 06:53:11 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2022/04/15 06:53:11 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2022/04/15 06:53:11 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2022/04/15 06:53:11 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2022/04/15 06:53:11 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2022/04/15 06:53:11 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2022/04/15 06:53:11 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2022/04/15 06:53:12 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2022/04/15 06:53:12 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2022/04/15 06:53:12 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2022/04/15 06:53:12 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2022/04/15 06:53:12 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2022/04/15 06:53:12 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2022/04/15 06:53:12 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2022/04/15 06:53:12 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2022/04/15 06:53:12 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:53:12 DEBUG : dir: Looking for writers 2022/04/15 06:53:12 DEBUG : file1: reading active writers 2022/04/15 06:53:12 DEBUG : : Looking for writers 2022/04/15 06:53:12 DEBUG : dir: reading active writers 2022/04/15 06:53:12 DEBUG : newLeaf: reading active writers 2022/04/15 06:53:12 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_test.go:179 Error: Should be true Test: TestReadFileHandleReadAt Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_test.go:179 Error: Should be true Test: TestReadFileHandleReadAt Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_test.go:179 Error: Should be true Test: TestReadFileHandleReadAt Messages: Unexpected file "newLeaf" --- FAIL: TestReadFileHandleReadAt (19.94s) === RUN TestReadFileHandleFlush run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:53:19 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:53:19 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 read_test.go:19 read_test.go:182 Error: Should be true Test: TestReadFileHandleFlush Messages: listing wrong, want dir/file1 (16) got dir/file1 (16), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_test.go:19 read_test.go:182 Error: Should be true Test: TestReadFileHandleFlush Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_test.go:19 read_test.go:182 Error: Should be true Test: TestReadFileHandleFlush Messages: Unexpected file "newLeaf" 2022/04/15 06:53:27 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:53:27 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/04/15 06:53:27 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2022/04/15 06:53:27 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2022/04/15 06:53:27 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:53:27 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2022/04/15 06:53:28 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:53:28 DEBUG : dir: Looking for writers 2022/04/15 06:53:28 DEBUG : file1: reading active writers 2022/04/15 06:53:28 DEBUG : : Looking for writers 2022/04/15 06:53:28 DEBUG : dir: reading active writers 2022/04/15 06:53:28 DEBUG : newLeaf: reading active writers 2022/04/15 06:53:28 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_test.go:208 Error: Should be true Test: TestReadFileHandleFlush Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_test.go:208 Error: Should be true Test: TestReadFileHandleFlush Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_test.go:208 Error: Should be true Test: TestReadFileHandleFlush Messages: Unexpected file "newLeaf" --- FAIL: TestReadFileHandleFlush (15.91s) === RUN TestReadFileHandleRelease run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:53:35 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:53:35 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 read_test.go:19 read_test.go:211 Error: Should be true Test: TestReadFileHandleRelease Messages: listing wrong, want dir/file1 (16) got dir/file1 (16), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_test.go:19 read_test.go:211 Error: Should be true Test: TestReadFileHandleRelease Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_test.go:19 read_test.go:211 Error: Should be true Test: TestReadFileHandleRelease Messages: Unexpected file "newLeaf" 2022/04/15 06:53:44 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:53:44 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/04/15 06:53:44 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2022/04/15 06:53:44 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2022/04/15 06:53:44 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:53:45 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2022/04/15 06:53:46 DEBUG : dir/file1: ReadFileHandle.Release closing 2022/04/15 06:53:46 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2022/04/15 06:53:46 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:53:46 DEBUG : dir: Looking for writers 2022/04/15 06:53:46 DEBUG : file1: reading active writers 2022/04/15 06:53:46 DEBUG : : Looking for writers 2022/04/15 06:53:46 DEBUG : dir: reading active writers 2022/04/15 06:53:46 DEBUG : newLeaf: reading active writers 2022/04/15 06:53:46 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_test.go:234 Error: Should be true Test: TestReadFileHandleRelease Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_test.go:234 Error: Should be true Test: TestReadFileHandleRelease Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_test.go:234 Error: Should be true Test: TestReadFileHandleRelease Messages: Unexpected file "newLeaf" --- FAIL: TestReadFileHandleRelease (18.02s) === RUN TestRWFileHandleMethodsRead run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:53:53 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:53:53 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/15 06:53:53 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:53:53 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:53:53 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:53:53 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:53:53 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 read_write_test.go:41 read_write_test.go:54 read_write_test.go:73 Error: Should be true Test: TestRWFileHandleMethodsRead Messages: listing wrong, want dir/file1 (16) got dir/file1 (16), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_write_test.go:41 read_write_test.go:54 read_write_test.go:73 Error: Should be true Test: TestRWFileHandleMethodsRead Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_write_test.go:41 read_write_test.go:54 read_write_test.go:73 Error: Should be true Test: TestRWFileHandleMethodsRead Messages: Unexpected file "newLeaf" 2022/04/15 06:54:01 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:54:01 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/04/15 06:54:01 DEBUG : dir/file1: newRWFileHandle: 2022/04/15 06:54:01 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/15 06:54:01 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/15 06:54:01 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2022/04/15 06:54:01 DEBUG : dir/file1(0xc00088e940): _readAt: size=1, off=0 2022/04/15 06:54:01 DEBUG : dir/file1(0xc00088e940): openPending: 2022/04/15 06:54:01 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2022/04/15 06:54:01 DEBUG : dir/file1: vfs cache: truncate to size=16 2022/04/15 06:54:01 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/15 06:54:01 DEBUG : dir/file1(0xc00088e940): >openPending: err= 2022/04/15 06:54:01 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2022/04/15 06:54:01 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2022/04/15 06:54:01 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2022/04/15 06:54:01 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:54:02 DEBUG : dir/file1(0xc00088e940): >_readAt: n=1, err= 2022/04/15 06:54:02 DEBUG : dir/file1(0xc00088e940): _readAt: size=256, off=1 2022/04/15 06:54:02 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2022/04/15 06:54:02 DEBUG : dir/file1(0xc00088e940): >_readAt: n=15, err=EOF 2022/04/15 06:54:02 DEBUG : dir/file1(0xc00088e940): _readAt: size=16, off=16 2022/04/15 06:54:02 DEBUG : dir/file1(0xc00088e940): >_readAt: n=0, err=EOF 2022/04/15 06:54:02 DEBUG : dir/file1(0xc00088e940): close: 2022/04/15 06:54:02 DEBUG : dir/file1: vfs cache: setting modification time to 2022-04-15 06:53:54 +0000 UTC 2022/04/15 06:54:02 DEBUG : dir/file1(0xc00088e940): >close: err= 2022/04/15 06:54:02 DEBUG : dir/file1(0xc00088e940): close: 2022/04/15 06:54:02 DEBUG : dir/file1(0xc00088e940): >close: err=file already closed 2022/04/15 06:54:02 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:54:02 DEBUG : dir: Looking for writers 2022/04/15 06:54:02 DEBUG : file1: reading active writers 2022/04/15 06:54:02 DEBUG : : Looking for writers 2022/04/15 06:54:02 DEBUG : dir: reading active writers 2022/04/15 06:54:02 DEBUG : newLeaf: reading active writers 2022/04/15 06:54:02 DEBUG : >WaitForWriters: 2022/04/15 06:54:02 DEBUG : vfs cache: cleaner exiting fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:117 Error: Should be true Test: TestRWFileHandleMethodsRead Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:117 Error: Should be true Test: TestRWFileHandleMethodsRead Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:117 Error: Should be true Test: TestRWFileHandleMethodsRead Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleMethodsRead (17.20s) === RUN TestRWFileHandleSeek run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:54:10 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:54:10 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/15 06:54:10 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:54:10 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:54:10 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:54:10 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:54:10 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 read_write_test.go:41 read_write_test.go:54 read_write_test.go:120 Error: Should be true Test: TestRWFileHandleSeek Messages: listing wrong, want dir/file1 (16) got dir/file1 (16), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_write_test.go:41 read_write_test.go:54 read_write_test.go:120 Error: Should be true Test: TestRWFileHandleSeek Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_write_test.go:41 read_write_test.go:54 read_write_test.go:120 Error: Should be true Test: TestRWFileHandleSeek Messages: Unexpected file "newLeaf" 2022/04/15 06:54:18 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:54:18 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/04/15 06:54:18 DEBUG : dir/file1: newRWFileHandle: 2022/04/15 06:54:18 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/15 06:54:18 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/15 06:54:18 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2022/04/15 06:54:18 DEBUG : dir/file1(0xc00088f280): _readAt: size=1, off=0 2022/04/15 06:54:18 DEBUG : dir/file1(0xc00088f280): openPending: 2022/04/15 06:54:18 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2022/04/15 06:54:18 DEBUG : dir/file1: vfs cache: truncate to size=16 2022/04/15 06:54:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/15 06:54:18 DEBUG : dir/file1(0xc00088f280): >openPending: err= 2022/04/15 06:54:18 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2022/04/15 06:54:18 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2022/04/15 06:54:18 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2022/04/15 06:54:18 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:54:19 DEBUG : dir/file1(0xc00088f280): >_readAt: n=1, err= 2022/04/15 06:54:19 DEBUG : dir/file1(0xc00088f280): _readAt: size=1, off=5 2022/04/15 06:54:19 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2022/04/15 06:54:19 DEBUG : dir/file1(0xc00088f280): >_readAt: n=1, err= 2022/04/15 06:54:19 DEBUG : dir/file1(0xc00088f280): _readAt: size=1, off=3 2022/04/15 06:54:19 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2022/04/15 06:54:19 DEBUG : dir/file1(0xc00088f280): >_readAt: n=1, err= 2022/04/15 06:54:19 DEBUG : dir/file1(0xc00088f280): _readAt: size=1, off=13 2022/04/15 06:54:19 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2022/04/15 06:54:19 DEBUG : dir/file1(0xc00088f280): >_readAt: n=1, err= 2022/04/15 06:54:19 DEBUG : dir/file1(0xc00088f280): _readAt: size=16, off=100 2022/04/15 06:54:19 DEBUG : dir/file1(0xc00088f280): >_readAt: n=0, err=EOF 2022/04/15 06:54:19 DEBUG : dir/file1(0xc00088f280): close: 2022/04/15 06:54:19 DEBUG : dir/file1: vfs cache: setting modification time to 2022-04-15 06:54:10 +0000 UTC 2022/04/15 06:54:19 DEBUG : dir/file1(0xc00088f280): >close: err= 2022/04/15 06:54:19 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:54:19 DEBUG : dir: Looking for writers 2022/04/15 06:54:19 DEBUG : file1: reading active writers 2022/04/15 06:54:19 DEBUG : : Looking for writers 2022/04/15 06:54:19 DEBUG : dir: reading active writers 2022/04/15 06:54:19 DEBUG : newLeaf: reading active writers 2022/04/15 06:54:19 DEBUG : >WaitForWriters: 2022/04/15 06:54:19 DEBUG : vfs cache: cleaner exiting fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:167 Error: Should be true Test: TestRWFileHandleSeek Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:167 Error: Should be true Test: TestRWFileHandleSeek Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:167 Error: Should be true Test: TestRWFileHandleSeek Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleSeek (16.21s) === RUN TestRWFileHandleReadAt run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:54:26 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:54:26 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/15 06:54:26 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:54:26 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:54:26 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:54:26 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:54:26 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 read_write_test.go:41 read_write_test.go:54 read_write_test.go:170 Error: Should be true Test: TestRWFileHandleReadAt Messages: listing wrong, want dir/file1 (16) got dir/file1 (16), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_write_test.go:41 read_write_test.go:54 read_write_test.go:170 Error: Should be true Test: TestRWFileHandleReadAt Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_write_test.go:41 read_write_test.go:54 read_write_test.go:170 Error: Should be true Test: TestRWFileHandleReadAt Messages: Unexpected file "newLeaf" 2022/04/15 06:54:36 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:54:36 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/04/15 06:54:36 DEBUG : dir/file1: newRWFileHandle: 2022/04/15 06:54:36 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/15 06:54:36 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/15 06:54:36 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2022/04/15 06:54:36 DEBUG : dir/file1(0xc00098e340): _readAt: size=1, off=0 2022/04/15 06:54:36 DEBUG : dir/file1(0xc00098e340): openPending: 2022/04/15 06:54:36 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2022/04/15 06:54:36 DEBUG : dir/file1: vfs cache: truncate to size=16 2022/04/15 06:54:36 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/15 06:54:36 DEBUG : dir/file1(0xc00098e340): >openPending: err= 2022/04/15 06:54:36 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2022/04/15 06:54:36 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2022/04/15 06:54:36 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2022/04/15 06:54:36 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:54:37 DEBUG : dir/file1(0xc00098e340): >_readAt: n=1, err= 2022/04/15 06:54:37 DEBUG : dir/file1(0xc00098e340): _readAt: size=1, off=5 2022/04/15 06:54:37 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2022/04/15 06:54:37 DEBUG : dir/file1(0xc00098e340): >_readAt: n=1, err= 2022/04/15 06:54:37 DEBUG : dir/file1(0xc00098e340): _readAt: size=1, off=1 2022/04/15 06:54:37 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2022/04/15 06:54:37 DEBUG : dir/file1(0xc00098e340): >_readAt: n=1, err= 2022/04/15 06:54:37 DEBUG : dir/file1(0xc00098e340): _readAt: size=6, off=10 2022/04/15 06:54:37 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2022/04/15 06:54:37 DEBUG : dir/file1(0xc00098e340): >_readAt: n=6, err= 2022/04/15 06:54:37 DEBUG : dir/file1(0xc00098e340): _readAt: size=256, off=10 2022/04/15 06:54:37 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2022/04/15 06:54:37 DEBUG : dir/file1(0xc00098e340): >_readAt: n=6, err=EOF 2022/04/15 06:54:37 DEBUG : dir/file1(0xc00098e340): _readAt: size=256, off=100 2022/04/15 06:54:37 DEBUG : dir/file1(0xc00098e340): >_readAt: n=0, err=EOF 2022/04/15 06:54:37 DEBUG : dir/file1(0xc00098e340): close: 2022/04/15 06:54:37 DEBUG : dir/file1: vfs cache: setting modification time to 2022-04-15 06:54:27 +0000 UTC 2022/04/15 06:54:37 DEBUG : dir/file1(0xc00098e340): >close: err= 2022/04/15 06:54:37 DEBUG : dir/file1(0xc00098e340): _readAt: size=256, off=100 2022/04/15 06:54:37 DEBUG : dir/file1(0xc00098e340): >_readAt: n=0, err=file already closed 2022/04/15 06:54:37 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:54:37 DEBUG : dir: Looking for writers 2022/04/15 06:54:37 DEBUG : file1: reading active writers 2022/04/15 06:54:37 DEBUG : : Looking for writers 2022/04/15 06:54:37 DEBUG : dir: reading active writers 2022/04/15 06:54:37 DEBUG : newLeaf: reading active writers 2022/04/15 06:54:37 DEBUG : >WaitForWriters: 2022/04/15 06:54:37 DEBUG : vfs cache: cleaner exiting fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:217 Error: Should be true Test: TestRWFileHandleReadAt Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:217 Error: Should be true Test: TestRWFileHandleReadAt Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:217 Error: Should be true Test: TestRWFileHandleReadAt Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleReadAt (17.94s) === RUN TestRWFileHandleFlushRead run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:54:44 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:54:44 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/15 06:54:44 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:54:44 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:54:44 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:54:44 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:54:44 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 read_write_test.go:41 read_write_test.go:54 read_write_test.go:220 Error: Should be true Test: TestRWFileHandleFlushRead Messages: listing wrong, want dir/file1 (16) got dir/file1 (16), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_write_test.go:41 read_write_test.go:54 read_write_test.go:220 Error: Should be true Test: TestRWFileHandleFlushRead Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_write_test.go:41 read_write_test.go:54 read_write_test.go:220 Error: Should be true Test: TestRWFileHandleFlushRead Messages: Unexpected file "newLeaf" 2022/04/15 06:54:52 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:54:52 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/04/15 06:54:52 DEBUG : dir/file1: newRWFileHandle: 2022/04/15 06:54:52 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/15 06:54:52 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/15 06:54:52 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2022/04/15 06:54:52 DEBUG : dir/file1(0xc00098f140): RWFileHandle.Flush 2022/04/15 06:54:52 DEBUG : dir/file1(0xc00098f140): _readAt: size=256, off=0 2022/04/15 06:54:52 DEBUG : dir/file1(0xc00098f140): openPending: 2022/04/15 06:54:52 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2022/04/15 06:54:52 DEBUG : dir/file1: vfs cache: truncate to size=16 2022/04/15 06:54:52 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/15 06:54:52 DEBUG : dir/file1(0xc00098f140): >openPending: err= 2022/04/15 06:54:52 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2022/04/15 06:54:52 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2022/04/15 06:54:52 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2022/04/15 06:54:52 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:54:52 DEBUG : dir/file1(0xc00098f140): >_readAt: n=16, err=EOF 2022/04/15 06:54:52 DEBUG : dir/file1(0xc00098f140): RWFileHandle.Flush 2022/04/15 06:54:52 DEBUG : dir/file1(0xc00098f140): RWFileHandle.Flush 2022/04/15 06:54:52 DEBUG : dir/file1(0xc00098f140): close: 2022/04/15 06:54:52 DEBUG : dir/file1: vfs cache: setting modification time to 2022-04-15 06:54:45 +0000 UTC 2022/04/15 06:54:52 DEBUG : dir/file1(0xc00098f140): >close: err= 2022/04/15 06:54:52 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:54:52 DEBUG : dir: Looking for writers 2022/04/15 06:54:52 DEBUG : file1: reading active writers 2022/04/15 06:54:52 DEBUG : : Looking for writers 2022/04/15 06:54:52 DEBUG : newLeaf: reading active writers 2022/04/15 06:54:52 DEBUG : dir: reading active writers 2022/04/15 06:54:52 DEBUG : >WaitForWriters: 2022/04/15 06:54:52 DEBUG : vfs cache: cleaner exiting fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:246 Error: Should be true Test: TestRWFileHandleFlushRead Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:246 Error: Should be true Test: TestRWFileHandleFlushRead Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:246 Error: Should be true Test: TestRWFileHandleFlushRead Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleFlushRead (15.44s) === RUN TestRWFileHandleReleaseRead run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:55:00 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:55:00 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/15 06:55:00 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:55:00 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:55:00 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:55:00 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:55:00 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 read_write_test.go:41 read_write_test.go:54 read_write_test.go:249 Error: Should be true Test: TestRWFileHandleReleaseRead Messages: listing wrong, want dir/file1 (16) got dir/file1 (16), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_write_test.go:41 read_write_test.go:54 read_write_test.go:249 Error: Should be true Test: TestRWFileHandleReleaseRead Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_write_test.go:41 read_write_test.go:54 read_write_test.go:249 Error: Should be true Test: TestRWFileHandleReleaseRead Messages: Unexpected file "newLeaf" 2022/04/15 06:55:07 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:55:07 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/04/15 06:55:07 DEBUG : dir/file1: newRWFileHandle: 2022/04/15 06:55:07 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/15 06:55:07 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/15 06:55:07 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2022/04/15 06:55:07 DEBUG : dir/file1(0xc000a31e40): _readAt: size=256, off=0 2022/04/15 06:55:07 DEBUG : dir/file1(0xc000a31e40): openPending: 2022/04/15 06:55:07 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2022/04/15 06:55:07 DEBUG : dir/file1: vfs cache: truncate to size=16 2022/04/15 06:55:07 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/15 06:55:07 DEBUG : dir/file1(0xc000a31e40): >openPending: err= 2022/04/15 06:55:07 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2022/04/15 06:55:07 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2022/04/15 06:55:07 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2022/04/15 06:55:07 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:55:08 DEBUG : dir/file1(0xc000a31e40): >_readAt: n=16, err=EOF 2022/04/15 06:55:08 DEBUG : dir/file1(0xc000a31e40): RWFileHandle.Release 2022/04/15 06:55:08 DEBUG : dir/file1(0xc000a31e40): close: 2022/04/15 06:55:08 DEBUG : dir/file1: vfs cache: setting modification time to 2022-04-15 06:55:00 +0000 UTC 2022/04/15 06:55:08 DEBUG : dir/file1(0xc000a31e40): >close: err= 2022/04/15 06:55:08 DEBUG : dir/file1(0xc000a31e40): RWFileHandle.Release 2022/04/15 06:55:08 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:55:08 DEBUG : dir: Looking for writers 2022/04/15 06:55:08 DEBUG : file1: reading active writers 2022/04/15 06:55:08 DEBUG : : Looking for writers 2022/04/15 06:55:08 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:08 DEBUG : dir: reading active writers 2022/04/15 06:55:08 DEBUG : >WaitForWriters: 2022/04/15 06:55:08 DEBUG : vfs cache: cleaner exiting fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:267 Error: Should be true Test: TestRWFileHandleReleaseRead Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:267 Error: Should be true Test: TestRWFileHandleReleaseRead Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:267 Error: Should be true Test: TestRWFileHandleReleaseRead Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleReleaseRead (15.17s) === RUN TestRWFileHandleMethodsWrite run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:55:15 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:55:15 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/15 06:55:15 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:55:15 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:55:15 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:55:15 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:55:15 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/15 06:55:15 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/04/15 06:55:15 DEBUG : file1: newRWFileHandle: 2022/04/15 06:55:15 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2022/04/15 06:55:15 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/04/15 06:55:15 DEBUG : file1(0xc0002cf580): openPending: 2022/04/15 06:55:15 DEBUG : file1: vfs cache: truncate to size=0 2022/04/15 06:55:15 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 06:55:15 DEBUG : file1(0xc0002cf580): >openPending: err= 2022/04/15 06:55:15 DEBUG : file1: >newRWFileHandle: err= 2022/04/15 06:55:15 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 06:55:15 DEBUG : file1: >Open: fd=file1 (rw), err= 2022/04/15 06:55:15 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2022/04/15 06:55:15 DEBUG : file1(0xc0002cf580): _writeAt: size=5, off=0 2022/04/15 06:55:15 DEBUG : file1(0xc0002cf580): >_writeAt: n=5, err= 2022/04/15 06:55:15 DEBUG : file1(0xc0002cf580): _writeAt: size=7, off=5 2022/04/15 06:55:15 DEBUG : file1(0xc0002cf580): >_writeAt: n=7, err= 2022/04/15 06:55:15 DEBUG : file1: vfs cache: truncate to size=11 2022/04/15 06:55:15 DEBUG : file1(0xc0002cf580): close: 2022/04/15 06:55:15 DEBUG : file1: vfs cache: setting modification time to 2022-04-15 06:55:15.481408708 +0000 UTC m=+567.651726582 2022/04/15 06:55:15 INFO : file1: vfs cache: queuing for upload in 100ms 2022/04/15 06:55:15 DEBUG : file1(0xc0002cf580): >close: err= 2022/04/15 06:55:15 DEBUG : file1(0xc0002cf580): close: 2022/04/15 06:55:15 DEBUG : file1(0xc0002cf580): >close: err=file already closed dir_test.go:252: Error Trace: dir_test.go:252 read_write_test.go:339 Error: Not equal: expected: []string{"file1,11,false"} actual : []string{"file1,11,false", "newLeaf,25,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=1) { - (string) (len=14) "file1,11,false" +([]string) (len=2) { + (string) (len=14) "file1,11,false", + (string) (len=16) "newLeaf,25,false" } Test: TestRWFileHandleMethodsWrite 2022/04/15 06:55:15 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:55:15 DEBUG : : Looking for writers 2022/04/15 06:55:15 DEBUG : file1: reading active writers 2022/04/15 06:55:15 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/04/15 06:55:15 DEBUG : : Looking for writers 2022/04/15 06:55:15 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:15 DEBUG : file1: reading active writers 2022/04/15 06:55:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/04/15 06:55:15 DEBUG : : Looking for writers 2022/04/15 06:55:15 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:15 DEBUG : file1: reading active writers 2022/04/15 06:55:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/04/15 06:55:15 DEBUG : : Looking for writers 2022/04/15 06:55:15 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:15 DEBUG : file1: reading active writers 2022/04/15 06:55:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/04/15 06:55:15 DEBUG : file1: vfs cache: starting upload 2022/04/15 06:55:15 DEBUG : : Looking for writers 2022/04/15 06:55:15 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:15 DEBUG : file1: reading active writers 2022/04/15 06:55:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/04/15 06:55:15 DEBUG : : Looking for writers 2022/04/15 06:55:15 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:15 DEBUG : file1: reading active writers 2022/04/15 06:55:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/04/15 06:55:15 INFO : file1: Copied (new) 2022/04/15 06:55:15 DEBUG : file1: vfs cache: fingerprint now "11" 2022/04/15 06:55:15 DEBUG : file1: vfs cache: writeback object to VFS layer 2022/04/15 06:55:15 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 06:55:15 INFO : file1: vfs cache: upload succeeded try #1 2022/04/15 06:55:16 DEBUG : : Looking for writers 2022/04/15 06:55:16 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:16 DEBUG : file1: reading active writers 2022/04/15 06:55:16 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 read_write_test.go:344 Error: Should be true Test: TestRWFileHandleMethodsWrite Messages: listing wrong, want file1 (11) got file1 (11), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 read_write_test.go:344 Error: Should be true Test: TestRWFileHandleMethodsWrite Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 read_write_test.go:344 Error: Should be true Test: TestRWFileHandleMethodsWrite Messages: Unexpected file "newLeaf" 2022/04/15 06:55:23 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:55:23 DEBUG : : Looking for writers 2022/04/15 06:55:23 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:23 DEBUG : file1: reading active writers 2022/04/15 06:55:23 DEBUG : >WaitForWriters: 2022/04/15 06:55:23 DEBUG : vfs cache: cleaner exiting fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:345 Error: Should be true Test: TestRWFileHandleMethodsWrite Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:345 Error: Should be true Test: TestRWFileHandleMethodsWrite Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:345 Error: Should be true Test: TestRWFileHandleMethodsWrite Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleMethodsWrite (14.85s) === RUN TestRWFileHandleWriteAt run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:55:30 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:55:30 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/15 06:55:30 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:55:30 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:55:30 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:55:30 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:55:30 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/15 06:55:30 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/04/15 06:55:30 DEBUG : file1: newRWFileHandle: 2022/04/15 06:55:30 DEBUG : file1(0xc0002cfe40): openPending: 2022/04/15 06:55:30 DEBUG : file1: vfs cache: truncate to size=0 2022/04/15 06:55:30 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2022/04/15 06:55:30 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 0 (was 0) 2022/04/15 06:55:30 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 06:55:30 DEBUG : file1(0xc0002cfe40): >openPending: err= 2022/04/15 06:55:30 DEBUG : file1: >newRWFileHandle: err= 2022/04/15 06:55:30 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 06:55:30 DEBUG : file1: >Open: fd=file1 (rw), err= 2022/04/15 06:55:30 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2022/04/15 06:55:30 DEBUG : file1(0xc0002cfe40): _writeAt: size=7, off=0 2022/04/15 06:55:30 DEBUG : file1(0xc0002cfe40): >_writeAt: n=7, err= 2022/04/15 06:55:30 DEBUG : file1(0xc0002cfe40): _writeAt: size=6, off=5 2022/04/15 06:55:30 DEBUG : file1(0xc0002cfe40): >_writeAt: n=6, err= 2022/04/15 06:55:30 DEBUG : file1(0xc0002cfe40): close: 2022/04/15 06:55:30 DEBUG : file1: vfs cache: setting modification time to 2022-04-15 06:55:30.331662362 +0000 UTC m=+582.501980246 2022/04/15 06:55:30 INFO : file1: vfs cache: queuing for upload in 100ms 2022/04/15 06:55:30 DEBUG : file1(0xc0002cfe40): >close: err= 2022/04/15 06:55:30 DEBUG : file1(0xc0002cfe40): _writeAt: size=5, off=0 2022/04/15 06:55:30 DEBUG : file1(0xc0002cfe40): >_writeAt: n=0, err=file already closed dir_test.go:252: Error Trace: dir_test.go:252 read_write_test.go:387 Error: Not equal: expected: []string{"file1,11,false"} actual : []string{"file1,11,false", "newLeaf,25,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=1) { - (string) (len=14) "file1,11,false" +([]string) (len=2) { + (string) (len=14) "file1,11,false", + (string) (len=16) "newLeaf,25,false" } Test: TestRWFileHandleWriteAt 2022/04/15 06:55:30 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:55:30 DEBUG : : Looking for writers 2022/04/15 06:55:30 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:30 DEBUG : file1: reading active writers 2022/04/15 06:55:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/04/15 06:55:30 DEBUG : : Looking for writers 2022/04/15 06:55:30 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:30 DEBUG : file1: reading active writers 2022/04/15 06:55:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/04/15 06:55:30 DEBUG : : Looking for writers 2022/04/15 06:55:30 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:30 DEBUG : file1: reading active writers 2022/04/15 06:55:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/04/15 06:55:30 DEBUG : : Looking for writers 2022/04/15 06:55:30 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:30 DEBUG : file1: reading active writers 2022/04/15 06:55:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/04/15 06:55:30 DEBUG : file1: vfs cache: starting upload 2022/04/15 06:55:30 DEBUG : : Looking for writers 2022/04/15 06:55:30 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:30 DEBUG : file1: reading active writers 2022/04/15 06:55:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/04/15 06:55:30 INFO : file1: Copied (new) 2022/04/15 06:55:30 DEBUG : file1: vfs cache: fingerprint now "11" 2022/04/15 06:55:30 DEBUG : file1: vfs cache: writeback object to VFS layer 2022/04/15 06:55:30 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 06:55:30 INFO : file1: vfs cache: upload succeeded try #1 2022/04/15 06:55:30 DEBUG : : Looking for writers 2022/04/15 06:55:30 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:30 DEBUG : file1: reading active writers 2022/04/15 06:55:30 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 read_write_test.go:392 Error: Should be true Test: TestRWFileHandleWriteAt Messages: listing wrong, want file1 (11) got file1 (11), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 read_write_test.go:392 Error: Should be true Test: TestRWFileHandleWriteAt Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 read_write_test.go:392 Error: Should be true Test: TestRWFileHandleWriteAt Messages: Unexpected file "newLeaf" 2022/04/15 06:55:37 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:55:37 DEBUG : : Looking for writers 2022/04/15 06:55:37 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:37 DEBUG : file1: reading active writers 2022/04/15 06:55:37 DEBUG : >WaitForWriters: 2022/04/15 06:55:37 DEBUG : vfs cache: cleaner exiting fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:393 Error: Should be true Test: TestRWFileHandleWriteAt Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:393 Error: Should be true Test: TestRWFileHandleWriteAt Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:393 Error: Should be true Test: TestRWFileHandleWriteAt Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleWriteAt (14.47s) === RUN TestRWFileHandleWriteNoWrite run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:55:44 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:55:44 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/15 06:55:44 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:55:44 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:55:44 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:55:44 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:55:44 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/15 06:55:44 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/04/15 06:55:44 DEBUG : file1: newRWFileHandle: 2022/04/15 06:55:44 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2022/04/15 06:55:44 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/04/15 06:55:44 DEBUG : file1(0xc0008897c0): openPending: 2022/04/15 06:55:44 DEBUG : file1: vfs cache: truncate to size=0 2022/04/15 06:55:44 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 06:55:44 DEBUG : file1(0xc0008897c0): >openPending: err= 2022/04/15 06:55:44 DEBUG : file1: >newRWFileHandle: err= 2022/04/15 06:55:44 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 06:55:44 DEBUG : file1: >Open: fd=file1 (rw), err= 2022/04/15 06:55:44 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2022/04/15 06:55:44 DEBUG : file1(0xc0008897c0): close: 2022/04/15 06:55:44 DEBUG : file1: vfs cache: setting modification time to 2022-04-15 06:55:44.797558747 +0000 UTC m=+596.967876641 2022/04/15 06:55:44 INFO : file1: vfs cache: queuing for upload in 100ms 2022/04/15 06:55:44 DEBUG : file1(0xc0008897c0): >close: err= 2022/04/15 06:55:44 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2022/04/15 06:55:44 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2022/04/15 06:55:44 DEBUG : file2: newRWFileHandle: 2022/04/15 06:55:44 DEBUG : file2(0xc0008898c0): openPending: 2022/04/15 06:55:44 DEBUG : file2: vfs cache: truncate to size=0 2022/04/15 06:55:44 DEBUG : : Added virtual directory entry vAddFile: "file2" 2022/04/15 06:55:44 DEBUG : file2(0xc0008898c0): >openPending: err= 2022/04/15 06:55:44 DEBUG : file2: >newRWFileHandle: err= 2022/04/15 06:55:44 DEBUG : : Added virtual directory entry vAddFile: "file2" 2022/04/15 06:55:44 DEBUG : file2: >Open: fd=file2 (rw), err= 2022/04/15 06:55:44 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2022/04/15 06:55:44 DEBUG : file2(0xc0008898c0): RWFileHandle.Flush 2022/04/15 06:55:44 DEBUG : file2(0xc0008898c0): RWFileHandle.Release 2022/04/15 06:55:44 DEBUG : file2(0xc0008898c0): close: 2022/04/15 06:55:44 DEBUG : file2: vfs cache: setting modification time to 2022-04-15 06:55:44.798624211 +0000 UTC m=+596.968942115 2022/04/15 06:55:44 INFO : file2: vfs cache: queuing for upload in 100ms 2022/04/15 06:55:44 DEBUG : file2(0xc0008898c0): >close: err= dir_test.go:252: Error Trace: dir_test.go:252 read_write_test.go:420 Error: Not equal: expected: []string{"file1,0,false", "file2,0,false"} actual : []string{"file1,0,false", "file2,0,false", "newLeaf,25,false"} Diff: --- Expected +++ Actual @@ -1,4 +1,5 @@ -([]string) (len=2) { +([]string) (len=3) { (string) (len=13) "file1,0,false", - (string) (len=13) "file2,0,false" + (string) (len=13) "file2,0,false", + (string) (len=16) "newLeaf,25,false" } Test: TestRWFileHandleWriteNoWrite 2022/04/15 06:55:44 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:55:44 DEBUG : : Looking for writers 2022/04/15 06:55:44 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:44 DEBUG : file1: reading active writers 2022/04/15 06:55:44 DEBUG : file2: reading active writers 2022/04/15 06:55:44 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2022/04/15 06:55:44 DEBUG : : Looking for writers 2022/04/15 06:55:44 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:44 DEBUG : file1: reading active writers 2022/04/15 06:55:44 DEBUG : file2: reading active writers 2022/04/15 06:55:44 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2022/04/15 06:55:44 DEBUG : : Looking for writers 2022/04/15 06:55:44 DEBUG : file2: reading active writers 2022/04/15 06:55:44 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:44 DEBUG : file1: reading active writers 2022/04/15 06:55:44 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2022/04/15 06:55:44 DEBUG : : Looking for writers 2022/04/15 06:55:44 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:44 DEBUG : file1: reading active writers 2022/04/15 06:55:44 DEBUG : file2: reading active writers 2022/04/15 06:55:44 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2022/04/15 06:55:44 DEBUG : file2: vfs cache: starting upload 2022/04/15 06:55:44 DEBUG : file1: vfs cache: starting upload 2022/04/15 06:55:44 DEBUG : : Looking for writers 2022/04/15 06:55:44 DEBUG : file1: reading active writers 2022/04/15 06:55:44 DEBUG : file2: reading active writers 2022/04/15 06:55:44 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:44 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2022/04/15 06:55:45 INFO : file1: Copied (new) 2022/04/15 06:55:45 DEBUG : file1: vfs cache: fingerprint now "0" 2022/04/15 06:55:45 DEBUG : file1: vfs cache: writeback object to VFS layer 2022/04/15 06:55:45 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 06:55:45 INFO : file1: vfs cache: upload succeeded try #1 2022/04/15 06:55:45 DEBUG : : Looking for writers 2022/04/15 06:55:45 DEBUG : file1: reading active writers 2022/04/15 06:55:45 DEBUG : file2: reading active writers 2022/04/15 06:55:45 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/04/15 06:55:45 INFO : file2: Copied (new) 2022/04/15 06:55:45 DEBUG : file2: vfs cache: fingerprint now "0" 2022/04/15 06:55:45 DEBUG : file2: vfs cache: writeback object to VFS layer 2022/04/15 06:55:45 DEBUG : : Added virtual directory entry vAddFile: "file2" 2022/04/15 06:55:45 INFO : file2: vfs cache: upload succeeded try #1 2022/04/15 06:55:45 DEBUG : : Looking for writers 2022/04/15 06:55:45 DEBUG : file1: reading active writers 2022/04/15 06:55:45 DEBUG : file2: reading active writers 2022/04/15 06:55:45 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:45 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 read_write_test.go:426 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: listing wrong, want file1 (0), file2 (0) got file1 (0), file2 (0), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 read_write_test.go:426 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 read_write_test.go:426 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: Unexpected file "newLeaf" 2022/04/15 06:55:52 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:55:52 DEBUG : : Looking for writers 2022/04/15 06:55:52 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:52 DEBUG : file1: reading active writers 2022/04/15 06:55:52 DEBUG : file2: reading active writers 2022/04/15 06:55:52 DEBUG : >WaitForWriters: 2022/04/15 06:55:52 DEBUG : vfs cache: cleaner exiting fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:427 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:427 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:427 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleWriteNoWrite (14.98s) === RUN TestRWFileHandleFlushWrite run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:55:59 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:55:59 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/15 06:55:59 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:55:59 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:55:59 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:55:59 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:55:59 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/15 06:55:59 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/04/15 06:55:59 DEBUG : file1: newRWFileHandle: 2022/04/15 06:55:59 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2022/04/15 06:55:59 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/04/15 06:55:59 DEBUG : file1(0xc000791b80): openPending: 2022/04/15 06:55:59 DEBUG : file1: vfs cache: truncate to size=0 2022/04/15 06:55:59 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 06:55:59 DEBUG : file1(0xc000791b80): >openPending: err= 2022/04/15 06:55:59 DEBUG : file1: >newRWFileHandle: err= 2022/04/15 06:55:59 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 06:55:59 DEBUG : file1: >Open: fd=file1 (rw), err= 2022/04/15 06:55:59 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2022/04/15 06:55:59 DEBUG : file1(0xc000791b80): _writeAt: size=5, off=0 2022/04/15 06:55:59 DEBUG : file1(0xc000791b80): >_writeAt: n=5, err= 2022/04/15 06:55:59 DEBUG : file1(0xc000791b80): RWFileHandle.Flush 2022/04/15 06:55:59 DEBUG : file1(0xc000791b80): RWFileHandle.Flush 2022/04/15 06:55:59 DEBUG : file1(0xc000791b80): close: 2022/04/15 06:55:59 DEBUG : file1: vfs cache: setting modification time to 2022-04-15 06:55:59.779727528 +0000 UTC m=+611.950045432 2022/04/15 06:55:59 INFO : file1: vfs cache: queuing for upload in 100ms 2022/04/15 06:55:59 DEBUG : file1(0xc000791b80): >close: err= 2022/04/15 06:55:59 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:55:59 DEBUG : : Looking for writers 2022/04/15 06:55:59 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:59 DEBUG : file1: reading active writers 2022/04/15 06:55:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/04/15 06:55:59 DEBUG : : Looking for writers 2022/04/15 06:55:59 DEBUG : file1: reading active writers 2022/04/15 06:55:59 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/04/15 06:55:59 DEBUG : : Looking for writers 2022/04/15 06:55:59 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:59 DEBUG : file1: reading active writers 2022/04/15 06:55:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/04/15 06:55:59 DEBUG : : Looking for writers 2022/04/15 06:55:59 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:59 DEBUG : file1: reading active writers 2022/04/15 06:55:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/04/15 06:55:59 DEBUG : file1: vfs cache: starting upload 2022/04/15 06:55:59 DEBUG : : Looking for writers 2022/04/15 06:55:59 DEBUG : file1: reading active writers 2022/04/15 06:55:59 DEBUG : newLeaf: reading active writers 2022/04/15 06:55:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/04/15 06:56:00 DEBUG : : Looking for writers 2022/04/15 06:56:00 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:00 DEBUG : file1: reading active writers 2022/04/15 06:56:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/04/15 06:56:00 INFO : file1: Copied (new) 2022/04/15 06:56:00 DEBUG : file1: vfs cache: fingerprint now "5" 2022/04/15 06:56:00 DEBUG : file1: vfs cache: writeback object to VFS layer 2022/04/15 06:56:00 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 06:56:00 INFO : file1: vfs cache: upload succeeded try #1 2022/04/15 06:56:00 DEBUG : : Looking for writers 2022/04/15 06:56:00 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:00 DEBUG : file1: reading active writers 2022/04/15 06:56:00 DEBUG : >WaitForWriters: 2022/04/15 06:56:00 DEBUG : vfs cache: cleaner exiting fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:456 Error: Should be true Test: TestRWFileHandleFlushWrite Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:456 Error: Should be true Test: TestRWFileHandleFlushWrite Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:456 Error: Should be true Test: TestRWFileHandleFlushWrite Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleFlushWrite (8.03s) === RUN TestRWFileHandleReleaseWrite run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:56:07 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:56:07 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/15 06:56:07 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:56:07 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:56:07 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:56:07 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:56:07 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/15 06:56:07 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/04/15 06:56:07 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/04/15 06:56:07 DEBUG : file1: newRWFileHandle: 2022/04/15 06:56:07 DEBUG : file1(0xc00043e080): openPending: 2022/04/15 06:56:07 DEBUG : file1: vfs cache: truncate to size=0 2022/04/15 06:56:07 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 06:56:07 DEBUG : file1(0xc00043e080): >openPending: err= 2022/04/15 06:56:07 DEBUG : file1: >newRWFileHandle: err= 2022/04/15 06:56:07 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 06:56:07 DEBUG : file1: >Open: fd=file1 (rw), err= 2022/04/15 06:56:07 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2022/04/15 06:56:07 DEBUG : file1(0xc00043e080): _writeAt: size=5, off=0 2022/04/15 06:56:07 DEBUG : file1(0xc00043e080): >_writeAt: n=5, err= 2022/04/15 06:56:07 DEBUG : file1(0xc00043e080): RWFileHandle.Release 2022/04/15 06:56:07 DEBUG : file1(0xc00043e080): close: 2022/04/15 06:56:07 DEBUG : file1: vfs cache: setting modification time to 2022-04-15 06:56:07.804935058 +0000 UTC m=+619.975252953 2022/04/15 06:56:07 INFO : file1: vfs cache: queuing for upload in 100ms 2022/04/15 06:56:07 DEBUG : file1(0xc00043e080): >close: err= 2022/04/15 06:56:07 DEBUG : file1(0xc00043e080): RWFileHandle.Release 2022/04/15 06:56:07 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:56:07 DEBUG : : Looking for writers 2022/04/15 06:56:07 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:07 DEBUG : file1: reading active writers 2022/04/15 06:56:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/04/15 06:56:07 DEBUG : : Looking for writers 2022/04/15 06:56:07 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:07 DEBUG : file1: reading active writers 2022/04/15 06:56:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/04/15 06:56:07 DEBUG : : Looking for writers 2022/04/15 06:56:07 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:07 DEBUG : file1: reading active writers 2022/04/15 06:56:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/04/15 06:56:07 DEBUG : : Looking for writers 2022/04/15 06:56:07 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:07 DEBUG : file1: reading active writers 2022/04/15 06:56:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/04/15 06:56:07 DEBUG : file1: vfs cache: starting upload 2022/04/15 06:56:07 DEBUG : : Looking for writers 2022/04/15 06:56:07 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:07 DEBUG : file1: reading active writers 2022/04/15 06:56:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/04/15 06:56:08 DEBUG : : Looking for writers 2022/04/15 06:56:08 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:08 DEBUG : file1: reading active writers 2022/04/15 06:56:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/04/15 06:56:08 INFO : file1: Copied (new) 2022/04/15 06:56:08 DEBUG : file1: vfs cache: fingerprint now "5" 2022/04/15 06:56:08 DEBUG : file1: vfs cache: writeback object to VFS layer 2022/04/15 06:56:08 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 06:56:08 INFO : file1: vfs cache: upload succeeded try #1 2022/04/15 06:56:08 DEBUG : : Looking for writers 2022/04/15 06:56:08 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:08 DEBUG : file1: reading active writers 2022/04/15 06:56:08 DEBUG : >WaitForWriters: 2022/04/15 06:56:08 DEBUG : vfs cache: cleaner exiting fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:476 Error: Should be true Test: TestRWFileHandleReleaseWrite Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:476 Error: Should be true Test: TestRWFileHandleReleaseWrite Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:476 Error: Should be true Test: TestRWFileHandleReleaseWrite Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleReleaseWrite (7.78s) === RUN TestRWFileHandleSizeTruncateExisting run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:56:15 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:56:15 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/15 06:56:15 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:56:15 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:56:15 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:56:15 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:56:15 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 read_write_test.go:41 read_write_test.go:489 Error: Should be true Test: TestRWFileHandleSizeTruncateExisting Messages: listing wrong, want dir/file1 (16) got dir/file1 (16), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_write_test.go:41 read_write_test.go:489 Error: Should be true Test: TestRWFileHandleSizeTruncateExisting Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_write_test.go:41 read_write_test.go:489 Error: Should be true Test: TestRWFileHandleSizeTruncateExisting Messages: Unexpected file "newLeaf" 2022/04/15 06:56:23 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_TRUNC, perm=-rwxrwxrwx 2022/04/15 06:56:23 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/04/15 06:56:23 DEBUG : dir/file1: newRWFileHandle: 2022/04/15 06:56:23 DEBUG : dir/file1(0xc00041f780): openPending: 2022/04/15 06:56:23 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2022/04/15 06:56:23 DEBUG : dir/file1: vfs cache: truncate to size=16 2022/04/15 06:56:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/15 06:56:23 DEBUG : dir/file1(0xc00041f780): >openPending: err= 2022/04/15 06:56:23 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/04/15 06:56:23 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/15 06:56:23 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/15 06:56:23 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2022/04/15 06:56:23 DEBUG : dir/file1(0xc00041f780): _writeAt: size=5, off=0 2022/04/15 06:56:23 DEBUG : dir/file1(0xc00041f780): >_writeAt: n=5, err= 2022/04/15 06:56:23 DEBUG : dir/file1(0xc00041f780): close: 2022/04/15 06:56:23 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2022/04/15 06:56:23 DEBUG : dir/file1: vfs cache: setting modification time to 2022-04-15 06:56:23.033646249 +0000 UTC m=+635.203964124 2022/04/15 06:56:23 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2022/04/15 06:56:23 DEBUG : dir/file1(0xc00041f780): >close: err= 2022/04/15 06:56:23 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:56:23 DEBUG : dir: Looking for writers 2022/04/15 06:56:23 DEBUG : file1: reading active writers 2022/04/15 06:56:23 DEBUG : : Looking for writers 2022/04/15 06:56:23 DEBUG : dir: reading active writers 2022/04/15 06:56:23 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/04/15 06:56:23 DEBUG : dir: Looking for writers 2022/04/15 06:56:23 DEBUG : file1: reading active writers 2022/04/15 06:56:23 DEBUG : : Looking for writers 2022/04/15 06:56:23 DEBUG : dir: reading active writers 2022/04/15 06:56:23 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/04/15 06:56:23 DEBUG : dir: Looking for writers 2022/04/15 06:56:23 DEBUG : file1: reading active writers 2022/04/15 06:56:23 DEBUG : : Looking for writers 2022/04/15 06:56:23 DEBUG : dir: reading active writers 2022/04/15 06:56:23 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/04/15 06:56:23 DEBUG : dir: Looking for writers 2022/04/15 06:56:23 DEBUG : file1: reading active writers 2022/04/15 06:56:23 DEBUG : : Looking for writers 2022/04/15 06:56:23 DEBUG : dir: reading active writers 2022/04/15 06:56:23 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/04/15 06:56:23 DEBUG : dir/file1: vfs cache: starting upload 2022/04/15 06:56:23 DEBUG : dir: Looking for writers 2022/04/15 06:56:23 DEBUG : file1: reading active writers 2022/04/15 06:56:23 DEBUG : : Looking for writers 2022/04/15 06:56:23 DEBUG : dir: reading active writers 2022/04/15 06:56:23 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/04/15 06:56:23 DEBUG : dir: Looking for writers 2022/04/15 06:56:23 DEBUG : file1: reading active writers 2022/04/15 06:56:23 DEBUG : : Looking for writers 2022/04/15 06:56:23 DEBUG : dir: reading active writers 2022/04/15 06:56:23 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/04/15 06:56:23 DEBUG : dir: Looking for writers 2022/04/15 06:56:23 DEBUG : file1: reading active writers 2022/04/15 06:56:23 DEBUG : : Looking for writers 2022/04/15 06:56:23 DEBUG : dir: reading active writers 2022/04/15 06:56:23 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/04/15 06:56:24 DEBUG : dir: Looking for writers 2022/04/15 06:56:24 DEBUG : file1: reading active writers 2022/04/15 06:56:24 DEBUG : : Looking for writers 2022/04/15 06:56:24 DEBUG : dir: reading active writers 2022/04/15 06:56:24 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:56:25 DEBUG : dir: Looking for writers 2022/04/15 06:56:25 DEBUG : file1: reading active writers 2022/04/15 06:56:25 DEBUG : : Looking for writers 2022/04/15 06:56:25 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:25 DEBUG : dir: reading active writers 2022/04/15 06:56:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:56:25 INFO : dir/file1: Copied (replaced existing) 2022/04/15 06:56:25 DEBUG : dir/file1: vfs cache: fingerprint now "5" 2022/04/15 06:56:25 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2022/04/15 06:56:25 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/15 06:56:25 INFO : dir/file1: vfs cache: upload succeeded try #1 2022/04/15 06:56:26 DEBUG : dir: Looking for writers 2022/04/15 06:56:26 DEBUG : file1: reading active writers 2022/04/15 06:56:26 DEBUG : : Looking for writers 2022/04/15 06:56:26 DEBUG : dir: reading active writers 2022/04/15 06:56:26 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:26 DEBUG : >WaitForWriters: 2022/04/15 06:56:26 DEBUG : vfs cache: cleaner exiting fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:508 Error: Should be true Test: TestRWFileHandleSizeTruncateExisting Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:508 Error: Should be true Test: TestRWFileHandleSizeTruncateExisting Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:508 Error: Should be true Test: TestRWFileHandleSizeTruncateExisting Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleSizeTruncateExisting (18.34s) === RUN TestRWFileHandleSizeCreateExisting run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:56:33 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:56:33 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/15 06:56:33 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:56:33 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:56:33 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:56:33 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:56:33 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 read_write_test.go:41 read_write_test.go:511 Error: Should be true Test: TestRWFileHandleSizeCreateExisting Messages: listing wrong, want dir/file1 (16) got dir/file1 (16), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_write_test.go:41 read_write_test.go:511 Error: Should be true Test: TestRWFileHandleSizeCreateExisting Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 read_write_test.go:41 read_write_test.go:511 Error: Should be true Test: TestRWFileHandleSizeCreateExisting Messages: Unexpected file "newLeaf" 2022/04/15 06:56:43 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/15 06:56:43 DEBUG : dir/file1: Open: flags=O_WRONLY|O_CREATE 2022/04/15 06:56:43 DEBUG : dir/file1: newRWFileHandle: 2022/04/15 06:56:43 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/15 06:56:43 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/15 06:56:43 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/15 06:56:43 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2022/04/15 06:56:43 DEBUG : dir/file1(0xc000a309c0): _writeAt: size=5, off=0 2022/04/15 06:56:43 DEBUG : dir/file1(0xc000a309c0): openPending: 2022/04/15 06:56:43 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2022/04/15 06:56:43 DEBUG : dir/file1: vfs cache: truncate to size=16 2022/04/15 06:56:43 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/15 06:56:43 DEBUG : dir/file1(0xc000a309c0): >openPending: err= 2022/04/15 06:56:43 DEBUG : dir/file1(0xc000a309c0): >_writeAt: n=5, err= 2022/04/15 06:56:43 DEBUG : dir/file1(0xc000a309c0): _writeAt: size=15, off=5 2022/04/15 06:56:43 DEBUG : dir/file1(0xc000a309c0): >_writeAt: n=15, err= 2022/04/15 06:56:43 DEBUG : dir/file1(0xc000a309c0): close: 2022/04/15 06:56:43 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2022/04/15 06:56:43 DEBUG : dir/file1: vfs cache: setting modification time to 2022-04-15 06:56:43.275827519 +0000 UTC m=+655.446145422 2022/04/15 06:56:43 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2022/04/15 06:56:43 DEBUG : dir/file1(0xc000a309c0): >close: err= 2022/04/15 06:56:43 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:56:43 DEBUG : dir: Looking for writers 2022/04/15 06:56:43 DEBUG : file1: reading active writers 2022/04/15 06:56:43 DEBUG : : Looking for writers 2022/04/15 06:56:43 DEBUG : dir: reading active writers 2022/04/15 06:56:43 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/04/15 06:56:43 DEBUG : dir: Looking for writers 2022/04/15 06:56:43 DEBUG : file1: reading active writers 2022/04/15 06:56:43 DEBUG : : Looking for writers 2022/04/15 06:56:43 DEBUG : dir: reading active writers 2022/04/15 06:56:43 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/04/15 06:56:43 DEBUG : dir: Looking for writers 2022/04/15 06:56:43 DEBUG : file1: reading active writers 2022/04/15 06:56:43 DEBUG : : Looking for writers 2022/04/15 06:56:43 DEBUG : dir: reading active writers 2022/04/15 06:56:43 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/04/15 06:56:43 DEBUG : dir: Looking for writers 2022/04/15 06:56:43 DEBUG : file1: reading active writers 2022/04/15 06:56:43 DEBUG : : Looking for writers 2022/04/15 06:56:43 DEBUG : dir: reading active writers 2022/04/15 06:56:43 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/04/15 06:56:43 DEBUG : dir/file1: vfs cache: starting upload 2022/04/15 06:56:43 DEBUG : dir: Looking for writers 2022/04/15 06:56:43 DEBUG : file1: reading active writers 2022/04/15 06:56:43 DEBUG : : Looking for writers 2022/04/15 06:56:43 DEBUG : dir: reading active writers 2022/04/15 06:56:43 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/04/15 06:56:43 DEBUG : dir: Looking for writers 2022/04/15 06:56:43 DEBUG : file1: reading active writers 2022/04/15 06:56:43 DEBUG : : Looking for writers 2022/04/15 06:56:43 DEBUG : dir: reading active writers 2022/04/15 06:56:43 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/04/15 06:56:43 DEBUG : dir: Looking for writers 2022/04/15 06:56:43 DEBUG : file1: reading active writers 2022/04/15 06:56:43 DEBUG : : Looking for writers 2022/04/15 06:56:43 DEBUG : dir: reading active writers 2022/04/15 06:56:43 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/04/15 06:56:44 INFO : dir/file1: Copied (replaced existing) 2022/04/15 06:56:44 DEBUG : dir/file1: vfs cache: fingerprint now "20" 2022/04/15 06:56:44 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2022/04/15 06:56:44 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/15 06:56:44 INFO : dir/file1: vfs cache: upload succeeded try #1 2022/04/15 06:56:44 DEBUG : dir: Looking for writers 2022/04/15 06:56:44 DEBUG : file1: reading active writers 2022/04/15 06:56:44 DEBUG : : Looking for writers 2022/04/15 06:56:44 DEBUG : dir: reading active writers 2022/04/15 06:56:44 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:44 DEBUG : >WaitForWriters: 2022/04/15 06:56:44 DEBUG : vfs cache: cleaner exiting fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:538 Error: Should be true Test: TestRWFileHandleSizeCreateExisting Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:538 Error: Should be true Test: TestRWFileHandleSizeCreateExisting Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:538 Error: Should be true Test: TestRWFileHandleSizeCreateExisting Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleSizeCreateExisting (18.33s) === RUN TestRWFileHandleSizeCreateNew run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:56:52 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:56:52 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/15 06:56:52 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:56:52 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:56:52 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:56:52 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:56:52 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/15 06:56:52 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/04/15 06:56:52 DEBUG : file1: newRWFileHandle: 2022/04/15 06:56:52 DEBUG : file1(0xc00098e240): openPending: 2022/04/15 06:56:52 DEBUG : file1: vfs cache: truncate to size=0 2022/04/15 06:56:52 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2022/04/15 06:56:52 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 0 (was 0) 2022/04/15 06:56:52 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 06:56:52 DEBUG : file1(0xc00098e240): >openPending: err= 2022/04/15 06:56:52 DEBUG : file1: >newRWFileHandle: err= 2022/04/15 06:56:52 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 06:56:52 DEBUG : file1: >Open: fd=file1 (rw), err= 2022/04/15 06:56:52 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2022/04/15 06:56:52 DEBUG : file1(0xc00098e240): _writeAt: size=5, off=0 2022/04/15 06:56:52 DEBUG : file1(0xc00098e240): >_writeAt: n=5, err= 2022/04/15 06:56:52 DEBUG : file1(0xc00098e240): close: 2022/04/15 06:56:52 DEBUG : file1: vfs cache: setting modification time to 2022-04-15 06:56:52.259979036 +0000 UTC m=+664.430296920 2022/04/15 06:56:52 INFO : file1: vfs cache: queuing for upload in 100ms 2022/04/15 06:56:52 DEBUG : file1(0xc00098e240): >close: err= 2022/04/15 06:56:52 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:56:52 DEBUG : : Looking for writers 2022/04/15 06:56:52 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:52 DEBUG : file1: reading active writers 2022/04/15 06:56:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/04/15 06:56:52 DEBUG : : Looking for writers 2022/04/15 06:56:52 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:52 DEBUG : file1: reading active writers 2022/04/15 06:56:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/04/15 06:56:52 DEBUG : : Looking for writers 2022/04/15 06:56:52 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:52 DEBUG : file1: reading active writers 2022/04/15 06:56:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/04/15 06:56:52 DEBUG : : Looking for writers 2022/04/15 06:56:52 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:52 DEBUG : file1: reading active writers 2022/04/15 06:56:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/04/15 06:56:52 DEBUG : file1: vfs cache: starting upload 2022/04/15 06:56:52 DEBUG : : Looking for writers 2022/04/15 06:56:52 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:52 DEBUG : file1: reading active writers 2022/04/15 06:56:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/04/15 06:56:52 DEBUG : : Looking for writers 2022/04/15 06:56:52 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:52 DEBUG : file1: reading active writers 2022/04/15 06:56:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/04/15 06:56:52 INFO : file1: Copied (new) 2022/04/15 06:56:52 DEBUG : file1: vfs cache: fingerprint now "5" 2022/04/15 06:56:52 DEBUG : file1: vfs cache: writeback object to VFS layer 2022/04/15 06:56:52 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 06:56:52 INFO : file1: vfs cache: upload succeeded try #1 2022/04/15 06:56:52 DEBUG : : Looking for writers 2022/04/15 06:56:52 DEBUG : newLeaf: reading active writers 2022/04/15 06:56:52 DEBUG : file1: reading active writers 2022/04/15 06:56:52 DEBUG : >WaitForWriters: 2022/04/15 06:56:52 DEBUG : vfs cache: cleaner exiting fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:563 Error: Should be true Test: TestRWFileHandleSizeCreateNew Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:563 Error: Should be true Test: TestRWFileHandleSizeCreateNew Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:563 Error: Should be true Test: TestRWFileHandleSizeCreateNew Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleSizeCreateNew (7.92s) === RUN TestRWFileHandleOpenTests run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:57:00 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:57:00 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/15 06:57:00 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:57:00 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:57:00 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:57:00 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:57:00 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/04/15 06:57:00 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:57:00 DEBUG : : Looking for writers 2022/04/15 06:57:00 DEBUG : >WaitForWriters: 2022/04/15 06:57:00 DEBUG : vfs cache: cleaner exiting fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:657 Error: Should be true Test: TestRWFileHandleOpenTests Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:657 Error: Should be true Test: TestRWFileHandleOpenTests Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:657 Error: Should be true Test: TestRWFileHandleOpenTests Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileHandleOpenTests (7.11s) === RUN TestRWFileModTimeWithOpenWriters run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:57:07 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:57:07 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/15 06:57:07 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:57:07 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:57:07 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:57:07 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:57:07 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/15 06:57:07 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/04/15 06:57:07 DEBUG : file1: newRWFileHandle: 2022/04/15 06:57:07 DEBUG : file1(0xc001839400): openPending: 2022/04/15 06:57:07 DEBUG : file1: vfs cache: truncate to size=0 2022/04/15 06:57:07 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2022/04/15 06:57:07 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 0 (was 0) 2022/04/15 06:57:07 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 06:57:07 DEBUG : file1(0xc001839400): >openPending: err= 2022/04/15 06:57:07 DEBUG : file1: >newRWFileHandle: err= 2022/04/15 06:57:07 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 06:57:07 DEBUG : file1: >Open: fd=file1 (rw), err= 2022/04/15 06:57:07 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2022/04/15 06:57:07 DEBUG : Can set mod time: false read_write_test.go:664: can't set mod time 2022/04/15 06:57:07 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:57:07 DEBUG : : Looking for writers 2022/04/15 06:57:07 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:07 DEBUG : file1: reading active writers 2022/04/15 06:57:07 DEBUG : file1: active writers 1 2022/04/15 06:57:07 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2022/04/15 06:57:07 DEBUG : : Looking for writers 2022/04/15 06:57:07 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:07 DEBUG : file1: reading active writers 2022/04/15 06:57:07 DEBUG : file1: active writers 1 2022/04/15 06:57:07 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2022/04/15 06:57:07 DEBUG : : Looking for writers 2022/04/15 06:57:07 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:07 DEBUG : file1: reading active writers 2022/04/15 06:57:07 DEBUG : file1: active writers 1 2022/04/15 06:57:07 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2022/04/15 06:57:07 DEBUG : : Looking for writers 2022/04/15 06:57:07 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:07 DEBUG : file1: reading active writers 2022/04/15 06:57:07 DEBUG : file1: active writers 1 2022/04/15 06:57:07 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2022/04/15 06:57:08 DEBUG : : Looking for writers 2022/04/15 06:57:08 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:08 DEBUG : file1: reading active writers 2022/04/15 06:57:08 DEBUG : file1: active writers 1 2022/04/15 06:57:08 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2022/04/15 06:57:08 DEBUG : : Looking for writers 2022/04/15 06:57:08 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:08 DEBUG : file1: reading active writers 2022/04/15 06:57:08 DEBUG : file1: active writers 1 2022/04/15 06:57:08 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2022/04/15 06:57:08 DEBUG : : Looking for writers 2022/04/15 06:57:08 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:08 DEBUG : file1: reading active writers 2022/04/15 06:57:08 DEBUG : file1: active writers 1 2022/04/15 06:57:08 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2022/04/15 06:57:09 DEBUG : : Looking for writers 2022/04/15 06:57:09 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:09 DEBUG : file1: reading active writers 2022/04/15 06:57:09 DEBUG : file1: active writers 1 2022/04/15 06:57:09 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:10 DEBUG : : Looking for writers 2022/04/15 06:57:10 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:10 DEBUG : file1: reading active writers 2022/04/15 06:57:10 DEBUG : file1: active writers 1 2022/04/15 06:57:10 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:11 DEBUG : : Looking for writers 2022/04/15 06:57:11 DEBUG : file1: reading active writers 2022/04/15 06:57:11 DEBUG : file1: active writers 1 2022/04/15 06:57:11 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:11 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:12 DEBUG : : Looking for writers 2022/04/15 06:57:12 DEBUG : file1: reading active writers 2022/04/15 06:57:12 DEBUG : file1: active writers 1 2022/04/15 06:57:12 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:12 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:13 DEBUG : : Looking for writers 2022/04/15 06:57:13 DEBUG : file1: reading active writers 2022/04/15 06:57:13 DEBUG : file1: active writers 1 2022/04/15 06:57:13 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:13 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:14 DEBUG : : Looking for writers 2022/04/15 06:57:14 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:14 DEBUG : file1: reading active writers 2022/04/15 06:57:14 DEBUG : file1: active writers 1 2022/04/15 06:57:14 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:15 DEBUG : : Looking for writers 2022/04/15 06:57:15 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:15 DEBUG : file1: reading active writers 2022/04/15 06:57:15 DEBUG : file1: active writers 1 2022/04/15 06:57:15 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:16 DEBUG : : Looking for writers 2022/04/15 06:57:16 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:16 DEBUG : file1: reading active writers 2022/04/15 06:57:16 DEBUG : file1: active writers 1 2022/04/15 06:57:16 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:17 DEBUG : : Looking for writers 2022/04/15 06:57:17 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:17 DEBUG : file1: reading active writers 2022/04/15 06:57:17 DEBUG : file1: active writers 1 2022/04/15 06:57:17 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:18 DEBUG : : Looking for writers 2022/04/15 06:57:18 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:18 DEBUG : file1: reading active writers 2022/04/15 06:57:18 DEBUG : file1: active writers 1 2022/04/15 06:57:18 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:19 DEBUG : : Looking for writers 2022/04/15 06:57:19 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:19 DEBUG : file1: reading active writers 2022/04/15 06:57:19 DEBUG : file1: active writers 1 2022/04/15 06:57:19 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:20 DEBUG : : Looking for writers 2022/04/15 06:57:20 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:20 DEBUG : file1: reading active writers 2022/04/15 06:57:20 DEBUG : file1: active writers 1 2022/04/15 06:57:20 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:21 DEBUG : : Looking for writers 2022/04/15 06:57:21 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:21 DEBUG : file1: reading active writers 2022/04/15 06:57:21 DEBUG : file1: active writers 1 2022/04/15 06:57:21 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:22 DEBUG : : Looking for writers 2022/04/15 06:57:22 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:22 DEBUG : file1: reading active writers 2022/04/15 06:57:22 DEBUG : file1: active writers 1 2022/04/15 06:57:22 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:23 DEBUG : : Looking for writers 2022/04/15 06:57:23 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:23 DEBUG : file1: reading active writers 2022/04/15 06:57:23 DEBUG : file1: active writers 1 2022/04/15 06:57:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:24 DEBUG : : Looking for writers 2022/04/15 06:57:24 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:24 DEBUG : file1: reading active writers 2022/04/15 06:57:24 DEBUG : file1: active writers 1 2022/04/15 06:57:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:25 DEBUG : : Looking for writers 2022/04/15 06:57:25 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:25 DEBUG : file1: reading active writers 2022/04/15 06:57:25 DEBUG : file1: active writers 1 2022/04/15 06:57:25 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:26 DEBUG : : Looking for writers 2022/04/15 06:57:26 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:26 DEBUG : file1: reading active writers 2022/04/15 06:57:26 DEBUG : file1: active writers 1 2022/04/15 06:57:26 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:27 DEBUG : : Looking for writers 2022/04/15 06:57:27 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:27 DEBUG : file1: reading active writers 2022/04/15 06:57:27 DEBUG : file1: active writers 1 2022/04/15 06:57:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:28 DEBUG : : Looking for writers 2022/04/15 06:57:28 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:28 DEBUG : file1: reading active writers 2022/04/15 06:57:28 DEBUG : file1: active writers 1 2022/04/15 06:57:28 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:29 DEBUG : : Looking for writers 2022/04/15 06:57:29 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:29 DEBUG : file1: reading active writers 2022/04/15 06:57:29 DEBUG : file1: active writers 1 2022/04/15 06:57:29 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:30 DEBUG : : Looking for writers 2022/04/15 06:57:30 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:30 DEBUG : file1: reading active writers 2022/04/15 06:57:30 DEBUG : file1: active writers 1 2022/04/15 06:57:30 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:31 DEBUG : : Looking for writers 2022/04/15 06:57:31 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:31 DEBUG : file1: reading active writers 2022/04/15 06:57:31 DEBUG : file1: active writers 1 2022/04/15 06:57:31 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:32 DEBUG : : Looking for writers 2022/04/15 06:57:32 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:32 DEBUG : file1: reading active writers 2022/04/15 06:57:32 DEBUG : file1: active writers 1 2022/04/15 06:57:32 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:33 DEBUG : : Looking for writers 2022/04/15 06:57:33 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:33 DEBUG : file1: reading active writers 2022/04/15 06:57:33 DEBUG : file1: active writers 1 2022/04/15 06:57:33 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:34 DEBUG : : Looking for writers 2022/04/15 06:57:34 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:34 DEBUG : file1: reading active writers 2022/04/15 06:57:34 DEBUG : file1: active writers 1 2022/04/15 06:57:34 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:35 DEBUG : : Looking for writers 2022/04/15 06:57:35 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:35 DEBUG : file1: reading active writers 2022/04/15 06:57:35 DEBUG : file1: active writers 1 2022/04/15 06:57:35 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:36 DEBUG : : Looking for writers 2022/04/15 06:57:36 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:36 DEBUG : file1: reading active writers 2022/04/15 06:57:36 DEBUG : file1: active writers 1 2022/04/15 06:57:36 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:37 DEBUG : : Looking for writers 2022/04/15 06:57:37 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:37 DEBUG : file1: reading active writers 2022/04/15 06:57:37 DEBUG : file1: active writers 1 2022/04/15 06:57:37 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/04/15 06:57:37 ERROR : Exiting even though 1 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00026e540 mu:{state:0 sema:0} cond:0xc0018393c0 name:file1 opens:1 downloaders: o: fd:0xc000340ba8 modified:true info:{ModTime:{wall:13875137113047807175 ext:679456428794 loc:0x2b713a0} ATime:{wall:13875137113047807175 ext:679456428794 loc:0x2b713a0} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:0 pendingAccesses:0 beingReset:false}, } 2022/04/15 06:57:37 DEBUG : >WaitForWriters: 2022/04/15 06:57:37 DEBUG : vfs cache: cleaner exiting fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 panic.go:642 testing.go:858 testing.go:836 read_write_test.go:664 Error: Should be true Test: TestRWFileModTimeWithOpenWriters Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 panic.go:642 testing.go:858 testing.go:836 read_write_test.go:664 Error: Should be true Test: TestRWFileModTimeWithOpenWriters Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 panic.go:642 testing.go:858 testing.go:836 read_write_test.go:664 Error: Should be true Test: TestRWFileModTimeWithOpenWriters Messages: Unexpected file "newLeaf" --- FAIL: TestRWFileModTimeWithOpenWriters (37.64s) === RUN TestRWCacheRename run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:57:44 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:57:44 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/15 06:57:44 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:57:44 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:57:44 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:57:44 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-hobeqeh5suxajup0wucoroj7" 2022/04/15 06:57:44 DEBUG : rename_me: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/15 06:57:44 DEBUG : rename_me: Open: flags=O_WRONLY|O_CREATE 2022/04/15 06:57:44 DEBUG : rename_me: newRWFileHandle: 2022/04/15 06:57:44 DEBUG : rename_me(0xc00068bd80): openPending: 2022/04/15 06:57:44 DEBUG : rename_me: vfs cache: truncate to size=0 2022/04/15 06:57:44 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item rename_me not removed, freed 0 bytes 2022/04/15 06:57:44 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 0 (was 0) 2022/04/15 06:57:44 DEBUG : : Added virtual directory entry vAddFile: "rename_me" 2022/04/15 06:57:44 DEBUG : rename_me(0xc00068bd80): >openPending: err= 2022/04/15 06:57:44 DEBUG : rename_me: >newRWFileHandle: err= 2022/04/15 06:57:44 DEBUG : : Added virtual directory entry vAddFile: "rename_me" 2022/04/15 06:57:44 DEBUG : rename_me: >Open: fd=rename_me (rw), err= 2022/04/15 06:57:44 DEBUG : rename_me: >OpenFile: fd=rename_me (rw), err= 2022/04/15 06:57:44 DEBUG : rename_me(0xc00068bd80): _writeAt: size=5, off=0 2022/04/15 06:57:44 DEBUG : rename_me(0xc00068bd80): >_writeAt: n=5, err= 2022/04/15 06:57:44 DEBUG : rename_me(0xc00068bd80): close: 2022/04/15 06:57:44 DEBUG : rename_me: vfs cache: setting modification time to 2022-04-15 06:57:44.928042489 +0000 UTC m=+717.098360392 2022/04/15 06:57:44 INFO : rename_me: vfs cache: queuing for upload in 100ms 2022/04/15 06:57:44 DEBUG : rename_me(0xc00068bd80): >close: err= 2022/04/15 06:57:44 INFO : rename_me: vfs cache: renamed in cache to "i_was_renamed" 2022/04/15 06:57:44 DEBUG : i_was_renamed: Updating file with 0xc00095cfc0 2022/04/15 06:57:44 DEBUG : : Added virtual directory entry vDel: "rename_me" 2022/04/15 06:57:44 DEBUG : : Added virtual directory entry vAddFile: "i_was_renamed" 2022/04/15 06:57:44 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:57:44 DEBUG : : Looking for writers 2022/04/15 06:57:44 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:44 DEBUG : i_was_renamed: reading active writers 2022/04/15 06:57:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/04/15 06:57:44 DEBUG : : Looking for writers 2022/04/15 06:57:44 DEBUG : i_was_renamed: reading active writers 2022/04/15 06:57:44 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/04/15 06:57:44 DEBUG : : Looking for writers 2022/04/15 06:57:44 DEBUG : i_was_renamed: reading active writers 2022/04/15 06:57:44 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/04/15 06:57:45 DEBUG : : Looking for writers 2022/04/15 06:57:45 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:45 DEBUG : i_was_renamed: reading active writers 2022/04/15 06:57:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/04/15 06:57:45 DEBUG : i_was_renamed: vfs cache: starting upload 2022/04/15 06:57:45 DEBUG : : Looking for writers 2022/04/15 06:57:45 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:45 DEBUG : i_was_renamed: reading active writers 2022/04/15 06:57:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/04/15 06:57:45 INFO : i_was_renamed: Copied (new) 2022/04/15 06:57:45 DEBUG : i_was_renamed: vfs cache: fingerprint now "5" 2022/04/15 06:57:45 DEBUG : i_was_renamed: vfs cache: writeback object to VFS layer 2022/04/15 06:57:45 DEBUG : : Added virtual directory entry vAddFile: "i_was_renamed" 2022/04/15 06:57:45 INFO : i_was_renamed: vfs cache: upload succeeded try #1 2022/04/15 06:57:45 DEBUG : : Looking for writers 2022/04/15 06:57:45 DEBUG : newLeaf: reading active writers 2022/04/15 06:57:45 DEBUG : i_was_renamed: reading active writers 2022/04/15 06:57:45 DEBUG : >WaitForWriters: 2022/04/15 06:57:45 DEBUG : vfs cache: cleaner exiting fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:726 Error: Should be true Test: TestRWCacheRename Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:726 Error: Should be true Test: TestRWCacheRename Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 read_write_test.go:726 Error: Should be true Test: TestRWCacheRename Messages: Unexpected file "newLeaf" --- FAIL: TestRWCacheRename (9.79s) === RUN TestCaseSensitivity run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 vfs_case_test.go:26 Error: Should be true Test: TestCaseSensitivity Messages: listing wrong, want FiLeA (5), FiLeB (5) got FiLeA (5), FiLeB (5), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 vfs_case_test.go:26 Error: Should be true Test: TestCaseSensitivity Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 vfs_case_test.go:26 Error: Should be true Test: TestCaseSensitivity Messages: Unexpected file "newLeaf" 2022/04/15 06:58:03 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:58:03 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/15 06:58:03 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:58:03 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/15 06:58:03 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:58:03 DEBUG : FiLeA: Open: flags=O_RDONLY 2022/04/15 06:58:03 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2022/04/15 06:58:03 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2022/04/15 06:58:03 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:58:03 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/04/15 06:58:04 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:58:04 DEBUG : FiLeA: Open: flags=O_RDONLY 2022/04/15 06:58:04 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2022/04/15 06:58:04 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2022/04/15 06:58:04 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:58:04 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/04/15 06:58:05 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:58:05 DEBUG : FiLeA: Open: flags=O_RDONLY 2022/04/15 06:58:05 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2022/04/15 06:58:05 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2022/04/15 06:58:05 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:58:05 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/04/15 06:58:06 DEBUG : FiLeB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:58:06 DEBUG : FiLeB: Open: flags=O_RDONLY 2022/04/15 06:58:06 DEBUG : FiLeB: >Open: fd=FiLeB (r), err= 2022/04/15 06:58:06 DEBUG : FiLeB: >OpenFile: fd=FiLeB (r), err= 2022/04/15 06:58:06 DEBUG : FiLeB: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:58:06 DEBUG : FiLeB: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/04/15 06:58:06 DEBUG : FilEb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:58:06 DEBUG : FilEb: Open: flags=O_RDONLY 2022/04/15 06:58:06 DEBUG : FilEb: >Open: fd=FilEb (r), err= 2022/04/15 06:58:06 DEBUG : FilEb: >OpenFile: fd=FilEb (r), err= 2022/04/15 06:58:06 DEBUG : FilEb: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:58:06 DEBUG : FilEb: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 vfs_case_test.go:68 Error: Should be true Test: TestCaseSensitivity Messages: listing wrong, want FiLeA (5), FiLeB (5), FilEb (5) got FiLeA (5), FiLeB (5), FilEb (5), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 vfs_case_test.go:68 Error: Should be true Test: TestCaseSensitivity Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 vfs_case_test.go:68 Error: Should be true Test: TestCaseSensitivity Messages: Unexpected file "newLeaf" 2022/04/15 06:58:14 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:58:14 DEBUG : FiLeA: Open: flags=O_RDONLY 2022/04/15 06:58:14 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2022/04/15 06:58:14 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2022/04/15 06:58:14 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:58:14 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/04/15 06:58:15 DEBUG : fileA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:58:15 DEBUG : FiLeA: Open: flags=O_RDONLY 2022/04/15 06:58:15 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2022/04/15 06:58:15 DEBUG : fileA: >OpenFile: fd=FiLeA (r), err= 2022/04/15 06:58:15 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:58:15 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/04/15 06:58:16 DEBUG : filea: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:58:16 DEBUG : FiLeA: Open: flags=O_RDONLY 2022/04/15 06:58:16 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2022/04/15 06:58:16 DEBUG : filea: >OpenFile: fd=FiLeA (r), err= 2022/04/15 06:58:16 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:58:16 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/04/15 06:58:16 DEBUG : FILEA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:58:16 DEBUG : FiLeA: Open: flags=O_RDONLY 2022/04/15 06:58:16 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2022/04/15 06:58:16 DEBUG : FILEA: >OpenFile: fd=FiLeA (r), err= 2022/04/15 06:58:16 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:58:16 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/04/15 06:58:17 DEBUG : FiLeB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:58:17 DEBUG : FiLeB: Open: flags=O_RDONLY 2022/04/15 06:58:17 DEBUG : FiLeB: >Open: fd=FiLeB (r), err= 2022/04/15 06:58:17 DEBUG : FiLeB: >OpenFile: fd=FiLeB (r), err= 2022/04/15 06:58:17 DEBUG : FiLeB: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:58:17 DEBUG : FiLeB: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/04/15 06:58:17 DEBUG : FilEb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:58:17 DEBUG : FilEb: Open: flags=O_RDONLY 2022/04/15 06:58:17 DEBUG : FilEb: >Open: fd=FilEb (r), err= 2022/04/15 06:58:17 DEBUG : FilEb: >OpenFile: fd=FilEb (r), err= 2022/04/15 06:58:17 DEBUG : FilEb: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:58:17 DEBUG : FilEb: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/04/15 06:58:18 DEBUG : fileb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:58:18 ERROR : /: Dir.Stat error: duplicate filename "fileb" detected with --vfs-case-insensitive set 2022/04/15 06:58:18 DEBUG : fileb: >OpenFile: fd=, err=duplicate filename "fileb" detected with --vfs-case-insensitive set 2022/04/15 06:58:18 DEBUG : FILEB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:58:18 ERROR : /: Dir.Stat error: duplicate filename "FILEB" detected with --vfs-case-insensitive set 2022/04/15 06:58:18 DEBUG : FILEB: >OpenFile: fd=, err=duplicate filename "FILEB" detected with --vfs-case-insensitive set 2022/04/15 06:58:18 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:58:18 DEBUG : FiLeA: Open: flags=O_RDONLY 2022/04/15 06:58:18 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2022/04/15 06:58:18 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2022/04/15 06:58:18 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:58:18 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/04/15 06:58:19 DEBUG : fileA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:58:19 DEBUG : fileA: >OpenFile: fd=, err=file does not exist 2022/04/15 06:58:19 DEBUG : filea: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:58:19 DEBUG : filea: >OpenFile: fd=, err=file does not exist 2022/04/15 06:58:19 DEBUG : FILEA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:58:19 DEBUG : FILEA: >OpenFile: fd=, err=file does not exist 2022/04/15 06:58:19 DEBUG : FiLeB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:58:19 DEBUG : FiLeB: Open: flags=O_RDONLY 2022/04/15 06:58:19 DEBUG : FiLeB: >Open: fd=FiLeB (r), err= 2022/04/15 06:58:19 DEBUG : FiLeB: >OpenFile: fd=FiLeB (r), err= 2022/04/15 06:58:19 DEBUG : FiLeB: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:58:19 DEBUG : FiLeB: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/04/15 06:58:19 DEBUG : FilEb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:58:19 DEBUG : FilEb: Open: flags=O_RDONLY 2022/04/15 06:58:19 DEBUG : FilEb: >Open: fd=FilEb (r), err= 2022/04/15 06:58:19 DEBUG : FilEb: >OpenFile: fd=FilEb (r), err= 2022/04/15 06:58:19 DEBUG : FilEb: ChunkedReader.openRange at 0 length 134217728 2022/04/15 06:58:19 DEBUG : FilEb: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/04/15 06:58:20 DEBUG : fileb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:58:20 DEBUG : fileb: >OpenFile: fd=, err=file does not exist 2022/04/15 06:58:20 DEBUG : FILEB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:58:20 DEBUG : FILEB: >OpenFile: fd=, err=file does not exist 2022/04/15 06:58:20 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:58:20 DEBUG : : Looking for writers 2022/04/15 06:58:20 DEBUG : FiLeA: reading active writers 2022/04/15 06:58:20 DEBUG : FiLeB: reading active writers 2022/04/15 06:58:20 DEBUG : FilEb: reading active writers 2022/04/15 06:58:20 DEBUG : newLeaf: reading active writers 2022/04/15 06:58:20 DEBUG : >WaitForWriters: 2022/04/15 06:58:20 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:58:20 DEBUG : : Looking for writers 2022/04/15 06:58:20 DEBUG : FiLeA: reading active writers 2022/04/15 06:58:20 DEBUG : FiLeB: reading active writers 2022/04/15 06:58:20 DEBUG : FilEb: reading active writers 2022/04/15 06:58:20 DEBUG : newLeaf: reading active writers 2022/04/15 06:58:20 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_case_test.go:101 Error: Should be true Test: TestCaseSensitivity Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_case_test.go:101 Error: Should be true Test: TestCaseSensitivity Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_case_test.go:101 Error: Should be true Test: TestCaseSensitivity Messages: Unexpected file "newLeaf" --- FAIL: TestCaseSensitivity (35.04s) === RUN TestVFSNew run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:58:29 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:58:29 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/15 06:58:29 DEBUG : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': Re-using VFS from active cache 2022/04/15 06:58:29 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:58:29 DEBUG : : Looking for writers 2022/04/15 06:58:29 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:161 Error: Should be true Test: TestVFSNew Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:161 Error: Should be true Test: TestVFSNew Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:161 Error: Should be true Test: TestVFSNew Messages: Unexpected file "newLeaf" --- FAIL: TestVFSNew (7.08s) === RUN TestVFSNewWithOpts run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:58:36 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:58:36 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/15 06:58:36 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:58:36 DEBUG : : Looking for writers 2022/04/15 06:58:36 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:177 Error: Should be true Test: TestVFSNewWithOpts Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:177 Error: Should be true Test: TestVFSNewWithOpts Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:177 Error: Should be true Test: TestVFSNewWithOpts Messages: Unexpected file "newLeaf" --- FAIL: TestVFSNewWithOpts (7.08s) === RUN TestVFSRoot run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:58:43 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:58:43 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/15 06:58:43 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:58:43 DEBUG : : Looking for writers 2022/04/15 06:58:43 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:189 Error: Should be true Test: TestVFSRoot Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:189 Error: Should be true Test: TestVFSRoot Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:189 Error: Should be true Test: TestVFSRoot Messages: Unexpected file "newLeaf" --- FAIL: TestVFSRoot (7.09s) === RUN TestVFSStat run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:58:51 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:58:51 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 vfs_test.go:197 Error: Should be true Test: TestVFSStat Messages: listing wrong, want dir/file2 (14), file1 (14) got dir/file2 (14), file1 (14), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 vfs_test.go:197 Error: Should be true Test: TestVFSStat Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 vfs_test.go:197 Error: Should be true Test: TestVFSStat Messages: Unexpected file "newLeaf" 2022/04/15 06:59:00 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:59:00 DEBUG : dir: Looking for writers 2022/04/15 06:59:00 DEBUG : file2: reading active writers 2022/04/15 06:59:00 DEBUG : : Looking for writers 2022/04/15 06:59:00 DEBUG : dir: reading active writers 2022/04/15 06:59:00 DEBUG : file1: reading active writers 2022/04/15 06:59:00 DEBUG : newLeaf: reading active writers 2022/04/15 06:59:00 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:225 Error: Should be true Test: TestVFSStat Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:225 Error: Should be true Test: TestVFSStat Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:225 Error: Should be true Test: TestVFSStat Messages: Unexpected file "newLeaf" --- FAIL: TestVFSStat (17.62s) === RUN TestVFSStatParent run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:59:08 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:59:08 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 vfs_test.go:233 Error: Should be true Test: TestVFSStatParent Messages: listing wrong, want dir/file2 (14), file1 (14) got dir/file2 (14), file1 (14), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 vfs_test.go:233 Error: Should be true Test: TestVFSStatParent Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 vfs_test.go:233 Error: Should be true Test: TestVFSStatParent Messages: Unexpected file "newLeaf" 2022/04/15 06:59:17 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:59:17 DEBUG : dir: Looking for writers 2022/04/15 06:59:17 DEBUG : : Looking for writers 2022/04/15 06:59:17 DEBUG : file1: reading active writers 2022/04/15 06:59:17 DEBUG : newLeaf: reading active writers 2022/04/15 06:59:17 DEBUG : dir: reading active writers 2022/04/15 06:59:17 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:258 Error: Should be true Test: TestVFSStatParent Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:258 Error: Should be true Test: TestVFSStatParent Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:258 Error: Should be true Test: TestVFSStatParent Messages: Unexpected file "newLeaf" --- FAIL: TestVFSStatParent (18.14s) === RUN TestVFSOpenFile run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:59:26 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:59:26 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 vfs_test.go:266 Error: Should be true Test: TestVFSOpenFile Messages: listing wrong, want dir/file2 (14), file1 (14) got dir/file2 (14), file1 (14), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 vfs_test.go:266 Error: Should be true Test: TestVFSOpenFile Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 vfs_test.go:266 Error: Should be true Test: TestVFSOpenFile Messages: Unexpected file "newLeaf" 2022/04/15 06:59:37 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:59:37 DEBUG : file1: Open: flags=O_RDONLY 2022/04/15 06:59:37 DEBUG : file1: >Open: fd=file1 (r), err= 2022/04/15 06:59:37 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2022/04/15 06:59:37 DEBUG : dir: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:59:37 DEBUG : dir: >OpenFile: fd=dir/ (r), err= 2022/04/15 06:59:37 DEBUG : dir/new_file.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/04/15 06:59:37 DEBUG : dir/new_file.txt: >OpenFile: fd=, err=file does not exist 2022/04/15 06:59:37 DEBUG : dir/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/15 06:59:37 DEBUG : dir/new_file.txt: Open: flags=O_WRONLY|O_CREATE 2022/04/15 06:59:37 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2022/04/15 06:59:37 DEBUG : dir/new_file.txt: >Open: fd=dir/new_file.txt (w), err= 2022/04/15 06:59:37 DEBUG : dir/new_file.txt: >OpenFile: fd=dir/new_file.txt (w), err= 2022/04/15 06:59:37 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2022/04/15 06:59:37 DEBUG : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': File to upload is small (0 bytes), uploading instead of streaming 2022/04/15 06:59:37 INFO : dir/new_file.txt: Copied (new) 2022/04/15 06:59:37 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2022/04/15 06:59:37 DEBUG : not found/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/15 06:59:37 DEBUG : not found/new_file.txt: >OpenFile: fd=, err=file does not exist 2022/04/15 06:59:37 DEBUG : WaitForWriters: timeout=30s 2022/04/15 06:59:37 DEBUG : dir: Looking for writers 2022/04/15 06:59:37 DEBUG : file2: reading active writers 2022/04/15 06:59:37 DEBUG : new_file.txt: reading active writers 2022/04/15 06:59:37 DEBUG : : Looking for writers 2022/04/15 06:59:37 DEBUG : dir: reading active writers 2022/04/15 06:59:37 DEBUG : file1: reading active writers 2022/04/15 06:59:37 DEBUG : newLeaf: reading active writers 2022/04/15 06:59:37 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:293 Error: Should be true Test: TestVFSOpenFile Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:293 Error: Should be true Test: TestVFSOpenFile Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:293 Error: Should be true Test: TestVFSOpenFile Messages: Unexpected file "newLeaf" --- FAIL: TestVFSOpenFile (18.52s) === RUN TestVFSRename run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 06:59:45 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 06:59:45 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 vfs_test.go:305 Error: Should be true Test: TestVFSRename Messages: listing wrong, want dir/file2 (14) got dir/file2 (14), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 vfs_test.go:305 Error: Should be true Test: TestVFSRename Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 vfs_test.go:305 Error: Should be true Test: TestVFSRename Messages: Unexpected file "newLeaf" 2022/04/15 06:59:53 INFO : dir/file2: Moved (server-side) to: dir/file1 2022/04/15 06:59:53 DEBUG : dir/file1: Updating file with dir/file1 0xc0009ce900 2022/04/15 06:59:53 DEBUG : dir: Added virtual directory entry vDel: "file2" 2022/04/15 06:59:53 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 vfs_test.go:310 Error: Should be true Test: TestVFSRename Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 vfs_test.go:310 Error: Should be true Test: TestVFSRename Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 vfs_test.go:310 Error: Should be true Test: TestVFSRename Messages: Unexpected file "newLeaf" 2022/04/15 07:00:00 INFO : dir/file1: Moved (server-side) to: file0 2022/04/15 07:00:00 DEBUG : file0: Updating file with file0 0xc0009ce900 2022/04/15 07:00:00 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/15 07:00:00 DEBUG : : Added virtual directory entry vAddFile: "file0" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 vfs_test.go:315 Error: Should be true Test: TestVFSRename Messages: listing wrong, want file0 (14) got file0 (14), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 vfs_test.go:315 Error: Should be true Test: TestVFSRename Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 vfs_test.go:315 Error: Should be true Test: TestVFSRename Messages: Unexpected file "newLeaf" 2022/04/15 07:00:07 DEBUG : WaitForWriters: timeout=30s 2022/04/15 07:00:07 DEBUG : dir: Looking for writers 2022/04/15 07:00:07 DEBUG : : Looking for writers 2022/04/15 07:00:07 DEBUG : dir: reading active writers 2022/04/15 07:00:07 DEBUG : newLeaf: reading active writers 2022/04/15 07:00:07 DEBUG : file0: reading active writers 2022/04/15 07:00:07 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:322 Error: Should be true Test: TestVFSRename Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:322 Error: Should be true Test: TestVFSRename Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:322 Error: Should be true Test: TestVFSRename Messages: Unexpected file "newLeaf" --- FAIL: TestVFSRename (29.79s) === RUN TestVFSStatfs run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 07:00:15 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 07:00:15 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/15 07:00:15 DEBUG : WaitForWriters: timeout=30s 2022/04/15 07:00:15 DEBUG : : Looking for writers 2022/04/15 07:00:15 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:373 Error: Should be true Test: TestVFSStatfs Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:373 Error: Should be true Test: TestVFSStatfs Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 vfs_test.go:373 Error: Should be true Test: TestVFSStatfs Messages: Unexpected file "newLeaf" --- FAIL: TestVFSStatfs (7.27s) === RUN TestWriteFileHandleMethods run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 07:00:22 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 07:00:22 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/15 07:00:22 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/15 07:00:22 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/04/15 07:00:22 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:00:22 DEBUG : file1: >Open: fd=file1 (w), err= 2022/04/15 07:00:22 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/04/15 07:00:22 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:00:22 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2022/04/15 07:00:22 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2022/04/15 07:00:22 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2022/04/15 07:00:22 DEBUG : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': File to upload is small (5 bytes), uploading instead of streaming 2022/04/15 07:00:22 INFO : file1: Copied (new) 2022/04/15 07:00:22 DEBUG : : Added virtual directory entry vAddFile: "file1" dir_test.go:252: Error Trace: dir_test.go:252 write_test.go:93 Error: Not equal: expected: []string{"file1,5,false"} actual : []string{"file1,5,false", "newLeaf,25,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" +([]string) (len=2) { + (string) (len=13) "file1,5,false", + (string) (len=16) "newLeaf,25,false" } Test: TestWriteFileHandleMethods fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 write_test.go:97 Error: Should be true Test: TestWriteFileHandleMethods Messages: listing wrong, want file1 (5) got file1 (5), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 write_test.go:97 Error: Should be true Test: TestWriteFileHandleMethods Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 write_test.go:97 Error: Should be true Test: TestWriteFileHandleMethods Messages: Unexpected file "newLeaf" 2022/04/15 07:00:29 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/15 07:00:29 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/04/15 07:00:29 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:00:29 DEBUG : file1: >Open: fd=file1 (w), err= 2022/04/15 07:00:29 DEBUG : file1: >OpenFile: fd=file1 (w), err= dir_test.go:252: Error Trace: dir_test.go:252 write_test.go:104 Error: Not equal: expected: []string{"file1,5,false"} actual : []string{"file1,5,false", "newLeaf,25,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" +([]string) (len=2) { + (string) (len=13) "file1,5,false", + (string) (len=16) "newLeaf,25,false" } Test: TestWriteFileHandleMethods 2022/04/15 07:00:29 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/15 07:00:29 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/04/15 07:00:29 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:00:29 DEBUG : file1: >Open: fd=file1 (w), err= 2022/04/15 07:00:29 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/04/15 07:00:29 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes dir_test.go:252: Error Trace: dir_test.go:252 write_test.go:113 Error: Not equal: expected: []string{"file1,5,false"} actual : []string{"file1,5,false", "newLeaf,25,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" +([]string) (len=2) { + (string) (len=13) "file1,5,false", + (string) (len=16) "newLeaf,25,false" } Test: TestWriteFileHandleMethods 2022/04/15 07:00:29 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2022/04/15 07:00:29 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2022/04/15 07:00:29 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:00:29 DEBUG : file1: >Open: fd=file1 (w), err= 2022/04/15 07:00:29 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/04/15 07:00:29 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:00:29 DEBUG : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': File to upload is small (0 bytes), uploading instead of streaming 2022/04/15 07:00:30 INFO : file1: Copied (new) 2022/04/15 07:00:30 DEBUG : : Added virtual directory entry vAddFile: "file1" dir_test.go:252: Error Trace: dir_test.go:252 write_test.go:122 Error: Not equal: expected: []string{"file1,0,false"} actual : []string{"file1,0,false", "newLeaf,25,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=1) { - (string) (len=13) "file1,0,false" +([]string) (len=2) { + (string) (len=13) "file1,0,false", + (string) (len=16) "newLeaf,25,false" } Test: TestWriteFileHandleMethods 2022/04/15 07:00:30 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2022/04/15 07:00:30 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2022/04/15 07:00:30 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:00:30 DEBUG : file1: >Open: fd=file1 (w), err= 2022/04/15 07:00:30 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/04/15 07:00:30 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:00:30 DEBUG : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': File to upload is small (7 bytes), uploading instead of streaming 2022/04/15 07:00:31 INFO : file1: Copied (new) 2022/04/15 07:00:31 DEBUG : : Added virtual directory entry vAddFile: "file1" dir_test.go:252: Error Trace: dir_test.go:252 write_test.go:131 Error: Not equal: expected: []string{"file1,7,false"} actual : []string{"file1,7,false", "newLeaf,25,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=1) { - (string) (len=13) "file1,7,false" +([]string) (len=2) { + (string) (len=13) "file1,7,false", + (string) (len=16) "newLeaf,25,false" } Test: TestWriteFileHandleMethods 2022/04/15 07:00:31 DEBUG : WaitForWriters: timeout=30s 2022/04/15 07:00:31 DEBUG : : Looking for writers 2022/04/15 07:00:31 DEBUG : newLeaf: reading active writers 2022/04/15 07:00:31 DEBUG : file1: reading active writers 2022/04/15 07:00:31 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 write_test.go:132 Error: Should be true Test: TestWriteFileHandleMethods Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 write_test.go:132 Error: Should be true Test: TestWriteFileHandleMethods Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 write_test.go:132 Error: Should be true Test: TestWriteFileHandleMethods Messages: Unexpected file "newLeaf" --- FAIL: TestWriteFileHandleMethods (15.98s) === RUN TestWriteFileHandleWriteAt run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 07:00:38 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 07:00:38 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/15 07:00:38 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/15 07:00:38 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/04/15 07:00:38 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:00:38 DEBUG : file1: >Open: fd=file1 (w), err= 2022/04/15 07:00:38 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/04/15 07:00:38 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:00:38 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2022/04/15 07:00:39 DEBUG : file1: aborting in-sequence write wait, off=100 2022/04/15 07:00:39 DEBUG : file1: failed to wait for in-sequence write to 100 2022/04/15 07:00:39 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2022/04/15 07:00:39 DEBUG : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': File to upload is small (11 bytes), uploading instead of streaming 2022/04/15 07:00:39 INFO : file1: Copied (new) 2022/04/15 07:00:39 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:00:39 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor dir_test.go:252: Error Trace: dir_test.go:252 write_test.go:172 Error: Not equal: expected: []string{"file1,11,false"} actual : []string{"file1,11,false", "newLeaf,25,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=1) { - (string) (len=14) "file1,11,false" +([]string) (len=2) { + (string) (len=14) "file1,11,false", + (string) (len=16) "newLeaf,25,false" } Test: TestWriteFileHandleWriteAt fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 write_test.go:176 Error: Should be true Test: TestWriteFileHandleWriteAt Messages: listing wrong, want file1 (11) got file1 (11), newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 write_test.go:176 Error: Should be true Test: TestWriteFileHandleWriteAt Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 write_test.go:176 Error: Should be true Test: TestWriteFileHandleWriteAt Messages: Unexpected file "newLeaf" 2022/04/15 07:00:46 DEBUG : WaitForWriters: timeout=30s 2022/04/15 07:00:46 DEBUG : : Looking for writers 2022/04/15 07:00:46 DEBUG : newLeaf: reading active writers 2022/04/15 07:00:46 DEBUG : file1: reading active writers 2022/04/15 07:00:46 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 write_test.go:177 Error: Should be true Test: TestWriteFileHandleWriteAt Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 write_test.go:177 Error: Should be true Test: TestWriteFileHandleWriteAt Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 write_test.go:177 Error: Should be true Test: TestWriteFileHandleWriteAt Messages: Unexpected file "newLeaf" --- FAIL: TestWriteFileHandleWriteAt (15.78s) === RUN TestWriteFileHandleFlush run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 07:00:54 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 07:00:54 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/15 07:00:54 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/15 07:00:54 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/04/15 07:00:54 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:00:54 DEBUG : file1: >Open: fd=file1 (w), err= 2022/04/15 07:00:54 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/04/15 07:00:54 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2022/04/15 07:00:54 DEBUG : : Added virtual directory entry vAddFile: "file1" dir_test.go:252: Error Trace: dir_test.go:252 write_test.go:189 Error: Not equal: expected: []string{"file1,0,false"} actual : []string{"file1,0,false", "newLeaf,25,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=1) { - (string) (len=13) "file1,0,false" +([]string) (len=2) { + (string) (len=13) "file1,0,false", + (string) (len=16) "newLeaf,25,false" } Test: TestWriteFileHandleFlush 2022/04/15 07:00:54 DEBUG : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': File to upload is small (5 bytes), uploading instead of streaming 2022/04/15 07:00:54 INFO : file1: Copied (new) 2022/04/15 07:00:54 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:00:54 DEBUG : file1: WriteFileHandle.Flush nothing to do dir_test.go:252: Error Trace: dir_test.go:252 write_test.go:209 Error: Not equal: expected: []string{"file1,5,false"} actual : []string{"file1,5,false", "newLeaf,25,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,4 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" +([]string) (len=2) { + (string) (len=13) "file1,5,false", + (string) (len=16) "newLeaf,25,false" } Test: TestWriteFileHandleFlush 2022/04/15 07:00:54 DEBUG : WaitForWriters: timeout=30s 2022/04/15 07:00:54 DEBUG : : Looking for writers 2022/04/15 07:00:54 DEBUG : newLeaf: reading active writers 2022/04/15 07:00:54 DEBUG : file1: reading active writers 2022/04/15 07:00:54 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 write_test.go:210 Error: Should be true Test: TestWriteFileHandleFlush Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 write_test.go:210 Error: Should be true Test: TestWriteFileHandleFlush Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 write_test.go:210 Error: Should be true Test: TestWriteFileHandleFlush Messages: Unexpected file "newLeaf" --- FAIL: TestWriteFileHandleFlush (7.94s) === RUN TestWriteFileHandleRelease run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 07:01:02 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 07:01:02 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/15 07:01:02 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/15 07:01:02 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/04/15 07:01:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:01:02 DEBUG : file1: >Open: fd=file1 (w), err= 2022/04/15 07:01:02 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/04/15 07:01:02 DEBUG : file1: WriteFileHandle.Release closing 2022/04/15 07:01:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:01:02 DEBUG : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': File to upload is small (0 bytes), uploading instead of streaming 2022/04/15 07:01:02 INFO : file1: Copied (new) 2022/04/15 07:01:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:01:02 DEBUG : file1: WriteFileHandle.Release nothing to do 2022/04/15 07:01:02 DEBUG : WaitForWriters: timeout=30s 2022/04/15 07:01:02 DEBUG : : Looking for writers 2022/04/15 07:01:02 DEBUG : file1: reading active writers 2022/04/15 07:01:02 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:02 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 write_test.go:229 Error: Should be true Test: TestWriteFileHandleRelease Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 write_test.go:229 Error: Should be true Test: TestWriteFileHandleRelease Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 write_test.go:229 Error: Should be true Test: TestWriteFileHandleRelease Messages: Unexpected file "newLeaf" --- FAIL: TestWriteFileHandleRelease (7.57s) === RUN TestWriteFileModTimeWithOpenWriters run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 07:01:09 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 07:01:09 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/15 07:01:09 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/15 07:01:09 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/04/15 07:01:09 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:01:09 DEBUG : file1: >Open: fd=file1 (w), err= 2022/04/15 07:01:09 DEBUG : file1: >OpenFile: fd=file1 (w), err= write_test.go:265: can't set mod time 2022/04/15 07:01:09 DEBUG : WaitForWriters: timeout=30s 2022/04/15 07:01:09 DEBUG : : Looking for writers 2022/04/15 07:01:09 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:09 DEBUG : file1: reading active writers 2022/04/15 07:01:09 DEBUG : file1: active writers 1 2022/04/15 07:01:09 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2022/04/15 07:01:09 DEBUG : : Looking for writers 2022/04/15 07:01:09 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:09 DEBUG : file1: reading active writers 2022/04/15 07:01:09 DEBUG : file1: active writers 1 2022/04/15 07:01:09 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2022/04/15 07:01:09 DEBUG : : Looking for writers 2022/04/15 07:01:09 DEBUG : file1: reading active writers 2022/04/15 07:01:09 DEBUG : file1: active writers 1 2022/04/15 07:01:09 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:09 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2022/04/15 07:01:09 DEBUG : : Looking for writers 2022/04/15 07:01:09 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:09 DEBUG : file1: reading active writers 2022/04/15 07:01:09 DEBUG : file1: active writers 1 2022/04/15 07:01:09 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2022/04/15 07:01:09 DEBUG : : Looking for writers 2022/04/15 07:01:09 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:09 DEBUG : file1: reading active writers 2022/04/15 07:01:09 DEBUG : file1: active writers 1 2022/04/15 07:01:09 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2022/04/15 07:01:09 DEBUG : : Looking for writers 2022/04/15 07:01:09 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:09 DEBUG : file1: reading active writers 2022/04/15 07:01:09 DEBUG : file1: active writers 1 2022/04/15 07:01:09 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2022/04/15 07:01:10 DEBUG : : Looking for writers 2022/04/15 07:01:10 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:10 DEBUG : file1: reading active writers 2022/04/15 07:01:10 DEBUG : file1: active writers 1 2022/04/15 07:01:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2022/04/15 07:01:10 DEBUG : : Looking for writers 2022/04/15 07:01:10 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:10 DEBUG : file1: reading active writers 2022/04/15 07:01:10 DEBUG : file1: active writers 1 2022/04/15 07:01:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:11 DEBUG : : Looking for writers 2022/04/15 07:01:11 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:11 DEBUG : file1: reading active writers 2022/04/15 07:01:11 DEBUG : file1: active writers 1 2022/04/15 07:01:11 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:12 DEBUG : : Looking for writers 2022/04/15 07:01:12 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:12 DEBUG : file1: reading active writers 2022/04/15 07:01:12 DEBUG : file1: active writers 1 2022/04/15 07:01:12 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:13 DEBUG : : Looking for writers 2022/04/15 07:01:13 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:13 DEBUG : file1: reading active writers 2022/04/15 07:01:13 DEBUG : file1: active writers 1 2022/04/15 07:01:13 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:14 DEBUG : : Looking for writers 2022/04/15 07:01:14 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:14 DEBUG : file1: reading active writers 2022/04/15 07:01:14 DEBUG : file1: active writers 1 2022/04/15 07:01:14 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:15 DEBUG : : Looking for writers 2022/04/15 07:01:15 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:15 DEBUG : file1: reading active writers 2022/04/15 07:01:15 DEBUG : file1: active writers 1 2022/04/15 07:01:15 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:16 DEBUG : : Looking for writers 2022/04/15 07:01:16 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:16 DEBUG : file1: reading active writers 2022/04/15 07:01:16 DEBUG : file1: active writers 1 2022/04/15 07:01:16 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:17 DEBUG : : Looking for writers 2022/04/15 07:01:17 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:17 DEBUG : file1: reading active writers 2022/04/15 07:01:17 DEBUG : file1: active writers 1 2022/04/15 07:01:17 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:18 DEBUG : : Looking for writers 2022/04/15 07:01:18 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:18 DEBUG : file1: reading active writers 2022/04/15 07:01:18 DEBUG : file1: active writers 1 2022/04/15 07:01:18 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:19 DEBUG : : Looking for writers 2022/04/15 07:01:19 DEBUG : file1: reading active writers 2022/04/15 07:01:19 DEBUG : file1: active writers 1 2022/04/15 07:01:19 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:20 DEBUG : : Looking for writers 2022/04/15 07:01:20 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:20 DEBUG : file1: reading active writers 2022/04/15 07:01:20 DEBUG : file1: active writers 1 2022/04/15 07:01:20 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:21 DEBUG : : Looking for writers 2022/04/15 07:01:21 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:21 DEBUG : file1: reading active writers 2022/04/15 07:01:21 DEBUG : file1: active writers 1 2022/04/15 07:01:21 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:22 DEBUG : : Looking for writers 2022/04/15 07:01:22 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:22 DEBUG : file1: reading active writers 2022/04/15 07:01:22 DEBUG : file1: active writers 1 2022/04/15 07:01:22 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:23 DEBUG : : Looking for writers 2022/04/15 07:01:23 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:23 DEBUG : file1: reading active writers 2022/04/15 07:01:23 DEBUG : file1: active writers 1 2022/04/15 07:01:23 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:24 DEBUG : : Looking for writers 2022/04/15 07:01:24 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:24 DEBUG : file1: reading active writers 2022/04/15 07:01:24 DEBUG : file1: active writers 1 2022/04/15 07:01:24 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:25 DEBUG : : Looking for writers 2022/04/15 07:01:25 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:25 DEBUG : file1: reading active writers 2022/04/15 07:01:25 DEBUG : file1: active writers 1 2022/04/15 07:01:25 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:26 DEBUG : : Looking for writers 2022/04/15 07:01:26 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:26 DEBUG : file1: reading active writers 2022/04/15 07:01:26 DEBUG : file1: active writers 1 2022/04/15 07:01:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:27 DEBUG : : Looking for writers 2022/04/15 07:01:27 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:27 DEBUG : file1: reading active writers 2022/04/15 07:01:27 DEBUG : file1: active writers 1 2022/04/15 07:01:27 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:28 DEBUG : : Looking for writers 2022/04/15 07:01:28 DEBUG : file1: reading active writers 2022/04/15 07:01:28 DEBUG : file1: active writers 1 2022/04/15 07:01:28 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:28 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:29 DEBUG : : Looking for writers 2022/04/15 07:01:29 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:29 DEBUG : file1: reading active writers 2022/04/15 07:01:29 DEBUG : file1: active writers 1 2022/04/15 07:01:29 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:30 DEBUG : : Looking for writers 2022/04/15 07:01:30 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:30 DEBUG : file1: reading active writers 2022/04/15 07:01:30 DEBUG : file1: active writers 1 2022/04/15 07:01:30 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:31 DEBUG : : Looking for writers 2022/04/15 07:01:31 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:31 DEBUG : file1: reading active writers 2022/04/15 07:01:31 DEBUG : file1: active writers 1 2022/04/15 07:01:31 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:32 DEBUG : : Looking for writers 2022/04/15 07:01:32 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:32 DEBUG : file1: reading active writers 2022/04/15 07:01:32 DEBUG : file1: active writers 1 2022/04/15 07:01:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:33 DEBUG : : Looking for writers 2022/04/15 07:01:33 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:33 DEBUG : file1: reading active writers 2022/04/15 07:01:33 DEBUG : file1: active writers 1 2022/04/15 07:01:33 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:34 DEBUG : : Looking for writers 2022/04/15 07:01:34 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:34 DEBUG : file1: reading active writers 2022/04/15 07:01:34 DEBUG : file1: active writers 1 2022/04/15 07:01:34 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:35 DEBUG : : Looking for writers 2022/04/15 07:01:35 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:35 DEBUG : file1: reading active writers 2022/04/15 07:01:35 DEBUG : file1: active writers 1 2022/04/15 07:01:35 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:36 DEBUG : : Looking for writers 2022/04/15 07:01:36 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:36 DEBUG : file1: reading active writers 2022/04/15 07:01:36 DEBUG : file1: active writers 1 2022/04/15 07:01:36 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:37 DEBUG : : Looking for writers 2022/04/15 07:01:37 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:37 DEBUG : file1: reading active writers 2022/04/15 07:01:37 DEBUG : file1: active writers 1 2022/04/15 07:01:37 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:38 DEBUG : : Looking for writers 2022/04/15 07:01:38 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:38 DEBUG : file1: reading active writers 2022/04/15 07:01:38 DEBUG : file1: active writers 1 2022/04/15 07:01:38 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/04/15 07:01:39 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2022/04/15 07:01:39 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 panic.go:642 testing.go:858 testing.go:836 write_test.go:265 Error: Should be true Test: TestWriteFileModTimeWithOpenWriters Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 panic.go:642 testing.go:858 testing.go:836 write_test.go:265 Error: Should be true Test: TestWriteFileModTimeWithOpenWriters Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 panic.go:642 testing.go:858 testing.go:836 write_test.go:265 Error: Should be true Test: TestWriteFileModTimeWithOpenWriters Messages: Unexpected file "newLeaf" --- FAIL: TestWriteFileModTimeWithOpenWriters (37.08s) === RUN TestFileReadAtZeroLength run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 07:01:46 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 07:01:46 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/15 07:01:46 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/15 07:01:46 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/04/15 07:01:46 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:01:46 DEBUG : file1: >Open: fd=file1 (w), err= 2022/04/15 07:01:46 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/04/15 07:01:46 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:01:46 DEBUG : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': File to upload is small (0 bytes), uploading instead of streaming 2022/04/15 07:01:47 INFO : file1: Copied (new) 2022/04/15 07:01:47 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:01:47 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2022/04/15 07:01:47 DEBUG : file1: Open: flags=O_RDONLY 2022/04/15 07:01:47 DEBUG : file1: >Open: fd=file1 (r), err= 2022/04/15 07:01:47 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2022/04/15 07:01:47 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2022/04/15 07:01:47 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2022/04/15 07:01:47 DEBUG : WaitForWriters: timeout=30s 2022/04/15 07:01:47 DEBUG : : Looking for writers 2022/04/15 07:01:47 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:47 DEBUG : file1: reading active writers 2022/04/15 07:01:47 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 write_test.go:322 write_test.go:325 Error: Should be true Test: TestFileReadAtZeroLength Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 write_test.go:322 write_test.go:325 Error: Should be true Test: TestFileReadAtZeroLength Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 write_test.go:322 write_test.go:325 Error: Should be true Test: TestFileReadAtZeroLength Messages: Unexpected file "newLeaf" --- FAIL: TestFileReadAtZeroLength (7.95s) === RUN TestFileReadAtNonZeroLength run.go:181: Remote "mega root 'rclone-test-hobeqeh5suxajup0wucoroj7'", Local "Local file system at /tmp/rclone1442003221", Modify Window "876000h0m0s" 2022/04/15 07:01:54 INFO : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': poll-interval is not supported by this remote 2022/04/15 07:01:54 NOTICE: mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/15 07:01:54 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/15 07:01:54 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/04/15 07:01:54 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:01:54 DEBUG : file1: >Open: fd=file1 (w), err= 2022/04/15 07:01:54 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/04/15 07:01:54 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:01:54 DEBUG : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': File to upload is small (100 bytes), uploading instead of streaming 2022/04/15 07:01:55 INFO : file1: Copied (new) 2022/04/15 07:01:55 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/15 07:01:55 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2022/04/15 07:01:55 DEBUG : file1: Open: flags=O_RDONLY 2022/04/15 07:01:55 DEBUG : file1: >Open: fd=file1 (r), err= 2022/04/15 07:01:55 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2022/04/15 07:01:55 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2022/04/15 07:01:55 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2022/04/15 07:01:56 DEBUG : WaitForWriters: timeout=30s 2022/04/15 07:01:56 DEBUG : : Looking for writers 2022/04/15 07:01:56 DEBUG : newLeaf: reading active writers 2022/04/15 07:01:56 DEBUG : file1: reading active writers 2022/04/15 07:01:56 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 write_test.go:322 write_test.go:329 Error: Should be true Test: TestFileReadAtNonZeroLength Messages: listing wrong, want got newLeaf (25), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 write_test.go:322 write_test.go:329 Error: Should be true Test: TestFileReadAtNonZeroLength Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 run.go:174 run.go:376 vfs_test.go:54 write_test.go:322 write_test.go:329 Error: Should be true Test: TestFileReadAtNonZeroLength Messages: Unexpected file "newLeaf" --- FAIL: TestFileReadAtNonZeroLength (8.98s) FAIL 2022/04/15 07:02:03 DEBUG : mega root 'rclone-test-hobeqeh5suxajup0wucoroj7': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestCaseSensitivity|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestFileRename|TestRWCacheRename|TestRWFileHandleFlushRead|TestRWFileHandleFlushWrite|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleOpenTests|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleReleaseWrite|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeCreateNew|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestRcGetVFS|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestVFSNew|TestVFSNewWithOpts|TestVFSOpenFile|TestVFSRename|TestVFSRoot|TestVFSStat|TestVFSStatParent|TestVFSStatfs|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters)$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false)$'" - Finished ERROR in 16m16.013858304s (try 4/5): exit status 1: Failed [TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/full,forceCache=false TestRcGetVFS TestReadFileHandleMethods TestReadFileHandleSeek TestReadFileHandleReadAt TestReadFileHandleFlush TestReadFileHandleRelease TestRWFileHandleMethodsRead TestRWFileHandleSeek TestRWFileHandleReadAt TestRWFileHandleFlushRead TestRWFileHandleReleaseRead TestRWFileHandleMethodsWrite TestRWFileHandleWriteAt TestRWFileHandleWriteNoWrite TestRWFileHandleFlushWrite TestRWFileHandleReleaseWrite TestRWFileHandleSizeTruncateExisting TestRWFileHandleSizeCreateExisting TestRWFileHandleSizeCreateNew TestRWFileHandleOpenTests TestRWFileModTimeWithOpenWriters TestRWCacheRename TestCaseSensitivity TestVFSNew TestVFSNewWithOpts TestVFSRoot TestVFSStat TestVFSStatParent TestVFSOpenFile TestVFSRename TestVFSStatfs TestWriteFileHandleMethods TestWriteFileHandleWriteAt TestWriteFileHandleFlush TestWriteFileHandleRelease TestWriteFileModTimeWithOpenWriters TestFileReadAtZeroLength TestFileReadAtNonZeroLength]