-
Notifications
You must be signed in to change notification settings - Fork 18k
x/review/git-codereview: tests fail with "Permission denied" on certain builders #32836
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
Comments
Same failure mode on |
Change https://golang.org/cl/192327 mentions this issue: |
Updates golang/go#32836 Updates golang/go#31567 Updates golang/go#11811 Change-Id: I5443b61cf7732abf906ce2e93eca5408579a55c8 Reviewed-on: https://go-review.googlesource.com/c/build/+/192327 Run-TryBot: Bryan C. Mills <bcmills@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Alexander Rakoczy <alex@golang.org>
How do I force this particular test to run? |
Change https://golang.org/cl/192557 mentions this issue: |
@tdfbsd, if you just run |
(I mostly just wanted to make a trivial change to this repo to clear out the failure cells for misconfigured builders on the landing page of https://build.golang.org.) Updates golang/go#32836 Change-Id: Ibcea7e75912ca377fd78cef37d8beb29ab8b83d3 Reviewed-on: https://go-review.googlesource.com/c/review/+/192557 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
The builder is running as root and for some reason that's the problem. When I run it as a normal user, it works. |
I can't think of why running as root would cause this problem, but it's 100% reproducible. |
Aha, I think it's a bug in the test here: Probably when running as root those hooks aren't created by any other means, so the test creates its own hooks — but the |
Updates golang/go#32836 Updates golang/go#31567 Updates golang/go#11811 Change-Id: I5443b61cf7732abf906ce2e93eca5408579a55c8 Reviewed-on: https://go-review.googlesource.com/c/build/+/192327 Run-TryBot: Bryan C. Mills <bcmills@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Alexander Rakoczy <alex@golang.org>
Change https://golang.org/cl/211477 mentions this issue: |
Change https://golang.org/cl/211497 mentions this issue: |
This partially reverts CL 192327. Reason for revert: x/review failure turned out to be a bug in the test. Updates golang/go#32836 Change-Id: I189ad4ebc1b48fbdbb64f3e42ab1459761ff0c8c Reviewed-on: https://go-review.googlesource.com/c/build/+/211497 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Alexander Rakoczy <alex@golang.org>
It's not obvious to me whether this one is a builder misconfiguration or a missing check and
Skip
in the tests, but thegolang.org/x/review/git-codereview
tests consistently fail on theillumos-amd64-joyent
builder.https://build.golang.org/log/8e941dad2bba091bf6494b1702b1865b8723fbba:
and many similar failures.
The text was updated successfully, but these errors were encountered: