"./vfs.test -test.v -test.timeout 1h0m0s -remote TestPcloud: -verbose -test.run '^(TestRWFileHandleFlushRead|TestRWFileHandleMethodsWrite|TestRWFileHandleWriteAt)$'" - Starting (try 2/5) 2025/01/13 03:50:28 DEBUG : Creating backend with remote "TestPcloud:rclone-test-qawabud3fehu" 2025/01/13 03:50:28 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/13 03:50:28 DEBUG : Creating backend with remote "/tmp/rclone734376426" === RUN TestRWFileHandleFlushRead run.go:180: Remote "pcloud root 'rclone-test-qawabud3fehu'", Local "Local file system at /tmp/rclone734376426", Modify Window "1s" 2025/01/13 03:50:28 INFO : pcloud root 'rclone-test-qawabud3fehu': poll-interval is not supported by this remote 2025/01/13 03:50:28 DEBUG : pcloud root 'rclone-test-qawabud3fehu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/01/13 03:50:28 DEBUG : pcloud root 'rclone-test-qawabud3fehu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-qawabud3fehu" 2025/01/13 03:50:28 DEBUG : pcloud root 'rclone-test-qawabud3fehu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-qawabud3fehu" 2025/01/13 03:50:28 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-qawabud3fehu" 2025/01/13 03:50:28 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2025/01/13 03:50:28 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-qawabud3fehu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-qawabud3fehu" 2025/01/13 03:50:28 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-qawabud3fehu" 2025/01/13 03:50:28 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2025/01/13 03:50:28 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-qawabud3fehu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-qawabud3fehu" 2025/01/13 03:50:28 INFO : pcloud root 'rclone-test-qawabud3fehu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/01/13 03:50:29 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/01/13 03:50:29 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/01/13 03:50:29 DEBUG : dir/file1: newRWFileHandle: 2025/01/13 03:50:29 DEBUG : dir/file1: >newRWFileHandle: err= 2025/01/13 03:50:29 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/01/13 03:50:29 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/01/13 03:50:29 DEBUG : dir/file1(0xc0002b7600): RWFileHandle.Flush 2025/01/13 03:50:29 DEBUG : dir/file1(0xc0002b7600): _readAt: size=256, off=0 2025/01/13 03:50:29 DEBUG : dir/file1(0xc0002b7600): openPending: 2025/01/13 03:50:29 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,fe5567e8d769550852182cdf69d74bb16dff8e29" against cached fingerprint "" 2025/01/13 03:50:29 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/01/13 03:50:29 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/01/13 03:50:29 DEBUG : dir/file1(0xc0002b7600): >openPending: err= 2025/01/13 03:50:29 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/01/13 03:50:29 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/01/13 03:50:29 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/01/13 03:50:29 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/01/13 03:50:29 DEBUG : Couldn't parse Date: from server edef2.pcloud.com: "Mon, 13 Jan 2025 03:50:29 +0000": parsing time "Mon, 13 Jan 2025 03:50:29 +0000" as "Mon Jan _2 15:04:05 2006": cannot parse ", 13 Jan 2025 03:50:29 +0000" as " " 2025/01/13 03:50:29 DEBUG : dir/file1(0xc0002b7600): >_readAt: n=16, err=EOF 2025/01/13 03:50:29 DEBUG : dir/file1(0xc0002b7600): RWFileHandle.Flush 2025/01/13 03:50:29 DEBUG : dir/file1(0xc0002b7600): RWFileHandle.Flush 2025/01/13 03:50:29 DEBUG : dir/file1(0xc0002b7600): close: 2025/01/13 03:50:29 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/01/13 03:50:29 DEBUG : dir/file1(0xc0002b7600): >close: err= 2025/01/13 03:50:29 DEBUG : WaitForWriters: timeout=30s 2025/01/13 03:50:29 DEBUG : dir: Looking for writers 2025/01/13 03:50:29 DEBUG : file1: reading active writers 2025/01/13 03:50:29 DEBUG : : Looking for writers 2025/01/13 03:50:29 DEBUG : dir: reading active writers 2025/01/13 03:50:29 DEBUG : >WaitForWriters: 2025/01/13 03:50:29 DEBUG : pcloud root 'rclone-test-qawabud3fehu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushRead (1.59s) === RUN TestRWFileHandleMethodsWrite run.go:180: Remote "pcloud root 'rclone-test-qawabud3fehu'", Local "Local file system at /tmp/rclone734376426", Modify Window "1s" 2025/01/13 03:50:30 INFO : pcloud root 'rclone-test-qawabud3fehu': poll-interval is not supported by this remote 2025/01/13 03:50:30 DEBUG : pcloud root 'rclone-test-qawabud3fehu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/01/13 03:50:30 DEBUG : pcloud root 'rclone-test-qawabud3fehu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-qawabud3fehu" 2025/01/13 03:50:30 DEBUG : pcloud root 'rclone-test-qawabud3fehu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-qawabud3fehu" 2025/01/13 03:50:30 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-qawabud3fehu" 2025/01/13 03:50:30 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2025/01/13 03:50:30 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-qawabud3fehu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-qawabud3fehu" 2025/01/13 03:50:30 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-qawabud3fehu" 2025/01/13 03:50:30 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2025/01/13 03:50:30 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-qawabud3fehu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-qawabud3fehu" 2025/01/13 03:50:30 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/01/13 03:50:30 INFO : pcloud root 'rclone-test-qawabud3fehu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/01/13 03:50:30 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/01/13 03:50:30 DEBUG : file1: newRWFileHandle: 2025/01/13 03:50:30 DEBUG : file1(0xc00050ca40): openPending: 2025/01/13 03:50:30 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/01/13 03:50:30 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/01/13 03:50:30 DEBUG : file1(0xc00050ca40): >openPending: err= 2025/01/13 03:50:30 DEBUG : file1: >newRWFileHandle: err= 2025/01/13 03:50:30 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/01/13 03:50:30 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/01/13 03:50:30 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/01/13 03:50:30 DEBUG : file1(0xc00050ca40): _writeAt: size=5, off=0 2025/01/13 03:50:30 DEBUG : file1(0xc00050ca40): >_writeAt: n=5, err= 2025/01/13 03:50:30 DEBUG : file1(0xc00050ca40): _writeAt: size=7, off=5 2025/01/13 03:50:30 DEBUG : file1(0xc00050ca40): >_writeAt: n=7, err= 2025/01/13 03:50:30 DEBUG : file1: vfs cache: truncate to size=11 2025/01/13 03:50:30 DEBUG : file1(0xc00050ca40): close: 2025/01/13 03:50:30 DEBUG : file1: vfs cache: setting modification time to 2025-01-13 03:50:30.329144468 +0000 UTC m=+2.255273598 2025/01/13 03:50:30 INFO : file1: vfs cache: queuing for upload in 100ms 2025/01/13 03:50:30 DEBUG : file1(0xc00050ca40): >close: err= 2025/01/13 03:50:30 DEBUG : file1(0xc00050ca40): close: 2025/01/13 03:50:30 DEBUG : file1(0xc00050ca40): >close: err=file already closed 2025/01/13 03:50:30 DEBUG : WaitForWriters: timeout=30s 2025/01/13 03:50:30 DEBUG : : Looking for writers 2025/01/13 03:50:30 DEBUG : file1: reading active writers 2025/01/13 03:50:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/01/13 03:50:30 DEBUG : : Looking for writers 2025/01/13 03:50:30 DEBUG : file1: reading active writers 2025/01/13 03:50:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/01/13 03:50:30 DEBUG : : Looking for writers 2025/01/13 03:50:30 DEBUG : file1: reading active writers 2025/01/13 03:50:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/01/13 03:50:30 DEBUG : : Looking for writers 2025/01/13 03:50:30 DEBUG : file1: reading active writers 2025/01/13 03:50:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/01/13 03:50:30 DEBUG : file1: vfs cache: starting upload 2025/01/13 03:50:30 DEBUG : : Looking for writers 2025/01/13 03:50:30 DEBUG : file1: reading active writers 2025/01/13 03:50:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/01/13 03:50:30 DEBUG : file1: sha1 = 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed OK 2025/01/13 03:50:30 DEBUG : file1.ca77f2f6.partial: renamed to: file1 2025/01/13 03:50:30 INFO : file1: Copied (new) 2025/01/13 03:50:30 DEBUG : : Looking for writers 2025/01/13 03:50:30 DEBUG : file1: reading active writers 2025/01/13 03:50:30 DEBUG : file1: vfs cache: fingerprint now "11,2025-01-13 03:50:30 +0000 UTC,2aae6c35c94fcfb415dbe95f408b9ce91ee846ed" 2025/01/13 03:50:30 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/01/13 03:50:30 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/01/13 03:50:30 INFO : file1: vfs cache: upload succeeded try #1 2025/01/13 03:50:30 DEBUG : >WaitForWriters: 2025/01/13 03:50:30 DEBUG : WaitForWriters: timeout=30s 2025/01/13 03:50:30 DEBUG : : Looking for writers 2025/01/13 03:50:30 DEBUG : file1: reading active writers 2025/01/13 03:50:30 DEBUG : >WaitForWriters: 2025/01/13 03:50:30 DEBUG : pcloud root 'rclone-test-qawabud3fehu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsWrite (0.88s) === RUN TestRWFileHandleWriteAt run.go:180: Remote "pcloud root 'rclone-test-qawabud3fehu'", Local "Local file system at /tmp/rclone734376426", Modify Window "1s" 2025/01/13 03:50:31 INFO : pcloud root 'rclone-test-qawabud3fehu': poll-interval is not supported by this remote 2025/01/13 03:50:31 DEBUG : pcloud root 'rclone-test-qawabud3fehu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/01/13 03:50:31 DEBUG : pcloud root 'rclone-test-qawabud3fehu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-qawabud3fehu" 2025/01/13 03:50:31 DEBUG : pcloud root 'rclone-test-qawabud3fehu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-qawabud3fehu" 2025/01/13 03:50:31 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-qawabud3fehu" 2025/01/13 03:50:31 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2025/01/13 03:50:31 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-qawabud3fehu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-qawabud3fehu" 2025/01/13 03:50:31 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-qawabud3fehu" 2025/01/13 03:50:31 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2025/01/13 03:50:31 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-qawabud3fehu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-qawabud3fehu" 2025/01/13 03:50:31 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/01/13 03:50:31 INFO : pcloud root 'rclone-test-qawabud3fehu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/01/13 03:50:31 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/01/13 03:50:31 DEBUG : file1: newRWFileHandle: 2025/01/13 03:50:31 DEBUG : file1(0xc00050c1c0): openPending: 2025/01/13 03:50:31 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/01/13 03:50:31 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/01/13 03:50:31 DEBUG : file1(0xc00050c1c0): >openPending: err= 2025/01/13 03:50:31 DEBUG : file1: >newRWFileHandle: err= 2025/01/13 03:50:31 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/01/13 03:50:31 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/01/13 03:50:31 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/01/13 03:50:31 DEBUG : file1(0xc00050c1c0): _writeAt: size=7, off=0 2025/01/13 03:50:31 DEBUG : file1(0xc00050c1c0): >_writeAt: n=7, err= 2025/01/13 03:50:31 DEBUG : file1(0xc00050c1c0): _writeAt: size=6, off=5 2025/01/13 03:50:31 DEBUG : file1(0xc00050c1c0): >_writeAt: n=6, err= 2025/01/13 03:50:31 DEBUG : file1(0xc00050c1c0): close: 2025/01/13 03:50:31 DEBUG : file1: vfs cache: setting modification time to 2025-01-13 03:50:31.203546921 +0000 UTC m=+3.129676052 2025/01/13 03:50:31 INFO : file1: vfs cache: queuing for upload in 100ms 2025/01/13 03:50:31 DEBUG : file1(0xc00050c1c0): >close: err= 2025/01/13 03:50:31 DEBUG : file1(0xc00050c1c0): _writeAt: size=5, off=0 2025/01/13 03:50:31 DEBUG : file1(0xc00050c1c0): >_writeAt: n=0, err=file already closed 2025/01/13 03:50:31 DEBUG : WaitForWriters: timeout=30s 2025/01/13 03:50:31 DEBUG : : Looking for writers 2025/01/13 03:50:31 DEBUG : file1: reading active writers 2025/01/13 03:50:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/01/13 03:50:31 DEBUG : : Looking for writers 2025/01/13 03:50:31 DEBUG : file1: reading active writers 2025/01/13 03:50:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/01/13 03:50:31 DEBUG : : Looking for writers 2025/01/13 03:50:31 DEBUG : file1: reading active writers 2025/01/13 03:50:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/01/13 03:50:31 DEBUG : : Looking for writers 2025/01/13 03:50:31 DEBUG : file1: reading active writers 2025/01/13 03:50:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/01/13 03:50:31 DEBUG : file1: vfs cache: starting upload 2025/01/13 03:50:31 DEBUG : : Looking for writers 2025/01/13 03:50:31 DEBUG : file1: reading active writers 2025/01/13 03:50:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/01/13 03:50:31 DEBUG : file1: sha1 = 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed OK 2025/01/13 03:50:31 DEBUG : file1.bf8fa844.partial: renamed to: file1 2025/01/13 03:50:31 INFO : file1: Copied (new) 2025/01/13 03:50:31 DEBUG : : Looking for writers 2025/01/13 03:50:31 DEBUG : file1: reading active writers 2025/01/13 03:50:31 DEBUG : file1: vfs cache: fingerprint now "11,2025-01-13 03:50:31 +0000 UTC,2aae6c35c94fcfb415dbe95f408b9ce91ee846ed" 2025/01/13 03:50:31 DEBUG : file1: vfs cache: writeback object to VFS layer 2025/01/13 03:50:31 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/01/13 03:50:31 INFO : file1: vfs cache: upload succeeded try #1 2025/01/13 03:50:31 DEBUG : >WaitForWriters: 2025/01/13 03:50:31 DEBUG : WaitForWriters: timeout=30s 2025/01/13 03:50:31 DEBUG : : Looking for writers 2025/01/13 03:50:31 DEBUG : file1: reading active writers 2025/01/13 03:50:31 DEBUG : >WaitForWriters: 2025/01/13 03:50:31 DEBUG : pcloud root 'rclone-test-qawabud3fehu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleWriteAt (0.88s) PASS 2025/01/13 03:50:31 DEBUG : pcloud root 'rclone-test-qawabud3fehu': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestPcloud: -verbose -test.run '^(TestRWFileHandleFlushRead|TestRWFileHandleMethodsWrite|TestRWFileHandleWriteAt)$'" - Finished OK in 4.030459975s (try 2/5)