-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
misc/cgo/stdio: test persistently broken on linux-arm-arm5spacemonkey builder #32407
Comments
Perhaps it's neither: it may instead be a bug in |
Is there anything I can help with? The /home/builder/stage0scratch/workdir/go/misc/cgo/stdio directory is owned by builder but doesn't have write permissions on the directory. builder@go-builder-1:~$ ls -al /home/builder/stage0scratch/workdir/go/misc/cgo/stdio The missing write permission causes a permission denied error from the shell, e.g. |
@esnolte, I suspect that the fix belongs here: Lines 1009 to 1017 in a38a917
Currently That behavior seems to have been present from the start, in CL 21102. Perhaps @eliasnaur or @ianlancetaylor remembers why it was done that way — perhaps it was something do to with caching? |
Ah, that's the difference: the So perhaps we just need to pick a more appropriate location to write the resulting binary. |
From #33058 (comment), this seems to be an intentional consequence of #30316: Lines 194 to 197 in a38a917
|
This turns out to be easy to reproduce locally by setting So the real question is: why doesn't it reproduce on the other |
Change https://golang.org/cl/206458 mentions this issue: |
Change https://golang.org/cl/206459 mentions this issue: |
Change https://golang.org/cl/206477 mentions this issue: |
Otherwise, the test cannot create new files in the directory. Updates #32407 Updates #30316 Change-Id: Ief0df94a202be92f57d458d4ab4e4daa9ec189b1 Reviewed-on: https://go-review.googlesource.com/c/go/+/206458 Run-TryBot: Bryan C. Mills <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
…s empty This allows the target of 'go build' to be a filename constructed using ioutil.TempFile or similar, without racily deleting the file before rebuilding it. Updates #32407 Updates #28387 Change-Id: I4c5072830a02b93f0c4186b50bffa9de00257afe Reviewed-on: https://go-review.googlesource.com/c/go/+/206477 Run-TryBot: Bryan C. Mills <[email protected]> Reviewed-by: Jay Conrod <[email protected]>
Updates #32407 Updates #28387 Change-Id: I2ab933896940787b67ab5464c8213670e6e108c2 Reviewed-on: https://go-review.googlesource.com/c/go/+/206459 Run-TryBot: Bryan C. Mills <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]> Reviewed-by: Jay Conrod <[email protected]>
|
(See previously #29177 and #28041.)
The current failure on the
arm5spacemonkey
builder is (usually) apermission denied
error inmisc/cgo/stdio
. I'm not sure whether it's a bug (or unrealistic expectation) in the test, or a misconfiguration in the builder.CC @ianlancetaylor @dmitshur
The text was updated successfully, but these errors were encountered: