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
x/tools: increased timeouts/flakes on windows TryBots #53493
Comments
Looks like the failure mode is timeouts. We could either fall back to not indexing GOROOT at all, or maybe a special case to allow |
@bcmills sorry for the naive question, but isn't that CL about avoiding unnecessary work? How would it have caused more work, relative to its parent? |
It also fixed a bug in the condition that triggered indexing in |
Aha, thanks. Assuming the index is written to GOPATH, I suppose the problem is therefore that each gopls regression test has a fresh GOPATH and now incurs the cost of indexing GOROOT. Perhaps we could add a shared GOPATH that is pre-seeded with an indexed GOROOT? Would that be possible? I'd prefer not to disable go command behavior for our regression tests, as a big part of what the regression tests exercise is interaction with the go command. |
I suspect that the bottleneck at the moment is just verifying that The trouble is, to detect local changes we need to walk the entire I did add a Another option might be to also treat a |
(Marking as release-blocker for Go 1.19 because this is due to changes slated for release in |
Change https://go.dev/cl/413634 mentions this issue: |
Scanning GOROOT modules for changes appears to be causing Windows builders to time out in x/tools tests. We may try a per-package index instead, but for now just skip GOROOT modules (as we do for main modules). Fixes golang#53493. Change-Id: Ic5bb90b4ce173a24fc6564e85fcde96e1f9b975f Reviewed-on: https://go-review.googlesource.com/c/go/+/413634 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Bryan Mills <bcmills@google.com> Reviewed-by: Michael Matloob <matloob@golang.org>
https://build.golang.org/?repo=golang.org%2fx%2ftools shows six flakes on Windows since https://go.dev/cl/412779 was submitted. Given our low flake rate, I suspect a real regression. (thanks again @bcmills for leading efforts to reduce flakes).
CC @bcmills @matloob
The text was updated successfully, but these errors were encountered: