Skip to content

runtime/pprof: TestMutexProfile failures #76531

@gopherbot

Description

@gopherbot
#!watchflakes
default <- pkg == "runtime/pprof" && test == "TestMutexProfile"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestMutexProfile
panic: timed out waiting for `(?m)^goroutine \d+ \[sync\.Mutex\.Lock\]:\n(?:.+\n\t.+\n)*runtime/pprof\.blockMutex`

goroutine 105 gp=0xc000103c00 m=13 mp=0xc000400008 [running]:
panic({0x6cedc0?, 0xc000358d80?})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:871 +0x16f fp=0xc0000c2f80 sp=0xc0000c2ed0 pc=0x4bd58f
runtime/pprof.awaitBlockedGoroutine.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof_test.go:1020 +0xad fp=0xc0000c2fe0 sp=0xc0000c2f80 pc=0x65b82d
runtime.goexit({})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1712 +0x1 fp=0xc0000c2fe8 sp=0xc0000c2fe0 pc=0x4c5361
...
internal/sync.(*Mutex).Lock(0xc07f4d3ba8)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/internal/sync/mutex.go:70 +0x55 fp=0xc07f904f68 sp=0xc07f904f48 pc=0x4cb5d5
sync.(*Mutex).Lock(0xc07f4d3ba8)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/sync/mutex.go:46 +0x29 fp=0xc07f904f80 sp=0xc07f904f68 pc=0x4cc009
runtime/pprof.blockMutexN.func2()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof_test.go:1131 +0x7c fp=0xc07f904fe0 sp=0xc07f904f80 pc=0x65c65c
runtime.goexit({})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1712 +0x1 fp=0xc07f904fe8 sp=0xc07f904fe0 pc=0x4c5361
created by runtime/pprof.blockMutexN in goroutine 207
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof_test.go:1129 +0x16b

watchflakes

Metadata

Metadata

Assignees

Labels

NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.compiler/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