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/completion: TestPackageCompletion/package_completion_on_terminal_newline/default failures #70506

Open gopherbot opened 8 hours ago

gopherbot commented 8 hours ago
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/completion" && test == "TestPackageCompletion/package_completion_on_terminal_newline/default"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestPackageCompletion/package_completion_on_terminal_newline/default
    completion_test.go:220: completion item mismatch (-want +got):
          []string{
        -   "package apple",
        -   "package apple_test",
            "package fruits",
            "package fruits_test",
            "package main",
          }

...
[Trace - 15:23:48.479 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///home/swarming/.swarming/w/ir/x/t/gopls-test-1475936701/TestPackageCompletion/package_completion_on_terminal_newline/default/work/fruits/testfile6.go","version":1,"diagnostics":[]}

[Trace - 15:23:48.486 PM] Received notification '$/progress'.
Params: {"token":"8761737497789441884","value":{"kind":"end","message":"Done."}}

#### End Gopls Test Logs for "TestPackageCompletion/package_completion_on_terminal_newline/default"
--- FAIL: TestPackageCompletion/package_completion_on_terminal_newline/default (1.40s)

watchflakes

gopherbot commented 8 hours ago

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/completion" && test == "TestPackageCompletion/package_completion_on_terminal_newline/default"
2024-11-20 12:37 x_tools-go1.23-netbsd-arm tools@a2874818 release-branch.go1.23@777f43ab x/tools/gopls/internal/test/integration/completion.TestPackageCompletion/package_completion_on_terminal_newline/default (log) === RUN TestPackageCompletion/package_completion_on_terminal_newline/default completion_test.go:220: completion item mismatch (-want +got):   []string{ -  "package apple", -  "package apple_test",    "package fruits",    "package fruits_test",    "package main",   } ... [Trace - 15:23:48.479 PM] Received notification 'textDocument/publishDiagnostics'. Params: {"uri":"file:///home/swarming/.swarming/w/ir/x/t/gopls-test-1475936701/TestPackageCompletion/package_completion_on_terminal_newline/default/work/fruits/testfile6.go","version":1,"diagnostics":[]} [Trace - 15:23:48.486 PM] Received notification '$/progress'. Params: {"token":"8761737497789441884","value":{"kind":"end","message":"Done."}} #### End Gopls Test Logs for "TestPackageCompletion/package_completion_on_terminal_newline/default" --- FAIL: TestPackageCompletion/package_completion_on_terminal_newline/default (1.40s)

watchflakes