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/http: TestServerGracefulClose failures with connection reset by peer #57084

Open
gopherbot opened this issue Dec 5, 2022 · 5 comments
Open
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@gopherbot
Copy link

gopherbot commented Dec 5, 2022

#!watchflakes
post <- pkg == "net/http" && test == "TestServerGracefulClose" && `connection reset by peer`

Issue created automatically to collect these failures.

Example (log):

--- FAIL: TestServerGracefulClose (0.00s)
    --- FAIL: TestServerGracefulClose/h1 (4.24s)
        serve_test.go:3153: ReadLine: read tcp 127.0.0.1:33546->127.0.0.1:33545: read: 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 Dec 5, 2022
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestServerGracefulClose"
2022-12-02 20:16 freebsd-riscv64-unmatched go@5efa4dab net/http.TestServerGracefulClose (log)
--- FAIL: TestServerGracefulClose (0.00s)
    --- FAIL: TestServerGracefulClose/h1 (4.24s)
        serve_test.go:3153: ReadLine: read tcp 127.0.0.1:33546->127.0.0.1:33545: read: connection reset by peer

watchflakes

@bcmills bcmills changed the title net/http: TestServerGracefulClose failures net/http: TestServerGracefulClose failures with connection reset by peer Dec 6, 2022
@bcmills
Copy link
Member

bcmills commented Dec 6, 2022

(attn @neild)

@bcmills
Copy link
Member

bcmills commented Dec 6, 2022

See also #36178.

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestServerGracefulClose" && `connection reset by peer`
2022-12-05 16:41 freebsd-arm64-dmgk go@ad55b878 net/http.TestServerGracefulClose (log)
--- FAIL: TestServerGracefulClose (0.00s)
    --- FAIL: TestServerGracefulClose/h1 (4.89s)
        serve_test.go:3153: ReadLine: read tcp 127.0.0.1:29763->127.0.0.1:29762: read: connection reset by peer
2022-12-19 21:44 darwin-amd64-12_0 go@7683c71a net/http.TestServerGracefulClose (log)
2022/12/19 20:58:18 httptest.Server blocked in Close after 5 seconds, waiting for connections:
  *net.TCPConn 0xc00053a008 127.0.0.1:50540 in state active
2022/12/19 20:58:18 httptest.Server blocked in Close after 5 seconds, waiting for connections:
  *net.TCPConn 0xc00053a118 127.0.0.1:50559 in state active
--- FAIL: TestServerGracefulClose (3.00s)
    serve_test.go:3151: ReadLine: read tcp 127.0.0.1:50835->127.0.0.1:50834: read: connection reset by peer
2022-12-21 19:08 darwin-amd64-nocgo go@856ec210 net/http.TestServerGracefulClose (log)
2022/12/21 19:27:32 httptest.Server blocked in Close after 5 seconds, waiting for connections:
  *net.TCPConn 0xc000096040 127.0.0.1:50524 in state active
2022/12/21 19:27:32 httptest.Server blocked in Close after 5 seconds, waiting for connections:
  *net.TCPConn 0xc000203880 127.0.0.1:50527 in state active
2022/12/21 19:27:32 httptest.Server blocked in Close after 5 seconds, waiting for connections:
  *net.TCPConn 0xc000174070 127.0.0.1:50540 in state active
--- FAIL: TestServerGracefulClose (2.41s)
    serve_test.go:3144: ReadLine: read tcp 127.0.0.1:50784->127.0.0.1:50783: read: connection reset by peer
2022-12-22 19:21 darwin-amd64-12_0 go@91bc4cd1 net/http.TestServerGracefulClose (log)
--- FAIL: TestServerGracefulClose (2.75s)
    serve_test.go:3151: ReadLine: read tcp 127.0.0.1:50514->127.0.0.1:50513: read: connection reset by peer

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestServerGracefulClose" && `connection reset by peer`
2023-01-04 22:23 darwin-amd64-11_0 go@e04be8b2 net/http.TestServerGracefulClose (log)
--- FAIL: TestServerGracefulClose (4.77s)
    serve_test.go:3151: ReadLine: read tcp 127.0.0.1:50617->127.0.0.1:50616: read: 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.
Projects
Status: No status
Development

No branches or pull requests

2 participants