Repository: go
Issue: runtime: TestCrashDumpsAllThreads fails on various openbsd architectures
Labels: OS-OpenBSD,NeedsInvestigation,compiler/runtime

The `TestCrashDumpsAllThreads` test fails consistently on openbsd/mips64:

```
--- FAIL: TestCrashDumpsAllThreads (3.99s)
    crash_unix_test.go:150: found 0 instances of main.loop; expected 4
    crash_unix_test.go:151: SIGQUIT: quit
        PC=0x85fdc m=5 sigcode=0
        
        goroutine 0 [idle]:
        runtime.thrsleep(0xc000118350, 0x314e58c00, 0x0, 0x0, 0xc000118350, 0x20000000, 0x5e75c, 0x4e00027000000, 0x0, 0xc00011a180, ...)
        	/home/gopher/build/go/src/runtime/sys_openbsd_mips64.s:329 +0x1c fp=0xc000111d20 sp=0xc000111d20 pc=0x85fdc
        runtime.semasleep(0xffffffffffffffff, 0xc00011a180)
        	/home/gopher/build/go/src/runtime/os_openbsd.go:167 +0xe0 fp=0xc000111d80 sp=0xc000111d20 pc=0x479e8
        runtime.notesleep(0xc000118150)
        	/home/gopher/build/go/src/runtime/lock_sema.go:181 +0x128 fp=0xc000111db0 sp=0xc000111d80 pc=0x1b9c0
        runtime.mPark()
        	/home/gopher/build/go/src/runtime/proc.go:1273 +0x28 fp=0xc000111dc8 sp=0xc000111db0 pc=0x51fd8
        runtime.stopm()
        	/home/gopher/build/go/src/runtime/proc.go:2185 +0xbc fp=0xc000111de8 sp=0xc000111dc8 pc=0x53d5c
        runtime.findrunnable(0xc000058000, 0x0)
        	/home/gopher/build/go/src/runtime/proc.go:2844 +0x960 fp=0xc000111f28 sp=0xc000111de8 pc=0x55970
        runtime.schedule()
        	/home/gopher/build/go/src/runtime/proc.go:3051 +0x360 fp=0xc000111f98 sp=0xc000111f28 pc=0x57308
        runtime.park_m(0xc000000180)
        	/home/gopher/build/go/src/runtime/proc.go:3200 +0xa8 fp=0xc000111fc0 sp=0xc000111f98 pc=0x57950
        runtime.mcall(0x0)
        	/home/gopher/build/go/src/runtime/asm_mips64x.s:150 +0x54 fp=0xc000111fd0 sp=0xc000111fc0 pc=0x823bc
        
        goroutine 1 [select (no cases)]:
        runtime.gopark(0x0, 0x0, 0xa10000000000000, 0x1)
        	/home/gopher/build/go/src/runtime/proc.go:336 +0x110 fp=0xc0000bce90 sp=0xc0000bce78 pc=0x4ed78
        runtime.block()
        	/home/gopher/build/go/src/runtime/select.go:103 +0x54 fp=0xc0000bceb8 sp=0xc0000bce90 pc=0x62064
        main.main()
        	/home/gopher/build/tmp/go-build438851373/main.go:31 +0x23c fp=0xc0000bcf80 sp=0xc0000bceb8 pc=0xcbb04
        runtime.main()
        	/home/gopher/build/go/src/runtime/proc.go:225 +0x30c fp=0xc0000bcfd8 sp=0xc0000bcf80 pc=0x4e824
        runtime.goexit()
        	/home/gopher/build/go/src/runtime/asm_mips64x.s:631 +0x4 fp=0xc0000bcfd8 sp=0xc0000bcfd8 pc=0x847d4
        
        goroutine 2 [force gc (idle)]:
        runtime.gopark(0xfbe10, 0x195f30, 0x1114000000000000, 0x1)
        	/home/gopher/build/go/src/runtime/proc.go:336 +0x110 fp=0xc000038fb0 sp=0xc000038f98 pc=0x4ed78
        runtime.goparkunlock(...)
        	/home/gopher/build/go/src/runtime/proc.go:342
        runtime.forcegchelper()
        	/home/gopher/build/go/src/runtime/proc.go:276 +0x108 fp=0xc000038fd8 sp=0xc000038fb0 pc=0x4eba8
        runtime.goexit()
        	/home/gopher/build/go/src/runtime/asm_mips64x.s:631 +0x4 fp=0xc000038fd8 sp=0xc000038fd8 pc=0x847d4
        created by runtime.init.5
        	/home/gopher/build/go/src/runtime/proc.go:264 +0x48
        
        goroutine 3 [GC sweep wait]:
        runtime.gopark(0xfbe10, 0x196060, 0xc14000000000000, 0x1)
        	/home/gopher/build/go/src/runtime/proc.go:336 +0x110 fp=0xc0000397a8 sp=0xc000039790 pc=0x4ed78
        runtime.goparkunlock(...)
        	/home/gopher/build/go/src/runtime/proc.go:342
        runtime.bgsweep(0xc00003c000)
        	/home/gopher/build/go/src/runtime/mgcsweep.go:163 +0xe0 fp=0xc0000397d0 sp=0xc0000397a8 pc=0x37260
        runtime.goexit()
        	/home/gopher/build/go/src/runtime/asm_mips64x.s:631 +0x4 fp=0xc0000397d0 sp=0xc0000397d0 pc=0x847d4
        created by runtime.gcenable
        	/home/gopher/build/go/src/runtime/mgc.go:217 +0x74
        
        goroutine 4 [GC scavenge wait]:
        runtime.gopark(0xfbe10, 0x196100, 0xd14000000000000, 0x1)
        	/home/gopher/build/go/src/runtime/proc.go:336 +0x110 fp=0xc000039f78 sp=0xc000039f60 pc=0x4ed78
        runtime.goparkunlock(...)
        	/home/gopher/build/go/src/runtime/proc.go:342
        runtime.bgscavenge(0xc00003c000)
        	/home/gopher/build/go/src/runtime/mgcscavenge.go:265 +0x12c fp=0xc000039fd0 sp=0xc000039f78 pc=0x34d4c
        runtime.goexit()
        	/home/gopher/build/go/src/runtime/asm_mips64x.s:631 +0x4 fp=0xc000039fd0 sp=0xc000039fd0 pc=0x847d4
        created by runtime.gcenable
        	/home/gopher/build/go/src/runtime/mgc.go:218 +0x9c
        
        goroutine 5 [finalizer wait]:
        runtime.gopark(0xfbe10, 0x1c1360, 0x1014000000000000, 0x1)
        	/home/gopher/build/go/src/runtime/proc.go:336 +0x110 fp=0xc000038750 sp=0xc000038738 pc=0x4ed78
        runtime.goparkunlock(...)
        	/home/gopher/build/go/src/runtime/proc.go:342
        runtime.runfinq()
        	/home/gopher/build/go/src/runtime/mfinal.go:175 +0xf0 fp=0xc0000387d8 sp=0xc000038750 pc=0x29d68
        runtime.goexit()
        	/home/gopher/build/go/src/runtime/asm_mips64x.s:631 +0x4 fp=0xc0000387d8 sp=0xc0000387d8 pc=0x847d4
        created by runtime.createfing
        	/home/gopher/build/go/src/runtime/mfinal.go:156 +0xb0
        
        goroutine 6 [running]:
        	goroutine running on other thread; stack unavailable
        created by main.main
        	/home/gopher/build/tmp/go-build438851373/main.go:17 +0xbc
        
        goroutine 7 [running]:
        	goroutine running on other thread; stack unavailable
        created by main.main
        	/home/gopher/build/tmp/go-build438851373/main.go:17 +0xbc
        
        goroutine 8 [running]:
        	goroutine running on other thread; stack unavailable
        created by main.main
        	/home/gopher/build/tmp/go-build438851373/main.go:17 +0xbc
        
        goroutine 9 [running]:
        	goroutine running on other thread; stack unavailable
        created by main.main
        	/home/gopher/build/tmp/go-build438851373/main.go:17 +0xbc
        
        r0   0x0	r1   0x0
        r2   0x58	r3   0xc000118350
        r4   0xc000118350	r5   0x3
        r6   0x0	r7   0x0
        r8   0xc000118350	r9   0x0
        r10  0x0	r11  0x10
        r12  0x1	r13  0x1
        r14  0x0	r15  0x1
        r16  0x0	r17  0x1
        r18  0x1	r19  0x0
        r20  0x4adbb40a8	r21  0xc000192000
        r22  0x0	r23  0x0
        r24  0x0	r25  0x0
        r26  0x0	r27  0x0
        r28  0x0	r29  0xc000111d20
        r30  0xc00011a180	r31  0x479e8
        pc   0x85fdc	link 0x479e8
        lo   0x0	hi   0x3
        
        -----
```

I plan on disabling this test so we can resolve the remaining issues for this port - this issue is to track investigation of the cause and eventual re-enabling of the test.