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

os/signal: TestAtomicStop fails #21433

Closed
dsnet opened this issue Aug 14, 2017 · 8 comments
Closed

os/signal: TestAtomicStop fails #21433

dsnet opened this issue Aug 14, 2017 · 8 comments
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. release-blocker Testing An issue that has been verified to require only test changes, not just a test failure.
Milestone

Comments

@dsnet
Copy link
Member

dsnet commented Aug 14, 2017

Just saw this failure on the darwin-amd64 builders:

--- FAIL: TestAtomicStop (1.12s)
	signal_test.go:324: iteration 0: output 
	signal_test.go:324: iteration 1: output 
	signal_test.go:324: iteration 2: output 
	signal_test.go:324: iteration 3: output 
	signal_test.go:324: iteration 4: output 
	signal_test.go:324: iteration 5: output 
	signal_test.go:324: iteration 6: output 
	signal_test.go:324: iteration 7: output lost signal on iterations: 3
	signal_test.go:331: iteration 7: lost signal
	signal_test.go:324: iteration 8: output 
	signal_test.go:324: iteration 9: output 
FAIL
FAIL	os/signal	5.514s

Full log:
https://storage.googleapis.com/go-build-log/eefc42f3/darwin-amd64-10_11_7a763c87.log

\cc @bcmills

@dsnet dsnet added OS-Darwin Builders x/build issues (builders, bots, dashboards) NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Aug 14, 2017
@bcmills
Copy link
Contributor

bcmills commented Aug 14, 2017

That test was added in https://golang.org/cl/46003. I assume we've only seen a failure on Darwin so far? (Would be good to know whether it's flaky everywhere or just on Darwin.)

(CC: @ianlancetaylor)

@ianlancetaylor
Copy link
Contributor

Was that a trybot run? I don't see the git hash on tip. The failure could have been caused by a Darwin-specific bug in https://golang.org/cl/49590 (5500c9c), fixed last Friday by https://golang.org/cl/55032 (057a34a). Was the trybot run based on tip in between those two commits?

@dsnet
Copy link
Member Author

dsnet commented Aug 15, 2017

It's a try-boy run and seems to still be happening very close to tip.

On https://build.golang.org/, you can see it happen on 17fa5a7, so it seems flaky.

@quasilyte
Copy link
Contributor

quasilyte commented Sep 14, 2017

Executed trybots in https://go-review.googlesource.com/#/c/go/+/63490/ and TestAtomicStop failed on Darwin again.
Second trybots run does not caused it to happen (patch set 3 passes without any code changes).

https://storage.googleapis.com/go-build-log/11750b86/darwin-amd64-10_11_83471050.log

--- FAIL: TestAtomicStop (1.09s)
	signal_test.go:324: iteration 0: output 
	signal_test.go:324: iteration 1: output lost signal on iterations: 6
	signal_test.go:331: iteration 1: lost signal
	signal_test.go:324: iteration 2: output 
	signal_test.go:324: iteration 3: output 
	signal_test.go:324: iteration 4: output 
	signal_test.go:324: iteration 5: output 
	signal_test.go:324: iteration 6: output 
	signal_test.go:324: iteration 7: output 
	signal_test.go:324: iteration 8: output 
	signal_test.go:324: iteration 9: output 

@tombergan
Copy link
Contributor

One more: https://storage.googleapis.com/go-build-log/4f6f7c65/darwin-amd64-10_11_491fb13d.log

--- FAIL: TestAtomicStop (1.14s)
	signal_test.go:324: iteration 0: output 
	signal_test.go:324: iteration 1: output 
	signal_test.go:324: iteration 2: output lost signal on iterations: 6
	signal_test.go:331: iteration 2: lost signal
	signal_test.go:324: iteration 3: output 
	signal_test.go:324: iteration 4: output 
	signal_test.go:324: iteration 5: output 
	signal_test.go:324: iteration 6: output 
	signal_test.go:324: iteration 7: output 
	signal_test.go:324: iteration 8: output 
	signal_test.go:324: iteration 9: output 

@bradfitz bradfitz added this to the Go1.10 milestone Nov 7, 2017
@bradfitz bradfitz added the NeedsFix The path to resolution is known, but the work has not been done. label Nov 7, 2017
@gopherbot gopherbot removed the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Nov 7, 2017
@ianlancetaylor ianlancetaylor self-assigned this Nov 23, 2017
@gopherbot
Copy link
Contributor

Change https://golang.org/cl/79581 mentions this issue: runtime: don't block signals that will kill the program

@bradfitz
Copy link
Contributor

@bradfitz
Copy link
Contributor

Oh, Ian's CL isn't submitted.

@bradfitz bradfitz added release-blocker Testing An issue that has been verified to require only test changes, not just a test failure. and removed OS-Darwin labels Nov 29, 2017
@golang golang locked and limited conversation to collaborators Nov 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. release-blocker Testing An issue that has been verified to require only test changes, not just a test failure.
Projects
None yet
Development

No branches or pull requests

7 participants