"./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 5/5) 2024/12/21 06:49:43 DEBUG : Creating backend with remote "TestPcloud:rclone-test-bobipoq9jila" 2024/12/21 06:49:43 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/12/21 06:49:43 DEBUG : Creating backend with remote "/tmp/rclone1995964037" === RUN TestMultithreadCopy run.go:180: Remote "pcloud root 'rclone-test-bobipoq9jila'", Local "Local file system at /tmp/rclone1995964037", Modify Window "1s" === RUN TestMultithreadCopy/upload=true,size=134217727,streams=2 2024/12/21 06:49:53 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: disabling buffering because destination uses OpenWriterAt 2024/12/21 06:49:53 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: write buffer set to 131072 2024/12/21 06:49:53 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 2 2024/12/21 06:49:53 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: number of streams 4 was bigger than number of chunks 2 2024/12/21 06:49:53 DEBUG : test-multithread-copy-true-134217727-2: Starting multi-thread copy with 2 chunks of size 64Mi with 2 parallel streams 2024/12/21 06:49:53 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: chunk 2/2 (67108864-134217727) size 64.000Mi starting 2024/12/21 06:49:53 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: chunk 1/2 (0-67108864) size 64Mi starting 2024/12/21 06:49:53 DEBUG : test-multithread-copy-true-134217727-2: writing chunk 0 2024/12/21 06:49:53 DEBUG : test-multithread-copy-true-134217727-2: writing chunk 1 2024/12/21 07:03:12 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: chunk 1/2 (0-67108864) size 64Mi finished 2024/12/21 07:03:18 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: chunk 2/2 (67108864-134217727) size 64.000Mi finished 2024/12/21 07:03:18 DEBUG : test-multithread-copy-true-134217727-2: checking file size: try 0/5 2024/12/21 07:03:20 DEBUG : test-multithread-copy-true-134217727-2: checking file size: try 1/5 2024/12/21 07:03:21 DEBUG : test-multithread-copy-true-134217727-2: checking file size: try 2/5 2024/12/21 07:03:22 DEBUG : test-multithread-copy-true-134217727-2: checking file size: try 3/5 2024/12/21 07:03:23 DEBUG : test-multithread-copy-true-134217727-2: checking file size: try 4/5 2024/12/21 07:03:24 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: cancelling transfer on exit 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 close object after copy: incorrect size after upload: got 134086656, want 134217727 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" 2024/12/21 07:03:40 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: disabling buffering because destination uses OpenWriterAt 2024/12/21 07:03:40 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: write buffer set to 131072 2024/12/21 07:03:40 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 2 2024/12/21 07:03:40 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: number of streams 4 was bigger than number of chunks 2 2024/12/21 07:03:40 DEBUG : test-multithread-copy-true-134217728-2: Starting multi-thread copy with 2 chunks of size 64Mi with 2 parallel streams 2024/12/21 07:03:40 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: chunk 2/2 (67108864-134217728) size 64Mi starting 2024/12/21 07:03:40 DEBUG : test-multithread-copy-true-134217728-2: writing chunk 1 2024/12/21 07:03:40 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: chunk 1/2 (0-67108864) size 64Mi starting 2024/12/21 07:03:40 DEBUG : test-multithread-copy-true-134217728-2: writing chunk 0 2024/12/21 07:14:41 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: chunk 2/2 (67108864-134217728) size 64Mi finished 2024/12/21 07:15:37 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: chunk 1/2 (0-67108864) size 64Mi finished 2024/12/21 07:15:37 DEBUG : test-multithread-copy-true-134217728-2: checking file size: try 0/5 2024/12/21 07:15:37 ERROR : test-multithread-copy-true-134217728-2: multi-thread copy: can't set metadata as SetMetadata isn't implemented in: pcloud root 'rclone-test-bobipoq9jila' 2024/12/21 07:15:37 DEBUG : test-multithread-copy-true-134217728-2: Finished multi-thread copy with 2 parts of size 64Mi 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/fs/operations/multithread_test.go:224 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/fs/operations/multithread_test.go:224 Error: Should be true Test: TestMultithreadCopy/upload=true,size=134217728,streams=2 Messages: Unexpected file "test-multithread-copy-true-134217727-2" fstest.go:121: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:121 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:126 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:145 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:189 /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/fs/operations/multithread_test.go:225 Error: Should be true Test: TestMultithreadCopy/upload=true,size=134217728,streams=2 Messages: test-multithread-copy-true-134217728-2: Modification time difference too big |-209331h10m37.500000001s| > 1s (want 2001-02-03 04:05:06.499999999 +0000 UTC vs got 2024-12-21 07:15:44 +0000 UTC) (precision 1s) === 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-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" 2024/12/21 07:16:05 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: disabling buffering because destination uses OpenWriterAt 2024/12/21 07:16:05 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: write buffer set to 131072 2024/12/21 07:16:05 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 2 2024/12/21 07:16:05 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: number of streams 4 was bigger than number of chunks 3 2024/12/21 07:16:05 DEBUG : test-multithread-copy-true-134217729-2: Starting multi-thread copy with 3 chunks of size 64Mi with 3 parallel streams 2024/12/21 07:16:05 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: chunk 3/3 (134217728-134217729) size 1 starting 2024/12/21 07:16:05 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: chunk 1/3 (0-67108864) size 64Mi starting 2024/12/21 07:16:05 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: chunk 2/3 (67108864-134217728) size 64Mi starting 2024/12/21 07:16:05 DEBUG : test-multithread-copy-true-134217729-2: writing chunk 1 2024/12/21 07:16:05 DEBUG : test-multithread-copy-true-134217729-2: writing chunk 0 2024/12/21 07:16:05 DEBUG : test-multithread-copy-true-134217729-2: writing chunk 2 2024/12/21 07:16:07 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: chunk 3/3 (134217728-134217729) size 1 finished panic: test timed out after 1h0m0s running tests: TestMultithreadCopy (1h0m0s) TestMultithreadCopy/upload=true,size=134217729,streams=2 (33m55s) goroutine 32327 [running]: testing.(*M).startAlarm.func1() /usr/local/go/src/testing/testing.go:2366 +0x385 created by time.goFunc /usr/local/go/src/time/sleep.go:177 +0x2d goroutine 1 [chan receive, 60 minutes]: testing.(*T).Run(0xc0006ac1a0, {0x23fa884?, 0x0?}, 0x25168d8) /usr/local/go/src/testing/testing.go:1750 +0x3ab testing.runTests.func1(0xc0006ac1a0) /usr/local/go/src/testing/testing.go:2161 +0x37 testing.tRunner(0xc0006ac1a0, 0xc000897c00) /usr/local/go/src/testing/testing.go:1689 +0xfb testing.runTests(0xc0007143f0, {0x39a6a60, 0x6c, 0x6c}, {0x1?, 0xedef85c07?, 0x39ba660?}) /usr/local/go/src/testing/testing.go:2159 +0x445 testing.(*M).Run(0xc0005c7cc0) /usr/local/go/src/testing/testing.go:2027 +0x68b github.com/rclone/rclone/fstest.TestMain(0xc0005c7cc0) /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:69 +0xa5 github.com/rclone/rclone/fs/operations_test.TestMain(...) /home/rclone/go/src/github.com/rclone/rclone/fs/operations/operations_test.go:61 main.main() _testmain.go:265 +0x196 goroutine 36 [syscall, 60 minutes]: os/signal.signal_recv() /usr/local/go/src/runtime/sigqueue.go:152 +0x29 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x13 created by os/signal.Notify.func1.1 in goroutine 1 /usr/local/go/src/os/signal/signal.go:151 +0x1f goroutine 37 [chan receive, 60 minutes]: github.com/rclone/rclone/fs/accounting.(*tokenBucket).startSignalHandler.func1() /home/rclone/go/src/github.com/rclone/rclone/fs/accounting/accounting_unix.go:24 +0x27 created by github.com/rclone/rclone/fs/accounting.(*tokenBucket).startSignalHandler in goroutine 1 /home/rclone/go/src/github.com/rclone/rclone/fs/accounting/accounting_unix.go:21 +0xab goroutine 38 [select, 60 minutes]: github.com/rclone/rclone/lib/oauthutil.(*Renew).renewOnExpiry(0xc0005fee00) /home/rclone/go/src/github.com/rclone/rclone/lib/oauthutil/renew.go:43 +0x89 created by github.com/rclone/rclone/lib/oauthutil.NewRenew in goroutine 1 /home/rclone/go/src/github.com/rclone/rclone/lib/oauthutil/renew.go:32 +0xe5 goroutine 45 [chan receive, 33 minutes]: testing.(*T).Run(0xc0006ac820, {0xc01b59e1b0?, 0xc0007f7f10?}, 0xc0003c4280) /usr/local/go/src/testing/testing.go:1750 +0x3ab github.com/rclone/rclone/fs/operations.TestMultithreadCopy(0xc0006ac820) /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread_test.go:167 +0x1f7 testing.tRunner(0xc0006ac820, 0x25168d8) /usr/local/go/src/testing/testing.go:1689 +0xfb created by testing.(*T).Run in goroutine 1 /usr/local/go/src/testing/testing.go:1742 +0x390 goroutine 24885 [semacquire, 33 minutes]: sync.runtime_Semacquire(0xc02038e5d0?) /usr/local/go/src/runtime/sema.go:62 +0x25 sync.(*WaitGroup).Wait(0x21f4bc0?) /usr/local/go/src/sync/waitgroup.go:116 +0x48 golang.org/x/sync/errgroup.(*Group).Wait(0xc0005ff600) /home/rclone/go/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:56 +0x25 github.com/rclone/rclone/fs/operations.multiThreadCopy({0x27d65e0, 0xc000828720}, {0x27eadb8, 0xc0004b2780}, {0xc01b59e180, 0x26}, {0x27ea728, 0xc01a098420}, 0x2, 0xc000850180, ...) /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread.go:232 +0xe25 github.com/rclone/rclone/fs/operations.TestMultithreadCopy.func1(0xc0006ac000) /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread_test.go:219 +0x905 testing.tRunner(0xc0006ac000, 0xc0003c4280) /usr/local/go/src/testing/testing.go:1689 +0xfb created by testing.(*T).Run in goroutine 45 /usr/local/go/src/testing/testing.go:1742 +0x390 goroutine 130 [chan receive, 59 minutes]: github.com/rclone/rclone/lib/atexit.Register.func1.1() /home/rclone/go/src/github.com/rclone/rclone/lib/atexit/atexit.go:45 +0x29 created by github.com/rclone/rclone/lib/atexit.Register.func1 in goroutine 46 /home/rclone/go/src/github.com/rclone/rclone/lib/atexit/atexit.go:44 +0x68 goroutine 24952 [select]: github.com/rclone/rclone/fs/accounting.(*Account).averageLoop(0xc00015bd00) /home/rclone/go/src/github.com/rclone/rclone/fs/accounting/accounting.go:221 +0xf6 created by github.com/rclone/rclone/fs/accounting.newAccountSizeName in goroutine 24885 /home/rclone/go/src/github.com/rclone/rclone/fs/accounting/accounting.go:119 +0x438 goroutine 24957 [chan receive]: github.com/rclone/rclone/backend/local.(*fadvise).worker(0xc0005ff740) /home/rclone/go/src/github.com/rclone/rclone/backend/local/fadvise_unix.go:114 +0x3f created by github.com/rclone/rclone/backend/local.newFadvise in goroutine 24954 /home/rclone/go/src/github.com/rclone/rclone/backend/local/fadvise_unix.go:74 +0x11f goroutine 32374 [IO wait]: internal/poll.runtime_pollWait(0x7f3999a06ef8, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0xc01dcd0680?, 0xc0009a8000?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc01dcd0680, {0xc0009a8000, 0x1980, 0x1980}) /usr/local/go/src/internal/poll/fd_unix.go:164 +0x27a net.(*netFD).Read(0xc01dcd0680, {0xc0009a8000?, 0xc000a63850?, 0x41cc25?}) /usr/local/go/src/net/fd_posix.go:55 +0x25 net.(*conn).Read(0xc0006a2120, {0xc0009a8000?, 0x7f398ae85678?, 0xc000754030?}) /usr/local/go/src/net/net.go:179 +0x45 github.com/rclone/rclone/fs/fshttp.(*timeoutConn).Read(0xc00062c090, {0xc0009a8000?, 0x0?, 0x8d?}) /home/rclone/go/src/github.com/rclone/rclone/fs/fshttp/dialer.go:111 +0x2c crypto/tls.(*atLeastReader).Read(0xc000754030, {0xc0009a8000?, 0x0?, 0xc000754030?}) /usr/local/go/src/crypto/tls/conn.go:806 +0x3b bytes.(*Buffer).ReadFrom(0xc0009102b0, {0x27b26c0, 0xc000754030}) /usr/local/go/src/bytes/buffer.go:211 +0x98 crypto/tls.(*Conn).readFromUntil(0xc000910008, {0x7f398ae72108, 0xc00062c090}, 0x1980?) /usr/local/go/src/crypto/tls/conn.go:828 +0xde crypto/tls.(*Conn).readRecordOrCCS(0xc000910008, 0x0) /usr/local/go/src/crypto/tls/conn.go:626 +0x3cf crypto/tls.(*Conn).readRecord(...) /usr/local/go/src/crypto/tls/conn.go:588 crypto/tls.(*Conn).Read(0xc000910008, {0xc000a26000, 0x1000, 0x100e148ef18?}) /usr/local/go/src/crypto/tls/conn.go:1370 +0x156 net/http.(*persistConn).Read(0xc0008f2900, {0xc000a26000?, 0x40b7c5?, 0x60?}) /usr/local/go/src/net/http/transport.go:1976 +0x4a bufio.(*Reader).fill(0xc01a7acf60) /usr/local/go/src/bufio/bufio.go:110 +0x103 bufio.(*Reader).Peek(0xc01a7acf60, 0x1) /usr/local/go/src/bufio/bufio.go:148 +0x53 net/http.(*persistConn).readLoop(0xc0008f2900) /usr/local/go/src/net/http/transport.go:2140 +0x1b9 created by net/http.(*Transport).dialConn in goroutine 32358 /usr/local/go/src/net/http/transport.go:1798 +0x152f goroutine 24881 [chan receive]: github.com/rclone/rclone/backend/local.(*fadvise).worker(0xc000316780) /home/rclone/go/src/github.com/rclone/rclone/backend/local/fadvise_unix.go:114 +0x3f created by github.com/rclone/rclone/backend/local.newFadvise in goroutine 24953 /home/rclone/go/src/github.com/rclone/rclone/backend/local/fadvise_unix.go:74 +0x11f goroutine 32362 [IO wait]: internal/poll.runtime_pollWait(0x7f3999a06d08, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0xc01dcd0d80?, 0xc00091c000?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc01dcd0d80, {0xc00091c000, 0x1980, 0x1980}) /usr/local/go/src/internal/poll/fd_unix.go:164 +0x27a net.(*netFD).Read(0xc01dcd0d80, {0xc00091c000?, 0xc00079b850?, 0x41cc25?}) /usr/local/go/src/net/fd_posix.go:55 +0x25 net.(*conn).Read(0xc0006a2128, {0xc00091c000?, 0x7f398ae85678?, 0xc000754060?}) /usr/local/go/src/net/net.go:179 +0x45 github.com/rclone/rclone/fs/fshttp.(*timeoutConn).Read(0xc00062c0d8, {0xc00091c000?, 0x0?, 0x42aa78?}) /home/rclone/go/src/github.com/rclone/rclone/fs/fshttp/dialer.go:111 +0x2c crypto/tls.(*atLeastReader).Read(0xc000754060, {0xc00091c000?, 0x0?, 0xc000754060?}) /usr/local/go/src/crypto/tls/conn.go:806 +0x3b bytes.(*Buffer).ReadFrom(0xc000910630, {0x27b26c0, 0xc000754060}) /usr/local/go/src/bytes/buffer.go:211 +0x98 crypto/tls.(*Conn).readFromUntil(0xc000910388, {0x7f398ae72108, 0xc00062c0d8}, 0x1980?) /usr/local/go/src/crypto/tls/conn.go:828 +0xde crypto/tls.(*Conn).readRecordOrCCS(0xc000910388, 0x0) /usr/local/go/src/crypto/tls/conn.go:626 +0x3cf crypto/tls.(*Conn).readRecord(...) /usr/local/go/src/crypto/tls/conn.go:588 crypto/tls.(*Conn).Read(0xc000910388, {0xc0001ad000, 0x1000, 0x10000000000?}) /usr/local/go/src/crypto/tls/conn.go:1370 +0x156 net/http.(*persistConn).Read(0xc0007c46c0, {0xc0001ad000?, 0x40b7c5?, 0x60?}) /usr/local/go/src/net/http/transport.go:1976 +0x4a bufio.(*Reader).fill(0xc01a044d80) /usr/local/go/src/bufio/bufio.go:110 +0x103 bufio.(*Reader).Peek(0xc01a044d80, 0x1) /usr/local/go/src/bufio/bufio.go:148 +0x53 net/http.(*persistConn).readLoop(0xc0007c46c0) /usr/local/go/src/net/http/transport.go:2140 +0x1b9 created by net/http.(*Transport).dialConn in goroutine 32341 /usr/local/go/src/net/http/transport.go:1798 +0x152f goroutine 24954 [select]: net/http.(*persistConn).roundTrip(0xc0007c46c0, 0xc000a357c0) /usr/local/go/src/net/http/transport.go:2674 +0x979 net/http.(*Transport).roundTrip(0xc00041e3c0, 0xc0007c4480) /usr/local/go/src/net/http/transport.go:608 +0x79a net/http.(*Transport).RoundTrip(...) /usr/local/go/src/net/http/roundtrip.go:17 github.com/rclone/rclone/fs/fshttp.(*Transport).RoundTrip(0xc0006b2770, 0xc0007c4480) /home/rclone/go/src/github.com/rclone/rclone/fs/fshttp/http.go:352 +0x345 golang.org/x/oauth2.(*Transport).RoundTrip(0xc0003b91c0, 0xc0007c4360) /home/rclone/go/pkg/mod/golang.org/x/oauth2@v0.24.0/transport.go:55 +0x3de net/http.send(0xc0007c4360, {0x27b44c0, 0xc0003b91c0}, {0xc000892e01?, 0x41cc25?, 0x0?}) /usr/local/go/src/net/http/client.go:259 +0x5e4 net/http.(*Client).send(0xc0004b1260, 0xc0007c4360, {0x413fdb?, 0x1?, 0x0?}) /usr/local/go/src/net/http/client.go:180 +0x98 net/http.(*Client).do(0xc0004b1260, 0xc0007c4360) /usr/local/go/src/net/http/client.go:724 +0x8dc net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:590 github.com/rclone/rclone/lib/rest.(*Client).Call(0xc0006633b0, {0x27d65e0, 0xc000828720}, 0xc00041e780) /home/rclone/go/src/github.com/rclone/rclone/lib/rest/rest.go:325 +0xcc5 github.com/rclone/rclone/lib/rest.(*Client).callCodec(0xc0006633b0, {0x27d65e0, 0xc000828720}, 0xc000893710?, {0x0?, 0x0?}, {0x1f5ea80, 0xc0004b1320}, 0x30?, 0x2517d88, ...) /home/rclone/go/src/github.com/rclone/rclone/lib/rest/rest.go:522 +0x3e5 github.com/rclone/rclone/lib/rest.(*Client).CallJSON(...) /home/rclone/go/src/github.com/rclone/rclone/lib/rest/rest.go:465 github.com/rclone/rclone/backend/pcloud.fileOpen.func1() /home/rclone/go/src/github.com/rclone/rclone/backend/pcloud/writer_at.go:153 +0x6e github.com/rclone/rclone/fs.pacerInvoker(0x1, 0x1, 0xc0004b1350?) /home/rclone/go/src/github.com/rclone/rclone/fs/pacer.go:88 +0x32 github.com/rclone/rclone/lib/pacer.(*Pacer).call(0xc000241320, 0xc0004b1350, 0x1) /home/rclone/go/src/github.com/rclone/rclone/lib/pacer/pacer.go:197 +0x7c github.com/rclone/rclone/lib/pacer.(*Pacer).CallNoRetry(...) /home/rclone/go/src/github.com/rclone/rclone/lib/pacer/pacer.go:225 github.com/rclone/rclone/backend/pcloud.fileOpen({0x27d65e0, 0xc000828720}, 0xc0006633b0, 0xc0004b2780, 0xd3478a380) /home/rclone/go/src/github.com/rclone/rclone/backend/pcloud/writer_at.go:152 +0x387 github.com/rclone/rclone/backend/pcloud.(*writerAt).WriteAt(0xc0005ff5c0, {0xc019d80000, 0x20000, 0x20000}, 0x6680000) /home/rclone/go/src/github.com/rclone/rclone/backend/pcloud/writer_at.go:73 +0x187 io.(*OffsetWriter).Write(0xc000314560, {0xc019d80000?, 0xa477c0?, 0xc0006a9b30?}) /usr/local/go/src/io/io.go:583 +0x2c bufio.(*Writer).Flush(0xc0005ff780) /usr/local/go/src/bufio/bufio.go:639 +0x55 bufio.(*Writer).ReadFrom(0xc0005ff780, {0x27b0de0, 0xc0006a9b20}) /usr/local/go/src/bufio/bufio.go:789 +0xbf io.copyBuffer({0x27b0da0, 0xc0005ff780}, {0x27b0de0, 0xc0006a9b20}, {0x0, 0x0, 0x0}) /usr/local/go/src/io/io.go:415 +0x151 io.Copy(...) /usr/local/go/src/io/io.go:388 github.com/rclone/rclone/fs/operations.(*writerAtChunkWriter).WriteChunk(0xc019dd8c00, {0xc000294550?, 0x27ea728?}, 0x1, {0x27c3128, 0xc0006a9b20}) /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread.go:308 +0x287 github.com/rclone/rclone/fs/operations.(*multiThreadCopyState).copyChunk(0xc0002945a0, {0x27d6618, 0xc000294550}, 0x1, {0x27cf800, 0xc019dd8c00}) /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread.go:110 +0x743 github.com/rclone/rclone/fs/operations.multiThreadCopy.func2() /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread.go:228 +0x2b golang.org/x/sync/errgroup.(*Group).Go.func1() /home/rclone/go/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:78 +0x56 created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 24885 /home/rclone/go/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x96 goroutine 32375 [select]: net/http.(*persistConn).writeLoop(0xc0008f2900) /usr/local/go/src/net/http/transport.go:2443 +0xf0 created by net/http.(*Transport).dialConn in goroutine 32358 /usr/local/go/src/net/http/transport.go:1799 +0x1585 goroutine 24953 [select]: net/http.(*persistConn).roundTrip(0xc0008f2900, 0xc0007ab0c0) /usr/local/go/src/net/http/transport.go:2674 +0x979 net/http.(*Transport).roundTrip(0xc00028a640, 0xc0008f26c0) /usr/local/go/src/net/http/transport.go:608 +0x79a net/http.(*Transport).RoundTrip(...) /usr/local/go/src/net/http/roundtrip.go:17 github.com/rclone/rclone/fs/fshttp.(*Transport).RoundTrip(0xc0004e3500, 0xc0008f26c0) /home/rclone/go/src/github.com/rclone/rclone/fs/fshttp/http.go:352 +0x345 golang.org/x/oauth2.(*Transport).RoundTrip(0xc000314800, 0xc0008f25a0) /home/rclone/go/pkg/mod/golang.org/x/oauth2@v0.24.0/transport.go:55 +0x3de net/http.send(0xc0008f25a0, {0x27b44c0, 0xc000314800}, {0xc00006ae01?, 0x41cc25?, 0x0?}) /usr/local/go/src/net/http/client.go:259 +0x5e4 net/http.(*Client).send(0xc000353530, 0xc0008f25a0, {0x413fdb?, 0x1?, 0x0?}) /usr/local/go/src/net/http/client.go:180 +0x98 net/http.(*Client).do(0xc000353530, 0xc0008f25a0) /usr/local/go/src/net/http/client.go:724 +0x8dc net/http.(*Client).Do(...) /usr/local/go/src/net/http/client.go:590 github.com/rclone/rclone/lib/rest.(*Client).Call(0xc00071f040, {0x27d65e0, 0xc000828720}, 0xc00028a780) /home/rclone/go/src/github.com/rclone/rclone/lib/rest/rest.go:325 +0xcc5 github.com/rclone/rclone/lib/rest.(*Client).callCodec(0xc00071f040, {0x27d65e0, 0xc000828720}, 0x4?, {0x0?, 0x0?}, {0x1f5ea80, 0xc0003535f0}, 0x30?, 0x2517d88, ...) /home/rclone/go/src/github.com/rclone/rclone/lib/rest/rest.go:522 +0x3e5 github.com/rclone/rclone/lib/rest.(*Client).CallJSON(...) /home/rclone/go/src/github.com/rclone/rclone/lib/rest/rest.go:465 github.com/rclone/rclone/backend/pcloud.fileOpen.func1() /home/rclone/go/src/github.com/rclone/rclone/backend/pcloud/writer_at.go:153 +0x6e github.com/rclone/rclone/fs.pacerInvoker(0x1, 0x1, 0xc000353620?) /home/rclone/go/src/github.com/rclone/rclone/fs/pacer.go:88 +0x32 github.com/rclone/rclone/lib/pacer.(*Pacer).call(0xc000241320, 0xc000353620, 0x1) /home/rclone/go/src/github.com/rclone/rclone/lib/pacer/pacer.go:197 +0x7c github.com/rclone/rclone/lib/pacer.(*Pacer).CallNoRetry(...) /home/rclone/go/src/github.com/rclone/rclone/lib/pacer/pacer.go:225 github.com/rclone/rclone/backend/pcloud.fileOpen({0x27d65e0, 0xc000828720}, 0xc00071f040, 0xc0004b2780, 0xd3478a380) /home/rclone/go/src/github.com/rclone/rclone/backend/pcloud/writer_at.go:152 +0x387 github.com/rclone/rclone/backend/pcloud.(*writerAt).WriteAt(0xc0005ff5c0, {0xc019da0000, 0x20000, 0x20000}, 0x2660000) /home/rclone/go/src/github.com/rclone/rclone/backend/pcloud/writer_at.go:73 +0x187 io.(*OffsetWriter).Write(0xc0003b88a0, {0xc019da0000?, 0xa477c0?, 0xc018bb60f0?}) /usr/local/go/src/io/io.go:583 +0x2c bufio.(*Writer).Flush(0xc0003168c0) /usr/local/go/src/bufio/bufio.go:639 +0x55 bufio.(*Writer).ReadFrom(0xc0003168c0, {0x27b0de0, 0xc018bb60e0}) /usr/local/go/src/bufio/bufio.go:789 +0xbf io.copyBuffer({0x27b0da0, 0xc0003168c0}, {0x27b0de0, 0xc018bb60e0}, {0x0, 0x0, 0x0}) /usr/local/go/src/io/io.go:415 +0x151 io.Copy(...) /usr/local/go/src/io/io.go:388 github.com/rclone/rclone/fs/operations.(*writerAtChunkWriter).WriteChunk(0xc019dd8c00, {0xc000294550?, 0x27ea728?}, 0x0, {0x27c3128, 0xc018bb60e0}) /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread.go:308 +0x287 github.com/rclone/rclone/fs/operations.(*multiThreadCopyState).copyChunk(0xc0002945a0, {0x27d6618, 0xc000294550}, 0x0, {0x27cf800, 0xc019dd8c00}) /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread.go:110 +0x743 github.com/rclone/rclone/fs/operations.multiThreadCopy.func2() /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread.go:228 +0x2b golang.org/x/sync/errgroup.(*Group).Go.func1() /home/rclone/go/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:78 +0x56 created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 24885 /home/rclone/go/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x96 goroutine 32363 [select]: net/http.(*persistConn).writeLoop(0xc0007c46c0) /usr/local/go/src/net/http/transport.go:2443 +0xf0 created by net/http.(*Transport).dialConn in goroutine 32341 /usr/local/go/src/net/http/transport.go:1799 +0x1585 "./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 1h0m0.624852612s (try 5/5): exit status 2: Failed [TestMultithreadCopy/upload=true,size=134217727,streams=2 TestMultithreadCopy/upload=true,size=134217728,streams=2 TestMultithreadCopy/upload=true,size=134217729,streams=2]