"./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|writes,forceCache=true)$'" - Starting (try 2/5) 2022/01/17 05:47:28 DEBUG : Creating backend with remote "TestMega:rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:47:28 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2022/01/17 05:50:22 DEBUG : Creating backend with remote "/tmp/rclone2545627281" === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:50:22 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:50:22 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:50:23 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:50:23 DEBUG : dir: Looking for writers 2022/01/17 05:50:23 DEBUG : file1: reading active writers 2022/01/17 05:50:23 DEBUG : : Looking for writers 2022/01/17 05:50:23 DEBUG : dir: reading active writers 2022/01/17 05:50:23 DEBUG : >WaitForWriters: 2022/01/17 05:50:24 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/01/17 05:50:24 DEBUG : newLeaf: Updating file with newLeaf 0xc0003dd980 2022/01/17 05:50:24 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/01/17 05:50:24 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/01/17 05:50:32 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/01/17 05:50:32 DEBUG : dir/file1: Updating file with dir/file1 0xc0003dd980 2022/01/17 05:50:32 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/01/17 05:50:32 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/01/17 05:50:39 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/01/17 05:50:39 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2022/01/17 05:50:39 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:50:39 DEBUG : dir/file1: File is currently open, delaying rename 0xc0003dd980 2022/01/17 05:50:39 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/01/17 05:50:39 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/01/17 05:50:39 DEBUG : mega root 'rclone-test-xajojib6diwemic9julexaf3': File to upload is small (25 bytes), uploading instead of streaming 2022/01/17 05:50:40 INFO : dir/file1: Copied (new) 2022/01/17 05:50:40 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/01/17 05:50:40 DEBUG : newLeaf: Running delayed rename now 2022/01/17 05:50:40 INFO : newLeaf: Deleted 2022/01/17 05:50:40 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/01/17 05:50:40 DEBUG : newLeaf: Updating file with newLeaf 0xc0003dd980 2022/01/17 05:50:40 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:50:40 DEBUG : dir: Looking for writers 2022/01/17 05:50:40 DEBUG : : Looking for writers 2022/01/17 05:50:40 DEBUG : dir: reading active writers 2022/01/17 05:50:40 DEBUG : newLeaf: reading active writers 2022/01/17 05:50:40 DEBUG : >WaitForWriters: 2022/01/17 05:50:40 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:50:40 DEBUG : dir: Looking for writers 2022/01/17 05:50:40 DEBUG : : Looking for writers 2022/01/17 05:50:40 DEBUG : dir: reading active writers 2022/01/17 05:50:40 DEBUG : newLeaf: reading active writers 2022/01/17 05:50:40 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:50:41 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:50:41 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:50:41 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/01/17 05:50:41 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:50:41 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:50:41 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:50:41 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:50:41 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/01/17 05:50:42 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:50:42 DEBUG : dir: Looking for writers 2022/01/17 05:50:42 DEBUG : file1: reading active writers 2022/01/17 05:50:42 DEBUG : : Looking for writers 2022/01/17 05:50:42 DEBUG : dir: reading active writers 2022/01/17 05:50:42 DEBUG : >WaitForWriters: 2022/01/17 05:50:43 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/01/17 05:50:43 DEBUG : newLeaf: Updating file with newLeaf 0xc0032fe600 2022/01/17 05:50:43 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/01/17 05:50:43 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 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/minimal,forceCache=false Messages: Unexpected file "file1" 2022/01/17 05:50:50 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/01/17 05:50:50 DEBUG : dir/file1: Updating file with dir/file1 0xc0032fe600 2022/01/17 05:50:50 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/01/17 05:50:50 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 (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/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/01/17 05:50:57 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/01/17 05:50:57 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2022/01/17 05:50:57 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:50:57 DEBUG : dir/file1: File is currently open, delaying rename 0xc0032fe600 2022/01/17 05:50:57 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/01/17 05:50:57 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/01/17 05:50:57 DEBUG : mega root 'rclone-test-xajojib6diwemic9julexaf3': File to upload is small (25 bytes), uploading instead of streaming 2022/01/17 05:50:58 INFO : dir/file1: Copied (new) 2022/01/17 05:50:58 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/01/17 05:50:58 DEBUG : newLeaf: Running delayed rename now 2022/01/17 05:50:58 INFO : newLeaf: Deleted 2022/01/17 05:50:59 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/01/17 05:50:59 DEBUG : newLeaf: Updating file with newLeaf 0xc0032fe600 2022/01/17 05:50:59 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:50:59 DEBUG : dir: Looking for writers 2022/01/17 05:50:59 DEBUG : : Looking for writers 2022/01/17 05:50:59 DEBUG : dir: reading active writers 2022/01/17 05:50:59 DEBUG : newLeaf: reading active writers 2022/01/17 05:50:59 DEBUG : >WaitForWriters: 2022/01/17 05:50:59 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:50:59 DEBUG : dir: Looking for writers 2022/01/17 05:50:59 DEBUG : : Looking for writers 2022/01/17 05:50:59 DEBUG : dir: reading active writers 2022/01/17 05:50:59 DEBUG : newLeaf: reading active writers 2022/01/17 05:50:59 DEBUG : >WaitForWriters: 2022/01/17 05:50:59 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:50:59 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:50:59 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:50:59 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/01/17 05:50:59 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:50:59 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:50:59 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:50:59 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:50:59 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/01/17 05:51:00 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2022/01/17 05:51:00 DEBUG : dir/file1: newRWFileHandle: 2022/01/17 05:51:00 DEBUG : dir/file1(0xc001153600): openPending: 2022/01/17 05:51:00 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2022/01/17 05:51:00 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/01/17 05:51:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:51:00 DEBUG : dir/file1(0xc001153600): >openPending: err= 2022/01/17 05:51:00 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/01/17 05:51:00 DEBUG : dir/file1: >newRWFileHandle: err= 2022/01/17 05:51:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:51:00 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/01/17 05:51:00 DEBUG : dir/file1(0xc001153600): _writeAt: size=14, off=0 2022/01/17 05:51:00 DEBUG : dir/file1(0xc001153600): >_writeAt: n=14, err= 2022/01/17 05:51:00 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2022/01/17 05:51:00 DEBUG : dir/file1(0xc001153600): close: 2022/01/17 05:51:00 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2022/01/17 05:51:00 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2022/01/17 05:51:00 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2022/01/17 05:51:00 DEBUG : dir/file1(0xc001153600): >close: err= 2022/01/17 05:51:00 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:51:00 DEBUG : dir: Looking for writers 2022/01/17 05:51:00 DEBUG : file1: reading active writers 2022/01/17 05:51:00 DEBUG : : Looking for writers 2022/01/17 05:51:00 DEBUG : dir: reading active writers 2022/01/17 05:51:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/01/17 05:51:00 DEBUG : dir: Looking for writers 2022/01/17 05:51:00 DEBUG : file1: reading active writers 2022/01/17 05:51:00 DEBUG : : Looking for writers 2022/01/17 05:51:00 DEBUG : dir: reading active writers 2022/01/17 05:51:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/01/17 05:51:00 DEBUG : dir: Looking for writers 2022/01/17 05:51:00 DEBUG : file1: reading active writers 2022/01/17 05:51:00 DEBUG : : Looking for writers 2022/01/17 05:51:00 DEBUG : dir: reading active writers 2022/01/17 05:51:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/01/17 05:51:00 DEBUG : dir: Looking for writers 2022/01/17 05:51:00 DEBUG : file1: reading active writers 2022/01/17 05:51:00 DEBUG : : Looking for writers 2022/01/17 05:51:00 DEBUG : dir: reading active writers 2022/01/17 05:51:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/01/17 05:51:00 DEBUG : dir/file1: vfs cache: starting upload 2022/01/17 05:51:00 DEBUG : dir: Looking for writers 2022/01/17 05:51:00 DEBUG : file1: reading active writers 2022/01/17 05:51:00 DEBUG : : Looking for writers 2022/01/17 05:51:00 DEBUG : dir: reading active writers 2022/01/17 05:51:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/01/17 05:51:00 INFO : dir/file1: Copied (replaced existing) 2022/01/17 05:51:00 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2022/01/17 05:51:00 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2022/01/17 05:51:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:51:00 INFO : dir/file1: vfs cache: upload succeeded try #1 2022/01/17 05:51:00 DEBUG : dir: Looking for writers 2022/01/17 05:51:00 DEBUG : file1: reading active writers 2022/01/17 05:51:00 DEBUG : : Looking for writers 2022/01/17 05:51:00 DEBUG : dir: reading active writers 2022/01/17 05:51:00 DEBUG : >WaitForWriters: 2022/01/17 05:51:00 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/01/17 05:51:00 DEBUG : dir/file1: newRWFileHandle: 2022/01/17 05:51:00 DEBUG : dir/file1: >newRWFileHandle: err= 2022/01/17 05:51:00 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/01/17 05:51:00 DEBUG : dir/file1(0xc001153980): _readAt: size=512, off=0 2022/01/17 05:51:00 DEBUG : dir/file1(0xc001153980): openPending: 2022/01/17 05:51:00 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2022/01/17 05:51:00 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/01/17 05:51:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:51:00 DEBUG : dir/file1(0xc001153980): >openPending: err= 2022/01/17 05:51:00 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2022/01/17 05:51:00 DEBUG : dir/file1(0xc001153980): >_readAt: n=14, err=EOF 2022/01/17 05:51:00 DEBUG : dir/file1(0xc001153980): close: 2022/01/17 05:51:00 DEBUG : dir/file1: vfs cache: setting modification time to 2022-01-17 05:51:00 +0000 UTC 2022/01/17 05:51:00 DEBUG : dir/file1(0xc001153980): >close: err= 2022/01/17 05:51:00 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/01/17 05:51:00 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/01/17 05:51:00 DEBUG : newLeaf: Updating file with newLeaf 0xc00026f440 2022/01/17 05:51:00 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/01/17 05:51:00 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/01/17 05:51:02 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/01/17 05:51:02 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2022/01/17 05:51:02 DEBUG : dir/file1: Updating file with dir/file1 0xc00026f440 2022/01/17 05:51:02 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/01/17 05:51:02 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) 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/01/17 05:51:09 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/01/17 05:51:09 DEBUG : dir/file1: newRWFileHandle: 2022/01/17 05:51:09 DEBUG : dir/file1(0xc0014d0000): openPending: 2022/01/17 05:51:09 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2022/01/17 05:51:09 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/01/17 05:51:09 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:51:09 DEBUG : dir/file1(0xc0014d0000): >openPending: err= 2022/01/17 05:51:09 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/01/17 05:51:09 DEBUG : dir/file1: >newRWFileHandle: err= 2022/01/17 05:51:09 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/01/17 05:51:09 DEBUG : dir/file1(0xc0014d0000): _writeAt: size=25, off=0 2022/01/17 05:51:09 DEBUG : dir/file1(0xc0014d0000): >_writeAt: n=25, err= 2022/01/17 05:51:10 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/01/17 05:51:10 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/01/17 05:51:10 DEBUG : newLeaf: Updating file with newLeaf 0xc00026f440 2022/01/17 05:51:10 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/01/17 05:51:10 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/01/17 05:51:10 DEBUG : newLeaf(0xc0014d0000): close: 2022/01/17 05:51:10 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2022/01/17 05:51:10 DEBUG : newLeaf: vfs cache: setting modification time to 2022-01-17 05:51:09.933692351 +0000 UTC m=+221.187624511 2022/01/17 05:51:10 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2022/01/17 05:51:10 DEBUG : newLeaf(0xc0014d0000): >close: err= 2022/01/17 05:51:10 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:51:10 DEBUG : dir: Looking for writers 2022/01/17 05:51:10 DEBUG : : Looking for writers 2022/01/17 05:51:10 DEBUG : dir: reading active writers 2022/01/17 05:51:10 DEBUG : newLeaf: reading active writers 2022/01/17 05:51:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/01/17 05:51:10 DEBUG : dir: Looking for writers 2022/01/17 05:51:10 DEBUG : : Looking for writers 2022/01/17 05:51:10 DEBUG : dir: reading active writers 2022/01/17 05:51:10 DEBUG : newLeaf: reading active writers 2022/01/17 05:51:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/01/17 05:51:10 DEBUG : dir: Looking for writers 2022/01/17 05:51:10 DEBUG : : Looking for writers 2022/01/17 05:51:10 DEBUG : dir: reading active writers 2022/01/17 05:51:10 DEBUG : newLeaf: reading active writers 2022/01/17 05:51:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/01/17 05:51:10 DEBUG : dir: Looking for writers 2022/01/17 05:51:10 DEBUG : : Looking for writers 2022/01/17 05:51:10 DEBUG : dir: reading active writers 2022/01/17 05:51:10 DEBUG : newLeaf: reading active writers 2022/01/17 05:51:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/01/17 05:51:10 DEBUG : newLeaf: vfs cache: starting upload 2022/01/17 05:51:10 DEBUG : dir: Looking for writers 2022/01/17 05:51:10 DEBUG : : Looking for writers 2022/01/17 05:51:10 DEBUG : dir: reading active writers 2022/01/17 05:51:10 DEBUG : newLeaf: reading active writers 2022/01/17 05:51:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/01/17 05:51:10 DEBUG : dir: Looking for writers 2022/01/17 05:51:10 DEBUG : : Looking for writers 2022/01/17 05:51:10 DEBUG : dir: reading active writers 2022/01/17 05:51:10 DEBUG : newLeaf: reading active writers 2022/01/17 05:51:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/01/17 05:51:11 INFO : newLeaf: Copied (replaced existing) 2022/01/17 05:51:11 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2022/01/17 05:51:11 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2022/01/17 05:51:11 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/01/17 05:51:11 INFO : newLeaf: vfs cache: upload succeeded try #1 2022/01/17 05:51:11 DEBUG : dir: Looking for writers 2022/01/17 05:51:11 DEBUG : : Looking for writers 2022/01/17 05:51:11 DEBUG : dir: reading active writers 2022/01/17 05:51:11 DEBUG : newLeaf: reading active writers 2022/01/17 05:51:11 DEBUG : >WaitForWriters: 2022/01/17 05:51:11 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:51:11 DEBUG : dir: Looking for writers 2022/01/17 05:51:11 DEBUG : : Looking for writers 2022/01/17 05:51:11 DEBUG : newLeaf: reading active writers 2022/01/17 05:51:11 DEBUG : dir: reading active writers 2022/01/17 05:51:11 DEBUG : >WaitForWriters: 2022/01/17 05:51:11 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:51:12 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:51:12 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/01/17 05:51:12 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:51:12 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:51:12 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:51:12 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:51:12 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/01/17 05:51:12 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:51:12 DEBUG : dir: Looking for writers 2022/01/17 05:51:12 DEBUG : file1: reading active writers 2022/01/17 05:51:12 DEBUG : : Looking for writers 2022/01/17 05:51:12 DEBUG : dir: reading active writers 2022/01/17 05:51:12 DEBUG : >WaitForWriters: 2022/01/17 05:51:13 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/01/17 05:51:13 DEBUG : newLeaf: Updating file with newLeaf 0xc00026fec0 2022/01/17 05:51:13 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/01/17 05:51:13 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 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/writes,forceCache=false Messages: Unexpected file "file1" 2022/01/17 05:51:21 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/01/17 05:51:21 DEBUG : dir/file1: Updating file with dir/file1 0xc00026fec0 2022/01/17 05:51:21 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/01/17 05:51:21 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 (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/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/01/17 05:51:28 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/01/17 05:51:28 DEBUG : dir/file1: newRWFileHandle: 2022/01/17 05:51:28 DEBUG : dir/file1(0xc001439f00): openPending: 2022/01/17 05:51:28 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2022/01/17 05:51:28 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/01/17 05:51:28 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:51:28 DEBUG : dir/file1(0xc001439f00): >openPending: err= 2022/01/17 05:51:28 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/01/17 05:51:28 DEBUG : dir/file1: >newRWFileHandle: err= 2022/01/17 05:51:28 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/01/17 05:51:28 DEBUG : dir/file1(0xc001439f00): _writeAt: size=25, off=0 2022/01/17 05:51:28 DEBUG : dir/file1(0xc001439f00): >_writeAt: n=25, err= 2022/01/17 05:51:28 INFO : newLeaf: Deleted 2022/01/17 05:51:28 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/01/17 05:51:28 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/01/17 05:51:28 DEBUG : newLeaf: Updating file with newLeaf 0xc00026fec0 2022/01/17 05:51:28 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/01/17 05:51:28 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/01/17 05:51:28 DEBUG : newLeaf(0xc001439f00): close: 2022/01/17 05:51:28 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2022/01/17 05:51:28 DEBUG : newLeaf: vfs cache: setting modification time to 2022-01-17 05:51:28.021475474 +0000 UTC m=+239.275407654 2022/01/17 05:51:28 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2022/01/17 05:51:28 DEBUG : newLeaf(0xc001439f00): >close: err= 2022/01/17 05:51:28 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:51:28 DEBUG : dir: Looking for writers 2022/01/17 05:51:28 DEBUG : : Looking for writers 2022/01/17 05:51:28 DEBUG : dir: reading active writers 2022/01/17 05:51:28 DEBUG : newLeaf: reading active writers 2022/01/17 05:51:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/01/17 05:51:28 DEBUG : dir: Looking for writers 2022/01/17 05:51:28 DEBUG : : Looking for writers 2022/01/17 05:51:28 DEBUG : dir: reading active writers 2022/01/17 05:51:28 DEBUG : newLeaf: reading active writers 2022/01/17 05:51:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/01/17 05:51:28 DEBUG : dir: Looking for writers 2022/01/17 05:51:28 DEBUG : : Looking for writers 2022/01/17 05:51:28 DEBUG : dir: reading active writers 2022/01/17 05:51:28 DEBUG : newLeaf: reading active writers 2022/01/17 05:51:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/01/17 05:51:28 DEBUG : dir: Looking for writers 2022/01/17 05:51:28 DEBUG : : Looking for writers 2022/01/17 05:51:28 DEBUG : dir: reading active writers 2022/01/17 05:51:28 DEBUG : newLeaf: reading active writers 2022/01/17 05:51:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/01/17 05:51:28 DEBUG : newLeaf: vfs cache: starting upload 2022/01/17 05:51:28 DEBUG : dir: Looking for writers 2022/01/17 05:51:28 DEBUG : : Looking for writers 2022/01/17 05:51:28 DEBUG : dir: reading active writers 2022/01/17 05:51:28 DEBUG : newLeaf: reading active writers 2022/01/17 05:51:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/01/17 05:51:28 DEBUG : dir: Looking for writers 2022/01/17 05:51:28 DEBUG : : Looking for writers 2022/01/17 05:51:28 DEBUG : newLeaf: reading active writers 2022/01/17 05:51:28 DEBUG : dir: reading active writers 2022/01/17 05:51:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/01/17 05:51:28 DEBUG : dir: Looking for writers 2022/01/17 05:51:28 DEBUG : : Looking for writers 2022/01/17 05:51:28 DEBUG : dir: reading active writers 2022/01/17 05:51:28 DEBUG : newLeaf: reading active writers 2022/01/17 05:51:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/01/17 05:51:29 DEBUG : dir: Looking for writers 2022/01/17 05:51:29 DEBUG : : Looking for writers 2022/01/17 05:51:29 DEBUG : dir: reading active writers 2022/01/17 05:51:29 DEBUG : newLeaf: reading active writers 2022/01/17 05:51:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:51:30 INFO : newLeaf: Copied (replaced existing) 2022/01/17 05:51:30 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2022/01/17 05:51:30 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2022/01/17 05:51:30 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/01/17 05:51:30 INFO : newLeaf: vfs cache: upload succeeded try #1 2022/01/17 05:51:30 DEBUG : dir: Looking for writers 2022/01/17 05:51:30 DEBUG : : Looking for writers 2022/01/17 05:51:30 DEBUG : dir: reading active writers 2022/01/17 05:51:30 DEBUG : newLeaf: reading active writers 2022/01/17 05:51:30 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:293: Sleeping for 6s just to make sure 2022/01/17 05:51:37 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:51:37 DEBUG : dir: Looking for writers 2022/01/17 05:51:37 DEBUG : : Looking for writers 2022/01/17 05:51:37 DEBUG : dir: reading active writers 2022/01/17 05:51:37 DEBUG : newLeaf: reading active writers 2022/01/17 05:51:37 DEBUG : >WaitForWriters: 2022/01/17 05:51:37 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:51:38 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:51:38 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/01/17 05:51:38 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:51:38 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:51:38 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:51:38 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:51:38 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/01/17 05:51:39 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2022/01/17 05:51:39 DEBUG : dir/file1: newRWFileHandle: 2022/01/17 05:51:39 DEBUG : dir/file1(0xc00170af80): openPending: 2022/01/17 05:51:39 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2022/01/17 05:51:39 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/01/17 05:51:39 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:51:39 DEBUG : dir/file1(0xc00170af80): >openPending: err= 2022/01/17 05:51:39 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/01/17 05:51:39 DEBUG : dir/file1: >newRWFileHandle: err= 2022/01/17 05:51:39 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:51:39 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/01/17 05:51:39 DEBUG : dir/file1(0xc00170af80): _writeAt: size=14, off=0 2022/01/17 05:51:39 DEBUG : dir/file1(0xc00170af80): >_writeAt: n=14, err= 2022/01/17 05:51:39 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2022/01/17 05:51:39 DEBUG : dir/file1(0xc00170af80): close: 2022/01/17 05:51:39 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2022/01/17 05:51:39 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2022/01/17 05:51:39 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2022/01/17 05:51:39 DEBUG : dir/file1(0xc00170af80): >close: err= 2022/01/17 05:51:39 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:51:39 DEBUG : dir: Looking for writers 2022/01/17 05:51:39 DEBUG : file1: reading active writers 2022/01/17 05:51:39 DEBUG : : Looking for writers 2022/01/17 05:51:39 DEBUG : dir: reading active writers 2022/01/17 05:51:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/01/17 05:51:39 DEBUG : dir: Looking for writers 2022/01/17 05:51:39 DEBUG : file1: reading active writers 2022/01/17 05:51:39 DEBUG : : Looking for writers 2022/01/17 05:51:39 DEBUG : dir: reading active writers 2022/01/17 05:51:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/01/17 05:51:39 DEBUG : dir: Looking for writers 2022/01/17 05:51:39 DEBUG : file1: reading active writers 2022/01/17 05:51:39 DEBUG : : Looking for writers 2022/01/17 05:51:39 DEBUG : dir: reading active writers 2022/01/17 05:51:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/01/17 05:51:39 DEBUG : dir: Looking for writers 2022/01/17 05:51:39 DEBUG : file1: reading active writers 2022/01/17 05:51:39 DEBUG : : Looking for writers 2022/01/17 05:51:39 DEBUG : dir: reading active writers 2022/01/17 05:51:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/01/17 05:51:39 DEBUG : dir/file1: vfs cache: starting upload 2022/01/17 05:51:39 DEBUG : dir: Looking for writers 2022/01/17 05:51:39 DEBUG : file1: reading active writers 2022/01/17 05:51:39 DEBUG : : Looking for writers 2022/01/17 05:51:39 DEBUG : dir: reading active writers 2022/01/17 05:51:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/01/17 05:51:39 DEBUG : dir: Looking for writers 2022/01/17 05:51:39 DEBUG : file1: reading active writers 2022/01/17 05:51:39 DEBUG : : Looking for writers 2022/01/17 05:51:39 DEBUG : dir: reading active writers 2022/01/17 05:51:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/01/17 05:51:39 DEBUG : dir: Looking for writers 2022/01/17 05:51:39 DEBUG : file1: reading active writers 2022/01/17 05:51:39 DEBUG : : Looking for writers 2022/01/17 05:51:39 DEBUG : dir: reading active writers 2022/01/17 05:51:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/01/17 05:51:40 DEBUG : dir: Looking for writers 2022/01/17 05:51:40 DEBUG : file1: reading active writers 2022/01/17 05:51:40 DEBUG : : Looking for writers 2022/01/17 05:51:40 DEBUG : dir: reading active writers 2022/01/17 05:51:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:51:41 DEBUG : dir: Looking for writers 2022/01/17 05:51:41 DEBUG : file1: reading active writers 2022/01/17 05:51:41 DEBUG : : Looking for writers 2022/01/17 05:51:41 DEBUG : dir: reading active writers 2022/01/17 05:51:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:51:41 INFO : dir/file1: Copied (replaced existing) 2022/01/17 05:51:41 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2022/01/17 05:51:41 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2022/01/17 05:51:41 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:51:41 INFO : dir/file1: vfs cache: upload succeeded try #1 2022/01/17 05:51:42 DEBUG : dir: Looking for writers 2022/01/17 05:51:42 DEBUG : file1: reading active writers 2022/01/17 05:51:42 DEBUG : : Looking for writers 2022/01/17 05:51:42 DEBUG : dir: reading active writers 2022/01/17 05:51:42 DEBUG : >WaitForWriters: 2022/01/17 05:51:42 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/01/17 05:51:42 DEBUG : dir/file1: newRWFileHandle: 2022/01/17 05:51:42 DEBUG : dir/file1: >newRWFileHandle: err= 2022/01/17 05:51:42 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/01/17 05:51:42 DEBUG : dir/file1(0xc001676880): _readAt: size=512, off=0 2022/01/17 05:51:42 DEBUG : dir/file1(0xc001676880): openPending: 2022/01/17 05:51:42 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2022/01/17 05:51:42 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/01/17 05:51:42 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:51:42 DEBUG : dir/file1(0xc001676880): >openPending: err= 2022/01/17 05:51:42 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2022/01/17 05:51:42 DEBUG : dir/file1(0xc001676880): >_readAt: n=14, err=EOF 2022/01/17 05:51:42 DEBUG : dir/file1(0xc001676880): close: 2022/01/17 05:51:42 DEBUG : dir/file1: vfs cache: setting modification time to 2022-01-17 05:51:39 +0000 UTC 2022/01/17 05:51:42 DEBUG : dir/file1(0xc001676880): >close: err= 2022/01/17 05:51:56 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/01/17 05:51:56 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/01/17 05:51:56 DEBUG : newLeaf: Updating file with newLeaf 0xc0010a3200 2022/01/17 05:51:56 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/01/17 05:51:56 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/01/17 05:51:56 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/01/17 05:51:56 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2022/01/17 05:51:56 DEBUG : dir/file1: Updating file with dir/file1 0xc0010a3200 2022/01/17 05:51:56 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/01/17 05:51:56 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=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (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/writes,forceCache=true Messages: Unexpected file "dir/file1" 2022/01/17 05:52:03 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/01/17 05:52:03 DEBUG : dir/file1: newRWFileHandle: 2022/01/17 05:52:03 DEBUG : dir/file1(0xc00191b180): openPending: 2022/01/17 05:52:03 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2022/01/17 05:52:03 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/01/17 05:52:03 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:52:03 DEBUG : dir/file1(0xc00191b180): >openPending: err= 2022/01/17 05:52:03 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/01/17 05:52:03 DEBUG : dir/file1: >newRWFileHandle: err= 2022/01/17 05:52:03 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/01/17 05:52:03 DEBUG : dir/file1(0xc00191b180): _writeAt: size=25, off=0 2022/01/17 05:52:03 DEBUG : dir/file1(0xc00191b180): >_writeAt: n=25, err= 2022/01/17 05:52:07 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/01/17 05:52:07 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/01/17 05:52:07 DEBUG : newLeaf: Updating file with newLeaf 0xc0010a3200 2022/01/17 05:52:07 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/01/17 05:52:07 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/01/17 05:52:07 DEBUG : newLeaf(0xc00191b180): close: 2022/01/17 05:52:07 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2022/01/17 05:52:07 DEBUG : newLeaf: vfs cache: setting modification time to 2022-01-17 05:52:03.981058044 +0000 UTC m=+275.234990204 2022/01/17 05:52:07 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2022/01/17 05:52:07 DEBUG : newLeaf(0xc00191b180): >close: err= 2022/01/17 05:52:07 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:52:07 DEBUG : dir: Looking for writers 2022/01/17 05:52:07 DEBUG : : Looking for writers 2022/01/17 05:52:07 DEBUG : newLeaf: reading active writers 2022/01/17 05:52:07 DEBUG : dir: reading active writers 2022/01/17 05:52:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/01/17 05:52:07 DEBUG : dir: Looking for writers 2022/01/17 05:52:07 DEBUG : : Looking for writers 2022/01/17 05:52:07 DEBUG : dir: reading active writers 2022/01/17 05:52:07 DEBUG : newLeaf: reading active writers 2022/01/17 05:52:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/01/17 05:52:07 DEBUG : dir: Looking for writers 2022/01/17 05:52:07 DEBUG : : Looking for writers 2022/01/17 05:52:07 DEBUG : dir: reading active writers 2022/01/17 05:52:07 DEBUG : newLeaf: reading active writers 2022/01/17 05:52:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/01/17 05:52:07 DEBUG : dir: Looking for writers 2022/01/17 05:52:07 DEBUG : : Looking for writers 2022/01/17 05:52:07 DEBUG : dir: reading active writers 2022/01/17 05:52:07 DEBUG : newLeaf: reading active writers 2022/01/17 05:52:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/01/17 05:52:07 DEBUG : newLeaf: vfs cache: starting upload 2022/01/17 05:52:07 DEBUG : dir: Looking for writers 2022/01/17 05:52:07 DEBUG : : Looking for writers 2022/01/17 05:52:07 DEBUG : dir: reading active writers 2022/01/17 05:52:07 DEBUG : newLeaf: reading active writers 2022/01/17 05:52:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/01/17 05:52:07 DEBUG : dir: Looking for writers 2022/01/17 05:52:07 DEBUG : : Looking for writers 2022/01/17 05:52:07 DEBUG : dir: reading active writers 2022/01/17 05:52:07 DEBUG : newLeaf: reading active writers 2022/01/17 05:52:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/01/17 05:52:07 INFO : newLeaf: Copied (replaced existing) 2022/01/17 05:52:07 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2022/01/17 05:52:07 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2022/01/17 05:52:07 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/01/17 05:52:07 INFO : newLeaf: vfs cache: upload succeeded try #1 2022/01/17 05:52:07 DEBUG : dir: Looking for writers 2022/01/17 05:52:07 DEBUG : : Looking for writers 2022/01/17 05:52:07 DEBUG : dir: reading active writers 2022/01/17 05:52:07 DEBUG : newLeaf: reading active writers 2022/01/17 05:52:07 DEBUG : >WaitForWriters: 2022/01/17 05:52:07 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:52:07 DEBUG : dir: Looking for writers 2022/01/17 05:52:07 DEBUG : : Looking for writers 2022/01/17 05:52:07 DEBUG : dir: reading active writers 2022/01/17 05:52:07 DEBUG : newLeaf: reading active writers 2022/01/17 05:52:07 DEBUG : >WaitForWriters: 2022/01/17 05:52:07 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:52:08 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:52:08 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/01/17 05:52:08 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:52:08 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:52:08 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:52:08 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:52:08 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/01/17 05:52:12 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:52:12 DEBUG : dir: Looking for writers 2022/01/17 05:52:12 DEBUG : file1: reading active writers 2022/01/17 05:52:12 DEBUG : : Looking for writers 2022/01/17 05:52:12 DEBUG : dir: reading active writers 2022/01/17 05:52:12 DEBUG : >WaitForWriters: 2022/01/17 05:52:12 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/01/17 05:52:12 DEBUG : dir/file1: newRWFileHandle: 2022/01/17 05:52:12 DEBUG : dir/file1: >newRWFileHandle: err= 2022/01/17 05:52:12 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/01/17 05:52:12 DEBUG : dir/file1(0xc001a21b80): _readAt: size=512, off=0 2022/01/17 05:52:12 DEBUG : dir/file1(0xc001a21b80): openPending: 2022/01/17 05:52:12 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2022/01/17 05:52:12 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/01/17 05:52:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:52:12 DEBUG : dir/file1(0xc001a21b80): >openPending: err= 2022/01/17 05:52:12 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2022/01/17 05:52:12 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2022/01/17 05:52:12 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2022/01/17 05:52:12 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:52:13 DEBUG : dir/file1(0xc001a21b80): >_readAt: n=14, err=EOF 2022/01/17 05:52:13 DEBUG : dir/file1(0xc001a21b80): close: 2022/01/17 05:52:13 DEBUG : dir/file1: vfs cache: setting modification time to 2022-01-17 05:52:10 +0000 UTC 2022/01/17 05:52:13 DEBUG : dir/file1(0xc001a21b80): >close: err= 2022/01/17 05:52:13 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/01/17 05:52:13 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/01/17 05:52:13 DEBUG : newLeaf: Updating file with newLeaf 0xc0032ff680 2022/01/17 05:52:13 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/01/17 05:52:13 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/01/17 05:52:14 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/01/17 05:52:14 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2022/01/17 05:52:14 DEBUG : dir/file1: Updating file with dir/file1 0xc0032ff680 2022/01/17 05:52:14 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/01/17 05:52:14 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) 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/01/17 05:52:21 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/01/17 05:52:21 DEBUG : dir/file1: newRWFileHandle: 2022/01/17 05:52:21 DEBUG : dir/file1(0xc001b0b380): openPending: 2022/01/17 05:52:21 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2022/01/17 05:52:21 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/01/17 05:52:21 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:52:21 DEBUG : dir/file1(0xc001b0b380): >openPending: err= 2022/01/17 05:52:21 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/01/17 05:52:21 DEBUG : dir/file1: >newRWFileHandle: err= 2022/01/17 05:52:21 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/01/17 05:52:21 DEBUG : dir/file1(0xc001b0b380): _writeAt: size=25, off=0 2022/01/17 05:52:21 DEBUG : dir/file1(0xc001b0b380): >_writeAt: n=25, err= 2022/01/17 05:52:21 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/01/17 05:52:21 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/01/17 05:52:21 DEBUG : newLeaf: Updating file with newLeaf 0xc0032ff680 2022/01/17 05:52:21 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/01/17 05:52:21 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/01/17 05:52:21 DEBUG : newLeaf(0xc001b0b380): close: 2022/01/17 05:52:21 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2022/01/17 05:52:21 DEBUG : newLeaf: vfs cache: setting modification time to 2022-01-17 05:52:21.191621697 +0000 UTC m=+292.445553857 2022/01/17 05:52:21 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2022/01/17 05:52:21 DEBUG : newLeaf(0xc001b0b380): >close: err= 2022/01/17 05:52:21 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:52:21 DEBUG : dir: Looking for writers 2022/01/17 05:52:21 DEBUG : : Looking for writers 2022/01/17 05:52:21 DEBUG : newLeaf: reading active writers 2022/01/17 05:52:21 DEBUG : dir: reading active writers 2022/01/17 05:52:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/01/17 05:52:21 DEBUG : dir: Looking for writers 2022/01/17 05:52:21 DEBUG : : Looking for writers 2022/01/17 05:52:21 DEBUG : dir: reading active writers 2022/01/17 05:52:21 DEBUG : newLeaf: reading active writers 2022/01/17 05:52:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/01/17 05:52:21 DEBUG : dir: Looking for writers 2022/01/17 05:52:21 DEBUG : : Looking for writers 2022/01/17 05:52:21 DEBUG : dir: reading active writers 2022/01/17 05:52:21 DEBUG : newLeaf: reading active writers 2022/01/17 05:52:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/01/17 05:52:21 DEBUG : dir: Looking for writers 2022/01/17 05:52:21 DEBUG : : Looking for writers 2022/01/17 05:52:21 DEBUG : dir: reading active writers 2022/01/17 05:52:21 DEBUG : newLeaf: reading active writers 2022/01/17 05:52:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/01/17 05:52:21 DEBUG : newLeaf: vfs cache: starting upload 2022/01/17 05:52:21 DEBUG : dir: Looking for writers 2022/01/17 05:52:21 DEBUG : : Looking for writers 2022/01/17 05:52:21 DEBUG : dir: reading active writers 2022/01/17 05:52:21 DEBUG : newLeaf: reading active writers 2022/01/17 05:52:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/01/17 05:52:21 DEBUG : dir: Looking for writers 2022/01/17 05:52:21 DEBUG : : Looking for writers 2022/01/17 05:52:21 DEBUG : dir: reading active writers 2022/01/17 05:52:21 DEBUG : newLeaf: reading active writers 2022/01/17 05:52:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/01/17 05:52:22 DEBUG : dir: Looking for writers 2022/01/17 05:52:22 DEBUG : : Looking for writers 2022/01/17 05:52:22 DEBUG : dir: reading active writers 2022/01/17 05:52:22 DEBUG : newLeaf: reading active writers 2022/01/17 05:52:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/01/17 05:52:22 INFO : newLeaf: Copied (replaced existing) 2022/01/17 05:52:22 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2022/01/17 05:52:22 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2022/01/17 05:52:22 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/01/17 05:52:22 INFO : newLeaf: vfs cache: upload succeeded try #1 2022/01/17 05:52:22 DEBUG : dir: Looking for writers 2022/01/17 05:52:22 DEBUG : : Looking for writers 2022/01/17 05:52:22 DEBUG : newLeaf: reading active writers 2022/01/17 05:52:22 DEBUG : dir: reading active writers 2022/01/17 05:52:22 DEBUG : >WaitForWriters: 2022/01/17 05:52:22 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:52:22 DEBUG : dir: Looking for writers 2022/01/17 05:52:22 DEBUG : : Looking for writers 2022/01/17 05:52:22 DEBUG : dir: reading active writers 2022/01/17 05:52:22 DEBUG : newLeaf: reading active writers 2022/01/17 05:52:22 DEBUG : >WaitForWriters: 2022/01/17 05:52:22 DEBUG : vfs cache: cleaner exiting --- FAIL: TestFileRename (120.57s) --- FAIL: TestFileRename/off,forceCache=false (18.60s) --- FAIL: TestFileRename/minimal,forceCache=false (18.02s) --- FAIL: TestFileRename/minimal,forceCache=true (12.65s) --- FAIL: TestFileRename/writes,forceCache=false (26.52s) --- FAIL: TestFileRename/writes,forceCache=true (30.07s) --- FAIL: TestFileRename/full,forceCache=false (14.72s) === RUN TestRcGetVFS run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:52:23 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:52:23 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:52:23 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:52:23 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:52:23 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:52:23 DEBUG : : Looking for writers 2022/01/17 05:52:23 DEBUG : >WaitForWriters: --- PASS: TestRcGetVFS (0.00s) === RUN TestReadFileHandleMethods run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:52:23 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:52:23 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:52:25 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:52:25 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/01/17 05:52:25 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2022/01/17 05:52:25 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2022/01/17 05:52:25 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:52:25 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2022/01/17 05:52:25 DEBUG : dir/file1: ChunkedReader.Read at 1 length 256 chunkOffset 0 chunkSize 134217728 2022/01/17 05:52:25 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:52:25 DEBUG : dir: Looking for writers 2022/01/17 05:52:25 DEBUG : file1: reading active writers 2022/01/17 05:52:25 DEBUG : : Looking for writers 2022/01/17 05:52:25 DEBUG : dir: reading active writers 2022/01/17 05:52:25 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleMethods (4.58s) === RUN TestReadFileHandleSeek run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:52:27 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:52:27 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:52:28 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:52:28 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/01/17 05:52:28 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2022/01/17 05:52:28 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2022/01/17 05:52:28 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:52:28 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2022/01/17 05:52:29 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2022/01/17 05:52:29 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2022/01/17 05:52:29 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2022/01/17 05:52:29 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2022/01/17 05:52:29 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2022/01/17 05:52:29 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2022/01/17 05:52:29 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2022/01/17 05:52:29 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2022/01/17 05:52:29 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2022/01/17 05:52:29 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2022/01/17 05:52:29 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2022/01/17 05:52:32 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2022/01/17 05:52:32 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2022/01/17 05:52:32 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2022/01/17 05:52:32 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2022/01/17 05:52:33 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:52:33 DEBUG : dir: Looking for writers 2022/01/17 05:52:33 DEBUG : file1: reading active writers 2022/01/17 05:52:33 DEBUG : : Looking for writers 2022/01/17 05:52:33 DEBUG : dir: reading active writers 2022/01/17 05:52:33 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleSeek (6.11s) === RUN TestReadFileHandleReadAt run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:52:34 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:52:34 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:52:36 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:52:36 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/01/17 05:52:36 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2022/01/17 05:52:36 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2022/01/17 05:52:36 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:52:36 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2022/01/17 05:52:37 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2022/01/17 05:52:37 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2022/01/17 05:52:37 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2022/01/17 05:52:37 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2022/01/17 05:52:37 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2022/01/17 05:52:37 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2022/01/17 05:52:37 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2022/01/17 05:52:38 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2022/01/17 05:52:38 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2022/01/17 05:52:38 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2022/01/17 05:52:38 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2022/01/17 05:52:38 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2022/01/17 05:52:38 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2022/01/17 05:52:38 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2022/01/17 05:52:38 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2022/01/17 05:52:38 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2022/01/17 05:52:38 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2022/01/17 05:52:38 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2022/01/17 05:52:39 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2022/01/17 05:52:39 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2022/01/17 05:52:39 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2022/01/17 05:52:39 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2022/01/17 05:52:40 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2022/01/17 05:52:40 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2022/01/17 05:52:40 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2022/01/17 05:52:40 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2022/01/17 05:52:40 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2022/01/17 05:52:40 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2022/01/17 05:52:40 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2022/01/17 05:52:40 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2022/01/17 05:52:40 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:52:40 DEBUG : dir: Looking for writers 2022/01/17 05:52:40 DEBUG : file1: reading active writers 2022/01/17 05:52:40 DEBUG : : Looking for writers 2022/01/17 05:52:40 DEBUG : dir: reading active writers 2022/01/17 05:52:40 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (6.35s) === RUN TestReadFileHandleFlush run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:52:40 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:52:40 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:52:41 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:52:41 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/01/17 05:52:41 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2022/01/17 05:52:41 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2022/01/17 05:52:41 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:52:41 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2022/01/17 05:52:42 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:52:42 DEBUG : dir: Looking for writers 2022/01/17 05:52:42 DEBUG : file1: reading active writers 2022/01/17 05:52:42 DEBUG : : Looking for writers 2022/01/17 05:52:42 DEBUG : dir: reading active writers 2022/01/17 05:52:42 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleFlush (3.97s) === RUN TestReadFileHandleRelease run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:52:44 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:52:44 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:52:45 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:52:45 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/01/17 05:52:45 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2022/01/17 05:52:45 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2022/01/17 05:52:45 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:52:45 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2022/01/17 05:52:46 DEBUG : dir/file1: ReadFileHandle.Release closing 2022/01/17 05:52:46 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2022/01/17 05:52:46 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:52:46 DEBUG : dir: Looking for writers 2022/01/17 05:52:46 DEBUG : file1: reading active writers 2022/01/17 05:52:46 DEBUG : : Looking for writers 2022/01/17 05:52:46 DEBUG : dir: reading active writers 2022/01/17 05:52:46 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleRelease (2.48s) === RUN TestRWFileHandleMethodsRead run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:52:46 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:52:46 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/01/17 05:52:46 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:52:46 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:52:46 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:52:46 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:52:46 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/01/17 05:52:50 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:52:50 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/01/17 05:52:50 DEBUG : dir/file1: newRWFileHandle: 2022/01/17 05:52:50 DEBUG : dir/file1: >newRWFileHandle: err= 2022/01/17 05:52:50 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/01/17 05:52:50 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2022/01/17 05:52:50 DEBUG : dir/file1(0xc0013a14c0): _readAt: size=1, off=0 2022/01/17 05:52:50 DEBUG : dir/file1(0xc0013a14c0): openPending: 2022/01/17 05:52:50 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2022/01/17 05:52:50 DEBUG : dir/file1: vfs cache: truncate to size=16 2022/01/17 05:52:50 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:52:50 DEBUG : dir/file1(0xc0013a14c0): >openPending: err= 2022/01/17 05:52:50 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2022/01/17 05:52:50 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2022/01/17 05:52:50 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2022/01/17 05:52:50 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:52:50 DEBUG : dir/file1(0xc0013a14c0): >_readAt: n=1, err= 2022/01/17 05:52:50 DEBUG : dir/file1(0xc0013a14c0): _readAt: size=256, off=1 2022/01/17 05:52:50 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2022/01/17 05:52:50 DEBUG : dir/file1(0xc0013a14c0): >_readAt: n=15, err=EOF 2022/01/17 05:52:50 DEBUG : dir/file1(0xc0013a14c0): _readAt: size=16, off=16 2022/01/17 05:52:50 DEBUG : dir/file1(0xc0013a14c0): >_readAt: n=0, err=EOF 2022/01/17 05:52:50 DEBUG : dir/file1(0xc0013a14c0): close: 2022/01/17 05:52:50 DEBUG : dir/file1: vfs cache: setting modification time to 2022-01-17 05:52:50 +0000 UTC 2022/01/17 05:52:50 DEBUG : dir/file1(0xc0013a14c0): >close: err= 2022/01/17 05:52:50 DEBUG : dir/file1(0xc0013a14c0): close: 2022/01/17 05:52:50 DEBUG : dir/file1(0xc0013a14c0): >close: err=file already closed 2022/01/17 05:52:50 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:52:50 DEBUG : dir: Looking for writers 2022/01/17 05:52:50 DEBUG : file1: reading active writers 2022/01/17 05:52:50 DEBUG : : Looking for writers 2022/01/17 05:52:50 DEBUG : dir: reading active writers 2022/01/17 05:52:50 DEBUG : >WaitForWriters: 2022/01/17 05:52:50 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsRead (6.59s) === RUN TestRWFileHandleSeek run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:52:53 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:52:53 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/01/17 05:52:53 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:52:53 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:52:53 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:52:53 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:52:53 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/01/17 05:52:57 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:52:57 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/01/17 05:52:57 DEBUG : dir/file1: newRWFileHandle: 2022/01/17 05:52:57 DEBUG : dir/file1: >newRWFileHandle: err= 2022/01/17 05:52:57 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/01/17 05:52:57 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2022/01/17 05:52:57 DEBUG : dir/file1(0xc001676ec0): _readAt: size=1, off=0 2022/01/17 05:52:57 DEBUG : dir/file1(0xc001676ec0): openPending: 2022/01/17 05:52:57 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2022/01/17 05:52:57 DEBUG : dir/file1: vfs cache: truncate to size=16 2022/01/17 05:52:57 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:52:57 DEBUG : dir/file1(0xc001676ec0): >openPending: err= 2022/01/17 05:52:57 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2022/01/17 05:52:57 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2022/01/17 05:52:57 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2022/01/17 05:52:57 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:52:58 DEBUG : dir/file1(0xc001676ec0): >_readAt: n=1, err= 2022/01/17 05:52:58 DEBUG : dir/file1(0xc001676ec0): _readAt: size=1, off=5 2022/01/17 05:52:58 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2022/01/17 05:52:58 DEBUG : dir/file1(0xc001676ec0): >_readAt: n=1, err= 2022/01/17 05:52:58 DEBUG : dir/file1(0xc001676ec0): _readAt: size=1, off=3 2022/01/17 05:52:58 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2022/01/17 05:52:58 DEBUG : dir/file1(0xc001676ec0): >_readAt: n=1, err= 2022/01/17 05:52:58 DEBUG : dir/file1(0xc001676ec0): _readAt: size=1, off=13 2022/01/17 05:52:58 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2022/01/17 05:52:58 DEBUG : dir/file1(0xc001676ec0): >_readAt: n=1, err= 2022/01/17 05:52:58 DEBUG : dir/file1(0xc001676ec0): _readAt: size=16, off=100 2022/01/17 05:52:58 DEBUG : dir/file1(0xc001676ec0): >_readAt: n=0, err=EOF 2022/01/17 05:52:58 DEBUG : dir/file1(0xc001676ec0): close: 2022/01/17 05:52:58 DEBUG : dir/file1: vfs cache: setting modification time to 2022-01-17 05:52:55 +0000 UTC 2022/01/17 05:52:58 DEBUG : dir/file1(0xc001676ec0): >close: err= 2022/01/17 05:52:58 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:52:58 DEBUG : dir: Looking for writers 2022/01/17 05:52:58 DEBUG : file1: reading active writers 2022/01/17 05:52:58 DEBUG : : Looking for writers 2022/01/17 05:52:58 DEBUG : dir: reading active writers 2022/01/17 05:52:58 DEBUG : >WaitForWriters: 2022/01/17 05:52:58 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleSeek (4.92s) === RUN TestRWFileHandleReadAt run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:52:58 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:52:58 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/01/17 05:52:58 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:52:58 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:52:58 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:52:58 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:52:58 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/01/17 05:53:00 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:53:00 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/01/17 05:53:00 DEBUG : dir/file1: newRWFileHandle: 2022/01/17 05:53:00 DEBUG : dir/file1: >newRWFileHandle: err= 2022/01/17 05:53:00 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/01/17 05:53:00 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2022/01/17 05:53:00 DEBUG : dir/file1(0xc001a20200): _readAt: size=1, off=0 2022/01/17 05:53:00 DEBUG : dir/file1(0xc001a20200): openPending: 2022/01/17 05:53:00 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2022/01/17 05:53:00 DEBUG : dir/file1: vfs cache: truncate to size=16 2022/01/17 05:53:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:00 DEBUG : dir/file1(0xc001a20200): >openPending: err= 2022/01/17 05:53:00 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2022/01/17 05:53:00 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2022/01/17 05:53:00 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2022/01/17 05:53:00 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:53:01 DEBUG : dir/file1(0xc001a20200): >_readAt: n=1, err= 2022/01/17 05:53:01 DEBUG : dir/file1(0xc001a20200): _readAt: size=1, off=5 2022/01/17 05:53:01 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2022/01/17 05:53:01 DEBUG : dir/file1(0xc001a20200): >_readAt: n=1, err= 2022/01/17 05:53:01 DEBUG : dir/file1(0xc001a20200): _readAt: size=1, off=1 2022/01/17 05:53:01 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2022/01/17 05:53:01 DEBUG : dir/file1(0xc001a20200): >_readAt: n=1, err= 2022/01/17 05:53:01 DEBUG : dir/file1(0xc001a20200): _readAt: size=6, off=10 2022/01/17 05:53:01 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2022/01/17 05:53:01 DEBUG : dir/file1(0xc001a20200): >_readAt: n=6, err= 2022/01/17 05:53:01 DEBUG : dir/file1(0xc001a20200): _readAt: size=256, off=10 2022/01/17 05:53:01 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2022/01/17 05:53:01 DEBUG : dir/file1(0xc001a20200): >_readAt: n=6, err=EOF 2022/01/17 05:53:01 DEBUG : dir/file1(0xc001a20200): _readAt: size=256, off=100 2022/01/17 05:53:01 DEBUG : dir/file1(0xc001a20200): >_readAt: n=0, err=EOF 2022/01/17 05:53:01 DEBUG : dir/file1(0xc001a20200): close: 2022/01/17 05:53:01 DEBUG : dir/file1: vfs cache: setting modification time to 2022-01-17 05:53:00 +0000 UTC 2022/01/17 05:53:01 DEBUG : dir/file1(0xc001a20200): >close: err= 2022/01/17 05:53:01 DEBUG : dir/file1(0xc001a20200): _readAt: size=256, off=100 2022/01/17 05:53:01 DEBUG : dir/file1(0xc001a20200): >_readAt: n=0, err=file already closed 2022/01/17 05:53:01 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:53:01 DEBUG : dir: Looking for writers 2022/01/17 05:53:01 DEBUG : file1: reading active writers 2022/01/17 05:53:01 DEBUG : : Looking for writers 2022/01/17 05:53:01 DEBUG : dir: reading active writers 2022/01/17 05:53:01 DEBUG : >WaitForWriters: 2022/01/17 05:53:01 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleReadAt (3.43s) === RUN TestRWFileHandleFlushRead run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:53:01 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:53:01 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/01/17 05:53:01 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:01 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:01 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:01 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:01 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/01/17 05:53:02 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:53:02 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/01/17 05:53:02 DEBUG : dir/file1: newRWFileHandle: 2022/01/17 05:53:02 DEBUG : dir/file1: >newRWFileHandle: err= 2022/01/17 05:53:02 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/01/17 05:53:02 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2022/01/17 05:53:02 DEBUG : dir/file1(0xc001a20bc0): RWFileHandle.Flush 2022/01/17 05:53:02 DEBUG : dir/file1(0xc001a20bc0): _readAt: size=256, off=0 2022/01/17 05:53:02 DEBUG : dir/file1(0xc001a20bc0): openPending: 2022/01/17 05:53:02 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2022/01/17 05:53:02 DEBUG : dir/file1: vfs cache: truncate to size=16 2022/01/17 05:53:02 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:02 DEBUG : dir/file1(0xc001a20bc0): >openPending: err= 2022/01/17 05:53:02 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2022/01/17 05:53:02 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2022/01/17 05:53:02 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2022/01/17 05:53:02 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:53:03 DEBUG : dir/file1(0xc001a20bc0): >_readAt: n=16, err=EOF 2022/01/17 05:53:03 DEBUG : dir/file1(0xc001a20bc0): RWFileHandle.Flush 2022/01/17 05:53:03 DEBUG : dir/file1(0xc001a20bc0): RWFileHandle.Flush 2022/01/17 05:53:03 DEBUG : dir/file1(0xc001a20bc0): close: 2022/01/17 05:53:03 DEBUG : dir/file1: vfs cache: setting modification time to 2022-01-17 05:53:02 +0000 UTC 2022/01/17 05:53:03 DEBUG : dir/file1(0xc001a20bc0): >close: err= 2022/01/17 05:53:03 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:53:03 DEBUG : dir: Looking for writers 2022/01/17 05:53:03 DEBUG : file1: reading active writers 2022/01/17 05:53:03 DEBUG : : Looking for writers 2022/01/17 05:53:03 DEBUG : dir: reading active writers 2022/01/17 05:53:03 DEBUG : >WaitForWriters: 2022/01/17 05:53:03 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushRead (1.64s) === RUN TestRWFileHandleReleaseRead run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:53:03 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:53:03 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/01/17 05:53:03 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:03 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:03 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:03 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:03 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/01/17 05:53:04 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:53:04 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/01/17 05:53:04 DEBUG : dir/file1: newRWFileHandle: 2022/01/17 05:53:04 DEBUG : dir/file1: >newRWFileHandle: err= 2022/01/17 05:53:04 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/01/17 05:53:04 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2022/01/17 05:53:04 DEBUG : dir/file1(0xc0008465c0): _readAt: size=256, off=0 2022/01/17 05:53:04 DEBUG : dir/file1(0xc0008465c0): openPending: 2022/01/17 05:53:04 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2022/01/17 05:53:04 DEBUG : dir/file1: vfs cache: truncate to size=16 2022/01/17 05:53:04 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:04 DEBUG : dir/file1(0xc0008465c0): >openPending: err= 2022/01/17 05:53:04 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2022/01/17 05:53:04 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2022/01/17 05:53:04 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2022/01/17 05:53:04 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:53:05 DEBUG : dir/file1(0xc0008465c0): >_readAt: n=16, err=EOF 2022/01/17 05:53:05 DEBUG : dir/file1(0xc0008465c0): RWFileHandle.Release 2022/01/17 05:53:05 DEBUG : dir/file1(0xc0008465c0): close: 2022/01/17 05:53:05 DEBUG : dir/file1: vfs cache: setting modification time to 2022-01-17 05:53:04 +0000 UTC 2022/01/17 05:53:05 DEBUG : dir/file1(0xc0008465c0): >close: err= 2022/01/17 05:53:05 DEBUG : dir/file1(0xc0008465c0): RWFileHandle.Release 2022/01/17 05:53:05 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:53:05 DEBUG : dir: Looking for writers 2022/01/17 05:53:05 DEBUG : file1: reading active writers 2022/01/17 05:53:05 DEBUG : : Looking for writers 2022/01/17 05:53:05 DEBUG : dir: reading active writers 2022/01/17 05:53:05 DEBUG : >WaitForWriters: 2022/01/17 05:53:05 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseRead (3.55s) === RUN TestRWFileHandleMethodsWrite run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:53:06 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:53:06 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/01/17 05:53:06 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:06 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:06 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:06 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:06 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/01/17 05:53:06 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/01/17 05:53:06 DEBUG : file1: newRWFileHandle: 2022/01/17 05:53:06 DEBUG : file1(0xc0007c1380): openPending: 2022/01/17 05:53:06 DEBUG : file1: vfs cache: truncate to size=0 2022/01/17 05:53:06 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:06 DEBUG : file1(0xc0007c1380): >openPending: err= 2022/01/17 05:53:06 DEBUG : file1: >newRWFileHandle: err= 2022/01/17 05:53:06 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:06 DEBUG : file1: >Open: fd=file1 (rw), err= 2022/01/17 05:53:06 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2022/01/17 05:53:06 DEBUG : file1(0xc0007c1380): _writeAt: size=5, off=0 2022/01/17 05:53:06 DEBUG : file1(0xc0007c1380): >_writeAt: n=5, err= 2022/01/17 05:53:06 DEBUG : file1(0xc0007c1380): _writeAt: size=7, off=5 2022/01/17 05:53:06 DEBUG : file1(0xc0007c1380): >_writeAt: n=7, err= 2022/01/17 05:53:06 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2022/01/17 05:53:06 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 12 (was 12) 2022/01/17 05:53:06 DEBUG : file1: vfs cache: truncate to size=11 2022/01/17 05:53:06 DEBUG : file1(0xc0007c1380): close: 2022/01/17 05:53:06 DEBUG : file1: vfs cache: setting modification time to 2022-01-17 05:53:06.98984273 +0000 UTC m=+338.243774880 2022/01/17 05:53:06 INFO : file1: vfs cache: queuing for upload in 100ms 2022/01/17 05:53:06 DEBUG : file1(0xc0007c1380): >close: err= 2022/01/17 05:53:06 DEBUG : file1(0xc0007c1380): close: 2022/01/17 05:53:06 DEBUG : file1(0xc0007c1380): >close: err=file already closed 2022/01/17 05:53:06 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:53:06 DEBUG : : Looking for writers 2022/01/17 05:53:06 DEBUG : file1: reading active writers 2022/01/17 05:53:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/01/17 05:53:07 DEBUG : : Looking for writers 2022/01/17 05:53:07 DEBUG : file1: reading active writers 2022/01/17 05:53:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/01/17 05:53:07 DEBUG : : Looking for writers 2022/01/17 05:53:07 DEBUG : file1: reading active writers 2022/01/17 05:53:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/01/17 05:53:07 DEBUG : : Looking for writers 2022/01/17 05:53:07 DEBUG : file1: reading active writers 2022/01/17 05:53:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/01/17 05:53:07 DEBUG : file1: vfs cache: starting upload 2022/01/17 05:53:07 DEBUG : : Looking for writers 2022/01/17 05:53:07 DEBUG : file1: reading active writers 2022/01/17 05:53:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/01/17 05:53:07 DEBUG : : Looking for writers 2022/01/17 05:53:07 DEBUG : file1: reading active writers 2022/01/17 05:53:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/01/17 05:53:07 INFO : file1: Copied (new) 2022/01/17 05:53:07 DEBUG : file1: vfs cache: fingerprint now "11" 2022/01/17 05:53:07 DEBUG : file1: vfs cache: writeback object to VFS layer 2022/01/17 05:53:07 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:07 INFO : file1: vfs cache: upload succeeded try #1 2022/01/17 05:53:07 DEBUG : : Looking for writers 2022/01/17 05:53:07 DEBUG : file1: reading active writers 2022/01/17 05:53:07 DEBUG : >WaitForWriters: 2022/01/17 05:53:07 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:53:07 DEBUG : : Looking for writers 2022/01/17 05:53:07 DEBUG : file1: reading active writers 2022/01/17 05:53:07 DEBUG : >WaitForWriters: 2022/01/17 05:53:07 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsWrite (1.19s) === RUN TestRWFileHandleWriteAt run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:53:08 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:53:08 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/01/17 05:53:08 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:08 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:08 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:08 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:08 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/01/17 05:53:08 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/01/17 05:53:08 DEBUG : file1: newRWFileHandle: 2022/01/17 05:53:08 DEBUG : file1(0xc0007c1a40): openPending: 2022/01/17 05:53:08 DEBUG : file1: vfs cache: truncate to size=0 2022/01/17 05:53:08 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:08 DEBUG : file1(0xc0007c1a40): >openPending: err= 2022/01/17 05:53:08 DEBUG : file1: >newRWFileHandle: err= 2022/01/17 05:53:08 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:08 DEBUG : file1: >Open: fd=file1 (rw), err= 2022/01/17 05:53:08 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2022/01/17 05:53:08 DEBUG : file1(0xc0007c1a40): _writeAt: size=7, off=0 2022/01/17 05:53:08 DEBUG : file1(0xc0007c1a40): >_writeAt: n=7, err= 2022/01/17 05:53:08 DEBUG : file1(0xc0007c1a40): _writeAt: size=6, off=5 2022/01/17 05:53:08 DEBUG : file1(0xc0007c1a40): >_writeAt: n=6, err= 2022/01/17 05:53:08 DEBUG : file1(0xc0007c1a40): close: 2022/01/17 05:53:08 DEBUG : file1: vfs cache: setting modification time to 2022-01-17 05:53:08.175279424 +0000 UTC m=+339.429211594 2022/01/17 05:53:08 INFO : file1: vfs cache: queuing for upload in 100ms 2022/01/17 05:53:08 DEBUG : file1(0xc0007c1a40): >close: err= 2022/01/17 05:53:08 DEBUG : file1(0xc0007c1a40): _writeAt: size=5, off=0 2022/01/17 05:53:08 DEBUG : file1(0xc0007c1a40): >_writeAt: n=0, err=file already closed 2022/01/17 05:53:08 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2022/01/17 05:53:08 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2022/01/17 05:53:08 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:53:08 DEBUG : : Looking for writers 2022/01/17 05:53:08 DEBUG : file1: reading active writers 2022/01/17 05:53:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/01/17 05:53:08 DEBUG : : Looking for writers 2022/01/17 05:53:08 DEBUG : file1: reading active writers 2022/01/17 05:53:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/01/17 05:53:08 DEBUG : : Looking for writers 2022/01/17 05:53:08 DEBUG : file1: reading active writers 2022/01/17 05:53:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/01/17 05:53:08 DEBUG : : Looking for writers 2022/01/17 05:53:08 DEBUG : file1: reading active writers 2022/01/17 05:53:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/01/17 05:53:08 DEBUG : file1: vfs cache: starting upload 2022/01/17 05:53:08 DEBUG : : Looking for writers 2022/01/17 05:53:08 DEBUG : file1: reading active writers 2022/01/17 05:53:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/01/17 05:53:08 DEBUG : : Looking for writers 2022/01/17 05:53:08 DEBUG : file1: reading active writers 2022/01/17 05:53:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/01/17 05:53:08 INFO : file1: Copied (new) 2022/01/17 05:53:08 DEBUG : file1: vfs cache: fingerprint now "11" 2022/01/17 05:53:08 DEBUG : file1: vfs cache: writeback object to VFS layer 2022/01/17 05:53:08 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:08 INFO : file1: vfs cache: upload succeeded try #1 2022/01/17 05:53:08 DEBUG : : Looking for writers 2022/01/17 05:53:08 DEBUG : file1: reading active writers 2022/01/17 05:53:08 DEBUG : >WaitForWriters: 2022/01/17 05:53:08 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:53:08 DEBUG : : Looking for writers 2022/01/17 05:53:08 DEBUG : file1: reading active writers 2022/01/17 05:53:08 DEBUG : >WaitForWriters: 2022/01/17 05:53:08 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleWriteAt (0.70s) === RUN TestRWFileHandleWriteNoWrite run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:53:08 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:53:08 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/01/17 05:53:08 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:08 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:08 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:08 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:08 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/01/17 05:53:08 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/01/17 05:53:08 DEBUG : file1: newRWFileHandle: 2022/01/17 05:53:08 DEBUG : file1(0xc000847740): openPending: 2022/01/17 05:53:08 DEBUG : file1: vfs cache: truncate to size=0 2022/01/17 05:53:08 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:08 DEBUG : file1(0xc000847740): >openPending: err= 2022/01/17 05:53:08 DEBUG : file1: >newRWFileHandle: err= 2022/01/17 05:53:08 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:08 DEBUG : file1: >Open: fd=file1 (rw), err= 2022/01/17 05:53:08 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2022/01/17 05:53:08 DEBUG : file1(0xc000847740): close: 2022/01/17 05:53:08 DEBUG : file1: vfs cache: setting modification time to 2022-01-17 05:53:08.872203948 +0000 UTC m=+340.126136097 2022/01/17 05:53:08 INFO : file1: vfs cache: queuing for upload in 100ms 2022/01/17 05:53:08 DEBUG : file1(0xc000847740): >close: err= 2022/01/17 05:53:08 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2022/01/17 05:53:08 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2022/01/17 05:53:08 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2022/01/17 05:53:08 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 0 (was 0) 2022/01/17 05:53:08 DEBUG : file2: newRWFileHandle: 2022/01/17 05:53:08 DEBUG : file2(0xc000847840): openPending: 2022/01/17 05:53:08 DEBUG : file2: vfs cache: truncate to size=0 2022/01/17 05:53:08 DEBUG : : Added virtual directory entry vAddFile: "file2" 2022/01/17 05:53:08 DEBUG : file2(0xc000847840): >openPending: err= 2022/01/17 05:53:08 DEBUG : file2: >newRWFileHandle: err= 2022/01/17 05:53:08 DEBUG : : Added virtual directory entry vAddFile: "file2" 2022/01/17 05:53:08 DEBUG : file2: >Open: fd=file2 (rw), err= 2022/01/17 05:53:08 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2022/01/17 05:53:08 DEBUG : file2(0xc000847840): RWFileHandle.Flush 2022/01/17 05:53:08 DEBUG : file2(0xc000847840): RWFileHandle.Release 2022/01/17 05:53:08 DEBUG : file2(0xc000847840): close: 2022/01/17 05:53:08 DEBUG : file2: vfs cache: setting modification time to 2022-01-17 05:53:08.872727217 +0000 UTC m=+340.126659367 2022/01/17 05:53:08 INFO : file2: vfs cache: queuing for upload in 100ms 2022/01/17 05:53:08 DEBUG : file2(0xc000847840): >close: err= 2022/01/17 05:53:08 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:53:08 DEBUG : : Looking for writers 2022/01/17 05:53:08 DEBUG : file1: reading active writers 2022/01/17 05:53:08 DEBUG : file2: reading active writers 2022/01/17 05:53:08 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2022/01/17 05:53:08 DEBUG : : Looking for writers 2022/01/17 05:53:08 DEBUG : file1: reading active writers 2022/01/17 05:53:08 DEBUG : file2: reading active writers 2022/01/17 05:53:08 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2022/01/17 05:53:08 DEBUG : : Looking for writers 2022/01/17 05:53:08 DEBUG : file1: reading active writers 2022/01/17 05:53:08 DEBUG : file2: reading active writers 2022/01/17 05:53:08 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2022/01/17 05:53:08 DEBUG : : Looking for writers 2022/01/17 05:53:08 DEBUG : file1: reading active writers 2022/01/17 05:53:08 DEBUG : file2: reading active writers 2022/01/17 05:53:08 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2022/01/17 05:53:08 DEBUG : file1: vfs cache: starting upload 2022/01/17 05:53:08 DEBUG : file2: vfs cache: starting upload 2022/01/17 05:53:09 DEBUG : : Looking for writers 2022/01/17 05:53:09 DEBUG : file2: reading active writers 2022/01/17 05:53:09 DEBUG : file1: reading active writers 2022/01/17 05:53:09 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2022/01/17 05:53:09 DEBUG : : Looking for writers 2022/01/17 05:53:09 DEBUG : file1: reading active writers 2022/01/17 05:53:09 DEBUG : file2: reading active writers 2022/01/17 05:53:09 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2022/01/17 05:53:09 INFO : file1: Copied (new) 2022/01/17 05:53:09 DEBUG : file1: vfs cache: fingerprint now "0" 2022/01/17 05:53:09 DEBUG : file1: vfs cache: writeback object to VFS layer 2022/01/17 05:53:09 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:09 INFO : file1: vfs cache: upload succeeded try #1 2022/01/17 05:53:09 DEBUG : : Looking for writers 2022/01/17 05:53:09 DEBUG : file1: reading active writers 2022/01/17 05:53:09 DEBUG : file2: reading active writers 2022/01/17 05:53:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/01/17 05:53:09 INFO : file2: Copied (new) 2022/01/17 05:53:09 DEBUG : file2: vfs cache: fingerprint now "0" 2022/01/17 05:53:09 DEBUG : file2: vfs cache: writeback object to VFS layer 2022/01/17 05:53:09 DEBUG : : Added virtual directory entry vAddFile: "file2" 2022/01/17 05:53:09 INFO : file2: vfs cache: upload succeeded try #1 2022/01/17 05:53:10 DEBUG : : Looking for writers 2022/01/17 05:53:10 DEBUG : file1: reading active writers 2022/01/17 05:53:10 DEBUG : file2: reading active writers 2022/01/17 05:53:10 DEBUG : >WaitForWriters: 2022/01/17 05:53:10 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:53:10 DEBUG : : Looking for writers 2022/01/17 05:53:10 DEBUG : file1: reading active writers 2022/01/17 05:53:10 DEBUG : file2: reading active writers 2022/01/17 05:53:10 DEBUG : >WaitForWriters: 2022/01/17 05:53:10 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleWriteNoWrite (1.89s) === RUN TestRWFileHandleFlushWrite run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:53:10 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:53:10 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/01/17 05:53:10 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:10 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:10 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:10 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:10 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/01/17 05:53:10 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/01/17 05:53:10 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/01/17 05:53:10 DEBUG : file1: newRWFileHandle: 2022/01/17 05:53:10 DEBUG : file1(0xc001a21e00): openPending: 2022/01/17 05:53:10 DEBUG : file1: vfs cache: truncate to size=0 2022/01/17 05:53:10 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:10 DEBUG : file1(0xc001a21e00): >openPending: err= 2022/01/17 05:53:10 DEBUG : file1: >newRWFileHandle: err= 2022/01/17 05:53:10 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:10 DEBUG : file1: >Open: fd=file1 (rw), err= 2022/01/17 05:53:10 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2022/01/17 05:53:10 DEBUG : file1(0xc001a21e00): _writeAt: size=5, off=0 2022/01/17 05:53:10 DEBUG : file1(0xc001a21e00): >_writeAt: n=5, err= 2022/01/17 05:53:10 DEBUG : file1(0xc001a21e00): RWFileHandle.Flush 2022/01/17 05:53:10 DEBUG : file1(0xc001a21e00): RWFileHandle.Flush 2022/01/17 05:53:10 DEBUG : file1(0xc001a21e00): close: 2022/01/17 05:53:10 DEBUG : file1: vfs cache: setting modification time to 2022-01-17 05:53:10.760386944 +0000 UTC m=+342.014319095 2022/01/17 05:53:10 INFO : file1: vfs cache: queuing for upload in 100ms 2022/01/17 05:53:10 DEBUG : file1(0xc001a21e00): >close: err= 2022/01/17 05:53:10 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:53:10 DEBUG : : Looking for writers 2022/01/17 05:53:10 DEBUG : file1: reading active writers 2022/01/17 05:53:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/01/17 05:53:10 DEBUG : : Looking for writers 2022/01/17 05:53:10 DEBUG : file1: reading active writers 2022/01/17 05:53:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/01/17 05:53:10 DEBUG : : Looking for writers 2022/01/17 05:53:10 DEBUG : file1: reading active writers 2022/01/17 05:53:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/01/17 05:53:10 DEBUG : : Looking for writers 2022/01/17 05:53:10 DEBUG : file1: reading active writers 2022/01/17 05:53:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/01/17 05:53:10 DEBUG : file1: vfs cache: starting upload 2022/01/17 05:53:10 DEBUG : : Looking for writers 2022/01/17 05:53:10 DEBUG : file1: reading active writers 2022/01/17 05:53:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/01/17 05:53:11 DEBUG : : Looking for writers 2022/01/17 05:53:11 DEBUG : file1: reading active writers 2022/01/17 05:53:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/01/17 05:53:11 INFO : file1: Copied (new) 2022/01/17 05:53:11 DEBUG : file1: vfs cache: fingerprint now "5" 2022/01/17 05:53:11 DEBUG : file1: vfs cache: writeback object to VFS layer 2022/01/17 05:53:11 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:11 INFO : file1: vfs cache: upload succeeded try #1 2022/01/17 05:53:11 DEBUG : : Looking for writers 2022/01/17 05:53:11 DEBUG : file1: reading active writers 2022/01/17 05:53:11 DEBUG : >WaitForWriters: 2022/01/17 05:53:11 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushWrite (1.23s) === RUN TestRWFileHandleReleaseWrite run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:53:11 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:53:11 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/01/17 05:53:11 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:11 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:11 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:11 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:11 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/01/17 05:53:11 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/01/17 05:53:11 DEBUG : file1: newRWFileHandle: 2022/01/17 05:53:11 DEBUG : file1(0xc0009844c0): openPending: 2022/01/17 05:53:11 DEBUG : file1: vfs cache: truncate to size=0 2022/01/17 05:53:11 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:11 DEBUG : file1(0xc0009844c0): >openPending: err= 2022/01/17 05:53:11 DEBUG : file1: >newRWFileHandle: err= 2022/01/17 05:53:11 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:11 DEBUG : file1: >Open: fd=file1 (rw), err= 2022/01/17 05:53:11 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2022/01/17 05:53:11 DEBUG : file1(0xc0009844c0): _writeAt: size=5, off=0 2022/01/17 05:53:11 DEBUG : file1(0xc0009844c0): >_writeAt: n=5, err= 2022/01/17 05:53:11 DEBUG : file1(0xc0009844c0): RWFileHandle.Release 2022/01/17 05:53:11 DEBUG : file1(0xc0009844c0): close: 2022/01/17 05:53:11 DEBUG : file1: vfs cache: setting modification time to 2022-01-17 05:53:11.992111515 +0000 UTC m=+343.246043665 2022/01/17 05:53:11 INFO : file1: vfs cache: queuing for upload in 100ms 2022/01/17 05:53:11 DEBUG : file1(0xc0009844c0): >close: err= 2022/01/17 05:53:11 DEBUG : file1(0xc0009844c0): RWFileHandle.Release 2022/01/17 05:53:11 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:53:11 DEBUG : : Looking for writers 2022/01/17 05:53:11 DEBUG : file1: reading active writers 2022/01/17 05:53:11 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2022/01/17 05:53:11 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 5 (was 5) 2022/01/17 05:53:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/01/17 05:53:12 DEBUG : : Looking for writers 2022/01/17 05:53:12 DEBUG : file1: reading active writers 2022/01/17 05:53:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/01/17 05:53:12 DEBUG : : Looking for writers 2022/01/17 05:53:12 DEBUG : file1: reading active writers 2022/01/17 05:53:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/01/17 05:53:12 DEBUG : : Looking for writers 2022/01/17 05:53:12 DEBUG : file1: reading active writers 2022/01/17 05:53:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/01/17 05:53:12 DEBUG : file1: vfs cache: starting upload 2022/01/17 05:53:12 DEBUG : : Looking for writers 2022/01/17 05:53:12 DEBUG : file1: reading active writers 2022/01/17 05:53:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/01/17 05:53:12 DEBUG : : Looking for writers 2022/01/17 05:53:12 DEBUG : file1: reading active writers 2022/01/17 05:53:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/01/17 05:53:12 INFO : file1: Copied (new) 2022/01/17 05:53:12 DEBUG : file1: vfs cache: fingerprint now "5" 2022/01/17 05:53:12 DEBUG : file1: vfs cache: writeback object to VFS layer 2022/01/17 05:53:12 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:12 INFO : file1: vfs cache: upload succeeded try #1 2022/01/17 05:53:12 DEBUG : : Looking for writers 2022/01/17 05:53:12 DEBUG : file1: reading active writers 2022/01/17 05:53:12 DEBUG : >WaitForWriters: 2022/01/17 05:53:12 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseWrite (0.70s) === RUN TestRWFileHandleSizeTruncateExisting run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:53:12 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:53:12 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/01/17 05:53:12 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:12 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:12 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:12 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:12 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/01/17 05:53:13 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_TRUNC, perm=-rwxrwxrwx 2022/01/17 05:53:13 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/01/17 05:53:13 DEBUG : dir/file1: newRWFileHandle: 2022/01/17 05:53:13 DEBUG : dir/file1(0xc0008eb0c0): openPending: 2022/01/17 05:53:13 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2022/01/17 05:53:13 DEBUG : dir/file1: vfs cache: truncate to size=16 2022/01/17 05:53:13 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:13 DEBUG : dir/file1(0xc0008eb0c0): >openPending: err= 2022/01/17 05:53:13 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/01/17 05:53:13 DEBUG : dir/file1: >newRWFileHandle: err= 2022/01/17 05:53:13 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/01/17 05:53:13 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2022/01/17 05:53:13 DEBUG : dir/file1(0xc0008eb0c0): _writeAt: size=5, off=0 2022/01/17 05:53:13 DEBUG : dir/file1(0xc0008eb0c0): >_writeAt: n=5, err= 2022/01/17 05:53:13 DEBUG : dir/file1(0xc0008eb0c0): close: 2022/01/17 05:53:13 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2022/01/17 05:53:13 DEBUG : dir/file1: vfs cache: setting modification time to 2022-01-17 05:53:13.383659975 +0000 UTC m=+344.637592125 2022/01/17 05:53:13 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2022/01/17 05:53:13 DEBUG : dir/file1(0xc0008eb0c0): >close: err= 2022/01/17 05:53:13 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:53:13 DEBUG : dir: Looking for writers 2022/01/17 05:53:13 DEBUG : file1: reading active writers 2022/01/17 05:53:13 DEBUG : : Looking for writers 2022/01/17 05:53:13 DEBUG : dir: reading active writers 2022/01/17 05:53:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/01/17 05:53:13 DEBUG : dir: Looking for writers 2022/01/17 05:53:13 DEBUG : file1: reading active writers 2022/01/17 05:53:13 DEBUG : : Looking for writers 2022/01/17 05:53:13 DEBUG : dir: reading active writers 2022/01/17 05:53:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/01/17 05:53:13 DEBUG : dir: Looking for writers 2022/01/17 05:53:13 DEBUG : file1: reading active writers 2022/01/17 05:53:13 DEBUG : : Looking for writers 2022/01/17 05:53:13 DEBUG : dir: reading active writers 2022/01/17 05:53:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/01/17 05:53:13 DEBUG : dir: Looking for writers 2022/01/17 05:53:13 DEBUG : file1: reading active writers 2022/01/17 05:53:13 DEBUG : : Looking for writers 2022/01/17 05:53:13 DEBUG : dir: reading active writers 2022/01/17 05:53:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/01/17 05:53:13 DEBUG : dir/file1: vfs cache: starting upload 2022/01/17 05:53:13 DEBUG : dir: Looking for writers 2022/01/17 05:53:13 DEBUG : file1: reading active writers 2022/01/17 05:53:13 DEBUG : : Looking for writers 2022/01/17 05:53:13 DEBUG : dir: reading active writers 2022/01/17 05:53:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/01/17 05:53:13 DEBUG : dir: Looking for writers 2022/01/17 05:53:13 DEBUG : file1: reading active writers 2022/01/17 05:53:13 DEBUG : : Looking for writers 2022/01/17 05:53:13 DEBUG : dir: reading active writers 2022/01/17 05:53:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/01/17 05:53:14 DEBUG : dir: Looking for writers 2022/01/17 05:53:14 DEBUG : file1: reading active writers 2022/01/17 05:53:14 DEBUG : : Looking for writers 2022/01/17 05:53:14 DEBUG : dir: reading active writers 2022/01/17 05:53:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/01/17 05:53:14 DEBUG : dir: Looking for writers 2022/01/17 05:53:14 DEBUG : file1: reading active writers 2022/01/17 05:53:14 DEBUG : : Looking for writers 2022/01/17 05:53:14 DEBUG : dir: reading active writers 2022/01/17 05:53:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:15 DEBUG : dir: Looking for writers 2022/01/17 05:53:15 DEBUG : file1: reading active writers 2022/01/17 05:53:15 DEBUG : : Looking for writers 2022/01/17 05:53:15 DEBUG : dir: reading active writers 2022/01/17 05:53:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:15 INFO : dir/file1: Copied (replaced existing) 2022/01/17 05:53:15 DEBUG : dir/file1: vfs cache: fingerprint now "5" 2022/01/17 05:53:15 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2022/01/17 05:53:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:15 INFO : dir/file1: vfs cache: upload succeeded try #1 2022/01/17 05:53:16 DEBUG : dir: Looking for writers 2022/01/17 05:53:16 DEBUG : file1: reading active writers 2022/01/17 05:53:16 DEBUG : : Looking for writers 2022/01/17 05:53:16 DEBUG : dir: reading active writers 2022/01/17 05:53:16 DEBUG : >WaitForWriters: 2022/01/17 05:53:16 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeTruncateExisting (5.86s) === RUN TestRWFileHandleSizeCreateExisting run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:53:18 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:53:18 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/01/17 05:53:18 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:18 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:18 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:18 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:18 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/01/17 05:53:19 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/01/17 05:53:19 DEBUG : dir/file1: Open: flags=O_WRONLY|O_CREATE 2022/01/17 05:53:19 DEBUG : dir/file1: newRWFileHandle: 2022/01/17 05:53:19 DEBUG : dir/file1: >newRWFileHandle: err= 2022/01/17 05:53:19 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:19 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/01/17 05:53:19 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2022/01/17 05:53:19 DEBUG : dir/file1(0xc000ad7100): _writeAt: size=5, off=0 2022/01/17 05:53:19 DEBUG : dir/file1(0xc000ad7100): openPending: 2022/01/17 05:53:19 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2022/01/17 05:53:19 DEBUG : dir/file1: vfs cache: truncate to size=16 2022/01/17 05:53:19 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:19 DEBUG : dir/file1(0xc000ad7100): >openPending: err= 2022/01/17 05:53:19 DEBUG : dir/file1(0xc000ad7100): >_writeAt: n=5, err= 2022/01/17 05:53:19 DEBUG : dir/file1(0xc000ad7100): _writeAt: size=15, off=5 2022/01/17 05:53:19 DEBUG : dir/file1(0xc000ad7100): >_writeAt: n=15, err= 2022/01/17 05:53:19 DEBUG : dir/file1(0xc000ad7100): close: 2022/01/17 05:53:19 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2022/01/17 05:53:19 DEBUG : dir/file1: vfs cache: setting modification time to 2022-01-17 05:53:19.774501401 +0000 UTC m=+351.028433552 2022/01/17 05:53:19 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2022/01/17 05:53:19 DEBUG : dir/file1(0xc000ad7100): >close: err= 2022/01/17 05:53:19 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:53:19 DEBUG : dir: Looking for writers 2022/01/17 05:53:19 DEBUG : file1: reading active writers 2022/01/17 05:53:19 DEBUG : : Looking for writers 2022/01/17 05:53:19 DEBUG : dir: reading active writers 2022/01/17 05:53:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/01/17 05:53:19 DEBUG : dir: Looking for writers 2022/01/17 05:53:19 DEBUG : file1: reading active writers 2022/01/17 05:53:19 DEBUG : : Looking for writers 2022/01/17 05:53:19 DEBUG : dir: reading active writers 2022/01/17 05:53:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/01/17 05:53:19 DEBUG : dir: Looking for writers 2022/01/17 05:53:19 DEBUG : file1: reading active writers 2022/01/17 05:53:19 DEBUG : : Looking for writers 2022/01/17 05:53:19 DEBUG : dir: reading active writers 2022/01/17 05:53:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/01/17 05:53:19 DEBUG : dir: Looking for writers 2022/01/17 05:53:19 DEBUG : file1: reading active writers 2022/01/17 05:53:19 DEBUG : : Looking for writers 2022/01/17 05:53:19 DEBUG : dir: reading active writers 2022/01/17 05:53:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/01/17 05:53:19 DEBUG : dir/file1: vfs cache: starting upload 2022/01/17 05:53:19 DEBUG : dir: Looking for writers 2022/01/17 05:53:19 DEBUG : file1: reading active writers 2022/01/17 05:53:19 DEBUG : : Looking for writers 2022/01/17 05:53:19 DEBUG : dir: reading active writers 2022/01/17 05:53:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/01/17 05:53:20 DEBUG : dir: Looking for writers 2022/01/17 05:53:20 DEBUG : file1: reading active writers 2022/01/17 05:53:20 DEBUG : : Looking for writers 2022/01/17 05:53:20 DEBUG : dir: reading active writers 2022/01/17 05:53:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/01/17 05:53:20 DEBUG : dir: Looking for writers 2022/01/17 05:53:20 DEBUG : file1: reading active writers 2022/01/17 05:53:20 DEBUG : : Looking for writers 2022/01/17 05:53:20 DEBUG : dir: reading active writers 2022/01/17 05:53:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/01/17 05:53:20 INFO : dir/file1: Copied (replaced existing) 2022/01/17 05:53:20 DEBUG : dir/file1: vfs cache: fingerprint now "20" 2022/01/17 05:53:20 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2022/01/17 05:53:20 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:20 INFO : dir/file1: vfs cache: upload succeeded try #1 2022/01/17 05:53:21 DEBUG : dir: Looking for writers 2022/01/17 05:53:21 DEBUG : file1: reading active writers 2022/01/17 05:53:21 DEBUG : : Looking for writers 2022/01/17 05:53:21 DEBUG : dir: reading active writers 2022/01/17 05:53:21 DEBUG : >WaitForWriters: 2022/01/17 05:53:21 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateExisting (3.33s) === RUN TestRWFileHandleSizeCreateNew run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:53:21 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:53:21 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/01/17 05:53:21 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:21 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:21 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:21 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:21 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/01/17 05:53:21 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/01/17 05:53:21 DEBUG : file1: newRWFileHandle: 2022/01/17 05:53:21 DEBUG : file1(0xc000903480): openPending: 2022/01/17 05:53:21 DEBUG : file1: vfs cache: truncate to size=0 2022/01/17 05:53:21 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:21 DEBUG : file1(0xc000903480): >openPending: err= 2022/01/17 05:53:21 DEBUG : file1: >newRWFileHandle: err= 2022/01/17 05:53:21 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:21 DEBUG : file1: >Open: fd=file1 (rw), err= 2022/01/17 05:53:21 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2022/01/17 05:53:21 DEBUG : file1(0xc000903480): _writeAt: size=5, off=0 2022/01/17 05:53:21 DEBUG : file1(0xc000903480): >_writeAt: n=5, err= 2022/01/17 05:53:21 DEBUG : file1(0xc000903480): close: 2022/01/17 05:53:21 DEBUG : file1: vfs cache: setting modification time to 2022-01-17 05:53:21.88833307 +0000 UTC m=+353.142265220 2022/01/17 05:53:21 INFO : file1: vfs cache: queuing for upload in 100ms 2022/01/17 05:53:21 DEBUG : file1(0xc000903480): >close: err= 2022/01/17 05:53:21 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2022/01/17 05:53:21 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 5 (was 5) 2022/01/17 05:53:21 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:53:21 DEBUG : : Looking for writers 2022/01/17 05:53:21 DEBUG : file1: reading active writers 2022/01/17 05:53:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/01/17 05:53:21 DEBUG : : Looking for writers 2022/01/17 05:53:21 DEBUG : file1: reading active writers 2022/01/17 05:53:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/01/17 05:53:21 DEBUG : : Looking for writers 2022/01/17 05:53:21 DEBUG : file1: reading active writers 2022/01/17 05:53:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/01/17 05:53:21 DEBUG : : Looking for writers 2022/01/17 05:53:21 DEBUG : file1: reading active writers 2022/01/17 05:53:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/01/17 05:53:21 DEBUG : file1: vfs cache: starting upload 2022/01/17 05:53:22 DEBUG : : Looking for writers 2022/01/17 05:53:22 DEBUG : file1: reading active writers 2022/01/17 05:53:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/01/17 05:53:22 INFO : file1: Copied (new) 2022/01/17 05:53:22 DEBUG : file1: vfs cache: fingerprint now "5" 2022/01/17 05:53:22 DEBUG : file1: vfs cache: writeback object to VFS layer 2022/01/17 05:53:22 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:22 INFO : file1: vfs cache: upload succeeded try #1 2022/01/17 05:53:22 DEBUG : : Looking for writers 2022/01/17 05:53:22 DEBUG : file1: reading active writers 2022/01/17 05:53:22 DEBUG : >WaitForWriters: 2022/01/17 05:53:22 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateNew (0.38s) === RUN TestRWFileHandleOpenTests run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:53:22 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:53:22 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/01/17 05:53:22 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:22 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:22 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:22 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:22 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/01/17 05:53:22 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:53:22 DEBUG : : Looking for writers 2022/01/17 05:53:22 DEBUG : >WaitForWriters: 2022/01/17 05:53:22 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleOpenTests (0.04s) === RUN TestRWFileModTimeWithOpenWriters run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:53:22 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:53:22 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/01/17 05:53:22 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:22 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:22 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:22 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:22 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/01/17 05:53:22 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/01/17 05:53:22 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/01/17 05:53:22 DEBUG : file1: newRWFileHandle: 2022/01/17 05:53:22 DEBUG : file1(0xc000ad60c0): openPending: 2022/01/17 05:53:22 DEBUG : file1: vfs cache: truncate to size=0 2022/01/17 05:53:22 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:22 DEBUG : file1(0xc000ad60c0): >openPending: err= 2022/01/17 05:53:22 DEBUG : file1: >newRWFileHandle: err= 2022/01/17 05:53:22 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:53:22 DEBUG : file1: >Open: fd=file1 (rw), err= 2022/01/17 05:53:22 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2022/01/17 05:53:24 DEBUG : Can set mod time: false read_write_test.go:664: can't set mod time 2022/01/17 05:53:24 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:53:24 DEBUG : : Looking for writers 2022/01/17 05:53:24 DEBUG : file1: reading active writers 2022/01/17 05:53:24 DEBUG : file1: active writers 1 2022/01/17 05:53:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2022/01/17 05:53:24 DEBUG : : Looking for writers 2022/01/17 05:53:24 DEBUG : file1: reading active writers 2022/01/17 05:53:24 DEBUG : file1: active writers 1 2022/01/17 05:53:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2022/01/17 05:53:24 DEBUG : : Looking for writers 2022/01/17 05:53:24 DEBUG : file1: reading active writers 2022/01/17 05:53:24 DEBUG : file1: active writers 1 2022/01/17 05:53:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2022/01/17 05:53:24 DEBUG : : Looking for writers 2022/01/17 05:53:24 DEBUG : file1: reading active writers 2022/01/17 05:53:24 DEBUG : file1: active writers 1 2022/01/17 05:53:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2022/01/17 05:53:24 DEBUG : : Looking for writers 2022/01/17 05:53:24 DEBUG : file1: reading active writers 2022/01/17 05:53:24 DEBUG : file1: active writers 1 2022/01/17 05:53:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2022/01/17 05:53:24 DEBUG : : Looking for writers 2022/01/17 05:53:24 DEBUG : file1: reading active writers 2022/01/17 05:53:24 DEBUG : file1: active writers 1 2022/01/17 05:53:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2022/01/17 05:53:25 DEBUG : : Looking for writers 2022/01/17 05:53:25 DEBUG : file1: reading active writers 2022/01/17 05:53:25 DEBUG : file1: active writers 1 2022/01/17 05:53:25 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2022/01/17 05:53:25 DEBUG : : Looking for writers 2022/01/17 05:53:25 DEBUG : file1: reading active writers 2022/01/17 05:53:25 DEBUG : file1: active writers 1 2022/01/17 05:53:25 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:26 DEBUG : : Looking for writers 2022/01/17 05:53:26 DEBUG : file1: reading active writers 2022/01/17 05:53:26 DEBUG : file1: active writers 1 2022/01/17 05:53:26 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:27 DEBUG : : Looking for writers 2022/01/17 05:53:27 DEBUG : file1: reading active writers 2022/01/17 05:53:27 DEBUG : file1: active writers 1 2022/01/17 05:53:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:28 DEBUG : : Looking for writers 2022/01/17 05:53:28 DEBUG : file1: reading active writers 2022/01/17 05:53:28 DEBUG : file1: active writers 1 2022/01/17 05:53:28 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:29 DEBUG : : Looking for writers 2022/01/17 05:53:29 DEBUG : file1: reading active writers 2022/01/17 05:53:29 DEBUG : file1: active writers 1 2022/01/17 05:53:29 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:30 DEBUG : : Looking for writers 2022/01/17 05:53:30 DEBUG : file1: reading active writers 2022/01/17 05:53:30 DEBUG : file1: active writers 1 2022/01/17 05:53:30 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:31 DEBUG : : Looking for writers 2022/01/17 05:53:31 DEBUG : file1: reading active writers 2022/01/17 05:53:31 DEBUG : file1: active writers 1 2022/01/17 05:53:31 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:32 DEBUG : : Looking for writers 2022/01/17 05:53:32 DEBUG : file1: reading active writers 2022/01/17 05:53:32 DEBUG : file1: active writers 1 2022/01/17 05:53:32 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:33 DEBUG : : Looking for writers 2022/01/17 05:53:33 DEBUG : file1: reading active writers 2022/01/17 05:53:33 DEBUG : file1: active writers 1 2022/01/17 05:53:33 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:34 DEBUG : : Looking for writers 2022/01/17 05:53:34 DEBUG : file1: reading active writers 2022/01/17 05:53:34 DEBUG : file1: active writers 1 2022/01/17 05:53:34 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:35 DEBUG : : Looking for writers 2022/01/17 05:53:35 DEBUG : file1: reading active writers 2022/01/17 05:53:35 DEBUG : file1: active writers 1 2022/01/17 05:53:35 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:36 DEBUG : : Looking for writers 2022/01/17 05:53:36 DEBUG : file1: reading active writers 2022/01/17 05:53:36 DEBUG : file1: active writers 1 2022/01/17 05:53:36 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:37 DEBUG : : Looking for writers 2022/01/17 05:53:37 DEBUG : file1: reading active writers 2022/01/17 05:53:37 DEBUG : file1: active writers 1 2022/01/17 05:53:37 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:38 DEBUG : : Looking for writers 2022/01/17 05:53:38 DEBUG : file1: reading active writers 2022/01/17 05:53:38 DEBUG : file1: active writers 1 2022/01/17 05:53:38 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:39 DEBUG : : Looking for writers 2022/01/17 05:53:39 DEBUG : file1: reading active writers 2022/01/17 05:53:39 DEBUG : file1: active writers 1 2022/01/17 05:53:39 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:40 DEBUG : : Looking for writers 2022/01/17 05:53:40 DEBUG : file1: reading active writers 2022/01/17 05:53:40 DEBUG : file1: active writers 1 2022/01/17 05:53:40 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:41 DEBUG : : Looking for writers 2022/01/17 05:53:41 DEBUG : file1: reading active writers 2022/01/17 05:53:41 DEBUG : file1: active writers 1 2022/01/17 05:53:41 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:42 DEBUG : : Looking for writers 2022/01/17 05:53:42 DEBUG : file1: reading active writers 2022/01/17 05:53:42 DEBUG : file1: active writers 1 2022/01/17 05:53:42 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:43 DEBUG : : Looking for writers 2022/01/17 05:53:43 DEBUG : file1: reading active writers 2022/01/17 05:53:43 DEBUG : file1: active writers 1 2022/01/17 05:53:43 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:44 DEBUG : : Looking for writers 2022/01/17 05:53:44 DEBUG : file1: reading active writers 2022/01/17 05:53:44 DEBUG : file1: active writers 1 2022/01/17 05:53:44 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:45 DEBUG : : Looking for writers 2022/01/17 05:53:45 DEBUG : file1: reading active writers 2022/01/17 05:53:45 DEBUG : file1: active writers 1 2022/01/17 05:53:45 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:46 DEBUG : : Looking for writers 2022/01/17 05:53:46 DEBUG : file1: reading active writers 2022/01/17 05:53:46 DEBUG : file1: active writers 1 2022/01/17 05:53:46 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:47 DEBUG : : Looking for writers 2022/01/17 05:53:47 DEBUG : file1: reading active writers 2022/01/17 05:53:47 DEBUG : file1: active writers 1 2022/01/17 05:53:47 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:48 DEBUG : : Looking for writers 2022/01/17 05:53:48 DEBUG : file1: reading active writers 2022/01/17 05:53:48 DEBUG : file1: active writers 1 2022/01/17 05:53:48 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:49 DEBUG : : Looking for writers 2022/01/17 05:53:49 DEBUG : file1: reading active writers 2022/01/17 05:53:49 DEBUG : file1: active writers 1 2022/01/17 05:53:49 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:50 DEBUG : : Looking for writers 2022/01/17 05:53:50 DEBUG : file1: reading active writers 2022/01/17 05:53:50 DEBUG : file1: active writers 1 2022/01/17 05:53:50 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:51 DEBUG : : Looking for writers 2022/01/17 05:53:51 DEBUG : file1: reading active writers 2022/01/17 05:53:51 DEBUG : file1: active writers 1 2022/01/17 05:53:51 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:52 DEBUG : : Looking for writers 2022/01/17 05:53:52 DEBUG : file1: reading active writers 2022/01/17 05:53:52 DEBUG : file1: active writers 1 2022/01/17 05:53:52 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:53 DEBUG : : Looking for writers 2022/01/17 05:53:53 DEBUG : file1: reading active writers 2022/01/17 05:53:53 DEBUG : file1: active writers 1 2022/01/17 05:53:53 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:54 ERROR : Exiting even though 1 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0009d6180 mu:{state:0 sema:0} cond:0xc000ad6080 name:file1 opens:1 downloaders: o: fd:0xc00034c070 modified:true info:{ModTime:{wall:13866969132170947435 ext:353561896929 loc:0x2a06c00} ATime:{wall:13866969132170947435 ext:353561896929 loc:0x2a06c00} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:0 pendingAccesses:0 beingReset:false}, } 2022/01/17 05:53:54 DEBUG : >WaitForWriters: 2022/01/17 05:53:54 DEBUG : vfs cache: cleaner exiting --- SKIP: TestRWFileModTimeWithOpenWriters (32.34s) === RUN TestRWCacheRename run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:53:54 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:53:54 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/01/17 05:53:54 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:54 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:54 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:54 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-xajojib6diwemic9julexaf3" 2022/01/17 05:53:54 DEBUG : rename_me: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/01/17 05:53:54 DEBUG : rename_me: Open: flags=O_WRONLY|O_CREATE 2022/01/17 05:53:54 DEBUG : rename_me: newRWFileHandle: 2022/01/17 05:53:54 DEBUG : rename_me(0xc001b0b7c0): openPending: 2022/01/17 05:53:54 DEBUG : rename_me: vfs cache: truncate to size=0 2022/01/17 05:53:54 DEBUG : : Added virtual directory entry vAddFile: "rename_me" 2022/01/17 05:53:54 DEBUG : rename_me(0xc001b0b7c0): >openPending: err= 2022/01/17 05:53:54 DEBUG : rename_me: >newRWFileHandle: err= 2022/01/17 05:53:54 DEBUG : : Added virtual directory entry vAddFile: "rename_me" 2022/01/17 05:53:54 DEBUG : rename_me: >Open: fd=rename_me (rw), err= 2022/01/17 05:53:54 DEBUG : rename_me: >OpenFile: fd=rename_me (rw), err= 2022/01/17 05:53:54 DEBUG : rename_me(0xc001b0b7c0): _writeAt: size=5, off=0 2022/01/17 05:53:54 DEBUG : rename_me(0xc001b0b7c0): >_writeAt: n=5, err= 2022/01/17 05:53:54 DEBUG : rename_me(0xc001b0b7c0): close: 2022/01/17 05:53:54 DEBUG : rename_me: vfs cache: setting modification time to 2022-01-17 05:53:54.640957165 +0000 UTC m=+385.894889315 2022/01/17 05:53:54 INFO : rename_me: vfs cache: queuing for upload in 100ms 2022/01/17 05:53:54 DEBUG : rename_me(0xc001b0b7c0): >close: err= 2022/01/17 05:53:54 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item rename_me not removed, freed 0 bytes 2022/01/17 05:53:54 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 5 (was 5) 2022/01/17 05:53:54 INFO : rename_me: vfs cache: renamed in cache to "i_was_renamed" 2022/01/17 05:53:54 DEBUG : i_was_renamed: Updating file with 0xc0009d7200 2022/01/17 05:53:54 DEBUG : : Added virtual directory entry vDel: "rename_me" 2022/01/17 05:53:54 DEBUG : : Added virtual directory entry vAddFile: "i_was_renamed" 2022/01/17 05:53:54 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:53:54 DEBUG : : Looking for writers 2022/01/17 05:53:54 DEBUG : i_was_renamed: reading active writers 2022/01/17 05:53:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/01/17 05:53:54 DEBUG : : Looking for writers 2022/01/17 05:53:54 DEBUG : i_was_renamed: reading active writers 2022/01/17 05:53:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/01/17 05:53:54 DEBUG : : Looking for writers 2022/01/17 05:53:54 DEBUG : i_was_renamed: reading active writers 2022/01/17 05:53:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/01/17 05:53:54 DEBUG : : Looking for writers 2022/01/17 05:53:54 DEBUG : i_was_renamed: reading active writers 2022/01/17 05:53:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/01/17 05:53:54 DEBUG : i_was_renamed: vfs cache: starting upload 2022/01/17 05:53:54 DEBUG : : Looking for writers 2022/01/17 05:53:54 DEBUG : i_was_renamed: reading active writers 2022/01/17 05:53:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/01/17 05:53:54 DEBUG : : Looking for writers 2022/01/17 05:53:54 DEBUG : i_was_renamed: reading active writers 2022/01/17 05:53:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/01/17 05:53:55 DEBUG : : Looking for writers 2022/01/17 05:53:55 DEBUG : i_was_renamed: reading active writers 2022/01/17 05:53:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/01/17 05:53:55 DEBUG : : Looking for writers 2022/01/17 05:53:55 DEBUG : i_was_renamed: reading active writers 2022/01/17 05:53:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2022/01/17 05:53:55 INFO : i_was_renamed: Copied (new) 2022/01/17 05:53:55 DEBUG : i_was_renamed: vfs cache: fingerprint now "5" 2022/01/17 05:53:55 DEBUG : i_was_renamed: vfs cache: writeback object to VFS layer 2022/01/17 05:53:55 DEBUG : : Added virtual directory entry vAddFile: "i_was_renamed" 2022/01/17 05:53:55 INFO : i_was_renamed: vfs cache: upload succeeded try #1 2022/01/17 05:53:56 DEBUG : : Looking for writers 2022/01/17 05:53:56 DEBUG : i_was_renamed: reading active writers 2022/01/17 05:53:56 DEBUG : >WaitForWriters: 2022/01/17 05:53:56 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWCacheRename (3.55s) === RUN TestCaseSensitivity run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:53:59 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:53:59 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:53:59 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:53:59 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:53:59 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:53:59 DEBUG : FiLeA: Open: flags=O_RDONLY 2022/01/17 05:53:59 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2022/01/17 05:53:59 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2022/01/17 05:53:59 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:53:59 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/01/17 05:54:00 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:00 DEBUG : FiLeA: Open: flags=O_RDONLY 2022/01/17 05:54:00 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2022/01/17 05:54:00 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2022/01/17 05:54:00 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:54:00 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/01/17 05:54:00 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:00 DEBUG : FiLeA: Open: flags=O_RDONLY 2022/01/17 05:54:00 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2022/01/17 05:54:00 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2022/01/17 05:54:00 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:54:00 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/01/17 05:54:01 DEBUG : FiLeB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:01 DEBUG : FiLeB: Open: flags=O_RDONLY 2022/01/17 05:54:01 DEBUG : FiLeB: >Open: fd=FiLeB (r), err= 2022/01/17 05:54:01 DEBUG : FiLeB: >OpenFile: fd=FiLeB (r), err= 2022/01/17 05:54:01 DEBUG : FiLeB: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:54:01 DEBUG : FiLeB: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/01/17 05:54:02 DEBUG : FilEb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:02 DEBUG : FilEb: Open: flags=O_RDONLY 2022/01/17 05:54:02 DEBUG : FilEb: >Open: fd=FilEb (r), err= 2022/01/17 05:54:02 DEBUG : FilEb: >OpenFile: fd=FilEb (r), err= 2022/01/17 05:54:02 DEBUG : FilEb: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:54:02 DEBUG : FilEb: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/01/17 05:54:02 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:02 DEBUG : FiLeA: Open: flags=O_RDONLY 2022/01/17 05:54:02 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2022/01/17 05:54:02 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2022/01/17 05:54:02 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:54:02 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/01/17 05:54:03 DEBUG : fileA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:03 DEBUG : FiLeA: Open: flags=O_RDONLY 2022/01/17 05:54:03 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2022/01/17 05:54:03 DEBUG : fileA: >OpenFile: fd=FiLeA (r), err= 2022/01/17 05:54:03 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:54:03 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/01/17 05:54:04 DEBUG : filea: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:04 DEBUG : FiLeA: Open: flags=O_RDONLY 2022/01/17 05:54:04 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2022/01/17 05:54:04 DEBUG : filea: >OpenFile: fd=FiLeA (r), err= 2022/01/17 05:54:04 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:54:04 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/01/17 05:54:05 DEBUG : FILEA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:05 DEBUG : FiLeA: Open: flags=O_RDONLY 2022/01/17 05:54:05 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2022/01/17 05:54:05 DEBUG : FILEA: >OpenFile: fd=FiLeA (r), err= 2022/01/17 05:54:05 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:54:05 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/01/17 05:54:06 DEBUG : FiLeB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:06 DEBUG : FiLeB: Open: flags=O_RDONLY 2022/01/17 05:54:06 DEBUG : FiLeB: >Open: fd=FiLeB (r), err= 2022/01/17 05:54:06 DEBUG : FiLeB: >OpenFile: fd=FiLeB (r), err= 2022/01/17 05:54:06 DEBUG : FiLeB: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:54:06 DEBUG : FiLeB: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/01/17 05:54:07 DEBUG : FilEb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:07 DEBUG : FilEb: Open: flags=O_RDONLY 2022/01/17 05:54:07 DEBUG : FilEb: >Open: fd=FilEb (r), err= 2022/01/17 05:54:07 DEBUG : FilEb: >OpenFile: fd=FilEb (r), err= 2022/01/17 05:54:07 DEBUG : FilEb: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:54:07 DEBUG : FilEb: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/01/17 05:54:07 DEBUG : fileb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:07 ERROR : /: Dir.Stat error: duplicate filename "fileb" detected with --vfs-case-insensitive set 2022/01/17 05:54:07 DEBUG : fileb: >OpenFile: fd=, err=duplicate filename "fileb" detected with --vfs-case-insensitive set 2022/01/17 05:54:07 DEBUG : FILEB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:07 ERROR : /: Dir.Stat error: duplicate filename "FILEB" detected with --vfs-case-insensitive set 2022/01/17 05:54:07 DEBUG : FILEB: >OpenFile: fd=, err=duplicate filename "FILEB" detected with --vfs-case-insensitive set 2022/01/17 05:54:07 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:07 DEBUG : FiLeA: Open: flags=O_RDONLY 2022/01/17 05:54:07 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2022/01/17 05:54:07 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2022/01/17 05:54:07 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:54:07 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/01/17 05:54:08 DEBUG : fileA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:08 DEBUG : fileA: >OpenFile: fd=, err=file does not exist 2022/01/17 05:54:08 DEBUG : filea: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:08 DEBUG : filea: >OpenFile: fd=, err=file does not exist 2022/01/17 05:54:08 DEBUG : FILEA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:08 DEBUG : FILEA: >OpenFile: fd=, err=file does not exist 2022/01/17 05:54:08 DEBUG : FiLeB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:08 DEBUG : FiLeB: Open: flags=O_RDONLY 2022/01/17 05:54:08 DEBUG : FiLeB: >Open: fd=FiLeB (r), err= 2022/01/17 05:54:08 DEBUG : FiLeB: >OpenFile: fd=FiLeB (r), err= 2022/01/17 05:54:08 DEBUG : FiLeB: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:54:08 DEBUG : FiLeB: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/01/17 05:54:08 DEBUG : FilEb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:08 DEBUG : FilEb: Open: flags=O_RDONLY 2022/01/17 05:54:08 DEBUG : FilEb: >Open: fd=FilEb (r), err= 2022/01/17 05:54:08 DEBUG : FilEb: >OpenFile: fd=FilEb (r), err= 2022/01/17 05:54:08 DEBUG : FilEb: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:54:08 DEBUG : FilEb: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2022/01/17 05:54:09 DEBUG : fileb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:09 DEBUG : fileb: >OpenFile: fd=, err=file does not exist 2022/01/17 05:54:09 DEBUG : FILEB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:09 DEBUG : FILEB: >OpenFile: fd=, err=file does not exist 2022/01/17 05:54:09 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:54:09 DEBUG : : Looking for writers 2022/01/17 05:54:09 DEBUG : FilEb: reading active writers 2022/01/17 05:54:09 DEBUG : FiLeA: reading active writers 2022/01/17 05:54:09 DEBUG : FiLeB: reading active writers 2022/01/17 05:54:09 DEBUG : >WaitForWriters: 2022/01/17 05:54:09 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:54:09 DEBUG : : Looking for writers 2022/01/17 05:54:09 DEBUG : FiLeA: reading active writers 2022/01/17 05:54:09 DEBUG : FiLeB: reading active writers 2022/01/17 05:54:09 DEBUG : FilEb: reading active writers 2022/01/17 05:54:09 DEBUG : >WaitForWriters: --- PASS: TestCaseSensitivity (15.34s) === RUN TestVFSNew run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:54:13 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:54:13 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:54:13 DEBUG : mega root 'rclone-test-xajojib6diwemic9julexaf3': Re-using VFS from active cache 2022/01/17 05:54:13 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:54:13 DEBUG : : Looking for writers 2022/01/17 05:54:13 DEBUG : >WaitForWriters: --- PASS: TestVFSNew (0.00s) === RUN TestVFSNewWithOpts run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:54:13 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:54:13 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:54:13 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:54:13 DEBUG : : Looking for writers 2022/01/17 05:54:13 DEBUG : >WaitForWriters: --- PASS: TestVFSNewWithOpts (0.00s) === RUN TestVFSRoot run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:54:13 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:54:13 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:54:13 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:54:13 DEBUG : : Looking for writers 2022/01/17 05:54:13 DEBUG : >WaitForWriters: --- PASS: TestVFSRoot (0.00s) === RUN TestVFSStat run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:54:13 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:54:13 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:54:14 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:54:14 DEBUG : dir: Looking for writers 2022/01/17 05:54:14 DEBUG : file2: reading active writers 2022/01/17 05:54:14 DEBUG : : Looking for writers 2022/01/17 05:54:14 DEBUG : dir: reading active writers 2022/01/17 05:54:14 DEBUG : file1: reading active writers 2022/01/17 05:54:14 DEBUG : >WaitForWriters: run.go:126: removing dir "dir" failed - try 1/3: directory not empty --- PASS: TestVFSStat (3.29s) === RUN TestVFSStatParent run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:54:16 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:54:16 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:54:19 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:54:19 DEBUG : dir: Looking for writers 2022/01/17 05:54:19 DEBUG : : Looking for writers 2022/01/17 05:54:19 DEBUG : dir: reading active writers 2022/01/17 05:54:19 DEBUG : file1: reading active writers 2022/01/17 05:54:19 DEBUG : >WaitForWriters: run.go:126: removing dir "dir" failed - try 1/3: directory not empty run.go:126: removing dir "dir" failed - try 2/3: directory not empty --- PASS: TestVFSStatParent (6.68s) === RUN TestVFSOpenFile run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:54:23 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:54:23 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:54:26 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:26 DEBUG : file1: Open: flags=O_RDONLY 2022/01/17 05:54:26 DEBUG : file1: >Open: fd=file1 (r), err= 2022/01/17 05:54:26 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2022/01/17 05:54:26 DEBUG : dir: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:26 DEBUG : dir: >OpenFile: fd=dir/ (r), err= 2022/01/17 05:54:26 DEBUG : dir/new_file.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/01/17 05:54:26 DEBUG : dir/new_file.txt: >OpenFile: fd=, err=file does not exist 2022/01/17 05:54:26 DEBUG : dir/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/01/17 05:54:26 DEBUG : dir/new_file.txt: Open: flags=O_WRONLY|O_CREATE 2022/01/17 05:54:26 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2022/01/17 05:54:26 DEBUG : dir/new_file.txt: >Open: fd=dir/new_file.txt (w), err= 2022/01/17 05:54:26 DEBUG : dir/new_file.txt: >OpenFile: fd=dir/new_file.txt (w), err= 2022/01/17 05:54:26 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2022/01/17 05:54:26 DEBUG : mega root 'rclone-test-xajojib6diwemic9julexaf3': File to upload is small (0 bytes), uploading instead of streaming 2022/01/17 05:54:29 INFO : dir/new_file.txt: Copied (new) 2022/01/17 05:54:29 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2022/01/17 05:54:29 DEBUG : not found/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/01/17 05:54:29 DEBUG : not found/new_file.txt: >OpenFile: fd=, err=file does not exist 2022/01/17 05:54:29 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:54:29 DEBUG : dir: Looking for writers 2022/01/17 05:54:29 DEBUG : file2: reading active writers 2022/01/17 05:54:29 DEBUG : new_file.txt: reading active writers 2022/01/17 05:54:29 DEBUG : : Looking for writers 2022/01/17 05:54:29 DEBUG : dir: reading active writers 2022/01/17 05:54:29 DEBUG : file1: reading active writers 2022/01/17 05:54:29 DEBUG : >WaitForWriters: --- PASS: TestVFSOpenFile (7.46s) === RUN TestVFSRename run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:54:30 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:54:30 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:54:32 INFO : dir/file2: Moved (server-side) to: dir/file1 2022/01/17 05:54:32 DEBUG : dir/file1: Updating file with dir/file1 0xc00086b2c0 2022/01/17 05:54:32 DEBUG : dir: Added virtual directory entry vDel: "file2" 2022/01/17 05:54:32 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/01/17 05:54:32 INFO : dir/file1: Moved (server-side) to: file0 2022/01/17 05:54:32 DEBUG : file0: Updating file with file0 0xc00086b2c0 2022/01/17 05:54:32 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/01/17 05:54:32 DEBUG : : Added virtual directory entry vAddFile: "file0" 2022/01/17 05:54:32 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:54:32 DEBUG : dir: Looking for writers 2022/01/17 05:54:32 DEBUG : : Looking for writers 2022/01/17 05:54:32 DEBUG : dir: reading active writers 2022/01/17 05:54:32 DEBUG : file0: reading active writers 2022/01/17 05:54:32 DEBUG : >WaitForWriters: --- PASS: TestVFSRename (2.10s) === RUN TestVFSStatfs run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:54:33 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:54:33 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:54:33 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:54:33 DEBUG : : Looking for writers 2022/01/17 05:54:33 DEBUG : >WaitForWriters: --- PASS: TestVFSStatfs (0.36s) === RUN TestWriteFileHandleMethods run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:54:33 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:54:33 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:54:33 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/01/17 05:54:33 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/01/17 05:54:33 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:54:33 DEBUG : file1: >Open: fd=file1 (w), err= 2022/01/17 05:54:33 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/01/17 05:54:33 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:54:33 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2022/01/17 05:54:33 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2022/01/17 05:54:33 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2022/01/17 05:54:33 DEBUG : mega root 'rclone-test-xajojib6diwemic9julexaf3': File to upload is small (5 bytes), uploading instead of streaming 2022/01/17 05:54:33 INFO : file1: Copied (new) 2022/01/17 05:54:33 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:54:33 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/01/17 05:54:33 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/01/17 05:54:33 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:54:33 DEBUG : file1: >Open: fd=file1 (w), err= 2022/01/17 05:54:33 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/01/17 05:54:33 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/01/17 05:54:33 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/01/17 05:54:33 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:54:33 DEBUG : file1: >Open: fd=file1 (w), err= 2022/01/17 05:54:33 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/01/17 05:54:33 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2022/01/17 05:54:33 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2022/01/17 05:54:33 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2022/01/17 05:54:33 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:54:33 DEBUG : file1: >Open: fd=file1 (w), err= 2022/01/17 05:54:33 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/01/17 05:54:33 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:54:33 DEBUG : mega root 'rclone-test-xajojib6diwemic9julexaf3': File to upload is small (0 bytes), uploading instead of streaming 2022/01/17 05:54:34 INFO : file1: Copied (new) 2022/01/17 05:54:34 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:54:34 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2022/01/17 05:54:34 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2022/01/17 05:54:34 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:54:34 DEBUG : file1: >Open: fd=file1 (w), err= 2022/01/17 05:54:34 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/01/17 05:54:34 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:54:34 DEBUG : mega root 'rclone-test-xajojib6diwemic9julexaf3': File to upload is small (7 bytes), uploading instead of streaming 2022/01/17 05:54:34 INFO : file1: Copied (new) 2022/01/17 05:54:34 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:54:34 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:54:34 DEBUG : : Looking for writers 2022/01/17 05:54:34 DEBUG : file1: reading active writers 2022/01/17 05:54:34 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleMethods (1.48s) === RUN TestWriteFileHandleWriteAt run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:54:34 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:54:34 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:54:34 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/01/17 05:54:34 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/01/17 05:54:34 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:54:34 DEBUG : file1: >Open: fd=file1 (w), err= 2022/01/17 05:54:34 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/01/17 05:54:34 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:54:34 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2022/01/17 05:54:35 DEBUG : file1: aborting in-sequence write wait, off=100 2022/01/17 05:54:35 DEBUG : file1: failed to wait for in-sequence write to 100 2022/01/17 05:54:35 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2022/01/17 05:54:35 DEBUG : mega root 'rclone-test-xajojib6diwemic9julexaf3': File to upload is small (11 bytes), uploading instead of streaming 2022/01/17 05:54:37 INFO : file1: Copied (new) 2022/01/17 05:54:37 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:54:37 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor 2022/01/17 05:54:37 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:54:37 DEBUG : : Looking for writers 2022/01/17 05:54:37 DEBUG : file1: reading active writers 2022/01/17 05:54:37 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:293: Sleeping for 6s just to make sure --- PASS: TestWriteFileHandleWriteAt (10.06s) === RUN TestWriteFileHandleFlush run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:54:44 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:54:44 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:54:44 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/01/17 05:54:44 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/01/17 05:54:44 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:54:44 DEBUG : file1: >Open: fd=file1 (w), err= 2022/01/17 05:54:44 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/01/17 05:54:44 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2022/01/17 05:54:44 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:54:44 DEBUG : mega root 'rclone-test-xajojib6diwemic9julexaf3': File to upload is small (5 bytes), uploading instead of streaming 2022/01/17 05:54:45 INFO : file1: Copied (new) 2022/01/17 05:54:45 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:54:45 DEBUG : file1: WriteFileHandle.Flush nothing to do 2022/01/17 05:54:45 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:54:45 DEBUG : : Looking for writers 2022/01/17 05:54:45 DEBUG : file1: reading active writers 2022/01/17 05:54:45 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:293: Sleeping for 6s just to make sure --- PASS: TestWriteFileHandleFlush (7.61s) === RUN TestWriteFileHandleRelease run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:54:52 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:54:52 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:54:52 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/01/17 05:54:52 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/01/17 05:54:52 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:54:52 DEBUG : file1: >Open: fd=file1 (w), err= 2022/01/17 05:54:52 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/01/17 05:54:52 DEBUG : file1: WriteFileHandle.Release closing 2022/01/17 05:54:52 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:54:52 DEBUG : mega root 'rclone-test-xajojib6diwemic9julexaf3': File to upload is small (0 bytes), uploading instead of streaming 2022/01/17 05:54:52 INFO : file1: Copied (new) 2022/01/17 05:54:52 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:54:52 DEBUG : file1: WriteFileHandle.Release nothing to do 2022/01/17 05:54:52 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:54:52 DEBUG : : Looking for writers 2022/01/17 05:54:52 DEBUG : file1: reading active writers 2022/01/17 05:54:52 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:293: Sleeping for 6s just to make sure --- PASS: TestWriteFileHandleRelease (7.69s) === RUN TestWriteFileModTimeWithOpenWriters run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:55:00 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:55:00 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:55:00 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/01/17 05:55:00 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/01/17 05:55:00 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:55:00 DEBUG : file1: >Open: fd=file1 (w), err= 2022/01/17 05:55:00 DEBUG : file1: >OpenFile: fd=file1 (w), err= write_test.go:265: can't set mod time 2022/01/17 05:55:00 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:55:00 DEBUG : : Looking for writers 2022/01/17 05:55:00 DEBUG : file1: reading active writers 2022/01/17 05:55:00 DEBUG : file1: active writers 1 2022/01/17 05:55:00 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2022/01/17 05:55:00 DEBUG : : Looking for writers 2022/01/17 05:55:00 DEBUG : file1: reading active writers 2022/01/17 05:55:00 DEBUG : file1: active writers 1 2022/01/17 05:55:00 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2022/01/17 05:55:00 DEBUG : : Looking for writers 2022/01/17 05:55:00 DEBUG : file1: reading active writers 2022/01/17 05:55:00 DEBUG : file1: active writers 1 2022/01/17 05:55:00 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2022/01/17 05:55:00 DEBUG : : Looking for writers 2022/01/17 05:55:00 DEBUG : file1: reading active writers 2022/01/17 05:55:00 DEBUG : file1: active writers 1 2022/01/17 05:55:00 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2022/01/17 05:55:00 DEBUG : : Looking for writers 2022/01/17 05:55:00 DEBUG : file1: reading active writers 2022/01/17 05:55:00 DEBUG : file1: active writers 1 2022/01/17 05:55:00 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2022/01/17 05:55:00 DEBUG : : Looking for writers 2022/01/17 05:55:00 DEBUG : file1: reading active writers 2022/01/17 05:55:00 DEBUG : file1: active writers 1 2022/01/17 05:55:00 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2022/01/17 05:55:00 DEBUG : : Looking for writers 2022/01/17 05:55:00 DEBUG : file1: reading active writers 2022/01/17 05:55:00 DEBUG : file1: active writers 1 2022/01/17 05:55:00 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2022/01/17 05:55:01 DEBUG : : Looking for writers 2022/01/17 05:55:01 DEBUG : file1: reading active writers 2022/01/17 05:55:01 DEBUG : file1: active writers 1 2022/01/17 05:55:01 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:02 DEBUG : : Looking for writers 2022/01/17 05:55:02 DEBUG : file1: reading active writers 2022/01/17 05:55:02 DEBUG : file1: active writers 1 2022/01/17 05:55:02 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:03 DEBUG : : Looking for writers 2022/01/17 05:55:03 DEBUG : file1: reading active writers 2022/01/17 05:55:03 DEBUG : file1: active writers 1 2022/01/17 05:55:03 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:04 DEBUG : : Looking for writers 2022/01/17 05:55:04 DEBUG : file1: reading active writers 2022/01/17 05:55:04 DEBUG : file1: active writers 1 2022/01/17 05:55:04 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:05 DEBUG : : Looking for writers 2022/01/17 05:55:05 DEBUG : file1: reading active writers 2022/01/17 05:55:05 DEBUG : file1: active writers 1 2022/01/17 05:55:05 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:06 DEBUG : : Looking for writers 2022/01/17 05:55:06 DEBUG : file1: reading active writers 2022/01/17 05:55:06 DEBUG : file1: active writers 1 2022/01/17 05:55:06 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:07 DEBUG : : Looking for writers 2022/01/17 05:55:07 DEBUG : file1: reading active writers 2022/01/17 05:55:07 DEBUG : file1: active writers 1 2022/01/17 05:55:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:08 DEBUG : : Looking for writers 2022/01/17 05:55:08 DEBUG : file1: reading active writers 2022/01/17 05:55:08 DEBUG : file1: active writers 1 2022/01/17 05:55:08 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:09 DEBUG : : Looking for writers 2022/01/17 05:55:09 DEBUG : file1: reading active writers 2022/01/17 05:55:09 DEBUG : file1: active writers 1 2022/01/17 05:55:09 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:10 DEBUG : : Looking for writers 2022/01/17 05:55:10 DEBUG : file1: reading active writers 2022/01/17 05:55:10 DEBUG : file1: active writers 1 2022/01/17 05:55:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:11 DEBUG : : Looking for writers 2022/01/17 05:55:11 DEBUG : file1: reading active writers 2022/01/17 05:55:11 DEBUG : file1: active writers 1 2022/01/17 05:55:11 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:12 DEBUG : : Looking for writers 2022/01/17 05:55:12 DEBUG : file1: reading active writers 2022/01/17 05:55:12 DEBUG : file1: active writers 1 2022/01/17 05:55:12 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:13 DEBUG : : Looking for writers 2022/01/17 05:55:13 DEBUG : file1: reading active writers 2022/01/17 05:55:13 DEBUG : file1: active writers 1 2022/01/17 05:55:13 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:14 DEBUG : : Looking for writers 2022/01/17 05:55:14 DEBUG : file1: reading active writers 2022/01/17 05:55:14 DEBUG : file1: active writers 1 2022/01/17 05:55:14 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:15 DEBUG : : Looking for writers 2022/01/17 05:55:15 DEBUG : file1: reading active writers 2022/01/17 05:55:15 DEBUG : file1: active writers 1 2022/01/17 05:55:15 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:16 DEBUG : : Looking for writers 2022/01/17 05:55:16 DEBUG : file1: reading active writers 2022/01/17 05:55:16 DEBUG : file1: active writers 1 2022/01/17 05:55:16 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:17 DEBUG : : Looking for writers 2022/01/17 05:55:17 DEBUG : file1: reading active writers 2022/01/17 05:55:17 DEBUG : file1: active writers 1 2022/01/17 05:55:17 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:18 DEBUG : : Looking for writers 2022/01/17 05:55:18 DEBUG : file1: reading active writers 2022/01/17 05:55:18 DEBUG : file1: active writers 1 2022/01/17 05:55:18 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:19 DEBUG : : Looking for writers 2022/01/17 05:55:19 DEBUG : file1: reading active writers 2022/01/17 05:55:19 DEBUG : file1: active writers 1 2022/01/17 05:55:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:20 DEBUG : : Looking for writers 2022/01/17 05:55:20 DEBUG : file1: reading active writers 2022/01/17 05:55:20 DEBUG : file1: active writers 1 2022/01/17 05:55:20 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:21 DEBUG : : Looking for writers 2022/01/17 05:55:21 DEBUG : file1: reading active writers 2022/01/17 05:55:21 DEBUG : file1: active writers 1 2022/01/17 05:55:21 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:22 DEBUG : : Looking for writers 2022/01/17 05:55:22 DEBUG : file1: reading active writers 2022/01/17 05:55:22 DEBUG : file1: active writers 1 2022/01/17 05:55:22 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:23 DEBUG : : Looking for writers 2022/01/17 05:55:23 DEBUG : file1: reading active writers 2022/01/17 05:55:23 DEBUG : file1: active writers 1 2022/01/17 05:55:23 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:24 DEBUG : : Looking for writers 2022/01/17 05:55:24 DEBUG : file1: reading active writers 2022/01/17 05:55:24 DEBUG : file1: active writers 1 2022/01/17 05:55:24 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:25 DEBUG : : Looking for writers 2022/01/17 05:55:25 DEBUG : file1: reading active writers 2022/01/17 05:55:25 DEBUG : file1: active writers 1 2022/01/17 05:55:25 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:26 DEBUG : : Looking for writers 2022/01/17 05:55:26 DEBUG : file1: reading active writers 2022/01/17 05:55:26 DEBUG : file1: active writers 1 2022/01/17 05:55:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:27 DEBUG : : Looking for writers 2022/01/17 05:55:27 DEBUG : file1: reading active writers 2022/01/17 05:55:27 DEBUG : file1: active writers 1 2022/01/17 05:55:27 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:28 DEBUG : : Looking for writers 2022/01/17 05:55:28 DEBUG : file1: reading active writers 2022/01/17 05:55:28 DEBUG : file1: active writers 1 2022/01/17 05:55:28 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:29 DEBUG : : Looking for writers 2022/01/17 05:55:29 DEBUG : file1: reading active writers 2022/01/17 05:55:29 DEBUG : file1: active writers 1 2022/01/17 05:55:29 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2022/01/17 05:55:30 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2022/01/17 05:55:30 DEBUG : >WaitForWriters: --- SKIP: TestWriteFileModTimeWithOpenWriters (30.00s) === RUN TestFileReadAtZeroLength run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:55:30 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:55:30 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:55:30 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/01/17 05:55:30 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/01/17 05:55:30 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:55:30 DEBUG : file1: >Open: fd=file1 (w), err= 2022/01/17 05:55:30 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/01/17 05:55:30 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:55:30 DEBUG : mega root 'rclone-test-xajojib6diwemic9julexaf3': File to upload is small (0 bytes), uploading instead of streaming 2022/01/17 05:55:32 INFO : file1: Copied (new) 2022/01/17 05:55:32 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:55:32 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2022/01/17 05:55:32 DEBUG : file1: Open: flags=O_RDONLY 2022/01/17 05:55:32 DEBUG : file1: >Open: fd=file1 (r), err= 2022/01/17 05:55:32 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2022/01/17 05:55:32 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:55:32 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2022/01/17 05:55:32 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:55:32 DEBUG : : Looking for writers 2022/01/17 05:55:32 DEBUG : file1: reading active writers 2022/01/17 05:55:32 DEBUG : >WaitForWriters: --- PASS: TestFileReadAtZeroLength (2.34s) === RUN TestFileReadAtNonZeroLength run.go:181: Remote "mega root 'rclone-test-xajojib6diwemic9julexaf3'", Local "Local file system at /tmp/rclone2545627281", Modify Window "876000h0m0s" 2022/01/17 05:55:32 INFO : mega root 'rclone-test-xajojib6diwemic9julexaf3': poll-interval is not supported by this remote 2022/01/17 05:55:32 NOTICE: mega root 'rclone-test-xajojib6diwemic9julexaf3': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/01/17 05:55:32 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/01/17 05:55:32 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/01/17 05:55:32 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:55:32 DEBUG : file1: >Open: fd=file1 (w), err= 2022/01/17 05:55:32 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/01/17 05:55:32 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:55:32 DEBUG : mega root 'rclone-test-xajojib6diwemic9julexaf3': File to upload is small (100 bytes), uploading instead of streaming 2022/01/17 05:55:33 INFO : file1: Copied (new) 2022/01/17 05:55:33 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/01/17 05:55:33 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2022/01/17 05:55:33 DEBUG : file1: Open: flags=O_RDONLY 2022/01/17 05:55:33 DEBUG : file1: >Open: fd=file1 (r), err= 2022/01/17 05:55:33 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2022/01/17 05:55:33 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2022/01/17 05:55:33 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2022/01/17 05:55:33 DEBUG : WaitForWriters: timeout=30s 2022/01/17 05:55:33 DEBUG : : Looking for writers 2022/01/17 05:55:33 DEBUG : file1: reading active writers 2022/01/17 05:55:33 DEBUG : >WaitForWriters: --- PASS: TestFileReadAtNonZeroLength (0.93s) FAIL 2022/01/17 05:55:33 DEBUG : mega root 'rclone-test-xajojib6diwemic9julexaf3': 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|writes,forceCache=true)$'" - Finished ERROR in 8m5.443925418s (try 2/5): exit status 1: Failed [TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false]