"./vfs.test -test.v -test.timeout 1h0m0s -remote TestPcloud: -verbose -test.run '^TestFileSetModTime$/^cache=off,open=true,write=true$|^TestRWCacheUpdate$'" - Starting (try 2/5) 2024/11/07 04:01:00 DEBUG : Creating backend with remote "TestPcloud:rclone-test-penapaz5nipi" 2024/11/07 04:01:00 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/11/07 04:01:01 DEBUG : Creating backend with remote "/tmp/rclone3962160939" === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:180: Remote "pcloud root 'rclone-test-penapaz5nipi'", Local "Local file system at /tmp/rclone3962160939", Modify Window "1s" 2024/11/07 04:01:01 INFO : pcloud root 'rclone-test-penapaz5nipi': poll-interval is not supported by this remote 2024/11/07 04:01:01 NOTICE: pcloud root 'rclone-test-penapaz5nipi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/07 04:01:02 DEBUG : Can set mod time: true 2024/11/07 04:01:02 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/11/07 04:01:02 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2024/11/07 04:01:02 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/07 04:01:02 DEBUG : pcloud root 'rclone-test-penapaz5nipi': File to upload is small (5 bytes), uploading instead of streaming 2024/11/07 04:01:02 DEBUG : dir/file1: sha1 = aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d OK 2024/11/07 04:01:02 DEBUG : dir/file1: Size and sha1 of src and dst objects identical 2024/11/07 04:01:02 DEBUG : dir/file1: Applied pending mod time 2011-12-25 12:59:59.123456789 +0000 UTC OK 2024/11/07 04:01:02 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/07 04:01:02 DEBUG : WaitForWriters: timeout=30s 2024/11/07 04:01:02 DEBUG : dir: Looking for writers 2024/11/07 04:01:02 DEBUG : file1: reading active writers 2024/11/07 04:01:02 DEBUG : : Looking for writers 2024/11/07 04:01:02 DEBUG : dir: reading active writers 2024/11/07 04:01:02 DEBUG : >WaitForWriters: 2024/11/07 04:01:02 DEBUG : WaitForWriters: timeout=30s 2024/11/07 04:01:02 DEBUG : dir: Looking for writers 2024/11/07 04:01:02 DEBUG : file1: reading active writers 2024/11/07 04:01:02 DEBUG : : Looking for writers 2024/11/07 04:01:02 DEBUG : dir: reading active writers 2024/11/07 04:01:02 DEBUG : >WaitForWriters: --- PASS: TestFileSetModTime (1.83s) --- PASS: TestFileSetModTime/cache=off,open=true,write=true (1.83s) === RUN TestRWCacheUpdate run.go:180: Remote "pcloud root 'rclone-test-penapaz5nipi'", Local "Local file system at /tmp/rclone3962160939", Modify Window "1s" 2024/11/07 04:01:02 INFO : pcloud root 'rclone-test-penapaz5nipi': poll-interval is not supported by this remote 2024/11/07 04:01:02 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/07 04:01:02 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-penapaz5nipi" 2024/11/07 04:01:02 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-penapaz5nipi" 2024/11/07 04:01:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-penapaz5nipi" 2024/11/07 04:01:02 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/07 04:01:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-penapaz5nipi" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-penapaz5nipi" 2024/11/07 04:01:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-penapaz5nipi" 2024/11/07 04:01:02 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/07 04:01:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-penapaz5nipi" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-penapaz5nipi" 2024/11/07 04:01:02 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/07 04:01:03 DEBUG : : forgetting directory cache 2024/11/07 04:01:03 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/11/07 04:01:03 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/11/07 04:01:03 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/11/07 04:01:03 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/11/07 04:01:03 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/11/07 04:01:03 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/11/07 04:01:03 DEBUG : TestRWCacheUpdate(0xc0004d5540): _readAt: size=512, off=0 2024/11/07 04:01:03 DEBUG : TestRWCacheUpdate(0xc0004d5540): openPending: 2024/11/07 04:01:03 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2024-11-07 03:02:02 +0000 UTC,288158e561053f03b91b9361f5d0328ac9e349fc" against cached fingerprint "" 2024/11/07 04:01:03 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2024/11/07 04:01:03 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/07 04:01:03 DEBUG : TestRWCacheUpdate(0xc0004d5540): >openPending: err= 2024/11/07 04:01:03 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2024/11/07 04:01:03 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/07 04:01:03 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/07 04:01:03 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/11/07 04:01:03 DEBUG : : forgetting directory cache 2024/11/07 04:01:03 DEBUG : Couldn't parse Date: from server edef11.pcloud.com: "Thu, 07 Nov 2024 04:01:03 +0000": parsing time "Thu, 07 Nov 2024 04:01:03 +0000" as "Mon Jan _2 15:04:05 2006": cannot parse ", 07 Nov 2024 04:01:03 +0000" as " " 2024/11/07 04:01:03 DEBUG : TestRWCacheUpdate(0xc0004d5540): >_readAt: n=20, err=EOF 2024/11/07 04:01:03 DEBUG : TestRWCacheUpdate(0xc0004d5540): close: 2024/11/07 04:01:03 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-11-07 03:02:02 +0000 UTC 2024/11/07 04:01:03 DEBUG : TestRWCacheUpdate(0xc0004d5540): >close: err= 2024/11/07 04:01:03 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/07 04:01:03 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/11/07 04:01:04 DEBUG : : forgetting directory cache 2024/11/07 04:01:04 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/11/07 04:01:04 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/11/07 04:01:04 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/11/07 04:01:04 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/11/07 04:01:04 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/11/07 04:01:04 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/11/07 04:01:04 DEBUG : TestRWCacheUpdate(0xc00062e240): _readAt: size=512, off=0 2024/11/07 04:01:04 DEBUG : TestRWCacheUpdate(0xc00062e240): openPending: 2024/11/07 04:01:04 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2024-11-07 03:03:02 +0000 UTC,f47c1f4670d7bfa799e2e12e6aff3029f0785d53" against cached fingerprint "20,2024-11-07 03:02:02 +0000 UTC,288158e561053f03b91b9361f5d0328ac9e349fc" 2024/11/07 04:01:04 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2024-11-07 03:03:02 +0000 UTC,f47c1f4670d7bfa799e2e12e6aff3029f0785d53" != cached fingerprint "20,2024-11-07 03:02:02 +0000 UTC,288158e561053f03b91b9361f5d0328ac9e349fc") 2024/11/07 04:01:04 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2024/11/07 04:01:04 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2024/11/07 04:01:04 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2024/11/07 04:01:04 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/07 04:01:04 DEBUG : TestRWCacheUpdate(0xc00062e240): >openPending: err= 2024/11/07 04:01:04 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2024/11/07 04:01:04 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/07 04:01:04 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/07 04:01:04 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/11/07 04:01:04 DEBUG : : forgetting directory cache 2024/11/07 04:01:04 DEBUG : Couldn't parse Date: from server edef6.pcloud.com: "Thu, 07 Nov 2024 04:01:04 +0000": parsing time "Thu, 07 Nov 2024 04:01:04 +0000" as "Mon Jan _2 15:04:05 2006": cannot parse ", 07 Nov 2024 04:01:04 +0000" as " " 2024/11/07 04:01:04 DEBUG : TestRWCacheUpdate(0xc00062e240): >_readAt: n=20, err=EOF 2024/11/07 04:01:04 DEBUG : TestRWCacheUpdate(0xc00062e240): close: 2024/11/07 04:01:04 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-11-07 03:03:02 +0000 UTC 2024/11/07 04:01:04 DEBUG : TestRWCacheUpdate(0xc00062e240): >close: err= 2024/11/07 04:01:04 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/07 04:01:04 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/11/07 04:01:04 DEBUG : : forgetting directory cache 2024/11/07 04:01:05 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/11/07 04:01:05 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/11/07 04:01:05 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/11/07 04:01:05 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/11/07 04:01:05 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/11/07 04:01:05 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/11/07 04:01:05 DEBUG : TestRWCacheUpdate(0xc00062f340): _readAt: size=512, off=0 2024/11/07 04:01:05 DEBUG : TestRWCacheUpdate(0xc00062f340): openPending: 2024/11/07 04:01:05 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2024-11-07 03:04:02 +0000 UTC,cdbdc94ef0e50810466d21c31d02b8365e9616d2" against cached fingerprint "20,2024-11-07 03:03:02 +0000 UTC,f47c1f4670d7bfa799e2e12e6aff3029f0785d53" 2024/11/07 04:01:05 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2024-11-07 03:04:02 +0000 UTC,cdbdc94ef0e50810466d21c31d02b8365e9616d2" != cached fingerprint "20,2024-11-07 03:03:02 +0000 UTC,f47c1f4670d7bfa799e2e12e6aff3029f0785d53") 2024/11/07 04:01:05 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2024/11/07 04:01:05 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2024/11/07 04:01:05 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2024/11/07 04:01:05 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/07 04:01:05 DEBUG : TestRWCacheUpdate(0xc00062f340): >openPending: err= 2024/11/07 04:01:05 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2024/11/07 04:01:05 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/11/07 04:01:05 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/11/07 04:01:05 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/11/07 04:01:05 DEBUG : : forgetting directory cache 2024/11/07 04:01:05 DEBUG : Couldn't parse Date: from server edef12.pcloud.com: "Thu, 07 Nov 2024 04:01:05 +0000": parsing time "Thu, 07 Nov 2024 04:01:05 +0000" as "Mon Jan _2 15:04:05 2006": cannot parse ", 07 Nov 2024 04:01:05 +0000" as " " 2024/11/07 04:01:05 DEBUG : TestRWCacheUpdate(0xc00062f340): >_readAt: n=20, err=EOF 2024/11/07 04:01:05 DEBUG : TestRWCacheUpdate(0xc00062f340): close: 2024/11/07 04:01:05 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-11-07 03:04:02 +0000 UTC 2024/11/07 04:01:05 DEBUG : TestRWCacheUpdate(0xc00062f340): >close: err= 2024/11/07 04:01:05 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/07 04:01:05 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/11/07 04:01:05 DEBUG : : forgetting directory cache 2024/11/07 04:01:06 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/11/07 04:01:06 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/11/07 04:01:06 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/11/07 04:01:06 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/11/07 04:01:06 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/11/07 04:01:06 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/11/07 04:01:06 DEBUG : TestRWCacheUpdate(0xc0004d4180): _readAt: size=512, off=0 2024/11/07 04:01:06 DEBUG : TestRWCacheUpdate(0xc0004d4180): openPending: 2024/11/07 04:01:06 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2024-11-07 03:04:02 +0000 UTC,cdbdc94ef0e50810466d21c31d02b8365e9616d2" against cached fingerprint "20,2024-11-07 03:04:02 +0000 UTC,cdbdc94ef0e50810466d21c31d02b8365e9616d2" 2024/11/07 04:01:06 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 (not needed as size correct) 2024/11/07 04:01:06 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/11/07 04:01:06 DEBUG : TestRWCacheUpdate(0xc0004d4180): >openPending: err= 2024/11/07 04:01:06 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2024/11/07 04:01:06 DEBUG : TestRWCacheUpdate(0xc0004d4180): >_readAt: n=20, err=EOF 2024/11/07 04:01:06 DEBUG : TestRWCacheUpdate(0xc0004d4180): close: 2024/11/07 04:01:06 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-11-07 03:04:02 +0000 UTC 2024/11/07 04:01:06 DEBUG : TestRWCacheUpdate(0xc0004d4180): >close: err= read_write_test.go:752: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:752 Error: Not equal: expected: "TestRWCacheUpdate003" actual : "TestRWCacheUpdate002" Diff: --- Expected +++ Actual @@ -1 +1 @@ -TestRWCacheUpdate003 +TestRWCacheUpdate002 Test: TestRWCacheUpdate 2024/11/07 04:01:06 DEBUG : WaitForWriters: timeout=30s 2024/11/07 04:01:06 DEBUG : : Looking for writers 2024/11/07 04:01:06 DEBUG : TestRWCacheUpdate: reading active writers 2024/11/07 04:01:06 DEBUG : >WaitForWriters: 2024/11/07 04:01:06 DEBUG : vfs cache: cleaner exiting 2024/11/07 04:01:06 DEBUG : : forgetting directory cache 2024/11/07 04:01:06 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure --- FAIL: TestRWCacheUpdate (11.00s) FAIL 2024/11/07 04:01:13 DEBUG : pcloud root 'rclone-test-penapaz5nipi': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestPcloud: -verbose -test.run '^TestFileSetModTime$/^cache=off,open=true,write=true$|^TestRWCacheUpdate$'" - Finished ERROR in 13.412336692s (try 2/5): exit status 1: Failed [TestRWCacheUpdate]