Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime: flaky failures on NetBSD since CL 526118 #62524

Open
cherrymui opened this issue Sep 8, 2023 · 35 comments
Open

runtime: flaky failures on NetBSD since CL 526118 #62524

cherrymui opened this issue Sep 8, 2023 · 35 comments
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-NetBSD
Milestone

Comments

@cherrymui
Copy link
Member

cherrymui commented Sep 8, 2023

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"

On the build dashboard, the NetBSD ports start to become very flaky since CL https://go.dev/cl/526118. The failures are usually related to tests that are specific to OS threads. So the CL could be related. Filing an issue to investigate.

cc @prattmic @golang/netbsd @golang/runtime

@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Sep 8, 2023
@cherrymui cherrymui added OS-NetBSD NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. and removed compiler/runtime Issues related to the Go compiler and/or runtime. labels Sep 8, 2023
@cherrymui cherrymui added this to the Go1.22 milestone Sep 8, 2023
@cherrymui cherrymui added the compiler/runtime Issues related to the Go compiler and/or runtime. label Sep 8, 2023
@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime"
2023-07-31 17:13 netbsd-386-9_3 go@4a14d9c9 runtime.TestSelectFairness (log)
--- FAIL: TestSelectFairness (0.02s)
    chan_test.go:488: 4742 5258 0.4742 0.02579999999999999
    chan_test.go:490: unfair select: in 10000 trials, results were 4742, 5258
2023-08-03 15:59 netbsd-arm-bsiegert go@e4aec1fa runtime.TestDeferLiveness (log)
panic: test timed out after 30m0s
running tests:
	TestDeferLiveness (27m39s)

syscall.Syscall6(0x1e1, 0x1, 0x2be3, 0x842de4, 0x10020, 0x0, 0x0)
	/var/gobuilder/buildlet/go/src/syscall/asm_netbsd_arm.s:39 +0x8 fp=0x842db8 sp=0x842db4 pc=0xa90d0
os.wait6(0x1, 0x2be3, 0x10020)
	/var/gobuilder/buildlet/go/src/os/wait6_netbsd.go:16 +0x58 fp=0x842dec sp=0x842db8 pc=0xd34e0
os.(*Process).blockUntilWaitable(0x8205a0)
	/var/gobuilder/buildlet/go/src/os/wait_wait6.go:20 +0x30 fp=0x842e08 sp=0x842dec pc=0xd3530
os.(*Process).wait(0x8205a0)
	/var/gobuilder/buildlet/go/src/os/exec_unix.go:22 +0x2c fp=0x842e44 sp=0x842e08 pc=0xcd670
os.(*Process).Wait(...)
	/var/gobuilder/buildlet/go/src/os/exec.go:134
os/exec.(*Cmd).Wait(0x1786000)
	/var/gobuilder/buildlet/go/src/os/exec/exec.go:862 +0x38 fp=0x842e7c sp=0x842e44 pc=0x165e20
os/exec.(*Cmd).Run(0x1786000)
	/var/gobuilder/buildlet/go/src/os/exec/exec.go:590 +0x48 fp=0x842e8c sp=0x842e7c pc=0x164b24
os/exec.(*Cmd).CombinedOutput(0x1786000)
	/var/gobuilder/buildlet/go/src/os/exec/exec.go:977 +0xa0 fp=0x842ea0 sp=0x842e8c pc=0x166750
runtime_test.runBuiltTestProg(0x97e2d0, {0x1aaba40, 0x3b}, {0x465433, 0xd}, {0x128df8c, 0x1, 0x1})
	/var/gobuilder/buildlet/go/src/runtime/crash_test.go:76 +0x2a8 fp=0x842f1c sp=0x842ea0 pc=0x31ebd4
runtime_test.runTestProg(0x97e2d0, {0x4622ca, 0x8}, {0x465433, 0xd}, {0x128df8c, 0x1, 0x1})
	/var/gobuilder/buildlet/go/src/runtime/crash_test.go:59 +0x168 fp=0x842f58 sp=0x842f1c pc=0x31e8f8
runtime_test.TestDeferLiveness(0x97e2d0)
	/var/gobuilder/buildlet/go/src/runtime/stack_test.go:868 +0x70 fp=0x842f94 sp=0x842f58 pc=0x3afbcc
testing.tRunner(0x97e2d0, 0x48c438)
2023-08-22 02:47 netbsd-amd64-9_3 go@b291538d runtime.TestCgoExecSignalMask (log)
--- FAIL: TestCgoExecSignalMask (139.11s)
    exec.go:190: test timed out while running command: /tmp/workdir/tmp/go-build3391162740/testprogcgo.exe CgoExecSignalMask
    crash_cgo_test.go:141: /tmp/workdir/tmp/go-build3391162740/testprogcgo.exe CgoExecSignalMask: exit status 2
    crash_cgo_test.go:144: expected "OK\n", got SIGQUIT: quit
        PC=0x46ef23 m=13 sigcode=0

        rax    0x4
        rbx    0x0
        rcx    0x46ef23
        rdx    0x0
        rdi    0x3
        rsi    0x0
        rbp    0x783f437efd08
        rsp    0x783f437efcb0
        r8     0xc0002244d0
        r9     0x0
        r10    0x0
        r11    0x202
        r12    0xe
        r13    0x1
        r14    0xc0002044e0
        r15    0x1
        rip    0x46ef23
        rflags 0x203
        cs     0x47
        fs     0x0
        gs     0x0
2023-08-25 21:04 netbsd-arm-bsiegert go@789b3f84 runtime.TestSegv (log)
--- FAIL: TestSegv (0.00s)
    --- FAIL: TestSegv/SegvInCgo (0.03s)
        crash_cgo_test.go:655: /var/gobuilder/buildlet/tmp/go-build1238234895/testprogcgo.exe SegvInCgo (28.856047ms): ok
        crash_cgo_test.go:656: 
        crash_cgo_test.go:662: did not see "SIGSEGV" in output
2023-08-29 23:22 netbsd-386-9_3 go@1f8f2ab9 runtime.TestCgoExecSignalMask (log)
--- FAIL: TestCgoExecSignalMask (142.07s)
    exec.go:190: test timed out while running command: /tmp/workdir/tmp/go-build1079410108/testprogcgo.exe CgoExecSignalMask
    crash_cgo_test.go:141: /tmp/workdir/tmp/go-build1079410108/testprogcgo.exe CgoExecSignalMask: exit status 2
    crash_cgo_test.go:144: expected "OK\n", got SIGQUIT: quit
        PC=0x80b8447 m=13 sigcode=0

        eax    0x4
        ebx    0x0
        ecx    0x8682400
        edx    0x8680380
        edi    0x829a498
        esi    0xe
        ebp    0x5
        esp    0xa7dffe18
        eip    0x80b8447
        eflags 0x247
        cs     0x17
        fs     0xab
        gs     0xb3
2023-09-01 15:17 netbsd-arm-bsiegert go@e3ef8d18 runtime.TestDeferLiveness (log)
panic: test timed out after 30m0s
running tests:
	TestDeferLiveness (27m37s)

syscall.Syscall6(0x1e1, 0x1, 0x8da, 0x165fde4, 0x10020, 0x0, 0x0)
	/var/gobuilder/buildlet/go/src/syscall/asm_netbsd_arm.s:39 +0x8 fp=0x165fdb8 sp=0x165fdb4 pc=0xa96b4
os.wait6(0x1, 0x8da, 0x10020)
	/var/gobuilder/buildlet/go/src/os/wait6_netbsd.go:16 +0x58 fp=0x165fdec sp=0x165fdb8 pc=0xd3980
os.(*Process).blockUntilWaitable(0x820900)
	/var/gobuilder/buildlet/go/src/os/wait_wait6.go:20 +0x30 fp=0x165fe08 sp=0x165fdec pc=0xd39d0
os.(*Process).wait(0x820900)
	/var/gobuilder/buildlet/go/src/os/exec_unix.go:22 +0x2c fp=0x165fe44 sp=0x165fe08 pc=0xcdcdc
os.(*Process).Wait(...)
	/var/gobuilder/buildlet/go/src/os/exec.go:134
os/exec.(*Cmd).Wait(0x8fa3c0)
	/var/gobuilder/buildlet/go/src/os/exec/exec.go:862 +0x38 fp=0x165fe7c sp=0x165fe44 pc=0x1668fc
os/exec.(*Cmd).Run(0x8fa3c0)
	/var/gobuilder/buildlet/go/src/os/exec/exec.go:590 +0x48 fp=0x165fe8c sp=0x165fe7c pc=0x165600
os/exec.(*Cmd).CombinedOutput(0x8fa3c0)
	/var/gobuilder/buildlet/go/src/os/exec/exec.go:977 +0x88 fp=0x165fea0 sp=0x165fe8c pc=0x167214
runtime_test.runBuiltTestProg(0x891b30, {0x1a7bf00, 0x3b}, {0x465ed3, 0xd}, {0x165ff8c, 0x1, 0x1})
	/var/gobuilder/buildlet/go/src/runtime/crash_test.go:76 +0x2a8 fp=0x165ff1c sp=0x165fea0 pc=0x321cd8
runtime_test.runTestProg(0x891b30, {0x462d3c, 0x8}, {0x465ed3, 0xd}, {0x165ff8c, 0x1, 0x1})
	/var/gobuilder/buildlet/go/src/runtime/crash_test.go:59 +0x168 fp=0x165ff58 sp=0x165ff1c pc=0x3219fc
runtime_test.TestDeferLiveness(0x891b30)
	/var/gobuilder/buildlet/go/src/runtime/stack_test.go:868 +0x70 fp=0x165ff94 sp=0x165ff58 pc=0x3b32c0
testing.tRunner(0x891b30, 0x48d1d4)
2023-09-01 20:40 netbsd-arm-bsiegert go@227ec028 runtime.TestDeferLiveness (log)
panic: test timed out after 30m0s
running tests:
	TestDeferLiveness (27m44s)

syscall.Syscall6(0x1e1, 0x1, 0x104b, 0x1745de4, 0x10020, 0x0, 0x0)
	/var/gobuilder/buildlet/go/src/syscall/asm_netbsd_arm.s:39 +0x8 fp=0x1745db8 sp=0x1745db4 pc=0xa96b4
os.wait6(0x1, 0x104b, 0x10020)
	/var/gobuilder/buildlet/go/src/os/wait6_netbsd.go:16 +0x58 fp=0x1745dec sp=0x1745db8 pc=0xd3980
os.(*Process).blockUntilWaitable(0x205c0f0)
	/var/gobuilder/buildlet/go/src/os/wait_wait6.go:20 +0x30 fp=0x1745e08 sp=0x1745dec pc=0xd39d0
os.(*Process).wait(0x205c0f0)
	/var/gobuilder/buildlet/go/src/os/exec_unix.go:22 +0x2c fp=0x1745e44 sp=0x1745e08 pc=0xcdcdc
os.(*Process).Wait(...)
	/var/gobuilder/buildlet/go/src/os/exec.go:134
os/exec.(*Cmd).Wait(0x1734000)
	/var/gobuilder/buildlet/go/src/os/exec/exec.go:862 +0x38 fp=0x1745e7c sp=0x1745e44 pc=0x1668fc
os/exec.(*Cmd).Run(0x1734000)
	/var/gobuilder/buildlet/go/src/os/exec/exec.go:590 +0x48 fp=0x1745e8c sp=0x1745e7c pc=0x165600
os/exec.(*Cmd).CombinedOutput(0x1734000)
	/var/gobuilder/buildlet/go/src/os/exec/exec.go:977 +0x88 fp=0x1745ea0 sp=0x1745e8c pc=0x167214
runtime_test.runBuiltTestProg(0x14780f0, {0x1ae18c0, 0x3b}, {0x465ed3, 0xd}, {0x12a9f8c, 0x1, 0x1})
	/var/gobuilder/buildlet/go/src/runtime/crash_test.go:76 +0x2a8 fp=0x1745f1c sp=0x1745ea0 pc=0x321cd8
runtime_test.runTestProg(0x14780f0, {0x462d3c, 0x8}, {0x465ed3, 0xd}, {0x12a9f8c, 0x1, 0x1})
	/var/gobuilder/buildlet/go/src/runtime/crash_test.go:59 +0x168 fp=0x1745f58 sp=0x1745f1c pc=0x3219fc
runtime_test.TestDeferLiveness(0x14780f0)
	/var/gobuilder/buildlet/go/src/runtime/stack_test.go:868 +0x70 fp=0x1745f94 sp=0x1745f58 pc=0x3b32c0
testing.tRunner(0x14780f0, 0x48d1d4)
2023-09-05 21:59 netbsd-amd64-9_3 go@b6372114 runtime.TestLockOSThreadTemplateThreadRace (log)
panic: test timed out after 3m0s
running tests:
	TestLockOSThreadTemplateThreadRace (2m31s)

syscall.Syscall6(0x1e1, 0x1, 0x42bb, 0xc00209dc74, 0x10020, 0x0, 0x0)
	/tmp/workdir/go/src/syscall/asm_unix_amd64.s:39 +0x9 fp=0xc00209dc20 sp=0xc00209dc10 pc=0x487509
os.wait6(0x400?, 0xc000900ba0?, 0xc0009368a0?)
	/tmp/workdir/go/src/os/wait6_netbsd.go:16 +0x4c fp=0xc00209dc90 sp=0xc00209dc20 pc=0x4ad52c
os.(*Process).blockUntilWaitable(0xc000029290)
	/tmp/workdir/go/src/os/wait_wait6.go:20 +0x30 fp=0xc00209dcc0 sp=0xc00209dc90 pc=0x4ad5b0
os.(*Process).wait(0xc000029290)
	/tmp/workdir/go/src/os/exec_unix.go:22 +0x25 fp=0xc00209dd20 sp=0xc00209dcc0 pc=0x4a84c5
os.(*Process).Wait(...)
	/tmp/workdir/go/src/os/exec.go:134
os/exec.(*Cmd).Wait(0xc000164840)
	/tmp/workdir/go/src/os/exec/exec.go:862 +0x45 fp=0xc00209dd80 sp=0xc00209dd20 pc=0x53b005
os/exec.(*Cmd).Run(0x1?)
	/tmp/workdir/go/src/os/exec/exec.go:590 +0x2d fp=0xc00209dda0 sp=0xc00209dd80 pc=0x539c8d
os/exec.(*Cmd).CombinedOutput(0xc000164840)
	/tmp/workdir/go/src/os/exec/exec.go:977 +0x85 fp=0xc00209ddc8 sp=0xc00209dda0 pc=0x53b8c5
runtime_test.runBuiltTestProg(0xc000144680, {0xc000b40120, 0x30}, {0x8676e2, 0x1e}, {0x0, 0x0, 0xf?})
	/tmp/workdir/go/src/runtime/crash_test.go:76 +0x2c7 fp=0xc00209deb0 sp=0xc00209ddc8 pc=0x6ebb27
runtime_test.TestLockOSThreadTemplateThreadRace(0xc000144680)
	/tmp/workdir/go/src/runtime/proc_test.go:1022 +0x13c fp=0xc00209df70 sp=0xc00209deb0 pc=0x75cf7c
testing.tRunner(0xc000144680, 0x880da8)
2023-09-06 14:20 netbsd-amd64-9_3 go@b0e1d3ea runtime.TestSegv (log)
--- FAIL: TestSegv (0.00s)
    --- FAIL: TestSegv/SegvInCgo (0.00s)
        crash_cgo_test.go:655: /tmp/workdir/tmp/go-build2292806128/testprogcgo.exe SegvInCgo (4.798403ms): ok
        crash_cgo_test.go:656: 
        crash_cgo_test.go:662: did not see "SIGSEGV" in output
2023-09-06 18:36 netbsd-amd64-9_3 go@4be921d8 runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (136.70s)
    proc_test.go:1022: /tmp/workdir/tmp/go-build2203932734/testprog.exe LockOSThreadTemplateThreadRace (165.613465ms): ok
    proc_test.go:1022: /tmp/workdir/tmp/go-build2203932734/testprog.exe LockOSThreadTemplateThreadRace (60.926942ms): ok
    proc_test.go:1022: /tmp/workdir/tmp/go-build2203932734/testprog.exe LockOSThreadTemplateThreadRace (14.578327ms): ok
    proc_test.go:1022: /tmp/workdir/tmp/go-build2203932734/testprog.exe LockOSThreadTemplateThreadRace (43.865807ms): ok
    exec.go:190: test timed out while running command: /tmp/workdir/tmp/go-build2203932734/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /tmp/workdir/tmp/go-build2203932734/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 4: want "OK\n", got "SIGQUIT: quit\nPC=0x463fa3 m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0xc000080a50, 0x0)\n\t/tmp/workdir/go/src/runtime/sys_netbsd_amd64.s:99 +0x23 fp=0xc000059d00 sp=0xc000059cf8 pc=0x463fa3\nruntime.semasleep(0xffffffffffffffff)\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:183 +0x11f fp=0xc000059d60 sp=0xc000059d00 pc=0x431adf\nruntime.notesleep(0x0?)\n\t/tmp/workdir/go/src/runtime/lock_sema.go:181 +0x75 fp=0xc000059da0 sp=0xc000059d60 pc=0x40ae55\nruntime.mPark(...)\n\t/tmp/workdir/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2535 +0x8c fp=0xc000059dd0 sp=0xc000059da0 pc=0x43b1cc\nruntime.gcstopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2834 +0xaa fp=0xc000059df8 sp=0xc000059dd0 pc=0x43bd8a\nruntime.findRunnable()\n\t/tmp/workdir/go/src/runtime/proc.go:2900 +0x3f fp=0xc000059f20 sp=0xc000059df8 pc=0x43bf7f\nruntime.schedule()\n\t/tmp/workdir/go/src/runtime/proc.go:3602 +0xb1 fp=0xc000059f58 sp=0xc000059f20 pc=0x43da31\nruntime.mstart1()\n\t/tmp/workdir/go/src/runtime/proc.go:1606 +0xcd fp=0xc000059f80 sp=0xc000059f58 pc=0x439c6d\nruntime.mstart0()\n\t/tmp/workdir/go/src/runtime/proc.go:1556 +0x76 fp=0xc000059fb0 sp=0xc000059f80 pc=0x439b76\nruntime.netbsdMstart0()\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:263 +0x45 fp=0xc000059fe8 sp=0xc000059fb0 pc=0x431f85\nruntime.netbsdMstart()\n\t/tmp/workdir/go/src/runtime/sys_netbsd_amd64.s:82 +0x9 fp=0xc000059ff8 sp=0xc000059fe8 pc=0x463f49\n\ngoroutine 1 [runnable]:\nruntime.gopark(0x439429?, 0xc00007adc8?, 0x0?, 0x80?, 0x1?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc00007ad88 sp=0xc00007ad68 pc=0x43750e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.semacquire1(0xc000012158, 0x30?, 0x1, 0x0, 0x6b?)\n\t/tmp/workdir/go/src/runtime/sema.go:160 +0x218 fp=0xc00007adf0 sp=0xc00007ad88 pc=0x446eb8\nsync.runtime_Semacquire(0xc000106120?)\n\t/tmp/workdir/go/src/runtime/sema.go:62 +0x25 fp=0xc00007ae28 sp=0xc00007adf0 pc=0x45f165\nsync.(*WaitGroup).Wait(0xc1364ffec184373f?)\n\t/tmp/workdir/go/src/sync/waitgroup.go:116 +0x48 fp=0xc00007ae50 sp=0xc00007ae28 pc=0x46ca28\nmain.LockOSThreadTemplateThreadRace()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:243 +0xec fp=0xc00007aea8 sp=0xc00007ae50 pc=0x4b808c\nmain.main()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/main.go:34 +0x133 fp=0xc00007af40 sp=0xc00007aea8 pc=0x4b8293\nruntime.main()\n\t/tmp/workdir/go/src/runtime/proc.go:267 +0x2bb fp=0xc00007afe0 sp=0xc00007af40 pc=0x4370bb\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc00007afe8 sp=0xc00007afe0 pc=0x462841\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000044fa8 sp=0xc000044f88 pc=0x43750e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/tmp/workdir/go/src/runtime/proc.go:322 +0xb3 fp=0xc000044fe0 sp=0xc000044fa8 pc=0x437393\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000044fe8 sp=0xc000044fe0 pc=0x462841\ncreated by runtime.init.6 in goroutine 1\n\t/tmp/workdir/go/src/runtime/proc.go:310 +0x1a\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000045778 sp=0xc000045758 pc=0x43750e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.bgsweep(0x0?)\n\t/tmp/workdir/go/src/runtime/mgcsweep.go:280 +0x94 fp=0xc0000457c8 sp=0xc000045778 pc=0x4234b4\nruntime.gcenable.gowrap1()\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x25 fp=0xc0000457e0 sp=0xc0000457c8 pc=0x418345\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000457e8 sp=0xc0000457e0 pc=0x462841\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x66\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0xc000066000?, 0x50bcc8?, 0x1?, 0x0?, 0xc000006d00?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000045f70 sp=0xc000045f50 pc=0x43750e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x5a3900)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc000045fa0 sp=0xc000045f70 pc=0x420da9\nruntime.bgscavenge(0x0?)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0xc000045fc8 sp=0xc000045fa0 pc=0x42133c\nruntime.gcenable.gowrap2()\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0x25 fp=0xc000045fe0 sp=0xc000045fc8 pc=0x4182e5\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000045fe8 sp=0xc000045fe0 pc=0x462841\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0xa5\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x400000?, 0xc000044670?, 0x9c?, 0x1?, 0x5d1d80?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000044628 sp=0xc000044608 pc=0x43750e\nruntime.runfinq()\n\t/tmp/workdir/go/src/runtime/mfinal.go:193 +0x107 fp=0xc0000447e0 sp=0xc000044628 pc=0x4173a7\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000447e8 sp=0xc0000447e0 pc=0x462841\ncreated by runtime.createfing in goroutine 1\n\t/tmp/workdir/go/src/runtime/mfinal.go:163 +0x3d\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc0000948b0 sp=0xc0000948a0 pc=0x4609e8\nruntime.stopTheWorld(0x7)\n\t/tmp/workdir/go/src/runtime/proc.go:1262 +0xc9 fp=0xc000094910 sp=0xc0000948b0 pc=0x439429\nruntime.ReadMemStats(0xc000094940)\n\t/tmp/workdir/go/src/runtime/mstats.go:361 +0x1f fp=0xc000094938 sp=0xc000094910 pc=0x42f73f\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x36 fp=0xc000095fe0 sp=0xc000094938 pc=0x4bb8b6\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000095fe8 sp=0xc000095fe0 pc=0x462841\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x28\n\nrax    0x4\nrbx    0x0\nrcx    0x463fa3\nrdx    0x0\nrdi    0x3\nrsi    0x0\nrbp    0xc000059d50\nrsp    0xc000059cf8\nr8     0xc000080a50\nr9     0x0\nr10    0x0\nr11    0x206\nr12    0xc000059e78\nr13    0x0\nr14    0xc0000844e0\nr15    0x3\nrip    0x463fa3\nrflags 0x207\ncs     0x47\nfs     0x0\ngs     0x0\n"
2023-09-06 18:36 netbsd-arm64-bsiegert go@4be921d8 runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1569.60s)
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build1243018962/testprog.exe LockOSThreadTemplateThreadRace (144.013056ms): ok
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build1243018962/testprog.exe LockOSThreadTemplateThreadRace (44.823427ms): ok
    exec.go:190: test timed out while running command: /scratch/gobuilder/buildlet/tmp/go-build1243018962/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build1243018962/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 2: want "OK\n", got "SIGQUIT: quit\nPC=0x7466c m=7 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x4000037ad0, 0x0)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:92 +0x1c fp=0x400011bce0 sp=0x400011bce0 pc=0x7466c\nruntime.semasleep(0xffffffffffffffff)\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x12c fp=0x400011bd40 sp=0x400011bce0 pc=0x41a0c\nruntime.notesleep(0x4000037600?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0xac fp=0x400011bd80 sp=0x400011bd40 pc=0x1a60c\nruntime.mPark(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x84 fp=0x400011bdb0 sp=0x400011bd80 pc=0x4b1c4\nruntime.gcstopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2834 +0xe8 fp=0x400011bde0 sp=0x400011bdb0 pc=0x4bee8\nruntime.findRunnable()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2900 +0x4c fp=0x400011bf00 sp=0x400011bde0 pc=0x4c0dc\nruntime.schedule()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:3602 +0x98 fp=0x400011bf40 sp=0x400011bf00 pc=0x4e098\nruntime.mstart1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1606 +0xb8 fp=0x400011bf70 sp=0x400011bf40 pc=0x49908\nruntime.mstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1556 +0x68 fp=0x400011bfa0 sp=0x400011bf70 pc=0x49828\nruntime.netbsdMstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:263 +0x2c fp=0x400011bfe0 sp=0x400011bfa0 pc=0x41e1c\nruntime.netbsdMstart()\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:77 +0x10 fp=0x400011bff0 sp=0x400011bfe0 pc=0x74630\n\ngoroutine 1 [runnable]:\nruntime.gopark(0x1c3e60?, 0x1c15c?, 0x0?, 0x40?, 0x30?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000066d80 sp=0x4000066d60 pc=0x47108\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.semacquire1(0x400000e198, 0xb8?, 0x1, 0x0, 0x8?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sema.go:160 +0x208 fp=0x4000066dd0 sp=0x4000066d80 pc=0x57ba8\nsync.runtime_Semacquire(0x40000021a0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sema.go:62 +0x2c fp=0x4000066e10 sp=0x4000066dd0 pc=0x6ff3c\nsync.(*WaitGroup).Wait(0x400000e190)\n\t/scratch/gobuilder/buildlet/go/src/sync/waitgroup.go:116 +0x74 fp=0x4000066e30 sp=0x4000066e10 pc=0x7d554\nmain.LockOSThreadTemplateThreadRace()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:243 +0xe8 fp=0x4000066e90 sp=0x4000066e30 pc=0xc4f98\nmain.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/main.go:34 +0x11c fp=0x4000066f30 sp=0x4000066e90 pc=0xc518c\nruntime.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:267 +0x2bc fp=0x4000066fd0 sp=0x4000066f30 pc=0x46cdc\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000066fd0 sp=0x4000066fd0 pc=0x73944\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030f90 sp=0x4000030f70 pc=0x47108\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xb8 fp=0x4000030fd0 sp=0x4000030f90 pc=0x46f98\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000030fd0 sp=0x4000030fd0 pc=0x73944\ncreated by runtime.init.6 in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x24\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031760 sp=0x4000031740 pc=0x47108\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa0 fp=0x40000317b0 sp=0x4000031760 pc=0x33170\nruntime.gcenable.gowrap1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x40000317d0 sp=0x40000317b0 pc=0x27918\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000317d0 sp=0x40000317d0 pc=0x73944\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x6c\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x4000052000?, 0x11f1f8?, 0x1?, 0x0?, 0x4000002d00?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031f50 sp=0x4000031f30 pc=0x47108\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1bb880)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x5c fp=0x4000031f80 sp=0x4000031f50 pc=0x30a0c\nruntime.bgscavenge(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x44 fp=0x4000031fb0 sp=0x4000031f80 pc=0x30f54\nruntime.gcenable.gowrap2()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x4000031fd0 sp=0x4000031fb0 pc=0x278b8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000031fd0 sp=0x4000031fd0 pc=0x73944\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xac\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x40000305d8?, 0x23684?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030580 sp=0x4000030560 pc=0x47108\nruntime.runfinq()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x108 fp=0x40000307d0 sp=0x4000030580 pc=0x26a08\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000307d0 sp=0x40000307d0 pc=0x73944\ncreated by runtime.createfing in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x80\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:200 +0x8 fp=0x4000094890 sp=0x4000094880 pc=0x715c8\nruntime.stopTheWorld(0x7)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xc4 fp=0x40000948f0 sp=0x4000094890 pc=0x49024\nruntime.ReadMemStats(0x4000094938)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x28 fp=0x4000094920 sp=0x40000948f0 pc=0x3f428\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x4c fp=0x4000095fd0 sp=0x4000094920 pc=0xc8a7c\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000095fd0 sp=0x4000095fd0 pc=0x73944\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2c\n\nr0      0x4\nr1      0x0\nr2      0x0\nr3      0x0\nr4      0x4000037ad0\nr5      0x0\nr6      0x2\nr7      0x1\nr8      0x400011a000\nr9      0x40000561a0\nr10     0x0\nr11     0x0\nr12     0x56\nr13     0x13\nr14     0x2\nr15     0x11\nr16     0x400011a3a0\nr17     0x400011be60\nr18     0x0\nr19     0x0\nr20     0x400011bde0\nr21     0x4000000120\nr22     0x0\nr23     0x0\nr24     0x0\nr25     0x0\nr26     0x102940\nr27     0xffffffffffffffa0\nr28     0x40000561a0\nr29     0x400011bcd8\nlr      0x41a0c\nsp      0x400011bce0\npc      0x7466c\nfault   0xf14\n"
2023-09-07 01:59 netbsd-386-9_3 go@3466e573 runtime.TestGoroutineParallelism (log)
SIGQUIT: quit
PC=0x80c4107 m=19 sigcode=0

eax    0x4
ebx    0x0
ecx    0x8ab7d00
edx    0x8b0a700
edi    0x8719cd8
esi    0xd
ebp    0x4
esp    0xb17dfe0c
eip    0x80c4107
eflags 0x247
cs     0x17
fs     0xab
gs     0xb3
*** Test killed with quit: ran too long (6m0s).

runtime.systemstack_switch()
	/tmp/workdir/go/src/runtime/asm_386.s:341 fp=0x8e43ef4 sp=0x8e43ef0 pc=0x80c1b30
runtime.stopTheWorld(0x9)
	/tmp/workdir/go/src/runtime/proc.go:1262 +0xc7 fp=0x8e43f1c sp=0x8e43ef4 pc=0x808c027
runtime.stopTheWorldGC(0x9)
	/tmp/workdir/go/src/runtime/proc.go:1310 +0x45 fp=0x8e43f34 sp=0x8e43f1c pc=0x808c1b5
runtime.GOMAXPROCS(0x3)
	/tmp/workdir/go/src/runtime/debug.go:28 +0x5f fp=0x8e43f40 sp=0x8e43f34 pc=0x8051eaf
runtime_test.TestGoroutineParallelism(0x8bb21e0)
	/tmp/workdir/go/src/runtime/proc_test.go:117 +0xdb fp=0x8e43f98 sp=0x8e43f40 pc=0x838ec6b
testing.tRunner(0x8bb21e0, 0x84902f4)
2023-09-07 13:18 netbsd-386-9_3 go@660620dd runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (138.85s)
    proc_test.go:1022: /tmp/workdir/tmp/go-build1726040129/testprog.exe LockOSThreadTemplateThreadRace (15.434ms): ok
    exec.go:190: test timed out while running command: /tmp/workdir/tmp/go-build1726040129/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /tmp/workdir/tmp/go-build1726040129/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 1: want "OK\n", got "SIGQUIT: quit\nPC=0x80ad9e7 m=7 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x84809e0, 0x0)\n\t/tmp/workdir/go/src/runtime/sys_netbsd_386.s:404 +0x7 fp=0x8517e6c sp=0x8517e68 pc=0x80ad9e7\nruntime.semasleep(0xffffffffffffffff)\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:183 +0x24c fp=0x8517eb4 sp=0x8517e6c pc=0x807c4dc\nruntime.notesleep(0x84807d8)\n\t/tmp/workdir/go/src/runtime/lock_sema.go:181 +0x82 fp=0x8517ed0 sp=0x8517eb4 pc=0x8052432\nruntime.mPark(...)\n\t/tmp/workdir/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2535 +0x97 fp=0x8517ee4 sp=0x8517ed0 pc=0x8085557\nruntime.gcstopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2834 +0xce fp=0x8517efc sp=0x8517ee4 pc=0x80860be\nruntime.findRunnable()\n\t/tmp/workdir/go/src/runtime/proc.go:2900 +0x5a fp=0x8517fa8 sp=0x8517efc pc=0x808629a\nruntime.schedule()\n\t/tmp/workdir/go/src/runtime/proc.go:3602 +0xb1 fp=0x8517fc4 sp=0x8517fa8 pc=0x8088191\nruntime.mstart1()\n\t/tmp/workdir/go/src/runtime/proc.go:1606 +0xa7 fp=0x8517fd4 sp=0x8517fc4 pc=0x8083fc7\nruntime.mstart0()\n\t/tmp/workdir/go/src/runtime/proc.go:1556 +0x54 fp=0x8517fe4 sp=0x8517fd4 pc=0x8083f04\nruntime.netbsdMstart0()\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:263 +0x34 fp=0x8517ffc sp=0x8517fe4 pc=0x807c934\nruntime.netbsdMstart()\n\t/tmp/workdir/go/src/runtime/sys_netbsd_386.s:364 +0x5 fp=0x8518000 sp=0x8517ffc pc=0x80ad985\n\ngoroutine 1 [semacquire]:\nruntime.gopark(0x8130b64, 0x81dc820, 0x12, 0x19, 0x4)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432664 sp=0x8432650 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.semacquire1(0x84bc008, 0x0, 0x1, 0x0, 0x12)\n\t/tmp/workdir/go/src/runtime/sema.go:160 +0x287 fp=0x8432694 sp=0x8432664 pc=0x8091f27\nsync.runtime_Semacquire(0x84bc008)\n\t/tmp/workdir/go/src/runtime/sema.go:62 +0x35 fp=0x84326ac sp=0x8432694 pc=0x80aa6c5\nsync.(*WaitGroup).Wait(0x84bc000)\n\t/tmp/workdir/go/src/sync/waitgroup.go:116 +0x5f fp=0x84326c8 sp=0x84326ac pc=0x80b558f\nmain.LockOSThreadTemplateThreadRace()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:243 +0x131 fp=0x8432734 sp=0x84326c8 pc=0x8100331\nmain.main()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/main.go:34 +0x148 fp=0x84327a4 sp=0x8432734 pc=0x8100548\nruntime.main()\n\t/tmp/workdir/go/src/runtime/proc.go:267 +0x2bf fp=0x84327f0 sp=0x84327a4 pc=0x808158f\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84327f4 sp=0x84327f0 pc=0x80ac931\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x8130b64, 0x81d7870, 0x11, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432fdc sp=0x8432fc8 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/tmp/workdir/go/src/runtime/proc.go:322 +0xc7 fp=0x8432ff0 sp=0x8432fdc pc=0x8081887\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8432ff4 sp=0x8432ff0 pc=0x80ac931\ncreated by runtime.init.5 in goroutine 1\n\t/tmp/workdir/go/src/runtime/proc.go:310 +0x1d\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x8130b64, 0x81d79e0, 0xc, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x84337cc sp=0x84337b8 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.bgsweep(0x841a040)\n\t/tmp/workdir/go/src/runtime/mgcsweep.go:280 +0x8f fp=0x84337e8 sp=0x84337cc pc=0x806ca1f\nruntime.gcenable.gowrap1()\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x21 fp=0x84337f0 sp=0x84337e8 pc=0x805e961\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84337f4 sp=0x84337f0 pc=0x80ac931\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x71\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x8130b64, 0x81d7a40, 0xd, 0x14, 0x2)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8433fb8 sp=0x8433fa4 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x81d7a40)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:425 +0x54 fp=0x8433fcc sp=0x8433fb8 pc=0x8069f44\nruntime.bgscavenge(0x841a040)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:653 +0x45 fp=0x8433fe8 sp=0x8433fcc pc=0x806a585\nruntime.gcenable.gowrap2()\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0x21 fp=0x8433ff0 sp=0x8433fe8 pc=0x805e921\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8433ff4 sp=0x8433ff0 pc=0x80ac931\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0xb1\n\ngoroutine 17 [finalizer wait]:\nruntime.gopark(0x8130a1c, 0x81e9cf8, 0x10, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x842e798 sp=0x842e784 pc=0x8081a1a\nruntime.runfinq()\n\t/tmp/workdir/go/src/runtime/mfinal.go:193 +0xf0 fp=0x842e7f0 sp=0x842e798 pc=0x805daf0\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x842e7f4 sp=0x842e7f0 pc=0x80ac931\ncreated by runtime.createfing in goroutine 1\n\t/tmp/workdir/go/src/runtime/mfinal.go:163 +0x5a\n\ngoroutine 18 [stopping the world]:\nruntime.systemstack_switch()\n\t/tmp/workdir/go/src/runtime/asm_386.s:341 fp=0x8442a18 sp=0x8442a14 pc=0x80ab5f0\nruntime.stopTheWorld(0x7)\n\t/tmp/workdir/go/src/runtime/proc.go:1262 +0xc7 fp=0x8442a40 sp=0x8442a18 pc=0x80837b7\nruntime.ReadMemStats(0x8442a54)\n\t/tmp/workdir/go/src/runtime/mstats.go:361 +0x1e fp=0x8442a50 sp=0x8442a40 pc=0x80792ae\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x34 fp=0x8443ff0 sp=0x8442a50 pc=0x81045f4\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8443ff4 sp=0x8443ff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2d\n\ngoroutine 20 [runnable, locked to thread]:\nruntime.Gosched(...)\n\t/tmp/workdir/go/src/runtime/proc.go:338\nmain.LockOSThreadTemplateThreadRace.func2()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:238 +0x7b fp=0x842fff0 sp=0x842ffa4 pc=0x81003db\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x842fff4 sp=0x842fff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:229 +0xae\n\ngoroutine 21 [runnable]:\nmain.LockOSThreadTemplateThreadRace.func2.1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 fp=0x84347f0 sp=0x84347ec pc=0x8104600\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84347f4 sp=0x84347f0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace.func2 in goroutine 19\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 +0x67\n\ngoroutine 33 [runnable]:\nmain.LockOSThreadTemplateThreadRace.func2.1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 fp=0x8504ff0 sp=0x8504fec pc=0x8104600\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8504ff4 sp=0x8504ff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace.func2 in goroutine 20\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 +0x67\n\neax    0x4\nebx    0x0\necx    0x8482800\nedx    0x8480700\nedi    0x8517fb4\nesi    0x8\nebp    0x2\nesp    0x8517e68\neip    0x80ad9e7\neflags 0x247\ncs     0x17\nfs     0xab\ngs     0xb3\n"
2023-09-07 13:18 netbsd-arm-bsiegert go@660620dd runtime.TestGoroutineProfileTrivial (log)
SIGQUIT: quit
PC=0x9a7e8 m=19 sigcode=0

trap    0x0
error   0x0
oldmask 0x0
r0      0x4
r1      0x0
r2      0x0
r3      0x0
...
	/var/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xd4 fp=0x14b96cc sp=0x14b96a0 pc=0x5b660
runtime.goroutineProfileWithLabelsConcurrent({0x0, 0x0, 0x0}, {0x0, 0x0, 0x0})
	/var/gobuilder/buildlet/go/src/runtime/mprof.go:905 +0x50 fp=0x14b970c sp=0x14b96cc pc=0x4c458
runtime.goroutineProfileWithLabels({0x0, 0x0, 0x0}, {0x0, 0x0, 0x0})
	/var/gobuilder/buildlet/go/src/runtime/mprof.go:854 +0x80 fp=0x14b9730 sp=0x14b970c pc=0x4c3e8
runtime.GoroutineProfile(...)
	/var/gobuilder/buildlet/go/src/runtime/mprof.go:1173
runtime_test.TestGoroutineProfileTrivial(0x11252c0)
	/var/gobuilder/buildlet/go/src/runtime/runtime_test.go:353 +0x4c fp=0x14b9794 sp=0x14b9730 pc=0x3a2afc
testing.tRunner(0x11252c0, 0x48d240)
2023-09-07 15:14 netbsd-amd64-9_3 go@fb5bdb4c runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (135.31s)
    proc_test.go:1022: /tmp/workdir/tmp/go-build930327044/testprog.exe LockOSThreadTemplateThreadRace (296.944444ms): ok
    proc_test.go:1022: /tmp/workdir/tmp/go-build930327044/testprog.exe LockOSThreadTemplateThreadRace (50.770419ms): ok
    exec.go:190: test timed out while running command: /tmp/workdir/tmp/go-build930327044/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /tmp/workdir/tmp/go-build930327044/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 2: want "OK\n", got "SIGQUIT: quit\nPC=0x463fa3 m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0xc00004bad0, 0x0)\n\t/tmp/workdir/go/src/runtime/sys_netbsd_amd64.s:99 +0x23 fp=0xc000059d00 sp=0xc000059cf8 pc=0x463fa3\nruntime.semasleep(0xffffffffffffffff)\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:183 +0x11f fp=0xc000059d60 sp=0xc000059d00 pc=0x431adf\nruntime.notesleep(0x0?)\n\t/tmp/workdir/go/src/runtime/lock_sema.go:181 +0x75 fp=0xc000059da0 sp=0xc000059d60 pc=0x40ae55\nruntime.mPark(...)\n\t/tmp/workdir/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2535 +0x8c fp=0xc000059dd0 sp=0xc000059da0 pc=0x43b1cc\nruntime.gcstopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2834 +0xaa fp=0xc000059df8 sp=0xc000059dd0 pc=0x43bd8a\nruntime.findRunnable()\n\t/tmp/workdir/go/src/runtime/proc.go:2900 +0x3f fp=0xc000059f20 sp=0xc000059df8 pc=0x43bf7f\nruntime.schedule()\n\t/tmp/workdir/go/src/runtime/proc.go:3602 +0xb1 fp=0xc000059f58 sp=0xc000059f20 pc=0x43da31\nruntime.mstart1()\n\t/tmp/workdir/go/src/runtime/proc.go:1606 +0xcd fp=0xc000059f80 sp=0xc000059f58 pc=0x439c6d\nruntime.mstart0()\n\t/tmp/workdir/go/src/runtime/proc.go:1556 +0x76 fp=0xc000059fb0 sp=0xc000059f80 pc=0x439b76\nruntime.netbsdMstart0()\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:263 +0x45 fp=0xc000059fe8 sp=0xc000059fb0 pc=0x431f85\nruntime.netbsdMstart()\n\t/tmp/workdir/go/src/runtime/sys_netbsd_amd64.s:82 +0x9 fp=0xc000059ff8 sp=0xc000059fe8 pc=0x463f49\n\ngoroutine 1 [semacquire]:\nruntime.gopark(0x5a91a0?, 0xc000012158?, 0x0?, 0x80?, 0x0?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc00007ad88 sp=0xc00007ad68 pc=0x43750e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.semacquire1(0xc000012158, 0x30?, 0x1, 0x0, 0x6b?)\n\t/tmp/workdir/go/src/runtime/sema.go:160 +0x218 fp=0xc00007adf0 sp=0xc00007ad88 pc=0x446eb8\nsync.runtime_Semacquire(0xc000106120?)\n\t/tmp/workdir/go/src/runtime/sema.go:62 +0x25 fp=0xc00007ae28 sp=0xc00007adf0 pc=0x45f165\nsync.(*WaitGroup).Wait(0xc13698e3c4f7b19b?)\n\t/tmp/workdir/go/src/sync/waitgroup.go:116 +0x48 fp=0xc00007ae50 sp=0xc00007ae28 pc=0x46ca28\nmain.LockOSThreadTemplateThreadRace()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:243 +0xec fp=0xc00007aea8 sp=0xc00007ae50 pc=0x4b7eec\nmain.main()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/main.go:34 +0x133 fp=0xc00007af40 sp=0xc00007aea8 pc=0x4b80f3\nruntime.main()\n\t/tmp/workdir/go/src/runtime/proc.go:267 +0x2bb fp=0xc00007afe0 sp=0xc00007af40 pc=0x4370bb\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc00007afe8 sp=0xc00007afe0 pc=0x462841\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000044fa8 sp=0xc000044f88 pc=0x43750e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/tmp/workdir/go/src/runtime/proc.go:322 +0xb3 fp=0xc000044fe0 sp=0xc000044fa8 pc=0x437393\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000044fe8 sp=0xc000044fe0 pc=0x462841\ncreated by runtime.init.6 in goroutine 1\n\t/tmp/workdir/go/src/runtime/proc.go:310 +0x1a\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000045778 sp=0xc000045758 pc=0x43750e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.bgsweep(0x0?)\n\t/tmp/workdir/go/src/runtime/mgcsweep.go:280 +0x94 fp=0xc0000457c8 sp=0xc000045778 pc=0x4234b4\nruntime.gcenable.gowrap1()\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x25 fp=0xc0000457e0 sp=0xc0000457c8 pc=0x418345\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000457e8 sp=0xc0000457e0 pc=0x462841\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x66\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0xc000066000?, 0x50bb88?, 0x1?, 0x0?, 0xc000006d00?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000045f70 sp=0xc000045f50 pc=0x43750e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x5a3900)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc000045fa0 sp=0xc000045f70 pc=0x420da9\nruntime.bgscavenge(0x0?)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0xc000045fc8 sp=0xc000045fa0 pc=0x42133c\nruntime.gcenable.gowrap2()\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0x25 fp=0xc000045fe0 sp=0xc000045fc8 pc=0x4182e5\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000045fe8 sp=0xc000045fe0 pc=0x462841\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0xa5\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x400000?, 0xc000044670?, 0x9c?, 0x1?, 0x5d1d80?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000044628 sp=0xc000044608 pc=0x43750e\nruntime.runfinq()\n\t/tmp/workdir/go/src/runtime/mfinal.go:193 +0x107 fp=0xc0000447e0 sp=0xc000044628 pc=0x4173a7\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000447e8 sp=0xc0000447e0 pc=0x462841\ncreated by runtime.createfing in goroutine 1\n\t/tmp/workdir/go/src/runtime/mfinal.go:163 +0x3d\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc0000948b0 sp=0xc0000948a0 pc=0x4609e8\nruntime.stopTheWorld(0x7)\n\t/tmp/workdir/go/src/runtime/proc.go:1262 +0xc9 fp=0xc000094910 sp=0xc0000948b0 pc=0x439429\nruntime.ReadMemStats(0xc000094940)\n\t/tmp/workdir/go/src/runtime/mstats.go:361 +0x1f fp=0xc000094938 sp=0xc000094910 pc=0x42f73f\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x36 fp=0xc000095fe0 sp=0xc000094938 pc=0x4bb716\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000095fe8 sp=0xc000095fe0 pc=0x462841\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x28\n\ngoroutine 7 [runnable, locked to thread]:\nruntime.Gosched(...)\n\t/tmp/workdir/go/src/runtime/proc.go:338\nmain.LockOSThreadTemplateThreadRace.func2()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:238 +0x72 fp=0xc000046fe0 sp=0xc000046f80 pc=0x4b7f92\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000046fe8 sp=0xc000046fe0 pc=0x462841\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:229 +0x76\n\ngoroutine 17 [runnable]:\nmain.LockOSThreadTemplateThreadRace.func2.1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 fp=0xc0001857e0 sp=0xc0001857d8 pc=0x4bb720\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0001857e8 sp=0xc0001857e0 pc=0x462841\ncreated by main.LockOSThreadTemplateThreadRace.func2 in goroutine 7\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 +0x5f\n\nrax    0x4\nrbx    0x0\nrcx    0x463fa3\nrdx    0x0\nrdi    0x3\nrsi    0x0\nrbp    0xc000059d50\nrsp    0xc000059cf8\nr8     0xc00004bad0\nr9     0x0\nr10    0x0\nr11    0x202\nr12    0xc000059e78\nr13    0x0\nr14    0xc0001221a0\nr15    0x12\nrip    0x463fa3\nrflags 0x203\ncs     0x47\nfs     0x0\ngs     0x0\n"
2023-09-07 16:18 netbsd-386-9_3 go@a35bb44a runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (139.00s)
    proc_test.go:1022: /tmp/workdir/tmp/go-build1293478726/testprog.exe LockOSThreadTemplateThreadRace (128.124888ms): ok
    proc_test.go:1022: /tmp/workdir/tmp/go-build1293478726/testprog.exe LockOSThreadTemplateThreadRace (201.417413ms): ok
    exec.go:190: test timed out while running command: /tmp/workdir/tmp/go-build1293478726/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /tmp/workdir/tmp/go-build1293478726/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 2: want "OK\n", got "SIGQUIT: quit\nPC=0x80ad9e7 m=7 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x84370e0, 0x0)\n\t/tmp/workdir/go/src/runtime/sys_netbsd_386.s:404 +0x7 fp=0x8493e6c sp=0x8493e68 pc=0x80ad9e7\nruntime.semasleep(0xffffffffffffffff)\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:183 +0x24c fp=0x8493eb4 sp=0x8493e6c pc=0x807c4dc\nruntime.notesleep(0x8436ed8)\n\t/tmp/workdir/go/src/runtime/lock_sema.go:181 +0x82 fp=0x8493ed0 sp=0x8493eb4 pc=0x8052432\nruntime.mPark(...)\n\t/tmp/workdir/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2535 +0x97 fp=0x8493ee4 sp=0x8493ed0 pc=0x8085557\nruntime.gcstopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2834 +0xce fp=0x8493efc sp=0x8493ee4 pc=0x80860be\nruntime.findRunnable()\n\t/tmp/workdir/go/src/runtime/proc.go:2900 +0x5a fp=0x8493fa8 sp=0x8493efc pc=0x808629a\nruntime.schedule()\n\t/tmp/workdir/go/src/runtime/proc.go:3602 +0xb1 fp=0x8493fc4 sp=0x8493fa8 pc=0x8088191\nruntime.mstart1()\n\t/tmp/workdir/go/src/runtime/proc.go:1606 +0xa7 fp=0x8493fd4 sp=0x8493fc4 pc=0x8083fc7\nruntime.mstart0()\n\t/tmp/workdir/go/src/runtime/proc.go:1556 +0x54 fp=0x8493fe4 sp=0x8493fd4 pc=0x8083f04\nruntime.netbsdMstart0()\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:263 +0x34 fp=0x8493ffc sp=0x8493fe4 pc=0x807c934\nruntime.netbsdMstart()\n\t/tmp/workdir/go/src/runtime/sys_netbsd_386.s:364 +0x5 fp=0x8494000 sp=0x8493ffc pc=0x80ad985\n\ngoroutine 1 [semacquire]:\nruntime.gopark(0x8130b64, 0x81dc820, 0x12, 0x19, 0x4)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432664 sp=0x8432650 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.semacquire1(0x84bc008, 0x0, 0x1, 0x0, 0x12)\n\t/tmp/workdir/go/src/runtime/sema.go:160 +0x287 fp=0x8432694 sp=0x8432664 pc=0x8091f27\nsync.runtime_Semacquire(0x84bc008)\n\t/tmp/workdir/go/src/runtime/sema.go:62 +0x35 fp=0x84326ac sp=0x8432694 pc=0x80aa6c5\nsync.(*WaitGroup).Wait(0x84bc000)\n\t/tmp/workdir/go/src/sync/waitgroup.go:116 +0x5f fp=0x84326c8 sp=0x84326ac pc=0x80b558f\nmain.LockOSThreadTemplateThreadRace()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:243 +0x131 fp=0x8432734 sp=0x84326c8 pc=0x8100331\nmain.main()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/main.go:34 +0x148 fp=0x84327a4 sp=0x8432734 pc=0x8100548\nruntime.main()\n\t/tmp/workdir/go/src/runtime/proc.go:267 +0x2bf fp=0x84327f0 sp=0x84327a4 pc=0x808158f\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84327f4 sp=0x84327f0 pc=0x80ac931\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x8130b64, 0x81d7870, 0x11, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432fdc sp=0x8432fc8 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/tmp/workdir/go/src/runtime/proc.go:322 +0xc7 fp=0x8432ff0 sp=0x8432fdc pc=0x8081887\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8432ff4 sp=0x8432ff0 pc=0x80ac931\ncreated by runtime.init.5 in goroutine 1\n\t/tmp/workdir/go/src/runtime/proc.go:310 +0x1d\n\ngoroutine 3 [GC sweep wai
(... long comment truncated ...)

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime"
2023-09-07 19:09 netbsd-386-9_3 go@9a9aa6e2 runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (137.39s)
    proc_test.go:1022: /tmp/workdir/tmp/go-build1932071960/testprog.exe LockOSThreadTemplateThreadRace (75.941307ms): ok
    proc_test.go:1022: /tmp/workdir/tmp/go-build1932071960/testprog.exe LockOSThreadTemplateThreadRace (44.35115ms): ok
    proc_test.go:1022: /tmp/workdir/tmp/go-build1932071960/testprog.exe LockOSThreadTemplateThreadRace (211.61656ms): ok
    exec.go:190: test timed out while running command: /tmp/workdir/tmp/go-build1932071960/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /tmp/workdir/tmp/go-build1932071960/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 3: want "OK\n", got "SIGQUIT: quit\nPC=0x80ad9e7 m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x8437460, 0x0)\n\t/tmp/workdir/go/src/runtime/sys_netbsd_386.s:404 +0x7 fp=0x8443e6c sp=0x8443e68 pc=0x80ad9e7\nruntime.semasleep(0xffffffffffffffff)\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:183 +0x24c fp=0x8443eb4 sp=0x8443e6c pc=0x807c4dc\nruntime.notesleep(0x8437258)\n\t/tmp/workdir/go/src/runtime/lock_sema.go:181 +0x82 fp=0x8443ed0 sp=0x8443eb4 pc=0x8052432\nruntime.mPark(...)\n\t/tmp/workdir/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2535 +0x97 fp=0x8443ee4 sp=0x8443ed0 pc=0x8085557\nruntime.gcstopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2834 +0xce fp=0x8443efc sp=0x8443ee4 pc=0x80860be\nruntime.findRunnable()\n\t/tmp/workdir/go/src/runtime/proc.go:2900 +0x5a fp=0x8443fa8 sp=0x8443efc pc=0x808629a\nruntime.schedule()\n\t/tmp/workdir/go/src/runtime/proc.go:3602 +0xb1 fp=0x8443fc4 sp=0x8443fa8 pc=0x8088191\nruntime.mstart1()\n\t/tmp/workdir/go/src/runtime/proc.go:1606 +0xa7 fp=0x8443fd4 sp=0x8443fc4 pc=0x8083fc7\nruntime.mstart0()\n\t/tmp/workdir/go/src/runtime/proc.go:1556 +0x54 fp=0x8443fe4 sp=0x8443fd4 pc=0x8083f04\nruntime.netbsdMstart0()\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:263 +0x34 fp=0x8443ffc sp=0x8443fe4 pc=0x807c934\nruntime.netbsdMstart()\n\t/tmp/workdir/go/src/runtime/sys_netbsd_386.s:364 +0x5 fp=0x8444000 sp=0x8443ffc pc=0x80ad985\n\ngoroutine 1 [semacquire]:\nruntime.gopark(0x8130b64, 0x81da220, 0x12, 0x19, 0x4)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432664 sp=0x8432650 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.semacquire1(0x8412158, 0x0, 0x1, 0x0, 0x12)\n\t/tmp/workdir/go/src/runtime/sema.go:160 +0x287 fp=0x8432694 sp=0x8432664 pc=0x8091f27\nsync.runtime_Semacquire(0x8412158)\n\t/tmp/workdir/go/src/runtime/sema.go:62 +0x35 fp=0x84326ac sp=0x8432694 pc=0x80aa6c5\nsync.(*WaitGroup).Wait(0x8412150)\n\t/tmp/workdir/go/src/sync/waitgroup.go:116 +0x5f fp=0x84326c8 sp=0x84326ac pc=0x80b558f\nmain.LockOSThreadTemplateThreadRace()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:243 +0x131 fp=0x8432734 sp=0x84326c8 pc=0x8100331\nmain.main()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/main.go:34 +0x148 fp=0x84327a4 sp=0x8432734 pc=0x8100548\nruntime.main()\n\t/tmp/workdir/go/src/runtime/proc.go:267 +0x2bf fp=0x84327f0 sp=0x84327a4 pc=0x808158f\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84327f4 sp=0x84327f0 pc=0x80ac931\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x8130b64, 0x81d7870, 0x11, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432fdc sp=0x8432fc8 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/tmp/workdir/go/src/runtime/proc.go:322 +0xc7 fp=0x8432ff0 sp=0x8432fdc pc=0x8081887\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8432ff4 sp=0x8432ff0 pc=0x80ac931\ncreated by runtime.init.5 in goroutine 1\n\t/tmp/workdir/go/src/runtime/proc.go:310 +0x1d\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x8130b64, 0x81d79e0, 0xc, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x84337cc sp=0x84337b8 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.bgsweep(0x841a040)\n\t/tmp/workdir/go/src/runtime/mgcsweep.go:280 +0x8f fp=0x84337e8 sp=0x84337cc pc=0x806ca1f\nruntime.gcenable.gowrap1()\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x21 fp=0x84337f0 sp=0x84337e8 pc=0x805e961\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84337f4 sp=0x84337f0 pc=0x80ac931\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x71\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x8130b64, 0x81d7a40, 0xd, 0x14, 0x2)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8433fb8 sp=0x8433fa4 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x81d7a40)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:425 +0x54 fp=0x8433fcc sp=0x8433fb8 pc=0x8069f44\nruntime.bgscavenge(0x841a040)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:653 +0x45 fp=0x8433fe8 sp=0x8433fcc pc=0x806a585\nruntime.gcenable.gowrap2()\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0x21 fp=0x8433ff0 sp=0x8433fe8 pc=0x805e921\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8433ff4 sp=0x8433ff0 pc=0x80ac931\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0xb1\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x8130a1c, 0x81e9cf8, 0x10, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8434798 sp=0x8434784 pc=0x8081a1a\nruntime.runfinq()\n\t/tmp/workdir/go/src/runtime/mfinal.go:193 +0xf0 fp=0x84347f0 sp=0x8434798 pc=0x805daf0\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84347f4 sp=0x84347f0 pc=0x80ac931\ncreated by runtime.createfing in goroutine 1\n\t/tmp/workdir/go/src/runtime/mfinal.go:163 +0x5a\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/tmp/workdir/go/src/runtime/asm_386.s:341 fp=0x8492a18 sp=0x8492a14 pc=0x80ab5f0\nruntime.stopTheWorld(0x7)\n\t/tmp/workdir/go/src/runtime/proc.go:1262 +0xc7 fp=0x8492a40 sp=0x8492a18 pc=0x80837b7\nruntime.ReadMemStats(0x8492a54)\n\t/tmp/workdir/go/src/runtime/mstats.go:361 +0x1e fp=0x8492a50 sp=0x8492a40 pc=0x80792ae\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x34 fp=0x8493ff0 sp=0x8492a50 pc=0x81045f4\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8493ff4 sp=0x8493ff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2d\n\ngoroutine 7 [runnable, locked to thread]:\nruntime.Gosched(...)\n\t/tmp/workdir/go/src/runtime/proc.go:338\nmain.LockOSThreadTemplateThreadRace.func2()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:238 +0x7b fp=0x84357f0 sp=0x84357a4 pc=0x81003db\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84357f4 sp=0x84357f0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:229 +0xae\n\ngoroutine 9 [runnable]:\nmain.LockOSThreadTemplateThreadRace.func2.1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 fp=0x842eff0 sp=0x842efec pc=0x8104600\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x842eff4 sp=0x842eff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace.func2 in goroutine 8\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 +0x67\n\ngoroutine 17 [runnable]:\nmain.LockOSThreadTemplateThreadRace.func2.1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 fp=0x850cff0 sp=0x850cfec pc=0x8104600\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x850cff4 sp=0x850cff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace.func2 in goroutine 7\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 +0x67\n\neax    0x4\nebx    0x0\necx    0x8407300\nedx    0x8437180\nedi    0x8443fb4\nesi    0x7\nebp    0x2\nesp    0x8443e68\neip    0x80ad9e7\neflags 0x247\ncs     0x17\nfs     0xab\ngs     0xb3\n"
panic: test timed out after 3m0s
running tests:
	TestMemmoveOverlapLarge0x120000 (12s)

goroutine 182410 [running]:
panic({0x84069a0, 0x8828040})
	/tmp/workdir/go/src/runtime/panic.go:774 +0x124 fp=0xb0abf84 sp=0xb0abf30 pc=0x8085ad4
testing.(*M).startAlarm.func1()
	/tmp/workdir/go/src/testing/testing.go:2259 +0x386 fp=0xb0abff0 sp=0xb0abf84 pc=0x814db16
runtime.goexit({})
	/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0xb0abff4 sp=0xb0abff0 pc=0x80c2f81
created by time.goFunc
	/tmp/workdir/go/src/time/sleep.go:177 +0x29
2023-09-07 19:11 netbsd-amd64-9_3 go@da7ee57f runtime.TestCgoLockOSThreadExit (log)
--- FAIL: TestCgoLockOSThreadExit (135.54s)
    proc_test.go:983: /tmp/workdir/tmp/go-build1278400085/testprogcgo.exe LockOSThreadMain (29.400208ms): ok
    exec.go:190: test timed out while running command: /tmp/workdir/tmp/go-build1278400085/testprogcgo.exe LockOSThreadAlt
    proc_test.go:989: /tmp/workdir/tmp/go-build1278400085/testprogcgo.exe LockOSThreadAlt: exit status 2
    proc_test.go:991: want "OK\n", got "SIGQUIT: quit\nPC=0x46f0c3 m=7 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0xc000080a50, 0x0)\n\t/tmp/workdir/go/src/runtime/sys_netbsd_amd64.s:99 +0x23 fp=0x75bf76fdfdd8 sp=0x75bf76fdfdd0 pc=0x46f0c3\nruntime.semasleep(0xffffffffffffffff)\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:183 +0x11f fp=0x75bf76fdfe38 sp=0x75bf76fdfdd8 pc=0x43723f\nruntime.notesleep(0x75bf76fdfe98?)\n\t/tmp/workdir/go/src/runtime/lock_sema.go:181 +0x75 fp=0x75bf76fdfe78 sp=0x75bf76fdfe38 pc=0x40f2f5\nruntime.mPark(...)\n\t/tmp/workdir/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2535 +0x8c fp=0x75bf76fdfea8 sp=0x75bf76fdfe78 pc=0x440acc\nruntime.startlockedm(0x0?)\n\t/tmp/workdir/go/src/runtime/proc.go:2807 +0x5e fp=0x75bf76fdfed0 sp=0x75bf76fdfea8 pc=0x44159e\nruntime.schedule()\n\t/tmp/workdir/go/src/runtime/proc.go:3648 +0x6a fp=0x75bf76fdff08 sp=0x75bf76fdfed0 pc=0x4432ea\nruntime.mstart1()\n\t/tmp/workdir/go/src/runtime/proc.go:1606 +0xcd fp=0x75bf76fdff30 sp=0x75bf76fdff08 pc=0x43f4ad\nruntime.mstart0()\n\t/tmp/workdir/go/src/runtime/proc.go:1556 +0x76 fp=0x75bf76fdff60 sp=0x75bf76fdff30 pc=0x43f3b6\nruntime.mstart()\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:394 +0x5 fp=0x75bf76fdff68 sp=0x75bf76fdff60 pc=0x46b8e5\n\ngoroutine 1 [sleep, locked to thread]:\nruntime.gopark(0x9307540d2c?, 0x0?, 0x0?, 0x0?, 0x75bfc0639000?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc00005de38 sp=0xc00005de18 pc=0x43cd4e\ntime.Sleep(0xf4240)\n\t/tmp/workdir/go/src/runtime/time.go:195 +0x115 fp=0xc00005de78 sp=0xc00005de38 pc=0x46a6b5\nmain.LockOSThreadAlt()\n\t/tmp/workdir/go/src/runtime/testdata/testprogcgo/lockosthread.go:98 +0xaf fp=0xc00005dea8 sp=0xc00005de78 pc=0x5196af\nmain.main()\n\t/tmp/workdir/go/src/runtime/testdata/testprogcgo/main.go:34 +0x133 fp=0xc00005df40 sp=0xc00005dea8 pc=0x513453\nruntime.main()\n\t/tmp/workdir/go/src/runtime/proc.go:267 +0x2bb fp=0xc00005dfe0 sp=0xc00005df40 pc=0x43c8db\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc00005dfe8 sp=0xc00005dfe0 pc=0x46d961\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000046fa8 sp=0xc000046f88 pc=0x43cd4e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/tmp/workdir/go/src/runtime/proc.go:322 +0xb3 fp=0xc000046fe0 sp=0xc000046fa8 pc=0x43cbb3\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000046fe8 sp=0xc000046fe0 pc=0x46d961\ncreated by runtime.init.6 in goroutine 1\n\t/tmp/workdir/go/src/runtime/proc.go:310 +0x1a\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000047778 sp=0xc000047758 pc=0x43cd4e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.bgsweep(0x0?)\n\t/tmp/workdir/go/src/runtime/mgcsweep.go:280 +0x94 fp=0xc0000477c8 sp=0xc000047778 pc=0x428154\nruntime.gcenable.gowrap1()\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x25 fp=0xc0000477e0 sp=0xc0000477c8 pc=0x41d0a5\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000477e8 sp=0xc0000477e0 pc=0x46d961\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x66\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0xc000070000?, 0x595820?, 0x1?, 0x0?, 0xc0000071e0?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000047f70 sp=0xc000047f50 pc=0x43cd4e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x870c40)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc000047fa0 sp=0xc000047f70 pc=0x425a49\nruntime.bgscavenge(0x0?)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0xc000047fc8 sp=0xc000047fa0 pc=0x425fdc\nruntime.gcenable.gowrap2()\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0x25 fp=0xc000047fe0 sp=0xc000047fc8 pc=0x41d045\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000047fe8 sp=0xc000047fe0 pc=0x46d961\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0xa5\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x561460?, 0x43de01?, 0x78?, 0x66?, 0x445025?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000046628 sp=0xc000046608 pc=0x43cd4e\nruntime.runfinq()\n\t/tmp/workdir/go/src/runtime/mfinal.go:193 +0x107 fp=0xc0000467e0 sp=0xc000046628 pc=0x41c107\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000467e8 sp=0xc0000467e0 pc=0x46d961\ncreated by runtime.createfing in goroutine 1\n\t/tmp/workdir/go/src/runtime/mfinal.go:163 +0x3d\n\nrax    0x4\nrbx    0x0\nrcx    0x46f0c3\nrdx    0x0\nrdi    0x3\nrsi    0x0\nrbp    0x75bf76fdfe28\nrsp    0x75bf76fdfdd0\nr8     0xc000080a50\nr9     0x0\nr10    0x0\nr11    0x206\nr12    0xc000028500\nr13    0x1\nr14    0xc0000844e0\nr15    0x1\nrip    0x46f0c3\nrflags 0x207\ncs     0x47\nfs     0x0\ngs     0x0\n"
2023-09-07 19:16 netbsd-386-9_3 go@0bbd273e runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (139.33s)
    proc_test.go:1022: /tmp/workdir/tmp/go-build2845864008/testprog.exe LockOSThreadTemplateThreadRace (37.837817ms): ok
    exec.go:190: test timed out while running command: /tmp/workdir/tmp/go-build2845864008/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /tmp/workdir/tmp/go-build2845864008/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 1: want "OK\n", got "SIGQUIT: quit\nPC=0x80ad9e7 m=7 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x85102e0, 0x0)\n\t/tmp/workdir/go/src/runtime/sys_netbsd_386.s:404 +0x7 fp=0x850be6c sp=0x850be68 pc=0x80ad9e7\nruntime.semasleep(0xffffffffffffffff)\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:183 +0x24c fp=0x850beb4 sp=0x850be6c pc=0x807c4dc\nruntime.notesleep(0x85100d8)\n\t/tmp/workdir/go/src/runtime/lock_sema.go:181 +0x82 fp=0x850bed0 sp=0x850beb4 pc=0x8052432\nruntime.mPark(...)\n\t/tmp/workdir/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2535 +0x97 fp=0x850bee4 sp=0x850bed0 pc=0x8085557\nruntime.gcstopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2834 +0xce fp=0x850befc sp=0x850bee4 pc=0x80860be\nruntime.findRunnable()\n\t/tmp/workdir/go/src/runtime/proc.go:2900 +0x5a fp=0x850bfa8 sp=0x850befc pc=0x808629a\nruntime.schedule()\n\t/tmp/workdir/go/src/runtime/proc.go:3602 +0xb1 fp=0x850bfc4 sp=0x850bfa8 pc=0x8088191\nruntime.mstart1()\n\t/tmp/workdir/go/src/runtime/proc.go:1606 +0xa7 fp=0x850bfd4 sp=0x850bfc4 pc=0x8083fc7\nruntime.mstart0()\n\t/tmp/workdir/go/src/runtime/proc.go:1556 +0x54 fp=0x850bfe4 sp=0x850bfd4 pc=0x8083f04\nruntime.netbsdMstart0()\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:263 +0x34 fp=0x850bffc sp=0x850bfe4 pc=0x807c934\nruntime.netbsdMstart()\n\t/tmp/workdir/go/src/runtime/sys_netbsd_386.s:364 +0x5 fp=0x850c000 sp=0x850bffc pc=0x80ad985\n\ngoroutine 1 [runnable]:\nruntime.gopark(0x8130b64, 0x81da220, 0x12, 0x19, 0x4)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432664 sp=0x8432650 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.semacquire1(0x8412158, 0x0, 0x1, 0x0, 0x12)\n\t/tmp/workdir/go/src/runtime/sema.go:160 +0x287 fp=0x8432694 sp=0x8432664 pc=0x8091f27\nsync.runtime_Semacquire(0x8412158)\n\t/tmp/workdir/go/src/runtime/sema.go:62 +0x35 fp=0x84326ac sp=0x8432694 pc=0x80aa6c5\nsync.(*WaitGroup).Wait(0x8412150)\n\t/tmp/workdir/go/src/sync/waitgroup.go:116 +0x5f fp=0x84326c8 sp=0x84326ac pc=0x80b558f\nmain.LockOSThreadTemplateThreadRace()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:243 +0x131 fp=0x8432734 sp=0x84326c8 pc=0x8100331\nmain.main()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/main.go:34 +0x148 fp=0x84327a4 sp=0x8432734 pc=0x8100548\nruntime.main()\n\t/tmp/workdir/go/src/runtime/proc.go:267 +0x2bf fp=0x84327f0 sp=0x84327a4 pc=0x808158f\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84327f4 sp=0x84327f0 pc=0x80ac931\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x8130b64, 0x81d7870, 0x11, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432fdc sp=0x8432fc8 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/tmp/workdir/go/src/runtime/proc.go:322 +0xc7 fp=0x8432ff0 sp=0x8432fdc pc=0x8081887\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8432ff4 sp=0x8432ff0 pc=0x80ac931\ncreated by runtime.init.5 in goroutine 1\n\t/tmp/workdir/go/src/runtime/proc.go:310 +0x1d\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x8130b64, 0x81d79e0, 0xc, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x84337cc sp=0x84337b8 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.bgsweep(0x841a040)\n\t/tmp/workdir/go/src/runtime/mgcsweep.go:280 +0x8f fp=0x84337e8 sp=0x84337cc pc=0x806ca1f\nruntime.gcenable.gowrap1()\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x21 fp=0x84337f0 sp=0x84337e8 pc=0x805e961\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84337f4 sp=0x84337f0 pc=0x80ac931\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x71\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x8130b64, 0x81d7a40, 0xd, 0x14, 0x2)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8433fb8 sp=0x8433fa4 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x81d7a40)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:425 +0x54 fp=0x8433fcc sp=0x8433fb8 pc=0x8069f44\nruntime.bgscavenge(0x841a040)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:653 +0x45 fp=0x8433fe8 sp=0x8433fcc pc=0x806a585\nruntime.gcenable.gowrap2()\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0x21 fp=0x8433ff0 sp=0x8433fe8 pc=0x805e921\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8433ff4 sp=0x8433ff0 pc=0x80ac931\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0xb1\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x8130a1c, 0x81e9cf8, 0x10, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8434798 sp=0x8434784 pc=0x8081a1a\nruntime.runfinq()\n\t/tmp/workdir/go/src/runtime/mfinal.go:193 +0xf0 fp=0x84347f0 sp=0x8434798 pc=0x805daf0\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84347f4 sp=0x84347f0 pc=0x80ac931\ncreated by runtime.createfing in goroutine 1\n\t/tmp/workdir/go/src/runtime/mfinal.go:163 +0x5a\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/tmp/workdir/go/src/runtime/asm_386.s:341 fp=0x8492a18 sp=0x8492a14 pc=0x80ab5f0\nruntime.stopTheWorld(0x7)\n\t/tmp/workdir/go/src/runtime/proc.go:1262 +0xc7 fp=0x8492a40 sp=0x8492a18 pc=0x80837b7\nruntime.ReadMemStats(0x8492a54)\n\t/tmp/workdir/go/src/runtime/mstats.go:361 +0x1e fp=0x8492a50 sp=0x8492a40 pc=0x80792ae\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x34 fp=0x8493ff0 sp=0x8492a50 pc=0x81045f4\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8493ff4 sp=0x8493ff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2d\n\neax    0x4\nebx    0x0\necx    0x8512100\nedx    0x8510000\nedi    0x850bfb4\nesi    0x7\nebp    0x3\nesp    0x850be68\neip    0x80ad9e7\neflags 0x247\ncs     0x17\nfs     0xab\ngs     0xb3\n"
2023-09-07 19:17 netbsd-arm64-bsiegert go@2b46cffe runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1569.26s)
    exec.go:190: test timed out while running command: /scratch/gobuilder/buildlet/tmp/go-build2621819932/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build2621819932/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 0: want "OK\n", got "OK\nSIGQUIT: quit\nPC=0x7464c m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x4000080a50, 0x0)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:92 +0x1c fp=0x400018fce0 sp=0x400018fce0 pc=0x7464c\nruntime.semasleep(0xffffffffffffffff)\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x12c fp=0x400018fd40 sp=0x400018fce0 pc=0x419ec\nruntime.notesleep(0x4000080580?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0xac fp=0x400018fd80 sp=0x400018fd40 pc=0x1a5ec\nruntime.mPark(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x84 fp=0x400018fdb0 sp=0x400018fd80 pc=0x4b1a4\nruntime.gcstopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2834 +0xe8 fp=0x400018fde0 sp=0x400018fdb0 pc=0x4bec8\nruntime.findRunnable()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2900 +0x4c fp=0x400018ff00 sp=0x400018fde0 pc=0x4c0bc\nruntime.schedule()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:3602 +0x98 fp=0x400018ff40 sp=0x400018ff00 pc=0x4e078\nruntime.mstart1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1606 +0xb8 fp=0x400018ff70 sp=0x400018ff40 pc=0x498e8\nruntime.mstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1556 +0x68 fp=0x400018ffa0 sp=0x400018ff70 pc=0x49808\nruntime.netbsdMstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:263 +0x2c fp=0x400018ffe0 sp=0x400018ffa0 pc=0x41dfc\nruntime.netbsdMstart()\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:77 +0x10 fp=0x400018fff0 sp=0x400018ffe0 pc=0x74610\n\ngoroutine 1 [runnable]:\nruntime.runExitHooks(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/exithook.go:41 +0x13c fp=0x4000066f30 sp=0x4000066f30 pc=0x185bc\nruntime.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:289 +0x320 fp=0x4000066fd0 sp=0x4000066f30 pc=0x46d20\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000066fd0 sp=0x4000066fd0 pc=0x73924\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030f90 sp=0x4000030f70 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xb8 fp=0x4000030fd0 sp=0x4000030f90 pc=0x46f78\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000030fd0 sp=0x4000030fd0 pc=0x73924\ncreated by runtime.init.6 in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x24\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031760 sp=0x4000031740 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa0 fp=0x40000317b0 sp=0x4000031760 pc=0x33150\nruntime.gcenable.gowrap1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x40000317d0 sp=0x40000317b0 pc=0x278f8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000317d0 sp=0x40000317d0 pc=0x73924\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x6c\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x4000052000?, 0x11f0c8?, 0x1?, 0x0?, 0x4000002d00?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031f50 sp=0x4000031f30 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1bb880)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x5c fp=0x4000031f80 sp=0x4000031f50 pc=0x309ec\nruntime.bgscavenge(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x44 fp=0x4000031fb0 sp=0x4000031f80 pc=0x30f34\nruntime.gcenable.gowrap2()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x4000031fd0 sp=0x4000031fb0 pc=0x27898\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000031fd0 sp=0x4000031fd0 pc=0x73924\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xac\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x40000305d8?, 0x23664?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030580 sp=0x4000030560 pc=0x470e8\nruntime.runfinq()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x108 fp=0x40000307d0 sp=0x4000030580 pc=0x269e8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000307d0 sp=0x40000307d0 pc=0x73924\ncreated by runtime.createfing in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x80\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:200 +0x8 fp=0x4000094890 sp=0x4000094880 pc=0x715a8\nruntime.stopTheWorld(0x7)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xc4 fp=0x40000948f0 sp=0x4000094890 pc=0x49004\nruntime.ReadMemStats(0x4000094938)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x28 fp=0x4000094920 sp=0x40000948f0 pc=0x3f408\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x4c fp=0x4000095fd0 sp=0x4000094920 pc=0xc894c\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000095fd0 sp=0x4000095fd0 pc=0x73924\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2c\n\nr0      0x4\nr1      0x0\nr2      0x0\nr3      0x0\nr4      0x4000080a50\nr5      0x0\nr6      0x2\nr7      0x1\nr8      0x400018e000\nr9      0x0\nr10     0x0\nr11     0x0\nr12     0x84\nr13     0x13\nr14     0x4\nr15     0x11\nr16     0x400018e3a0\nr17     0x400018fe60\nr18     0x0\nr19     0x0\nr20     0x400018fde0\nr21     0x4000000120\nr22     0x0\nr23     0x0\nr24     0x0\nr25     0x0\nr26     0x102818\nr27     0xffffffffffffffe0\nr28     0x40000844e0\nr29     0x400018fcd8\nlr      0x419ec\nsp      0x400018fce0\npc      0x7464c\nfault   0x5e0\n"
2023-09-07 19:20 netbsd-amd64-9_3 go@d80f3966 runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (136.41s)
    proc_test.go:1022: /tmp/workdir/tmp/go-build4007976664/testprog.exe LockOSThreadTemplateThreadRace (95.802498ms): ok
    proc_test.go:1022: /tmp/workdir/tmp/go-build4007976664/testprog.exe LockOSThreadTemplateThreadRace (133.426077ms): ok
    exec.go:190: test timed out while running command: /tmp/workdir/tmp/go-build4007976664/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /tmp/workdir/tmp/go-build4007976664/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 2: want "OK\n", got "SIGQUIT: quit\nPC=0x463fa3 m=7 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0xc000080a50, 0x0)\n\t/tmp/workdir/go/src/runtime/sys_netbsd_amd64.s:99 +0x23 fp=0xc000117d00 sp=0xc000117cf8 pc=0x463fa3\nruntime.semasleep(0xffffffffffffffff)\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:183 +0x11f fp=0xc000117d60 sp=0xc000117d00 pc=0x431adf\nruntime.notesleep(0x0?)\n\t/tmp/workdir/go/src/runtime/lock_sema.go:181 +0x75 fp=0xc000117da0 sp=0xc000117d60 pc=0x40ae55\nruntime.mPark(...)\n\t/tmp/workdir/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2535 +0x8c fp=0xc000117dd0 sp=0xc000117da0 pc=0x43b1cc\nruntime.gcstopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2834 +0xaa fp=0xc000117df8 sp=0xc000117dd0 pc=0x43bd8a\nruntime.findRunnable()\n\t/tmp/workdir/go/src/runtime/proc.go:2900 +0x3f fp=0xc000117f20 sp=0xc000117df8 pc=0x43bf7f\nruntime.schedule()\n\t/tmp/workdir/go/src/runtime/proc.go:3602 +0xb1 fp=0xc000117f58 sp=0xc000117f20 pc=0x43da31\nruntime.mstart1()\n\t/tmp/workdir/go/src/runtime/proc.go:1606 +0xcd fp=0xc000117f80 sp=0xc000117f58 pc=0x439c6d\nruntime.mstart0()\n\t/tmp/workdir/go/src/runtime/proc.go:1556 +0x76 fp=0xc000117fb0 sp=0xc000117f80 pc=0x439b76\nruntime.netbsdMstart0()\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:263 +0x45 fp=0xc000117fe8 sp=0xc000117fb0 pc=0x431f85\nruntime.netbsdMstart()\n\t/tmp/workdir/go/src/runtime/sys_netbsd_amd64.s:82 +0x9 fp=0xc000117ff8 sp=0xc000117fe8 pc=0x463f49\n\ngoroutine 1 [semacquire]:\nruntime.gopark(0x439429?, 0x0?, 0x0?, 0x80?, 0x4186d6?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc00009cd88 sp=0xc00009cd68 pc=0x43750e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.semacquire1(0xc0000cc008, 0x30?, 0x1, 0x0, 0x6b?)\n\t/tmp/workdir/go/src/runtime/sema.go:160 +0x218 fp=0xc00009cdf0 sp=0xc00009cd88 pc=0x446eb8\nsync.runtime_Semacquire(0xc0000b0120?)\n\t/tmp/workdir/go/src/runtime/sema.go:62 +0x25 fp=0xc00009ce28 sp=0xc00009cdf0 pc=0x45f165\nsync.(*WaitGroup).Wait(0xc136a6f62848a740?)\n\t/tmp/workdir/go/src/sync/waitgroup.go:116 +0x48 fp=0xc00009ce50 sp=0xc00009ce28 pc=0x46ca28\nmain.LockOSThreadTemplateThreadRace()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:243 +0xec fp=0xc00009cea8 sp=0xc00009ce50 pc=0x4b7eec\nmain.main()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/main.go:34 +0x133 fp=0xc00009cf40 sp=0xc00009cea8 pc=0x4b80f3\nruntime.main()\n\t/tmp/workdir/go/src/runtime/proc.go:267 +0x2bb fp=0xc00009cfe0 sp=0xc00009cf40 pc=0x4370bb\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc00009cfe8 sp=0xc00009cfe0 pc=0x462841\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000044fa8 sp=0xc000044f88 pc=0x43750e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/tmp/workdir/go/src/runtime/proc.go:322 +0xb3 fp=0xc000044fe0 sp=0xc000044fa8 pc=0x437393\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000044fe8 sp=0xc000044fe0 pc=0x462841\ncreated by runtime.init.6 in goroutine 1\n\t/tmp/workdir/go/src/runtime/proc.go:310 +0x1a\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000045778 sp=0xc000045758 pc=0x43750e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.bgsweep(0x0?)\n\t/tmp/workdir/go/src/runtime/mgcsweep.go:280 +0x94 fp=0xc0000457c8 sp=0xc000045778 pc=0x4234b4\nruntime.gcenable.gowrap1()\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x25 fp=0xc0000457e0 sp=0xc0000457c8 pc=0x418345\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000457e8 sp=0xc0000457e0 pc=0x462841\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x66\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0xc000066000?, 0x50bbb0?, 0x1?, 0x0?, 0xc000006d00?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000045f70 sp=0xc000045f50 pc=0x43750e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x5a3900)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc000045fa0 sp=0xc000045f70 pc=0x420da9\nruntime.bgscavenge(0x0?)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0xc000045fc8 sp=0xc000045fa0 pc=0x42133c\nruntime.gcenable.gowrap2()\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0x25 fp=0xc000045fe0 sp=0xc000045fc8 pc=0x4182e5\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000045fe8 sp=0xc000045fe0 pc=0x462841\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0xa5\n\ngoroutine 17 [finalizer wait]:\nruntime.gopark(0x400000?, 0xc000044670?, 0x9c?, 0x1?, 0x5d1d80?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000044628 sp=0xc000044608 pc=0x43750e\nruntime.runfinq()\n\t/tmp/workdir/go/src/runtime/mfinal.go:193 +0x107 fp=0xc0000447e0 sp=0xc000044628 pc=0x4173a7\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000447e8 sp=0xc0000447e0 pc=0x462841\ncreated by runtime.createfing in goroutine 1\n\t/tmp/workdir/go/src/runtime/mfinal.go:163 +0x3d\n\ngoroutine 18 [stopping the world]:\nruntime.systemstack_switch()\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc0000588b0 sp=0xc0000588a0 pc=0x4609e8\nruntime.stopTheWorld(0x7)\n\t/tmp/workdir/go/src/runtime/proc.go:1262 +0xc9 fp=0xc000058910 sp=0xc0000588b0 pc=0x439429\nruntime.ReadMemStats(0xc000058940)\n\t/tmp/workdir/go/src/runtime/mstats.go:361 +0x1f fp=0xc000058938 sp=0xc000058910 pc=0x42f73f\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x36 fp=0xc000059fe0 sp=0xc000058938 pc=0x4bb716\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000059fe8 sp=0xc000059fe0 pc=0x462841\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x28\n\ngoroutine 20 [runnable, locked to thread]:\nruntime.Gosched(...)\n\t/tmp/workdir/go/src/runtime/proc.go:338\nmain.LockOSThreadTemplateThreadRace.func2()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:238 +0x72 fp=0xc0000417e0 sp=0xc000041780 pc=0x4b7f92\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000417e8 sp=0xc0000417e0 pc=0x462841\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:229 +0x76\n\ngoroutine 33 [runnable]:\nmain.LockOSThreadTemplateThreadRace.func2.1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 fp=0xc0001057e0 sp=0xc0001057d8 pc=0x4bb720\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0001057e8 sp=0xc0001057e0 pc=0x462841\ncreated by main.LockOSThreadTemplateThreadRace.func2 in goroutine 20\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 +0x5f\n\nrax    0x4\nrbx    0x0\nrcx    0x463fa3\nrdx    0x0\nrdi    0x3\nrsi    0x0\nrbp    0xc000117d50\nrsp    0xc000117cf8\nr8     0xc000080a50\nr9     0x0\nr10    0x0\nr11    0x206\nr12    0xc000117e78\nr13    0x0\nr14    0xc000084ea0\nr15    0xd\nrip    0x463fa3\nrflags 0x207\ncs     0x47\nfs     0x0\ngs     0x0\n"
2023-09-07 19:20 netbsd-amd64-9_3 go@d80f3966 runtime.TestCgoLockOSThreadExit (log)
--- FAIL: TestCgoLockOSThreadExit (10.28s)
    proc_test.go:983: /tmp/workdir/tmp/go-build4007976664/testprogcgo.exe LockOSThreadMain (32.611405ms): ok
    exec.go:190: test timed out while running command: /tmp/workdir/tmp/go-build4007976664/testprogcgo.exe LockOSThreadAlt
    proc_test.go:989: /tmp/workdir/tmp/go-build4007976664/testprogcgo.exe LockOSThreadAlt: exit status 2
    proc_test.go:991: want "OK\n", got "SIGQUIT: quit\nPC=0x46f663 m=7 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.kevent(0x3, 0x0, 0x0, 0x7948e73ff390, 0x40, 0x7948e73ff360)\n\t/tmp/workdir/go/src/runtime/sys_netbsd_amd64.s:429 +0x23 fp=0x7948e73ff308 sp=0x7948e73ff300 pc=0x46f663\nruntime.netpoll(0xc000024000?)\n\t/tmp/workdir/go/src/runtime/netpoll_kqueue.go:141 +0xfd fp=0x7948e73ffda8 sp=0x7948e73ff308 pc=0x436c5d\nruntime.findRunnable()\n\t/tmp/workdir/go/src/runtime/proc.go:3208 +0x851 fp=0x7948e73ffed0 sp=0x7948e73ffda8 pc=0x442091\nruntime.schedule()\n\t/tmp/workdir/go/src/runtime/proc.go:3602 +0xb1 fp=0x7948e73fff08 sp=0x7948e73ffed0 pc=0x443331\nruntime.mstart1()\n\t/tmp/workdir/go/src/runtime/proc.go:1606 +0xcd fp=0x7948e73fff30 sp=0x7948e73fff08 pc=0x43f4ad\nruntime.mstart0()\n\t/tmp/workdir/go/src/runtime/proc.go:1556 +0x76 fp=0x7948e73fff60 sp=0x7948e73fff30 pc=0x43f3b6\nruntime.mstart()\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:394 +0x5 fp=0x7948e73fff68 sp=0x7948e73fff60 pc=0x46b8e5\n\ngoroutine 1 [sleep, locked to thread]:\nruntime.gopark(0x82ffa6bbf1?, 0x0?, 0x0?, 0x0?, 0x7949310c0000?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc00005de38 sp=0xc00005de18 pc=0x43cd4e\ntime.Sleep(0xf4240)\n\t/tmp/workdir/go/src/runtime/time.go:195 +0x115 fp=0xc00005de78 sp=0xc00005de38 pc=0x46a6b5\nmain.LockOSThreadAlt()\n\t/tmp/workdir/go/src/runtime/testdata/testprogcgo/lockosthread.go:98 +0xaf fp=0xc00005dea8 sp=0xc00005de78 pc=0x5196af\nmain.main()\n\t/tmp/workdir/go/src/runtime/testdata/testprogcgo/main.go:34 +0x133 fp=0xc00005df40 sp=0xc00005dea8 pc=0x513453\nruntime.main()\n\t/tmp/workdir/go/src/runtime/proc.go:267 +0x2bb fp=0xc00005dfe0 sp=0xc00005df40 pc=0x43c8db\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc00005dfe8 sp=0xc00005dfe0 pc=0x46d961\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000046fa8 sp=0xc000046f88 pc=0x43cd4e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/tmp/workdir/go/src/runtime/proc.go:322 +0xb3 fp=0xc000046fe0 sp=0xc000046fa8 pc=0x43cbb3\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000046fe8 sp=0xc000046fe0 pc=0x46d961\ncreated by runtime.init.6 in goroutine 1\n\t/tmp/workdir/go/src/runtime/proc.go:310 +0x1a\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000047778 sp=0xc000047758 pc=0x43cd4e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.bgsweep(0x0?)\n\t/tmp/workdir/go/src/runtime/mgcsweep.go:280 +0x94 fp=0xc0000477c8 sp=0xc000047778 pc=0x428154\nruntime.gcenable.gowrap1()\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x25 fp=0xc0000477e0 sp=0xc0000477c8 pc=0x41d0a5\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000477e8 sp=0xc0000477e0 pc=0x46d961\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x66\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0xc000070000?, 0x595820?, 0x1?, 0x0?, 0xc0000071e0?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000047f70 sp=0xc000047f50 pc=0x43cd4e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x870c40)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc000047fa0 sp=0xc000047f70 pc=0x425a49\nruntime.bgscavenge(0x0?)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0xc000047fc8 sp=0xc000047fa0 pc=0x425fdc\nruntime.gcenable.gowrap2()\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0x25 fp=0xc000047fe0 sp=0xc000047fc8 pc=0x41d045\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000047fe8 sp=0xc000047fe0 pc=0x46d961\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0xa5\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x561460?, 0x43de01?, 0x78?, 0x66?, 0x445025?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000046628 sp=0xc000046608 pc=0x43cd4e\nruntime.runfinq()\n\t/tmp/workdir/go/src/runtime/mfinal.go:193 +0x107 fp=0xc0000467e0 sp=0xc000046628 pc=0x41c107\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000467e8 sp=0xc0000467e0 pc=0x46d961\ncreated by runtime.createfing in goroutine 1\n\t/tmp/workdir/go/src/runtime/mfinal.go:163 +0x3d\n\nrax    0x4\nrbx    0x0\nrcx    0x46f663\nrdx    0x0\nrdi    0x3\nrsi    0x0\nrbp    0x7948e73ffd98\nrsp    0x7948e73ff300\nr8     0x40\nr9     0x7948e73ff360\nr10    0x7948e73ff390\nr11    0x246\nr12    0x7948e73ff388\nr13    0x1\nr14    0xc0001241a0\nr15    0x3\nrip    0x46f663\nrflags 0x247\ncs     0x47\nfs     0x0\ngs     0x0\n"
2023-09-07 19:20 netbsd-arm64-bsiegert go@d80f3966 runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1570.33s)
    exec.go:190: test timed out while running command: /scratch/gobuilder/buildlet/tmp/go-build1569754124/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build1569754124/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 0: want "OK\n", got "SIGQUIT: quit\nPC=0x7464c m=7 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x4000037ad0, 0x0)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:92 +0x1c fp=0x40000a1ce0 sp=0x40000a1ce0 pc=0x7464c\nruntime.semasleep(0xffffffffffffffff)\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x12c fp=0x40000a1d40 sp=0x40000a1ce0 pc=0x419ec\nruntime.notesleep(0x4000037600?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0xac fp=0x40000a1d80 sp=0x40000a1d40 pc=0x1a5ec\nruntime.mPark(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x84 fp=0x40000a1db0 sp=0x40000a1d80 pc=0x4b1a4\nruntime.gcstopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2834 +0xe8 fp=0x40000a1de0 sp=0x40000a1db0 pc=0x4bec8\nruntime.findRunnable()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2900 +0x4c fp=0x40000a1f00 sp=0x40000a1de0 pc=0x4c0bc\nruntime.schedule()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:3602 +0x98 fp=0x40000a1f40 sp=0x40000a1f00 pc=0x4e078\nruntime.mstart1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1606 +0xb8 fp=0x40000a1f70 sp=0x40000a1f40 pc=0x498e8\nruntime.mstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1556 +0x68 fp=0x40000a1fa0 sp=0x40000a1f70 pc=0x49808\nruntime.netbsdMstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:263 +0x2c fp=0x40000a1fe0 sp=0x40000a1fa0 pc=0x41dfc\nruntime.netbsdMstart()\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:77 +0x10 fp=0x40000a1ff0 sp=0x40000a1fe0 pc=0x74610\n\ngoroutine 1 [runnable]:\nruntime.gopark(0x1c3e60?, 0x1c13c?, 0x0?, 0x40?, 0x30?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000066d80 sp=0x4000066d60 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.semacquire1(0x400000e198, 0x98?, 0x1, 0x0, 0x8?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sema.go:160 +0x208 fp=0x4000066dd0 sp=0x4000066d80 pc=0x57b88\nsync.runtime_Semacquire(0x40000021a0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sema.go:62 +0x2c fp=0x4000066e10 sp=0x4000066dd0 pc=0x6ff1c\nsync.(*WaitGroup).Wait(0x400000e190)\n\t/scratch/gobuilder/buildlet/go/src/sync/waitgroup.go:116 +0x74 fp=0x4000066e30 sp=0x4000066e10 pc=0x7d534\nmain.LockOSThreadTemplateThreadRace()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:243 +0xe8 fp=0x4000066e90 sp=0x4000066e30 pc=0xc4e68\nmain.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/main.go:34 +0x11c fp=0x4000066f30 sp=0x4000066e90 pc=0xc505c\nruntime.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:267 +0x2bc fp=0x4000066fd0 sp=0x4000066f30 pc=0x46cbc\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000066fd0 sp=0x4000066fd0 pc=0x73924\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030f90 sp=0x4000030f70 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xb8 fp=0x4000030fd0 sp=0x4000030f90 pc=0x46f78\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000030fd0 sp=0x4000030fd0 pc=0x73924\ncreated by runtime.init.6 in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x24\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031760 sp=0x4000031740 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa0 fp=0x40000317b0 sp=0x4000031760 pc=0x33150\nruntime.gcenable.gowrap1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x40000317d0 sp=0x40000317b0 pc=0x278f8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000317d0 sp=0x40000317d0 pc=0x73924\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x6c\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x4000052000?, 0x11f0c8?, 0x1?, 0x0?, 0x4000002d00?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031f50 sp=0x4000031f30 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1bb880)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x5c fp=0x4000031f80 sp=0x4000031f50 pc=0x309ec\nruntime.bgscavenge(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x44 fp=0x4000031fb0 sp=0x4000031f80 pc=0x30f34\nruntime.gcenable.gowrap2()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x4000031fd0 sp=0x4000031fb0 pc=0x27898\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000031fd0 sp=0x4000031fd0 pc=0x73924\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xac\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x40000305d8?, 0x23664?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030580 sp=0x4000030560 pc=0x470e8\nruntime.runfinq()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x108 fp=0x40000307d0 sp=0x4000030580 pc=0x269e8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000307d0 sp=0x40000307d0 pc=0x73924\ncreated by runtime.createfing in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x80\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:200 +0x8 fp=0x4000094890 sp=0x4000094880 pc=0x715a8\nruntime.stopTheWorld(0x7)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xc4 fp=0x40000948f0 sp=0x4000094890 pc=0x49004\nruntime.ReadMemStats(0x4000094938)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x28 fp=0x4000094920 sp=0x40000948f0 pc=0x3f408\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x4c fp=0x4000095fd0 sp=0x4000094920 pc=0xc894c\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000095fd0 sp=0x4000095fd0 pc=0x73924\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2c\n\nr0      0x4\nr1      0x0\nr2      0x0\nr3   
(... long comment truncated ...)

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime"
2023-09-07 20:05 netbsd-arm-bsiegert go@02d581ef runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1505.88s)
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build839517974/testprog.exe LockOSThreadTemplateThreadRace (60.544858ms): ok
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build839517974/testprog.exe LockOSThreadTemplateThreadRace (169.383671ms): ok
    exec.go:190: test timed out while running command: /var/gobuilder/buildlet/tmp/go-build839517974/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build839517974/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 2: want "OK\n", got "SIGQUIT: quit\nPC=0x81284 m=7 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x42d460, 0x0)\n\t/var/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm.s:138 +0x28 fp=0x4b3e6c sp=0x4b3e60 pc=0x81284\nruntime.semasleep(0xffffffffffffffff)\n\t/var/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x288 fp=0x4b3eac sp=0x4b3e6c pc=0x49d68\nruntime.notesleep(0x42d258)\n\t/var/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0x8c fp=0x4b3ec8 sp=0x4b3eac pc=0x1b1d8\nruntime.mPark(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x90 fp=0x4b3edc sp=0x4b3ec8 pc=0x54388\nruntime.gcstopm()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2834 +0xd4 fp=0x4b3ef4 sp=0x4b3edc pc=0x55020\nruntime.findRunnable()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2900 +0x48 fp=0x4b3fa0 sp=0x4b3ef4 pc=0x55248\nruntime.schedule()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:3602 +0xac fp=0x4b3fbc sp=0x4b3fa0 pc=0x57420\nruntime.mstart1()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1606 +0xb0 fp=0x4b3fcc sp=0x4b3fbc pc=0x52a7c\nruntime.mstart0()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1556 +0x7c fp=0x4b3fe0 sp=0x4b3fcc pc=0x529bc\nruntime.netbsdMstart0()\n\t/var/gobuilder/buildlet/go/src/runtime/os_netbsd.go:263 +0x30 fp=0x4b3ff8 sp=0x4b3fe0 pc=0x4a1b8\nruntime.netbsdMstart()\n\t/var/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm.s:164 +0x8 fp=0x4b3ffc sp=0x4b3ff8 pc=0x812d8\n\ngoroutine 1 [runnable]:\nruntime.gopark(0x116ee0, 0x1cb458, 0x12, 0x19, 0x4)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x428668 sp=0x428654 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.semacquire1(0x40e188, 0x0, 0x1, 0x0, 0x12)\n\t/var/gobuilder/buildlet/go/src/runtime/sema.go:160 +0x270 fp=0x428690 sp=0x428668 pc=0x62b1c\nsync.runtime_Semacquire(0x40e188)\n\t/var/gobuilder/buildlet/go/src/runtime/sema.go:62 +0x3c fp=0x4286a8 sp=0x428690 pc=0x7dd48\nsync.(*WaitGroup).Wait(0x40e180)\n\t/var/gobuilder/buildlet/go/src/sync/waitgroup.go:116 +0x68 fp=0x4286c4 sp=0x4286a8 pc=0x8a668\nmain.LockOSThreadTemplateThreadRace()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:243 +0x13c fp=0x428730 sp=0x4286c4 pc=0xddbe8\nmain.main()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/main.go:34 +0x158 fp=0x4287a0 sp=0x428730 pc=0xdde3c\nruntime.main()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:267 +0x338 fp=0x4287ec sp=0x4287a0 pc=0x4f8c0\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4287ec sp=0x4287ec pc=0x805cc\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x116ee0, 0x1c8560, 0x11, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x428fd4 sp=0x428fc0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xe4 fp=0x428fec sp=0x428fd4 pc=0x4fc94\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x428fec sp=0x428fec pc=0x805cc\ncreated by runtime.init.5 in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x1c\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x116ee0, 0x1c86c0, 0xc, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x4297c4 sp=0x4297b0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x4180c0)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa8 fp=0x4297e4 sp=0x4297c4 pc=0x39270\nruntime.gcenable.gowrap1()\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x4297ec sp=0x4297e4 pc=0x295ac\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4297ec sp=0x4297ec pc=0x805cc\ncreated by runtime.gcenable in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x74\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x116ee0, 0x1c8720, 0xd, 0x14, 0x2)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x429fb4 sp=0x429fa0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1c8720)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x68 fp=0x429fc8 sp=0x429fb4 pc=0x364f0\nruntime.bgscavenge(0x4180c0)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0x429fe4 sp=0x429fc8 pc=0x36c0c\nruntime.gcenable.gowrap2()\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x429fec sp=0x429fe4 pc=0x29558\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x429fec sp=0x429fec pc=0x805cc\ncreated by runtime.gcenable in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xbc\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x116d98, 0x1d89ec, 0x10, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x42a788 sp=0x42a774 pc=0x4fe58\nruntime.runfinq()\n\t/var/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x110 fp=0x42a7ec sp=0x42a788 pc=0x2840c\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x42a7ec sp=0x42a7ec pc=0x805cc\ncreated by runtime.createfing in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x5c\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:274 +0x4 fp=0x492a10 sp=0x492a0c pc=0x7ea50\nruntime.stopTheWorld(0x7)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xd4 fp=0x492a3c sp=0x492a10 pc=0x520a8\nruntime.ReadMemStats(0x492a54)\n\t/var/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x24 fp=0x492a4c sp=0x492a3c pc=0x468c0\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x44 fp=0x493fec sp=0x492a4c pc=0xe2678\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x493fec sp=0x493fec pc=0x805cc\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x28\n\ntrap    0x0\nerror   0x0\noldmask 0x0\nr0      0x4\nr1      0x0\nr2      0x0\nr3      0x0\nr4      0x42d460\nr5      0x0\nr6      0x1a\nr7      0x0\nr8      0x7\nr9      0x1\nr10     0x482600\nfp      0x0\nip      0x1\nsp      0x4b3e60\nlr      0x49d68\npc      0x81284\ncpsr    0x60000010\nfault   0x0\n"
2023-09-07 20:05 netbsd-arm64-bsiegert go@02d581ef runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1569.78s)
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build197156015/testprog.exe LockOSThreadTemplateThreadRace (55.686926ms): ok
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build197156015/testprog.exe LockOSThreadTemplateThreadRace (37.723259ms): ok
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build197156015/testprog.exe LockOSThreadTemplateThreadRace (39.804585ms): ok
    exec.go:190: test timed out while running command: /scratch/gobuilder/buildlet/tmp/go-build197156015/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build197156015/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 3: want "OK\n", got "SIGQUIT: quit\nPC=0x7464c m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x4000080a50, 0x0)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:92 +0x1c fp=0x400018fce0 sp=0x400018fce0 pc=0x7464c\nruntime.semasleep(0xffffffffffffffff)\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x12c fp=0x400018fd40 sp=0x400018fce0 pc=0x419ec\nruntime.notesleep(0x4000080580?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0xac fp=0x400018fd80 sp=0x400018fd40 pc=0x1a5ec\nruntime.mPark(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x84 fp=0x400018fdb0 sp=0x400018fd80 pc=0x4b1a4\nruntime.gcstopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2834 +0xe8 fp=0x400018fde0 sp=0x400018fdb0 pc=0x4bec8\nruntime.findRunnable()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2900 +0x4c fp=0x400018ff00 sp=0x400018fde0 pc=0x4c0bc\nruntime.schedule()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:3602 +0x98 fp=0x400018ff40 sp=0x400018ff00 pc=0x4e078\nruntime.mstart1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1606 +0xb8 fp=0x400018ff70 sp=0x400018ff40 pc=0x498e8\nruntime.mstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1556 +0x68 fp=0x400018ffa0 sp=0x400018ff70 pc=0x49808\nruntime.netbsdMstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:263 +0x2c fp=0x400018ffe0 sp=0x400018ffa0 pc=0x41dfc\nruntime.netbsdMstart()\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:77 +0x10 fp=0x400018fff0 sp=0x400018ffe0 pc=0x74610\n\ngoroutine 1 [semacquire]:\nruntime.gopark(0x1c3e60?, 0x1c13c?, 0x0?, 0x40?, 0x30?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000066d80 sp=0x4000066d60 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.semacquire1(0x400000e198, 0x98?, 0x1, 0x0, 0x8?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sema.go:160 +0x208 fp=0x4000066dd0 sp=0x4000066d80 pc=0x57b88\nsync.runtime_Semacquire(0x40000021a0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sema.go:62 +0x2c fp=0x4000066e10 sp=0x4000066dd0 pc=0x6ff1c\nsync.(*WaitGroup).Wait(0x400000e190)\n\t/scratch/gobuilder/buildlet/go/src/sync/waitgroup.go:116 +0x74 fp=0x4000066e30 sp=0x4000066e10 pc=0x7d534\nmain.LockOSThreadTemplateThreadRace()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:243 +0xe8 fp=0x4000066e90 sp=0x4000066e30 pc=0xc4e68\nmain.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/main.go:34 +0x11c fp=0x4000066f30 sp=0x4000066e90 pc=0xc505c\nruntime.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:267 +0x2bc fp=0x4000066fd0 sp=0x4000066f30 pc=0x46cbc\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000066fd0 sp=0x4000066fd0 pc=0x73924\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030f90 sp=0x4000030f70 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xb8 fp=0x4000030fd0 sp=0x4000030f90 pc=0x46f78\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000030fd0 sp=0x4000030fd0 pc=0x73924\ncreated by runtime.init.6 in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x24\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031760 sp=0x4000031740 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa0 fp=0x40000317b0 sp=0x4000031760 pc=0x33150\nruntime.gcenable.gowrap1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x40000317d0 sp=0x40000317b0 pc=0x278f8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000317d0 sp=0x40000317d0 pc=0x73924\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x6c\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x4000052000?, 0x11f0c8?, 0x1?, 0x0?, 0x4000002d00?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031f50 sp=0x4000031f30 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1bb880)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x5c fp=0x4000031f80 sp=0x4000031f50 pc=0x309ec\nruntime.bgscavenge(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x44 fp=0x4000031fb0 sp=0x4000031f80 pc=0x30f34\nruntime.gcenable.gowrap2()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x4000031fd0 sp=0x4000031fb0 pc=0x27898\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000031fd0 sp=0x4000031fd0 pc=0x73924\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xac\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x40000305d8?, 0x23664?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030580 sp=0x4000030560 pc=0x470e8\nruntime.runfinq()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x108 fp=0x40000307d0 sp=0x4000030580 pc=0x269e8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000307d0 sp=0x40000307d0 pc=0x73924\ncreated by runtime.createfing in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x80\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:200 +0x8 fp=0x400008e890 sp=0x400008e880 pc=0x715a8\nruntime.stopTheWorld(0x7)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xc4 fp=0x400008e8f0 sp=0x400008e890 pc=0x49004\nruntime.ReadMemStats(0x400008e938)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x28 fp=0x400008e920 sp=0x400008e8f0 pc=0x3f408\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x4c fp=0x400008ffd0 sp=0x400008e920 pc=0xc894c\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x400008ffd0 sp=0x400008ffd0 pc=0x73924\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2c\n\ngoroutine 8 [runnable, locked to thread]:\nruntime.Gosched(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:338\nmain.LockOSThreadTemplateThreadRace.func2()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:238 +0x70 fp=0x40000337d0 sp=0x4000033770 pc=0xc4f10\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000337d0 sp=0x40000337d0 pc=0x73924\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:229 +0x74\n\ngoroutine 17 [runnable]:\nmain.LockOSThreadTemplateThreadRace.func2.1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:235 fp=0x4000032fd0 sp=0x4000032fd0 pc=0xc8960\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000032fd0 sp=0x4000032fd0 pc=0x73924\ncreated by main.LockOSThreadTemplateThreadRace.func2 in goroutine 8\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:235 +0x5c\n\nr0      0x4\nr1      0x0\nr2      0x0\nr3      0x0\nr4      0x4000080a50\nr5      0x0\nr6      0x2\nr7      0x1\nr8      0x3800\nr9      0x0\nr10     0x0\nr11     0x0\nr12     0x0\nr13     0x4000091fc0\nr14     0x400000e190\nr15     0x400000e18f\nr16     0x400018e3a0\nr17     0x400018fe60\nr18     0x0\nr19     0x0\nr20     0x400018fde0\nr21     0x4000043d58\nr22     0x0\nr23     0x0\nr24     0x0\nr25     0x0\nr26     0x0\nr27     0xffffffffffffff80\nr28     0x4000084680\nr29     0x400018fcd8\nlr      0x419ec\nsp      0x400018fce0\npc      0x7464c\nfault   0x2699\n"
2023-09-07 21:07 netbsd-amd64-9_3 go@3a124de5 runtime.TestGoroutineParallelism (log)
SIGQUIT: quit
PC=0x479b63 m=13 sigcode=0

rax    0x4
rbx    0x0
rcx    0x479b63
rdx    0x0
rdi    0x3
rsi    0x0
rbp    0x7f7faafdfd00
...
	/tmp/workdir/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc0002c55f8 sp=0xc0002c55e8 pc=0x476408
runtime.stopTheWorld(0x9)
	/tmp/workdir/go/src/runtime/proc.go:1262 +0xc9 fp=0xc0002c5658 sp=0xc0002c55f8 pc=0x4413a9
runtime.stopTheWorldGC(0xa0?)
	/tmp/workdir/go/src/runtime/proc.go:1310 +0x34 fp=0xc0002c5698 sp=0xc0002c5658 pc=0x441574
runtime.GOMAXPROCS(0x3)
	/tmp/workdir/go/src/runtime/debug.go:28 +0x69 fp=0xc0002c56b8 sp=0xc0002c5698 pc=0x40a789
runtime_test.TestGoroutineParallelism(0xc00171e1a0?)
	/tmp/workdir/go/src/runtime/proc_test.go:117 +0xce fp=0xc0002c5770 sp=0xc0002c56b8 pc=0x7577ce
testing.tRunner(0xc0009021a0, 0x880bd0)
2023-09-07 21:16 netbsd-arm-bsiegert go@1d538f19 runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1507.69s)
    exec.go:190: test timed out while running command: /var/gobuilder/buildlet/tmp/go-build806573365/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build806573365/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 0: want "OK\n", got "SIGQUIT: quit\nPC=0x81284 m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x480660, 0x0)\n\t/var/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm.s:138 +0x28 fp=0x48def0 sp=0x48dee4 pc=0x81284\nruntime.semasleep(0xffffffffffffffff)\n\t/var/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x288 fp=0x48df30 sp=0x48def0 pc=0x49d68\nruntime.notesleep(0x480458)\n\t/var/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0x8c fp=0x48df4c sp=0x48df30 pc=0x1b1d8\nruntime.mPark(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x90 fp=0x48df60 sp=0x48df4c pc=0x54388\nruntime.startlockedm(0x402e00)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2807 +0x64 fp=0x48df70 sp=0x48df60 pc=0x54f04\nruntime.schedule()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:3648 +0x68 fp=0x48df8c sp=0x48df70 pc=0x573dc\nruntime.goexit0(0x402f00)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:3945 +0x2d0 fp=0x48dfc4 sp=0x48df8c pc=0x585c0\ntraceback: unexpected SPWRITE function runtime.mcall\nruntime.mcall(0x0)\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:265 +0x48 fp=0x48dfcc sp=0x48dfc4 pc=0x7ea44\n\ngoroutine 1 [runnable]:\nruntime.gopark(0x116ee0, 0x1cb458, 0x12, 0x19, 0x4)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x428668 sp=0x428654 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.semacquire1(0x40e188, 0x0, 0x1, 0x0, 0x12)\n\t/var/gobuilder/buildlet/go/src/runtime/sema.go:160 +0x270 fp=0x428690 sp=0x428668 pc=0x62b1c\nsync.runtime_Semacquire(0x40e188)\n\t/var/gobuilder/buildlet/go/src/runtime/sema.go:62 +0x3c fp=0x4286a8 sp=0x428690 pc=0x7dd48\nsync.(*WaitGroup).Wait(0x40e180)\n\t/var/gobuilder/buildlet/go/src/sync/waitgroup.go:116 +0x68 fp=0x4286c4 sp=0x4286a8 pc=0x8a668\nmain.LockOSThreadTemplateThreadRace()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:243 +0x13c fp=0x428730 sp=0x4286c4 pc=0xddbe8\nmain.main()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/main.go:34 +0x158 fp=0x4287a0 sp=0x428730 pc=0xdde3c\nruntime.main()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:267 +0x338 fp=0x4287ec sp=0x4287a0 pc=0x4f8c0\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4287ec sp=0x4287ec pc=0x805cc\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x116ee0, 0x1c8560, 0x11, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x428fd4 sp=0x428fc0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xe4 fp=0x428fec sp=0x428fd4 pc=0x4fc94\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x428fec sp=0x428fec pc=0x805cc\ncreated by runtime.init.5 in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x1c\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x116ee0, 0x1c86c0, 0xc, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x4297c4 sp=0x4297b0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x4180c0)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa8 fp=0x4297e4 sp=0x4297c4 pc=0x39270\nruntime.gcenable.gowrap1()\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x4297ec sp=0x4297e4 pc=0x295ac\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4297ec sp=0x4297ec pc=0x805cc\ncreated by runtime.gcenable in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x74\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x116ee0, 0x1c8720, 0xd, 0x14, 0x2)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x429fb4 sp=0x429fa0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1c8720)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x68 fp=0x429fc8 sp=0x429fb4 pc=0x364f0\nruntime.bgscavenge(0x4180c0)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0x429fe4 sp=0x429fc8 pc=0x36c0c\nruntime.gcenable.gowrap2()\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x429fec sp=0x429fe4 pc=0x29558\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x429fec sp=0x429fec pc=0x805cc\ncreated by runtime.gcenable in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xbc\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x116d98, 0x1d89ec, 0x10, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x42a788 sp=0x42a774 pc=0x4fe58\nruntime.runfinq()\n\t/var/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x110 fp=0x42a7ec sp=0x42a788 pc=0x2840c\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x42a7ec sp=0x42a7ec pc=0x805cc\ncreated by runtime.createfing in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x5c\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:274 +0x4 fp=0x492a10 sp=0x492a0c pc=0x7ea50\nruntime.stopTheWorld(0x7)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xd4 fp=0x492a3c sp=0x492a10 pc=0x520a8\nruntime.ReadMemStats(0x492a54)\n\t/var/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x24 fp=0x492a4c sp=0x492a3c pc=0x468c0\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x44 fp=0x493fec sp=0x492a4c pc=0xe2678\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x493fec sp=0x493fec pc=0x805cc\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x28\n\ntrap    0x0\nerror   0x0\noldmask 0x0\nr0      0x4\nr1      0x0\nr2      0x0\nr3      0x0\nr4      0x480660\nr5      0x0\nr6      0x864b8a7e\nr7      0xc10c9715\nr8      0x7\nr9      0x1\nr10     0x482300\nfp      0x0\nip      0x1\nsp      0x48dee4\nlr      0x49d68\npc      0x81284\ncpsr    0x60000010\nfault   0x0\n"
2023-09-07 23:30 netbsd-arm-bsiegert go@834a6f9a runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1506.81s)
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build2898640279/testprog.exe LockOSThreadTemplateThreadRace (101.783197ms): ok
    exec.go:190: test timed out while running command: /var/gobuilder/buildlet/tmp/go-build2898640279/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build2898640279/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 1: want "OK\n", got "SIGQUIT: quit\nPC=0x81284 m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x480660, 0x0)\n\t/var/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm.s:138 +0x28 fp=0x439e6c sp=0x439e60 pc=0x81284\nruntime.semasleep(0xffffffffffffffff)\n\t/var/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x288 fp=0x439eac sp=0x439e6c pc=0x49d68\nruntime.notesleep(0x480458)\n\t/var/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0x8c fp=0x439ec8 sp=0x439eac pc=0x1b1d8\nruntime.mPark(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x90 fp=0x439edc sp=0x439ec8 pc=0x54388\nruntime.gcstopm()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2834 +0xd4 fp=0x439ef4 sp=0x439edc pc=0x55020\nruntime.findRunnable()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2900 +0x48 fp=0x439fa0 sp=0x439ef4 pc=0x55248\nruntime.schedule()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:3602 +0xac fp=0x439fbc sp=0x439fa0 pc=0x57420\nruntime.mstart1()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1606 +0xb0 fp=0x439fcc sp=0x439fbc pc=0x52a7c\nruntime.mstart0()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1556 +0x7c fp=0x439fe0 sp=0x439fcc pc=0x529bc\nruntime.netbsdMstart0()\n\t/var/gobuilder/buildlet/go/src/runtime/os_netbsd.go:263 +0x30 fp=0x439ff8 sp=0x439fe0 pc=0x4a1b8\nruntime.netbsdMstart()\n\t/var/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm.s:164 +0x8 fp=0x439ffc sp=0x439ff8 pc=0x812d8\n\ngoroutine 1 [semacquire]:\nruntime.gopark(0x116ee0, 0x1cb458, 0x12, 0x19, 0x4)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x428668 sp=0x428654 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.semacquire1(0x40e188, 0x0, 0x1, 0x0, 0x12)\n\t/var/gobuilder/buildlet/go/src/runtime/sema.go:160 +0x270 fp=0x428690 sp=0x428668 pc=0x62b1c\nsync.runtime_Semacquire(0x40e188)\n\t/var/gobuilder/buildlet/go/src/runtime/sema.go:62 +0x3c fp=0x4286a8 sp=0x428690 pc=0x7dd48\nsync.(*WaitGroup).Wait(0x40e180)\n\t/var/gobuilder/buildlet/go/src/sync/waitgroup.go:116 +0x68 fp=0x4286c4 sp=0x4286a8 pc=0x8a668\nmain.LockOSThreadTemplateThreadRace()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:243 +0x13c fp=0x428730 sp=0x4286c4 pc=0xddbe8\nmain.main()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/main.go:34 +0x158 fp=0x4287a0 sp=0x428730 pc=0xdde3c\nruntime.main()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:267 +0x338 fp=0x4287ec sp=0x4287a0 pc=0x4f8c0\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4287ec sp=0x4287ec pc=0x805cc\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x116ee0, 0x1c8560, 0x11, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x428fd4 sp=0x428fc0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xe4 fp=0x428fec sp=0x428fd4 pc=0x4fc94\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x428fec sp=0x428fec pc=0x805cc\ncreated by runtime.init.5 in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x1c\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x116ee0, 0x1c86c0, 0xc, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x4297c4 sp=0x4297b0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x4180c0)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa8 fp=0x4297e4 sp=0x4297c4 pc=0x39270\nruntime.gcenable.gowrap1()\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x4297ec sp=0x4297e4 pc=0x295ac\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4297ec sp=0x4297ec pc=0x805cc\ncreated by runtime.gcenable in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x74\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x116ee0, 0x1c8720, 0xd, 0x14, 0x2)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x429fb4 sp=0x429fa0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1c8720)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x68 fp=0x429fc8 sp=0x429fb4 pc=0x364f0\nruntime.bgscavenge(0x4180c0)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0x429fe4 sp=0x429fc8 pc=0x36c0c\nruntime.gcenable.gowrap2()\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x429fec sp=0x429fe4 pc=0x29558\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x429fec sp=0x429fec pc=0x805cc\ncreated by runtime.gcenable in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xbc\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x116d98, 0x1d89ec, 0x10, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x42a788 sp=0x42a774 pc=0x4fe58\nruntime.runfinq()\n\t/var/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x110 fp=0x42a7ec sp=0x42a788 pc=0x2840c\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x42a7ec sp=0x42a7ec pc=0x805cc\ncreated by runtime.createfing in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x5c\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:274 +0x4 fp=0x492a10 sp=0x492a0c pc=0x7ea50\nruntime.stopTheWorld(0x7)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xd4 fp=0x492a3c sp=0x492a10 pc=0x520a8\nruntime.ReadMemStats(0x492a54)\n\t/var/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x24 fp=0x492a4c sp=0x492a3c pc=0x468c0\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x44 fp=0x493fec sp=0x492a4c pc=0xe2678\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x493fec sp=0x493fec pc=0x805cc\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x28\n\ngoroutine 7 [runnable, locked to thread]:\nruntime.Gosched(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:338\nmain.LockOSThreadTemplateThreadRace.func2()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:238 +0x78 fp=0x42b7ec sp=0x42b7a0 pc=0xddcb0\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x42b7ec sp=0x42b7ec pc=0x805cc\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:229 +0xb0\n\ntrap    0x0\nerror   0x0\noldmask 0x0\nr0      0x4\nr1      0x0\nr2      0x0\nr3      0x0\nr4      0x480660\nr5      0x0\nr6      0x1a\nr7      0x116ed0\nr8      0x7\nr9      0x1\nr10     0x482400\nfp      0x0\nip      0x1\nsp      0x439e60\nlr      0x49d68\npc      0x81284\ncpsr    0x60000010\nfault   0x0\n"
2023-09-08 04:32 netbsd-arm-bsiegert go@1152615d runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1504.58s)
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build395281895/testprog.exe LockOSThreadTemplateThreadRace (81.472963ms): ok
    exec.go:190: test timed out while running command: /var/gobuilder/buildlet/tmp/go-build395281895/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build395281895/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 1: want "OK\n", got "SIGQUIT: quit\nPC=0x81284 m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x42d460, 0x0)\n\t/var/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm.s:138 +0x28 fp=0x48fe6c sp=0x48fe60 pc=0x81284\nruntime.semasleep(0xffffffffffffffff)\n\t/var/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x288 fp=0x48feac sp=0x48fe6c pc=0x49d68\nruntime.notesleep(0x42d258)\n\t/var/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0x8c fp=0x48fec8 sp=0x48feac pc=0x1b1d8\nruntime.mPark(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x90 fp=0x48fedc sp=0x48fec8 pc=0x54388\nruntime.gcstopm()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2834 +0xd4 fp=0x48fef4 sp=0x48fedc pc=0x55020\nruntime.findRunnable()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2900 +0x48 fp=0x48ffa0 sp=0x48fef4 pc=0x55248\nruntime.schedule()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:3602 +0xac fp=0x48ffbc sp=0x48ffa0 pc=0x57420\nruntime.mstart1()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1606 +0xb0 fp=0x48ffcc sp=0x48ffbc pc=0x52a7c\nruntime.mstart0()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1556 +0x7c fp=0x48ffe0 sp=0x48ffcc pc=0x529bc\nruntime.netbsdMstart0()\n\t/var/gobuilder/buildlet/go/src/runtime/os_netbsd.go:263 +0x30 fp=0x48fff8 sp=0x48ffe0 pc=0x4a1b8\nruntime.netbsdMstart()\n\t/var/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm.s:164 +0x8 fp=0x48fffc sp=0x48fff8 pc=0x812d8\n\ngoroutine 1 [runnable]:\nruntime.gopark(0x116ee0, 0x1cb458, 0x12, 0x19, 0x4)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x428668 sp=0x428654 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.semacquire1(0x40e188, 0x0, 0x1, 0x0, 0x12)\n\t/var/gobuilder/buildlet/go/src/runtime/sema.go:160 +0x270 fp=0x428690 sp=0x428668 pc=0x62b1c\nsync.runtime_Semacquire(0x40e188)\n\t/var/gobuilder/buildlet/go/src/runtime/sema.go:62 +0x3c fp=0x4286a8 sp=0x428690 pc=0x7dd48\nsync.(*WaitGroup).Wait(0x40e180)\n\t/var/gobuilder/buildlet/go/src/sync/waitgroup.go:116 +0x68 fp=0x4286c4 sp=0x4286a8 pc=0x8a668\nmain.LockOSThreadTemplateThreadRace()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:243 +0x13c fp=0x428730 sp=0x4286c4 pc=0xddbe8\nmain.main()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/main.go:34 +0x158 fp=0x4287a0 sp=0x428730 pc=0xdde3c\nruntime.main()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:267 +0x338 fp=0x4287ec sp=0x4287a0 pc=0x4f8c0\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4287ec sp=0x4287ec pc=0x805cc\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x116ee0, 0x1c8560, 0x11, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x428fd4 sp=0x428fc0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xe4 fp=0x428fec sp=0x428fd4 pc=0x4fc94\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x428fec sp=0x428fec pc=0x805cc\ncreated by runtime.init.5 in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x1c\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x116ee0, 0x1c86c0, 0xc, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x4297c4 sp=0x4297b0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x4180c0)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa8 fp=0x4297e4 sp=0x4297c4 pc=0x39270\nruntime.gcenable.gowrap1()\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x4297ec sp=0x4297e4 pc=0x295ac\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4297ec sp=0x4297ec pc=0x805cc\ncreated by runtime.gcenable in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x74\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x116ee0, 0x1c8720, 0xd, 0x14, 0x2)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x429fb4 sp=0x429fa0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1c8720)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x68 fp=0x429fc8 sp=0x429fb4 pc=0x364f0\nruntime.bgscavenge(0x4180c0)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0x429fe4 sp=0x429fc8 pc=0x36c0c\nruntime.gcenable.gowrap2()\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x429fec sp=0x429fe4 pc=0x29558\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x429fec sp=0x429fec pc=0x805cc\ncreated by runtime.gcenable in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xbc\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x116d98, 0x1d89ec, 0x10, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x42a788 sp=0x42a774 pc=0x4fe58\nruntime.runfinq()\n\t/var/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x110 fp=0x42a7ec sp=0x42a788 pc=0x2840c\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x42a7ec sp=0x42a7ec pc=0x805cc\ncreated by runtime.createfing in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x5c\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:274 +0x4 fp=0x492a10 sp=0x492a0c pc=0x7ea50\nruntime.stopTheWorld(0x7)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xd4 fp=0x492a3c sp=0x492a10 pc=0x520a8\nruntime.ReadMemStats(0x492a54)\n\t/var/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x24 fp=0x492a4c sp=0x492a3c pc=0x468c0\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x44 fp=0x493fec sp=0x492a4c pc=0xe2678\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x493fec sp=0x493fec pc=0x805cc\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x28\n\ntrap    0x0\nerror   0x0\noldmask 0x0\nr0      0x4\nr1      0x0\nr2      0x0\nr3      0x0\nr4      0x42d460\nr5      0x0\nr6      0x1a\nr7      0x116ed0\nr8      0x7\nr9      0x1\nr10     0x482300\nfp      0x0\nip      0x1\nsp      0x48fe60\nlr      0x49d68\npc      0x81284\ncpsr    0x60000010\nfault   0x0\n"
2023-09-08 06:28 netbsd-arm-bsiegert go@2f0b28da runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1506.26s)
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build83579219/testprog.exe LockOSThreadTemplateThreadRace (26.947437ms): ok
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build83579219/testprog.exe LockOSThreadTemplateThreadRace (83.156786ms): ok
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build83579219/testprog.exe LockOSThreadTemplateThreadRace (139.235056ms): ok
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build83579219/testprog.exe LockOSThreadTemplateThreadRace (69.054023ms): ok
    exec.go:190: test timed out while running command: /var/gobuilder/buildlet/tmp/go-build83579219/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build83579219/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 4: want "OK\n", got "SIGQUIT: quit\nPC=0x81284 m=7 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x42d460, 0x0)\n\t/var/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm.s:138 +0x28 fp=0x47be6c sp=0x47be60 pc=0x81284\nruntime.semasleep(0xffffffffffffffff)\n\t/var/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x288 fp=0x47beac sp=0x47be6c pc=0x49d68\nruntime.notesleep(0x42d258)\n\t/var/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0x8c fp=0x47bec8 sp=0x47beac pc=0x1b1d8\nruntime.mPark(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x90 fp=0x47bedc sp=0x47bec8 pc=0x54388\nruntime.gcstopm()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2834 +0xd4 fp=0x47bef4 sp=0x47bedc pc=0x55020\nruntime.findRunnable()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2900 +0x48 fp=0x47bfa0 sp=0x47bef4 pc=0x55248\nruntime.schedule()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:3602 +0xac fp=0x47bfbc sp=0x47bfa0 pc=0x57420\nruntime.mstart1()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1606 +0xb0 fp=0x47bfcc sp=0x47bfbc pc=0x52a7c\nruntime.mstart0()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1556 +0x7c fp=0x47bfe0 sp=0x47bfcc pc=0x529bc\nruntime.netbsdMstart0()\n\t/var/gobuilder/buildlet/go/src/runtime/os_netbsd.go:263 +0x30 fp=0x47bff8 sp=0x47bfe0 pc=0x4a1b8\nruntime.netbsdMstart()\n\t/var/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm.s:164 +0x8 fp=0x47bffc sp=0x47bff8 pc=0x812d8\n\ngoroutine 1 [semacquire]:\nruntime.gopark(0x116ee0, 0x1cb458, 0x12, 0x19, 0x4)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x428668 sp=0x428654 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.semacquire1(0x40e188, 0x0, 0x1, 0x0, 0x12)\n\t/var/gobuilder/buildlet/go/src/runtime/sema.go:160 +0x270 fp=0x428690 sp=0x428668 pc=0x62b1c\nsync.runtime_Semacquire(0x40e188)\n\t/var/gobuilder/buildlet/go/src/runtime/sema.go:62 +0x3c fp=0x4286a8 sp=0x428690 pc=0x7dd48\nsync.(*WaitGroup).Wait(0x40e180)\n\t/var/gobuilder/buildlet/go/src/sync/waitgroup.go:116 +0x68 fp=0x4286c4 sp=0x4286a8 pc=0x8a668\nmain.LockOSThreadTemplateThreadRace()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:243 +0x13c fp=0x428730 sp=0x4286c4 pc=0xddbe8\nmain.main()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/main.go:34 +0x158 fp=0x4287a0 sp=0x428730 pc=0xdde3c\nruntime.main()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:267 +0x338 fp=0x4287ec sp=0x4287a0 pc=0x4f8c0\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4287ec sp=0x4287ec pc=0x805cc\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x116ee0, 0x1c8560, 0x11, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x428fd4 sp=0x428fc0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xe4 fp=0x428fec sp=0x428fd4 pc=0x4fc94\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x428fec sp=0x428fec pc=0x805cc\ncreated by runtime.init.5 in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x1c\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x116ee0, 0x1c86c0, 0xc, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x4297c4 sp=0x4297b0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x4180c0)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa8 fp=0x4297e4 sp=0x4297c4 pc=0x39270\nruntime.gcenable.gowrap1()\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x4297ec sp=0x4297e4 pc=0x295ac\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4297ec sp=0x4297ec pc=0x805cc\ncreated by runtime.gcenable in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x74\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x116ee0, 0x1c8720, 0xd, 0x14, 0x2)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x429fb4 sp=0x429fa0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1c8720)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x68 fp=0x429fc8 sp=0x429fb4 pc=0x364f0\nruntime.bgscavenge(0x4180c0)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0x429fe4 sp=0x429fc8 pc=0x36c0c\nruntime.gcenable.gowrap2()\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x429fec sp=0x429fe4 pc=0x29558\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x429fec sp=0x429fec pc=0x805cc\ncreated by runtime.gcenable in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xbc\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x116d98, 0x1d89ec, 0x10, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x42a788 sp=0x42a774 pc=0x4fe58\nruntime.runfinq()\n\t/var/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x110 fp=0x42a7ec sp=0x42a788 pc=0x2840c\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x42a7ec sp=0x42a7ec pc=0x805cc\ncreated by runtime.createfing in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x5c\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:274 +0x4 fp=0x492a10 sp=0x492a0c pc=0x7ea50\nruntime.stopTheWorld(0x7)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xd4 fp=0x492a3c sp=0x492a10 pc=0x520a8\nruntime.ReadMemStats(0x492a54)\n\t/var/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x24 fp=0x492a4c sp=0x492a3c pc=0x468c0\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x44 fp=0x493fec sp=0x492a4c pc=0xe2678\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x493fec sp=0x493fec pc=0x805cc\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x28\n\ngoroutine 7 [runnable, locked to thread]:\nruntime.Gosched(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:338\nmain.LockOSThreadTemplateThreadRace.func2()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:238 +0x78 fp=0x42b7ec sp=0x42b7a0 pc=0xddcb0\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x42b7ec sp=0x42b7ec pc=0x805cc\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:229 +0xb0\n\ntrap    0x0\nerror   0x0\noldmask 0x0\nr0      0x4\nr1      0x0\nr2      0x0\nr3      0x0\nr4      0x42d460\nr5      0x0\nr6      0x1a\nr7      0x0\nr8      0x7\nr9      0x1\nr10     0x482600\nfp      0x0\nip      0x1\nsp      0x47be60\nlr      0x49d68\npc      0x81284\ncpsr    0x60000010\nfault   0x0\n"
2023-09-08 06:28 netbsd-arm-bsiegert go@2f0b28da runtime.TestCgoLockOSThreadExit (log)
--- FAIL: TestCgoLockOSThreadExit (141.41s)
    proc_test.go:983: /var/gobuilder/buildlet/tmp/go-build83579219/testprogcgo.exe LockOSThreadMain (46.971992ms): ok
    exec.go:190: test timed out while running command: /var/gobuilder/buildlet/tmp/go-build83579219/testprogcgo.exe LockOSThreadAlt
    proc_test.go:989: /var/gobuilder/buildlet/tmp/go-build83579219/testprogcgo.exe LockOSThreadAlt: exit status 2
    proc_test.go:991: want "OK\n", got "SIGQUIT: quit\nPC=0x8cef4 m=7 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x480660, 0x0)\n\t/var/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm.s:138 +0x28 fp=0x78bdfed4 sp=0x78bdfec8 pc=0x8cef4\nruntime.semasleep(0xffffffffffffffff)\n\t/var/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x288 fp=0x78bdff14 sp=0x78bdfed4 pc=0x4f4f4\nruntime.notesleep(0x480458)\n\t/var/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0x8c fp=0x78bdff30 sp=0x78bdff14 pc=0x1e730\nruntime.mPark(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x90 fp=0x78bdff44 sp=0x78bdff30 pc=0x59d24\nruntime.startlockedm(0x402100)\n\t/var/go
(... long comment truncated ...)

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2023-09-08 18:56 netbsd-amd64-9_3 go@d2eab5ff runtime.TestGoroutineParallelism (log)
SIGQUIT: quit
PC=0x479b63 m=19 sigcode=0

rax    0x4
rbx    0x0
rcx    0x479b63
rdx    0x0
rdi    0x3
rsi    0x0
rbp    0x7f7fa89efd00
...
	/tmp/workdir/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc0000425f8 sp=0xc0000425e8 pc=0x476408
runtime.stopTheWorld(0x9)
	/tmp/workdir/go/src/runtime/proc.go:1262 +0xc9 fp=0xc000042658 sp=0xc0000425f8 pc=0x4413a9
runtime.stopTheWorldGC(0xa0?)
	/tmp/workdir/go/src/runtime/proc.go:1310 +0x34 fp=0xc000042698 sp=0xc000042658 pc=0x441574
runtime.GOMAXPROCS(0x3)
	/tmp/workdir/go/src/runtime/debug.go:28 +0x69 fp=0xc0000426b8 sp=0xc000042698 pc=0x40a789
runtime_test.TestGoroutineParallelism(0xc000aca000?)
	/tmp/workdir/go/src/runtime/proc_test.go:117 +0xce fp=0xc000042770 sp=0xc0000426b8 pc=0x7577ce
testing.tRunner(0xc000aca1a0, 0x880bd0)
2023-09-08 19:01 netbsd-386-9_3 go@9c9fcabb runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (135.67s)
    proc_test.go:1022: /tmp/workdir/tmp/go-build2410846514/testprog.exe LockOSThreadTemplateThreadRace (35.881489ms): ok
    proc_test.go:1022: /tmp/workdir/tmp/go-build2410846514/testprog.exe LockOSThreadTemplateThreadRace (28.989047ms): ok
    proc_test.go:1022: /tmp/workdir/tmp/go-build2410846514/testprog.exe LockOSThreadTemplateThreadRace (31.859412ms): ok
    proc_test.go:1022: /tmp/workdir/tmp/go-build2410846514/testprog.exe LockOSThreadTemplateThreadRace (55.514183ms): ok
    exec.go:190: test timed out while running command: /tmp/workdir/tmp/go-build2410846514/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /tmp/workdir/tmp/go-build2410846514/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 4: want "OK\n", got "SIGQUIT: quit\nPC=0x80ad9e7 m=8 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x84942e0, 0x0)\n\t/tmp/workdir/go/src/runtime/sys_netbsd_386.s:404 +0x7 fp=0x8523e6c sp=0x8523e68 pc=0x80ad9e7\nruntime.semasleep(0xffffffffffffffff)\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:183 +0x24c fp=0x8523eb4 sp=0x8523e6c pc=0x807c4dc\nruntime.notesleep(0x84940d8)\n\t/tmp/workdir/go/src/runtime/lock_sema.go:181 +0x82 fp=0x8523ed0 sp=0x8523eb4 pc=0x8052432\nruntime.mPark(...)\n\t/tmp/workdir/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2535 +0x97 fp=0x8523ee4 sp=0x8523ed0 pc=0x8085557\nruntime.gcstopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2834 +0xce fp=0x8523efc sp=0x8523ee4 pc=0x80860be\nruntime.findRunnable()\n\t/tmp/workdir/go/src/runtime/proc.go:2900 +0x5a fp=0x8523fa8 sp=0x8523efc pc=0x808629a\nruntime.schedule()\n\t/tmp/workdir/go/src/runtime/proc.go:3602 +0xb1 fp=0x8523fc4 sp=0x8523fa8 pc=0x8088191\nruntime.mstart1()\n\t/tmp/workdir/go/src/runtime/proc.go:1606 +0xa7 fp=0x8523fd4 sp=0x8523fc4 pc=0x8083fc7\nruntime.mstart0()\n\t/tmp/workdir/go/src/runtime/proc.go:1556 +0x54 fp=0x8523fe4 sp=0x8523fd4 pc=0x8083f04\nruntime.netbsdMstart0()\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:263 +0x34 fp=0x8523ffc sp=0x8523fe4 pc=0x807c934\nruntime.netbsdMstart()\n\t/tmp/workdir/go/src/runtime/sys_netbsd_386.s:364 +0x5 fp=0x8524000 sp=0x8523ffc pc=0x80ad985\n\ngoroutine 1 [runnable]:\nruntime.gopark(0x8130b64, 0x81da220, 0x12, 0x19, 0x4)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432664 sp=0x8432650 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.semacquire1(0x8412158, 0x0, 0x1, 0x0, 0x12)\n\t/tmp/workdir/go/src/runtime/sema.go:160 +0x287 fp=0x8432694 sp=0x8432664 pc=0x8091f27\nsync.runtime_Semacquire(0x8412158)\n\t/tmp/workdir/go/src/runtime/sema.go:62 +0x35 fp=0x84326ac sp=0x8432694 pc=0x80aa6c5\nsync.(*WaitGroup).Wait(0x8412150)\n\t/tmp/workdir/go/src/sync/waitgroup.go:116 +0x5f fp=0x84326c8 sp=0x84326ac pc=0x80b558f\nmain.LockOSThreadTemplateThreadRace()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:243 +0x131 fp=0x8432734 sp=0x84326c8 pc=0x8100331\nmain.main()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/main.go:34 +0x148 fp=0x84327a4 sp=0x8432734 pc=0x8100548\nruntime.main()\n\t/tmp/workdir/go/src/runtime/proc.go:267 +0x2bf fp=0x84327f0 sp=0x84327a4 pc=0x808158f\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84327f4 sp=0x84327f0 pc=0x80ac931\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x8130b64, 0x81d7870, 0x11, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432fdc sp=0x8432fc8 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/tmp/workdir/go/src/runtime/proc.go:322 +0xc7 fp=0x8432ff0 sp=0x8432fdc pc=0x8081887\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8432ff4 sp=0x8432ff0 pc=0x80ac931\ncreated by runtime.init.5 in goroutine 1\n\t/tmp/workdir/go/src/runtime/proc.go:310 +0x1d\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x8130b64, 0x81d79e0, 0xc, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x84337cc sp=0x84337b8 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.bgsweep(0x841a040)\n\t/tmp/workdir/go/src/runtime/mgcsweep.go:280 +0x8f fp=0x84337e8 sp=0x84337cc pc=0x806ca1f\nruntime.gcenable.gowrap1()\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x21 fp=0x84337f0 sp=0x84337e8 pc=0x805e961\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84337f4 sp=0x84337f0 pc=0x80ac931\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x71\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x8130b64, 0x81d7a40, 0xd, 0x14, 0x2)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8433fb8 sp=0x8433fa4 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x81d7a40)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:425 +0x54 fp=0x8433fcc sp=0x8433fb8 pc=0x8069f44\nruntime.bgscavenge(0x841a040)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:653 +0x45 fp=0x8433fe8 sp=0x8433fcc pc=0x806a585\nruntime.gcenable.gowrap2()\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0x21 fp=0x8433ff0 sp=0x8433fe8 pc=0x805e921\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8433ff4 sp=0x8433ff0 pc=0x80ac931\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0xb1\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x8130a1c, 0x81e9cf8, 0x10, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8434798 sp=0x8434784 pc=0x8081a1a\nruntime.runfinq()\n\t/tmp/workdir/go/src/runtime/mfinal.go:193 +0xf0 fp=0x84347f0 sp=0x8434798 pc=0x805daf0\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84347f4 sp=0x84347f0 pc=0x80ac931\ncreated by runtime.createfing in goroutine 1\n\t/tmp/workdir/go/src/runtime/mfinal.go:163 +0x5a\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/tmp/workdir/go/src/runtime/asm_386.s:341 fp=0x8490a18 sp=0x8490a14 pc=0x80ab5f0\nruntime.stopTheWorld(0x7)\n\t/tmp/workdir/go/src/runtime/proc.go:1262 +0xc7 fp=0x8490a40 sp=0x8490a18 pc=0x80837b7\nruntime.ReadMemStats(0x8490a54)\n\t/tmp/workdir/go/src/runtime/mstats.go:361 +0x1e fp=0x8490a50 sp=0x8490a40 pc=0x80792ae\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x34 fp=0x8491ff0 sp=0x8490a50 pc=0x81045f4\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8491ff4 sp=0x8491ff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2d\n\ngoroutine 17 [runnable]:\nmain.LockOSThreadTemplateThreadRace.func2.1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 fp=0x8514ff0 sp=0x8514fec pc=0x8104600\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8514ff4 sp=0x8514ff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace.func2 in goroutine 8\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 +0x67\n\neax    0x4\nebx    0x0\necx    0x8496100\nedx    0x8494000\nedi    0x8523fb4\nesi    0x8\nebp    0x3\nesp    0x8523e68\neip    0x80ad9e7\neflags 0x247\ncs     0x17\nfs     0xab\ngs     0xb3\n"
panic: test timed out after 3m0s
running tests:
	TestMemmoveOverlapLarge0x120000 (11s)

goroutine 178910 [running]:
panic({0x84069a0, 0x9390128})
	/tmp/workdir/go/src/runtime/panic.go:774 +0x124 fp=0x8b20784 sp=0x8b20730 pc=0x8085ad4
testing.(*M).startAlarm.func1()
	/tmp/workdir/go/src/testing/testing.go:2259 +0x386 fp=0x8b207f0 sp=0x8b20784 pc=0x814db16
runtime.goexit({})
	/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8b207f4 sp=0x8b207f0 pc=0x80c2f81
created by time.goFunc
	/tmp/workdir/go/src/time/sleep.go:177 +0x29

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2023-09-08 19:03 netbsd-386-9_3 go@45d3d100 runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (137.40s)
    proc_test.go:1022: /tmp/workdir/tmp/go-build1753044255/testprog.exe LockOSThreadTemplateThreadRace (66.910154ms): ok
    exec.go:190: test timed out while running command: /tmp/workdir/tmp/go-build1753044255/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /tmp/workdir/tmp/go-build1753044255/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 1: want "OK\n", got "SIGQUIT: quit\nPC=0x80ad9e7 m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x84370e0, 0x0)\n\t/tmp/workdir/go/src/runtime/sys_netbsd_386.s:404 +0x7 fp=0x84c1e6c sp=0x84c1e68 pc=0x80ad9e7\nruntime.semasleep(0xffffffffffffffff)\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:183 +0x24c fp=0x84c1eb4 sp=0x84c1e6c pc=0x807c4dc\nruntime.notesleep(0x8436ed8)\n\t/tmp/workdir/go/src/runtime/lock_sema.go:181 +0x82 fp=0x84c1ed0 sp=0x84c1eb4 pc=0x8052432\nruntime.mPark(...)\n\t/tmp/workdir/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2535 +0x97 fp=0x84c1ee4 sp=0x84c1ed0 pc=0x8085557\nruntime.gcstopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2834 +0xce fp=0x84c1efc sp=0x84c1ee4 pc=0x80860be\nruntime.findRunnable()\n\t/tmp/workdir/go/src/runtime/proc.go:2900 +0x5a fp=0x84c1fa8 sp=0x84c1efc pc=0x808629a\nruntime.schedule()\n\t/tmp/workdir/go/src/runtime/proc.go:3602 +0xb1 fp=0x84c1fc4 sp=0x84c1fa8 pc=0x8088191\nruntime.mstart1()\n\t/tmp/workdir/go/src/runtime/proc.go:1606 +0xa7 fp=0x84c1fd4 sp=0x84c1fc4 pc=0x8083fc7\nruntime.mstart0()\n\t/tmp/workdir/go/src/runtime/proc.go:1556 +0x54 fp=0x84c1fe4 sp=0x84c1fd4 pc=0x8083f04\nruntime.netbsdMstart0()\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:263 +0x34 fp=0x84c1ffc sp=0x84c1fe4 pc=0x807c934\nruntime.netbsdMstart()\n\t/tmp/workdir/go/src/runtime/sys_netbsd_386.s:364 +0x5 fp=0x84c2000 sp=0x84c1ffc pc=0x80ad985\n\ngoroutine 1 [semacquire]:\nruntime.gopark(0x8130b64, 0x81db420, 0x12, 0x19, 0x4)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432664 sp=0x8432650 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.semacquire1(0x84b4008, 0x0, 0x1, 0x0, 0x12)\n\t/tmp/workdir/go/src/runtime/sema.go:160 +0x287 fp=0x8432694 sp=0x8432664 pc=0x8091f27\nsync.runtime_Semacquire(0x84b4008)\n\t/tmp/workdir/go/src/runtime/sema.go:62 +0x35 fp=0x84326ac sp=0x8432694 pc=0x80aa6c5\nsync.(*WaitGroup).Wait(0x84b4000)\n\t/tmp/workdir/go/src/sync/waitgroup.go:116 +0x5f fp=0x84326c8 sp=0x84326ac pc=0x80b558f\nmain.LockOSThreadTemplateThreadRace()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:243 +0x131 fp=0x8432734 sp=0x84326c8 pc=0x8100331\nmain.main()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/main.go:34 +0x148 fp=0x84327a4 sp=0x8432734 pc=0x8100548\nruntime.main()\n\t/tmp/workdir/go/src/runtime/proc.go:267 +0x2bf fp=0x84327f0 sp=0x84327a4 pc=0x808158f\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84327f4 sp=0x84327f0 pc=0x80ac931\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x8130b64, 0x81d7870, 0x11, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432fdc sp=0x8432fc8 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/tmp/workdir/go/src/runtime/proc.go:322 +0xc7 fp=0x8432ff0 sp=0x8432fdc pc=0x8081887\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8432ff4 sp=0x8432ff0 pc=0x80ac931\ncreated by runtime.init.5 in goroutine 1\n\t/tmp/workdir/go/src/runtime/proc.go:310 +0x1d\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x8130b64, 0x81d79e0, 0xc, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x84337cc sp=0x84337b8 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.bgsweep(0x841a040)\n\t/tmp/workdir/go/src/runtime/mgcsweep.go:280 +0x8f fp=0x84337e8 sp=0x84337cc pc=0x806ca1f\nruntime.gcenable.gowrap1()\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x21 fp=0x84337f0 sp=0x84337e8 pc=0x805e961\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84337f4 sp=0x84337f0 pc=0x80ac931\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x71\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x8130b64, 0x81d7a40, 0xd, 0x14, 0x2)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8433fb8 sp=0x8433fa4 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x81d7a40)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:425 +0x54 fp=0x8433fcc sp=0x8433fb8 pc=0x8069f44\nruntime.bgscavenge(0x841a040)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:653 +0x45 fp=0x8433fe8 sp=0x8433fcc pc=0x806a585\nruntime.gcenable.gowrap2()\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0x21 fp=0x8433ff0 sp=0x8433fe8 pc=0x805e921\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8433ff4 sp=0x8433ff0 pc=0x80ac931\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0xb1\n\ngoroutine 17 [finalizer wait]:\nruntime.gopark(0x8130a1c, 0x81e9cf8, 0x10, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x842e798 sp=0x842e784 pc=0x8081a1a\nruntime.runfinq()\n\t/tmp/workdir/go/src/runtime/mfinal.go:193 +0xf0 fp=0x842e7f0 sp=0x842e798 pc=0x805daf0\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x842e7f4 sp=0x842e7f0 pc=0x80ac931\ncreated by runtime.createfing in goroutine 1\n\t/tmp/workdir/go/src/runtime/mfinal.go:163 +0x5a\n\ngoroutine 18 [stopping the world]:\nruntime.systemstack_switch()\n\t/tmp/workdir/go/src/runtime/asm_386.s:341 fp=0x8468a18 sp=0x8468a14 pc=0x80ab5f0\nruntime.stopTheWorld(0x7)\n\t/tmp/workdir/go/src/runtime/proc.go:1262 +0xc7 fp=0x8468a40 sp=0x8468a18 pc=0x80837b7\nruntime.ReadMemStats(0x8468a54)\n\t/tmp/workdir/go/src/runtime/mstats.go:361 +0x1e fp=0x8468a50 sp=0x8468a40 pc=0x80792ae\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x34 fp=0x8469ff0 sp=0x8468a50 pc=0x81045f4\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8469ff4 sp=0x8469ff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2d\n\ngoroutine 19 [runnable, locked to thread]:\nruntime.Gosched(...)\n\t/tmp/workdir/go/src/runtime/proc.go:338\nmain.LockOSThreadTemplateThreadRace.func2()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:238 +0x7b fp=0x842f7f0 sp=0x842f7a4 pc=0x81003db\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x842f7f4 sp=0x842f7f0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:229 +0xae\n\ngoroutine 21 [runnable]:\nmain.LockOSThreadTemplateThreadRace.func2.1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 fp=0x84347f0 sp=0x84347ec pc=0x8104600\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84347f4 sp=0x84347f0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace.func2 in goroutine 20\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 +0x67\n\ngoroutine 33 [runnable]:\nmain.LockOSThreadTemplateThreadRace.func2.1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 fp=0x8504ff0 sp=0x8504fec pc=0x8104600\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8504ff4 sp=0x8504ff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace.func2 in goroutine 19\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 +0x67\n\neax    0x4\nebx    0x0\necx    0x8406f00\nedx    0x8436e00\nedi    0x84c1fb4\nesi    0x7\nebp    0x2\nesp    0x84c1e68\neip    0x80ad9e7\neflags 0x247\ncs     0x17\nfs     0xab\ngs     0xb3\n"
2023-09-08 19:09 netbsd-386-9_3 go@5d9e0be1 runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (137.29s)
    exec.go:190: test timed out while running command: /tmp/workdir/tmp/go-build316344389/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /tmp/workdir/tmp/go-build316344389/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 0: want "OK\n", got "SIGQUIT: quit\nPC=0x80ad9e7 m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x8437460, 0x0)\n\t/tmp/workdir/go/src/runtime/sys_netbsd_386.s:404 +0x7 fp=0x850be6c sp=0x850be68 pc=0x80ad9e7\nruntime.semasleep(0xffffffffffffffff)\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:183 +0x24c fp=0x850beb4 sp=0x850be6c pc=0x807c4dc\nruntime.notesleep(0x8437258)\n\t/tmp/workdir/go/src/runtime/lock_sema.go:181 +0x82 fp=0x850bed0 sp=0x850beb4 pc=0x8052432\nruntime.mPark(...)\n\t/tmp/workdir/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2535 +0x97 fp=0x850bee4 sp=0x850bed0 pc=0x8085557\nruntime.gcstopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2834 +0xce fp=0x850befc sp=0x850bee4 pc=0x80860be\nruntime.findRunnable()\n\t/tmp/workdir/go/src/runtime/proc.go:2900 +0x5a fp=0x850bfa8 sp=0x850befc pc=0x808629a\nruntime.schedule()\n\t/tmp/workdir/go/src/runtime/proc.go:3602 +0xb1 fp=0x850bfc4 sp=0x850bfa8 pc=0x8088191\nruntime.mstart1()\n\t/tmp/workdir/go/src/runtime/proc.go:1606 +0xa7 fp=0x850bfd4 sp=0x850bfc4 pc=0x8083fc7\nruntime.mstart0()\n\t/tmp/workdir/go/src/runtime/proc.go:1556 +0x54 fp=0x850bfe4 sp=0x850bfd4 pc=0x8083f04\nruntime.netbsdMstart0()\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:263 +0x34 fp=0x850bffc sp=0x850bfe4 pc=0x807c934\nruntime.netbsdMstart()\n\t/tmp/workdir/go/src/runtime/sys_netbsd_386.s:364 +0x5 fp=0x850c000 sp=0x850bffc pc=0x80ad985\n\ngoroutine 1 [semacquire]:\nruntime.gopark(0x8130b64, 0x81da220, 0x12, 0x19, 0x4)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432664 sp=0x8432650 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.semacquire1(0x8412158, 0x0, 0x1, 0x0, 0x12)\n\t/tmp/workdir/go/src/runtime/sema.go:160 +0x287 fp=0x8432694 sp=0x8432664 pc=0x8091f27\nsync.runtime_Semacquire(0x8412158)\n\t/tmp/workdir/go/src/runtime/sema.go:62 +0x35 fp=0x84326ac sp=0x8432694 pc=0x80aa6c5\nsync.(*WaitGroup).Wait(0x8412150)\n\t/tmp/workdir/go/src/sync/waitgroup.go:116 +0x5f fp=0x84326c8 sp=0x84326ac pc=0x80b558f\nmain.LockOSThreadTemplateThreadRace()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:243 +0x131 fp=0x8432734 sp=0x84326c8 pc=0x8100331\nmain.main()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/main.go:34 +0x148 fp=0x84327a4 sp=0x8432734 pc=0x8100548\nruntime.main()\n\t/tmp/workdir/go/src/runtime/proc.go:267 +0x2bf fp=0x84327f0 sp=0x84327a4 pc=0x808158f\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84327f4 sp=0x84327f0 pc=0x80ac931\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x8130b64, 0x81d7870, 0x11, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432fdc sp=0x8432fc8 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/tmp/workdir/go/src/runtime/proc.go:322 +0xc7 fp=0x8432ff0 sp=0x8432fdc pc=0x8081887\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8432ff4 sp=0x8432ff0 pc=0x80ac931\ncreated by runtime.init.5 in goroutine 1\n\t/tmp/workdir/go/src/runtime/proc.go:310 +0x1d\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x8130b64, 0x81d79e0, 0xc, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x84337cc sp=0x84337b8 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.bgsweep(0x841a040)\n\t/tmp/workdir/go/src/runtime/mgcsweep.go:280 +0x8f fp=0x84337e8 sp=0x84337cc pc=0x806ca1f\nruntime.gcenable.gowrap1()\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x21 fp=0x84337f0 sp=0x84337e8 pc=0x805e961\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84337f4 sp=0x84337f0 pc=0x80ac931\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x71\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x8130b64, 0x81d7a40, 0xd, 0x14, 0x2)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8433fb8 sp=0x8433fa4 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x81d7a40)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:425 +0x54 fp=0x8433fcc sp=0x8433fb8 pc=0x8069f44\nruntime.bgscavenge(0x841a040)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:653 +0x45 fp=0x8433fe8 sp=0x8433fcc pc=0x806a585\nruntime.gcenable.gowrap2()\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0x21 fp=0x8433ff0 sp=0x8433fe8 pc=0x805e921\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8433ff4 sp=0x8433ff0 pc=0x80ac931\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0xb1\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x8130a1c, 0x81e9cf8, 0x10, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8434798 sp=0x8434784 pc=0x8081a1a\nruntime.runfinq()\n\t/tmp/workdir/go/src/runtime/mfinal.go:193 +0xf0 fp=0x84347f0 sp=0x8434798 pc=0x805daf0\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84347f4 sp=0x84347f0 pc=0x80ac931\ncreated by runtime.createfing in goroutine 1\n\t/tmp/workdir/go/src/runtime/mfinal.go:163 +0x5a\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/tmp/workdir/go/src/runtime/asm_386.s:341 fp=0x8490a18 sp=0x8490a14 pc=0x80ab5f0\nruntime.stopTheWorld(0x7)\n\t/tmp/workdir/go/src/runtime/proc.go:1262 +0xc7 fp=0x8490a40 sp=0x8490a18 pc=0x80837b7\nruntime.ReadMemStats(0x8490a54)\n\t/tmp/workdir/go/src/runtime/mstats.go:361 +0x1e fp=0x8490a50 sp=0x8490a40 pc=0x80792ae\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x34 fp=0x8491ff0 sp=0x8490a50 pc=0x81045f4\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8491ff4 sp=0x8491ff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2d\n\ngoroutine 7 [runnable, locked to thread]:\nruntime.Gosched(...)\n\t/tmp/workdir/go/src/runtime/proc.go:338\nmain.LockOSThreadTemplateThreadRace.func2()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:238 +0x7b fp=0x84357f0 sp=0x84357a4 pc=0x81003db\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84357f4 sp=0x84357f0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:229 +0xae\n\ngoroutine 9 [runnable]:\nmain.LockOSThreadTemplateThreadRace.func2.1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 fp=0x842eff0 sp=0x842efec pc=0x8104600\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x842eff4 sp=0x842eff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace.func2 in goroutine 8\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 +0x67\n\ngoroutine 17 [runnable]:\nmain.LockOSThreadTemplateThreadRace.func2.1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 fp=0x851cff0 sp=0x851cfec pc=0x8104600\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x851cff4 sp=0x851cff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace.func2 in goroutine 7\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 +0x67\n\neax    0x4\nebx    0x0\necx    0x8407300\nedx    0x8437180\nedi    0x850bfb4\nesi    0x7\nebp    0x2\nesp    0x850be68\neip    0x80ad9e7\neflags 0x247\ncs     0x17\nfs     0xab\ngs     0xb3\n"
panic: test timed out after 3m0s
running tests:
	TestMemmoveOverlapLarge0x120000 (10s)

goroutine 182424 [running]:
panic({0x84069a0, 0x94fcf10})
	/tmp/workdir/go/src/runtime/panic.go:774 +0x124 fp=0x8d16784 sp=0x8d16730 pc=0x8085ad4
testing.(*M).startAlarm.func1()
	/tmp/workdir/go/src/testing/testing.go:2259 +0x386 fp=0x8d167f0 sp=0x8d16784 pc=0x814db16
runtime.goexit({})
	/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8d167f4 sp=0x8d167f0 pc=0x80c2f81
created by time.goFunc
	/tmp/workdir/go/src/time/sleep.go:177 +0x29

watchflakes

@prattmic
Copy link
Member

prattmic commented Sep 8, 2023

NetBSD uses mp.procid in locking semawake. unminit is called surprisingly early in mexit, and there is definitely locking after that point, so it isn't safe to clear procid so early.

@prattmic
Copy link
Member

prattmic commented Sep 8, 2023

Linux doesn't use procid anywhere quite so critical, but it is used in preemptM -> signalM for async preemption. preemptM could race with an exiting M and end up sending a signal to 0. I think that should be harmless because tgkill(getpid(), 0) returns EINVAL.

@prattmic
Copy link
Member

prattmic commented Sep 8, 2023

(It looks like there could be a problematic race with semawake attempting to wake the wrong thread when racing with an extra M moving between threads. But such a race should not be possible because the semawake M is found in the lock's waiting list. If the M is waiting for a lock it can't also be moving between threads.)

@gopherbot
Copy link

Change https://go.dev/cl/527057 mentions this issue: runtime: don't clear procid on netbsd

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2023-09-08 20:27 netbsd-386-9_3 go@af3bf866 runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (138.63s)
    proc_test.go:1022: /tmp/workdir/tmp/go-build872988647/testprog.exe LockOSThreadTemplateThreadRace (29.342762ms): ok
    proc_test.go:1022: /tmp/workdir/tmp/go-build872988647/testprog.exe LockOSThreadTemplateThreadRace (45.963451ms): ok
    proc_test.go:1022: /tmp/workdir/tmp/go-build872988647/testprog.exe LockOSThreadTemplateThreadRace (84.15648ms): ok
    proc_test.go:1022: /tmp/workdir/tmp/go-build872988647/testprog.exe LockOSThreadTemplateThreadRace (32.953306ms): ok
    exec.go:190: test timed out while running command: /tmp/workdir/tmp/go-build872988647/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /tmp/workdir/tmp/go-build872988647/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 4: want "OK\n", got "SIGQUIT: quit\nPC=0x80ad9e7 m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x8437460, 0x0)\n\t/tmp/workdir/go/src/runtime/sys_netbsd_386.s:404 +0x7 fp=0x850be6c sp=0x850be68 pc=0x80ad9e7\nruntime.semasleep(0xffffffffffffffff)\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:183 +0x24c fp=0x850beb4 sp=0x850be6c pc=0x807c4dc\nruntime.notesleep(0x8437258)\n\t/tmp/workdir/go/src/runtime/lock_sema.go:181 +0x82 fp=0x850bed0 sp=0x850beb4 pc=0x8052432\nruntime.mPark(...)\n\t/tmp/workdir/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2535 +0x97 fp=0x850bee4 sp=0x850bed0 pc=0x8085557\nruntime.gcstopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2834 +0xce fp=0x850befc sp=0x850bee4 pc=0x80860be\nruntime.findRunnable()\n\t/tmp/workdir/go/src/runtime/proc.go:2900 +0x5a fp=0x850bfa8 sp=0x850befc pc=0x808629a\nruntime.schedule()\n\t/tmp/workdir/go/src/runtime/proc.go:3602 +0xb1 fp=0x850bfc4 sp=0x850bfa8 pc=0x8088191\nruntime.mstart1()\n\t/tmp/workdir/go/src/runtime/proc.go:1606 +0xa7 fp=0x850bfd4 sp=0x850bfc4 pc=0x8083fc7\nruntime.mstart0()\n\t/tmp/workdir/go/src/runtime/proc.go:1556 +0x54 fp=0x850bfe4 sp=0x850bfd4 pc=0x8083f04\nruntime.netbsdMstart0()\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:263 +0x34 fp=0x850bffc sp=0x850bfe4 pc=0x807c934\nruntime.netbsdMstart()\n\t/tmp/workdir/go/src/runtime/sys_netbsd_386.s:364 +0x5 fp=0x850c000 sp=0x850bffc pc=0x80ad985\n\ngoroutine 1 [semacquire]:\nruntime.gopark(0x8130b64, 0x81da220, 0x12, 0x19, 0x4)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432664 sp=0x8432650 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.semacquire1(0x8412158, 0x0, 0x1, 0x0, 0x12)\n\t/tmp/workdir/go/src/runtime/sema.go:160 +0x287 fp=0x8432694 sp=0x8432664 pc=0x8091f27\nsync.runtime_Semacquire(0x8412158)\n\t/tmp/workdir/go/src/runtime/sema.go:62 +0x35 fp=0x84326ac sp=0x8432694 pc=0x80aa6c5\nsync.(*WaitGroup).Wait(0x8412150)\n\t/tmp/workdir/go/src/sync/waitgroup.go:116 +0x5f fp=0x84326c8 sp=0x84326ac pc=0x80b558f\nmain.LockOSThreadTemplateThreadRace()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:243 +0x131 fp=0x8432734 sp=0x84326c8 pc=0x8100331\nmain.main()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/main.go:34 +0x148 fp=0x84327a4 sp=0x8432734 pc=0x8100548\nruntime.main()\n\t/tmp/workdir/go/src/runtime/proc.go:267 +0x2bf fp=0x84327f0 sp=0x84327a4 pc=0x808158f\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84327f4 sp=0x84327f0 pc=0x80ac931\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x8130b64, 0x81d7870, 0x11, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432fdc sp=0x8432fc8 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/tmp/workdir/go/src/runtime/proc.go:322 +0xc7 fp=0x8432ff0 sp=0x8432fdc pc=0x8081887\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8432ff4 sp=0x8432ff0 pc=0x80ac931\ncreated by runtime.init.5 in goroutine 1\n\t/tmp/workdir/go/src/runtime/proc.go:310 +0x1d\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x8130b64, 0x81d79e0, 0xc, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x84337cc sp=0x84337b8 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.bgsweep(0x841a040)\n\t/tmp/workdir/go/src/runtime/mgcsweep.go:280 +0x8f fp=0x84337e8 sp=0x84337cc pc=0x806ca1f\nruntime.gcenable.gowrap1()\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x21 fp=0x84337f0 sp=0x84337e8 pc=0x805e961\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84337f4 sp=0x84337f0 pc=0x80ac931\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x71\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x8130b64, 0x81d7a40, 0xd, 0x14, 0x2)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8433fb8 sp=0x8433fa4 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x81d7a40)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:425 +0x54 fp=0x8433fcc sp=0x8433fb8 pc=0x8069f44\nruntime.bgscavenge(0x841a040)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:653 +0x45 fp=0x8433fe8 sp=0x8433fcc pc=0x806a585\nruntime.gcenable.gowrap2()\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0x21 fp=0x8433ff0 sp=0x8433fe8 pc=0x805e921\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8433ff4 sp=0x8433ff0 pc=0x80ac931\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0xb1\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x8130a1c, 0x81e9cf8, 0x10, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8434798 sp=0x8434784 pc=0x8081a1a\nruntime.runfinq()\n\t/tmp/workdir/go/src/runtime/mfinal.go:193 +0xf0 fp=0x84347f0 sp=0x8434798 pc=0x805daf0\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84347f4 sp=0x84347f0 pc=0x80ac931\ncreated by runtime.createfing in goroutine 1\n\t/tmp/workdir/go/src/runtime/mfinal.go:163 +0x5a\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/tmp/workdir/go/src/runtime/asm_386.s:341 fp=0x8490a18 sp=0x8490a14 pc=0x80ab5f0\nruntime.stopTheWorld(0x7)\n\t/tmp/workdir/go/src/runtime/proc.go:1262 +0xc7 fp=0x8490a40 sp=0x8490a18 pc=0x80837b7\nruntime.ReadMemStats(0x8490a54)\n\t/tmp/workdir/go/src/runtime/mstats.go:361 +0x1e fp=0x8490a50 sp=0x8490a40 pc=0x80792ae\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x34 fp=0x8491ff0 sp=0x8490a50 pc=0x81045f4\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8491ff4 sp=0x8491ff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2d\n\ngoroutine 8 [runnable, locked to thread]:\nruntime.Gosched(...)\n\t/tmp/workdir/go/src/runtime/proc.go:338\nmain.LockOSThreadTemplateThreadRace.func2()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:238 +0x7b fp=0x8435ff0 sp=0x8435fa4 pc=0x81003db\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8435ff4 sp=0x8435ff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:229 +0xae\n\ngoroutine 17 [runnable]:\nmain.LockOSThreadTemplateThreadRace.func2.1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 fp=0x851cff0 sp=0x851cfec pc=0x8104600\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x851cff4 sp=0x851cff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace.func2 in goroutine 8\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 +0x67\n\neax    0x4\nebx    0x0\necx    0x8407300\nedx    0x8437180\nedi    0x850bfb4\nesi    0x7\nebp    0x3\nesp    0x850be68\neip    0x80ad9e7\neflags 0x247\ncs     0x17\nfs     0xab\ngs     0xb3\n"
2023-09-08 20:27 netbsd-amd64-9_3 go@af3bf866 runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (134.21s)
    exec.go:190: test timed out while running command: /tmp/workdir/tmp/go-build2472722341/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /tmp/workdir/tmp/go-build2472722341/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 0: want "OK\n", got "SIGQUIT: quit\nPC=0x463fa3 m=7 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0xc000080a50, 0x0)\n\t/tmp/workdir/go/src/runtime/sys_netbsd_amd64.s:99 +0x23 fp=0xc000197d00 sp=0xc000197cf8 pc=0x463fa3\nruntime.semasleep(0xffffffffffffffff)\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:183 +0x11f fp=0xc000197d60 sp=0xc000197d00 pc=0x431adf\nruntime.notesleep(0x40acf3?)\n\t/tmp/workdir/go/src/runtime/lock_sema.go:181 +0x75 fp=0xc000197da0 sp=0xc000197d60 pc=0x40ae55\nruntime.mPark(...)\n\t/tmp/workdir/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2535 +0x8c fp=0xc000197dd0 sp=0xc000197da0 pc=0x43b1cc\nruntime.gcstopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2834 +0xaa fp=0xc000197df8 sp=0xc000197dd0 pc=0x43bd8a\nruntime.findRunnable()\n\t/tmp/workdir/go/src/runtime/proc.go:2900 +0x3f fp=0xc000197f20 sp=0xc000197df8 pc=0x43bf7f\nruntime.schedule()\n\t/tmp/workdir/go/src/runtime/proc.go:3602 +0xb1 fp=0xc000197f58 sp=0xc000197f20 pc=0x43da31\nruntime.mstart1()\n\t/tmp/workdir/go/src/runtime/proc.go:1606 +0xcd fp=0xc000197f80 sp=0xc000197f58 pc=0x439c6d\nruntime.mstart0()\n\t/tmp/workdir/go/src/runtime/proc.go:1556 +0x76 fp=0xc000197fb0 sp=0xc000197f80 pc=0x439b76\nruntime.netbsdMstart0()\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:263 +0x45 fp=0xc000197fe8 sp=0xc000197fb0 pc=0x431f85\nruntime.netbsdMstart()\n\t/tmp/workdir/go/src/runtime/sys_netbsd_amd64.s:82 +0x9 fp=0xc000197ff8 sp=0xc000197fe8 pc=0x463f49\n\ngoroutine 1 [semacquire]:\nruntime.gopark(0x439429?, 0xc000104dc8?, 0x0?, 0x80?, 0x1?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000104d88 sp=0xc000104d68 pc=0x43750e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.semacquire1(0xc000012158, 0x30?, 0x1, 0x0, 0x6b?)\n\t/tmp/workdir/go/src/runtime/sema.go:160 +0x218 fp=0xc000104df0 sp=0xc000104d88 pc=0x446eb8\nsync.runtime_Semacquire(0xc00010e120?)\n\t/tmp/workdir/go/src/runtime/sema.go:62 +0x25 fp=0xc000104e28 sp=0xc000104df0 pc=0x45f165\nsync.(*WaitGroup).Wait(0xc136ff603189ee83?)\n\t/tmp/workdir/go/src/sync/waitgroup.go:116 +0x48 fp=0xc000104e50 sp=0xc000104e28 pc=0x46ca28\nmain.LockOSThreadTemplateThreadRace()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:243 +0xec fp=0xc000104ea8 sp=0xc000104e50 pc=0x4b7eec\nmain.main()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/main.go:34 +0x133 fp=0xc000104f40 sp=0xc000104ea8 pc=0x4b80f3\nruntime.main()\n\t/tmp/workdir/go/src/runtime/proc.go:267 +0x2bb fp=0xc000104fe0 sp=0xc000104f40 pc=0x4370bb\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000104fe8 sp=0xc000104fe0 pc=0x462841\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000044fa8 sp=0xc000044f88 pc=0x43750e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/tmp/workdir/go/src/runtime/proc.go:322 +0xb3 fp=0xc000044fe0 sp=0xc000044fa8 pc=0x437393\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000044fe8 sp=0xc000044fe0 pc=0x462841\ncreated by runtime.init.6 in goroutine 1\n\t/tmp/workdir/go/src/runtime/proc.go:310 +0x1a\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000045778 sp=0xc000045758 pc=0x43750e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.bgsweep(0x0?)\n\t/tmp/workdir/go/src/runtime/mgcsweep.go:280 +0x94 fp=0xc0000457c8 sp=0xc000045778 pc=0x4234b4\nruntime.gcenable.gowrap1()\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x25 fp=0xc0000457e0 sp=0xc0000457c8 pc=0x418345\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000457e8 sp=0xc0000457e0 pc=0x462841\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x66\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0xc000066000?, 0x50bbb0?, 0x1?, 0x0?, 0xc000006d00?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000045f70 sp=0xc000045f50 pc=0x43750e\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x5a4900)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc000045fa0 sp=0xc000045f70 pc=0x420da9\nruntime.bgscavenge(0x0?)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0xc000045fc8 sp=0xc000045fa0 pc=0x42133c\nruntime.gcenable.gowrap2()\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0x25 fp=0xc000045fe0 sp=0xc000045fc8 pc=0x4182e5\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000045fe8 sp=0xc000045fe0 pc=0x462841\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0xa5\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x400000?, 0xc000044670?, 0x9c?, 0x1?, 0x5d2d80?)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xce fp=0xc000044628 sp=0xc000044608 pc=0x43750e\nruntime.runfinq()\n\t/tmp/workdir/go/src/runtime/mfinal.go:193 +0x107 fp=0xc0000447e0 sp=0xc000044628 pc=0x4173a7\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000447e8 sp=0xc0000447e0 pc=0x462841\ncreated by runtime.createfing in goroutine 1\n\t/tmp/workdir/go/src/runtime/mfinal.go:163 +0x3d\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc0000928b0 sp=0xc0000928a0 pc=0x4609e8\nruntime.stopTheWorld(0x7)\n\t/tmp/workdir/go/src/runtime/proc.go:1262 +0xc9 fp=0xc000092910 sp=0xc0000928b0 pc=0x439429\nruntime.ReadMemStats(0xc000092940)\n\t/tmp/workdir/go/src/runtime/mstats.go:361 +0x1f fp=0xc000092938 sp=0xc000092910 pc=0x42f73f\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x36 fp=0xc000093fe0 sp=0xc000092938 pc=0x4bb716\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000093fe8 sp=0xc000093fe0 pc=0x462841\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x28\n\ngoroutine 7 [runnable, locked to thread]:\nruntime.Gosched(...)\n\t/tmp/workdir/go/src/runtime/proc.go:338\nmain.LockOSThreadTemplateThreadRace.func2()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:238 +0x72 fp=0xc000046fe0 sp=0xc000046f80 pc=0x4b7f92\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000046fe8 sp=0xc000046fe0 pc=0x462841\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:229 +0x76\n\ngoroutine 17 [runnable]:\nmain.LockOSThreadTemplateThreadRace.func2.1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 fp=0xc0001857e0 sp=0xc0001857d8 pc=0x4bb720\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0001857e8 sp=0xc0001857e0 pc=0x462841\ncreated by main.LockOSThreadTemplateThreadRace.func2 in goroutine 7\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 +0x5f\n\nrax    0x4\nrbx    0x0\nrcx    0x463fa3\nrdx    0x0\nrdi    0x3\nrsi    0x0\nrbp    0xc000197d50\nrsp    0xc000197cf8\nr8     0xc000080a50\nr9     0x0\nr10    0x0\nr11    0x206\nr12    0xc000197e78\nr13    0x0\nr14    0xc000084680\nr15    0x12\nrip    0x463fa3\nrflags 0x207\ncs     0x47\nfs     0x0\ngs     0x0\n"
2023-09-08 20:37 netbsd-386-9_3 go@a742ae49 runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (138.64s)
    proc_test.go:1022: /tmp/workdir/tmp/go-build3736029453/testprog.exe LockOSThreadTemplateThreadRace (37.626444ms): ok
    proc_test.go:1022: /tmp/workdir/tmp/go-build3736029453/testprog.exe LockOSThreadTemplateThreadRace (60.00003ms): ok
    proc_test.go:1022: /tmp/workdir/tmp/go-build3736029453/testprog.exe LockOSThreadTemplateThreadRace (50.152681ms): ok
    proc_test.go:1022: /tmp/workdir/tmp/go-build3736029453/testprog.exe LockOSThreadTemplateThreadRace (69.884939ms): ok
    exec.go:190: test timed out while running command: /tmp/workdir/tmp/go-build3736029453/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /tmp/workdir/tmp/go-build3736029453/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 4: want "OK\n", got "SIGQUIT: quit\nPC=0x80ad9e7 m=7 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x84809e0, 0x0)\n\t/tmp/workdir/go/src/runtime/sys_netbsd_386.s:404 +0x7 fp=0x8477e6c sp=0x8477e68 pc=0x80ad9e7\nruntime.semasleep(0xffffffffffffffff)\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:183 +0x24c fp=0x8477eb4 sp=0x8477e6c pc=0x807c4dc\nruntime.notesleep(0x84807d8)\n\t/tmp/workdir/go/src/runtime/lock_sema.go:181 +0x82 fp=0x8477ed0 sp=0x8477eb4 pc=0x8052432\nruntime.mPark(...)\n\t/tmp/workdir/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2535 +0x97 fp=0x8477ee4 sp=0x8477ed0 pc=0x8085557\nruntime.gcstopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2834 +0xce fp=0x8477efc sp=0x8477ee4 pc=0x80860be\nruntime.findRunnable()\n\t/tmp/workdir/go/src/runtime/proc.go:2900 +0x5a fp=0x8477fa8 sp=0x8477efc pc=0x808629a\nruntime.schedule()\n\t/tmp/workdir/go/src/runtime/proc.go:3602 +0xb1 fp=0x8477fc4 sp=0x8477fa8 pc=0x8088191\nruntime.mstart1()\n\t/tmp/workdir/go/src/runtime/proc.go:1606 +0xa7 fp=0x8477fd4 sp=0x8477fc4 pc=0x8083fc7\nruntime.mstart0()\n\t/tmp/workdir/go/src/runtime/proc.go:1556 +0x54 fp=0x8477fe4 sp=0x8477fd4 pc=0x8083f04\nruntime.netbsdMstart0()\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:263 +0x34 fp=0x8477ffc sp=0x8477fe4 pc=0x807c934\nruntime.netbsdMstart()\n\t/tmp/workdir/go/src/runtime/sys_netbsd_386.s:364 +0x5 fp=0x8478000 sp=0x8477ffc pc=0x80ad985\n\ngoroutine 1 [semacquire]:\nruntime.gopark(0x8130b64, 0x81db420, 0x12, 0x19, 0x4)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432664 sp=0x8432650 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.semacquire1(0x84b4008, 0x0, 0x1, 0x0, 0x12)\n\t/tmp/workdir/go/src/runtime/sema.go:160 +0x287 fp=0x8432694 sp=0x8432664 pc=0x8091f27\nsync.runtime_Semacquire(0x84b4008)\n\t/tmp/workdir/go/src/runtime/sema.go:62 +0x35 fp=0x84326ac sp=0x8432694 pc=0x80aa6c5\nsync.(*WaitGroup).Wait(0x84b4000)\n\t/tmp/workdir/go/src/sync/waitgroup.go:116 +0x5f fp=0x84326c8 sp=0x84326ac pc=0x80b558f\nmain.LockOSThreadTemplateThreadRace()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:243 +0x131 fp=0x8432734 sp=0x84326c8 pc=0x8100331\nmain.main()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/main.go:34 +0x148 fp=0x84327a4 sp=0x8432734 pc=0x8100548\nruntime.main()\n\t/tmp/workdir/go/src/runtime/proc.go:267 +0x2bf fp=0x84327f0 sp=0x84327a4 pc=0x808158f\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84327f4 sp=0x84327f0 pc=0x80ac931\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x8130b64, 0x81d7870, 0x11, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432fdc sp=0x8432fc8 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/tmp/workdir/go/src/runtime/proc.go:322 +0xc7 fp=0x8432ff0 sp=0x8432fdc pc=0x8081887\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8432ff4 sp=0x8432ff0 pc=0x80ac931\ncreated by runtime.init.5 in goroutine 1\n\t/tmp/workdir/go/src/runtime/proc.go:310 +0x1d\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x8130b64, 0x81d79e0, 0xc, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x84337cc sp=0x84337b8 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.bgsweep(0x841a040)\n\t/tmp/workdir/go/src/runtime/mgcsweep.go:280 +0x8f fp=0x84337e8 sp=0x84337cc pc=0x806ca1f\nruntime.gcenable.gowrap1()\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x21 fp=0x84337f0 sp=0x84337e8 pc=0x805e961\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84337f4 sp=0x84337f0 pc=0x80ac931\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x71\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x8130b64, 0x81d7a40, 0xd, 0x14, 0x2)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8433fb8 sp=0x8433fa4 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x81d7a40)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:425 +0x54 fp=0x8433fcc sp=0x8433fb8 pc=0x8069f44\nruntime.bgscavenge(0x841a040)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:653 +0x45 fp=0x8433fe8 sp=0x8433fcc pc=0x806a585\nruntime.gcenable.gowrap2()\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0x21 fp=0x8433ff0 sp=0x8433fe8 pc=0x805e921\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8433ff4 sp=0x8433ff0 pc=0x80ac931\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0xb1\n\ngoroutine 17 [finalizer wait]:\nruntime.gopark(0x8130a1c, 0x81e9cf8, 0x10, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x842e798 sp=0x842e784 pc=0x8081a1a\nruntime.runfinq()\n\t/tmp/workdir/go/src/runtime/mfinal.go:193 +0xf0 fp=0x842e7f0 sp=0x842e798 pc=0x805daf0\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x842e7f4 sp=0x842e7f0 pc=0x80ac931\ncreated by runtime.createfing in goroutine 1\n\t/tmp/workdir/go/src/runtime/mfinal.go:163 +0x5a\n\ngoroutine 18 [stopping the world]:\nruntime.systemstack_switch()\n\t/tmp/workdir/go/src/runtime/asm_386.s:341 fp=0x8468a18 sp=0x8468a14 pc=0x80ab5f0\nruntime.stopTheWorld(0x7)\n\t/tmp/workdir/go/src/runtime/proc.go:1262 +0xc7 fp=0x8468a40 sp=0x8468a18 pc=0x80837b7\nruntime.ReadMemStats(0x8468a54)\n\t/tmp/workdir/go/src/runtime/mstats.go:361 +0x1e fp=0x8468a50 sp=0x8468a40 pc=0x80792ae\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x34 fp=0x8469ff0 sp=0x8468a50 pc=0x81045f4\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8469ff4 sp=0x8469ff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2d\n\ngoroutine 20 [runnable, locked to thread]:\nruntime.Gosched(...)\n\t/tmp/workdir/go/src/runtime/proc.go:338\nmain.LockOSThreadTemplateThreadRace.func2()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:238 +0x7b fp=0x842fff0 sp=0x842ffa4 pc=0x81003db\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x842fff4 sp=0x842fff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:229 +0xae\n\ngoroutine 21 [runnable]:\nmain.LockOSThreadTemplateThreadRace.func2.1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 fp=0x84baff0 sp=0x84bafec pc=0x8104600\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84baff4 sp=0x84baff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace.func2 in goroutine 20\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:235 +0x67\n\neax    0x4\nebx    0x0\necx    0x8482800\nedx    0x8480700\nedi    0x8477fb4\nesi    0x8\nebp    0x3\nesp    0x8477e68\neip    0x80ad9e7\neflags 0x247\ncs     0x17\nfs     0xab\ngs     0xb3\n"

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2023-09-08 20:27 netbsd-arm64-bsiegert go@af3bf866 runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1568.83s)
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build1777035803/testprog.exe LockOSThreadTemplateThreadRace (93.470776ms): ok
    exec.go:190: test timed out while running command: /scratch/gobuilder/buildlet/tmp/go-build1777035803/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build1777035803/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 1: want "OK\n", got "SIGQUIT: quit\nPC=0x7464c m=7 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x4000037ad0, 0x0)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:92 +0x1c fp=0x400009fce0 sp=0x400009fce0 pc=0x7464c\nruntime.semasleep(0xffffffffffffffff)\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x12c fp=0x400009fd40 sp=0x400009fce0 pc=0x419ec\nruntime.notesleep(0x4000037600?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0xac fp=0x400009fd80 sp=0x400009fd40 pc=0x1a5ec\nruntime.mPark(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x84 fp=0x400009fdb0 sp=0x400009fd80 pc=0x4b1a4\nruntime.gcstopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2834 +0xe8 fp=0x400009fde0 sp=0x400009fdb0 pc=0x4bec8\nruntime.findRunnable()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2900 +0x4c fp=0x400009ff00 sp=0x400009fde0 pc=0x4c0bc\nruntime.schedule()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:3602 +0x98 fp=0x400009ff40 sp=0x400009ff00 pc=0x4e078\nruntime.mstart1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1606 +0xb8 fp=0x400009ff70 sp=0x400009ff40 pc=0x498e8\nruntime.mstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1556 +0x68 fp=0x400009ffa0 sp=0x400009ff70 pc=0x49808\nruntime.netbsdMstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:263 +0x2c fp=0x400009ffe0 sp=0x400009ffa0 pc=0x41dfc\nruntime.netbsdMstart()\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:77 +0x10 fp=0x400009fff0 sp=0x400009ffe0 pc=0x74610\n\ngoroutine 1 [runnable]:\nruntime.gopark(0x1c3e60?, 0x1c13c?, 0x0?, 0x40?, 0x30?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x400006ed80 sp=0x400006ed60 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.semacquire1(0x400000e198, 0x98?, 0x1, 0x0, 0x8?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sema.go:160 +0x208 fp=0x400006edd0 sp=0x400006ed80 pc=0x57b88\nsync.runtime_Semacquire(0x40000021a0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sema.go:62 +0x2c fp=0x400006ee10 sp=0x400006edd0 pc=0x6ff1c\nsync.(*WaitGroup).Wait(0x400000e190)\n\t/scratch/gobuilder/buildlet/go/src/sync/waitgroup.go:116 +0x74 fp=0x400006ee30 sp=0x400006ee10 pc=0x7d534\nmain.LockOSThreadTemplateThreadRace()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:243 +0xe8 fp=0x400006ee90 sp=0x400006ee30 pc=0xc4e68\nmain.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/main.go:34 +0x11c fp=0x400006ef30 sp=0x400006ee90 pc=0xc505c\nruntime.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:267 +0x2bc fp=0x400006efd0 sp=0x400006ef30 pc=0x46cbc\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x400006efd0 sp=0x400006efd0 pc=0x73924\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030f90 sp=0x4000030f70 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xb8 fp=0x4000030fd0 sp=0x4000030f90 pc=0x46f78\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000030fd0 sp=0x4000030fd0 pc=0x73924\ncreated by runtime.init.6 in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x24\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031760 sp=0x4000031740 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa0 fp=0x40000317b0 sp=0x4000031760 pc=0x33150\nruntime.gcenable.gowrap1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x40000317d0 sp=0x40000317b0 pc=0x278f8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000317d0 sp=0x40000317d0 pc=0x73924\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x6c\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x4000052000?, 0x11f0c8?, 0x1?, 0x0?, 0x4000002d00?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031f50 sp=0x4000031f30 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1bb880)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x5c fp=0x4000031f80 sp=0x4000031f50 pc=0x309ec\nruntime.bgscavenge(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x44 fp=0x4000031fb0 sp=0x4000031f80 pc=0x30f34\nruntime.gcenable.gowrap2()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x4000031fd0 sp=0x4000031fb0 pc=0x27898\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000031fd0 sp=0x4000031fd0 pc=0x73924\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xac\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x40000305d8?, 0x23664?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030580 sp=0x4000030560 pc=0x470e8\nruntime.runfinq()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x108 fp=0x40000307d0 sp=0x4000030580 pc=0x269e8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000307d0 sp=0x40000307d0 pc=0x73924\ncreated by runtime.createfing in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x80\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:200 +0x8 fp=0x4000184890 sp=0x4000184880 pc=0x715a8\nruntime.stopTheWorld(0x7)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xc4 fp=0x40001848f0 sp=0x4000184890 pc=0x49004\nruntime.ReadMemStats(0x4000184938)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x28 fp=0x4000184920 sp=0x40001848f0 pc=0x3f408\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x4c fp=0x4000185fd0 sp=0x4000184920 pc=0xc894c\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000185fd0 sp=0x4000185fd0 pc=0x73924\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2c\n\nr0      0x4\nr1      0x0\nr2      0x0\nr3      0x0\nr4      0x4000037ad0\nr5      0x0\nr6      0x2\nr7      0x1\nr8      0x400009c000\nr9      0x0\nr10     0x0\nr11     0x0\nr12     0x8e\nr13     0x13\nr14     0x2\nr15     0x11\nr16     0x400009c3a0\nr17     0x400009fe60\nr18     0x0\nr19     0x0\nr20     0x400009fde0\nr21     0x4000000120\nr22     0x0\nr23     0x0\nr24     0x0\nr25     0x0\nr26     0x102818\nr27     0xffffffffffffffa0\nr28     0x400008e1a0\nr29     0x400009fcd8\nlr      0x419ec\nsp      0x400009fce0\npc      0x7464c\nfault   0x6f60\n"

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2023-09-09 01:46 netbsd-arm64-bsiegert go@267323ef runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1569.37s)
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build2627116211/testprog.exe LockOSThreadTemplateThreadRace (224.040039ms): ok
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build2627116211/testprog.exe LockOSThreadTemplateThreadRace (28.770457ms): ok
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build2627116211/testprog.exe LockOSThreadTemplateThreadRace (15.866578ms): ok
    exec.go:190: test timed out while running command: /scratch/gobuilder/buildlet/tmp/go-build2627116211/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build2627116211/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 3: want "OK\n", got "SIGQUIT: quit\nPC=0x7464c m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x4000080a50, 0x0)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:92 +0x1c fp=0x400011bce0 sp=0x400011bce0 pc=0x7464c\nruntime.semasleep(0xffffffffffffffff)\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x12c fp=0x400011bd40 sp=0x400011bce0 pc=0x419ec\nruntime.notesleep(0x4000080580?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0xac fp=0x400011bd80 sp=0x400011bd40 pc=0x1a5ec\nruntime.mPark(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x84 fp=0x400011bdb0 sp=0x400011bd80 pc=0x4b1a4\nruntime.gcstopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2834 +0xe8 fp=0x400011bde0 sp=0x400011bdb0 pc=0x4bec8\nruntime.findRunnable()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2900 +0x4c fp=0x400011bf00 sp=0x400011bde0 pc=0x4c0bc\nruntime.schedule()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:3602 +0x98 fp=0x400011bf40 sp=0x400011bf00 pc=0x4e078\nruntime.mstart1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1606 +0xb8 fp=0x400011bf70 sp=0x400011bf40 pc=0x498e8\nruntime.mstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1556 +0x68 fp=0x400011bfa0 sp=0x400011bf70 pc=0x49808\nruntime.netbsdMstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:263 +0x2c fp=0x400011bfe0 sp=0x400011bfa0 pc=0x41dfc\nruntime.netbsdMstart()\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:77 +0x10 fp=0x400011bff0 sp=0x400011bfe0 pc=0x74610\n\ngoroutine 1 [semacquire]:\nruntime.gopark(0x1c3e60?, 0x1c13c?, 0x0?, 0x40?, 0x30?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x400006ed80 sp=0x400006ed60 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.semacquire1(0x400000e198, 0x98?, 0x1, 0x0, 0x8?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sema.go:160 +0x208 fp=0x400006edd0 sp=0x400006ed80 pc=0x57b88\nsync.runtime_Semacquire(0x40000021a0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sema.go:62 +0x2c fp=0x400006ee10 sp=0x400006edd0 pc=0x6ff1c\nsync.(*WaitGroup).Wait(0x400000e190)\n\t/scratch/gobuilder/buildlet/go/src/sync/waitgroup.go:116 +0x74 fp=0x400006ee30 sp=0x400006ee10 pc=0x7d534\nmain.LockOSThreadTemplateThreadRace()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:243 +0xe8 fp=0x400006ee90 sp=0x400006ee30 pc=0xc4e68\nmain.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/main.go:34 +0x11c fp=0x400006ef30 sp=0x400006ee90 pc=0xc505c\nruntime.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:267 +0x2bc fp=0x400006efd0 sp=0x400006ef30 pc=0x46cbc\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x400006efd0 sp=0x400006efd0 pc=0x73924\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030f90 sp=0x4000030f70 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xb8 fp=0x4000030fd0 sp=0x4000030f90 pc=0x46f78\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000030fd0 sp=0x4000030fd0 pc=0x73924\ncreated by runtime.init.6 in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x24\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031760 sp=0x4000031740 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa0 fp=0x40000317b0 sp=0x4000031760 pc=0x33150\nruntime.gcenable.gowrap1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x40000317d0 sp=0x40000317b0 pc=0x278f8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000317d0 sp=0x40000317d0 pc=0x73924\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x6c\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x4000052000?, 0x11f0c8?, 0x1?, 0x0?, 0x4000002d00?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031f50 sp=0x4000031f30 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1bb880)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x5c fp=0x4000031f80 sp=0x4000031f50 pc=0x309ec\nruntime.bgscavenge(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x44 fp=0x4000031fb0 sp=0x4000031f80 pc=0x30f34\nruntime.gcenable.gowrap2()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x4000031fd0 sp=0x4000031fb0 pc=0x27898\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000031fd0 sp=0x4000031fd0 pc=0x73924\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xac\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x40000305d8?, 0x23664?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030580 sp=0x4000030560 pc=0x470e8\nruntime.runfinq()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x108 fp=0x40000307d0 sp=0x4000030580 pc=0x269e8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000307d0 sp=0x40000307d0 pc=0x73924\ncreated by runtime.createfing in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x80\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:200 +0x8 fp=0x4000184890 sp=0x4000184880 pc=0x715a8\nruntime.stopTheWorld(0x7)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xc4 fp=0x40001848f0 sp=0x4000184890 pc=0x49004\nruntime.ReadMemStats(0x4000184938)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x28 fp=0x4000184920 sp=0x40001848f0 pc=0x3f408\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x4c fp=0x4000185fd0 sp=0x4000184920 pc=0xc894c\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000185fd0 sp=0x4000185fd0 pc=0x73924\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2c\n\ngoroutine 7 [runnable, locked to thread]:\nruntime.Gosched(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:338\nmain.LockOSThreadTemplateThreadRace.func2()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:238 +0x70 fp=0x4000032fd0 sp=0x4000032f70 pc=0xc4f10\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000032fd0 sp=0x4000032fd0 pc=0x73924\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:229 +0x74\n\ngoroutine 17 [runnable]:\nmain.LockOSThreadTemplateThreadRace.func2.1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:235 fp=0x40000337d0 sp=0x40000337d0 pc=0xc8960\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000337d0 sp=0x40000337d0 pc=0x73924\ncreated by main.LockOSThreadTemplateThreadRace.func2 in goroutine 7\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:235 +0x5c\n\nr0      0x4\nr1      0x0\nr2      0x0\nr3      0x0\nr4      0x4000080a50\nr5      0x0\nr6      0x2\nr7      0x1\nr8      0x4000118000\nr9      0x40000844e0\nr10     0x0\nr11     0x0\nr12     0x84\nr13     0x13\nr14     0x4\nr15     0x11\nr16     0x40001183a0\nr17     0x400011be60\nr18     0x0\nr19     0x0\nr20     0x400011bde0\nr21     0x4000000120\nr22     0x0\nr23     0x0\nr24     0x0\nr25     0x0\nr26     0x102818\nr27     0xffffffffffffffe0\nr28     0x40000844e0\nr29     0x400011bcd8\nlr      0x419ec\nsp      0x400011bce0\npc      0x7464c\nfault   0x4d6b\n"

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2023-09-08 19:09 netbsd-arm64-bsiegert go@5d9e0be1 runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1570.20s)
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build616667518/testprog.exe LockOSThreadTemplateThreadRace (24.372475ms): ok
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build616667518/testprog.exe LockOSThreadTemplateThreadRace (38.502466ms): ok
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build616667518/testprog.exe LockOSThreadTemplateThreadRace (22.868568ms): ok
    exec.go:190: test timed out while running command: /scratch/gobuilder/buildlet/tmp/go-build616667518/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build616667518/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 3: want "OK\n", got "SIGQUIT: quit\nPC=0x7464c m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x4000080a50, 0x0)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:92 +0x1c fp=0x400011bce0 sp=0x400011bce0 pc=0x7464c\nruntime.semasleep(0xffffffffffffffff)\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x12c fp=0x400011bd40 sp=0x400011bce0 pc=0x419ec\nruntime.notesleep(0x4000080580?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0xac fp=0x400011bd80 sp=0x400011bd40 pc=0x1a5ec\nruntime.mPark(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x84 fp=0x400011bdb0 sp=0x400011bd80 pc=0x4b1a4\nruntime.gcstopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2834 +0xe8 fp=0x400011bde0 sp=0x400011bdb0 pc=0x4bec8\nruntime.findRunnable()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2900 +0x4c fp=0x400011bf00 sp=0x400011bde0 pc=0x4c0bc\nruntime.schedule()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:3602 +0x98 fp=0x400011bf40 sp=0x400011bf00 pc=0x4e078\nruntime.mstart1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1606 +0xb8 fp=0x400011bf70 sp=0x400011bf40 pc=0x498e8\nruntime.mstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1556 +0x68 fp=0x400011bfa0 sp=0x400011bf70 pc=0x49808\nruntime.netbsdMstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:263 +0x2c fp=0x400011bfe0 sp=0x400011bfa0 pc=0x41dfc\nruntime.netbsdMstart()\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:77 +0x10 fp=0x400011bff0 sp=0x400011bfe0 pc=0x74610\n\ngoroutine 1 [semacquire]:\nruntime.gopark(0x1c3e60?, 0x1c13c?, 0x0?, 0x40?, 0x30?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x400006ed80 sp=0x400006ed60 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.semacquire1(0x400000e198, 0x98?, 0x1, 0x0, 0x8?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sema.go:160 +0x208 fp=0x400006edd0 sp=0x400006ed80 pc=0x57b88\nsync.runtime_Semacquire(0x40000021a0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sema.go:62 +0x2c fp=0x400006ee10 sp=0x400006edd0 pc=0x6ff1c\nsync.(*WaitGroup).Wait(0x400000e190)\n\t/scratch/gobuilder/buildlet/go/src/sync/waitgroup.go:116 +0x74 fp=0x400006ee30 sp=0x400006ee10 pc=0x7d534\nmain.LockOSThreadTemplateThreadRace()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:243 +0xe8 fp=0x400006ee90 sp=0x400006ee30 pc=0xc4e68\nmain.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/main.go:34 +0x11c fp=0x400006ef30 sp=0x400006ee90 pc=0xc505c\nruntime.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:267 +0x2bc fp=0x400006efd0 sp=0x400006ef30 pc=0x46cbc\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x400006efd0 sp=0x400006efd0 pc=0x73924\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030f90 sp=0x4000030f70 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xb8 fp=0x4000030fd0 sp=0x4000030f90 pc=0x46f78\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000030fd0 sp=0x4000030fd0 pc=0x73924\ncreated by runtime.init.6 in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x24\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031760 sp=0x4000031740 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa0 fp=0x40000317b0 sp=0x4000031760 pc=0x33150\nruntime.gcenable.gowrap1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x40000317d0 sp=0x40000317b0 pc=0x278f8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000317d0 sp=0x40000317d0 pc=0x73924\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x6c\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x4000052000?, 0x11f0c8?, 0x1?, 0x0?, 0x4000002d00?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031f50 sp=0x4000031f30 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1bb880)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x5c fp=0x4000031f80 sp=0x4000031f50 pc=0x309ec\nruntime.bgscavenge(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x44 fp=0x4000031fb0 sp=0x4000031f80 pc=0x30f34\nruntime.gcenable.gowrap2()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x4000031fd0 sp=0x4000031fb0 pc=0x27898\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000031fd0 sp=0x4000031fd0 pc=0x73924\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xac\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x40000305d8?, 0x23664?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030580 sp=0x4000030560 pc=0x470e8\nruntime.runfinq()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x108 fp=0x40000307d0 sp=0x4000030580 pc=0x269e8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000307d0 sp=0x40000307d0 pc=0x73924\ncreated by runtime.createfing in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x80\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:200 +0x8 fp=0x4000184890 sp=0x4000184880 pc=0x715a8\nruntime.stopTheWorld(0x7)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xc4 fp=0x40001848f0 sp=0x4000184890 pc=0x49004\nruntime.ReadMemStats(0x4000184938)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x28 fp=0x4000184920 sp=0x40001848f0 pc=0x3f408\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x4c fp=0x4000185fd0 sp=0x4000184920 pc=0xc894c\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000185fd0 sp=0x4000185fd0 pc=0x73924\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2c\n\ngoroutine 7 [runnable, locked to thread]:\nruntime.Gosched(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:338\nmain.LockOSThreadTemplateThreadRace.func2()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:238 +0x70 fp=0x4000032fd0 sp=0x4000032f70 pc=0xc4f10\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000032fd0 sp=0x4000032fd0 pc=0x73924\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:229 +0x74\n\ngoroutine 17 [runnable]:\nmain.LockOSThreadTemplateThreadRace.func2.1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:235 fp=0x40000337d0 sp=0x40000337d0 pc=0xc8960\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000337d0 sp=0x40000337d0 pc=0x73924\ncreated by main.LockOSThreadTemplateThreadRace.func2 in goroutine 7\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:235 +0x5c\n\nr0      0x4\nr1      0x0\nr2      0x0\nr3      0x0\nr4      0x4000080a50\nr5      0x0\nr6      0x3\nr7      0x1\nr8      0x4000118000\nr9      0x40000844e0\nr10     0x0\nr11     0x0\nr12     0x84\nr13     0x13\nr14     0x4\nr15     0x11\nr16     0x40001183a0\nr17     0x400011be60\nr18     0x0\nr19     0x0\nr20     0x400011bde0\nr21     0xffffffffe158\nr22     0x0\nr23     0x0\nr24     0x0\nr25     0x0\nr26     0x102818\nr27     0xffffffffffffffe0\nr28     0x40000844e0\nr29     0x400011bcd8\nlr      0x419ec\nsp      0x400011bce0\npc      0x7464c\nfault   0x15c0\n"

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2023-09-08 19:04 netbsd-arm64-bsiegert go@dac9b9dd runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1570.01s)
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build432944410/testprog.exe LockOSThreadTemplateThreadRace (45.54867ms): ok
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build432944410/testprog.exe LockOSThreadTemplateThreadRace (97.894829ms): ok
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build432944410/testprog.exe LockOSThreadTemplateThreadRace (99.743361ms): ok
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build432944410/testprog.exe LockOSThreadTemplateThreadRace (59.950675ms): ok
    exec.go:190: test timed out while running command: /scratch/gobuilder/buildlet/tmp/go-build432944410/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build432944410/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 4: want "OK\n", got "OK\nSIGQUIT: quit\nPC=0x7464c m=8 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x40001804d0, 0x0)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:92 +0x1c fp=0x40000a3ce0 sp=0x40000a3ce0 pc=0x7464c\nruntime.semasleep(0xffffffffffffffff)\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x12c fp=0x40000a3d40 sp=0x40000a3ce0 pc=0x419ec\nruntime.notesleep(0x4000180000?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0xac fp=0x40000a3d80 sp=0x40000a3d40 pc=0x1a5ec\nruntime.mPark(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x84 fp=0x40000a3db0 sp=0x40000a3d80 pc=0x4b1a4\nruntime.gcstopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2834 +0xe8 fp=0x40000a3de0 sp=0x40000a3db0 pc=0x4bec8\nruntime.findRunnable()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2900 +0x4c fp=0x40000a3f00 sp=0x40000a3de0 pc=0x4c0bc\nruntime.schedule()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:3602 +0x98 fp=0x40000a3f40 sp=0x40000a3f00 pc=0x4e078\nruntime.mstart1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1606 +0xb8 fp=0x40000a3f70 sp=0x40000a3f40 pc=0x498e8\nruntime.mstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1556 +0x68 fp=0x40000a3fa0 sp=0x40000a3f70 pc=0x49808\nruntime.netbsdMstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:263 +0x2c fp=0x40000a3fe0 sp=0x40000a3fa0 pc=0x41dfc\nruntime.netbsdMstart()\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:77 +0x10 fp=0x40000a3ff0 sp=0x40000a3fe0 pc=0x74610\n\ngoroutine 1 [runnable]:\nruntime.runExitHooks(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/exithook.go:41 +0x13c fp=0x400006ef30 sp=0x400006ef30 pc=0x185bc\nruntime.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:289 +0x320 fp=0x400006efd0 sp=0x400006ef30 pc=0x46d20\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x400006efd0 sp=0x400006efd0 pc=0x73924\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030f90 sp=0x4000030f70 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xb8 fp=0x4000030fd0 sp=0x4000030f90 pc=0x46f78\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000030fd0 sp=0x4000030fd0 pc=0x73924\ncreated by runtime.init.6 in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x24\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031760 sp=0x4000031740 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa0 fp=0x40000317b0 sp=0x4000031760 pc=0x33150\nruntime.gcenable.gowrap1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x40000317d0 sp=0x40000317b0 pc=0x278f8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000317d0 sp=0x40000317d0 pc=0x73924\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x6c\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x4000052000?, 0x11f0c8?, 0x1?, 0x0?, 0x4000002d00?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031f50 sp=0x4000031f30 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1bb880)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x5c fp=0x4000031f80 sp=0x4000031f50 pc=0x309ec\nruntime.bgscavenge(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x44 fp=0x4000031fb0 sp=0x4000031f80 pc=0x30f34\nruntime.gcenable.gowrap2()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x4000031fd0 sp=0x4000031fb0 pc=0x27898\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000031fd0 sp=0x4000031fd0 pc=0x73924\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xac\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x40000305d8?, 0x23664?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030580 sp=0x4000030560 pc=0x470e8\nruntime.runfinq()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x108 fp=0x40000307d0 sp=0x4000030580 pc=0x269e8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000307d0 sp=0x40000307d0 pc=0x73924\ncreated by runtime.createfing in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x80\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:200 +0x8 fp=0x4000092890 sp=0x4000092880 pc=0x715a8\nruntime.stopTheWorld(0x7)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xc4 fp=0x40000928f0 sp=0x4000092890 pc=0x49004\nruntime.ReadMemStats(0x4000092938)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x28 fp=0x4000092920 sp=0x40000928f0 pc=0x3f408\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x4c fp=0x4000093fd0 sp=0x4000092920 pc=0xc894c\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000093fd0 sp=0x4000093fd0 pc=0x73924\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2c\n\nr0      0x4\nr1      0x0\nr2      0x0\nr3      0x0\nr4      0x40001804d0\nr5      0x0\nr6      0x3\nr7      0x1\nr8      0x40000a0000\nr9      0x40001841a0\nr10     0x0\nr11     0x0\nr12     0x184\nr13     0x13\nr14     0x2\nr15     0x11\nr16     0x40000a03a0\nr17     0x40000a3e60\nr18     0x0\nr19     0x0\nr20     0x40000a3de0\nr21     0x4000000120\nr22     0x0\nr23     0x0\nr24     0x0\nr25     0x0\nr26     0x102818\nr27     0xffffffffffffffa0\nr28     0x40001841a0\nr29     0x40000a3cd8\nlr      0x419ec\nsp      0x40000a3ce0\npc      0x7464c\nfault   0x3d00\n"

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2023-09-08 19:03 netbsd-arm64-bsiegert go@45d3d100 runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1568.99s)
    exec.go:190: test timed out while running command: /scratch/gobuilder/buildlet/tmp/go-build3091095216/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build3091095216/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 0: want "OK\n", got "SIGQUIT: quit\nPC=0x7464c m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x4000037550, 0x0)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:92 +0x1c fp=0x40000d3ce0 sp=0x40000d3ce0 pc=0x7464c\nruntime.semasleep(0xffffffffffffffff)\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x12c fp=0x40000d3d40 sp=0x40000d3ce0 pc=0x419ec\nruntime.notesleep(0x4000037080?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0xac fp=0x40000d3d80 sp=0x40000d3d40 pc=0x1a5ec\nruntime.mPark(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x84 fp=0x40000d3db0 sp=0x40000d3d80 pc=0x4b1a4\nruntime.gcstopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2834 +0xe8 fp=0x40000d3de0 sp=0x40000d3db0 pc=0x4bec8\nruntime.findRunnable()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2900 +0x4c fp=0x40000d3f00 sp=0x40000d3de0 pc=0x4c0bc\nruntime.schedule()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:3602 +0x98 fp=0x40000d3f40 sp=0x40000d3f00 pc=0x4e078\nruntime.mstart1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1606 +0xb8 fp=0x40000d3f70 sp=0x40000d3f40 pc=0x498e8\nruntime.mstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1556 +0x68 fp=0x40000d3fa0 sp=0x40000d3f70 pc=0x49808\nruntime.netbsdMstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:263 +0x2c fp=0x40000d3fe0 sp=0x40000d3fa0 pc=0x41dfc\nruntime.netbsdMstart()\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:77 +0x10 fp=0x40000d3ff0 sp=0x40000d3fe0 pc=0x74610\n\ngoroutine 1 [runnable]:\nruntime.gopark(0x1c44e0?, 0x1c13c?, 0x0?, 0x40?, 0x30?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000094d80 sp=0x4000094d60 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.semacquire1(0x40000c4008, 0x98?, 0x1, 0x0, 0x8?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sema.go:160 +0x208 fp=0x4000094dd0 sp=0x4000094d80 pc=0x57b88\nsync.runtime_Semacquire(0x40000021a0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sema.go:62 +0x2c fp=0x4000094e10 sp=0x4000094dd0 pc=0x6ff1c\nsync.(*WaitGroup).Wait(0x40000c4000)\n\t/scratch/gobuilder/buildlet/go/src/sync/waitgroup.go:116 +0x74 fp=0x4000094e30 sp=0x4000094e10 pc=0x7d534\nmain.LockOSThreadTemplateThreadRace()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:243 +0xe8 fp=0x4000094e90 sp=0x4000094e30 pc=0xc4e68\nmain.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/main.go:34 +0x11c fp=0x4000094f30 sp=0x4000094e90 pc=0xc505c\nruntime.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:267 +0x2bc fp=0x4000094fd0 sp=0x4000094f30 pc=0x46cbc\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000094fd0 sp=0x4000094fd0 pc=0x73924\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030f90 sp=0x4000030f70 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xb8 fp=0x4000030fd0 sp=0x4000030f90 pc=0x46f78\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000030fd0 sp=0x4000030fd0 pc=0x73924\ncreated by runtime.init.6 in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x24\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031760 sp=0x4000031740 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa0 fp=0x40000317b0 sp=0x4000031760 pc=0x33150\nruntime.gcenable.gowrap1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x40000317d0 sp=0x40000317b0 pc=0x278f8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000317d0 sp=0x40000317d0 pc=0x73924\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x6c\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x4000052000?, 0x11f0c8?, 0x1?, 0x0?, 0x4000002d00?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031f50 sp=0x4000031f30 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1bb880)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x5c fp=0x4000031f80 sp=0x4000031f50 pc=0x309ec\nruntime.bgscavenge(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x44 fp=0x4000031fb0 sp=0x4000031f80 pc=0x30f34\nruntime.gcenable.gowrap2()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x4000031fd0 sp=0x4000031fb0 pc=0x27898\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000031fd0 sp=0x4000031fd0 pc=0x73924\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xac\n\ngoroutine 17 [finalizer wait]:\nruntime.gopark(0x40000305d8?, 0x23664?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030580 sp=0x4000030560 pc=0x470e8\nruntime.runfinq()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x108 fp=0x40000307d0 sp=0x4000030580 pc=0x269e8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000307d0 sp=0x40000307d0 pc=0x73924\ncreated by runtime.createfing in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x80\n\ngoroutine 18 [stopping the world]:\nruntime.systemstack_switch()\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:200 +0x8 fp=0x40000de890 sp=0x40000de880 pc=0x715a8\nruntime.stopTheWorld(0x7)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xc4 fp=0x40000de8f0 sp=0x40000de890 pc=0x49004\nruntime.ReadMemStats(0x40000de938)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x28 fp=0x40000de920 sp=0x40000de8f0 pc=0x3f408\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x4c fp=0x40000dffd0 sp=0x40000de920 pc=0xc894c\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000dffd0 sp=0x40000dffd0 pc=0x73924\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2c\n\nr0      0x4\nr1      0x0\nr2      0x0\nr3      0x0\nr4      0x4000037550\nr5      0x0\nr6      0x2\nr7      0x1\nr8      0x1a0\nr9      0x4000003520\nr10     0x0\nr11     0x0\nr12     0x3\nr13     0x13\nr14     0xe\nr15     0x0\nr16     0x40000d03a0\nr17     0x40000d3e60\nr18     0x0\nr19     0x53993\nr20     0x40000d3de0\nr21     0x4000065d58\nr22     0x0\nr23     0x0\nr24     0x0\nr25     0x0\nr26     0x102818\nr27     0x20\nr28     0x4000003520\nr29     0x40000d3cd8\nlr      0x419ec\nsp      0x40000d3ce0\npc      0x7464c\nfault   0x31d5\n"

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2023-09-08 18:54 netbsd-arm64-bsiegert go@0a49d4a7 runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1569.76s)
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build3051695435/testprog.exe LockOSThreadTemplateThreadRace (23.720952ms): ok
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build3051695435/testprog.exe LockOSThreadTemplateThreadRace (80.190368ms): ok
    exec.go:190: test timed out while running command: /scratch/gobuilder/buildlet/tmp/go-build3051695435/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build3051695435/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 2: want "OK\n", got "SIGQUIT: quit\nPC=0x7464c m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x4000080a50, 0x0)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:92 +0x1c fp=0x400011bce0 sp=0x400011bce0 pc=0x7464c\nruntime.semasleep(0xffffffffffffffff)\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x12c fp=0x400011bd40 sp=0x400011bce0 pc=0x419ec\nruntime.notesleep(0x1bc318?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0xac fp=0x400011bd80 sp=0x400011bd40 pc=0x1a5ec\nruntime.mPark(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x84 fp=0x400011bdb0 sp=0x400011bd80 pc=0x4b1a4\nruntime.gcstopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2834 +0xe8 fp=0x400011bde0 sp=0x400011bdb0 pc=0x4bec8\nruntime.findRunnable()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2900 +0x4c fp=0x400011bf00 sp=0x400011bde0 pc=0x4c0bc\nruntime.schedule()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:3602 +0x98 fp=0x400011bf40 sp=0x400011bf00 pc=0x4e078\nruntime.mstart1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1606 +0xb8 fp=0x400011bf70 sp=0x400011bf40 pc=0x498e8\nruntime.mstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1556 +0x68 fp=0x400011bfa0 sp=0x400011bf70 pc=0x49808\nruntime.netbsdMstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:263 +0x2c fp=0x400011bfe0 sp=0x400011bfa0 pc=0x41dfc\nruntime.netbsdMstart()\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:77 +0x10 fp=0x400011bff0 sp=0x400011bfe0 pc=0x74610\n\ngoroutine 1 [semacquire]:\nruntime.gopark(0x1c3e60?, 0x1c13c?, 0x0?, 0x40?, 0x30?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x400006ed80 sp=0x400006ed60 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.semacquire1(0x400000e198, 0x98?, 0x1, 0x0, 0x8?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sema.go:160 +0x208 fp=0x400006edd0 sp=0x400006ed80 pc=0x57b88\nsync.runtime_Semacquire(0x40000021a0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sema.go:62 +0x2c fp=0x400006ee10 sp=0x400006edd0 pc=0x6ff1c\nsync.(*WaitGroup).Wait(0x400000e190)\n\t/scratch/gobuilder/buildlet/go/src/sync/waitgroup.go:116 +0x74 fp=0x400006ee30 sp=0x400006ee10 pc=0x7d534\nmain.LockOSThreadTemplateThreadRace()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:243 +0xe8 fp=0x400006ee90 sp=0x400006ee30 pc=0xc4e68\nmain.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/main.go:34 +0x11c fp=0x400006ef30 sp=0x400006ee90 pc=0xc505c\nruntime.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:267 +0x2bc fp=0x400006efd0 sp=0x400006ef30 pc=0x46cbc\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x400006efd0 sp=0x400006efd0 pc=0x73924\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030f90 sp=0x4000030f70 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xb8 fp=0x4000030fd0 sp=0x4000030f90 pc=0x46f78\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000030fd0 sp=0x4000030fd0 pc=0x73924\ncreated by runtime.init.6 in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x24\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031760 sp=0x4000031740 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa0 fp=0x40000317b0 sp=0x4000031760 pc=0x33150\nruntime.gcenable.gowrap1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x40000317d0 sp=0x40000317b0 pc=0x278f8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000317d0 sp=0x40000317d0 pc=0x73924\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x6c\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x4000052000?, 0x11f0c8?, 0x1?, 0x0?, 0x4000002d00?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031f50 sp=0x4000031f30 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1bb880)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x5c fp=0x4000031f80 sp=0x4000031f50 pc=0x309ec\nruntime.bgscavenge(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x44 fp=0x4000031fb0 sp=0x4000031f80 pc=0x30f34\nruntime.gcenable.gowrap2()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x4000031fd0 sp=0x4000031fb0 pc=0x27898\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000031fd0 sp=0x4000031fd0 pc=0x73924\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xac\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x40000305d8?, 0x23664?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030580 sp=0x4000030560 pc=0x470e8\nruntime.runfinq()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x108 fp=0x40000307d0 sp=0x4000030580 pc=0x269e8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000307d0 sp=0x40000307d0 pc=0x73924\ncreated by runtime.createfing in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x80\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:200 +0x8 fp=0x4000092890 sp=0x4000092880 pc=0x715a8\nruntime.stopTheWorld(0x7)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xc4 fp=0x40000928f0 sp=0x4000092890 pc=0x49004\nruntime.ReadMemStats(0x4000092938)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x28 fp=0x4000092920 sp=0x40000928f0 pc=0x3f408\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x4c fp=0x4000093fd0 sp=0x4000092920 pc=0xc894c\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000093fd0 sp=0x4000093fd0 pc=0x73924\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2c\n\ngoroutine 8 [runnable, locked to thread]:\nruntime.Gosched(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:338\nmain.LockOSThreadTemplateThreadRace.func2()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:238 +0x70 fp=0x40000337d0 sp=0x4000033770 pc=0xc4f10\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000337d0 sp=0x40000337d0 pc=0x73924\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:229 +0x74\n\ngoroutine 17 [runnable]:\nmain.LockOSThreadTemplateThreadRace.func2.1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:235 fp=0x4000032fd0 sp=0x4000032fd0 pc=0xc8960\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000032fd0 sp=0x4000032fd0 pc=0x73924\ncreated by main.LockOSThreadTemplateThreadRace.func2 in goroutine 8\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:235 +0x5c\n\nr0      0x4\nr1      0x0\nr2      0x0\nr3      0x0\nr4      0x4000080a50\nr5      0x0\nr6      0x2\nr7      0x1\nr8      0x4000118000\nr9      0x40000844e0\nr10     0x0\nr11     0x0\nr12     0x84\nr13     0x13\nr14     0x4\nr15     0x11\nr16     0x40001183a0\nr17     0x400011be60\nr18     0x0\nr19     0x0\nr20     0x400011bde0\nr21     0xffffffffe158\nr22     0x0\nr23     0x0\nr24     0x0\nr25     0x0\nr26     0x102818\nr27     0xffffffffffffffe0\nr28     0x40000844e0\nr29     0x400011bcd8\nlr      0x419ec\nsp      0x400011bce0\npc      0x7464c\nfault   0x2e82\n"

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2023-09-08 18:51 netbsd-arm64-bsiegert go@7f1f4a19 runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1569.76s)
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build944486919/testprog.exe LockOSThreadTemplateThreadRace (133.332583ms): ok
    exec.go:190: test timed out while running command: /scratch/gobuilder/buildlet/tmp/go-build944486919/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build944486919/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 1: want "OK\n", got "SIGQUIT: quit\nPC=0x7464c m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x4000037550, 0x0)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:92 +0x1c fp=0x40000d3ce0 sp=0x40000d3ce0 pc=0x7464c\nruntime.semasleep(0xffffffffffffffff)\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x12c fp=0x40000d3d40 sp=0x40000d3ce0 pc=0x419ec\nruntime.notesleep(0x4000037080?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0xac fp=0x40000d3d80 sp=0x40000d3d40 pc=0x1a5ec\nruntime.mPark(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x84 fp=0x40000d3db0 sp=0x40000d3d80 pc=0x4b1a4\nruntime.gcstopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2834 +0xe8 fp=0x40000d3de0 sp=0x40000d3db0 pc=0x4bec8\nruntime.findRunnable()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2900 +0x4c fp=0x40000d3f00 sp=0x40000d3de0 pc=0x4c0bc\nruntime.schedule()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:3602 +0x98 fp=0x40000d3f40 sp=0x40000d3f00 pc=0x4e078\nruntime.mstart1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1606 +0xb8 fp=0x40000d3f70 sp=0x40000d3f40 pc=0x498e8\nruntime.mstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1556 +0x68 fp=0x40000d3fa0 sp=0x40000d3f70 pc=0x49808\nruntime.netbsdMstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:263 +0x2c fp=0x40000d3fe0 sp=0x40000d3fa0 pc=0x41dfc\nruntime.netbsdMstart()\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:77 +0x10 fp=0x40000d3ff0 sp=0x40000d3fe0 pc=0x74610\n\ngoroutine 1 [runnable]:\nruntime.gopark(0x1c44e0?, 0x1c13c?, 0x0?, 0x40?, 0x30?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000094d80 sp=0x4000094d60 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.semacquire1(0x40000c4008, 0x98?, 0x1, 0x0, 0x8?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sema.go:160 +0x208 fp=0x4000094dd0 sp=0x4000094d80 pc=0x57b88\nsync.runtime_Semacquire(0x40000021a0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sema.go:62 +0x2c fp=0x4000094e10 sp=0x4000094dd0 pc=0x6ff1c\nsync.(*WaitGroup).Wait(0x40000c4000)\n\t/scratch/gobuilder/buildlet/go/src/sync/waitgroup.go:116 +0x74 fp=0x4000094e30 sp=0x4000094e10 pc=0x7d534\nmain.LockOSThreadTemplateThreadRace()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:243 +0xe8 fp=0x4000094e90 sp=0x4000094e30 pc=0xc4e68\nmain.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/main.go:34 +0x11c fp=0x4000094f30 sp=0x4000094e90 pc=0xc505c\nruntime.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:267 +0x2bc fp=0x4000094fd0 sp=0x4000094f30 pc=0x46cbc\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000094fd0 sp=0x4000094fd0 pc=0x73924\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030f90 sp=0x4000030f70 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xb8 fp=0x4000030fd0 sp=0x4000030f90 pc=0x46f78\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000030fd0 sp=0x4000030fd0 pc=0x73924\ncreated by runtime.init.6 in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x24\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031760 sp=0x4000031740 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa0 fp=0x40000317b0 sp=0x4000031760 pc=0x33150\nruntime.gcenable.gowrap1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x40000317d0 sp=0x40000317b0 pc=0x278f8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000317d0 sp=0x40000317d0 pc=0x73924\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x6c\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x4000052000?, 0x11f0c8?, 0x1?, 0x0?, 0x4000002d00?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031f50 sp=0x4000031f30 pc=0x470e8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1bb880)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x5c fp=0x4000031f80 sp=0x4000031f50 pc=0x309ec\nruntime.bgscavenge(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x44 fp=0x4000031fb0 sp=0x4000031f80 pc=0x30f34\nruntime.gcenable.gowrap2()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x4000031fd0 sp=0x4000031fb0 pc=0x27898\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000031fd0 sp=0x4000031fd0 pc=0x73924\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xac\n\ngoroutine 17 [finalizer wait]:\nruntime.gopark(0x40000305d8?, 0x23664?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030580 sp=0x4000030560 pc=0x470e8\nruntime.runfinq()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x108 fp=0x40000307d0 sp=0x4000030580 pc=0x269e8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000307d0 sp=0x40000307d0 pc=0x73924\ncreated by runtime.createfing in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x80\n\ngoroutine 18 [stopping the world]:\nruntime.systemstack_switch()\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:200 +0x8 fp=0x40000de890 sp=0x40000de880 pc=0x715a8\nruntime.stopTheWorld(0x7)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xc4 fp=0x40000de8f0 sp=0x40000de890 pc=0x49004\nruntime.ReadMemStats(0x40000de938)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x28 fp=0x40000de920 sp=0x40000de8f0 pc=0x3f408\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x4c fp=0x40000dffd0 sp=0x40000de920 pc=0xc894c\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000dffd0 sp=0x40000dffd0 pc=0x73924\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2c\n\nr0      0x4\nr1      0x0\nr2      0x0\nr3      0x0\nr4      0x4000037550\nr5      0x0\nr6      0x2\nr7      0x1\nr8      0x1a0\nr9      0x4000003520\nr10     0x0\nr11     0x0\nr12     0x3\nr13     0x13\nr14     0xe\nr15     0x0\nr16     0x40000d03a0\nr17     0x40000d3e60\nr18     0x0\nr19     0x53993\nr20     0x40000d3de0\nr21     0x4000065d58\nr22     0x0\nr23     0x0\nr24     0x0\nr25     0x0\nr26     0x102818\nr27     0x20\nr28     0x4000003520\nr29     0x40000d3cd8\nlr      0x419ec\nsp      0x40000d3ce0\npc      0x7464c\nfault   0x3341\n"

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2023-09-08 20:27 netbsd-arm-bsiegert go@af3bf866 runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1506.64s)
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build3474118024/testprog.exe LockOSThreadTemplateThreadRace (122.660328ms): ok
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build3474118024/testprog.exe LockOSThreadTemplateThreadRace (88.466585ms): ok
    exec.go:190: test timed out while running command: /var/gobuilder/buildlet/tmp/go-build3474118024/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build3474118024/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 2: want "OK\n", got "SIGQUIT: quit\nPC=0x81284 m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x480660, 0x0)\n\t/var/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm.s:138 +0x28 fp=0x583e6c sp=0x583e60 pc=0x81284\nruntime.semasleep(0xffffffffffffffff)\n\t/var/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x288 fp=0x583eac sp=0x583e6c pc=0x49d68\nruntime.notesleep(0x480458)\n\t/var/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0x8c fp=0x583ec8 sp=0x583eac pc=0x1b1d8\nruntime.mPark(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x90 fp=0x583edc sp=0x583ec8 pc=0x54388\nruntime.gcstopm()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2834 +0xd4 fp=0x583ef4 sp=0x583edc pc=0x55020\nruntime.findRunnable()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2900 +0x48 fp=0x583fa0 sp=0x583ef4 pc=0x55248\nruntime.schedule()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:3602 +0xac fp=0x583fbc sp=0x583fa0 pc=0x57420\nruntime.mstart1()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1606 +0xb0 fp=0x583fcc sp=0x583fbc pc=0x52a7c\nruntime.mstart0()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1556 +0x7c fp=0x583fe0 sp=0x583fcc pc=0x529bc\nruntime.netbsdMstart0()\n\t/var/gobuilder/buildlet/go/src/runtime/os_netbsd.go:263 +0x30 fp=0x583ff8 sp=0x583fe0 pc=0x4a1b8\nruntime.netbsdMstart()\n\t/var/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm.s:164 +0x8 fp=0x583ffc sp=0x583ff8 pc=0x812d8\n\ngoroutine 1 [runnable]:\nruntime.gopark(0x116ee0, 0x1cb458, 0x12, 0x19, 0x4)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x428668 sp=0x428654 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.semacquire1(0x40e188, 0x0, 0x1, 0x0, 0x12)\n\t/var/gobuilder/buildlet/go/src/runtime/sema.go:160 +0x270 fp=0x428690 sp=0x428668 pc=0x62b1c\nsync.runtime_Semacquire(0x40e188)\n\t/var/gobuilder/buildlet/go/src/runtime/sema.go:62 +0x3c fp=0x4286a8 sp=0x428690 pc=0x7dd48\nsync.(*WaitGroup).Wait(0x40e180)\n\t/var/gobuilder/buildlet/go/src/sync/waitgroup.go:116 +0x68 fp=0x4286c4 sp=0x4286a8 pc=0x8a668\nmain.LockOSThreadTemplateThreadRace()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:243 +0x13c fp=0x428730 sp=0x4286c4 pc=0xddbe8\nmain.main()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/main.go:34 +0x158 fp=0x4287a0 sp=0x428730 pc=0xdde3c\nruntime.main()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:267 +0x338 fp=0x4287ec sp=0x4287a0 pc=0x4f8c0\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4287ec sp=0x4287ec pc=0x805cc\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x116ee0, 0x1c8560, 0x11, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x428fd4 sp=0x428fc0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xe4 fp=0x428fec sp=0x428fd4 pc=0x4fc94\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x428fec sp=0x428fec pc=0x805cc\ncreated by runtime.init.5 in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x1c\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x116ee0, 0x1c86c0, 0xc, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x4297c4 sp=0x4297b0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x4180c0)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa8 fp=0x4297e4 sp=0x4297c4 pc=0x39270\nruntime.gcenable.gowrap1()\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x4297ec sp=0x4297e4 pc=0x295ac\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4297ec sp=0x4297ec pc=0x805cc\ncreated by runtime.gcenable in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x74\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x116ee0, 0x1c8720, 0xd, 0x14, 0x2)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x429fb4 sp=0x429fa0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1c8720)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x68 fp=0x429fc8 sp=0x429fb4 pc=0x364f0\nruntime.bgscavenge(0x4180c0)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0x429fe4 sp=0x429fc8 pc=0x36c0c\nruntime.gcenable.gowrap2()\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x429fec sp=0x429fe4 pc=0x29558\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x429fec sp=0x429fec pc=0x805cc\ncreated by runtime.gcenable in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xbc\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x116d98, 0x1d89ec, 0x10, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x42a788 sp=0x42a774 pc=0x4fe58\nruntime.runfinq()\n\t/var/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x110 fp=0x42a7ec sp=0x42a788 pc=0x2840c\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x42a7ec sp=0x42a7ec pc=0x805cc\ncreated by runtime.createfing in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x5c\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:274 +0x4 fp=0x504a10 sp=0x504a0c pc=0x7ea50\nruntime.stopTheWorld(0x7)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xd4 fp=0x504a3c sp=0x504a10 pc=0x520a8\nruntime.ReadMemStats(0x504a54)\n\t/var/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x24 fp=0x504a4c sp=0x504a3c pc=0x468c0\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x44 fp=0x505fec sp=0x504a4c pc=0xe2678\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x505fec sp=0x505fec pc=0x805cc\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x28\n\ngoroutine 7 [runnable, locked to thread]:\nruntime.goexit1()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:3874 +0x64 fp=0x42b7ec sp=0x42b7ec pc=0x582e0\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:860 +0x8 fp=0x42b7ec sp=0x42b7ec pc=0x805d0\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:229 +0xb0\n\ntrap    0x0\nerror   0x0\noldmask 0x0\nr0      0x4\nr1      0x0\nr2      0x0\nr3      0x0\nr4      0x480660\nr5      0x0\nr6      0x1a\nr7      0x116ed0\nr8      0x7\nr9      0x1\nr10     0x482300\nfp      0x0\nip      0x1\nsp      0x583e60\nlr      0x49d68\npc      0x81284\ncpsr    0x60000010\nfault   0x0\n"

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2023-09-08 19:01 netbsd-arm-bsiegert go@af8a2bde runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1503.10s)
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build3952061291/testprog.exe LockOSThreadTemplateThreadRace (51.73378ms): ok
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build3952061291/testprog.exe LockOSThreadTemplateThreadRace (50.298071ms): ok
    exec.go:190: test timed out while running command: /var/gobuilder/buildlet/tmp/go-build3952061291/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build3952061291/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 2: want "OK\n", got "SIGQUIT: quit\nPC=0x81284 m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x480660, 0x0)\n\t/var/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm.s:138 +0x28 fp=0x583e6c sp=0x583e60 pc=0x81284\nruntime.semasleep(0xffffffffffffffff)\n\t/var/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x288 fp=0x583eac sp=0x583e6c pc=0x49d68\nruntime.notesleep(0x480458)\n\t/var/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0x8c fp=0x583ec8 sp=0x583eac pc=0x1b1d8\nruntime.mPark(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x90 fp=0x583edc sp=0x583ec8 pc=0x54388\nruntime.gcstopm()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2834 +0xd4 fp=0x583ef4 sp=0x583edc pc=0x55020\nruntime.findRunnable()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2900 +0x48 fp=0x583fa0 sp=0x583ef4 pc=0x55248\nruntime.schedule()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:3602 +0xac fp=0x583fbc sp=0x583fa0 pc=0x57420\nruntime.mstart1()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1606 +0xb0 fp=0x583fcc sp=0x583fbc pc=0x52a7c\nruntime.mstart0()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1556 +0x7c fp=0x583fe0 sp=0x583fcc pc=0x529bc\nruntime.netbsdMstart0()\n\t/var/gobuilder/buildlet/go/src/runtime/os_netbsd.go:263 +0x30 fp=0x583ff8 sp=0x583fe0 pc=0x4a1b8\nruntime.netbsdMstart()\n\t/var/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm.s:164 +0x8 fp=0x583ffc sp=0x583ff8 pc=0x812d8\n\ngoroutine 1 [semacquire]:\nruntime.gopark(0x116ee0, 0x1cb458, 0x12, 0x19, 0x4)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x428668 sp=0x428654 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.semacquire1(0x40e188, 0x0, 0x1, 0x0, 0x12)\n\t/var/gobuilder/buildlet/go/src/runtime/sema.go:160 +0x270 fp=0x428690 sp=0x428668 pc=0x62b1c\nsync.runtime_Semacquire(0x40e188)\n\t/var/gobuilder/buildlet/go/src/runtime/sema.go:62 +0x3c fp=0x4286a8 sp=0x428690 pc=0x7dd48\nsync.(*WaitGroup).Wait(0x40e180)\n\t/var/gobuilder/buildlet/go/src/sync/waitgroup.go:116 +0x68 fp=0x4286c4 sp=0x4286a8 pc=0x8a668\nmain.LockOSThreadTemplateThreadRace()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:243 +0x13c fp=0x428730 sp=0x4286c4 pc=0xddbe8\nmain.main()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/main.go:34 +0x158 fp=0x4287a0 sp=0x428730 pc=0xdde3c\nruntime.main()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:267 +0x338 fp=0x4287ec sp=0x4287a0 pc=0x4f8c0\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4287ec sp=0x4287ec pc=0x805cc\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x116ee0, 0x1c8560, 0x11, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x428fd4 sp=0x428fc0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xe4 fp=0x428fec sp=0x428fd4 pc=0x4fc94\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x428fec sp=0x428fec pc=0x805cc\ncreated by runtime.init.5 in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x1c\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x116ee0, 0x1c86c0, 0xc, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x4297c4 sp=0x4297b0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x4180c0)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa8 fp=0x4297e4 sp=0x4297c4 pc=0x39270\nruntime.gcenable.gowrap1()\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x4297ec sp=0x4297e4 pc=0x295ac\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4297ec sp=0x4297ec pc=0x805cc\ncreated by runtime.gcenable in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x74\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x116ee0, 0x1c8720, 0xd, 0x14, 0x2)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x429fb4 sp=0x429fa0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1c8720)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x68 fp=0x429fc8 sp=0x429fb4 pc=0x364f0\nruntime.bgscavenge(0x4180c0)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0x429fe4 sp=0x429fc8 pc=0x36c0c\nruntime.gcenable.gowrap2()\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x429fec sp=0x429fe4 pc=0x29558\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x429fec sp=0x429fec pc=0x805cc\ncreated by runtime.gcenable in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xbc\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x116d98, 0x1d89ec, 0x10, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x42a788 sp=0x42a774 pc=0x4fe58\nruntime.runfinq()\n\t/var/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x110 fp=0x42a7ec sp=0x42a788 pc=0x2840c\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x42a7ec sp=0x42a7ec pc=0x805cc\ncreated by runtime.createfing in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x5c\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:274 +0x4 fp=0x504a10 sp=0x504a0c pc=0x7ea50\nruntime.stopTheWorld(0x7)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xd4 fp=0x504a3c sp=0x504a10 pc=0x520a8\nruntime.ReadMemStats(0x504a54)\n\t/var/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x24 fp=0x504a4c sp=0x504a3c pc=0x468c0\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x44 fp=0x505fec sp=0x504a4c pc=0xe2678\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x505fec sp=0x505fec pc=0x805cc\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x28\n\ngoroutine 7 [runnable, locked to thread]:\nruntime.Gosched(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:338\nmain.LockOSThreadTemplateThreadRace.func2()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:238 +0x78 fp=0x42b7ec sp=0x42b7a0 pc=0xddcb0\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x42b7ec sp=0x42b7ec pc=0x805cc\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:229 +0xb0\n\ntrap    0x0\nerror   0x0\noldmask 0x0\nr0      0x4\nr1      0x0\nr2      0x0\nr3      0x0\nr4      0x480660\nr5      0x0\nr6      0x1a\nr7      0x116ed0\nr8      0x7\nr9      0x1\nr10     0x482300\nfp      0x0\nip      0x1\nsp      0x583e60\nlr      0x49d68\npc      0x81284\ncpsr    0x60000010\nfault   0x0\n"

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2023-09-08 19:01 netbsd-arm-bsiegert go@9c9fcabb runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1507.92s)
    exec.go:190: test timed out while running command: /var/gobuilder/buildlet/tmp/go-build3326304031/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build3326304031/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 0: want "OK\n", got "SIGQUIT: quit\nPC=0x81284 m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x4809e0, 0x0)\n\t/var/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm.s:138 +0x28 fp=0x465e6c sp=0x465e60 pc=0x81284\nruntime.semasleep(0xffffffffffffffff)\n\t/var/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x288 fp=0x465eac sp=0x465e6c pc=0x49d68\nruntime.notesleep(0x4807d8)\n\t/var/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0x8c fp=0x465ec8 sp=0x465eac pc=0x1b1d8\nruntime.mPark(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x90 fp=0x465edc sp=0x465ec8 pc=0x54388\nruntime.gcstopm()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2834 +0xd4 fp=0x465ef4 sp=0x465edc pc=0x55020\nruntime.findRunnable()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2900 +0x48 fp=0x465fa0 sp=0x465ef4 pc=0x55248\nruntime.schedule()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:3602 +0xac fp=0x465fbc sp=0x465fa0 pc=0x57420\nruntime.mstart1()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1606 +0xb0 fp=0x465fcc sp=0x465fbc pc=0x52a7c\nruntime.mstart0()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1556 +0x7c fp=0x465fe0 sp=0x465fcc pc=0x529bc\nruntime.netbsdMstart0()\n\t/var/gobuilder/buildlet/go/src/runtime/os_netbsd.go:263 +0x30 fp=0x465ff8 sp=0x465fe0 pc=0x4a1b8\nruntime.netbsdMstart()\n\t/var/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm.s:164 +0x8 fp=0x465ffc sp=0x465ff8 pc=0x812d8\n\ngoroutine 1 [runnable]:\nruntime.gopark(0x116ee0, 0x1ca8d8, 0x12, 0x19, 0x4)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x428668 sp=0x428654 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.semacquire1(0x4a0018, 0x0, 0x1, 0x0, 0x12)\n\t/var/gobuilder/buildlet/go/src/runtime/sema.go:160 +0x270 fp=0x428690 sp=0x428668 pc=0x62b1c\nsync.runtime_Semacquire(0x4a0018)\n\t/var/gobuilder/buildlet/go/src/runtime/sema.go:62 +0x3c fp=0x4286a8 sp=0x428690 pc=0x7dd48\nsync.(*WaitGroup).Wait(0x4a0010)\n\t/var/gobuilder/buildlet/go/src/sync/waitgroup.go:116 +0x68 fp=0x4286c4 sp=0x4286a8 pc=0x8a668\nmain.LockOSThreadTemplateThreadRace()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:243 +0x13c fp=0x428730 sp=0x4286c4 pc=0xddbe8\nmain.main()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/main.go:34 +0x158 fp=0x4287a0 sp=0x428730 pc=0xdde3c\nruntime.main()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:267 +0x338 fp=0x4287ec sp=0x4287a0 pc=0x4f8c0\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4287ec sp=0x4287ec pc=0x805cc\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x116ee0, 0x1c8560, 0x11, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x428fd4 sp=0x428fc0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xe4 fp=0x428fec sp=0x428fd4 pc=0x4fc94\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x428fec sp=0x428fec pc=0x805cc\ncreated by runtime.init.5 in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x1c\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x116ee0, 0x1c86c0, 0xc, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x4297c4 sp=0x4297b0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x4180c0)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa8 fp=0x4297e4 sp=0x4297c4 pc=0x39270\nruntime.gcenable.gowrap1()\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x4297ec sp=0x4297e4 pc=0x295ac\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4297ec sp=0x4297ec pc=0x805cc\ncreated by runtime.gcenable in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x74\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x116ee0, 0x1c8720, 0xd, 0x14, 0x2)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x429fb4 sp=0x429fa0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1c8720)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x68 fp=0x429fc8 sp=0x429fb4 pc=0x364f0\nruntime.bgscavenge(0x4180c0)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0x429fe4 sp=0x429fc8 pc=0x36c0c\nruntime.gcenable.gowrap2()\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x429fec sp=0x429fe4 pc=0x29558\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x429fec sp=0x429fec pc=0x805cc\ncreated by runtime.gcenable in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xbc\n\ngoroutine 17 [finalizer wait]:\nruntime.gopark(0x116d98, 0x1d89ec, 0x10, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x424788 sp=0x424774 pc=0x4fe58\nruntime.runfinq()\n\t/var/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x110 fp=0x4247ec sp=0x424788 pc=0x2840c\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4247ec sp=0x4247ec pc=0x805cc\ncreated by runtime.createfing in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x5c\n\ngoroutine 18 [stopping the world]:\nruntime.systemstack_switch()\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:274 +0x4 fp=0x504a10 sp=0x504a0c pc=0x7ea50\nruntime.stopTheWorld(0x7)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xd4 fp=0x504a3c sp=0x504a10 pc=0x520a8\nruntime.ReadMemStats(0x504a54)\n\t/var/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x24 fp=0x504a4c sp=0x504a3c pc=0x468c0\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x44 fp=0x505fec sp=0x504a4c pc=0xe2678\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x505fec sp=0x505fec pc=0x805cc\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x28\n\ntrap    0x0\nerror   0x0\noldmask 0x0\nr0      0x4\nr1      0x0\nr2      0x0\nr3      0x0\nr4      0x4809e0\nr5      0x0\nr6      0x1a\nr7      0x116ed0\nr8      0x7\nr9      0x1\nr10     0x482700\nfp      0x0\nip      0x1\nsp      0x465e60\nlr      0x49d68\npc      0x81284\ncpsr    0x60000010\nfault   0x0\n"

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2023-09-08 18:54 netbsd-arm-bsiegert go@0a49d4a7 runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1507.27s)
    exec.go:190: test timed out while running command: /var/gobuilder/buildlet/tmp/go-build1166177901/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build1166177901/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 0: want "OK\n", got "SIGQUIT: quit\nPC=0x81284 m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x480660, 0x0)\n\t/var/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm.s:138 +0x28 fp=0x583e6c sp=0x583e60 pc=0x81284\nruntime.semasleep(0xffffffffffffffff)\n\t/var/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x288 fp=0x583eac sp=0x583e6c pc=0x49d68\nruntime.notesleep(0x480458)\n\t/var/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0x8c fp=0x583ec8 sp=0x583eac pc=0x1b1d8\nruntime.mPark(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x90 fp=0x583edc sp=0x583ec8 pc=0x54388\nruntime.gcstopm()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2834 +0xd4 fp=0x583ef4 sp=0x583edc pc=0x55020\nruntime.findRunnable()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2900 +0x48 fp=0x583fa0 sp=0x583ef4 pc=0x55248\nruntime.schedule()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:3602 +0xac fp=0x583fbc sp=0x583fa0 pc=0x57420\nruntime.mstart1()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1606 +0xb0 fp=0x583fcc sp=0x583fbc pc=0x52a7c\nruntime.mstart0()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1556 +0x7c fp=0x583fe0 sp=0x583fcc pc=0x529bc\nruntime.netbsdMstart0()\n\t/var/gobuilder/buildlet/go/src/runtime/os_netbsd.go:263 +0x30 fp=0x583ff8 sp=0x583fe0 pc=0x4a1b8\nruntime.netbsdMstart()\n\t/var/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm.s:164 +0x8 fp=0x583ffc sp=0x583ff8 pc=0x812d8\n\ngoroutine 1 [semacquire]:\nruntime.gopark(0x116ee0, 0x1cb458, 0x12, 0x19, 0x4)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x428668 sp=0x428654 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.semacquire1(0x40e188, 0x0, 0x1, 0x0, 0x12)\n\t/var/gobuilder/buildlet/go/src/runtime/sema.go:160 +0x270 fp=0x428690 sp=0x428668 pc=0x62b1c\nsync.runtime_Semacquire(0x40e188)\n\t/var/gobuilder/buildlet/go/src/runtime/sema.go:62 +0x3c fp=0x4286a8 sp=0x428690 pc=0x7dd48\nsync.(*WaitGroup).Wait(0x40e180)\n\t/var/gobuilder/buildlet/go/src/sync/waitgroup.go:116 +0x68 fp=0x4286c4 sp=0x4286a8 pc=0x8a668\nmain.LockOSThreadTemplateThreadRace()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:243 +0x13c fp=0x428730 sp=0x4286c4 pc=0xddbe8\nmain.main()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/main.go:34 +0x158 fp=0x4287a0 sp=0x428730 pc=0xdde3c\nruntime.main()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:267 +0x338 fp=0x4287ec sp=0x4287a0 pc=0x4f8c0\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4287ec sp=0x4287ec pc=0x805cc\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x116ee0, 0x1c8560, 0x11, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x428fd4 sp=0x428fc0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xe4 fp=0x428fec sp=0x428fd4 pc=0x4fc94\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x428fec sp=0x428fec pc=0x805cc\ncreated by runtime.init.5 in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x1c\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x116ee0, 0x1c86c0, 0xc, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x4297c4 sp=0x4297b0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x4180c0)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa8 fp=0x4297e4 sp=0x4297c4 pc=0x39270\nruntime.gcenable.gowrap1()\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x4297ec sp=0x4297e4 pc=0x295ac\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4297ec sp=0x4297ec pc=0x805cc\ncreated by runtime.gcenable in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x74\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x116ee0, 0x1c8720, 0xd, 0x14, 0x2)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x429fb4 sp=0x429fa0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1c8720)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x68 fp=0x429fc8 sp=0x429fb4 pc=0x364f0\nruntime.bgscavenge(0x4180c0)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0x429fe4 sp=0x429fc8 pc=0x36c0c\nruntime.gcenable.gowrap2()\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x429fec sp=0x429fe4 pc=0x29558\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x429fec sp=0x429fec pc=0x805cc\ncreated by runtime.gcenable in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xbc\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x116d98, 0x1d89ec, 0x10, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x42a788 sp=0x42a774 pc=0x4fe58\nruntime.runfinq()\n\t/var/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x110 fp=0x42a7ec sp=0x42a788 pc=0x2840c\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x42a7ec sp=0x42a7ec pc=0x805cc\ncreated by runtime.createfing in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x5c\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:274 +0x4 fp=0x504a10 sp=0x504a0c pc=0x7ea50\nruntime.stopTheWorld(0x7)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xd4 fp=0x504a3c sp=0x504a10 pc=0x520a8\nruntime.ReadMemStats(0x504a54)\n\t/var/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x24 fp=0x504a4c sp=0x504a3c pc=0x468c0\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x44 fp=0x505fec sp=0x504a4c pc=0xe2678\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x505fec sp=0x505fec pc=0x805cc\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x28\n\ngoroutine 8 [runnable, locked to thread]:\nruntime.Gosched(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:338\nmain.LockOSThreadTemplateThreadRace.func2()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:238 +0x78 fp=0x42bfec sp=0x42bfa0 pc=0xddcb0\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x42bfec sp=0x42bfec pc=0x805cc\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:229 +0xb0\n\ntrap    0x0\nerror   0x0\noldmask 0x0\nr0      0x4\nr1      0x0\nr2      0x0\nr3      0x0\nr4      0x480660\nr5      0x0\nr6      0x1a\nr7      0x116ed0\nr8      0x7\nr9      0x1\nr10     0x482400\nfp      0x0\nip      0x1\nsp      0x583e60\nlr      0x49d68\npc      0x81284\ncpsr    0x60000010\nfault   0x0\n"

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2023-09-09 01:48 netbsd-386-9_3 go@ee788dba runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (139.22s)
    proc_test.go:1022: /tmp/workdir/tmp/go-build3526382879/testprog.exe LockOSThreadTemplateThreadRace (188.391796ms): ok
    proc_test.go:1022: /tmp/workdir/tmp/go-build3526382879/testprog.exe LockOSThreadTemplateThreadRace (120.039742ms): ok
    proc_test.go:1022: /tmp/workdir/tmp/go-build3526382879/testprog.exe LockOSThreadTemplateThreadRace (110.110491ms): ok
    exec.go:190: test timed out while running command: /tmp/workdir/tmp/go-build3526382879/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /tmp/workdir/tmp/go-build3526382879/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 3: want "OK\n", got "SIGQUIT: quit\nPC=0x80ad9e7 m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x8480660, 0x0)\n\t/tmp/workdir/go/src/runtime/sys_netbsd_386.s:404 +0x7 fp=0x8583ef4 sp=0x8583ef0 pc=0x80ad9e7\nruntime.semasleep(0xffffffffffffffff)\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:183 +0x24c fp=0x8583f3c sp=0x8583ef4 pc=0x807c4dc\nruntime.notesleep(0x8480458)\n\t/tmp/workdir/go/src/runtime/lock_sema.go:181 +0x82 fp=0x8583f58 sp=0x8583f3c pc=0x8052432\nruntime.mPark(...)\n\t/tmp/workdir/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2535 +0x97 fp=0x8583f6c sp=0x8583f58 pc=0x8085557\nruntime.startlockedm(0x8406d00)\n\t/tmp/workdir/go/src/runtime/proc.go:2807 +0x69 fp=0x8583f7c sp=0x8583f6c pc=0x8085fa9\nruntime.schedule()\n\t/tmp/workdir/go/src/runtime/proc.go:3648 +0x71 fp=0x8583f98 sp=0x8583f7c pc=0x8088151\nruntime.goexit0(0x8482200)\n\t/tmp/workdir/go/src/runtime/proc.go:3945 +0x2ad fp=0x8583fd0 sp=0x8583f98 pc=0x80890dd\ntraceback: unexpected SPWRITE function runtime.mcall\nruntime.mcall(0xad94a)\n\t/tmp/workdir/go/src/runtime/asm_386.s:329 +0x40 fp=0x8583fd8 sp=0x8583fd0 pc=0x80ab5e0\n\ngoroutine 1 [runnable]:\nruntime.gopark(0x8130b64, 0x81da220, 0x12, 0x19, 0x4)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432664 sp=0x8432650 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.semacquire1(0x8412158, 0x0, 0x1, 0x0, 0x12)\n\t/tmp/workdir/go/src/runtime/sema.go:160 +0x287 fp=0x8432694 sp=0x8432664 pc=0x8091f27\nsync.runtime_Semacquire(0x8412158)\n\t/tmp/workdir/go/src/runtime/sema.go:62 +0x35 fp=0x84326ac sp=0x8432694 pc=0x80aa6c5\nsync.(*WaitGroup).Wait(0x8412150)\n\t/tmp/workdir/go/src/sync/waitgroup.go:116 +0x5f fp=0x84326c8 sp=0x84326ac pc=0x80b558f\nmain.LockOSThreadTemplateThreadRace()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:243 +0x131 fp=0x8432734 sp=0x84326c8 pc=0x8100311\nmain.main()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/main.go:34 +0x148 fp=0x84327a4 sp=0x8432734 pc=0x8100528\nruntime.main()\n\t/tmp/workdir/go/src/runtime/proc.go:267 +0x2bf fp=0x84327f0 sp=0x84327a4 pc=0x808158f\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84327f4 sp=0x84327f0 pc=0x80ac931\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x8130b64, 0x81d7870, 0x11, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432fdc sp=0x8432fc8 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/tmp/workdir/go/src/runtime/proc.go:322 +0xc7 fp=0x8432ff0 sp=0x8432fdc pc=0x8081887\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8432ff4 sp=0x8432ff0 pc=0x80ac931\ncreated by runtime.init.5 in goroutine 1\n\t/tmp/workdir/go/src/runtime/proc.go:310 +0x1d\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x8130b64, 0x81d79e0, 0xc, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x84337cc sp=0x84337b8 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.bgsweep(0x841a040)\n\t/tmp/workdir/go/src/runtime/mgcsweep.go:280 +0x8f fp=0x84337e8 sp=0x84337cc pc=0x806ca1f\nruntime.gcenable.gowrap1()\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x21 fp=0x84337f0 sp=0x84337e8 pc=0x805e961\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84337f4 sp=0x84337f0 pc=0x80ac931\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x71\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x8130b64, 0x81d7a40, 0xd, 0x14, 0x2)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8433fb8 sp=0x8433fa4 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x81d7a40)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:425 +0x54 fp=0x8433fcc sp=0x8433fb8 pc=0x8069f44\nruntime.bgscavenge(0x841a040)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:653 +0x45 fp=0x8433fe8 sp=0x8433fcc pc=0x806a585\nruntime.gcenable.gowrap2()\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0x21 fp=0x8433ff0 sp=0x8433fe8 pc=0x805e921\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8433ff4 sp=0x8433ff0 pc=0x80ac931\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0xb1\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x8130a1c, 0x81e9cf8, 0x10, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8434798 sp=0x8434784 pc=0x8081a1a\nruntime.runfinq()\n\t/tmp/workdir/go/src/runtime/mfinal.go:193 +0xf0 fp=0x84347f0 sp=0x8434798 pc=0x805daf0\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84347f4 sp=0x84347f0 pc=0x80ac931\ncreated by runtime.createfing in goroutine 1\n\t/tmp/workdir/go/src/runtime/mfinal.go:163 +0x5a\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/tmp/workdir/go/src/runtime/asm_386.s:341 fp=0x8490a18 sp=0x8490a14 pc=0x80ab5f0\nruntime.stopTheWorld(0x7)\n\t/tmp/workdir/go/src/runtime/proc.go:1262 +0xc7 fp=0x8490a40 sp=0x8490a18 pc=0x80837b7\nruntime.ReadMemStats(0x8490a54)\n\t/tmp/workdir/go/src/runtime/mstats.go:361 +0x1e fp=0x8490a50 sp=0x8490a40 pc=0x80792ae\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x34 fp=0x8491ff0 sp=0x8490a50 pc=0x81045d4\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8491ff4 sp=0x8491ff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2d\n\neax    0x4\nebx    0x0\necx    0x8482400\nedx    0x8480380\nedi    0x4325c53f\nesi    0x7\nebp    0x2\nesp    0x8583ef0\neip    0x80ad9e7\neflags 0x247\ncs     0x17\nfs     0xab\ngs     0xb3\n"
2023-09-10 23:21 netbsd-386-9_3 go@5eb382fc runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (138.05s)
    proc_test.go:1022: /tmp/workdir/tmp/go-build3160484370/testprog.exe LockOSThreadTemplateThreadRace (84.31231ms): ok
    exec.go:190: test timed out while running command: /tmp/workdir/tmp/go-build3160484370/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /tmp/workdir/tmp/go-build3160484370/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 1: want "OK\n", got "SIGQUIT: quit\nPC=0x80ad9e7 m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x84809e0, 0x0)\n\t/tmp/workdir/go/src/runtime/sys_netbsd_386.s:404 +0x7 fp=0x8477e6c sp=0x8477e68 pc=0x80ad9e7\nruntime.semasleep(0xffffffffffffffff)\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:183 +0x24c fp=0x8477eb4 sp=0x8477e6c pc=0x807c4dc\nruntime.notesleep(0x84807d8)\n\t/tmp/workdir/go/src/runtime/lock_sema.go:181 +0x82 fp=0x8477ed0 sp=0x8477eb4 pc=0x8052432\nruntime.mPark(...)\n\t/tmp/workdir/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2535 +0x97 fp=0x8477ee4 sp=0x8477ed0 pc=0x8085557\nruntime.gcstopm()\n\t/tmp/workdir/go/src/runtime/proc.go:2834 +0xce fp=0x8477efc sp=0x8477ee4 pc=0x80860be\nruntime.findRunnable()\n\t/tmp/workdir/go/src/runtime/proc.go:2900 +0x5a fp=0x8477fa8 sp=0x8477efc pc=0x808629a\nruntime.schedule()\n\t/tmp/workdir/go/src/runtime/proc.go:3602 +0xb1 fp=0x8477fc4 sp=0x8477fa8 pc=0x8088191\nruntime.mstart1()\n\t/tmp/workdir/go/src/runtime/proc.go:1606 +0xa7 fp=0x8477fd4 sp=0x8477fc4 pc=0x8083fc7\nruntime.mstart0()\n\t/tmp/workdir/go/src/runtime/proc.go:1556 +0x54 fp=0x8477fe4 sp=0x8477fd4 pc=0x8083f04\nruntime.netbsdMstart0()\n\t/tmp/workdir/go/src/runtime/os_netbsd.go:263 +0x34 fp=0x8477ffc sp=0x8477fe4 pc=0x807c934\nruntime.netbsdMstart()\n\t/tmp/workdir/go/src/runtime/sys_netbsd_386.s:364 +0x5 fp=0x8478000 sp=0x8477ffc pc=0x80ad985\n\ngoroutine 1 [runnable]:\nruntime.gopark(0x8130b64, 0x81db420, 0x12, 0x19, 0x4)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432664 sp=0x8432650 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.semacquire1(0x84b4008, 0x0, 0x1, 0x0, 0x12)\n\t/tmp/workdir/go/src/runtime/sema.go:160 +0x287 fp=0x8432694 sp=0x8432664 pc=0x8091f27\nsync.runtime_Semacquire(0x84b4008)\n\t/tmp/workdir/go/src/runtime/sema.go:62 +0x35 fp=0x84326ac sp=0x8432694 pc=0x80aa6c5\nsync.(*WaitGroup).Wait(0x84b4000)\n\t/tmp/workdir/go/src/sync/waitgroup.go:116 +0x5f fp=0x84326c8 sp=0x84326ac pc=0x80b558f\nmain.LockOSThreadTemplateThreadRace()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:243 +0x131 fp=0x8432734 sp=0x84326c8 pc=0x8100311\nmain.main()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/main.go:34 +0x148 fp=0x84327a4 sp=0x8432734 pc=0x8100528\nruntime.main()\n\t/tmp/workdir/go/src/runtime/proc.go:267 +0x2bf fp=0x84327f0 sp=0x84327a4 pc=0x808158f\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84327f4 sp=0x84327f0 pc=0x80ac931\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x8130b64, 0x81d7870, 0x11, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8432fdc sp=0x8432fc8 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/tmp/workdir/go/src/runtime/proc.go:322 +0xc7 fp=0x8432ff0 sp=0x8432fdc pc=0x8081887\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8432ff4 sp=0x8432ff0 pc=0x80ac931\ncreated by runtime.init.5 in goroutine 1\n\t/tmp/workdir/go/src/runtime/proc.go:310 +0x1d\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x8130b64, 0x81d79e0, 0xc, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x84337cc sp=0x84337b8 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.bgsweep(0x841a040)\n\t/tmp/workdir/go/src/runtime/mgcsweep.go:280 +0x8f fp=0x84337e8 sp=0x84337cc pc=0x806ca1f\nruntime.gcenable.gowrap1()\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x21 fp=0x84337f0 sp=0x84337e8 pc=0x805e961\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x84337f4 sp=0x84337f0 pc=0x80ac931\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:203 +0x71\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x8130b64, 0x81d7a40, 0xd, 0x14, 0x2)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x8433fb8 sp=0x8433fa4 pc=0x8081a1a\nruntime.goparkunlock(...)\n\t/tmp/workdir/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x81d7a40)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:425 +0x54 fp=0x8433fcc sp=0x8433fb8 pc=0x8069f44\nruntime.bgscavenge(0x841a040)\n\t/tmp/workdir/go/src/runtime/mgcscavenge.go:653 +0x45 fp=0x8433fe8 sp=0x8433fcc pc=0x806a585\nruntime.gcenable.gowrap2()\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0x21 fp=0x8433ff0 sp=0x8433fe8 pc=0x805e921\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8433ff4 sp=0x8433ff0 pc=0x80ac931\ncreated by runtime.gcenable in goroutine 1\n\t/tmp/workdir/go/src/runtime/mgc.go:204 +0xb1\n\ngoroutine 17 [finalizer wait]:\nruntime.gopark(0x8130a1c, 0x81e9cf8, 0x10, 0x14, 0x1)\n\t/tmp/workdir/go/src/runtime/proc.go:398 +0xfa fp=0x842e798 sp=0x842e784 pc=0x8081a1a\nruntime.runfinq()\n\t/tmp/workdir/go/src/runtime/mfinal.go:193 +0xf0 fp=0x842e7f0 sp=0x842e798 pc=0x805daf0\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x842e7f4 sp=0x842e7f0 pc=0x80ac931\ncreated by runtime.createfing in goroutine 1\n\t/tmp/workdir/go/src/runtime/mfinal.go:163 +0x5a\n\ngoroutine 18 [stopping the world]:\nruntime.systemstack_switch()\n\t/tmp/workdir/go/src/runtime/asm_386.s:341 fp=0x8468a18 sp=0x8468a14 pc=0x80ab5f0\nruntime.stopTheWorld(0x7)\n\t/tmp/workdir/go/src/runtime/proc.go:1262 +0xc7 fp=0x8468a40 sp=0x8468a18 pc=0x80837b7\nruntime.ReadMemStats(0x8468a54)\n\t/tmp/workdir/go/src/runtime/mstats.go:361 +0x1e fp=0x8468a50 sp=0x8468a40 pc=0x80792ae\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x34 fp=0x8469ff0 sp=0x8468a50 pc=0x81045d4\nruntime.goexit({})\n\t/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x8469ff4 sp=0x8469ff0 pc=0x80ac931\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/tmp/workdir/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2d\n\neax    0x4\nebx    0x0\necx    0x8406f00\nedx    0x8480700\nedi    0x8477fb4\nesi    0x6\nebp    0x3\nesp    0x8477e68\neip    0x80ad9e7\neflags 0x247\ncs     0x17\nfs     0xab\ngs     0xb3\n"
panic: test timed out after 3m0s
running tests:
	TestMemmoveOverlapLarge0x120000 (11s)

goroutine 182440 [running]:
panic({0x84069a0, 0x9e9a5d0})
	/tmp/workdir/go/src/runtime/panic.go:774 +0x124 fp=0x88d3f84 sp=0x88d3f30 pc=0x8085ad4
testing.(*M).startAlarm.func1()
	/tmp/workdir/go/src/testing/testing.go:2259 +0x386 fp=0x88d3ff0 sp=0x88d3f84 pc=0x814da86
runtime.goexit({})
	/tmp/workdir/go/src/runtime/asm_386.s:1363 +0x1 fp=0x88d3ff4 sp=0x88d3ff0 pc=0x80c2f81
created by time.goFunc
	/tmp/workdir/go/src/time/sleep.go:177 +0x29

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2023-09-11 14:46 netbsd-arm64-bsiegert go@a46b1ad3 runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1569.41s)
    exec.go:190: test timed out while running command: /scratch/gobuilder/buildlet/tmp/go-build1247655373/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /scratch/gobuilder/buildlet/tmp/go-build1247655373/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 0: want "OK\n", got "SIGQUIT: quit\nPC=0x7479c m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x4000080a50, 0x0)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:92 +0x1c fp=0x400011bce0 sp=0x400011bce0 pc=0x7479c\nruntime.semasleep(0xffffffffffffffff)\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x12c fp=0x400011bd40 sp=0x400011bce0 pc=0x41bbc\nruntime.notesleep(0x4000080580?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0xac fp=0x400011bd80 sp=0x400011bd40 pc=0x1a7bc\nruntime.mPark(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2520 +0x84 fp=0x400011bdb0 sp=0x400011bd80 pc=0x4b2f4\nruntime.gcstopm()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2819 +0xe8 fp=0x400011bde0 sp=0x400011bdb0 pc=0x4c018\nruntime.findRunnable()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:2885 +0x4c fp=0x400011bf00 sp=0x400011bde0 pc=0x4c20c\nruntime.schedule()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:3587 +0x98 fp=0x400011bf40 sp=0x400011bf00 pc=0x4e1c8\nruntime.mstart1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1606 +0xb8 fp=0x400011bf70 sp=0x400011bf40 pc=0x49ab8\nruntime.mstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1556 +0x68 fp=0x400011bfa0 sp=0x400011bf70 pc=0x499d8\nruntime.netbsdMstart0()\n\t/scratch/gobuilder/buildlet/go/src/runtime/os_netbsd.go:263 +0x2c fp=0x400011bfe0 sp=0x400011bfa0 pc=0x41fcc\nruntime.netbsdMstart()\n\t/scratch/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm64.s:77 +0x10 fp=0x400011bff0 sp=0x400011bfe0 pc=0x74760\n\ngoroutine 1 [semacquire]:\nruntime.gopark(0x1c3e60?, 0x1c30c?, 0x0?, 0x40?, 0x30?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x400006ed80 sp=0x400006ed60 pc=0x472b8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.semacquire1(0x400000e198, 0xe8?, 0x1, 0x0, 0x8?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sema.go:160 +0x208 fp=0x400006edd0 sp=0x400006ed80 pc=0x57cd8\nsync.runtime_Semacquire(0x40000021a0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/sema.go:62 +0x2c fp=0x400006ee10 sp=0x400006edd0 pc=0x7006c\nsync.(*WaitGroup).Wait(0x400000e190)\n\t/scratch/gobuilder/buildlet/go/src/sync/waitgroup.go:116 +0x74 fp=0x400006ee30 sp=0x400006ee10 pc=0x7d684\nmain.LockOSThreadTemplateThreadRace()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:243 +0xe8 fp=0x400006ee90 sp=0x400006ee30 pc=0xc4fb8\nmain.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/main.go:34 +0x11c fp=0x400006ef30 sp=0x400006ee90 pc=0xc51ac\nruntime.main()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:267 +0x2bc fp=0x400006efd0 sp=0x400006ef30 pc=0x46e8c\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x400006efd0 sp=0x400006efd0 pc=0x73a74\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030f90 sp=0x4000030f70 pc=0x472b8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xb8 fp=0x4000030fd0 sp=0x4000030f90 pc=0x47148\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000030fd0 sp=0x4000030fd0 pc=0x73a74\ncreated by runtime.init.6 in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x24\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031760 sp=0x4000031740 pc=0x472b8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa0 fp=0x40000317b0 sp=0x4000031760 pc=0x33320\nruntime.gcenable.gowrap1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x40000317d0 sp=0x40000317b0 pc=0x27ac8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000317d0 sp=0x40000317d0 pc=0x73a74\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x6c\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x4000052000?, 0x11f108?, 0x1?, 0x0?, 0x4000002d00?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000031f50 sp=0x4000031f30 pc=0x472b8\nruntime.goparkunlock(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1bb880)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x5c fp=0x4000031f80 sp=0x4000031f50 pc=0x30bbc\nruntime.bgscavenge(0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x44 fp=0x4000031fb0 sp=0x4000031f80 pc=0x31104\nruntime.gcenable.gowrap2()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x4000031fd0 sp=0x4000031fb0 pc=0x27a68\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000031fd0 sp=0x4000031fd0 pc=0x73a74\ncreated by runtime.gcenable in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xac\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x40000305d8?, 0x23834?, 0x0?, 0x0?, 0x0?)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:398 +0xc8 fp=0x4000030580 sp=0x4000030560 pc=0x472b8\nruntime.runfinq()\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x108 fp=0x40000307d0 sp=0x4000030580 pc=0x26bb8\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000307d0 sp=0x40000307d0 pc=0x73a74\ncreated by runtime.createfing in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x80\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:200 +0x8 fp=0x4000092890 sp=0x4000092880 pc=0x716f8\nruntime.stopTheWorld(0x7)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xc4 fp=0x40000928f0 sp=0x4000092890 pc=0x491d4\nruntime.ReadMemStats(0x4000092938)\n\t/scratch/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x28 fp=0x4000092920 sp=0x40000928f0 pc=0x3f5d8\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x4c fp=0x4000093fd0 sp=0x4000092920 pc=0xc8a9c\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000093fd0 sp=0x4000093fd0 pc=0x73a74\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x2c\n\ngoroutine 7 [runnable, locked to thread]:\nruntime.Gosched(...)\n\t/scratch/gobuilder/buildlet/go/src/runtime/proc.go:338\nmain.LockOSThreadTemplateThreadRace.func2()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:238 +0x70 fp=0x4000032fd0 sp=0x4000032f70 pc=0xc5060\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000032fd0 sp=0x4000032fd0 pc=0x73a74\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:229 +0x74\n\ngoroutine 17 [runnable]:\nmain.LockOSThreadTemplateThreadRace.func2.1()\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:235 fp=0x40000337d0 sp=0x40000337d0 pc=0xc8ab0\nruntime.goexit({})\n\t/scratch/gobuilder/buildlet/go/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40000337d0 sp=0x40000337d0 pc=0x73a74\ncreated by main.LockOSThreadTemplateThreadRace.func2 in goroutine 7\n\t/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:235 +0x5c\n\nr0      0x4\nr1      0x0\nr2      0x0\nr3      0x0\nr4      0x4000080a50\nr5      0x0\nr6      0x3\nr7      0x1\nr8      0x4000118000\nr9      0x40000844e0\nr10     0x0\nr11     0x0\nr12     0x84\nr13     0x13\nr14     0x4\nr15     0x11\nr16     0x40001183a0\nr17     0x400011be60\nr18     0x0\nr19     0x0\nr20     0x400011bde0\nr21     0x4000000120\nr22     0x0\nr23     0x0\nr24     0x0\nr25     0x0\nr26     0x102850\nr27     0xffffffffffffffe0\nr28     0x40000844e0\nr29     0x400011bcd8\nlr      0x41bbc\nsp      0x400011bce0\npc      0x7479c\nfault   0x133d\n"

watchflakes

@prattmic
Copy link
Member

Hm, perhaps not fully fixed?

@cherrymui
Copy link
Member Author

That is at a commit before your CL. It's just that the builder slowly caught up. (If it were a commit newer than the CL, watchflakes would reopen the issue.)

@gopherbot gopherbot reopened this Sep 12, 2023
@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2023-09-12 17:08 netbsd-arm-bsiegert go@4f9fe6d5 runtime.TestCgoSignalDeadlock (log)
--- FAIL: TestCgoSignalDeadlock (37.98s)
    crash_test.go:152: running /var/gobuilder/buildlet/go/bin/go build -o /var/gobuilder/buildlet/tmp/go-build1581235903/testprogcgo.exe
    crash_cgo_test.go:36: building testprogcgo []: exit status 1
        # runtime/testdata/testprogcgo
        In file included from /usr/include/ucontext.h:36:0,
                         from stackswitch.c:16:
        /usr/include/sys/ucontext.h:44:2: error: unknown type name 'stack_t'
          stack_t  uc_stack; /* the stack used by this context */
          ^~~~~~~
        stackswitch.c: In function 'stackSwitchThread':
        stackswitch.c:68:22: error: request for member 'ss_sp' in something not a structure or union
          uctx_switch.uc_stack.ss_sp = stack1;
                              ^
        stackswitch.c:69:22: error: request for member 'ss_size' in something not a structure or union
          uctx_switch.uc_stack.ss_size = STACK_SIZE;
                              ^
        stackswitch.c:82:22: error: request for member 'ss_sp' in something not a structure or union
          uctx_switch.uc_stack.ss_sp = stack2;
                              ^
        stackswitch.c:83:22: error: request for member 'ss_size' in something not a structure or union
          uctx_switch.uc_stack.ss_size = STACK_SIZE;
                              ^
2023-09-12 17:08 netbsd-arm-bsiegert go@4f9fe6d5 runtime.TestSegv (log)
--- FAIL: TestSegv (0.00s)
    --- FAIL: TestSegv/SegvInCgo (0.00s)
        crash_cgo_test.go:655: building testprogcgo []: exit status 1
            # runtime/testdata/testprogcgo
            In file included from /usr/include/ucontext.h:36:0,
                             from stackswitch.c:16:
            /usr/include/sys/ucontext.h:44:2: error: unknown type name 'stack_t'
              stack_t  uc_stack; /* the stack used by this context */
              ^~~~~~~
            stackswitch.c: In function 'stackSwitchThread':
            stackswitch.c:68:22: error: request for member 'ss_sp' in something not a structure or union
              uctx_switch.uc_stack.ss_sp = stack1;
                                  ^
            stackswitch.c:69:22: error: request for member 'ss_size' in something not a structure or union
              uctx_switch.uc_stack.ss_size = STACK_SIZE;
                                  ^
            stackswitch.c:82:22: error: request for member 'ss_sp' in something not a structure or union
              uctx_switch.uc_stack.ss_sp = stack2;
                                  ^
            stackswitch.c:83:22: error: request for member 'ss_size' in something not a structure or union
              uctx_switch.uc_stack.ss_size = STACK_SIZE;
                                  ^
2023-09-12 17:08 netbsd-arm-bsiegert go@4f9fe6d5 runtime.TestNeedmDeadlock (log)
--- FAIL: TestNeedmDeadlock (0.00s)
    crash_cgo_test.go:749: building testprogcgo []: exit status 1
        # runtime/testdata/testprogcgo
        In file included from /usr/include/ucontext.h:36:0,
                         from stackswitch.c:16:
        /usr/include/sys/ucontext.h:44:2: error: unknown type name 'stack_t'
          stack_t  uc_stack; /* the stack used by this context */
          ^~~~~~~
        stackswitch.c: In function 'stackSwitchThread':
        stackswitch.c:68:22: error: request for member 'ss_sp' in something not a structure or union
          uctx_switch.uc_stack.ss_sp = stack1;
                              ^
        stackswitch.c:69:22: error: request for member 'ss_size' in something not a structure or union
          uctx_switch.uc_stack.ss_size = STACK_SIZE;
                              ^
        stackswitch.c:82:22: error: request for member 'ss_sp' in something not a structure or union
          uctx_switch.uc_stack.ss_sp = stack2;
                              ^
        stackswitch.c:83:22: error: request for member 'ss_size' in something not a structure or union
          uctx_switch.uc_stack.ss_size = STACK_SIZE;
                              ^
2023-09-12 18:14 netbsd-arm-bsiegert go@5cc1e99f runtime.TestCgoSignalDeadlock (log)
--- FAIL: TestCgoSignalDeadlock (38.12s)
    crash_test.go:152: running /var/gobuilder/buildlet/go/bin/go build -o /var/gobuilder/buildlet/tmp/go-build1424596119/testprogcgo.exe
    crash_cgo_test.go:36: building testprogcgo []: exit status 1
        # runtime/testdata/testprogcgo
        In file included from /usr/include/ucontext.h:36:0,
                         from stackswitch.c:16:
        /usr/include/sys/ucontext.h:44:2: error: unknown type name 'stack_t'
          stack_t  uc_stack; /* the stack used by this context */
          ^~~~~~~
        stackswitch.c: In function 'stackSwitchThread':
        stackswitch.c:68:22: error: request for member 'ss_sp' in something not a structure or union
          uctx_switch.uc_stack.ss_sp = stack1;
                              ^
        stackswitch.c:69:22: error: request for member 'ss_size' in something not a structure or union
          uctx_switch.uc_stack.ss_size = STACK_SIZE;
                              ^
        stackswitch.c:82:22: error: request for member 'ss_sp' in something not a structure or union
          uctx_switch.uc_stack.ss_sp = stack2;
                              ^
        stackswitch.c:83:22: error: request for member 'ss_size' in something not a structure or union
          uctx_switch.uc_stack.ss_size = STACK_SIZE;
                              ^
2023-09-12 18:14 netbsd-arm-bsiegert go@5cc1e99f runtime.TestSegv (log)
--- FAIL: TestSegv (0.00s)
    --- FAIL: TestSegv/SegvInCgo (0.00s)
        crash_cgo_test.go:655: building testprogcgo []: exit status 1
            # runtime/testdata/testprogcgo
            In file included from /usr/include/ucontext.h:36:0,
                             from stackswitch.c:16:
            /usr/include/sys/ucontext.h:44:2: error: unknown type name 'stack_t'
              stack_t  uc_stack; /* the stack used by this context */
              ^~~~~~~
            stackswitch.c: In function 'stackSwitchThread':
            stackswitch.c:68:22: error: request for member 'ss_sp' in something not a structure or union
              uctx_switch.uc_stack.ss_sp = stack1;
                                  ^
            stackswitch.c:69:22: error: request for member 'ss_size' in something not a structure or union
              uctx_switch.uc_stack.ss_size = STACK_SIZE;
                                  ^
            stackswitch.c:82:22: error: request for member 'ss_sp' in something not a structure or union
              uctx_switch.uc_stack.ss_sp = stack2;
                                  ^
            stackswitch.c:83:22: error: request for member 'ss_size' in something not a structure or union
              uctx_switch.uc_stack.ss_size = STACK_SIZE;
                                  ^
2023-09-12 18:14 netbsd-arm-bsiegert go@5cc1e99f runtime.TestNeedmDeadlock (log)
--- FAIL: TestNeedmDeadlock (0.00s)
    crash_cgo_test.go:749: building testprogcgo []: exit status 1
        # runtime/testdata/testprogcgo
        In file included from /usr/include/ucontext.h:36:0,
                         from stackswitch.c:16:
        /usr/include/sys/ucontext.h:44:2: error: unknown type name 'stack_t'
          stack_t  uc_stack; /* the stack used by this context */
          ^~~~~~~
        stackswitch.c: In function 'stackSwitchThread':
        stackswitch.c:68:22: error: request for member 'ss_sp' in something not a structure or union
          uctx_switch.uc_stack.ss_sp = stack1;
                              ^
        stackswitch.c:69:22: error: request for member 'ss_size' in something not a structure or union
          uctx_switch.uc_stack.ss_size = STACK_SIZE;
                              ^
        stackswitch.c:82:22: error: request for member 'ss_sp' in something not a structure or union
          uctx_switch.uc_stack.ss_sp = stack2;
                              ^
        stackswitch.c:83:22: error: request for member 'ss_size' in something not a structure or union
          uctx_switch.uc_stack.ss_size = STACK_SIZE;
                              ^

watchflakes

@prattmic
Copy link
Member

https://go.dev/cl/527775

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2023-10-04 02:55 netbsd-arm-bsiegert go@a1eb658d runtime.TestDeferLiveness (log)
panic: test timed out after 30m0s
running tests:
	TestDeferLiveness (27m41s)

syscall.Syscall6(0x1e1, 0x1, 0x4b7d, 0x1653de4, 0x10020, 0x0, 0x0)
	/var/gobuilder/buildlet/go/src/syscall/asm_netbsd_arm.s:39 +0x8 fp=0x1653db8 sp=0x1653db4 pc=0xa96dc
os.wait6(0x1, 0x4b7d, 0x10020)
	/var/gobuilder/buildlet/go/src/os/wait6_netbsd.go:16 +0x58 fp=0x1653dec sp=0x1653db8 pc=0xd3ab0
os.(*Process).blockUntilWaitable(0x1fa2210)
	/var/gobuilder/buildlet/go/src/os/wait_wait6.go:20 +0x30 fp=0x1653e08 sp=0x1653dec pc=0xd3b00
os.(*Process).wait(0x1fa2210)
	/var/gobuilder/buildlet/go/src/os/exec_unix.go:22 +0x2c fp=0x1653e44 sp=0x1653e08 pc=0xcde0c
os.(*Process).Wait(...)
	/var/gobuilder/buildlet/go/src/os/exec.go:134
os/exec.(*Cmd).Wait(0x16aa000)
	/var/gobuilder/buildlet/go/src/os/exec/exec.go:897 +0x38 fp=0x1653e7c sp=0x1653e44 pc=0x166574
os/exec.(*Cmd).Run(0x16aa000)
	/var/gobuilder/buildlet/go/src/os/exec/exec.go:607 +0x48 fp=0x1653e8c sp=0x1653e7c pc=0x165268
os/exec.(*Cmd).CombinedOutput(0x16aa000)
	/var/gobuilder/buildlet/go/src/os/exec/exec.go:1012 +0x88 fp=0x1653ea0 sp=0x1653e8c pc=0x166e8c
runtime_test.runBuiltTestProg(0x1ba6780, {0x1b56680, 0x3b}, {0x4637be, 0xd}, {0x1195f8c, 0x1, 0x1})
	/var/gobuilder/buildlet/go/src/runtime/crash_test.go:87 +0x2a8 fp=0x1653f1c sp=0x1653ea0 pc=0x3221cc
runtime_test.runTestProg(0x1ba6780, {0x4605f9, 0x8}, {0x4637be, 0xd}, {0x1195f8c, 0x1, 0x1})
	/var/gobuilder/buildlet/go/src/runtime/crash_test.go:70 +0x168 fp=0x1653f58 sp=0x1653f1c pc=0x321ef0
runtime_test.TestDeferLiveness(0x1ba6780)
	/var/gobuilder/buildlet/go/src/runtime/stack_test.go:868 +0x70 fp=0x1653f94 sp=0x1653f58 pc=0x3b3544
testing.tRunner(0x1ba6780, 0x48ac38)

watchflakes

@gopherbot gopherbot reopened this Oct 4, 2023
@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2023-09-12 17:47 netbsd-arm-bsiegert go@9f5a2cf6 runtime.TestCgoSignalDeadlock (log)
--- FAIL: TestCgoSignalDeadlock (38.17s)
    crash_test.go:152: running /var/gobuilder/buildlet/go/bin/go build -o /var/gobuilder/buildlet/tmp/go-build1560812738/testprogcgo.exe
    crash_cgo_test.go:36: building testprogcgo []: exit status 1
        # runtime/testdata/testprogcgo
        In file included from /usr/include/ucontext.h:36:0,
                         from stackswitch.c:16:
        /usr/include/sys/ucontext.h:44:2: error: unknown type name 'stack_t'
          stack_t  uc_stack; /* the stack used by this context */
          ^~~~~~~
        stackswitch.c: In function 'stackSwitchThread':
        stackswitch.c:68:22: error: request for member 'ss_sp' in something not a structure or union
          uctx_switch.uc_stack.ss_sp = stack1;
                              ^
        stackswitch.c:69:22: error: request for member 'ss_size' in something not a structure or union
          uctx_switch.uc_stack.ss_size = STACK_SIZE;
                              ^
        stackswitch.c:82:22: error: request for member 'ss_sp' in something not a structure or union
          uctx_switch.uc_stack.ss_sp = stack2;
                              ^
        stackswitch.c:83:22: error: request for member 'ss_size' in something not a structure or union
          uctx_switch.uc_stack.ss_size = STACK_SIZE;
                              ^
2023-09-12 17:47 netbsd-arm-bsiegert go@9f5a2cf6 runtime.TestSegv (log)
--- FAIL: TestSegv (0.00s)
    --- FAIL: TestSegv/SegvInCgo (0.00s)
        crash_cgo_test.go:655: building testprogcgo []: exit status 1
            # runtime/testdata/testprogcgo
            In file included from /usr/include/ucontext.h:36:0,
                             from stackswitch.c:16:
            /usr/include/sys/ucontext.h:44:2: error: unknown type name 'stack_t'
              stack_t  uc_stack; /* the stack used by this context */
              ^~~~~~~
            stackswitch.c: In function 'stackSwitchThread':
            stackswitch.c:68:22: error: request for member 'ss_sp' in something not a structure or union
              uctx_switch.uc_stack.ss_sp = stack1;
                                  ^
            stackswitch.c:69:22: error: request for member 'ss_size' in something not a structure or union
              uctx_switch.uc_stack.ss_size = STACK_SIZE;
                                  ^
            stackswitch.c:82:22: error: request for member 'ss_sp' in something not a structure or union
              uctx_switch.uc_stack.ss_sp = stack2;
                                  ^
            stackswitch.c:83:22: error: request for member 'ss_size' in something not a structure or union
              uctx_switch.uc_stack.ss_size = STACK_SIZE;
                                  ^
2023-09-12 17:47 netbsd-arm-bsiegert go@9f5a2cf6 runtime.TestNeedmDeadlock (log)
--- FAIL: TestNeedmDeadlock (0.00s)
    crash_cgo_test.go:749: building testprogcgo []: exit status 1
        # runtime/testdata/testprogcgo
        In file included from /usr/include/ucontext.h:36:0,
                         from stackswitch.c:16:
        /usr/include/sys/ucontext.h:44:2: error: unknown type name 'stack_t'
          stack_t  uc_stack; /* the stack used by this context */
          ^~~~~~~
        stackswitch.c: In function 'stackSwitchThread':
        stackswitch.c:68:22: error: request for member 'ss_sp' in something not a structure or union
          uctx_switch.uc_stack.ss_sp = stack1;
                              ^
        stackswitch.c:69:22: error: request for member 'ss_size' in something not a structure or union
          uctx_switch.uc_stack.ss_size = STACK_SIZE;
                              ^
        stackswitch.c:82:22: error: request for member 'ss_sp' in something not a structure or union
          uctx_switch.uc_stack.ss_sp = stack2;
                              ^
        stackswitch.c:83:22: error: request for member 'ss_size' in something not a structure or union
          uctx_switch.uc_stack.ss_size = STACK_SIZE;
                              ^

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2023-09-07 16:10 netbsd-arm-bsiegert go@dc6513b8 runtime.TestLockOSThreadTemplateThreadRace (log)
--- FAIL: TestLockOSThreadTemplateThreadRace (1506.01s)
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build4080174188/testprog.exe LockOSThreadTemplateThreadRace (93.988411ms): ok
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build4080174188/testprog.exe LockOSThreadTemplateThreadRace (88.91393ms): ok
    exec.go:190: test timed out while running command: /var/gobuilder/buildlet/tmp/go-build4080174188/testprog.exe LockOSThreadTemplateThreadRace
    proc_test.go:1022: /var/gobuilder/buildlet/tmp/go-build4080174188/testprog.exe LockOSThreadTemplateThreadRace: exit status 2
    proc_test.go:1024: run 2: want "OK\n", got "SIGQUIT: quit\nPC=0x81284 m=6 sigcode=0\n\ngoroutine 0 [idle]:\nruntime.lwp_park(0x3, 0x0, 0x0, 0x0, 0x42d460, 0x0)\n\t/var/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm.s:138 +0x28 fp=0x48fe6c sp=0x48fe60 pc=0x81284\nruntime.semasleep(0xffffffffffffffff)\n\t/var/gobuilder/buildlet/go/src/runtime/os_netbsd.go:183 +0x288 fp=0x48feac sp=0x48fe6c pc=0x49d68\nruntime.notesleep(0x42d258)\n\t/var/gobuilder/buildlet/go/src/runtime/lock_sema.go:181 +0x8c fp=0x48fec8 sp=0x48feac pc=0x1b1d8\nruntime.mPark(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1631\nruntime.stopm()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2535 +0x90 fp=0x48fedc sp=0x48fec8 pc=0x54388\nruntime.gcstopm()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2834 +0xd4 fp=0x48fef4 sp=0x48fedc pc=0x55020\nruntime.findRunnable()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:2900 +0x48 fp=0x48ffa0 sp=0x48fef4 pc=0x55248\nruntime.schedule()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:3602 +0xac fp=0x48ffbc sp=0x48ffa0 pc=0x57420\nruntime.mstart1()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1606 +0xb0 fp=0x48ffcc sp=0x48ffbc pc=0x52a7c\nruntime.mstart0()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1556 +0x7c fp=0x48ffe0 sp=0x48ffcc pc=0x529bc\nruntime.netbsdMstart0()\n\t/var/gobuilder/buildlet/go/src/runtime/os_netbsd.go:263 +0x30 fp=0x48fff8 sp=0x48ffe0 pc=0x4a1b8\nruntime.netbsdMstart()\n\t/var/gobuilder/buildlet/go/src/runtime/sys_netbsd_arm.s:164 +0x8 fp=0x48fffc sp=0x48fff8 pc=0x812d8\n\ngoroutine 1 [runnable]:\nruntime.gopark(0x116ee0, 0x1cb458, 0x12, 0x19, 0x4)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x428668 sp=0x428654 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.semacquire1(0x40e188, 0x0, 0x1, 0x0, 0x12)\n\t/var/gobuilder/buildlet/go/src/runtime/sema.go:160 +0x270 fp=0x428690 sp=0x428668 pc=0x62b1c\nsync.runtime_Semacquire(0x40e188)\n\t/var/gobuilder/buildlet/go/src/runtime/sema.go:62 +0x3c fp=0x4286a8 sp=0x428690 pc=0x7dd48\nsync.(*WaitGroup).Wait(0x40e180)\n\t/var/gobuilder/buildlet/go/src/sync/waitgroup.go:116 +0x68 fp=0x4286c4 sp=0x4286a8 pc=0x8a668\nmain.LockOSThreadTemplateThreadRace()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:243 +0x13c fp=0x428730 sp=0x4286c4 pc=0xddbe8\nmain.main()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/main.go:34 +0x158 fp=0x4287a0 sp=0x428730 pc=0xdde3c\nruntime.main()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:267 +0x338 fp=0x4287ec sp=0x4287a0 pc=0x4f8c0\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4287ec sp=0x4287ec pc=0x805cc\n\ngoroutine 2 [force gc (idle)]:\nruntime.gopark(0x116ee0, 0x1c8560, 0x11, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x428fd4 sp=0x428fc0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.forcegchelper()\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:322 +0xe4 fp=0x428fec sp=0x428fd4 pc=0x4fc94\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x428fec sp=0x428fec pc=0x805cc\ncreated by runtime.init.5 in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:310 +0x1c\n\ngoroutine 3 [GC sweep wait]:\nruntime.gopark(0x116ee0, 0x1c86c0, 0xc, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x4297c4 sp=0x4297b0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.bgsweep(0x4180c0)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcsweep.go:280 +0xa8 fp=0x4297e4 sp=0x4297c4 pc=0x39270\nruntime.gcenable.gowrap1()\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x28 fp=0x4297ec sp=0x4297e4 pc=0x295ac\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4297ec sp=0x4297ec pc=0x805cc\ncreated by runtime.gcenable in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:203 +0x74\n\ngoroutine 4 [GC scavenge wait]:\nruntime.gopark(0x116ee0, 0x1c8720, 0xd, 0x14, 0x2)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x429fb4 sp=0x429fa0 pc=0x4fe58\nruntime.goparkunlock(...)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:404\nruntime.(*scavengerState).park(0x1c8720)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:425 +0x68 fp=0x429fc8 sp=0x429fb4 pc=0x364f0\nruntime.bgscavenge(0x4180c0)\n\t/var/gobuilder/buildlet/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0x429fe4 sp=0x429fc8 pc=0x36c0c\nruntime.gcenable.gowrap2()\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0x28 fp=0x429fec sp=0x429fe4 pc=0x29558\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x429fec sp=0x429fec pc=0x805cc\ncreated by runtime.gcenable in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mgc.go:204 +0xbc\n\ngoroutine 5 [finalizer wait]:\nruntime.gopark(0x116d98, 0x1d89ec, 0x10, 0x14, 0x1)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:398 +0x104 fp=0x42a788 sp=0x42a774 pc=0x4fe58\nruntime.runfinq()\n\t/var/gobuilder/buildlet/go/src/runtime/mfinal.go:193 +0x110 fp=0x42a7ec sp=0x42a788 pc=0x2840c\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x42a7ec sp=0x42a7ec pc=0x805cc\ncreated by runtime.createfing in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/mfinal.go:163 +0x5c\n\ngoroutine 6 [stopping the world]:\nruntime.systemstack_switch()\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:274 +0x4 fp=0x492a10 sp=0x492a0c pc=0x7ea50\nruntime.stopTheWorld(0x7)\n\t/var/gobuilder/buildlet/go/src/runtime/proc.go:1262 +0xd4 fp=0x492a3c sp=0x492a10 pc=0x520a8\nruntime.ReadMemStats(0x492a54)\n\t/var/gobuilder/buildlet/go/src/runtime/mstats.go:361 +0x24 fp=0x492a4c sp=0x492a3c pc=0x468c0\nmain.LockOSThreadTemplateThreadRace.func1()\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:218 +0x44 fp=0x493fec sp=0x492a4c pc=0xe2678\nruntime.goexit({})\n\t/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x493fec sp=0x493fec pc=0x805cc\ncreated by main.LockOSThreadTemplateThreadRace in goroutine 1\n\t/var/gobuilder/buildlet/go/src/runtime/testdata/testprog/lockosthread.go:214 +0x28\n\ntrap    0x0\nerror   0x0\noldmask 0x0\nr0      0x4\nr1      0x0\nr2      0x0\nr3      0x0\nr4      0x42d460\nr5      0x0\nr6      0x1a\nr7      0x116ed0\nr8      0x7\nr9      0x1\nr10     0x403300\nfp      0x0\nip      0x1\nsp      0x48fe60\nlr      0x49d68\npc      0x81284\ncpsr    0x60000010\nfault   0x0\n"

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2023-11-07 01:22 netbsd-arm-bsiegert go@d33548d1 runtime.TestLockOSThreadTemplateThreadRace (log)
panic: test timed out after 30m0s
running tests:
	TestLockOSThreadTemplateThreadRace (27m48s)

syscall.Syscall6(0x1e1, 0x1, 0x1c59, 0x848dfc, 0x10020, 0x0, 0x0)
	/var/gobuilder/buildlet/go/src/syscall/asm_netbsd_arm.s:39 +0x8 fp=0x848dd0 sp=0x848dcc pc=0xa91d0
os.wait6(0x1, 0x1c59, 0x10020)
	/var/gobuilder/buildlet/go/src/os/wait6_netbsd.go:16 +0x58 fp=0x848e04 sp=0x848dd0 pc=0xd32c0
os.(*Process).blockUntilWaitable(0x2013e60)
	/var/gobuilder/buildlet/go/src/os/wait_wait6.go:20 +0x30 fp=0x848e20 sp=0x848e04 pc=0xd3310
os.(*Process).wait(0x2013e60)
	/var/gobuilder/buildlet/go/src/os/exec_unix.go:22 +0x2c fp=0x848e58 sp=0x848e20 pc=0xcd7e0
os.(*Process).Wait(...)
	/var/gobuilder/buildlet/go/src/os/exec.go:134
os/exec.(*Cmd).Wait(0x11ba240)
	/var/gobuilder/buildlet/go/src/os/exec/exec.go:897 +0x38 fp=0x848e90 sp=0x848e58 pc=0x1682ac
os/exec.(*Cmd).Run(0x11ba240)
	/var/gobuilder/buildlet/go/src/os/exec/exec.go:607 +0x44 fp=0x848ea0 sp=0x848e90 pc=0x166fc0
os/exec.(*Cmd).CombinedOutput(0x11ba240)
	/var/gobuilder/buildlet/go/src/os/exec/exec.go:1012 +0x88 fp=0x848eb4 sp=0x848ea0 pc=0x168bcc
runtime_test.runBuiltTestProg(0x2a99200, {0x1b0c480, 0x3b}, {0x47292c, 0x1e}, {0x0, 0x0, 0x0})
	/var/gobuilder/buildlet/go/src/runtime/crash_test.go:87 +0x2a8 fp=0x848f30 sp=0x848eb4 pc=0x327d60
runtime_test.TestLockOSThreadTemplateThreadRace(0x2a99200)
	/var/gobuilder/buildlet/go/src/runtime/proc_test.go:1022 +0x160 fp=0x848f94 sp=0x848f30 pc=0x39b44c
testing.tRunner(0x2a99200, 0x48b26c)

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2024-01-10 17:35 netbsd-arm-bsiegert go@e9b3ff15 runtime.TestNeedmDeadlock (log)
--- FAIL: TestNeedmDeadlock (0.14s)
    crash_cgo_test.go:750: /scratch/gobuilder/buildlet/tmp/go-build2263110711/testprogcgo.exe NeedmDeadlock: exit status 2
    crash_cgo_test.go:753: want OK
        , got signal 20 received on thread with no signal stack
        fatal error: non-Go code disabled sigaltstack

        runtime stack:
        runtime.throw({0x18e5c1, 0x20})
        	/scratch/gobuilder/buildlet/go/src/runtime/panic.go:1023 +0x4c fp=0x444c8c sp=0x444c78 pc=0x53f54
        runtime.noSignalStack(0x14)
...
        runtime.gopark(0x193ea4, 0x490000, 0x13, 0xe, 0x1)
        	/scratch/gobuilder/buildlet/go/src/runtime/proc.go:402 +0x104 fp=0x4307a4 sp=0x430790 pc=0x57430
        time.Sleep(0x12a05f200)
        	/scratch/gobuilder/buildlet/go/src/runtime/time.go:195 +0x158 fp=0x4307c0 sp=0x4307a4 pc=0x8fb0c
        main.NeedmDeadlock.func1()
        	/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprogcgo/needmdeadlock.go:89 +0x24 fp=0x4307ec sp=0x4307c0 pc=0x150c54
        runtime.goexit({})
        	/scratch/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4307ec sp=0x4307ec pc=0x91d44
        created by main.NeedmDeadlock in goroutine 1
        	/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprogcgo/needmdeadlock.go:88 +0x1c

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2024-01-13 11:09 netbsd-arm-bsiegert go@7abeefd2 runtime.TestScavenger (log)
--- FAIL: TestScavenger (2.66s)
    mgcscavenge_test.go:521: timed out waiting for scavenger to run to completion

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2024-01-22 16:54 netbsd-386-9_3 go@29cea658 runtime.TestSegv (log)
--- FAIL: TestSegv (0.00s)
    --- FAIL: TestSegv/SegvInCgo (0.00s)
        crash_cgo_test.go:656: /tmp/workdir/tmp/go-build787461731/testprogcgo.exe SegvInCgo (3.695741ms): ok
        crash_cgo_test.go:657: 
        crash_cgo_test.go:663: did not see "SIGSEGV" in output

watchflakes

@gopherbot gopherbot modified the milestones: Go1.22, Go1.23 Feb 6, 2024
@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && pkg == "runtime" && date > "2023-08-01"
2024-02-17 06:03 netbsd-arm-bsiegert go@86a32d6d runtime.TestNeedmDeadlock (log)
--- FAIL: TestNeedmDeadlock (0.13s)
    crash_cgo_test.go:750: /scratch/gobuilder/buildlet/tmp/go-build1471636622/testprogcgo.exe NeedmDeadlock: exit status 2
    crash_cgo_test.go:753: want OK
        , got signal 20 received on thread with no signal stack
        fatal error: non-Go code disabled sigaltstack

        runtime stack:
        runtime.throw({0x18e14c, 0x20})
        	/scratch/gobuilder/buildlet/go/src/runtime/panic.go:1021 +0x4c fp=0x444c24 sp=0x444c10 pc=0x539ec
        runtime.noSignalStack(0x14)
...
        runtime.gopark(0x193a30, 0x580000, 0x13, 0xe, 0x1)
        	/scratch/gobuilder/buildlet/go/src/runtime/proc.go:402 +0x104 fp=0x4307a4 sp=0x430790 pc=0x56ec0
        time.Sleep(0x12a05f200)
        	/scratch/gobuilder/buildlet/go/src/runtime/time.go:195 +0x158 fp=0x4307c0 sp=0x4307a4 pc=0x8f8ec
        main.NeedmDeadlock.func1()
        	/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprogcgo/needmdeadlock.go:89 +0x24 fp=0x4307ec sp=0x4307c0 pc=0x150920
        runtime.goexit({})
        	/scratch/gobuilder/buildlet/go/src/runtime/asm_arm.s:859 +0x4 fp=0x4307ec sp=0x4307ec pc=0x91b24
        created by main.NeedmDeadlock in goroutine 1
        	/scratch/gobuilder/buildlet/go/src/runtime/testdata/testprogcgo/needmdeadlock.go:88 +0x1c

watchflakes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-NetBSD
Projects
Status: In Progress
Status: Done
Development

No branches or pull requests

3 participants