]> Cypherpunks repositories - gostls13.git/commit
runtime/pprof: mark TestCPUProfileMultithreadMagnitude as flaky
authorMichael Pratt <mpratt@google.com>
Wed, 10 Nov 2021 22:35:13 +0000 (17:35 -0500)
committerMichael Pratt <mpratt@google.com>
Fri, 12 Nov 2021 20:02:21 +0000 (20:02 +0000)
commit95196512b6163dbeff2e7ce5cea65072305905f2
tree0b43378404cc02fec0211ab7501d03f7f847c65f
parentecd2e140ec54feca9afbda7726345e09cd380eea
runtime/pprof: mark TestCPUProfileMultithreadMagnitude as flaky

The Linux kernel starting in 5.9 and fixed in 5.16 has a bug that can
break CPU timer signal delivery on new new threads if the timer
interrupt fires during handling of the clone system call.

Broken CPU timer signal deliver will skew CPU profile results and cause
this test to fail.

There is currently no known workaround, so mark the test as flaky on
builders with known broken kernels.

For #49065

Change-Id: I37ceb9ea244869b0aab5cd9a36b27ca2f7e5d315
Reviewed-on: https://go-review.googlesource.com/c/go/+/363214
Trust: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/pprof/pprof_test.go
src/runtime/pprof/uname_linux_test.go [new file with mode: 0644]
src/runtime/pprof/uname_other_test.go [new file with mode: 0644]