"./vfs.test -test.v -test.timeout 1h0m0s -remote TestPcloud: -verbose -test.run '^(TestRWFileHandleReleaseWrite|TestRWFileHandleSizeTruncateExisting)$'" - Starting (try 2/5) 2026/09/12 03:42:04 DEBUG : Creating backend with remote "TestPcloud:rclone-test-kezuwiv1vexu" 2026/09/12 03:42:04 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/09/12 03:42:05 DEBUG : Creating backend with remote "/tmp/rclone3030677439" 2026/09/12 03:42:05 DEBUG : Config file has changed externally - reloading === RUN TestRWFileHandleReleaseWrite run.go:198: Remote "pcloud root 'rclone-test-kezuwiv1vexu'", Local "Local file system at /tmp/rclone3030677439", Modify Window "1s" 2026/09/12 03:42:05 DEBUG : pcloud root 'rclone-test-kezuwiv1vexu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/09/12 03:42:05 DEBUG : pcloud root 'rclone-test-kezuwiv1vexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-kezuwiv1vexu" 2026/09/12 03:42:05 DEBUG : pcloud root 'rclone-test-kezuwiv1vexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-kezuwiv1vexu" 2026/09/12 03:42:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-kezuwiv1vexu" 2026/09/12 03:42:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/09/12 03:42:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-kezuwiv1vexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-kezuwiv1vexu" 2026/09/12 03:42:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-kezuwiv1vexu" 2026/09/12 03:42:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/09/12 03:42:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-kezuwiv1vexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-kezuwiv1vexu" 2026/09/12 03:42:05 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2026/09/12 03:42:05 INFO : pcloud root 'rclone-test-kezuwiv1vexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/09/12 03:42:06 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2026/09/12 03:42:06 DEBUG : file1: newRWFileHandle: 2026/09/12 03:42:06 DEBUG : file1(0x21185f238780): openPending: 2026/09/12 03:42:06 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2026/09/12 03:42:06 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/09/12 03:42:06 DEBUG : file1(0x21185f238780): >openPending: err= 2026/09/12 03:42:06 DEBUG : file1: >newRWFileHandle: err= 2026/09/12 03:42:06 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/09/12 03:42:06 DEBUG : file1: >Open: fd=file1 (rw), err= 2026/09/12 03:42:06 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2026/09/12 03:42:06 DEBUG : file1(0x21185f238780): _writeAt: size=5, off=0 2026/09/12 03:42:06 DEBUG : file1(0x21185f238780): >_writeAt: n=5, err= 2026/09/12 03:42:06 DEBUG : file1(0x21185f238780): RWFileHandle.Release 2026/09/12 03:42:06 DEBUG : file1(0x21185f238780): close: 2026/09/12 03:42:06 DEBUG : file1: vfs cache: setting modification time to 2026-09-12 03:42:06.340765991 +0000 UTC m=+1.887526428 2026/09/12 03:42:06 INFO : file1: vfs cache: queuing for upload in 100ms 2026/09/12 03:42:06 DEBUG : file1(0x21185f238780): >close: err= 2026/09/12 03:42:06 DEBUG : file1(0x21185f238780): RWFileHandle.Release 2026/09/12 03:42:06 DEBUG : WaitForWriters: timeout=30s 2026/09/12 03:42:06 DEBUG : Looking for writers 2026/09/12 03:42:06 DEBUG : file1: reading active writers 2026/09/12 03:42:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/09/12 03:42:06 DEBUG : Looking for writers 2026/09/12 03:42:06 DEBUG : file1: reading active writers 2026/09/12 03:42:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/09/12 03:42:06 DEBUG : Looking for writers 2026/09/12 03:42:06 DEBUG : file1: reading active writers 2026/09/12 03:42:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/09/12 03:42:06 DEBUG : Looking for writers 2026/09/12 03:42:06 DEBUG : file1: reading active writers 2026/09/12 03:42:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/09/12 03:42:06 DEBUG : file1: vfs cache: starting upload 2026/09/12 03:42:06 DEBUG : Looking for writers 2026/09/12 03:42:06 DEBUG : file1: reading active writers 2026/09/12 03:42:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/09/12 03:42:06 DEBUG : Looking for writers 2026/09/12 03:42:06 DEBUG : file1: reading active writers 2026/09/12 03:42:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2026/09/12 03:42:06 DEBUG : Looking for writers 2026/09/12 03:42:06 DEBUG : file1: reading active writers 2026/09/12 03:42:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2026/09/12 03:42:07 DEBUG : pcloud root 'rclone-test-kezuwiv1vexu': ChangeNotify: detected change in "file1.fda4aff7.partial" (type: 1) 2026/09/12 03:42:07 DEBUG : changeNotify: relativePath="file1.fda4aff7.partial", type=1 2026/09/12 03:42:07 DEBUG : file1.fda4aff7.partial: size = 5 OK 2026/09/12 03:42:07 DEBUG : invalidating directory cache 2026/09/12 03:42:07 DEBUG : >changeNotify: 2026/09/12 03:42:07 DEBUG : file1: sha1 = aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d OK 2026/09/12 03:42:07 DEBUG : file1.fda4aff7.partial: renamed to: file1 2026/09/12 03:42:07 DEBUG : pcloud root 'rclone-test-kezuwiv1vexu': ChangeNotify: detected change in "file1" (type: 1) 2026/09/12 03:42:07 INFO : file1: Copied (new) 2026/09/12 03:42:07 DEBUG : changeNotify: relativePath="file1", type=1 2026/09/12 03:42:07 DEBUG : >changeNotify: 2026/09/12 03:42:07 DEBUG : file1: vfs cache: fingerprint now "5,2026-09-12 03:42:06 +0000 UTC,aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d" 2026/09/12 03:42:07 DEBUG : file1: vfs cache: writeback object to VFS layer 2026/09/12 03:42:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2026/09/12 03:42:07 INFO : file1: vfs cache: upload succeeded try #1 2026/09/12 03:42:07 DEBUG : Looking for writers 2026/09/12 03:42:07 DEBUG : file1: reading active writers 2026/09/12 03:42:07 DEBUG : >WaitForWriters: 2026/09/12 03:42:07 DEBUG : pcloud root 'rclone-test-kezuwiv1vexu': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseWrite (1.92s) === RUN TestRWFileHandleSizeTruncateExisting run.go:198: Remote "pcloud root 'rclone-test-kezuwiv1vexu'", Local "Local file system at /tmp/rclone3030677439", Modify Window "1s" 2026/09/12 03:42:07 DEBUG : pcloud root 'rclone-test-kezuwiv1vexu': vfs cache: root is "/home/rclone/.cache/rclone" 2026/09/12 03:42:07 DEBUG : pcloud root 'rclone-test-kezuwiv1vexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-kezuwiv1vexu" 2026/09/12 03:42:07 DEBUG : pcloud root 'rclone-test-kezuwiv1vexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-kezuwiv1vexu" 2026/09/12 03:42:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-kezuwiv1vexu" 2026/09/12 03:42:07 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/09/12 03:42:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-kezuwiv1vexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestPcloud/rclone-test-kezuwiv1vexu" 2026/09/12 03:42:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-kezuwiv1vexu" 2026/09/12 03:42:07 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2026/09/12 03:42:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-kezuwiv1vexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestPcloud/rclone-test-kezuwiv1vexu" 2026/09/12 03:42:07 INFO : pcloud root 'rclone-test-kezuwiv1vexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2026/09/12 03:42:07 DEBUG : pcloud root 'rclone-test-kezuwiv1vexu': ChangeNotify: detected change in "dir" (type: 0) 2026/09/12 03:42:07 DEBUG : changeNotify: relativePath="dir", type=0 2026/09/12 03:42:07 DEBUG : >changeNotify: 2026/09/12 03:42:07 DEBUG : pacer: low level retry 1/1 (error Put "https://eapi.pcloud.com/uploadfile?filename=file1&folderid=26507344325&mtime=981173106&nopartial=1": EOF) 2026/09/12 03:42:07 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2026/09/12 03:42:07 DEBUG : pacer: Reducing sleep to 15ms 2026/09/12 03:42:09 DEBUG : pacer: Reducing sleep to 11.25ms 2026/09/12 03:42:10 DEBUG : pacer: Reducing sleep to 10ms 2026/09/12 03:42:12 DEBUG : pacer: low level retry 1/10 (error Get "https://eapi.pcloud.com/listfolder?folderid=26507344325": read tcp 65.108.87.141:49022->45.131.244.9:443: read: connection reset by peer) 2026/09/12 03:42:12 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2026/09/12 03:42:12 DEBUG : pacer: Reducing sleep to 15ms run.go:299: Retry Put of "dir/file1" to pcloud root 'rclone-test-kezuwiv1vexu': 1/10 (Put "https://eapi.pcloud.com/uploadfile?filename=file1&folderid=26507344325&mtime=981173106&nopartial=1": EOF) 2026/09/12 03:42:15 DEBUG : pacer: Reducing sleep to 11.25ms 2026/09/12 03:42:15 DEBUG : pcloud root 'rclone-test-kezuwiv1vexu': ChangeNotify: detected change in "dir/file1" (type: 1) 2026/09/12 03:42:15 DEBUG : changeNotify: relativePath="dir/file1", type=1 2026/09/12 03:42:15 DEBUG : >changeNotify: 2026/09/12 03:42:15 DEBUG : pacer: Reducing sleep to 10ms fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache 2026/09/12 03:42:17 DEBUG : pacer: low level retry 1/10 (error Get "https://eapi.pcloud.com/listfolder?folderid=26507344184&recursive=1": EOF) 2026/09/12 03:42:17 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2026/09/12 03:42:17 DEBUG : pacer: Reducing sleep to 15ms fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache 2026/09/12 03:42:19 DEBUG : pacer: Reducing sleep to 11.25ms 2026/09/12 03:42:19 DEBUG : pacer: Reducing sleep to 10ms fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:306 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:339 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:351 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:40 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:481 /usr/local/go/src/runtime/asm_amd64.s:1264 Error: Should be true Test: TestRWFileHandleSizeTruncateExisting Messages: listing wrong, want dir/file1 (16) got dir/file1 (16), file1 (5) fstest.go:192: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:192 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:309 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:339 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:351 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:358 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:40 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:481 Error: Should be true Test: TestRWFileHandleSizeTruncateExisting Messages: Unexpected file "file1" 2026/09/12 03:42:23 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_TRUNC, perm=-rwxrwxrwx 2026/09/12 03:42:24 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2026/09/12 03:42:24 DEBUG : dir/file1: newRWFileHandle: 2026/09/12 03:42:24 DEBUG : dir/file1(0x21185f2b9240): openPending: 2026/09/12 03:42:24 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,fe5567e8d769550852182cdf69d74bb16dff8e29" against cached fingerprint "" 2026/09/12 03:42:24 DEBUG : dir/file1: vfs cache: truncate to size=16 2026/09/12 03:42:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/09/12 03:42:24 DEBUG : dir/file1(0x21185f2b9240): >openPending: err= 2026/09/12 03:42:24 DEBUG : dir/file1: vfs cache: truncate to size=0 2026/09/12 03:42:24 DEBUG : dir/file1: >newRWFileHandle: err= 2026/09/12 03:42:24 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2026/09/12 03:42:24 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2026/09/12 03:42:24 DEBUG : dir/file1(0x21185f2b9240): _writeAt: size=5, off=0 2026/09/12 03:42:24 DEBUG : dir/file1(0x21185f2b9240): >_writeAt: n=5, err= 2026/09/12 03:42:24 DEBUG : dir/file1(0x21185f2b9240): close: 2026/09/12 03:42:24 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2026/09/12 03:42:24 DEBUG : dir/file1: vfs cache: setting modification time to 2026-09-12 03:42:24.66858332 +0000 UTC m=+20.215343768 2026/09/12 03:42:24 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2026/09/12 03:42:24 DEBUG : dir/file1(0x21185f2b9240): >close: err= 2026/09/12 03:42:24 DEBUG : WaitForWriters: timeout=30s 2026/09/12 03:42:24 DEBUG : dir: Looking for writers 2026/09/12 03:42:24 DEBUG : file1: reading active writers 2026/09/12 03:42:24 DEBUG : Looking for writers 2026/09/12 03:42:24 DEBUG : dir: reading active writers 2026/09/12 03:42:24 DEBUG : file1: reading active writers 2026/09/12 03:42:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2026/09/12 03:42:24 DEBUG : dir: Looking for writers 2026/09/12 03:42:24 DEBUG : file1: reading active writers 2026/09/12 03:42:24 DEBUG : Looking for writers 2026/09/12 03:42:24 DEBUG : dir: reading active writers 2026/09/12 03:42:24 DEBUG : file1: reading active writers 2026/09/12 03:42:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2026/09/12 03:42:24 DEBUG : dir: Looking for writers 2026/09/12 03:42:24 DEBUG : file1: reading active writers 2026/09/12 03:42:24 DEBUG : Looking for writers 2026/09/12 03:42:24 DEBUG : dir: reading active writers 2026/09/12 03:42:24 DEBUG : file1: reading active writers 2026/09/12 03:42:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2026/09/12 03:42:24 DEBUG : dir: Looking for writers 2026/09/12 03:42:24 DEBUG : file1: reading active writers 2026/09/12 03:42:24 DEBUG : Looking for writers 2026/09/12 03:42:24 DEBUG : dir: reading active writers 2026/09/12 03:42:24 DEBUG : file1: reading active writers 2026/09/12 03:42:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2026/09/12 03:42:24 DEBUG : dir/file1: vfs cache: starting upload 2026/09/12 03:42:24 DEBUG : dir: Looking for writers 2026/09/12 03:42:24 DEBUG : file1: reading active writers 2026/09/12 03:42:24 DEBUG : Looking for writers 2026/09/12 03:42:24 DEBUG : dir: reading active writers 2026/09/12 03:42:24 DEBUG : file1: reading active writers 2026/09/12 03:42:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2026/09/12 03:42:24 DEBUG : dir/file1.e0dd5214.partial: size = 5 OK 2026/09/12 03:42:24 DEBUG : dir/file1: sha1 = aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d OK 2026/09/12 03:42:24 DEBUG : pcloud root 'rclone-test-kezuwiv1vexu': ChangeNotify: detected change in "dir/file1.e0dd5214.partial" (type: 1) 2026/09/12 03:42:24 DEBUG : changeNotify: relativePath="dir/file1.e0dd5214.partial", type=1 2026/09/12 03:42:24 DEBUG : dir: invalidating directory cache 2026/09/12 03:42:24 DEBUG : >changeNotify: 2026/09/12 03:42:24 DEBUG : dir/file1.e0dd5214.partial: renamed to: dir/file1 2026/09/12 03:42:24 INFO : dir/file1: Copied (replaced existing) 2026/09/12 03:42:24 DEBUG : dir: Looking for writers 2026/09/12 03:42:24 DEBUG : file1: reading active writers 2026/09/12 03:42:24 DEBUG : Looking for writers 2026/09/12 03:42:24 DEBUG : dir: reading active writers 2026/09/12 03:42:24 DEBUG : file1: reading active writers 2026/09/12 03:42:25 DEBUG : pcloud root 'rclone-test-kezuwiv1vexu': ChangeNotify: detected change in "dir/file1" (type: 1) 2026/09/12 03:42:25 DEBUG : changeNotify: relativePath="dir/file1", type=1 2026/09/12 03:42:25 DEBUG : >changeNotify: 2026/09/12 03:42:25 DEBUG : dir/file1: vfs cache: fingerprint now "5,2026-09-12 03:42:24 +0000 UTC,aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d" 2026/09/12 03:42:25 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2026/09/12 03:42:25 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2026/09/12 03:42:25 DEBUG : >WaitForWriters: 2026/09/12 03:42:25 INFO : dir/file1: vfs cache: upload succeeded try #1 2026/09/12 03:42:25 DEBUG : pcloud root 'rclone-test-kezuwiv1vexu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeTruncateExisting (17.77s) FAIL 2026/09/12 03:42:25 DEBUG : pcloud root 'rclone-test-kezuwiv1vexu': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestPcloud: -verbose -test.run '^(TestRWFileHandleReleaseWrite|TestRWFileHandleSizeTruncateExisting)$'" - Finished ERROR in 21.133431607s (try 2/5): exit status 1: Failed [TestRWFileHandleSizeTruncateExisting]