You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cmd/go: data race on Action.buildID between updateBuildID and tryCacheWithID with -coverpkg #81366
changed the title [-]cmd/go: TestScript/cover_dot_import failures[/-][+]cmd/go: data race on Action.buildID between updateBuildID and tryCacheWithID with -coverpkg[/+]on Sep 11, 2026
first BAD: 33e66cfb04 | 2026-04-07 14:21 | cmd/go: invalidate test cache when -coverpkg dependencies change
GOOD parent: fe5b750ce9 | 2026-04-07 14:15 | cmd/go/internal/modload: minor modernization fixes
It seemed to reproduce more frequently with GOMAXPROCS=2. It's a flake, so maybe the bisect went sideways, but a simple sanity check seemed to reproduce the first bad / good parent finding.
Activity
gopherbot commentedon Sep 5, 2026
Found new dashboard test flakes for:
2026-09-04 21:47 gotip-darwin-arm64-race go@cc740a9f cmd/go.TestScript/cover_dot_import (log)
— watchflakes
[-]cmd/go: TestScript/cover_dot_import failures[/-][+]cmd/go: data race on Action.buildID between updateBuildID and tryCacheWithID with -coverpkg[/+]JunyangShao commentedon Sep 11, 2026
@golang/go-command
gopherbot commentedon Sep 18, 2026
Found new dashboard test flakes for:
2026-09-18 15:40 gotip-darwin-arm64-race go@0ac819d3 cmd/go.TestScript/cover_dot_import (log)
— watchflakes
thepudds commentedon Sep 22, 2026
This data race seemed to bisect to 33e66cf:
It seemed to reproduce more frequently with
GOMAXPROCS=2. It's a flake, so maybe the bisect went sideways, but a simple sanity check seemed to reproduce the first bad / good parent finding.CC @ryancurrah @matloob
gopherbot commentedon Oct 3, 2026
Found new dashboard test flakes for:
2026-10-02 21:31 gotip-darwin-arm64-race go@bfc1e317 cmd/go.TestScript/cover_dot_import (log)
— watchflakes
gopherbot commentedon Oct 6, 2026
Found new dashboard test flakes for:
2026-10-05 19:28 gotip-darwin-arm64-race go@fe9d9239 cmd/go.TestScript/cover_dot_import (log)
— watchflakes
gopherbot commentedon Oct 7, 2026
Found new dashboard test flakes for:
2026-10-06 23:08 gotip-darwin-arm64-race go@ae7a18d9 cmd/go.TestScript/cover_dot_import (log)
— watchflakes
gopherbot commentedon Oct 9, 2026
Found new dashboard test flakes for:
2026-10-08 22:17 gotip-darwin-arm64-race go@6b5417f0 cmd/go.TestScript/cover_dot_import (log)
— watchflakes
gopherbot commentedon Oct 9, 2026
Found new dashboard test flakes for:
2026-10-09 01:32 gotip-darwin-arm64-race go@b1fde0a2 cmd/go.TestScript/cover_dot_import (log)
— watchflakes
ryancurrah commentedon Oct 9, 2026
I might have some time this weekend to take a look at it.
ryancurrah commentedon Oct 11, 2026
Im unable to reproduce the race condition locally it could be my slow hardware/laptop.
I have a CR here https://go-review.googlesource.com/c/go/+/847669 not sure how to run the race tests in CI against it.
thepudds commentedon Oct 15, 2026
This might be a duplicate of #81327 and perhaps fixed by https://go.dev/cl/847669.
Optimistically closing.