x/build/maintner, x/build/maintner/maintnerd/maintapi: (*netMutSource).syncSeg occasionally fails with "Access is denied." on Windows, as caught by TestGetRef failing on windows-amd64-longtest #36163
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-Windows
Milestone
It appears that
maintner
is trying to install log segments using atomic renames:https://github.com/golang/build/blob/0d536a3af5fb211db2c73a4499672e9c77ed06cb/maintner/netsource.go#L580-L582
Note that Windows does not actually ensure the success of atomic calls to
os.Rename
(see also #34681).For
cmd/go
we have an internal workaround incmd/go/internal/robustio
, which retries errors suspected to be spurious, although at this point we're mostly switching over to explicit file-locking rather than renaming for synchronization (see also #33974).2019-12-13T18:18:58-fba2c51/windows-amd64-longtest
CC @dmitshur @toothrot @cagedmantis @bradfitz
The text was updated successfully, but these errors were encountered: