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
net: data race in TestListenCloseListen #65209
Comments
Found new dashboard test flakes for:
2024-01-22 16:54 linux-arm64-race go@4ca1caf4 net.TestCloseRead (log)
|
Found new dashboard test flakes for:
2024-01-22 16:30 windows-amd64-race go@41c05ea4 net.TestListenCloseListen (log)
2024-01-22 16:30 windows-amd64-race go@41c05ea4 net.TestDialTimeout (log)
2024-01-22 16:30 windows-amd64-race go@41c05ea4 net.TestWriteTimeout (log)
2024-01-22 16:50 windows-amd64-race go@846bb475 net.TestListenCloseListen (log)
2024-01-22 16:50 windows-amd64-race go@846bb475 net.TestPacketConnClose (log)
2024-01-22 16:50 windows-amd64-race go@846bb475 net.TestListenerClose (log)
2024-01-22 17:00 linux-amd64-race go@558919b4 net.TestListenCloseListen (log)
2024-01-22 17:00 linux-amd64-race go@558919b4 net.TestReadWriteDeadlineRace (log)
2024-01-22 17:00 linux-amd64-race go@558919b4 net.TestParseNSSConf (log)
|
Found new dashboard test flakes for:
2024-01-22 17:00 windows-amd64-race go@558919b4 net.TestWriteTimeout (log)
2024-01-22 17:00 windows-amd64-race go@558919b4 net.TestListenCloseListen (log)
2024-01-22 17:00 windows-amd64-race go@558919b4 net.TestWriteToTimeout (log)
|
Change https://go.dev/cl/557536 mentions this issue: |
Found new dashboard test flakes for:
2024-01-22 17:32 linux-s390x-ibm-race go@b16a1e3a net.TestWriteToTimeout (log)
2024-01-22 17:32 linux-s390x-ibm-race go@b16a1e3a net.TestListenCloseListen (log)
2024-01-22 17:32 linux-s390x-ibm-race go@b16a1e3a net.TestZeroByteRead (log)
2024-01-22 18:07 linux-arm64-race go@d29980cd net.TestPacketConnClose (log)
2024-01-22 18:07 linux-arm64-race go@d29980cd net.TestListenCloseListen (log)
2024-01-22 18:07 linux-arm64-race go@d29980cd net.TestParseNSSConf (log)
2024-01-22 18:07 linux-s390x-ibm-race go@d29980cd net.TestListenCloseListen (log)
2024-01-22 18:07 linux-s390x-ibm-race go@d29980cd net.TestReadWriteDeadlineRace (log)
2024-01-22 18:07 linux-s390x-ibm-race go@d29980cd net.TestCloseRead (log)
|
Found new dashboard test flakes for:
2024-01-22 19:00 freebsd-amd64-race go@3e54329c net.TestListenCloseListen (log)
2024-01-22 19:00 freebsd-amd64-race go@3e54329c net.TestAcceptTimeoutMustReturn (log)
2024-01-22 19:00 freebsd-amd64-race go@3e54329c net.TestWriteToTimeout (log)
|
Found new dashboard test flakes for:
2024-01-22 19:00 darwin-amd64-race go@3e54329c net.TestListenCloseListen (log)
2024-01-22 19:00 darwin-amd64-race go@3e54329c net.TestDialTimeout (log)
2024-01-22 19:00 darwin-amd64-race go@3e54329c net.TestReadWriteProlongedTimeout (log)
|
Found new dashboard test flakes for:
2024-01-22 20:28 linux-s390x-ibm-race go@e5eeadb2 net.TestListenCloseListen (log)
2024-01-22 20:28 linux-s390x-ibm-race go@e5eeadb2 net.TestZeroByteRead (log)
2024-01-22 20:28 linux-s390x-ibm-race go@e5eeadb2 net.TestConnClose (log)
|
Found new dashboard test flakes for:
2024-01-22 20:28 darwin-amd64-race go@e5eeadb2 net.TestListenCloseListen (log)
2024-01-22 20:28 darwin-amd64-race go@e5eeadb2 net.TestCloseUnblocksRead (log)
2024-01-22 20:28 darwin-amd64-race go@e5eeadb2 net.TestWriteTimeout (log)
|
Found new dashboard test flakes for:
2024-01-22 16:54 linux-s390x-ibm-race go@29cea658 net.TestListenCloseListen (log)
2024-01-22 16:54 linux-s390x-ibm-race go@29cea658 net.TestReadWriteDeadlineRace (log)
2024-01-22 16:54 linux-s390x-ibm-race go@29cea658 net.TestNotTemporaryRead (log)
|
Found new dashboard test flakes for:
2023-12-30 00:23 gotip-linux-amd64-longtest go@3233542e net.TestLookupDotsWithRemoteSource (log)
2023-12-30 00:23 gotip-linux-amd64-longtest-race go@3233542e net.TestLookupDotsWithRemoteSource (log)
2023-12-30 00:23 gotip-windows-amd64-longtest go@3233542e net.TestLookupDotsWithRemoteSource (log)
2023-12-30 00:24 gotip-linux-amd64-longtest go@b25f5558 net.TestLookupDotsWithRemoteSource (log)
2023-12-30 00:24 gotip-linux-amd64-longtest-race go@b25f5558 net.TestLookupDotsWithRemoteSource (log)
2023-12-30 00:24 gotip-windows-amd64-longtest go@b25f5558 net.TestLookupDotsWithRemoteSource (log)
2024-01-22 16:50 gotip-linux-amd64-race go@846bb475 net.TestVariousDeadlines (log)
2024-01-22 16:50 gotip-windows-amd64-race go@846bb475 net.TestVariousDeadlines (log)
2024-01-22 16:54 gotip-linux-amd64-race go@29cea658 net.TestVariousDeadlines (log)
2024-01-22 17:28 gotip-linux-amd64-race go@b3cfb24f net.TestVariousDeadlines (log)
2024-01-22 18:07 gotip-linux-amd64-race go@d29980cd net.TestVariousDeadlines (log)
2024-01-22 19:00 gotip-linux-amd64-race go@3e54329c net.TestEndlessWrite (log)
2024-01-22 20:28 gotip-linux-amd64-race go@e5eeadb2 net.TestCloseUnblocksRead (log)
|
Found new dashboard test flakes for:
2024-01-09 18:15 go1.20-windows-amd64-longtest release-branch.go1.20@a95136a8 net.TestLookupLocalPTR (log)
|
In CL 557177, I attempted to fix a logical race in this test (golang#65175). However, I introduced a data race in the process (golang#65209). The race was reported on the windows-amd64-race builder. When I tried to reproduce it on linux/amd64, I added a time.Sleep in the Accept loop. However, that Sleep causes the test to fail outright with EADDRINUSE, which suggests that my earlier guess about the open Conn preventing reuse of the port was, in fact, incorrect. On some platforms we could instead use SO_REUSEPORT and avoid closing the first Listener entirely, but that wouldn't be even remotely in the spirit of the original test. Since I don't see a way to preserve the test in a way that is not inherently flaky / racy, I suggest that we just delete it. It was originally added as a regression test for a bug in the nacl port, which no longer exists anyway. (Some of that code may live on in the wasm port, but it doesn't seem worth maintaining a flaky port-independent test to maintain a regression test for a bug specific to secondary platforms.) Fixes golang#65209. Updates golang#65175. Change-Id: I32f9da779d24f2e133571f0971ec460cebe7820a Cq-Include-Trybots: luci.golang.try:gotip-windows-amd64-race Reviewed-on: https://go-review.googlesource.com/c/go/+/557536 Run-TryBot: Bryan Mills <bcmills@google.com> Auto-Submit: Bryan Mills <bcmills@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Jonathan Amsterdam <jba@google.com>
Issue created automatically to collect these failures.
Example (log):
— watchflakes
The text was updated successfully, but these errors were encountered: