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

cmd/go: occasional "connection reset by peer" errors in tests that connect to rsc.io #49954

Open
bcmills opened this issue Dec 3, 2021 · 3 comments

Comments

@rsc
Copy link
Contributor

@rsc rsc commented Jan 10, 2022

rsc.io is just about the most trivial App Engine server ever. Except for App Engine taking it down for being too old a Go version, it's never had any appreciable downtime. It's possible that App Engine really is hanging up on the connection, but it seems equally possible that the VM is hanging up on the connection. I wonder if we should respond to ECONNRESET by trying one more time?

@bcmills
Copy link
Member Author

@bcmills bcmills commented Jan 11, 2022

@bcmills
Copy link
Member Author

@bcmills bcmills commented Jan 11, 2022

It's possible that App Engine really is hanging up on the connection, but it seems equally possible that the VM is hanging up on the connection. I wonder if we should respond to ECONNRESET by trying one more time?

It's curious that this failure mode happens so much for frequently for rsc.io than for other services (like gopkg.in, golang.org/x, or vcs-test.golang.org).

Scanning the failures over the last year:

greplogs --dashboard -md -l -e 'https://.*: connection reset by peer(?:.*\n)*FAIL\s+cmd/go' --since=2021-01-01

2021-12-08T15:30:52-9fe77de/linux-386-longtest (rsc.io)
2021-12-01T10:19:34-0e1d553/linux-386-longtest (rsc.io)
2021-11-24T20:51:25-5d8c49a/linux-386-longtest (rsc.io)
2021-11-16T17:13:33-29ec902/linux-386-longtest (rsc.io)
2021-11-15T19:24:28-9265558/linux-386-longtest (rsc.io)
2021-09-30T18:10:18-205640e/linux-amd64-longtest (rsc.io)
2021-09-02T13:45:48-90ed541/linux-386-longtest (github.com, and gopkg.in reporting its own error connecting to github.com, both coinciding with https://www.githubstatus.com/incidents/lfvwm5qydw6r)
2021-02-24T19:25:49-bf48163/linux-386-longtest (rsc.io)
2021-02-23T21:49:20-0458d8c/linux-amd64-longtest (rsc.io)
2021-02-13T15:15:13-66c2709/linux-amd64-longtest (rsc.io)

To me that suggests a problem specific to the App Engine service — perhaps either a bug in the App Engine version of the Go runtime, or flakiness in some network infrastructure sitting it front of the service.

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