-
Notifications
You must be signed in to change notification settings - Fork 17.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: TestLinkXImportPathEscape flaky on windows/amd64 #19491
Comments
That is what you get if you try removing executable file while program is still running. Alex |
That doesn't appear to be the issue, since linkx.exe is never ran in that test. The sketchy thing though is that the test is a parallel test, but the deferred cleanup method does an os.Chdir. I haven't taken the time to gomote a test run with high -count=NNN yet to repro it, but that's my guess. |
Another hit: https://build.golang.org/log/da012f4f18560e41d0a0c309cfd92fd005936a29 (on windows-amd64-2012) |
Why do you say that?
It does not:
I get nothing here:
Alex |
Two more on the front page of build.golang.org right now (testing 6897030 / CL 42430). The potentially interesting thing is that both windows-386-2008 and windows-amd64-2012 failed on the same commit. I'm not sure what they share (hardware? pods?), but tying this to some shared resource might provide a hint. |
They share nothing. Each Windows build is done in its own VM and then destroyed. |
I can repro a similar failure on a GCE buidlet (Server 2012) with 1000x runs:
|
Using windows-amd64-gce builder I was unable to reproduce with: gomote run -path '$WORKDIR/go/bin,$PATH' $VM go/bin/go test -run=TestLinkXImportPathEscape -v -count=1000 cmd/go |
No update since June when I could not reproduce the problem. Timed out. |
This is still hitting us from time to time; these failures are all in the four most recent build.golang.org pages: https://build.golang.org/log/4d702c4750f3910bafed225c17694a537caea679 Given the four Windows builders and 30 builds per page, 5 occurrences in those gives a quick and dirty ~1% failure rate. That seems problematic enough to warrant reopening and investigating further. |
Is this related to (or the same issue as) #25965? A couple more examples: |
Change https://golang.org/cl/181541 mentions this issue: |
Now that I have a workaround in hand, I'm unable to replicate the original failure on a I notice that all of the other links here seem to be on pre-2016 Windows releases too. I'm going to try a 2012 builder and see if that changes things — perhaps this was a kernel bug that has since been fixed. (That would be nice!) |
I was able to get a repro on the Nonetheless, the workaround CL does appear to fix the flakes on the |
Noticed during a trybot run for CL 38006:
https://storage.googleapis.com/go-build-log/0401f0f8/windows-amd64-gce_ffacd647.log
The text was updated successfully, but these errors were encountered: