Skip to content

os/signal: hang in TestTerminalSignal on darwin #64700

@gopherbot

Description

@gopherbot
#!watchflakes
post <- goos == "darwin" && pkg == "os/signal" && log ~ `test timed out` && log ~ `^\s+TestTerminalSignal\s+\(`

Issue created automatically to collect these failures.

Example (log):

SIGQUIT: quit
PC=0x7ff802ac934e m=0 sigcode=0

goroutine 0 gp=0xb34b560 m=0 mp=0xb34bd60 [idle]:
runtime.kevent(0x5, 0x0, 0x0, 0x7ff7b5e25bf8, 0x40, 0x7ff7b5e25bc8)
	/tmp/buildlet/go/src/runtime/sys_darwin.go:458 +0x2e fp=0x7ff7b5e25b70 sp=0x7ff7b5e25b50 pc=0xb132c0e
runtime.netpoll(0xc000014030?)
	/tmp/buildlet/go/src/runtime/netpoll_kqueue.go:141 +0xfd fp=0x7ff7b5e26410 sp=0x7ff7b5e25b70 pc=0xb10de9d
runtime.findRunnable()
	/tmp/buildlet/go/src/runtime/proc.go:3468 +0x8c5 fp=0x7ff7b5e26588 sp=0x7ff7b5e26410 pc=0xb119865
...
panic: test timed out after 3m0s
running tests:
	TestTerminalSignal (2m55s)

goroutine 396 gp=0xc000101180 m=6 mp=0xc00012a008 [running]:
panic({0x603baa0?, 0xc0002040a0?})
	/tmp/buildlet/go/src/runtime/panic.go:779 +0x158 fp=0xc0000f5f10 sp=0xc0000f5e60 pc=0x5f0f418
testing.(*M).startAlarm.func1()
	/tmp/buildlet/go/src/testing/testing.go:2366 +0x385 fp=0xc0000f5fe0 sp=0xc0000f5f10 pc=0x5facee5
runtime.goexit({})
...

goroutine 102 gp=0xc000007a40 m=nil [GC worker (idle), 2 minutes]:
runtime.gopark(0x11fc3520920?, 0x0?, 0x0?, 0x0?, 0x0?)
	/tmp/buildlet/go/src/runtime/proc.go:402 +0xce fp=0xc00020bf50 sp=0xc00020bf30 pc=0x5f12d8e
runtime.gcBgMarkWorker()
	/tmp/buildlet/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc00020bfe0 sp=0xc00020bf50 pc=0x5ef42a5
runtime.goexit({})
	/tmp/buildlet/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00020bfe8 sp=0xc00020bfe0 pc=0x5f49681
created by runtime.gcBgMarkStartWorkers in goroutine 126
	/tmp/buildlet/go/src/runtime/mgc.go:1234 +0x1c

watchflakes

Metadata

Metadata

Assignees

Labels

NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.OS-Darwincompiler/runtimeIssues related to the Go compiler and/or runtime.

Type

No type

Projects

Status

Todo

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions