"./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 3/5) 2025/01/23 03:25:27 DEBUG : Creating backend with remote "TestPcloud:rclone-test-hugeket6yixa" 2025/01/23 03:25:27 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/23 03:25:28 DEBUG : Creating backend with remote "/tmp/rclone4028311083" === RUN TestMultithreadCopy run.go:180: Remote "pcloud root 'rclone-test-hugeket6yixa'", Local "Local file system at /tmp/rclone4028311083", Modify Window "1s" === RUN TestMultithreadCopy/upload=true,size=134217727,streams=2 2025/01/23 03:25:37 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: disabling buffering because destination uses OpenWriterAt 2025/01/23 03:25:38 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: write buffer set to 131072 2025/01/23 03:25:38 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 2 2025/01/23 03:25:38 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: number of streams 4 was bigger than number of chunks 2 2025/01/23 03:25:38 DEBUG : test-multithread-copy-true-134217727-2: Starting multi-thread copy with 2 chunks of size 64Mi with 2 parallel streams 2025/01/23 03:25:38 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: chunk 2/2 (67108864-134217727) size 64.000Mi starting 2025/01/23 03:25:38 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: chunk 1/2 (0-67108864) size 64Mi starting 2025/01/23 03:25:38 DEBUG : test-multithread-copy-true-134217727-2: writing chunk 1 2025/01/23 03:25:38 DEBUG : test-multithread-copy-true-134217727-2: writing chunk 0 2025/01/23 03:29:19 DEBUG : pacer: low level retry 1/1 (error pcloud error: Internal upload error. (5001)) 2025/01/23 03:29:19 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/01/23 03:29:19 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/23 03:29:20 DEBUG : pacer: Reducing sleep to 15ms 2025/01/23 03:29:20 DEBUG : pacer: Reducing sleep to 11.25ms 2025/01/23 03:29:20 DEBUG : pacer: Reducing sleep to 10ms 2025/01/23 03:29:20 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/23 03:29:20 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: cancelling transfer on exit 2025/01/23 03:29:20 DEBUG : test-multithread-copy-true-134217727-2: checking file size: try 0/5 2025/01/23 03:29:21 DEBUG : test-multithread-copy-true-134217727-2: checking file size: try 1/5 2025/01/23 03:29:22 DEBUG : test-multithread-copy-true-134217727-2: checking file size: try 2/5 2025/01/23 03:29:23 DEBUG : test-multithread-copy-true-134217727-2: checking file size: try 3/5 2025/01/23 03:29:24 DEBUG : test-multithread-copy-true-134217727-2: checking file size: try 4/5 2025/01/23 03:29:25 ERROR : test-multithread-copy-true-134217727-2: multi-thread copy: failed to close file before aborting: incorrect size after upload: got 70647808, 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/23 03:29:42 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: disabling buffering because destination uses OpenWriterAt 2025/01/23 03:29:42 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: write buffer set to 131072 2025/01/23 03:29:42 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 2 2025/01/23 03:29:42 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: number of streams 4 was bigger than number of chunks 2 2025/01/23 03:29:42 DEBUG : test-multithread-copy-true-134217728-2: Starting multi-thread copy with 2 chunks of size 64Mi with 2 parallel streams 2025/01/23 03:29:42 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: chunk 2/2 (67108864-134217728) size 64Mi starting 2025/01/23 03:29:42 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: chunk 1/2 (0-67108864) size 64Mi starting 2025/01/23 03:29:42 DEBUG : test-multithread-copy-true-134217728-2: writing chunk 0 2025/01/23 03:29:42 DEBUG : test-multithread-copy-true-134217728-2: writing chunk 1 2025/01/23 03:33:08 DEBUG : pacer: low level retry 1/1 (error pcloud error: Internal upload error. (5001)) 2025/01/23 03:33:08 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/01/23 03:33:08 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/23 03:33:08 DEBUG : pacer: low level retry 1/1 (error pcloud error: Internal upload error. (5001)) 2025/01/23 03:33:08 DEBUG : pacer: Rate limited, increasing sleep to 40ms 2025/01/23 03:33:08 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/23 03:33:08 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: cancelling transfer on exit 2025/01/23 03:33:08 DEBUG : test-multithread-copy-true-134217728-2: checking file size: try 0/5 2025/01/23 03:33:08 DEBUG : pacer: Reducing sleep to 30ms 2025/01/23 03:33:09 DEBUG : test-multithread-copy-true-134217728-2: checking file size: try 1/5 2025/01/23 03:33:09 DEBUG : pacer: Reducing sleep to 22.5ms 2025/01/23 03:33:10 DEBUG : test-multithread-copy-true-134217728-2: checking file size: try 2/5 2025/01/23 03:33:11 DEBUG : pacer: Reducing sleep to 16.875ms 2025/01/23 03:33:12 DEBUG : test-multithread-copy-true-134217728-2: checking file size: try 3/5 2025/01/23 03:33:12 DEBUG : pacer: Reducing sleep to 12.65625ms 2025/01/23 03:33:13 DEBUG : test-multithread-copy-true-134217728-2: checking file size: try 4/5 2025/01/23 03:33:13 DEBUG : pacer: Reducing sleep to 10ms 2025/01/23 03:33:14 ERROR : test-multithread-copy-true-134217728-2: multi-thread copy: failed to close file before aborting: incorrect size after upload: got 111804416, 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/23 03:33:30 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: disabling buffering because destination uses OpenWriterAt 2025/01/23 03:33:30 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: write buffer set to 131072 2025/01/23 03:33:30 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 2 2025/01/23 03:33:30 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: number of streams 4 was bigger than number of chunks 3 2025/01/23 03:33:30 DEBUG : test-multithread-copy-true-134217729-2: Starting multi-thread copy with 3 chunks of size 64Mi with 3 parallel streams 2025/01/23 03:33:30 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: chunk 3/3 (134217728-134217729) size 1 starting 2025/01/23 03:33:30 DEBUG : test-multithread-copy-true-134217729-2: writing chunk 2 2025/01/23 03:33:30 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: chunk 1/3 (0-67108864) size 64Mi starting 2025/01/23 03:33:30 DEBUG : test-multithread-copy-true-134217729-2: writing chunk 0 2025/01/23 03:33:30 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: chunk 2/3 (67108864-134217728) size 64Mi starting 2025/01/23 03:33:30 DEBUG : test-multithread-copy-true-134217729-2: writing chunk 1 2025/01/23 03:33:31 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: chunk 3/3 (134217728-134217729) size 1 finished 2025/01/23 03:33:59 DEBUG : pacer: low level retry 1/1 (error pcloud error: Internal upload error. (5001)) 2025/01/23 03:33:59 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/01/23 03:33:59 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/23 03:33:59 DEBUG : pacer: low level retry 1/1 (error pcloud error: Internal upload error. (5001)) 2025/01/23 03:33:59 DEBUG : pacer: Rate limited, increasing sleep to 40ms 2025/01/23 03:33:59 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/23 03:33:59 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: cancelling transfer on exit 2025/01/23 03:33:59 DEBUG : test-multithread-copy-true-134217729-2: checking file size: try 0/5 2025/01/23 03:33:59 DEBUG : pacer: Reducing sleep to 30ms 2025/01/23 03:33:59 DEBUG : pacer: Reducing sleep to 22.5ms 2025/01/23 03:33:59 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/23 03:34:00 DEBUG : pacer: Reducing sleep to 12.65625ms 2025/01/23 03:34:00 DEBUG : pacer: Reducing sleep to 10ms --- FAIL: TestMultithreadCopy (511.86s) --- FAIL: TestMultithreadCopy/upload=true,size=134217727,streams=2 (237.68s) --- FAIL: TestMultithreadCopy/upload=true,size=134217728,streams=2 (228.40s) --- FAIL: TestMultithreadCopy/upload=true,size=134217729,streams=2 (45.62s) FAIL 2025/01/23 03:34:00 DEBUG : pcloud root 'rclone-test-hugeket6yixa': 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 8m32.517653475s (try 3/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]