debug/pe: TestDefaultLinkerDWARF failure on Windows due to "Access is denied" during cleanup #45672
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Windows
Testing
An issue that has been verified to require only test changes, not just a test failure.
Milestone
2021-04-21T13:27:17-381252f/windows-amd64-2012 looks like it may have failed despite the 5ms sleep:
This is probably due to the same underlying problem as #25965. We had a related issue in the
cmd/go
tests (#19491), which we worked around by explicitly callingrobustio.RemoveAll
instead of the usualos.RemoveAll
.I'm not sure whether it would be better to change
debug/pe
to userobustio.RemoveAll
explicitly, or to change thetesting
package to retryRemoveAll
on Windows in case ofAccess is denied
errors, or perhaps to change something even lower in the stack on Windows (perhapsos.RemoveAll
itself?) to make it more robust.CC @bradfitz @alexbrainman
The text was updated successfully, but these errors were encountered: