Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone 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.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.
Milestone
Description
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestDefinition" && `paging file is too small for this operation to complete`
Issue created automatically to collect these failures.
Example (log):
=== RUN TestDefinition
=== PAUSE TestDefinition
=== CONT TestDefinition
integration_test.go:291: gopls definition a.go:7:2: exited with code 2, want success: true (gopls definition a.go:7:2: exit=2 stdout=<<>> stderr=<<Error: Error loading workspace folders (expected 1, got 0)
failed to load view for file:///C:/Users/swarming/.swarming/w/ir/x/t/TestDefinition856610601/001: err: fork/exec C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin\go.exe: The paging file is too small for this operation to complete.: stderr:
Error: Error loading workspace folders (expected 1, got 0)
failed to load view for file:///C:/Users/swarming/.swarming/w/ir/x/t/TestDefinition856610601/001: err: fork/exec C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin\go.exe: The paging file is too small for this operation to complete.: stderr:
gopls: .\a.go:7:2: no views
...
fatal error: out of memory
runtime stack:
runtime.throw({0x7ff67aac0caa?, 0xd683ffc30?})
C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:1227 +0x34 fp=0xd683ffbf0 sp=0xd683ffbc0 pc=0x7ff679d799e4
runtime.sysUsedOS(0x4000256000, 0x2000)
C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mem_windows.go:83 +0x194 fp=0xd683ffc70 sp=0xd683ffbf0 pc=0x7ff679d1dfc4
runtime.sysUsed(...)
C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mem.go:85
runtime.(*mheap).allocSpan(0x7ff67b756180, 0x1, 0x0, 0x2a)
...
runtime.goexit({})
C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_arm64.s:1268 +0x4 fp=0x40000a9fd0 sp=0x40000a9fd0 pc=0x7ff679d81ad4
created by runtime.gcBgMarkStartWorkers in goroutine 1
C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mgc.go:1373 +0x140
>>)
integration_test.go:298: gopls definition a.go:4:7: stdout does not match [print.go.* defined here as func fmt.Println]; got <<>>
integration_test.go:299: gopls definition a.go:4:7: stdout does not match [Println formats using the default formats for its operands]; got <<>>
integration_test.go:304: gopls definition -json -markdown a.go:4:7: exited with code -1, want success: true (gopls definition -json -markdown a.go:4:7: exit=-1 stdout=<<>> stderr=<<fork/exec C:\Users\swarming\.swarming\w\ir\x\t\go-build2136575071\b763\cmd.test.exe: The paging file is too small for this operation to complete.>>)
integration_test.go:1241: invalid JSON unexpected end of JSON input
--- FAIL: TestDefinition (5.56s)
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone 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.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.
Type
Projects
- StatusShow more project fieldsDone
Activity
gopherbot commentedon Sep 11, 2025
Found new dashboard test flakes for:
2025-09-11 02:24 x_tools-gotip-windows-arm64 tools@9ac18109 go@5cf8ca42 x/tools/gopls/internal/cmd.TestDefinition (log)
— watchflakes
gopherbot commentedon Sep 11, 2025
Found new dashboard test flakes for:
2025-09-10 19:41 x_tools-gotip-windows-arm64 tools@3ea42bf2 go@2009e6c5 x/tools/gopls/internal/cmd.TestDefinition (log)
— watchflakes
gopherbot commentedon Sep 11, 2025
Found new dashboard test flakes for:
2025-09-11 02:24 x_tools-gotip-windows-arm64 tools@9ac18109 go@253dd08f x/tools/gopls/internal/cmd.TestDefinition (log)
— watchflakes
gopherbot commentedon Oct 29, 2025
Found new dashboard test flakes for:
2025-10-29 01:19 x_tools-gotip-darwin-arm64-longtest tools@1385a78d go@041f564b x/tools/gopls/internal/cmd.TestDefinition (log)
— watchflakes
[-]x/tools/gopls/internal/cmd: TestDefinition failures[/-][+]x/tools/gopls/internal/cmd: TestDefinition failures (Windows virtual memory exhaustion)[/+]adonovan commentedon Oct 29, 2025
The recent failure has a different cause; splitting into its own issue.