Skip to content
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/test/integration/diagnostics: TestOrphanedFiles/default failures #70494

Closed
gopherbot opened this issue Nov 21, 2024 · 2 comments
Labels
gopls Issues related to the Go language server, gopls. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@gopherbot
Copy link
Contributor

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/diagnostics" && test == "TestOrphanedFiles/default"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestOrphanedFiles/default
    diagnostics_test.go:1404: waiting on:
        Unmet: log message matching "query=.*file=.*a_exclude.go" expected 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/11/20 20:21:02 Created View (#57)\n\tdirector...
        	Info: "2024/11/20 20:21:03 go/packages.Load #144\n\tview_...
...
[Trace - 20:21:35.225 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/11/20 20:21:35 background imports cache refresh starting\n"}


[Trace - 20:21:35.309 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/11/20 20:21:35 background refresh finished after 2.284549563s\n"}


#### End Gopls Test Logs for "TestOrphanedFiles/default"
--- FAIL: TestOrphanedFiles/default (2355.56s)

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Nov 21, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/diagnostics" && test == "TestOrphanedFiles/default"
2024-11-20 16:07 x_tools-go1.23-netbsd-arm tools@e7517567 release-branch.go1.23@d8adc6c4 x/tools/gopls/internal/test/integration/diagnostics.TestOrphanedFiles/default (log)
=== RUN   TestOrphanedFiles/default
    diagnostics_test.go:1404: waiting on:
        Unmet: log message matching "query=.*file=.*a_exclude.go" expected 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/11/20 20:21:02 Created View (#57)\n\tdirector...
        	Info: "2024/11/20 20:21:03 go/packages.Load #144\n\tview_...
...
[Trace - 20:21:35.225 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/11/20 20:21:35 background imports cache refresh starting\n"}


[Trace - 20:21:35.309 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/11/20 20:21:35 background refresh finished after 2.284549563s\n"}


#### End Gopls Test Logs for "TestOrphanedFiles/default"
--- FAIL: TestOrphanedFiles/default (2355.56s)

watchflakes

@gopherbot gopherbot added Tools This label describes issues relating to any tools in the x/tools repository. gopls Issues related to the Go language server, gopls. labels Nov 21, 2024
@gopherbot gopherbot added this to the Unreleased milestone Nov 21, 2024
@adonovan
Copy link
Member

Dup of #70492

@adonovan adonovan closed this as not planned Won't fix, can't repro, duplicate, stale Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gopls Issues related to the Go language server, gopls. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
Status: Done
Development

No branches or pull requests

2 participants