New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
log: TestDiscard failures due to too many allocs #58797
Comments
Found new dashboard test flakes for:
2023-02-28 21:59 linux-amd64-goamd64v3 go@ec26277a cmd/go.TestFilepathUnderCwdFormat (log)
|
This is the regression test for #47164 added in CL 348741. (attn @ianlancetaylor, @robpike) |
The test case that is failing is running I'll note that I was not able to recreate the problem myself, even running the test 10,000 times. |
The runtime support routines for If we can somehow reproduce this I am happy to take a look... |
Found new dashboard test flakes for:
2023-02-28 05:12 linux-mips64-rtrk go@41e86796 log.TestDiscard (log)
|
Found new dashboard test flakes for:
2023-03-20 23:33 darwin-amd64-13 go@9279a9af cmd/go.TestFilepathUnderCwdFormat (log)
|
Found new dashboard test flakes for:
2023-03-22 18:20 linux-ppc64le-power9osu go@7f4a54c0 cmd/go.TestFilepathUnderCwdFormat (log)
|
Found new dashboard test flakes for:
2023-03-27 17:27 linux-ppc64le-power9osu go@93682105 cmd/go.TestFilepathUnderCwdFormat (log)
|
Found new dashboard test flakes for:
2023-03-27 22:17 linux-ppc64le-power9osu go@8c2900bb cmd/go.TestFilepathUnderCwdFormat (log)
|
Found new dashboard test flakes for:
2023-03-30 15:55 linux-riscv64-unmatched go@92261b38 cmd/go.TestFilepathUnderCwdFormat (log)
|
Found new dashboard test flakes for:
2023-04-19 14:27 linux-loong64-3a5000 go@1f9d80e3 log.TestDiscard (log)
|
Change https://go.dev/cl/487356 mentions this issue: |
Found new dashboard test flakes for:
2023-04-20 21:46 linux-ppc64le-power10osu go@608f204a log.TestDiscard (log)
|
Leaked goroutines are the only explanation I can think of for excess allocs in TestDiscard, and TestOutputRace is the only place I can see where the log package leaks goroutines. Let's fix that leak and see if it eliminates the TestDiscard flakes. Fixes golang#58797 (maybe). Change-Id: I2d54dcba3eb52bd10a62cd1c380131add6a2f651 Reviewed-on: https://go-review.googlesource.com/c/go/+/487356 TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
Leaked goroutines are the only explanation I can think of for excess allocs in TestDiscard, and TestOutputRace is the only place I can see where the log package leaks goroutines. Let's fix that leak and see if it eliminates the TestDiscard flakes. Fixes golang#58797 (maybe). Change-Id: I2d54dcba3eb52bd10a62cd1c380131add6a2f651 Reviewed-on: https://go-review.googlesource.com/c/go/+/487356 TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
Issue created automatically to collect these failures.
Example (log):
— watchflakes
The text was updated successfully, but these errors were encountered: