go: runtime: TestReadMetrics failures
#!watchflakes
post <- pkg == "runtime" && test == "TestReadMetrics"
Issue created automatically to collect these failures.
Example (log):
--- FAIL: TestReadMetrics (0.00s)
metrics_test.go:147: live bytes: 5894368 > heap alloc: 5882216
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 30 (30 by maintainers)
Commits related to this issue
- runtime: donate racectx to g0 in ReadMetricsSlow ReadMetricsSlow was updated to call the core of readMetrics on the systemstack to prevent issues with stat skew if the stack gets moved between readme... — committed to golang/go by mknyszek 3 years ago
- runtime: apply looser bound to /gc/heap/live:bytes in test /gc/heap/live:bytes may exceed MemStats.HeapAlloc, even when all data is flushed, becuase the GC may double-count objects when marking them.... — committed to salewski/go by mknyszek 3 years ago
This is a test-only issue. I believe there are a few legitimate ways this can happen. I’ll fix it.