golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
124.02k stars 17.68k 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

marcopeereboom 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:

esmil/linux@870b04e

And this config:

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

Ah, real hardware. Let me lift the exact CAS code from go (it does some extra looping in asm) and give you a new thing to test. Also, can you make threads like 100 and add one or two zeroes to the iterations? Real hardware may have to be beaten harder.

Can you try the other 2 tests as well that I linked earlier?

carlosedp commented 5 years ago

@marcopeereboom On Qemu 4.0.0:

Test1:

# ./a.out
in thread 10
in thread 11
in thread 17
in thread 12
in thread 19
in thread 14
in thread 24
in thread 21
in thread 15
in thread 16
in thread 18
in thread 13
in thread 20
in thread 27
in thread 25
in thread 22
in thread 23
in thread 29
in thread 28
in thread 26
womp womp 1999992 2000000

Test2:

# ./a.out
ok 400000 400000

Test3:

# ./a.out
ok 400000 400000
marcopeereboom commented 5 years ago

@marcopeereboom On Qemu 4.0.0:

Test1:

# ./a.out
in thread 10
in thread 11
in thread 17
in thread 12
in thread 19
in thread 14
in thread 24
in thread 21
in thread 15
in thread 16
in thread 18
in thread 13
in thread 20
in thread 27
in thread 25
in thread 22
in thread 23
in thread 29
in thread 28
in thread 26
womp womp 1999992 2000000

Test2:

# ./a.out
ok 400000 400000

Test3:

# ./a.out
ok 400000 400000

Do run it several times or even in a tight loop. Also, play with the #defines a bit.

ddevault commented 5 years ago

Also, can you make threads like 100 and add one or two zeroes to the iterations?

I gave you 50 threads and an extra zero, this hardware isn't the fastest and I am not made of cycles :wink:

ok 50000000 50000000

https://gist.github.com/marcopeereboom/1e40d4baffdcc9a2066310d770f5ac12

https://gist.github.com/marcopeereboom/4357c59b57dc998a58d37817d59f99b0

Your includes are missing the headers you're trying to include here

ddevault commented 5 years ago

Would you like shell access to this machine?

ddevault commented 5 years ago

@marcopeereboom ssh -p 24169 marco@home.drewdevault.com

marcopeereboom commented 5 years ago

Would you like shell access to this machine?

Yes, please!

Mail me marco @ peereboom.us and I'll reply with an ssh pubkey?

emersion commented 5 years ago

Mail me marco @ peereboom.us and I'll reply with an ssh pubkey?

Try connecting -- maybe he already got your pubkeys through GitHub.

carlosedp commented 5 years ago

@marcopeereboom Yep, lots of womp womps with more threads in Qemu 4.0.0 on Test2:

womp womp 2251433 2500000
womp womp 2357934 2500000
womp womp 1890639 2500000
womp womp 1926171 2500000
womp womp 1886507 2500000
womp womp 1948392 2500000
womp womp 2338358 2500000
womp womp 2363039 2500000
womp womp 2066714 2500000
womp womp 2315551 2500000
womp womp 1704307 2500000
womp womp 1901324 2500000
womp womp 1656480 2500000
womp womp 2085709 2500000
womp womp 2257562 2500000
womp womp 2347022 2500000
womp womp 2187506 2500000
womp womp 2172819 2500000
womp womp 1957879 2500000

Also fails with test 3 with 40 threads.

All goes fine in my real boards, both x64 and ARM.

ddevault commented 5 years ago

Try connecting -- maybe he already got your pubkeys through GitHub.

Yep - you should be all set @marcopeereboom

carlosedp commented 5 years ago

I've successfully built gojsontoyaml project for testing Go 1.12 on Risc-V Qemu. On some actions like go get . I had to run with GOGC=off or I would get errors (listed below).

[root@fedora-riscv gojsontoyaml]# go version
go version go1.12 linux/riscv64
[root@fedora-riscv gojsontoyaml]#
[root@fedora-riscv gojsontoyaml]# which go
/root/riscv-go/bin/go

If I just do go get ., I get the following error:

``` [root@fedora-riscv gojsontoyaml]# go get . go: finding github.com/ghodss/yaml v1.0.0 go: finding gopkg.in/yaml.v2 v2.1.1 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 unexpected fault address 0xd50097f148 fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0xd50097f148 pc=0x127794] goroutine 1 [running]: runtime.throw(0x6bcf57, 0x5) /root/riscv-go/src/runtime/panic.go:617 +0x88 fp=0x2100061e38 sp=0x2100061e10 pc=0x4c2e8 runtime.sigpanic() /root/riscv-go/src/runtime/signal_unix.go:397 +0x504 fp=0x2100061e68 sp=0x2100061e38 pc=0x69624 strings.Fields(0x210097f11f, 0x3b, 0xa, 0x0, 0x2) /root/riscv-go/src/strings/strings.go:363 +0x22c fp=0x2100061eb0 sp=0x2100061e70 pc=0x127794 cmd/go/internal/modfetch/codehost.(*gitRepo).loadRefs(0x21002e2370) /root/riscv-go/src/cmd/go/internal/modfetch/codehost/git.go:178 +0x21c fp=0x2100062058 sp=0x2100061eb0 pc=0x271fbc cmd/go/internal/modfetch/codehost.(*gitRepo).loadRefs-fm() /root/riscv-go/src/cmd/go/internal/modfetch/codehost/git.go:161 +0x34 fp=0x2100062068 sp=0x2100062058 pc=0x281b24 sync.(*Once).Do(0x21002e23d8, 0x2100062228) /root/riscv-go/src/sync/once.go:44 +0x118 fp=0x2100062098 sp=0x2100062068 pc=0x9f350 cmd/go/internal/modfetch/codehost.(*gitRepo).stat(0x21002e2370, 0x21007722b6, 0xc, 0x0, 0x0, 0x0) /root/riscv-go/src/cmd/go/internal/modfetch/codehost/git.go:281 +0x140 fp=0x2100062358 sp=0x2100062098 pc=0x272f50 cmd/go/internal/modfetch/codehost.(*gitRepo).Stat.func1(0x21007d2500, 0x0) /root/riscv-go/src/cmd/go/internal/modfetch/codehost/git.go:460 +0x44 fp=0x21000623a8 sp=0x2100062358 pc=0x27f694 cmd/go/internal/par.(*Cache).Do(0x21002e23b0, 0x60c560, 0x2100720450, 0x2100062438, 0x21004d0080, 0x41) /root/riscv-go/src/cmd/go/internal/par/work.go:128 +0x130 fp=0x2100062400 sp=0x21000623a8 pc=0x24ee28 cmd/go/internal/modfetch/codehost.(*gitRepo).Stat(0x21002e2370, 0x21007722b6, 0xc, 0x0, 0x0, 0x0) /root/riscv-go/src/cmd/go/internal/modfetch/codehost/git.go:459 +0x168 fp=0x2100062458 sp=0x2100062400 pc=0x2751e8 cmd/go/internal/modfetch.(*codeRepo).Stat(0x21002be200, 0x21007722a0, 0x22, 0x12, 0x21000625e0, 0x2) /root/riscv-go/src/cmd/go/internal/modfetch/coderepo.go:155 +0x16c fp=0x21000624f8 sp=0x2100062458 pc=0x53a44c cmd/go/internal/modfetch.(*cachingRepo).Stat.func1(0x21007d24e0, 0x0) /root/riscv-go/src/cmd/go/internal/modfetch/cache.go:166 +0xbc fp=0x2100062600 sp=0x21000624f8 pc=0x54958c cmd/go/internal/par.(*Cache).Do(0x2100546150, 0x60c560, 0x21007203c0, 0x21000626a8, 0x22, 0x21006092f0) /root/riscv-go/src/cmd/go/internal/par/work.go:128 +0x130 fp=0x2100062658 sp=0x2100062600 pc=0x24ee28 cmd/go/internal/modfetch.(*cachingRepo).Stat(0x2100546140, 0x21007722a0, 0x22, 0x22, 0x210014ecc0, 0x5b) /root/riscv-go/src/cmd/go/internal/modfetch/cache.go:157 +0xec fp=0x21000626c8 sp=0x2100062658 pc=0x536464 cmd/go/internal/modfetch.(*cachingRepo).GoMod.func1(0x21007d24c0, 0x0) /root/riscv-go/src/cmd/go/internal/modfetch/cache.go:232 +0xb8 fp=0x21000627a8 sp=0x21000626c8 pc=0x549d60 cmd/go/internal/par.(*Cache).Do(0x2100546150, 0x60c560, 0x2100720380, 0x2100062868, 0x22, 0x2100609290) /root/riscv-go/src/cmd/go/internal/par/work.go:128 +0x130 fp=0x2100062800 sp=0x21000627a8 pc=0x24ee28 cmd/go/internal/modfetch.(*cachingRepo).GoMod(0x2100546140, 0x21007722a0, 0x22, 0x2100546140, 0x0, 0x0, 0x0, 0x0) /root/riscv-go/src/cmd/go/internal/modfetch/cache.go:223 +0xe0 fp=0x21000628d0 sp=0x2100062800 pc=0x536808 cmd/go/internal/modfetch.GoMod(0x2100728521, 0x11, 0x21007722a0, 0x22, 0x21007722a3, 0x1, 0x21007722a5, 0x1, 0x0) /root/riscv-go/src/cmd/go/internal/modfetch/cache.go:311 +0x120 fp=0x2100062960 sp=0x21000628d0 pc=0x536eb0 cmd/go/internal/modload.(*mvsReqs).required(0x21003c7960, 0x2100728521, 0x11, 0x21007722a0, 0x22, 0x2100062ca0, 0x10, 0x8, 0x52ef6bbb8f63bf, 0x9de2c) /root/riscv-go/src/cmd/go/internal/modload/load.go:971 +0x47c fp=0x2100062b48 sp=0x2100062960 pc=0x5699e4 cmd/go/internal/modload.(*mvsReqs).Required.func1(0x21007a61a0, 0x0) /root/riscv-go/src/cmd/go/internal/modload/load.go:855 +0x60 fp=0x2100062cb0 sp=0x2100062b48 pc=0x570810 cmd/go/internal/par.(*Cache).Do(0x21003c7978, 0x655ce0, 0x21007a6180, 0x2100062db0, 0x9cf74, 0x21002b4360) /root/riscv-go/src/cmd/go/internal/par/work.go:128 +0x130 fp=0x2100062d08 sp=0x2100062cb0 pc=0x24ee28 cmd/go/internal/modload.(*mvsReqs).Required(0x21003c7960, 0x2100728521, 0x11, 0x21007722a0, 0x22, 0x21007a6100, 0x1, 0x1, 0x0, 0x0) /root/riscv-go/src/cmd/go/internal/modload/load.go:854 +0xd4 fp=0x2100062de0 sp=0x2100062d08 pc=0x569294 cmd/go/internal/mvs.buildList.func1(0x655ce0, 0x21007a6160) /root/riscv-go/src/cmd/go/internal/mvs/mvs.go:88 +0xdc fp=0x2100062f00 sp=0x2100062de0 pc=0x55375c cmd/go/internal/par.(*Work).runner(0x210018ae80) /root/riscv-go/src/cmd/go/internal/par/work.go:101 +0x1b4 fp=0x2100062f38 sp=0x2100062f00 pc=0x24ec8c cmd/go/internal/par.(*Work).Do(0x210018ae80, 0xa, 0x21003d18c0) /root/riscv-go/src/cmd/go/internal/par/work.go:69 +0x104 fp=0x2100062f60 sp=0x2100062f38 pc=0x24ea44 cmd/go/internal/mvs.buildList(0x21003e7080, 0x1e, 0x0, 0x0, 0x7b31e0, 0x21003c7960, 0x0, 0x10, 0x6fd878, 0x1daa4, ...) /root/riscv-go/src/cmd/go/internal/mvs/mvs.go:86 +0x1f8 fp=0x21000631a8 sp=0x2100062f60 pc=0x5514a0 cmd/go/internal/mvs.BuildList(...) /root/riscv-go/src/cmd/go/internal/mvs/mvs.go:73 cmd/go/internal/modload.(*loader).load(0x21003b43c0, 0x6fd900) /root/riscv-go/src/cmd/go/internal/modload/load.go:491 +0xe8 fp=0x2100063508 sp=0x21000631a8 pc=0x566670 cmd/go/internal/modload.ReloadBuildList(0x449bc, 0x15577b9000, 0x20) /root/riscv-go/src/cmd/go/internal/modload/load.go:288 +0x70 fp=0x2100063520 sp=0x2100063508 pc=0x565e30 cmd/go/internal/modload.LoadBuildList(0x2a524, 0x2b9e8, 0x15575b7300) /root/riscv-go/src/cmd/go/internal/modload/load.go:281 +0x38 fp=0x2100063540 sp=0x2100063520 pc=0x565d80 cmd/go/internal/modget.runGet(0xb37320, 0x210001c1d0, 0x1, 0x1) /root/riscv-go/src/cmd/go/internal/modget/get.go:218 +0x1a4 fp=0x2100063db8 sp=0x2100063540 pc=0x58f874 main.main() /root/riscv-go/src/cmd/go/main.go:219 +0xdac fp=0x2100063f98 sp=0x2100063db8 pc=0x5b04fc runtime.main() /root/riscv-go/src/runtime/proc.go:200 +0x290 fp=0x2100063fd8 sp=0x2100063f98 pc=0x4e468 runtime.goexit() /root/riscv-go/src/runtime/asm_riscv64.s:467 +0x4 fp=0x2100063fd8 sp=0x2100063fd8 pc=0x865ec 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 6 [sync.Cond.Wait]: runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 sync.runtime_notifyListWait(0x210018aec8, 0x5) /root/riscv-go/src/runtime/sema.go:510 +0x168 sync.(*Cond).Wait(0x210018aeb8) /root/riscv-go/src/sync/cond.go:56 +0x94 cmd/go/internal/par.(*Work).runner(0x210018ae80) /root/riscv-go/src/cmd/go/internal/par/work.go:87 +0x38 created by cmd/go/internal/par.(*Work).Do /root/riscv-go/src/cmd/go/internal/par/work.go:67 +0xd0 goroutine 7 [sync.Cond.Wait]: runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 sync.runtime_notifyListWait(0x210018aec8, 0x1) /root/riscv-go/src/runtime/sema.go:510 +0x168 sync.(*Cond).Wait(0x210018aeb8) /root/riscv-go/src/sync/cond.go:56 +0x94 cmd/go/internal/par.(*Work).runner(0x210018ae80) /root/riscv-go/src/cmd/go/internal/par/work.go:87 +0x38 created by cmd/go/internal/par.(*Work).Do /root/riscv-go/src/cmd/go/internal/par/work.go:67 +0xd0 goroutine 8 [sync.Cond.Wait]: runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 sync.runtime_notifyListWait(0x210018aec8, 0x8) /root/riscv-go/src/runtime/sema.go:510 +0x168 sync.(*Cond).Wait(0x210018aeb8) /root/riscv-go/src/sync/cond.go:56 +0x94 cmd/go/internal/par.(*Work).runner(0x210018ae80) /root/riscv-go/src/cmd/go/internal/par/work.go:87 +0x38 created by cmd/go/internal/par.(*Work).Do /root/riscv-go/src/cmd/go/internal/par/work.go:67 +0xd0 goroutine 9 [sync.Cond.Wait]: runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 sync.runtime_notifyListWait(0x210018aec8, 0x4) /root/riscv-go/src/runtime/sema.go:510 +0x168 sync.(*Cond).Wait(0x210018aeb8) /root/riscv-go/src/sync/cond.go:56 +0x94 cmd/go/internal/par.(*Work).runner(0x210018ae80) /root/riscv-go/src/cmd/go/internal/par/work.go:87 +0x38 created by cmd/go/internal/par.(*Work).Do /root/riscv-go/src/cmd/go/internal/par/work.go:67 +0xd0 goroutine 10 [sync.Cond.Wait]: runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 sync.runtime_notifyListWait(0x210018aec8, 0x2) /root/riscv-go/src/runtime/sema.go:510 +0x168 sync.(*Cond).Wait(0x210018aeb8) /root/riscv-go/src/sync/cond.go:56 +0x94 cmd/go/internal/par.(*Work).runner(0x210018ae80) /root/riscv-go/src/cmd/go/internal/par/work.go:87 +0x38 created by cmd/go/internal/par.(*Work).Do /root/riscv-go/src/cmd/go/internal/par/work.go:67 +0xd0 goroutine 11 [syscall]: syscall.Syscall6(0x5f, 0x1, 0x3375, 0x2100414c70, 0x1000004, 0x0, 0x0, 0x149b34, 0x2100414c68, 0x83510) /root/riscv-go/src/syscall/asm_linux_riscv64.s:41 +0x14 os.(*Process).blockUntilWaitable(0x210002a9f0, 0x0, 0xc, 0x1) /root/riscv-go/src/os/wait_waitid.go:31 +0x8c os.(*Process).wait(0x210002a9f0, 0x6fe390, 0x6fe398, 0x6fe388) /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(0x2100169340, 0x0, 0x0) /root/riscv-go/src/os/exec/exec.go:474 +0x70 os/exec.(*Cmd).Run(0x2100169340, 0x3, 0x21003d1b90) /root/riscv-go/src/os/exec/exec.go:318 +0x74 cmd/go/internal/modfetch/codehost.RunWithStdin(0x21001f20c0, 0x5b, 0x0, 0x0, 0x2100415050, 0x4, 0x4, 0x0, 0x0, 0x0, ...) /root/riscv-go/src/cmd/go/internal/modfetch/codehost/codehost.go:285 +0x80c cmd/go/internal/modfetch/codehost.Run(...) /root/riscv-go/src/cmd/go/internal/modfetch/codehost/codehost.go:225 cmd/go/internal/modfetch/codehost.(*gitRepo).loadRefs(0x21004a80b0) /root/riscv-go/src/cmd/go/internal/modfetch/codehost/git.go:165 +0xec sync.(*Once).Do(0x21004a8118, 0x21004152c0) /root/riscv-go/src/sync/once.go:44 +0x118 cmd/go/internal/modfetch/codehost.(*gitRepo).stat(0x21004a80b0, 0x21003e0908, 0x6, 0x0, 0x0, 0x0) /root/riscv-go/src/cmd/go/internal/modfetch/codehost/git.go:281 +0x140 cmd/go/internal/modfetch/codehost.(*gitRepo).Stat.func1(0x2100365900, 0x0) /root/riscv-go/src/cmd/go/internal/modfetch/codehost/git.go:460 +0x44 cmd/go/internal/par.(*Cache).Do(0x21004a80f0, 0x60c560, 0x210035f140, 0x21004154d0, 0x1, 0x21003e090d) /root/riscv-go/src/cmd/go/internal/par/work.go:128 +0x130 cmd/go/internal/modfetch/codehost.(*gitRepo).Stat(0x21004a80b0, 0x21003e0908, 0x6, 0x1, 0x21003e090b, 0x1) /root/riscv-go/src/cmd/go/internal/modfetch/codehost/git.go:459 +0x168 cmd/go/internal/modfetch.(*codeRepo).Stat(0x210018b280, 0x21003e0908, 0x6, 0x12, 0x2100415678, 0x2) /root/riscv-go/src/cmd/go/internal/modfetch/coderepo.go:155 +0x16c cmd/go/internal/modfetch.(*cachingRepo).Stat.func1(0x21003658e0, 0x0) /root/riscv-go/src/cmd/go/internal/modfetch/cache.go:166 +0xbc cmd/go/internal/par.(*Cache).Do(0x2100359690, 0x60c560, 0x210035f0e0, 0x2100415740, 0x6, 0x21003e0d90) /root/riscv-go/src/cmd/go/internal/par/work.go:128 +0x130 cmd/go/internal/modfetch.(*cachingRepo).Stat(0x2100359680, 0x21003e0908, 0x6, 0x6, 0x21002d2230, 0x44) /root/riscv-go/src/cmd/go/internal/modfetch/cache.go:157 +0xec cmd/go/internal/modfetch.(*cachingRepo).GoMod.func1(0x21003658c0, 0x0) /root/riscv-go/src/cmd/go/internal/modfetch/cache.go:232 +0xb8 cmd/go/internal/par.(*Cache).Do(0x2100359690, 0x60c560, 0x210035f0b0, 0x2100415900, 0x6, 0x21003e0d70) /root/riscv-go/src/cmd/go/internal/par/work.go:128 +0x130 cmd/go/internal/modfetch.(*cachingRepo).GoMod(0x2100359680, 0x21003e0908, 0x6, 0x2100359680, 0x0, 0x0, 0x0, 0x0) /root/riscv-go/src/cmd/go/internal/modfetch/cache.go:223 +0xe0 cmd/go/internal/modfetch.GoMod(0x21003e70a0, 0x16, 0x21003e0908, 0x6, 0x21003e090b, 0x1, 0x21003e090d, 0x1, 0x0) /root/riscv-go/src/cmd/go/internal/modfetch/cache.go:311 +0x120 cmd/go/internal/modload.(*mvsReqs).required(0x21003c7960, 0x21003e70a0, 0x16, 0x21003e0908, 0x6, 0x2100415d38, 0x10, 0x8, 0x52ef6bbb8f63bf, 0x9de2c) /root/riscv-go/src/cmd/go/internal/modload/load.go:971 +0x47c cmd/go/internal/modload.(*mvsReqs).Required.func1(0x210025e240, 0x0) /root/riscv-go/src/cmd/go/internal/modload/load.go:855 +0x60 cmd/go/internal/par.(*Cache).Do(0x21003c7978, 0x655ce0, 0x210025e220, 0x2100415e48, 0x0, 0x0) /root/riscv-go/src/cmd/go/internal/par/work.go:128 +0x130 cmd/go/internal/modload.(*mvsReqs).Required(0x21003c7960, 0x21003e70a0, 0x16, 0x21003e0908, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0) /root/riscv-go/src/cmd/go/internal/modload/load.go:854 +0xd4 cmd/go/internal/mvs.buildList.func1(0x655ce0, 0x21003654e0) /root/riscv-go/src/cmd/go/internal/mvs/mvs.go:88 +0xdc cmd/go/internal/par.(*Work).runner(0x210018ae80) /root/riscv-go/src/cmd/go/internal/par/work.go:101 +0x1b4 created by cmd/go/internal/par.(*Work).Do /root/riscv-go/src/cmd/go/internal/par/work.go:67 +0xd0 goroutine 12 [sync.Cond.Wait]: runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 sync.runtime_notifyListWait(0x210018aec8, 0x6) /root/riscv-go/src/runtime/sema.go:510 +0x168 sync.(*Cond).Wait(0x210018aeb8) /root/riscv-go/src/sync/cond.go:56 +0x94 cmd/go/internal/par.(*Work).runner(0x210018ae80) /root/riscv-go/src/cmd/go/internal/par/work.go:87 +0x38 created by cmd/go/internal/par.(*Work).Do /root/riscv-go/src/cmd/go/internal/par/work.go:67 +0xd0 goroutine 13 [sync.Cond.Wait]: runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 sync.runtime_notifyListWait(0x210018aec8, 0x3) /root/riscv-go/src/runtime/sema.go:510 +0x168 sync.(*Cond).Wait(0x210018aeb8) /root/riscv-go/src/sync/cond.go:56 +0x94 cmd/go/internal/par.(*Work).runner(0x210018ae80) /root/riscv-go/src/cmd/go/internal/par/work.go:87 +0x38 created by cmd/go/internal/par.(*Work).Do /root/riscv-go/src/cmd/go/internal/par/work.go:67 +0xd0 goroutine 14 [sync.Cond.Wait]: runtime.goparkunlock(...) /root/riscv-go/src/runtime/proc.go:307 sync.runtime_notifyListWait(0x210018aec8, 0x7) /root/riscv-go/src/runtime/sema.go:510 +0x168 sync.(*Cond).Wait(0x210018aeb8) /root/riscv-go/src/sync/cond.go:56 +0x94 cmd/go/internal/par.(*Work).runner(0x210018ae80) /root/riscv-go/src/cmd/go/internal/par/work.go:87 +0x38 created by cmd/go/internal/par.(*Work).Do /root/riscv-go/src/cmd/go/internal/par/work.go:67 +0xd0 goroutine 40 [IO wait]: internal/poll.runtime_pollWait(0x15577d1f08, 0x72, 0xffffffffffffffff) /root/riscv-go/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x21003b4eb8, 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(0x21003b4ea0, 0x2100566400, 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(0x210000c720, 0x2100566400, 0x200, 0x200, 0x0, 0x0, 0x0) /root/riscv-go/src/os/file.go:108 +0x80 bytes.(*Buffer).ReadFrom(0x21005b6000, 0x7a7ae0, 0x210000c720, 0x1557849078, 0x21005b6000, 0x1) /root/riscv-go/src/bytes/buffer.go:207 +0xe0 io.copyBuffer(0x7a70c0, 0x21005b6000, 0x7a7ae0, 0x210000c720, 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(0x2100169340, 0x2100365a80) /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 41 [IO wait]: internal/poll.runtime_pollWait(0x15577d1d68, 0x72, 0xffffffffffffffff) /root/riscv-go/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x21003b4f78, 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(0x21003b4f60, 0x2100562200, 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(0x210000c738, 0x2100562200, 0x200, 0x200, 0x0, 0x0, 0x0) /root/riscv-go/src/os/file.go:108 +0x80 bytes.(*Buffer).ReadFrom(0x21003affb0, 0x7a7ae0, 0x210000c738, 0x1557849078, 0x21003affb0, 0x1) /root/riscv-go/src/bytes/buffer.go:207 +0xe0 io.copyBuffer(0x7a70c0, 0x21003affb0, 0x7a7ae0, 0x210000c738, 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(0x2100169340, 0x2100365ac0) /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 47 [IO wait]: internal/poll.runtime_pollWait(0x15577d1bc8, 0x72, 0xffffffffffffffff) /root/riscv-go/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x21001fc318, 0x72, 0xe00, 0xe37, 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(0x21001fc300, 0x210066e000, 0xe37, 0xe37, 0x0, 0x0, 0x0) /root/riscv-go/src/internal/poll/fd_unix.go:169 +0x1f8 net.(*netFD).Read(0x21001fc300, 0x210066e000, 0xe37, 0xe37, 0x210066e046, 0x8, 0xdf1) /root/riscv-go/src/net/fd_unix.go:202 +0x50 net.(*conn).Read(0x2100548010, 0x210066e000, 0xe37, 0xe37, 0x0, 0x0, 0x0) /root/riscv-go/src/net/net.go:177 +0x74 crypto/tls.(*atLeastReader).Read(0x21007c2400, 0x210066e000, 0xe37, 0xe37, 0x3ff, 0x1, 0x177) /root/riscv-go/src/crypto/tls/conn.go:761 +0x64 bytes.(*Buffer).ReadFrom(0x2100522258, 0x7a7360, 0x21007c2400, 0x3af348, 0x63e7e0, 0x6a3f40) /root/riscv-go/src/bytes/buffer.go:207 +0xe0 crypto/tls.(*Conn).readFromUntil(0x2100522000, 0x7a7860, 0x2100548010, 0x5, 0x2100548010, 0x1d360) /root/riscv-go/src/crypto/tls/conn.go:783 +0x128 crypto/tls.(*Conn).readRecordOrCCS(0x2100522000, 0x6fe700, 0x2100522138, 0x21007a6260) /root/riscv-go/src/crypto/tls/conn.go:590 +0x14c crypto/tls.(*Conn).readRecord(...) /root/riscv-go/src/crypto/tls/conn.go:558 crypto/tls.(*Conn).Read(0x2100522000, 0x210066f000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /root/riscv-go/src/crypto/tls/conn.go:1236 +0x18c bufio.(*Reader).Read(0x2100144c60, 0x210005b378, 0x9, 0x9, 0x21ffffffff, 0x456d70, 0x21004a6360) /root/riscv-go/src/bufio/bufio.go:223 +0x2dc io.ReadAtLeast(0x7a7060, 0x2100144c60, 0x210005b378, 0x9, 0x9, 0x9, 0x2100348100, 0x7a75c0, 0x21006fc340) /root/riscv-go/src/io/io.go:310 +0x90 io.ReadFull(...) /root/riscv-go/src/io/io.go:329 net/http.http2readFrameHeader(0x210005b378, 0x9, 0x9, 0x7a7060, 0x2100144c60, 0x0, 0x0, 0x210053a930, 0x0) /root/riscv-go/src/net/http/h2_bundle.go:1476 +0x80 net/http.(*http2Framer).ReadFrame(0x210005b340, 0x210053a930, 0x0, 0x0, 0x0) /root/riscv-go/src/net/http/h2_bundle.go:1734 +0xa8 net/http.(*http2clientConnReadLoop).run(0x2100927fc0, 0x6fe1e8, 0x2100927fc0) /root/riscv-go/src/net/http/h2_bundle.go:8102 +0x8c net/http.(*http2ClientConn).readLoop(0x2100001080) /root/riscv-go/src/net/http/h2_bundle.go:8030 +0x7c created by net/http.(*http2Transport).newClientConn /root/riscv-go/src/net/http/h2_bundle.go:7093 +0x740 ```

But disabling GC:

[root@fedora-riscv gojsontoyaml]# GOGC=off go get .
go: finding github.com/ghodss/yaml v1.0.0
go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
go: downloading github.com/ghodss/yaml v1.0.0
go: extracting github.com/ghodss/yaml v1.0.0
go: downloading gopkg.in/yaml.v2 v2.1.1
go: extracting gopkg.in/yaml.v2 v2.1.1
[root@fedora-riscv gojsontoyaml]# go build .
[root@fedora-riscv gojsontoyaml]# ls
gojsontoyaml  go.mod  Gopkg.lock  Gopkg.toml  go.sum  LICENSE  main.go  README.md  vendor

And it runs fine:

[root@fedora-riscv gojsontoyaml]# echo "{a: 1, b: {b1: 1, b2: 2}}" | ./gojsontoyaml
a: 1
b:
  b1: 1
  b2: 2
marcopeereboom commented 5 years ago

Try connecting -- maybe he already got your pubkeys through GitHub.

Yep - you should be all set @marcopeereboom

Still asks for a password.

I am using this key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL1c5HWmHG/Ne4tBuVb8POnlAbm/gZKD6lb7GPS0hMAi

ddevault commented 5 years ago

Try again now.

marcopeereboom commented 5 years ago

Still asks for a password. I added an ssh config to explicitly only use that identity.

Are you on irc or keybase so that we don't pollute this issue with this anymore?

ddevault commented 5 years ago

Oh, sorry, my sshd doesn't have ed25519 support. Do you have an RSA key? I'm ddevault on freenode.

davidlt commented 5 years ago

CC @palmer-dabbelt @jim-wilson @alistair23

If there are issues with QEMU, kernel, glibc or toolchain these people (i.e. maintainers) are the best persons help out.

alistair23 commented 5 years ago

Yeah, let me know if you see an issue with RISC-V QEMU and I can investigate.

4a6f656c commented 5 years ago

@alistair23 try running the following under RISC-V QEMU:

https://gist.github.com/4a6f656c/8433032a3f70893a278259f8108aad90

https://gist.github.com/4a6f656c/d883091f5ca811822720213be343a75a

They may need to be run a few times, but seem to eventually fail under qemu, yet I'm told they work correctly under real hardware.

jim-wilson commented 5 years ago

I tried this, and wasn't able to reproduce the problem. I tried hardware, system qemu, and user qemu, and they all worked. But maybe you have a different version of something, or used different compiler options, etc.

marcopeereboom commented 5 years ago

@jim-wilson did you use bbl or opensbi?

Can you also paste the versions of various things you tried?

jim-wilson commented 5 years ago

I used a Fedora Core 30 system running on hardware to compile the two testcases. I tried the binaries on hardware and they worked. I tried them with both user and system qemu, using both a riscv-qemu and an upstream qemu.org qemu, and it worked for me in all four cases.

FC30 uses bbl.

carlosedp commented 5 years ago

@jim-wilson have you tried increasing the TCOUNT variable for more threads? Sometimes on Qemu with 4 threads it work but with something like 40 threads it eats up data. On hardware it should work perfectly.

jim-wilson commented 5 years ago

Nothing in this bug report mentions TCOUNT. I did try increasing it to 40, and now it is failing using system qemu with both an old riscv-qemu and a top of tree qemu.org. It still works on my HiFive Unleashed board though. And it works with a user mode qemu, both old and new, though this is using an older glibc.

So maybe a linux kernel bug or a system qemu bug, and I'm not an expert with either one of those.

carlosedp commented 5 years ago

@marcopeereboom mentioned up there to play with threads and iterations, that's what TCOUNT does. It's apparently a Qemu bug. I'm just clearing some stuff up and will post this into Qemu mailing list so @alistair23 and @palmer-dabbelt can help checking this out.

marcopeereboom commented 5 years ago

Yeah we are really leaning toward a qemu-system bug. I'll try to write up an issue but they use a silly bug tracker.

carlosedp commented 5 years ago

@marcopeereboom, Palmer pointed out to write to the mailing list at qemu-riscv@nongnu.org (https://lists.nongnu.org/mailman/listinfo/qemu-riscv) describing the bug.

marcopeereboom commented 5 years ago

We seem to have liftoff 🚀Couple of failing tests but nothing of real interest and it seems relatively simple to fix.

Latest commits seem to fix the majority of the problems and I am running relatively large go programs in qemu-system-riscv.

Can you guys test and provide some feedback?

carlosedp commented 5 years ago

I still see some problems related to GC, now on the Unleashed board. I rebuilt my bootstrap on my Mac, transferred it to the board and checked-out the latest tree.

I tried to build go-jsonnet and got this error:

root@buildroot:~/go-jsonnet# git clone https://github.com/google/go-jsonnet --depth=1
root@buildroot:~/go-jsonnet# cd go-jsonnet

root@buildroot:~/go-jsonnet# go build ./cmd/jsonnet/
go: finding github.com/mattn/go-isatty v0.0.7
go: finding github.com/fatih/color v1.7.0
go: finding github.com/sergi/go-diff v1.0.0
go: finding github.com/stretchr/testify v1.3.0
go: finding github.com/mattn/go-colorable v0.1.1
go: finding github.com/mattn/go-isatty v0.0.5
go: finding golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding github.com/stretchr/objx v0.1.0
go: finding github.com/davecgh/go-spew v1.1.0
go: downloading github.com/fatih/color v1.7.0
go: extracting github.com/fatih/color v1.7.0
go: downloading github.com/mattn/go-isatty v0.0.7
go: downloading github.com/mattn/go-colorable v0.1.1
go: extracting github.com/mattn/go-isatty v0.0.7
go: downloading golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223
go: extracting github.com/mattn/go-colorable v0.1.1
go: extracting golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223
# golang.org/x/sys/unix
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190222072716-a9d3bda3a223/unix/syscall_linux_gc.go:10:6: missing function body
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190222072716-a9d3bda3a223/unix/syscall_linux_gc.go:14:6: missing function body
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190222072716-a9d3bda3a223/unix/syscall_unix_gc.go:12:6: missing function body
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190222072716-a9d3bda3a223/unix/syscall_unix_gc.go:13:6: missing function body
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190222072716-a9d3bda3a223/unix/syscall_unix_gc.go:14:6: missing function body
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190222072716-a9d3bda3a223/unix/syscall_unix_gc.go:15:6: missing function body
root@buildroot:~/go-jsonnet#
root@buildroot:~/go-jsonnet# uname -a
Linux buildroot 4.15.0-00044-g2b0aa1d #1 SMP Tue Mar 20 12:18:35 PDT 2018 riscv64 GNU/Linux
root@buildroot:~/go-jsonnet#
root@buildroot:~/go-jsonnet# go version
go version go1.12 linux/riscv64

Same error happened building echo.

I'm using a Debian rootfs. Go was built with:

root@buildroot:~/riscv-go# export GOROOT_BOOTSTRAP=/root/go-linux-riscv64-bootstrap
root@buildroot:~/riscv-go# export PATH="$(pwd)/misc/riscv:$(pwd)/bin:$PATH"
root@buildroot:~/riscv-go# cd src/
root@buildroot:~/riscv-go/src# ./make.bash
Building Go cmd/dist using /root/go-linux-riscv64-bootstrap.
Building Go toolchain1 using /root/go-linux-riscv64-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/riscv64.
---
Installed Go for linux/riscv64 in /root/riscv-go
Installed commands in /root/riscv-go/bin
marcopeereboom commented 5 years ago

So that error is outside of go. I saw it on bolt db. That tree is not locked so we'll try to get that updated sooner rather than later.

marcopeereboom commented 5 years ago

Quick status update.

There are a couple of compiler/SSA issues that still need to be tracked down and maybe some additional polish but that is about it. We should be pretty healthy here in the next few weeks and therefore the second the tree opens we can create a pull request.

What this code does NOT do is 32 bit riscv. The code differences should be pretty trivial but someone has to do the work. So if you want to help and care about 32 bit, that is the next task at hand.

eliasnaur commented 5 years ago

Quick status update.

I'm very excited about this work. Thanks for doing it.

There are a couple of compiler/SSA issues that still need to be tracked down and maybe some additional polish but that is about it. We should be pretty healthy here in the next few weeks and therefore the second the tree opens we can create a pull request.

Please do create a pull request as soon as the port is ready so it can be reviewed and ready to merge when the tree opens. Review of a new port takes considerable time and will probably result in changes that have to be integrated before merging.

tklauser commented 5 years ago

# golang.org/x/sys/unix
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190222072716-a9d3bda3a223/unix/syscall_linux_gc.go:10:6: missing function body
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190222072716-a9d3bda3a223/unix/syscall_linux_gc.go:14:6: missing function body
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190222072716-a9d3bda3a223/unix/syscall_unix_gc.go:12:6: missing function body
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190222072716-a9d3bda3a223/unix/syscall_unix_gc.go:13:6: missing function body
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190222072716-a9d3bda3a223/unix/syscall_unix_gc.go:14:6: missing function body
../go/pkg/mod/golang.org/x/sys@v0.0.0-20190222072716-a9d3bda3a223/unix/syscall_unix_gc.go:15:6: missing function body```

This is due to missing assembly syscall wrappers for linux/riscv64 in x/sys/unix. We didn't add these yet because the assembly syntax for riscv64 is not yet considered final, please see the discussion on https://golang.org/cl/157901. I abandoned the CL for the time being, but once the riscv64 port is submitted for review and the assembly syntax deemed stable we can resurrect said CL.

marcopeereboom commented 5 years ago

That repo is open so if you feel inclined :-)

marcopeereboom commented 5 years ago

I sent a report to the QEMU list. http://lists.nongnu.org/archive/html/qemu-riscv/2019-05/msg00021.html

carlosedp commented 5 years ago

@tklauser I see the assembly syscalls on https://github.com/4a6f656c/riscv-go/blob/riscvdev/src/cmd/vendor/golang.org/x/sys/unix/asm_linux_riscv64.s and https://github.com/4a6f656c/riscv-go/blob/riscvdev/src/syscall/asm_linux_riscv64.s. Is there anything else missing?

marcopeereboom commented 5 years ago

That code uses mod.

carlosedp commented 5 years ago

@marcopeereboom What do you mean by "mod"?

ianlancetaylor commented 5 years ago

@carlosedp The code that you are building, that fails, is using modules, which means that it is downloading the golang.org/x/sys/unix package to build from the Internet or from some module cache. It is not using your riscv64-specific variant of golang.org/x/sys/unix.

carlosedp commented 5 years ago

I've build the most recent x/sys package with Risc-V ASM instructions, replaced it on my repo and it successfully tested and build the application I was seeing the GC problems previously.

The merge is on https://github.com/carlosedp/sys/tree/riscv64

I've cloned it into my $GOPATH/src/golang.org/x/sys and copied it over to '$GOPATH/pkg/mod/golang.org/x/sys....' where go modules are downloaded now.

$ GOOS=linux GOARCH=riscv64 go test
PASS
ok      golang.org/x/sys/unix   0.658s

An application like Go-Jsonnet that was previously failing, now builds and runs:

$ go build ./cmd/jsonnet/

$ cd cmd/jsonnet
$ go test
PASS
ok      github.com/google/go-jsonnet/cmd/jsonnet    0.015s

$ ./jsonnet -e "local a = [1,2]; {a: a}"
{
   "a": [
      1,
      2
   ]
}

This is on the Unleashed with these specs:

carlosedp@HiFiveU:~/work $ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
carlosedp@HiFiveU:~/work $ uname -a
Linux HiFiveU 4.19.0-sifive-1+ #9 SMP Thu May 16 12:46:59 -03 2019 riscv64 GNU/Linux
gopherbot commented 5 years ago

Change https://golang.org/cl/177799 mentions this issue: unix: provide linux/riscv64 assembly for syscalls

carlosedp commented 5 years ago

I've successfully built Prometheus on Unleashed.

Had to add support to x/net module. Already submitted to Gerrit on: https://go-review.googlesource.com/c/net/+/177997

The Prometheus change is on my repo (https://github.com/carlosedp/prometheus/tree/riscv64). I also had to link to the RiscV x/sys package.

Other than that, it built fine.

marcopeereboom commented 5 years ago

All tests should now pass.

gopherbot commented 5 years ago

Change https://golang.org/cl/177997 mentions this issue: ipv4, ipv6, internal/socket: add riscv64 support

carlosedp commented 5 years ago

I'm still seeing failed tests on runtime. cmd/go is failing with timeout, even increasing it, it fails. Details as seen below:

Test run:

``` carlosedp@HiFiveU:~/work/riscv-go-new/src $ ./run.bash ##### Building packages and commands. ##### Testing packages. ok archive/tar 1.221s ok archive/zip 280.659s ok bufio 1.032s ok bytes 5.210s ok compress/bzip2 1.190s ok compress/flate 12.867s ok compress/gzip 0.541s ok compress/lzw 0.165s ok compress/zlib 0.333s ok container/heap 0.218s ok container/list 0.067s ok container/ring 0.368s ok context 1.193s ok crypto 0.058s ok crypto/aes 0.202s ok crypto/cipher 1.523s ok crypto/des 0.081s ok crypto/dsa 0.205s ok crypto/ecdsa 4.356s ok crypto/elliptic 0.684s ok crypto/hmac 0.053s ok crypto/internal/subtle 0.038s ok crypto/md5 0.069s ok crypto/rand 0.724s ok crypto/rc4 0.554s ok crypto/rsa 2.163s ok crypto/sha1 0.238s ok crypto/sha256 0.202s ok crypto/sha512 0.086s ok crypto/subtle 0.105s ok crypto/tls 39.399s ok crypto/x509 42.224s ok database/sql 2.853s ok database/sql/driver 0.047s ok debug/dwarf 0.279s ok debug/elf 0.499s ok debug/gosym 0.116s ok debug/macho 0.118s ok debug/pe 0.173s ok debug/plan9obj 0.100s ok encoding/ascii85 0.124s ok encoding/asn1 0.104s ok encoding/base32 0.563s ok encoding/base64 0.194s ok encoding/binary 0.121s ok encoding/csv 0.188s ok encoding/gob 0.539s ok encoding/hex 0.170s ok encoding/json 9.944s ok encoding/pem 0.269s ok encoding/xml 0.346s ok errors 0.143s ok expvar 0.082s ok flag 0.144s ok fmt 3.973s ok go/ast 0.102s ok go/build 13.555s ok go/constant 0.051s ok go/doc 1.349s ok go/format 0.167s ok go/importer 5.556s ok go/internal/gccgoimporter 0.348s ok go/internal/gcimporter 5.299s ok go/internal/srcimporter 44.684s ok go/parser 0.517s ok go/printer 4.350s ok go/scanner 0.146s ok go/token 2.023s ok go/types 19.314s ok hash 0.122s ok hash/adler32 0.149s ok hash/crc32 0.138s ok hash/crc64 0.056s ok hash/fnv 0.065s ok html 0.055s ok html/template 0.600s ok image 1.363s ok image/color 0.237s ok image/draw 0.645s ok image/gif 7.717s ok image/jpeg 3.084s ok image/png 0.957s ok index/suffixarray 0.154s ok internal/cpu 0.111s ok internal/fmtsort 0.072s ok internal/poll 0.423s ok internal/singleflight 0.111s ok internal/trace 27.444s ok internal/x/crypto/chacha20poly1305 1.846s ok internal/x/crypto/cryptobyte 0.090s ok internal/x/crypto/curve25519 0.549s ok internal/x/crypto/hkdf 0.058s ok internal/x/crypto/internal/chacha20 1.238s ok internal/x/crypto/poly1305 0.942s ok internal/x/net/dns/dnsmessage 0.452s ok internal/x/net/http/httpguts 0.138s ok internal/x/net/http/httpproxy 0.144s ok internal/x/net/http2/hpack 0.226s ok internal/x/net/idna 0.152s ok internal/x/net/nettest 3.912s ok internal/x/text/transform 0.040s ok internal/x/text/unicode/norm 0.120s ok internal/xcoff 0.178s ok io 0.262s ok io/ioutil 0.597s ok log 0.130s ok log/syslog 1.475s ok math 0.103s ok math/big 37.941s ok math/bits 0.155s ok math/cmplx 0.103s ok math/rand 3.191s ok mime 0.116s ok mime/multipart 11.246s ok mime/quotedprintable 2.732s ok net 45.325s ok net/http 35.456s ok net/http/cgi 4.918s ok net/http/cookiejar 0.220s ok net/http/fcgi 0.099s ok net/http/httptest 0.919s ok net/http/httptrace 0.076s ok net/http/httputil 1.005s ok net/http/internal 0.038s ok net/http/pprof 2.170s ok net/internal/socktest 0.076s ok net/mail 0.119s ok net/rpc 0.352s ok net/rpc/jsonrpc 0.081s ok net/smtp 0.236s ok net/textproto 0.062s ok net/url 0.172s ok os 2.472s ok os/exec 4.545s ok os/signal 8.526s ok os/user 0.069s ok path 0.056s ok path/filepath 0.930s ok plugin 0.061s ok reflect 3.565s ok regexp 2.426s ok regexp/syntax 6.032s --- FAIL: TestNetpollDeadlock (60.17s) crash_test.go:95: testprognet NetpollDeadlock exit status: exit status 2 crash_test.go:409: output does not start with "done\n": dialing SIGQUIT: quit PC=0x85534 m=0 sigcode=0 goroutine 0 [idle]: runtime.futex(0x2682e8, 0x80, 0x0, 0x0, 0x0, 0x2678d0, 0x0, 0x0, 0x5305c, 0x2682e8, ...) /home/carlosedp/work/riscv-go-new/src/runtime/sys_linux_riscv64.s:339 +0x1c runtime.futexsleep(0x2682e8, 0x2100000000, 0xffffffffffffffff) /home/carlosedp/work/riscv-go-new/src/runtime/os_linux.go:46 +0x58 runtime.notesleep(0x2682e8) /home/carlosedp/work/riscv-go-new/src/runtime/lock_futex.go:151 +0xe4 runtime.stoplockedm() /home/carlosedp/work/riscv-go-new/src/runtime/proc.go:2076 +0xa4 runtime.schedule() /home/carlosedp/work/riscv-go-new/src/runtime/proc.go:2477 +0x564 runtime.park_m(0x2100000180) /home/carlosedp/work/riscv-go-new/src/runtime/proc.go:2605 +0xb8 runtime.mcall(0x2100000180) /home/carlosedp/work/riscv-go-new/src/runtime/asm_riscv64.s:317 +0x54 goroutine 1 [select, locked to thread]: net.(*sysDialer).dialParallel(0x21000ac100, 0x19cfc0, 0x21000100f0, 0x2100048560, 0x1, 0x1, 0x2100048570, 0x1, 0x1, 0x0, ...) /home/carlosedp/work/riscv-go-new/src/net/dial.go:482 +0x2f8 net.(*Dialer).DialContext(0x2100078ef0, 0x19cfc0, 0x21000100f0, 0x176dc4, 0x3, 0x1789f7, 0xf, 0x0, 0x0, 0x0, ...) /home/carlosedp/work/riscv-go-new/src/net/dial.go:415 +0x604 net.(*Dialer).Dial(...) /home/carlosedp/work/riscv-go-new/src/net/dial.go:340 net.Dial(...) /home/carlosedp/work/riscv-go-new/src/net/dial.go:311 main.NetpollDeadlockInit() /work/riscv-go-new/src/runtime/testdata/testprognet/net.go:19 +0x100 main.registerInit(...) /work/riscv-go-new/src/runtime/testdata/testprognet/main.go:20 main.init.0() /work/riscv-go-new/src/runtime/testdata/testprognet/net.go:13 +0x180 goroutine 5 [syscall]: os/signal.signal_recv(0x0) /home/carlosedp/work/riscv-go-new/src/runtime/sigqueue.go:139 +0x234 os/signal.loop() /home/carlosedp/work/riscv-go-new/src/os/signal/signal_unix.go:23 +0x2c created by os/signal.init.0 /home/carlosedp/work/riscv-go-new/src/os/signal/signal_unix.go:29 +0x54 goroutine 19 [IO wait]: internal/poll.runtime_pollWait(0x2002277f08, 0x77, 0x21000c8300) /home/carlosedp/work/riscv-go-new/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x21000d4098, 0x77, 0x19cf00, 0x21000e2000, 0x21000d4080) /home/carlosedp/work/riscv-go-new/src/internal/poll/fd_poll_runtime.go:87 +0xd8 internal/poll.(*pollDesc).waitWrite(...) /home/carlosedp/work/riscv-go-new/src/internal/poll/fd_poll_runtime.go:96 internal/poll.(*FD).WaitWrite(...) /home/carlosedp/work/riscv-go-new/src/internal/poll/fd_unix.go:498 net.(*netFD).connect(0x21000d4080, 0x19cf80, 0x21000e2000, 0x0, 0x0, 0x19bc20, 0x21000e8000, 0x0, 0x0, 0x0, ...) /home/carlosedp/work/riscv-go-new/src/net/fd_unix.go:152 +0x2ec net.(*netFD).dial(0x21000d4080, 0x19cf80, 0x21000e2000, 0x19d460, 0x0, 0x19d460, 0x2100062ab0, 0x0, 0x1, 0x107eb8) /home/carlosedp/work/riscv-go-new/src/net/sock_posix.go:149 +0xe0 net.socket(0x19cf80, 0x21000e2000, 0x176dc4, 0x3, 0xa, 0x1, 0x0, 0x0, 0x19d460, 0x0, ...) /home/carlosedp/work/riscv-go-new/src/net/sock_posix.go:70 +0x1a8 net.internetSocket(0x19cf80, 0x21000e2000, 0x176dc4, 0x3, 0x19d460, 0x0, 0x19d460, 0x2100062ab0, 0x1, 0x0, ...) /home/carlosedp/work/riscv-go-new/src/net/ipsock_posix.go:141 +0xe4 net.(*sysDialer).doDialTCP(0x21000ac100, 0x19cf80, 0x21000e2000, 0x0, 0x2100062ab0, 0x151560, 0x2804f8, 0x0) /home/carlosedp/work/riscv-go-new/src/net/tcpsock_posix.go:65 +0xa0 net.(*sysDialer).dialTCP(0x21000ac100, 0x19cf80, 0x21000e2000, 0x0, 0x2100062ab0, 0x9e6b4, 0xf38e0, 0x1e6eee3b) /home/carlosedp/work/riscv-go-new/src/net/tcpsock_posix.go:61 +0xcc net.(*sysDialer).dialSingle(0x21000ac100, 0x19cf80, 0x21000e2000, 0x19bf00, 0x2100062ab0, 0x0, 0x0, 0x0, 0x0) /home/carlosedp/work/riscv-go-new/src/net/dial.go:571 +0x414 net.(*sysDialer).dialSerial(0x21000ac100, 0x19cf80, 0x21000e2000, 0x2100048570, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0) /home/carlosedp/work/riscv-go-new/src/net/dial.go:539 +0x1d4 net.(*sysDialer).dialParallel.func1(0x19cf80, 0x21000e2000, 0x21000e4000) /home/carlosedp/work/riscv-go-new/src/net/dial.go:460 +0x78 created by net.(*sysDialer).dialParallel /home/carlosedp/work/riscv-go-new/src/net/dial.go:486 +0x504 goroutine 20 [select]: net.(*netFD).connect.func2(0x19cf80, 0x21000e2000, 0x21000d4080, 0x21000d21e0, 0x21000d2180) /home/carlosedp/work/riscv-go-new/src/net/fd_unix.go:129 +0x98 created by net.(*netFD).connect /home/carlosedp/work/riscv-go-new/src/net/fd_unix.go:128 +0x2b8 ra 0x47d10 sp 0x3ffff48370 gp 0x0 tp 0x267ba0 t0 0xffffffffffffffff t1 0x2682e8 t2 0x1 s0 0xffffffffffffffff s1 0x1 a0 0x2682e8 a1 0x80 a2 0x0 a3 0x0 a4 0x0 a5 0x0 a6 0x2100000208 a7 0x62 s2 0x28 s3 0x0 s4 0x17f890 s5 0x1 s6 0x2 s7 0x2100060120 s8 0x2100078c02 s9 0x1 s10 0x197ecc s11 0x8 t3 0x0 t4 0x21000c8370 t5 0x21000c8369 t6 0x85518 pc 0x85534 FAIL FAIL runtime 152.248s ok runtime/debug 0.787s ok runtime/internal/atomic 0.361s ok runtime/internal/math 0.184s ok runtime/internal/sys 0.061s ok runtime/pprof 17.066s ok runtime/pprof/internal/profile 0.055s ok runtime/trace 60.891s ok sort 1.806s ok strconv 6.803s ok strings 4.886s ok sync 2.621s ok sync/atomic 0.316s ok syscall 0.202s ok testing 2.383s ok testing/quick 2.742s ok text/scanner 0.071s ok text/tabwriter 0.060s ok text/template 6.844s ok text/template/parse 0.477s ok time 7.990s ok unicode 0.054s ok unicode/utf16 0.094s ok unicode/utf8 0.134s ok cmd/addr2line 43.426s ok cmd/api 0.630s ok cmd/asm/internal/asm 18.099s ok cmd/asm/internal/lex 0.096s ok cmd/compile 0.072s ok cmd/compile/internal/gc 244.481s ok cmd/compile/internal/ssa 8.039s ok cmd/compile/internal/syntax 0.195s ok cmd/compile/internal/test 0.038s [no tests to run] ok cmd/compile/internal/types 0.113s ok cmd/cover 73.666s ok cmd/doc 1.573s ok cmd/fix 70.967s SIGQUIT: quit PC=0x8ca34 m=0 sigcode=0 goroutine 0 [idle]: runtime.epollwait(0x3f00000004, 0x3fffa97b08, 0xffffffff00000080, 0x2000000001, 0xffffffff000000e9, 0x2, 0x0, 0x1, 0x4, 0x20022bc0d0, ...) /home/carlosedp/work/riscv-go-new/src/runtime/sys_linux_riscv64.s:463 +0x1c runtime.netpoll(0xcd6601, 0x0) /home/carlosedp/work/riscv-go-new/src/runtime/netpoll_epoll.go:71 +0x210 runtime.findrunnable(0x2100032000, 0x0) /home/carlosedp/work/riscv-go-new/src/runtime/proc.go:2380 +0x660 runtime.schedule() /home/carlosedp/work/riscv-go-new/src/runtime/proc.go:2525 +0x2fc runtime.goexit0(0x210046e900) /home/carlosedp/work/riscv-go-new/src/runtime/proc.go:2722 +0x220 runtime.mcall(0x210046e900) /home/carlosedp/work/riscv-go-new/src/runtime/asm_riscv64.s:317 +0x54 goroutine 1 [chan receive]: testing.(*T).Run(0x2100284a00, 0x7b28d2, 0x11, 0x7fa088, 0x148801) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:917 +0x3c0 testing.runTests.func1(0x21002aa000) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:1157 +0x88 testing.tRunner(0x21002aa000, 0x210011bc28) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 testing.runTests(0x210000a120, 0xcd1620, 0x10d, 0x10d, 0x7fb3a8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:1155 +0x2e8 testing.(*M).Run(0x2100108d80, 0x0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:1072 +0x194 cmd/go_test.TestMain(0x2100108d80) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:256 +0x3b0 main.main() _testmain.go:578 +0x190 goroutine 18 [syscall, 7 minutes]: os/signal.signal_recv(0x0) /home/carlosedp/work/riscv-go-new/src/runtime/sigqueue.go:139 +0x234 os/signal.loop() /home/carlosedp/work/riscv-go-new/src/os/signal/signal_unix.go:23 +0x2c created by os/signal.init.0 /home/carlosedp/work/riscv-go-new/src/os/signal/signal_unix.go:29 +0x54 goroutine 137 [chan receive, 5 minutes]: testing.(*T).Parallel(0x21000e8200) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000ea180) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestNonCanonicalImportPaths(0x21000e8200) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1410 +0x78 testing.tRunner(0x21000e8200, 0x7fa2b8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 113 [chan receive, 7 minutes]: testing.(*T).Parallel(0x21002aa300) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000ea3c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestImportCycle(0x21002aa300) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1233 +0x78 testing.tRunner(0x21002aa300, 0x7fa0b8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 217 [chan receive, 5 minutes]: testing.(*T).Parallel(0x21000e9200) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100352180) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestUnsuccessfulGoInstallShouldMentionMissingPackage(0x21000e9200) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1924 +0x78 testing.tRunner(0x21000e9200, 0x7fa3e8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 214 [chan receive, 5 minutes]: testing.(*T).Parallel(0x21000e8f00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000ebec0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoListTest(0x21000e8f00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1829 +0x7c testing.tRunner(0x21000e8f00, 0x7f9fa0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 279 [chan receive, 2 minutes]: testing.(*T).Parallel(0x210010cf00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x210022a3c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestCoverageDashC(0x210010cf00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2675 +0x80 testing.tRunner(0x210010cf00, 0x7f9d40) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 216 [chan receive, 5 minutes]: testing.(*T).Parallel(0x21000e9100) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21003520c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoListExport(0x21000e9100) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1902 +0x80 testing.tRunner(0x21000e9100, 0x7f9f88) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 263 [chan receive, 2 minutes]: testing.(*T).Parallel(0x2100284300) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21003532c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestSymlinkWarning(0x2100284300) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2379 +0x78 testing.tRunner(0x2100284300, 0x7fa368) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 249 [chan receive, 2 minutes]: testing.(*T).Parallel(0x210010c500) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x210022a0c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestCoverageDotImport(0x210010c500) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2504 +0x7c testing.tRunner(0x210010c500, 0x7f9d50) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 162 [chan receive, 5 minutes]: testing.(*T).Parallel(0x2100284100) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21002b0600) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestPackageMainTestCompilerFlags(0x2100284100) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1542 +0x78 testing.tRunner(0x2100284100, 0x7fa2c8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 213 [chan receive, 5 minutes]: testing.(*T).Parallel(0x21000e8e00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000ebe00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoListDeps(0x21000e8e00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1797 +0x7c testing.tRunner(0x21000e8e00, 0x7f9f80) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 218 [chan receive, 5 minutes]: testing.(*T).Parallel(0x21000e9300) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100352240) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGOROOTSearchFailureReporting(0x21000e9300) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1934 +0x78 testing.tRunner(0x21000e9300, 0x7f9e28) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 215 [chan receive, 5 minutes]: testing.(*T).Parallel(0x21000e9000) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100352000) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoListCompiledCgo(0x21000e9000) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1865 +0x7c testing.tRunner(0x21000e9000, 0x7f9f70) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 219 [chan receive, 5 minutes]: testing.(*T).Parallel(0x21000e9400) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100352300) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestMultipleGOPATHEntriesReportedSeparately(0x21000e9400) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1944 +0x7c testing.tRunner(0x21000e9400, 0x7fa298) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 220 [chan receive, 5 minutes]: testing.(*T).Parallel(0x21000e9500) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21003523c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestMentionGOPATHInFirstGOPATHEntry(0x21000e9500) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1957 +0x7c testing.tRunner(0x21000e9500, 0x7fa278) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 221 [chan receive, 5 minutes]: testing.(*T).Parallel(0x21000e9600) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100352480) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestMentionGOPATHNotOnSecondEntry(0x21000e9600) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1970 +0x7c testing.tRunner(0x21000e9600, 0x7fa280) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 222 [chan receive, 5 minutes]: testing.(*T).Parallel(0x21000e9700) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100352540) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestDefaultGOPATH(0x21000e9700) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2004 +0x78 testing.tRunner(0x21000e9700, 0x7f9db8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 262 [chan receive, 2 minutes]: testing.(*T).Parallel(0x2100284200) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100353200) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestCaseCollisions(0x2100284200) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2333 +0x7c testing.tRunner(0x2100284200, 0x7f9cf0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 332 [chan receive, 2 minutes]: testing.(*T).Parallel(0x21002aad00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.TestListTemplateContextFunction(0x21002aad00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:3007 +0x38 testing.tRunner(0x21002aad00, 0x7fa1e0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 296 [chan receive]: testing.(*T).Parallel(0x2100284400) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100352780) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoGenerateEnv(0x2100284400) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:3238 +0x7c testing.tRunner(0x2100284400, 0x7f9e98) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 386 [syscall]: syscall.Syscall6(0x5f, 0x1, 0x133c, 0x2100209cc0, 0x1000004, 0x0, 0x0, 0x1bdd4c, 0x2100209cb8, 0x89130) /home/carlosedp/work/riscv-go-new/src/syscall/asm_linux_riscv64.s:41 +0x14 os.(*Process).blockUntilWaitable(0x210010aa20, 0x148, 0x2100188420, 0x1) /home/carlosedp/work/riscv-go-new/src/os/wait_waitid.go:31 +0x8c os.(*Process).wait(0x210010aa20, 0x7faea8, 0x7faeb0, 0x7faea0) /home/carlosedp/work/riscv-go-new/src/os/exec_unix.go:22 +0x48 os.(*Process).Wait(...) /home/carlosedp/work/riscv-go-new/src/os/exec.go:125 os/exec.(*Cmd).Wait(0x2100188420, 0x0, 0x0) /home/carlosedp/work/riscv-go-new/src/os/exec/exec.go:474 +0x70 os/exec.(*Cmd).Run(0x2100188420, 0x25, 0x2100204a40) /home/carlosedp/work/riscv-go-new/src/os/exec/exec.go:318 +0x74 cmd/go_test.(*testgoData).doRun(0x2100352e40, 0x2100204a40, 0x4, 0x4, 0x3c, 0x21000fde00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:445 +0x304 cmd/go_test.(*testgoData).runFail(0x2100352e40, 0x2100204a40, 0x4, 0x4) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:471 +0x68 cmd/go_test.TestGoVetWithTags(0x2100284a00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:3312 +0x184 testing.tRunner(0x2100284a00, 0x7fa088) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 297 [chan receive]: testing.(*T).Parallel(0x2100284500) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100352840) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoGenerateXTestPkgName(0x2100284500) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:3253 +0x7c testing.tRunner(0x2100284500, 0x7f9ec0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 387 [IO wait]: internal/poll.runtime_pollWait(0x20022bc000, 0x72, 0xffffffffffffffff) /home/carlosedp/work/riscv-go-new/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x2100101758, 0x72, 0x201, 0x200, 0xffffffffffffffff) /home/carlosedp/work/riscv-go-new/src/internal/poll/fd_poll_runtime.go:87 +0xd8 internal/poll.(*pollDesc).waitRead(...) /home/carlosedp/work/riscv-go-new/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x2100101740, 0x210022c400, 0x200, 0x200, 0x0, 0x0, 0x0) /home/carlosedp/work/riscv-go-new/src/internal/poll/fd_unix.go:169 +0x1f8 os.(*File).read(...) /home/carlosedp/work/riscv-go-new/src/os/file_unix.go:263 os.(*File).Read(0x21000a2170, 0x210022c400, 0x200, 0x200, 0x1481a0, 0x2100284a00, 0x40000000) /home/carlosedp/work/riscv-go-new/src/os/file.go:108 +0x80 bytes.(*Buffer).ReadFrom(0x2100352ea0, 0x8bcf00, 0x21000a2170, 0x2002277028, 0x2100352ea0, 0x2100204a01) /home/carlosedp/work/riscv-go-new/src/bytes/buffer.go:207 +0xe0 io.copyBuffer(0x8bc3c0, 0x2100352ea0, 0x8bcf00, 0x21000a2170, 0x0, 0x0, 0x0, 0x35, 0x2100352e40, 0x2100204a40) /home/carlosedp/work/riscv-go-new/src/io/io.go:388 +0x310 io.Copy(...) /home/carlosedp/work/riscv-go-new/src/io/io.go:364 os/exec.(*Cmd).writerDescriptor.func1(0x8c1f4, 0x2100284a00) /home/carlosedp/work/riscv-go-new/src/os/exec/exec.go:288 +0x6c os/exec.(*Cmd).Start.func1(0x2100188420, 0x21000f8c00) /home/carlosedp/work/riscv-go-new/src/os/exec/exec.go:409 +0x2c created by os/exec.(*Cmd).Start /home/carlosedp/work/riscv-go-new/src/os/exec/exec.go:408 +0x47c goroutine 388 [IO wait]: internal/poll.runtime_pollWait(0x20022bbf30, 0x72, 0xffffffffffffffff) /home/carlosedp/work/riscv-go-new/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x2100101818, 0x72, 0x201, 0x200, 0xffffffffffffffff) /home/carlosedp/work/riscv-go-new/src/internal/poll/fd_poll_runtime.go:87 +0xd8 internal/poll.(*pollDesc).waitRead(...) /home/carlosedp/work/riscv-go-new/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x2100101800, 0x210022c600, 0x200, 0x200, 0x0, 0x0, 0x0) /home/carlosedp/work/riscv-go-new/src/internal/poll/fd_unix.go:169 +0x1f8 os.(*File).read(...) /home/carlosedp/work/riscv-go-new/src/os/file_unix.go:263 os.(*File).Read(0x21000a2188, 0x210022c600, 0x200, 0x200, 0x0, 0x0, 0x0) /home/carlosedp/work/riscv-go-new/src/os/file.go:108 +0x80 bytes.(*Buffer).ReadFrom(0x2100352ec8, 0x8bcf00, 0x21000a2188, 0x2002277028, 0x2100352ec8, 0x1) /home/carlosedp/work/riscv-go-new/src/bytes/buffer.go:207 +0xe0 io.copyBuffer(0x8bc3c0, 0x2100352ec8, 0x8bcf00, 0x21000a2188, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/carlosedp/work/riscv-go-new/src/io/io.go:388 +0x310 io.Copy(...) /home/carlosedp/work/riscv-go-new/src/io/io.go:364 os/exec.(*Cmd).writerDescriptor.func1(0x0, 0x0) /home/carlosedp/work/riscv-go-new/src/os/exec/exec.go:288 +0x6c os/exec.(*Cmd).Start.func1(0x2100188420, 0x21000f8c60) /home/carlosedp/work/riscv-go-new/src/os/exec/exec.go:409 +0x2c created by os/exec.(*Cmd).Start /home/carlosedp/work/riscv-go-new/src/os/exec/exec.go:408 +0x47c ra 0x4af18 sp 0x3fffa97ac0 gp 0x80 tp 0xcd6ae0 t0 0x0 t1 0x1 t2 0x1 s0 0xffffffffffffffff s1 0x80 a0 0xfffffffffffffffc a1 0x3fffa97b08 a2 0x80 a3 0xffffffffffffffff a4 0x0 a5 0x77 a6 0x1c a7 0x16 s2 0x0 s3 0x47 s4 0x7fb100 s5 0xffffffffffffffff s6 0x0 s7 0xffffffffffffffff s8 0x1 s9 0x1 s10 0x8a7c3f s11 0x8a7c40 t3 0x0 t4 0x21000f8980 t5 0x210042afc8 t6 0x8ca18 pc 0x8ca34 *** Test killed with quit: ran too long (10m0s). FAIL cmd/go 600.069s ok cmd/go/internal/cache 17.247s ok cmd/go/internal/dirhash 0.097s ok cmd/go/internal/generate 0.123s ok cmd/go/internal/get 3.209s ok cmd/go/internal/imports 0.284s ok cmd/go/internal/load 0.079s ok cmd/go/internal/lockedfile 0.525s ok cmd/go/internal/lockedfile/internal/filelock 0.149s ok cmd/go/internal/modconv 0.218s ok cmd/go/internal/modfetch 0.632s ok cmd/go/internal/modfetch/codehost 0.046s ok cmd/go/internal/modfile 0.344s ok cmd/go/internal/modload 0.133s ok cmd/go/internal/module 0.103s ok cmd/go/internal/mvs 0.104s ok cmd/go/internal/par 0.253s ok cmd/go/internal/search 0.095s ok cmd/go/internal/semver 0.080s ok cmd/go/internal/txtar 0.108s ok cmd/go/internal/web2 0.048s ok cmd/go/internal/work 0.190s ok cmd/gofmt 1.056s ok cmd/internal/buildid 9.537s ok cmd/internal/dwarf 0.068s ok cmd/internal/edit 0.040s ok cmd/internal/goobj 1.117s ok cmd/internal/obj 0.115s ok cmd/internal/obj/arm64 0.154s ok cmd/internal/obj/x86 40.259s ok cmd/internal/objabi 0.078s ok cmd/internal/src 0.040s ok cmd/internal/test2json 2.809s ok cmd/link 16.082s ok cmd/link/internal/ld 43.179s ok cmd/link/internal/sym 0.037s ok cmd/nm 34.700s ok cmd/objdump 21.621s ok cmd/pack 45.167s ok cmd/trace 0.501s ok cmd/vendor/github.com/google/pprof/internal/binutils 0.130s ok cmd/vendor/github.com/google/pprof/internal/driver 9.235s ok cmd/vendor/github.com/google/pprof/internal/elfexec 1.540s ok cmd/vendor/github.com/google/pprof/internal/graph 0.082s ok cmd/vendor/github.com/google/pprof/internal/measurement 0.594s ok cmd/vendor/github.com/google/pprof/internal/report 0.317s ok cmd/vendor/github.com/google/pprof/internal/symbolizer 0.109s ok cmd/vendor/github.com/google/pprof/internal/symbolz 0.102s ok cmd/vendor/github.com/google/pprof/profile 1.456s ok cmd/vendor/github.com/ianlancetaylor/demangle 0.363s ok cmd/vendor/golang.org/x/arch/arm/armasm 0.610s ok cmd/vendor/golang.org/x/arch/arm64/arm64asm 3.187s ok cmd/vendor/golang.org/x/arch/ppc64/ppc64asm 0.102s ok cmd/vendor/golang.org/x/arch/x86/x86asm 1.794s ok cmd/vendor/golang.org/x/crypto/ssh/terminal 0.085s ok cmd/vendor/golang.org/x/sys/unix 0.568s ok cmd/vet 149.632s 2019/05/21 14:21:15 Failed: exit status 1 ```

cmd/go test:

``` carlosedp@HiFiveU:~/work/riscv-go-new/src $ go test -timeout 40m cmd/go go test proxy starting go proxy_test: invalid module path encoding "example.com/invalidpath/v1": malformed module path "example.com/invalidpath/v1": invalid version go test proxy running at GOPROXY=http://127.0.0.1:44579/mod go proxy: no archive example.com/split/subpkg v1.0.0 go proxy: no archive golang.org/x/text/language 14c0d48 go proxy: no archive golang.org/x/text/language 14c0d48 go proxy: no archive golang.org/x/text/language 14c0d48 go proxy: no archive golang.org/x/text/foo 14c0d48 go proxy: no archive golang.org/x 14c0d48 go proxy: no archive golang.org 14c0d48 go proxy: no archive this.domain.is.invalid/somemodule v1.0.0 go proxy: no archive this.domain.is.invalid/somemodule v1.0.0 go proxy: no archive rsc.io/quote v1.99999999.0-not-a-real-version go proxy: no archive rsc.io v1.5.0 --- FAIL: TestScript (0.07s) --- FAIL: TestScript/cover_atomic_pkgall (295.19s) script_test.go:183: > [short] skip > go test -coverpkg=all -covermode=atomic x [stdout] FAIL x [build failed] [stderr] # x.test runtime.inHeapOrStack: nosplit stack overflow 752 assumed on entry to runtime.deferproc (nosplit) 696 after runtime.deferproc (nosplit) uses 56 560 after runtime.newdefer (nosplit) uses 136 256 after runtime.gcWriteBarrier (nosplit) uses 304 184 after runtime.wbBufFlush (nosplit) uses 72 120 after runtime.cgoCheckWriteBarrier (nosplit) uses 64 24 after runtime.cgoIsGoPointer (nosplit) uses 96 -16 after runtime.inHeapOrStack (nosplit) uses 40 runtime.spanOf: nosplit stack overflow 752 assumed on entry to runtime.newdefer (nosplit) 616 after runtime.newdefer (nosplit) uses 136 312 after runtime.gcWriteBarrier (nosplit) uses 304 240 after runtime.wbBufFlush (nosplit) uses 72 176 after runtime.cgoCheckWriteBarrier (nosplit) uses 64 80 after runtime.cgoIsGoPointer (nosplit) uses 96 40 after runtime.inHeapOrStack (nosplit) uses 40 -24 after runtime.spanOf (nosplit) uses 64 runtime.spanOf: nosplit stack overflow 752 assumed on entry to runtime.freedefer (nosplit) 616 after runtime.freedefer (nosplit) uses 136 312 after runtime.gcWriteBarrier (nosplit) uses 304 240 after runtime.wbBufFlush (nosplit) uses 72 176 after runtime.cgoCheckWriteBarrier (nosplit) uses 64 80 after runtime.cgoIsGoPointer (nosplit) uses 96 40 after runtime.inHeapOrStack (nosplit) uses 40 -24 after runtime.spanOf (nosplit) uses 64 runtime.inHeapOrStack: nosplit stack overflow 752 assumed on entry to runtime.deferreturn (nosplit) 688 after runtime.deferreturn (nosplit) uses 64 552 after runtime.freedefer (nosplit) uses 136 248 after runtime.gcWriteBarrier (nosplit) uses 304 176 after runtime.wbBufFlush (nosplit) uses 72 112 after runtime.cgoCheckWriteBarrier (nosplit) uses 64 16 after runtime.cgoIsGoPointer (nosplit) uses 96 -24 after runtime.inHeapOrStack (nosplit) uses 40 runtime.spanOf: nosplit stack overflow 752 assumed on entry to runtime.acquireSudog (nosplit) 616 after runtime.acquireSudog (nosplit) uses 136 312 after runtime.gcWriteBarrier (nosplit) uses 304 240 after runtime.wbBufFlush (nosplit) uses 72 176 after runtime.cgoCheckWriteBarrier (nosplit) uses 64 80 after runtime.cgoIsGoPointer (nosplit) uses 96 40 after runtime.inHeapOrStack (nosplit) uses 40 -24 after runtime.spanOf (nosplit) uses 64 runtime.spanOf: nosplit stack overflow 752 assumed on entry to runtime.releaseSudog (nosplit) 624 after runtime.releaseSudog (nosplit) uses 128 320 after runtime.gcWriteBarrier (nosplit) uses 304 248 after runtime.wbBufFlush (nosplit) uses 72 184 after runtime.cgoCheckWriteBarrier (nosplit) uses 64 88 after runtime.cgoIsGoPointer (nosplit) uses 96 48 after runtime.inHeapOrStack (nosplit) uses 40 -16 after runtime.spanOf (nosplit) uses 64 runtime.spanOf: nosplit stack overflow 752 guaranteed after split check in runtime.chansend 760 after runtime.chansend uses -8 624 after runtime.acquireSudog (nosplit) uses 136 320 after runtime.gcWriteBarrier (nosplit) uses 304 248 after runtime.wbBufFlush (nosplit) uses 72 184 after runtime.cgoCheckWriteBarrier (nosplit) uses 64 88 after runtime.cgoIsGoPointer (nosplit) uses 96 48 after runtime.inHeapOrStack (nosplit) uses 40 -16 after runtime.spanOf (nosplit) uses 64 runtime.spanOf: nosplit stack overflow 752 guaranteed after split check in runtime.chanrecv 760 after runtime.chanrecv uses -8 624 after runtime.acquireSudog (nosplit) uses 136 320 after runtime.gcWriteBarrier (nosplit) uses 304 248 after runtime.wbBufFlush (nosplit) uses 72 184 after runtime.cgoCheckWriteBarrier (nosplit) uses 64 88 after runtime.cgoIsGoPointer (nosplit) uses 96 48 after runtime.inHeapOrStack (nosplit) uses 40 -16 after runtime.spanOf (nosplit) uses 64 runtime.spanOf: nosplit stack overflow 752 guaranteed after split check in runtime.Goexit 760 after runtime.Goexit uses -8 624 after runtime.freedefer (nosplit) uses 136 320 after runtime.gcWriteBarrier (nosplit) uses 304 248 after runtime.wbBufFlush (nosplit) uses 72 184 after runtime.cgoCheckWriteBarrier (nosplit) uses 64 88 after runtime.cgoIsGoPointer (nosplit) uses 96 48 after runtime.inHeapOrStack (nosplit) uses 40 -16 after runtime.spanOf (nosplit) uses 64 runtime.inHeapOrStack: nosplit stack overflow 752 guaranteed after split check in runtime.preprintpanics 760 after runtime.preprintpanics uses -8 704 after runtime.deferproc (nosplit) uses 56 568 after runtime.newdefer (nosplit) uses 136 264 after runtime.gcWriteBarrier (nosplit) uses 304 192 after runtime.wbBufFlush (nosplit) uses 72 128 after runtime.cgoCheckWriteBarrier (nosplit) uses 64 32 after runtime.cgoIsGoPointer (nosplit) uses 96 -8 after runtime.inHeapOrStack (nosplit) uses 40 runtime.spanOf: nosplit stack overflow 752 guaranteed after split check in runtime.gopanic 760 after runtime.gopanic uses -8 624 after runtime.freedefer (nosplit) uses 136 320 after runtime.gcWriteBarrier (nosplit) uses 304 248 after runtime.wbBufFlush (nosplit) uses 72 184 after runtime.cgoCheckWriteBarrier (nosplit) uses 64 88 after runtime.cgoIsGoPointer (nosplit) uses 96 48 after runtime.inHeapOrStack (nosplit) uses 40 -16 after runtime.spanOf (nosplit) uses 64 runtime.inHeapOrStack: nosplit stack overflow 752 guaranteed after split check in runtime.main 760 after runtime.main uses -8 704 after runtime.deferproc (nosplit) uses 56 568 after runtime.newdefer (nosplit) uses 136 264 after runtime.gcWriteBarrier (nosplit) uses 304 192 after runtime.wbBufFlush (nosplit) uses 72 128 after runtime.cgoCheckWriteBarrier (nosplit) uses 64 32 after runtime.cgoIsGoPointer (nosplit) uses 96 -8 after runtime.inHeapOrStack (nosplit) uses 40 runtime.spanOf: nosplit stack overflow 752 guaranteed after split check in runtime.semacquire1 760 after runtime.semacquire1 uses -8 624 after runtime.acquireSudog (nosplit) uses 136 320 after runtime.gcWriteBarrier (nosplit) uses 304 248 after runtime.wbBufFlush (nosplit) uses 72 184 after runtime.cgoCheckWriteBarrier (nosplit) uses 64 88 after runtime.cgoIsGoPointer (nosplit) uses 96 48 after runtime.inHeapOrStack (nosplit) uses 40 -16 after runtime.spanOf (nosplit) uses 64 runtime.inHeapOrStack: nosplit stack overflow 752 guaranteed after split check in sync.(*Once).Do 760 after sync.(*Once).Do uses -8 704 after runtime.deferproc (nosplit) uses 56 568 after runtime.newdefer (nosplit) uses 136 264 after runtime.gcWriteBarrier (nosplit) uses 304 192 after runtime.wbBufFlush (nosplit) uses 72 128 after runtime.cgoCheckWriteBarrier (nosplit) uses 64 32 after runtime.cgoIsGoPointer (nosplit) uses 96 -8 after runtime.inHeapOrStack (nosplit) uses 40 runtime.inHeapOrStack: nosplit stack overflow 752 guaranteed after split check in sync.(*Pool).pinSlow 760 after sync.(*Pool).pinSlow uses -8 704 after runtime.deferproc (nosplit) uses 56 568 after runtime.newdefer (nosplit) uses 136 264 after runtime.gcWriteBarrier (nosplit) uses 304 192 after runtime.wbBufFlush (nosplit) uses 72 128 after runtime.cgoCheckWriteBarrier (nosplit) uses 64 32 after runtime.cgoIsGoPointer (nosplit) uses 96 -8 after runtime.inHeapOrStack (nosplit) uses 40 runtime.inHeapOrStack: nosplit stack overflow 752 guaranteed after split check in syscall.Getenv 760 after syscall.Getenv uses -8 704 after runtime.deferproc (nosplit) uses 56 568 after runtime.newdefer (nosplit) uses 136 264 after runtime.gcWriteBarrier (nosplit) uses 304 192 after runtime.wbBufFlush (nosplit) uses 72 128 after runtime.cgoCheckWriteBarrier (nosplit) uses 64 32 after runtime.cgoIsGoPointer (nosplit) uses 96 -8 after runtime.inHeapOrStack (nosplit) uses 40 runtime.inHeapOrStack: nosplit stack overflow 752 guaranteed after split check in time.loadTzinfoFromZip 760 after time.loadTzinfoFromZip uses -8 704 after runtime.deferproc (nosplit) uses 56 568 after runtime.newdefer (nosplit) uses 136 264 after runtime.gcWriteBarrier (nosplit) uses 304 192 after runtime.wbBufFlush (nosplit) uses 72 128 after runtime.cgoCheckWriteBarrier (nosplit) uses 64 32 after runtime.cgoIsGoPointer (nosplit) uses 96 -8 after runtime.inHeapOrStack (nosplit) uses 40 runtime.inHeapOrStack: nosplit stack overflow 752 guaranteed after split check in time.readFile 760 after time.readFile uses -8 704 after runtime.deferproc (nosplit) uses 56 568 after runtime.newdefer (nosplit) uses 136 264 after runtime.gcWriteBarrier (nosplit) uses 304 192 after runtime.wbBufFlush (nosplit) uses 72 128 after runtime.cgoCheckWriteBarrier (nosplit) uses 64 32 after runtime.cgoIsGoPointer (nosplit) uses 96 -8 after runtime.inHeapOrStack (nosplit) uses 40 runtime.inHeapOrStack: nosplit stack overflow 752 guaranteed after split check in internal/poll.(*FD).Read 760 after internal/poll.(*FD).Read uses -8 704 after runtime.deferproc (nosplit) uses 56 568 after runtime.newdefer (nosplit) uses 136 264 after runtime.gcWriteBarrier (nosplit) uses 304 192 after runtime.wbBufFlush (nosplit) uses 72 128 after runtime.cgoCheckWriteBarrier (nosplit) uses 64 32 after runtime.cgoIsGoPointer (nosplit) uses 96 -8 after runtime.inHeapOrStack (nosplit) uses 40 runtime.inHeapOrStack: nosplit stack overflow 752 guaranteed after split check in internal/poll.(*FD).Write 760 after internal/poll.(*FD).Write uses -8 704 after runtime.deferproc (nosplit) uses 56 568 after runtime.newdefer (nosplit) uses 136 264 after runtime.gcWriteBarrier (nosplit) uses 304 192 after runtime.wbBufFlush (nosplit) uses 72 128 after runtime.cgoCheckWriteBarrier (nosplit) uses 64 32 after runtime.cgoIsGoPointer (nosplit) uses 96 -8 after runtime.inHeapOrStack (nosplit) uses 40 runtime.inHeapOrStack: nosplit stack overflow /home/carlosedp/work/riscv-go-new/pkg/tool/linux_riscv64/link: too many errors [exit status 2] FAIL: testdata/script/cover_atomic_pkgall.txt:3: unexpected command failure --- FAIL: TestScript/mod_get_pseudo (48.61s) script_test.go:183: # Testing git->module converter's generation of +incompatible tags; turn off proxy. (0.000s) # We can resolve the @master branch without unshallowing the local repository # (even with older gits), so try that before we do anything else. # (This replicates https://golang.org/issue/26713 with git 2.7.4.) (14.732s) # get should include incompatible tags in "latest" calculation. (4.096s) # v2.0.1-0.pseudo+incompatible (1.713s) # v2.0.0+incompatible by tag+incompatible (1.675s) # v2.0.0+incompatible by tag (1.015s) # v2.0.0+incompatible by hash (back on master) (0.495s) # v1.2.1-0.pseudo (3.084s) # v1.2.0 (1.951s) # v1.1.0-pre.0.pseudo (2.695s) # v1.1.0-pre (no longer on master) (2.566s) # v1.0.1-0.pseudo (2.214s) # v1.0.0 (12.280s) > go get -m ...test@7fff7f3 [stderr] go: finding github.com/rsc/legacytest 7fff7f3 [signal: interrupt] FAIL: testdata/script/mod_get_pseudo.txt:67: test timed out while running command panic: test timed out after 40m0s goroutine 4204 [running]: testing.(*M).startAlarm.func1() /home/carlosedp/work/riscv-go-new/src/testing/testing.go:1334 +0x104 created by time.goFunc /home/carlosedp/work/riscv-go-new/src/time/sleep.go:169 +0x54 goroutine 1 [chan receive]: testing.(*T).Run(0x2100514600, 0x7b100d, 0xf, 0x7fa480, 0x148801) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:917 +0x3c0 testing.runTests.func1(0x21000be300) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:1157 +0x88 testing.tRunner(0x21000be300, 0x210010fc28) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 testing.runTests(0x21001970c0, 0xcd1620, 0x10d, 0x10d, 0x1f) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:1155 +0x2e8 testing.(*M).Run(0x21000a2f00, 0x0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:1072 +0x194 cmd/go_test.TestMain(0x21000a2f00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:256 +0x3b0 main.main() _testmain.go:578 +0x190 goroutine 5 [syscall, 39 minutes]: os/signal.signal_recv(0x0) /home/carlosedp/work/riscv-go-new/src/runtime/sigqueue.go:139 +0x234 os/signal.loop() /home/carlosedp/work/riscv-go-new/src/os/signal/signal_unix.go:23 +0x2c created by os/signal.init.0 /home/carlosedp/work/riscv-go-new/src/os/signal/signal_unix.go:29 +0x54 goroutine 63 [chan receive, 35 minutes]: testing.(*T).Parallel(0x2100514200) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21004b49c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.testMove(0x2100514200, 0x7a8c06, 0x3, 0x7ad588, 0xa, 0x7a8c60, 0x3, 0x7b757d, 0x16) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1135 +0x9c cmd/go_test.TestMoveGit(0x2100514200) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1187 +0x80 testing.tRunner(0x2100514200, 0x7fa288) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 212 [chan receive, 33 minutes]: testing.(*T).Parallel(0x2100514000) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x210022a0c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoTestDashCDashOControlsBinaryLocation(0x2100514000) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2186 +0x90 testing.tRunner(0x2100514000, 0x7f9fc8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 107 [chan receive, 35 minutes]: testing.(*T).Parallel(0x21000beb00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100440300) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestIssue11457(0x21000beb00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1294 +0xcc testing.tRunner(0x21000beb00, 0x7fa150) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 221 [chan receive, 32 minutes]: testing.(*T).Parallel(0x21000bee00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21002500c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestInstallWithTags(0x21000bee00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2306 +0x8c testing.tRunner(0x21000bee00, 0x7fa108) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 274 [chan receive, 33 minutes]: testing.(*T).Parallel(0x210047e300) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21004b4780) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestLdflagsArgumentsWithSpacesIssue3941(0x210047e300) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2113 +0x90 testing.tRunner(0x210047e300, 0x7fa1b8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 231 [chan receive, 33 minutes]: testing.(*T).Parallel(0x21000be500) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100250300) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoListHasAConsistentOrder(0x21000be500) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1747 +0x8c testing.tRunner(0x21000be500, 0x7f9f90) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 105 [chan receive, 35 minutes]: testing.(*T).Parallel(0x21000be800) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000a7680) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestIssue10952(0x21000be800) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1258 +0xcc testing.tRunner(0x21000be800, 0x7fa140) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 565 [chan receive, 24 minutes]: testing.(*T).Parallel(0x2100514a00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000c15c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestBinaryOnlyPackages(0x2100514a00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:4169 +0x90 testing.tRunner(0x2100514a00, 0x7f9c98) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 714 [chan receive, 20 minutes]: testing.(*T).Parallel(0x2100515700) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100440780) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestCacheCoverage(0x2100515700) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:5245 +0xf4 testing.tRunner(0x2100515700, 0x7f9cd8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 104 [chan receive, 35 minutes]: testing.(*T).Parallel(0x21000be700) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000a7080) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestImportCycle(0x21000be700) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1233 +0x78 testing.tRunner(0x21000be700, 0x7fa0b8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 174 [chan receive, 33 minutes]: testing.(*T).Parallel(0x210047e100) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x210022bd40) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestInstalls(0x210047e100) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1650 +0x90 testing.tRunner(0x210047e100, 0x7fa118) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 138 [chan receive, 35 minutes]: testing.(*T).Parallel(0x2100514700) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21004b5740) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestPackageMainTestImportsArchiveNotBinary(0x2100514700) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1526 +0x90 testing.tRunner(0x2100514700, 0x7fa2d0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 106 [chan receive, 35 minutes]: testing.(*T).Parallel(0x21000be900) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000a7c80) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestIssue16471(0x21000be900) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1276 +0xcc testing.tRunner(0x21000be900, 0x7fa168) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 64 [chan receive, 35 minutes]: testing.(*T).Parallel(0x2100514300) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21004b4a80) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.testMove(0x2100514300, 0x7a8805, 0x2, 0x7c637c, 0x26, 0x7b1166, 0xf, 0x7cc7fe, 0x2f) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1135 +0x9c cmd/go_test.TestMoveHG(0x2100514300) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1191 +0x84 testing.tRunner(0x2100514300, 0x7fa290) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 108 [chan receive, 35 minutes]: testing.(*T).Parallel(0x21000bec00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100440900) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGetGitDefaultBranch(0x21000bec00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1321 +0xcc testing.tRunner(0x21000bec00, 0x7f9e38) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 109 [chan receive, 35 minutes]: testing.(*T).Parallel(0x21000bed00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100440f00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestAccidentalGitCheckout(0x21000bed00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1349 +0xcc testing.tRunner(0x21000bed00, 0x7f9c40) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 179 [chan receive, 35 minutes]: testing.(*T).Parallel(0x2100100800) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000c0e40) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestNonCanonicalImportPaths(0x2100100800) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1410 +0x78 testing.tRunner(0x2100100800, 0x7fa2b8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 139 [chan receive, 35 minutes]: testing.(*T).Parallel(0x2100514800) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21004b5800) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestPackageMainTestCompilerFlags(0x2100514800) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1542 +0x78 testing.tRunner(0x2100514800, 0x7fa2c8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 573 [chan receive, 24 minutes]: testing.(*T).Parallel(0x2100515000) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000c1a40) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestMatchesNoTestsDoesNotOverrideBuildFailure(0x2100515000) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:4366 +0x78 testing.tRunner(0x2100515000, 0x7fa238) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 335 [chan receive, 32 minutes]: testing.(*T).Parallel(0x210047e500) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21002512c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestCoverageErrorLine(0x210047e500) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2616 +0x94 testing.tRunner(0x210047e500, 0x7f9d58) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 187 [chan receive, 32 minutes]: testing.(*T).Parallel(0x2100100000) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21004b40c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestCoverageDotImport(0x2100100000) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2504 +0x7c testing.tRunner(0x2100100000, 0x7f9d50) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 230 [chan receive, 33 minutes]: testing.(*T).Parallel(0x21000be400) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100250240) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoTestWithPackageListedMultipleTimes(0x21000be400) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1736 +0x8c testing.tRunner(0x21000be400, 0x7fa050) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 566 [chan receive, 24 minutes]: testing.(*T).Parallel(0x2100514b00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000c1680) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestAlwaysLinkSysoFiles(0x2100514b00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:4253 +0x78 testing.tRunner(0x2100514b00, 0x7f9c48) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 321 [chan receive, 32 minutes]: testing.(*T).Parallel(0x21000bfe00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21002506c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestIssue11307(0x21000bfe00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2420 +0x98 testing.tRunner(0x21000bfe00, 0x7fa148) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 224 [chan receive, 32 minutes]: testing.(*T).Parallel(0x21000bfd00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100250600) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoGetDashTIssue8181(0x21000bfd00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2406 +0x98 testing.tRunner(0x21000bfd00, 0x7f9ed0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 468 [chan receive, 28 minutes]: testing.(*T).Parallel(0x2100100700) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000a6300) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoGenerateEnv(0x2100100700) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:3238 +0x7c testing.tRunner(0x2100100700, 0x7f9e98) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 790 [chan receive, 18 minutes]: testing.(*T).Parallel(0x21002ae300) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21004400c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestImportPath(0x21002ae300) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:5833 +0x8c testing.tRunner(0x21002ae300, 0x7fa0d0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 718 [chan receive, 20 minutes]: testing.(*T).Parallel(0x2100515b00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100440b40) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestIssue22596(0x2100515b00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:5331 +0xf8 testing.tRunner(0x2100515b00, 0x7fa188) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 232 [chan receive, 33 minutes]: testing.(*T).Parallel(0x21000be600) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21002503c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoListStdDoesNotIncludeCommands(0x21000be600) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1760 +0x8c testing.tRunner(0x21000be600, 0x7f9f98) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 222 [chan receive, 32 minutes]: testing.(*T).Parallel(0x21000bfa00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100250180) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestCaseCollisions(0x21000bfa00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2333 +0x7c testing.tRunner(0x21000bfa00, 0x7f9cf0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 223 [chan receive, 32 minutes]: testing.(*T).Parallel(0x21000bfb00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100250540) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestSymlinkWarning(0x21000bfb00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2379 +0x78 testing.tRunner(0x21000bfb00, 0x7fa368) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 233 [chan receive, 33 minutes]: testing.(*T).Parallel(0x21000bea00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100250480) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoListCmdOnlyShowsCommands(0x21000bea00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1770 +0x94 testing.tRunner(0x21000bea00, 0x7f9f68) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 237 [chan receive, 33 minutes]: testing.(*T).Parallel(0x21000bef00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100250780) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoListDeps(0x21000bef00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1797 +0x7c testing.tRunner(0x21000bef00, 0x7f9f80) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 238 [chan receive, 33 minutes]: testing.(*T).Parallel(0x21000bf100) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100250840) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoListTest(0x21000bf100) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1829 +0x7c testing.tRunner(0x21000bf100, 0x7f9fa0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 239 [chan receive, 33 minutes]: testing.(*T).Parallel(0x21000bf200) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100250900) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoListCompiledCgo(0x21000bf200) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1865 +0x7c testing.tRunner(0x21000bf200, 0x7f9f70) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 240 [chan receive, 33 minutes]: testing.(*T).Parallel(0x21000bf300) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21002509c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoListExport(0x21000bf300) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1902 +0x80 testing.tRunner(0x21000bf300, 0x7f9f88) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 257 [chan receive, 33 minutes]: testing.(*T).Parallel(0x21000bf400) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100250a80) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestUnsuccessfulGoInstallShouldMentionMissingPackage(0x21000bf400) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1924 +0x78 testing.tRunner(0x21000bf400, 0x7fa3e8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 258 [chan receive, 33 minutes]: testing.(*T).Parallel(0x21000bf500) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100250b40) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGOROOTSearchFailureReporting(0x21000bf500) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1934 +0x78 testing.tRunner(0x21000bf500, 0x7f9e28) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 259 [chan receive, 33 minutes]: testing.(*T).Parallel(0x21000bf600) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100250c00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestMultipleGOPATHEntriesReportedSeparately(0x21000bf600) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1944 +0x7c testing.tRunner(0x21000bf600, 0x7fa298) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 260 [chan receive, 33 minutes]: testing.(*T).Parallel(0x21000bf700) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100250cc0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestMentionGOPATHInFirstGOPATHEntry(0x21000bf700) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1957 +0x7c testing.tRunner(0x21000bf700, 0x7fa278) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 261 [chan receive, 33 minutes]: testing.(*T).Parallel(0x21000bf800) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100250d80) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestMentionGOPATHNotOnSecondEntry(0x21000bf800) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:1970 +0x7c testing.tRunner(0x21000bf800, 0x7fa280) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 262 [chan receive, 33 minutes]: testing.(*T).Parallel(0x21000bf900) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100250e40) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestDefaultGOPATH(0x21000bf900) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2004 +0x78 testing.tRunner(0x21000bf900, 0x7f9db8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 273 [chan receive, 33 minutes]: testing.(*T).Parallel(0x210047e200) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21004b46c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoGetIntoGOROOT(0x210047e200) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2064 +0x98 testing.tRunner(0x210047e200, 0x7f9f10) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 337 [chan receive, 32 minutes]: testing.(*T).Parallel(0x2100100600) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21004b4480) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestCoverageDepLoop(0x2100100600) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2576 +0x8c testing.tRunner(0x2100100600, 0x7f9d48) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 214 [chan receive, 33 minutes]: testing.(*T).Parallel(0x2100514400) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x210022a240) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoTestDashIDashOWritesBinary(0x2100514400) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2208 +0x90 testing.tRunner(0x2100514400, 0x7f9fd0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 567 [chan receive, 24 minutes]: testing.(*T).Parallel(0x2100514c00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000c1740) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGenerateUsesBuildContext(0x2100514c00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:4279 +0x78 testing.tRunner(0x2100514c00, 0x7f9e30) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 213 [chan receive, 33 minutes]: testing.(*T).Parallel(0x2100514100) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x210022a180) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoTestDashOWritesBinary(0x2100514100) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2197 +0x90 testing.tRunner(0x2100514100, 0x7f9fd8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 649 [chan receive, 22 minutes]: testing.(*T).Parallel(0x2100100f00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21004b5a40) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestLinkXImportPathEscape(0x2100100f00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:4508 +0x80 testing.tRunner(0x2100100f00, 0x7fa1d0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 334 [chan receive, 32 minutes]: testing.(*T).Parallel(0x210047e400) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100251200) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestCoveragePattern(0x210047e400) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2600 +0x90 testing.tRunner(0x210047e400, 0x7f9d70) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 192 [chan receive, 32 minutes]: testing.(*T).Parallel(0x2100100500) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21004b43c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestCoverageSyncAtomicImport(0x2100100500) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2567 +0x90 testing.tRunner(0x2100100500, 0x7f9d80) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 336 [chan receive, 32 minutes]: testing.(*T).Parallel(0x210047e600) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100251380) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestTestBuildFailureOutput(0x210047e600) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2647 +0x8c testing.tRunner(0x210047e600, 0x7fa390) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 422 [chan receive, 28 minutes]: testing.(*T).Parallel(0x210047e000) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x210022a3c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoVetWithOnlyTestFiles(0x210047e000) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:3337 +0x78 testing.tRunner(0x210047e000, 0x7fa080) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 353 [chan receive, 32 minutes]: testing.(*T).Parallel(0x210047e700) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100251440) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestCoverageFunc(0x210047e700) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2660 +0x94 testing.tRunner(0x210047e700, 0x7f9d60) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 354 [chan receive, 32 minutes]: testing.(*T).Parallel(0x210047e800) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100251500) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestCoverageDashC(0x210047e800) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:2675 +0x80 testing.tRunner(0x210047e800, 0x7f9d40) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 385 [chan receive, 31 minutes]: testing.(*T).Parallel(0x21000bfc00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.TestListTemplateContextFunction(0x21000bfc00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:3007 +0x38 testing.tRunner(0x21000bfc00, 0x7fa1e0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 585 [chan receive, 24 minutes]: testing.(*T).Parallel(0x2100100d00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x210022bbc0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestIssue17119(0x2100100d00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:4149 +0x98 testing.tRunner(0x2100100d00, 0x7fa170) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 716 [chan receive, 20 minutes]: testing.(*T).Parallel(0x2100515900) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21004409c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestIssue22588(0x2100515900) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:5284 +0x78 testing.tRunner(0x2100515900, 0x7fa180) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 717 [chan receive, 20 minutes]: testing.(*T).Parallel(0x2100515a00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100440a80) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestIssue22531(0x2100515a00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:5302 +0xf8 testing.tRunner(0x2100515a00, 0x7fa178) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 719 [chan receive, 20 minutes]: testing.(*T).Parallel(0x2100515c00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100440c00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestTestCache(0x2100515c00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:5361 +0x100 testing.tRunner(0x2100515c00, 0x7fa3a0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 313 [chan receive, 31 minutes]: testing.(*T).Parallel(0x2100514500) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000a6240) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestBuildDashIInstallsDependencies(0x2100514500) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:3066 +0x8c testing.tRunner(0x2100514500, 0x7f9ca0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 430 [chan receive, 27 minutes]: testing.(*T).Parallel(0x21000bff00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000a60c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestImportMain(0x21000bff00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:3391 +0x64 testing.tRunner(0x21000bff00, 0x7fa0c8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 431 [chan receive, 27 minutes]: testing.(*T).Parallel(0x2100100300) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000a6180) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestImportLocal(0x2100100300) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:3481 +0x64 testing.tRunner(0x2100100300, 0x7fa0c0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 469 [chan receive, 28 minutes]: testing.(*T).Parallel(0x2100100900) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000a63c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoGenerateXTestPkgName(0x2100100900) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:3253 +0x7c testing.tRunner(0x2100100900, 0x7f9ec0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 479 [chan receive, 26 minutes]: testing.(*T).Parallel(0x210047e900) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000c0540) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoInstallPkgdir(0x210047e900) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:3754 +0x68 testing.tRunner(0x210047e900, 0x7f9f58) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 712 [chan receive, 20 minutes]: testing.(*T).Parallel(0x2100515500) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100440540) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestQEMUUserMode(0x2100515500) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:5188 +0xf4 testing.tRunner(0x2100515500, 0x7fa2f8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 569 [chan receive, 24 minutes]: testing.(*T).Parallel(0x2100514e00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000c18c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoEnv(0x2100514e00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:4326 +0x4c testing.tRunner(0x2100514e00, 0x7f9e88) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 580 [chan receive, 24 minutes]: testing.(*T).Parallel(0x2100100a00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x210022b980) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestParallelTest(0x2100100a00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:4082 +0x60 testing.tRunner(0x2100100a00, 0x7fa2e8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 568 [chan receive, 24 minutes]: testing.(*T).Parallel(0x2100514d00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000c1800) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoGetUpdateWithWildcard(0x2100514d00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:4301 +0x9c testing.tRunner(0x2100514d00, 0x7f9f48) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 713 [chan receive, 20 minutes]: testing.(*T).Parallel(0x2100515600) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21004406c0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestCacheListStale(0x2100515600) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:5221 +0xf4 testing.tRunner(0x2100515600, 0x7f9ce0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 650 [chan receive, 22 minutes]: testing.(*T).Parallel(0x2100101000) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21004b5b00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestLdBindNow(0x2100101000) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:4527 +0x78 testing.tRunner(0x2100101000, 0x7fa1b0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 651 [chan receive, 22 minutes]: testing.(*T).Parallel(0x2100101100) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21004b5bc0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestConcurrentAsm(0x2100101100) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:4538 +0x7c testing.tRunner(0x2100101100, 0x7f9d38) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 675 [chan receive, 22 minutes]: testing.(*T).Parallel(0x210047f200) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100315b00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestNeedVersion(0x210047f200) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:4786 +0x7c testing.tRunner(0x210047f200, 0x7fa2a0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 780 [chan receive, 18 minutes]: testing.(*T).Parallel(0x2100515300) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100251c80) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestDontReportRemoveOfEmptyDir(0x2100515300) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:6103 +0x78 testing.tRunner(0x2100515300, 0x7f9dd0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 715 [chan receive, 20 minutes]: testing.(*T).Parallel(0x2100515800) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100440840) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestCacheVet(0x2100515800) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:5258 +0x7c testing.tRunner(0x2100515800, 0x7f9ce8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 720 [chan receive, 20 minutes]: testing.(*T).Parallel(0x2100515d00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100440cc0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestTestCacheInputs(0x2100515d00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:5477 +0x100 testing.tRunner(0x2100515d00, 0x7fa398) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 721 [chan receive, 20 minutes]: testing.(*T).Parallel(0x2100515e00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100440d80) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestTestVet(0x2100515e00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:5589 +0x90 testing.tRunner(0x2100515e00, 0x7fa3d8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 722 [chan receive, 20 minutes]: testing.(*T).Parallel(0x2100515f00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100440e40) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestTestSkipVetAfterFailedBuild(0x2100515f00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:5635 +0x78 testing.tRunner(0x2100515f00, 0x7fa3c8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 723 [chan receive, 20 minutes]: testing.(*T).Parallel(0x21002ae000) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100441080) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestTestVetRebuild(0x21002ae000) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:5650 +0x78 testing.tRunner(0x21002ae000, 0x7fa3d0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 724 [chan receive, 20 minutes]: testing.(*T).Parallel(0x21002ae100) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x2100441140) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestInstallDeps(0x21002ae100) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:5690 +0x90 testing.tRunner(0x21002ae100, 0x7fa0d8) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 672 [chan receive, 20 minutes]: testing.(*T).Parallel(0x2100100c00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21004b4300) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoTestJSON(0x2100100c00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:5748 +0x94 testing.tRunner(0x2100100c00, 0x7fa000) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 4202 [IO wait]: internal/poll.runtime_pollWait(0x200227bf98, 0x72, 0xffffffffffffffff) /home/carlosedp/work/riscv-go-new/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x21001cbbd8, 0x72, 0x601, 0x600, 0xffffffffffffffff) /home/carlosedp/work/riscv-go-new/src/internal/poll/fd_poll_runtime.go:87 +0xd8 internal/poll.(*pollDesc).waitRead(...) /home/carlosedp/work/riscv-go-new/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x21001cbbc0, 0x2100508000, 0x600, 0x600, 0x0, 0x0, 0x0) /home/carlosedp/work/riscv-go-new/src/internal/poll/fd_unix.go:169 +0x1f8 os.(*File).read(...) /home/carlosedp/work/riscv-go-new/src/os/file_unix.go:263 os.(*File).Read(0x210000c200, 0x2100508000, 0x600, 0x600, 0x1e104, 0x1, 0x0) /home/carlosedp/work/riscv-go-new/src/os/file.go:108 +0x80 bytes.(*Buffer).ReadFrom(0x21004401e0, 0x8bcf00, 0x210000c200, 0x20022b3028, 0x21004401e0, 0x2000002601) /home/carlosedp/work/riscv-go-new/src/bytes/buffer.go:207 +0xe0 io.copyBuffer(0x8bc3c0, 0x21004401e0, 0x8bcf00, 0x210000c200, 0x0, 0x0, 0x0, 0x395bcf6d, 0x395bcf6d009d7600, 0xf) /home/carlosedp/work/riscv-go-new/src/io/io.go:388 +0x310 io.Copy(...) /home/carlosedp/work/riscv-go-new/src/io/io.go:364 os/exec.(*Cmd).writerDescriptor.func1(0x8c1f4, 0x2100515100) /home/carlosedp/work/riscv-go-new/src/os/exec/exec.go:288 +0x6c os/exec.(*Cmd).Start.func1(0x210041c840, 0x2100196a20) /home/carlosedp/work/riscv-go-new/src/os/exec/exec.go:409 +0x2c created by os/exec.(*Cmd).Start /home/carlosedp/work/riscv-go-new/src/os/exec/exec.go:408 +0x47c goroutine 4167 [syscall]: syscall.Syscall6(0x5f, 0x1, 0x51f4, 0x210023bc48, 0x1000004, 0x0, 0x0, 0x1bdd4c, 0x210023bc40, 0x89130) /home/carlosedp/work/riscv-go-new/src/syscall/asm_linux_riscv64.s:41 +0x14 os.(*Process).blockUntilWaitable(0x2100486870, 0x148, 0x210041c840, 0x1) /home/carlosedp/work/riscv-go-new/src/os/wait_waitid.go:31 +0x8c os.(*Process).wait(0x2100486870, 0x7faea8, 0x7faeb0, 0x7faea0) /home/carlosedp/work/riscv-go-new/src/os/exec_unix.go:22 +0x48 os.(*Process).Wait(...) /home/carlosedp/work/riscv-go-new/src/os/exec.go:125 os/exec.(*Cmd).Wait(0x210041c840, 0x0, 0x0) /home/carlosedp/work/riscv-go-new/src/os/exec/exec.go:474 +0x70 os/exec.(*Cmd).Run(0x210041c840, 0x25, 0x2100196960) /home/carlosedp/work/riscv-go-new/src/os/exec/exec.go:318 +0x74 cmd/go_test.(*testgoData).doRun(0x2100440180, 0x2100196960, 0x2, 0x2, 0x0, 0x21000c7500) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:445 +0x304 cmd/go_test.(*testgoData).run(0x2100440180, 0x2100196960, 0x2, 0x2) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:461 +0x6c cmd/go_test.TestVendorTest3(0x2100514600) /home/carlosedp/work/riscv-go-new/src/cmd/go/vendor_test.go:292 +0x48c testing.tRunner(0x2100514600, 0x7fa480) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 818 [chan receive, 18 minutes]: testing.(*T).Parallel(0x2100100b00) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000c0b40) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoTestWithoutTests(0x2100100b00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:6202 +0x78 testing.tRunner(0x2100100b00, 0x7fa058) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 4203 [IO wait]: internal/poll.runtime_pollWait(0x200227b368, 0x72, 0xffffffffffffffff) /home/carlosedp/work/riscv-go-new/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x21001cbc98, 0x72, 0x201, 0x200, 0xffffffffffffffff) /home/carlosedp/work/riscv-go-new/src/internal/poll/fd_poll_runtime.go:87 +0xd8 internal/poll.(*pollDesc).waitRead(...) /home/carlosedp/work/riscv-go-new/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x21001cbc80, 0x21004dc200, 0x200, 0x200, 0x0, 0x0, 0x0) /home/carlosedp/work/riscv-go-new/src/internal/poll/fd_unix.go:169 +0x1f8 os.(*File).read(...) /home/carlosedp/work/riscv-go-new/src/os/file_unix.go:263 os.(*File).Read(0x210000c218, 0x21004dc200, 0x200, 0x200, 0x1e104, 0x1, 0x0) /home/carlosedp/work/riscv-go-new/src/os/file.go:108 +0x80 bytes.(*Buffer).ReadFrom(0x2100440208, 0x8bcf00, 0x210000c218, 0x20022b3028, 0x2100440208, 0x2000002001) /home/carlosedp/work/riscv-go-new/src/bytes/buffer.go:207 +0xe0 io.copyBuffer(0x8bc3c0, 0x2100440208, 0x8bcf00, 0x210000c218, 0x0, 0x0, 0x0, 0x37f166a2, 0x37f166a2009d7600, 0x13) /home/carlosedp/work/riscv-go-new/src/io/io.go:388 +0x310 io.Copy(...) /home/carlosedp/work/riscv-go-new/src/io/io.go:364 os/exec.(*Cmd).writerDescriptor.func1(0x8c1f4, 0x21004c4b00) /home/carlosedp/work/riscv-go-new/src/os/exec/exec.go:288 +0x6c os/exec.(*Cmd).Start.func1(0x210041c840, 0x2100196a60) /home/carlosedp/work/riscv-go-new/src/os/exec/exec.go:409 +0x2c created by os/exec.(*Cmd).Start /home/carlosedp/work/riscv-go-new/src/os/exec/exec.go:408 +0x47c goroutine 819 [chan receive, 18 minutes]: testing.(*T).Parallel(0x2100101200) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000c0c00) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestGoBuildDashODevNull(0x2100101200) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:6212 +0x7c testing.tRunner(0x2100101200, 0x7f9e50) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 820 [chan receive, 18 minutes]: testing.(*T).Parallel(0x2100101300) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:770 +0x1f8 cmd/go_test.(*testgoData).parallel(0x21000c0cc0) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:344 +0x110 cmd/go_test.TestCoverpkgTestOnly(0x2100101300) /home/carlosedp/work/riscv-go-new/src/cmd/go/go_test.go:6224 +0x7c testing.tRunner(0x2100101300, 0x7f9da0) /home/carlosedp/work/riscv-go-new/src/testing/testing.go:865 +0xf4 created by testing.(*T).Run /home/carlosedp/work/riscv-go-new/src/testing/testing.go:916 +0x398 goroutine 976 [IO wait, 2 minutes]: internal/poll.runtime_pollWait(0x200227bec8, 0x72, 0x0) /home/carlosedp/work/riscv-go-new/src/runtime/netpoll.go:182 +0x64 internal/poll.(*pollDesc).wait(0x21000a2198, 0x72, 0x0, 0x0, 0x7aabc3) /home/carlosedp/work/riscv-go-new/src/internal/poll/fd_poll_runtime.go:87 +0xd8 internal/poll.(*pollDesc).waitRead(...) /home/carlosedp/work/riscv-go-new/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0x21000a2180, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/carlosedp/work/riscv-go-new/src/internal/poll/fd_unix.go:384 +0x22c net.(*netFD).accept(0x21000a2180, 0x79718, 0x13b9d, 0x53e2708) /home/carlosedp/work/riscv-go-new/src/net/fd_unix.go:238 +0x3c net.(*TCPListener).accept(0x21004f8048, 0x166c4389004b4acc, 0x5ce4191e, 0x5a650) /home/carlosedp/work/riscv-go-new/src/net/tcpsock_posix.go:139 +0x38 net.(*TCPListener).Accept(0x21004f8048, 0x2100397ed8, 0x18, 0x21000c3080, 0x4ba828) /home/carlosedp/work/riscv-go-new/src/net/tcpsock.go:260 +0x58 net/http.(*Server).Serve(0x2100206000, 0x8cb560, 0x21004f8048, 0x0, 0x0) /home/carlosedp/work/riscv-go-new/src/net/http/server.go:2859 +0x270 net/http.Serve(...) /home/carlosedp/work/riscv-go-new/src/net/http/server.go:2456 cmd/go_test.StartProxy.func1.1(0x8cb560, 0x21004f8048) /home/carlosedp/work/riscv-go-new/src/cmd/go/proxy_test.go:59 +0x98 created by cmd/go_test.StartProxy.func1 /home/carlosedp/work/riscv-go-new/src/cmd/go/proxy_test.go:58 +0x308 FAIL cmd/go 2424.944s ```
4a6f656c commented 5 years ago

@carlosedp all of the standard library tests pass here (there are around three in test/ that are still failing), however you'll probably need to bump up GO_TEST_TIMEOUT_SCALE, particularly if you're running on a slow I/O device:

GOROOT_BOOTSTRAP=... GO_TEST_TIMEOUT_SCALE=5 ./all.bash
carlosedp commented 5 years ago

Thanks for the tip on the variable @4a6f656c . After I adjusted it and fixed my NFS filesystem server (had lock errors), it ran 100% (with the exceptions on test/ like you mentioned.

``` ##### Testing packages. ok archive/tar 1.034s ok archive/zip 261.885s ok bufio 1.457s ok bytes 4.786s ok compress/bzip2 1.192s ok compress/flate 12.639s ok compress/gzip 0.350s ok compress/lzw 0.146s ok compress/zlib 0.467s ok container/heap 0.164s ok container/list 0.060s ok container/ring 1.386s ok context 1.241s ok crypto 0.072s ok crypto/aes 0.182s ok crypto/cipher 1.063s ok crypto/des 0.152s ok crypto/dsa 0.173s ok crypto/ecdsa 3.312s ok crypto/elliptic 0.614s ok crypto/hmac 0.065s ok crypto/internal/subtle 0.041s ok crypto/md5 0.109s ok crypto/rand 0.508s ok crypto/rc4 1.960s ok crypto/rsa 2.306s ok crypto/sha1 0.120s ok crypto/sha256 0.053s ok crypto/sha512 0.075s ok crypto/subtle 0.066s ok crypto/tls 35.434s ok crypto/x509 39.684s ok database/sql 2.137s ok database/sql/driver 0.082s ok debug/dwarf 0.404s ok debug/elf 0.488s ok debug/gosym 0.212s ok debug/macho 0.120s ok debug/pe 0.250s ok debug/plan9obj 0.100s ok encoding/ascii85 0.123s ok encoding/asn1 0.057s ok encoding/base32 0.520s ok encoding/base64 0.194s ok encoding/binary 0.071s ok encoding/csv 0.189s ok encoding/gob 0.663s ok encoding/hex 0.087s ok encoding/json 5.923s ok encoding/pem 0.304s ok encoding/xml 0.373s ok errors 0.065s ok expvar 0.108s ok flag 0.085s ok fmt 3.975s ok go/ast 0.094s ok go/build 14.345s ok go/constant 0.068s ok go/doc 1.551s ok go/format 0.152s ok go/importer 4.990s ok go/internal/gccgoimporter 0.335s ok go/internal/gcimporter 4.792s ok go/internal/srcimporter 42.274s ok go/parser 0.577s ok go/printer 5.322s ok go/scanner 0.134s ok go/token 0.265s ok go/types 19.614s ok hash 0.040s ok hash/adler32 0.119s ok hash/crc32 1.733s ok hash/crc64 0.081s ok hash/fnv 0.123s ok html 0.076s ok html/template 1.161s ok image 1.191s ok image/color 0.277s ok image/draw 0.688s ok image/gif 6.481s ok image/jpeg 3.738s ok image/png 0.717s ok index/suffixarray 0.125s ok internal/cpu 0.056s ok internal/fmtsort 0.051s ok internal/poll 0.311s ok internal/singleflight 0.072s ok internal/trace 23.126s ok internal/x/crypto/chacha20poly1305 0.878s ok internal/x/crypto/cryptobyte 0.097s ok internal/x/crypto/curve25519 0.767s ok internal/x/crypto/hkdf 0.081s ok internal/x/crypto/internal/chacha20 1.589s ok internal/x/crypto/poly1305 0.182s ok internal/x/net/dns/dnsmessage 0.439s ok internal/x/net/http/httpguts 0.070s ok internal/x/net/http/httpproxy 0.067s ok internal/x/net/http2/hpack 0.066s ok internal/x/net/idna 0.114s ok internal/x/net/nettest 3.614s ok internal/x/text/transform 0.058s ok internal/x/text/unicode/norm 2.888s ok internal/xcoff 0.176s ok io 0.244s ok io/ioutil 0.586s ok log 0.061s ok log/syslog 1.457s ok math 0.074s ok math/big 32.481s ok math/bits 0.078s ok math/cmplx 0.104s ok math/rand 2.412s ok mime 0.102s ok mime/multipart 11.405s ok mime/quotedprintable 3.275s ok net 54.654s ok net/http 33.672s ok net/http/cgi 4.956s ok net/http/cookiejar 0.223s ok net/http/fcgi 1.099s ok net/http/httptest 0.641s ok net/http/httptrace 3.435s ok net/http/httputil 0.777s ok net/http/internal 0.054s ok net/http/pprof 2.782s ok net/internal/socktest 0.082s ok net/mail 0.054s ok net/rpc 0.215s ok net/rpc/jsonrpc 0.150s ok net/smtp 0.230s ok net/textproto 0.051s ok net/url 0.184s ok os 2.638s ok os/exec 2.622s ok os/signal 5.264s ok os/user 0.098s ok path 0.066s ok path/filepath 0.800s ok plugin 0.045s ok reflect 2.633s ok regexp 1.926s ok regexp/syntax 10.462s ok runtime 230.629s ok runtime/debug 0.722s ok runtime/internal/atomic 0.287s ok runtime/internal/math 0.234s ok runtime/internal/sys 0.121s ok runtime/pprof 18.632s ok runtime/pprof/internal/profile 0.043s ok runtime/trace 43.593s ok sort 0.949s ok strconv 6.936s ok strings 5.242s ok sync 1.809s ok sync/atomic 0.439s ok syscall 0.199s ok testing 2.440s ok testing/quick 1.900s ok text/scanner 0.118s ok text/tabwriter 0.051s ok text/template 3.862s ok text/template/parse 0.153s ok time 6.476s ok unicode 0.057s ok unicode/utf16 0.046s ok unicode/utf8 0.067s ok cmd/addr2line 41.284s ok cmd/api 0.648s ok cmd/asm/internal/asm 18.110s ok cmd/asm/internal/lex 0.082s ok cmd/compile 0.133s ok cmd/compile/internal/gc 244.161s ok cmd/compile/internal/ssa 8.055s ok cmd/compile/internal/syntax 0.191s ok cmd/compile/internal/test 0.041s [no tests to run] ok cmd/compile/internal/types 0.074s ok cmd/cover 56.901s ok cmd/doc 1.537s ok cmd/fix 102.192s ok cmd/go 1279.497s ok cmd/go/internal/cache 19.187s ok cmd/go/internal/dirhash 0.064s ok cmd/go/internal/generate 0.120s ok cmd/go/internal/get 0.290s ok cmd/go/internal/imports 0.115s ok cmd/go/internal/load 0.100s ok cmd/go/internal/lockedfile 0.074s ok cmd/go/internal/lockedfile/internal/filelock 0.239s ok cmd/go/internal/modconv 0.252s ok cmd/go/internal/modfetch 0.597s ok cmd/go/internal/modfetch/codehost 0.577s ok cmd/go/internal/modfile 0.247s ok cmd/go/internal/modload 0.141s ok cmd/go/internal/module 0.059s ok cmd/go/internal/mvs 0.112s ok cmd/go/internal/par 0.235s ok cmd/go/internal/search 0.054s ok cmd/go/internal/semver 0.090s ok cmd/go/internal/txtar 0.053s ok cmd/go/internal/web2 0.060s ok cmd/go/internal/work 0.153s ok cmd/gofmt 1.256s ok cmd/internal/buildid 6.312s ok cmd/internal/dwarf 0.039s ok cmd/internal/edit 0.039s ok cmd/internal/goobj 1.182s ok cmd/internal/obj 0.078s ok cmd/internal/obj/arm64 0.304s ok cmd/internal/obj/x86 43.571s ok cmd/internal/objabi 0.050s ok cmd/internal/src 0.051s ok cmd/internal/test2json 3.183s ok cmd/link 12.512s ok cmd/link/internal/ld 37.054s ok cmd/link/internal/sym 0.063s ok cmd/nm 35.487s ok cmd/objdump 18.989s ok cmd/pack 40.376s ok cmd/trace 0.195s ok cmd/vendor/github.com/google/pprof/internal/binutils 0.156s ok cmd/vendor/github.com/google/pprof/internal/driver 8.162s ok cmd/vendor/github.com/google/pprof/internal/elfexec 0.040s ok cmd/vendor/github.com/google/pprof/internal/graph 0.126s ok cmd/vendor/github.com/google/pprof/internal/measurement 0.046s ok cmd/vendor/github.com/google/pprof/internal/report 0.274s ok cmd/vendor/github.com/google/pprof/internal/symbolizer 0.057s ok cmd/vendor/github.com/google/pprof/internal/symbolz 0.067s ok cmd/vendor/github.com/google/pprof/profile 1.340s ok cmd/vendor/github.com/ianlancetaylor/demangle 0.328s ok cmd/vendor/golang.org/x/arch/arm/armasm 0.457s ok cmd/vendor/golang.org/x/arch/arm64/arm64asm 1.350s ok cmd/vendor/golang.org/x/arch/ppc64/ppc64asm 0.071s ok cmd/vendor/golang.org/x/arch/x86/x86asm 2.532s ok cmd/vendor/golang.org/x/crypto/ssh/terminal 0.119s ok cmd/vendor/golang.org/x/sys/unix 0.581s ok cmd/vet 158.208s ##### os/user with tag osusergo ok os/user 0.031s ##### GOMAXPROCS=2 runtime -cpu=1,2,4 -quick ok runtime 97.968s ##### cmd/go terminal test PASS ok _/work/riscv-go/src/cmd/go/testdata/testterminal18153 0.066s ##### Testing without libgcc. ok crypto/x509 18.518s ok net 0.065s ok os/user 0.046s ##### sync -cpu=10 ok sync 2.524s ##### ../test/bench/go1 testing: warning: no tests to run PASS ok _/work/riscv-go/test/bench/go1 66.283s ##### ../test # go run run.go -- live.go live.go:457: no match for `live at call to mapiterinit: .autotmp_[0-9]+$` in: live.go:457: live at call to mapiterinit: .autotmp_5 .autotmp_12 live.go:457: live at call to mapiternext: .autotmp_5 .autotmp_12 live.go:457: no match for `live at call to mapiternext: .autotmp_[0-9]+$` in: live.go:457: live at call to mapiterinit: .autotmp_5 .autotmp_12 live.go:457: live at call to mapiternext: .autotmp_5 .autotmp_12 live.go:458: no match for `live at call to printstring: .autotmp_[0-9]+$` in: live.go:458: live at call to printstring: .autotmp_5 .autotmp_12 Unmatched Errors: live.go:342: live at call to mapaccess1: .autotmp_2 live.go:354: live at call to mapaccess2: .autotmp_8 live.go:366: live at call to mapassign: .autotmp_4 live.go:392: live at call to print26: .autotmp_11 live.go:445: live at call to printstring: .autotmp_14 live.go:445: live at call to concatstrings: .autotmp_14 live.go:701: live at call to f43: .autotmp_10 live.go:457: live at call to mapiterinit: .autotmp_5 .autotmp_12 live.go:457: live at call to mapiternext: .autotmp_5 .autotmp_12 live.go:458: live at call to printstring: .autotmp_5 .autotmp_12 live.go:700: live at call to f43: .autotmp_10 FAIL live.go 2.043s # go run run.go -- fixedbugs/issue10607.go exit status 1 BUG: linkmode=external exit status 2 # command-line-arguments 2019/05/23 14:53:20 cannot use -linkmode=external with -H 5 exit status 1 FAIL fixedbugs/issue10607.go 21.914s # go run run.go -- fixedbugs/issue16249.go exit status 1 runtime: bad pointer in frame main.A at 0x2100488eb0: 0x1 fatal error: invalid pointer found on stack runtime stack: runtime.throw(0xa0a5f, 0x1e) /home/carlosedp/work/riscv-go/src/runtime/panic.go:617 +0x88 fp=0x3fffc21b30 sp=0x3fffc21b08 pc=0x40548 runtime.adjustpointers(0x2100488eb0, 0x3fffc21c50, 0x3fffc21ff0, 0xe9f48, 0xf0960) /home/carlosedp/work/riscv-go/src/runtime/stack.go:591 +0x3cc fp=0x3fffc21bb0 sp=0x3fffc21b30 pc=0x5d19c runtime.adjustframe(0x3fffc21f08, 0x3fffc21ff0, 0xf0960) /home/carlosedp/work/riscv-go/src/runtime/stack.go:633 +0x3d0 fp=0x3fffc21c70 sp=0x3fffc21bb0 pc=0x5d570 runtime.gentraceback(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x2100000180, 0x0, 0x0, 0x7fffffff, 0xa2578, 0x3fffc21ff0, 0x0, ...) /home/carlosedp/work/riscv-go/src/runtime/traceback.go:341 +0x1708 fp=0x3fffc21f60 sp=0x3fffc21c70 pc=0x66748 runtime.copystack(0x2100000180, 0x8000, 0xf0900) /home/carlosedp/work/riscv-go/src/runtime/stack.go:881 +0x234 fp=0x3fffc22110 sp=0x3fffc21f60 pc=0x5dbdc runtime.shrinkstack(0x2100000180) /home/carlosedp/work/riscv-go/src/runtime/stack.go:1137 +0x200 fp=0x3fffc22130 sp=0x3fffc22110 pc=0x5ef30 runtime.scanstack(0x2100000180, 0x2100025270) /home/carlosedp/work/riscv-go/src/runtime/mgcmark.go:690 +0x104 fp=0x3fffc22320 sp=0x3fffc22130 pc=0x2f8d4 runtime.newstack() /home/carlosedp/work/riscv-go/src/runtime/stack.go:1019 +0x3d4 fp=0x3fffc224a8 sp=0x3fffc22320 pc=0x5e0cc runtime.morestack() /home/carlosedp/work/riscv-go/src/runtime/asm_riscv64.s:236 +0x88 fp=0x3fffc224a8 sp=0x3fffc224a8 pc=0x70320 goroutine 1 [GC assist wait (scan)]: runtime.semrelease1(0xf2e30, 0x0) /home/carlosedp/work/riscv-go/src/runtime/sema.go:159 +0x14 fp=0x2100488d30 sp=0x2100488d30 pc=0x55994 runtime.semrelease(...) /home/carlosedp/work/riscv-go/src/runtime/sema.go:156 runtime.gcStart(0x1, 0x0, 0x0) /home/carlosedp/work/riscv-go/src/runtime/mgc.go:1355 +0x494 fp=0x2100488db8 sp=0x2100488d30 pc=0x29b0c runtime.mallocgc(0x10, 0x8f6e0, 0x3eb01, 0x20023e5968) /home/carlosedp/work/riscv-go/src/runtime/malloc.go:1040 +0x4a4 fp=0x2100488e58 sp=0x2100488db8 pc=0x1bca4 runtime.newobject(0x8f6e0, 0x77450) /home/carlosedp/work/riscv-go/src/runtime/malloc.go:1076 +0x44 fp=0x2100488e80 sp=0x2100488e58 pc=0x1c52c main.A(0x33, 0x2, 0x0, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:25 +0x54 fp=0x2100488eb8 sp=0x2100488e80 pc=0x77424 main.A(0x34, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100488ef0 sp=0x2100488eb8 pc=0x774b4 main.A(0x35, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100488f28 sp=0x2100488ef0 pc=0x774b4 main.A(0x36, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100488f60 sp=0x2100488f28 pc=0x774b4 main.A(0x37, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100488f98 sp=0x2100488f60 pc=0x774b4 main.A(0x38, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100488fd0 sp=0x2100488f98 pc=0x774b4 main.A(0x39, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489008 sp=0x2100488fd0 pc=0x774b4 main.A(0x3a, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489040 sp=0x2100489008 pc=0x774b4 main.A(0x3b, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489078 sp=0x2100489040 pc=0x774b4 main.A(0x3c, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x21004890b0 sp=0x2100489078 pc=0x774b4 main.A(0x3d, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x21004890e8 sp=0x21004890b0 pc=0x774b4 main.A(0x3e, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489120 sp=0x21004890e8 pc=0x774b4 main.A(0x3f, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489158 sp=0x2100489120 pc=0x774b4 main.A(0x40, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489190 sp=0x2100489158 pc=0x774b4 main.A(0x41, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x21004891c8 sp=0x2100489190 pc=0x774b4 main.A(0x42, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489200 sp=0x21004891c8 pc=0x774b4 main.A(0x43, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489238 sp=0x2100489200 pc=0x774b4 main.A(0x44, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489270 sp=0x2100489238 pc=0x774b4 main.A(0x45, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x21004892a8 sp=0x2100489270 pc=0x774b4 main.A(0x46, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x21004892e0 sp=0x21004892a8 pc=0x774b4 main.A(0x47, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489318 sp=0x21004892e0 pc=0x774b4 main.A(0x48, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489350 sp=0x2100489318 pc=0x774b4 main.A(0x49, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489388 sp=0x2100489350 pc=0x774b4 main.A(0x4a, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x21004893c0 sp=0x2100489388 pc=0x774b4 main.A(0x4b, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x21004893f8 sp=0x21004893c0 pc=0x774b4 main.A(0x4c, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489430 sp=0x21004893f8 pc=0x774b4 main.A(0x4d, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489468 sp=0x2100489430 pc=0x774b4 main.A(0x4e, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x21004894a0 sp=0x2100489468 pc=0x774b4 main.A(0x4f, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x21004894d8 sp=0x21004894a0 pc=0x774b4 main.A(0x50, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489510 sp=0x21004894d8 pc=0x774b4 main.A(0x51, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489548 sp=0x2100489510 pc=0x774b4 main.A(0x52, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489580 sp=0x2100489548 pc=0x774b4 main.A(0x53, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x21004895b8 sp=0x2100489580 pc=0x774b4 main.A(0x54, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x21004895f0 sp=0x21004895b8 pc=0x774b4 main.A(0x55, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489628 sp=0x21004895f0 pc=0x774b4 main.A(0x56, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489660 sp=0x2100489628 pc=0x774b4 main.A(0x57, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489698 sp=0x2100489660 pc=0x774b4 main.A(0x58, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x21004896d0 sp=0x2100489698 pc=0x774b4 main.A(0x59, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489708 sp=0x21004896d0 pc=0x774b4 main.A(0x5a, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489740 sp=0x2100489708 pc=0x774b4 main.A(0x5b, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489778 sp=0x2100489740 pc=0x774b4 main.A(0x5c, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x21004897b0 sp=0x2100489778 pc=0x774b4 main.A(0x5d, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x21004897e8 sp=0x21004897b0 pc=0x774b4 main.A(0x5e, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489820 sp=0x21004897e8 pc=0x774b4 main.A(0x5f, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489858 sp=0x2100489820 pc=0x774b4 main.A(0x60, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489890 sp=0x2100489858 pc=0x774b4 main.A(0x61, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x21004898c8 sp=0x2100489890 pc=0x774b4 main.A(0x62, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489900 sp=0x21004898c8 pc=0x774b4 main.A(0x63, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489938 sp=0x2100489900 pc=0x774b4 main.A(0x64, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489970 sp=0x2100489938 pc=0x774b4 main.A(0x65, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x21004899a8 sp=0x2100489970 pc=0x774b4 main.A(0x66, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x21004899e0 sp=0x21004899a8 pc=0x774b4 main.A(0x67, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489a18 sp=0x21004899e0 pc=0x774b4 main.A(0x68, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489a50 sp=0x2100489a18 pc=0x774b4 main.A(0x69, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489a88 sp=0x2100489a50 pc=0x774b4 main.A(0x6a, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489ac0 sp=0x2100489a88 pc=0x774b4 main.A(0x6b, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489af8 sp=0x2100489ac0 pc=0x774b4 main.A(0x6c, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489b30 sp=0x2100489af8 pc=0x774b4 main.A(0x6d, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489b68 sp=0x2100489b30 pc=0x774b4 main.A(0x6e, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489ba0 sp=0x2100489b68 pc=0x774b4 main.A(0x6f, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489bd8 sp=0x2100489ba0 pc=0x774b4 main.A(0x70, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489c10 sp=0x2100489bd8 pc=0x774b4 main.A(0x71, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489c48 sp=0x2100489c10 pc=0x774b4 main.A(0x72, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489c80 sp=0x2100489c48 pc=0x774b4 main.A(0x73, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489cb8 sp=0x2100489c80 pc=0x774b4 main.A(0x74, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489cf0 sp=0x2100489cb8 pc=0x774b4 main.A(0x75, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489d28 sp=0x2100489cf0 pc=0x774b4 main.A(0x76, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489d60 sp=0x2100489d28 pc=0x774b4 main.A(0x77, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489d98 sp=0x2100489d60 pc=0x774b4 main.A(0x78, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489dd0 sp=0x2100489d98 pc=0x774b4 main.A(0x79, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489e08 sp=0x2100489dd0 pc=0x774b4 main.A(0x7a, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489e40 sp=0x2100489e08 pc=0x774b4 main.A(0x7b, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489e78 sp=0x2100489e40 pc=0x774b4 main.A(0x7c, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489eb0 sp=0x2100489e78 pc=0x774b4 main.A(0x7d, 0x2, 0x2, 0x77488, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489ee8 sp=0x2100489eb0 pc=0x774b4 main.A(0x7e, 0x2, 0x2, 0x0, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489f20 sp=0x2100489ee8 pc=0x774b4 main.A(0x7f, 0x2, 0x2, 0x0, 0x0) /work/riscv-go/test/fixedbugs/issue16249.go:36 +0xe4 fp=0x2100489f58 sp=0x2100489f20 pc=0x774b4 main.main() /work/riscv-go/test/fixedbugs/issue16249.go:54 +0x58 fp=0x2100489f98 sp=0x2100489f58 pc=0x77768 runtime.main() /home/carlosedp/work/riscv-go/src/runtime/proc.go:200 +0x290 fp=0x2100489fd8 sp=0x2100489f98 pc=0x426c8 runtime.goexit() /home/carlosedp/work/riscv-go/src/runtime/asm_riscv64.s:468 +0x4 fp=0x2100489fd8 sp=0x2100489fd8 pc=0x72364 goroutine 2 [force gc (idle)]: runtime.gopark(0xa2770, 0xf29f0, 0x1410, 0x1) /home/carlosedp/work/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2100036fb0 sp=0x2100036f88 pc=0x42cc8 runtime.goparkunlock(...) /home/carlosedp/work/riscv-go/src/runtime/proc.go:307 runtime.forcegchelper() /home/carlosedp/work/riscv-go/src/runtime/proc.go:250 +0x118 fp=0x2100036fd8 sp=0x2100036fb0 pc=0x42aa0 runtime.goexit() /home/carlosedp/work/riscv-go/src/runtime/asm_riscv64.s:468 +0x4 fp=0x2100036fd8 sp=0x2100036fd8 pc=0x72364 created by runtime.init.4 /home/carlosedp/work/riscv-go/src/runtime/proc.go:239 +0x40 goroutine 3 [GC sweep wait]: runtime.gopark(0xa2770, 0xf2ae0, 0x140c, 0x1) /home/carlosedp/work/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x21000377a8 sp=0x2100037780 pc=0x42cc8 runtime.goparkunlock(...) /home/carlosedp/work/riscv-go/src/runtime/proc.go:307 runtime.bgsweep(0x2100054000) /home/carlosedp/work/riscv-go/src/runtime/mgcsweep.go:89 +0x1f4 fp=0x21000377d0 sp=0x21000377a8 pc=0x332d4 runtime.goexit() /home/carlosedp/work/riscv-go/src/runtime/asm_riscv64.s:468 +0x4 fp=0x21000377d0 sp=0x21000377d0 pc=0x72364 created by runtime.gcenable /home/carlosedp/work/riscv-go/src/runtime/mgc.go:208 +0x68 goroutine 17 [GC worker (idle)]: runtime.gopark(0xa2630, 0x2100460000, 0xffff1417, 0x0) /home/carlosedp/work/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2100036750 sp=0x2100036728 pc=0x42cc8 runtime.gcBgMarkWorker(0x2100024000) /home/carlosedp/work/riscv-go/src/runtime/mgc.go:1836 +0x140 fp=0x21000367d0 sp=0x2100036750 pc=0x2b2c8 runtime.goexit() /home/carlosedp/work/riscv-go/src/runtime/asm_riscv64.s:468 +0x4 fp=0x21000367d0 sp=0x21000367d0 pc=0x72364 created by runtime.gcBgMarkStartWorkers /home/carlosedp/work/riscv-go/src/runtime/mgc.go:1784 +0xc0 goroutine 18 [GC worker (idle)]: runtime.gopark(0xa2630, 0x2100460010, 0xffff1417, 0x0) /home/carlosedp/work/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2100032750 sp=0x2100032728 pc=0x42cc8 runtime.gcBgMarkWorker(0x2100026500) /home/carlosedp/work/riscv-go/src/runtime/mgc.go:1836 +0x140 fp=0x21000327d0 sp=0x2100032750 pc=0x2b2c8 runtime.goexit() /home/carlosedp/work/riscv-go/src/runtime/asm_riscv64.s:468 +0x4 fp=0x21000327d0 sp=0x21000327d0 pc=0x72364 created by runtime.gcBgMarkStartWorkers /home/carlosedp/work/riscv-go/src/runtime/mgc.go:1784 +0xc0 goroutine 19 [GC worker (idle)]: runtime.gopark(0xa2630, 0x2100460020, 0xffff1417, 0x0) /home/carlosedp/work/riscv-go/src/runtime/proc.go:301 +0x188 fp=0x2100032f50 sp=0x2100032f28 pc=0x42cc8 runtime.gcBgMarkWorker(0x2100028a00) /home/carlosedp/work/riscv-go/src/runtime/mgc.go:1836 +0x140 fp=0x2100032fd0 sp=0x2100032f50 pc=0x2b2c8 runtime.goexit() /home/carlosedp/work/riscv-go/src/runtime/asm_riscv64.s:468 +0x4 fp=0x2100032fd0 sp=0x2100032fd0 pc=0x72364 created by runtime.gcBgMarkStartWorkers /home/carlosedp/work/riscv-go/src/runtime/mgc.go:1784 +0xc0 goroutine 20 [GC worker (idle)]: runtime.systemstack_switch() /home/carlosedp/work/riscv-go/src/runtime/asm_riscv64.s:91 +0x8 fp=0x2100033750 sp=0x2100033748 pc=0x701c8 runtime.gcBgMarkWorker(0x210002af00) /home/carlosedp/work/riscv-go/src/runtime/mgc.go:1890 +0x268 fp=0x21000337d0 sp=0x2100033750 pc=0x2b3f0 runtime.goexit() /home/carlosedp/work/riscv-go/src/runtime/asm_riscv64.s:468 +0x4 fp=0x21000337d0 sp=0x21000337d0 pc=0x72364 created by runtime.gcBgMarkStartWorkers /home/carlosedp/work/riscv-go/src/runtime/mgc.go:1784 +0xc0 exit status 2 FAIL fixedbugs/issue16249.go 9.260s 2019/05/23 15:06:55 Failed: exit status 1 ##### API check Go version is "go1.12", ignoring -next /home/carlosedp/work/riscv-go/api/next.txt 2019/05/23 15:07:19 FAILED ```

One question though, how hard it to implement the required functions for CGO on src/runtime/cgo? A build I tried complained about not finding _cgo_sys_thread_start and it's implemented on the ARCH specific files. Any tips?

ianlancetaylor commented 5 years ago

One question though, how hard it to implement the required functions for CGO on src/runtime/cgo? A build I tried complained about not finding _cgo_sys_thread_start and it's implemented on the ARCH specific files. Any tips?

You can probably just copy runtime/cgo/gcc_linux_amd64.c to runtime/gcc_linux_riscv64.c. Take a look at it, but I don't see any obvious reason that wouldn't work. (Yes, this should be consolidated somewhat.)

The more interesting issue is runtime/cgo/asm_riscv64.s. That too should be pretty simple, but it will have to be written. See the existing files.

4a6f656c commented 5 years ago

I've just pushed up a branch that is merged to Go tip at 2d7cb295 and contains a variety of fixes. All tests now pass:

$ GOROOT_BOOTSTRAP=~/riscv-go2 GO_TEST_TIMEOUT_SCALE=5 ./all.bash
Building Go cmd/dist using /home/joel/riscv-go2.
Building Go toolchain1 using /home/joel/riscv-go2.
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/riscv64.

##### Testing packages.
...
ALL TESTS PASSED
---
Installed Go for linux/riscv64 in /home/joel/riscv-go
Installed commands in /home/joel/riscv-go/bin
carlosedp commented 5 years ago

Awesome @4a6f656c , I'm working on the CGO support. I believe I'm close.

ghost commented 5 years ago

Can anyone recommend Hardware ? Sorry to ask in this thread but we are building golang based systems for Government, and the RISC-V ISA is perfect because its secure, UNLIKE intel, arm etc. We want to do some prototype testing and hook it up to CI process with other embedded boards.

Its fantastic btw that the golang team are supporting RISC-V