golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
123.96k stars 17.66k forks source link

all: port to RISC-V #27532

Closed tklauser closed 4 years ago

tklauser commented 6 years ago

This issue serves to track the port to the RISC-V architecture. There is an out-of-tree port at https://github.com/riscv/riscv-go based on Go 1.8 which - according to riscv/riscv-go#19 - is no longer maintained and would need quite some work to be updated to the current Go tip.

Also see https://golang.org/cl/106256#message-2d9a5c5b89ad55b8b7999f794983f993649232c8 and https://groups.google.com/forum/#!searchin/golang-dev/RISC%7Csort:date/golang-dev/VpsyGdi-sQQ/FMu6IB_2CwAJ where @josharian summarized the current state of the existing port.

The GOARCH values riscv and riscv64 were reserved in https://golang.org/cl/106256. These values are already used by gccgo. Additional changes were made to debug/elf (https://golang.org/cl/107339), cmd/cgo (https://golang.org/cl/110066), cmd/dist and cmd/types (https://golang.org/cl/118618) in order be able to generate type definition files in the x/sys/unix package (https://golang.org/cl/133735).

/cc @bradfitz @ianlancetaylor @josharian

gopherbot commented 6 years ago

Change https://golang.org/cl/133735 mentions this issue: unix: add support for linux/riscv64

davidlt commented 6 years ago

/cc myself as Fedora/RISC-V maintainer.

I would be happy to incl. this into the distribution (once it compiles) and do some testing.

ghost commented 6 years ago

Thanks for raising this.

Does anyone know where I can get hardware to test on ?

ghost commented 6 years ago

New house, CPU and fgpa efforts are going on using risc-v. Quite a turning point and opportunity for golang programmers.

Here is the main news feed on all of it: https://riscv.org/news/

junland commented 6 years ago

@gedw99 At the moment SiFive is the only company that has produced a RISC-V dev board (HiFive Unleashed). One caveat to this board is the price, which is around $1,000 USD.

hugelgupf commented 6 years ago

cc @ganshun and @rjoleary the three of us were also about to start looking at a port. We got a couple of SiFive boards to try it out on.

bradfitz commented 6 years ago

@hugelgupf, when you're far enough along to want a builder set up, file a bug and copy me and I'd be more than happy to help.

jasonmoo commented 6 years ago

I recently starting using qemu to run a riscv fedora build. Here are the links in case it's useful for devving without a board.

https://github.com/riscv/riscv-qemu https://fedoraproject.org/wiki/Architectures/RISC-V/Installing#Download_the_latest_disk_image https://fedoraproject.org/wiki/Architectures/RISC-V/Installing#Boot_under_qemu

Using dnf install gccgo I've been able to build and run go apps in emulation.

davidlt commented 6 years ago

Just reminder that RISC-V is supported in released versions of QEMU and libvirt, which makes it easy to setup multiple VMs with management. See: https://fedoraproject.org/wiki/Architectures/RISC-V/Installing#Boot_with_libvirt

Note, that our libffi does not support Go closures thus some functionality does not work. The patch exist already, but I need to backport it to our libffi version. Should I bump priority on this?

tklauser commented 5 years ago

FWIW, I started rebasing the Go 1.18-based https://github.com/riscv/go-riscv to current Go tip at https://github.com/tklauser/go-riscv. It currently builds on linux/amd64 but cannot generate valid riscv64 binaries yet.

I currently lack the time and resources to really push it forward but maybe someone else working on it might find it useful.

bradfitz commented 5 years ago

Just saw that you can apparently run RISC-V in the cloud via an FPGA AWS instance:

https://www.cnx-software.com/2017/02/22/amazon-ec2-f1-instances-put-xilinx-virtex-ultrascale-fpga-boards-in-the-cloud/

That might be a possible temporary builder strategy.

jasonmoo commented 5 years ago

@bradfitz https://fires.im/ is a risc-v deployment on aws fpgas but the underlying risc-v implementation only runs up to something like 100mhz. Working with a team that's doing some research in that area and it seems to be the norm. So far emulation has been the most performant by far.

davidlt commented 5 years ago

QEMU supports up to 8 cores (MTTCG - multi-threaded TCG), which is great if you can compile in parallel.

Alternatively contact Palmer Dabbelt from SiFive and ask for a free SiFive HiFive Unleashed board (multiple projects have received one for porting efforts).

gopherbot commented 5 years ago

Change https://golang.org/cl/157899 mentions this issue: unix: use Renameat2 to implement Renameat on linux/riscv64

gopherbot commented 5 years ago

Change https://golang.org/cl/157900 mentions this issue: unix: use int8 for RawSockaddrUnix.Path on linux/riscv64

gopherbot commented 5 years ago

Change https://golang.org/cl/157901 mentions this issue: unix: add assembly for riscv64 syscalls

tklauser commented 5 years ago

Issue for setting up a qemu-based RISC-V builder: #30262

gopherbot commented 5 years ago

Change https://golang.org/cl/170298 mentions this issue: cpu: add basic support for GOARCH=riscv64

marcopeereboom commented 5 years ago

The riscv qemu port works pretty well and Fedora has been making strides making it a normal distro. I am keeping tabs on the state of riscv here: https://github.com/marcopeereboom/riscv-bringup-doco and maybe it has some helpful nuggets for some folks. The point is that qemu makes a fine development target and you really don't need metal to make progress.

The last missing piece of the puzzle for me is go. https://github.com/riscv/riscv-go seems to work but is 1.8 and pretty much everything I work on has moved on to 1.12 and uses modules. I looked at porting the 1.8 codebase up a release at a time and it doesn't look terribly hard but I don't have time to sit there and grind at it (familiar refrain).

Excited to see this move forward.

marcopeereboom commented 5 years ago

A buddy of mine made Go 1.12 work. He forked https://github.com/riscv/riscv-go and updated it to go 1.12. It seems to produce binaries that work but undoubtedly there are still some bugs lurking.

It seems to be able to build binaries but when it is cross-compiled it does not quite work yet.

See the repo here: https://github.com/4a6f656c/riscv-go

It would be great if some of this can start being backported to master for more widespread testing.

josharian commented 5 years ago

A buddy of mine made Go 1.12 work.

Yay!

Did he also pull in the as-yet-unlanded changes from Stefan O'Rear?

It seems to be able to build binaries but when it is cross-compiled it does not quite work yet.

I haven't looked at the code, but it would be good to run the compiler under the race detector. (That is, run on amd64 with -race, building for risc-v.) The obj asm backends have to be concurrent as of 1.9.

It would be great if some of this can start being backported to master for more widespread testing.

I assume you mean upstreamed. We're in a code freeze now. See https://github.com/golang/go/wiki/Go-Release-Cycle. Ideally adding risc-v to master would happen right at the beginning of the cycle, starting around Aug 1.

Note that we can't accept code unless all the authors have signed a CLA (which is part of why I haven't looked through it yet).

marcopeereboom commented 5 years ago

Joel is ex google and has made several commits to Go. Pretty sure there won't be an issue with that.

Didn't know we were in code freeze but that is actually pretty good. That way we can get the last bits worked out and see if we can get it in as soon as it unfreezes and then we have an entire release cycle to get it right. Exciting!

Did he also pull in the as-yet-unlanded changes from Stefan O'Rear?

Got a link?

josharian commented 5 years ago

Joel is ex google and has made several commits to Go. Pretty sure there won't be an issue with that.

I should have checked out his GitHub profile. Nice to see his name again. :)

That way we can get the last bits worked out and see if we can get it in as soon as it unfreezes and then we have an entire release cycle to get it right.

Yes, indeed.

In an ideal world, too, we'd break up the upstreaming into a series of commits, to aid in reviewing. It's worth checking out how other completed architectures got upstreamed (e.g. arm64, wasm).

Got a link?

https://review.gerrithub.io/q/project:riscv/riscv-go

mdlayher commented 5 years ago

A few of us with an interest in making this happen are hanging out in #risc-v on Gophers Slack. We'd love to have more folks join us there, and to pitch in.

https://invite.slack.golangbridge.org

josharian commented 5 years ago

I'm happy to be involved, but I am intentionally not a Slack user. If y'all start using some other medium as well (github issues, a mailing list), please let me know.

marcopeereboom commented 5 years ago

I deleted slack on all my devices.

We certainly could use some help with the remaining bugs. It looks like some linux syscalls fail or are not implemented. These bugs should not be super hard to hound down and fix. We can even use GitHub to track bugs 😏

marcopeereboom commented 5 years ago

Little update. Bootstrapping now works reliably and one can build go itself in QEMU riscv. There seems to be either a bug with locks or with QEMU causing some fun crashes and we are looking into those. If anyone has the skills to help we'd love to hear from you.

Basic steps are on a machine with go1.4 or a new enough go installed:

GOOS=linux GOARCH=riscv ./bootstrap.sh

Copy the tbz file to the riscv QEMU host, untar it and then build go itself:

GOGC=off GOROOT_^COTSTRAP=~/build/go-linux-riscv-bootstrap/ ./all.bash

Note: all compilation was done from this repo: https://github.com/4a6f656c/riscv-go

It doesn't always work and may have to be restarted but it'll eventually build. I tried building some larger apps and they act the same. Work for a bit and then kind of randomly crash. It certainly looks like races.

carlosedp commented 5 years ago

Without using GOGC=off I get the following error:

# ./make.bash
Building Go cmd/dist using /root/go-linux-riscv-bootstrap/.
# _/root/riscv-go/src/cmd/dist
cmd/dist/test.go:1263:9: internal compiler error: '(*tester).hasSwig': panic during lowered cse while compiling (*tester).hasSwig:

runtime error: index out of range

goroutine 9 [running]:
cmd/compile/internal/ssa.Compile.func1(0x210198d118, 0x210134f1e0)
    /Users/cdepaula/repos/go-linux-riscv-bootstrap/src/cmd/compile/internal/ssa/compile.go:45 +0xc0
panic(0xc20c00, 0x14821a0)
    /Users/cdepaula/repos/go-linux-riscv-bootstrap/src/runtime/panic.go:522 +0x254
cmd/compile/internal/ssa.cse(0x210134f1e0)
    /Users/cdepaula/repos/go-linux-riscv-bootstrap/src/cmd/compile/internal/ssa/cse.go:116 +0x26d4
cmd/compile/internal/ssa.Compile(0x210134f1e0)
    /Users/cdepaula/repos/go-linux-riscv-bootstrap/src/cmd/compile/internal/ssa/compile.go:90 +0x67c
cmd/compile/internal/gc.buildssa(0x21005509a0, 0x3, 0x0)
    /Users/cdepaula/repos/go-linux-riscv-bootstrap/src/cmd/compile/internal/gc/ssa.go:233 +0x9d4
cmd/compile/internal/gc.compileSSA(0x21005509a0, 0x3)
    /Users/cdepaula/repos/go-linux-riscv-bootstrap/src/cmd/compile/internal/gc/pgen.go:299 +0x40
cmd/compile/internal/gc.compileFunctions.func2(0x2100ea3080, 0x21010b2970, 0x3)
    /Users/cdepaula/repos/go-linux-riscv-bootstrap/src/cmd/compile/internal/gc/pgen.go:364 +0x50
created by cmd/compile/internal/gc.compileFunctions
    /Users/cdepaula/repos/go-linux-riscv-bootstrap/src/cmd/compile/internal/gc/pgen.go:362 +0x160

I've built the bootstrap on Mac with Go 1.12.5.

carlosedp commented 5 years ago

After building it successfully (never failed) I ran the tests and got some problems. Will paste here as a follow-up to document:

Running on Qemu 4.0 on Mac.

# uname -a
Linux fedora-riscv 5.1.0-rc7-00005-g83a50840e72a #2 SMP Mon Apr 29 19:07:37 -03 2019 riscv64 riscv64 riscv64 GNU/Linux

Here is the output:

``` [root@fedora-riscv riscv-go]# export GOROOT_BOOTSTRAP=/root/go-linux-riscv-bootstrap [root@fedora-riscv riscv-go]# export GOROOT_BOOTSTRAP=/root/go-linux-riscv-bootstrap/ [root@fedora-riscv riscv-go]# export PATH="$(pwd)/misc/riscv:$(pwd)/bin:$PATH" [root@fedora-riscv riscv-go]# cd src/ [root@fedora-riscv src]# GOGC=off ./all.bash Building Go cmd/dist using /root/go-linux-riscv-bootstrap/. Building Go toolchain1 using /root/go-linux-riscv-bootstrap/. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. Building Go toolchain2 using go_bootstrap and Go toolchain1. Building Go toolchain3 using go_bootstrap and Go toolchain2. Building packages and commands for linux/riscv. ##### Testing packages. ok archive/tar 4.774s ok archive/zip 21.521s ok bufio 3.639s ok bytes 5.138s ok compress/bzip2 2.772s ok compress/flate 8.117s ok compress/gzip 1.108s ok compress/lzw 0.826s ok compress/zlib 1.022s ok container/heap 0.990s ok container/list 0.648s ok container/ring 0.846s ok context 7.816s ok crypto 0.955s ok crypto/aes 1.070s ok crypto/cipher 9.553s ok crypto/des 0.956s ok crypto/dsa 0.927s ok crypto/ecdsa 5.014s ok crypto/elliptic 1.320s ok crypto/hmac 0.942s ok crypto/internal/subtle 0.764s # crypto/rc4.test fatal error: cas1 runtime: panic before malloc heap initialized runtime stack: runtime.throw(0x327630, 0x4) /root/riscv-go/src/runtime/panic.go:617 +0x88 fp=0x3ffffa3f20 sp=0x3ffffa3ef8 pc=0x4b2f8 runtime.check() /root/riscv-go/src/runtime/runtime1.go:215 +0x57c fp=0x3ffffa3f60 sp=0x3ffffa3f20 pc=0x60b74 runtime.rt0_go(0x3ffffa3f88, 0xd3868, 0xb, 0x3ffffa42c9, 0x3ffffa42f2, 0x3ffffa42f5, 0x3ffffa431a, 0x3ffffa4325, 0x3ffffa4350, 0x3ffffa4353, ...) /root/riscv-go/src/runtime/asm_riscv.s:54 +0x90 fp=0x3ffffa3f68 sp=0x3ffffa3f60 pc=0x82b40 ok crypto/md5 0.979s ok crypto/rand 1.497s FAIL crypto/rc4 [build failed] ok crypto/rsa 2.727s ok crypto/sha1 0.862s ok crypto/sha256 0.824s ok crypto/sha512 0.762s ok crypto/subtle 0.779s ok crypto/tls 44.390s ok crypto/x509 34.962s ok database/sql 4.479s ok database/sql/driver 1.066s ok debug/dwarf 1.704s ok debug/elf 2.404s ok debug/gosym 1.270s ok debug/macho 0.978s ok debug/pe 1.284s ok debug/plan9obj 0.863s ok encoding/ascii85 1.240s ok encoding/asn1 1.454s ok encoding/base32 1.355s ok encoding/base64 1.883s ok encoding/binary 1.401s ok encoding/csv 1.864s ok encoding/gob 5.054s ok encoding/hex 1.033s ok encoding/json 8.759s ok encoding/pem 1.930s ok encoding/xml 2.070s fatal error: cas1 runtime: panic before malloc heap initialized runtime stack: runtime.throw(0x187542, 0x4) /root/riscv-go/src/runtime/panic.go:617 +0x88 fp=0x3fffdd1030 sp=0x3fffdd1008 pc=0x4aaf8 runtime.check() /root/riscv-go/src/runtime/runtime1.go:215 +0x57c fp=0x3fffdd1070 sp=0x3fffdd1030 pc=0x603ac runtime.rt0_go(0x3fffdd1098, 0xd3868, 0x4, 0x3fffdd1392, 0x3fffdd13ba, 0x3fffdd13f4, 0x3fffdd1405, 0x0, 0x3fffdd1418, 0x3fffdd1428, ...) /root/riscv-go/src/runtime/asm_riscv.s:54 +0x90 fp=0x3fffdd1078 sp=0x3fffdd1070 pc=0x82ad0 FAIL errors 0.297s ok expvar 1.476s ok flag 0.833s ok fmt 2.489s ok go/ast 1.208s ok go/build 8.902s ok go/constant 1.123s ok go/doc 3.244s ok go/format 1.172s ok go/importer 3.839s ok go/internal/gccgoimporter 34.297s ok go/internal/gcimporter 8.633s ok go/internal/srcimporter 22.413s ok go/parser 1.492s ok go/printer 6.098s ok go/scanner 0.852s ok go/token 1.905s ok go/types 18.929s ok hash 1.167s ok hash/adler32 0.904s ok hash/crc32 0.923s ok hash/crc64 0.816s ok hash/fnv 0.867s ok html 0.831s ok html/template 2.683s ok image 2.286s ok image/color 1.855s ok image/draw 2.629s ok image/gif 8.489s ok image/jpeg 4.625s ok image/png 1.799s ok index/suffixarray 0.999s ok internal/cpu 2.004s ok internal/fmtsort 1.547s ok internal/poll 1.498s ok internal/singleflight 1.047s ok internal/trace 27.373s ok internal/x/crypto/chacha20poly1305 2.748s ok internal/x/crypto/cryptobyte 1.295s ok internal/x/crypto/curve25519 1.391s ok internal/x/crypto/hkdf 0.922s ok internal/x/crypto/internal/chacha20 3.302s ok internal/x/crypto/poly1305 1.255s ok internal/x/net/dns/dnsmessage 1.205s ok internal/x/net/http/httpguts 1.827s ok internal/x/net/http/httpproxy 1.312s ok internal/x/net/http2/hpack 1.077s ok internal/x/net/idna 0.996s ok internal/x/net/nettest 8.717s ok internal/x/text/transform 1.009s ok internal/x/text/unicode/norm 1.169s ok internal/xcoff 1.624s ok io 1.837s ok io/ioutil 1.566s ok log 1.603s ok log/syslog 2.579s ok math 1.303s ok math/big 47.180s ok math/bits 1.002s ok math/cmplx 1.417s ok math/rand 5.141s ok mime 1.002s ok mime/multipart 16.293s ok mime/quotedprintable 13.263s ok net 88.754s runtime: newstack sp=0x21008e3758 stack=[0x21008e4000, 0x21008e4800] morebuf={pc:0x4d7dc4 sp:0x21008e3758 lr:0x0} sched={pc:0xd8230 sp:0x21008e3758 lr:0x4d7dc4 ctxt:0x0} runtime: gp=0x2100ed3980, goid=1166, gp->status=0x2 runtime: split stack overflow: 0x21008e3758 < 0x21008e4000 fatal error: runtime: split stack overflow runtime stack: runtime.newstack() /root/riscv-go/src/runtime/stack.go:995 +0xa18 runtime: unexpected return pc for runtime.newstack called from 0x21010f8180 stack: frame={sp:0x21006b3fb0, fp:0x21006b4138} stack=[0x2100674000,0x21006b4000) 00000021006b3eb0: 000000000000048e 00000000004d7dc4 00000021006b3ec0: 00000000000d8230 0000000000000000 00000021006b3ed0: 00000021008e3758 00000000004d7dc4 00000021006b3ee0: 00000021008e4800 00000021008e4000 00000021006b3ef0: 0000000000000001 0000000000000004 00000021006b3f00: 0000000000000000 0000000000000000 00000021006b3f10: 000000210001ee00 0000000000000000 00000021006b3f20: 0000002100ed3980 00000021005fa180 00000021006b3f30: 00000021008e3758 00000000004d7dc4 00000021006b3f40: 0000002100ed3980 0000000000000000 00000021006b3f50: 0000000000000000 0000000000000000 00000021006b3f60: 0000000000000000 0000000000000000 00000021006b3f70: 0000000000058500 0000000000a65204 00000021006b3f80: 00000000864b8a7e 00000021000002ad 00000021006b3f90: 0000002100ed3980 010000210108d618 00000021006b3fa0: 00000021005fa180 0000000000089fdc 00000021006b3fb0: <00000021010f8180 00000015577cdd50 00000021006b3fc0: 000000210108e201 00000021005fa180 00000021006b3fd0: 0000000000000000 0000000000000000 00000021006b3fe0: 000000000008c688 0000000000053b98 00000021006b3ff0: 00000021005fa180 00000021005f8000 runtime.newstack() /root/riscv-go/src/runtime/stack.go:995 +0xa18 goroutine 1166 [running]: io.(*pipe).Read(0x210110e190, 0x21008e37a8, 0x1000, 0x1000, 0x0, 0x0, 0x0) /root/riscv-go/src/io/pipe.go:43 +0x18 fp=0x21008e3758 sp=0x21008e3758 pc=0xd8230 io.(*PipeReader).Read(...) /root/riscv-go/src/io/pipe.go:127 net/http_test.testHandlerPanic.func2(0x210000c950, 0x2101112100, 0x2100e82f50) /root/riscv-go/src/net/http/serve_test.go:2784 +0x9c fp=0x21008e47c0 sp=0x21008e3758 pc=0x4d7dc4 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv.s:469 +0x4 fp=0x21008e47c0 sp=0x21008e47c0 pc=0x8bf34 created by net/http_test.testHandlerPanic /root/riscv-go/src/net/http/serve_test.go:2782 +0x3a4 goroutine 1 [chan receive]: testing.(*T).Run(0x2101112100, 0x621c14, 0x1f, 0x63e488, 0x13f601) /root/riscv-go/src/testing/testing.go:917 +0x3c0 testing.runTests.func1(0x2100241600) /root/riscv-go/src/testing/testing.go:1157 +0x88 testing.tRunner(0x2100241600, 0x2100063e30) /root/riscv-go/src/testing/testing.go:865 +0xf4 testing.runTests(0x21001aa3e0, 0xa461a0, 0x1e2, 0x1e2, 0x0) /root/riscv-go/src/testing/testing.go:1155 +0x2e8 testing.(*M).Run(0x210023c680, 0x0) /root/riscv-go/src/testing/testing.go:1072 +0x194 net/http_test.TestMain(0x210023c680) /root/riscv-go/src/net/http/main_test.go:23 +0x34 main.main() _testmain.go:1062 +0x190 goroutine 18 [syscall]: os/signal.signal_recv(0x0) /root/riscv-go/src/runtime/sigqueue.go:139 +0x234 os/signal.loop() /root/riscv-go/src/os/signal/signal_unix.go:23 +0x2c created by os/signal.init.0 /root/riscv-go/src/os/signal/signal_unix.go:29 +0x54 goroutine 104 [chan receive]: testing.(*T).Parallel(0x21005f0200) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21005f0200) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestClientRedirects(0x21005f0200) /root/riscv-go/src/net/http/client_test.go:203 +0x38 testing.tRunner(0x21005f0200, 0x63d7b8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 50 [chan receive]: testing.(*T).Parallel(0x21002b3800) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http.TestCmdGoNoHTTPServer(0x21002b3800) /root/riscv-go/src/net/http/http_test.go:85 +0x38 testing.tRunner(0x21002b3800, 0x63d188) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 291 [chan receive]: testing.(*T).Parallel(0x21008b1f00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008b1f00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testClientTimeout_Headers(0x21008b1f00, 0x3857c0f7600) /root/riscv-go/src/net/http/client_test.go:1286 +0x38 net/http_test.TestClientTimeout_Headers_h1(0x21008b1f00) /root/riscv-go/src/net/http/client_test.go:1281 +0x3c testing.tRunner(0x21008b1f00, 0x63d7e0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 56 [chan receive]: testing.(*T).Parallel(0x21003f1200) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http.TestRequestWriteTransport(0x21003f1200) /root/riscv-go/src/net/http/requestwrite_test.go:648 +0x38 testing.tRunner(0x21003f1200, 0x63d278) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 61 [chan receive]: testing.(*T).Parallel(0x21003f1900) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http.TestReadResponseCloseInMiddle(0x21003f1900) /root/riscv-go/src/net/http/response_test.go:643 +0x38 testing.tRunner(0x21003f1900, 0x63d220) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 4 [chan receive]: testing.(*T).Parallel(0x21005a6000) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21005a6000) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestClient(0x21005a6000) /root/riscv-go/src/net/http/client_test.go:70 +0x38 testing.tRunner(0x21005a6000, 0x63d840) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 294 [chan receive]: testing.(*T).Parallel(0x21008cc300) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008cc300) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testClientRedirectEatsBody(0x21008cc300, 0x3857c2df600) /root/riscv-go/src/net/http/client_test.go:1356 +0x38 net/http_test.TestClientRedirectEatsBody_h1(0x21008cc300) /root/riscv-go/src/net/http/client_test.go:1353 +0x3c testing.tRunner(0x21008cc300, 0x63d780) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 378 [chan receive]: testing.(*T).Parallel(0x21008cd000) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008cd000) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63da40, 0x63cf58, 0x0, 0x0, 0x0, 0x0, 0x0, 0x21008cd000) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_HeadContentLengthNoBody(0x21008cd000) /root/riscv-go/src/net/http/clientserver_test.go:285 +0x64 testing.tRunner(0x21008cd000, 0x63da48) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 101 [chan receive]: testing.(*T).Parallel(0x21004d3d00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21004d3d00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestGetRequestFormat(0x21004d3d00) /root/riscv-go/src/net/http/client_test.go:116 +0x34 testing.tRunner(0x21004d3d00, 0x63d9a8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 339 [chan receive]: testing.(*T).Parallel(0x21007bbd00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21007bbd00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestTransportBodyReadError(0x21007bbd00) /root/riscv-go/src/net/http/client_test.go:1842 +0x38 testing.tRunner(0x21007bbd00, 0x63e590) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 707 [chan receive]: testing.(*T).Parallel(0x2100b2b900) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100b2b900) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testInterruptWithPanic(0x2100b2b900, 0x5cd34501, 0x568b00, 0x6d1ea0) /root/riscv-go/src/net/http/clientserver_test.go:1158 +0x38 net/http_test.TestInterruptWithPanic_h2(0x2100b2b900) /root/riscv-go/src/net/http/clientserver_test.go:1148 +0x54 testing.tRunner(0x2100b2b900, 0x63dcf8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 155 [chan receive]: testing.(*T).Parallel(0x21005f1800) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21005f1800) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestClientRedirect308NoLocation(0x21005f1800) /root/riscv-go/src/net/http/client_test.go:538 +0x34 testing.tRunner(0x21005f1800, 0x63d768) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1117 [chan receive]: testing.(*T).Parallel(0x2100fa3d00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa3d00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testSetsRemoteAddr(0x2100fa3d00, 0x386727f1501) /root/riscv-go/src/net/http/serve_test.go:1228 +0x38 net/http_test.TestSetsRemoteAddr_h2(0x2100fa3d00) /root/riscv-go/src/net/http/serve_test.go:1225 +0x3c testing.tRunner(0x2100fa3d00, 0x63e378) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 379 [chan receive]: testing.(*T).Parallel(0x21008cd100) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008cd100) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63da50, 0x63cf58, 0x0, 0x0, 0x0, 0x0, 0x0, 0x21008cd100) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_HeadContentLengthSmallBody(0x21008cd100) /root/riscv-go/src/net/http/clientserver_test.go:294 +0x64 testing.tRunner(0x21008cd100, 0x63da58) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 154 [chan receive]: testing.(*T).Parallel(0x21005f1700) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21005f1700) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestClientRedirectUseResponse(0x21005f1700) /root/riscv-go/src/net/http/client_test.go:496 +0x38 testing.tRunner(0x21005f1700, 0x63d7b0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 105 [chan receive]: testing.(*T).Parallel(0x21005f0300) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21005f0300) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestClientRedirectContext(0x21005f0300) /root/riscv-go/src/net/http/client_test.go:302 +0x38 testing.tRunner(0x21005f0300, 0x63d778) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 208 [chan receive]: testing.(*T).Parallel(0x210082c500) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x210082c500) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestClientInsecureTransport(0x210082c500) /root/riscv-go/src/net/http/client_test.go:847 +0x38 testing.tRunner(0x210082c500, 0x63d748) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 293 [chan receive]: testing.(*T).Parallel(0x21008cc200) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008cc200) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestClientTimeoutCancel(0x21008cc200) /root/riscv-go/src/net/http/client_test.go:1326 +0x38 testing.tRunner(0x21008cc200, 0x63d7c8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 338 [chan receive]: testing.(*T).Parallel(0x21007bbc00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21007bbc00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestClientRedirectTypes(0x21007bbc00) /root/riscv-go/src/net/http/client_test.go:1734 +0x54 testing.tRunner(0x21007bbc00, 0x63d7a8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1115 [chan receive]: testing.(*T).Parallel(0x2100fa3b00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa3b00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestKeepAliveFinalChunkWithEOF(0x2100fa3b00) /root/riscv-go/src/net/http/serve_test.go:1195 +0x38 testing.tRunner(0x2100fa3b00, 0x63dd90) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 289 [chan receive]: testing.(*T).Parallel(0x21008b1d00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008b1d00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testClientTimeout(0x21008b1d00, 0x3857bf2ab00) /root/riscv-go/src/net/http/client_test.go:1204 +0x38 net/http_test.TestClientTimeout_h1(0x21008b1d00) /root/riscv-go/src/net/http/client_test.go:1200 +0x3c testing.tRunner(0x21008b1d00, 0x63d7f0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 711 [chan receive]: testing.(*T).Parallel(0x2100b2bd00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100b2bd00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testInterruptWithPanic(0x2100b2bd00, 0x5cd34501, 0x589480, 0x21001a0b40) /root/riscv-go/src/net/http/clientserver_test.go:1158 +0x38 net/http_test.TestInterruptWithPanic_ErrAbortHandler_h2(0x2100b2bd00) /root/riscv-go/src/net/http/clientserver_test.go:1155 +0x68 testing.tRunner(0x2100b2bd00, 0x63dce8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 708 [chan receive]: testing.(*T).Parallel(0x2100b2ba00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100b2ba00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testInterruptWithPanic(0x2100b2ba00, 0x5cd34500, 0x0, 0x0) /root/riscv-go/src/net/http/clientserver_test.go:1158 +0x38 net/http_test.TestInterruptWithPanic_nil_h1(0x2100b2ba00) /root/riscv-go/src/net/http/clientserver_test.go:1149 +0x4c testing.tRunner(0x2100b2ba00, 0x63dd00) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1097 [chan receive]: testing.(*T).Parallel(0x2100fa2900) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa2900) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestMuxRedirectLeadingSlashes(0x2100fa2900) /root/riscv-go/src/net/http/serve_test.go:457 +0x38 testing.tRunner(0x2100fa2900, 0x63de00) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 156 [chan receive]: testing.(*T).Parallel(0x21005f1900) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21005f1900) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestClientRedirect308NoGetBody(0x21005f1900) /root/riscv-go/src/net/http/client_test.go:561 +0x38 testing.tRunner(0x21005f1900, 0x63d758) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 295 [chan receive]: testing.(*T).Parallel(0x21008cc400) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008cc400) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testClientRedirectEatsBody(0x21008cc400, 0x3857c367a01) /root/riscv-go/src/net/http/client_test.go:1356 +0x38 net/http_test.TestClientRedirectEatsBody_h2(0x21008cc400) /root/riscv-go/src/net/http/client_test.go:1354 +0x3c testing.tRunner(0x21008cc400, 0x63d788) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1112 [chan receive]: testing.(*T).Parallel(0x2100fa3800) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa3800) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTCPConnectionStaysOpen(0x2100fa3800, 0x62a9d5, 0x2a, 0x6dd000, 0x63ea38) /root/riscv-go/src/net/http/serve_test.go:1115 +0x38 net/http_test.TestHTTP10KeepAlive204Response(0x2100fa3800) /root/riscv-go/src/net/http/serve_test.go:1180 +0x60 testing.tRunner(0x2100fa3800, 0x63db00) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 158 [chan receive]: testing.(*T).Parallel(0x21007ba100) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21007ba100) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestRedirectCookiesJar(0x21007ba100) /root/riscv-go/src/net/http/client_test.go:660 +0x34 testing.tRunner(0x21007ba100, 0x63df18) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1111 [chan receive]: testing.(*T).Parallel(0x2100fa3700) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa3700) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTCPConnectionCloses(0x2100fa3700, 0x61b087, 0x18, 0x6dd000, 0x63db20) /root/riscv-go/src/net/http/serve_test.go:1071 +0x38 net/http_test.TestHTTP2UpgradeClosesConnection(0x2100fa3700) /root/riscv-go/src/net/http/serve_test.go:1169 +0x60 testing.tRunner(0x2100fa3700, 0x63db28) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1116 [chan receive]: testing.(*T).Parallel(0x2100fa3c00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa3c00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testSetsRemoteAddr(0x2100fa3c00, 0x3867275a300) /root/riscv-go/src/net/http/serve_test.go:1228 +0x38 net/http_test.TestSetsRemoteAddr_h1(0x2100fa3c00) /root/riscv-go/src/net/http/serve_test.go:1224 +0x3c testing.tRunner(0x2100fa3c00, 0x63e370) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 290 [chan receive]: testing.(*T).Parallel(0x21008b1e00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008b1e00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testClientTimeout(0x21008b1e00, 0x3857c056001) /root/riscv-go/src/net/http/client_test.go:1204 +0x38 net/http_test.TestClientTimeout_h2(0x21008b1e00) /root/riscv-go/src/net/http/client_test.go:1201 +0x3c testing.tRunner(0x21008b1e00, 0x63d7f8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 702 [chan receive]: testing.(*T).Parallel(0x2100b2b400) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100b2b400) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTransportGCRequest(0x2100b2b400, 0x38607620000) /root/riscv-go/src/net/http/clientserver_test.go:1049 +0x38 net/http_test.TestTransportGCRequest_NoBody_h1(0x2100b2b400) /root/riscv-go/src/net/http/clientserver_test.go:1046 +0x40 testing.tRunner(0x2100b2b400, 0x63e6f8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 292 [chan receive]: testing.(*T).Parallel(0x21008cc000) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008cc000) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testClientTimeout_Headers(0x21008cc000, 0x3857c1c2801) /root/riscv-go/src/net/http/client_test.go:1286 +0x38 net/http_test.TestClientTimeout_Headers_h2(0x21008cc000) /root/riscv-go/src/net/http/client_test.go:1282 +0x3c testing.tRunner(0x21008cc000, 0x63d7e8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1113 [chan receive]: testing.(*T).Parallel(0x2100fa3900) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa3900) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTCPConnectionStaysOpen(0x2100fa3900, 0x61f5f6, 0x1d, 0x6dd000, 0x63ea38) /root/riscv-go/src/net/http/serve_test.go:1115 +0x38 net/http_test.TestHTTP11KeepAlive204Response(0x2100fa3900) /root/riscv-go/src/net/http/serve_test.go:1184 +0x60 testing.tRunner(0x2100fa3900, 0x63db10) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1114 [chan receive]: testing.(*T).Parallel(0x2100fa3a00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa3a00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTCPConnectionStaysOpen(0x2100fa3a00, 0x635f4f, 0x5c, 0x6dd000, 0x63ea40) /root/riscv-go/src/net/http/serve_test.go:1115 +0x38 net/http_test.TestHTTP10KeepAlive304Response(0x2100fa3a00) /root/riscv-go/src/net/http/serve_test.go:1188 +0x60 testing.tRunner(0x2100fa3a00, 0x63db08) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 282 [chan receive]: testing.(*T).Parallel(0x21008b0d00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008b0d00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestEmptyPasswordAuth(0x21008b0d00) /root/riscv-go/src/net/http/client_test.go:1057 +0x34 testing.tRunner(0x21008b0d00, 0x63d940) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 709 [chan receive]: testing.(*T).Parallel(0x2100b2bb00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100b2bb00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testInterruptWithPanic(0x2100b2bb00, 0x5cd34501, 0x0, 0x0) /root/riscv-go/src/net/http/clientserver_test.go:1158 +0x38 net/http_test.TestInterruptWithPanic_nil_h2(0x2100b2bb00) /root/riscv-go/src/net/http/clientserver_test.go:1150 +0x4c testing.tRunner(0x2100b2bb00, 0x63dd08) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 710 [chan receive]: testing.(*T).Parallel(0x2100b2bc00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100b2bc00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testInterruptWithPanic(0x2100b2bc00, 0x5cd34500, 0x589480, 0x21001a0b40) /root/riscv-go/src/net/http/clientserver_test.go:1158 +0x38 net/http_test.TestInterruptWithPanic_ErrAbortHandler_h1(0x2100b2bc00) /root/riscv-go/src/net/http/clientserver_test.go:1152 +0x68 testing.tRunner(0x2100b2bc00, 0x63dce0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 706 [chan receive]: testing.(*T).Parallel(0x2100b2b800) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100b2b800) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testInterruptWithPanic(0x2100b2b800, 0x5cd34500, 0x568b00, 0x6d1e60) /root/riscv-go/src/net/http/clientserver_test.go:1158 +0x38 net/http_test.TestInterruptWithPanic_h1(0x2100b2b800) /root/riscv-go/src/net/http/clientserver_test.go:1147 +0x54 testing.tRunner(0x2100b2b800, 0x63dcf0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 434 [chan receive]: testing.(*T).Parallel(0x21009cc600) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21009cc600) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63ea20, 0x210099a6a0, 0x210099e8c0, 0x0, 0x0, 0x0, 0x0, 0x21009cc600) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.h12requestContentLength(0x21009cc600, 0x63da90, 0xffffffffffffffff) /root/riscv-go/src/net/http/clientserver_test.go:515 +0x128 net/http_test.TestH12_RequestContentLength_Unknown(0x21009cc600) /root/riscv-go/src/net/http/clientserver_test.go:498 +0x48 testing.tRunner(0x21009cc600, 0x63da98) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 705 [chan receive]: testing.(*T).Parallel(0x2100b2b700) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100b2b700) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTransportRejectsInvalidHeaders(0x2100b2b700, 0x38607902b01) /root/riscv-go/src/net/http/clientserver_test.go:1096 +0x38 net/http_test.TestTransportRejectsInvalidHeaders_h2(0x2100b2b700) /root/riscv-go/src/net/http/clientserver_test.go:1093 +0x3c testing.tRunner(0x2100b2b700, 0x63e880) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 380 [chan receive]: testing.(*T).Parallel(0x21008cd200) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008cd200) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63da30, 0x63cf58, 0x0, 0x0, 0x0, 0x0, 0x0, 0x21008cd200) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_HeadContentLengthLargeBody(0x21008cd200) /root/riscv-go/src/net/http/clientserver_test.go:306 +0x64 testing.tRunner(0x21008cd200, 0x63da38) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 381 [chan receive]: testing.(*T).Parallel(0x21008cd300) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008cd300) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63d9b0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x21008cd300) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_200NoBody(0x21008cd300) /root/riscv-go/src/net/http/clientserver_test.go:310 +0x58 testing.tRunner(0x21008cd300, 0x63d9b8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 382 [chan receive]: testing.(*T).Parallel(0x21008cd400) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008cd400) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x21008ce3e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x21008cd400) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.testH12_noBody(0x21008cd400, 0xcc) /root/riscv-go/src/net/http/clientserver_test.go:320 +0xa0 net/http_test.TestH2_204NoBody(0x21008cd400) /root/riscv-go/src/net/http/clientserver_test.go:313 +0x3c testing.tRunner(0x21008cd400, 0x63dad8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 383 [chan receive]: testing.(*T).Parallel(0x21008cd500) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008cd500) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x21008ce400, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x21008cd500) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.testH12_noBody(0x21008cd500, 0x130) /root/riscv-go/src/net/http/clientserver_test.go:320 +0xa0 net/http_test.TestH2_304NoBody(0x21008cd500) /root/riscv-go/src/net/http/clientserver_test.go:314 +0x3c testing.tRunner(0x21008cd500, 0x63dae0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 384 [chan receive]: testing.(*T).Parallel(0x21008cd600) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008cd600) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x21008ce420, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x21008cd600) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.testH12_noBody(0x21008cd600, 0x194) /root/riscv-go/src/net/http/clientserver_test.go:320 +0xa0 net/http_test.TestH2_404NoBody(0x21008cd600) /root/riscv-go/src/net/http/clientserver_test.go:315 +0x3c testing.tRunner(0x21008cd600, 0x63dae8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 385 [chan receive]: testing.(*T).Parallel(0x21008cd700) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008cd700) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63dab0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x21008cd700) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_SmallBody(0x21008cd700) /root/riscv-go/src/net/http/clientserver_test.go:326 +0x58 testing.tRunner(0x21008cd700, 0x63dab8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 386 [chan receive]: testing.(*T).Parallel(0x21008cd800) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008cd800) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63d9e8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x21008cd800) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_ExplicitContentLength(0x21008cd800) /root/riscv-go/src/net/http/clientserver_test.go:333 +0x58 testing.tRunner(0x21008cd800, 0x63d9f0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 387 [chan receive]: testing.(*T).Parallel(0x21008cd900) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008cd900) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63d9f8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x21008cd900) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_FlushBeforeBody(0x21008cd900) /root/riscv-go/src/net/http/clientserver_test.go:340 +0x58 testing.tRunner(0x21008cd900, 0x63da00) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 388 [chan receive]: testing.(*T).Parallel(0x21008cda00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008cda00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63da08, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x21008cda00) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_FlushMidBody(0x21008cda00) /root/riscv-go/src/net/http/clientserver_test.go:348 +0x58 testing.tRunner(0x21008cda00, 0x63da10) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 389 [chan receive]: testing.(*T).Parallel(0x21008cdb00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008cdb00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x21008a9050, 0x63cf58, 0x0, 0x0, 0x0, 0x0, 0x0, 0x21008cdb00) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_Head_ExplicitLen(0x21008cdb00) /root/riscv-go/src/net/http/clientserver_test.go:360 +0xcc testing.tRunner(0x21008cdb00, 0x63da60) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 390 [chan receive]: testing.(*T).Parallel(0x21008cdc00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008cdc00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x21008a9070, 0x63cf58, 0x0, 0x0, 0x0, 0x0, 0x0, 0x21008cdc00) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_Head_ImplicitLen(0x21008cdc00) /root/riscv-go/src/net/http/clientserver_test.go:372 +0xcc testing.tRunner(0x21008cdc00, 0x63da68) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 391 [chan receive]: testing.(*T).Parallel(0x21008cdd00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008cdd00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63da18, 0x0, 0x21008a9090, 0x0, 0x0, 0x0, 0x0, 0x21008cdd00) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_HandlerWritesTooLittle(0x21008cdd00) /root/riscv-go/src/net/http/clientserver_test.go:394 +0xcc testing.tRunner(0x21008cdd00, 0x63da20) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 392 [chan receive]: testing.(*T).Parallel(0x21008cde00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008cde00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x21008a90b0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x21008cde00) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_HandlerWritesTooMuch(0x21008cde00) /root/riscv-go/src/net/http/clientserver_test.go:415 +0xc0 testing.tRunner(0x21008cde00, 0x63da28) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 393 [chan receive]: testing.(*T).Parallel(0x21008cdf00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008cdf00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x21008a90d0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x21008cdf00) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_AutoGzip(0x21008cdf00) /root/riscv-go/src/net/http/clientserver_test.go:431 +0xc0 testing.tRunner(0x21008cdf00, 0x63d9e0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 394 [chan receive]: testing.(*T).Parallel(0x2100a9c000) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100a9c000) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x21008a9100, 0x0, 0x0, 0x0, 0x21008a90f0, 0x1, 0x1, 0x2100a9c000) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_AutoGzip_Disabled(0x2100a9c000) /root/riscv-go/src/net/http/clientserver_test.go:445 +0x124 testing.tRunner(0x2100a9c000, 0x63d9d8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 351 [chan receive]: testing.(*T).Parallel(0x21009cc300) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21009cc300) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63daa0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x21009cc300) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_ServerEmptyContentLength(0x21009cc300) /root/riscv-go/src/net/http/clientserver_test.go:486 +0x58 testing.tRunner(0x21009cc300, 0x63daa8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1092 [chan receive]: testing.(*T).Parallel(0x2100fa2400) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.TestConsumingBodyOnNextConn(0x2100fa2400) /root/riscv-go/src/net/http/serve_test.go:164 +0x38 testing.tRunner(0x2100fa2400, 0x63d8d8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1101 [chan receive]: testing.(*T).Parallel(0x2100fa2d00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa2d00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestServerTimeouts(0x2100fa2d00) /root/riscv-go/src/net/http/serve_test.go:656 +0x38 testing.tRunner(0x2100fa2d00, 0x63e310) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 352 [chan receive]: testing.(*T).Parallel(0x21009cc400) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21009cc400) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63ea20, 0x210099a660, 0x210099e880, 0x0, 0x0, 0x0, 0x0, 0x21009cc400) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.h12requestContentLength(0x21009cc400, 0x63da70, 0x4) /root/riscv-go/src/net/http/clientserver_test.go:515 +0x128 net/http_test.TestH12_RequestContentLength_Known_NonZero(0x21009cc400) /root/riscv-go/src/net/http/clientserver_test.go:490 +0x48 testing.tRunner(0x21009cc400, 0x63da78) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 699 [chan receive]: testing.(*T).Parallel(0x2100b2b100) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100b2b100) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestTransportDiscardsUnneededConns(0x2100b2b100) /root/riscv-go/src/net/http/clientserver_test.go:964 +0x38 testing.tRunner(0x2100b2b100, 0x63e678) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 704 [chan receive]: testing.(*T).Parallel(0x2100b2b600) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100b2b600) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTransportRejectsInvalidHeaders(0x2100b2b600, 0x38607831300) /root/riscv-go/src/net/http/clientserver_test.go:1096 +0x38 net/http_test.TestTransportRejectsInvalidHeaders_h1(0x2100b2b600) /root/riscv-go/src/net/http/clientserver_test.go:1090 +0x3c testing.tRunner(0x2100b2b600, 0x63e878) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 433 [chan receive]: testing.(*T).Parallel(0x21009cc500) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21009cc500) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63ea20, 0x210099a680, 0x210099e8a0, 0x0, 0x0, 0x0, 0x0, 0x21009cc500) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.h12requestContentLength(0x21009cc500, 0x63da80, 0x0) /root/riscv-go/src/net/http/clientserver_test.go:515 +0x128 net/http_test.TestH12_RequestContentLength_Known_Zero(0x21009cc500) /root/riscv-go/src/net/http/clientserver_test.go:494 +0x48 testing.tRunner(0x21009cc500, 0x63da88) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1143 [chan receive]: testing.(*T).Parallel(0x2100f07700) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100f07700) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testAutomaticHTTP2_Serve(0x2100f07700, 0x2100ddd500, 0x3867d1ddc00) /root/riscv-go/src/net/http/serve_test.go:1599 +0x34 net/http_test.TestAutomaticHTTP2_Serve_NonH2TLSConfig(0x2100f07700) /root/riscv-go/src/net/http/serve_test.go:1591 +0x54 testing.tRunner(0x2100f07700, 0x63d640) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1159 [chan receive]: testing.(*T).Parallel(0x2100ef5c00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100ef5c00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestTimeoutHandlerRace(0x2100ef5c00) /root/riscv-go/src/net/http/serve_test.go:2367 +0x34 testing.tRunner(0x2100ef5c00, 0x63e4d0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 703 [chan receive]: testing.(*T).Parallel(0x2100b2b500) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100b2b500) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTransportGCRequest(0x2100b2b500, 0x38607680001) /root/riscv-go/src/net/http/clientserver_test.go:1049 +0x38 net/http_test.TestTransportGCRequest_NoBody_h2(0x2100b2b500) /root/riscv-go/src/net/http/clientserver_test.go:1047 +0x44 testing.tRunner(0x2100b2b500, 0x63e700) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 767 [chan receive]: testing.(*T).Parallel(0x2100c15100) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100c15100) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testWriteHeaderAfterWrite(0x2100c15100, 0x386209d0001) /root/riscv-go/src/net/http/clientserver_test.go:1436 +0x38 net/http_test.TestWriteHeaderNoCodeCheck_h2(0x2100c15100) /root/riscv-go/src/net/http/clientserver_test.go:1434 +0x44 testing.tRunner(0x2100c15100, 0x63e998) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1110 [chan receive]: testing.(*T).Parallel(0x2100fa3600) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa3600) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTCPConnectionCloses(0x2100fa3600, 0x62a9d5, 0x2a, 0x6dd000, 0x63dbc0) /root/riscv-go/src/net/http/serve_test.go:1071 +0x38 net/http_test.TestHandlersCanSetConnectionClose10(0x2100fa3600) /root/riscv-go/src/net/http/serve_test.go:1163 +0x60 testing.tRunner(0x2100fa3600, 0x63dbc8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 701 [chan receive]: testing.(*T).Parallel(0x2100b2b300) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100b2b300) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTransportGCRequest(0x2100b2b300, 0x386075b0101) /root/riscv-go/src/net/http/clientserver_test.go:1049 +0x38 net/http_test.TestTransportGCRequest_Body_h2(0x2100b2b300) /root/riscv-go/src/net/http/clientserver_test.go:1045 +0x40 testing.tRunner(0x2100b2b300, 0x63e6f0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 700 [chan receive]: testing.(*T).Parallel(0x2100b2b200) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100b2b200) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTransportGCRequest(0x2100b2b200, 0x38607530100) /root/riscv-go/src/net/http/clientserver_test.go:1049 +0x38 net/http_test.TestTransportGCRequest_Body_h1(0x2100b2b200) /root/riscv-go/src/net/http/clientserver_test.go:1044 +0x44 testing.tRunner(0x2100b2b200, 0x63e6e8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1109 [chan receive]: testing.(*T).Parallel(0x2100fa3500) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa3500) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTCPConnectionCloses(0x2100fa3500, 0x62175b, 0x1f, 0x6dd000, 0x63dbd0) /root/riscv-go/src/net/http/serve_test.go:1071 +0x38 net/http_test.TestHandlersCanSetConnectionClose11(0x2100fa3500) /root/riscv-go/src/net/http/serve_test.go:1157 +0x60 testing.tRunner(0x2100fa3500, 0x63dbd8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1093 [chan receive]: testing.(*T).Parallel(0x2100fa2500) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa2500) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestHostHandlers(0x2100fa2500) /root/riscv-go/src/net/http/serve_test.go:246 +0x38 testing.tRunner(0x2100fa2500, 0x63dca8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1106 [chan receive]: testing.(*T).Parallel(0x2100fa3200) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa3200) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestIdentityResponse(0x2100fa3200) /root/riscv-go/src/net/http/serve_test.go:992 +0x38 testing.tRunner(0x2100fa3200, 0x63dcc0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 712 [chan receive]: testing.(*T).Parallel(0x2100b2be00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100b2be00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63d9c0, 0x0, 0x0, 0x2100c678a0, 0x0, 0x0, 0x0, 0x2100b2be00) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_AutoGzipWithDumpResponse(0x2100b2be00) /root/riscv-go/src/net/http/clientserver_test.go:1256 +0xcc testing.tRunner(0x2100b2be00, 0x63d9c8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 713 [chan receive]: testing.(*T).Parallel(0x2100b2bf00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100b2bf00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testCloseIdleConnections(0x2100b2bf00, 0x38607e6d600) /root/riscv-go/src/net/http/clientserver_test.go:1263 +0x34 net/http_test.TestCloseIdleConnections_h1(0x2100b2bf00) /root/riscv-go/src/net/http/clientserver_test.go:1260 +0x3c testing.tRunner(0x2100b2bf00, 0x63d848) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 714 [chan receive]: testing.(*T).Parallel(0x2100d04000) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100d04000) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testCloseIdleConnections(0x2100d04000, 0x386080e8a01) /root/riscv-go/src/net/http/clientserver_test.go:1263 +0x34 net/http_test.TestCloseIdleConnections_h2(0x2100d04000) /root/riscv-go/src/net/http/clientserver_test.go:1261 +0x3c testing.tRunner(0x2100d04000, 0x63d850) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 765 [chan receive]: testing.(*T).Parallel(0x2100c14f00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100c14f00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testWriteHeaderAfterWrite(0x2100c14f00, 0x38620910000) /root/riscv-go/src/net/http/clientserver_test.go:1436 +0x38 net/http_test.TestWriteHeaderNoCodeCheck_h1(0x2100c14f00) /root/riscv-go/src/net/http/clientserver_test.go:1432 +0x40 testing.tRunner(0x2100c14f00, 0x63e990) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1096 [chan receive]: testing.(*T).Parallel(0x2100fa2800) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa2800) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestServeMuxHandlerRedirects(0x2100fa2800) /root/riscv-go/src/net/http/serve_test.go:414 +0x38 testing.tRunner(0x2100fa2800, 0x63e0a8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1100 [chan receive]: testing.(*T).Parallel(0x2100fa2c00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa2c00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestShouldRedirectConcurrency(0x2100fa2c00) /root/riscv-go/src/net/http/serve_test.go:602 +0x34 testing.tRunner(0x2100fa2c00, 0x63e390) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1108 [chan receive]: testing.(*T).Parallel(0x2100fa3400) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa3400) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTCPConnectionCloses(0x2100fa3400, 0x62df2a, 0x30, 0x6dd000, 0x63d6f0) /root/riscv-go/src/net/http/serve_test.go:1071 +0x38 net/http_test.TestClientCanClose(0x2100fa3400) /root/riscv-go/src/net/http/serve_test.go:1149 +0x60 testing.tRunner(0x2100fa3400, 0x63d6f8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 766 [chan receive]: testing.(*T).Parallel(0x2100c15000) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100c15000) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testWriteHeaderAfterWrite(0x2100c15000, 0x38620970100) /root/riscv-go/src/net/http/clientserver_test.go:1436 +0x38 net/http_test.TestWriteHeaderNoCodeCheck_h1hijack(0x2100c15000) /root/riscv-go/src/net/http/clientserver_test.go:1433 +0x44 testing.tRunner(0x2100c15000, 0x63e988) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1072 [chan receive]: testing.(*T).Parallel(0x2100f07100) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100f07100) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testHeadResponses(0x2100f07100, 0x386775efa01) /root/riscv-go/src/net/http/serve_test.go:1388 +0x38 net/http_test.TestHeadResponses_h2(0x2100f07100) /root/riscv-go/src/net/http/serve_test.go:1385 +0x3c testing.tRunner(0x2100f07100, 0x63dbe8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 768 [chan receive]: testing.(*T).Parallel(0x2100c15200) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100c15200) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestBidiStreamReverseProxy(0x2100c15200) /root/riscv-go/src/net/http/clientserver_test.go:1487 +0x38 testing.tRunner(0x2100c15200, 0x63d678) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 801 [chan receive]: testing.(*T).Parallel(0x2100c15300) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100c15300) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63dac0, 0x63dac8, 0x0, 0x2100db4350, 0x0, 0x0, 0x0, 0x2100c15300) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_WebSocketUpgrade(0x2100c15300) /root/riscv-go/src/net/http/clientserver_test.go:1569 +0xd8 testing.tRunner(0x2100c15300, 0x63dad0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 802 [chan receive]: testing.(*T).Parallel(0x2100c15400) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100c15400) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestServeFile(0x2100c15400) /root/riscv-go/src/net/http/fs_test.go:71 +0x38 testing.tRunner(0x2100c15400, 0x63e078) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 999 [chan receive]: testing.(*T).Parallel(0x2100f06700) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100f06700) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestLinuxSendfile(0x2100f06700) /root/riscv-go/src/net/http/fs_test.go:1094 +0x38 testing.tRunner(0x2100f06700, 0x63dda8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1138 [chan receive]: testing.(*T).Parallel(0x2100f07300) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100f07300) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestTLSServer(0x2100f07300) /root/riscv-go/src/net/http/serve_test.go:1457 +0x38 testing.tRunner(0x2100f07300, 0x63e468) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1105 [chan receive]: testing.(*T).Parallel(0x2100fa3100) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa3100) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestOnlyWriteTimeout(0x2100fa3100) /root/riscv-go/src/net/http/serve_test.go:918 +0x38 testing.tRunner(0x2100fa3100, 0x63de80) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1107 [chan receive]: testing.(*T).Parallel(0x2100fa3300) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa3300) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTCPConnectionCloses(0x2100fa3300, 0x615c55, 0x12, 0x6dd000, 0x63e080) /root/riscv-go/src/net/http/serve_test.go:1071 +0x38 net/http_test.TestServeHTTP10Close(0x2100fa3300) /root/riscv-go/src/net/http/serve_test.go:1142 +0x60 testing.tRunner(0x2100fa3300, 0x63e088) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1142 [chan receive]: testing.(*T).Parallel(0x2100f07600) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100f07600) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testAutomaticHTTP2_Serve(0x2100f07600, 0x0, 0x3867d171201) /root/riscv-go/src/net/http/serve_test.go:1599 +0x34 net/http_test.TestAutomaticHTTP2_Serve_NoTLSConfig(0x2100f07600) /root/riscv-go/src/net/http/serve_test.go:1587 +0x44 testing.tRunner(0x2100f07600, 0x63d638) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1141 [chan receive]: testing.(*T).Parallel(0x2100f07500) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100f07500) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestTLSServerRejectHTTPRequests(0x2100f07500) /root/riscv-go/src/net/http/serve_test.go:1561 +0x38 testing.tRunner(0x2100f07500, 0x63e460) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1095 [chan receive]: testing.(*T).Parallel(0x2100fa2700) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa2700) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestServeMuxHandleFuncWithNilHandler(0x2100fa2700) /root/riscv-go/src/net/http/serve_test.go:389 +0x34 testing.tRunner(0x2100fa2700, 0x63e0a0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1154 [chan receive]: testing.(*T).Parallel(0x2100ef5700) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100ef5700) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestRequestBodyReadErrorClosesConnection(0x2100ef5700) /root/riscv-go/src/net/http/serve_test.go:2110 +0x38 testing.tRunner(0x2100ef5700, 0x63df78) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1155 [chan receive]: testing.(*T).Parallel(0x2100ef5800) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100ef5800) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestInvalidTrailerClosesConnection(0x2100ef5800) /root/riscv-go/src/net/http/serve_test.go:2141 +0x38 testing.tRunner(0x2100ef5800, 0x63dd10) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1099 [chan receive]: testing.(*T).Parallel(0x2100fa2b00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa2b00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestServeWithSlashRedirectForHostPatterns(0x2100fa2b00) /root/riscv-go/src/net/http/serve_test.go:544 +0x38 testing.tRunner(0x2100fa2b00, 0x63e0d0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1098 [chan receive]: testing.(*T).Parallel(0x2100fa2a00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa2a00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestServeWithSlashRedirectKeepsQueryString(0x2100fa2a00) /root/riscv-go/src/net/http/serve_test.go:486 +0x38 testing.tRunner(0x2100fa2a00, 0x63e0e8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1161 [chan receive]: testing.(*T).Parallel(0x2100ef5e00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100ef5e00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestTimeoutHandlerRaceHeaderTimeout(0x2100ef5e00) /root/riscv-go/src/net/http/serve_test.go:2449 +0x38 testing.tRunner(0x2100ef5e00, 0x63e4c0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1157 [chan receive]: testing.(*T).Parallel(0x2100ef5a00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100ef5a00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTimeoutHandler(0x2100ef5a00, 0x38688ef2000) /root/riscv-go/src/net/http/serve_test.go:2310 +0x38 net/http_test.TestTimeoutHandler_h1(0x2100ef5a00) /root/riscv-go/src/net/http/serve_test.go:2307 +0x3c testing.tRunner(0x2100ef5a00, 0x63e4e8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1137 [chan receive]: testing.(*T).Parallel(0x2100f07200) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100f07200) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestTLSHandshakeTimeout(0x2100f07200) /root/riscv-go/src/net/http/serve_test.go:1426 +0x38 testing.tRunner(0x2100f07200, 0x63e438) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1160 [chan receive]: testing.(*T).Parallel(0x2100ef5d00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100ef5d00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestTimeoutHandlerRaceHeader(0x2100ef5d00) /root/riscv-go/src/net/http/serve_test.go:2411 +0x34 testing.tRunner(0x2100ef5d00, 0x63e4c8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1158 [chan receive]: testing.(*T).Parallel(0x2100ef5b00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100ef5b00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTimeoutHandler(0x2100ef5b00, 0x3868932cc01) /root/riscv-go/src/net/http/serve_test.go:2310 +0x38 net/http_test.TestTimeoutHandler_h2(0x2100ef5b00) /root/riscv-go/src/net/http/serve_test.go:2308 +0x3c testing.tRunner(0x2100ef5b00, 0x63e4f0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1056 [runnable]: net/http.(*timeoutHandler).ServeHTTP.func1.1(0x2100eabce0) /root/riscv-go/src/net/http/server.go:3185 +0x7c panic(0x568b00, 0x6d1180) /root/riscv-go/src/runtime/panic.go:522 +0x254 net/http_test.testHandlerPanic.func1(0x6e68a0, 0x2100eabc80, 0x2100edd700) /root/riscv-go/src/net/http/serve_test.go:2770 +0x170 net/http.HandlerFunc.ServeHTTP(0x2100e85d10, 0x6e68a0, 0x2100eabc80, 0x2100edd700) /root/riscv-go/src/net/http/server.go:1995 +0x44 net/http.(*timeoutHandler).ServeHTTP.func1(0x2100eabce0, 0x2100f04580, 0x2100eabc80, 0x2100edd700, 0x2100ecd740) /root/riscv-go/src/net/http/server.go:3188 +0x80 created by net/http.(*timeoutHandler).ServeHTTP /root/riscv-go/src/net/http/server.go:3182 +0x200 goroutine 1094 [chan receive]: testing.(*T).Parallel(0x2100fa2600) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100fa2600) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestServeMuxHandler(0x2100fa2600) /root/riscv-go/src/net/http/serve_test.go:364 +0x38 testing.tRunner(0x2100fa2600, 0x63e0b0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1019 [chan receive]: testing.(*T).Parallel(0x2100edc200) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100edc200) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestNextProtoUpgrade(0x2100edc200) /root/riscv-go/src/net/http/npn_test.go:22 +0x38 testing.tRunner(0x2100edc200, 0x63de28) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1163 [chan receive]: testing.(*T).Parallel(0x2101112000) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101112000) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestTimeoutHandlerEmptyResponse(0x2101112000) /root/riscv-go/src/net/http/serve_test.go:2533 +0x34 testing.tRunner(0x2101112000, 0x63e478) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1071 [chan receive]: testing.(*T).Parallel(0x2100f07000) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100f07000) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testHeadResponses(0x2100f07000, 0x3867759be00) /root/riscv-go/src/net/http/serve_test.go:1388 +0x38 net/http_test.TestHeadResponses_h1(0x2100f07000) /root/riscv-go/src/net/http/serve_test.go:1384 +0x3c testing.tRunner(0x2100f07000, 0x63dbe0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1055 [IO wait]: internal/poll.runtime_pollWait(0x15577cdd28, 0x72, 0xffffffffffffffff) /root/riscv-go/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x2100f0b098, 0x72, 0x0, 0x1, 0xffffffffffffffff) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:87 +0xd8 internal/poll.(*pollDesc).waitRead(...) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x2100f0b080, 0x210108a881, 0x1, 0x1, 0x0, 0x0, 0x0) /root/riscv-go/src/internal/poll/fd_unix.go:169 +0x1f8 net.(*netFD).Read(0x2100f0b080, 0x210108a881, 0x1, 0x1, 0x0, 0x0, 0x0) /root/riscv-go/src/net/fd_unix.go:202 +0x50 net.(*conn).Read(0x21001b4c30, 0x210108a881, 0x1, 0x1, 0x0, 0x0, 0x0) /root/riscv-go/src/net/net.go:177 +0x74 net/http.(*connReader).backgroundRead(0x210108a870) /root/riscv-go/src/net/http/server.go:677 +0x54 created by net/http.(*connReader).startBackgroundRead /root/riscv-go/src/net/http/server.go:673 +0xf0 goroutine 991 [chan receive]: testing.(*T).Parallel(0x2100ef5400) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100ef5400) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestServerUnreadRequestBodyLittle(0x2100ef5400) /root/riscv-go/src/net/http/serve_test.go:1855 +0x38 testing.tRunner(0x2100ef5400, 0x63e330) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1153 [chan receive]: testing.(*T).Parallel(0x2100ef5600) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100ef5600) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestHandlerBodyClose(0x2100ef5600) /root/riscv-go/src/net/http/serve_test.go:2030 +0x38 testing.tRunner(0x2100ef5600, 0x63db58) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1144 [chan receive]: testing.(*T).Parallel(0x2100f07800) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100f07800) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testAutomaticHTTP2_Serve(0x2100f07800, 0x2100ddd800, 0x2ae36301) /root/riscv-go/src/net/http/serve_test.go:1599 +0x34 net/http_test.TestAutomaticHTTP2_Serve_H2TLSConfig(0x2100f07800) /root/riscv-go/src/net/http/serve_test.go:1595 +0xe4 testing.tRunner(0x2100f07800, 0x63d630) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1145 [chan receive]: testing.(*T).Parallel(0x2100f07900) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100f07900) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestAutomaticHTTP2_Serve_WithTLSConfig(0x2100f07900) /root/riscv-go/src/net/http/serve_test.go:1615 +0x34 testing.tRunner(0x2100f07900, 0x63d648) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 990 [chan receive]: testing.(*T).Parallel(0x2100ef5300) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100ef5300) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestServerExpect(0x2100ef5300) /root/riscv-go/src/net/http/serve_test.go:1761 +0x38 testing.tRunner(0x2100ef5300, 0x63e1e0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 992 [chan receive]: testing.(*T).Parallel(0x2100ef5500) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100ef5500) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestServerUnreadRequestBodyLarge(0x2100ef5500) /root/riscv-go/src/net/http/serve_test.go:1896 +0x38 testing.tRunner(0x2100ef5500, 0x63e328) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1169 [select]: net/http.(*timeoutHandler).ServeHTTP(0x2100f04580, 0x6e6860, 0x2100d71180, 0x2100f07d00) /root/riscv-go/src/net/http/server.go:3191 +0x2a8 net/http.serverHandler.ServeHTTP(0x2100d5fa00, 0x6e6860, 0x2100d71180, 0x2100f07d00) /root/riscv-go/src/net/http/server.go:2774 +0xac net/http.(*conn).serve(0x2100e47860, 0x6e74e0, 0x210108e300) /root/riscv-go/src/net/http/server.go:1878 +0xb50 created by net/http.(*Server).Serve /root/riscv-go/src/net/http/server.go:2884 +0x368 goroutine 1164 [select]: net/http.(*persistConn).roundTrip(0x2100e7a900, 0x2100e85f80, 0x0, 0x0, 0x0) /root/riscv-go/src/net/http/transport.go:2174 +0x49c net/http.(*Transport).roundTrip(0x2100e7a5a0, 0x2101112200, 0x0, 0x2100000001, 0x4) /root/riscv-go/src/net/http/transport.go:481 +0xaf4 net/http.(*Transport).RoundTrip(0x2100e7a5a0, 0x2101112200, 0x2100e7a5a0, 0x0, 0x0) /root/riscv-go/src/net/http/roundtrip.go:17 +0x3c net/http.send(0x2101112200, 0x6dc400, 0x2100e7a5a0, 0x0, 0x0, 0x0, 0x0, 0x210000c980, 0x2100e85e60, 0x1) /root/riscv-go/src/net/http/client.go:250 +0x268 net/http.(*Client).send(0x2100e85d40, 0x2101112200, 0x0, 0x0, 0x0, 0x210000c980, 0x0, 0x1, 0x1555558008) /root/riscv-go/src/net/http/client.go:174 +0x118 net/http.(*Client).do(0x2100e85d40, 0x2101112200, 0x0, 0x0, 0x0) /root/riscv-go/src/net/http/client.go:641 +0x2bc net/http.(*Client).Do(...) /root/riscv-go/src/net/http/client.go:509 net/http.(*Client).Get(0x2100e85d40, 0x2100ef2940, 0x16, 0x2101112100, 0x2100e82f50, 0x0) /root/riscv-go/src/net/http/client.go:398 +0xb4 net/http_test.testHandlerPanic(0x2101112100, 0x130000, 0x63e480, 0x568b00, 0x6d1180) /root/riscv-go/src/net/http/serve_test.go:2792 +0x3d0 net/http_test.TestTimeoutHandlerPanicRecovery(0x2101112100) /root/riscv-go/src/net/http/serve_test.go:2559 +0x64 testing.tRunner(0x2101112100, 0x63e488) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1165 [IO wait]: internal/poll.runtime_pollWait(0x15577cdc58, 0x72, 0x0) /root/riscv-go/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x2100ee7418, 0x72, 0x0, 0x0, 0x60f868) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:87 +0xd8 internal/poll.(*pollDesc).waitRead(...) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0x2100ee7400, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /root/riscv-go/src/internal/poll/fd_unix.go:384 +0x22c net.(*netFD).accept(0x2100ee7400, 0x0, 0x210118be60, 0x3b3efc) /root/riscv-go/src/net/fd_unix.go:238 +0x3c net.(*TCPListener).accept(0x210000c960, 0x385c3f6d003b3f00, 0x2100eece40, 0x5a358) /root/riscv-go/src/net/tcpsock_posix.go:139 +0x38 net.(*TCPListener).Accept(0x210000c960, 0x210118bef0, 0x18, 0x2100ed3800, 0x3b9e90) /root/riscv-go/src/net/tcpsock.go:260 +0x58 net/http.(*Server).Serve(0x2100d5fa00, 0x6e6560, 0x210000c960, 0x0, 0x0) /root/riscv-go/src/net/http/server.go:2859 +0x270 net/http/httptest.(*Server).goServe.func1(0x2100eece40) /root/riscv-go/src/net/http/httptest/server.go:298 +0x7c created by net/http/httptest.(*Server).goServe /root/riscv-go/src/net/http/httptest/server.go:296 +0x6c goroutine 1168 [IO wait]: internal/poll.runtime_pollWait(0x15577cdab8, 0x72, 0xffffffffffffffff) /root/riscv-go/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x2100ee7598, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:87 +0xd8 internal/poll.(*pollDesc).waitRead(...) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x2100ee7580, 0x2101071000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /root/riscv-go/src/internal/poll/fd_unix.go:169 +0x1f8 net.(*netFD).Read(0x2100ee7580, 0x2101071000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /root/riscv-go/src/net/fd_unix.go:202 +0x50 net.(*conn).Read(0x210000c988, 0x2101071000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /root/riscv-go/src/net/net.go:177 +0x74 net/http.(*persistConn).Read(0x2100e7a900, 0x2101071000, 0x1000, 0x1000, 0x0, 0x3d3484, 0x21001b23c0) /root/riscv-go/src/net/http/transport.go:1524 +0x194 bufio.(*Reader).fill(0x2100eed140) /root/riscv-go/src/bufio/bufio.go:100 +0x178 bufio.(*Reader).Peek(0x2100eed140, 0x1, 0x2100ecd620, 0x2101183d90, 0x0, 0x0, 0x0) /root/riscv-go/src/bufio/bufio.go:138 +0x54 net/http.(*persistConn).readLoop(0x2100e7a900) /root/riscv-go/src/net/http/transport.go:1677 +0x1b8 created by net/http.(*Transport).dialConn /root/riscv-go/src/net/http/transport.go:1357 +0xe80 goroutine 1185 [select]: net/http.(*persistConn).writeLoop(0x2100e7a900) /root/riscv-go/src/net/http/transport.go:1958 +0xd8 created by net/http.(*Transport).dialConn /root/riscv-go/src/net/http/transport.go:1358 +0xea8 FAIL net/http 9.884s ok net/http/cgi 11.329s ok net/http/cookiejar 1.470s ok net/http/fcgi 2.691s ok net/http/httptest 3.710s ok net/http/httptrace 1.383s panic: test timed out after 9m0s goroutine 58 [running]: testing.(*M).startAlarm.func1() /root/riscv-go/src/testing/testing.go:1334 +0x104 created by time.goFunc /root/riscv-go/src/time/sleep.go:169 +0x54 goroutine 1 [chan receive]: testing.(*T).Run(0x2100260500, 0x4004ad, 0x10, 0x415758, 0x11bd01) /root/riscv-go/src/testing/testing.go:917 +0x3c0 testing.runTests.func1(0x2100226700) /root/riscv-go/src/testing/testing.go:1157 +0x88 testing.tRunner(0x2100226700, 0x2100055e50) /root/riscv-go/src/testing/testing.go:865 +0xf4 testing.runTests(0x21001ca3c0, 0x6a4c00, 0x18, 0x18, 0x0) /root/riscv-go/src/testing/testing.go:1155 +0x2e8 testing.(*M).Run(0x2100224400, 0x0) /root/riscv-go/src/testing/testing.go:1072 +0x194 main.main() _testmain.go:100 +0x190 goroutine 37 [select]: net/http.(*persistConn).roundTrip(0x21001e8c60, 0x2100195650, 0x0, 0x0, 0x0) /root/riscv-go/src/net/http/transport.go:2174 +0x49c net/http.(*Transport).roundTrip(0x2100274a20, 0x2100226a00, 0x0, 0x0, 0x0) /root/riscv-go/src/net/http/transport.go:481 +0xaf4 net/http.(*Transport).RoundTrip(0x2100274a20, 0x2100226a00, 0x2100274a20, 0x0, 0x0) /root/riscv-go/src/net/http/roundtrip.go:17 +0x3c net/http.send(0x2100226a00, 0x472920, 0x2100274a20, 0x0, 0x0, 0x0, 0x0, 0x210019e088, 0x21001955c0, 0x1) /root/riscv-go/src/net/http/client.go:250 +0x268 net/http.(*Client).send(0x2100264de0, 0x2100226a00, 0x0, 0x0, 0x0, 0x210019e088, 0x0, 0x1, 0x15555586d0) /root/riscv-go/src/net/http/client.go:174 +0x118 net/http.(*Client).do(0x2100264de0, 0x2100226a00, 0x0, 0x0, 0x0) /root/riscv-go/src/net/http/client.go:641 +0x2bc net/http.(*Client).Do(...) /root/riscv-go/src/net/http/client.go:509 net/http/httputil.TestReverseProxy(0x2100260500) /root/riscv-go/src/net/http/httputil/reverseproxy_test.go:140 +0x1028 testing.tRunner(0x2100260500, 0x415758) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 28 [IO wait]: internal/poll.runtime_pollWait(0x15577cdd28, 0x72, 0xffffffffffffffff) /root/riscv-go/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x2100224718, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:87 +0xd8 internal/poll.(*pollDesc).waitRead(...) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x2100224700, 0x21003a4000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /root/riscv-go/src/internal/poll/fd_unix.go:169 +0x1f8 net.(*netFD).Read(0x2100224700, 0x21003a4000, 0x1000, 0x1000, 0x21001e2aa0, 0x21001ca400, 0x101d38) /root/riscv-go/src/net/fd_unix.go:202 +0x50 net.(*conn).Read(0x210019e090, 0x21003a4000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /root/riscv-go/src/net/net.go:177 +0x74 net/http.(*persistConn).Read(0x21001e8c60, 0x21003a4000, 0x1000, 0x1000, 0x0, 0x315688, 0x2100000008) /root/riscv-go/src/net/http/transport.go:1524 +0x194 bufio.(*Reader).fill(0x21001a0f00) /root/riscv-go/src/bufio/bufio.go:100 +0x178 bufio.(*Reader).Peek(0x21001a0f00, 0x1, 0x2100190c00, 0x2100387d90, 0x1555562718, 0xa, 0x6ab860) /root/riscv-go/src/bufio/bufio.go:138 +0x54 net/http.(*persistConn).readLoop(0x21001e8c60) /root/riscv-go/src/net/http/transport.go:1677 +0x1b8 created by net/http.(*Transport).dialConn /root/riscv-go/src/net/http/transport.go:1357 +0xe80 goroutine 39 [IO wait]: internal/poll.runtime_pollWait(0x15577cdec8, 0x72, 0x0) /root/riscv-go/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x2100262398, 0x72, 0x0, 0x0, 0x3fd78d) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:87 +0xd8 internal/poll.(*pollDesc).waitRead(...) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0x2100262380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /root/riscv-go/src/internal/poll/fd_unix.go:384 +0x22c net.(*netFD).accept(0x2100262380, 0x2100000000, 0x21002ebe60, 0x2f9f0c) /root/riscv-go/src/net/fd_unix.go:238 +0x3c net.(*TCPListener).accept(0x210000c060, 0x32616205002f9f00, 0x21000eac00, 0x59a70) /root/riscv-go/src/net/tcpsock_posix.go:139 +0x38 net.(*TCPListener).Accept(0x210000c060, 0x21002ebef0, 0x18, 0x2100000f00, 0x2fef98) /root/riscv-go/src/net/tcpsock.go:260 +0x58 net/http.(*Server).Serve(0x210024a0d0, 0x4788c0, 0x210000c060, 0x0, 0x0) /root/riscv-go/src/net/http/server.go:2859 +0x270 net/http/httptest.(*Server).goServe.func1(0x21000eac00) /root/riscv-go/src/net/http/httptest/server.go:298 +0x7c created by net/http/httptest.(*Server).goServe /root/riscv-go/src/net/http/httptest/server.go:296 +0x6c goroutine 38 [IO wait]: internal/poll.runtime_pollWait(0x15577cdf98, 0x72, 0x0) /root/riscv-go/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x2100262298, 0x72, 0x0, 0x0, 0x3fd78d) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:87 +0xd8 internal/poll.(*pollDesc).waitRead(...) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0x2100262280, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /root/riscv-go/src/internal/poll/fd_unix.go:384 +0x22c net.(*netFD).accept(0x2100262280, 0x0, 0x2100363e60, 0x2f9f0c) /root/riscv-go/src/net/fd_unix.go:238 +0x3c net.(*TCPListener).accept(0x210000c058, 0x2ec8d4ad002f9f00, 0x21000eaba0, 0x59a70) /root/riscv-go/src/net/tcpsock_posix.go:139 +0x38 net.(*TCPListener).Accept(0x210000c058, 0x2100363ef0, 0x18, 0x2100001200, 0x2fef98) /root/riscv-go/src/net/tcpsock.go:260 +0x58 net/http.(*Server).Serve(0x210024a000, 0x4788c0, 0x210000c058, 0x0, 0x0) /root/riscv-go/src/net/http/server.go:2859 +0x270 net/http/httptest.(*Server).goServe.func1(0x21000eaba0) /root/riscv-go/src/net/http/httptest/server.go:298 +0x7c created by net/http/httptest.(*Server).goServe /root/riscv-go/src/net/http/httptest/server.go:296 +0x6c goroutine 30 [semacquire]: sync.runtime_SemacquireMutex(0x21003901fc, 0x900000000) /root/riscv-go/src/runtime/sema.go:71 +0x44 sync.(*Mutex).Lock(0x21003901f8) /root/riscv-go/src/sync/mutex.go:134 +0x1a8 net/http.(*persistConn).canceled(0x2100390120, 0x0, 0x0) /root/riscv-go/src/net/http/transport.go:1543 +0x50 net/http.(*persistConn).mapRoundTripError(0x2100390120, 0x2100195a10, 0x84, 0x4736c0, 0x210009e7c0, 0x71c68, 0xf) /root/riscv-go/src/net/http/transport.go:1606 +0x50 net/http.(*persistConn).roundTrip(0x2100390120, 0x2100195a10, 0x0, 0x0, 0x0) /root/riscv-go/src/net/http/transport.go:2210 +0x888 net/http.(*Transport).roundTrip(0x6a4460, 0x2100226c00, 0x387c60, 0x2100209601, 0x2100209600) /root/riscv-go/src/net/http/transport.go:481 +0xaf4 net/http.(*Transport).RoundTrip(0x6a4460, 0x2100226c00, 0x3fff5e, 0xf, 0x21002096b8) /root/riscv-go/src/net/http/roundtrip.go:17 +0x3c net/http/httputil.(*ReverseProxy).ServeHTTP(0x2100272190, 0x478b40, 0x21003aa000, 0x2100226b00) /root/riscv-go/src/net/http/httputil/reverseproxy.go:259 +0x38c net/http.serverHandler.ServeHTTP(0x210024a0d0, 0x478b40, 0x21003aa000, 0x2100226b00) /root/riscv-go/src/net/http/server.go:2774 +0xac net/http.(*conn).serve(0x21001e2be0, 0x4791c0, 0x21001c2c40) /root/riscv-go/src/net/http/server.go:1878 +0xb50 created by net/http.(*Server).Serve /root/riscv-go/src/net/http/server.go:2884 +0x368 goroutine 29 [select]: net/http.(*persistConn).writeLoop(0x21001e8c60) /root/riscv-go/src/net/http/transport.go:1958 +0xd8 created by net/http.(*Transport).dialConn /root/riscv-go/src/net/http/transport.go:1358 +0xea8 goroutine 31 [IO wait]: internal/poll.runtime_pollWait(0x15577cddf8, 0x72, 0xffffffffffffffff) /root/riscv-go/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x2100224798, 0x72, 0x0, 0x1, 0xffffffffffffffff) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:87 +0xd8 internal/poll.(*pollDesc).waitRead(...) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x2100224780, 0x21001958a1, 0x1, 0x1, 0x0, 0x0, 0x0) /root/riscv-go/src/internal/poll/fd_unix.go:169 +0x1f8 net.(*netFD).Read(0x2100224780, 0x21001958a1, 0x1, 0x1, 0x0, 0x0, 0x0) /root/riscv-go/src/net/fd_unix.go:202 +0x50 net.(*conn).Read(0x210019e098, 0x21001958a1, 0x1, 0x1, 0x0, 0x0, 0x0) /root/riscv-go/src/net/net.go:177 +0x74 net/http.(*connReader).backgroundRead(0x2100195890) /root/riscv-go/src/net/http/server.go:677 +0x54 created by net/http.(*connReader).startBackgroundRead /root/riscv-go/src/net/http/server.go:673 +0xf0 goroutine 32 [select]: net/http/httputil.(*ReverseProxy).ServeHTTP.func1(0x21003a8000, 0x21001930d0, 0x4791c0, 0x21001c2e00) /root/riscv-go/src/net/http/httputil/reverseproxy.go:201 +0x98 created by net/http/httputil.(*ReverseProxy).ServeHTTP /root/riscv-go/src/net/http/httputil/reverseproxy.go:200 +0x1718 FAIL net/http/httputil 541.995s ok net/http/internal 1.389s ok net/http/pprof 3.426s ok net/internal/socktest 0.825s ok net/mail 0.834s ok net/rpc 2.033s ok net/rpc/jsonrpc 1.488s ok net/smtp 1.406s ok net/textproto 0.651s ok net/url 1.064s ok os 4.607s ok os/exec 5.496s ok os/signal 7.892s ok os/user 0.617s ok path 4.671s ok path/filepath 1.661s ok plugin 0.765s ok reflect 6.602s ok regexp 3.787s ok regexp/syntax 9.755s --- FAIL: TestSelectStackAdjust (0.76s) chan_test.go:723: failed to trigger concurrent GC unexpected fault address 0x8001c2820 fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0x8001c2820 pc=0x2379c] goroutine 22394 [running]: runtime.throw(0x385e44, 0x5) /root/riscv-go/src/runtime/panic.go:617 +0x88 fp=0x2100ab8d18 sp=0x2100ab8cf0 pc=0x4f550 runtime.sigpanic() /root/riscv-go/src/runtime/signal_unix.go:397 +0x504 fp=0x2100ab8d48 sp=0x2100ab8d18 pc=0x6d41c runtime.evacuate(0x332f20, 0x2100ab9ee8, 0x6) /root/riscv-go/src/runtime/map.go:1173 +0x224 fp=0x2100ab8e18 sp=0x2100ab8d50 pc=0x2379c runtime.growWork(0x332f20, 0x2100ab9ee8, 0xa) /root/riscv-go/src/runtime/map.go:1119 +0xf0 fp=0x2100ab8e38 sp=0x2100ab8e18 pc=0x23568 runtime.mapassign(0x332f20, 0x2100ab9ee8, 0x2100ab96e8, 0x21005a9800) /root/riscv-go/src/runtime/map.go:606 +0x818 fp=0x2100ab8eb8 sp=0x2100ab8e38 pc=0x218c0 runtime_test.TestGcMapIndirection(0x2107516000) /root/riscv-go/src/runtime/gc_test.go:63 +0x190 fp=0x2100ab9fa8 sp=0x2100ab8eb8 pc=0x2854f8 testing.tRunner(0x2107516000, 0x39b858) /root/riscv-go/src/testing/testing.go:865 +0xf4 fp=0x2100ab9fc8 sp=0x2100ab9fa8 pc=0x140d04 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv.s:469 +0x4 fp=0x2100ab9fc8 sp=0x2100ab9fc8 pc=0x9067c created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1 [chan receive, locked to thread]: runtime.gopark(0x39aa10, 0x2100192358, 0x122000019170d, 0x3) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2100055bb0 sp=0x2100055b88 pc=0x51ce0 runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 runtime.chanrecv(0x2100192300, 0x2100055cbf, 0x2100000101, 0x141118) /root/riscv-go/src/runtime/chan.go:524 +0x374 fp=0x2100055c38 sp=0x2100055bb0 pc=0x15bb4 runtime.chanrecv1(0x2100192300, 0x2100055cbf) /root/riscv-go/src/runtime/chan.go:406 +0x2c fp=0x2100055c60 sp=0x2100055c38 pc=0x157f4 testing.(*T).Run(0x2107516000, 0x38beb5, 0x14, 0x39b858, 0x140c01) /root/riscv-go/src/testing/testing.go:917 +0x3c0 fp=0x2100055d08 sp=0x2100055c60 pc=0x141140 testing.runTests.func1(0x21001e8100) /root/riscv-go/src/testing/testing.go:1157 +0x88 fp=0x2100055d50 sp=0x2100055d08 pc=0x1454e0 testing.tRunner(0x21001e8100, 0x2100055e08) /root/riscv-go/src/testing/testing.go:865 +0xf4 fp=0x2100055d70 sp=0x2100055d50 pc=0x140d04 testing.runTests(0x210000a260, 0x5dce40, 0xef, 0xef, 0x0) /root/riscv-go/src/testing/testing.go:1155 +0x2e8 fp=0x2100055e28 sp=0x2100055d70 pc=0x142630 testing.(*M).Run(0x21001ce200, 0x0) /root/riscv-go/src/testing/testing.go:1072 +0x194 fp=0x2100055ef0 sp=0x2100055e28 pc=0x1415fc runtime_test.TestMain(0x21001ce200) /root/riscv-go/src/runtime/crash_test.go:28 +0x34 fp=0x2100055f38 sp=0x2100055ef0 pc=0x27af34 main.main() _testmain.go:980 +0x190 fp=0x2100055f98 sp=0x2100055f38 pc=0x2e2368 runtime.main() /root/riscv-go/src/runtime/proc.go:200 +0x290 fp=0x2100055fd8 sp=0x2100055f98 pc=0x516d0 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv.s:469 +0x4 fp=0x2100055fd8 sp=0x2100055fd8 pc=0x9067c goroutine 2 [force gc (idle)]: runtime.gopark(0x39aa10, 0x5df380, 0x1410, 0x1) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2100183fb0 sp=0x2100183f88 pc=0x51ce0 runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 runtime.forcegchelper() /root/riscv-go/src/runtime/proc.go:250 +0x118 fp=0x2100183fd8 sp=0x2100183fb0 pc=0x51ab8 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv.s:469 +0x4 fp=0x2100183fd8 sp=0x2100183fd8 pc=0x9067c created by runtime.init.4 /root/riscv-go/src/runtime/proc.go:239 +0x40 goroutine 17 [GC sweep wait]: runtime.gopark(0x39aa10, 0x5df780, 0x140c, 0x1) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2100191fa8 sp=0x2100191f80 pc=0x51ce0 runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 runtime.bgsweep(0x2100184000) /root/riscv-go/src/runtime/mgcsweep.go:89 +0x1f4 fp=0x2100191fd0 sp=0x2100191fa8 pc=0x3e5f4 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv.s:469 +0x4 fp=0x2100191fd0 sp=0x2100191fd0 pc=0x9067c created by runtime.gcenable /root/riscv-go/src/runtime/mgc.go:208 +0x68 goroutine 3 [finalizer wait]: runtime.gopark(0x39aa10, 0x5f9290, 0x210750140f, 0x1) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x21001a9f50 sp=0x21001a9f28 pc=0x51ce0 runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 runtime.runfinq() /root/riscv-go/src/runtime/mfinal.go:175 +0xe8 fp=0x21001a9fd8 sp=0x21001a9f50 pc=0x313e0 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv.s:469 +0x4 fp=0x21001a9fd8 sp=0x21001a9fd8 pc=0x9067c created by runtime.createfing /root/riscv-go/src/runtime/mfinal.go:156 +0x98 goroutine 4 [syscall]: runtime.notetsleepg(0x5e1300, 0xdf83487a6, 0x1) /root/riscv-go/src/runtime/lock_futex.go:227 +0x44 fp=0x2100243f60 sp=0x2100243f38 pc=0x1ca44 runtime.timerproc(0x5e12e0) /root/riscv-go/src/runtime/time.go:311 +0x3c8 fp=0x2100243fd0 sp=0x2100243f60 pc=0x7b088 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv.s:469 +0x4 fp=0x2100243fd0 sp=0x2100243fd0 pc=0x9067c created by runtime.(*timersBucket).addtimerLocked /root/riscv-go/src/runtime/time.go:169 +0x180 goroutine 36 [syscall]: runtime.notetsleepg(0x5e1420, 0xdf83a34c2, 0x1414) /root/riscv-go/src/runtime/lock_futex.go:227 +0x44 fp=0x2100355f60 sp=0x2100355f38 pc=0x1ca44 runtime.timerproc(0x5e1400) /root/riscv-go/src/runtime/time.go:311 +0x3c8 fp=0x2100355fd0 sp=0x2100355f60 pc=0x7b088 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv.s:469 +0x4 fp=0x2100355fd0 sp=0x2100355fd0 pc=0x9067c created by runtime.(*timersBucket).addtimerLocked /root/riscv-go/src/runtime/time.go:169 +0x180 goroutine 50 [syscall]: runtime.notetsleepg(0x5e13c0, 0xdf8429d14, 0x1414) /root/riscv-go/src/runtime/lock_futex.go:227 +0x44 fp=0x2100369f60 sp=0x2100369f38 pc=0x1ca44 runtime.timerproc(0x5e13a0) /root/riscv-go/src/runtime/time.go:311 +0x3c8 fp=0x2100369fd0 sp=0x2100369f60 pc=0x7b088 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv.s:469 +0x4 fp=0x2100369fd0 sp=0x2100369fd0 pc=0x9067c created by runtime.(*timersBucket).addtimerLocked /root/riscv-go/src/runtime/time.go:169 +0x180 goroutine 20 [syscall]: runtime.notetsleepg(0x5e1360, 0xdf7c53fb2, 0x1414) /root/riscv-go/src/runtime/lock_futex.go:227 +0x44 fp=0x2100371f60 sp=0x2100371f38 pc=0x1ca44 runtime.timerproc(0x5e1340) /root/riscv-go/src/runtime/time.go:311 +0x3c8 fp=0x2100371fd0 sp=0x2100371f60 pc=0x7b088 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv.s:469 +0x4 fp=0x2100371fd0 sp=0x2100371fd0 pc=0x9067c created by runtime.(*timersBucket).addtimerLocked /root/riscv-go/src/runtime/time.go:169 +0x180 goroutine 22572 [chan receive]: runtime.gopark(0x39aa10, 0x2100192298, 0x210018170d, 0x3) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x21081a9a50 sp=0x21081a9a28 pc=0x51ce0 runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 runtime.chanrecv(0x2100192240, 0x0, 0x140901, 0x210752dc01) /root/riscv-go/src/runtime/chan.go:524 +0x374 fp=0x21081a9ad8 sp=0x21081a9a50 pc=0x15bb4 runtime.chanrecv1(0x2100192240, 0x0) /root/riscv-go/src/runtime/chan.go:406 +0x2c fp=0x21081a9b00 sp=0x21081a9ad8 pc=0x157f4 testing.(*T).Parallel(0x2108218200) /root/riscv-go/src/testing/testing.go:770 +0x1f8 fp=0x21081a9b80 sp=0x21081a9b00 pc=0x1409e0 runtime_test.TestCrashDumpsAllThreads(0x2108218200) /root/riscv-go/src/runtime/crash_unix_test.go:54 +0x88 fp=0x21081a9fa8 sp=0x21081a9b80 pc=0x281bd0 testing.tRunner(0x2108218200, 0x39b708) /root/riscv-go/src/testing/testing.go:865 +0xf4 fp=0x21081a9fc8 sp=0x21081a9fa8 pc=0x140d04 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv.s:469 +0x4 fp=0x21081a9fc8 sp=0x21081a9fc8 pc=0x9067c created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 22539 [chan receive]: runtime.gopark(0x39aa10, 0x2100192298, 0x210018170d, 0x3) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2108195d48 sp=0x2108195d20 pc=0x51ce0 runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 runtime.chanrecv(0x2100192240, 0x0, 0x140901, 0x2107510601) /root/riscv-go/src/runtime/chan.go:524 +0x374 fp=0x2108195dd0 sp=0x2108195d48 pc=0x15bb4 runtime.chanrecv1(0x2100192240, 0x0) /root/riscv-go/src/runtime/chan.go:406 +0x2c fp=0x2108195df8 sp=0x2108195dd0 pc=0x157f4 testing.(*T).Parallel(0x2107517400) /root/riscv-go/src/testing/testing.go:770 +0x1f8 fp=0x2108195e78 sp=0x2108195df8 pc=0x1409e0 runtime_test.TestPanicTraceback(0x2107517400) /root/riscv-go/src/runtime/crash_test.go:414 +0x38 fp=0x2108195fa8 sp=0x2108195e78 pc=0x27e340 testing.tRunner(0x2107517400, 0x39bc08) /root/riscv-go/src/testing/testing.go:865 +0xf4 fp=0x2108195fc8 sp=0x2108195fa8 pc=0x140d04 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv.s:469 +0x4 fp=0x2108195fc8 sp=0x2108195fc8 pc=0x9067c created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 22538 [chan receive]: runtime.gopark(0x39aa10, 0x2100192298, 0x210018170d, 0x3) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x21080dbde8 sp=0x21080dbdc0 pc=0x51ce0 runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 runtime.chanrecv(0x2100192240, 0x0, 0x140901, 0x210000c101) /root/riscv-go/src/runtime/chan.go:524 +0x374 fp=0x21080dbe70 sp=0x21080dbde8 pc=0x15bb4 runtime.chanrecv1(0x2100192240, 0x0) /root/riscv-go/src/runtime/chan.go:406 +0x2c fp=0x21080dbe98 sp=0x21080dbe70 pc=0x157f4 testing.(*T).Parallel(0x2107517300) /root/riscv-go/src/testing/testing.go:770 +0x1f8 fp=0x21080dbf18 sp=0x21080dbe98 pc=0x1409e0 runtime_test.TestNetpollDeadlock(0x2107517300) /root/riscv-go/src/runtime/crash_test.go:405 +0x38 fp=0x21080dbfa8 sp=0x21080dbf18 pc=0x27e150 testing.tRunner(0x2107517300, 0x39bb10) /root/riscv-go/src/testing/testing.go:865 +0xf4 fp=0x21080dbfc8 sp=0x21080dbfa8 pc=0x140d04 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv.s:469 +0x4 fp=0x21080dbfc8 sp=0x21080dbfc8 pc=0x9067c created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 2464 [GC worker (idle)]: runtime.gopark(0x39a860, 0x21000127c0, 0xffff1417, 0x0) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2100afbf50 sp=0x2100afbf28 pc=0x51ce0 runtime.gcBgMarkWorker(0x2100024a00) /root/riscv-go/src/runtime/mgc.go:1836 +0x140 fp=0x2100afbfd0 sp=0x2100afbf50 pc=0x36570 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv.s:469 +0x4 fp=0x2100afbfd0 sp=0x2100afbfd0 pc=0x9067c created by runtime.gcBgMarkStartWorkers /root/riscv-go/src/runtime/mgc.go:1784 +0xc0 goroutine 2463 [GC worker (idle)]: runtime.gopark(0x39a860, 0x21000127b0, 0xffff1417, 0x0) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2100af3f50 sp=0x2100af3f28 pc=0x51ce0 runtime.gcBgMarkWorker(0x2100022500) /root/riscv-go/src/runtime/mgc.go:1836 +0x140 fp=0x2100af3fd0 sp=0x2100af3f50 pc=0x36570 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv.s:469 +0x4 fp=0x2100af3fd0 sp=0x2100af3fd0 pc=0x9067c created by runtime.gcBgMarkStartWorkers /root/riscv-go/src/runtime/mgc.go:1784 +0xc0 goroutine 2462 [GC worker (idle)]: runtime.systemstack_switch() /root/riscv-go/src/runtime/asm_riscv.s:93 +0x8 fp=0x2100aebf00 sp=0x2100aebef8 pc=0x8e4d0 runtime.gcMarkDone() /root/riscv-go/src/runtime/mgc.go:1419 +0xec fp=0x2100aebf50 sp=0x2100aebf00 pc=0x351fc runtime.gcBgMarkWorker(0x2100020000) /root/riscv-go/src/runtime/mgc.go:1963 +0x3b0 fp=0x2100aebfd0 sp=0x2100aebf50 pc=0x367e0 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv.s:469 +0x4 fp=0x2100aebfd0 sp=0x2100aebfd0 pc=0x9067c created by runtime.gcBgMarkStartWorkers /root/riscv-go/src/runtime/mgc.go:1784 +0xc0 goroutine 2465 [GC worker (idle)]: runtime.gopark(0x39a860, 0x21000127d0, 0xffff1417, 0x0) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2100b4ff50 sp=0x2100b4ff28 pc=0x51ce0 runtime.gcBgMarkWorker(0x2100026f00) /root/riscv-go/src/runtime/mgc.go:1836 +0x140 fp=0x2100b4ffd0 sp=0x2100b4ff50 pc=0x36570 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv.s:469 +0x4 fp=0x2100b4ffd0 sp=0x2100b4ffd0 pc=0x9067c created by runtime.gcBgMarkStartWorkers /root/riscv-go/src/runtime/mgc.go:1784 +0xc0 goroutine 2413 [select]: runtime.gopark(0x39aa60, 0x0, 0x1809, 0x1) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x210083fda0 sp=0x210083fd78 pc=0x51ce0 runtime.selectgo(0x210083ff28, 0x210083fee8, 0x4, 0x2100192420, 0x2c5ed8) /root/riscv-go/src/runtime/select.go:313 +0xc80 fp=0x210083feb0 sp=0x210083fda0 pc=0x679c8 runtime_test.TestSelectStackAdjust.func1(0x2100ab01e0, 0x1) /root/riscv-go/src/runtime/chan_test.go:684 +0x120 fp=0x210083ffc8 sp=0x210083feb0 pc=0x2c6070 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv.s:469 +0x4 fp=0x210083ffc8 sp=0x210083ffc8 pc=0x9067c created by runtime_test.TestSelectStackAdjust /root/riscv-go/src/runtime/chan_test.go:706 +0x21c goroutine 2412 [select]: runtime.gopark(0x39aa60, 0x0, 0x1809, 0x1) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2100315da0 sp=0x2100315d78 pc=0x51ce0 runtime.selectgo(0x2100315f28, 0x2100315ee8, 0x4, 0x0, 0x0) /root/riscv-go/src/runtime/select.go:313 +0xc80 fp=0x2100315eb0 sp=0x2100315da0 pc=0x679c8 runtime_test.TestSelectStackAdjust.func1(0x2100ab0180, 0x0) /root/riscv-go/src/runtime/chan_test.go:684 +0x120 fp=0x2100315fc8 sp=0x2100315eb0 pc=0x2c6070 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv.s:469 +0x4 fp=0x2100315fc8 sp=0x2100315fc8 pc=0x9067c created by runtime_test.TestSelectStackAdjust /root/riscv-go/src/runtime/chan_test.go:705 +0x1d8 FAIL runtime 48.893s ok runtime/debug 1.999s ok runtime/internal/atomic 1.463s ok runtime/internal/math 0.813s ok runtime/internal/sys 0.834s ok runtime/pprof 14.449s ok runtime/pprof/internal/profile 1.022s ok runtime/trace 34.347s ok sort 3.993s ok strconv 7.677s ok strings 3.957s ok sync 7.690s ok sync/atomic 1.379s ok syscall 22.719s ok testing 5.086s ok testing/quick 3.101s ok text/scanner 1.294s ok text/tabwriter 0.989s ok text/template 9.243s ok text/template/parse 2.418s ok time 9.013s ok unicode 1.668s ok unicode/utf16 1.291s ok unicode/utf8 1.145s ok cmd/addr2line 38.848s ok cmd/api 1.983s --- FAIL: TestRISCVEncoder (0.51s) endtoend_test.go:156: mismatched output: have 00001 (testdata/riscvenc.s:1) TEXT asmtest(SB), DUPOK|NOSPLIT, $0 want 00001 (testdata/riscvenc.s:1) TEXT asmtest(SB), 7, $0 endtoend_test.go:156: mismatched output: have 00001 (testdata/riscvfarbranch.s:1) TEXT asmtest(SB), DUPOK|NOSPLIT, $0 want 00001 (testdata/riscvfarbranch.s:1) TEXT asmtest(SB), 7, $0 FAIL FAIL cmd/asm/internal/asm 21.022s ok cmd/asm/internal/lex 0.986s ok cmd/compile 5.180s /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory /root/riscv-go/pkg/tool/linux_riscv/vet: fork/exec /root/riscv-go/pkg/tool/linux_riscv/vet: cannot allocate memory --- FAIL: TestCode (84.57s) ssa_test.go:173: Build failed: exit status 2 # command-line-arguments [command-line-arguments.test] testdata/compound_test.go:60:52: internal compiler error: 'testComplex64': bad int32 AuxInt value for v200 Please file a bug report including a short program that triggers the error. https://golang.org/issue/new FAIL FAIL cmd/compile/internal/gc 195.888s ok cmd/compile/internal/ssa 20.623s ok cmd/compile/internal/syntax 2.405s ok cmd/compile/internal/test 1.637s [no tests to run] ok cmd/compile/internal/types 1.913s ok cmd/cover 114.027s ok cmd/doc 7.366s ok cmd/fix 215.780s FAIL cmd/go [build failed] ok cmd/go/internal/cache 13.339s ok cmd/go/internal/dirhash 1.118s ok cmd/go/internal/generate 2.565s ok cmd/go/internal/get 2.486s ok cmd/go/internal/imports 1.490s ok cmd/go/internal/load 1.890s FAIL cmd/go/internal/lockedfile [build failed] FAIL cmd/go/internal/lockedfile/internal/filelock [build failed] ok cmd/go/internal/modconv 3.236s ok cmd/go/internal/modfetch 3.563s ok cmd/go/internal/modfetch/codehost 1.439s ok cmd/go/internal/modfile 1.789s ok cmd/go/internal/modload 3.569s ok cmd/go/internal/module 1.119s ok cmd/go/internal/mvs 2.143s ok cmd/go/internal/par 3.036s ok cmd/go/internal/search 2.430s ok cmd/go/internal/semver 1.174s ok cmd/go/internal/txtar 1.028s ok cmd/go/internal/web2 2.378s ok cmd/go/internal/work 2.028s ok cmd/gofmt 2.932s ok cmd/internal/buildid 9.046s ok cmd/internal/dwarf 1.323s ok cmd/internal/edit 1.038s ok cmd/internal/goobj 5.148s ok cmd/internal/obj 1.045s ok cmd/internal/obj/arm64 2.643s ok cmd/internal/obj/x86 66.033s ok cmd/internal/objabi 0.828s ok cmd/internal/src 1.742s ok cmd/internal/test2json 4.906s ok cmd/link 17.206s ok cmd/link/internal/ld 54.774s ok cmd/link/internal/sym 1.223s ok cmd/nm 45.902s --- FAIL: TestDisasm (13.65s) objdump_test.go:140: objdump fmthello.exe: exit status 1 objdump: disassemble /tmp/TestObjDump242091507/hello.exe: unsupported architecture --- FAIL: TestDisasmCode (4.90s) objdump_test.go:140: objdump fmthello.exe: exit status 1 objdump: disassemble /tmp/TestObjDump242091507/hello.exe: unsupported architecture --- FAIL: TestDisasmGoobj (1.04s) objdump_test.go:233: objdump fmthello.o: exit status 1 objdump: disassemble /tmp/TestObjDump242091507/hello.o: unsupported architecture FAIL FAIL cmd/objdump 45.296s ok cmd/pack 54.359s ok cmd/trace 3.013s ok cmd/vendor/github.com/google/pprof/internal/binutils 3.816s ok cmd/vendor/github.com/google/pprof/internal/driver 11.458s ok cmd/vendor/github.com/google/pprof/internal/elfexec 0.978s ok cmd/vendor/github.com/google/pprof/internal/graph 1.263s ok cmd/vendor/github.com/google/pprof/internal/measurement 11.598s ok cmd/vendor/github.com/google/pprof/internal/report 4.032s ok cmd/vendor/github.com/google/pprof/internal/symbolizer 2.143s ok cmd/vendor/github.com/google/pprof/internal/symbolz 1.985s ok cmd/vendor/github.com/google/pprof/profile 4.034s ok cmd/vendor/github.com/ianlancetaylor/demangle 1.975s ok cmd/vendor/golang.org/x/arch/arm/armasm 1.826s ok cmd/vendor/golang.org/x/arch/arm64/arm64asm 6.399s ok cmd/vendor/golang.org/x/arch/ppc64/ppc64asm 1.308s ok cmd/vendor/golang.org/x/arch/x86/x86asm 8.067s ok cmd/vendor/golang.org/x/crypto/ssh/terminal 3.411s ok cmd/vendor/golang.org/x/sys/unix 2.612s panic: test timed out after 9m0s goroutine 55 [running]: testing.(*M).startAlarm.func1() /root/riscv-go/src/testing/testing.go:1334 +0x104 created by time.goFunc /root/riscv-go/src/time/sleep.go:169 +0x54 goroutine 1 [chan receive]: testing.tRunner.func1(0x2100260300) /root/riscv-go/src/testing/testing.go:841 +0x21c testing.tRunner(0x2100260300, 0x2100055e20) /root/riscv-go/src/testing/testing.go:869 +0x104 testing.runTests(0x21001fd0c0, 0x653e80, 0x2, 0x2, 0x0) /root/riscv-go/src/testing/testing.go:1155 +0x2e8 testing.(*M).Run(0x2100240500, 0x0) /root/riscv-go/src/testing/testing.go:1072 +0x194 cmd/vet_test.TestMain(0x2100240500) /root/riscv-go/src/cmd/vet/vet_test.go:31 +0x34 main.main() _testmain.go:44 +0x190 goroutine 19 [chan receive]: testing.tRunner.func1(0x2100260400) /root/riscv-go/src/testing/testing.go:841 +0x21c testing.tRunner(0x2100260400, 0x3f68a8) /root/riscv-go/src/testing/testing.go:869 +0x104 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 20 [chan send]: testing.tRunner.func1(0x2100260500) /root/riscv-go/src/testing/testing.go:860 +0x294 testing.tRunner(0x2100260500, 0x3f68a0) /root/riscv-go/src/testing/testing.go:869 +0x104 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 21 [chan receive]: testing.runTests.func1.1(0x2100260300) /root/riscv-go/src/testing/testing.go:1162 +0x40 created by testing.runTests.func1 /root/riscv-go/src/testing/testing.go:1162 +0xc8 goroutine 16 [syscall]: syscall.Syscall6(0x5f, 0x1, 0x60bc, 0x21003d5bc8, 0x1000004, 0x0, 0x0, 0x1f19a4, 0x21003d5bc0, 0x87380) /root/riscv-go/src/syscall/asm_linux_riscv.s:41 +0x14 os.(*Process).blockUntilWaitable(0x21003ca990, 0x21002aac60, 0x0, 0x0) /root/riscv-go/src/os/wait_waitid.go:31 +0x8c os.(*Process).wait(0x21003ca990, 0x3f6eb8, 0x3f6ec0, 0x3f6eb0) /root/riscv-go/src/os/exec_unix.go:22 +0x48 os.(*Process).Wait(...) /root/riscv-go/src/os/exec.go:125 os/exec.(*Cmd).Wait(0x21003e0580, 0x0, 0x0) /root/riscv-go/src/os/exec/exec.go:474 +0x70 os/exec.(*Cmd).Run(0x21003e0580, 0x21003de5a0, 0x10) /root/riscv-go/src/os/exec/exec.go:318 +0x74 os/exec.(*Cmd).CombinedOutput(0x21003e0580, 0x8, 0x10, 0x2100388290, 0x155796a3f8, 0x33391c) /root/riscv-go/src/os/exec/exec.go:534 +0x16c cmd/vet_test.errchk(0x21003e0580, 0x2100388290, 0x1, 0x1, 0x21002fac00) /root/riscv-go/src/cmd/vet/vet_test.go:146 +0x38 cmd/vet_test.TestVet.func1(0x21002fac00) /root/riscv-go/src/cmd/vet/vet_test.go:129 +0x5a0 testing.tRunner(0x21002fac00, 0x210000a360) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 49 [chan send]: testing.tRunner.func1(0x21002fad00) /root/riscv-go/src/testing/testing.go:860 +0x294 testing.tRunner(0x21002fad00, 0x210000a3a0) /root/riscv-go/src/testing/testing.go:869 +0x104 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 50 [chan send]: testing.tRunner.func1(0x21002fae00) /root/riscv-go/src/testing/testing.go:860 +0x294 testing.tRunner(0x21002fae00, 0x210000a3e0) /root/riscv-go/src/testing/testing.go:869 +0x104 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 51 [chan send]: testing.tRunner.func1(0x21002fb000) /root/riscv-go/src/testing/testing.go:860 +0x294 testing.tRunner(0x21002fb000, 0x210000a420) /root/riscv-go/src/testing/testing.go:869 +0x104 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 52 [chan send]: testing.tRunner.func1(0x21002fb100) /root/riscv-go/src/testing/testing.go:860 +0x294 testing.tRunner(0x21002fb100, 0x210000a460) /root/riscv-go/src/testing/testing.go:869 +0x104 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 53 [chan send]: testing.tRunner.func1(0x21002fb200) /root/riscv-go/src/testing/testing.go:860 +0x294 testing.tRunner(0x21002fb200, 0x210000a4a0) /root/riscv-go/src/testing/testing.go:869 +0x104 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 54 [chan send]: testing.tRunner.func1(0x21002fb300) /root/riscv-go/src/testing/testing.go:860 +0x294 testing.tRunner(0x21002fb300, 0x210000a4e0) /root/riscv-go/src/testing/testing.go:869 +0x104 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 68 [IO wait]: internal/poll.runtime_pollWait(0x15577cdb88, 0x72, 0xffffffffffffffff) /root/riscv-go/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x21002aad38, 0x72, 0x501, 0x54c, 0xffffffffffffffff) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:87 +0xd8 internal/poll.(*pollDesc).waitRead(...) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x21002aad20, 0x21005452b4, 0x54c, 0x54c, 0x0, 0x0, 0x0) /root/riscv-go/src/internal/poll/fd_unix.go:169 +0x1f8 os.(*File).read(...) /root/riscv-go/src/os/file_unix.go:263 os.(*File).Read(0x2100404118, 0x21005452b4, 0x54c, 0x54c, 0xb4, 0x0, 0x0) /root/riscv-go/src/os/file.go:108 +0x80 bytes.(*Buffer).ReadFrom(0x21003de5a0, 0x44fca0, 0x2100404118, 0x1557969028, 0x21003de5a0, 0x1) /root/riscv-go/src/bytes/buffer.go:207 +0xe0 io.copyBuffer(0x44f9c0, 0x21003de5a0, 0x44fca0, 0x2100404118, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /root/riscv-go/src/io/io.go:388 +0x310 io.Copy(...) /root/riscv-go/src/io/io.go:364 os/exec.(*Cmd).writerDescriptor.func1(0x0, 0x0) /root/riscv-go/src/os/exec/exec.go:288 +0x6c os/exec.(*Cmd).Start.func1(0x21003e0580, 0x21003aa440) /root/riscv-go/src/os/exec/exec.go:409 +0x2c created by os/exec.(*Cmd).Start /root/riscv-go/src/os/exec/exec.go:408 +0x47c FAIL cmd/vet 543.456s 2019/05/08 17:47:24 Failed: exit status 2 ```

Now will try to look into building some test applications and into these errors.

ianlancetaylor commented 5 years ago

I edited your comment to put the long log into a "Details" block.

fatal error: cas1
runtime: panic before malloc heap initialized

runtime stack:
runtime.throw(0x187542, 0x4)
    /root/riscv-go/src/runtime/panic.go:617 +0x88 fp=0x3fffdd1030 sp=0x3fffdd1008 pc=0x4aaf8
runtime.check()
    /root/riscv-go/src/runtime/runtime1.go:215 +0x57c fp=0x3fffdd1070 sp=0x3fffdd1030 pc=0x603ac
runtime.rt0_go(0x3fffdd1098, 0xd3868, 0x4, 0x3fffdd1392, 0x3fffdd13ba, 0x3fffdd13f4, 0x3fffdd1405, 0x0, 0x3fffdd1418, 0x3fffdd1428, ...)
    /root/riscv-go/src/runtime/asm_riscv.s:54 +0x90 fp=0x3fffdd1078 sp=0x3fffdd1070 pc=0x82ad0

This failure, which appears elsewhere as well, shows quite clearly that there is something wrong with the implementation of atomic.Cas. As that could easily cause race conditions elsewhere, you need to fix that first.

ianlancetaylor commented 5 years ago

Following up, for most, maybe all, targets, atomic.Cas is implemented in the compiler itself.

josharian commented 5 years ago

Perhaps https://review.gerrithub.io/c/riscv/riscv-go/+/353663 may help. (And if it does, it is definitely looking at the other as-yet-unmerged CLs in the list I linked to above.)

ironsteel commented 5 years ago

First of all, awesome! Second, does the port supports the 32-bit RISC-V variant?

I have a 32-bit linux capable hardware synthesized on an FPGA which I want to try golang on.

marcopeereboom commented 5 years ago

No this does not support riscv32.

Joel and I have narrowed this down to locking in QEMU. We have written several smaller test programs to reproduce the bug easily. I am going to write the locking/atomic issues up in the QEMU repo.

If someone has real hardware to test on that would help to see if this is QEMU or not.

When we fix these issues go might be in pretty good shape actually.

marcopeereboom commented 5 years ago

I edited your comment to put the long log into a "Details" block.

fatal error: cas1
runtime: panic before malloc heap initialized

runtime stack:
runtime.throw(0x187542, 0x4)
  /root/riscv-go/src/runtime/panic.go:617 +0x88 fp=0x3fffdd1030 sp=0x3fffdd1008 pc=0x4aaf8
runtime.check()
  /root/riscv-go/src/runtime/runtime1.go:215 +0x57c fp=0x3fffdd1070 sp=0x3fffdd1030 pc=0x603ac
runtime.rt0_go(0x3fffdd1098, 0xd3868, 0x4, 0x3fffdd1392, 0x3fffdd13ba, 0x3fffdd13f4, 0x3fffdd1405, 0x0, 0x3fffdd1418, 0x3fffdd1428, ...)
  /root/riscv-go/src/runtime/asm_riscv.s:54 +0x90 fp=0x3fffdd1078 sp=0x3fffdd1070 pc=0x82ad0

This failure, which appears elsewhere as well, shows quite clearly that there is something wrong with the implementation of atomic.Cas. As that could easily cause race conditions elsewhere, you need to fix that first.

This is exactly right.

carlosedp commented 5 years ago

@marcopeereboom let me know if there are workarounds while building on Qemu and where to follow these reports. I'm about to get a SiFive Unleashed board soon so we will be able to build on real iron to remove these variables.

ddevault commented 5 years ago

I have a riscv64 board but not much time, if you give me a shell script I'll run it for you (on Alpine Linux).

tklauser commented 5 years ago

Nice work Joel (@4a6f656c I assume?) and @marcopeereboom!

One small note: the reserved GOARCH value for 64-bit RISCV is riscv64. riscv is reserved for 32-bit RISCV, see https://golang.org/cl/106256

I took the liberty to fork Joel's tree and did the rename (plus some other cleanup fixes). You can find the tree at https://github.com/tklauser/riscv-go/commits/riscv64dev. Unfortunately I don't seem to be able to send a PR against Joel's fork, but please feel free to pull any patches you deem useful.

I'll also try to update my riscv branch on https://github.com/tklauser/go/commits/riscv (which tracks gotip) with the changes from your branch and possibly https://review.gerrithub.io/c/riscv/riscv-go/+/353663 plus further patches form this series.

marcopeereboom commented 5 years ago

Hey @tklauser Joel had pushed the rename already. We certainly will take your help and if you have additional PRs on top of the current tree let us know. And thanks for doing a current branch, that will prove useful.

marcopeereboom commented 5 years ago

I have a riscv64 board but not much time, if you give me a shell script I'll run it for you (on Alpine Linux).

I pretty much pasted the instructions to build it. Building go, unlike userspace and kernels, is trivial.

carlosedp commented 5 years ago

I merged @tklauser patches into the fork I did from @4a6f656c . Had to adjust some conflicts and also hammer in a change in a function where the dynamic generation used an unavailable syscall. The files are in my fork as a temporary test (https://github.com/carlosedp/riscv-go). I'm currently running the tests and apparently see fewer errors (@josharian those CAS errors are gone).

Will post the test run soon.

marcopeereboom commented 5 years ago

And after some more playing with the test code we are convinced that it is either QEMU or the kernel. I am leaning towards the atomic code being preempted and the CPU losing state somehow. I wrote a C threaded app that uses a CAS that is pretty similar to Go's and made it into a poor man's mutex. The critical section just increments a global and at the end of the run the expected value is compared against the actual value.

The results are that when run on linux inside QEMU with enough threads and/or iterations it misses a couple of locks. When run with qemu-riscv without a kernel it runs indefinitely without failure. Code for this test: https://gist.github.com/marcopeereboom/1a3b62a89f81b2ed341082cedaef4874

More worrisome is that some gcc atomics also fail in a similar test. Code: https://gist.github.com/marcopeereboom/1e40d4baffdcc9a2066310d770f5ac12

We did try adding some extra fences but that had no effect. Code: https://gist.github.com/marcopeereboom/4357c59b57dc998a58d37817d59f99b0

The disassembly looks correct and when held against the spec it seems like it should work.

I know these snippets won't win the state pageant but they are small enough for quick tests. I am debating where to record these issues. Anyone has any opinion? Linux kernel, QEMU?

ddevault commented 5 years ago

Attempted to build your go stuff. Bootstrap went well, but it failed early when doing the full build:

https://paste.sr.ht/~sircmpwn/3a76f2ee0b914eccf2cc70fc6ca6b7a75de547a3

Your smaller test code:

hifive:/tmp$ ./a.out
in thread 10
in thread 11
in thread 12
in thread 27
in thread 28
in thread 14
in thread 23
in thread 24
in thread 26
in thread 25
in thread 19
in thread 13
in thread 15
in thread 29
in thread 20
in thread 17
in thread 18
in thread 22
in thread 21
in thread 16
ok 2000000 2000000

Note, I'm using musl libc for both bootstrapping and on riscv64.

marcopeereboom commented 5 years ago

It sometimes works. May have to play with the iterations and threads a bit on your hardware.

ddevault commented 5 years ago

Spent a few minutes tweaking it and haven't gotten it to fail yet. If the issue is between kernel and qemu, kernel's looking pretty safe.

marcopeereboom commented 5 years ago

This is what I see. This explains the go issues too.

[root@stage4 ~]# ./a.out
in thread 10
in thread 11
in thread 12
in thread 13
in thread 18
in thread 15
in thread 16
in thread 17
in thread 19
in thread 14
in thread 20
in thread 21
in thread 23
in thread 22
in thread 26
in thread 27
in thread 29
in thread 24
in thread 28
in thread 25
womp womp 19999976 20000000

Can you share what qemu and linux kernel you are running?

carlosedp commented 5 years ago

This is what I see compiling the test code:

[root@fedora-riscv ~]# gcc --version
gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1)
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@fedora-riscv ~]#
[root@fedora-riscv ~]# gcc test1.c
test1.c: In function ‘main’:
test1.c:85:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   85 |   pthread_create(&tid[i], NULL, thread, (void *)i+10);
      |                                         ^
/usr/bin/ld: /tmp/cc1fyhzx.o: in function `main':
test1.c:(.text+0x14e): undefined reference to `pthread_create'
/usr/bin/ld: test1.c:(.text+0x188): undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status

I'm running Fedora nightly with Kernel 5.1.0-rc7-00005-g83a50840e72a.

Here are the results of the test run for Go after the merges:

``` # GOGC=off ./run.bash ##### Building packages and commands. ##### Testing packages. ok archive/tar (cached) ok archive/zip (cached) ok bufio (cached) ok bytes (cached) ok compress/bzip2 (cached) ok compress/flate (cached) ok compress/gzip (cached) ok compress/lzw (cached) ok compress/zlib (cached) ok container/heap (cached) ok container/list (cached) ok container/ring (cached) ok context (cached) ok crypto (cached) ok crypto/aes (cached) ok crypto/cipher (cached) ok crypto/des (cached) ok crypto/dsa (cached) ok crypto/ecdsa (cached) ok crypto/elliptic (cached) ok crypto/hmac (cached) ok crypto/internal/subtle (cached) ok crypto/md5 (cached) ok crypto/rand (cached) ok crypto/rc4 (cached) ok crypto/rsa (cached) ok crypto/sha1 (cached) ok crypto/sha256 (cached) ok crypto/sha512 (cached) ok crypto/subtle (cached) ok crypto/tls (cached) ok crypto/x509 23.983s ok database/sql (cached) ok database/sql/driver (cached) ok debug/dwarf (cached) ok debug/elf (cached) ok debug/gosym (cached) ok debug/macho (cached) ok debug/pe (cached) ok debug/plan9obj (cached) ok encoding/ascii85 (cached) ok encoding/asn1 (cached) ok encoding/base32 (cached) ok encoding/base64 (cached) ok encoding/binary (cached) ok encoding/csv (cached) ok encoding/gob (cached) ok encoding/hex (cached) ok encoding/json (cached) ok encoding/pem (cached) ok encoding/xml (cached) ok errors (cached) ok expvar (cached) ok flag (cached) ok fmt (cached) ok go/ast (cached) ok go/build 6.739s ok go/constant (cached) ok go/doc (cached) ok go/format (cached) ok go/importer 4.925s ok go/internal/gccgoimporter 24.223s ok go/internal/gcimporter 8.977s ok go/internal/srcimporter (cached) ok go/parser (cached) ok go/printer (cached) ok go/scanner (cached) ok go/token 1.067s ok go/types 12.343s ok hash (cached) ok hash/adler32 (cached) ok hash/crc32 (cached) ok hash/crc64 (cached) ok hash/fnv (cached) ok html (cached) ok html/template (cached) ok image (cached) ok image/color (cached) ok image/draw (cached) ok image/gif (cached) ok image/jpeg (cached) ok image/png (cached) ok index/suffixarray (cached) ok internal/cpu (cached) ok internal/fmtsort (cached) ok internal/poll (cached) ok internal/singleflight (cached) ok internal/trace (cached) ok internal/x/crypto/chacha20poly1305 (cached) ok internal/x/crypto/cryptobyte (cached) ok internal/x/crypto/curve25519 (cached) ok internal/x/crypto/hkdf (cached) ok internal/x/crypto/internal/chacha20 (cached) ok internal/x/crypto/poly1305 (cached) ok internal/x/net/dns/dnsmessage (cached) ok internal/x/net/http/httpguts (cached) ok internal/x/net/http/httpproxy (cached) ok internal/x/net/http2/hpack (cached) ok internal/x/net/idna (cached) ok internal/x/net/nettest (cached) ok internal/x/text/transform (cached) ok internal/x/text/unicode/norm (cached) ok internal/xcoff (cached) ok io (cached) ok io/ioutil (cached) ok log (cached) ok log/syslog (cached) ok math (cached) ok math/big (cached) ok math/bits (cached) ok math/cmplx (cached) ok math/rand (cached) ok mime (cached) ok mime/multipart (cached) ok mime/quotedprintable (cached) ok net (cached) runtime: newstack sp=0x210107a758 stack=[0x210107b000, 0x210107b800] morebuf={pc:0x4d7dc4 sp:0x210107a758 lr:0x0} sched={pc:0xd8230 sp:0x210107a758 lr:0x4d7dc4 ctxt:0x0} runtime: gp=0x2100920f00, goid=1200, gp->status=0x2 runtime: split stack overflow: 0x210107a758 < 0x210107b000 fatal error: runtime: split stack overflow runtime stack: runtime.newstack() /root/riscv-go/src/runtime/stack.go:995 +0xa18 runtime: unexpected return pc for runtime.newstack called from 0x21004d2480 stack: frame={sp:0x2100587fb0, fp:0x2100588138} stack=[0x2100548000,0x2100588000) 0000002100587eb0: 00000000000004b0 00000000004d7dc4 0000002100587ec0: 00000000000d8230 0000000000000000 0000002100587ed0: 000000210107a758 00000000004d7dc4 0000002100587ee0: 000000210107b800 000000210107b000 0000002100587ef0: 0000000000000001 00000021004d2480 0000002100587f00: 0000000000000000 0000000000000000 0000002100587f10: 0000002100920f00 0000000000000000 0000002100587f20: 0000002100920f00 0000002100001080 0000002100587f30: 000000210107a758 00000000004d7dc4 0000002100587f40: 0000002100920f00 0000000000000000 0000002100587f50: 0000000000000000 0000000000000000 0000002100587f60: 0000000000000000 0000002100920f00 0000002100587f70: 0000000000058500 0000000000a65204 0000002100587f80: 00000000864b8a7e 00000021000002b1 0000002100587f90: 0000002100920f00 010000210109d3d8 0000002100587fa0: 0000002100001080 0000000000089fdc 0000002100587fb0: <00000021004d2480 00000015577cdb38 0000002100587fc0: 0000002100a07801 0000002100001080 0000002100587fd0: 0000000000000000 0000000000000000 0000002100587fe0: 000000000008c688 0000000000053b98 0000002100587ff0: 0000002100001080 000000210001ee00 runtime.newstack() /root/riscv-go/src/runtime/stack.go:995 +0xa18 goroutine 1200 [running]: io.(*pipe).Read(0x2100fe57c0, 0x210107a7a8, 0x1000, 0x1000, 0x0, 0x0, 0x0) /root/riscv-go/src/io/pipe.go:43 +0x18 fp=0x210107a758 sp=0x210107a758 pc=0xd8230 io.(*PipeReader).Read(...) /root/riscv-go/src/io/pipe.go:127 net/http_test.testHandlerPanic.func2(0x21005f87d0, 0x2101083800, 0x21012d0150) /root/riscv-go/src/net/http/serve_test.go:2784 +0x9c fp=0x210107b7c0 sp=0x210107a758 pc=0x4d7dc4 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x210107b7c0 sp=0x210107b7c0 pc=0x8bf34 created by net/http_test.testHandlerPanic /root/riscv-go/src/net/http/serve_test.go:2782 +0x3a4 goroutine 1 [chan receive]: testing.(*T).Run(0x2101083800, 0x621c16, 0x1f, 0x63e488, 0x13f601) /root/riscv-go/src/testing/testing.go:917 +0x3c0 testing.runTests.func1(0x2100243600) /root/riscv-go/src/testing/testing.go:1157 +0x88 testing.tRunner(0x2100243600, 0x2100065e30) /root/riscv-go/src/testing/testing.go:865 +0xf4 testing.runTests(0x21001ee3e0, 0xa461a0, 0x1e2, 0x1e2, 0x0) /root/riscv-go/src/testing/testing.go:1155 +0x2e8 testing.(*M).Run(0x210023e680, 0x0) /root/riscv-go/src/testing/testing.go:1072 +0x194 net/http_test.TestMain(0x210023e680) /root/riscv-go/src/net/http/main_test.go:23 +0x34 main.main() _testmain.go:1062 +0x190 goroutine 18 [syscall]: os/signal.signal_recv(0x0) /root/riscv-go/src/runtime/sigqueue.go:139 +0x234 os/signal.loop() /root/riscv-go/src/os/signal/signal_unix.go:23 +0x2c created by os/signal.init.0 /root/riscv-go/src/os/signal/signal_unix.go:29 +0x54 goroutine 41 [chan receive]: testing.(*T).Parallel(0x2100292800) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http.TestCmdGoNoHTTPServer(0x2100292800) /root/riscv-go/src/net/http/http_test.go:85 +0x38 testing.tRunner(0x2100292800, 0x63d188) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 396 [chan receive]: testing.(*T).Parallel(0x2100a64500) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100a64500) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x2100a1c470, 0x63cf58, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2100a64500) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_Head_ExplicitLen(0x2100a64500) /root/riscv-go/src/net/http/clientserver_test.go:360 +0xcc testing.tRunner(0x2100a64500, 0x63da60) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 47 [chan receive]: testing.(*T).Parallel(0x210040e200) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http.TestRequestWriteTransport(0x210040e200) /root/riscv-go/src/net/http/requestwrite_test.go:648 +0x38 testing.tRunner(0x210040e200, 0x63d278) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 52 [chan receive]: testing.(*T).Parallel(0x210040e900) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http.TestReadResponseCloseInMiddle(0x210040e900) /root/riscv-go/src/net/http/response_test.go:643 +0x38 testing.tRunner(0x210040e900, 0x63d220) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 4 [chan receive]: testing.(*T).Parallel(0x21005e2000) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21005e2000) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestClient(0x21005e2000) /root/riscv-go/src/net/http/client_test.go:70 +0x38 testing.tRunner(0x21005e2000, 0x63d840) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 176 [chan receive]: testing.(*T).Parallel(0x21008f2100) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21008f2100) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestClientInsecureTransport(0x21008f2100) /root/riscv-go/src/net/http/client_test.go:847 +0x38 testing.tRunner(0x21008f2100, 0x63d748) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 156 [chan receive]: testing.(*T).Parallel(0x2100813c00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100813c00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestRedirectCookiesJar(0x2100813c00) /root/riscv-go/src/net/http/client_test.go:660 +0x34 testing.tRunner(0x2100813c00, 0x63df18) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 309 [chan receive]: testing.(*T).Parallel(0x21009aad00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21009aad00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testClientTimeout(0x21009aad00, 0xf8a38c4100) /root/riscv-go/src/net/http/client_test.go:1204 +0x38 net/http_test.TestClientTimeout_h1(0x21009aad00) /root/riscv-go/src/net/http/client_test.go:1200 +0x3c testing.tRunner(0x21009aad00, 0x63d7f0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 115 [chan receive]: testing.(*T).Parallel(0x21005e2600) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21005e2600) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestGetRequestFormat(0x21005e2600) /root/riscv-go/src/net/http/client_test.go:116 +0x34 testing.tRunner(0x21005e2600, 0x63d9a8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 153 [chan receive]: testing.(*T).Parallel(0x2100813300) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100813300) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestClientRedirect308NoLocation(0x2100813300) /root/riscv-go/src/net/http/client_test.go:538 +0x34 testing.tRunner(0x2100813300, 0x63d768) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 398 [chan receive]: testing.(*T).Parallel(0x2100a64700) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100a64700) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63da18, 0x0, 0x2100a1c4b0, 0x0, 0x0, 0x0, 0x0, 0x2100a64700) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_HandlerWritesTooLittle(0x2100a64700) /root/riscv-go/src/net/http/clientserver_test.go:394 +0xcc testing.tRunner(0x2100a64700, 0x63da20) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 118 [chan receive]: testing.(*T).Parallel(0x21005e2b00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21005e2b00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestClientRedirects(0x21005e2b00) /root/riscv-go/src/net/http/client_test.go:203 +0x38 testing.tRunner(0x21005e2b00, 0x63d7b8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 152 [chan receive]: testing.(*T).Parallel(0x2100813200) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100813200) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestClientRedirectUseResponse(0x2100813200) /root/riscv-go/src/net/http/client_test.go:496 +0x38 testing.tRunner(0x2100813200, 0x63d7b0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 119 [chan receive]: testing.(*T).Parallel(0x21005e2c00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21005e2c00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestClientRedirectContext(0x21005e2c00) /root/riscv-go/src/net/http/client_test.go:302 +0x38 testing.tRunner(0x21005e2c00, 0x63d778) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 395 [chan receive]: testing.(*T).Parallel(0x2100a64400) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100a64400) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63da08, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2100a64400) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_FlushMidBody(0x2100a64400) /root/riscv-go/src/net/http/clientserver_test.go:348 +0x58 testing.tRunner(0x2100a64400, 0x63da10) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 154 [chan receive]: testing.(*T).Parallel(0x2100813400) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100813400) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestClientRedirect308NoGetBody(0x2100813400) /root/riscv-go/src/net/http/client_test.go:561 +0x38 testing.tRunner(0x2100813400, 0x63d758) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 802 [chan receive]: testing.(*T).Parallel(0x2100ebab00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100ebab00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testWriteHeaderAfterWrite(0x2100ebab00, 0xf912a20100) /root/riscv-go/src/net/http/clientserver_test.go:1436 +0x38 net/http_test.TestWriteHeaderNoCodeCheck_h1hijack(0x2100ebab00) /root/riscv-go/src/net/http/clientserver_test.go:1433 +0x44 testing.tRunner(0x2100ebab00, 0x63e988) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 311 [chan receive]: testing.(*T).Parallel(0x21009aaf00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21009aaf00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testClientTimeout_Headers(0x21009aaf00, 0xf8a396bd00) /root/riscv-go/src/net/http/client_test.go:1286 +0x38 net/http_test.TestClientTimeout_Headers_h1(0x21009aaf00) /root/riscv-go/src/net/http/client_test.go:1281 +0x3c testing.tRunner(0x21009aaf00, 0x63d7e0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1113 [chan receive]: testing.(*T).Parallel(0x2101137e00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101137e00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestServeMuxHandler(0x2101137e00) /root/riscv-go/src/net/http/serve_test.go:364 +0x38 testing.tRunner(0x2101137e00, 0x63e0b0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 397 [chan receive]: testing.(*T).Parallel(0x2100a64600) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100a64600) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x2100a1c490, 0x63cf58, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2100a64600) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_Head_ImplicitLen(0x2100a64600) /root/riscv-go/src/net/http/clientserver_test.go:372 +0xcc testing.tRunner(0x2100a64600, 0x63da68) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 387 [chan receive]: testing.(*T).Parallel(0x2100897c00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100897c00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63da30, 0x63cf58, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2100897c00) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_HeadContentLengthLargeBody(0x2100897c00) /root/riscv-go/src/net/http/clientserver_test.go:306 +0x64 testing.tRunner(0x2100897c00, 0x63da38) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 386 [chan receive]: testing.(*T).Parallel(0x2100897b00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100897b00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63da50, 0x63cf58, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2100897b00) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_HeadContentLengthSmallBody(0x2100897b00) /root/riscv-go/src/net/http/clientserver_test.go:294 +0x64 testing.tRunner(0x2100897b00, 0x63da58) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 389 [chan receive]: testing.(*T).Parallel(0x2100897e00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100897e00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x210090fd20, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2100897e00) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.testH12_noBody(0x2100897e00, 0xcc) /root/riscv-go/src/net/http/clientserver_test.go:320 +0xa0 net/http_test.TestH2_204NoBody(0x2100897e00) /root/riscv-go/src/net/http/clientserver_test.go:313 +0x3c testing.tRunner(0x2100897e00, 0x63dad8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 286 [chan receive]: testing.(*T).Parallel(0x21007ebd00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21007ebd00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestEmptyPasswordAuth(0x21007ebd00) /root/riscv-go/src/net/http/client_test.go:1057 +0x34 testing.tRunner(0x21007ebd00, 0x63d940) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 394 [chan receive]: testing.(*T).Parallel(0x2100a64300) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100a64300) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63d9f8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2100a64300) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_FlushBeforeBody(0x2100a64300) /root/riscv-go/src/net/http/clientserver_test.go:340 +0x58 testing.tRunner(0x2100a64300, 0x63da00) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 312 [chan receive]: testing.(*T).Parallel(0x21009ab000) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21009ab000) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testClientTimeout_Headers(0x21009ab000, 0xf8a3a7d401) /root/riscv-go/src/net/http/client_test.go:1286 +0x38 net/http_test.TestClientTimeout_Headers_h2(0x21009ab000) /root/riscv-go/src/net/http/client_test.go:1282 +0x3c testing.tRunner(0x21009ab000, 0x63d7e8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 310 [chan receive]: testing.(*T).Parallel(0x21009aae00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21009aae00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testClientTimeout(0x21009aae00, 0xf8a391f201) /root/riscv-go/src/net/http/client_test.go:1204 +0x38 net/http_test.TestClientTimeout_h2(0x21009aae00) /root/riscv-go/src/net/http/client_test.go:1201 +0x3c testing.tRunner(0x21009aae00, 0x63d7f8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 313 [chan receive]: testing.(*T).Parallel(0x21009ab200) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21009ab200) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestClientTimeoutCancel(0x21009ab200) /root/riscv-go/src/net/http/client_test.go:1326 +0x38 testing.tRunner(0x21009ab200, 0x63d7c8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 314 [chan receive]: testing.(*T).Parallel(0x21009ab300) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21009ab300) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testClientRedirectEatsBody(0x21009ab300, 0xf8a3b3fd00) /root/riscv-go/src/net/http/client_test.go:1356 +0x38 net/http_test.TestClientRedirectEatsBody_h1(0x21009ab300) /root/riscv-go/src/net/http/client_test.go:1353 +0x3c testing.tRunner(0x21009ab300, 0x63d780) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 315 [chan receive]: testing.(*T).Parallel(0x21009ab400) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21009ab400) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testClientRedirectEatsBody(0x21009ab400, 0xf8a3bcbb01) /root/riscv-go/src/net/http/client_test.go:1356 +0x38 net/http_test.TestClientRedirectEatsBody_h2(0x21009ab400) /root/riscv-go/src/net/http/client_test.go:1354 +0x3c testing.tRunner(0x21009ab400, 0x63d788) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 354 [chan receive]: testing.(*T).Parallel(0x2100895a00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100895a00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestClientRedirectTypes(0x2100895a00) /root/riscv-go/src/net/http/client_test.go:1734 +0x54 testing.tRunner(0x2100895a00, 0x63d7a8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 385 [chan receive]: testing.(*T).Parallel(0x2100897a00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100897a00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63da40, 0x63cf58, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2100897a00) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_HeadContentLengthNoBody(0x2100897a00) /root/riscv-go/src/net/http/clientserver_test.go:285 +0x64 testing.tRunner(0x2100897a00, 0x63da48) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1197 [chan receive]: testing.(*T).Parallel(0x2101083700) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101083700) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestTimeoutHandlerEmptyResponse(0x2101083700) /root/riscv-go/src/net/http/serve_test.go:2533 +0x34 testing.tRunner(0x2101083700, 0x63e478) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 393 [chan receive]: testing.(*T).Parallel(0x2100a64200) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100a64200) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63d9e8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2100a64200) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_ExplicitContentLength(0x2100a64200) /root/riscv-go/src/net/http/clientserver_test.go:333 +0x58 testing.tRunner(0x2100a64200, 0x63d9f0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1199 [IO wait]: internal/poll.runtime_pollWait(0x15577cd9e8, 0x72, 0x0) /root/riscv-go/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x2101020a18, 0x72, 0x0, 0x0, 0x60f863) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:87 +0xd8 internal/poll.(*pollDesc).waitRead(...) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0x2101020a00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /root/riscv-go/src/internal/poll/fd_unix.go:384 +0x22c net.(*netFD).accept(0x2101020a00, 0x0, 0x2101369e60, 0x3b3efc) /root/riscv-go/src/net/fd_unix.go:238 +0x3c net.(*TCPListener).accept(0x21005f87e0, 0x1b94232003b3f00, 0x210109d2c0, 0x5a358) /root/riscv-go/src/net/tcpsock_posix.go:139 +0x38 net.(*TCPListener).Accept(0x21005f87e0, 0x2101369ef0, 0x18, 0x2100801e00, 0x3b9e90) /root/riscv-go/src/net/tcpsock.go:260 +0x58 net/http.(*Server).Serve(0x2100d07450, 0x6e6560, 0x21005f87e0, 0x0, 0x0) /root/riscv-go/src/net/http/server.go:2859 +0x270 net/http/httptest.(*Server).goServe.func1(0x210109d2c0) /root/riscv-go/src/net/http/httptest/server.go:298 +0x7c created by net/http/httptest.(*Server).goServe /root/riscv-go/src/net/http/httptest/server.go:296 +0x6c goroutine 1004 [chan receive]: testing.(*T).Parallel(0x2101082700) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101082700) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testAutomaticHTTP2_Serve(0x2101082700, 0x0, 0xf965e45101) /root/riscv-go/src/net/http/serve_test.go:1599 +0x34 net/http_test.TestAutomaticHTTP2_Serve_NoTLSConfig(0x2101082700) /root/riscv-go/src/net/http/serve_test.go:1587 +0x44 testing.tRunner(0x2101082700, 0x63d638) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 355 [chan receive]: testing.(*T).Parallel(0x2100895b00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100895b00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestTransportBodyReadError(0x2100895b00) /root/riscv-go/src/net/http/client_test.go:1842 +0x38 testing.tRunner(0x2100895b00, 0x63e590) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 392 [chan receive]: testing.(*T).Parallel(0x2100a64100) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100a64100) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63dab0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2100a64100) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_SmallBody(0x2100a64100) /root/riscv-go/src/net/http/clientserver_test.go:326 +0x58 testing.tRunner(0x2100a64100, 0x63dab8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 434 [chan receive]: testing.(*T).Parallel(0x2100a16600) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100a16600) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63ea20, 0x21007e99f0, 0x21007e1940, 0x0, 0x0, 0x0, 0x0, 0x2100a16600) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.h12requestContentLength(0x2100a16600, 0x63da70, 0x4) /root/riscv-go/src/net/http/clientserver_test.go:515 +0x128 net/http_test.TestH12_RequestContentLength_Known_NonZero(0x2100a16600) /root/riscv-go/src/net/http/clientserver_test.go:490 +0x48 testing.tRunner(0x2100a16600, 0x63da78) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 391 [chan receive]: testing.(*T).Parallel(0x2100a64000) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100a64000) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x210090fd60, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2100a64000) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.testH12_noBody(0x2100a64000, 0x194) /root/riscv-go/src/net/http/clientserver_test.go:320 +0xa0 net/http_test.TestH2_404NoBody(0x2100a64000) /root/riscv-go/src/net/http/clientserver_test.go:315 +0x3c testing.tRunner(0x2100a64000, 0x63dae8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 649 [chan receive]: testing.(*T).Parallel(0x2100dc2600) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100dc2600) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestTransportDiscardsUnneededConns(0x2100dc2600) /root/riscv-go/src/net/http/clientserver_test.go:964 +0x38 testing.tRunner(0x2100dc2600, 0x63e678) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 388 [chan receive]: testing.(*T).Parallel(0x2100897d00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100897d00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63d9b0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2100897d00) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_200NoBody(0x2100897d00) /root/riscv-go/src/net/http/clientserver_test.go:310 +0x58 testing.tRunner(0x2100897d00, 0x63d9b8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 390 [chan receive]: testing.(*T).Parallel(0x2100897f00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100897f00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x210090fd40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2100897f00) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.testH12_noBody(0x2100897f00, 0x130) /root/riscv-go/src/net/http/clientserver_test.go:320 +0xa0 net/http_test.TestH2_304NoBody(0x2100897f00) /root/riscv-go/src/net/http/clientserver_test.go:314 +0x3c testing.tRunner(0x2100897f00, 0x63dae0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 399 [chan receive]: testing.(*T).Parallel(0x2100a64800) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100a64800) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x2100a1c4d0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2100a64800) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_HandlerWritesTooMuch(0x2100a64800) /root/riscv-go/src/net/http/clientserver_test.go:415 +0xc0 testing.tRunner(0x2100a64800, 0x63da28) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 400 [chan receive]: testing.(*T).Parallel(0x2100a64900) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100a64900) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x2100a1c4f0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2100a64900) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_AutoGzip(0x2100a64900) /root/riscv-go/src/net/http/clientserver_test.go:431 +0xc0 testing.tRunner(0x2100a64900, 0x63d9e0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 401 [chan receive]: testing.(*T).Parallel(0x2100a64a00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100a64a00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x2100a1c520, 0x0, 0x0, 0x0, 0x2100a1c510, 0x1, 0x1, 0x2100a64a00) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_AutoGzip_Disabled(0x2100a64a00) /root/riscv-go/src/net/http/clientserver_test.go:445 +0x124 testing.tRunner(0x2100a64a00, 0x63d9d8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 433 [chan receive]: testing.(*T).Parallel(0x2100a16500) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100a16500) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63daa0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2100a16500) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_ServerEmptyContentLength(0x2100a16500) /root/riscv-go/src/net/http/clientserver_test.go:486 +0x58 testing.tRunner(0x2100a16500, 0x63daa8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1155 [chan receive]: testing.(*T).Parallel(0x21010d0600) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21010d0600) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testHeadResponses(0x21010d0600, 0xf95db9dc00) /root/riscv-go/src/net/http/serve_test.go:1388 +0x38 net/http_test.TestHeadResponses_h1(0x21010d0600) /root/riscv-go/src/net/http/serve_test.go:1384 +0x3c testing.tRunner(0x21010d0600, 0x63dbe0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 436 [chan receive]: testing.(*T).Parallel(0x2100a16800) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100a16800) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63ea20, 0x21007e9a30, 0x21007e1980, 0x0, 0x0, 0x0, 0x0, 0x2100a16800) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.h12requestContentLength(0x2100a16800, 0x63da90, 0xffffffffffffffff) /root/riscv-go/src/net/http/clientserver_test.go:515 +0x128 net/http_test.TestH12_RequestContentLength_Unknown(0x2100a16800) /root/riscv-go/src/net/http/clientserver_test.go:498 +0x48 testing.tRunner(0x2100a16800, 0x63da98) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 435 [chan receive]: testing.(*T).Parallel(0x2100a16700) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100a16700) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63ea20, 0x21007e9a10, 0x21007e1960, 0x0, 0x0, 0x0, 0x0, 0x2100a16700) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.h12requestContentLength(0x2100a16700, 0x63da80, 0x0) /root/riscv-go/src/net/http/clientserver_test.go:515 +0x128 net/http_test.TestH12_RequestContentLength_Known_Zero(0x2100a16700) /root/riscv-go/src/net/http/clientserver_test.go:494 +0x48 testing.tRunner(0x2100a16700, 0x63da88) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1198 [select]: net/http.(*persistConn).roundTrip(0x210109b200, 0x2101085050, 0x0, 0x0, 0x0) /root/riscv-go/src/net/http/transport.go:2174 +0x49c net/http.(*Transport).roundTrip(0x210109aea0, 0x2101083900, 0x0, 0x2100000001, 0x4) /root/riscv-go/src/net/http/transport.go:481 +0xaf4 net/http.(*Transport).RoundTrip(0x210109aea0, 0x2101083900, 0x210109aea0, 0x0, 0x0) /root/riscv-go/src/net/http/roundtrip.go:17 +0x3c net/http.send(0x2101083900, 0x6dc400, 0x210109aea0, 0x0, 0x0, 0x0, 0x0, 0x21005f8800, 0x2101084f30, 0x1) /root/riscv-go/src/net/http/client.go:250 +0x268 net/http.(*Client).send(0x2101084e10, 0x2101083900, 0x0, 0x0, 0x0, 0x21005f8800, 0x0, 0x1, 0x1555559460) /root/riscv-go/src/net/http/client.go:174 +0x118 net/http.(*Client).do(0x2101084e10, 0x2101083900, 0x0, 0x0, 0x0) /root/riscv-go/src/net/http/client.go:641 +0x2bc net/http.(*Client).Do(...) /root/riscv-go/src/net/http/client.go:509 net/http.(*Client).Get(0x2101084e10, 0x2100cd9c40, 0x16, 0x2101083800, 0x21012d0150, 0x0) /root/riscv-go/src/net/http/client.go:398 +0xb4 net/http_test.testHandlerPanic(0x2101083800, 0x130000, 0x63e480, 0x568b00, 0x6d1180) /root/riscv-go/src/net/http/serve_test.go:2792 +0x3d0 net/http_test.TestTimeoutHandlerPanicRecovery(0x2101083800) /root/riscv-go/src/net/http/serve_test.go:2559 +0x64 testing.tRunner(0x2101083800, 0x63e488) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 650 [chan receive]: testing.(*T).Parallel(0x2100dc2700) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100dc2700) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTransportGCRequest(0x2100dc2700, 0xf9004d0100) /root/riscv-go/src/net/http/clientserver_test.go:1049 +0x38 net/http_test.TestTransportGCRequest_Body_h1(0x2100dc2700) /root/riscv-go/src/net/http/clientserver_test.go:1044 +0x44 testing.tRunner(0x2100dc2700, 0x63e6e8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1188 [chan receive]: testing.(*T).Parallel(0x2101082e00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101082e00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestRequestBodyReadErrorClosesConnection(0x2101082e00) /root/riscv-go/src/net/http/serve_test.go:2110 +0x38 testing.tRunner(0x2101082e00, 0x63df78) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 651 [chan receive]: testing.(*T).Parallel(0x2100dc2800) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100dc2800) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTransportGCRequest(0x2100dc2800, 0xf9006b0101) /root/riscv-go/src/net/http/clientserver_test.go:1049 +0x38 net/http_test.TestTransportGCRequest_Body_h2(0x2100dc2800) /root/riscv-go/src/net/http/clientserver_test.go:1045 +0x40 testing.tRunner(0x2100dc2800, 0x63e6f0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1194 [chan receive]: testing.(*T).Parallel(0x2101083400) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101083400) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestTimeoutHandlerRaceHeader(0x2101083400) /root/riscv-go/src/net/http/serve_test.go:2411 +0x34 testing.tRunner(0x2101083400, 0x63e4c8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1195 [chan receive]: testing.(*T).Parallel(0x2101083500) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101083500) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestTimeoutHandlerRaceHeaderTimeout(0x2101083500) /root/riscv-go/src/net/http/serve_test.go:2449 +0x38 testing.tRunner(0x2101083500, 0x63e4c0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 652 [chan receive]: testing.(*T).Parallel(0x2100dc2900) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100dc2900) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTransportGCRequest(0x2100dc2900, 0xf900760000) /root/riscv-go/src/net/http/clientserver_test.go:1049 +0x38 net/http_test.TestTransportGCRequest_NoBody_h1(0x2100dc2900) /root/riscv-go/src/net/http/clientserver_test.go:1046 +0x40 testing.tRunner(0x2100dc2900, 0x63e6f8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 653 [chan receive]: testing.(*T).Parallel(0x2100dc2a00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100dc2a00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTransportGCRequest(0x2100dc2a00, 0xf9007c0001) /root/riscv-go/src/net/http/clientserver_test.go:1049 +0x38 net/http_test.TestTransportGCRequest_NoBody_h2(0x2100dc2a00) /root/riscv-go/src/net/http/clientserver_test.go:1047 +0x44 testing.tRunner(0x2100dc2a00, 0x63e700) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 654 [chan receive]: testing.(*T).Parallel(0x2100dc2b00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100dc2b00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTransportRejectsInvalidHeaders(0x2100dc2b00, 0xf900825000) /root/riscv-go/src/net/http/clientserver_test.go:1096 +0x38 net/http_test.TestTransportRejectsInvalidHeaders_h1(0x2100dc2b00) /root/riscv-go/src/net/http/clientserver_test.go:1090 +0x3c testing.tRunner(0x2100dc2b00, 0x63e878) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 655 [chan receive]: testing.(*T).Parallel(0x2100dc2c00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100dc2c00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTransportRejectsInvalidHeaders(0x2100dc2c00, 0xf90087b701) /root/riscv-go/src/net/http/clientserver_test.go:1096 +0x38 net/http_test.TestTransportRejectsInvalidHeaders_h2(0x2100dc2c00) /root/riscv-go/src/net/http/clientserver_test.go:1093 +0x3c testing.tRunner(0x2100dc2c00, 0x63e880) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 656 [chan receive]: testing.(*T).Parallel(0x2100dc2d00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100dc2d00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testInterruptWithPanic(0x2100dc2d00, 0x5cd4c600, 0x568b00, 0x6d1e60) /root/riscv-go/src/net/http/clientserver_test.go:1158 +0x38 net/http_test.TestInterruptWithPanic_h1(0x2100dc2d00) /root/riscv-go/src/net/http/clientserver_test.go:1147 +0x54 testing.tRunner(0x2100dc2d00, 0x63dcf0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 721 [chan receive]: testing.(*T).Parallel(0x2100dc2e00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100dc2e00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testInterruptWithPanic(0x2100dc2e00, 0x5cd4c601, 0x568b00, 0x6d1ea0) /root/riscv-go/src/net/http/clientserver_test.go:1158 +0x38 net/http_test.TestInterruptWithPanic_h2(0x2100dc2e00) /root/riscv-go/src/net/http/clientserver_test.go:1148 +0x54 testing.tRunner(0x2100dc2e00, 0x63dcf8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 722 [chan receive]: testing.(*T).Parallel(0x2100dc2f00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100dc2f00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testInterruptWithPanic(0x2100dc2f00, 0x5cd4c600, 0x0, 0x0) /root/riscv-go/src/net/http/clientserver_test.go:1158 +0x38 net/http_test.TestInterruptWithPanic_nil_h1(0x2100dc2f00) /root/riscv-go/src/net/http/clientserver_test.go:1149 +0x4c testing.tRunner(0x2100dc2f00, 0x63dd00) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 723 [chan receive]: testing.(*T).Parallel(0x2100dc3000) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100dc3000) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testInterruptWithPanic(0x2100dc3000, 0x5cd4c601, 0x0, 0x0) /root/riscv-go/src/net/http/clientserver_test.go:1158 +0x38 net/http_test.TestInterruptWithPanic_nil_h2(0x2100dc3000) /root/riscv-go/src/net/http/clientserver_test.go:1150 +0x4c testing.tRunner(0x2100dc3000, 0x63dd08) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 724 [chan receive]: testing.(*T).Parallel(0x2100dc3100) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100dc3100) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testInterruptWithPanic(0x2100dc3100, 0x5cd4c600, 0x589480, 0x21001c89c0) /root/riscv-go/src/net/http/clientserver_test.go:1158 +0x38 net/http_test.TestInterruptWithPanic_ErrAbortHandler_h1(0x2100dc3100) /root/riscv-go/src/net/http/clientserver_test.go:1152 +0x68 testing.tRunner(0x2100dc3100, 0x63dce0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 725 [chan receive]: testing.(*T).Parallel(0x2100dc3200) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100dc3200) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testInterruptWithPanic(0x2100dc3200, 0x5cd4c601, 0x589480, 0x21001c89c0) /root/riscv-go/src/net/http/clientserver_test.go:1158 +0x38 net/http_test.TestInterruptWithPanic_ErrAbortHandler_h2(0x2100dc3200) /root/riscv-go/src/net/http/clientserver_test.go:1155 +0x68 testing.tRunner(0x2100dc3200, 0x63dce8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 726 [chan receive]: testing.(*T).Parallel(0x2100dc3300) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100dc3300) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63d9c0, 0x0, 0x0, 0x2100b53f80, 0x0, 0x0, 0x0, 0x2100dc3300) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_AutoGzipWithDumpResponse(0x2100dc3300) /root/riscv-go/src/net/http/clientserver_test.go:1256 +0xcc testing.tRunner(0x2100dc3300, 0x63d9c8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 727 [chan receive]: testing.(*T).Parallel(0x2100dc3400) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100dc3400) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testCloseIdleConnections(0x2100dc3400, 0xf900f5ab00) /root/riscv-go/src/net/http/clientserver_test.go:1263 +0x34 net/http_test.TestCloseIdleConnections_h1(0x2100dc3400) /root/riscv-go/src/net/http/clientserver_test.go:1260 +0x3c testing.tRunner(0x2100dc3400, 0x63d848) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 728 [chan receive]: testing.(*T).Parallel(0x2100dc3500) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100dc3500) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testCloseIdleConnections(0x2100dc3500, 0xf900fe5e01) /root/riscv-go/src/net/http/clientserver_test.go:1263 +0x34 net/http_test.TestCloseIdleConnections_h2(0x2100dc3500) /root/riscv-go/src/net/http/clientserver_test.go:1261 +0x3c testing.tRunner(0x2100dc3500, 0x63d850) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 801 [chan receive]: testing.(*T).Parallel(0x2100ebaa00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100ebaa00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testWriteHeaderAfterWrite(0x2100ebaa00, 0xf9129b0000) /root/riscv-go/src/net/http/clientserver_test.go:1436 +0x38 net/http_test.TestWriteHeaderNoCodeCheck_h1(0x2100ebaa00) /root/riscv-go/src/net/http/clientserver_test.go:1432 +0x40 testing.tRunner(0x2100ebaa00, 0x63e990) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1112 [chan receive]: testing.(*T).Parallel(0x2101137d00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101137d00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestHostHandlers(0x2101137d00) /root/riscv-go/src/net/http/serve_test.go:246 +0x38 testing.tRunner(0x2101137d00, 0x63dca8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1157 [chan receive]: testing.(*T).Parallel(0x21010d0800) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21010d0800) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestTLSHandshakeTimeout(0x21010d0800) /root/riscv-go/src/net/http/serve_test.go:1426 +0x38 testing.tRunner(0x21010d0800, 0x63e438) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1144 [runnable]: context.(*cancelCtx).Done(0x21011ba700, 0x0) /root/riscv-go/src/context/context.go:327 +0xa8 context.propagateCancel(0x6e74e0, 0x21011ba700, 0x6df0a0, 0x2101157560) /root/riscv-go/src/context/context.go:242 +0x34 context.WithDeadline(0x6e74e0, 0x21011ba700, 0xbf2d4f9b01d3fa0c, 0x1b3aefc85, 0xa4ae80, 0x0, 0x0, 0x0) /root/riscv-go/src/context/context.go:392 +0x164 context.WithTimeout(0x6e74e0, 0x21011ba700, 0x3b9aca00, 0xa54cc, 0xa4a4c8, 0x6) /root/riscv-go/src/context/context.go:451 +0x74 net/http.(*timeoutHandler).ServeHTTP(0x2100b1db00, 0x6e6860, 0x2100e1bdc0, 0x2101213a00) /root/riscv-go/src/net/http/server.go:3172 +0x79c net/http.serverHandler.ServeHTTP(0x2100d07450, 0x6e6860, 0x2100e1bdc0, 0x2101213a00) /root/riscv-go/src/net/http/server.go:2774 +0xac net/http.(*conn).serve(0x21013060a0, 0x6e74e0, 0x21011ba680) /root/riscv-go/src/net/http/server.go:1878 +0xb50 created by net/http.(*Server).Serve /root/riscv-go/src/net/http/server.go:2884 +0x368 goroutine 803 [chan receive]: testing.(*T).Parallel(0x2100ebac00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100ebac00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testWriteHeaderAfterWrite(0x2100ebac00, 0xf912a60001) /root/riscv-go/src/net/http/clientserver_test.go:1436 +0x38 net/http_test.TestWriteHeaderNoCodeCheck_h2(0x2100ebac00) /root/riscv-go/src/net/http/clientserver_test.go:1434 +0x44 testing.tRunner(0x2100ebac00, 0x63e998) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 804 [chan receive]: testing.(*T).Parallel(0x2100ebad00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100ebad00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestBidiStreamReverseProxy(0x2100ebad00) /root/riscv-go/src/net/http/clientserver_test.go:1487 +0x38 testing.tRunner(0x2100ebad00, 0x63d678) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 805 [chan receive]: testing.(*T).Parallel(0x2100ebae00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100ebae00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.h12Compare.run(0x63dac0, 0x63dac8, 0x0, 0x2100eb95a0, 0x0, 0x0, 0x0, 0x2100ebae00) /root/riscv-go/src/net/http/clientserver_test.go:195 +0x38 net/http_test.TestH12_WebSocketUpgrade(0x2100ebae00) /root/riscv-go/src/net/http/clientserver_test.go:1569 +0xd8 testing.tRunner(0x2100ebae00, 0x63dad0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 806 [chan receive]: testing.(*T).Parallel(0x2100ebaf00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2100ebaf00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestServeFile(0x2100ebaf00) /root/riscv-go/src/net/http/fs_test.go:71 +0x38 testing.tRunner(0x2100ebaf00, 0x63e078) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1029 [chan receive]: testing.(*T).Parallel(0x2101023f00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101023f00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestLinuxSendfile(0x2101023f00) /root/riscv-go/src/net/http/fs_test.go:1094 +0x38 testing.tRunner(0x2101023f00, 0x63dda8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1145 [runnable]: net/http.(*connReader).backgroundRead(0x2101133380) /root/riscv-go/src/net/http/server.go:676 created by net/http.(*connReader).startBackgroundRead /root/riscv-go/src/net/http/server.go:673 +0xf0 goroutine 1111 [chan receive]: testing.(*T).Parallel(0x2101137c00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.TestConsumingBodyOnNextConn(0x2101137c00) /root/riscv-go/src/net/http/serve_test.go:164 +0x38 testing.tRunner(0x2101137c00, 0x63d8d8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1005 [chan receive]: testing.(*T).Parallel(0x2101082800) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101082800) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testAutomaticHTTP2_Serve(0x2101082800, 0x21012dc180, 0xf965f75400) /root/riscv-go/src/net/http/serve_test.go:1599 +0x34 net/http_test.TestAutomaticHTTP2_Serve_NonH2TLSConfig(0x2101082800) /root/riscv-go/src/net/http/serve_test.go:1591 +0x54 testing.tRunner(0x2101082800, 0x63d640) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1192 [chan receive]: testing.(*T).Parallel(0x2101083200) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101083200) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTimeoutHandler(0x2101083200, 0xf97b510001) /root/riscv-go/src/net/http/serve_test.go:2310 +0x38 net/http_test.TestTimeoutHandler_h2(0x2101083200) /root/riscv-go/src/net/http/serve_test.go:2308 +0x3c testing.tRunner(0x2101083200, 0x63e4f0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1187 [chan receive]: testing.(*T).Parallel(0x2101082d00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101082d00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestHandlerBodyClose(0x2101082d00) /root/riscv-go/src/net/http/serve_test.go:2030 +0x38 testing.tRunner(0x2101082d00, 0x63db58) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1191 [chan receive]: testing.(*T).Parallel(0x2101083100) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101083100) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTimeoutHandler(0x2101083100, 0xf97b4ade00) /root/riscv-go/src/net/http/serve_test.go:2310 +0x38 net/http_test.TestTimeoutHandler_h1(0x2101083100) /root/riscv-go/src/net/http/serve_test.go:2307 +0x3c testing.tRunner(0x2101083100, 0x63e4e8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1156 [chan receive]: testing.(*T).Parallel(0x21010d0700) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21010d0700) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testHeadResponses(0x21010d0700, 0xf95ecd3401) /root/riscv-go/src/net/http/serve_test.go:1388 +0x38 net/http_test.TestHeadResponses_h2(0x21010d0700) /root/riscv-go/src/net/http/serve_test.go:1385 +0x3c testing.tRunner(0x21010d0700, 0x63dbe8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1193 [chan receive]: testing.(*T).Parallel(0x2101083300) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101083300) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestTimeoutHandlerRace(0x2101083300) /root/riscv-go/src/net/http/serve_test.go:2367 +0x34 testing.tRunner(0x2101083300, 0x63e4d0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1058 [chan receive]: testing.(*T).Parallel(0x210103a600) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x210103a600) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestNextProtoUpgrade(0x210103a600) /root/riscv-go/src/net/http/npn_test.go:22 +0x38 testing.tRunner(0x210103a600, 0x63de28) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1185 [chan receive]: testing.(*T).Parallel(0x2101082b00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101082b00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestServerUnreadRequestBodyLittle(0x2101082b00) /root/riscv-go/src/net/http/serve_test.go:1855 +0x38 testing.tRunner(0x2101082b00, 0x63e330) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1158 [chan receive]: testing.(*T).Parallel(0x21010d0900) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21010d0900) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestTLSServer(0x21010d0900) /root/riscv-go/src/net/http/serve_test.go:1457 +0x38 testing.tRunner(0x21010d0900, 0x63e468) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1114 [chan receive]: testing.(*T).Parallel(0x2101137f00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101137f00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestServeMuxHandleFuncWithNilHandler(0x2101137f00) /root/riscv-go/src/net/http/serve_test.go:389 +0x34 testing.tRunner(0x2101137f00, 0x63e0a0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1115 [chan receive]: testing.(*T).Parallel(0x2101212000) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101212000) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestServeMuxHandlerRedirects(0x2101212000) /root/riscv-go/src/net/http/serve_test.go:414 +0x38 testing.tRunner(0x2101212000, 0x63e0a8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1116 [chan receive]: testing.(*T).Parallel(0x2101212100) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101212100) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestMuxRedirectLeadingSlashes(0x2101212100) /root/riscv-go/src/net/http/serve_test.go:457 +0x38 testing.tRunner(0x2101212100, 0x63de00) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1117 [chan receive]: testing.(*T).Parallel(0x2101212200) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101212200) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestServeWithSlashRedirectKeepsQueryString(0x2101212200) /root/riscv-go/src/net/http/serve_test.go:486 +0x38 testing.tRunner(0x2101212200, 0x63e0e8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1118 [chan receive]: testing.(*T).Parallel(0x2101212300) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101212300) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestServeWithSlashRedirectForHostPatterns(0x2101212300) /root/riscv-go/src/net/http/serve_test.go:544 +0x38 testing.tRunner(0x2101212300, 0x63e0d0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1119 [chan receive]: testing.(*T).Parallel(0x2101212400) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101212400) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestShouldRedirectConcurrency(0x2101212400) /root/riscv-go/src/net/http/serve_test.go:602 +0x34 testing.tRunner(0x2101212400, 0x63e390) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1120 [chan receive]: testing.(*T).Parallel(0x2101212500) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101212500) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestServerTimeouts(0x2101212500) /root/riscv-go/src/net/http/serve_test.go:656 +0x38 testing.tRunner(0x2101212500, 0x63e310) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1124 [chan receive]: testing.(*T).Parallel(0x2101212900) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101212900) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestOnlyWriteTimeout(0x2101212900) /root/riscv-go/src/net/http/serve_test.go:918 +0x38 testing.tRunner(0x2101212900, 0x63de80) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1125 [chan receive]: testing.(*T).Parallel(0x2101212a00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101212a00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestIdentityResponse(0x2101212a00) /root/riscv-go/src/net/http/serve_test.go:992 +0x38 testing.tRunner(0x2101212a00, 0x63dcc0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1126 [chan receive]: testing.(*T).Parallel(0x2101212b00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101212b00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTCPConnectionCloses(0x2101212b00, 0x615c57, 0x12, 0x6dd000, 0x63e080) /root/riscv-go/src/net/http/serve_test.go:1071 +0x38 net/http_test.TestServeHTTP10Close(0x2101212b00) /root/riscv-go/src/net/http/serve_test.go:1142 +0x60 testing.tRunner(0x2101212b00, 0x63e088) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1127 [chan receive]: testing.(*T).Parallel(0x2101212c00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101212c00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTCPConnectionCloses(0x2101212c00, 0x62df2c, 0x30, 0x6dd000, 0x63d6f0) /root/riscv-go/src/net/http/serve_test.go:1071 +0x38 net/http_test.TestClientCanClose(0x2101212c00) /root/riscv-go/src/net/http/serve_test.go:1149 +0x60 testing.tRunner(0x2101212c00, 0x63d6f8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1128 [chan receive]: testing.(*T).Parallel(0x2101212d00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101212d00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTCPConnectionCloses(0x2101212d00, 0x62175d, 0x1f, 0x6dd000, 0x63dbd0) /root/riscv-go/src/net/http/serve_test.go:1071 +0x38 net/http_test.TestHandlersCanSetConnectionClose11(0x2101212d00) /root/riscv-go/src/net/http/serve_test.go:1157 +0x60 testing.tRunner(0x2101212d00, 0x63dbd8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1129 [chan receive]: testing.(*T).Parallel(0x2101212e00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101212e00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTCPConnectionCloses(0x2101212e00, 0x62a9d7, 0x2a, 0x6dd000, 0x63dbc0) /root/riscv-go/src/net/http/serve_test.go:1071 +0x38 net/http_test.TestHandlersCanSetConnectionClose10(0x2101212e00) /root/riscv-go/src/net/http/serve_test.go:1163 +0x60 testing.tRunner(0x2101212e00, 0x63dbc8) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1130 [chan receive]: testing.(*T).Parallel(0x2101212f00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101212f00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTCPConnectionCloses(0x2101212f00, 0x61b089, 0x18, 0x6dd000, 0x63db20) /root/riscv-go/src/net/http/serve_test.go:1071 +0x38 net/http_test.TestHTTP2UpgradeClosesConnection(0x2101212f00) /root/riscv-go/src/net/http/serve_test.go:1169 +0x60 testing.tRunner(0x2101212f00, 0x63db28) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1131 [chan receive]: testing.(*T).Parallel(0x2101213000) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101213000) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTCPConnectionStaysOpen(0x2101213000, 0x62a9d7, 0x2a, 0x6dd000, 0x63ea38) /root/riscv-go/src/net/http/serve_test.go:1115 +0x38 net/http_test.TestHTTP10KeepAlive204Response(0x2101213000) /root/riscv-go/src/net/http/serve_test.go:1180 +0x60 testing.tRunner(0x2101213000, 0x63db00) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1132 [chan receive]: testing.(*T).Parallel(0x2101213100) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101213100) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTCPConnectionStaysOpen(0x2101213100, 0x61f5f8, 0x1d, 0x6dd000, 0x63ea38) /root/riscv-go/src/net/http/serve_test.go:1115 +0x38 net/http_test.TestHTTP11KeepAlive204Response(0x2101213100) /root/riscv-go/src/net/http/serve_test.go:1184 +0x60 testing.tRunner(0x2101213100, 0x63db10) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1133 [chan receive]: testing.(*T).Parallel(0x2101213200) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101213200) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testTCPConnectionStaysOpen(0x2101213200, 0x635f51, 0x5c, 0x6dd000, 0x63ea40) /root/riscv-go/src/net/http/serve_test.go:1115 +0x38 net/http_test.TestHTTP10KeepAlive304Response(0x2101213200) /root/riscv-go/src/net/http/serve_test.go:1188 +0x60 testing.tRunner(0x2101213200, 0x63db08) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1134 [chan receive]: testing.(*T).Parallel(0x2101213300) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101213300) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestKeepAliveFinalChunkWithEOF(0x2101213300) /root/riscv-go/src/net/http/serve_test.go:1195 +0x38 testing.tRunner(0x2101213300, 0x63dd90) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1135 [chan receive]: testing.(*T).Parallel(0x2101213400) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101213400) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testSetsRemoteAddr(0x2101213400, 0xf9574bd100) /root/riscv-go/src/net/http/serve_test.go:1228 +0x38 net/http_test.TestSetsRemoteAddr_h1(0x2101213400) /root/riscv-go/src/net/http/serve_test.go:1224 +0x3c testing.tRunner(0x2101213400, 0x63e370) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1136 [chan receive]: testing.(*T).Parallel(0x2101213500) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101213500) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testSetsRemoteAddr(0x2101213500, 0xf957548301) /root/riscv-go/src/net/http/serve_test.go:1228 +0x38 net/http_test.TestSetsRemoteAddr_h2(0x2101213500) /root/riscv-go/src/net/http/serve_test.go:1225 +0x3c testing.tRunner(0x2101213500, 0x63e378) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1168 [IO wait]: internal/poll.runtime_pollWait(0x15577cdab8, 0x72, 0xffffffffffffffff) /root/riscv-go/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x2101020b98, 0x72, 0x1000, 0x1000, 0xffffffffffffffff) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:87 +0xd8 internal/poll.(*pollDesc).waitRead(...) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x2101020b80, 0x21013c8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /root/riscv-go/src/internal/poll/fd_unix.go:169 +0x1f8 net.(*netFD).Read(0x2101020b80, 0x21013c8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /root/riscv-go/src/net/fd_unix.go:202 +0x50 net.(*conn).Read(0x2100294cb0, 0x21013c8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /root/riscv-go/src/net/net.go:177 +0x74 net/http.(*persistConn).Read(0x210109b200, 0x21013c8000, 0x1000, 0x1000, 0x0, 0x3d3484, 0x21001ca3b0) /root/riscv-go/src/net/http/transport.go:1524 +0x194 bufio.(*Reader).fill(0x2101348540) /root/riscv-go/src/bufio/bufio.go:100 +0x178 bufio.(*Reader).Peek(0x2101348540, 0x1, 0x21012fb3e0, 0x21013d1d90, 0x0, 0x0, 0x0) /root/riscv-go/src/bufio/bufio.go:138 +0x54 net/http.(*persistConn).readLoop(0x210109b200) /root/riscv-go/src/net/http/transport.go:1677 +0x1b8 created by net/http.(*Transport).dialConn /root/riscv-go/src/net/http/transport.go:1357 +0xe80 goroutine 1186 [chan receive]: testing.(*T).Parallel(0x2101082c00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101082c00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestServerUnreadRequestBodyLarge(0x2101082c00) /root/riscv-go/src/net/http/serve_test.go:1896 +0x38 testing.tRunner(0x2101082c00, 0x63e328) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1006 [chan receive]: testing.(*T).Parallel(0x2101082900) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101082900) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.testAutomaticHTTP2_Serve(0x2101082900, 0x21012dc300, 0x27962701) /root/riscv-go/src/net/http/serve_test.go:1599 +0x34 net/http_test.TestAutomaticHTTP2_Serve_H2TLSConfig(0x2101082900) /root/riscv-go/src/net/http/serve_test.go:1595 +0xe4 testing.tRunner(0x2101082900, 0x63d630) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1189 [chan receive]: testing.(*T).Parallel(0x2101082f00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101082f00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestInvalidTrailerClosesConnection(0x2101082f00) /root/riscv-go/src/net/http/serve_test.go:2141 +0x38 testing.tRunner(0x2101082f00, 0x63dd10) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1003 [chan receive]: testing.(*T).Parallel(0x2101082600) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101082600) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestTLSServerRejectHTTPRequests(0x2101082600) /root/riscv-go/src/net/http/serve_test.go:1561 +0x38 testing.tRunner(0x2101082600, 0x63e460) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1162 [chan receive]: testing.(*T).Parallel(0x21010d0b00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x21010d0b00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestAutomaticHTTP2_Serve_WithTLSConfig(0x21010d0b00) /root/riscv-go/src/net/http/serve_test.go:1615 +0x34 testing.tRunner(0x21010d0b00, 0x63d648) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1008 [chan receive]: testing.(*T).Parallel(0x2101082a00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 net/http_test.setParallel(0x2101082a00) /root/riscv-go/src/net/http/main_test.go:94 +0x54 net/http_test.TestServerExpect(0x2101082a00) /root/riscv-go/src/net/http/serve_test.go:1761 +0x38 testing.tRunner(0x2101082a00, 0x63e1e0) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1217 [select]: net/http.(*persistConn).writeLoop(0x210109b200) /root/riscv-go/src/net/http/transport.go:1958 +0xd8 created by net/http.(*Transport).dialConn /root/riscv-go/src/net/http/transport.go:1358 +0xea8 FAIL net/http 7.810s ok net/http/cgi 5.351s ok net/http/cookiejar (cached) ok net/http/fcgi (cached) ok net/http/httptest (cached) ok net/http/httptrace (cached) ok net/http/httputil (cached) ok net/http/internal (cached) ok net/http/pprof (cached) ok net/internal/socktest (cached) ok net/mail (cached) ok net/rpc (cached) ok net/rpc/jsonrpc (cached) ok net/smtp (cached) ok net/textproto (cached) ok net/url (cached) ok os 4.240s ok os/exec 5.261s ok os/signal (cached) ok os/user (cached) ok path (cached) ok path/filepath (cached) ok plugin (cached) ok reflect (cached) ok regexp (cached) ok regexp/syntax (cached) --- FAIL: TestSelectStackAdjust (1.23s) chan_test.go:723: failed to trigger concurrent GC --- FAIL: TestSignalIgnoreSIGTRAP (9.63s) crash_test.go:95: testprognet SignalIgnoreSIGTRAP exit status: exit status 2 crash_unix_test.go:268: want OK , got fatal error: cas1 runtime: panic before malloc heap initialized runtime stack: runtime.throw(0x176e97, 0x4) /root/riscv-go/src/runtime/panic.go:617 +0x88 fp=0x3ffffb5050 sp=0x3ffffb5028 pc=0x4ac30 runtime.check() /root/riscv-go/src/runtime/runtime1.go:215 +0x57c fp=0x3ffffb5090 sp=0x3ffffb5050 pc=0x5f71c runtime.rt0_go(0x3ffffb50b8, 0xdd580, 0x2, 0x3ffffb53a8, 0x3ffffb53cf, 0x0, 0x3ffffb53e3, 0x3ffffb53f3, 0x3ffffb540a, 0x3ffffb5420, ...) /root/riscv-go/src/runtime/asm_riscv64.s:52 +0x90 fp=0x3ffffb5098 sp=0x3ffffb5090 pc=0x82c58 unexpected fault address 0x8001b0f68 fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0x8001b0f68 pc=0x2379c] goroutine 22629 [running]: runtime.throw(0x385f44, 0x5) /root/riscv-go/src/runtime/panic.go:617 +0x88 fp=0x21080dcd18 sp=0x21080dccf0 pc=0x4f550 runtime.sigpanic() /root/riscv-go/src/runtime/signal_unix.go:397 +0x504 fp=0x21080dcd48 sp=0x21080dcd18 pc=0x6d41c runtime.evacuate(0x333020, 0x21080ddee8, 0x1b) /root/riscv-go/src/runtime/map.go:1173 +0x224 fp=0x21080dce18 sp=0x21080dcd50 pc=0x2379c runtime.growWork(0x333020, 0x21080ddee8, 0x1b) /root/riscv-go/src/runtime/map.go:1115 +0xa8 fp=0x21080dce38 sp=0x21080dce18 pc=0x23520 runtime.mapassign(0x333020, 0x21080ddee8, 0x21080dd6e8, 0x21003f5000) /root/riscv-go/src/runtime/map.go:606 +0x818 fp=0x21080dceb8 sp=0x21080dce38 pc=0x218c0 runtime_test.TestGcMapIndirection(0x210035a000) /root/riscv-go/src/runtime/gc_test.go:63 +0x190 fp=0x21080ddfa8 sp=0x21080dceb8 pc=0x285610 testing.tRunner(0x210035a000, 0x39b948) /root/riscv-go/src/testing/testing.go:865 +0xf4 fp=0x21080ddfc8 sp=0x21080ddfa8 pc=0x140d04 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x21080ddfc8 sp=0x21080ddfc8 pc=0x9067c created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 1 [chan receive, locked to thread]: runtime.gopark(0x39ab00, 0x2100192358, 0x122000019170d, 0x3) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2100057bb0 sp=0x2100057b88 pc=0x51ce0 runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 runtime.chanrecv(0x2100192300, 0x2100057cbf, 0x2100000101, 0x141118) /root/riscv-go/src/runtime/chan.go:524 +0x374 fp=0x2100057c38 sp=0x2100057bb0 pc=0x15bb4 runtime.chanrecv1(0x2100192300, 0x2100057cbf) /root/riscv-go/src/runtime/chan.go:406 +0x2c fp=0x2100057c60 sp=0x2100057c38 pc=0x157f4 testing.(*T).Run(0x210035a000, 0x38bfaa, 0x14, 0x39b948, 0x140c01) /root/riscv-go/src/testing/testing.go:917 +0x3c0 fp=0x2100057d08 sp=0x2100057c60 pc=0x141140 testing.runTests.func1(0x2100212100) /root/riscv-go/src/testing/testing.go:1157 +0x88 fp=0x2100057d50 sp=0x2100057d08 pc=0x1454e0 testing.tRunner(0x2100212100, 0x2100057e08) /root/riscv-go/src/testing/testing.go:865 +0xf4 fp=0x2100057d70 sp=0x2100057d50 pc=0x140d04 testing.runTests(0x210019e220, 0x5dce40, 0xef, 0xef, 0x0) /root/riscv-go/src/testing/testing.go:1155 +0x2e8 fp=0x2100057e28 sp=0x2100057d70 pc=0x142630 testing.(*M).Run(0x21001f6200, 0x0) /root/riscv-go/src/testing/testing.go:1072 +0x194 fp=0x2100057ef0 sp=0x2100057e28 pc=0x1415fc runtime_test.TestMain(0x21001f6200) /root/riscv-go/src/runtime/crash_test.go:28 +0x34 fp=0x2100057f38 sp=0x2100057ef0 pc=0x27b04c main.main() _testmain.go:980 +0x190 fp=0x2100057f98 sp=0x2100057f38 pc=0x2e2480 runtime.main() /root/riscv-go/src/runtime/proc.go:200 +0x290 fp=0x2100057fd8 sp=0x2100057f98 pc=0x516d0 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x2100057fd8 sp=0x2100057fd8 pc=0x9067c goroutine 2 [force gc (idle)]: runtime.gopark(0x39ab00, 0x5df380, 0x1410, 0x1) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2100189fb0 sp=0x2100189f88 pc=0x51ce0 runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 runtime.forcegchelper() /root/riscv-go/src/runtime/proc.go:250 +0x118 fp=0x2100189fd8 sp=0x2100189fb0 pc=0x51ab8 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x2100189fd8 sp=0x2100189fd8 pc=0x9067c created by runtime.init.4 /root/riscv-go/src/runtime/proc.go:239 +0x40 goroutine 3 [GC sweep wait]: runtime.gopark(0x39ab00, 0x5df780, 0x140c, 0x1) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2100191fa8 sp=0x2100191f80 pc=0x51ce0 runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 runtime.bgsweep(0x21000ea000) /root/riscv-go/src/runtime/mgcsweep.go:89 +0x1f4 fp=0x2100191fd0 sp=0x2100191fa8 pc=0x3e5f4 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x2100191fd0 sp=0x2100191fd0 pc=0x9067c created by runtime.gcenable /root/riscv-go/src/runtime/mgc.go:208 +0x68 goroutine 17 [finalizer wait]: runtime.gopark(0x39ab00, 0x5f9290, 0x210001140f, 0x1) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x21001cbf50 sp=0x21001cbf28 pc=0x51ce0 runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 runtime.runfinq() /root/riscv-go/src/runtime/mfinal.go:175 +0xe8 fp=0x21001cbfd8 sp=0x21001cbf50 pc=0x313e0 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x21001cbfd8 sp=0x21001cbfd8 pc=0x9067c created by runtime.createfing /root/riscv-go/src/runtime/mfinal.go:156 +0x98 goroutine 18 [syscall]: runtime.notetsleepg(0x5e1360, 0x7cb7cce6cd, 0x0) /root/riscv-go/src/runtime/lock_futex.go:227 +0x44 fp=0x210026ff60 sp=0x210026ff38 pc=0x1ca44 runtime.timerproc(0x5e1340) /root/riscv-go/src/runtime/time.go:311 +0x3c8 fp=0x210026ffd0 sp=0x210026ff60 pc=0x7b088 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x210026ffd0 sp=0x210026ffd0 pc=0x9067c created by runtime.(*timersBucket).addtimerLocked /root/riscv-go/src/runtime/time.go:169 +0x180 goroutine 22560 [chan receive]: runtime.gopark(0x39ab00, 0x2100192298, 0x21000e170d, 0x3) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x21080fbde8 sp=0x21080fbdc0 pc=0x51ce0 runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 runtime.chanrecv(0x2100192240, 0x0, 0x140901, 0x210000c101) /root/riscv-go/src/runtime/chan.go:524 +0x374 fp=0x21080fbe70 sp=0x21080fbde8 pc=0x15bb4 runtime.chanrecv1(0x2100192240, 0x0) /root/riscv-go/src/runtime/chan.go:406 +0x2c fp=0x21080fbe98 sp=0x21080fbe70 pc=0x157f4 testing.(*T).Parallel(0x21080c4f00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 fp=0x21080fbf18 sp=0x21080fbe98 pc=0x1409e0 runtime_test.TestNetpollDeadlock(0x21080c4f00) /root/riscv-go/src/runtime/crash_test.go:405 +0x38 fp=0x21080fbfa8 sp=0x21080fbf18 pc=0x27e268 testing.tRunner(0x21080c4f00, 0x39bc00) /root/riscv-go/src/testing/testing.go:865 +0xf4 fp=0x21080fbfc8 sp=0x21080fbfa8 pc=0x140d04 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x21080fbfc8 sp=0x21080fbfc8 pc=0x9067c created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 37 [timer goroutine (idle)]: runtime.gopark(0x39ab00, 0x5e13a0, 0x1414, 0x1) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x21002f5f60 sp=0x21002f5f38 pc=0x51ce0 runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 runtime.timerproc(0x5e13a0) /root/riscv-go/src/runtime/time.go:303 +0x32c fp=0x21002f5fd0 sp=0x21002f5f60 pc=0x7afec runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x21002f5fd0 sp=0x21002f5fd0 pc=0x9067c created by runtime.(*timersBucket).addtimerLocked /root/riscv-go/src/runtime/time.go:169 +0x180 goroutine 5 [syscall]: runtime.notetsleepg(0x5e1300, 0xdf842089f, 0x1414) /root/riscv-go/src/runtime/lock_futex.go:227 +0x44 fp=0x2100359f60 sp=0x2100359f38 pc=0x1ca44 runtime.timerproc(0x5e12e0) /root/riscv-go/src/runtime/time.go:311 +0x3c8 fp=0x2100359fd0 sp=0x2100359f60 pc=0x7b088 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x2100359fd0 sp=0x2100359fd0 pc=0x9067c created by runtime.(*timersBucket).addtimerLocked /root/riscv-go/src/runtime/time.go:169 +0x180 goroutine 51 [syscall]: runtime.notetsleepg(0x5e1420, 0xdf78a1e81, 0x1414) /root/riscv-go/src/runtime/lock_futex.go:227 +0x44 fp=0x21003b3f60 sp=0x21003b3f38 pc=0x1ca44 runtime.timerproc(0x5e1400) /root/riscv-go/src/runtime/time.go:311 +0x3c8 fp=0x21003b3fd0 sp=0x21003b3f60 pc=0x7b088 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x21003b3fd0 sp=0x21003b3fd0 pc=0x9067c created by runtime.(*timersBucket).addtimerLocked /root/riscv-go/src/runtime/time.go:169 +0x180 goroutine 2422 [GC worker (idle)]: runtime.gopark(0x39a950, 0x2100344060, 0xffff1417, 0x0) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2100c59f50 sp=0x2100c59f28 pc=0x51ce0 runtime.gcBgMarkWorker(0x2100024500) /root/riscv-go/src/runtime/mgc.go:1836 +0x140 fp=0x2100c59fd0 sp=0x2100c59f50 pc=0x36570 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x2100c59fd0 sp=0x2100c59fd0 pc=0x9067c created by runtime.gcBgMarkStartWorkers /root/riscv-go/src/runtime/mgc.go:1784 +0xc0 goroutine 2452 [GC worker (idle)]: runtime.gopark(0x39a950, 0x21001a6630, 0xffff1417, 0x0) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2100bc9f50 sp=0x2100bc9f28 pc=0x51ce0 runtime.gcBgMarkWorker(0x2100028f00) /root/riscv-go/src/runtime/mgc.go:1836 +0x140 fp=0x2100bc9fd0 sp=0x2100bc9f50 pc=0x36570 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x2100bc9fd0 sp=0x2100bc9fd0 pc=0x9067c created by runtime.gcBgMarkStartWorkers /root/riscv-go/src/runtime/mgc.go:1784 +0xc0 goroutine 22564 [chan receive]: runtime.gopark(0x39ab00, 0x2100192298, 0x21000e170d, 0x3) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2108195d48 sp=0x2108195d20 pc=0x51ce0 runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 runtime.chanrecv(0x2100192240, 0x0, 0x140901, 0x2100b36301) /root/riscv-go/src/runtime/chan.go:524 +0x374 fp=0x2108195dd0 sp=0x2108195d48 pc=0x15bb4 runtime.chanrecv1(0x2100192240, 0x0) /root/riscv-go/src/runtime/chan.go:406 +0x2c fp=0x2108195df8 sp=0x2108195dd0 pc=0x157f4 testing.(*T).Parallel(0x210035ad00) /root/riscv-go/src/testing/testing.go:770 +0x1f8 fp=0x2108195e78 sp=0x2108195df8 pc=0x1409e0 runtime_test.TestPanicTraceback(0x210035ad00) /root/riscv-go/src/runtime/crash_test.go:414 +0x38 fp=0x2108195fa8 sp=0x2108195e78 pc=0x27e458 testing.tRunner(0x210035ad00, 0x39bcf8) /root/riscv-go/src/testing/testing.go:865 +0xf4 fp=0x2108195fc8 sp=0x2108195fa8 pc=0x140d04 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x2108195fc8 sp=0x2108195fc8 pc=0x9067c created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 2381 [semacquire]: runtime.gopark(0x39ab00, 0x5e2ba0, 0x21000e1911, 0x4) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2100c51eb0 sp=0x2100c51e88 pc=0x51ce0 runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 runtime.semacquire1(0x5e00d4, 0xbfad8b04a7b6e800, 0x0) /root/riscv-go/src/runtime/sema.go:144 +0x244 fp=0x2100c51f00 sp=0x2100c51eb0 pc=0x68d54 runtime.semacquire(...) /root/riscv-go/src/runtime/sema.go:95 runtime.gcMarkDone() /root/riscv-go/src/runtime/mgc.go:1403 +0x4c fp=0x2100c51f50 sp=0x2100c51f00 pc=0x3515c runtime.gcBgMarkWorker(0x2100022000) /root/riscv-go/src/runtime/mgc.go:1963 +0x3b0 fp=0x2100c51fd0 sp=0x2100c51f50 pc=0x367e0 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x2100c51fd0 sp=0x2100c51fd0 pc=0x9067c created by runtime.gcBgMarkStartWorkers /root/riscv-go/src/runtime/mgc.go:1784 +0xc0 goroutine 2497 [select]: runtime.gopark(0x39ab50, 0x0, 0x1809, 0x1) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x21003a3da0 sp=0x21003a3d78 pc=0x51ce0 runtime.selectgo(0x21003a3f28, 0x21003a3ee8, 0x4, 0x2100192420, 0x2c5ff0) /root/riscv-go/src/runtime/select.go:313 +0xc80 fp=0x21003a3eb0 sp=0x21003a3da0 pc=0x679c8 runtime_test.TestSelectStackAdjust.func1(0x2100192600, 0x0) /root/riscv-go/src/runtime/chan_test.go:684 +0x120 fp=0x21003a3fc8 sp=0x21003a3eb0 pc=0x2c6188 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x21003a3fc8 sp=0x21003a3fc8 pc=0x9067c created by runtime_test.TestSelectStackAdjust /root/riscv-go/src/runtime/chan_test.go:705 +0x1d8 goroutine 2423 [running]: goroutine running on other thread; stack unavailable created by runtime.gcBgMarkStartWorkers /root/riscv-go/src/runtime/mgc.go:1784 +0xc0 goroutine 22618 [chan receive]: runtime.gopark(0x39ab00, 0x2100192298, 0x21000e170d, 0x3) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x21081f5a50 sp=0x21081f5a28 pc=0x51ce0 runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 runtime.chanrecv(0x2100192240, 0x0, 0x140901, 0x210819c101) /root/riscv-go/src/runtime/chan.go:524 +0x374 fp=0x21081f5ad8 sp=0x21081f5a50 pc=0x15bb4 runtime.chanrecv1(0x2100192240, 0x0) /root/riscv-go/src/runtime/chan.go:406 +0x2c fp=0x21081f5b00 sp=0x21081f5ad8 pc=0x157f4 testing.(*T).Parallel(0x21080c5800) /root/riscv-go/src/testing/testing.go:770 +0x1f8 fp=0x21081f5b80 sp=0x21081f5b00 pc=0x1409e0 runtime_test.TestCrashDumpsAllThreads(0x21080c5800) /root/riscv-go/src/runtime/crash_unix_test.go:54 +0x88 fp=0x21081f5fa8 sp=0x21081f5b80 pc=0x281ce8 testing.tRunner(0x21080c5800, 0x39b7f8) /root/riscv-go/src/testing/testing.go:865 +0xf4 fp=0x21081f5fc8 sp=0x21081f5fa8 pc=0x140d04 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x21081f5fc8 sp=0x21081f5fc8 pc=0x9067c created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 2453 [GC worker (idle)]: runtime.gopark(0x39a950, 0x21001a6640, 0xffff1417, 0x0) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2100bd1f50 sp=0x2100bd1f28 pc=0x51ce0 runtime.gcBgMarkWorker(0x210002b400) /root/riscv-go/src/runtime/mgc.go:1836 +0x140 fp=0x2100bd1fd0 sp=0x2100bd1f50 pc=0x36570 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x2100bd1fd0 sp=0x2100bd1fd0 pc=0x9067c created by runtime.gcBgMarkStartWorkers /root/riscv-go/src/runtime/mgc.go:1784 +0xc0 goroutine 2454 [GC worker (idle)]: runtime.gopark(0x39a950, 0x21001a6650, 0xffff1417, 0x0) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2100bd9f50 sp=0x2100bd9f28 pc=0x51ce0 runtime.gcBgMarkWorker(0x210002d900) /root/riscv-go/src/runtime/mgc.go:1836 +0x140 fp=0x2100bd9fd0 sp=0x2100bd9f50 pc=0x36570 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x2100bd9fd0 sp=0x2100bd9fd0 pc=0x9067c created by runtime.gcBgMarkStartWorkers /root/riscv-go/src/runtime/mgc.go:1784 +0xc0 goroutine 2498 [select]: runtime.gopark(0x39ab50, 0x0, 0x1809, 0x1) /root/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2100c49da0 sp=0x2100c49d78 pc=0x51ce0 runtime.selectgo(0x2100c49f28, 0x2100c49ee8, 0x4, 0x0, 0x0) /root/riscv-go/src/runtime/select.go:313 +0xc80 fp=0x2100c49eb0 sp=0x2100c49da0 pc=0x679c8 runtime_test.TestSelectStackAdjust.func1(0x2100192660, 0x1) /root/riscv-go/src/runtime/chan_test.go:684 +0x120 fp=0x2100c49fc8 sp=0x2100c49eb0 pc=0x2c6188 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x2100c49fc8 sp=0x2100c49fc8 pc=0x9067c created by runtime_test.TestSelectStackAdjust /root/riscv-go/src/runtime/chan_test.go:706 +0x21c goroutine 22379 [syscall]: runtime.notetsleepg(0x5e14e0, 0xdf8392b16, 0x0) /root/riscv-go/src/runtime/lock_futex.go:227 +0x44 fp=0x2108121f60 sp=0x2108121f38 pc=0x1ca44 runtime.timerproc(0x5e14c0) /root/riscv-go/src/runtime/time.go:311 +0x3c8 fp=0x2108121fd0 sp=0x2108121f60 pc=0x7b088 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x2108121fd0 sp=0x2108121fd0 pc=0x9067c created by runtime.(*timersBucket).addtimerLocked /root/riscv-go/src/runtime/time.go:169 +0x180 FAIL runtime 38.224s ok runtime/debug (cached) ok runtime/internal/atomic (cached) ok runtime/internal/math (cached) ok runtime/internal/sys (cached) ok runtime/pprof (cached) ok runtime/pprof/internal/profile (cached) ok runtime/trace (cached) ok sort (cached) ok strconv (cached) ok strings (cached) ok sync (cached) ok sync/atomic (cached) ok syscall 18.040s ok testing (cached) ok testing/quick (cached) ok text/scanner (cached) ok text/tabwriter (cached) ok text/template (cached) ok text/template/parse (cached) ok time (cached) ok unicode (cached) ok unicode/utf16 (cached) ok unicode/utf8 (cached) fatal error: cas1 runtime: panic before malloc heap initialized runtime stack: runtime.throw(0x216819, 0x4) /root/riscv-go/src/runtime/panic.go:617 +0x88 fp=0x3fff9d9000 sp=0x3fff9d8fd8 pc=0x4b020 runtime.check() /root/riscv-go/src/runtime/runtime1.go:215 +0x57c fp=0x3fff9d9040 sp=0x3fff9d9000 pc=0x60b2c runtime.rt0_go(0x3fff9d9068, 0xd3868, 0x4, 0x3fff9d9362, 0x3fff9d938e, 0x3fff9d93c9, 0x3fff9d93da, 0x0, 0x3fff9d93ed, 0x3fff9d93fd, ...) /root/riscv-go/src/runtime/asm_riscv64.s:52 +0x90 fp=0x3fff9d9048 sp=0x3fff9d9040 pc=0x852d8 FAIL cmd/addr2line 0.513s ok cmd/api (cached) --- FAIL: TestRISCVEncoder (0.34s) endtoend_test.go:156: mismatched output: have 00001 (testdata/riscvenc.s:1) TEXT asmtest(SB), DUPOK|NOSPLIT, $0 want 00001 (testdata/riscvenc.s:1) TEXT asmtest(SB), 7, $0 endtoend_test.go:156: mismatched output: have 00001 (testdata/riscvfarbranch.s:1) TEXT asmtest(SB), DUPOK|NOSPLIT, $0 want 00001 (testdata/riscvfarbranch.s:1) TEXT asmtest(SB), 7, $0 FAIL FAIL cmd/asm/internal/asm 15.828s ok cmd/asm/internal/lex (cached) ok cmd/compile (cached) --- FAIL: TestCode (62.30s) ssa_test.go:173: Build failed: exit status 2 # command-line-arguments [command-line-arguments.test] testdata/compound_test.go:60:52: internal compiler error: 'testComplex64': bad int32 AuxInt value for v200 Please file a bug report including a short program that triggers the error. https://golang.org/issue/new FAIL FAIL cmd/compile/internal/gc 109.752s ok cmd/compile/internal/ssa 14.628s ok cmd/compile/internal/syntax (cached) ok cmd/compile/internal/test (cached) [no tests to run] ok cmd/compile/internal/types (cached) ok cmd/cover 35.576s ok cmd/doc (cached) ok cmd/fix 117.264s # cmd/vendor/golang.org/x/sys/unix.test cmd/vendor/golang.org/x/sys/unix.Faccessat: relocation target cmd/vendor/golang.org/x/sys/unix.RawSyscallNoError not defined cmd/vendor/golang.org/x/sys/unix_test.TestFaccessat: relocation target cmd/vendor/golang.org/x/sys/unix.RawSyscallNoError not defined --- FAIL: TestLocalImportsEasySub (2.64s) go_test.go:1021: running testgo [build -o ./easysub testdata/local/easysub/main.go] go_test.go:1021: standard error: go_test.go:1021: fatal error: exitsyscall: syscall frame is no longer valid goroutine 37 [running]: runtime.throw(0x6d49d5, 0x2d) /root/riscv-go/src/runtime/panic.go:617 +0x88 fp=0x2100bd2ef0 sp=0x2100bd2ec8 pc=0x4c2e8 runtime.exitsyscall() /root/riscv-go/src/runtime/proc.go:2945 +0x338 fp=0x2100bd2f18 sp=0x2100bd2ef0 pc=0x57d18 syscall.Syscall(0x3f, 0x1c, 0x2100e24000, 0x8000, 0x8000, 0x2100e24000, 0x0) /root/riscv-go/src/syscall/asm_linux_riscv64.s:28 +0x5c fp=0x2100bd2f20 sp=0x2100bd2f18 pc=0xddd84 syscall.read(0x1c, 0x2100e24000, 0x8000, 0x8000, 0x0, 0xa6aee22c2588ab90, 0xd16c306e4d073321) /root/riscv-go/src/syscall/zsyscall_linux_riscv64.go:747 +0x5c fp=0x2100bd2f70 sp=0x2100bd2f20 pc=0xdb1a4 syscall.Read(...) /root/riscv-go/src/syscall/syscall_unix.go:172 internal/poll.(*FD).Read(0x2100aef260, 0x2100e24000, 0x8000, 0x8000, 0x0, 0x0, 0x0) /root/riscv-go/src/internal/poll/fd_unix.go:165 +0x168 fp=0x2100bd2fc0 sp=0x2100bd2f70 pc=0xf95a0 os.(*File).read(...) /root/riscv-go/src/os/file_unix.go:263 os.(*File).Read(0x210095d880, 0x2100e24000, 0x8000, 0x8000, 0x8000, 0x0, 0x0) /root/riscv-go/src/os/file.go:108 +0x80 fp=0x2100bd3028 sp=0x2100bd2fc0 pc=0x102348 io.copyBuffer(0x1557835ac0, 0x2100d1f100, 0x7a7ae0, 0x210095d880, 0x2100e24000, 0x8000, 0x8000, 0x60c820, 0x13739c, 0x2100b22d50) /root/riscv-go/src/io/io.go:402 +0xf4 fp=0x2100bd3098 sp=0x2100bd3028 pc=0xd025c io.Copy(...) /root/riscv-go/src/io/io.go:364 cmd/go/internal/cache.FileHash(0x2100b22d50, 0x24, 0x0, 0x0, 0x0, 0x0, 0x24, 0x2100b22d50) /root/riscv-go/src/cmd/go/internal/cache/hash.go:149 +0x328 fp=0x2100bd3198 sp=0x2100bd3098 pc=0x228d38 cmd/go/internal/work.(*Builder).fileHash(0x21003a9360, 0x2100b22d50, 0x24, 0x2100b22d50, 0x24) /root/riscv-go/src/cmd/go/internal/work/buildid.go:398 +0x3c fp=0x2100bd3200 sp=0x2100bd3198 pc=0x4d94c4 cmd/go/internal/work.(*Builder).buildActionID(0x21003a9360, 0x2100b0ac80, 0x0, 0x0, 0x0, 0x0) /root/riscv-go/src/cmd/go/internal/work/exec.go:292 +0xaa4 fp=0x2100bd3630 sp=0x2100bd3200 pc=0x4dd1e4 cmd/go/internal/work.(*Builder).build(0x21003a9360, 0x2100b0ac80, 0x0, 0x0) /root/riscv-go/src/cmd/go/internal/work/exec.go:373 +0x6094 fp=0x2100bd3ea0 sp=0x2100bd3630 pc=0x4e4cc4 cmd/go/internal/work.(*Builder).Do.func1(0x2100b0ac80) /root/riscv-go/src/cmd/go/internal/work/exec.go:107 +0x6c fp=0x2100bd3f28 sp=0x2100bd3ea0 pc=0x51a8cc cmd/go/internal/work.(*Builder).Do.func2(0x2100b1c630, 0x21003a9360, 0x2100b24160) /root/riscv-go/src/cmd/go/internal/work/exec.go:165 +0x80 fp=0x2100bd3fc0 sp=0x2100bd3f28 pc=0x51ac08 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x2100bd3fc0 sp=0x2100bd3fc0 pc=0x865ec created by cmd/go/internal/work.(*Builder).Do /root/riscv-go/src/cmd/go/internal/work/exec.go:152 +0x310 goroutine 1 [semacquire]: sync.runtime_Semacquire(0x2100b1c638) /root/riscv-go/src/runtime/sema.go:56 +0x44 sync.(*WaitGroup).Wait(0x2100b1c630) /root/riscv-go/src/sync/waitgroup.go:130 +0xdc cmd/go/internal/work.(*Builder).Do(0x21003a9360, 0x2100a77180) /root/riscv-go/src/cmd/go/internal/work/exec.go:174 +0x33c cmd/go/internal/work.runBuild(0xb38b20, 0x21001bc040, 0x1, 0x1) /root/riscv-go/src/cmd/go/internal/work/build.go:330 +0x6a0 main.main() /root/riscv-go/src/cmd/go/main.go:219 +0xdac goroutine 18 [syscall]: os/signal.signal_recv(0x0) /root/riscv-go/src/runtime/sigqueue.go:139 +0x234 os/signal.loop() /root/riscv-go/src/os/signal/signal_unix.go:23 +0x2c created by os/signal.init.0 /root/riscv-go/src/os/signal/signal_unix.go:29 +0x54 goroutine 33 [runnable]: runtime.SetFinalizer(0x68e3c0, 0x2100024b40, 0x61b720, 0x6fe358) /root/riscv-go/src/runtime/mfinal.go:309 +0x18 os.newProcess(...) /root/riscv-go/src/os/exec.go:26 os.startProcess(0x2100bd82a0, 0x29, 0x2100be21e0, 0x2, 0x2, 0x2100b56f90, 0x0, 0x0, 0x0) /root/riscv-go/src/os/exec_posix.go:51 +0x358 os.StartProcess(0x2100bd82a0, 0x29, 0x2100be21e0, 0x2, 0x2, 0x2100b56f90, 0x35, 0x0, 0x1555558d98) /root/riscv-go/src/os/exec.go:102 +0x78 os/exec.(*Cmd).Start(0x2100be4160, 0x2100b57101, 0x2100bb0150) /root/riscv-go/src/os/exec/exec.go:392 +0x354 os/exec.(*Cmd).Run(0x2100be4160, 0x2100bb0150, 0x1) /root/riscv-go/src/os/exec/exec.go:315 +0x34 cmd/go/internal/work.(*Builder).toolID(0x21003a9360, 0x6bc3b0, 0x3, 0x11, 0x2100b574d0) /root/riscv-go/src/cmd/go/internal/work/buildid.go:193 +0x4ac cmd/go/internal/work.(*Builder).buildActionID(0x21003a9360, 0x2100b0a280, 0x0, 0x0, 0x0, 0x0) /root/riscv-go/src/cmd/go/internal/work/exec.go:225 +0x1798 cmd/go/internal/work.(*Builder).build(0x21003a9360, 0x2100b0a280, 0x0, 0x0) /root/riscv-go/src/cmd/go/internal/work/exec.go:373 +0x6094 cmd/go/internal/work.(*Builder).Do.func1(0x2100b0a280) /root/riscv-go/src/cmd/go/internal/work/exec.go:107 +0x6c cmd/go/internal/work.(*Builder).Do.func2(0x2100b1c630, 0x21003a9360, 0x2100b24160) /root/riscv-go/src/cmd/go/internal/work/exec.go:165 +0x80 created by cmd/go/internal/work.(*Builder).Do /root/riscv-go/src/cmd/go/internal/work/exec.go:152 +0x310 goroutine 34 [runnable]: sync.(*Mutex).Unlock(0x21003a93e8) /root/riscv-go/src/sync/mutex.go:175 +0x14 cmd/go/internal/work.(*Builder).toolID(0x21003a9360, 0x6be03b, 0x7, 0x2c, 0x2100c1d500) /root/riscv-go/src/cmd/go/internal/work/buildid.go:212 +0x96c cmd/go/internal/work.(*Builder).buildActionID(0x21003a9360, 0x2100b0a780, 0x0, 0x0, 0x0, 0x0) /root/riscv-go/src/cmd/go/internal/work/exec.go:223 +0xfd0 cmd/go/internal/work.(*Builder).build(0x21003a9360, 0x2100b0a780, 0x0, 0x0) /root/riscv-go/src/cmd/go/internal/work/exec.go:373 +0x6094 cmd/go/internal/work.(*Builder).Do.func1(0x2100b0a780) /root/riscv-go/src/cmd/go/internal/work/exec.go:107 +0x6c cmd/go/internal/work.(*Builder).Do.func2(0x2100b1c630, 0x21003a9360, 0x2100b24160) /root/riscv-go/src/cmd/go/internal/work/exec.go:165 +0x80 created by cmd/go/internal/work.(*Builder).Do /root/riscv-go/src/cmd/go/internal/work/exec.go:152 +0x310 goroutine 35 [runnable]: syscall.Syscall(0x3f, 0xa, 0x2100b42ce0, 0x8, 0x0, 0x2100b42ce0, 0x0) /root/riscv-go/src/syscall/asm_linux_riscv64.s:13 +0x14 syscall.readlen(0xa, 0x2100b42ce0, 0x8, 0x3, 0x2100c361c0, 0x36) /root/riscv-go/src/syscall/zsyscall_linux_riscv64.go:1041 +0x54 syscall.forkExec(0x2100bee3c0, 0x29, 0x2100bf2200, 0x2, 0x2, 0x2100b42df8, 0x2, 0x4, 0x2100c2ee00) /root/riscv-go/src/syscall/exec_unix.go:203 +0x374 syscall.StartProcess(...) /root/riscv-go/src/syscall/exec_unix.go:241 os.startProcess(0x2100bee3c0, 0x29, 0x2100bf2200, 0x2, 0x2, 0x2100b42f90, 0x0, 0x0, 0x0) /root/riscv-go/src/os/exec_posix.go:47 +0x190 os.StartProcess(0x2100bee3c0, 0x29, 0x2100bf2200, 0x2, 0x2, 0x2100b42f90, 0x35, 0x0, 0x1555559b28) /root/riscv-go/src/os/exec.go:102 +0x78 os/exec.(*Cmd).Start(0x2100bf4160, 0x2100b43101, 0x2100bdc180) /root/riscv-go/src/os/exec/exec.go:392 +0x354 os/exec.(*Cmd).Run(0x2100bf4160, 0x2100bdc180, 0x1) /root/riscv-go/src/os/exec/exec.go:315 +0x34 cmd/go/internal/work.(*Builder).toolID(0x21003a9360, 0x6bc3b0, 0x3, 0x11, 0x2100b434d0) /root/riscv-go/src/cmd/go/internal/work/buildid.go:193 +0x4ac cmd/go/internal/work.(*Builder).buildActionID(0x21003a9360, 0x2100a77a40, 0x0, 0x0, 0x0, 0x0) /root/riscv-go/src/cmd/go/internal/work/exec.go:225 +0x1798 cmd/go/internal/work.(*Builder).build(0x21003a9360, 0x2100a77a40, 0x0, 0x0) /root/riscv-go/src/cmd/go/internal/work/exec.go:373 +0x6094 cmd/go/internal/work.(*Builder).Do.func1(0x2100a77a40) /root/riscv-go/src/cmd/go/internal/work/exec.go:107 +0x6c cmd/go/internal/work.(*Builder).Do.func2(0x2100b1c630, 0x21003a9360, 0x2100b24160) /root/riscv-go/src/cmd/go/internal/work/exec.go:165 +0x80 created by cmd/go/internal/work.(*Builder).Do /root/riscv-go/src/cmd/go/internal/work/exec.go:152 +0x310 goroutine 36 [runnable]: syscall.Syscall6(0x5f, 0x1, 0x234a, 0x2100b4ae68, 0x1000004, 0x0, 0x0, 0x0, 0x234a, 0x0) /root/riscv-go/src/syscall/asm_linux_riscv64.s:41 +0x14 os.(*Process).blockUntilWaitable(0x2100024b10, 0x210000a220, 0x1f814c, 0x1) /root/riscv-go/src/os/wait_waitid.go:31 +0x8c os.(*Process).wait(0x2100024b10, 0x6fe3a0, 0x6fe3a8, 0x6fe398) /root/riscv-go/src/os/exec_unix.go:22 +0x48 os.(*Process).Wait(...) /root/riscv-go/src/os/exec.go:125 os/exec.(*Cmd).Wait(0x2100bde160, 0x0, 0x0) /root/riscv-go/src/os/exec/exec.go:474 +0x70 os/exec.(*Cmd).Run(0x2100bde160, 0x210002e1e0, 0x1) /root/riscv-go/src/os/exec/exec.go:318 +0x74 cmd/go/internal/work.(*Builder).toolID(0x21003a9360, 0x6bc3b0, 0x3, 0x11, 0x2100b4b4d0) /root/riscv-go/src/cmd/go/internal/work/buildid.go:193 +0x4ac cmd/go/internal/work.(*Builder).buildActionID(0x21003a9360, 0x2100b0a000, 0x0, 0x0, 0x0, 0x0) /root/riscv-go/src/cmd/go/internal/work/exec.go:225 +0x1798 cmd/go/internal/work.(*Builder).build(0x21003a9360, 0x2100b0a000, 0x0, 0x0) /root/riscv-go/src/cmd/go/internal/work/exec.go:373 +0x6094 cmd/go/internal/work.(*Builder).Do.func1(0x2100b0a000) /root/riscv-go/src/cmd/go/internal/work/exec.go:107 +0x6c cmd/go/internal/work.(*Builder).Do.func2(0x2100b1c630, 0x21003a9360, 0x2100b24160) /root/riscv-go/src/cmd/go/internal/work/exec.go:165 +0x80 created by cmd/go/internal/work.(*Builder).Do /root/riscv-go/src/cmd/go/internal/work/exec.go:152 +0x310 goroutine 38 [runnable]: syscall.Syscall(0x3f, 0x7, 0x2100b34ce0, 0x8, 0x0, 0x2100b34ce0, 0x0) /root/riscv-go/src/syscall/asm_linux_riscv64.s:13 +0x14 syscall.readlen(0x7, 0x2100b34ce0, 0x8, 0x3, 0x2100c12380, 0x36) /root/riscv-go/src/syscall/zsyscall_linux_riscv64.go:1041 +0x54 syscall.forkExec(0x21000248d0, 0x29, 0x210000a3a0, 0x2, 0x2, 0x2100b34df8, 0x2, 0x4, 0x2100c04e00) /root/riscv-go/src/syscall/exec_unix.go:203 +0x374 syscall.StartProcess(...) /root/riscv-go/src/syscall/exec_unix.go:241 os.startProcess(0x21000248d0, 0x29, 0x210000a3a0, 0x2, 0x2, 0x2100b34f90, 0x0, 0x0, 0x0) /root/riscv-go/src/os/exec_posix.go:47 +0x190 os.StartProcess(0x21000248d0, 0x29, 0x210000a3a0, 0x2, 0x2, 0x2100b34f90, 0x35, 0x0, 0x1555558008) /root/riscv-go/src/os/exec.go:102 +0x78 os/exec.(*Cmd).Start(0x2100bde2c0, 0x2100b35101, 0x210002e2d0) /root/riscv-go/src/os/exec/exec.go:392 +0x354 os/exec.(*Cmd).Run(0x2100bde2c0, 0x210002e2d0, 0x1) /root/riscv-go/src/os/exec/exec.go:315 +0x34 cmd/go/internal/work.(*Builder).toolID(0x21003a9360, 0x6bc3b0, 0x3, 0x11, 0x2100b354d0) /root/riscv-go/src/cmd/go/internal/work/buildid.go:193 +0x4ac cmd/go/internal/work.(*Builder).buildActionID(0x21003a9360, 0x2100b0ab40, 0x0, 0x0, 0x0, 0x0) /root/riscv-go/src/cmd/go/internal/work/exec.go:225 +0x1798 cmd/go/internal/work.(*Builder).build(0x21003a9360, 0x2100b0ab40, 0x0, 0x0) /root/riscv-go/src/cmd/go/internal/work/exec.go:373 +0x6094 cmd/go/internal/work.(*Builder).Do.func1(0x2100b0ab40) /root/riscv-go/src/cmd/go/internal/work/exec.go:107 +0x6c cmd/go/internal/work.(*Builder).Do.func2(0x2100b1c630, 0x21003a9360, 0x2100b24160) /root/riscv-go/src/cmd/go/internal/work/exec.go:165 +0x80 created by cmd/go/internal/work.(*Builder).Do /root/riscv-go/src/cmd/go/internal/work/exec.go:152 +0x310 goroutine 4 [runnable]: internal/poll.runtime_pollWait(0x1557815a28, 0x72, 0xffffffffffffffff) /root/riscv-go/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x21000fc438, 0x72, 0x201, 0x200, 0xffffffffffffffff) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:87 +0xd8 internal/poll.(*pollDesc).waitRead(...) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x21000fc420, 0x2100d1c400, 0x200, 0x200, 0x0, 0x0, 0x0) /root/riscv-go/src/internal/poll/fd_unix.go:169 +0x1f8 os.(*File).read(...) /root/riscv-go/src/os/file_unix.go:263 os.(*File).Read(0x210000c078, 0x2100d1c400, 0x200, 0x200, 0x0, 0x0, 0x0) /root/riscv-go/src/os/file.go:108 +0x80 bytes.(*Buffer).ReadFrom(0x210002e1b0, 0x7a7ae0, 0x210000c078, 0x15579e9028, 0x210002e1b0, 0x1) /root/riscv-go/src/bytes/buffer.go:207 +0xe0 io.copyBuffer(0x7a70c0, 0x210002e1b0, 0x7a7ae0, 0x210000c078, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /root/riscv-go/src/io/io.go:388 +0x310 io.Copy(...) /root/riscv-go/src/io/io.go:364 os/exec.(*Cmd).writerDescriptor.func1(0x0, 0x0) /root/riscv-go/src/os/exec/exec.go:288 +0x6c os/exec.(*Cmd).Start.func1(0x2100bde160, 0x210000a260) /root/riscv-go/src/os/exec/exec.go:409 +0x2c created by os/exec.(*Cmd).Start /root/riscv-go/src/os/exec/exec.go:408 +0x47c goroutine 5 [IO wait]: internal/poll.runtime_pollWait(0x15578156e8, 0x72, 0xffffffffffffffff) /root/riscv-go/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x21000fc4f8, 0x72, 0x201, 0x200, 0xffffffffffffffff) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:87 +0xd8 internal/poll.(*pollDesc).waitRead(...) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x21000fc4e0, 0x2100d76e00, 0x200, 0x200, 0x0, 0x0, 0x0) /root/riscv-go/src/internal/poll/fd_unix.go:169 +0x1f8 os.(*File).read(...) /root/riscv-go/src/os/file_unix.go:263 os.(*File).Read(0x210000c090, 0x2100d76e00, 0x200, 0x200, 0x0, 0x0, 0x0) /root/riscv-go/src/os/file.go:108 +0x80 bytes.(*Buffer).ReadFrom(0x210002e1e0, 0x7a7ae0, 0x210000c090, 0x15579e9028, 0x210002e1e0, 0x1) /root/riscv-go/src/bytes/buffer.go:207 +0xe0 io.copyBuffer(0x7a70c0, 0x210002e1e0, 0x7a7ae0, 0x210000c090, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /root/riscv-go/src/io/io.go:388 +0x310 io.Copy(...) /root/riscv-go/src/io/io.go:364 os/exec.(*Cmd).writerDescriptor.func1(0x0, 0x0) /root/riscv-go/src/os/exec/exec.go:288 +0x6c os/exec.(*Cmd).Start.func1(0x2100bde160, 0x210000a2a0) /root/riscv-go/src/os/exec/exec.go:409 +0x2c created by os/exec.(*Cmd).Start /root/riscv-go/src/os/exec/exec.go:408 +0x47c go_test.go:1021: go [build -o ./easysub testdata/local/easysub/main.go] failed unexpectedly in /root/riscv-go/src/cmd/go: exit status 2 panic: test timed out after 9m0s goroutine 42 [running]: testing.(*M).startAlarm.func1() /root/riscv-go/src/testing/testing.go:1334 +0x104 created by time.goFunc /root/riscv-go/src/time/sleep.go:169 +0x54 goroutine 1 [chan receive]: testing.(*T).Run(0x21004e2000, 0x7b51c7, 0x14, 0x7fa208, 0x148800) /root/riscv-go/src/testing/testing.go:917 +0x3c0 testing.runTests.func1(0x21004d0000) /root/riscv-go/src/testing/testing.go:1157 +0x88 testing.tRunner(0x21004d0000, 0x2100065c28) /root/riscv-go/src/testing/testing.go:865 +0xf4 testing.runTests(0x21004a20a0, 0xcd1620, 0x10d, 0x10d, 0x7fb3a8) /root/riscv-go/src/testing/testing.go:1155 +0x2e8 testing.(*M).Run(0x2100232e80, 0x0) /root/riscv-go/src/testing/testing.go:1072 +0x194 cmd/go_test.TestMain(0x2100232e80) /root/riscv-go/src/cmd/go/go_test.go:256 +0x3b0 main.main() _testmain.go:578 +0x190 goroutine 5 [syscall]: os/signal.signal_recv(0x0) /root/riscv-go/src/runtime/sigqueue.go:139 +0x234 os/signal.loop() /root/riscv-go/src/os/signal/signal_unix.go:23 +0x2c created by os/signal.init.0 /root/riscv-go/src/os/signal/signal_unix.go:29 +0x54 goroutine 38 [syscall]: syscall.Syscall6(0x5f, 0x1, 0x2365, 0x21005b3c30, 0x1000004, 0x0, 0x0, 0x1bdd1c, 0x21005b3c28, 0x89160) /root/riscv-go/src/syscall/asm_linux_riscv64.s:41 +0x14 os.(*Process).blockUntilWaitable(0x210029a780, 0x148, 0x21003d6580, 0x1) /root/riscv-go/src/os/wait_waitid.go:31 +0x8c os.(*Process).wait(0x210029a780, 0x7faea8, 0x7faeb0, 0x7faea0) /root/riscv-go/src/os/exec_unix.go:22 +0x48 os.(*Process).Wait(...) /root/riscv-go/src/os/exec.go:125 os/exec.(*Cmd).Wait(0x21003d6580, 0x0, 0x0) /root/riscv-go/src/os/exec/exec.go:474 +0x70 os/exec.(*Cmd).Run(0x21003d6580, 0x25, 0x210028e340) /root/riscv-go/src/os/exec/exec.go:318 +0x74 cmd/go_test.(*testgoData).doRun(0x210055c300, 0x210028e340, 0x4, 0x4, 0x0, 0x210014c000) /root/riscv-go/src/cmd/go/go_test.go:445 +0x304 cmd/go_test.(*testgoData).run(0x210055c300, 0x210028e340, 0x4, 0x4) /root/riscv-go/src/cmd/go/go_test.go:461 +0x6c cmd/go_test.testLocalHard(0x210055c300, 0x7a99c2, 0x5) /root/riscv-go/src/cmd/go/go_test.go:1003 +0x1f8 cmd/go_test.TestLocalImportsHard(0x21004e2000) /root/riscv-go/src/cmd/go/go_test.go:1027 +0x8c testing.tRunner(0x21004e2000, 0x7fa208) /root/riscv-go/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /root/riscv-go/src/testing/testing.go:916 +0x398 goroutine 39 [IO wait]: internal/poll.runtime_pollWait(0x15578160b0, 0x72, 0xffffffffffffffff) /root/riscv-go/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x2100294918, 0x72, 0x201, 0x200, 0xffffffffffffffff) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:87 +0xd8 internal/poll.(*pollDesc).waitRead(...) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x2100294900, 0x21004e6000, 0x200, 0x200, 0x0, 0x0, 0x0) /root/riscv-go/src/internal/poll/fd_unix.go:169 +0x1f8 os.(*File).read(...) /root/riscv-go/src/os/file_unix.go:263 os.(*File).Read(0x21002980d8, 0x21004e6000, 0x200, 0x200, 0x0, 0x0, 0x0) /root/riscv-go/src/os/file.go:108 +0x80 bytes.(*Buffer).ReadFrom(0x210055c360, 0x8bcf20, 0x21002980d8, 0x15579a9028, 0x210055c360, 0x1) /root/riscv-go/src/bytes/buffer.go:207 +0xe0 io.copyBuffer(0x8bc3e0, 0x210055c360, 0x8bcf20, 0x21002980d8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /root/riscv-go/src/io/io.go:388 +0x310 io.Copy(...) /root/riscv-go/src/io/io.go:364 os/exec.(*Cmd).writerDescriptor.func1(0x0, 0x0) /root/riscv-go/src/os/exec/exec.go:288 +0x6c os/exec.(*Cmd).Start.func1(0x21003d6580, 0x21002904e0) /root/riscv-go/src/os/exec/exec.go:409 +0x2c created by os/exec.(*Cmd).Start /root/riscv-go/src/os/exec/exec.go:408 +0x47c goroutine 40 [IO wait]: internal/poll.runtime_pollWait(0x1557815f10, 0x72, 0xffffffffffffffff) /root/riscv-go/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x21002949d8, 0x72, 0x201, 0x200, 0xffffffffffffffff) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:87 +0xd8 internal/poll.(*pollDesc).waitRead(...) /root/riscv-go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x21002949c0, 0x21001f0c00, 0x200, 0x200, 0x0, 0x0, 0x0) /root/riscv-go/src/internal/poll/fd_unix.go:169 +0x1f8 os.(*File).read(...) /root/riscv-go/src/os/file_unix.go:263 os.(*File).Read(0x21002980f0, 0x21001f0c00, 0x200, 0x200, 0x0, 0x0, 0x0) /root/riscv-go/src/os/file.go:108 +0x80 bytes.(*Buffer).ReadFrom(0x210055c388, 0x8bcf20, 0x21002980f0, 0x15579a9028, 0x210055c388, 0x1) /root/riscv-go/src/bytes/buffer.go:207 +0xe0 io.copyBuffer(0x8bc3e0, 0x210055c388, 0x8bcf20, 0x21002980f0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /root/riscv-go/src/io/io.go:388 +0x310 io.Copy(...) /root/riscv-go/src/io/io.go:364 os/exec.(*Cmd).writerDescriptor.func1(0x0, 0x0) /root/riscv-go/src/os/exec/exec.go:288 +0x6c os/exec.(*Cmd).Start.func1(0x21003d6580, 0x2100290520) /root/riscv-go/src/os/exec/exec.go:409 +0x2c created by os/exec.(*Cmd).Start /root/riscv-go/src/os/exec/exec.go:408 +0x47c FAIL cmd/go 574.369s ok cmd/go/internal/cache (cached) ok cmd/go/internal/dirhash (cached) ok cmd/go/internal/generate (cached) ok cmd/go/internal/get (cached) ok cmd/go/internal/imports (cached) ok cmd/go/internal/load (cached) ok cmd/go/internal/lockedfile (cached) ok cmd/go/internal/lockedfile/internal/filelock (cached) ok cmd/go/internal/modconv (cached) ok cmd/go/internal/modfetch (cached) ok cmd/go/internal/modfetch/codehost (cached) ok cmd/go/internal/modfile (cached) ok cmd/go/internal/modload (cached) ok cmd/go/internal/module (cached) ok cmd/go/internal/mvs (cached) ok cmd/go/internal/par (cached) ok cmd/go/internal/search (cached) ok cmd/go/internal/semver (cached) ok cmd/go/internal/txtar (cached) ok cmd/go/internal/web2 (cached) ok cmd/go/internal/work (cached) ok cmd/gofmt 1.440s ok cmd/internal/buildid (cached) ok cmd/internal/dwarf (cached) ok cmd/internal/edit (cached) ok cmd/internal/goobj (cached) ok cmd/internal/obj (cached) ok cmd/internal/obj/arm64 1.061s ok cmd/internal/obj/x86 6.921s ok cmd/internal/objabi (cached) ok cmd/internal/src (cached) ok cmd/internal/test2json (cached) ok cmd/link 10.491s ok cmd/link/internal/ld 21.059s ok cmd/link/internal/sym (cached) ok cmd/nm 19.805s --- FAIL: TestDisasm (7.42s) objdump_test.go:140: objdump fmthello.exe: exit status 1 objdump: disassemble /tmp/TestObjDump746219507/hello.exe: unsupported architecture --- FAIL: TestDisasmCode (2.53s) objdump_test.go:140: objdump fmthello.exe: exit status 1 objdump: disassemble /tmp/TestObjDump746219507/hello.exe: unsupported architecture --- FAIL: TestDisasmGoobj (0.61s) objdump_test.go:233: objdump fmthello.o: exit status 1 objdump: disassemble /tmp/TestObjDump746219507/hello.o: unsupported architecture FAIL FAIL cmd/objdump 22.063s ok cmd/pack 29.818s ok cmd/trace (cached) ok cmd/vendor/github.com/google/pprof/internal/binutils 1.294s ok cmd/vendor/github.com/google/pprof/internal/driver 5.419s ok cmd/vendor/github.com/google/pprof/internal/elfexec (cached) ok cmd/vendor/github.com/google/pprof/internal/graph (cached) ok cmd/vendor/github.com/google/pprof/internal/measurement (cached) ok cmd/vendor/github.com/google/pprof/internal/report (cached) ok cmd/vendor/github.com/google/pprof/internal/symbolizer (cached) ok cmd/vendor/github.com/google/pprof/internal/symbolz (cached) ok cmd/vendor/github.com/google/pprof/profile (cached) ok cmd/vendor/github.com/ianlancetaylor/demangle (cached) ok cmd/vendor/golang.org/x/arch/arm/armasm (cached) ok cmd/vendor/golang.org/x/arch/arm64/arm64asm (cached) ok cmd/vendor/golang.org/x/arch/ppc64/ppc64asm (cached) ok cmd/vendor/golang.org/x/arch/x86/x86asm (cached) ok cmd/vendor/golang.org/x/crypto/ssh/terminal (cached) FAIL cmd/vendor/golang.org/x/sys/unix [build failed] --- FAIL: TestTags (10.65s) --- FAIL: TestTags/testtag (3.93s) vet_test.go:173: -tags=testtag vet_test.go:182: testtag: file1.go was excluded, should be included vet_test.go:188: err=exit status 1, output=<> FAIL FAIL cmd/vet 30.639s 2019/05/09 20:44:53 Failed: exit status 2 ```
ddevault commented 5 years ago

See the link here:

https://paste.sr.ht/~sircmpwn/3a76f2ee0b914eccf2cc70fc6ca6b7a75de547a3

I'm on a real riscv64 board, HiFive Unleashed. Kernel is 4.20-rc4 plus this patch:

https://github.com/esmil/linux/commit/870b04e85662a02ee1f6333e1d037c774ed4350e

And this config:

https://paste.sr.ht/~sircmpwn/88c5f57715b904896c5cbe57c5d6674f738d0e51

ianlancetaylor commented 5 years ago

@carlosedp Run gcc -pthread test1.c.

marcopeereboom commented 5 years ago

This is what I see compiling the test code:

[root@fedora-riscv ~]# gcc --version
gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1)
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root@fedora-riscv ~]#
[root@fedora-riscv ~]# gcc test1.c
test1.c: In function ‘main’:
test1.c:85:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   85 |   pthread_create(&tid[i], NULL, thread, (void *)i+10);
      |                                         ^
/usr/bin/ld: /tmp/cc1fyhzx.o: in function `main':
test1.c:(.text+0x14e): undefined reference to `pthread_create'
/usr/bin/ld: test1.c:(.text+0x188): undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status

I'm running Fedora nightly with Kernel 5.1.0-rc7-00005-g83a50840e72a.

Here are the results of the test run for Go after the merges:

Do something like: gcc x.c -pthread. The warning is because of a terrible hack.