Skip to content

x/tools/gopls: syscall.StartProcess stuck after 18 minutes #79604

Description

@gopherbot
#!watchflakes
default <- pkg ~ `gopls` && output ~ `syscall.StartProcess` && output ~ `syscall, .* minutes`

Test was hanging for 18 minutes during a call to syscall.StartProcess, suggesting resource exhaustion, scheduling problem, etc.

This might have been caused by this issue: #79804 which has a fix merged.

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestRenamePackage_Tests/default
panic: test timed out after 20m0s
	running tests:
		TestRenamePackage_Tests (18m23s)
		TestRenamePackage_Tests/default (18m23s)

goroutine 158586 [running]:
testing.(*M).startAlarm.func1()
	/Users/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2956 +0x490
created by time.goFunc
...
encoding/json/jsontext.(*Decoder).ReadValue(...)
	/Users/swarming/.swarming/w/ir/x/w/goroot/src/encoding/json/jsontext/decode.go:674
encoding/json.(*Decoder).Decode(0xc007ea4660, {0x104f0cac8, 0xc019e3dbf0})
	/Users/swarming/.swarming/w/ir/x/w/goroot/src/encoding/json/v2_stream.go:74 +0x6c
golang.org/x/tools/internal/jsonrpc2.(*rawStream).Read(0xc01057e1e0, {0x1051a4a18, 0xc00f99e190})
	/Users/swarming/.swarming/w/ir/x/w/targetrepo74848966/internal/jsonrpc2/stream.go:61 +0xac
golang.org/x/tools/internal/jsonrpc2.(*conn).run(0xc00f99e230, {0x1051a4a18, 0xc00f99e190}, 0xc01057e228)
	/Users/swarming/.swarming/w/ir/x/w/targetrepo74848966/internal/jsonrpc2/conn.go:207 +0xcc
created by golang.org/x/tools/internal/jsonrpc2.(*conn).Go in goroutine 154769
	/Users/swarming/.swarming/w/ir/x/w/targetrepo74848966/internal/jsonrpc2/conn.go:200 +0x104

watchflakes

Metadata

Metadata

Assignees

No one assigned

    Labels

    AutomationIssues created by gopherbot or watchflakes automation.ToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Active

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions