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/completion: TestFuzzFunc/default failures #68640

Open
gopherbot opened this issue Jul 29, 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/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 gopherbot added 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. gopls Issues related to the Go language server, gopls. labels Jul 29, 2024
@gopherbot gopherbot added this to the Unreleased milestone Jul 29, 2024
@gopherbot
Copy link
Contributor Author

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
Copy link
Contributor

hyangah commented Aug 4, 2024

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

@hyangah hyangah modified the milestones: Unreleased, gopls/v0.17.0 Aug 4, 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: No status
Development

No branches or pull requests

2 participants