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

net: dialing a loopback address sometimes fails with ECONNRESET on NetBSD #58276

Open
gopherbot opened this issue Feb 2, 2023 · 36 comments
Open
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-NetBSD
Milestone

Comments

@gopherbot
Copy link

gopherbot commented Feb 2, 2023

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`

Issue created automatically to collect these failures.

Example (log):

--- FAIL: TestFileCloseRace (0.00s)
    file_test.go:321: dial tcp 127.0.0.1:65102: connect: connection reset by peer

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Feb 2, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net" && test == "TestFileCloseRace"
2023-02-02 19:39 netbsd-amd64-9_3 go@fcd0e096 net.TestFileCloseRace (log)
--- FAIL: TestFileCloseRace (0.00s)
    file_test.go:321: dial tcp 127.0.0.1:65102: connect: connection reset by peer

watchflakes

@bcmills bcmills changed the title net: TestFileCloseRace failures net: TestFileCloseRace failures with connection reset by peer Feb 3, 2023
@bcmills bcmills added this to the Backlog milestone Feb 3, 2023
@bcmills
Copy link
Contributor

bcmills commented Feb 3, 2023

@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 Dial should ever fail with ECONNRESET.
(https://cs.opensource.google/go/go/+/master:src/net/file_test.go;l=306-308;drc=b55cbbb9e76969d67fbc6e264a584ad18c2f95fa)

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net" && test == "TestFileCloseRace" && `connection reset by peer`
2023-03-24 02:45 netbsd-amd64-9_3 go@33b63480 net.TestFileCloseRace (log)
--- FAIL: TestFileCloseRace (0.01s)
    file_test.go:321: dial tcp 127.0.0.1:64962: connect: connection reset by peer

watchflakes

@bcmills bcmills changed the title net: TestFileCloseRace failures with connection reset by peer net: dialing a loopback address sometimes fails with ECONNRESET on NetBSD Jun 13, 2023
@bcmills
Copy link
Contributor

bcmills commented Jun 13, 2023

@golang/netbsd, this still looks like a kernel bug to me, and I've found at least two other reports of it (#60743 and #52168).

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2023-05-02 02:52 netbsd-386-9_3 vuln@76abf843 go@c3c53a2c x/vuln/internal/client.TestByModules (log)
--- FAIL: TestByModules (0.55s)
    --- FAIL: TestByModules/all (0.13s)
        --- FAIL: TestByModules/all/http (0.00s)
            client_test.go:277: Get "http://127.0.0.1:65467/index/modules.json.gz": dial tcp 127.0.0.1:65467: connect: connection reset by peer
2023-05-05 20:14 netbsd-amd64-9_3 vuln@d573de52 go@f3034bed x/vuln/internal/client.TestByModules (log)
--- FAIL: TestByModules (0.30s)
    --- FAIL: TestByModules/all (0.12s)
        --- FAIL: TestByModules/all/http (0.00s)
            client_test.go:277: Get "http://127.0.0.1:65468/index/modules.json.gz": dial tcp 127.0.0.1:65468: connect: connection reset by peer
2023-06-01 14:35 netbsd-amd64-9_3 net@10cf3880 go@db3f952b x/net/ipv6.TestConnInitiatorPathMTU (log)
--- FAIL: TestConnInitiatorPathMTU (0.00s)
    sockopt_test.go:40: dial tcp6 [::1]:65509: connect: connection reset by peer
    asm_amd64.s:1650: accept tcp6 [::1]:65509: use of closed network connection
2023-06-08 16:11 netbsd-386-9_3 net@5541298b go@1db23771 x/net/ipv6.TestConnUnicastSocketOptions (log)
--- FAIL: TestConnUnicastSocketOptions (0.00s)
    unicastsockopt_test.go:44: dial tcp6 [::1]:65504: connect: connection reset by peer

watchflakes

@riastradh
Copy link

Is there a reproducer for this? Does ktrace confirm the kernel is actually returning ECONNRESET?

@bcmills
Copy link
Contributor

bcmills commented Jun 13, 2023

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.

@riastradh
Copy link

Can you remind me how to run just this test, at least, starting from a clean go source tree and an existing go binary?

@bcmills
Copy link
Contributor

bcmills commented Jun 13, 2023

Starting from a clean source tree, you'd do something like:

$ cd src
src$ ./make.bash
…
src$ ../bin/go test net -run=TestFileCloseRace

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).

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2023-06-29 19:38 netbsd-386-9_3 vuln@2f47882f go@c4590af1 x/vuln/internal/client.TestByModules (log)
--- FAIL: TestByModules (0.67s)
    --- FAIL: TestByModules/all (0.30s)
        --- FAIL: TestByModules/all/http (0.02s)
            client_test.go:287: Get "http://127.0.0.1:65474/ID/GO-2021-0068.json.gz": dial tcp 127.0.0.1:65474: connect: connection reset by peer

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2023-06-30 20:27 netbsd-amd64-9_3 vuln@a443f34b go@18e17e2c x/vuln/internal/client.TestByModules (log)
--- FAIL: TestByModules (0.47s)
    --- FAIL: TestByModules/all (0.19s)
        --- FAIL: TestByModules/all/http (0.01s)
            client_test.go:287: Get "http://127.0.0.1:65469/ID/GO-2022-0569.json.gz": dial tcp 127.0.0.1:65469: connect: connection reset by peer

watchflakes

@riastradh
Copy link

Starting from a clean source tree, you'd do something like:

$ cd src
src$ ./make.bash
…
src$ ../bin/go test net -run=TestFileCloseRace

When I run this it prints:

ok      net     (cached) [no tests to run]

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?

@riastradh
Copy link

Typo, had written FileTestCloseRace, instead of copying & pasting TestFileCloseRace, sorry for the noise.

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2023-06-30 20:27 netbsd-386-9_3 vuln@a443f34b go@e126572f x/vuln/internal/client.TestByModules (log)
--- FAIL: TestByModules (0.63s)
    --- FAIL: TestByModules/all (0.29s)
        --- FAIL: TestByModules/all/http (0.03s)
            client_test.go:287: Get "http://127.0.0.1:65472/ID/GO-2021-0240.json.gz": dial tcp 127.0.0.1:65472: connect: connection reset by peer

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2023-08-16 01:59 netbsd-amd64-9_3 review@fbc0ad72 go@ce160863 x/review/git-codereview.TestPendingGerritMultiChange15 (log)
git-codereview: fetch /a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test1227261198%2Fgit-origin~main~I123456789: Get "/a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test1227261198%2Fgit-origin~main~I123456789": unsupported protocol scheme ""
git-codereview: fetch /a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test1227261198%2Fgit-origin~main~I123456789: Get "/a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test1227261198%2Fgit-origin~main~I123456789": unsupported protocol scheme ""
git-codereview: fetch /a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test1227261198%2Fgit-origin~main~I123456789: Get "/a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test1227261198%2Fgit-origin~main~I123456789": unsupported protocol scheme ""
git-codereview: fetch /a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test1227261198%2Fgit-origin~main~I123456789: Get "/a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test1227261198%2Fgit-origin~main~I123456789": unsupported protocol scheme ""
git-codereview: fetch /a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Aproj~main~I0000000004&q=change%3Aproj~main~I0000000003&q=change%3Aproj~main~I0000000002&q=change%3Aproj~main~I0000000001&q=change%3Aproj~main~I123456789: Get "http://127.0.0.1:65520/a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Aproj~main~I0000000004&q=change%3Aproj~main~I0000000003&q=change%3Aproj~main~I0000000002&q=change%3Aproj~main~I0000000001&q=change%3Aproj~main~I123456789": dial tcp 127.0.0.1:65520: connect: connection reset by peer
--- FAIL: TestPendingGerritMultiChange15 (0.54s)
    pending_test.go:396: git-codereview pending -s
    pending_test.go:396: stdout:
        work d83eb29..7ec9bff (current branch)
        + 7ec9bff v14
...
        ++ REVHASH msg

git-codereview: fetch /a/changes/proj~main~I123456789?o=LABELS&o=CURRENT_REVISION: change not found on Gerrit server
Gerrit response:
404 page not found

git-codereview: fetch /a/changes/proj~main~I123456789?o=LABELS&o=CURRENT_REVISION: http://127.0.0.1:65517/a/changes/proj~main~I123456789?o=LABELS&o=CURRENT_REVISION: malformed json response
Gerrit response:
)]}'
XXX

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2023-08-17 17:30 netbsd-386-9_3 vuln@da4b74a5 go@70aa116c x/vuln/internal/client.TestByModules (log)
--- FAIL: TestByModules (0.60s)
    --- FAIL: TestByModules/all (0.28s)
        --- FAIL: TestByModules/all/http (0.03s)
            client_test.go:287: Get "http://127.0.0.1:65473/ID/GO-2022-0475.json.gz": dial tcp 127.0.0.1:65473: connect: connection reset by peer

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2023-08-30 19:53 netbsd-amd64-9_3 go@dffc47e7 net.TestDialTimeout (log)
--- FAIL: TestDialTimeout (0.03s)
    --- FAIL: TestDialTimeout/1ms/5s (0.00s)
        timeout_test.go:127: Dial returned after 145.796µs; want ≥1ms
        timeout_test.go:135: Dial: dial tcp 127.0.0.1:64831: connect: connection reset by peer, want timeout
    timeout_test.go:56: ignored 47 spurious connections

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2023-09-14 17:21 netbsd-amd64-9_3 vuln@3881ca88 go@e356aa65 x/vuln/internal/client.TestByModules (log)
--- FAIL: TestByModules (0.69s)
    --- FAIL: TestByModules/all (0.26s)
        --- FAIL: TestByModules/all/http (0.00s)
            client_test.go:287: Get "http://127.0.0.1:65476/ID/GO-2022-0572.json.gz": dial tcp 127.0.0.1:65476: connect: connection reset by peer

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2023-10-02 19:08 netbsd-386-9_3 vuln@6987ccb7 go@b201cf4a x/vuln/internal/client.TestByModules (log)
--- FAIL: TestByModules (0.62s)
    --- FAIL: TestByModules/all (0.20s)
        --- FAIL: TestByModules/all/http (0.01s)
            client_test.go:287: Get "http://127.0.0.1:65473/ID/GO-2022-0475.json.gz": dial tcp 127.0.0.1:65473: connect: connection reset by peer

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2023-10-24 20:26 netbsd-amd64-9_3 go@9ab51216 net/http.TestHeadBody (log)
--- FAIL: TestHeadBody (0.00s)
    --- FAIL: TestHeadBody/h1 (0.00s)
        --- FAIL: TestHeadBody/h1/identity (0.00s)
            serve_test.go:6931: Head "http://127.0.0.1:55017": dial tcp 127.0.0.1:55017: connect: connection reset by peer

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2023-10-18 15:02 netbsd-amd64-9_3 vuln@33c23e23 go@884c93a6 x/vuln/internal/client.TestByModules (log)
--- FAIL: TestByModules (0.57s)
    --- FAIL: TestByModules/all (0.21s)
        --- FAIL: TestByModules/all/http (0.02s)
            client_test.go:287: Get "http://127.0.0.1:65473/ID/GO-2021-0068.json.gz": dial tcp 127.0.0.1:65473: connect: connection reset by peer

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2023-10-30 20:54 netbsd-386-9_3 vuln@0f3617a9 go@998fdce3 x/vuln/internal/client.TestByModules (log)
--- FAIL: TestByModules (0.47s)
    --- FAIL: TestByModules/all (0.17s)
        --- FAIL: TestByModules/all/http (0.00s)
            client_test.go:287: Get "http://127.0.0.1:65471/ID/GO-2022-0569.json.gz": dial tcp 127.0.0.1:65471: connect: connection reset by peer

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2023-11-21 20:23 netbsd-amd64-9_3 vuln@286bb05c go@539b4d8d x/vuln/internal/client.TestByModules (log)
--- FAIL: TestByModules (0.44s)
    --- FAIL: TestByModules/all (0.17s)
        --- FAIL: TestByModules/all/http (0.00s)
            client_test.go:287: Get "http://127.0.0.1:65472/ID/GO-2021-0068.json.gz": dial tcp 127.0.0.1:65472: connect: connection reset by peer

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2023-11-21 20:23 netbsd-amd64-9_3 vuln@286bb05c go@e4ea6283 x/vuln/internal/client.TestByModules (log)
--- FAIL: TestByModules (0.48s)
    --- FAIL: TestByModules/all (0.13s)
        --- FAIL: TestByModules/all/http (0.01s)
            client_test.go:287: Get "http://127.0.0.1:65471/ID/GO-2021-0068.json.gz": dial tcp 127.0.0.1:65471: connect: connection reset by peer

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2023-12-05 20:09 netbsd-amd64-9_3 vuln@c27f855e go@bb34112d x/vuln/internal/client.TestByModules (log)
--- FAIL: TestByModules (0.56s)
    --- FAIL: TestByModules/all (0.21s)
        --- FAIL: TestByModules/all/http (0.00s)
            client_test.go:287: Get "http://127.0.0.1:65474/ID/GO-2022-0229.json.gz": dial tcp 127.0.0.1:65474: connect: connection reset by peer
2023-12-06 17:59 netbsd-amd64-9_3 go@3f2bf706 net/http.TestContentEncodingNoSniffing (log)
--- FAIL: TestContentEncodingNoSniffing (0.00s)
    --- FAIL: TestContentEncodingNoSniffing/h2 (0.05s)
        --- FAIL: TestContentEncodingNoSniffing/h2/no_content-encoding (0.00s)
            serve_test.go:6315: Failed to fetch URL: Get "https://127.0.0.1:64314": dial tcp 127.0.0.1:64314: connect: connection reset by peer

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2023-12-20 04:11 netbsd-386-9_3 vuln@73356279 go@ee4b61a3 x/vuln/internal/client.TestByModules (log)
--- FAIL: TestByModules (0.48s)
    --- FAIL: TestByModules/all (0.17s)
        --- FAIL: TestByModules/all/http (0.00s)
            client_test.go:287: Get "http://127.0.0.1:65472/ID/GO-2021-0264.json.gz": dial tcp 127.0.0.1:65472: connect: connection reset by peer

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2024-01-12 13:27 netbsd-amd64-9_3 vuln@d8d123b8 go@e58e8139 x/vuln/internal/client.TestByModules (log)
--- FAIL: TestByModules (0.57s)
    --- FAIL: TestByModules/all (0.14s)
        --- FAIL: TestByModules/all/http (0.00s)
            client_test.go:287: Get "http://127.0.0.1:65473/ID/GO-2022-0572.json.gz": dial tcp 127.0.0.1:65473: connect: connection reset by peer

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2024-01-22 17:47 netbsd-386-9_3 vuln@8fb35e0f go@9368ced7 x/vuln/internal/client.TestByModules (log)
--- FAIL: TestByModules (0.40s)
    --- FAIL: TestByModules/all (0.15s)
        --- FAIL: TestByModules/all/http (0.00s)
            client_test.go:287: Get "http://127.0.0.1:65472/ID/GO-2022-0569.json.gz": dial tcp 127.0.0.1:65472: connect: connection reset by peer

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2024-01-25 15:53 netbsd-386-9_3 go@67d30fc3 net/http.TestH12_RequestContentLength_Known_Zero (log)
--- FAIL: TestH12_RequestContentLength_Known_Zero (0.00s)
    clientserver_test.go:318: HTTP/2 request: Post "https://127.0.0.1:64609": dial tcp 127.0.0.1:64609: connect: connection reset by peer

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2024-02-06 19:26 netbsd-386-9_3 vuln@55070634 go@1400b268 x/vuln/internal/client.TestByModules (log)
--- FAIL: TestByModules (0.70s)
    --- FAIL: TestByModules/all (0.22s)
        --- FAIL: TestByModules/all/http (0.01s)
            client_test.go:287: Get "http://127.0.0.1:65473/ID/GO-2022-0569.json.gz": dial tcp 127.0.0.1:65473: connect: connection reset by peer

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2024-02-23 18:29 netbsd-386-9_3 go@c4e4afc9 net/http.TestTransportResponseCancelRace (log)
--- FAIL: TestTransportResponseCancelRace (0.00s)
    --- FAIL: TestTransportResponseCancelRace/h2 (0.00s)
        transport_test.go:4189: dial tcp 127.0.0.1:64512: connect: connection reset by peer

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2024-03-13 17:26 netbsd-386-9_3 vuln@d26ab060 go@a29c30f6 x/vuln/internal/client.TestByModules (log)
--- FAIL: TestByModules (0.59s)
    --- FAIL: TestByModules/all (0.24s)
        --- FAIL: TestByModules/all/http (0.01s)
            client_test.go:287: Get "http://127.0.0.1:65474/ID/GO-2022-0475.json.gz": dial tcp 127.0.0.1:65474: connect: connection reset by peer

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2024-03-13 17:26 netbsd-amd64-9_3 vuln@d26ab060 go@0d7afc2e x/vuln/internal/client.TestByModules (log)
--- FAIL: TestByModules (0.45s)
    --- FAIL: TestByModules/all (0.14s)
        --- FAIL: TestByModules/all/http (0.00s)
            client_test.go:287: Get "http://127.0.0.1:65471/ID/GO-2022-0273.json.gz": dial tcp 127.0.0.1:65471: connect: connection reset by peer

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2024-03-25 18:50 netbsd-amd64-9_3 go@15b2f69a net/http.TestTransportRespectRequestWantsClose (log)
--- FAIL: TestTransportRespectRequestWantsClose (0.00s)
    --- FAIL: TestTransportRespectRequestWantsClose/h1 (0.00s)
        --- FAIL: TestTransportRespectRequestWantsClose/h1/DisableKeepAlive=true,RequestClose=true (0.00s)
            transport_test.go:382: Get "http://127.0.0.1:64023": dial tcp 127.0.0.1:64023: connect: connection reset by peer

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2024-02-29 18:41 netbsd-386-9_3 review@38b40c0e go@b6efc3b7 x/review/git-codereview.TestPendingGerritMultiChange15 (log)
git-codereview: fetch /a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test219874952%2Fgit-origin~main~I123456789: Get "/a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test219874952%2Fgit-origin~main~I123456789": unsupported protocol scheme ""
git-codereview: fetch /a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test219874952%2Fgit-origin~main~I123456789: Get "/a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test219874952%2Fgit-origin~main~I123456789": unsupported protocol scheme ""
git-codereview: fetch /a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test219874952%2Fgit-origin~main~I123456789: Get "/a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test219874952%2Fgit-origin~main~I123456789": unsupported protocol scheme ""
git-codereview: fetch /a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test219874952%2Fgit-origin~main~I123456789: Get "/a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test219874952%2Fgit-origin~main~I123456789": unsupported protocol scheme ""
git-codereview: fetch /a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Aproj~main~I0000000004&q=change%3Aproj~main~I0000000003&q=change%3Aproj~main~I0000000002&q=change%3Aproj~main~I0000000001&q=change%3Aproj~main~I123456789: Get "http://127.0.0.1:65520/a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Aproj~main~I0000000004&q=change%3Aproj~main~I0000000003&q=change%3Aproj~main~I0000000002&q=change%3Aproj~main~I0000000001&q=change%3Aproj~main~I123456789": dial tcp 127.0.0.1:65520: connect: connection reset by peer
--- FAIL: TestPendingGerritMultiChange15 (0.48s)
    pending_test.go:392: git-codereview pending -s
    pending_test.go:392: stdout:
        work af9c1b1..31bc72e (current branch)
        + 31bc72e v14
...
        ++ REVHASH msg

git-codereview: fetch /a/changes/proj~main~I123456789?o=LABELS&o=CURRENT_REVISION: change not found on Gerrit server
Gerrit response:
404 page not found

git-codereview: fetch /a/changes/proj~main~I123456789?o=LABELS&o=CURRENT_REVISION: http://127.0.0.1:65517/a/changes/proj~main~I123456789?o=LABELS&o=CURRENT_REVISION: malformed json response
Gerrit response:
)]}'
XXX

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "netbsd" && `connect: connection reset by peer`
2024-04-05 16:53 netbsd-386-9_3 vuln@7bf0c05f go@5879bf7e x/vuln/internal/client.TestByModules (log)
--- FAIL: TestByModules (0.62s)
    --- FAIL: TestByModules/stdlib@ (0.03s)
        --- FAIL: TestByModules/stdlib@/http (0.00s)
            client_test.go:247: Get "http://127.0.0.1:65504/ID/GO-2022-0273.json.gz": dial tcp 127.0.0.1:65504: connect: connection reset by peer

watchflakes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-NetBSD
Projects
Status: No status
Development

No branches or pull requests

3 participants