-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed as not planned
Labels
NeedsInvestigationSomeone 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 == "TestImports"
Issue created automatically to collect these failures.
Example (log):
=== RUN TestImports
=== PAUSE TestImports
=== CONT TestImports
integration_test.go:566: gopls imports a.go: exited with code 2, want success: true (gopls imports a.go: 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/TestImports587800038/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/TestImports587800038/001: err: exit status 2: stderr: runtime: VirtualAlloc of 73728 bytes failed with errno=1455
fatal error: out of memory
...
runtime.schedinit()
runtime/proc.go:867 +0xf8 fp=0x92357ffb90 sp=0x92357ffb40 pc=0x7ff7313247e8
runtime.rt0_go()
runtime/asm_arm64.s:121 +0xac fp=0x92357ffbc0 sp=0x92357ffb90 pc=0x7ff73135b1ac
gopls: .\a.go: no views
>>)
integration_test.go:575: gopls imports -diff a.go: stdout does not match [\+import "fmt"]; got <<>>
--- FAIL: TestImports (8.78s)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
NeedsInvestigationSomeone 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.