golang/go

runtime: TestRuntimeLockMetricsAndProfile/runtime.lock failures

Open

#70602 opened on Nov 27, 2024

View on GitHub
 (56 comments) (0 reactions) (1 assignee)Go (133,883 stars) (19,008 forks)batch import
NeedsInvestigationcompiler/runtimehelp wanted

Description

#!watchflakes
default <- test ~ `TestRuntimeLockMetricsAndProfile/runtime.lock/` ||
    log ~ `panic: test timed out after 5m0s(.|\n)+TestRuntimeLockMetricsAndProfile/runtime.lock/sample-\d \(4m`

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestRuntimeLockMetricsAndProfile/runtime.lock/sample-1
    metrics_test.go:1065: lock contention growth in runtime/pprof's view  (1.241778s)
    metrics_test.go:1066: lock contention growth in runtime/metrics' view (1.241730s)
    metrics_test.go:1104: stack [runtime.unlock runtime_test.TestRuntimeLockMetricsAndProfile.func5.1 runtime_test.(*contentionWorker).run] has samples totaling n=199 value=1207128831
    metrics_test.go:1192: mutex profile reported contention count different from the known true count (199 != 200)
--- FAIL: TestRuntimeLockMetricsAndProfile/runtime.lock/sample-1 (1.25s)

watchflakes

Contributor guide