Skip to content

x/tools/gopls/internal/cmd: TestHighlight failures #69683

@gopherbot

Description

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

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestHighlight
=== PAUSE TestHighlight
=== CONT  TestHighlight
    integration_test.go:479: gopls highlight a.go:4:7: exited with code 2, want success: true (gopls highlight a.go:4:7: exit=2 stdout=<<.\a.go:4:6-13
        .\a.go:5:6-13
        >> stderr=<<fatal error: runtime: cannot allocate memory
        
        runtime stack:
        runtime.throw({0x7ff65320093e?, 0x239bedb91a8?})
        	C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.1.windows-arm64/src/runtime/panic.go:1067 +0x38 fp=0x54f0dff6e0 sp=0x54f0dff6b0 pc=0x7ff652654788
...
        golang.org/x/tools/gopls/internal/cache.(*analysisNode).run.func1()
        	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo1381114845/gopls/internal/cache/analysis.go:820 +0x54 fp=0x400018bf60 sp=0x400018bf00 pc=0x7ff652db3744
        golang.org/x/sync/errgroup.(*Group).Go.func1()
        	C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x54 fp=0x400018bfd0 sp=0x400018bf60 pc=0x7ff652a74424
        runtime.goexit({})
        	C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.1.windows-arm64/src/runtime/asm_arm64.s:1223 +0x4 fp=0x400018bfd0 sp=0x400018bfd0 pc=0x7ff65265d7e4
        created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1537
        	C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x98
        >>)
--- FAIL: TestHighlight (9.18s)

watchflakes

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone 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