Skip to content

x/tools/gopls/internal/cmd: TestWorkspaceSymbol failures [consistent failure] #71884

@gopherbot

Description

@gopherbot
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestWorkspaceSymbol"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestWorkspaceSymbol
=== PAUSE TestWorkspaceSymbol
=== CONT  TestWorkspaceSymbol
--- FAIL: TestWorkspaceSymbol (0.01s)
panic: syscall/js: call of Value.Call on undefined
	panic: syscall/js: call of Value.Call on undefined [recovered]
	panic: syscall/js: call of Value.Call on undefined

goroutine 114 [running]:
testing.tRunner.func1.2({0x14c520, 0x1b31e00})
...
os.WriteFile({0x1b406e0, 0x4a}, {0x1acc12e, 0x1c, 0x52}, 0x1b6)
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/os/file.go:850 +0x2
golang.org/x/tools/gopls/internal/cmd_test.writeTree(0x7b58380, {0x34cb5c, 0x57})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2905470421/gopls/internal/cmd/integration_test.go:1115 +0x1f
golang.org/x/tools/gopls/internal/cmd_test.TestWorkspaceSymbol(0x7b58380)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2905470421/gopls/internal/cmd/integration_test.go:1049 +0x3
testing.tRunner(0x7b58380, 0x473998)
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:1792 +0x12
created by testing.(*T).Run in goroutine 1
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/testing/testing.go:1851 +0x49

watchflakes

Metadata

Metadata

Assignees

Labels

NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions