Skip to content
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

runtime: TestSelectFairness failures with "unfair select" #52465

Open
bcmills opened this issue Apr 21, 2022 · 2 comments
Open

runtime: TestSelectFairness failures with "unfair select" #52465

bcmills opened this issue Apr 21, 2022 · 2 comments
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@bcmills
Copy link
Member

bcmills commented Apr 21, 2022

#!watchflakes
post <- pkg == "runtime" && test == "TestSelectFairness"

greplogs --dashboard -md -l -e 'FAIL: TestSelectFairness .*(?:\n .*)*unfair select'

2022-04-20T16:05:16-338a817/illumos-amd64
2022-03-23T19:31:43-2792a41/netbsd-386-9_0
2020-08-19T00:10:22-98a0071/js-wasm

@golang/runtime: the comment for this test suggests that it has a confidence level of “six nines”, which would be one spurious failure per ~1M runs. Is it still in line with that target?

See previously #34808, #22047.

@bcmills bcmills added this to the Backlog milestone Apr 21, 2022
@mengzhuo
Copy link
Contributor

The "six nines" requires less than 244 out of 10000 trials however the fail logs shows 5245,5253,5246.

@thanm thanm added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Apr 22, 2022
@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Jul 7, 2022
@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "runtime" && test == "TestSelectFairness"
2022-11-18 17:59 linux-386-buster go@b2faff18 runtime.TestSelectFairness (log)
--- FAIL: TestSelectFairness (0.01s)
    chan_test.go:488: 5256 4744 0.5256 0.025599999999999956
    chan_test.go:490: unfair select: in 10000 trials, results were 5256, 4744

watchflakes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Status: Triage Backlog
Status: No status
Development

No branches or pull requests

4 participants