golang / golang/go

runtime: TestGoroutineLeakProfile failures under mayMoreStackPreempt and mayMoreStackMove

Open
#75,729 3 comments 0 reactions 1 assignee Claimed by @mknyszek View on GitHub
BugReport compiler/runtime NeedsInvestigation
Dominant language
Go
Stars
139k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

```
#!watchflakes
default <- (pkg == "runtime:mayMoreStackPreempt" || pkg == "runtime:mayMoreStackMove") && test ~ `TestGoroutineLeakProfile`
```

Specifically, it seems that a bunch of leaks are no longer detected, but off-hand I can't tell why. I assume that maybe the check fires too early? Maybe goroutines don't get a chance to settle into their leaked state?

I'll send a change to skip the tests under `mayMoreStackPreempt` for now.

CC @VladSaiocUber

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.