Skip to content

x/tools/gopls/internal/cmd: TestCodeLens failures #69666

@gopherbot

Description

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

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestCodeLens
=== PAUSE TestCodeLens
=== CONT  TestCodeLens
    integration_test.go:236: gopls codelens -exec ./a/a_test.go:4 run test: stderr does not match [FAIL	example.com/a]; got <<2024/09/22 23:29:05 Error:2024/09/22 23:29:05 go/packages.Load #1: err: exit status 2: stderr: fatal error: runtime: cannot allocate memory
        
        runtime stack:
        runtime.throw({0x7ff78be01328?, 0x0?})
        	runtime/panic.go:1067 +0x38 fp=0x28a7bff970 sp=0x28a7bff940 pc=0x7ff78b7dfc18
        runtime.persistentalloc1(0x10d0, 0x4000057008?, 0x7ff78c319b78)
        	runtime/malloc.go:1609 +0x284 fp=0x28a7bff9c0 sp=0x28a7bff970 pc=0x7ff78b77f5b4
...
        cmd/go/internal/par.(*Queue).Add.func1()
        	cmd/go/internal/par/queue.go:56 fp=0x40001a3fd0 sp=0x40001a3fd0 pc=0x7ff78b9493f0
        runtime.goexit({})
        	runtime/asm_arm64.s:1223 +0x4 fp=0x40001a3fd0 sp=0x40001a3fd0 pc=0x7ff78b7e8284
        created by cmd/go/internal/par.(*Queue).Add in goroutine 7
        	cmd/go/internal/par/queue.go:56 +0x198
        
        gopls: no code lens at .\a\a_test.go:4 with title "run test"
        >>
--- FAIL: TestCodeLens (46.74s)

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