x/build: Dragonfly builder is failing to remove workdir #30853
Labels
Builders
x/build issues (builders, bots, dashboards)
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
OS-Dragonfly
Milestone
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
OutputWhen the builder tries to remove the existing /tmp workdir, this happens:
2019/03/14 20:05:58 buildlet starting.
2019/03/14 20:05:58 remove /tmp/workdir-host-dragonfly-amd64-tdfbsd/tmp/TestSimpleCases_import_grouping_not_path_dependent_no_groups_Modules_GoPackages625130825/modcache/pkg/mod/github.com/local@v1.0.0/go.mod: permission denied
^C
% ls -l /tmp/workdir-host-dragonfly-amd64-tdfbsd/tmp/TestSimpleCases_import_grouping_not_path_dependent_no_groups_Modules_GoPackages625130825/modcache/pkg/mod/github.com/local@v1.0.0/
total 16
dr-xr-xr-x 2 tim wheel 88 Mar 14 16:04 bar
-r--r--r-- 1 tim wheel 24 Mar 14 16:04 go.mod
So, the direct cause is that go.mod is being created with read-only permissions. I have no idea when this started happening though, or why.
The text was updated successfully, but these errors were encountered: