x/build/cmd/gomote: cannot push VERSION file #57068
Labels
Builders
x/build issues (builders, bots, dashboards)
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
When I gomote push from a tree that has a VERSION file, the VERSION file does not end up on the gomote.
From the messages, you'd think that the fake VERSION is sent before the upload, meaning the upload should overwrite it. But 'gomote ssh' to the VM and printing the VERSION file shows the
devel gomote.XXXXX
content and not the one I have locally (which saysgo1.99
).Maybe there's an ordering issue, I thought, so I ran gomote push again. That definitely sends the VERSION file:
And yet, it remains unchanged on the server (confirmed with 'type VERSION' in ssh). It is as though the buildlet discards uploaded VERSION files. This is on the windows-amd64-2016 gomote, in case the specific buildlet matters.
I have been working on reproducible builds, which are only possible in non-devel trees, so I need to send a VERSION file. I have resorted to running a batch file that echoes the right content into the VERSION file before running the command I want to run. So I'm not blocked, but it was a surprising thing to debug in the first place.
The text was updated successfully, but these errors were encountered: