golang / go

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

x/tools/gopls/internal/test/integration/completion: TestFuzzFunc/default failures #68640

Open gopherbot opened 3 months ago

gopherbot commented 3 months ago
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/completion" && test == "TestFuzzFunc/default"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestFuzzFunc/default
    runner.go:250: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times

        err:context deadline exceeded

        state:
        #### log messages (see RPC logs for full text):
            Info: "2024/06/25 07:40:44 Created View (#2)\n\tdirectory...
            Info: "2024/06/25 07:40:45 go/packages.Load #2\n\tview_id...
...
[Trace - 07:41:14.322 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/06/25 07:41:14 background imports cache refresh starting\n"}

[Trace - 07:41:14.323 AM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2024/06/25 07:41:14 background refresh finished after 107.5115ms\n"}

#### End Gopls Test Logs for "TestFuzzFunc/default"
*** Test killed: ran too long (22m0s).

watchflakes

gopherbot commented 3 months ago

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/completion" && test == "TestFuzzFunc/default"
2024-06-25 14:23 x_tools-gotip-windows-amd64-race tools@5fefc656 go@b1fd0475 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc/default [ABORT] (log) === RUN TestFuzzFunc/default runner.go:250: waiting on: Unmet: completed work "diagnosing initial workspace load" 1 times err:context deadline exceeded state: #### log messages (see RPC logs for full text): Info: "2024/06/25 07:40:44 Created View (#2)\n\tdirectory... Info: "2024/06/25 07:40:45 go/packages.Load #2\n\tview_id... ... [Trace - 07:41:14.322 AM] Received notification 'window/logMessage'. Params: {"type":3,"message":"2024/06/25 07:41:14 background imports cache refresh starting\n"} [Trace - 07:41:14.323 AM] Received notification 'window/logMessage'. Params: {"type":3,"message":"2024/06/25 07:41:14 background refresh finished after 107.5115ms\n"} #### End Gopls Test Logs for "TestFuzzFunc/default" *** Test killed: ran too long (22m0s).
2024-07-16 16:13 x_tools-go1.23-windows-amd64-race tools@25ed04f2 release-branch.go1.23@30b6fd60 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc/default [ABORT] (log) === RUN TestFuzzFunc/default completion18_test.go:108: waiting on: Unmet: completed work "diagnosing opened files" at least 1 time(s) err:context deadline exceeded state: #### log messages (see RPC logs for full text): Info: "2024/07/16 09:22:50 Created View (#2)\n\tdirectory... Info: "2024/07/16 09:22:51 go/packages.Load #2\n\tview_id... ... panic: test timed out after 20m0s running tests: TestFuzzFunc (21m52s) TestFuzzFunc/default (21m52s) goroutine 4084 [running]: testing.(*M).startAlarm.func1() C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:2373 +0x265 created by time.goFunc C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:215 +0x45 ... golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x14185ccc0, 0xc0028be410}, 0xc002f6b7a0, {0x14185ce10, 0xc00426e180}) C:/b/s/w/ir/x/w/targetrepo3192522432/gopls/internal/protocol/protocol.go:160 +0xc5 golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x14185ccc0, 0xc0028be410}, 0xc002f6b7a0, {0x14185ce10, 0xc00426e180}) C:/b/s/w/ir/x/w/targetrepo3192522432/gopls/internal/lsprpc/lsprpc.go:509 +0xbfb golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x14185ccc0, 0xc0028be410}, 0xc001c65320, {0x14185ce10, 0xc00426e180}) C:/b/s/w/ir/x/w/targetrepo3192522432/internal/jsonrpc2/handler.go:35 +0x195 golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2() C:/b/s/w/ir/x/w/targetrepo3192522432/internal/jsonrpc2/handler.go:103 +0xb2 created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 453 C:/b/s/w/ir/x/w/targetrepo3192522432/internal/jsonrpc2/handler.go:100 +0x375

watchflakes

hyangah commented 3 months ago
panic: detected hanging go command (golang/go#54461); waited 1m0.0035751s
        command:C:\b\s\w\ir\x\w\goroot\bin\go.exe list -overlay=C:\b\s\w\ir\x\t\gocommand-2805806591\overlay.json -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- C:\b\s\w\ir\x\t\gopls-test-4266541410\TestUpgradeCodelens_Workspace\Upgrade_transitive_dependencies\default\work\a\... C:\b\s\w\ir\x\t\gopls-test-4266541410\TestUpgradeCodelens_Workspace\Upgrade_transitive_dependencies\default\work\b\... builtin
        pid:7820
gopherbot commented 1 month ago

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/completion" && test == "TestFuzzFunc/default"
2024-10-04 15:35 x_tools-go1.23-windows-amd64-race tools@2683c792 release-branch.go1.23@9563300f x/tools/gopls/internal/test/integration/completion.TestFuzzFunc/default [ABORT] (log) === RUN TestFuzzFunc/default runner.go:238: waiting on: Unmet: completed work "diagnosing initial workspace load" 1 times err:context deadline exceeded state: #### log messages (see RPC logs for full text): Info: "2024/10/04 08:49:30 Created View (#2)\n\tdirectory... Info: "2024/10/04 08:49:31 go/packages.Load #2\n\tview_id... ... [Trace - 08:49:31.795 AM] Received notification '$/progress'. Params: {"token":"411070798833035845","value":{"kind":"begin","title":"Checking telemetry prompt","message":"Checking if gopls should prompt about telemetry..."}} [Trace - 08:49:31.798 AM] Received notification '$/progress'. Params: {"token":"411070798833035845","value":{"kind":"end","message":"Done."}} #### End Gopls Test Logs for "TestFuzzFunc/default" *** Test killed: ran too long (22m0s).

watchflakes