-
Notifications
You must be signed in to change notification settings - Fork 18k
net: TestAcceptTimeout failures #65240
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
Comments
Found new dashboard test flakes for:
2024-01-23 17:46 dragonfly-amd64-622 go@1a075509 net.TestAcceptTimeout (log)
|
Found new dashboard test flakes for:
2024-01-23 18:08 darwin-amd64-10_15 go@76b8bec6 net.TestAcceptTimeout (log)
|
Found new dashboard test flakes for:
2024-01-23 18:08 darwin-amd64-11_0 go@76b8bec6 net.TestAcceptTimeout (log)
|
Found new dashboard test flakes for:
2024-01-23 18:57 darwin-arm64-11 go@9368ced7 net.TestAcceptTimeout (log)
|
I intentionally unskipped this test in https://go.dev/cl/548940 to see whether it was fixed. Turns out not! 🙃 See previously: |
Change https://go.dev/cl/558175 mentions this issue: |
Found new dashboard test flakes for:
2024-01-24 16:55 linux-riscv64-unmatched go@3330c694 net.TestAcceptTimeout (log)
|
Found new dashboard test flakes for:
2024-01-23 20:08 gotip-solaris-amd64 go@b3acaa82 net.TestAcceptTimeout/-5s (log)
2024-01-24 07:25 gotip-linux-386-longtest go@b4e7d630 net.TestAcceptTimeout/-5s (log)
|
Also use DialContext instead of just Dial so that we can ensure the call returns before we close the listener. The Dial in this test is intended to complete before the call to Accept, but there is no synchronization to ensure that and sometimes it doesn't happen. That's ok and mostly immaterial to the test, but it does mean we need to ignore Dial errors (which can happen when the listener is closed), and we need to be a little more careful about not dialing a port that may have already been reused by some other test. Fixes golang#65240. Updates golang#17948. Change-Id: Ife1b5c3062939441b58f4c096461bf5d7841889b Reviewed-on: https://go-review.googlesource.com/c/go/+/558175 Reviewed-by: Damien Neil <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Bryan Mills <[email protected]> Auto-Submit: Bryan Mills <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
Issue created automatically to collect these failures.
Example (log):
— watchflakes
The text was updated successfully, but these errors were encountered: