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: TestOnlyWriteTimeout failures #57830

Open
gopherbot opened this issue Jan 16, 2023 · 4 comments
Open

net/http: TestOnlyWriteTimeout failures #57830

gopherbot opened this issue Jan 16, 2023 · 4 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@gopherbot
Copy link

gopherbot commented Jan 16, 2023

#!watchflakes
post <- pkg == "net/http" && test == "TestOnlyWriteTimeout" && `timeout waiting for .* error`

Issue created automatically to collect these failures.

Example (log):

2023/01/09 20:31:43 http: TLS handshake error from 127.0.0.1:50632: read tcp 127.0.0.1:50625->127.0.0.1:50632: use of closed network connection
2023/01/09 20:31:49 httptest.Server blocked in Close after 5 seconds, waiting for connections:
  *net.TCPConn 0xc0001f9938 127.0.0.1:50815 in state active
2023/01/09 20:31:49 httptest.Server blocked in Close after 5 seconds, waiting for connections:
  *net.TCPConn 0xc00017e090 127.0.0.1:50819 in state active
--- FAIL: TestOnlyWriteTimeout (15.12s)
    serve_test.go:968: timeout waiting for Get error

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 Jan 16, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestOnlyWriteTimeout"
2023-01-09 21:17 darwin-amd64-nocgo go@071a1ed0 net/http.TestOnlyWriteTimeout (log)
2023/01/09 20:31:43 http: TLS handshake error from 127.0.0.1:50632: read tcp 127.0.0.1:50625->127.0.0.1:50632: use of closed network connection
2023/01/09 20:31:49 httptest.Server blocked in Close after 5 seconds, waiting for connections:
  *net.TCPConn 0xc0001f9938 127.0.0.1:50815 in state active
2023/01/09 20:31:49 httptest.Server blocked in Close after 5 seconds, waiting for connections:
  *net.TCPConn 0xc00017e090 127.0.0.1:50819 in state active
--- FAIL: TestOnlyWriteTimeout (15.12s)
    serve_test.go:968: timeout waiting for Get error

watchflakes

@bcmills
Copy link
Member

bcmills commented Jan 17, 2023

(attn @neild)

The failure mode — a darwin platform and an error matching timeout waiting for .* error — is strikingly similar to #57599.

@bcmills bcmills added this to the Backlog milestone Jan 17, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "net/http" && test == "TestOnlyWriteTimeout"
2023-01-09 21:17 darwin-amd64-12_0 go@071a1ed0 net/http.TestOnlyWriteTimeout (log)
1 second passes in backend, proxygone= false
1 second passes in backend, proxygone= false
2023/01/09 20:36:36 http: TLS handshake error from 127.0.0.1:51093: read tcp 127.0.0.1:51092->127.0.0.1:51093: read: connection reset by peer
--- FAIL: TestOnlyWriteTimeout (13.03s)
    serve_test.go:968: timeout waiting for Get error

watchflakes

@gopherbot

This comment was marked as off-topic.

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