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/kubernetes/gke: investigate if viable to get 4 tests to run on builders again #28543
Comments
These tests no longer fail on GCE (with a newer version of Go):
I wonder what changed. The only recent change in We can close this issue after confirming that the fix is intentional. |
I tested with the same Go 1.11.1 version as from the original report, and they pass with that version of Go too now:
|
The test is failing on on the
(Source: https://build.golang.org/log/940578001742621d3e9378b5e5a2a6bd95e61fc1\) I'm not familiar with what the test is trying to do and the relevant constraints, but it seems like it currently requires the "container.clusters.list" permission in the local environment, and that's not a portable testing strategy. |
Yeah, I think this broke when the service account lost some permissions. I'd just put this behind an extra |
Change https://golang.org/cl/215299 mentions this issue: |
The current GKE tests require to be run on GCE and with Application Default Credentials that have at least the container.clusters.list permission, at least one GKE cluster, and possibly more. The builders that run these tests don't have sufficient permissions, which means these tests never pass. Skip these tests, they can be re-enabled if/when we decide they're worth running automatically and make it possible to do so. Until then, they can be run manually. Updates golang/go#28543 Updates golang/go#11811 Change-Id: Ib76f9d4f93ece2b922c099a21dec4ceefb45b546 Reviewed-on: https://go-review.googlesource.com/c/build/+/215299 Reviewed-by: Alexander Rakoczy <alex@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Alexander Rakoczy <alex@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Change https://go.dev/cl/408956 mentions this issue: |
Just running on GCE is not enough for them to work. Updates golang/go#28543. Change-Id: I79a0702f9c2dfaf256a872557836258ba2ab4d0d Reviewed-on: https://go-review.googlesource.com/c/build/+/408956 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Heschi Kreinick <heschi@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Heschi Kreinick <heschi@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I ran
go test golang.org/x/build/...
on GCE.Note this doesn't happen in other environments, because those tests get skipped on non-GCE. E.g., here's verbose test output on my Mac:
What did you expect to see?
All tests to pass.
What did you see instead?
The text was updated successfully, but these errors were encountered: