Skip to content

x/tools/gopls/internal/cmd: TestDefinition failures #73224

@gopherbot

Description

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

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestDefinition
=== PAUSE TestDefinition
=== CONT  TestDefinition
    integration_test.go:286: gopls definition: stderr does not match [expects 1 argument]; got <<runtime: VirtualAlloc of 8192 bytes failed with errno=1455
        fatal error: out of memory
        
        runtime stack:
        runtime.throw({0x7ff6f1f0a2bc?, 0x4000390000?})
        	C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.2.windows-arm64/src/runtime/panic.go:1101 +0x38 fp=0xfdf95ffca0 sp=0xfdf95ffc70 pc=0x7ff6f12a7278
        runtime.sysUsedOS(0x4000390000, 0x2000)
...
        	runtime/proc.go:738
        runtime.schedinit()
        	runtime/proc.go:838 +0xf4 fp=0xdec33ff820 sp=0xdec33ff7c0 pc=0x7ff73e7a1aa4
        runtime.rt0_go()
        	runtime/asm_arm64.s:86 +0xac fp=0xdec33ff850 sp=0xdec33ff820 pc=0x7ff73e7d826c
        
        gopls: .\a.go:4:7: no package metadata for file file:///C:/Users/swarming/.swarming/w/ir/x/t/TestDefinition3680882125/001/a.go
        >>)
    integration_test.go:1247: invalid JSON unexpected end of JSON input
--- FAIL: TestDefinition (18.42s)

watchflakes

Metadata

Metadata

Assignees

No one assigned

    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