"./operations.test -test.v -test.timeout 1h0m0s -remote TestPcloud: -verbose" - Starting (try 3/5) 2025/01/11 06:37:13 DEBUG : Creating backend with remote "TestPcloud:rclone-test-qizayet1wira" 2025/01/11 06:37:13 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/11 06:37:14 DEBUG : Creating backend with remote "/tmp/rclone94043867" === RUN TestDoMultiThreadCopy --- PASS: TestDoMultiThreadCopy (0.00s) === RUN TestMultithreadCalculateNumChunks === RUN TestMultithreadCalculateNumChunks/{size:1_chunkSize:65536_wantNumChunks:1} === RUN TestMultithreadCalculateNumChunks/{size:1048576_chunkSize:1_wantNumChunks:1048576} === RUN TestMultithreadCalculateNumChunks/{size:1048576_chunkSize:2_wantNumChunks:524288} === RUN TestMultithreadCalculateNumChunks/{size:1048577_chunkSize:2_wantNumChunks:524289} === RUN TestMultithreadCalculateNumChunks/{size:1048575_chunkSize:2_wantNumChunks:524288} --- PASS: TestMultithreadCalculateNumChunks (0.00s) --- PASS: TestMultithreadCalculateNumChunks/{size:1_chunkSize:65536_wantNumChunks:1} (0.00s) --- PASS: TestMultithreadCalculateNumChunks/{size:1048576_chunkSize:1_wantNumChunks:1048576} (0.00s) --- PASS: TestMultithreadCalculateNumChunks/{size:1048576_chunkSize:2_wantNumChunks:524288} (0.00s) --- PASS: TestMultithreadCalculateNumChunks/{size:1048577_chunkSize:2_wantNumChunks:524289} (0.00s) --- PASS: TestMultithreadCalculateNumChunks/{size:1048575_chunkSize:2_wantNumChunks:524288} (0.00s) === RUN TestMultithreadCopy run.go:180: Remote "pcloud root 'rclone-test-qizayet1wira'", Local "Local file system at /tmp/rclone94043867", Modify Window "1s" === RUN TestMultithreadCopy/upload=false,size=134217727,streams=2 2025/01/11 06:37:21 DEBUG : test-multithread-copy-false-134217727-2: multi-thread copy: disabling buffering because destination uses OpenWriterAt 2025/01/11 06:37:21 DEBUG : test-multithread-copy-false-134217727-2: multi-thread copy: write buffer set to 131072 2025/01/11 06:37:21 DEBUG : test-multithread-copy-false-134217727-2: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 2 2025/01/11 06:37:21 DEBUG : test-multithread-copy-false-134217727-2: multi-thread copy: number of streams 4 was bigger than number of chunks 2 2025/01/11 06:37:21 DEBUG : test-multithread-copy-false-134217727-2: Starting multi-thread copy with 2 chunks of size 64Mi with 2 parallel streams 2025/01/11 06:37:21 DEBUG : test-multithread-copy-false-134217727-2: multi-thread copy: chunk 2/2 (67108864-134217727) size 64.000Mi starting 2025/01/11 06:37:21 DEBUG : test-multithread-copy-false-134217727-2: multi-thread copy: chunk 1/2 (0-67108864) size 64Mi starting 2025/01/11 06:37:21 DEBUG : Couldn't parse Date: from server edef12.pcloud.com: "Sat, 11 Jan 2025 06:37:21 +0000": parsing time "Sat, 11 Jan 2025 06:37:21 +0000" as "Mon Jan _2 15:04:05 2006": cannot parse ", 11 Jan 2025 06:37:21 +0000" as " " 2025/01/11 06:37:21 DEBUG : test-multithread-copy-false-134217727-2: writing chunk 1 2025/01/11 06:37:21 DEBUG : Couldn't parse Date: from server edef12.pcloud.com: "Sat, 11 Jan 2025 06:37:21 +0000": parsing time "Sat, 11 Jan 2025 06:37:21 +0000" as "Mon Jan _2 15:04:05 2006": cannot parse ", 11 Jan 2025 06:37:21 +0000" as " " 2025/01/11 06:37:21 DEBUG : test-multithread-copy-false-134217727-2: writing chunk 0 2025/01/11 06:37:23 DEBUG : test-multithread-copy-false-134217727-2: multi-thread copy: chunk 2/2 (67108864-134217727) size 64.000Mi finished 2025/01/11 06:37:23 DEBUG : test-multithread-copy-false-134217727-2: multi-thread copy: chunk 1/2 (0-67108864) size 64Mi finished 2025/01/11 06:37:23 DEBUG : test-multithread-copy-false-134217727-2: Finished multi-thread copy with 2 parts of size 64Mi === RUN TestMultithreadCopy/upload=false,size=134217728,streams=2 2025/01/11 06:37:34 DEBUG : test-multithread-copy-false-134217728-2: multi-thread copy: disabling buffering because destination uses OpenWriterAt 2025/01/11 06:37:34 DEBUG : test-multithread-copy-false-134217728-2: multi-thread copy: write buffer set to 131072 2025/01/11 06:37:34 DEBUG : test-multithread-copy-false-134217728-2: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 2 2025/01/11 06:37:34 DEBUG : test-multithread-copy-false-134217728-2: multi-thread copy: number of streams 4 was bigger than number of chunks 2 2025/01/11 06:37:34 DEBUG : test-multithread-copy-false-134217728-2: Starting multi-thread copy with 2 chunks of size 64Mi with 2 parallel streams 2025/01/11 06:37:34 DEBUG : test-multithread-copy-false-134217728-2: multi-thread copy: chunk 2/2 (67108864-134217728) size 64Mi starting 2025/01/11 06:37:34 DEBUG : test-multithread-copy-false-134217728-2: multi-thread copy: chunk 1/2 (0-67108864) size 64Mi starting 2025/01/11 06:37:35 DEBUG : Couldn't parse Date: from server edef12.pcloud.com: "Sat, 11 Jan 2025 06:37:35 +0000": parsing time "Sat, 11 Jan 2025 06:37:35 +0000" as "Mon Jan _2 15:04:05 2006": cannot parse ", 11 Jan 2025 06:37:35 +0000" as " " 2025/01/11 06:37:35 DEBUG : test-multithread-copy-false-134217728-2: writing chunk 1 2025/01/11 06:37:35 DEBUG : Couldn't parse Date: from server edef12.pcloud.com: "Sat, 11 Jan 2025 06:37:35 +0000": parsing time "Sat, 11 Jan 2025 06:37:35 +0000" as "Mon Jan _2 15:04:05 2006": cannot parse ", 11 Jan 2025 06:37:35 +0000" as " " 2025/01/11 06:37:35 DEBUG : test-multithread-copy-false-134217728-2: writing chunk 0 2025/01/11 06:37:37 DEBUG : test-multithread-copy-false-134217728-2: multi-thread copy: chunk 1/2 (0-67108864) size 64Mi finished 2025/01/11 06:37:37 DEBUG : test-multithread-copy-false-134217728-2: multi-thread copy: chunk 2/2 (67108864-134217728) size 64Mi finished 2025/01/11 06:37:37 DEBUG : test-multithread-copy-false-134217728-2: Finished multi-thread copy with 2 parts of size 64Mi === RUN TestMultithreadCopy/upload=false,size=134217729,streams=2 2025/01/11 06:37:50 DEBUG : test-multithread-copy-false-134217729-2: multi-thread copy: disabling buffering because destination uses OpenWriterAt 2025/01/11 06:37:50 DEBUG : test-multithread-copy-false-134217729-2: multi-thread copy: write buffer set to 131072 2025/01/11 06:37:50 DEBUG : test-multithread-copy-false-134217729-2: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 2 2025/01/11 06:37:50 DEBUG : test-multithread-copy-false-134217729-2: multi-thread copy: number of streams 4 was bigger than number of chunks 3 2025/01/11 06:37:50 DEBUG : test-multithread-copy-false-134217729-2: Starting multi-thread copy with 3 chunks of size 64Mi with 3 parallel streams 2025/01/11 06:37:50 DEBUG : test-multithread-copy-false-134217729-2: multi-thread copy: chunk 3/3 (134217728-134217729) size 1 starting 2025/01/11 06:37:50 DEBUG : test-multithread-copy-false-134217729-2: multi-thread copy: chunk 1/3 (0-67108864) size 64Mi starting 2025/01/11 06:37:50 DEBUG : test-multithread-copy-false-134217729-2: multi-thread copy: chunk 2/3 (67108864-134217728) size 64Mi starting 2025/01/11 06:37:50 DEBUG : Couldn't parse Date: from server edef12.pcloud.com: "Sat, 11 Jan 2025 06:37:50 +0000": parsing time "Sat, 11 Jan 2025 06:37:50 +0000" as "Mon Jan _2 15:04:05 2006": cannot parse ", 11 Jan 2025 06:37:50 +0000" as " " 2025/01/11 06:37:50 DEBUG : test-multithread-copy-false-134217729-2: writing chunk 0 2025/01/11 06:37:50 DEBUG : Couldn't parse Date: from server edef12.pcloud.com: "Sat, 11 Jan 2025 06:37:50 +0000": parsing time "Sat, 11 Jan 2025 06:37:50 +0000" as "Mon Jan _2 15:04:05 2006": cannot parse ", 11 Jan 2025 06:37:50 +0000" as " " 2025/01/11 06:37:50 DEBUG : test-multithread-copy-false-134217729-2: writing chunk 2 2025/01/11 06:37:50 DEBUG : test-multithread-copy-false-134217729-2: multi-thread copy: chunk 3/3 (134217728-134217729) size 1 finished 2025/01/11 06:37:50 DEBUG : Couldn't parse Date: from server edef12.pcloud.com: "Sat, 11 Jan 2025 06:37:50 +0000": parsing time "Sat, 11 Jan 2025 06:37:50 +0000" as "Mon Jan _2 15:04:05 2006": cannot parse ", 11 Jan 2025 06:37:50 +0000" as " " 2025/01/11 06:37:50 DEBUG : test-multithread-copy-false-134217729-2: writing chunk 1 2025/01/11 06:37:52 DEBUG : test-multithread-copy-false-134217729-2: multi-thread copy: chunk 1/3 (0-67108864) size 64Mi finished 2025/01/11 06:37:52 DEBUG : test-multithread-copy-false-134217729-2: multi-thread copy: chunk 2/3 (67108864-134217728) size 64Mi finished 2025/01/11 06:37:52 DEBUG : test-multithread-copy-false-134217729-2: Finished multi-thread copy with 3 parts of size 64Mi === RUN TestMultithreadCopy/upload=true,size=134217727,streams=2 2025/01/11 06:38:05 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: disabling buffering because destination uses OpenWriterAt 2025/01/11 06:38:05 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: write buffer set to 131072 2025/01/11 06:38:05 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 2 2025/01/11 06:38:05 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: number of streams 4 was bigger than number of chunks 2 2025/01/11 06:38:05 DEBUG : test-multithread-copy-true-134217727-2: Starting multi-thread copy with 2 chunks of size 64Mi with 2 parallel streams 2025/01/11 06:38:05 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: chunk 2/2 (67108864-134217727) size 64.000Mi starting 2025/01/11 06:38:05 DEBUG : test-multithread-copy-true-134217727-2: writing chunk 1 2025/01/11 06:38:05 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: chunk 1/2 (0-67108864) size 64Mi starting 2025/01/11 06:38:05 DEBUG : test-multithread-copy-true-134217727-2: writing chunk 0 2025/01/11 06:56:23 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: chunk 2/2 (67108864-134217727) size 64.000Mi finished 2025/01/11 06:56:30 DEBUG : test-multithread-copy-true-134217727-2: multi-thread copy: chunk 1/2 (0-67108864) size 64Mi finished 2025/01/11 06:56:30 DEBUG : test-multithread-copy-true-134217727-2: checking file size: try 0/5 2025/01/11 06:56:30 DEBUG : test-multithread-copy-true-134217727-2: Finished multi-thread copy with 2 parts of size 64Mi fstest.go:137: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:137 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:143 /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=134217727,streams=2 Messages: pcloud root 'rclone-test-qizayet1wira'/test-multithread-copy-true-134217727-2: sha1 hash incorrect - expecting "ad293930d2d2d795ba2d28b106c148d3930fc28a" got "a64112b920adc9bd7ebd7847aacb009df5ad8c34" fstest.go:137: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:137 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:143 /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=134217727,streams=2 Messages: pcloud root 'rclone-test-qizayet1wira'/test-multithread-copy-true-134217727-2: sha256 hash incorrect - expecting "7c19dc517288d7bc9d7880df54193ce515b7f0b1d632f4374b61e427a05fb57f" got "3940f6636a042319df663d628871aff79b1fe6ca1729e0d18230943c4fe1088c" === RUN TestMultithreadCopy/upload=true,size=134217728,streams=2 2025/01/11 06:56:44 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: disabling buffering because destination uses OpenWriterAt 2025/01/11 06:56:44 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: write buffer set to 131072 2025/01/11 06:56:44 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 2 2025/01/11 06:56:44 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: number of streams 4 was bigger than number of chunks 2 2025/01/11 06:56:44 DEBUG : test-multithread-copy-true-134217728-2: Starting multi-thread copy with 2 chunks of size 64Mi with 2 parallel streams 2025/01/11 06:56:44 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: chunk 2/2 (67108864-134217728) size 64Mi starting 2025/01/11 06:56:44 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: chunk 1/2 (0-67108864) size 64Mi starting 2025/01/11 06:56:44 DEBUG : test-multithread-copy-true-134217728-2: writing chunk 0 2025/01/11 06:56:44 DEBUG : test-multithread-copy-true-134217728-2: writing chunk 1 2025/01/11 07:20:05 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: chunk 1/2 (0-67108864) size 64Mi finished 2025/01/11 07:21:46 DEBUG : test-multithread-copy-true-134217728-2: multi-thread copy: chunk 2/2 (67108864-134217728) size 64Mi finished 2025/01/11 07:21:46 DEBUG : test-multithread-copy-true-134217728-2: checking file size: try 0/5 2025/01/11 07:21:47 DEBUG : test-multithread-copy-true-134217728-2: checking file size: try 1/5 2025/01/11 07:21:48 DEBUG : test-multithread-copy-true-134217728-2: checking file size: try 2/5 2025/01/11 07:21:49 DEBUG : test-multithread-copy-true-134217728-2: checking file size: try 3/5 2025/01/11 07:21:50 DEBUG : test-multithread-copy-true-134217728-2: checking file size: try 4/5 2025/01/11 07:21:51 DEBUG : test-multithread-copy-true-134217728-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 134217728 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-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-134217728-2" 2025/01/11 07:22:07 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: disabling buffering because destination uses OpenWriterAt 2025/01/11 07:22:07 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: write buffer set to 131072 2025/01/11 07:22:07 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: using backend concurrency of 4 instead of --multi-thread-streams 2 2025/01/11 07:22:07 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: number of streams 4 was bigger than number of chunks 3 2025/01/11 07:22:07 DEBUG : test-multithread-copy-true-134217729-2: Starting multi-thread copy with 3 chunks of size 64Mi with 3 parallel streams 2025/01/11 07:22:07 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: chunk 3/3 (134217728-134217729) size 1 starting 2025/01/11 07:22:07 DEBUG : test-multithread-copy-true-134217729-2: writing chunk 2 2025/01/11 07:22:07 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: chunk 1/3 (0-67108864) size 64Mi starting 2025/01/11 07:22:07 DEBUG : test-multithread-copy-true-134217729-2: multi-thread copy: chunk 2/3 (67108864-134217728) size 64Mi starting 2025/01/11 07:22:07 DEBUG : test-multithread-copy-true-134217729-2: writing chunk 0 2025/01/11 07:22:07 DEBUG : test-multithread-copy-true-134217729-2: writing chunk 1 2025/01/11 07:22:08 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 (15m22s) goroutine 28363 [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(0xc000162000, {0x2441a23?, 0x0?}, 0x255e208) /usr/local/go/src/testing/testing.go:1750 +0x3ab testing.runTests.func1(0xc000162000) /usr/local/go/src/testing/testing.go:2161 +0x37 testing.tRunner(0xc000162000, 0xc0000fbc00) /usr/local/go/src/testing/testing.go:1689 +0xfb testing.runTests(0xc0005067e0, {0x3a0ff20, 0x6c, 0x6c}, {0x1?, 0xedf14089a?, 0x3a23bc0?}) /usr/local/go/src/testing/testing.go:2159 +0x445 testing.(*M).Run(0xc000575400) /usr/local/go/src/testing/testing.go:2027 +0x68b github.com/rclone/rclone/fstest.TestMain(0xc000575400) /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 24 [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 25 [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 26 [select, 60 minutes]: github.com/rclone/rclone/lib/oauthutil.(*Renew).renewOnExpiry(0xc0006adb80) /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 25319 [select]: net/http.(*persistConn).roundTrip(0xc000765440, 0xc000617f40) /usr/local/go/src/net/http/transport.go:2674 +0x979 net/http.(*Transport).roundTrip(0xc0009e2500, 0xc000765200) /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(0xc0004190a0, 0xc000765200) /home/rclone/go/src/github.com/rclone/rclone/fs/fshttp/http.go:352 +0x345 golang.org/x/oauth2.(*Transport).RoundTrip(0xc0000715c0, 0xc0007650e0) /home/rclone/go/pkg/mod/golang.org/x/oauth2@v0.24.0/transport.go:55 +0x3de net/http.send(0xc0007650e0, {0x2802d60, 0xc0000715c0}, {0xc00094ee01?, 0x41cc25?, 0x0?}) /usr/local/go/src/net/http/client.go:259 +0x5e4 net/http.(*Client).send(0xc00036f1a0, 0xc0007650e0, {0x413fdb?, 0x1?, 0x0?}) /usr/local/go/src/net/http/client.go:180 +0x98 net/http.(*Client).do(0xc00036f1a0, 0xc0007650e0) /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(0xc0000ba0f0, {0x2824f20, 0xc000465ad0}, 0xc0009e2640) /home/rclone/go/src/github.com/rclone/rclone/lib/rest/rest.go:325 +0xcc5 github.com/rclone/rclone/lib/rest.(*Client).callCodec(0xc0000ba0f0, {0x2824f20, 0xc000465ad0}, 0xc00094f710?, {0x0?, 0x0?}, {0x1f94a40, 0xc00036f950}, 0x30?, 0x255f6b8, ...) /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, 0xc00036f9b0?) /home/rclone/go/src/github.com/rclone/rclone/fs/pacer.go:88 +0x32 github.com/rclone/rclone/lib/pacer.(*Pacer).call(0xc000322600, 0xc00036f9b0, 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({0x2824f20, 0xc000465ad0}, 0xc0000ba0f0, 0xc000686460, 0xd8658570a) /home/rclone/go/src/github.com/rclone/rclone/backend/pcloud/writer_at.go:152 +0x387 github.com/rclone/rclone/backend/pcloud.(*writerAt).WriteAt(0xc000616a40, {0xc001dc0000, 0x20000, 0x20000}, 0x5080000) /home/rclone/go/src/github.com/rclone/rclone/backend/pcloud/writer_at.go:73 +0x187 io.(*OffsetWriter).Write(0xc000071040, {0xc001dc0000?, 0xa477c0?, 0xc0007ff890?}) /usr/local/go/src/io/io.go:583 +0x2c bufio.(*Writer).Flush(0xc0006ad480) /usr/local/go/src/bufio/bufio.go:639 +0x55 bufio.(*Writer).ReadFrom(0xc0006ad480, {0x27ff620, 0xc0007ff880}) /usr/local/go/src/bufio/bufio.go:789 +0xbf io.copyBuffer({0x27ff5e0, 0xc0006ad480}, {0x27ff620, 0xc0007ff880}, {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(0xc020b03380, {0xc000326ff0?, 0x2839208?}, 0x1, {0x2811a28, 0xc0007ff880}) /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread.go:308 +0x287 github.com/rclone/rclone/fs/operations.(*multiThreadCopyState).copyChunk(0xc000327040, {0x2824f58, 0xc000326ff0}, 0x1, {0x281e120, 0xc020b03380}) /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 25279 /home/rclone/go/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x96 goroutine 57 [chan receive, 15 minutes]: testing.(*T).Run(0xc000163ba0, {0xc002044630?, 0xc0005d9f10?}, 0xc000397ac0) /usr/local/go/src/testing/testing.go:1750 +0x3ab github.com/rclone/rclone/fs/operations.TestMultithreadCopy(0xc000163ba0) /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread_test.go:167 +0x1f7 testing.tRunner(0xc000163ba0, 0x255e208) /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 25279 [semacquire, 15 minutes]: sync.runtime_Semacquire(0xc000506cc0?) /usr/local/go/src/runtime/sema.go:62 +0x25 sync.(*WaitGroup).Wait(0x22352c0?) /usr/local/go/src/sync/waitgroup.go:116 +0x48 golang.org/x/sync/errgroup.(*Group).Wait(0xc000616a80) /home/rclone/go/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:56 +0x25 github.com/rclone/rclone/fs/operations.multiThreadCopy({0x2824f20, 0xc000465ad0}, {0x2839898, 0xc000686460}, {0xc002044600, 0x26}, {0x2839208, 0xc0027cc4e0}, 0x2, 0xc000199440, ...) /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread.go:232 +0xe25 github.com/rclone/rclone/fs/operations.TestMultithreadCopy.func1(0xc000162820) /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread_test.go:219 +0x905 testing.tRunner(0xc000162820, 0xc000397ac0) /usr/local/go/src/testing/testing.go:1689 +0xfb created by testing.(*T).Run in goroutine 57 /usr/local/go/src/testing/testing.go:1742 +0x390 goroutine 64 [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 58 /home/rclone/go/src/github.com/rclone/rclone/lib/atexit/atexit.go:44 +0x68 goroutine 25345 [chan receive]: github.com/rclone/rclone/backend/local.(*fadvise).worker(0xc0006ad440) /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 25319 /home/rclone/go/src/github.com/rclone/rclone/backend/local/fadvise_unix.go:74 +0x11f goroutine 28492 [IO wait]: internal/poll.runtime_pollWait(0x7f0030b884a0, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0xc000985b80?, 0xc0004e6000?, 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(0xc000985b80, {0xc0004e6000, 0x1980, 0x1980}) /usr/local/go/src/internal/poll/fd_unix.go:164 +0x27a net.(*netFD).Read(0xc000985b80, {0xc0004e6000?, 0xc000098850?, 0x41cc25?}) /usr/local/go/src/net/fd_posix.go:55 +0x25 net.(*conn).Read(0xc0005023d0, {0xc0004e6000?, 0x7f00216aa0a0?, 0xc00412e018?}) /usr/local/go/src/net/net.go:179 +0x45 github.com/rclone/rclone/fs/fshttp.(*timeoutConn).Read(0xc003f5f0f8, {0xc0004e6000?, 0x100000000?, 0x139?}) /home/rclone/go/src/github.com/rclone/rclone/fs/fshttp/dialer.go:111 +0x2c crypto/tls.(*atLeastReader).Read(0xc00412e018, {0xc0004e6000?, 0x0?, 0xc00412e018?}) /usr/local/go/src/crypto/tls/conn.go:806 +0x3b bytes.(*Buffer).ReadFrom(0xc000377430, {0x2800f00, 0xc00412e018}) /usr/local/go/src/bytes/buffer.go:211 +0x98 crypto/tls.(*Conn).readFromUntil(0xc000377188, {0x7f00301a4688, 0xc003f5f0f8}, 0x1980?) /usr/local/go/src/crypto/tls/conn.go:828 +0xde crypto/tls.(*Conn).readRecordOrCCS(0xc000377188, 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(0xc000377188, {0xc000b14000, 0x1000, 0x10078e525b8?}) /usr/local/go/src/crypto/tls/conn.go:1370 +0x156 net/http.(*persistConn).Read(0xc000764ea0, {0xc000b14000?, 0x40b7c5?, 0x60?}) /usr/local/go/src/net/http/transport.go:1976 +0x4a bufio.(*Reader).fill(0xc00045d680) /usr/local/go/src/bufio/bufio.go:110 +0x103 bufio.(*Reader).Peek(0xc00045d680, 0x1) /usr/local/go/src/bufio/bufio.go:148 +0x53 net/http.(*persistConn).readLoop(0xc000764ea0) /usr/local/go/src/net/http/transport.go:2140 +0x1b9 created by net/http.(*Transport).dialConn in goroutine 28416 /usr/local/go/src/net/http/transport.go:1798 +0x152f goroutine 28494 [IO wait]: internal/poll.runtime_pollWait(0x7f0030b88690, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0xc000344080?, 0xc0004e7980?, 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(0xc000344080, {0xc0004e7980, 0x1980, 0x1980}) /usr/local/go/src/internal/poll/fd_unix.go:164 +0x27a net.(*netFD).Read(0xc000344080, {0xc0004e7980?, 0xc0008cf850?, 0x41cc25?}) /usr/local/go/src/net/fd_posix.go:55 +0x25 net.(*conn).Read(0xc000502008, {0xc0004e7980?, 0x7f00216aa0a0?, 0xc00412e048?}) /usr/local/go/src/net/net.go:179 +0x45 github.com/rclone/rclone/fs/fshttp.(*timeoutConn).Read(0xc003f5e000, {0xc0004e7980?, 0x20?, 0x241c9e0?}) /home/rclone/go/src/github.com/rclone/rclone/fs/fshttp/dialer.go:111 +0x2c crypto/tls.(*atLeastReader).Read(0xc00412e048, {0xc0004e7980?, 0x0?, 0xc00412e048?}) /usr/local/go/src/crypto/tls/conn.go:806 +0x3b bytes.(*Buffer).ReadFrom(0xc0008bc9b0, {0x2800f00, 0xc00412e048}) /usr/local/go/src/bytes/buffer.go:211 +0x98 crypto/tls.(*Conn).readFromUntil(0xc0008bc708, {0x7f00301a4688, 0xc003f5e000}, 0x1980?) /usr/local/go/src/crypto/tls/conn.go:828 +0xde crypto/tls.(*Conn).readRecordOrCCS(0xc0008bc708, 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(0xc0008bc708, {0xc000b6d000, 0x1000, 0x10178e525b8?}) /usr/local/go/src/crypto/tls/conn.go:1370 +0x156 net/http.(*persistConn).Read(0xc000765440, {0xc000b6d000?, 0x40b7c5?, 0x60?}) /usr/local/go/src/net/http/transport.go:1976 +0x4a bufio.(*Reader).fill(0xc000c05260) /usr/local/go/src/bufio/bufio.go:110 +0x103 bufio.(*Reader).Peek(0xc000c05260, 0x1) /usr/local/go/src/bufio/bufio.go:148 +0x53 net/http.(*persistConn).readLoop(0xc000765440) /usr/local/go/src/net/http/transport.go:2140 +0x1b9 created by net/http.(*Transport).dialConn in goroutine 28486 /usr/local/go/src/net/http/transport.go:1798 +0x152f goroutine 25318 [select]: net/http.(*persistConn).roundTrip(0xc000764ea0, 0xc000617cc0) /usr/local/go/src/net/http/transport.go:2674 +0x979 net/http.(*Transport).roundTrip(0xc00042d400, 0xc000764c60) /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(0xc000688ee0, 0xc000764c60) /home/rclone/go/src/github.com/rclone/rclone/fs/fshttp/http.go:352 +0x345 golang.org/x/oauth2.(*Transport).RoundTrip(0xc000395020, 0xc000764b40) /home/rclone/go/pkg/mod/golang.org/x/oauth2@v0.24.0/transport.go:55 +0x3de net/http.send(0xc000764b40, {0x2802d60, 0xc000395020}, {0xc00094ae01?, 0x41cc25?, 0x0?}) /usr/local/go/src/net/http/client.go:259 +0x5e4 net/http.(*Client).send(0xc00039c450, 0xc000764b40, {0x413fdb?, 0x1?, 0x0?}) /usr/local/go/src/net/http/client.go:180 +0x98 net/http.(*Client).do(0xc00039c450, 0xc000764b40) /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(0xc000a81cc0, {0x2824f20, 0xc000465ad0}, 0xc00042d540) /home/rclone/go/src/github.com/rclone/rclone/lib/rest/rest.go:325 +0xcc5 github.com/rclone/rclone/lib/rest.(*Client).callCodec(0xc000a81cc0, {0x2824f20, 0xc000465ad0}, 0x443bae?, {0x0?, 0x0?}, {0x1f94a40, 0xc00039c540}, 0xc0027cd200?, 0x255f6b8, ...) /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, 0xc00039c570?) /home/rclone/go/src/github.com/rclone/rclone/fs/pacer.go:88 +0x32 github.com/rclone/rclone/lib/pacer.(*Pacer).call(0xc000322600, 0xc00039c570, 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({0x2824f20, 0xc000465ad0}, 0xc000a81cc0, 0xc000686460, 0xd8658570a) /home/rclone/go/src/github.com/rclone/rclone/backend/pcloud/writer_at.go:152 +0x387 github.com/rclone/rclone/backend/pcloud.(*writerAt).WriteAt(0xc000616a40, {0xc001da0000, 0x20000, 0x20000}, 0x1000000) /home/rclone/go/src/github.com/rclone/rclone/backend/pcloud/writer_at.go:73 +0x187 io.(*OffsetWriter).Write(0xc000436100, {0xc001da0000?, 0xa477c0?, 0xc0014be010?}) /usr/local/go/src/io/io.go:583 +0x2c bufio.(*Writer).Flush(0xc000396240) /usr/local/go/src/bufio/bufio.go:639 +0x55 bufio.(*Writer).ReadFrom(0xc000396240, {0x27ff620, 0xc0014be000}) /usr/local/go/src/bufio/bufio.go:789 +0xbf io.copyBuffer({0x27ff5e0, 0xc000396240}, {0x27ff620, 0xc0014be000}, {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(0xc020b03380, {0xc000326ff0?, 0x2839208?}, 0x0, {0x2811a28, 0xc0014be000}) /home/rclone/go/src/github.com/rclone/rclone/fs/operations/multithread.go:308 +0x287 github.com/rclone/rclone/fs/operations.(*multiThreadCopyState).copyChunk(0xc000327040, {0x2824f58, 0xc000326ff0}, 0x0, {0x281e120, 0xc020b03380}) /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 25279 /home/rclone/go/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x96 goroutine 25317 [select]: github.com/rclone/rclone/fs/accounting.(*Account).averageLoop(0xc00063a400) /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 25279 /home/rclone/go/src/github.com/rclone/rclone/fs/accounting/accounting.go:119 +0x438 goroutine 28493 [select]: net/http.(*persistConn).writeLoop(0xc000764ea0) /usr/local/go/src/net/http/transport.go:2443 +0xf0 created by net/http.(*Transport).dialConn in goroutine 28416 /usr/local/go/src/net/http/transport.go:1799 +0x1585 goroutine 28495 [select]: net/http.(*persistConn).writeLoop(0xc000765440) /usr/local/go/src/net/http/transport.go:2443 +0xf0 created by net/http.(*Transport).dialConn in goroutine 28486 /usr/local/go/src/net/http/transport.go:1799 +0x1585 goroutine 25166 [chan receive]: github.com/rclone/rclone/backend/local.(*fadvise).worker(0xc0003961c0) /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 25318 /home/rclone/go/src/github.com/rclone/rclone/backend/local/fadvise_unix.go:74 +0x11f "./operations.test -test.v -test.timeout 1h0m0s -remote TestPcloud: -verbose" - Finished ERROR in 1h0m0.530818325s (try 3/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]