x/build: os.TestUserConfigDir and os.TestUserCacheDir failing on plan9-arm with permission denied
#62216
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.
OS-Plan9
Milestone
For #57638, https://go.dev/cl/520262 added tests for a couple of previously-untested functions in the
os
package.Those tests are currently failing on the
plan9-arm
builder withpermission denied
errors:https://build.golang.org/log/6f395a2be0b4d0c7708c88cce47a863680a4eff1
The discussion on #29960 stated in no uncertain terms that
os.UserConfigDir
on Plan 9 should be$home/lib
.The tests verify that if the config directory can be located at all, the test can create a subdirectory within it. This is analogous to how a real program might store and read its own configuration data in a subdirectory of the config directory.
It seems likely to me that the builder is misconfigured in some way. I can think of three possible ways to resolve it:
$home
should be set to a different directory (owned by the buildlet)./usr/glenda
) and or buildlet shoud be adjusted so that the test has permission to write there.$home
variable should be cleared entirely in the buildlet's environment, so that the test will know not to even try to write there.(attn @millerresearch; CC @golang/plan9)
The text was updated successfully, but these errors were encountered: