-
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
x/tools/gopls/internal/regtest: TestDeleteModule_Interdependent flakes due to orphaned file reloading #46375
Comments
Change https://golang.org/cl/322649 mentions this issue: |
This test is flaky due to orphaned file reloading. Since it is for an experimental feature, skip it until we understand the problem. For golang/go#46375 Updates golang/go#46183 Change-Id: Id6b369f2b61730c8503e3532547708f7689343c3 Reviewed-on: https://go-review.googlesource.com/c/tools/+/322649 Trust: Robert Findley <[email protected]> Run-TryBot: Robert Findley <[email protected]> gopls-CI: kokoro <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Rebecca Stambler <[email protected]>
Change https://go.dev/cl/422910 mentions this issue: |
Reloading has been significantly refactored recently. Unskip this test to see if it flakes: - If it does not flake, that is a useful signal. - If it does flake, that is also a useful signal. Notably, following CL 419500 we allow network when reloading the workspace, and so do not need to apply quick-fixes in order to download the new module from the proxy. For golang/go#46375 For golang/go#53878 Change-Id: Idde7195730c32bdb434a26b28aac82649dd1b5ac Reviewed-on: https://go-review.googlesource.com/c/tools/+/422910 Run-TryBot: Robert Findley <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Peter Weinberger <[email protected]> gopls-CI: kokoro <[email protected]>
|
Unfortunately I no longer reproduce that greplogs result (we think because of a dashboard bug where there is a maximum number of go revisions per repo revision). The new failure is different, and interesting. Somehow we're not getting a definition result after the deletion, suggesting some sort of race. |
Seems to no longer be reproducing, and we've rewritten a lot of this logic. Closing. |
Looking at regtest failures for issue #46183, one common source of flakes in slower builders is TestDeleteModule_Interdependent in
golang.org/x/tools/gopls/internal/regtest/workspace
.For example:
https://build.golang.org/log/c962f4fbb5df4c74ebe76f8aeb610eed3065f267
https://storage.googleapis.com/go-build-log/8b462d75/freebsd-amd64-12_2_e126050b.log
This test failure appears to be a race related to orphaned file reloading. All failures have a log message about
reloadOrphanedFiles
, but when it succeeds locally I never see this log message.Since it is an experimental feature, we should disable this test until we understand it.
CC @stamblerre @heschi
The text was updated successfully, but these errors were encountered: