"./vfs.test -test.v -test.timeout 1h0m0s -remote TestPcloud: -verbose -test.run '^(TestRWFileHandleFlushWrite|TestRWFileHandleWriteNoWrite)$'" - Starting (try 2/5) 2022/04/20 05:50:22 DEBUG : Creating backend with remote "TestPcloud:rclone-test-gugabet7tapoqop0waquhag1" 2022/04/20 05:50:22 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2022/04/20 05:50:23 DEBUG : Creating backend with remote "/tmp/rclone2051180015" === RUN TestRWFileHandleWriteNoWrite run.go:181: Remote "pcloud root 'rclone-test-gugabet7tapoqop0waquhag1'", Local "Local file system at /tmp/rclone2051180015", Modify Window "1s" 2022/04/20 05:50:23 INFO : pcloud root 'rclone-test-gugabet7tapoqop0waquhag1': poll-interval is not supported by this remote 2022/04/20 05:50:23 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/20 05:50:23 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-gugabet7tapoqop0waquhag1" 2022/04/20 05:50:23 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-gugabet7tapoqop0waquhag1" 2022/04/20 05:50:23 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-gugabet7tapoqop0waquhag1" 2022/04/20 05:50:23 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-gugabet7tapoqop0waquhag1" 2022/04/20 05:50:23 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/20 05:50:23 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/04/20 05:50:23 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/04/20 05:50:23 DEBUG : file1: newRWFileHandle: 2022/04/20 05:50:23 DEBUG : file1(0xc000852fc0): openPending: 2022/04/20 05:50:23 DEBUG : file1: vfs cache: truncate to size=0 2022/04/20 05:50:23 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/20 05:50:23 DEBUG : file1(0xc000852fc0): >openPending: err= 2022/04/20 05:50:23 DEBUG : file1: >newRWFileHandle: err= 2022/04/20 05:50:23 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/20 05:50:23 DEBUG : file1: >Open: fd=file1 (rw), err= 2022/04/20 05:50:23 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2022/04/20 05:50:23 DEBUG : file1(0xc000852fc0): close: 2022/04/20 05:50:23 DEBUG : file1: vfs cache: setting modification time to 2022-04-20 05:50:23.427346285 +0000 UTC m=+0.760295762 2022/04/20 05:50:23 INFO : file1: vfs cache: queuing for upload in 100ms 2022/04/20 05:50:23 DEBUG : file1(0xc000852fc0): >close: err= 2022/04/20 05:50:23 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2022/04/20 05:50:23 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2022/04/20 05:50:23 DEBUG : file2: newRWFileHandle: 2022/04/20 05:50:23 DEBUG : file2(0xc000853100): openPending: 2022/04/20 05:50:23 DEBUG : file2: vfs cache: truncate to size=0 2022/04/20 05:50:23 DEBUG : : Added virtual directory entry vAddFile: "file2" 2022/04/20 05:50:23 DEBUG : file2(0xc000853100): >openPending: err= 2022/04/20 05:50:23 DEBUG : file2: >newRWFileHandle: err= 2022/04/20 05:50:23 DEBUG : : Added virtual directory entry vAddFile: "file2" 2022/04/20 05:50:23 DEBUG : file2: >Open: fd=file2 (rw), err= 2022/04/20 05:50:23 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2022/04/20 05:50:23 DEBUG : file2(0xc000853100): RWFileHandle.Flush 2022/04/20 05:50:23 DEBUG : file2(0xc000853100): RWFileHandle.Release 2022/04/20 05:50:23 DEBUG : file2(0xc000853100): close: 2022/04/20 05:50:23 DEBUG : file2: vfs cache: setting modification time to 2022-04-20 05:50:23.42851469 +0000 UTC m=+0.761464168 2022/04/20 05:50:23 INFO : file2: vfs cache: queuing for upload in 100ms 2022/04/20 05:50:23 DEBUG : file2(0xc000853100): >close: err= 2022/04/20 05:50:23 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:50:23 DEBUG : : Looking for writers 2022/04/20 05:50:23 DEBUG : file2: reading active writers 2022/04/20 05:50:23 DEBUG : file1: reading active writers 2022/04/20 05:50:23 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2022/04/20 05:50:23 DEBUG : : Looking for writers 2022/04/20 05:50:23 DEBUG : file1: reading active writers 2022/04/20 05:50:23 DEBUG : file2: reading active writers 2022/04/20 05:50:23 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2022/04/20 05:50:23 DEBUG : : Looking for writers 2022/04/20 05:50:23 DEBUG : file1: reading active writers 2022/04/20 05:50:23 DEBUG : file2: reading active writers 2022/04/20 05:50:23 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2022/04/20 05:50:23 DEBUG : : Looking for writers 2022/04/20 05:50:23 DEBUG : file1: reading active writers 2022/04/20 05:50:23 DEBUG : file2: reading active writers 2022/04/20 05:50:23 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2022/04/20 05:50:23 DEBUG : file1: vfs cache: starting upload 2022/04/20 05:50:23 DEBUG : file2: vfs cache: starting upload 2022/04/20 05:50:23 DEBUG : : Looking for writers 2022/04/20 05:50:23 DEBUG : file1: reading active writers 2022/04/20 05:50:23 DEBUG : file2: reading active writers 2022/04/20 05:50:23 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2022/04/20 05:50:23 DEBUG : : Looking for writers 2022/04/20 05:50:23 DEBUG : file1: reading active writers 2022/04/20 05:50:23 DEBUG : file2: reading active writers 2022/04/20 05:50:23 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2022/04/20 05:50:24 DEBUG : : Looking for writers 2022/04/20 05:50:24 DEBUG : file1: reading active writers 2022/04/20 05:50:24 DEBUG : file2: reading active writers 2022/04/20 05:50:24 DEBUG : Still 0 writers active and 2 cache items in use, waiting 640ms 2022/04/20 05:50:24 DEBUG : file1: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2022/04/20 05:50:24 INFO : file1: Copied (new) 2022/04/20 05:50:24 DEBUG : file1: vfs cache: fingerprint now "0,2022-04-20 05:50:23 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709" 2022/04/20 05:50:24 DEBUG : file1: vfs cache: writeback object to VFS layer 2022/04/20 05:50:24 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/20 05:50:24 INFO : file1: vfs cache: upload succeeded try #1 2022/04/20 05:50:24 DEBUG : file2: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2022/04/20 05:50:24 INFO : file2: Copied (new) 2022/04/20 05:50:24 DEBUG : file2: vfs cache: fingerprint now "0,2022-04-20 05:50:23 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709" 2022/04/20 05:50:24 DEBUG : file2: vfs cache: writeback object to VFS layer 2022/04/20 05:50:24 DEBUG : : Added virtual directory entry vAddFile: "file2" 2022/04/20 05:50:24 INFO : file2: vfs cache: upload succeeded try #1 2022/04/20 05:50:24 DEBUG : : Looking for writers 2022/04/20 05:50:24 DEBUG : file1: reading active writers 2022/04/20 05:50:24 DEBUG : file2: reading active writers 2022/04/20 05:50:24 DEBUG : >WaitForWriters: 2022/04/20 05:50:25 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:50:25 DEBUG : : Looking for writers 2022/04/20 05:50:25 DEBUG : file1: reading active writers 2022/04/20 05:50:25 DEBUG : file2: reading active writers 2022/04/20 05:50:25 DEBUG : >WaitForWriters: 2022/04/20 05:50:25 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleWriteNoWrite (2.74s) === RUN TestRWFileHandleFlushWrite run.go:181: Remote "pcloud root 'rclone-test-gugabet7tapoqop0waquhag1'", Local "Local file system at /tmp/rclone2051180015", Modify Window "1s" 2022/04/20 05:50:25 INFO : pcloud root 'rclone-test-gugabet7tapoqop0waquhag1': poll-interval is not supported by this remote 2022/04/20 05:50:25 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/20 05:50:25 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-gugabet7tapoqop0waquhag1" 2022/04/20 05:50:25 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-gugabet7tapoqop0waquhag1" 2022/04/20 05:50:25 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-gugabet7tapoqop0waquhag1" 2022/04/20 05:50:25 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-gugabet7tapoqop0waquhag1" 2022/04/20 05:50:25 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2022/04/20 05:50:25 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/04/20 05:50:26 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2022/04/20 05:50:26 DEBUG : file1: newRWFileHandle: 2022/04/20 05:50:26 DEBUG : file1(0xc000744d80): openPending: 2022/04/20 05:50:26 DEBUG : file1: vfs cache: truncate to size=0 2022/04/20 05:50:26 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/20 05:50:26 DEBUG : file1(0xc000744d80): >openPending: err= 2022/04/20 05:50:26 DEBUG : file1: >newRWFileHandle: err= 2022/04/20 05:50:26 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/20 05:50:26 DEBUG : file1: >Open: fd=file1 (rw), err= 2022/04/20 05:50:26 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2022/04/20 05:50:26 DEBUG : file1(0xc000744d80): _writeAt: size=5, off=0 2022/04/20 05:50:26 DEBUG : file1(0xc000744d80): >_writeAt: n=5, err= 2022/04/20 05:50:26 DEBUG : file1(0xc000744d80): RWFileHandle.Flush 2022/04/20 05:50:26 DEBUG : file1(0xc000744d80): RWFileHandle.Flush 2022/04/20 05:50:26 DEBUG : file1(0xc000744d80): close: 2022/04/20 05:50:26 DEBUG : file1: vfs cache: setting modification time to 2022-04-20 05:50:26.133932863 +0000 UTC m=+3.466882341 2022/04/20 05:50:26 INFO : file1: vfs cache: queuing for upload in 100ms 2022/04/20 05:50:26 DEBUG : file1(0xc000744d80): >close: err= 2022/04/20 05:50:26 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:50:26 DEBUG : : Looking for writers 2022/04/20 05:50:26 DEBUG : file1: reading active writers 2022/04/20 05:50:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/04/20 05:50:26 DEBUG : : Looking for writers 2022/04/20 05:50:26 DEBUG : file1: reading active writers 2022/04/20 05:50:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/04/20 05:50:26 DEBUG : : Looking for writers 2022/04/20 05:50:26 DEBUG : file1: reading active writers 2022/04/20 05:50:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/04/20 05:50:26 DEBUG : : Looking for writers 2022/04/20 05:50:26 DEBUG : file1: reading active writers 2022/04/20 05:50:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/04/20 05:50:26 DEBUG : file1: vfs cache: starting upload 2022/04/20 05:50:26 DEBUG : : Looking for writers 2022/04/20 05:50:26 DEBUG : file1: reading active writers 2022/04/20 05:50:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/04/20 05:50:26 DEBUG : file1: sha1 = aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d OK 2022/04/20 05:50:26 INFO : file1: Copied (new) 2022/04/20 05:50:26 DEBUG : file1: vfs cache: fingerprint now "5,2022-04-20 05:50:26 +0000 UTC,aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d" 2022/04/20 05:50:26 DEBUG : file1: vfs cache: writeback object to VFS layer 2022/04/20 05:50:26 DEBUG : : Added virtual directory entry vAddFile: "file1" 2022/04/20 05:50:26 INFO : file1: vfs cache: upload succeeded try #1 2022/04/20 05:50:26 DEBUG : : Looking for writers 2022/04/20 05:50:26 DEBUG : file1: reading active writers 2022/04/20 05:50:26 DEBUG : >WaitForWriters: 2022/04/20 05:50:26 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushWrite (1.03s) PASS 2022/04/20 05:50:26 DEBUG : pcloud root 'rclone-test-gugabet7tapoqop0waquhag1': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestPcloud: -verbose -test.run '^(TestRWFileHandleFlushWrite|TestRWFileHandleWriteNoWrite)$'" - Finished OK in 4.534582942s (try 2/5)