Skip to content

x/tools/gopls/internal/test/integration/watch: TestSwitchFromModulesToGOPATH failures #64533

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

Closed
gopherbot opened this issue Dec 4, 2023 · 4 comments
Labels
FrozenDueToAge 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/watch" && test == "TestSwitchFromModulesToGOPATH"

Issue created automatically to collect these failures.

Example (log):

#### Start Gopls Test Logs for "TestSwitchFromModulesToGOPATH/default"
[Trace - 22:21:07.441 PM] Sending request 'initialize - (1)'.
Params: {"processId":0,"rootUri":"","capabilities":{"workspace":{"workspaceEdit":{"resourceOperations":["rename"]},"didChangeConfiguration":{},"didChangeWatchedFiles":{"dynamicRegistration":true},"configuration":true},"textDocument":{"completion":{"completionItem":{"snippetSupport":true,"tagSupport":{"valueSet":[1]}}},"documentSymbol":{"hierarchicalDocumentSymbolSupport":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":null}}},"publishDiagnostics":{},"semanticTokens":{"requests":{"full":true},"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":null}},"window":{"workDoneProgress":true}},"initializationOptions":{"completionBudget":"0s","diagnosticsDelay":"10ms","env":{"GO111MODULE":"auto","GOMODCACHE":"","GOPACKAGESDRIVER":"off","GOPATH":"/tmp/workdir-host-linux-amd64-wsl/tmp/gopls-test-3527585709/TestSwitchFromModulesToGOPATH/default/gopath","GOPROXY":"file:///tmp/workdir-host-linux-amd64-wsl/tmp/gopls-test-3527585709/TestSwitchFromModulesToGOPATH/default/proxy","GOSUMDB":"off"},"verboseWorkDoneProgress":true},"trace":"messages","workspaceFolders":[{"uri":"file:///tmp/workdir-host-linux-amd64-wsl/tmp/gopls-test-3527585709/TestSwitchFromModulesToGOPATH/default/gopath/src","name":"src"}]}


[Trace - 22:21:07.441 PM] Received response 'initialize - (1)' in 0ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":true,"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"renameProvider":true,"foldingRangeProvider":true,"selectionRangeProvider":true,"executeCommandProvider":{"commands":["gopls.add_dependency","gopls.add_import","gopls.add_telemetry_counters","gopls.apply_fix","gopls.change_signature","gopls.check_upgrades","gopls.edit_go_directive","gopls.fetch_vulncheck_result","gopls.gc_details","gopls.generate","gopls.go_get_package","gopls.list_imports","gopls.list_known_packages","gopls.maybe_prompt_for_telemetry","gopls.mem_stats","gopls.regenerate_cgo","gopls.remove_dependency","gopls.reset_go_mod_diagnostics","gopls.run_go_work_command","gopls.run_govulncheck","gopls.run_tests","gopls.start_debugging","gopls.start_profile","gopls.stop_profile","gopls.test","gopls.tidy","gopls.toggle_gc_details","gopls.update_go_sum","gopls.upgrade_dependency","gopls.vendor","gopls.workspace_stats"]},"callHierarchyProvider":true,"semanticTokensProvider":{"legend":{"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"]},"range":true,"full":true},"inlayHintProvider":{},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"{\"GoVersion\":\"devel de5b418bea70aaf27de1f47e9b5813940d1e15a4\",\"Path\":\"\",\"Main\":{\"Path\":\"\",\"Version\":\"\",\"Sum\":\"\",\"Replace\":null},\"Deps\":null,\"Settings\":null,\"Version\":\"(unknown)\"}"}}


[Trace - 22:21:07.441 PM] Sending notification 'initialized'.
...
panic: test timed out after 10m0s
running tests:
	TestSwitchFromModulesToGOPATH (9m49s)
	TestSwitchFromModulesToGOPATH/default (9m49s)

testing.(*T).Run(0xc0009aba00, {0x102aa0f?, 0x1047b91?}, 0xc001651590)
	/tmp/workdir-host-linux-amd64-wsl/go/src/testing/testing.go:1750 +0x3ab
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run(0xc00048d900, 0xc0009aba00, {0x109e4cd, 0xb5}, 0x11b9050, {0xc0004f9f40, 0x2, 0x110?})
	/tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/gopls/internal/test/integration/runner.go:167 +0x485
golang.org/x/tools/gopls/internal/test/integration.configuredRunner.Run({{0xc0004f9f40?, 0xc00049e360?, 0x10360cf?}}, 0xc0009aba00, {0x109e4cd, 0xb5}, 0x11b9050)
	/tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/gopls/internal/test/integration/regtest.go:80 +0x147
golang.org/x/tools/gopls/internal/test/integration/watch.TestSwitchFromModulesToGOPATH(0xc0009aba00)
	/tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/gopls/internal/test/integration/watch/watch_test.go:622 +0xc7
testing.tRunner(0xc0009aba00, 0x11b8e10)

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 Dec 4, 2023
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/watch" && test == "TestSwitchFromModulesToGOPATH"
2023-12-04 14:11 linux-amd64-wsl tools@184d2a73 go@de5b418b x/tools/gopls/internal/test/integration/watch.TestSwitchFromModulesToGOPATH (log)
#### Start Gopls Test Logs for "TestSwitchFromModulesToGOPATH/default"
[Trace - 22:21:07.441 PM] Sending request 'initialize - (1)'.
Params: {"processId":0,"rootUri":"","capabilities":{"workspace":{"workspaceEdit":{"resourceOperations":["rename"]},"didChangeConfiguration":{},"didChangeWatchedFiles":{"dynamicRegistration":true},"configuration":true},"textDocument":{"completion":{"completionItem":{"snippetSupport":true,"tagSupport":{"valueSet":[1]}}},"documentSymbol":{"hierarchicalDocumentSymbolSupport":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":null}}},"publishDiagnostics":{},"semanticTokens":{"requests":{"full":true},"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":null}},"window":{"workDoneProgress":true}},"initializationOptions":{"completionBudget":"0s","diagnosticsDelay":"10ms","env":{"GO111MODULE":"auto","GOMODCACHE":"","GOPACKAGESDRIVER":"off","GOPATH":"/tmp/workdir-host-linux-amd64-wsl/tmp/gopls-test-3527585709/TestSwitchFromModulesToGOPATH/default/gopath","GOPROXY":"file:///tmp/workdir-host-linux-amd64-wsl/tmp/gopls-test-3527585709/TestSwitchFromModulesToGOPATH/default/proxy","GOSUMDB":"off"},"verboseWorkDoneProgress":true},"trace":"messages","workspaceFolders":[{"uri":"file:///tmp/workdir-host-linux-amd64-wsl/tmp/gopls-test-3527585709/TestSwitchFromModulesToGOPATH/default/gopath/src","name":"src"}]}


[Trace - 22:21:07.441 PM] Received response 'initialize - (1)' in 0ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":true,"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"renameProvider":true,"foldingRangeProvider":true,"selectionRangeProvider":true,"executeCommandProvider":{"commands":["gopls.add_dependency","gopls.add_import","gopls.add_telemetry_counters","gopls.apply_fix","gopls.change_signature","gopls.check_upgrades","gopls.edit_go_directive","gopls.fetch_vulncheck_result","gopls.gc_details","gopls.generate","gopls.go_get_package","gopls.list_imports","gopls.list_known_packages","gopls.maybe_prompt_for_telemetry","gopls.mem_stats","gopls.regenerate_cgo","gopls.remove_dependency","gopls.reset_go_mod_diagnostics","gopls.run_go_work_command","gopls.run_govulncheck","gopls.run_tests","gopls.start_debugging","gopls.start_profile","gopls.stop_profile","gopls.test","gopls.tidy","gopls.toggle_gc_details","gopls.update_go_sum","gopls.upgrade_dependency","gopls.vendor","gopls.workspace_stats"]},"callHierarchyProvider":true,"semanticTokensProvider":{"legend":{"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"]},"range":true,"full":true},"inlayHintProvider":{},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"{\"GoVersion\":\"devel de5b418bea70aaf27de1f47e9b5813940d1e15a4\",\"Path\":\"\",\"Main\":{\"Path\":\"\",\"Version\":\"\",\"Sum\":\"\",\"Replace\":null},\"Deps\":null,\"Settings\":null,\"Version\":\"(unknown)\"}"}}


[Trace - 22:21:07.441 PM] Sending notification 'initialized'.
...
panic: test timed out after 10m0s
running tests:
	TestSwitchFromModulesToGOPATH (9m49s)
	TestSwitchFromModulesToGOPATH/default (9m49s)

testing.(*T).Run(0xc0009aba00, {0x102aa0f?, 0x1047b91?}, 0xc001651590)
	/tmp/workdir-host-linux-amd64-wsl/go/src/testing/testing.go:1750 +0x3ab
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run(0xc00048d900, 0xc0009aba00, {0x109e4cd, 0xb5}, 0x11b9050, {0xc0004f9f40, 0x2, 0x110?})
	/tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/gopls/internal/test/integration/runner.go:167 +0x485
golang.org/x/tools/gopls/internal/test/integration.configuredRunner.Run({{0xc0004f9f40?, 0xc00049e360?, 0x10360cf?}}, 0xc0009aba00, {0x109e4cd, 0xb5}, 0x11b9050)
	/tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/gopls/internal/test/integration/regtest.go:80 +0x147
golang.org/x/tools/gopls/internal/test/integration/watch.TestSwitchFromModulesToGOPATH(0xc0009aba00)
	/tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/gopls/internal/test/integration/watch/watch_test.go:622 +0xc7
testing.tRunner(0xc0009aba00, 0x11b8e10)
2023-12-04 14:25 linux-amd64-nocgo tools@c8cb6a3a go@f7a79cb5 x/tools/gopls/internal/test/integration/watch.TestSwitchFromModulesToGOPATH (log)
#### Start Gopls Test Logs for "TestSwitchFromModulesToGOPATH/default"
[Trace - 14:31:07.812 PM] Sending request 'initialize - (1)'.
Params: {"processId":0,"rootUri":"","capabilities":{"workspace":{"workspaceEdit":{"resourceOperations":["rename"]},"didChangeConfiguration":{},"didChangeWatchedFiles":{"dynamicRegistration":true},"configuration":true},"textDocument":{"completion":{"completionItem":{"snippetSupport":true,"tagSupport":{"valueSet":[1]}}},"documentSymbol":{"hierarchicalDocumentSymbolSupport":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":null}}},"publishDiagnostics":{},"semanticTokens":{"requests":{"full":true},"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":null}},"window":{"workDoneProgress":true}},"initializationOptions":{"completionBudget":"0s","diagnosticsDelay":"10ms","env":{"GO111MODULE":"auto","GOMODCACHE":"","GOPACKAGESDRIVER":"off","GOPATH":"/workdir/tmp/gopls-test-4093877492/TestSwitchFromModulesToGOPATH/default/gopath","GOPROXY":"file:///workdir/tmp/gopls-test-4093877492/TestSwitchFromModulesToGOPATH/default/proxy","GOSUMDB":"off"},"verboseWorkDoneProgress":true},"trace":"messages","workspaceFolders":[{"uri":"file:///workdir/tmp/gopls-test-4093877492/TestSwitchFromModulesToGOPATH/default/gopath/src","name":"src"}]}


[Trace - 14:31:07.816 PM] Received response 'initialize - (1)' in 3ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":true,"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"renameProvider":true,"foldingRangeProvider":true,"selectionRangeProvider":true,"executeCommandProvider":{"commands":["gopls.add_dependency","gopls.add_import","gopls.add_telemetry_counters","gopls.apply_fix","gopls.change_signature","gopls.check_upgrades","gopls.edit_go_directive","gopls.fetch_vulncheck_result","gopls.gc_details","gopls.generate","gopls.go_get_package","gopls.list_imports","gopls.list_known_packages","gopls.maybe_prompt_for_telemetry","gopls.mem_stats","gopls.regenerate_cgo","gopls.remove_dependency","gopls.reset_go_mod_diagnostics","gopls.run_go_work_command","gopls.run_govulncheck","gopls.run_tests","gopls.start_debugging","gopls.start_profile","gopls.stop_profile","gopls.test","gopls.tidy","gopls.toggle_gc_details","gopls.update_go_sum","gopls.upgrade_dependency","gopls.vendor","gopls.workspace_stats"]},"callHierarchyProvider":true,"semanticTokensProvider":{"legend":{"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"]},"range":true,"full":true},"inlayHintProvider":{},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"{\"GoVersion\":\"go1.21.4\",\"Path\":\"\",\"Main\":{\"Path\":\"\",\"Version\":\"\",\"Sum\":\"\",\"Replace\":null},\"Deps\":null,\"Settings\":null,\"Version\":\"(unknown)\"}"}}


[Trace - 14:31:07.822 PM] Sending notification 'initialized'.
...
panic: test timed out after 10m0s
running tests:
	TestSwitchFromModulesToGOPATH (9m49s)
	TestSwitchFromModulesToGOPATH/default (9m49s)

testing.(*T).Run(0xc0022d24e0, {0xfe3aaa?, 0x1000a37?}, 0xc0026a92c0)
	/workdir/go/src/testing/testing.go:1649 +0x3c8
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run(0xc0004f4280, 0xc0022d24e0, {0x105676a, 0xb5}, 0x1171350, {0xc004587f40, 0x2, 0x416445?})
	/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/runner.go:167 +0x491
golang.org/x/tools/gopls/internal/test/integration.configuredRunner.Run({{0xc000bacf40?, 0xc00080ef00?, 0xfef0fb?}}, 0xc0022d24e0, {0x105676a, 0xb5}, 0xc000bacf60?)
	/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/regtest.go:80 +0x145
golang.org/x/tools/gopls/internal/test/integration/watch.TestSwitchFromModulesToGOPATH(0xc000bacf48?)
	/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/watch/watch_test.go:622 +0xc7
testing.tRunner(0xc0022d24e0, 0x1171118)
2023-12-04 14:25 netbsd-386-9_3 tools@c8cb6a3a go@f7a79cb5 x/tools/gopls/internal/test/integration/watch.TestSwitchFromModulesToGOPATH (log)
#### Start Gopls Test Logs for "TestSwitchFromModulesToGOPATH/default"
[Trace - 14:29:22.894 PM] Sending request 'initialize - (1)'.
Params: {"processId":0,"rootUri":"","capabilities":{"workspace":{"workspaceEdit":{"resourceOperations":["rename"]},"didChangeConfiguration":{},"didChangeWatchedFiles":{"dynamicRegistration":true},"configuration":true},"textDocument":{"completion":{"completionItem":{"snippetSupport":true,"tagSupport":{"valueSet":[1]}}},"documentSymbol":{"hierarchicalDocumentSymbolSupport":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":null}}},"publishDiagnostics":{},"semanticTokens":{"requests":{"full":true},"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":null}},"window":{"workDoneProgress":true}},"initializationOptions":{"completionBudget":"0s","diagnosticsDelay":"10ms","env":{"GO111MODULE":"auto","GOMODCACHE":"","GOPACKAGESDRIVER":"off","GOPATH":"/tmp/workdir/tmp/gopls-test-3311271821/TestSwitchFromModulesToGOPATH/default/gopath","GOPROXY":"file:///tmp/workdir/tmp/gopls-test-3311271821/TestSwitchFromModulesToGOPATH/default/proxy","GOSUMDB":"off"},"verboseWorkDoneProgress":true},"trace":"messages","workspaceFolders":[{"uri":"file:///tmp/workdir/tmp/gopls-test-3311271821/TestSwitchFromModulesToGOPATH/default/gopath/src","name":"src"}]}


[Trace - 14:29:22.895 PM] Received response 'initialize - (1)' in 0ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":true,"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"renameProvider":true,"foldingRangeProvider":true,"selectionRangeProvider":true,"executeCommandProvider":{"commands":["gopls.add_dependency","gopls.add_import","gopls.add_telemetry_counters","gopls.apply_fix","gopls.change_signature","gopls.check_upgrades","gopls.edit_go_directive","gopls.fetch_vulncheck_result","gopls.gc_details","gopls.generate","gopls.go_get_package","gopls.list_imports","gopls.list_known_packages","gopls.maybe_prompt_for_telemetry","gopls.mem_stats","gopls.regenerate_cgo","gopls.remove_dependency","gopls.reset_go_mod_diagnostics","gopls.run_go_work_command","gopls.run_govulncheck","gopls.run_tests","gopls.start_debugging","gopls.start_profile","gopls.stop_profile","gopls.test","gopls.tidy","gopls.toggle_gc_details","gopls.update_go_sum","gopls.upgrade_dependency","gopls.vendor","gopls.workspace_stats"]},"callHierarchyProvider":true,"semanticTokensProvider":{"legend":{"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"]},"range":true,"full":true},"inlayHintProvider":{},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"{\"GoVersion\":\"go1.21.4\",\"Path\":\"\",\"Main\":{\"Path\":\"\",\"Version\":\"\",\"Sum\":\"\",\"Replace\":null},\"Deps\":null,\"Settings\":null,\"Version\":\"(unknown)\"}"}}


[Trace - 14:29:22.896 PM] Sending notification 'initialized'.
...
panic: test timed out after 10m0s
running tests:
	TestSwitchFromModulesToGOPATH (9m46s)
	TestSwitchFromModulesToGOPATH/default (9m46s)

testing.(*T).Run(0x9d60000, {0x8b855b1, 0x7}, 0xa93ae70)
	/tmp/workdir/go/src/testing/testing.go:1649 +0x3f6
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run(0x9bd07e0, 0x9d60000, {0x8bf7e45, 0xb5}, 0x8cfc1d8, {0x9c49f84, 0x2, 0x2})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/runner.go:167 +0x3cb
golang.org/x/tools/gopls/internal/test/integration.configuredRunner.Run({{0x9c49f84, 0x2, 0x2}}, 0x9d60000, {0x8bf7e45, 0xb5}, 0x8cfc1d8)
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/regtest.go:80 +0x137
golang.org/x/tools/gopls/internal/test/integration/watch.TestSwitchFromModulesToGOPATH(0x9d60000)
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/watch/watch_test.go:622 +0xef
testing.tRunner(0x9d60000, 0x8cfc084)

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 Dec 4, 2023
@gopherbot gopherbot added this to the Unreleased milestone Dec 4, 2023
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/watch" && test == "TestSwitchFromModulesToGOPATH"
2023-12-04 14:25 darwin-amd64-12_0 tools@c8cb6a3a go@f7a79cb5 x/tools/gopls/internal/test/integration/watch.TestSwitchFromModulesToGOPATH (log)
#### Start Gopls Test Logs for "TestSwitchFromModulesToGOPATH/default"
[Trace - 06:48:01.487 AM] Sending request 'initialize - (1)'.
Params: {"processId":0,"rootUri":"","capabilities":{"workspace":{"workspaceEdit":{"resourceOperations":["rename"]},"didChangeConfiguration":{},"didChangeWatchedFiles":{"dynamicRegistration":true},"configuration":true},"textDocument":{"completion":{"completionItem":{"snippetSupport":true,"tagSupport":{"valueSet":[1]}}},"documentSymbol":{"hierarchicalDocumentSymbolSupport":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":null}}},"publishDiagnostics":{},"semanticTokens":{"requests":{"full":true},"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":null}},"window":{"workDoneProgress":true}},"initializationOptions":{"completionBudget":"0s","diagnosticsDelay":"10ms","env":{"GO111MODULE":"auto","GOMODCACHE":"","GOPACKAGESDRIVER":"off","GOPATH":"/tmp/buildlet/tmp/gopls-test-1570283629/TestSwitchFromModulesToGOPATH/default/gopath","GOPROXY":"file:///tmp/buildlet/tmp/gopls-test-1570283629/TestSwitchFromModulesToGOPATH/default/proxy","GOSUMDB":"off"},"verboseWorkDoneProgress":true},"trace":"messages","workspaceFolders":[{"uri":"file:///tmp/buildlet/tmp/gopls-test-1570283629/TestSwitchFromModulesToGOPATH/default/gopath/src","name":"src"}]}


[Trace - 06:48:01.487 AM] Received response 'initialize - (1)' in 0ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":true,"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"renameProvider":true,"foldingRangeProvider":true,"selectionRangeProvider":true,"executeCommandProvider":{"commands":["gopls.add_dependency","gopls.add_import","gopls.add_telemetry_counters","gopls.apply_fix","gopls.change_signature","gopls.check_upgrades","gopls.edit_go_directive","gopls.fetch_vulncheck_result","gopls.gc_details","gopls.generate","gopls.go_get_package","gopls.list_imports","gopls.list_known_packages","gopls.maybe_prompt_for_telemetry","gopls.mem_stats","gopls.regenerate_cgo","gopls.remove_dependency","gopls.reset_go_mod_diagnostics","gopls.run_go_work_command","gopls.run_govulncheck","gopls.run_tests","gopls.start_debugging","gopls.start_profile","gopls.stop_profile","gopls.test","gopls.tidy","gopls.toggle_gc_details","gopls.update_go_sum","gopls.upgrade_dependency","gopls.vendor","gopls.workspace_stats"]},"callHierarchyProvider":true,"semanticTokensProvider":{"legend":{"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"]},"range":true,"full":true},"inlayHintProvider":{},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"{\"GoVersion\":\"go1.21.4\",\"Path\":\"\",\"Main\":{\"Path\":\"\",\"Version\":\"\",\"Sum\":\"\",\"Replace\":null},\"Deps\":null,\"Settings\":null,\"Version\":\"(unknown)\"}"}}


[Trace - 06:48:01.488 AM] Sending notification 'initialized'.
...
panic: test timed out after 10m0s
running tests:
	TestSwitchFromModulesToGOPATH (9m15s)
	TestSwitchFromModulesToGOPATH/default (9m15s)

testing.(*T).Run(0xc000a94000, {0x1beb0a2?, 0x1c07dd8?}, 0xc000b88870)
	/tmp/buildlet/go/src/testing/testing.go:1649 +0x3c8
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run(0xc0004875e0, 0xc000a94000, {0x1c5d820, 0xb5}, 0x1d78760, {0xc001fc6f40, 0x2, 0x1016d85?})
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/test/integration/runner.go:167 +0x491
golang.org/x/tools/gopls/internal/test/integration.configuredRunner.Run({{0xc000d22f40?, 0xc000b9bc20?, 0x1bf6594?}}, 0xc000a94000, {0x1c5d820, 0xb5}, 0x106e696?)
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/test/integration/regtest.go:80 +0x145
golang.org/x/tools/gopls/internal/test/integration/watch.TestSwitchFromModulesToGOPATH(0xc000a95520?)
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/test/integration/watch/watch_test.go:622 +0xc7
testing.tRunner(0xc000a94000, 0x1d78540)

watchflakes

@gopherbot
Copy link
Contributor Author

Change https://go.dev/cl/546855 mentions this issue: Revert "gopls/internal/server: rewrite the server diagnostic tracking"

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/watch" && test == "TestSwitchFromModulesToGOPATH"
2023-12-04 14:25 openbsd-amd64-72 tools@c8cb6a3a go@de5b418b x/tools/gopls/internal/test/integration/watch.TestSwitchFromModulesToGOPATH (log)
#### Start Gopls Test Logs for "TestSwitchFromModulesToGOPATH/default"
[Trace - 06:41:19.576 AM] Sending request 'initialize - (1)'.
Params: {"processId":0,"rootUri":"","capabilities":{"workspace":{"workspaceEdit":{"resourceOperations":["rename"]},"didChangeConfiguration":{},"didChangeWatchedFiles":{"dynamicRegistration":true},"configuration":true},"textDocument":{"completion":{"completionItem":{"snippetSupport":true,"tagSupport":{"valueSet":[1]}}},"documentSymbol":{"hierarchicalDocumentSymbolSupport":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":null}}},"publishDiagnostics":{},"semanticTokens":{"requests":{"full":true},"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":null}},"window":{"workDoneProgress":true}},"initializationOptions":{"completionBudget":"0s","diagnosticsDelay":"10ms","env":{"GO111MODULE":"auto","GOMODCACHE":"","GOPACKAGESDRIVER":"off","GOPATH":"/tmp/workdir/tmp/gopls-test-338236439/TestSwitchFromModulesToGOPATH/default/gopath","GOPROXY":"file:///tmp/workdir/tmp/gopls-test-338236439/TestSwitchFromModulesToGOPATH/default/proxy","GOSUMDB":"off"},"verboseWorkDoneProgress":true},"trace":"messages","workspaceFolders":[{"uri":"file:///tmp/workdir/tmp/gopls-test-338236439/TestSwitchFromModulesToGOPATH/default/gopath/src","name":"src"}]}


[Trace - 06:41:19.577 AM] Received response 'initialize - (1)' in 1ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":true,"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"renameProvider":true,"foldingRangeProvider":true,"selectionRangeProvider":true,"executeCommandProvider":{"commands":["gopls.add_dependency","gopls.add_import","gopls.add_telemetry_counters","gopls.apply_fix","gopls.change_signature","gopls.check_upgrades","gopls.edit_go_directive","gopls.fetch_vulncheck_result","gopls.gc_details","gopls.generate","gopls.go_get_package","gopls.list_imports","gopls.list_known_packages","gopls.maybe_prompt_for_telemetry","gopls.mem_stats","gopls.regenerate_cgo","gopls.remove_dependency","gopls.reset_go_mod_diagnostics","gopls.run_go_work_command","gopls.run_govulncheck","gopls.run_tests","gopls.start_debugging","gopls.start_profile","gopls.stop_profile","gopls.test","gopls.tidy","gopls.toggle_gc_details","gopls.update_go_sum","gopls.upgrade_dependency","gopls.vendor","gopls.workspace_stats"]},"callHierarchyProvider":true,"semanticTokensProvider":{"legend":{"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"]},"range":true,"full":true},"inlayHintProvider":{},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"{\"GoVersion\":\"devel de5b418bea70aaf27de1f47e9b5813940d1e15a4\",\"Path\":\"\",\"Main\":{\"Path\":\"\",\"Version\":\"\",\"Sum\":\"\",\"Replace\":null},\"Deps\":null,\"Settings\":null,\"Version\":\"(unknown)\"}"}}


[Trace - 06:41:19.577 AM] Sending notification 'initialized'.
...
panic: test timed out after 10m0s
running tests:
	TestSwitchFromModulesToGOPATH (9m26s)
	TestSwitchFromModulesToGOPATH/default (9m26s)

testing.(*T).Run(0xc000663a00, {0x1023118?, 0x10404b3?}, 0xc0048a9860)
	/tmp/workdir/go/src/testing/testing.go:1750 +0x3ab
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run(0xc00055e3c0, 0xc000663a00, {0x109736d, 0xb5}, 0x11b2138, {0xc000a50f40, 0x2, 0x110?})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/runner.go:167 +0x485
golang.org/x/tools/gopls/internal/test/integration.configuredRunner.Run({{0xc0008b1740?, 0xc0007f91d0?, 0x102e6e9?}}, 0xc000663a00, {0x109736d, 0xb5}, 0x11b2138)
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/regtest.go:80 +0x147
golang.org/x/tools/gopls/internal/test/integration/watch.TestSwitchFromModulesToGOPATH(0xc000663a00)
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/watch/watch_test.go:622 +0xc7
testing.tRunner(0xc000663a00, 0x11b1f10)

watchflakes

@golang golang locked and limited conversation to collaborators Dec 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge 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
Archived in project
Development

No branches or pull requests

1 participant