-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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: dialing a loopback address sometimes fails with ECONNRESET
on NetBSD
#58276
Comments
Found new dashboard test flakes for:
2023-02-02 19:39 netbsd-amd64-9_3 go@fcd0e096 net.TestFileCloseRace (log)
|
connection reset by peer
@golang/netbsd, this is the first we've seen of this failure mode, and it looks to me like a bug somewhere in the (Go or kernel) network stack. The handler reads a byte from the connection before closing it, so I don't see why |
Found new dashboard test flakes for:
2023-03-24 02:45 netbsd-amd64-9_3 go@33b63480 net.TestFileCloseRace (log)
|
connection reset by peer
ECONNRESET
on NetBSD
Found new dashboard test flakes for:
2023-05-02 02:52 netbsd-386-9_3 vuln@76abf843 go@c3c53a2c x/vuln/internal/client.TestByModules (log)
2023-05-05 20:14 netbsd-amd64-9_3 vuln@d573de52 go@f3034bed x/vuln/internal/client.TestByModules (log)
2023-06-01 14:35 netbsd-amd64-9_3 net@10cf3880 go@db3f952b x/net/ipv6.TestConnInitiatorPathMTU (log)
2023-06-08 16:11 netbsd-386-9_3 net@5541298b go@1db23771 x/net/ipv6.TestConnUnicastSocketOptions (log)
|
Is there a reproducer for this? Does ktrace confirm the kernel is actually returning ECONNRESET? |
The failure mode appears to be intermittent, and nobody has done the work to find a more reliable reproducer. (I would generally consider that to be part of the port maintainer's role.) We don't have any way to get ktrace logs from the builders for a given run. |
Can you remind me how to run just this test, at least, starting from a clean go source tree and an existing go binary? |
Starting from a clean source tree, you'd do something like:
That said, I suspect that the failure may depend on load (generally lots of these tests are running concurrently, so maybe it takes just the right combination of concurrent system calls, or just the right timing between closing one server on the port and opening another one). |
Found new dashboard test flakes for:
2023-06-29 19:38 netbsd-386-9_3 vuln@2f47882f go@c4590af1 x/vuln/internal/client.TestByModules (log)
|
Found new dashboard test flakes for:
2023-06-30 20:27 netbsd-amd64-9_3 vuln@a443f34b go@18e17e2c x/vuln/internal/client.TestByModules (log)
|
When I run this it prints:
Is that to be expected? Is it actually running the test? Do I have to redo make.bash each time I want to rerun the test? |
Typo, had written FileTestCloseRace, instead of copying & pasting TestFileCloseRace, sorry for the noise. |
Found new dashboard test flakes for:
2023-06-30 20:27 netbsd-386-9_3 vuln@a443f34b go@e126572f x/vuln/internal/client.TestByModules (log)
|
Found new dashboard test flakes for:
2023-08-16 01:59 netbsd-amd64-9_3 review@fbc0ad72 go@ce160863 x/review/git-codereview.TestPendingGerritMultiChange15 (log)
|
Found new dashboard test flakes for:
2023-08-17 17:30 netbsd-386-9_3 vuln@da4b74a5 go@70aa116c x/vuln/internal/client.TestByModules (log)
|
Found new dashboard test flakes for:
2023-08-30 19:53 netbsd-amd64-9_3 go@dffc47e7 net.TestDialTimeout (log)
|
Found new dashboard test flakes for:
2023-09-14 17:21 netbsd-amd64-9_3 vuln@3881ca88 go@e356aa65 x/vuln/internal/client.TestByModules (log)
|
Found new dashboard test flakes for:
2023-10-02 19:08 netbsd-386-9_3 vuln@6987ccb7 go@b201cf4a x/vuln/internal/client.TestByModules (log)
|
Found new dashboard test flakes for:
2023-10-24 20:26 netbsd-amd64-9_3 go@9ab51216 net/http.TestHeadBody (log)
|
Found new dashboard test flakes for:
2023-10-18 15:02 netbsd-amd64-9_3 vuln@33c23e23 go@884c93a6 x/vuln/internal/client.TestByModules (log)
|
Found new dashboard test flakes for:
2023-10-30 20:54 netbsd-386-9_3 vuln@0f3617a9 go@998fdce3 x/vuln/internal/client.TestByModules (log)
|
Found new dashboard test flakes for:
2023-11-21 20:23 netbsd-amd64-9_3 vuln@286bb05c go@539b4d8d x/vuln/internal/client.TestByModules (log)
|
Found new dashboard test flakes for:
2023-11-21 20:23 netbsd-amd64-9_3 vuln@286bb05c go@e4ea6283 x/vuln/internal/client.TestByModules (log)
|
Found new dashboard test flakes for:
2023-12-05 20:09 netbsd-amd64-9_3 vuln@c27f855e go@bb34112d x/vuln/internal/client.TestByModules (log)
2023-12-06 17:59 netbsd-amd64-9_3 go@3f2bf706 net/http.TestContentEncodingNoSniffing (log)
|
Found new dashboard test flakes for:
2023-12-20 04:11 netbsd-386-9_3 vuln@73356279 go@ee4b61a3 x/vuln/internal/client.TestByModules (log)
|
Found new dashboard test flakes for:
2024-01-12 13:27 netbsd-amd64-9_3 vuln@d8d123b8 go@e58e8139 x/vuln/internal/client.TestByModules (log)
|
Found new dashboard test flakes for:
2024-01-22 17:47 netbsd-386-9_3 vuln@8fb35e0f go@9368ced7 x/vuln/internal/client.TestByModules (log)
|
Found new dashboard test flakes for:
2024-01-25 15:53 netbsd-386-9_3 go@67d30fc3 net/http.TestH12_RequestContentLength_Known_Zero (log)
|
Found new dashboard test flakes for:
2024-02-06 19:26 netbsd-386-9_3 vuln@55070634 go@1400b268 x/vuln/internal/client.TestByModules (log)
|
Found new dashboard test flakes for:
2024-02-23 18:29 netbsd-386-9_3 go@c4e4afc9 net/http.TestTransportResponseCancelRace (log)
|
Found new dashboard test flakes for:
2024-03-13 17:26 netbsd-386-9_3 vuln@d26ab060 go@a29c30f6 x/vuln/internal/client.TestByModules (log)
|
Found new dashboard test flakes for:
2024-03-13 17:26 netbsd-amd64-9_3 vuln@d26ab060 go@0d7afc2e x/vuln/internal/client.TestByModules (log)
|
Found new dashboard test flakes for:
2024-03-25 18:50 netbsd-amd64-9_3 go@15b2f69a net/http.TestTransportRespectRequestWantsClose (log)
|
Found new dashboard test flakes for:
2024-02-29 18:41 netbsd-386-9_3 review@38b40c0e go@b6efc3b7 x/review/git-codereview.TestPendingGerritMultiChange15 (log)
|
Found new dashboard test flakes for:
2024-04-05 16:53 netbsd-386-9_3 vuln@7bf0c05f go@5879bf7e x/vuln/internal/client.TestByModules (log)
|
Found new dashboard test flakes for:
2024-05-08 17:48 netbsd-386-9_3 go@21413152 net.TestConcurrentSetDeadline (log)
|
Issue created automatically to collect these failures.
Example (log):
— watchflakes
The text was updated successfully, but these errors were encountered: