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/misc: TestTelemetryPrompt_Conditions failures #66728

Closed
gopherbot opened this issue Apr 8, 2024 · 3 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/misc" && test == "TestTelemetryPrompt_Conditions"

Issue created automatically to collect these failures.

Example (log):

serve.go:441: debug server listening at http://localhost:46411
serve.go:441: debug server listening at http://localhost:41451
#### Start Gopls Test Logs for "TestTelemetryPrompt_Conditions/telemetryPrompt=false/initial_mode=on/default"
[Trace - 14:02:05.976 PM] Sending request 'initialize - (1)'.
Params: {"processId":0,"clientInfo":{"name":"fake.Editor","version":"v1.0.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","label"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":null}},"window":{"workDoneProgress":true}},"initializationOptions":{"completionBudget":"0s","diagnosticsDelay":"10ms","env":{"GO111MODULE":"","GOMODCACHE":"","GOPACKAGESDRIVER":"off","GOPATH":"/workdir/tmp/gopls-test-2205622328/TestTelemetryPrompt_Conditions/telemetryPrompt=false/initial_mode=on/default/gopath","GOPLS_CONFIG_DIR":"/workdir/tmp/TestTelemetryPrompt_ConditionstelemetryPrompt=falseinitial_mode=on3965967506/002","GOPLS_FAKE_TELEMETRY_MODEFILE":"/workdir/tmp/TestTelemetryPrompt_ConditionstelemetryPrompt=falseinitial_mode=on3965967506/001/mode","GOPROXY":"file:///workdir/tmp/gopls-test-2205622328/TestTelemetryPrompt_Conditions/telemetryPrompt=false/initial_mode=on/default/proxy","GOSUMDB":"off"},"telemetryPrompt":false,"verboseWorkDoneProgress":true},"trace":"messages","workspaceFolders":[{"uri":"file:///workdir/tmp/gopls-test-2205622328/TestTelemetryPrompt_Conditions/telemetryPrompt=false/initial_mode=on/default/work","name":"work"}]}


[Trace - 14:02:05.976 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.diagnose_files","gopls.doc","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.views","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","label"],"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 20f052c83c380b8b3700b7aca93017178a692d78\",\"Path\":\"\",\"Main\":{\"Path\":\"\",\"Version\":\"\",\"Sum\":\"\",\"Replace\":null},\"Deps\":null,\"Settings\":null,\"Version\":\"(unknown)\"}"}}

...
panic: test timed out after 20m0s
running tests:
	TestTelemetryPrompt_Conditions (1m41s)
	TestTelemetryPrompt_Conditions/telemetryPrompt=false (44s)
	TestTelemetryPrompt_Conditions/telemetryPrompt=false/initial_mode=on (11s)
	TestTelemetryPrompt_Conditions/telemetryPrompt=false/initial_mode=on/default (11s)

testing.(*T).Run(0xc00d82f040, {0xcd2472?, 0xcf7a15?}, 0xc00207bea0)
	/workdir/go/src/testing/testing.go:1750 +0x3a4
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run(0xc000397400, 0xc00d82f040, {0xd5abd3, 0x52}, 0xc00521b980, {0xc000984ec0, 0x3, 0xc00007f008?})
	/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/runner.go:172 +0x4a8
golang.org/x/tools/gopls/internal/test/integration.configuredRunner.Run({{0xc000984ec0?, 0xc000604a50?, 0xcf1e8b?}}, 0xc00d82f040, {0xd5abd3, 0x52}, 0xc00521b980)
	/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/regtest.go:80 +0x14c
golang.org/x/tools/gopls/internal/test/integration/misc.TestTelemetryPrompt_Conditions.func1.1(0xc00d82f040)
	/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/misc/prompt_test.go:53 +0x32c
testing.tRunner(0xc00d82f040, 0xc00521b938)

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 Apr 8, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/misc" && test == "TestTelemetryPrompt_Conditions"
2024-04-08 13:17 linux-ppc64le-power9osu tools@8a0c6e2d go@20f052c8 x/tools/gopls/internal/test/integration/misc.TestTelemetryPrompt_Conditions (log)
serve.go:441: debug server listening at http://localhost:46411
serve.go:441: debug server listening at http://localhost:41451
#### Start Gopls Test Logs for "TestTelemetryPrompt_Conditions/telemetryPrompt=false/initial_mode=on/default"
[Trace - 14:02:05.976 PM] Sending request 'initialize - (1)'.
Params: {"processId":0,"clientInfo":{"name":"fake.Editor","version":"v1.0.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","label"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":null}},"window":{"workDoneProgress":true}},"initializationOptions":{"completionBudget":"0s","diagnosticsDelay":"10ms","env":{"GO111MODULE":"","GOMODCACHE":"","GOPACKAGESDRIVER":"off","GOPATH":"/workdir/tmp/gopls-test-2205622328/TestTelemetryPrompt_Conditions/telemetryPrompt=false/initial_mode=on/default/gopath","GOPLS_CONFIG_DIR":"/workdir/tmp/TestTelemetryPrompt_ConditionstelemetryPrompt=falseinitial_mode=on3965967506/002","GOPLS_FAKE_TELEMETRY_MODEFILE":"/workdir/tmp/TestTelemetryPrompt_ConditionstelemetryPrompt=falseinitial_mode=on3965967506/001/mode","GOPROXY":"file:///workdir/tmp/gopls-test-2205622328/TestTelemetryPrompt_Conditions/telemetryPrompt=false/initial_mode=on/default/proxy","GOSUMDB":"off"},"telemetryPrompt":false,"verboseWorkDoneProgress":true},"trace":"messages","workspaceFolders":[{"uri":"file:///workdir/tmp/gopls-test-2205622328/TestTelemetryPrompt_Conditions/telemetryPrompt=false/initial_mode=on/default/work","name":"work"}]}


[Trace - 14:02:05.976 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.diagnose_files","gopls.doc","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.views","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","label"],"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 20f052c83c380b8b3700b7aca93017178a692d78\",\"Path\":\"\",\"Main\":{\"Path\":\"\",\"Version\":\"\",\"Sum\":\"\",\"Replace\":null},\"Deps\":null,\"Settings\":null,\"Version\":\"(unknown)\"}"}}

...
panic: test timed out after 20m0s
running tests:
	TestTelemetryPrompt_Conditions (1m41s)
	TestTelemetryPrompt_Conditions/telemetryPrompt=false (44s)
	TestTelemetryPrompt_Conditions/telemetryPrompt=false/initial_mode=on (11s)
	TestTelemetryPrompt_Conditions/telemetryPrompt=false/initial_mode=on/default (11s)

testing.(*T).Run(0xc00d82f040, {0xcd2472?, 0xcf7a15?}, 0xc00207bea0)
	/workdir/go/src/testing/testing.go:1750 +0x3a4
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run(0xc000397400, 0xc00d82f040, {0xd5abd3, 0x52}, 0xc00521b980, {0xc000984ec0, 0x3, 0xc00007f008?})
	/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/runner.go:172 +0x4a8
golang.org/x/tools/gopls/internal/test/integration.configuredRunner.Run({{0xc000984ec0?, 0xc000604a50?, 0xcf1e8b?}}, 0xc00d82f040, {0xd5abd3, 0x52}, 0xc00521b980)
	/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/regtest.go:80 +0x14c
golang.org/x/tools/gopls/internal/test/integration/misc.TestTelemetryPrompt_Conditions.func1.1(0xc00d82f040)
	/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/misc/prompt_test.go:53 +0x32c
testing.tRunner(0xc00d82f040, 0xc00521b938)

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 Apr 8, 2024
@gopherbot gopherbot added this to the Unreleased milestone Apr 8, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/misc" && test == "TestTelemetryPrompt_Conditions"
2024-04-09 14:12 linux-ppc64le-power9osu tools@3520955d go@74501172 x/tools/gopls/internal/test/integration/misc.TestTelemetryPrompt_Conditions (log)
serve.go:441: debug server listening at http://localhost:38601
serve.go:441: debug server listening at http://localhost:39115
panic: test timed out after 20m0s
running tests:
	TestTelemetryPrompt_Conditions (2m15s)
	TestTelemetryPrompt_Conditions/telemetryPrompt=false (1m1s)
	TestTelemetryPrompt_Conditions/telemetryPrompt=false/initial_mode=on (16s)
	TestTelemetryPrompt_Conditions/telemetryPrompt=false/initial_mode=on/default (16s)

testing.(*T).Run(0xc001289860, {0xc001bca230?, 0xc00011cee0?}, 0xc003b78120)
	/workdir/go/src/testing/testing.go:1649 +0x3c8
golang.org/x/tools/gopls/internal/test/integration/misc.TestTelemetryPrompt_Conditions.func1(0xc4a8b71e0882de80?)
	/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/misc/prompt_test.go:37 +0xc4
testing.tRunner(0xc001289860, 0xc0013cb990)
2024-04-09 14:12 linux-ppc64le-power9osu tools@3520955d go@a65a2bbd x/tools/gopls/internal/test/integration/misc.TestTelemetryPrompt_Conditions (log)
serve.go:441: debug server listening at http://localhost:45831
serve.go:441: debug server listening at http://localhost:37393
#### Start Gopls Test Logs for "TestTelemetryPrompt_Conditions/telemetryPrompt=true/initial_mode=on/default"
[Trace - 15:02:19.343 PM] Sending request 'initialize - (1)'.
Params: {"processId":0,"clientInfo":{"name":"fake.Editor","version":"v1.0.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","label"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":null}},"window":{"workDoneProgress":true}},"initializationOptions":{"completionBudget":"0s","diagnosticsDelay":"10ms","env":{"GO111MODULE":"","GOMODCACHE":"","GOPACKAGESDRIVER":"off","GOPATH":"/workdir/tmp/gopls-test-9061201/TestTelemetryPrompt_Conditions/telemetryPrompt=true/initial_mode=on/default/gopath","GOPLS_CONFIG_DIR":"/workdir/tmp/TestTelemetryPrompt_ConditionstelemetryPrompt=trueinitial_mode=on2221909476/002","GOPLS_FAKE_TELEMETRY_MODEFILE":"/workdir/tmp/TestTelemetryPrompt_ConditionstelemetryPrompt=trueinitial_mode=on2221909476/001/mode","GOPROXY":"file:///workdir/tmp/gopls-test-9061201/TestTelemetryPrompt_Conditions/telemetryPrompt=true/initial_mode=on/default/proxy","GOSUMDB":"off"},"telemetryPrompt":true,"verboseWorkDoneProgress":true},"trace":"messages","workspaceFolders":[{"uri":"file:///workdir/tmp/gopls-test-9061201/TestTelemetryPrompt_Conditions/telemetryPrompt=true/initial_mode=on/default/work","name":"work"}]}


[Trace - 15:02:19.343 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.diagnose_files","gopls.doc","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.views","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","label"],"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.22.2\",\"Path\":\"\",\"Main\":{\"Path\":\"\",\"Version\":\"\",\"Sum\":\"\",\"Replace\":null},\"Deps\":null,\"Settings\":null,\"Version\":\"(unknown)\"}"}}

...
panic: test timed out after 20m0s
running tests:
	TestTelemetryPrompt_Conditions (53s)
	TestTelemetryPrompt_Conditions/telemetryPrompt=true (53s)
	TestTelemetryPrompt_Conditions/telemetryPrompt=true/initial_mode=on (9s)
	TestTelemetryPrompt_Conditions/telemetryPrompt=true/initial_mode=on/default (9s)

testing.(*T).Run(0xc01159e9c0, {0xcd04e4?, 0xcf5b90?}, 0xc011435900)
	/workdir/go/src/testing/testing.go:1750 +0x3a4
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run(0xc0000a0280, 0xc01159e9c0, {0xd59083, 0x52}, 0xc001bf7a88, {0xc0007c5ec0, 0x3, 0xc00d6a6008?})
	/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/runner.go:172 +0x4a8
golang.org/x/tools/gopls/internal/test/integration.configuredRunner.Run({{0xc0007c5ec0?, 0xc002e752c0?, 0xceffd8?}}, 0xc01159e9c0, {0xd59083, 0x52}, 0xc001bf7a88)
	/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/regtest.go:80 +0x14c
golang.org/x/tools/gopls/internal/test/integration/misc.TestTelemetryPrompt_Conditions.func1.1(0xc01159e9c0)
	/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/misc/prompt_test.go:53 +0x32c
testing.tRunner(0xc01159e9c0, 0xc001bf7a40)

watchflakes

@adonovan
Copy link
Member

adonovan commented Apr 9, 2024

Hanging Go command on ppc64: dup of #66748.

@adonovan adonovan closed this as completed Apr 9, 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
Archived in project
Development

No branches or pull requests

2 participants