"./vfs.test -test.v -test.timeout 1h0m0s -remote TestZoho: -verbose -test.run '^(TestFileMethods|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestFileRemove|TestFileRemoveAll|TestFileRename|TestFileSetModTime|TestRWFileHandleFlushRead|TestRWFileHandleFlushWrite|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleReleaseWrite|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeCreateNew|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRcGetVFS|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestVFSNew|TestVFSOpenFile|TestVFSRename|TestVFSStat|TestVFSStatParent|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleWriteAt)$/^(cache=full,open=false,write=false|cache=full,open=true,write=false|cache=full,open=true,write=true|cache=off,open=false,write=false|cache=off,open=true,write=false|cache=off,open=true,write=true|full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 2/5) 2022/05/18 06:19:22 DEBUG : Creating backend with remote "TestZoho:rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:19:22 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2022/05/18 06:19:23 DEBUG : Creating backend with remote "/tmp/rclone3921614400" === RUN TestFileMethods run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:19:23 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:19:23 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:19:26 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:19:26 DEBUG : dir: Looking for writers 2022/05/18 06:19:26 DEBUG : file1: reading active writers 2022/05/18 06:19:26 DEBUG : : Looking for writers 2022/05/18 06:19:26 DEBUG : dir: reading active writers 2022/05/18 06:19:26 DEBUG : >WaitForWriters: --- PASS: TestFileMethods (4.32s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=false,write=false run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:19:27 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:19:27 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:19:31 DEBUG : Can set mod time: false file_test.go:98: can't set mod time 2022/05/18 06:19:31 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:19:31 DEBUG : dir: Looking for writers 2022/05/18 06:19:31 DEBUG : file1: reading active writers 2022/05/18 06:19:31 DEBUG : : Looking for writers 2022/05/18 06:19:31 DEBUG : dir: reading active writers 2022/05/18 06:19:31 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=false file_test.go:93: can't set mod time === RUN TestFileSetModTime/cache=off,open=true,write=true file_test.go:93: can't set mod time === RUN TestFileSetModTime/cache=full,open=false,write=false file_test.go:93: can't set mod time === RUN TestFileSetModTime/cache=full,open=true,write=false file_test.go:93: can't set mod time === RUN TestFileSetModTime/cache=full,open=true,write=true file_test.go:93: can't set mod time --- PASS: TestFileSetModTime (4.93s) --- SKIP: TestFileSetModTime/cache=off,open=false,write=false (4.93s) --- SKIP: TestFileSetModTime/cache=off,open=true,write=false (0.00s) --- SKIP: TestFileSetModTime/cache=off,open=true,write=true (0.00s) --- SKIP: TestFileSetModTime/cache=full,open=false,write=false (0.00s) --- SKIP: TestFileSetModTime/cache=full,open=true,write=false (0.00s) --- SKIP: TestFileSetModTime/cache=full,open=true,write=true (0.00s) === RUN TestFileOpenRead run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:19:32 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:19:32 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:19:35 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/05/18 06:19:35 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2022/05/18 06:19:35 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/05/18 06:19:35 DEBUG : dir/file1: ChunkedReader.Read at 0 length 512 chunkOffset 0 chunkSize 134217728 2022/05/18 06:19:35 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:19:35 DEBUG : dir: Looking for writers 2022/05/18 06:19:35 DEBUG : file1: reading active writers 2022/05/18 06:19:35 DEBUG : : Looking for writers 2022/05/18 06:19:35 DEBUG : dir: reading active writers 2022/05/18 06:19:35 DEBUG : >WaitForWriters: --- PASS: TestFileOpenRead (3.70s) === RUN TestFileOpenWrite run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:19:36 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:19:36 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:19:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:19:38 DEBUG : zoho root 'rclone-test-momazag6kesakod3cucafut9': File to upload is small (25 bytes), uploading instead of streaming 2022/05/18 06:19:39 INFO : dir/file1: Copied (new) 2022/05/18 06:19:39 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:19:39 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:19:39 DEBUG : dir: Looking for writers 2022/05/18 06:19:39 DEBUG : file1: reading active writers 2022/05/18 06:19:39 DEBUG : : Looking for writers 2022/05/18 06:19:39 DEBUG : dir: reading active writers 2022/05/18 06:19:39 DEBUG : >WaitForWriters: --- PASS: TestFileOpenWrite (4.34s) === RUN TestFileRemove run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:19:40 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:19:40 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:19:42 DEBUG : dir/file1: Remove: 2022/05/18 06:19:42 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/05/18 06:19:43 DEBUG : dir/file1: >Remove: err= 2022/05/18 06:19:43 DEBUG : dir/file1: Remove: 2022/05/18 06:19:43 DEBUG : dir/file1: >Remove: err=Read only file system 2022/05/18 06:19:43 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:19:43 DEBUG : dir: Looking for writers 2022/05/18 06:19:43 DEBUG : : Looking for writers 2022/05/18 06:19:43 DEBUG : dir: reading active writers 2022/05/18 06:19:43 DEBUG : >WaitForWriters: --- PASS: TestFileRemove (3.58s) === RUN TestFileRemoveAll run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:19:44 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:19:44 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:19:46 DEBUG : dir/file1: Remove: 2022/05/18 06:19:46 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/05/18 06:19:46 DEBUG : dir/file1: >Remove: err= 2022/05/18 06:19:47 DEBUG : dir/file1: Remove: 2022/05/18 06:19:47 DEBUG : dir/file1: >Remove: err=Read only file system 2022/05/18 06:19:47 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:19:47 DEBUG : dir: Looking for writers 2022/05/18 06:19:47 DEBUG : : Looking for writers 2022/05/18 06:19:47 DEBUG : dir: reading active writers 2022/05/18 06:19:47 DEBUG : >WaitForWriters: --- PASS: TestFileRemoveAll (3.51s) === RUN TestFileOpen run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:19:47 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:19:47 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:19:50 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/05/18 06:19:50 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2022/05/18 06:19:50 DEBUG : dir/file1: Open: flags=O_WRONLY 2022/05/18 06:19:50 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2022/05/18 06:19:50 DEBUG : dir/file1: Open: flags=O_RDWR 2022/05/18 06:19:50 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2022/05/18 06:19:50 DEBUG : dir/file1: Open: flags=0x3 2022/05/18 06:19:50 DEBUG : dir/file1: Can't figure out how to open with flags: 0x3 2022/05/18 06:19:50 DEBUG : dir/file1: >Open: fd=, err=permission denied 2022/05/18 06:19:50 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:19:50 DEBUG : dir: Looking for writers 2022/05/18 06:19:50 DEBUG : file1: reading active writers 2022/05/18 06:19:50 DEBUG : : Looking for writers 2022/05/18 06:19:50 DEBUG : dir: reading active writers 2022/05/18 06:19:50 DEBUG : >WaitForWriters: --- PASS: TestFileOpen (3.35s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:19:51 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:19:51 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:19:53 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:19:53 DEBUG : dir: Looking for writers 2022/05/18 06:19:53 DEBUG : file1: reading active writers 2022/05/18 06:19:53 DEBUG : : Looking for writers 2022/05/18 06:19:53 DEBUG : dir: reading active writers 2022/05/18 06:19:53 DEBUG : >WaitForWriters: 2022/05/18 06:19:54 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/05/18 06:19:54 DEBUG : newLeaf: Updating file with newLeaf 0xc0008566c0 2022/05/18 06:19:54 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/05/18 06:19:54 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/05/18 06:19:55 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/05/18 06:19:55 DEBUG : dir/file1: Updating file with dir/file1 0xc0008566c0 2022/05/18 06:19:55 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/05/18 06:19:55 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:19:56 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/05/18 06:19:56 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2022/05/18 06:19:56 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:19:56 DEBUG : dir/file1: File is currently open, delaying rename 0xc0008566c0 2022/05/18 06:19:56 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/05/18 06:19:56 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/05/18 06:19:56 DEBUG : zoho root 'rclone-test-momazag6kesakod3cucafut9': File to upload is small (25 bytes), uploading instead of streaming 2022/05/18 06:19:57 INFO : dir/file1: Copied (new) 2022/05/18 06:19:57 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/05/18 06:19:57 DEBUG : newLeaf: Running delayed rename now 2022/05/18 06:19:58 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/05/18 06:19:58 DEBUG : newLeaf: Updating file with newLeaf 0xc0008566c0 2022/05/18 06:19:58 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:19:58 DEBUG : dir: Looking for writers 2022/05/18 06:19:58 DEBUG : : Looking for writers 2022/05/18 06:19:58 DEBUG : newLeaf: reading active writers 2022/05/18 06:19:58 DEBUG : dir: reading active writers 2022/05/18 06:19:58 DEBUG : >WaitForWriters: 2022/05/18 06:19:58 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:19:58 DEBUG : dir: Looking for writers 2022/05/18 06:19:58 DEBUG : : Looking for writers 2022/05/18 06:19:58 DEBUG : dir: reading active writers 2022/05/18 06:19:58 DEBUG : newLeaf: reading active writers 2022/05/18 06:19:58 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:19:59 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:19:59 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:19:59 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/05/18 06:19:59 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:19:59 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:19:59 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:19:59 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:19:59 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/05/18 06:20:02 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:20:02 DEBUG : dir: Looking for writers 2022/05/18 06:20:02 DEBUG : file1: reading active writers 2022/05/18 06:20:02 DEBUG : : Looking for writers 2022/05/18 06:20:02 DEBUG : dir: reading active writers 2022/05/18 06:20:02 DEBUG : >WaitForWriters: 2022/05/18 06:20:03 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/05/18 06:20:03 DEBUG : newLeaf: Updating file with newLeaf 0xc000270540 2022/05/18 06:20:03 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/05/18 06:20:03 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/05/18 06:20:05 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/05/18 06:20:05 DEBUG : dir/file1: Updating file with dir/file1 0xc000270540 2022/05/18 06:20:05 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/05/18 06:20:05 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:20:05 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/05/18 06:20:05 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2022/05/18 06:20:05 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:20:05 DEBUG : dir/file1: File is currently open, delaying rename 0xc000270540 2022/05/18 06:20:05 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/05/18 06:20:05 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/05/18 06:20:05 DEBUG : zoho root 'rclone-test-momazag6kesakod3cucafut9': File to upload is small (25 bytes), uploading instead of streaming 2022/05/18 06:20:06 INFO : dir/file1: Copied (new) 2022/05/18 06:20:06 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/05/18 06:20:06 DEBUG : newLeaf: Running delayed rename now 2022/05/18 06:20:07 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/05/18 06:20:07 DEBUG : newLeaf: Updating file with newLeaf 0xc000270540 2022/05/18 06:20:07 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:20:07 DEBUG : dir: Looking for writers 2022/05/18 06:20:07 DEBUG : : Looking for writers 2022/05/18 06:20:07 DEBUG : dir: reading active writers 2022/05/18 06:20:07 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:07 DEBUG : >WaitForWriters: 2022/05/18 06:20:07 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:20:07 DEBUG : dir: Looking for writers 2022/05/18 06:20:07 DEBUG : : Looking for writers 2022/05/18 06:20:07 DEBUG : dir: reading active writers 2022/05/18 06:20:07 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:07 DEBUG : >WaitForWriters: 2022/05/18 06:20:07 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:20:08 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:20:08 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:20:08 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/05/18 06:20:08 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:20:08 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:20:08 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:20:08 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:20:08 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/05/18 06:20:11 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2022/05/18 06:20:11 DEBUG : dir/file1: newRWFileHandle: 2022/05/18 06:20:11 DEBUG : dir/file1(0xc0003154c0): openPending: 2022/05/18 06:20:11 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2022/05/18 06:20:11 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/05/18 06:20:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:20:11 DEBUG : dir/file1(0xc0003154c0): >openPending: err= 2022/05/18 06:20:11 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/05/18 06:20:11 DEBUG : dir/file1: >newRWFileHandle: err= 2022/05/18 06:20:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:20:11 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/05/18 06:20:11 DEBUG : dir/file1(0xc0003154c0): _writeAt: size=14, off=0 2022/05/18 06:20:11 DEBUG : dir/file1(0xc0003154c0): >_writeAt: n=14, err= 2022/05/18 06:20:11 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2022/05/18 06:20:11 DEBUG : dir/file1(0xc0003154c0): close: 2022/05/18 06:20:11 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2022/05/18 06:20:11 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2022/05/18 06:20:11 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2022/05/18 06:20:11 DEBUG : dir/file1(0xc0003154c0): >close: err= 2022/05/18 06:20:11 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:20:11 DEBUG : dir: Looking for writers 2022/05/18 06:20:11 DEBUG : file1: reading active writers 2022/05/18 06:20:11 DEBUG : : Looking for writers 2022/05/18 06:20:11 DEBUG : dir: reading active writers 2022/05/18 06:20:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/05/18 06:20:11 DEBUG : dir: Looking for writers 2022/05/18 06:20:11 DEBUG : file1: reading active writers 2022/05/18 06:20:11 DEBUG : : Looking for writers 2022/05/18 06:20:11 DEBUG : dir: reading active writers 2022/05/18 06:20:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/05/18 06:20:11 DEBUG : dir: Looking for writers 2022/05/18 06:20:11 DEBUG : file1: reading active writers 2022/05/18 06:20:11 DEBUG : : Looking for writers 2022/05/18 06:20:11 DEBUG : dir: reading active writers 2022/05/18 06:20:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/05/18 06:20:11 DEBUG : dir: Looking for writers 2022/05/18 06:20:11 DEBUG : file1: reading active writers 2022/05/18 06:20:11 DEBUG : : Looking for writers 2022/05/18 06:20:11 DEBUG : dir: reading active writers 2022/05/18 06:20:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/05/18 06:20:11 DEBUG : dir/file1: vfs cache: starting upload 2022/05/18 06:20:11 DEBUG : dir: Looking for writers 2022/05/18 06:20:11 DEBUG : file1: reading active writers 2022/05/18 06:20:11 DEBUG : : Looking for writers 2022/05/18 06:20:11 DEBUG : dir: reading active writers 2022/05/18 06:20:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/05/18 06:20:11 DEBUG : dir: Looking for writers 2022/05/18 06:20:11 DEBUG : file1: reading active writers 2022/05/18 06:20:11 DEBUG : : Looking for writers 2022/05/18 06:20:11 DEBUG : dir: reading active writers 2022/05/18 06:20:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/05/18 06:20:11 DEBUG : dir: Looking for writers 2022/05/18 06:20:11 DEBUG : file1: reading active writers 2022/05/18 06:20:11 DEBUG : : Looking for writers 2022/05/18 06:20:11 DEBUG : dir: reading active writers 2022/05/18 06:20:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/05/18 06:20:11 INFO : dir/file1: Copied (replaced existing) 2022/05/18 06:20:11 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2022/05/18 06:20:11 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2022/05/18 06:20:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:20:11 INFO : dir/file1: vfs cache: upload succeeded try #1 2022/05/18 06:20:12 DEBUG : dir: Looking for writers 2022/05/18 06:20:12 DEBUG : file1: reading active writers 2022/05/18 06:20:12 DEBUG : : Looking for writers 2022/05/18 06:20:12 DEBUG : dir: reading active writers 2022/05/18 06:20:12 DEBUG : >WaitForWriters: 2022/05/18 06:20:12 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/05/18 06:20:12 DEBUG : dir/file1: newRWFileHandle: 2022/05/18 06:20:12 DEBUG : dir/file1: >newRWFileHandle: err= 2022/05/18 06:20:12 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/05/18 06:20:12 DEBUG : dir/file1(0xc000315a80): _readAt: size=512, off=0 2022/05/18 06:20:12 DEBUG : dir/file1(0xc000315a80): openPending: 2022/05/18 06:20:12 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2022/05/18 06:20:12 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/05/18 06:20:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:20:12 DEBUG : dir/file1(0xc000315a80): >openPending: err= 2022/05/18 06:20:12 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2022/05/18 06:20:12 DEBUG : dir/file1(0xc000315a80): >_readAt: n=14, err=EOF 2022/05/18 06:20:12 DEBUG : dir/file1(0xc000315a80): close: 2022/05/18 06:20:12 DEBUG : dir/file1: vfs cache: setting modification time to 2022-05-18 06:20:11.816 +0000 UTC 2022/05/18 06:20:12 DEBUG : dir/file1(0xc000315a80): >close: err= 2022/05/18 06:20:13 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/05/18 06:20:13 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/05/18 06:20:13 DEBUG : newLeaf: Updating file with newLeaf 0xc000270b40 2022/05/18 06:20:13 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/05/18 06:20:13 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/05/18 06:20:14 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/05/18 06:20:14 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2022/05/18 06:20:14 DEBUG : dir/file1: Updating file with dir/file1 0xc000270b40 2022/05/18 06:20:14 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/05/18 06:20:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:20:15 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/05/18 06:20:15 DEBUG : dir/file1: newRWFileHandle: 2022/05/18 06:20:15 DEBUG : dir/file1(0xc0002ce280): openPending: 2022/05/18 06:20:15 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2022/05/18 06:20:15 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/05/18 06:20:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:20:15 DEBUG : dir/file1(0xc0002ce280): >openPending: err= 2022/05/18 06:20:15 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/05/18 06:20:15 DEBUG : dir/file1: >newRWFileHandle: err= 2022/05/18 06:20:15 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/05/18 06:20:15 DEBUG : dir/file1(0xc0002ce280): _writeAt: size=25, off=0 2022/05/18 06:20:15 DEBUG : dir/file1(0xc0002ce280): >_writeAt: n=25, err= 2022/05/18 06:20:16 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/05/18 06:20:16 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/05/18 06:20:16 DEBUG : newLeaf: Updating file with newLeaf 0xc000270b40 2022/05/18 06:20:16 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/05/18 06:20:16 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/05/18 06:20:16 DEBUG : newLeaf(0xc0002ce280): close: 2022/05/18 06:20:16 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2022/05/18 06:20:16 DEBUG : newLeaf: vfs cache: setting modification time to 2022-05-18 06:20:15.505884678 +0000 UTC m=+52.998894246 2022/05/18 06:20:16 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2022/05/18 06:20:16 DEBUG : newLeaf(0xc0002ce280): >close: err= 2022/05/18 06:20:16 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:20:16 DEBUG : dir: Looking for writers 2022/05/18 06:20:16 DEBUG : : Looking for writers 2022/05/18 06:20:16 DEBUG : dir: reading active writers 2022/05/18 06:20:16 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/05/18 06:20:16 DEBUG : dir: Looking for writers 2022/05/18 06:20:16 DEBUG : : Looking for writers 2022/05/18 06:20:16 DEBUG : dir: reading active writers 2022/05/18 06:20:16 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/05/18 06:20:16 DEBUG : dir: Looking for writers 2022/05/18 06:20:16 DEBUG : : Looking for writers 2022/05/18 06:20:16 DEBUG : dir: reading active writers 2022/05/18 06:20:16 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/05/18 06:20:16 DEBUG : dir: Looking for writers 2022/05/18 06:20:16 DEBUG : : Looking for writers 2022/05/18 06:20:16 DEBUG : dir: reading active writers 2022/05/18 06:20:16 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/05/18 06:20:16 DEBUG : newLeaf: vfs cache: starting upload 2022/05/18 06:20:16 DEBUG : dir: Looking for writers 2022/05/18 06:20:16 DEBUG : : Looking for writers 2022/05/18 06:20:16 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:16 DEBUG : dir: reading active writers 2022/05/18 06:20:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/05/18 06:20:16 DEBUG : dir: Looking for writers 2022/05/18 06:20:16 DEBUG : : Looking for writers 2022/05/18 06:20:16 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:16 DEBUG : dir: reading active writers 2022/05/18 06:20:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/05/18 06:20:16 INFO : newLeaf: Copied (replaced existing) 2022/05/18 06:20:16 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2022/05/18 06:20:16 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2022/05/18 06:20:16 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/05/18 06:20:16 INFO : newLeaf: vfs cache: upload succeeded try #1 2022/05/18 06:20:17 DEBUG : dir: Looking for writers 2022/05/18 06:20:17 DEBUG : : Looking for writers 2022/05/18 06:20:17 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:17 DEBUG : dir: reading active writers 2022/05/18 06:20:17 DEBUG : >WaitForWriters: 2022/05/18 06:20:17 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:20:17 DEBUG : dir: Looking for writers 2022/05/18 06:20:17 DEBUG : : Looking for writers 2022/05/18 06:20:17 DEBUG : dir: reading active writers 2022/05/18 06:20:17 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:17 DEBUG : >WaitForWriters: 2022/05/18 06:20:17 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:20:18 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:20:18 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/05/18 06:20:18 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:20:18 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:20:18 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:20:18 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:20:18 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/05/18 06:20:20 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:20:20 DEBUG : dir: Looking for writers 2022/05/18 06:20:20 DEBUG : file1: reading active writers 2022/05/18 06:20:20 DEBUG : : Looking for writers 2022/05/18 06:20:20 DEBUG : dir: reading active writers 2022/05/18 06:20:20 DEBUG : >WaitForWriters: 2022/05/18 06:20:22 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/05/18 06:20:22 DEBUG : newLeaf: Updating file with newLeaf 0xc0008572c0 2022/05/18 06:20:22 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/05/18 06:20:22 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/05/18 06:20:23 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/05/18 06:20:23 DEBUG : dir/file1: Updating file with dir/file1 0xc0008572c0 2022/05/18 06:20:23 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/05/18 06:20:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:20:24 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/05/18 06:20:24 DEBUG : dir/file1: newRWFileHandle: 2022/05/18 06:20:24 DEBUG : dir/file1(0xc000315080): openPending: 2022/05/18 06:20:24 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2022/05/18 06:20:24 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/05/18 06:20:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:20:24 DEBUG : dir/file1(0xc000315080): >openPending: err= 2022/05/18 06:20:24 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/05/18 06:20:24 DEBUG : dir/file1: >newRWFileHandle: err= 2022/05/18 06:20:24 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/05/18 06:20:24 DEBUG : dir/file1(0xc000315080): _writeAt: size=25, off=0 2022/05/18 06:20:24 DEBUG : dir/file1(0xc000315080): >_writeAt: n=25, err= 2022/05/18 06:20:25 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/05/18 06:20:25 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/05/18 06:20:25 DEBUG : newLeaf: Updating file with newLeaf 0xc0008572c0 2022/05/18 06:20:25 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/05/18 06:20:25 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/05/18 06:20:25 DEBUG : newLeaf(0xc000315080): close: 2022/05/18 06:20:25 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2022/05/18 06:20:25 DEBUG : newLeaf: vfs cache: setting modification time to 2022-05-18 06:20:24.171107019 +0000 UTC m=+61.664116588 2022/05/18 06:20:25 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2022/05/18 06:20:25 DEBUG : newLeaf(0xc000315080): >close: err= 2022/05/18 06:20:25 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:20:25 DEBUG : dir: Looking for writers 2022/05/18 06:20:25 DEBUG : : Looking for writers 2022/05/18 06:20:25 DEBUG : dir: reading active writers 2022/05/18 06:20:25 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/05/18 06:20:25 DEBUG : dir: Looking for writers 2022/05/18 06:20:25 DEBUG : : Looking for writers 2022/05/18 06:20:25 DEBUG : dir: reading active writers 2022/05/18 06:20:25 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/05/18 06:20:25 DEBUG : dir: Looking for writers 2022/05/18 06:20:25 DEBUG : : Looking for writers 2022/05/18 06:20:25 DEBUG : dir: reading active writers 2022/05/18 06:20:25 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/05/18 06:20:25 DEBUG : dir: Looking for writers 2022/05/18 06:20:25 DEBUG : : Looking for writers 2022/05/18 06:20:25 DEBUG : dir: reading active writers 2022/05/18 06:20:25 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/05/18 06:20:25 DEBUG : newLeaf: vfs cache: starting upload 2022/05/18 06:20:25 DEBUG : dir: Looking for writers 2022/05/18 06:20:25 DEBUG : : Looking for writers 2022/05/18 06:20:25 DEBUG : dir: reading active writers 2022/05/18 06:20:25 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/05/18 06:20:25 DEBUG : dir: Looking for writers 2022/05/18 06:20:25 DEBUG : : Looking for writers 2022/05/18 06:20:25 DEBUG : dir: reading active writers 2022/05/18 06:20:25 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/05/18 06:20:25 INFO : newLeaf: Copied (replaced existing) 2022/05/18 06:20:25 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2022/05/18 06:20:25 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2022/05/18 06:20:25 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/05/18 06:20:25 INFO : newLeaf: vfs cache: upload succeeded try #1 2022/05/18 06:20:25 DEBUG : dir: Looking for writers 2022/05/18 06:20:25 DEBUG : : Looking for writers 2022/05/18 06:20:25 DEBUG : dir: reading active writers 2022/05/18 06:20:25 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:25 DEBUG : >WaitForWriters: 2022/05/18 06:20:26 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:20:26 DEBUG : dir: Looking for writers 2022/05/18 06:20:26 DEBUG : : Looking for writers 2022/05/18 06:20:26 DEBUG : dir: reading active writers 2022/05/18 06:20:26 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:26 DEBUG : >WaitForWriters: 2022/05/18 06:20:26 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:20:27 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:20:27 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/05/18 06:20:27 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:20:27 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:20:27 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:20:27 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:20:27 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/05/18 06:20:29 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2022/05/18 06:20:29 DEBUG : dir/file1: newRWFileHandle: 2022/05/18 06:20:29 DEBUG : dir/file1(0xc000314d00): openPending: 2022/05/18 06:20:29 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2022/05/18 06:20:29 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/05/18 06:20:29 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:20:29 DEBUG : dir/file1(0xc000314d00): >openPending: err= 2022/05/18 06:20:29 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/05/18 06:20:29 DEBUG : dir/file1: >newRWFileHandle: err= 2022/05/18 06:20:29 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:20:29 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/05/18 06:20:29 DEBUG : dir/file1(0xc000314d00): _writeAt: size=14, off=0 2022/05/18 06:20:29 DEBUG : dir/file1(0xc000314d00): >_writeAt: n=14, err= 2022/05/18 06:20:29 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2022/05/18 06:20:29 DEBUG : dir/file1(0xc000314d00): close: 2022/05/18 06:20:29 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2022/05/18 06:20:29 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2022/05/18 06:20:29 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2022/05/18 06:20:29 DEBUG : dir/file1(0xc000314d00): >close: err= 2022/05/18 06:20:29 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:20:29 DEBUG : dir: Looking for writers 2022/05/18 06:20:29 DEBUG : file1: reading active writers 2022/05/18 06:20:29 DEBUG : : Looking for writers 2022/05/18 06:20:29 DEBUG : dir: reading active writers 2022/05/18 06:20:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/05/18 06:20:29 DEBUG : dir: Looking for writers 2022/05/18 06:20:29 DEBUG : file1: reading active writers 2022/05/18 06:20:29 DEBUG : : Looking for writers 2022/05/18 06:20:29 DEBUG : dir: reading active writers 2022/05/18 06:20:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/05/18 06:20:29 DEBUG : dir: Looking for writers 2022/05/18 06:20:29 DEBUG : file1: reading active writers 2022/05/18 06:20:29 DEBUG : : Looking for writers 2022/05/18 06:20:29 DEBUG : dir: reading active writers 2022/05/18 06:20:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/05/18 06:20:29 DEBUG : dir: Looking for writers 2022/05/18 06:20:29 DEBUG : file1: reading active writers 2022/05/18 06:20:29 DEBUG : : Looking for writers 2022/05/18 06:20:29 DEBUG : dir: reading active writers 2022/05/18 06:20:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/05/18 06:20:29 DEBUG : dir/file1: vfs cache: starting upload 2022/05/18 06:20:29 DEBUG : dir: Looking for writers 2022/05/18 06:20:29 DEBUG : file1: reading active writers 2022/05/18 06:20:29 DEBUG : : Looking for writers 2022/05/18 06:20:29 DEBUG : dir: reading active writers 2022/05/18 06:20:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/05/18 06:20:29 DEBUG : dir: Looking for writers 2022/05/18 06:20:29 DEBUG : file1: reading active writers 2022/05/18 06:20:29 DEBUG : : Looking for writers 2022/05/18 06:20:29 DEBUG : dir: reading active writers 2022/05/18 06:20:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/05/18 06:20:29 DEBUG : dir: Looking for writers 2022/05/18 06:20:29 DEBUG : file1: reading active writers 2022/05/18 06:20:29 DEBUG : : Looking for writers 2022/05/18 06:20:29 DEBUG : dir: reading active writers 2022/05/18 06:20:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/05/18 06:20:30 INFO : dir/file1: Copied (replaced existing) 2022/05/18 06:20:30 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2022/05/18 06:20:30 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2022/05/18 06:20:30 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:20:30 INFO : dir/file1: vfs cache: upload succeeded try #1 2022/05/18 06:20:30 DEBUG : dir: Looking for writers 2022/05/18 06:20:30 DEBUG : file1: reading active writers 2022/05/18 06:20:30 DEBUG : : Looking for writers 2022/05/18 06:20:30 DEBUG : dir: reading active writers 2022/05/18 06:20:30 DEBUG : >WaitForWriters: 2022/05/18 06:20:30 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/05/18 06:20:30 DEBUG : dir/file1: newRWFileHandle: 2022/05/18 06:20:30 DEBUG : dir/file1: >newRWFileHandle: err= 2022/05/18 06:20:30 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/05/18 06:20:30 DEBUG : dir/file1(0xc000315040): _readAt: size=512, off=0 2022/05/18 06:20:30 DEBUG : dir/file1(0xc000315040): openPending: 2022/05/18 06:20:30 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2022/05/18 06:20:30 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/05/18 06:20:30 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:20:30 DEBUG : dir/file1(0xc000315040): >openPending: err= 2022/05/18 06:20:30 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2022/05/18 06:20:30 DEBUG : dir/file1(0xc000315040): >_readAt: n=14, err=EOF 2022/05/18 06:20:30 DEBUG : dir/file1(0xc000315040): close: 2022/05/18 06:20:30 DEBUG : dir/file1: vfs cache: setting modification time to 2022-05-18 06:20:30.13 +0000 UTC 2022/05/18 06:20:30 DEBUG : dir/file1(0xc000315040): >close: err= 2022/05/18 06:20:32 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/05/18 06:20:32 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/05/18 06:20:32 DEBUG : newLeaf: Updating file with newLeaf 0xc000270600 2022/05/18 06:20:32 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/05/18 06:20:32 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/05/18 06:20:33 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/05/18 06:20:33 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2022/05/18 06:20:33 DEBUG : dir/file1: Updating file with dir/file1 0xc000270600 2022/05/18 06:20:33 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/05/18 06:20:33 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:20:33 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/05/18 06:20:33 DEBUG : dir/file1: newRWFileHandle: 2022/05/18 06:20:33 DEBUG : dir/file1(0xc0005a4140): openPending: 2022/05/18 06:20:33 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2022/05/18 06:20:33 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/05/18 06:20:33 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:20:33 DEBUG : dir/file1(0xc0005a4140): >openPending: err= 2022/05/18 06:20:33 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/05/18 06:20:33 DEBUG : dir/file1: >newRWFileHandle: err= 2022/05/18 06:20:33 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/05/18 06:20:33 DEBUG : dir/file1(0xc0005a4140): _writeAt: size=25, off=0 2022/05/18 06:20:33 DEBUG : dir/file1(0xc0005a4140): >_writeAt: n=25, err= 2022/05/18 06:20:34 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/05/18 06:20:34 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/05/18 06:20:34 DEBUG : newLeaf: Updating file with newLeaf 0xc000270600 2022/05/18 06:20:34 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/05/18 06:20:34 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/05/18 06:20:34 DEBUG : newLeaf(0xc0005a4140): close: 2022/05/18 06:20:34 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2022/05/18 06:20:34 DEBUG : newLeaf: vfs cache: setting modification time to 2022-05-18 06:20:33.968189984 +0000 UTC m=+71.461199533 2022/05/18 06:20:34 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2022/05/18 06:20:34 DEBUG : newLeaf(0xc0005a4140): >close: err= 2022/05/18 06:20:34 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:20:34 DEBUG : dir: Looking for writers 2022/05/18 06:20:34 DEBUG : : Looking for writers 2022/05/18 06:20:34 DEBUG : dir: reading active writers 2022/05/18 06:20:34 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/05/18 06:20:34 DEBUG : dir: Looking for writers 2022/05/18 06:20:34 DEBUG : : Looking for writers 2022/05/18 06:20:34 DEBUG : dir: reading active writers 2022/05/18 06:20:34 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/05/18 06:20:34 DEBUG : dir: Looking for writers 2022/05/18 06:20:34 DEBUG : : Looking for writers 2022/05/18 06:20:34 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:34 DEBUG : dir: reading active writers 2022/05/18 06:20:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/05/18 06:20:34 DEBUG : dir: Looking for writers 2022/05/18 06:20:34 DEBUG : : Looking for writers 2022/05/18 06:20:34 DEBUG : dir: reading active writers 2022/05/18 06:20:34 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/05/18 06:20:34 DEBUG : newLeaf: vfs cache: starting upload 2022/05/18 06:20:35 DEBUG : dir: Looking for writers 2022/05/18 06:20:35 DEBUG : : Looking for writers 2022/05/18 06:20:35 DEBUG : dir: reading active writers 2022/05/18 06:20:35 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/05/18 06:20:35 DEBUG : dir: Looking for writers 2022/05/18 06:20:35 DEBUG : : Looking for writers 2022/05/18 06:20:35 DEBUG : dir: reading active writers 2022/05/18 06:20:35 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/05/18 06:20:35 INFO : newLeaf: Copied (replaced existing) 2022/05/18 06:20:35 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2022/05/18 06:20:35 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2022/05/18 06:20:35 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/05/18 06:20:35 INFO : newLeaf: vfs cache: upload succeeded try #1 2022/05/18 06:20:35 DEBUG : dir: Looking for writers 2022/05/18 06:20:35 DEBUG : : Looking for writers 2022/05/18 06:20:35 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:35 DEBUG : dir: reading active writers 2022/05/18 06:20:35 DEBUG : >WaitForWriters: 2022/05/18 06:20:35 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:20:35 DEBUG : dir: Looking for writers 2022/05/18 06:20:35 DEBUG : : Looking for writers 2022/05/18 06:20:35 DEBUG : dir: reading active writers 2022/05/18 06:20:35 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:35 DEBUG : >WaitForWriters: 2022/05/18 06:20:35 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:20:36 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:20:36 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/05/18 06:20:36 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:20:36 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:20:36 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:20:36 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:20:36 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/05/18 06:20:39 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:20:39 DEBUG : dir: Looking for writers 2022/05/18 06:20:39 DEBUG : file1: reading active writers 2022/05/18 06:20:39 DEBUG : : Looking for writers 2022/05/18 06:20:39 DEBUG : dir: reading active writers 2022/05/18 06:20:39 DEBUG : >WaitForWriters: 2022/05/18 06:20:39 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/05/18 06:20:39 DEBUG : dir/file1: newRWFileHandle: 2022/05/18 06:20:39 DEBUG : dir/file1: >newRWFileHandle: err= 2022/05/18 06:20:39 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/05/18 06:20:39 DEBUG : dir/file1(0xc0005a5180): _readAt: size=512, off=0 2022/05/18 06:20:39 DEBUG : dir/file1(0xc0005a5180): openPending: 2022/05/18 06:20:39 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2022/05/18 06:20:39 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/05/18 06:20:39 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:20:39 DEBUG : dir/file1(0xc0005a5180): >openPending: err= 2022/05/18 06:20:39 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2022/05/18 06:20:39 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2022/05/18 06:20:39 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2022/05/18 06:20:39 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/05/18 06:20:39 DEBUG : dir/file1(0xc0005a5180): >_readAt: n=14, err=EOF 2022/05/18 06:20:39 DEBUG : dir/file1(0xc0005a5180): close: 2022/05/18 06:20:39 DEBUG : dir/file1: vfs cache: setting modification time to 2022-05-18 06:20:37.84 +0000 UTC 2022/05/18 06:20:39 DEBUG : dir/file1(0xc0005a5180): >close: err= 2022/05/18 06:20:40 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/05/18 06:20:40 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/05/18 06:20:40 DEBUG : newLeaf: Updating file with newLeaf 0xc000270cc0 2022/05/18 06:20:40 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/05/18 06:20:40 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/05/18 06:20:41 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/05/18 06:20:41 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2022/05/18 06:20:41 DEBUG : dir/file1: Updating file with dir/file1 0xc000270cc0 2022/05/18 06:20:41 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/05/18 06:20:41 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:20:42 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/05/18 06:20:42 DEBUG : dir/file1: newRWFileHandle: 2022/05/18 06:20:42 DEBUG : dir/file1(0xc000c28200): openPending: 2022/05/18 06:20:42 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2022/05/18 06:20:42 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/05/18 06:20:42 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:20:42 DEBUG : dir/file1(0xc000c28200): >openPending: err= 2022/05/18 06:20:42 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/05/18 06:20:42 DEBUG : dir/file1: >newRWFileHandle: err= 2022/05/18 06:20:42 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/05/18 06:20:42 DEBUG : dir/file1(0xc000c28200): _writeAt: size=25, off=0 2022/05/18 06:20:42 DEBUG : dir/file1(0xc000c28200): >_writeAt: n=25, err= 2022/05/18 06:20:43 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/05/18 06:20:43 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/05/18 06:20:43 DEBUG : newLeaf: Updating file with newLeaf 0xc000270cc0 2022/05/18 06:20:43 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/05/18 06:20:43 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/05/18 06:20:43 DEBUG : newLeaf(0xc000c28200): close: 2022/05/18 06:20:43 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2022/05/18 06:20:43 DEBUG : newLeaf: vfs cache: setting modification time to 2022-05-18 06:20:42.48895451 +0000 UTC m=+79.981964048 2022/05/18 06:20:43 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2022/05/18 06:20:43 DEBUG : newLeaf(0xc000c28200): >close: err= 2022/05/18 06:20:43 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:20:43 DEBUG : dir: Looking for writers 2022/05/18 06:20:43 DEBUG : : Looking for writers 2022/05/18 06:20:43 DEBUG : dir: reading active writers 2022/05/18 06:20:43 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/05/18 06:20:43 DEBUG : dir: Looking for writers 2022/05/18 06:20:43 DEBUG : : Looking for writers 2022/05/18 06:20:43 DEBUG : dir: reading active writers 2022/05/18 06:20:43 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/05/18 06:20:43 DEBUG : dir: Looking for writers 2022/05/18 06:20:43 DEBUG : : Looking for writers 2022/05/18 06:20:43 DEBUG : dir: reading active writers 2022/05/18 06:20:43 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/05/18 06:20:43 DEBUG : dir: Looking for writers 2022/05/18 06:20:43 DEBUG : : Looking for writers 2022/05/18 06:20:43 DEBUG : dir: reading active writers 2022/05/18 06:20:43 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/05/18 06:20:43 DEBUG : newLeaf: vfs cache: starting upload 2022/05/18 06:20:43 DEBUG : dir: Looking for writers 2022/05/18 06:20:43 DEBUG : : Looking for writers 2022/05/18 06:20:43 DEBUG : dir: reading active writers 2022/05/18 06:20:43 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/05/18 06:20:43 DEBUG : dir: Looking for writers 2022/05/18 06:20:43 DEBUG : : Looking for writers 2022/05/18 06:20:43 DEBUG : dir: reading active writers 2022/05/18 06:20:43 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/05/18 06:20:43 INFO : newLeaf: Copied (replaced existing) 2022/05/18 06:20:43 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2022/05/18 06:20:43 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2022/05/18 06:20:43 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/05/18 06:20:43 INFO : newLeaf: vfs cache: upload succeeded try #1 2022/05/18 06:20:44 DEBUG : dir: Looking for writers 2022/05/18 06:20:44 DEBUG : : Looking for writers 2022/05/18 06:20:44 DEBUG : dir: reading active writers 2022/05/18 06:20:44 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:44 DEBUG : >WaitForWriters: 2022/05/18 06:20:44 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:20:44 DEBUG : dir: Looking for writers 2022/05/18 06:20:44 DEBUG : : Looking for writers 2022/05/18 06:20:44 DEBUG : newLeaf: reading active writers 2022/05/18 06:20:44 DEBUG : dir: reading active writers 2022/05/18 06:20:44 DEBUG : >WaitForWriters: 2022/05/18 06:20:44 DEBUG : vfs cache: cleaner exiting --- PASS: TestFileRename (54.28s) --- PASS: TestFileRename/off,forceCache=false (8.68s) --- PASS: TestFileRename/minimal,forceCache=false (8.97s) --- PASS: TestFileRename/minimal,forceCache=true (9.66s) --- PASS: TestFileRename/writes,forceCache=false (8.62s) --- PASS: TestFileRename/writes,forceCache=true (9.77s) --- PASS: TestFileRename/full,forceCache=false (8.58s) === RUN TestRcGetVFS run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:20:45 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:20:45 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:20:45 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:20:45 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:20:45 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:20:45 DEBUG : : Looking for writers 2022/05/18 06:20:45 DEBUG : >WaitForWriters: --- PASS: TestRcGetVFS (0.23s) === RUN TestReadFileHandleMethods run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:20:45 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:20:45 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:20:47 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/05/18 06:20:47 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/05/18 06:20:47 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2022/05/18 06:20:47 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2022/05/18 06:20:47 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/05/18 06:20:48 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2022/05/18 06:20:48 DEBUG : dir/file1: ChunkedReader.Read at 1 length 256 chunkOffset 0 chunkSize 134217728 2022/05/18 06:20:48 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:20:48 DEBUG : dir: Looking for writers 2022/05/18 06:20:48 DEBUG : file1: reading active writers 2022/05/18 06:20:48 DEBUG : : Looking for writers 2022/05/18 06:20:48 DEBUG : dir: reading active writers 2022/05/18 06:20:48 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleMethods (3.49s) === RUN TestReadFileHandleSeek run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:20:49 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:20:49 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:20:50 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/05/18 06:20:51 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/05/18 06:20:51 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2022/05/18 06:20:51 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2022/05/18 06:20:51 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/05/18 06:20:51 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2022/05/18 06:20:51 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2022/05/18 06:20:51 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2022/05/18 06:20:51 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2022/05/18 06:20:51 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2022/05/18 06:20:51 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2022/05/18 06:20:51 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2022/05/18 06:20:51 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2022/05/18 06:20:51 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2022/05/18 06:20:51 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2022/05/18 06:20:51 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2022/05/18 06:20:51 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2022/05/18 06:20:51 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2022/05/18 06:20:51 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2022/05/18 06:20:51 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2022/05/18 06:20:51 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2022/05/18 06:20:52 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:20:52 DEBUG : dir: Looking for writers 2022/05/18 06:20:52 DEBUG : file1: reading active writers 2022/05/18 06:20:52 DEBUG : : Looking for writers 2022/05/18 06:20:52 DEBUG : dir: reading active writers 2022/05/18 06:20:52 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleSeek (3.95s) === RUN TestReadFileHandleReadAt run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:20:53 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:20:53 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:20:54 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/05/18 06:20:55 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/05/18 06:20:55 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2022/05/18 06:20:55 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2022/05/18 06:20:55 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/05/18 06:20:55 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2022/05/18 06:20:55 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2022/05/18 06:20:55 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2022/05/18 06:20:55 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2022/05/18 06:20:55 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2022/05/18 06:20:55 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2022/05/18 06:20:55 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2022/05/18 06:20:55 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2022/05/18 06:20:56 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2022/05/18 06:20:56 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2022/05/18 06:20:56 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2022/05/18 06:20:56 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2022/05/18 06:20:56 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2022/05/18 06:20:56 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2022/05/18 06:20:56 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2022/05/18 06:20:56 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2022/05/18 06:20:56 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2022/05/18 06:20:56 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2022/05/18 06:20:56 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2022/05/18 06:20:56 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2022/05/18 06:20:56 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2022/05/18 06:20:56 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2022/05/18 06:20:56 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2022/05/18 06:20:56 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2022/05/18 06:20:56 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2022/05/18 06:20:56 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2022/05/18 06:20:56 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2022/05/18 06:20:56 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2022/05/18 06:20:56 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2022/05/18 06:20:56 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2022/05/18 06:20:56 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2022/05/18 06:20:56 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:20:56 DEBUG : dir: Looking for writers 2022/05/18 06:20:56 DEBUG : file1: reading active writers 2022/05/18 06:20:56 DEBUG : : Looking for writers 2022/05/18 06:20:56 DEBUG : dir: reading active writers 2022/05/18 06:20:56 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (4.47s) === RUN TestReadFileHandleFlush run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:20:57 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:20:57 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:20:59 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/05/18 06:20:59 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/05/18 06:20:59 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2022/05/18 06:20:59 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2022/05/18 06:20:59 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/05/18 06:21:00 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2022/05/18 06:21:00 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:21:00 DEBUG : dir: Looking for writers 2022/05/18 06:21:00 DEBUG : file1: reading active writers 2022/05/18 06:21:00 DEBUG : : Looking for writers 2022/05/18 06:21:00 DEBUG : dir: reading active writers 2022/05/18 06:21:00 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleFlush (3.69s) === RUN TestReadFileHandleRelease run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:21:01 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:21:01 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:21:03 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/05/18 06:21:03 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/05/18 06:21:03 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2022/05/18 06:21:03 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2022/05/18 06:21:03 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/05/18 06:21:03 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2022/05/18 06:21:03 DEBUG : dir/file1: ReadFileHandle.Release closing 2022/05/18 06:21:03 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2022/05/18 06:21:03 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:21:03 DEBUG : dir: Looking for writers 2022/05/18 06:21:03 DEBUG : file1: reading active writers 2022/05/18 06:21:03 DEBUG : : Looking for writers 2022/05/18 06:21:03 DEBUG : dir: reading active writers 2022/05/18 06:21:03 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleRelease (3.58s) === RUN TestRWFileHandleMethodsRead run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:21:04 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:21:04 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/05/18 06:21:04 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:04 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:04 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:04 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:04 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/05/18 06:21:06 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/05/18 06:21:07 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/05/18 06:21:07 DEBUG : dir/file1: newRWFileHandle: 2022/05/18 06:21:07 DEBUG : dir/file1: >newRWFileHandle: err= 2022/05/18 06:21:07 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/05/18 06:21:07 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2022/05/18 06:21:07 DEBUG : dir/file1(0xc0009ef4c0): _readAt: size=1, off=0 2022/05/18 06:21:07 DEBUG : dir/file1(0xc0009ef4c0): openPending: 2022/05/18 06:21:07 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2022/05/18 06:21:07 DEBUG : dir/file1: vfs cache: truncate to size=16 2022/05/18 06:21:07 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:07 DEBUG : dir/file1(0xc0009ef4c0): >openPending: err= 2022/05/18 06:21:07 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2022/05/18 06:21:07 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2022/05/18 06:21:07 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2022/05/18 06:21:07 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/05/18 06:21:07 DEBUG : dir/file1(0xc0009ef4c0): >_readAt: n=1, err= 2022/05/18 06:21:07 DEBUG : dir/file1(0xc0009ef4c0): _readAt: size=256, off=1 2022/05/18 06:21:07 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2022/05/18 06:21:07 DEBUG : dir/file1(0xc0009ef4c0): >_readAt: n=15, err=EOF 2022/05/18 06:21:07 DEBUG : dir/file1(0xc0009ef4c0): _readAt: size=16, off=16 2022/05/18 06:21:07 DEBUG : dir/file1(0xc0009ef4c0): >_readAt: n=0, err=EOF 2022/05/18 06:21:07 DEBUG : dir/file1(0xc0009ef4c0): close: 2022/05/18 06:21:07 DEBUG : dir/file1: vfs cache: setting modification time to 2022-05-18 06:21:05.831 +0000 UTC 2022/05/18 06:21:07 DEBUG : dir/file1(0xc0009ef4c0): >close: err= 2022/05/18 06:21:07 DEBUG : dir/file1(0xc0009ef4c0): close: 2022/05/18 06:21:07 DEBUG : dir/file1(0xc0009ef4c0): >close: err=file already closed 2022/05/18 06:21:07 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:21:07 DEBUG : dir: Looking for writers 2022/05/18 06:21:07 DEBUG : file1: reading active writers 2022/05/18 06:21:07 DEBUG : : Looking for writers 2022/05/18 06:21:07 DEBUG : dir: reading active writers 2022/05/18 06:21:07 DEBUG : >WaitForWriters: 2022/05/18 06:21:07 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsRead (3.54s) === RUN TestRWFileHandleSeek run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:21:08 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:21:08 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/05/18 06:21:08 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:08 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:08 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:08 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:08 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/05/18 06:21:10 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/05/18 06:21:10 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/05/18 06:21:10 DEBUG : dir/file1: newRWFileHandle: 2022/05/18 06:21:10 DEBUG : dir/file1: >newRWFileHandle: err= 2022/05/18 06:21:10 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/05/18 06:21:10 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2022/05/18 06:21:10 DEBUG : dir/file1(0xc000315ec0): _readAt: size=1, off=0 2022/05/18 06:21:10 DEBUG : dir/file1(0xc000315ec0): openPending: 2022/05/18 06:21:10 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2022/05/18 06:21:10 DEBUG : dir/file1: vfs cache: truncate to size=16 2022/05/18 06:21:10 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:10 DEBUG : dir/file1(0xc000315ec0): >openPending: err= 2022/05/18 06:21:10 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2022/05/18 06:21:10 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2022/05/18 06:21:10 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2022/05/18 06:21:10 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/05/18 06:21:10 DEBUG : dir/file1(0xc000315ec0): >_readAt: n=1, err= 2022/05/18 06:21:10 DEBUG : dir/file1(0xc000315ec0): _readAt: size=1, off=5 2022/05/18 06:21:10 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2022/05/18 06:21:10 DEBUG : dir/file1(0xc000315ec0): >_readAt: n=1, err= 2022/05/18 06:21:10 DEBUG : dir/file1(0xc000315ec0): _readAt: size=1, off=3 2022/05/18 06:21:10 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2022/05/18 06:21:10 DEBUG : dir/file1(0xc000315ec0): >_readAt: n=1, err= 2022/05/18 06:21:10 DEBUG : dir/file1(0xc000315ec0): _readAt: size=1, off=13 2022/05/18 06:21:10 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2022/05/18 06:21:10 DEBUG : dir/file1(0xc000315ec0): >_readAt: n=1, err= 2022/05/18 06:21:10 DEBUG : dir/file1(0xc000315ec0): _readAt: size=16, off=100 2022/05/18 06:21:10 DEBUG : dir/file1(0xc000315ec0): >_readAt: n=0, err=EOF 2022/05/18 06:21:10 DEBUG : dir/file1(0xc000315ec0): close: 2022/05/18 06:21:10 DEBUG : dir/file1: vfs cache: setting modification time to 2022-05-18 06:21:09.463 +0000 UTC 2022/05/18 06:21:10 DEBUG : dir/file1(0xc000315ec0): >close: err= 2022/05/18 06:21:10 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:21:10 DEBUG : dir: Looking for writers 2022/05/18 06:21:10 DEBUG : file1: reading active writers 2022/05/18 06:21:10 DEBUG : : Looking for writers 2022/05/18 06:21:10 DEBUG : dir: reading active writers 2022/05/18 06:21:10 DEBUG : >WaitForWriters: 2022/05/18 06:21:10 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleSeek (3.53s) === RUN TestRWFileHandleReadAt run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:21:12 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:21:12 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/05/18 06:21:12 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:12 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:12 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:12 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:12 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/05/18 06:21:13 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/05/18 06:21:14 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/05/18 06:21:14 DEBUG : dir/file1: newRWFileHandle: 2022/05/18 06:21:14 DEBUG : dir/file1: >newRWFileHandle: err= 2022/05/18 06:21:14 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/05/18 06:21:14 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2022/05/18 06:21:14 DEBUG : dir/file1(0xc0005a47c0): _readAt: size=1, off=0 2022/05/18 06:21:14 DEBUG : dir/file1(0xc0005a47c0): openPending: 2022/05/18 06:21:14 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2022/05/18 06:21:14 DEBUG : dir/file1: vfs cache: truncate to size=16 2022/05/18 06:21:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:14 DEBUG : dir/file1(0xc0005a47c0): >openPending: err= 2022/05/18 06:21:14 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2022/05/18 06:21:14 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2022/05/18 06:21:14 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2022/05/18 06:21:14 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/05/18 06:21:14 DEBUG : dir/file1(0xc0005a47c0): >_readAt: n=1, err= 2022/05/18 06:21:14 DEBUG : dir/file1(0xc0005a47c0): _readAt: size=1, off=5 2022/05/18 06:21:14 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2022/05/18 06:21:14 DEBUG : dir/file1(0xc0005a47c0): >_readAt: n=1, err= 2022/05/18 06:21:14 DEBUG : dir/file1(0xc0005a47c0): _readAt: size=1, off=1 2022/05/18 06:21:14 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2022/05/18 06:21:14 DEBUG : dir/file1(0xc0005a47c0): >_readAt: n=1, err= 2022/05/18 06:21:14 DEBUG : dir/file1(0xc0005a47c0): _readAt: size=6, off=10 2022/05/18 06:21:14 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2022/05/18 06:21:14 DEBUG : dir/file1(0xc0005a47c0): >_readAt: n=6, err= 2022/05/18 06:21:14 DEBUG : dir/file1(0xc0005a47c0): _readAt: size=256, off=10 2022/05/18 06:21:14 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2022/05/18 06:21:14 DEBUG : dir/file1(0xc0005a47c0): >_readAt: n=6, err=EOF 2022/05/18 06:21:14 DEBUG : dir/file1(0xc0005a47c0): _readAt: size=256, off=100 2022/05/18 06:21:14 DEBUG : dir/file1(0xc0005a47c0): >_readAt: n=0, err=EOF 2022/05/18 06:21:14 DEBUG : dir/file1(0xc0005a47c0): close: 2022/05/18 06:21:14 DEBUG : dir/file1: vfs cache: setting modification time to 2022-05-18 06:21:12.944 +0000 UTC 2022/05/18 06:21:14 DEBUG : dir/file1(0xc0005a47c0): >close: err= 2022/05/18 06:21:14 DEBUG : dir/file1(0xc0005a47c0): _readAt: size=256, off=100 2022/05/18 06:21:14 DEBUG : dir/file1(0xc0005a47c0): >_readAt: n=0, err=file already closed 2022/05/18 06:21:14 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:21:14 DEBUG : dir: Looking for writers 2022/05/18 06:21:14 DEBUG : file1: reading active writers 2022/05/18 06:21:14 DEBUG : : Looking for writers 2022/05/18 06:21:14 DEBUG : dir: reading active writers 2022/05/18 06:21:14 DEBUG : >WaitForWriters: 2022/05/18 06:21:14 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleReadAt (3.64s) === RUN TestRWFileHandleFlushRead run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:21:15 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:21:15 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/05/18 06:21:15 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:15 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:15 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:15 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:15 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/05/18 06:21:17 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/05/18 06:21:18 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/05/18 06:21:18 DEBUG : dir/file1: newRWFileHandle: 2022/05/18 06:21:18 DEBUG : dir/file1: >newRWFileHandle: err= 2022/05/18 06:21:18 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/05/18 06:21:18 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2022/05/18 06:21:18 DEBUG : dir/file1(0xc000c28f00): RWFileHandle.Flush 2022/05/18 06:21:18 DEBUG : dir/file1(0xc000c28f00): _readAt: size=256, off=0 2022/05/18 06:21:18 DEBUG : dir/file1(0xc000c28f00): openPending: 2022/05/18 06:21:18 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2022/05/18 06:21:18 DEBUG : dir/file1: vfs cache: truncate to size=16 2022/05/18 06:21:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:18 DEBUG : dir/file1(0xc000c28f00): >openPending: err= 2022/05/18 06:21:18 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2022/05/18 06:21:18 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2022/05/18 06:21:18 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2022/05/18 06:21:18 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/05/18 06:21:19 DEBUG : dir/file1(0xc000c28f00): >_readAt: n=16, err=EOF 2022/05/18 06:21:19 DEBUG : dir/file1(0xc000c28f00): RWFileHandle.Flush 2022/05/18 06:21:19 DEBUG : dir/file1(0xc000c28f00): RWFileHandle.Flush 2022/05/18 06:21:19 DEBUG : dir/file1(0xc000c28f00): close: 2022/05/18 06:21:19 DEBUG : dir/file1: vfs cache: setting modification time to 2022-05-18 06:21:16.69 +0000 UTC 2022/05/18 06:21:19 DEBUG : dir/file1(0xc000c28f00): >close: err= 2022/05/18 06:21:19 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:21:19 DEBUG : dir: Looking for writers 2022/05/18 06:21:19 DEBUG : file1: reading active writers 2022/05/18 06:21:19 DEBUG : : Looking for writers 2022/05/18 06:21:19 DEBUG : dir: reading active writers 2022/05/18 06:21:19 DEBUG : >WaitForWriters: 2022/05/18 06:21:19 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushRead (4.57s) === RUN TestRWFileHandleReleaseRead run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:21:20 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:21:20 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/05/18 06:21:20 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:20 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:20 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:20 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:20 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/05/18 06:21:21 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/05/18 06:21:22 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/05/18 06:21:22 DEBUG : dir/file1: newRWFileHandle: 2022/05/18 06:21:22 DEBUG : dir/file1: >newRWFileHandle: err= 2022/05/18 06:21:22 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/05/18 06:21:22 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2022/05/18 06:21:22 DEBUG : dir/file1(0xc0002cff40): _readAt: size=256, off=0 2022/05/18 06:21:22 DEBUG : dir/file1(0xc0002cff40): openPending: 2022/05/18 06:21:22 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2022/05/18 06:21:22 DEBUG : dir/file1: vfs cache: truncate to size=16 2022/05/18 06:21:22 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:22 DEBUG : dir/file1(0xc0002cff40): >openPending: err= 2022/05/18 06:21:22 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2022/05/18 06:21:22 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2022/05/18 06:21:22 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2022/05/18 06:21:22 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/05/18 06:21:22 DEBUG : dir/file1(0xc0002cff40): >_readAt: n=16, err=EOF 2022/05/18 06:21:22 DEBUG : dir/file1(0xc0002cff40): RWFileHandle.Release 2022/05/18 06:21:22 DEBUG : dir/file1(0xc0002cff40): close: 2022/05/18 06:21:22 DEBUG : dir/file1: vfs cache: setting modification time to 2022-05-18 06:21:21.168 +0000 UTC 2022/05/18 06:21:22 DEBUG : dir/file1(0xc0002cff40): >close: err= 2022/05/18 06:21:22 DEBUG : dir/file1(0xc0002cff40): RWFileHandle.Release 2022/05/18 06:21:22 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:21:22 DEBUG : dir: Looking for writers 2022/05/18 06:21:22 DEBUG : file1: reading active writers 2022/05/18 06:21:22 DEBUG : : Looking for writers 2022/05/18 06:21:22 DEBUG : dir: reading active writers 2022/05/18 06:21:22 DEBUG : >WaitForWriters: 2022/05/18 06:21:22 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseRead (3.64s) === RUN TestRWFileHandleWriteAt run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:21:23 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:21:23 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/05/18 06:21:23 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:23 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:23 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:23 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:23 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/05/18 06:21:23 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/05/18 06:21:24 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/05/18 06:21:24 DEBUG : file1: newRWFileHandle: 2022/05/18 06:21:24 DEBUG : file1(0xc000c284c0): openPending: 2022/05/18 06:21:24 DEBUG : file1: vfs cache: truncate to size=0 2022/05/18 06:21:24 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:24 DEBUG : file1(0xc000c284c0): >openPending: err= 2022/05/18 06:21:24 DEBUG : file1: >newRWFileHandle: err= 2022/05/18 06:21:24 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:24 DEBUG : file1: >Open: fd=file1 (rw), err= 2022/05/18 06:21:24 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2022/05/18 06:21:24 DEBUG : file1(0xc000c284c0): _writeAt: size=7, off=0 2022/05/18 06:21:24 DEBUG : file1(0xc000c284c0): >_writeAt: n=7, err= 2022/05/18 06:21:24 DEBUG : file1(0xc000c284c0): _writeAt: size=6, off=5 2022/05/18 06:21:24 DEBUG : file1(0xc000c284c0): >_writeAt: n=6, err= 2022/05/18 06:21:24 DEBUG : file1(0xc000c284c0): close: 2022/05/18 06:21:24 DEBUG : file1: vfs cache: setting modification time to 2022-05-18 06:21:24.012733115 +0000 UTC m=+121.505742673 2022/05/18 06:21:24 INFO : file1: vfs cache: queuing for upload in 100ms 2022/05/18 06:21:24 DEBUG : file1(0xc000c284c0): >close: err= 2022/05/18 06:21:24 DEBUG : file1(0xc000c284c0): _writeAt: size=5, off=0 2022/05/18 06:21:24 DEBUG : file1(0xc000c284c0): >_writeAt: n=0, err=file already closed 2022/05/18 06:21:24 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:21:24 DEBUG : : Looking for writers 2022/05/18 06:21:24 DEBUG : file1: reading active writers 2022/05/18 06:21:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/05/18 06:21:24 DEBUG : : Looking for writers 2022/05/18 06:21:24 DEBUG : file1: reading active writers 2022/05/18 06:21:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/05/18 06:21:24 DEBUG : : Looking for writers 2022/05/18 06:21:24 DEBUG : file1: reading active writers 2022/05/18 06:21:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/05/18 06:21:24 DEBUG : : Looking for writers 2022/05/18 06:21:24 DEBUG : file1: reading active writers 2022/05/18 06:21:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/05/18 06:21:24 DEBUG : file1: vfs cache: starting upload 2022/05/18 06:21:24 DEBUG : : Looking for writers 2022/05/18 06:21:24 DEBUG : file1: reading active writers 2022/05/18 06:21:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/05/18 06:21:24 DEBUG : : Looking for writers 2022/05/18 06:21:24 DEBUG : file1: reading active writers 2022/05/18 06:21:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/05/18 06:21:24 DEBUG : : Looking for writers 2022/05/18 06:21:24 DEBUG : file1: reading active writers 2022/05/18 06:21:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/05/18 06:21:24 INFO : file1: Copied (new) 2022/05/18 06:21:24 DEBUG : file1: vfs cache: fingerprint now "11" 2022/05/18 06:21:24 DEBUG : file1: vfs cache: writeback object to VFS layer 2022/05/18 06:21:24 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:24 INFO : file1: vfs cache: upload succeeded try #1 2022/05/18 06:21:25 DEBUG : : Looking for writers 2022/05/18 06:21:25 DEBUG : file1: reading active writers 2022/05/18 06:21:25 DEBUG : >WaitForWriters: 2022/05/18 06:21:25 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:21:25 DEBUG : : Looking for writers 2022/05/18 06:21:25 DEBUG : file1: reading active writers 2022/05/18 06:21:25 DEBUG : >WaitForWriters: 2022/05/18 06:21:25 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleWriteAt (2.33s) === RUN TestRWFileHandleWriteNoWrite run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:21:26 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:21:26 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/05/18 06:21:26 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:26 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:26 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:26 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:26 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/05/18 06:21:26 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/05/18 06:21:26 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/05/18 06:21:26 DEBUG : file1: newRWFileHandle: 2022/05/18 06:21:26 DEBUG : file1(0xc0009eed00): openPending: 2022/05/18 06:21:26 DEBUG : file1: vfs cache: truncate to size=0 2022/05/18 06:21:26 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:26 DEBUG : file1(0xc0009eed00): >openPending: err= 2022/05/18 06:21:26 DEBUG : file1: >newRWFileHandle: err= 2022/05/18 06:21:26 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:26 DEBUG : file1: >Open: fd=file1 (rw), err= 2022/05/18 06:21:26 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2022/05/18 06:21:26 DEBUG : file1(0xc0009eed00): close: 2022/05/18 06:21:26 DEBUG : file1: vfs cache: setting modification time to 2022-05-18 06:21:26.336706413 +0000 UTC m=+123.829715962 2022/05/18 06:21:26 INFO : file1: vfs cache: queuing for upload in 100ms 2022/05/18 06:21:26 DEBUG : file1(0xc0009eed00): >close: err= 2022/05/18 06:21:26 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2022/05/18 06:21:26 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2022/05/18 06:21:26 DEBUG : file2: newRWFileHandle: 2022/05/18 06:21:26 DEBUG : file2(0xc0009eee00): openPending: 2022/05/18 06:21:26 DEBUG : file2: vfs cache: truncate to size=0 2022/05/18 06:21:26 DEBUG : : Added virtual directory entry vAddFile: "file2" 2022/05/18 06:21:26 DEBUG : file2(0xc0009eee00): >openPending: err= 2022/05/18 06:21:26 DEBUG : file2: >newRWFileHandle: err= 2022/05/18 06:21:26 DEBUG : : Added virtual directory entry vAddFile: "file2" 2022/05/18 06:21:26 DEBUG : file2: >Open: fd=file2 (rw), err= 2022/05/18 06:21:26 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2022/05/18 06:21:26 DEBUG : file2(0xc0009eee00): RWFileHandle.Flush 2022/05/18 06:21:26 DEBUG : file2(0xc0009eee00): RWFileHandle.Release 2022/05/18 06:21:26 DEBUG : file2(0xc0009eee00): close: 2022/05/18 06:21:26 DEBUG : file2: vfs cache: setting modification time to 2022-05-18 06:21:26.337258081 +0000 UTC m=+123.830267630 2022/05/18 06:21:26 INFO : file2: vfs cache: queuing for upload in 100ms 2022/05/18 06:21:26 DEBUG : file2(0xc0009eee00): >close: err= 2022/05/18 06:21:26 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:21:26 DEBUG : : Looking for writers 2022/05/18 06:21:26 DEBUG : file1: reading active writers 2022/05/18 06:21:26 DEBUG : file2: reading active writers 2022/05/18 06:21:26 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2022/05/18 06:21:26 DEBUG : : Looking for writers 2022/05/18 06:21:26 DEBUG : file1: reading active writers 2022/05/18 06:21:26 DEBUG : file2: reading active writers 2022/05/18 06:21:26 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2022/05/18 06:21:26 DEBUG : : Looking for writers 2022/05/18 06:21:26 DEBUG : file1: reading active writers 2022/05/18 06:21:26 DEBUG : file2: reading active writers 2022/05/18 06:21:26 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2022/05/18 06:21:26 DEBUG : : Looking for writers 2022/05/18 06:21:26 DEBUG : file1: reading active writers 2022/05/18 06:21:26 DEBUG : file2: reading active writers 2022/05/18 06:21:26 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2022/05/18 06:21:26 DEBUG : file1: vfs cache: starting upload 2022/05/18 06:21:26 DEBUG : file2: vfs cache: starting upload 2022/05/18 06:21:26 DEBUG : : Looking for writers 2022/05/18 06:21:26 DEBUG : file1: reading active writers 2022/05/18 06:21:26 DEBUG : file2: reading active writers 2022/05/18 06:21:26 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2022/05/18 06:21:26 DEBUG : : Looking for writers 2022/05/18 06:21:26 DEBUG : file1: reading active writers 2022/05/18 06:21:26 DEBUG : file2: reading active writers 2022/05/18 06:21:26 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2022/05/18 06:21:26 DEBUG : : Looking for writers 2022/05/18 06:21:26 DEBUG : file1: reading active writers 2022/05/18 06:21:26 DEBUG : file2: reading active writers 2022/05/18 06:21:26 DEBUG : Still 0 writers active and 2 cache items in use, waiting 640ms 2022/05/18 06:21:27 INFO : file1: Copied (new) 2022/05/18 06:21:27 DEBUG : file1: vfs cache: fingerprint now "0" 2022/05/18 06:21:27 DEBUG : file1: vfs cache: writeback object to VFS layer 2022/05/18 06:21:27 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:27 INFO : file1: vfs cache: upload succeeded try #1 2022/05/18 06:21:27 INFO : file2: Copied (new) 2022/05/18 06:21:27 DEBUG : file2: vfs cache: fingerprint now "0" 2022/05/18 06:21:27 DEBUG : file2: vfs cache: writeback object to VFS layer 2022/05/18 06:21:27 DEBUG : : Added virtual directory entry vAddFile: "file2" 2022/05/18 06:21:27 INFO : file2: vfs cache: upload succeeded try #1 2022/05/18 06:21:27 DEBUG : : Looking for writers 2022/05/18 06:21:27 DEBUG : file1: reading active writers 2022/05/18 06:21:27 DEBUG : file2: reading active writers 2022/05/18 06:21:27 DEBUG : >WaitForWriters: 2022/05/18 06:21:27 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:21:27 DEBUG : : Looking for writers 2022/05/18 06:21:27 DEBUG : file1: reading active writers 2022/05/18 06:21:27 DEBUG : file2: reading active writers 2022/05/18 06:21:27 DEBUG : >WaitForWriters: 2022/05/18 06:21:27 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleWriteNoWrite (2.56s) === RUN TestRWFileHandleFlushWrite run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:21:28 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:21:28 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/05/18 06:21:28 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:28 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:28 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:28 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:28 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/05/18 06:21:28 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/05/18 06:21:28 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/05/18 06:21:28 DEBUG : file1: newRWFileHandle: 2022/05/18 06:21:28 DEBUG : file1(0xc0009efac0): openPending: 2022/05/18 06:21:28 DEBUG : file1: vfs cache: truncate to size=0 2022/05/18 06:21:28 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:28 DEBUG : file1(0xc0009efac0): >openPending: err= 2022/05/18 06:21:28 DEBUG : file1: >newRWFileHandle: err= 2022/05/18 06:21:28 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:28 DEBUG : file1: >Open: fd=file1 (rw), err= 2022/05/18 06:21:28 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2022/05/18 06:21:28 DEBUG : file1(0xc0009efac0): _writeAt: size=5, off=0 2022/05/18 06:21:28 DEBUG : file1(0xc0009efac0): >_writeAt: n=5, err= 2022/05/18 06:21:28 DEBUG : file1(0xc0009efac0): RWFileHandle.Flush 2022/05/18 06:21:28 DEBUG : file1(0xc0009efac0): RWFileHandle.Flush 2022/05/18 06:21:28 DEBUG : file1(0xc0009efac0): close: 2022/05/18 06:21:28 DEBUG : file1: vfs cache: setting modification time to 2022-05-18 06:21:28.904399642 +0000 UTC m=+126.397409191 2022/05/18 06:21:28 INFO : file1: vfs cache: queuing for upload in 100ms 2022/05/18 06:21:28 DEBUG : file1(0xc0009efac0): >close: err= 2022/05/18 06:21:28 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:21:28 DEBUG : : Looking for writers 2022/05/18 06:21:28 DEBUG : file1: reading active writers 2022/05/18 06:21:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/05/18 06:21:28 DEBUG : : Looking for writers 2022/05/18 06:21:28 DEBUG : file1: reading active writers 2022/05/18 06:21:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/05/18 06:21:28 DEBUG : : Looking for writers 2022/05/18 06:21:28 DEBUG : file1: reading active writers 2022/05/18 06:21:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/05/18 06:21:28 DEBUG : : Looking for writers 2022/05/18 06:21:28 DEBUG : file1: reading active writers 2022/05/18 06:21:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/05/18 06:21:29 DEBUG : file1: vfs cache: starting upload 2022/05/18 06:21:29 DEBUG : : Looking for writers 2022/05/18 06:21:29 DEBUG : file1: reading active writers 2022/05/18 06:21:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/05/18 06:21:29 DEBUG : : Looking for writers 2022/05/18 06:21:29 DEBUG : file1: reading active writers 2022/05/18 06:21:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/05/18 06:21:29 DEBUG : : Looking for writers 2022/05/18 06:21:29 DEBUG : file1: reading active writers 2022/05/18 06:21:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/05/18 06:21:29 INFO : file1: Copied (new) 2022/05/18 06:21:29 DEBUG : file1: vfs cache: fingerprint now "5" 2022/05/18 06:21:29 DEBUG : file1: vfs cache: writeback object to VFS layer 2022/05/18 06:21:29 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:29 INFO : file1: vfs cache: upload succeeded try #1 2022/05/18 06:21:30 DEBUG : : Looking for writers 2022/05/18 06:21:30 DEBUG : file1: reading active writers 2022/05/18 06:21:30 DEBUG : >WaitForWriters: 2022/05/18 06:21:30 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushWrite (2.00s) === RUN TestRWFileHandleReleaseWrite run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:21:30 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:21:30 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/05/18 06:21:30 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:30 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:30 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:30 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:30 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/05/18 06:21:30 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/05/18 06:21:30 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/05/18 06:21:30 DEBUG : file1: newRWFileHandle: 2022/05/18 06:21:30 DEBUG : file1(0xc0005a4700): openPending: 2022/05/18 06:21:30 DEBUG : file1: vfs cache: truncate to size=0 2022/05/18 06:21:30 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:30 DEBUG : file1(0xc0005a4700): >openPending: err= 2022/05/18 06:21:30 DEBUG : file1: >newRWFileHandle: err= 2022/05/18 06:21:30 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:30 DEBUG : file1: >Open: fd=file1 (rw), err= 2022/05/18 06:21:30 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2022/05/18 06:21:30 DEBUG : file1(0xc0005a4700): _writeAt: size=5, off=0 2022/05/18 06:21:30 DEBUG : file1(0xc0005a4700): >_writeAt: n=5, err= 2022/05/18 06:21:30 DEBUG : file1(0xc0005a4700): RWFileHandle.Release 2022/05/18 06:21:30 DEBUG : file1(0xc0005a4700): close: 2022/05/18 06:21:30 DEBUG : file1: vfs cache: setting modification time to 2022-05-18 06:21:30.896172894 +0000 UTC m=+128.389182443 2022/05/18 06:21:30 INFO : file1: vfs cache: queuing for upload in 100ms 2022/05/18 06:21:30 DEBUG : file1(0xc0005a4700): >close: err= 2022/05/18 06:21:30 DEBUG : file1(0xc0005a4700): RWFileHandle.Release 2022/05/18 06:21:30 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:21:30 DEBUG : : Looking for writers 2022/05/18 06:21:30 DEBUG : file1: reading active writers 2022/05/18 06:21:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/05/18 06:21:30 DEBUG : : Looking for writers 2022/05/18 06:21:30 DEBUG : file1: reading active writers 2022/05/18 06:21:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/05/18 06:21:30 DEBUG : : Looking for writers 2022/05/18 06:21:30 DEBUG : file1: reading active writers 2022/05/18 06:21:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/05/18 06:21:30 DEBUG : : Looking for writers 2022/05/18 06:21:30 DEBUG : file1: reading active writers 2022/05/18 06:21:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/05/18 06:21:30 DEBUG : file1: vfs cache: starting upload 2022/05/18 06:21:31 DEBUG : : Looking for writers 2022/05/18 06:21:31 DEBUG : file1: reading active writers 2022/05/18 06:21:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/05/18 06:21:31 DEBUG : : Looking for writers 2022/05/18 06:21:31 DEBUG : file1: reading active writers 2022/05/18 06:21:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/05/18 06:21:31 DEBUG : : Looking for writers 2022/05/18 06:21:31 DEBUG : file1: reading active writers 2022/05/18 06:21:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/05/18 06:21:31 INFO : file1: Copied (new) 2022/05/18 06:21:31 DEBUG : file1: vfs cache: fingerprint now "5" 2022/05/18 06:21:31 DEBUG : file1: vfs cache: writeback object to VFS layer 2022/05/18 06:21:31 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:31 INFO : file1: vfs cache: upload succeeded try #1 2022/05/18 06:21:32 DEBUG : : Looking for writers 2022/05/18 06:21:32 DEBUG : file1: reading active writers 2022/05/18 06:21:32 DEBUG : >WaitForWriters: 2022/05/18 06:21:32 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseWrite (2.03s) === RUN TestRWFileHandleSizeTruncateExisting run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:21:32 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:21:32 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/05/18 06:21:32 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:32 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:32 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:32 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:32 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/05/18 06:21:34 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_TRUNC, perm=-rwxrwxrwx 2022/05/18 06:21:38 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/05/18 06:21:38 DEBUG : dir/file1: newRWFileHandle: 2022/05/18 06:21:38 DEBUG : dir/file1(0xc000c3a9c0): openPending: 2022/05/18 06:21:38 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2022/05/18 06:21:38 DEBUG : dir/file1: vfs cache: truncate to size=16 2022/05/18 06:21:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:38 DEBUG : dir/file1(0xc000c3a9c0): >openPending: err= 2022/05/18 06:21:38 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/05/18 06:21:38 DEBUG : dir/file1: >newRWFileHandle: err= 2022/05/18 06:21:38 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/05/18 06:21:38 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2022/05/18 06:21:38 DEBUG : dir/file1(0xc000c3a9c0): _writeAt: size=5, off=0 2022/05/18 06:21:38 DEBUG : dir/file1(0xc000c3a9c0): >_writeAt: n=5, err= 2022/05/18 06:21:38 DEBUG : dir/file1(0xc000c3a9c0): close: 2022/05/18 06:21:38 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2022/05/18 06:21:38 DEBUG : dir/file1: vfs cache: setting modification time to 2022-05-18 06:21:38.005013502 +0000 UTC m=+135.498023051 2022/05/18 06:21:38 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2022/05/18 06:21:38 DEBUG : dir/file1(0xc000c3a9c0): >close: err= 2022/05/18 06:21:38 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:21:38 DEBUG : dir: Looking for writers 2022/05/18 06:21:38 DEBUG : file1: reading active writers 2022/05/18 06:21:38 DEBUG : : Looking for writers 2022/05/18 06:21:38 DEBUG : dir: reading active writers 2022/05/18 06:21:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/05/18 06:21:38 DEBUG : dir: Looking for writers 2022/05/18 06:21:38 DEBUG : file1: reading active writers 2022/05/18 06:21:38 DEBUG : : Looking for writers 2022/05/18 06:21:38 DEBUG : dir: reading active writers 2022/05/18 06:21:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/05/18 06:21:38 DEBUG : dir: Looking for writers 2022/05/18 06:21:38 DEBUG : file1: reading active writers 2022/05/18 06:21:38 DEBUG : : Looking for writers 2022/05/18 06:21:38 DEBUG : dir: reading active writers 2022/05/18 06:21:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/05/18 06:21:38 DEBUG : dir: Looking for writers 2022/05/18 06:21:38 DEBUG : file1: reading active writers 2022/05/18 06:21:38 DEBUG : : Looking for writers 2022/05/18 06:21:38 DEBUG : dir: reading active writers 2022/05/18 06:21:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/05/18 06:21:38 DEBUG : dir/file1: vfs cache: starting upload 2022/05/18 06:21:38 DEBUG : dir: Looking for writers 2022/05/18 06:21:38 DEBUG : file1: reading active writers 2022/05/18 06:21:38 DEBUG : : Looking for writers 2022/05/18 06:21:38 DEBUG : dir: reading active writers 2022/05/18 06:21:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/05/18 06:21:38 DEBUG : dir: Looking for writers 2022/05/18 06:21:38 DEBUG : file1: reading active writers 2022/05/18 06:21:38 DEBUG : : Looking for writers 2022/05/18 06:21:38 DEBUG : dir: reading active writers 2022/05/18 06:21:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/05/18 06:21:38 DEBUG : dir: Looking for writers 2022/05/18 06:21:38 DEBUG : file1: reading active writers 2022/05/18 06:21:38 DEBUG : : Looking for writers 2022/05/18 06:21:38 DEBUG : dir: reading active writers 2022/05/18 06:21:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/05/18 06:21:39 INFO : dir/file1: Copied (replaced existing) 2022/05/18 06:21:39 DEBUG : dir/file1: vfs cache: fingerprint now "5" 2022/05/18 06:21:39 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2022/05/18 06:21:39 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:39 INFO : dir/file1: vfs cache: upload succeeded try #1 2022/05/18 06:21:39 DEBUG : dir: Looking for writers 2022/05/18 06:21:39 DEBUG : file1: reading active writers 2022/05/18 06:21:39 DEBUG : : Looking for writers 2022/05/18 06:21:39 DEBUG : dir: reading active writers 2022/05/18 06:21:39 DEBUG : >WaitForWriters: 2022/05/18 06:21:39 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeTruncateExisting (7.75s) === RUN TestRWFileHandleSizeCreateExisting run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:21:40 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:21:40 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/05/18 06:21:40 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:40 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:40 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:40 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:40 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/05/18 06:21:42 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/05/18 06:21:42 DEBUG : dir/file1: Open: flags=O_WRONLY|O_CREATE 2022/05/18 06:21:42 DEBUG : dir/file1: newRWFileHandle: 2022/05/18 06:21:42 DEBUG : dir/file1: >newRWFileHandle: err= 2022/05/18 06:21:42 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:42 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/05/18 06:21:42 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2022/05/18 06:21:42 DEBUG : dir/file1(0xc0002cfe40): _writeAt: size=5, off=0 2022/05/18 06:21:42 DEBUG : dir/file1(0xc0002cfe40): openPending: 2022/05/18 06:21:42 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16" against cached fingerprint "" 2022/05/18 06:21:42 DEBUG : dir/file1: vfs cache: truncate to size=16 2022/05/18 06:21:42 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:42 DEBUG : dir/file1(0xc0002cfe40): >openPending: err= 2022/05/18 06:21:42 DEBUG : dir/file1(0xc0002cfe40): >_writeAt: n=5, err= 2022/05/18 06:21:42 DEBUG : dir/file1(0xc0002cfe40): _writeAt: size=15, off=5 2022/05/18 06:21:42 DEBUG : dir/file1(0xc0002cfe40): >_writeAt: n=15, err= 2022/05/18 06:21:42 DEBUG : dir/file1(0xc0002cfe40): close: 2022/05/18 06:21:42 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2022/05/18 06:21:42 DEBUG : dir/file1: vfs cache: setting modification time to 2022-05-18 06:21:42.798802091 +0000 UTC m=+140.291811640 2022/05/18 06:21:42 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2022/05/18 06:21:42 DEBUG : dir/file1(0xc0002cfe40): >close: err= 2022/05/18 06:21:42 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:21:42 DEBUG : dir: Looking for writers 2022/05/18 06:21:42 DEBUG : file1: reading active writers 2022/05/18 06:21:42 DEBUG : : Looking for writers 2022/05/18 06:21:42 DEBUG : dir: reading active writers 2022/05/18 06:21:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/05/18 06:21:42 DEBUG : dir: Looking for writers 2022/05/18 06:21:42 DEBUG : file1: reading active writers 2022/05/18 06:21:42 DEBUG : : Looking for writers 2022/05/18 06:21:42 DEBUG : dir: reading active writers 2022/05/18 06:21:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/05/18 06:21:42 DEBUG : dir: Looking for writers 2022/05/18 06:21:42 DEBUG : file1: reading active writers 2022/05/18 06:21:42 DEBUG : : Looking for writers 2022/05/18 06:21:42 DEBUG : dir: reading active writers 2022/05/18 06:21:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/05/18 06:21:42 DEBUG : dir: Looking for writers 2022/05/18 06:21:42 DEBUG : file1: reading active writers 2022/05/18 06:21:42 DEBUG : : Looking for writers 2022/05/18 06:21:42 DEBUG : dir: reading active writers 2022/05/18 06:21:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/05/18 06:21:42 DEBUG : dir/file1: vfs cache: starting upload 2022/05/18 06:21:42 DEBUG : dir: Looking for writers 2022/05/18 06:21:42 DEBUG : file1: reading active writers 2022/05/18 06:21:42 DEBUG : : Looking for writers 2022/05/18 06:21:42 DEBUG : dir: reading active writers 2022/05/18 06:21:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/05/18 06:21:43 DEBUG : dir: Looking for writers 2022/05/18 06:21:43 DEBUG : file1: reading active writers 2022/05/18 06:21:43 DEBUG : : Looking for writers 2022/05/18 06:21:43 DEBUG : dir: reading active writers 2022/05/18 06:21:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/05/18 06:21:43 DEBUG : dir: Looking for writers 2022/05/18 06:21:43 DEBUG : file1: reading active writers 2022/05/18 06:21:43 DEBUG : : Looking for writers 2022/05/18 06:21:43 DEBUG : dir: reading active writers 2022/05/18 06:21:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/05/18 06:21:43 INFO : dir/file1: Copied (replaced existing) 2022/05/18 06:21:43 DEBUG : dir/file1: vfs cache: fingerprint now "20" 2022/05/18 06:21:43 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2022/05/18 06:21:43 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:43 INFO : dir/file1: vfs cache: upload succeeded try #1 2022/05/18 06:21:44 DEBUG : dir: Looking for writers 2022/05/18 06:21:44 DEBUG : file1: reading active writers 2022/05/18 06:21:44 DEBUG : : Looking for writers 2022/05/18 06:21:44 DEBUG : dir: reading active writers 2022/05/18 06:21:44 DEBUG : >WaitForWriters: 2022/05/18 06:21:44 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateExisting (4.70s) === RUN TestRWFileHandleSizeCreateNew run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:21:45 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:21:45 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/05/18 06:21:45 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:45 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:45 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:45 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestZoho/rclone-test-momazag6kesakod3cucafut9" 2022/05/18 06:21:45 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/05/18 06:21:45 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/05/18 06:21:45 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/05/18 06:21:45 DEBUG : file1: newRWFileHandle: 2022/05/18 06:21:45 DEBUG : file1(0xc0009ee940): openPending: 2022/05/18 06:21:45 DEBUG : file1: vfs cache: truncate to size=0 2022/05/18 06:21:45 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:45 DEBUG : file1(0xc0009ee940): >openPending: err= 2022/05/18 06:21:45 DEBUG : file1: >newRWFileHandle: err= 2022/05/18 06:21:45 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:45 DEBUG : file1: >Open: fd=file1 (rw), err= 2022/05/18 06:21:45 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2022/05/18 06:21:45 DEBUG : file1(0xc0009ee940): _writeAt: size=5, off=0 2022/05/18 06:21:45 DEBUG : file1(0xc0009ee940): >_writeAt: n=5, err= 2022/05/18 06:21:45 DEBUG : file1(0xc0009ee940): close: 2022/05/18 06:21:45 DEBUG : file1: vfs cache: setting modification time to 2022-05-18 06:21:45.354042271 +0000 UTC m=+142.847051839 2022/05/18 06:21:45 INFO : file1: vfs cache: queuing for upload in 100ms 2022/05/18 06:21:45 DEBUG : file1(0xc0009ee940): >close: err= 2022/05/18 06:21:45 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:21:45 DEBUG : : Looking for writers 2022/05/18 06:21:45 DEBUG : file1: reading active writers 2022/05/18 06:21:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/05/18 06:21:45 DEBUG : : Looking for writers 2022/05/18 06:21:45 DEBUG : file1: reading active writers 2022/05/18 06:21:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/05/18 06:21:45 DEBUG : : Looking for writers 2022/05/18 06:21:45 DEBUG : file1: reading active writers 2022/05/18 06:21:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/05/18 06:21:45 DEBUG : : Looking for writers 2022/05/18 06:21:45 DEBUG : file1: reading active writers 2022/05/18 06:21:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/05/18 06:21:45 DEBUG : file1: vfs cache: starting upload 2022/05/18 06:21:45 DEBUG : : Looking for writers 2022/05/18 06:21:45 DEBUG : file1: reading active writers 2022/05/18 06:21:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/05/18 06:21:45 DEBUG : : Looking for writers 2022/05/18 06:21:45 DEBUG : file1: reading active writers 2022/05/18 06:21:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/05/18 06:21:45 DEBUG : : Looking for writers 2022/05/18 06:21:45 DEBUG : file1: reading active writers 2022/05/18 06:21:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/05/18 06:21:46 INFO : file1: Copied (new) 2022/05/18 06:21:46 DEBUG : file1: vfs cache: fingerprint now "5" 2022/05/18 06:21:46 DEBUG : file1: vfs cache: writeback object to VFS layer 2022/05/18 06:21:46 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:21:46 INFO : file1: vfs cache: upload succeeded try #1 2022/05/18 06:21:46 DEBUG : : Looking for writers 2022/05/18 06:21:46 DEBUG : file1: reading active writers 2022/05/18 06:21:46 DEBUG : >WaitForWriters: 2022/05/18 06:21:46 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateNew (1.92s) === RUN TestVFSNew run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:21:47 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:21:47 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:21:47 DEBUG : zoho root 'rclone-test-momazag6kesakod3cucafut9': Re-using VFS from active cache 2022/05/18 06:21:47 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:21:47 DEBUG : : Looking for writers 2022/05/18 06:21:47 DEBUG : >WaitForWriters: --- PASS: TestVFSNew (0.24s) === RUN TestVFSStat run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:21:47 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:21:47 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:21:50 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:21:50 DEBUG : dir: Looking for writers 2022/05/18 06:21:50 DEBUG : file2: reading active writers 2022/05/18 06:21:50 DEBUG : : Looking for writers 2022/05/18 06:21:50 DEBUG : file1: reading active writers 2022/05/18 06:21:50 DEBUG : dir: reading active writers 2022/05/18 06:21:50 DEBUG : >WaitForWriters: --- PASS: TestVFSStat (4.70s) === RUN TestVFSStatParent run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:21:52 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:21:52 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:21:54 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:21:54 DEBUG : dir: Looking for writers 2022/05/18 06:21:54 DEBUG : : Looking for writers 2022/05/18 06:21:54 DEBUG : dir: reading active writers 2022/05/18 06:21:54 DEBUG : file1: reading active writers 2022/05/18 06:21:54 DEBUG : >WaitForWriters: --- PASS: TestVFSStatParent (4.17s) === RUN TestVFSOpenFile run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:21:56 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:21:56 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:21:58 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/05/18 06:21:59 DEBUG : file1: Open: flags=O_RDONLY 2022/05/18 06:21:59 DEBUG : file1: >Open: fd=file1 (r), err= 2022/05/18 06:21:59 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2022/05/18 06:21:59 DEBUG : dir: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/05/18 06:21:59 DEBUG : dir: >OpenFile: fd=dir/ (r), err= 2022/05/18 06:21:59 DEBUG : dir/new_file.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2022/05/18 06:21:59 DEBUG : dir/new_file.txt: >OpenFile: fd=, err=file does not exist 2022/05/18 06:21:59 DEBUG : dir/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/05/18 06:21:59 DEBUG : dir/new_file.txt: Open: flags=O_WRONLY|O_CREATE 2022/05/18 06:21:59 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2022/05/18 06:21:59 DEBUG : dir/new_file.txt: >Open: fd=dir/new_file.txt (w), err= 2022/05/18 06:21:59 DEBUG : dir/new_file.txt: >OpenFile: fd=dir/new_file.txt (w), err= 2022/05/18 06:21:59 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2022/05/18 06:21:59 DEBUG : zoho root 'rclone-test-momazag6kesakod3cucafut9': File to upload is small (0 bytes), uploading instead of streaming 2022/05/18 06:22:00 INFO : dir/new_file.txt: Copied (new) 2022/05/18 06:22:00 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2022/05/18 06:22:00 DEBUG : not found/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/05/18 06:22:00 DEBUG : not found/new_file.txt: >OpenFile: fd=, err=file does not exist 2022/05/18 06:22:00 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:22:00 DEBUG : dir: Looking for writers 2022/05/18 06:22:00 DEBUG : file2: reading active writers 2022/05/18 06:22:00 DEBUG : new_file.txt: reading active writers 2022/05/18 06:22:00 DEBUG : : Looking for writers 2022/05/18 06:22:00 DEBUG : dir: reading active writers 2022/05/18 06:22:00 DEBUG : file1: reading active writers 2022/05/18 06:22:00 DEBUG : >WaitForWriters: --- PASS: TestVFSOpenFile (5.66s) === RUN TestVFSRename run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:22:01 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:22:01 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:22:04 INFO : dir/file2: Moved (server-side) to: dir/file1 2022/05/18 06:22:04 DEBUG : dir/file1: Updating file with dir/file1 0xc0008fd680 2022/05/18 06:22:04 DEBUG : dir: Added virtual directory entry vDel: "file2" 2022/05/18 06:22:04 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:06 INFO : dir/file1: Moved (server-side) to: file0 2022/05/18 06:22:06 DEBUG : file0: Updating file with file0 0xc0008fd680 2022/05/18 06:22:06 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/05/18 06:22:06 DEBUG : : Added virtual directory entry vAddFile: "file0" 2022/05/18 06:22:06 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:22:06 DEBUG : dir: Looking for writers 2022/05/18 06:22:06 DEBUG : : Looking for writers 2022/05/18 06:22:06 DEBUG : dir: reading active writers 2022/05/18 06:22:06 DEBUG : file0: reading active writers 2022/05/18 06:22:06 DEBUG : >WaitForWriters: --- PASS: TestVFSRename (5.62s) === RUN TestWriteFileHandleMethods run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:22:07 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:22:07 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:22:07 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/05/18 06:22:07 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/05/18 06:22:07 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:07 DEBUG : file1: >Open: fd=file1 (w), err= 2022/05/18 06:22:07 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/05/18 06:22:07 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:07 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2022/05/18 06:22:07 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2022/05/18 06:22:07 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2022/05/18 06:22:07 DEBUG : zoho root 'rclone-test-momazag6kesakod3cucafut9': File to upload is small (5 bytes), uploading instead of streaming 2022/05/18 06:22:08 INFO : file1: Copied (new) 2022/05/18 06:22:08 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:08 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/05/18 06:22:08 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/05/18 06:22:08 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:08 DEBUG : file1: >Open: fd=file1 (w), err= 2022/05/18 06:22:08 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/05/18 06:22:08 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/05/18 06:22:08 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/05/18 06:22:08 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:08 DEBUG : file1: >Open: fd=file1 (w), err= 2022/05/18 06:22:08 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/05/18 06:22:08 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2022/05/18 06:22:08 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2022/05/18 06:22:08 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2022/05/18 06:22:08 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:08 DEBUG : file1: >Open: fd=file1 (w), err= 2022/05/18 06:22:08 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/05/18 06:22:08 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:08 DEBUG : zoho root 'rclone-test-momazag6kesakod3cucafut9': File to upload is small (0 bytes), uploading instead of streaming 2022/05/18 06:22:09 INFO : file1: Copied (new) 2022/05/18 06:22:09 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:09 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2022/05/18 06:22:09 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2022/05/18 06:22:09 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:09 DEBUG : file1: >Open: fd=file1 (w), err= 2022/05/18 06:22:09 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/05/18 06:22:09 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:09 DEBUG : zoho root 'rclone-test-momazag6kesakod3cucafut9': File to upload is small (7 bytes), uploading instead of streaming 2022/05/18 06:22:10 INFO : file1: Copied (new) 2022/05/18 06:22:10 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:10 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:22:10 DEBUG : : Looking for writers 2022/05/18 06:22:10 DEBUG : file1: reading active writers 2022/05/18 06:22:10 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleMethods (3.43s) === RUN TestWriteFileHandleWriteAt run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:22:11 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:22:11 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:22:11 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/05/18 06:22:11 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/05/18 06:22:11 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:11 DEBUG : file1: >Open: fd=file1 (w), err= 2022/05/18 06:22:11 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/05/18 06:22:11 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:11 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2022/05/18 06:22:12 DEBUG : file1: aborting in-sequence write wait, off=100 2022/05/18 06:22:12 DEBUG : file1: failed to wait for in-sequence write to 100 2022/05/18 06:22:12 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2022/05/18 06:22:12 DEBUG : zoho root 'rclone-test-momazag6kesakod3cucafut9': File to upload is small (11 bytes), uploading instead of streaming 2022/05/18 06:22:13 INFO : file1: Copied (new) 2022/05/18 06:22:13 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:13 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor 2022/05/18 06:22:14 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:22:14 DEBUG : : Looking for writers 2022/05/18 06:22:14 DEBUG : file1: reading active writers 2022/05/18 06:22:14 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleWriteAt (3.75s) === RUN TestWriteFileHandleFlush run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:22:14 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:22:14 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:22:14 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/05/18 06:22:14 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/05/18 06:22:14 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:14 DEBUG : file1: >Open: fd=file1 (w), err= 2022/05/18 06:22:14 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/05/18 06:22:14 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2022/05/18 06:22:14 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:14 DEBUG : zoho root 'rclone-test-momazag6kesakod3cucafut9': File to upload is small (5 bytes), uploading instead of streaming 2022/05/18 06:22:15 INFO : file1: Copied (new) 2022/05/18 06:22:15 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:15 DEBUG : file1: WriteFileHandle.Flush nothing to do 2022/05/18 06:22:15 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:22:15 DEBUG : : Looking for writers 2022/05/18 06:22:15 DEBUG : file1: reading active writers 2022/05/18 06:22:15 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleFlush (1.37s) === RUN TestFileReadAtZeroLength run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:22:16 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:22:16 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:22:16 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/05/18 06:22:16 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/05/18 06:22:16 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:16 DEBUG : file1: >Open: fd=file1 (w), err= 2022/05/18 06:22:16 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/05/18 06:22:16 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:16 DEBUG : zoho root 'rclone-test-momazag6kesakod3cucafut9': File to upload is small (0 bytes), uploading instead of streaming 2022/05/18 06:22:17 INFO : file1: Copied (new) 2022/05/18 06:22:17 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:17 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2022/05/18 06:22:17 DEBUG : file1: Open: flags=O_RDONLY 2022/05/18 06:22:17 DEBUG : file1: >Open: fd=file1 (r), err= 2022/05/18 06:22:17 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2022/05/18 06:22:17 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2022/05/18 06:22:17 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2022/05/18 06:22:17 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:22:17 DEBUG : : Looking for writers 2022/05/18 06:22:17 DEBUG : file1: reading active writers 2022/05/18 06:22:17 DEBUG : >WaitForWriters: --- PASS: TestFileReadAtZeroLength (4.63s) === RUN TestFileReadAtNonZeroLength run.go:181: Remote "zoho root 'rclone-test-momazag6kesakod3cucafut9'", Local "Local file system at /tmp/rclone3921614400", Modify Window "876000h0m0s" 2022/05/18 06:22:20 INFO : zoho root 'rclone-test-momazag6kesakod3cucafut9': poll-interval is not supported by this remote 2022/05/18 06:22:20 NOTICE: zoho root 'rclone-test-momazag6kesakod3cucafut9': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/05/18 06:22:20 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/05/18 06:22:20 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/05/18 06:22:20 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:20 DEBUG : file1: >Open: fd=file1 (w), err= 2022/05/18 06:22:20 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2022/05/18 06:22:20 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:20 DEBUG : zoho root 'rclone-test-momazag6kesakod3cucafut9': File to upload is small (100 bytes), uploading instead of streaming 2022/05/18 06:22:21 INFO : file1: Copied (new) 2022/05/18 06:22:21 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/05/18 06:22:21 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2022/05/18 06:22:21 DEBUG : file1: Open: flags=O_RDONLY 2022/05/18 06:22:21 DEBUG : file1: >Open: fd=file1 (r), err= 2022/05/18 06:22:21 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2022/05/18 06:22:21 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2022/05/18 06:22:21 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2022/05/18 06:22:21 DEBUG : WaitForWriters: timeout=30s 2022/05/18 06:22:21 DEBUG : : Looking for writers 2022/05/18 06:22:21 DEBUG : file1: reading active writers 2022/05/18 06:22:21 DEBUG : >WaitForWriters: --- PASS: TestFileReadAtNonZeroLength (1.60s) PASS 2022/05/18 06:22:22 DEBUG : zoho root 'rclone-test-momazag6kesakod3cucafut9': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestZoho: -verbose -test.run '^(TestFileMethods|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestFileRemove|TestFileRemoveAll|TestFileRename|TestFileSetModTime|TestRWFileHandleFlushRead|TestRWFileHandleFlushWrite|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleReleaseWrite|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeCreateNew|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRcGetVFS|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestVFSNew|TestVFSOpenFile|TestVFSRename|TestVFSStat|TestVFSStatParent|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleWriteAt)$/^(cache=full,open=false,write=false|cache=full,open=true,write=false|cache=full,open=true,write=true|cache=off,open=false,write=false|cache=off,open=true,write=false|cache=off,open=true,write=true|full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished OK in 3m0.184539695s (try 2/5)