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: failures ending in "Timeout." in testTransportAndServerSharedBodyRace #49336

Open
bcmills opened this issue Nov 4, 2021 · 2 comments
Open

Comments

@bcmills
Copy link
Member

@bcmills bcmills commented Nov 4, 2021

These failures are rare but ongoing.

2021/11/03 22:22:26 httptest.Server blocked in Close after 5 seconds, waiting for connections:
  *net.TCPConn 0x14000528240 127.0.0.1:59158 in state active
1 second passes in backend, proxygone= false
goroutine 10950 [running]:
net/http_test.testTransportAndServerSharedBodyRace.func5.1()
	/tmp/buildlet/go/src/net/http/serve_test.go:3959 +0x54
created by time.goFunc
	/tmp/buildlet/go/src/time/sleep.go:176 +0x3c
…
2021/11/03 22:22:28 Timeout.
FAIL	net/http	10.800s

greplogs --dashboard -md -l -e \(\?ms\)testTransportAndServerSharedBodyRace.\*Timeout\\.\$

2021-11-04T02:12:52-bd49a99/darwin-arm64-11_0-toothrot
2021-10-01T14:30:33-8d494b0/linux-riscv64-jsing
2021-09-28T18:58:50-9c43872/linux-riscv64-jsing
2021-09-02T09:25:10-6705191/linux-riscv64-jsing
2021-08-21T11:23:14-8fff20f/netbsd-arm-bsiegert
2020-10-20T17:53:02-10a1a1a/darwin-amd64-race
2020-10-01T19:13:03-5756b35/darwin-amd64-race
2020-08-24T06:03:06-ffbd852/darwin-amd64-nocgo
2020-04-28T19:49:53-71e0cd8/darwin-amd64-race

CC @neild

@bcmills bcmills added this to the Backlog milestone Nov 4, 2021
@neild
Copy link
Contributor

@neild neild commented Nov 4, 2021

Might just be slow/overloaded machines taking more than 5s to Close a server? Perhaps we should just triple the timeout and see if the problem goes away.

Loading

@bcmills
Copy link
Member Author

@bcmills bcmills commented Nov 4, 2021

I'll be pretty surprised if that fixes it, but it at least seems worth trying!

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants