Skip to content

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

@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:237: gopls codelens ./a/a_test.go: exited with code 2, want success: true (gopls codelens ./a/a_test.go: exit=2 stdout=<<.\a\a_test.go:3: "run test" [gopls.run_tests]
        .\a\a_test.go:4: "run test" [gopls.run_tests]
        >> stderr=<<runtime: failed to create new OS thread (have 53 already; errno=1450)
        fatal error: runtime.newosproc
        
        runtime stack:
        runtime.throw({0x7ff7e60f4191?, 0x0?})
...
        runtime/trace.WithRegion({0x7ff7e63e92b0?, 0x4012ed01e0?}, {0x40086fa2c0, 0x1c}, 0x40002f3f78)
        	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0xc0 fp=0x4012efff10 sp=0x4012effea0 pc=0x7ff7e55b06e0
        golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo3195983988/internal/memoize/memoize.go:180 +0xd0 fp=0x4012efffd0 sp=0x4012efff10 pc=0x7ff7e5ba2cc0
        runtime.goexit({})
        	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_arm64.s:1266 +0x4 fp=0x4012efffd0 sp=0x4012efffd0 pc=0x7ff7e54ee584
        created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 3793
        	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo3195983988/internal/memoize/memoize.go:179 +0x180
        >>)
--- FAIL: TestCodeLens (23.34s)

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