"./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 4/5) 2025/01/19 04:13:43 DEBUG : Creating backend with remote "TestPcloud:rclone-test-rarokiw8fava" 2025/01/19 04:13:43 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/19 04:13:44 DEBUG : Creating backend with remote "/tmp/rclone3119786750" === RUN TestMultithreadCopy run.go:180: Remote "pcloud root 'rclone-test-rarokiw8fava'", Local "Local file system at /tmp/rclone3119786750", Modify Window "1s" === RUN TestMultithreadCopy/upload=true,size=134217727,streams=2 2025/01/19 04:13:56 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: disabling buffering because destination uses OpenWriterAt 2025/01/19 04:13:56 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: write buffer set to 131072 2025/01/19 04:13:56 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 2 2025/01/19 04:13:56 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: number of streams 4 was bigger than number of chunks 2 2025/01/19 04:13:56 DEBUG : test-multithread-copy-true-134217727-2: Starting multi-thread copy with 2 chunks of size 64Mi with 2 parallel streams 2025/01/19 04:13:56 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: chunk 2/2 (67108864-134217727) size 64.000Mi starting 2025/01/19 04:13:56 DEBUG : test-multithread-copy-true-134217727-2: writing chunk 1 2025/01/19 04:13:56 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: chunk 1/2 (0-67108864) size 64Mi starting 2025/01/19 04:13:56 DEBUG : test-multithread-copy-true-134217727-2: writing chunk 0 2025/01/19 04:16:44 DEBUG : pacer: low level retry 1/1 (error pcloud error: Internal upload error. (5001)) 2025/01/19 04:16:44 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/01/19 04:16:44 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/01/19 04:16:46 DEBUG : pacer: Reducing sleep to 15ms 2025/01/19 04:16:46 DEBUG : pacer: Reducing sleep to 11.25ms 2025/01/19 04:16:46 DEBUG : pacer: Reducing sleep to 10ms 2025/01/19 04:16:46 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: chunk 1/2 failed: multi-thread copy: failed to write chunk: context canceled 2025/01/19 04:16:46 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: cancelling transfer on exit 2025/01/19 04:16:46 DEBUG : test-multithread-copy-true-134217727-2: checking file size: try 0/5 2025/01/19 04:16:47 DEBUG : test-multithread-copy-true-134217727-2: checking file size: try 1/5 2025/01/19 04:16:48 DEBUG : test-multithread-copy-true-134217727-2: checking file size: try 2/5 2025/01/19 04:16:50 DEBUG : test-multithread-copy-true-134217727-2: checking file size: try 3/5 2025/01/19 04:16:51 DEBUG : test-multithread-copy-true-134217727-2: checking file size: try 4/5 2025/01/19 04:16:52 ERROR : test-multithread-copy-true-134217727-2: multi-thread copy: failed to close file before aborting: incorrect size after upload: got 69337088, 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/01/19 04:17:10 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: disabling buffering because destination uses OpenWriterAt 2025/01/19 04:17:10 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: write buffer set to 131072 2025/01/19 04:17:10 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 2 2025/01/19 04:17:10 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: number of streams 4 was bigger than number of chunks 2 2025/01/19 04:17:10 DEBUG : test-multithread-copy-true-134217728-2: Starting multi-thread copy with 2 chunks of size 64Mi with 2 parallel streams 2025/01/19 04:17:10 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: chunk 2/2 (67108864-134217728) size 64Mi starting 2025/01/19 04:17:10 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: chunk 1/2 (0-67108864) size 64Mi starting 2025/01/19 04:17:10 DEBUG : test-multithread-copy-true-134217728-2: writing chunk 1 2025/01/19 04:17:10 DEBUG : test-multithread-copy-true-134217728-2: writing chunk 0 2025/01/19 04:17:38 DEBUG : pacer: low level retry 1/1 (error pcloud error: Internal upload error. (5001)) 2025/01/19 04:17:38 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/01/19 04:17:38 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/01/19 04:17:38 DEBUG : pacer: low level retry 1/1 (error pcloud error: Internal upload error. (5001)) 2025/01/19 04:17:38 DEBUG : pacer: Rate limited, increasing sleep to 40ms 2025/01/19 04:17:38 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: chunk 1/2 failed: multi-thread copy: failed to write chunk: open file: open new file descriptor: pcloud error: Internal upload error. (5001) 2025/01/19 04:17:38 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: cancelling transfer on exit 2025/01/19 04:17:38 DEBUG : test-multithread-copy-true-134217728-2: checking file size: try 0/5 2025/01/19 04:17:38 DEBUG : pacer: Reducing sleep to 30ms 2025/01/19 04:17:39 DEBUG : test-multithread-copy-true-134217728-2: checking file size: try 1/5 2025/01/19 04:17:39 DEBUG : pacer: Reducing sleep to 22.5ms 2025/01/19 04:17:40 DEBUG : test-multithread-copy-true-134217728-2: checking file size: try 2/5 2025/01/19 04:17:40 DEBUG : pacer: Reducing sleep to 16.875ms 2025/01/19 04:17:41 DEBUG : test-multithread-copy-true-134217728-2: checking file size: try 3/5 2025/01/19 04:17:41 DEBUG : pacer: Reducing sleep to 12.65625ms 2025/01/19 04:17:42 DEBUG : test-multithread-copy-true-134217728-2: checking file size: try 4/5 2025/01/19 04:17:42 DEBUG : pacer: Reducing sleep to 10ms 2025/01/19 04:17:43 ERROR : test-multithread-copy-true-134217728-2: multi-thread copy: failed to close file before aborting: incorrect size after upload: got 67239936, 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/01/19 04:18:02 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: disabling buffering because destination uses OpenWriterAt 2025/01/19 04:18:02 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: write buffer set to 131072 2025/01/19 04:18:02 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 2 2025/01/19 04:18:02 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: number of streams 4 was bigger than number of chunks 3 2025/01/19 04:18:02 DEBUG : test-multithread-copy-true-134217729-2: Starting multi-thread copy with 3 chunks of size 64Mi with 3 parallel streams 2025/01/19 04:18:02 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: chunk 3/3 (134217728-134217729) size 1 starting 2025/01/19 04:18:02 DEBUG : test-multithread-copy-true-134217729-2: writing chunk 2 2025/01/19 04:18:02 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: chunk 2/3 (67108864-134217728) size 64Mi starting 2025/01/19 04:18:02 DEBUG : test-multithread-copy-true-134217729-2: writing chunk 1 2025/01/19 04:18:02 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: chunk 1/3 (0-67108864) size 64Mi starting 2025/01/19 04:18:02 DEBUG : test-multithread-copy-true-134217729-2: writing chunk 0 2025/01/19 04:18:02 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: chunk 3/3 (134217728-134217729) size 1 finished 2025/01/19 04:18:35 DEBUG : pacer: low level retry 1/1 (error pcloud error: Internal upload error. (5001)) 2025/01/19 04:18:35 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/01/19 04:18: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/01/19 04:18:35 DEBUG : pacer: low level retry 1/1 (error pcloud error: Internal upload error. (5001)) 2025/01/19 04:18:35 DEBUG : pacer: Rate limited, increasing sleep to 40ms 2025/01/19 04:18: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/01/19 04:18:35 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: cancelling transfer on exit 2025/01/19 04:18:35 DEBUG : test-multithread-copy-true-134217729-2: checking file size: try 0/5 2025/01/19 04:18:35 DEBUG : pacer: Reducing sleep to 30ms 2025/01/19 04:18:35 DEBUG : pacer: Reducing sleep to 22.5ms 2025/01/19 04:18: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/01/19 04:18:35 DEBUG : pacer: Reducing sleep to 12.65625ms 2025/01/19 04:18:35 DEBUG : pacer: Reducing sleep to 10ms --- FAIL: TestMultithreadCopy (291.78s) --- FAIL: TestMultithreadCopy/upload=true,size=134217727,streams=2 (188.25s) --- FAIL: TestMultithreadCopy/upload=true,size=134217728,streams=2 (51.27s) --- FAIL: TestMultithreadCopy/upload=true,size=134217729,streams=2 (52.09s) FAIL 2025/01/19 04:18:35 DEBUG : pcloud root 'rclone-test-rarokiw8fava': 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 4m52.38539874s (try 4/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]