https://pantsbuild.org/ logo
#general
Title
# general
s

silly-breakfast-1564

02/22/2023, 7:04 PM
Hey folks, I’m running pants 1.14 (but tested with this issue with the rc 1.15 and dev 1.16) and am having some issues with remote execution. For some reason, pants is attempting to make a go.sum change but cannot do so as the files are created as read only on the remote. As a consequence, the remote execution pod will only work as root, but we’re trying not to do so The error is:
Copy code
stderr:
go: updating go.sum: open /worker/build/<hash>/root/go.sum: permission denied
w

witty-crayon-22786

02/22/2023, 7:23 PM
mm: would you mind filing an issue for that? it’s becoming clear that we’ll want to enforce a restriction that input files are immutable more generally… we currently don’t for local execution though, which allows for this mismatch.
s

silly-breakfast-1564

02/22/2023, 8:47 PM
Will do, the consequence of this current setup is we’ll have to turn off remote exec for our go work unfortunately
f

fast-nail-55400

02/23/2023, 8:51 PM
what happens if you run
go mod download
and update
go.sum
to add the entries that
go
wants to add?
4 Views