Skip to content

x/tools/gopls/internal/cmd: TestCheck failures #69665

@gopherbot

Description

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

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestCheck
=== PAUSE TestCheck
=== CONT  TestCheck
    integration_test.go:125: gopls check ./a.go: exited with code 2, want success: true (gopls check ./a.go: exit=2 stdout=<<>> stderr=<<runtime: VirtualAlloc of 100007936 bytes failed with errno=1455
        fatal error: out of memory
        
        runtime stack:
        runtime.throw({0x7ff73d99dd24?, 0x400313e000?})
        	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:1067 +0x38 fp=0xae9cdffc00 sp=0xae9cdffbd0 pc=0x7ff73ce347d8
        runtime.sysUsedOS(0x4000500000, 0x5f60000)
...
        fatal error: out of memory
        
        runtime stack:
        runtime.throw({0x7ff73d99dd24?, 0x4002ea3000?})
        	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:1067 +0x38 fp=0x6dbb3ffba0 sp=0x6dbb3ffb70 pc=0x7ff73ce347d8
        runtime.sysUsedOS(0x400049c000, 0x5f60000)
        	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mem_windows.go:83 +0x178 fp=0x6dbb3ffc00 sp=0x6dbb3ffba0 pc=0x7ff73cdd6a68
        runtime.sysUsed(...)
        	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mem.go:77
        runtime.(*mheap).allocSpan(0x7ff73e399e80, 0x2fb0, 0x0, 0x1)
...
        runtime.unique_runtime_registerUniqueMapCleanup.gowrap1()
        	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mgc.go:1735 +0x3c fp=0x4000495fd0 sp=0x4000495fa0 pc=0x7ff73cddc91c
        runtime.goexit({})
        	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_arm64.s:1223 +0x4 fp=0x4000495fd0 sp=0x4000495fd0 pc=0x7ff73ce3d834
        created by unique.runtime_registerUniqueMapCleanup in goroutine 1
        	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mgc.go:1730 +0xa0
        >>)
    integration_test.go:133: gopls check ./a.go ./b.go: stdout does not match [a.go:.* fmt.Sprintf format %s has arg 123 of wrong type int]; got <<>>
    integration_test.go:134: gopls check ./a.go ./b.go: stdout does not match [b.go:.* fmt.Sprintf format %d has arg "123" of wrong type string]; got <<>>
--- FAIL: TestCheck (6.36s)

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