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

Closed
bradfitz opened this issue Apr 3, 2019 · 5 comments
Closed

x/build: investigate Athens 500 errors #31234

bradfitz opened this issue Apr 3, 2019 · 5 comments
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@bradfitz
Copy link
Contributor

bradfitz 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 x/build issues (builders, bots, dashboards) label Apr 3, 2019
@bradfitz
Copy link
Contributor Author

bradfitz 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
Copy link
Contributor Author

bradfitz commented Apr 3, 2019

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

@bcmills
Copy link
Contributor

bcmills 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
Copy link
Contributor

bcmills 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?

@andybons andybons added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Apr 4, 2019
@bradfitz
Copy link
Contributor Author

bradfitz commented May 9, 2019

We're no longer using Athens, so closing this bug.

@bradfitz bradfitz closed this as completed May 9, 2019
@golang golang locked and limited conversation to collaborators May 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

4 participants