golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
124.21k stars 17.7k forks source link

x/tools/gopls/internal/test/integration/diagnostics: TestOrphanedFiles/default failures #70494

Closed gopherbot closed 8 hours ago

gopherbot commented 15 hours ago
#!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 commented 15 hours ago

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

adonovan commented 8 hours ago

Dup of https://github.com/golang/go/issues/70492