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

x/build: investigate Athens 500 errors #31234

Open
bradfitz opened this Issue Apr 3, 2019 · 4 comments

Comments

Projects
None yet
4 participants
@bradfitz
Copy link
Member

commented Apr 3, 2019

The new logging added to the coordinator of non-2xx response codes from our internal Athens instance says:

2019/04/03 19:02:19 modproxy: proxying HTTP 500 Internal Server Error response from backend for builder host-darwin-10_14, GET /golang.org/x/arch/arm/armasm/@v/list
2019/04/03 19:02:19 modproxy: proxying HTTP 500 Internal Server Error response from backend for builder host-darwin-10_14, GET /golang.org/x/arch/arm64/arm64asm/@v/list
2019/04/03 19:02:19 modproxy: proxying HTTP 500 Internal Server Error response from backend for builder host-darwin-10_14, GET /golang.org/x/arch/ppc64/ppc64asm/@v/list
2019/04/03 19:02:19 modproxy: proxying HTTP 500 Internal Server Error response from backend for builder host-darwin-10_14, GET /golang.org/x/crypto/ssh/terminal/@v/list
2019/04/03 19:02:19 modproxy: proxying HTTP 500 Internal Server Error response from backend for builder host-darwin-10_14, GET /github.com/google/pprof/driver/@v/list
2019/04/03 19:02:19 modproxy: proxying HTTP 500 Internal Server Error response from backend for builder host-darwin-10_14, GET /github.com/google/pprof/profile/@v/list
2019/04/03 19:02:19 modproxy: proxying HTTP 500 Internal Server Error response from backend for builder host-darwin-10_14, GET /golang.org/x/arch/x86/x86asm/@v/list
2019/04/03 19:02:20 modproxy: proxying HTTP 500 Internal Server Error response from backend for builder host-darwin-10_14, GET /golang.org/x/arch/ppc64/@v/list
2019/04/03 19:02:20 modproxy: proxying HTTP 500 Internal Server Error response from backend for builder host-darwin-10_14, GET /golang.org/x/arch/arm/@v/list
2019/04/03 19:02:20 modproxy: proxying HTTP 500 Internal Server Error response from backend for builder host-darwin-10_14, GET /golang.org/x/arch/arm64/@v/list
2019/04/03 19:02:20 modproxy: proxying HTTP 500 Internal Server Error response from backend for builder host-darwin-10_14, GET /golang.org/x/crypto/ssh/@v/list
2019/04/03 19:02:20 modproxy: proxying HTTP 500 Internal Server Error response from backend for builder host-darwin-10_14, GET /golang.org/x/arch/x86/@v/list

What's with that?

/cc @dmitshur

@gopherbot gopherbot added this to the Unreleased milestone Apr 3, 2019

@gopherbot gopherbot added the Builders label Apr 3, 2019

@bradfitz

This comment has been minimized.

Copy link
Member Author

commented Apr 3, 2019

$ kubectl logs -f athens-deployment-5f64c6b8dc-qzlvm &

$ curl http://10.200.2.27:3000/golang.org/x/arch/arm/armasm/@v/list
"Internal Server Error"

...
time="2019-04-03T20:31:44Z" level=error msg="exit status 1: go: finding golang.org/x/arch/arm/armasm latest\ngo list -m golang.org/x/arch/arm/armasm: no matching versions for query \"latest\"\n" http-method=GET http-path=/golang.org/x/arch/arm/armasm/@v/list/ http-url=/golang.org/x/arch/arm/armasm/@v/list/ kind="Internal Server Error" module= operation=download.ListHandler ops="[download.ListHandler pool.List protocol.List vcsLister.List]" version=
handler: GET /golang.org/x/arch/arm/armasm/@v/list/ [500]

@bcmills, is this expected?

@bradfitz

This comment has been minimized.

Copy link
Member Author

commented Apr 3, 2019

Also, when is cmd/go doing list queries against the module proxy?

@bcmills

This comment has been minimized.

Copy link
Member

commented Apr 3, 2019

when is cmd/go doing list queries against the module proxy?

I would guess that the Athens server is shelling out to cmd/go, but I don't know why.

@bcmills

This comment has been minimized.

Copy link
Member

commented Apr 3, 2019

The particular paths in question look like vendored standard-library dependencies — specifically, the dependencies of the cmd module. Perhaps they're being fetched for the vetall builder to resolve x/tools?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.