"./operations.test -test.v -test.timeout 1h0m0s -remote TestPcloud: -verbose -test.run '^TestMultithreadCopy$/^(upload=true,size=134217727,streams=2|upload=true,size=134217728,streams=2|upload=true,size=134217729,streams=2)$'" - Starting (try 2/5) 2025/03/21 05:28:23 DEBUG : Creating backend with remote "TestPcloud:rclone-test-lafofom0joda" 2025/03/21 05:28:23 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/03/21 05:28:24 DEBUG : Creating backend with remote "/tmp/rclone2277850766" === RUN TestMultithreadCopy run.go:180: Remote "pcloud root 'rclone-test-lafofom0joda'", Local "Local file system at /tmp/rclone2277850766", Modify Window "1s" === RUN TestMultithreadCopy/upload=true,size=134217727,streams=2 2025/03/21 05:28:35 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: disabling buffering because destination uses OpenWriterAt 2025/03/21 05:28:35 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: write buffer set to 131072 2025/03/21 05:28:35 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 2 2025/03/21 05:28:35 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: number of streams 4 was bigger than number of chunks 2 2025/03/21 05:28:35 DEBUG : test-multithread-copy-true-134217727-2: Starting multi-thread copy with 2 chunks of size 64Mi with 2 parallel streams 2025/03/21 05:28:35 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: chunk 2/2 (67108864-134217727) size 64.000Mi starting 2025/03/21 05:28:35 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: chunk 1/2 (0-67108864) size 64Mi starting 2025/03/21 05:28:35 DEBUG : test-multithread-copy-true-134217727-2: writing chunk 1 2025/03/21 05:28:35 DEBUG : test-multithread-copy-true-134217727-2: writing chunk 0 2025/03/21 05:31:53 DEBUG : pacer: low level retry 1/1 (error pcloud error: Internal upload error. (5001)) 2025/03/21 05:31:53 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/03/21 05:31:53 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: chunk 2/2 failed: multi-thread copy: failed to write chunk: open file: open new file descriptor: pcloud error: Internal upload error. (5001) 2025/03/21 05:32:08 DEBUG : pacer: Reducing sleep to 15ms 2025/03/21 05:32:08 DEBUG : pacer: Reducing sleep to 11.25ms 2025/03/21 05:32:08 DEBUG : pacer: Reducing sleep to 10ms 2025/03/21 05:32:08 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: chunk 1/2 failed: multi-thread copy: failed to write chunk: context canceled 2025/03/21 05:32:08 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: cancelling transfer on exit 2025/03/21 05:32:08 DEBUG : test-multithread-copy-true-134217727-2: checking file size: try 0/5 2025/03/21 05:32:09 DEBUG : test-multithread-copy-true-134217727-2: checking file size: try 1/5 2025/03/21 05:32:10 DEBUG : test-multithread-copy-true-134217727-2: checking file size: try 2/5 2025/03/21 05:32:11 DEBUG : test-multithread-copy-true-134217727-2: checking file size: try 3/5 2025/03/21 05:32:12 DEBUG : test-multithread-copy-true-134217727-2: checking file size: try 4/5 2025/03/21 05:32:13 ERROR : test-multithread-copy-true-134217727-2: multi-thread copy: failed to close file before aborting: incorrect size after upload: got 114950144, want 134217727 multithread_test.go:220: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread_test.go:220 Error: Received unexpected error: multi-thread copy: failed to write chunk: open file: open new file descriptor: pcloud error: Internal upload error. (5001) Test: TestMultithreadCopy/upload=true,size=134217727,streams=2 === RUN TestMultithreadCopy/upload=true,size=134217728,streams=2 fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:334 /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread_test.go:189 Error: Should be true Test: TestMultithreadCopy/upload=true,size=134217728,streams=2 Messages: listing wrong, want test-multithread-copy-true-134217728-2 (134217728) got test-multithread-copy-true-134217727-2 (134217727), test-multithread-copy-true-134217728-2 (134217728) fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:334 /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread_test.go:189 Error: Should be true Test: TestMultithreadCopy/upload=true,size=134217728,streams=2 Messages: Unexpected file "test-multithread-copy-true-134217727-2" 2025/03/21 05:32:31 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: disabling buffering because destination uses OpenWriterAt 2025/03/21 05:32:31 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: write buffer set to 131072 2025/03/21 05:32:31 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 2 2025/03/21 05:32:31 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: number of streams 4 was bigger than number of chunks 2 2025/03/21 05:32:31 DEBUG : test-multithread-copy-true-134217728-2: Starting multi-thread copy with 2 chunks of size 64Mi with 2 parallel streams 2025/03/21 05:32:31 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: chunk 2/2 (67108864-134217728) size 64Mi starting 2025/03/21 05:32:31 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: chunk 1/2 (0-67108864) size 64Mi starting 2025/03/21 05:32:31 DEBUG : test-multithread-copy-true-134217728-2: writing chunk 1 2025/03/21 05:32:31 DEBUG : test-multithread-copy-true-134217728-2: writing chunk 0 2025/03/21 05:41:31 DEBUG : pacer: low level retry 1/1 (error pcloud error: Internal upload error. (5001)) 2025/03/21 05:41:31 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/03/21 05:41:31 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: chunk 2/2 failed: multi-thread copy: failed to write chunk: open file: open new file descriptor: pcloud error: Internal upload error. (5001) 2025/03/21 05:41:32 DEBUG : pacer: Reducing sleep to 15ms 2025/03/21 05:41:32 DEBUG : pacer: Reducing sleep to 11.25ms 2025/03/21 05:41:33 DEBUG : pacer: Reducing sleep to 10ms 2025/03/21 05:41:33 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: chunk 1/2 failed: multi-thread copy: failed to write chunk: context canceled 2025/03/21 05:41:33 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: cancelling transfer on exit 2025/03/21 05:41:33 DEBUG : test-multithread-copy-true-134217728-2: checking file size: try 0/5 2025/03/21 05:41:34 DEBUG : test-multithread-copy-true-134217728-2: checking file size: try 1/5 2025/03/21 05:41:35 DEBUG : test-multithread-copy-true-134217728-2: checking file size: try 2/5 2025/03/21 05:41:36 DEBUG : test-multithread-copy-true-134217728-2: checking file size: try 3/5 2025/03/21 05:41:37 DEBUG : test-multithread-copy-true-134217728-2: checking file size: try 4/5 2025/03/21 05:41:38 ERROR : test-multithread-copy-true-134217728-2: multi-thread copy: failed to close file before aborting: incorrect size after upload: got 80740352, want 134217728 multithread_test.go:220: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread_test.go:220 Error: Received unexpected error: multi-thread copy: failed to write chunk: open file: open new file descriptor: pcloud error: Internal upload error. (5001) Test: TestMultithreadCopy/upload=true,size=134217728,streams=2 === RUN TestMultithreadCopy/upload=true,size=134217729,streams=2 fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:334 /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread_test.go:189 Error: Should be true Test: TestMultithreadCopy/upload=true,size=134217729,streams=2 Messages: listing wrong, want test-multithread-copy-true-134217729-2 (134217729) got test-multithread-copy-true-134217727-2 (134217727), test-multithread-copy-true-134217728-2 (134217728), test-multithread-copy-true-134217729-2 (134217729) fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:334 /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread_test.go:189 Error: Should be true Test: TestMultithreadCopy/upload=true,size=134217729,streams=2 Messages: Unexpected file "test-multithread-copy-true-134217727-2" fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:334 /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread_test.go:189 Error: Should be true Test: TestMultithreadCopy/upload=true,size=134217729,streams=2 Messages: Unexpected file "test-multithread-copy-true-134217728-2" 2025/03/21 05:41:56 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: disabling buffering because destination uses OpenWriterAt 2025/03/21 05:41:56 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: write buffer set to 131072 2025/03/21 05:41:56 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 2 2025/03/21 05:41:56 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: number of streams 4 was bigger than number of chunks 3 2025/03/21 05:41:56 DEBUG : test-multithread-copy-true-134217729-2: Starting multi-thread copy with 3 chunks of size 64Mi with 3 parallel streams 2025/03/21 05:41:56 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: chunk 3/3 (134217728-134217729) size 1 starting 2025/03/21 05:41:56 DEBUG : test-multithread-copy-true-134217729-2: writing chunk 2 2025/03/21 05:41:56 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: chunk 1/3 (0-67108864) size 64Mi starting 2025/03/21 05:41:56 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: chunk 2/3 (67108864-134217728) size 64Mi starting 2025/03/21 05:41:56 DEBUG : test-multithread-copy-true-134217729-2: writing chunk 1 2025/03/21 05:41:56 DEBUG : test-multithread-copy-true-134217729-2: writing chunk 0 2025/03/21 05:41:57 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: chunk 3/3 (134217728-134217729) size 1 finished 2025/03/21 05:42:35 DEBUG : pacer: low level retry 1/1 (error pcloud error: Internal upload error. (5001)) 2025/03/21 05:42:35 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/03/21 05:42:35 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: chunk 2/3 failed: multi-thread copy: failed to write chunk: open file: open new file descriptor: pcloud error: Internal upload error. (5001) 2025/03/21 05:42:35 DEBUG : pacer: low level retry 1/1 (error pcloud error: Internal upload error. (5001)) 2025/03/21 05:42:35 DEBUG : pacer: Rate limited, increasing sleep to 40ms 2025/03/21 05:42:35 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: chunk 1/3 failed: multi-thread copy: failed to write chunk: open file: open new file descriptor: pcloud error: Internal upload error. (5001) 2025/03/21 05:42:35 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: cancelling transfer on exit 2025/03/21 05:42:35 DEBUG : test-multithread-copy-true-134217729-2: checking file size: try 0/5 2025/03/21 05:42:35 DEBUG : pacer: Reducing sleep to 30ms 2025/03/21 05:42:35 DEBUG : pacer: Reducing sleep to 22.5ms 2025/03/21 05:42:35 DEBUG : pacer: Reducing sleep to 16.875ms multithread_test.go:220: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread_test.go:220 Error: Received unexpected error: multi-thread copy: failed to write chunk: open file: open new file descriptor: pcloud error: Internal upload error. (5001) Test: TestMultithreadCopy/upload=true,size=134217729,streams=2 2025/03/21 05:42:36 DEBUG : pacer: Reducing sleep to 12.65625ms 2025/03/21 05:42:36 DEBUG : pacer: Reducing sleep to 10ms --- FAIL: TestMultithreadCopy (852.07s) --- FAIL: TestMultithreadCopy/upload=true,size=134217727,streams=2 (229.69s) --- FAIL: TestMultithreadCopy/upload=true,size=134217728,streams=2 (564.85s) --- FAIL: TestMultithreadCopy/upload=true,size=134217729,streams=2 (57.35s) FAIL 2025/03/21 05:42:36 DEBUG : pcloud root 'rclone-test-lafofom0joda': Purge remote "./operations.test -test.v -test.timeout 1h0m0s -remote TestPcloud: -verbose -test.run '^TestMultithreadCopy$/^(upload=true,size=134217727,streams=2|upload=true,size=134217728,streams=2|upload=true,size=134217729,streams=2)$'" - Finished ERROR in 14m12.739589641s (try 2/5): exit status 1: Failed [TestMultithreadCopy/upload=true,size=134217727,streams=2 TestMultithreadCopy/upload=true,size=134217728,streams=2 TestMultithreadCopy/upload=true,size=134217729,streams=2]