Skip to content

x/tools/gopls/internal/cmd: TestExecute failures #75392

@gopherbot

Description

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

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestExecute
=== PAUSE TestExecute
=== CONT  TestExecute
    integration_test.go:368: gopls execute -d gopls.add_import {"ImportPath": "fmt", "URI": "file://C:/Users/swarming/.swarming/w/ir/x/t/TestExecute2463710641/001/hello.go"}: exited with code 2, want success: true (gopls execute -d gopls.add_import {"ImportPath": "fmt", "URI": "file://C:/Users/swarming/.swarming/w/ir/x/t/TestExecute2463710641/001/hello.go"}: exit=2 stdout=<<>> stderr=<<runtime: VirtualAlloc of 8192 bytes failed with errno=1455
        fatal error: out of memory
        
        runtime stack:
        runtime.throw({0x7ff7af520caa?, 0x72cffff7c0?})
        	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:1227 +0x34 fp=0x72cffff780 sp=0x72cffff750 pc=0x7ff7ae7d9a54
        runtime.sysUsedOS(0x4007452000, 0x2000)
...
        	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo2268394931/gopls/internal/server/general.go:359 +0x40 fp=0x4000045fa0 sp=0x4000045f40 pc=0x7ff7af131290
        sync.(*WaitGroup).Go.func1()
        	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/sync/waitgroup.go:239 +0x4c fp=0x4000045fd0 sp=0x4000045fa0 pc=0x7ff7ae7f003c
        runtime.goexit({})
        	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_arm64.s:1268 +0x4 fp=0x4000045fd0 sp=0x4000045fd0 pc=0x7ff7ae7e1b44
        created by sync.(*WaitGroup).Go in goroutine 1
        	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/sync/waitgroup.go:237 +0x70
        >>)
    integration_test.go:369: gopls execute -d gopls.add_import {"ImportPath": "fmt", "URI": "file://C:/Users/swarming/.swarming/w/ir/x/t/TestExecute2463710641/001/hello.go"}: stdout does not match [[+]import "fmt"]; got <<>>
--- FAIL: TestExecute (15.26s)

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

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions