Skip to content

x/tools/gopls/internal: OpenFile failures on js/wasm with new 1.24.0 toolchain upgrade of Go 1.23 #71883

@gopherbot

Description

@gopherbot
#!watchflakes
default <- pkg ~ `golang.org/x/tools/gopls` && `call of Value.Call on undefined`

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestCaseInsensitiveFilesystem
--- FAIL: TestCaseInsensitiveFilesystem (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 1573 [running]:
testing.tRunner.func1.2({0xbdba0, 0x12d8780})
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/testing/testing.go:1734 +0x1e
testing.tRunner.func1()
...
os.OpenFile({0x736db00, 0x5e}, 0x241, 0x1ff)
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/os/file.go:392 +0x3
os.WriteFile({0x736db00, 0x5e}, {0x72efdbc, 0x2, 0x2}, 0x1ff)
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/os/file.go:850 +0x2
golang.org/x/tools/gopls/internal/cache.TestCaseInsensitiveFilesystem(0x7332700)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2352761625/gopls/internal/cache/view_test.go:22 +0x13
testing.tRunner(0x7332700, 0x20c150)
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/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/[email protected]/src/testing/testing.go:1851 +0x49

watchflakes

Metadata

Metadata

Labels

NeedsFixThe path to resolution is known, but the work has not been done.OS-JSToolsThis 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