Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/build: timeout on LUCI netbsd-arm64 builder #65313

Closed
cherrymui opened this issue Jan 26, 2024 · 15 comments
Closed

x/build: timeout on LUCI netbsd-arm64 builder #65313

cherrymui opened this issue Jan 26, 2024 · 15 comments
Labels
Builders x/build issues (builders, bots, dashboards) NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@cherrymui
Copy link
Member

cherrymui commented Jan 26, 2024

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-netbsd-arm64` && (`test timed out` || `SIGQUIT` || `context deadline exceeded` || status == "ABORT")  && date < "2024-02-22"

It mostly times out on the tools repo.

@gopherbot gopherbot added the Builders x/build issues (builders, bots, dashboards) label Jan 26, 2024
@gopherbot gopherbot added this to the Unreleased milestone Jan 26, 2024
@cherrymui cherrymui added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Jan 26, 2024
@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-netbsd-arm64` && (`test timed out` || `SIGQUIT` || `context deadline exceeded` || status == "ABORT")
2023-12-31 00:45 x_tools-go1.22-netbsd-arm64 tools@1f94566f release-branch.go1.22@fa72f3e0 x/tools/gopls/internal/test/integration/misc.TestRunGovulncheck_Expiry/default [ABORT] (log)
=== RUN   TestRunGovulncheck_Expiry/default
panic: test timed out after 10m0s
running tests:
	TestRunGovulncheck_Expiry (4s)
	TestRunGovulncheck_Expiry/default (3s)

goroutine 57570 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
...
net.(*TCPListener).Accept(0x40024321c0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:327 +0x2c
net/http.(*Server).Serve(0x400d254690, {0xe86ca0, 0x40024321c0})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:3255 +0x2a8
net/http.Serve(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:2794
golang.org/x/tools/gopls/internal/debug.(*Instance).Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo423873134/gopls/internal/debug/serve.go:486 +0xa34
created by golang.org/x/tools/gopls/internal/debug.(*Instance).Serve in goroutine 4662
	/home/swarming/.swarming/w/ir/x/w/targetrepo423873134/gopls/internal/debug/serve.go:446 +0x388
2024-01-02 13:13 x_tools-go1.21-netbsd-arm64 tools@a08f286e release-branch.go1.21@bbab863a x/tools/gopls/internal/test/integration/misc.TestRunGovulncheck_Expiry/default [ABORT] (log)
=== RUN   TestRunGovulncheck_Expiry/default
panic: test timed out after 10m0s
running tests:
	TestRunGovulncheck_Expiry (19s)
	TestRunGovulncheck_Expiry/default (18s)

goroutine 56427 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
...
net.(*TCPListener).Accept(0x4004c866c0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:315 +0x2c
net/http.(*Server).Serve(0x40036a6000, {0xe4b4c0, 0x4004c866c0})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:3056 +0x2b8
net/http.Serve(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:2595
golang.org/x/tools/gopls/internal/debug.(*Instance).Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo2712565861/gopls/internal/debug/serve.go:486 +0xb30
created by golang.org/x/tools/gopls/internal/debug.(*Instance).Serve in goroutine 4435
	/home/swarming/.swarming/w/ir/x/w/targetrepo2712565861/gopls/internal/debug/serve.go:446 +0x3b0
2024-01-03 10:09 x_tools-go1.22-netbsd-arm64 tools@5e6f314f release-branch.go1.22@fa72f3e0 x/tools/go/packages.TestOverlay [ABORT] (log)
=== RUN   TestOverlay/Modules
=== PAUSE TestOverlay/Modules
=== CONT  TestOverlay/Modules
    invoke.go:268: 243.461578ms for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modcache GO111MODULE=off GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 119.589945ms for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modcache GO111MODULE=on GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 1.161605313s for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modcache GO111MODULE=on GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/fake go list -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- golang.org/fake/a
    invoke.go:268: 380.574165ms for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modcache GO111MODULE=off GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 600.38958ms for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modcache GO111MODULE=on GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 340.6639ms for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modcache GO111MODULE=on GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/fake go list -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- golang.org/fake/a
    invoke.go:268: 74.496408ms for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modcache GO111MODULE=off GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 345.781858ms for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modcache GO111MODULE=on GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 797.850096ms for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modcache GO111MODULE=on GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/fake go list -overlay=/home/swarming/.swarming/w/ir/x/t/gopackages-2055998350/overlay.json -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- golang.org/fake/a
    invoke.go:268: 328.214826ms for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modcache GO111MODULE=on GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 613.504017ms for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modcache GO111MODULE=off GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 456.829533ms for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modcache GO111MODULE=on GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/fake go list -overlay=/home/swarming/.swarming/w/ir/x/t/gopackages-57960478/overlay.json -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- golang.org/fake/a
    invoke.go:268: 461.793308ms for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modcache GO111MODULE=off GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 547.31951ms for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modcache GO111MODULE=on GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 713.30403ms for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modcache GO111MODULE=on GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/fake go list -overlay=/home/swarming/.swarming/w/ir/x/t/gopackages-3891496019/overlay.json -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- golang.org/fake/a
    invoke.go:268: 186.953955ms for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modcache GO111MODULE=off GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 132.865952ms for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modcache GO111MODULE=on GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 3.863684348s for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modcache GO111MODULE=on GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestOverlay_Modules1772997305/fake go list -overlay=/home/swarming/.swarming/w/ir/x/t/gopackages-3656479102/overlay.json -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- golang.org/fake/a
2024-01-03 10:09 x_tools-go1.22-netbsd-arm64 tools@5e6f314f release-branch.go1.22@fa72f3e0 x/tools/internal/gcimporter.TestStdlib [ABORT] (log)
=== RUN   TestStdlib
panic: test timed out after 10m0s
running tests:
	TestStdlib (8m55s)

goroutine 6931 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:177 +0x38
...
golang.org/x/tools/go/packages.Visit.func1(0x40009cf080)
	/home/swarming/.swarming/w/ir/x/w/targetrepo559260801/go/packages/visit.go:38 +0x134
golang.org/x/tools/go/packages.Visit({0x4011821008, 0x1f1, 0x2?}, 0x0, 0x40004f1f30)
	/home/swarming/.swarming/w/ir/x/w/targetrepo559260801/go/packages/visit.go:43 +0xcc
golang.org/x/tools/internal/gcimporter_test.TestStdlib(0x40002611e0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo559260801/internal/gcimporter/stdlib_test.go:61 +0x1e8
testing.tRunner(0x40002611e0, 0x33cdc0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1689 +0xec
created by testing.(*T).Run in goroutine 1
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1742 +0x318
2024-01-03 10:09 x_tools-go1.22-netbsd-arm64 tools@5e6f314f release-branch.go1.22@fa72f3e0 x/tools/internal/imports.TestReadFromFilesystem [ABORT] (log)
=== RUN   TestReadFromFilesystem/works/Modules
panic: test timed out after 10m0s
running tests:
	TestReadFromFilesystem (0s)
	TestReadFromFilesystem/works (0s)
	TestReadFromFilesystem/works/Modules (0s)

goroutine 628 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
...
os.(*file).close(0x400037c2a0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_unix.go:315 +0x98
os.(*File).Close(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_posix.go:23
os/exec.(*Cmd).writerDescriptor.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec/exec.go:578 +0x60
os/exec.(*Cmd).Start.func2(0x40004b4680?)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec/exec.go:724 +0x34
created by os/exec.(*Cmd).Start in goroutine 569
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec/exec.go:723 +0x7cc
2024-01-03 10:09 x_tools-gotip-netbsd-arm64 tools@5e6f314f go@c95fe91d x/tools/gopls/internal/test/integration/diagnostics.TestIssue44736/default [ABORT] (log)
=== RUN   TestIssue44736/default
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
panic: detected hanging go command (pid 11719): see golang/go#54461 for more details

goroutine 43867 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x40024b9770)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1646811552/internal/gocommand/invoke.go:442 +0x378
golang.org/x/tools/internal/gocommand.runCmdContext({0xe1c340, 0x4006446930}, 0x400864c6e0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1646811552/internal/gocommand/invoke.go:375 +0x354
golang.org/x/tools/internal/gocommand.(*Invocation).run(0x4001a05f78, {0xe1c340, 0x4006446930}, {0xe135e0, 0x4006446a50}, {0xe135e0, 0x4006446a80})
	/home/swarming/.swarming/w/ir/x/w/targetrepo1646811552/internal/gocommand/invoke.go:270 +0xd4c
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x4001a05f40?, {0xe1c340, 0x4006446930}, {0xe135e0?, 0x4006446a50?}, {0xe135e0, 0x4006446a80})
...
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0x4007ccef00, {0xe1c378, 0x40022fd040}, 0x1, {0x4007dd1180, 0x2, 0x4007773d38?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo1646811552/gopls/internal/lsp/cache/load.go:136 +0xaa4
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).loadWorkspace(0x4007ccef00, {0xe1c378, 0x40022fd040}, 0x1)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1646811552/gopls/internal/lsp/cache/view.go:727 +0x1dc
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0x4007ccef00, {0xe1c378, 0x40022fd040}, 0x1)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1646811552/gopls/internal/lsp/cache/view.go:638 +0x1a0
golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
	/home/swarming/.swarming/w/ir/x/w/targetrepo1646811552/gopls/internal/lsp/cache/session.go:227 +0x44
created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 44003
	/home/swarming/.swarming/w/ir/x/w/targetrepo1646811552/gopls/internal/lsp/cache/session.go:225 +0xa40
2024-01-03 10:09 x_tools-gotip-netbsd-arm64 tools@5e6f314f go@c95fe91d x/tools/gopls/internal/test/integration/misc.TestRenamePackage_InternalPackage/default [ABORT] (log)
=== RUN   TestRenamePackage_InternalPackage/default
    rename_test.go:895: context deadline exceeded
#### Start Gopls Test Logs for "TestRenamePackage_InternalPackage/default"
[Trace - 12:03:19.185 PM] Sending request 'initialize - (1)'.
Params: {"processId":0,"rootUri":"","capabilities":{"workspace":{"workspaceEdit":{"resourceOperations":["rename"]},"didChangeConfiguration":{},"didChangeWatchedFiles":{"dynamicRegistration":true},"configuration":true},"textDocument":{"completion":{"completionItem":{"snippetSupport":true,"tagSupport":{"valueSet":[1]}}},"documentSymbol":{"hierarchicalDocumentSymbolSupport":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":null}}},"publishDiagnostics":{},"semanticTokens":{"requests":{"full":true},"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":null}},"window":{"workDoneProgress":true}},"initializationOptions":{"completionBudget":"0s","diagnosticsDelay":"10ms","env":{"GO111MODULE":"","GOMODCACHE":"","GOPACKAGESDRIVER":"off","GOPATH":"/home/swarming/.swarming/w/ir/x/t/gopls-test-755129211/TestRenamePackage_InternalPackage/default/gopath","GOPROXY":"file:///home/swarming/.swarming/w/ir/x/t/gopls-test-755129211/TestRenamePackage_InternalPackage/default/proxy","GOSUMDB":"off"},"verboseWorkDoneProgress":true},"trace":"messages","workspaceFolders":[{"uri":"file:///home/swarming/.swarming/w/ir/x/t/gopls-test-755129211/TestRenamePackage_InternalPackage/default/work","name":"work"}]}


[Trace - 12:03:19.350 PM] Received response 'initialize - (1)' in 164ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":true,"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"renameProvider":true,"foldingRangeProvider":true,"selectionRangeProvider":true,"executeCommandProvider":{"commands":["gopls.add_dependency","gopls.add_import","gopls.add_telemetry_counters","gopls.apply_fix","gopls.change_signature","gopls.check_upgrades","gopls.diagnose_files","gopls.edit_go_directive","gopls.fetch_vulncheck_result","gopls.gc_details","gopls.generate","gopls.go_get_package","gopls.list_imports","gopls.list_known_packages","gopls.maybe_prompt_for_telemetry","gopls.mem_stats","gopls.regenerate_cgo","gopls.remove_dependency","gopls.reset_go_mod_diagnostics","gopls.run_go_work_command","gopls.run_govulncheck","gopls.run_tests","gopls.start_debugging","gopls.start_profile","gopls.stop_profile","gopls.test","gopls.tidy","gopls.toggle_gc_details","gopls.update_go_sum","gopls.upgrade_dependency","gopls.vendor","gopls.views","gopls.workspace_stats"]},"callHierarchyProvider":true,"semanticTokensProvider":{"legend":{"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"]},"range":true,"full":true},"inlayHintProvider":{},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"{\"GoVersion\":\"devel c95fe91d0715dc0a8d55ac80a80f383c3635548b\",\"Path\":\"\",\"Main\":{\"Path\":\"\",\"Version\":\"\",\"Sum\":\"\",\"Replace\":null},\"Deps\":null,\"Settings\":null,\"Version\":\"(unknown)\"}"}}

...
panic: test timed out after 10m0s
running tests:
	TestRenamePackage_InternalPackage (8s)
	TestRenamePackage_InternalPackage/default (8s)

goroutine 48474 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:177 +0x38
...
golang.org/x/tools/internal/jsonrpc2.Serve({0xe98660, 0x400555f9b0}, {0xe975a0, 0x4005394e20}, {0xe8f9a0, 0x400555fa10}, 0x0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1646811552/internal/jsonrpc2/serve.go:112 +0x234
created by golang.org/x/tools/internal/jsonrpc2/servertest.NewTCPServer in goroutine 4588
	/home/swarming/.swarming/w/ir/x/w/targetrepo1646811552/internal/jsonrpc2/servertest/servertest.go:47 +0xe4

goroutine 47409 [select]:
golang.org/x/tools/gopls/internal/lsp/cache.(*parseCache).gc(0x400156fc70)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1646811552/gopls/internal/lsp/cache/parse_cache.go:262 +0xa8
created by golang.org/x/tools/gopls/internal/lsp/cache.newParseCache in goroutine 47372
	/home/swarming/.swarming/w/ir/x/w/targetrepo1646811552/gopls/internal/lsp/cache/parse_cache.go:119 +0xc4
2024-01-03 12:29 x_tools-gotip-netbsd-arm64 tools@a863a4fc go@ead47b0a x/tools/gopls/internal/test/integration/misc.TestInconsistentVendoring [ABORT] (log)
=== RUN   TestInconsistentVendoring
panic: test timed out after 10m0s
running tests:
	TestInconsistentVendoring (1m32s)

goroutine 54826 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:177 +0x38
...
testing.tRunner(0x4006f4fa00, 0xd532b8)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1695 +0x118
created by testing.(*T).Run in goroutine 1
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1742 +0x318

goroutine 4589 [select, 9 minutes]:
golang.org/x/tools/internal/jsonrpc2.Serve({0xe986a0, 0x40078fef00}, {0xe975e0, 0x4004e72e80}, {0xe8f9e0, 0x40078fef60}, 0x0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3791769925/internal/jsonrpc2/serve.go:112 +0x234
created by golang.org/x/tools/internal/jsonrpc2/servertest.NewTCPServer in goroutine 4588
	/home/swarming/.swarming/w/ir/x/w/targetrepo3791769925/internal/jsonrpc2/servertest/servertest.go:47 +0xe4
2024-01-04 21:37 go1.21-netbsd-arm64 release-branch.go1.21@f6b203c8 cmd/go.TestScript [ABORT] (log)
=== RUN   TestScript/mod_list_sums
=== PAUSE TestScript/mod_list_sums
=== CONT  TestScript/mod_list_sums
panic: test timed out after 9m0s
running tests:
	TestScript (8m59s)
	TestScript/mod_list_sums (0s)
	TestScript/mod_list_test (0s)
	TestScript/mod_list_upgrade (0s)
	TestScript/mod_load_badchain (0s)
...
cmd/go_test.TestScript.func3(0x400074c340)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/cmd/go/script_test.go:157 +0x498 fp=0x4000457f60 sp=0x4000457e10 pc=0x2006cdce8
testing.tRunner(0x400074c340, 0x4000552870)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1595 +0xe8 fp=0x4000457fb0 sp=0x4000457f60 pc=0x20022a0c8
testing.(*T).Run.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1648 +0x2c fp=0x4000457fd0 sp=0x4000457fb0 pc=0x20022aedc
runtime.goexit()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_arm64.s:1197 +0x4 fp=0x4000457fd0 sp=0x4000457fd0 pc=0x200171e44
created by testing.(*T).Run in goroutine 95
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1648 +0x33c
2024-01-05 14:42 x_tools-go1.22-netbsd-arm64 tools@78257367 release-branch.go1.22@fa72f3e0 x/tools/gopls/internal/test/integration/misc.TestInconsistentVendoring/default [ABORT] (log)
=== RUN   TestInconsistentVendoring/default
panic: test timed out after 10m0s
running tests:
	TestInconsistentVendoring (9s)
	TestInconsistentVendoring/default (9s)

goroutine 55337 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
...
golang.org/x/tools/gopls/internal/test/integration/fake.(*Sandbox).Close(0x4003bd4b40)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1390669620/gopls/internal/test/integration/fake/sandbox.go:292 +0x9c
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo1390669620/gopls/internal/test/integration/runner.go:206 +0x34
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1(0x4006111d40)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1390669620/gopls/internal/test/integration/runner.go:255 +0x9fc
testing.tRunner(0x4006111d40, 0x400ab9d950)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1689 +0xec
created by testing.(*T).Run in goroutine 55179
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1742 +0x318
2024-01-05 15:13 x_tools-gotip-netbsd-arm64 tools@920d665b go@1ae729e6 x/tools/gopls/internal/test/integration/misc.TestRunVulncheckPackageDiagnostics/imports/default [ABORT] (log)
=== RUN   TestRunVulncheckPackageDiagnostics/imports/default
panic: test timed out after 10m0s
running tests:
	TestRunVulncheckPackageDiagnostics (1s)
	TestRunVulncheckPackageDiagnostics/imports (0s)
	TestRunVulncheckPackageDiagnostics/imports/default (0s)

goroutine 57752 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
...
net.(*TCPListener).Accept(0x400440ade0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:327 +0x2c
net/http.(*Server).Serve(0x4002dafa40, {0xe86da0, 0x400440ade0})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:3255 +0x2a8
net/http.Serve(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:2794
golang.org/x/tools/gopls/internal/debug.(*Instance).Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo324364046/gopls/internal/debug/serve.go:486 +0xa34
created by golang.org/x/tools/gopls/internal/debug.(*Instance).Serve in goroutine 4692
	/home/swarming/.swarming/w/ir/x/w/targetrepo324364046/gopls/internal/debug/serve.go:446 +0x388
2024-01-05 15:29 x_tools-go1.20-netbsd-arm64 tools@3e8a0a3b release-branch.go1.20@5c38c049 x/tools/gopls/internal/test/integration/misc.TestTelemetryPrompt_Conditions/telemetryPrompt=false/initial_mode=local/default [ABORT] (log)
=== RUN   TestTelemetryPrompt_Conditions/telemetryPrompt=false/initial_mode=local/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/01/05 21:56:11 go info for /home/swarming/.sw...
        
...
panic: test timed out after 10m0s
running tests:
	TestTelemetryPrompt_Conditions (1m17s)
	TestTelemetryPrompt_Conditions/telemetryPrompt=false (32s)
	TestTelemetryPrompt_Conditions/telemetryPrompt=false/initial_mode=local (3s)
	TestTelemetryPrompt_Conditions/telemetryPrompt=false/initial_mode=local/default (3s)

goroutine 34847 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2241 +0x31c
...

goroutine 34790 [chan receive]:
testing.(*T).Run(0x400805da00, {0x40082002e8?, 0x40010f4f08?}, 0x4000eb9248)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1630 +0x384
golang.org/x/tools/gopls/internal/test/integration/misc.TestTelemetryPrompt_Conditions.func1(0x4007fd7940?)
	/home/swarming/.swarming/w/ir/x/w/targetrepo990472568/gopls/internal/test/integration/misc/prompt_test.go:37 +0xa4
testing.tRunner(0x400805da00, 0x4007e79eb0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1576 +0x104
created by testing.(*T).Run
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1629 +0x370
2024-01-05 17:34 x_tools-gotip-netbsd-arm64 tools@ba8672b5 go@8088b6db x/tools/go/packages.TestIssue32814 [ABORT] (log)
=== RUN   TestIssue32814/Modules
=== PAUSE TestIssue32814/Modules
=== CONT  TestIssue32814/Modules
    invoke.go:268: 47.112562ms for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestIssue32814_Modules3995234186/modcache GO111MODULE=on GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestIssue32814_Modules3995234186/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestIssue32814_Modules3995234186/fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 374.87945ms for GOROOT= GOPATH=/home/swarming/.swarming/w/ir/x/t/TestIssue32814_Modules3995234186/modcache GO111MODULE=off GOPROXY=file:///home/swarming/.swarming/w/ir/x/t/TestIssue32814_Modules3995234186/modproxy PWD=/home/swarming/.swarming/w/ir/x/t/TestIssue32814_Modules3995234186/fake go list -e -f {{context.ReleaseTags}} -- unsafe
panic: test timed out after 10m0s
running tests:
	TestCgoNoCcompiler/Modules (6m46s)
	TestInvalidFilesBeforeOverlayContains/Modules (9m19s)
	TestInvalidFilesBeforeOverlayContains/Modules/main (6m29s)
...
sync.(*Once).doSlow(0x401ed16d60, 0x4006d03760)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/sync/once.go:70 +0x90
sync.(*Once).Do(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/sync/once.go:65
golang.org/x/tools/go/packages.(*loader).loadRecursive(0x401ca63c08?, 0x401ca63c20?)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1886311479/go/packages/packages.go:856 +0x50
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1.1(0x0?)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1886311479/go/packages/packages.go:863 +0x30
created by golang.org/x/tools/go/packages.(*loader).loadRecursive.func1 in goroutine 18203
	/home/swarming/.swarming/w/ir/x/w/targetrepo1886311479/go/packages/packages.go:862 +0x84
2024-01-05 17:34 x_tools-gotip-netbsd-arm64 tools@ba8672b5 go@8088b6db x/tools/gopls/internal/test/integration/misc.TestRunGovulncheckError2 [ABORT] (log)
=== RUN   TestRunGovulncheckError2/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        
        #### diagnostics:
...
panic: test timed out after 10m0s
running tests:
	TestRunGovulncheckError2 (1m33s)
	TestRunGovulncheckError2/default (1m33s)

goroutine 55852 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:177 +0x38
...
os.(*File).WriteTo(0x4000d43f58?, {0xe7f060?, 0x4003e56930?})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file.go:247 +0x60
io.copyBuffer({0xe7f060, 0x4003e56930}, {0xe7ec60, 0x4009fc0bf0}, {0x0, 0x0, 0x0})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/io/io.go:411 +0x98
io.Copy(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/io/io.go:388
golang.org/x/tools/internal/gocommand.runCmdContext.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo1886311479/internal/gocommand/invoke.go:307 +0x4c
created by golang.org/x/tools/internal/gocommand.runCmdContext in goroutine 55846
	/home/swarming/.swarming/w/ir/x/w/targetrepo1886311479/internal/gocommand/invoke.go:306 +0x134
2024-01-05 17:34 x_tools-gotip-netbsd-arm64 tools@ba8672b5 go@8088b6db x/tools/internal/imports.TestModMultipleScansWithSubdirs [ABORT] (log)
=== RUN   TestModMultipleScansWithSubdirs
panic: test timed out after 10m0s
running tests:
	TestModMultipleScansWithSubdirs (0s)

goroutine 1728 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:177 +0x38
...
os.(*Process).wait(0x40000c25a0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:22 +0x2c
os.(*Process).Wait(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec.go:134
os/exec.(*Cmd).Wait(0x4000385340)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec/exec.go:897 +0x38
golang.org/x/tools/internal/gocommand.runCmdContext.func4()
	/home/swarming/.swarming/w/ir/x/w/targetrepo1886311479/internal/gocommand/invoke.go:362 +0x28
created by golang.org/x/tools/internal/gocommand.runCmdContext in goroutine 1724
	/home/swarming/.swarming/w/ir/x/w/targetrepo1886311479/internal/gocommand/invoke.go:361 +0x284
2024-01-05 21:50 x_tools-gotip-netbsd-arm64 tools@c9c95f97 go@881869dd x/tools/gopls/internal/test/integration/misc.TestWindowsVendoring_Issue56291/default [ABORT] (log)
=== RUN   TestWindowsVendoring_Issue56291/default
    vendor_test.go:94: go command failed (stdout: ) (stderr: ): signal: interrupt
#### Start Gopls Test Logs for "TestWindowsVendoring_Issue56291/default"
[Trace - 16:56:34.211 PM] Sending request 'initialize - (1)'.
Params: {"processId":0,"rootUri":"","capabilities":{"workspace":{"workspaceEdit":{"resourceOperations":["rename"]},"didChangeConfiguration":{},"didChangeWatchedFiles":{"dynamicRegistration":true},"configuration":true},"textDocument":{"completion":{"completionItem":{"snippetSupport":true,"tagSupport":{"valueSet":[1]}}},"documentSymbol":{"hierarchicalDocumentSymbolSupport":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":null}}},"publishDiagnostics":{},"semanticTokens":{"requests":{"full":true},"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":null}},"window":{"workDoneProgress":true}},"initializationOptions":{"completionBudget":"0s","diagnosticsDelay":"10ms","env":{"GO111MODULE":"","GOMODCACHE":"","GOPACKAGESDRIVER":"off","GOPATH":"/home/swarming/.swarming/w/ir/x/t/gopls-test-865256210/TestWindowsVendoring_Issue56291/default/gopath","GOPROXY":"file:///home/swarming/.swarming/w/ir/x/t/gopls-test-865256210/TestWindowsVendoring_Issue56291/default/proxy","GOSUMDB":"off"},"verboseWorkDoneProgress":true},"trace":"messages","workspaceFolders":[{"uri":"file:///home/swarming/.swarming/w/ir/x/t/gopls-test-865256210/TestWindowsVendoring_Issue56291/default/work","name":"work"}]}


[Trace - 16:56:34.261 PM] Received response 'initialize - (1)' in 50ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":true,"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"renameProvider":true,"foldingRangeProvider":true,"selectionRangeProvider":true,"executeCommandProvider":{"commands":["gopls.add_dependency","gopls.add_import","gopls.add_telemetry_counters","gopls.apply_fix","gopls.change_signature","gopls.check_upgrades","gopls.diagnose_files","gopls.edit_go_directive","gopls.fetch_vulncheck_result","gopls.gc_details","gopls.generate","gopls.go_get_package","gopls.list_imports","gopls.list_known_packages","gopls.maybe_prompt_for_telemetry","gopls.mem_stats","gopls.regenerate_cgo","gopls.remove_dependency","gopls.reset_go_mod_diagnostics","gopls.run_go_work_command","gopls.run_govulncheck","gopls.run_tests","gopls.start_debugging","gopls.start_profile","gopls.stop_profile","gopls.test","gopls.tidy","gopls.toggle_gc_details","gopls.update_go_sum","gopls.upgrade_dependency","gopls.vendor","gopls.views","gopls.workspace_stats"]},"callHierarchyProvider":true,"semanticTokensProvider":{"legend":{"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"]},"range":true,"full":true},"inlayHintProvider":{},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"{\"GoVersion\":\"devel 881869dde0ddddf37151137421cd53d0c537671e\",\"Path\":\"\",\"Main\":{\"Path\":\"\",\"Version\":\"\",\"Sum\":\"\",\"Replace\":null},\"Deps\":null,\"Settings\":null,\"Version\":\"(unknown)\"}"}}

...
panic: test timed out after 10m0s
running tests:
	TestWindowsVendoring_Issue56291 (3s)
	TestWindowsVendoring_Issue56291/default (3s)

goroutine 55213 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:177 +0x38
...
golang.org/x/tools/gopls/internal/lsp/lsprpc.(*StreamServer).ServeStream.ServerHandler.func3({0xe87ff8, 0x4000b1d4f0}, 0x4005b8a480, {0xe88148, 0x4006d9a7c0})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2630128557/gopls/internal/lsp/protocol/protocol.go:158 +0x74
golang.org/x/tools/gopls/internal/lsp/lsprpc.(*StreamServer).ServeStream.handshaker.func4({0xe87ff8, 0x4000b1d4f0}, 0x4005b8a480, {0xe88148, 0x4006d9a7c0})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2630128557/gopls/internal/lsp/lsprpc/lsprpc.go:521 +0x6e0
golang.org/x/tools/gopls/internal/lsp/protocol.Handlers.MustReplyHandler.func1({0xe87ff8, 0x4000b1d4f0}, 0x4004df7c08, {0xe88148, 0x4006d9a7c0})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2630128557/internal/jsonrpc2/handler.go:35 +0xc0
golang.org/x/tools/gopls/internal/lsp/protocol.Handlers.AsyncHandler.func2.2()
	/home/swarming/.swarming/w/ir/x/w/targetrepo2630128557/internal/jsonrpc2/handler.go:103 +0x90
created by golang.org/x/tools/gopls/internal/lsp/protocol.Handlers.AsyncHandler.func2 in goroutine 55013
	/home/swarming/.swarming/w/ir/x/w/targetrepo2630128557/internal/jsonrpc2/handler.go:100 +0x19c
2024-01-08 23:16 x_tools-go1.21-netbsd-arm64 tools@c95fa0ff release-branch.go1.21@d2cb1401 x/tools/gopls/internal/test/integration/misc.TestStaticcheckGenerics/default [ABORT] (log)
=== RUN   TestStaticcheckGenerics/default
    runner.go:224: initialize: context deadline exceeded
panic: test timed out after 10m0s
running tests:
	TestStaticcheckGenerics (2s)
	TestStaticcheckGenerics/default (2s)

goroutine 49549 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
...
golang.org/x/tools/gopls/internal/debug.(*Instance).Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo2078966946/gopls/internal/debug/serve.go:486 +0xb30
created by golang.org/x/tools/gopls/internal/debug.(*Instance).Serve in goroutine 4436
	/home/swarming/.swarming/w/ir/x/w/targetrepo2078966946/gopls/internal/debug/serve.go:446 +0x3b0

goroutine 49512 [select]:
golang.org/x/tools/gopls/internal/lsp/cache.(*parseCache).gc(0x4002c045a0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2078966946/gopls/internal/lsp/cache/parse_cache.go:262 +0xa8
created by golang.org/x/tools/gopls/internal/lsp/cache.newParseCache in goroutine 49557
	/home/swarming/.swarming/w/ir/x/w/targetrepo2078966946/gopls/internal/lsp/cache/parse_cache.go:119 +0xc4

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-netbsd-arm64` && (`test timed out` || `SIGQUIT` || `context deadline exceeded` || status == "ABORT")
2024-01-08 18:41 x_tools-go1.20-netbsd-arm64 tools@25a0e9d3 release-branch.go1.20@5c38c049 x/tools/gopls/internal/test/integration/diagnostics.TestIssue44736/default [ABORT] (log)
=== RUN   TestIssue44736/default
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
panic: detected hanging go command (pid 10168): see golang/go#54461 for more details

goroutine 42043 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x4002b1b740)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3929501465/internal/gocommand/invoke.go:442 +0x378
golang.org/x/tools/internal/gocommand.runCmdContext({0xda7fa8, 0x400b6353e0}, 0x4001ddd4a0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3929501465/internal/gocommand/invoke.go:375 +0x370
golang.org/x/tools/internal/gocommand.(*Invocation).run(0x4002c91e88, {0xda7fa8, 0x400b6353e0}, {0xd9f160?, 0x400b635530}, {0xd9f160?, 0x400b635560})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3929501465/internal/gocommand/invoke.go:270 +0xe08
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x4002c91e50?, {0xda7fa8, 0x400b6353e0}, {0xd9f160?, 0x400b635530?}, {0xd9f160?, 0x400b635560?})
...
golang.org/x/tools/go/packages.Load(0x4000166d00?, {0x4002d7e300, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3929501465/go/packages/packages.go:262 +0x48
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0x4000166d00, {0xda7f00, 0x400717f270}, 0x1, {0x4002d7e2e0, 0x2, 0x4001f8ce78?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3929501465/gopls/internal/lsp/cache/load.go:136 +0xaf0
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0x4000166d00, {0xda7f00, 0x400717f270}, 0x1)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3929501465/gopls/internal/lsp/cache/view.go:716 +0x36c
golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
	/home/swarming/.swarming/w/ir/x/w/targetrepo3929501465/gopls/internal/lsp/cache/session.go:227 +0x44
created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
	/home/swarming/.swarming/w/ir/x/w/targetrepo3929501465/gopls/internal/lsp/cache/session.go:225 +0xb00
2024-01-08 18:41 x_tools-go1.20-netbsd-arm64 tools@25a0e9d3 release-branch.go1.20@5c38c049 x/tools/gopls/internal/test/integration/misc.TestRenamePackage_DuplicateImport/default [ABORT] (log)
=== RUN   TestRenamePackage_DuplicateImport/default
panic: test timed out after 10m0s
running tests:
	TestRenamePackage_DuplicateImport (0s)
	TestRenamePackage_DuplicateImport/default (0s)

goroutine 43824 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2241 +0x31c
created by time.goFunc
...
net.(*TCPListener).Accept(0x4005f78198)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:297 +0x2c
net/http.(*Server).Serve(0x40020e2a50, {0xe13640, 0x4005f78198})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:3059 +0x2cc
net/http.Serve(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:2581
golang.org/x/tools/gopls/internal/debug.(*Instance).Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo3929501465/gopls/internal/debug/serve.go:486 +0x7a4
created by golang.org/x/tools/gopls/internal/debug.(*Instance).Serve
	/home/swarming/.swarming/w/ir/x/w/targetrepo3929501465/gopls/internal/debug/serve.go:446 +0x37c
2024-01-09 15:31 x_tools-go1.20-netbsd-arm64 tools@581c0b35 release-branch.go1.20@a95136a8 x/tools/gopls/internal/test/integration/misc.TestFetchVulncheckResultStd/default [ABORT] (log)
=== RUN   TestFetchVulncheckResultStd/default
panic: test timed out after 10m0s
running tests:
	TestFetchVulncheckResultStd (1s)
	TestFetchVulncheckResultStd/default (0s)

goroutine 53768 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2241 +0x31c
created by time.goFunc
...
net.(*netFD).accept(0x4008770900)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/fd_unix.go:172 +0x28
net.(*TCPListener).accept(0x400ad84198)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock_posix.go:148 +0x28
net.(*TCPListener).Accept(0x400ad84198)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:297 +0x2c
golang.org/x/tools/internal/jsonrpc2.Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo1633784756/internal/jsonrpc2/serve.go:76 +0x88
created by golang.org/x/tools/internal/jsonrpc2.Serve
	/home/swarming/.swarming/w/ir/x/w/targetrepo1633784756/internal/jsonrpc2/serve.go:72 +0x140
2024-01-10 16:06 x_tools-gotip-netbsd-arm64 tools@706525de go@8c1349ba x/tools/gopls/internal/test/integration/diagnostics.TestIssue44736/default [ABORT] (log)
=== RUN   TestIssue44736/default
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
panic: detected hanging go command (pid 25504): see golang/go#54461 for more details

goroutine 44244 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x4009d6acf0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3887546112/internal/gocommand/invoke.go:442 +0x378
golang.org/x/tools/internal/gocommand.runCmdContext({0xe1c980, 0x4008210120}, 0x400817f1e0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3887546112/internal/gocommand/invoke.go:375 +0x354
golang.org/x/tools/internal/gocommand.(*Invocation).run(0x40027b6018, {0xe1c980, 0x4008210120}, {0xe13c20, 0x4008210240}, {0xe13c20, 0x4008210270})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3887546112/internal/gocommand/invoke.go:270 +0xd4c
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x40027b5fe0?, {0xe1c980, 0x4008210120}, {0xe13c20?, 0x4008210240?}, {0xe13c20, 0x4008210270})
...
golang.org/x/tools/go/packages.Load(0x4003708d00?, {0x4006b8e020, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3887546112/go/packages/packages.go:262 +0x48
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0x4003708d00, {0xe1c9b8, 0x4005967cc0}, 0x1, {0x4006b8e000, 0x2, 0x40055a1e08?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3887546112/gopls/internal/lsp/cache/load.go:136 +0xa80
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0x4003708d00, {0xe1c9b8, 0x4005967cc0}, 0x1)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3887546112/gopls/internal/lsp/cache/view.go:716 +0x340
golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
	/home/swarming/.swarming/w/ir/x/w/targetrepo3887546112/gopls/internal/lsp/cache/session.go:227 +0x44
created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 44213
	/home/swarming/.swarming/w/ir/x/w/targetrepo3887546112/gopls/internal/lsp/cache/session.go:225 +0xa40
2024-01-10 16:06 x_tools-gotip-netbsd-arm64 tools@706525de go@8c1349ba x/tools/gopls/internal/test/integration/misc.TestGovulncheckInfo/default [ABORT] (log)
=== RUN   TestGovulncheckInfo/default
os.Remove.func1(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_unix.go:364
os.ignoringEINTR(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_posix.go:251
os.Remove({0x4000e491f0, 0x6f})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file_unix.go:363 +0x38
golang.org/x/tools/gopls/internal/filecache.gc.func1({0x4000e491f0, 0x6f}, {0xe8c160, 0x40010e81a0}, {0x0?, 0x0?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3887546112/gopls/internal/filecache/filecache.go:470 +0xcc
path/filepath.walk({0x4000e491f0, 0x6f}, {0xe8c160, 0x40010e81a0}, 0x4000631f88)
...
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run(0x4000328320, 0x40041efba0, {0xc2aa62, 0x165}, 0xd43d30, {0x4009f4a0c0, 0x3, 0x97d0b4?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3887546112/gopls/internal/test/integration/runner.go:167 +0x3dc
golang.org/x/tools/gopls/internal/test/integration.configuredRunner.Run({{0x4009f4a0c0?, 0xf176db?, 0xc1be29?}}, 0x40041efba0, {0xc2aa62, 0x165}, 0xd43d30)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3887546112/gopls/internal/test/integration/regtest.go:80 +0xf0
golang.org/x/tools/gopls/internal/test/integration/misc.TestGovulncheckInfo(0x40041efba0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3887546112/gopls/internal/test/integration/misc/vuln_test.go:801 +0xe0
testing.tRunner(0x40041efba0, 0xd43828)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1689 +0xec
created by testing.(*T).Run in goroutine 1
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1742 +0x318
2024-01-29 09:09 x_tools-go1.20-netbsd-arm64 tools@dd0f88f0 release-branch.go1.20@d7df7f4f x/tools/go/packages.TestInvalidFilesBeforeOverlayContains/Modules/xtest [ABORT] (log)
=== RUN   TestInvalidFilesBeforeOverlayContains/Modules/xtest
2024-01-29 09:09 x_tools-go1.20-netbsd-arm64 tools@dd0f88f0 release-branch.go1.20@d7df7f4f x/tools/internal/imports.TestSimpleCases/named_import_doesnt_provide_package_name/Modules [ABORT] (log)
=== RUN   TestSimpleCases/named_import_doesnt_provide_package_name/Modules
panic: test timed out after 10m0s
running tests:
	TestSimpleCases (10m0s)
	TestSimpleCases/named_import_doesnt_provide_package_name (4s)
	TestSimpleCases/named_import_doesnt_provide_package_name/Modules (3s)

goroutine 272 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2241 +0x31c
...
os.RemoveAll(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/path.go:67
golang.org/x/tools/go/packages/packagestest.(*Exported).Cleanup(0x4000312200)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3131262836/go/packages/packagestest/export.go:637 +0x58
golang.org/x/tools/internal/imports.testConfig.test.func1(0x400017ba00)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3131262836/internal/imports/fix_test.go:1721 +0x404
testing.tRunner(0x400017ba00, 0x4000304ea0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1576 +0x104
created by testing.(*T).Run
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1629 +0x370
2024-01-29 09:09 x_tools-gotip-netbsd-arm64 tools@dd0f88f0 go@f719d5cf x/tools/gopls/internal/test/integration/misc.TestRunVulncheckPackageDiagnostics/default/default [ABORT] (log)
=== RUN   TestRunVulncheckPackageDiagnostics/default/default
    runner.go:224: initialize: context deadline exceeded
panic: test timed out after 10m0s
running tests:
	TestRunVulncheckPackageDiagnostics (1m25s)
	TestRunVulncheckPackageDiagnostics/default (0s)
	TestRunVulncheckPackageDiagnostics/default/default (0s)

goroutine 57379 [running]:
testing.(*M).startAlarm.func1()
...
golang.org/x/tools/gopls/internal/protocol.clientDispatch({0xe86fb0, 0x400a690420}, {0xe952b8, 0x40007d7c20}, 0x400a6910e0, {0xffffb0b10a38, 0x400a690360})
	/home/swarming/.swarming/w/ir/x/w/targetrepo4124126341/gopls/internal/protocol/tsclient.go:64 +0x290
golang.org/x/tools/gopls/internal/test/integration/fake.(*Editor).Connect.ClientHandler.func1({0xe86fb0, 0x400a690420}, 0x400a6910e0, {0xffffb0b10a38, 0x400a690360})
	/home/swarming/.swarming/w/ir/x/w/targetrepo4124126341/gopls/internal/protocol/protocol.go:118 +0x74
golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0xe86fb0, 0x400a690420}, 0x4005f2cbd0, {0xffffb0b10a38, 0x400a690360})
	/home/swarming/.swarming/w/ir/x/w/targetrepo4124126341/internal/jsonrpc2/handler.go:35 +0xc0
golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
	/home/swarming/.swarming/w/ir/x/w/targetrepo4124126341/internal/jsonrpc2/handler.go:103 +0x90
created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 57105
	/home/swarming/.swarming/w/ir/x/w/targetrepo4124126341/internal/jsonrpc2/handler.go:100 +0x19c
2024-01-29 09:09 x_tools-gotip-netbsd-arm64 tools@dd0f88f0 go@f719d5cf x/tools/gopls/internal/test/integration/misc.TestRunVulncheckPackageDiagnostics/imports/default (log)
=== RUN   TestRunVulncheckPackageDiagnostics/imports/default
    vuln_test.go:573: waiting on:
        Unmet: once "completed work for token 6314762742488288683" is met, must have:
        received window/showMessage containing "Found"
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/01/29 13:40:40 go info for /home/swarming/.sw...
...
[Trace - 13:40:46.766 PM] Received notification '$/progress'.
Params: {"token":"6314762742488288683","value":{"kind":"begin","title":"govulncheck","cancellable":true,"message":"Running..."}}


[Trace - 13:40:46.767 PM] Received response 'workspace/executeCommand - (10)' in 2ms.
Result: {"Token":"6314762742488288683"}


#### End Gopls Test Logs for "TestRunVulncheckPackageDiagnostics/imports/default"
--- FAIL: TestRunVulncheckPackageDiagnostics/imports/default (84.00s)
2024-01-29 16:50 x_tools-gotip-netbsd-arm64 tools@5e164372 go@f719d5cf x/tools/gopls/internal/test/integration/misc.TestRunGovulncheckStd/default [ABORT] (log)
=== RUN   TestRunGovulncheckStd/default
    vuln_test.go:212: waiting on:
        Unmet: once "completed work for token 2642144517071313623" is met, must have:
        received window/showMessage containing "Found GOSTDLIB"
        no diagnostics for file "go.mod"
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
...
panic: test timed out after 10m0s
running tests:
	TestRunGovulncheckStd (7s)
	TestRunGovulncheckStd/default (7s)

goroutine 55623 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:177 +0x38
...
golang.org/x/tools/gopls/internal/vulncheck/scan.RunGovulncheck({0xe86fe8, 0x400fe73900}, {0x4010197370, 0x5}, 0x4000c4a480, {0x4004ae8157, 0x5a}, {0xe7ed80, 0x4001b234a0})
	/home/swarming/.swarming/w/ir/x/w/targetrepo1506847421/gopls/internal/vulncheck/scan/command.go:93 +0x4a4
golang.org/x/tools/gopls/internal/server.(*commandHandler).RunGovulncheck.func1({0xe86fe8, 0x400fe73900}, {0x4000c4a480?, {0xe87e40?, 0x4000c5e180?}, 0x400fe73d10?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo1506847421/gopls/internal/server/command.go:977 +0x124
golang.org/x/tools/gopls/internal/server.(*commandHandler).run.func2()
	/home/swarming/.swarming/w/ir/x/w/targetrepo1506847421/gopls/internal/server/command.go:177 +0x80
golang.org/x/tools/gopls/internal/server.(*commandHandler).run.func3()
	/home/swarming/.swarming/w/ir/x/w/targetrepo1506847421/gopls/internal/server/command.go:193 +0x40
created by golang.org/x/tools/gopls/internal/server.(*commandHandler).run in goroutine 55470
	/home/swarming/.swarming/w/ir/x/w/targetrepo1506847421/gopls/internal/server/command.go:192 +0x360
2024-01-29 18:13 x_tools-go1.20-netbsd-arm64 tools@b048cf12 release-branch.go1.20@d7df7f4f x/tools/gopls/internal/test/integration/misc.TestRunVulncheckWarning/default [ABORT] (log)
=== RUN   TestRunVulncheckWarning/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/01/30 00:04:04 go info for /home/swarming/.sw...
        
...
panic: test timed out after 10m0s
running tests:
	TestRunVulncheckWarning (6s)
	TestRunVulncheckWarning/default (5s)

goroutine 54951 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2241 +0x31c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:176 +0x38
...
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run(0x40003b0e60, 0x4003347380, {0xbcee91, 0x3a5}, 0xcd1a08, {0x400beb5b90, 0x3, 0x4b9?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo881657353/gopls/internal/test/integration/runner.go:167 +0x438
golang.org/x/tools/gopls/internal/test/integration.configuredRunner.Run({{0x400beb5b90?, 0xe7cb2a?, 0xbd0fab?}}, 0x4003347380, {0xbcee91, 0x3a5}, 0x20696?)
	/home/swarming/.swarming/w/ir/x/w/targetrepo881657353/gopls/internal/test/integration/regtest.go:80 +0xf0
golang.org/x/tools/gopls/internal/test/integration/misc.TestRunVulncheckWarning(0x4003347380)
	/home/swarming/.swarming/w/ir/x/w/targetrepo881657353/gopls/internal/test/integration/misc/vuln_test.go:646 +0xe0
testing.tRunner(0x4003347380, 0xcd1a10)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1576 +0x104
created by testing.(*T).Run
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1629 +0x370

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-netbsd-arm64` && (`test timed out` || `SIGQUIT` || `context deadline exceeded` || status == "ABORT")
2024-01-04 23:16 go1.21-netbsd-arm64 release-branch.go1.21@368e2a94 cmd/go.TestBadCommandLines [ABORT] (log)
=== RUN   TestBadCommandLines
=== PAUSE TestBadCommandLines
=== CONT  TestBadCommandLines
    go_test.go:2763: running testgo [build x]
    go_test.go:2766: running testgo [build x]
    go_test.go:2766: standard error:
    go_test.go:2766: package x: invalid input file name "@y.go"
        
    go_test.go:2766: testgo failed as expected: exit status 1
    go_test.go:2771: running testgo [build x]
...
panic: test timed out after 9m0s
running tests:
	TestBadCommandLines (11s)

goroutine 11994 [running]:
panic({0x20071d0a0?, 0x4000780e70?})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:1017 +0x3cc fp=0x40002a0f00 sp=0x40002a0e50 pc=0x20013b44c
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320 fp=0x40002a0fd0 sp=0x40002a0f00 pc=0x20022dd60
runtime.goexit()
...

goroutine 123 [GC worker (idle)]:
runtime.gopark(0x2b5e663c5a192?, 0x40002289c0?, 0x1a?, 0x14?, 0x0?)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/proc.go:398 +0xc8 fp=0x4000424730 sp=0x4000424710 pc=0x20013e5f8
runtime.gcBgMarkWorker()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mgc.go:1295 +0xd8 fp=0x40004247d0 sp=0x4000424730 pc=0x20011f978
runtime.goexit()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_arm64.s:1197 +0x4 fp=0x40004247d0 sp=0x40004247d0 pc=0x200171ee4
created by runtime.gcBgMarkStartWorkers in goroutine 117
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mgc.go:1219 +0x28
2024-01-04 23:16 go1.21-netbsd-arm64 release-branch.go1.21@368e2a94 cmd/go.TestGoListExport (log)
=== RUN   TestGoListExport
=== PAUSE TestGoListExport
=== CONT  TestGoListExport
    go_test.go:1310: running testgo [list -f {{.Export}} strings]
    go_test.go:1314: running testgo [list -export -f {{.Export}} strings]
    exec.go:190: test timed out while running command: /home/swarming/.swarming/w/ir/x/t/cmd-go-test-4103796080/tmpdir2792630161/testbin/go list -export -f {{.Export}} strings
    go_test.go:1314: standard error:
    go_test.go:1314: SIGQUIT: quit
        PC=0x200172c0c m=10 sigcode=0
        
...
        r27     0x40
        r28     0x4000003d40
        r29     0xfa55a1fcfaa8
        lr      0x2001389cc
        sp      0xfa55a1fcfab0
        pc      0x200172c0c
        fault   0x3e900007373
        
    go_test.go:1314: go [list -export -f {{.Export}} strings] failed unexpectedly in /home/swarming/.swarming/w/ir/x/w/goroot/src/cmd/go: exit status 2
--- FAIL: TestGoListExport (27.40s)
2024-01-04 23:16 go1.21-netbsd-arm64 release-branch.go1.21@368e2a94 cmd/go.TestScript (log)
=== RUN   TestScript/get_update_all
=== PAUSE TestScript/get_update_all
=== CONT  TestScript/get_update_all
    script_test.go:132: 2024-01-05T15:22:14Z
    script_test.go:134: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-4103796080/tmpdir2792630161/get_update_all1180367014
    script_test.go:156: 
        PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-4103796080/tmpdir2792630161/testbin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/cache/tools/bin:/home/swarming/.swarming/w/ir/bbagent_utility_packages:/home/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages:/home/swarming/.swarming/w/ir/cipd_bin_packages/bin:/home/swarming/.swarming/w/ir/cache/cipd_client:/home/swarming/.swarming/w/ir/cache/cipd_client/bin:/home/swarming/.swarming/cipd_cache/bin:/command:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/pkg/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=arm64
...
        r26     0x200878030
        r27     0x20
        r28     0x400008a820
        r29     0xffc5415ffc88
        lr      0x2001389cc
        sp      0xffc5415ffc90
        pc      0x200172c0c
        fault   0x3e900007373
    script_test.go:156: FAIL: testdata/script/get_update_all.txt:6: go get -u -n .../: exit status 2
--- FAIL: TestScript/get_update_all (9.76s)
2024-01-04 23:16 go1.21-netbsd-arm64 release-branch.go1.21@d2cb1401 cmd/go.TestScript [ABORT] (log)
=== RUN   TestScript/mod_list_retract
=== PAUSE TestScript/mod_list_retract
=== CONT  TestScript/mod_list_retract
panic: test timed out after 9m0s
running tests:
	TestScript (8m59s)
	TestScript/mod_list_retract (0s)
	TestScript/mod_list_update_nolatest (0s)
	TestScript/mod_list_upgrade (1s)
	TestScript/mod_perm (0s)
...
cmd/go_test.TestScript.func3(0x4000644680)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/cmd/go/script_test.go:106 +0x7c fp=0x400063df60 sp=0x400063de10 pc=0x2006cd98c
testing.tRunner(0x4000644680, 0x4000484f00)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1595 +0xe8 fp=0x400063dfb0 sp=0x400063df60 pc=0x20022a168
testing.(*T).Run.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1648 +0x2c fp=0x400063dfd0 sp=0x400063dfb0 pc=0x20022af7c
runtime.goexit()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_arm64.s:1197 +0x4 fp=0x400063dfd0 sp=0x400063dfd0 pc=0x200171ee4
created by testing.(*T).Run in goroutine 115
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1648 +0x33c
2024-01-29 21:56 x_tools-go1.22-netbsd-arm64 tools@341c0434 release-branch.go1.22@117d7b10 x/tools/gopls/internal/test/integration/misc.TestRunVulncheckWarning [ABORT] (log)
=== RUN   TestRunVulncheckWarning
panic: test timed out after 10m0s
running tests:
	TestRunVulncheckWarning (0s)

goroutine 58217 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:177 +0x38
...
golang.org/x/tools/gopls/internal/vulncheck/vulntest.NewDatabase({0xe86ed0, 0x1599b80}, {0x4000c42c00, 0x5f1, 0x5f1})
	/home/swarming/.swarming/w/ir/x/w/targetrepo590216/gopls/internal/vulncheck/vulntest/db.go:47 +0x74
golang.org/x/tools/gopls/internal/test/integration/misc.vulnTestEnv({0x1318aa0?, 0xf15b5b?}, {0xc3c4eb, 0x4b9})
	/home/swarming/.swarming/w/ir/x/w/targetrepo590216/gopls/internal/test/integration/misc/vuln_test.go:438 +0x88
golang.org/x/tools/gopls/internal/test/integration/misc.TestRunVulncheckWarning(0x40013ccb60)
	/home/swarming/.swarming/w/ir/x/w/targetrepo590216/gopls/internal/test/integration/misc/vuln_test.go:641 +0x44
testing.tRunner(0x40013ccb60, 0xd42258)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1689 +0xec
created by testing.(*T).Run in goroutine 1
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1742 +0x318
2024-01-30 00:16 gotip-netbsd-arm64 go@4afb155c cmd/go.TestScript (log)
=== RUN   TestScript/mod_query_exclude
=== PAUSE TestScript/mod_query_exclude
=== CONT  TestScript/mod_query_exclude
    script_test.go:132: 2024-01-30T09:15:48Z
    script_test.go:134: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-9860009/tmpdir1365808491/mod_query_exclude1242711778
    script_test.go:156: 
        PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-9860009/tmpdir1365808491/testbin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/cache/tools/bin:/home/swarming/.swarming/w/ir/bbagent_utility_packages:/home/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages:/home/swarming/.swarming/w/ir/cipd_bin_packages/bin:/home/swarming/.swarming/w/ir/cache/cipd_client:/home/swarming/.swarming/w/ir/cache/cipd_client/bin:/home/swarming/.swarming/cipd_cache/bin:/command:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/pkg/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=arm64
...
        r26     0x20089e220
        r27     0xffffffffffffffc0
        r28     0x40000921c0
        r29     0xfd62135efc08
        lr      0x20013b53c
        sp      0xfd62135efc10
        pc      0x20017a4fc
        fault   0x3e90000285a
    script_test.go:156: FAIL: testdata/script/mod_query_exclude.txt:26: go get -modfile=go.exclude.mod rsc.io/quote@v1.5.1: exit status 2
--- FAIL: TestScript/mod_query_exclude (2.13s)
2024-01-30 18:33 x_tools-go1.21-netbsd-arm64 tools@7ec8ac08 release-branch.go1.21@00f974eb x/tools/gopls/internal/test/integration/misc.TestSemanticGoDirectives [ABORT] (log)
=== RUN   TestSemanticGoDirectives
panic: test timed out after 10m0s
running tests:
	TestSemanticGoDirectives (9s)

goroutine 47691 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:176 +0x38
...
net.(*TCPListener).Accept(0x4004040600)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:315 +0x2c
net/http.(*Server).Serve(0x4005f12d20, {0xe4ad50, 0x4004040600})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:3056 +0x2b8
net/http.Serve(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:2595
golang.org/x/tools/gopls/internal/debug.(*Instance).Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo3862277914/gopls/internal/debug/serve.go:483 +0xa74
created by golang.org/x/tools/gopls/internal/debug.(*Instance).Serve in goroutine 4416
	/home/swarming/.swarming/w/ir/x/w/targetrepo3862277914/gopls/internal/debug/serve.go:444 +0x3b0
2024-01-30 18:33 x_tools-go1.22-netbsd-arm64 tools@7ec8ac08 release-branch.go1.22@117d7b10 x/tools/gopls/internal/test/integration/misc.TestRunVulncheckWarning/default [ABORT] (log)
=== RUN   TestRunVulncheckWarning/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/01/31 02:49:34 go info for /home/swarming/.sw...
        
...
panic: test timed out after 10m0s
running tests:
	TestRunVulncheckWarning (10s)
	TestRunVulncheckWarning/default (9s)

goroutine 57303 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:177 +0x38
...
created by golang.org/x/tools/internal/gocommand.runCmdContext in goroutine 57261
	/home/swarming/.swarming/w/ir/x/w/targetrepo2291045777/internal/gocommand/invoke.go:306 +0x134

goroutine 57262 [select, 1 minutes]:
golang.org/x/tools/gopls/internal/cache.(*Snapshot).AwaitInitialized(0x400483f9e0, {0xe87ad0, 0x4008240420})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2291045777/gopls/internal/cache/snapshot.go:1361 +0x68
golang.org/x/tools/gopls/internal/server.(*server).addFolders.func2()
	/home/swarming/.swarming/w/ir/x/w/targetrepo2291045777/gopls/internal/server/general.go:320 +0x48
created by golang.org/x/tools/gopls/internal/server.(*server).addFolders in goroutine 57268
	/home/swarming/.swarming/w/ir/x/w/targetrepo2291045777/gopls/internal/server/general.go:319 +0x454
2024-01-30 23:08 gotip-netbsd-arm64 go@41d66870 cmd/go.TestScript/build_GOTMPDIR (log)
=== RUN   TestScript/build_GOTMPDIR
=== PAUSE TestScript/build_GOTMPDIR
=== CONT  TestScript/build_GOTMPDIR
    script_test.go:132: 2024-01-31T08:46:52Z
    script_test.go:134: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-1533113900/tmpdir1345347344/build_GOTMPDIR2273321617
    script_test.go:156: 
        PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-1533113900/tmpdir1345347344/testbin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/cache/tools/bin:/home/swarming/.swarming/w/ir/bbagent_utility_packages:/home/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages:/home/swarming/.swarming/w/ir/cipd_bin_packages/bin:/home/swarming/.swarming/w/ir/cache/cipd_client:/home/swarming/.swarming/w/ir/cache/cipd_client/bin:/home/swarming/.swarming/cipd_cache/bin:/command:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/pkg/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=arm64
...
        r26     0x2008a42f8
        r27     0xffffffffffffff80
        r28     0x40002e9180
        r29     0xf3e1095ffc08
        lr      0x20013b57c
        sp      0xf3e1095ffc10
        pc      0x20017a62c
        fault   0x3e900004a33
    script_test.go:156: FAIL: testdata/script/build_GOTMPDIR.txt:9: go build -x hello.go: exit status 2
--- FAIL: TestScript/build_GOTMPDIR (12.63s)
2024-01-30 23:37 gotip-netbsd-arm64 go@ae457e81 cmd/go.TestGoListExport [ABORT] (log)
=== RUN   TestGoListExport
=== PAUSE TestGoListExport
=== CONT  TestGoListExport
    go_test.go:1164: running testgo [list -f {{.Export}} strings]
    go_test.go:1168: running testgo [list -export -f {{.Export}} strings]
    exec.go:193: test timed out while running command: /home/swarming/.swarming/w/ir/x/t/cmd-go-test-2844365317/tmpdir3682440447/testbin/go list -export -f {{.Export}} strings
    go_test.go:1168: standard error:
    go_test.go:1168: SIGQUIT: quit
        PC=0x200177460 m=11 sigcode=0
        
...
        r26     0x2008a4040
        r27     0x10
        r28     0x40002cd340
        r29     0x4000266a18
        lr      0x200177458
        sp      0xf6f7dd5fff00
        pc      0x200177460
        fault   0x3e9000009ad
        
    go_test.go:1168: go [list -export -f {{.Export}} strings] failed unexpectedly in /home/swarming/.swarming/w/ir/x/w/goroot/src/cmd/go: exit status 2
2024-01-30 23:37 gotip-netbsd-arm64 go@ae457e81 cmd/go.TestGoListTest [ABORT] (log)
=== RUN   TestGoListTest
=== PAUSE TestGoListTest
=== CONT  TestGoListTest
    go_test.go:1089: running testgo [list -test -deps sort]
    exec.go:193: test timed out while running command: /home/swarming/.swarming/w/ir/x/t/cmd-go-test-2844365317/tmpdir3682440447/testbin/go list -test -deps sort
    go_test.go:1089: standard error:
    go_test.go:1089: SIGQUIT: quit
        PC=0x20011a500 m=8 sigcode=0
        
        goroutine 64 gp=0x40001da540 m=8 mp=0x400009b808 [running]:
        runtime.spanOf(...)
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mheap.go:690
        runtime.bulkBarrierPreWriteSrcOnly(0x80?, 0x200807b20?, 0x40001da501?, 0x400011c120?)
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mbitmap_allocheaders.go:514 +0x50 fp=0x4000314d90 sp=0x4000314d20 pc=0x20011a500
        runtime.growslice(0x40003464c0
    go_test.go:1089: go [list -test -deps sort] failed unexpectedly in /home/swarming/.swarming/w/ir/x/w/goroot/src/cmd/go: signal: killed
2024-01-30 23:37 gotip-netbsd-arm64 go@ae457e81 cmd/go.TestScript (log)
=== RUN   TestScript/list_symlink_vendor_issue14054
=== PAUSE TestScript/list_symlink_vendor_issue14054
=== CONT  TestScript/list_symlink_vendor_issue14054
    script_test.go:132: 2024-01-31T05:52:00Z
    script_test.go:134: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-2844365317/tmpdir3682440447/list_symlink_vendor_issue140543787136851
    script_test.go:156: 
        PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-2844365317/tmpdir3682440447/testbin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/cache/tools/bin:/home/swarming/.swarming/w/ir/bbagent_utility_packages:/home/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages:/home/swarming/.swarming/w/ir/cipd_bin_packages/bin:/home/swarming/.swarming/w/ir/cache/cipd_client:/home/swarming/.swarming/w/ir/cache/cipd_client/bin:/home/swarming/.swarming/cipd_cache/bin:/command:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/pkg/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=arm64
...
        r29     0xf85b2b7efe08
        lr      0x20013b57c
        sp      0xf85b2b7efe10
        pc      0x20017a62c
        fault   0x3e9000009ad
        [exit status 2]
    script_test.go:156: FAIL: testdata/script/list_symlink_vendor_issue14054.txt:19: wait: testdata/script/list_symlink_vendor_issue14054.txt:15: go run p.go: exit status 2
        testdata/script/list_symlink_vendor_issue14054.txt:16: go build: exit status 2
        testdata/script/list_symlink_vendor_issue14054.txt:17: go install: exit status 2
--- FAIL: TestScript/list_symlink_vendor_issue14054 (4.39s)
2024-01-31 16:59 x_tools-go1.21-netbsd-arm64 tools@da7ed649 release-branch.go1.21@6552f3d4 x/tools/gopls/internal/test/integration/misc.TestRenamePackage_InvalidName/default [ABORT] (log)
=== RUN   TestRenamePackage_InvalidName/default
panic: test timed out after 10m0s
running tests:
	TestRenamePackage_InvalidName (0s)
	TestRenamePackage_InvalidName/default (0s)

goroutine 45175 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
...
net.(*netFD).accept(0x4003e6e400)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/fd_unix.go:172 +0x28
net.(*TCPListener).accept(0x4003e35e80)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock_posix.go:152 +0x28
net.(*TCPListener).Accept(0x4003e35e80)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:315 +0x2c
golang.org/x/tools/internal/jsonrpc2.Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo4064549981/internal/jsonrpc2/serve.go:76 +0x88
created by golang.org/x/tools/internal/jsonrpc2.Serve in goroutine 4326
	/home/swarming/.swarming/w/ir/x/w/targetrepo4064549981/internal/jsonrpc2/serve.go:72 +0x124
2024-01-31 16:59 x_tools-go1.22-netbsd-arm64 tools@da7ed649 release-branch.go1.22@9289b9c3 x/tools/gopls/internal/test/integration/misc.TestRunVulncheckWarning/default [ABORT] (log)
=== RUN   TestRunVulncheckWarning/default
panic: test timed out after 10m0s
running tests:
	TestRunVulncheckWarning (11s)
	TestRunVulncheckWarning/default (11s)

goroutine 58236 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
...
golang.org/x/tools/gopls/internal/test/integration/fake.(*Sandbox).Close(0x4003652d80)
	/home/swarming/.swarming/w/ir/x/w/targetrepo4207189936/gopls/internal/test/integration/fake/sandbox.go:292 +0x9c
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo4207189936/gopls/internal/test/integration/runner.go:206 +0x34
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1(0x4003294ea0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo4207189936/gopls/internal/test/integration/runner.go:255 +0x9f4
testing.tRunner(0x4003294ea0, 0x4003dca640)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1689 +0xec
created by testing.(*T).Run in goroutine 57438
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1742 +0x318
2024-01-31 19:19 x_tools-go1.21-netbsd-arm64 tools@0c80ba37 release-branch.go1.21@916e6cdd x/tools/gopls/internal/test/integration/misc.TestTelemetryPrompt_GivingUp [ABORT] (log)
=== RUN   TestTelemetryPrompt_GivingUp
panic: test timed out after 10m0s
running tests:
	TestTelemetryPrompt_GivingUp (47s)

goroutine 35913 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:176 +0x38
...
net.(*TCPListener).Accept(0x4006f3cc00)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:315 +0x2c
net/http.(*Server).Serve(0x4004283d10, {0xe3ac90, 0x4006f3cc00})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:3056 +0x2b8
net/http.Serve(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:2595
golang.org/x/tools/gopls/internal/debug.(*Instance).Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo936302159/gopls/internal/debug/serve.go:483 +0xa74
created by golang.org/x/tools/gopls/internal/debug.(*Instance).Serve in goroutine 4435
	/home/swarming/.swarming/w/ir/x/w/targetrepo936302159/gopls/internal/debug/serve.go:444 +0x3b0
2024-02-01 17:54 x_tools-go1.20-netbsd-arm64 tools@42507833 release-branch.go1.20@746a0727 x/tools/gopls/internal/test/integration/misc.TestStaticcheckRelatedInfo/default [ABORT] (log)
=== RUN   TestStaticcheckRelatedInfo/default
panic: test timed out after 10m0s
running tests:
	TestStaticcheckRelatedInfo (7s)
	TestStaticcheckRelatedInfo/default (6s)

goroutine 51333 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2241 +0x31c
created by time.goFunc
...
net.(*TCPListener).Accept(0x400eebb8d8)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:297 +0x2c
net/http.(*Server).Serve(0x400016cc30, {0xe030c0, 0x400eebb8d8})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:3059 +0x2cc
net/http.Serve(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:2581
golang.org/x/tools/gopls/internal/debug.(*Instance).Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo1923857642/gopls/internal/debug/serve.go:483 +0x730
created by golang.org/x/tools/gopls/internal/debug.(*Instance).Serve
	/home/swarming/.swarming/w/ir/x/w/targetrepo1923857642/gopls/internal/debug/serve.go:444 +0x37c

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-netbsd-arm64` && (`test timed out` || `SIGQUIT` || `context deadline exceeded` || status == "ABORT")
2024-02-01 23:04 x_tools-go1.21-netbsd-arm64 tools@c07f9276 release-branch.go1.21@2fdad8af x/tools/gopls/internal/test/integration/misc.TestStaticcheckGenerics/default [ABORT] (log)
=== RUN   TestStaticcheckGenerics/default
panic: test timed out after 10m0s
running tests:
	TestStaticcheckGenerics (4s)
	TestStaticcheckGenerics/default (4s)

goroutine 50691 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
...
net.(*TCPListener).Accept(0x40050598c0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:315 +0x2c
net/http.(*Server).Serve(0x40002ecc30, {0xe3ac50, 0x40050598c0})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:3056 +0x2b8
net/http.Serve(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:2595
golang.org/x/tools/gopls/internal/debug.(*Instance).Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo300430293/gopls/internal/debug/serve.go:483 +0xa74
created by golang.org/x/tools/gopls/internal/debug.(*Instance).Serve in goroutine 4415
	/home/swarming/.swarming/w/ir/x/w/targetrepo300430293/gopls/internal/debug/serve.go:444 +0x3b0
2024-02-01 23:36 x_tools-go1.22-netbsd-arm64 tools@d0778885 release-branch.go1.22@58a35fe5 x/tools/gopls/internal/test/integration/misc.TestGovulncheckInfo [ABORT] (log)
=== RUN   TestGovulncheckInfo
panic: test timed out after 10m0s
running tests:
	TestGovulncheckInfo (12s)

goroutine 58273 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:177 +0x38
...
net.(*netFD).accept(0x400112d600)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/fd_unix.go:172 +0x28
net.(*TCPListener).accept(0x4000754680)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock_posix.go:159 +0x28
net.(*TCPListener).Accept(0x4000754680)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:327 +0x2c
golang.org/x/tools/internal/jsonrpc2.Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo1999626860/internal/jsonrpc2/serve.go:76 +0x90
created by golang.org/x/tools/internal/jsonrpc2.Serve in goroutine 4538
	/home/swarming/.swarming/w/ir/x/w/targetrepo1999626860/internal/jsonrpc2/serve.go:72 +0x108
2024-02-02 16:43 x_tools-go1.20-netbsd-arm64 tools@85146f5b release-branch.go1.20@a2f4a5a6 x/tools/gopls/internal/test/integration/misc.TestStaticcheckRelatedInfo [ABORT] (log)
=== RUN   TestStaticcheckRelatedInfo
panic: test timed out after 10m0s
running tests:
	TestStaticcheckRelatedInfo (7s)

goroutine 51485 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2241 +0x31c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:176 +0x38
...
testing.(*common).Cleanup.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1150 +0x100
testing.(*common).runCleanup(0x40027689c0, 0x4002b5d6e0?)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1328 +0xd8
testing.tRunner.func2()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1570 +0x2c
testing.tRunner(0x40027689c0, 0xcf3e78)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1582 +0x130
created by testing.(*T).Run
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1629 +0x370
2024-02-02 20:27 x_tools-go1.20-netbsd-arm64 tools@c3f60b78 release-branch.go1.20@a2f4a5a6 x/tools/gopls/internal/test/integration/misc.TestRunGovulncheck_Expiry/default [ABORT] (log)
=== RUN   TestRunGovulncheck_Expiry/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/05 02:39:42 go info for /home/swarming/.sw...
        
...
panic: test timed out after 10m0s
running tests:
	TestRunGovulncheck_Expiry (16s)
	TestRunGovulncheck_Expiry/default (15s)

goroutine 53706 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2241 +0x31c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:176 +0x38
...
golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0xe27e20, 0x400356dbd0}, {0xb55fc0?, 0x4002e30240})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2386657683/gopls/internal/cache/mod_tidy.go:80 +0x7c
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo2386657683/internal/memoize/memoize.go:187 +0x90
runtime/trace.WithRegion({0xe27e20?, 0x400356dbd0?}, {0x4006ec49c0, 0x13}, 0x400006df88)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0xc8
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/home/swarming/.swarming/w/ir/x/w/targetrepo2386657683/internal/memoize/memoize.go:180 +0x104
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/home/swarming/.swarming/w/ir/x/w/targetrepo2386657683/internal/memoize/memoize.go:179 +0x1d0
2024-02-02 20:44 x_tools-go1.20-netbsd-arm64 tools@9c438030 release-branch.go1.20@a2f4a5a6 x/tools/gopls/internal/test/integration/misc.TestGovulncheckInfo/default [ABORT] (log)
=== RUN   TestGovulncheckInfo/default
    runner.go:224: initialize: context deadline exceeded
panic: test timed out after 10m0s
running tests:
	TestGovulncheckInfo (1s)
	TestGovulncheckInfo/default (1s)

goroutine 55037 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2241 +0x31c
...
testing.(*common).FailNow(0x4003145040)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:980 +0x44
testing.(*common).Fatal(0x4003145040, {0x4003605d98?, 0x4007392000?, 0xe201a0?})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1057 +0x54
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1(0x4003145040)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1692354099/gopls/internal/test/integration/runner.go:224 +0x814
testing.tRunner(0x4003145040, 0x400376eb40)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1576 +0x104
created by testing.(*T).Run
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1629 +0x370
2024-02-02 20:44 x_tools-go1.22-netbsd-arm64 tools@9c438030 release-branch.go1.22@b0957cfc x/tools/gopls/internal/test/integration/misc.TestWorkspaceSymbolMissingMetadata/default [ABORT] (log)
=== RUN   TestWorkspaceSymbolMissingMetadata/default
    workspace_symbol_test.go:42: context deadline exceeded
#### Start Gopls Test Logs for "TestWorkspaceSymbolMissingMetadata/default"
[Trace - 17:12:13.064 PM] Sending request 'initialize - (1)'.
Params: {"processId":0,"rootUri":"","capabilities":{"workspace":{"workspaceEdit":{"resourceOperations":["rename"]},"didChangeConfiguration":{},"didChangeWatchedFiles":{"dynamicRegistration":true},"configuration":true},"textDocument":{"completion":{"completionItem":{"snippetSupport":true,"tagSupport":{"valueSet":[1]}}},"documentSymbol":{"hierarchicalDocumentSymbolSupport":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":null}}},"publishDiagnostics":{},"semanticTokens":{"requests":{"full":true},"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":null}},"window":{"workDoneProgress":true}},"initializationOptions":{"completionBudget":"0s","diagnosticsDelay":"10ms","env":{"GO111MODULE":"","GOMODCACHE":"","GOPACKAGESDRIVER":"off","GOPATH":"/home/swarming/.swarming/w/ir/x/t/gopls-test-3560394180/TestWorkspaceSymbolMissingMetadata/default/gopath","GOPROXY":"file:///home/swarming/.swarming/w/ir/x/t/gopls-test-3560394180/TestWorkspaceSymbolMissingMetadata/default/proxy","GOSUMDB":"off"},"verboseWorkDoneProgress":true},"trace":"messages","workspaceFolders":[{"uri":"file:///home/swarming/.swarming/w/ir/x/t/gopls-test-3560394180/TestWorkspaceSymbolMissingMetadata/default/work","name":"work"}]}


[Trace - 17:12:13.202 PM] Received response 'initialize - (1)' in 137ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":true,"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"renameProvider":true,"foldingRangeProvider":true,"selectionRangeProvider":true,"executeCommandProvider":{"commands":["gopls.add_dependency","gopls.add_import","gopls.add_telemetry_counters","gopls.apply_fix","gopls.change_signature","gopls.check_upgrades","gopls.diagnose_files","gopls.edit_go_directive","gopls.fetch_vulncheck_result","gopls.gc_details","gopls.generate","gopls.go_get_package","gopls.list_imports","gopls.list_known_packages","gopls.maybe_prompt_for_telemetry","gopls.mem_stats","gopls.regenerate_cgo","gopls.remove_dependency","gopls.reset_go_mod_diagnostics","gopls.run_go_work_command","gopls.run_govulncheck","gopls.run_tests","gopls.start_debugging","gopls.start_profile","gopls.stop_profile","gopls.test","gopls.tidy","gopls.toggle_gc_details","gopls.update_go_sum","gopls.upgrade_dependency","gopls.vendor","gopls.views","gopls.workspace_stats"]},"callHierarchyProvider":true,"semanticTokensProvider":{"legend":{"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"]},"range":true,"full":true},"inlayHintProvider":{},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"{\"GoVersion\":\"devel b0957cfcf94193b4588674c96be314ad5715f194\",\"Path\":\"\",\"Main\":{\"Path\":\"\",\"Version\":\"\",\"Sum\":\"\",\"Replace\":null},\"Deps\":null,\"Settings\":null,\"Version\":\"(unknown)\"}"}}

...
panic: test timed out after 10m0s
running tests:
	TestWorkspaceSymbolMissingMetadata (3s)
	TestWorkspaceSymbolMissingMetadata/default (3s)

goroutine 58240 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:177 +0x38
...
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0xeabac8, 0x4002991130}, 0x400a463140, {0xeabc18, 0x4001d00900})
	/home/swarming/.swarming/w/ir/x/w/targetrepo804794376/gopls/internal/protocol/protocol.go:160 +0x74
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0xeabac8, 0x4002991130}, 0x400a463140, {0xeabc18, 0x4001d00900})
	/home/swarming/.swarming/w/ir/x/w/targetrepo804794376/gopls/internal/lsprpc/lsprpc.go:509 +0x6e0
golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0xeabac8, 0x4002991130}, 0x40050e52d8, {0xeabc18, 0x4001d00900})
	/home/swarming/.swarming/w/ir/x/w/targetrepo804794376/internal/jsonrpc2/handler.go:35 +0xc0
golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
	/home/swarming/.swarming/w/ir/x/w/targetrepo804794376/internal/jsonrpc2/handler.go:103 +0x90
created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 58151
	/home/swarming/.swarming/w/ir/x/w/targetrepo804794376/internal/jsonrpc2/handler.go:100 +0x19c
2024-02-02 21:24 x_tools-go1.21-netbsd-arm64 tools@e80085c4 release-branch.go1.21@2fdad8af x/tools/gopls/internal/test/integration/misc.TestInconsistentVendoring/default [ABORT] (log)
=== RUN   TestInconsistentVendoring/default
panic: test timed out after 10m0s
running tests:
	TestInconsistentVendoring (14s)
	TestInconsistentVendoring/default (14s)

goroutine 53175 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
...
net.(*TCPListener).Accept(0x4004f26360)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:315 +0x2c
net/http.(*Server).Serve(0x40035e8690, {0xe5f0d0, 0x4004f26360})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:3056 +0x2b8
net/http.Serve(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:2595
golang.org/x/tools/gopls/internal/debug.(*Instance).Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo3558748354/gopls/internal/debug/serve.go:483 +0xa74
created by golang.org/x/tools/gopls/internal/debug.(*Instance).Serve in goroutine 4380
	/home/swarming/.swarming/w/ir/x/w/targetrepo3558748354/gopls/internal/debug/serve.go:444 +0x3b0
2024-02-02 22:29 x_tools-go1.21-netbsd-arm64 tools@aecdb2d3 release-branch.go1.21@2fdad8af x/tools/gopls/internal/test/integration/misc.TestRunGovulncheck_Expiry/default [ABORT] (log)
=== RUN   TestRunGovulncheck_Expiry/default
panic: test timed out after 10m0s
running tests:
	TestRunGovulncheck_Expiry (4s)
	TestRunGovulncheck_Expiry/default (3s)

goroutine 55626 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
...
os.MkdirAll({0x40052a8180, 0x5e}, 0x1ed?)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/path.go:48 +0x164
golang.org/x/tools/gopls/internal/test/integration/fake.NewSandbox(0xc15c1d?)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1992606875/gopls/internal/test/integration/fake/sandbox.go:138 +0x468
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1(0x4002620000)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1992606875/gopls/internal/test/integration/runner.go:200 +0x258
testing.tRunner(0x4002620000, 0x40001bd590)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1595 +0xe8
created by testing.(*T).Run in goroutine 55569
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1648 +0x33c
2024-02-02 23:11 x_tools-gotip-netbsd-arm64 tools@3403ce10 go@b8ac61e6 x/tools/gopls/internal/test/integration/misc.TestRunVulncheckWarning/default [ABORT] (log)
=== RUN   TestRunVulncheckWarning/default
panic: test timed out after 10m0s
running tests:
	TestRunVulncheckWarning (1s)
	TestRunVulncheckWarning/default (0s)

goroutine 58026 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
...
net.(*TCPListener).Accept(0x40045e6840)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:327 +0x2c
net/http.(*Server).Serve(0x400e21b680, {0xea9b50, 0x40045e6840})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:3255 +0x2a8
net/http.Serve(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:2794
golang.org/x/tools/gopls/internal/debug.(*Instance).Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo3172990904/gopls/internal/debug/serve.go:483 +0x984
created by golang.org/x/tools/gopls/internal/debug.(*Instance).Serve in goroutine 4663
	/home/swarming/.swarming/w/ir/x/w/targetrepo3172990904/gopls/internal/debug/serve.go:444 +0x388
2024-02-03 12:56 x_tools-go1.22-netbsd-arm64 tools@d6bd2d74 release-branch.go1.22@b0957cfc x/tools/gopls/internal/test/integration/misc.TestRunVulncheckWarning/default [ABORT] (log)
=== RUN   TestRunVulncheckWarning/default
panic: test timed out after 10m0s
running tests:
	TestRunVulncheckWarning (4s)
	TestRunVulncheckWarning/default (4s)

goroutine 57787 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
...
testing.tRunner(0x4000d3a9c0, 0x400e86f0e0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1689 +0xec
created by testing.(*T).Run in goroutine 57928
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1742 +0x318

goroutine 4538 [select, 9 minutes]:
golang.org/x/tools/internal/jsonrpc2.Serve({0xeabb90, 0x400481d500}, {0xeaaaf0, 0x4001797ee0}, {0xea2e80, 0x400481d560}, 0x0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3179406897/internal/jsonrpc2/serve.go:112 +0x234
created by golang.org/x/tools/internal/jsonrpc2/servertest.NewTCPServer in goroutine 4560
	/home/swarming/.swarming/w/ir/x/w/targetrepo3179406897/internal/jsonrpc2/servertest/servertest.go:47 +0xe4

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-netbsd-arm64` && (`test timed out` || `SIGQUIT` || `context deadline exceeded` || status == "ABORT")
2024-02-01 22:23 x_tools-go1.21-netbsd-arm64 tools@afe52659 release-branch.go1.21@2fdad8af x/tools/gopls/internal/test/integration/misc.TestRunGovulncheck_Expiry/default [ABORT] (log)
=== RUN   TestRunGovulncheck_Expiry/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/05 23:32:52 go info for /home/swarming/.sw...
        	Info: "2024/02/05 23:32:57 go/packages.Load #293\n\tsnaps...
...
panic: test timed out after 10m0s
running tests:
	TestRunGovulncheck_Expiry (13s)
	TestRunGovulncheck_Expiry/default (12s)

goroutine 55570 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:176 +0x38
...
testing.(*common).Fatal(0x4001632000, {0x4001373b90?, 0x4003210801?, 0x4000a51990?})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1076 +0x58
golang.org/x/tools/gopls/internal/test/integration.(*Env).Await(0x40055093b0, {0x400419c4b0, 0x1, 0x1})
	/home/swarming/.swarming/w/ir/x/w/targetrepo1230718003/gopls/internal/test/integration/env.go:337 +0xdc
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1(0x4001632000)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1230718003/gopls/internal/test/integration/runner.go:253 +0x9b4
testing.tRunner(0x4001632000, 0x4002dda0f0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1595 +0xe8
created by testing.(*T).Run in goroutine 55421
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1648 +0x33c
2024-02-03 21:27 x_tools-go1.20-netbsd-arm64 tools@a1fbc781 release-branch.go1.20@a2f4a5a6 x/tools/gopls/internal/test/integration/misc.TestBadURICrash_VSCodeIssue1498/default [ABORT] (log)
=== RUN   TestBadURICrash_VSCodeIssue1498/default
panic: test timed out after 10m0s
running tests:
	TestBadURICrash_VSCodeIssue1498 (1s)
	TestBadURICrash_VSCodeIssue1498/default (0s)

goroutine 45365 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2241 +0x31c
created by time.goFunc
...
net.(*netFD).accept(0x4001a4cc80)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/fd_unix.go:172 +0x28
net.(*TCPListener).accept(0x4003a05230)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock_posix.go:148 +0x28
net.(*TCPListener).Accept(0x4003a05230)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:297 +0x2c
golang.org/x/tools/internal/jsonrpc2.Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo2772374449/internal/jsonrpc2/serve.go:76 +0x88
created by golang.org/x/tools/internal/jsonrpc2.Serve
	/home/swarming/.swarming/w/ir/x/w/targetrepo2772374449/internal/jsonrpc2/serve.go:72 +0x140

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-netbsd-arm64` && (`test timed out` || `SIGQUIT` || `context deadline exceeded` || status == "ABORT")
2024-02-05 22:32 x_tools-go1.20-netbsd-arm64 tools@365517a5 release-branch.go1.20@a2f4a5a6 x/tools/gopls/internal/test/integration/misc.TestWorkspaceSymbolSorting [ABORT] (log)
=== RUN   TestWorkspaceSymbolSorting
panic: test timed out after 10m0s
running tests:
	TestWorkspaceSymbolSorting (6s)

goroutine 55483 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2241 +0x31c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:176 +0x38
...
net.(*TCPListener).Accept(0x400f89aae0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:297 +0x2c
net/http.(*Server).Serve(0x40035b0870, {0xe27520, 0x400f89aae0})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:3059 +0x2cc
net/http.Serve(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:2581
golang.org/x/tools/gopls/internal/debug.(*Instance).Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo3599033258/gopls/internal/debug/serve.go:483 +0x730
created by golang.org/x/tools/gopls/internal/debug.(*Instance).Serve
	/home/swarming/.swarming/w/ir/x/w/targetrepo3599033258/gopls/internal/debug/serve.go:444 +0x37c

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-netbsd-arm64` && (`test timed out` || `SIGQUIT` || `context deadline exceeded` || status == "ABORT")
2024-02-01 17:54 x_tools-go1.21-netbsd-arm64 tools@42507833 release-branch.go1.21@f2920803 x/tools/gopls/internal/test/integration/misc.TestStaticcheckGenerics/default [ABORT] (log)
=== RUN   TestStaticcheckGenerics/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/07 21:42:37 go info for /home/swarming/.sw...
        
...
panic: test timed out after 10m0s
running tests:
	TestStaticcheckGenerics (2s)
	TestStaticcheckGenerics/default (1s)

goroutine 49712 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:176 +0x38
...
encoding/json.(*Decoder).Decode(0x40002f0a00, {0xa493c0, 0x40001c9470})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/encoding/json/stream.go:63 +0x5c
golang.org/x/tools/internal/jsonrpc2.(*rawStream).Read(0x400d424570, {0xe4bd48, 0x4001b9c000})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3910434633/internal/jsonrpc2/stream.go:61 +0x70
golang.org/x/tools/gopls/internal/protocol.(*loggingStream).Read(0x4005c444e0, {0xe4bd48?, 0x4001b9c000?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3910434633/gopls/internal/protocol/log.go:30 +0x38
golang.org/x/tools/internal/jsonrpc2.(*conn).run(0x400ab89cc0, {0xe4bd48, 0x4001b9c000}, 0x40032ad818)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3910434633/internal/jsonrpc2/conn.go:196 +0x84
created by golang.org/x/tools/internal/jsonrpc2.(*conn).Go in goroutine 49702
	/home/swarming/.swarming/w/ir/x/w/targetrepo3910434633/internal/jsonrpc2/conn.go:189 +0xa8
2024-02-05 22:17 x_tools-go1.21-netbsd-arm64 tools@0be034b1 release-branch.go1.21@f2920803 x/tools/gopls/internal/test/integration/misc.TestRenamePackage_IntermediateTestVariant/default [ABORT] (log)
=== RUN   TestRenamePackage_IntermediateTestVariant/default
panic: test timed out after 10m0s
running tests:
	TestRenamePackage_IntermediateTestVariant (1s)
	TestRenamePackage_IntermediateTestVariant/default (1s)

goroutine 45018 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
...
net.(*TCPListener).Accept(0x400182f9e0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:315 +0x2c
net/http.(*Server).Serve(0x4000e24000, {0xe5f0b0, 0x400182f9e0})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:3056 +0x2b8
net/http.Serve(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:2595
golang.org/x/tools/gopls/internal/debug.(*Instance).Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo4209591634/gopls/internal/debug/serve.go:483 +0xa74
created by golang.org/x/tools/gopls/internal/debug.(*Instance).Serve in goroutine 4408
	/home/swarming/.swarming/w/ir/x/w/targetrepo4209591634/gopls/internal/debug/serve.go:444 +0x3b0
2024-02-06 17:54 x_tools-gotip-netbsd-arm64 tools@08bd7281 go@adbf71eb x/tools/gopls/internal/test/integration/misc.TestWorkspaceSymbolSorting/default [ABORT] (log)
=== RUN   TestWorkspaceSymbolSorting/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/07 22:48:24 go info for /home/swarming/.sw...
        	Info: "2024/02/07 22:48:25 go/packages.Load #307\n\tsnaps...
...
panic: test timed out after 10m0s
running tests:
	TestWorkspaceSymbolSorting (2s)
	TestWorkspaceSymbolSorting/default (2s)

goroutine 59238 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:177 +0x38
...
testing.(*common).Fatal(0x40009a1040, {0x40046aff30?, 0x40009a1001?, 0x4001337a50?})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1082 +0x58
golang.org/x/tools/gopls/internal/test/integration.(*Env).Await(0x4000de7e00, {0x40086e1530, 0x1, 0x1})
	/home/swarming/.swarming/w/ir/x/w/targetrepo1506849953/gopls/internal/test/integration/env.go:337 +0xdc
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1(0x40009a1040)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1506849953/gopls/internal/test/integration/runner.go:253 +0x9a0
testing.tRunner(0x40009a1040, 0x40035eda90)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1689 +0xec
created by testing.(*T).Run in goroutine 59135
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1742 +0x318
2024-02-07 01:30 x_tools-gotip-netbsd-arm64 tools@76795ef9 go@6d498ce8 x/tools/gopls/internal/test/integration/misc.TestRenamePackage_InvalidName/default [ABORT] (log)
=== RUN   TestRenamePackage_InvalidName/default
panic: test timed out after 10m0s
running tests:
	TestRenamePackage_InvalidName (2s)
	TestRenamePackage_InvalidName/default (2s)

goroutine 45912 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
...
golang.org/x/tools/gopls/internal/test/integration/fake.NewWorkdir({0x4003ccb490, 0x62}, 0x4002eaeff0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1424495669/gopls/internal/test/integration/fake/workdir.go:110 +0xcc
golang.org/x/tools/gopls/internal/test/integration/fake.NewSandbox(0xc3d509?)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1424495669/gopls/internal/test/integration/fake/sandbox.go:141 +0x480
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1(0x40039a1520)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1424495669/gopls/internal/test/integration/runner.go:200 +0x254
testing.tRunner(0x40039a1520, 0x4004bd14a0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1689 +0xec
created by testing.(*T).Run in goroutine 45910
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1742 +0x318
2024-02-07 02:22 x_tools-gotip-netbsd-arm64 tools@7f80389a go@39ec246e x/tools/gopls/internal/test/integration/misc.TestRunVulncheckPackageDiagnostics/default/default [ABORT] (log)
=== RUN   TestRunVulncheckPackageDiagnostics/default/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/07 16:28:10 go info for /home/swarming/.sw...
        	Info: "2024/02/07 16:28:21 go/packages.Load #304\n\tsnaps...
...
panic: test timed out after 10m0s
running tests:
	TestRunVulncheckPackageDiagnostics (55s)
	TestRunVulncheckPackageDiagnostics/default (34s)
	TestRunVulncheckPackageDiagnostics/default/default (33s)

goroutine 56898 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
...

goroutine 56538 [chan receive]:
testing.(*T).Run(0x400208a9c0, {0xbc9450?, 0xbfa212?}, 0x4004628f80)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1750 +0x32c
golang.org/x/tools/gopls/internal/test/integration/misc.TestRunVulncheckPackageDiagnostics(0x400208a9c0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo350669198/gopls/internal/test/integration/misc/vuln_test.go:556 +0x214
testing.tRunner(0x400208a9c0, 0xd65018)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1689 +0xec
created by testing.(*T).Run in goroutine 1
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1742 +0x318

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-netbsd-arm64` && (`test timed out` || `SIGQUIT` || `context deadline exceeded` || status == "ABORT")
2024-02-07 19:14 x_tools-go1.21-netbsd-arm64 tools@acf07b3c release-branch.go1.21@b214108e x/tools/gopls/internal/test/integration/misc.TestRunVulncheckPackageDiagnostics/imports/default [ABORT] (log)
=== RUN   TestRunVulncheckPackageDiagnostics/imports/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/09 19:18:26 go info for /home/swarming/.sw...
        
...
panic: test timed out after 10m0s
running tests:
	TestRunVulncheckPackageDiagnostics (9s)
	TestRunVulncheckPackageDiagnostics/imports (8s)
	TestRunVulncheckPackageDiagnostics/imports/default (8s)

goroutine 55548 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
...
os.(*Process).wait(0x400d9aa5d0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:22 +0x2c
os.(*Process).Wait(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec.go:134
os/exec.(*Cmd).Wait(0x40020b06e0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec/exec.go:890 +0x38
golang.org/x/tools/internal/gocommand.runCmdContext.func4()
	/home/swarming/.swarming/w/ir/x/w/targetrepo1563104732/internal/gocommand/invoke.go:362 +0x28
created by golang.org/x/tools/internal/gocommand.runCmdContext in goroutine 55544
	/home/swarming/.swarming/w/ir/x/w/targetrepo1563104732/internal/gocommand/invoke.go:361 +0x288
2024-02-08 13:20 x_tools-go1.22-netbsd-arm64 tools@f4fa7a75 release-branch.go1.22@20107e05 x/tools/gopls/internal/test/integration/misc.TestRunVulncheckPackageDiagnostics/invalid/default [ABORT] (log)
=== RUN   TestRunVulncheckPackageDiagnostics/invalid/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/08 19:38:07 go info for /home/swarming/.sw...
        
...
panic: test timed out after 10m0s
running tests:
	TestRunVulncheckPackageDiagnostics (36s)
	TestRunVulncheckPackageDiagnostics/invalid (4s)
	TestRunVulncheckPackageDiagnostics/invalid/default (4s)

goroutine 57842 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
...
net.(*TCPListener).Accept(0x4007d61240)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:327 +0x2c
net/http.(*Server).Serve(0x400cba3e00, {0xeac510, 0x4007d61240})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:3255 +0x2a8
net/http.Serve(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:2794
golang.org/x/tools/gopls/internal/debug.(*Instance).Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo750608834/gopls/internal/debug/serve.go:483 +0x984
created by golang.org/x/tools/gopls/internal/debug.(*Instance).Serve in goroutine 4662
	/home/swarming/.swarming/w/ir/x/w/targetrepo750608834/gopls/internal/debug/serve.go:444 +0x388

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-netbsd-arm64` && (`test timed out` || `SIGQUIT` || `context deadline exceeded` || status == "ABORT")
2024-02-07 19:14 x_tools-go1.22-netbsd-arm64 tools@acf07b3c release-branch.go1.22@20107e05 x/tools/gopls/internal/test/integration/misc.TestPrepareRenameFailWithUnknownModule/default [ABORT] (log)
=== RUN   TestPrepareRenameFailWithUnknownModule/default
    rename_test.go:138: missing cannot rename packages with unknown module from PrepareRename
#### Start Gopls Test Logs for "TestPrepareRenameFailWithUnknownModule/default"
[Trace - 04:59:08.110 AM] Sending request 'initialize - (1)'.
Params: {"processId":0,"rootUri":"","capabilities":{"workspace":{"workspaceEdit":{"resourceOperations":["rename"]},"didChangeConfiguration":{},"didChangeWatchedFiles":{"dynamicRegistration":true},"configuration":true},"textDocument":{"completion":{"completionItem":{"snippetSupport":true,"tagSupport":{"valueSet":[1]}}},"documentSymbol":{"hierarchicalDocumentSymbolSupport":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":null}}},"publishDiagnostics":{},"semanticTokens":{"requests":{"full":true},"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":null}},"window":{"workDoneProgress":true}},"initializationOptions":{"completionBudget":"0s","diagnosticsDelay":"10ms","env":{"GO111MODULE":"","GOMODCACHE":"","GOPACKAGESDRIVER":"off","GOPATH":"/home/swarming/.swarming/w/ir/x/t/gopls-test-2835049393/TestPrepareRenameFailWithUnknownModule/default/gopath","GOPROXY":"file:///home/swarming/.swarming/w/ir/x/t/gopls-test-2835049393/TestPrepareRenameFailWithUnknownModule/default/proxy","GOSUMDB":"off"},"verboseWorkDoneProgress":true},"trace":"messages","workspaceFolders":[{"uri":"file:///home/swarming/.swarming/w/ir/x/t/gopls-test-2835049393/TestPrepareRenameFailWithUnknownModule/default/work","name":"work"}]}


[Trace - 04:59:08.255 AM] Received response 'initialize - (1)' in 145ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":true,"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"renameProvider":true,"foldingRangeProvider":true,"selectionRangeProvider":true,"executeCommandProvider":{"commands":["gopls.add_dependency","gopls.add_import","gopls.add_telemetry_counters","gopls.apply_fix","gopls.change_signature","gopls.check_upgrades","gopls.diagnose_files","gopls.edit_go_directive","gopls.fetch_vulncheck_result","gopls.gc_details","gopls.generate","gopls.go_get_package","gopls.list_imports","gopls.list_known_packages","gopls.maybe_prompt_for_telemetry","gopls.mem_stats","gopls.regenerate_cgo","gopls.remove_dependency","gopls.reset_go_mod_diagnostics","gopls.run_go_work_command","gopls.run_govulncheck","gopls.run_tests","gopls.start_debugging","gopls.start_profile","gopls.stop_profile","gopls.test","gopls.tidy","gopls.toggle_gc_details","gopls.update_go_sum","gopls.upgrade_dependency","gopls.vendor","gopls.views","gopls.workspace_stats"]},"callHierarchyProvider":true,"semanticTokensProvider":{"legend":{"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"]},"range":true,"full":true},"inlayHintProvider":{},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"{\"GoVersion\":\"devel 20107e05a609b8f2e61a6b5e8dc258237ad046e7\",\"Path\":\"\",\"Main\":{\"Path\":\"\",\"Version\":\"\",\"Sum\":\"\",\"Replace\":null},\"Deps\":null,\"Settings\":null,\"Version\":\"(unknown)\"}"}}

...
panic: test timed out after 10m0s
running tests:
	TestPrepareRenameFailWithUnknownModule (2s)
	TestPrepareRenameFailWithUnknownModule/default (2s)

goroutine 40992 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:177 +0x38
...
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run(0x40003f1540, 0x4001436680, {0xc3fce9, 0x8b}, 0xd66120, {0x0, 0x0, 0x148268?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2344120808/gopls/internal/test/integration/runner.go:167 +0x3dc
golang.org/x/tools/gopls/internal/test/integration.Run(...)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2344120808/gopls/internal/test/integration/regtest.go:56
golang.org/x/tools/gopls/internal/test/integration/misc.TestPrepareRenameFailWithUnknownModule(0x4001436680?)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2344120808/gopls/internal/test/integration/misc/rename_test.go:131 +0x50
testing.tRunner(0x4001436680, 0xd65c38)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1689 +0xec
created by testing.(*T).Run in goroutine 1
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1742 +0x318
2024-02-07 19:42 x_tools-go1.22-netbsd-arm64 tools@76ef6b6a release-branch.go1.22@20107e05 x/tools/gopls/internal/test/integration/misc.TestWorkspaceSymbolMissingMetadata/default [ABORT] (log)
=== RUN   TestWorkspaceSymbolMissingMetadata/default
panic: test timed out after 10m0s
running tests:
	TestWorkspaceSymbolMissingMetadata (5s)
	TestWorkspaceSymbolMissingMetadata/default (5s)

goroutine 59044 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
...
net.(*TCPListener).Accept(0x4004df61e0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:327 +0x2c
net/http.(*Server).Serve(0x4009c33d10, {0xeac4f0, 0x4004df61e0})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:3255 +0x2a8
net/http.Serve(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:2794
golang.org/x/tools/gopls/internal/debug.(*Instance).Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo725247295/gopls/internal/debug/serve.go:483 +0x984
created by golang.org/x/tools/gopls/internal/debug.(*Instance).Serve in goroutine 4634
	/home/swarming/.swarming/w/ir/x/w/targetrepo725247295/gopls/internal/debug/serve.go:444 +0x388
2024-02-09 17:21 x_tools-go1.22-netbsd-arm64 tools@a7407fac release-branch.go1.22@20107e05 x/tools/gopls/internal/test/integration/misc.TestRunVulncheckPackageDiagnostics/imports/default [ABORT] (log)
=== RUN   TestRunVulncheckPackageDiagnostics/imports/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/11 01:21:27 go info for /home/swarming/.sw...
        
...
panic: test timed out after 10m0s
running tests:
	TestRunVulncheckPackageDiagnostics (18s)
	TestRunVulncheckPackageDiagnostics/imports (18s)
	TestRunVulncheckPackageDiagnostics/imports/default (18s)

goroutine 56848 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
...
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0xead8f0, 0x4003aaf800}, 0x4003aaff50, {0xffffb1bc00f0, 0x4003aaf710})
	/home/swarming/.swarming/w/ir/x/w/targetrepo773431403/gopls/internal/protocol/protocol.go:160 +0x74
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0xead8f0, 0x4003aaf800}, 0x4003aaff50, {0xffffb1bc00f0, 0x4003aaf710})
	/home/swarming/.swarming/w/ir/x/w/targetrepo773431403/gopls/internal/lsprpc/lsprpc.go:509 +0x6e0
golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0xead8f0, 0x4003aaf800}, 0x4004ee90f8, {0xffffb1bc00f0, 0x4003aaf710})
	/home/swarming/.swarming/w/ir/x/w/targetrepo773431403/internal/jsonrpc2/handler.go:35 +0xc0
golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
	/home/swarming/.swarming/w/ir/x/w/targetrepo773431403/internal/jsonrpc2/handler.go:103 +0x90
created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 56825
	/home/swarming/.swarming/w/ir/x/w/targetrepo773431403/internal/jsonrpc2/handler.go:100 +0x19c
2024-02-09 17:28 x_tools-go1.22-netbsd-arm64 tools@a5af84e3 release-branch.go1.22@20107e05 x/tools/gopls/internal/test/integration/misc.TestSignatureHelpInNonWorkspacePackage/default [ABORT] (log)
=== RUN   TestSignatureHelpInNonWorkspacePackage/default
panic: test timed out after 10m0s
running tests:
	TestSignatureHelpInNonWorkspacePackage (0s)
	TestSignatureHelpInNonWorkspacePackage/default (0s)

goroutine 50738 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
...
os.Mkdir({0x4004ec5730, 0x6d}, 0x1ed)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file.go:303 +0x54
golang.org/x/tools/gopls/internal/test/integration/fake.NewSandbox(0xc47e4a?)
	/home/swarming/.swarming/w/ir/x/w/targetrepo817648074/gopls/internal/test/integration/fake/sandbox.go:101 +0x284
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1(0x40038d7ba0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo817648074/gopls/internal/test/integration/runner.go:200 +0x254
testing.tRunner(0x40038d7ba0, 0x400493de00)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1689 +0xec
created by testing.(*T).Run in goroutine 50722
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1742 +0x318
2024-02-09 17:28 x_tools-gotip-netbsd-arm64 tools@a5af84e3 go@644bc4a3 x/tools/gopls/internal/test/integration/misc.TestWindowsVendoring_Issue56291/default [ABORT] (log)
=== RUN   TestWindowsVendoring_Issue56291/default
panic: test timed out after 10m0s
running tests:
	TestWindowsVendoring_Issue56291 (5s)
	TestWindowsVendoring_Issue56291/default (4s)

goroutine 54824 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
...
net.(*netFD).accept(0x4003393600)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/fd_unix.go:172 +0x28
net.(*TCPListener).accept(0x4004b27600)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock_posix.go:159 +0x28
net.(*TCPListener).Accept(0x4004b27600)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:327 +0x2c
golang.org/x/tools/internal/jsonrpc2.Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo1571110540/internal/jsonrpc2/serve.go:76 +0x90
created by golang.org/x/tools/internal/jsonrpc2.Serve in goroutine 4600
	/home/swarming/.swarming/w/ir/x/w/targetrepo1571110540/internal/jsonrpc2/serve.go:72 +0x108
2024-02-09 17:45 x_tools-go1.21-netbsd-arm64 tools@96196832 release-branch.go1.21@b214108e x/tools/gopls/internal/test/integration/misc.TestFetchVulncheckResultStd/default [ABORT] (log)
=== RUN   TestFetchVulncheckResultStd/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/10 17:06:23 go info for /home/swarming/.sw...
        
...
panic: test timed out after 10m0s
running tests:
	TestFetchVulncheckResultStd (4s)
	TestFetchVulncheckResultStd/default (3s)

goroutine 54222 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:176 +0x38
...
golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
	/home/swarming/.swarming/w/ir/x/w/targetrepo2797116030/internal/jsonrpc2/handler.go:103 +0x90
created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 54046
	/home/swarming/.swarming/w/ir/x/w/targetrepo2797116030/internal/jsonrpc2/handler.go:100 +0x1d0

goroutine 54221 [chan receive]:
golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
	/home/swarming/.swarming/w/ir/x/w/targetrepo2797116030/internal/jsonrpc2/handler.go:101 +0x60
created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 54046
	/home/swarming/.swarming/w/ir/x/w/targetrepo2797116030/internal/jsonrpc2/handler.go:100 +0x1d0
2024-02-09 17:45 x_tools-gotip-netbsd-arm64 tools@96196832 go@4a7f3ac8 x/tools/gopls/internal/test/integration/misc.TestInconsistentVendoring/default [ABORT] (log)
=== RUN   TestInconsistentVendoring/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        
        #### diagnostics:
...
panic: test timed out after 10m0s
running tests:
	TestInconsistentVendoring (35s)
	TestInconsistentVendoring/default (35s)

goroutine 54242 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:177 +0x38
...
encoding/json.(*Decoder).Decode(0x4004916f00, {0xa9c980, 0x401073cff0})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/encoding/json/stream.go:63 +0x5c
golang.org/x/tools/internal/jsonrpc2.(*rawStream).Read(0x4006cb51b8, {0xeac350, 0x4010004f00})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3688967630/internal/jsonrpc2/stream.go:61 +0x70
golang.org/x/tools/gopls/internal/protocol.(*loggingStream).Read(0x400fa4b2c0, {0xeac350?, 0x4010004f00?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3688967630/gopls/internal/protocol/log.go:30 +0x38
golang.org/x/tools/internal/jsonrpc2.(*conn).run(0x40048d34a0, {0xeac350, 0x4010004f00}, 0x4006dbd728)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3688967630/internal/jsonrpc2/conn.go:196 +0x84
created by golang.org/x/tools/internal/jsonrpc2.(*conn).Go in goroutine 53723
	/home/swarming/.swarming/w/ir/x/w/targetrepo3688967630/internal/jsonrpc2/conn.go:189 +0x90
2024-02-09 20:28 x_tools-go1.21-netbsd-arm64 tools@8cf0a8e2 release-branch.go1.21@b214108e x/tools/gopls/internal/test/integration/misc.TestRunVulncheckPackageDiagnostics/invalid/default [ABORT] (log)
=== RUN   TestRunVulncheckPackageDiagnostics/invalid/default
panic: test timed out after 10m0s
running tests:
	TestRunVulncheckPackageDiagnostics (39s)
	TestRunVulncheckPackageDiagnostics/invalid (9s)
	TestRunVulncheckPackageDiagnostics/invalid/default (9s)

goroutine 55495 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
...
golang.org/x/tools/gopls/internal/test/integration/fake.(*Sandbox).Close(0x40030ce6c0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo792330823/gopls/internal/test/integration/fake/sandbox.go:292 +0x9c
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo792330823/gopls/internal/test/integration/runner.go:206 +0x34
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1(0x4004e56340)
	/home/swarming/.swarming/w/ir/x/w/targetrepo792330823/gopls/internal/test/integration/runner.go:255 +0xa08
testing.tRunner(0x4004e56340, 0x4003ae2af0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1595 +0xe8
created by testing.(*T).Run in goroutine 55333
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1648 +0x33c

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-netbsd-arm64` && (`test timed out` || `SIGQUIT` || `context deadline exceeded` || status == "ABORT")
2024-02-09 18:30 x_tools-gotip-netbsd-arm64 tools@730dc3c1 go@4a7f3ac8 x/tools/gopls/internal/test/integration/misc.TestRunVulncheckPackageDiagnostics/invalid/default [ABORT] (log)
=== RUN   TestRunVulncheckPackageDiagnostics/invalid/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/11 23:24:46 go info for /home/swarming/.sw...
        
...
panic: test timed out after 10m0s
running tests:
	TestRunVulncheckPackageDiagnostics (43s)
	TestRunVulncheckPackageDiagnostics/invalid (4s)
	TestRunVulncheckPackageDiagnostics/invalid/default (4s)

goroutine 57361 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
...

goroutine 56799 [chan receive]:
testing.(*T).Run(0x400254c680, {0xbc94db?, 0xbfa359?}, 0x4000cb6100)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1750 +0x32c
golang.org/x/tools/gopls/internal/test/integration/misc.TestRunVulncheckPackageDiagnostics(0x400254c680)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1773783150/gopls/internal/test/integration/misc/vuln_test.go:556 +0x214
testing.tRunner(0x400254c680, 0xd65358)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1689 +0xec
created by testing.(*T).Run in goroutine 1
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1742 +0x318
2024-02-09 20:28 x_tools-gotip-netbsd-arm64 tools@8cf0a8e2 go@4a7f3ac8 x/tools/gopls/internal/test/integration/misc.TestRenamePackage_InternalPackage/default [ABORT] (log)
=== RUN   TestRenamePackage_InternalPackage/default
    rename_test.go:895: context deadline exceeded
#### Start Gopls Test Logs for "TestRenamePackage_InternalPackage/default"
[Trace - 07:28:21.563 AM] Sending request 'initialize - (1)'.
Params: {"processId":0,"rootUri":"","capabilities":{"workspace":{"workspaceEdit":{"resourceOperations":["rename"]},"didChangeConfiguration":{},"didChangeWatchedFiles":{"dynamicRegistration":true},"configuration":true},"textDocument":{"completion":{"completionItem":{"snippetSupport":true,"tagSupport":{"valueSet":[1]}}},"documentSymbol":{"hierarchicalDocumentSymbolSupport":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":null}}},"publishDiagnostics":{},"semanticTokens":{"requests":{"full":true},"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":null}},"window":{"workDoneProgress":true}},"initializationOptions":{"completionBudget":"0s","diagnosticsDelay":"10ms","env":{"GO111MODULE":"","GOMODCACHE":"","GOPACKAGESDRIVER":"off","GOPATH":"/home/swarming/.swarming/w/ir/x/t/gopls-test-3165834321/TestRenamePackage_InternalPackage/default/gopath","GOPROXY":"file:///home/swarming/.swarming/w/ir/x/t/gopls-test-3165834321/TestRenamePackage_InternalPackage/default/proxy","GOSUMDB":"off"},"verboseWorkDoneProgress":true},"trace":"messages","workspaceFolders":[{"uri":"file:///home/swarming/.swarming/w/ir/x/t/gopls-test-3165834321/TestRenamePackage_InternalPackage/default/work","name":"work"}]}


[Trace - 07:28:21.618 AM] Received response 'initialize - (1)' in 54ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":true,"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"renameProvider":true,"foldingRangeProvider":true,"selectionRangeProvider":true,"executeCommandProvider":{"commands":["gopls.add_dependency","gopls.add_import","gopls.add_telemetry_counters","gopls.apply_fix","gopls.change_signature","gopls.check_upgrades","gopls.diagnose_files","gopls.edit_go_directive","gopls.fetch_vulncheck_result","gopls.gc_details","gopls.generate","gopls.go_get_package","gopls.list_imports","gopls.list_known_packages","gopls.maybe_prompt_for_telemetry","gopls.mem_stats","gopls.regenerate_cgo","gopls.remove_dependency","gopls.reset_go_mod_diagnostics","gopls.run_go_work_command","gopls.run_govulncheck","gopls.run_tests","gopls.start_debugging","gopls.start_profile","gopls.stop_profile","gopls.test","gopls.tidy","gopls.toggle_gc_details","gopls.update_go_sum","gopls.upgrade_dependency","gopls.vendor","gopls.views","gopls.workspace_stats"]},"callHierarchyProvider":true,"semanticTokensProvider":{"legend":{"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"]},"range":true,"full":true},"inlayHintProvider":{},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":"gopls","version":"{\"GoVersion\":\"devel 4a7f3ac8eb4381ea62caa1741eeeec28363245b4\",\"Path\":\"\",\"Main\":{\"Path\":\"\",\"Version\":\"\",\"Sum\":\"\",\"Replace\":null},\"Deps\":null,\"Settings\":null,\"Version\":\"(unknown)\"}"}}

...
panic: test timed out after 10m0s
running tests:
	TestRenamePackage_InternalPackage (57s)
	TestRenamePackage_InternalPackage/default (57s)

goroutine 47332 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:177 +0x38
...
encoding/json.(*Decoder).readValue(0x4001199680)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/encoding/json/stream.go:140 +0x74
encoding/json.(*Decoder).Decode(0x4001199680, {0xa9c980, 0x4000966030})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/encoding/json/stream.go:63 +0x5c
golang.org/x/tools/internal/jsonrpc2.(*rawStream).Read(0x4009d3d938, {0xeac428, 0x4002e3d0e0})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2628210417/internal/jsonrpc2/stream.go:61 +0x70
golang.org/x/tools/internal/jsonrpc2.(*conn).run(0x4002e3d180, {0xeac428, 0x4002e3d0e0}, 0x4009d3d980)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2628210417/internal/jsonrpc2/conn.go:196 +0x84
created by golang.org/x/tools/internal/jsonrpc2.(*conn).Go in goroutine 46424
	/home/swarming/.swarming/w/ir/x/w/targetrepo2628210417/internal/jsonrpc2/conn.go:189 +0x90
2024-02-09 20:40 x_tools-gotip-netbsd-arm64 tools@f0ef3c69 go@9cc0f9cb x/tools/gopls/internal/test/integration/misc.TestRunVulncheckPackageDiagnostics/invalid/default [ABORT] (log)
=== RUN   TestRunVulncheckPackageDiagnostics/invalid/default
panic: test timed out after 10m0s
running tests:
	TestRunVulncheckPackageDiagnostics (27s)
	TestRunVulncheckPackageDiagnostics/invalid (1s)
	TestRunVulncheckPackageDiagnostics/invalid/default (0s)

goroutine 57788 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
...
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run(0x40003685a0, 0x40031641a0, {0xc5d113, 0x3a5}, 0x4005314a60, {0x40033b3e60, 0x4, 0xfffffba00f18?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo493105487/gopls/internal/test/integration/runner.go:167 +0x3dc
golang.org/x/tools/gopls/internal/test/integration.configuredRunner.Run({{0x40033b3e60?, 0x1053af1?, 0x4000cdcf18?}}, 0x40031641a0, {0xc5d113, 0x3a5}, 0x4005314a60)
	/home/swarming/.swarming/w/ir/x/w/targetrepo493105487/gopls/internal/test/integration/regtest.go:80 +0xf0
golang.org/x/tools/gopls/internal/test/integration/misc.TestRunVulncheckPackageDiagnostics.func3(0x40031641a0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo493105487/gopls/internal/test/integration/misc/vuln_test.go:559 +0x148
testing.tRunner(0x40031641a0, 0x4002687440)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1689 +0xec
created by testing.(*T).Run in goroutine 57493
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1742 +0x318
2024-02-12 19:37 x_tools-go1.21-netbsd-arm64 tools@50b4f1b1 release-branch.go1.21@b214108e x/tools/gopls/internal/test/integration/misc.TestRunVulncheckPackageDiagnostics/invalid/default [ABORT] (log)
=== RUN   TestRunVulncheckPackageDiagnostics/invalid/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/12 22:55:06 go info for /home/swarming/.sw...
        
...
panic: test timed out after 10m0s
running tests:
	TestRunVulncheckPackageDiagnostics (52s)
	TestRunVulncheckPackageDiagnostics/invalid (5s)
	TestRunVulncheckPackageDiagnostics/invalid/default (5s)

goroutine 55030 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
...
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run(0x40002cdd60, 0x400235d6c0, {0xc175ca, 0x3a5}, 0x40076511c0, {0x4001c6c8a0, 0x4, 0x0?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo4155060322/gopls/internal/test/integration/runner.go:167 +0x404
golang.org/x/tools/gopls/internal/test/integration.configuredRunner.Run({{0x4001c6c8a0?, 0xee1d76?, 0xf?}}, 0x400235d6c0, {0xc175ca, 0x3a5}, 0x146b6e?)
	/home/swarming/.swarming/w/ir/x/w/targetrepo4155060322/gopls/internal/test/integration/regtest.go:80 +0xf0
golang.org/x/tools/gopls/internal/test/integration/misc.TestRunVulncheckPackageDiagnostics.func3(0x4001ee16c0?)
	/home/swarming/.swarming/w/ir/x/w/targetrepo4155060322/gopls/internal/test/integration/misc/vuln_test.go:559 +0x148
testing.tRunner(0x400235d6c0, 0x400273bb80)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1595 +0xe8
created by testing.(*T).Run in goroutine 54629
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1648 +0x33c
2024-02-12 22:10 x_tools-go1.21-netbsd-arm64 tools@c5643e9b release-branch.go1.21@b214108e x/tools/gopls/internal/test/integration/misc.TestRunVulncheckWarning/default [ABORT] (log)
=== RUN   TestRunVulncheckWarning/default
panic: test timed out after 10m0s
running tests:
	TestRunVulncheckWarning (30s)
	TestRunVulncheckWarning/default (28s)

goroutine 57042 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
...
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run(0x400050cfa0, 0x400290a680, {0xc17bcd, 0x3a5}, 0xd203e0, {0x40035845d0, 0x3, 0x959808?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2881196767/gopls/internal/test/integration/runner.go:167 +0x400
golang.org/x/tools/gopls/internal/test/integration.configuredRunner.Run({{0x40035845d0?, 0x4b9?, 0xf?}}, 0x400290a680, {0xc17bcd, 0x3a5}, 0x14acb6?)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2881196767/gopls/internal/test/integration/regtest.go:80 +0xf0
golang.org/x/tools/gopls/internal/test/integration/misc.TestRunVulncheckWarning(0x400290a680)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2881196767/gopls/internal/test/integration/misc/vuln_test.go:646 +0xd4
testing.tRunner(0x400290a680, 0xd1fee0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1595 +0xe8
created by testing.(*T).Run in goroutine 1
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1648 +0x33c
2024-02-13 14:38 x_tools-go1.21-netbsd-arm64 tools@1b39a8b6 release-branch.go1.21@b214108e x/tools/gopls/internal/test/integration/misc.TestRunVulncheckWarning/default [ABORT] (log)
=== RUN   TestRunVulncheckWarning/default
panic: test timed out after 10m0s
running tests:
	TestRunVulncheckWarning (1s)
	TestRunVulncheckWarning/default (0s)

goroutine 55853 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
...
os.Mkdir({0x4002699620, 0x5d}, 0x1ed)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file.go:263 +0x54
golang.org/x/tools/gopls/internal/test/integration/fake.NewSandbox(0xc17c0d?)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1448920499/gopls/internal/test/integration/fake/sandbox.go:101 +0x284
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1(0x40022aab60)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1448920499/gopls/internal/test/integration/runner.go:200 +0x258
testing.tRunner(0x40022aab60, 0x40080ff2c0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1595 +0xe8
created by testing.(*T).Run in goroutine 55816
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1648 +0x33c
2024-02-13 14:38 x_tools-go1.22-netbsd-arm64 tools@1b39a8b6 release-branch.go1.22@20107e05 x/tools/gopls/internal/test/integration/misc.TestRunGovulncheck_Expiry/default [ABORT] (log)
=== RUN   TestRunGovulncheck_Expiry/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/13 18:18:45 go info for /home/swarming/.sw...
        
...
panic: test timed out after 10m0s
running tests:
	TestRunGovulncheck_Expiry (5s)
	TestRunGovulncheck_Expiry/default (4s)

goroutine 57710 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:177 +0x38
...
created by golang.org/x/tools/internal/jsonrpc2/servertest.(*PipeServer).Connect in goroutine 57671
	/home/swarming/.swarming/w/ir/x/w/targetrepo687698275/internal/jsonrpc2/servertest/servertest.go:84 +0x178

goroutine 57696 [select]:
golang.org/x/tools/gopls/internal/cache.(*Snapshot).AwaitInitialized(0x400292ed80, {0xeae1b0, 0x4003c558c0})
	/home/swarming/.swarming/w/ir/x/w/targetrepo687698275/gopls/internal/cache/snapshot.go:1359 +0x68
golang.org/x/tools/gopls/internal/server.(*server).addFolders.func2()
	/home/swarming/.swarming/w/ir/x/w/targetrepo687698275/gopls/internal/server/general.go:324 +0x48
created by golang.org/x/tools/gopls/internal/server.(*server).addFolders in goroutine 57704
	/home/swarming/.swarming/w/ir/x/w/targetrepo687698275/gopls/internal/server/general.go:323 +0x454
2024-02-14 14:36 x_tools-go1.22-netbsd-arm64 tools@945a754d release-branch.go1.22@20107e05 x/tools/gopls/internal/test/integration/misc.TestRunVulncheckPackageDiagnostics/imports/default [ABORT] (log)
=== RUN   TestRunVulncheckPackageDiagnostics/imports/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/14 19:40:58 go info for /home/swarming/.sw...
        
...
panic: test timed out after 10m0s
running tests:
	TestRunVulncheckPackageDiagnostics (6s)
	TestRunVulncheckPackageDiagnostics/imports (5s)
	TestRunVulncheckPackageDiagnostics/imports/default (5s)

goroutine 56961 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
...
os.(*File).WriteTo(0x152a960?, {0xea52e0?, 0x40038a89f0?})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file.go:247 +0x60
io.copyBuffer({0xea52e0, 0x40038a89f0}, {0xea4ec0, 0x4005ed4378}, {0x0, 0x0, 0x0})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/io/io.go:411 +0x98
io.Copy(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/io/io.go:388
golang.org/x/tools/internal/gocommand.runCmdContext.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo2608966774/internal/gocommand/invoke.go:307 +0x4c
created by golang.org/x/tools/internal/gocommand.runCmdContext in goroutine 57000
	/home/swarming/.swarming/w/ir/x/w/targetrepo2608966774/internal/gocommand/invoke.go:306 +0x134
2024-02-14 18:27 x_tools-go1.21-netbsd-arm64 tools@f1914ccb release-branch.go1.21@b214108e x/tools/gopls/internal/test/integration/misc.TestWindowsVendoring_Issue56291/default [ABORT] (log)
=== RUN   TestWindowsVendoring_Issue56291/default
panic: test timed out after 10m0s
running tests:
	TestWindowsVendoring_Issue56291 (22s)
	TestWindowsVendoring_Issue56291/default (21s)

goroutine 53630 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
...
bytes.(*Buffer).ReadFrom(0x4003fbc8a0, {0xe597a0, 0x40039ea288})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/bytes/buffer.go:211 +0x90
io.copyBuffer({0xe59bc0, 0x4003fbc8a0}, {0xe597a0, 0x40039ea288}, {0x0, 0x0, 0x0})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/io/io.go:416 +0x108
io.Copy(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/io/io.go:389
golang.org/x/tools/internal/gocommand.runCmdContext.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo3622942568/internal/gocommand/invoke.go:307 +0x44
created by golang.org/x/tools/internal/gocommand.runCmdContext in goroutine 52806
	/home/swarming/.swarming/w/ir/x/w/targetrepo3622942568/internal/gocommand/invoke.go:306 +0x130
2024-02-14 19:36 x_tools-go1.21-netbsd-arm64 tools@0f0698e7 release-branch.go1.21@b214108e x/tools/gopls/internal/test/integration/misc.TestWorkspaceSymbolMissingMetadata/default [ABORT] (log)
=== RUN   TestWorkspaceSymbolMissingMetadata/default
panic: test timed out after 10m0s
running tests:
	TestWorkspaceSymbolMissingMetadata (3s)
	TestWorkspaceSymbolMissingMetadata/default (3s)

goroutine 56339 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
...
golang.org/x/tools/gopls/internal/test/integration/fake.(*Sandbox).Close(0x400c05c900?)
	/home/swarming/.swarming/w/ir/x/w/targetrepo835102028/gopls/internal/test/integration/fake/sandbox.go:294 +0xcc
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo835102028/gopls/internal/test/integration/runner.go:206 +0x34
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1(0x400210eb60)
	/home/swarming/.swarming/w/ir/x/w/targetrepo835102028/gopls/internal/test/integration/runner.go:255 +0x9f0
testing.tRunner(0x400210eb60, 0x400cdd8c30)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1595 +0xe8
created by testing.(*T).Run in goroutine 56186
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1648 +0x33c

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-netbsd-arm64` && (`test timed out` || `SIGQUIT` || `context deadline exceeded` || status == "ABORT")
2024-02-14 21:42 x_tools-go1.21-netbsd-arm64 tools@fef8b627 release-branch.go1.21@b214108e x/tools/gopls/internal/test/integration/misc.TestRenamePackageWithConflicts/default [ABORT] (log)
=== RUN   TestRenamePackageWithConflicts/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/15 04:33:52 go info for /home/swarming/.sw...
        
...
panic: test timed out after 10m0s
running tests:
	TestRenamePackageWithConflicts (2s)
	TestRenamePackageWithConflicts/default (2s)

goroutine 40257 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:176 +0x38
...
net.(*TCPListener).Accept(0x400c6272e0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:315 +0x2c
net/http.(*Server).Serve(0x4006fae5a0, {0xe61f30, 0x400c6272e0})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:3056 +0x2b8
net/http.Serve(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:2595
golang.org/x/tools/gopls/internal/debug.(*Instance).Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo2622843102/gopls/internal/debug/serve.go:483 +0xa74
created by golang.org/x/tools/gopls/internal/debug.(*Instance).Serve in goroutine 4622
	/home/swarming/.swarming/w/ir/x/w/targetrepo2622843102/gopls/internal/debug/serve.go:444 +0x3b0
2024-02-14 21:42 x_tools-gotip-netbsd-arm64 tools@fef8b627 go@48d899dc x/tools/gopls/internal/test/integration/misc.TestStaticcheckGenerics/default [ABORT] (log)
=== RUN   TestStaticcheckGenerics/default
    staticcheck_test.go:67: waiting on:
        Unmet: once "All of:\ncompleted work \"diagnosing opened files\" at least 1 time(s)" is met, must have:
        any diagnostics at the first position (20:1) matching `sort.Slice` in "a/a.go", with source "sortslice"
        any diagnostics at the first position (20:12) matching `sort.Slice.(slice)` in "a/a.go", with source "SA1028"
        any diagnostics at the first position (36:4) matching `var (FooErr)` in "a/a.go", with source "ST1012"
        any diagnostics at the first position (26:37) matching `"12234"` in "a/a.go", with source "SA1024"
        any diagnostics at the first position (17:31) matching `testGenerics.*(p P)` in "a/a.go", with source "SA4009"
        any diagnostics at the first position (31:5) matching `q = (&\*p)` in "a/a.go", with source "SA4001"
        
...
panic: test timed out after 10m0s
running tests:
	TestStaticcheckGenerics (12s)
	TestStaticcheckGenerics/default (12s)

goroutine 51663 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:177 +0x38
...
golang.org/x/tools/gopls/internal/test/integration.(*Env).AfterChange(0x4000ebe780, {0x400e885ef0, 0x6, 0x6})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2479418381/gopls/internal/test/integration/expectation.go:333 +0x64
golang.org/x/tools/gopls/internal/test/integration/misc.TestStaticcheckGenerics.func1(0x4000ebe780?, 0x4000ebe780)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2479418381/gopls/internal/test/integration/misc/staticcheck_test.go:67 +0x63c
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1(0x400175b520)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2479418381/gopls/internal/test/integration/runner.go:254 +0x99c
testing.tRunner(0x400175b520, 0x4000ebe5f0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1689 +0xec
created by testing.(*T).Run in goroutine 50973
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1742 +0x318
2024-02-14 22:17 x_tools-gotip-netbsd-arm64 tools@ea9e5421 go@d90a57ff x/tools/gopls/internal/test/integration/misc.TestRenamePackageWithAlias/default [ABORT] (log)
=== RUN   TestRenamePackageWithAlias/default
panic: test timed out after 10m0s
running tests:
	TestRenamePackageWithAlias (2s)
	TestRenamePackageWithAlias/default (2s)

goroutine 41598 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
...
golang.org/x/tools/gopls/internal/test/integration/fake.NewWorkdir({0x4003917560, 0x5f}, 0x40039cb980)
	/home/swarming/.swarming/w/ir/x/w/targetrepo911844573/gopls/internal/test/integration/fake/workdir.go:110 +0xcc
golang.org/x/tools/gopls/internal/test/integration/fake.NewSandbox(0xc4650e?)
	/home/swarming/.swarming/w/ir/x/w/targetrepo911844573/gopls/internal/test/integration/fake/sandbox.go:141 +0x480
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1(0x400300f380)
	/home/swarming/.swarming/w/ir/x/w/targetrepo911844573/gopls/internal/test/integration/runner.go:200 +0x254
testing.tRunner(0x400300f380, 0x400b2c4e60)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1689 +0xec
created by testing.(*T).Run in goroutine 41596
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1742 +0x318
2024-02-15 16:20 x_tools-go1.21-netbsd-arm64 tools@babbbed1 release-branch.go1.21@b214108e x/tools/gopls/internal/test/integration/misc.TestSignatureHelpInNonWorkspacePackage/default [ABORT] (log)
=== RUN   TestSignatureHelpInNonWorkspacePackage/default
panic: test timed out after 10m0s
running tests:
	TestSignatureHelpInNonWorkspacePackage (6s)
	TestSignatureHelpInNonWorkspacePackage/default (5s)

goroutine 48359 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
...
context.WithCancel({0xe63148, 0x400055b660})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/context/context.go:236 +0x3c
golang.org/x/tools/gopls/internal/test/integration/fake.(*Editor).Connect(0x400202c2c0, {0xe62f88, 0x400e06d890}, {0xe5a2a0, 0x40038c3b00}, {0x400055b5d0, 0x400055b5c0, 0x400055b5e0, 0x400055b5f0, 0x400055b600, ...}, ...)
	/home/swarming/.swarming/w/ir/x/w/targetrepo4099729209/gopls/internal/test/integration/fake/editor.go:150 +0x88
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1(0x40027c5380)
	/home/swarming/.swarming/w/ir/x/w/targetrepo4099729209/gopls/internal/test/integration/runner.go:222 +0x7ec
testing.tRunner(0x40027c5380, 0x4002445900)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1595 +0xe8
created by testing.(*T).Run in goroutine 48150
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1648 +0x33c
2024-02-15 16:20 x_tools-gotip-netbsd-arm64 tools@babbbed1 go@b6ca5861 x/tools/gopls/internal/test/integration/misc.TestWindowsVendoring_Issue56291/default [ABORT] (log)
=== RUN   TestWindowsVendoring_Issue56291/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/15 17:31:52 go info for /home/swarming/.sw...
        
...
panic: test timed out after 10m0s
running tests:
	TestWindowsVendoring_Issue56291 (5s)
	TestWindowsVendoring_Issue56291/default (5s)

goroutine 54431 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:177 +0x38
...
golang.org/x/tools/gopls/internal/cache.(*Snapshot).WorkspaceMetadata(0x400b75eb40, {0xead830?, 0x4001c040f0?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo565597763/gopls/internal/cache/snapshot.go:1081 +0x44
golang.org/x/tools/gopls/internal/server.(*server).diagnose(0x40060ee000, {0xead830, 0x4000631e60}, 0x400b75eb40)
	/home/swarming/.swarming/w/ir/x/w/targetrepo565597763/gopls/internal/server/diagnostics.go:368 +0x400
golang.org/x/tools/gopls/internal/server.(*server).diagnoseSnapshot(0x40060ee000, 0x400b75eb40, {0x0, 0x0, 0x0}, 0x0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo565597763/gopls/internal/server/diagnostics.go:225 +0x43c
golang.org/x/tools/gopls/internal/server.(*server).addFolders.func3()
	/home/swarming/.swarming/w/ir/x/w/targetrepo565597763/gopls/internal/server/general.go:333 +0x4c
created by golang.org/x/tools/gopls/internal/server.(*server).addFolders in goroutine 54423
	/home/swarming/.swarming/w/ir/x/w/targetrepo565597763/gopls/internal/server/general.go:332 +0x4e0

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-netbsd-arm64` && (`test timed out` || `SIGQUIT` || `context deadline exceeded` || status == "ABORT")
2024-02-15 20:20 x_tools-go1.21-netbsd-arm64 tools@2bd79490 release-branch.go1.21@b214108e x/tools/gopls/internal/test/integration/misc.TestGovulncheckInfo [ABORT] (log)
=== RUN   TestGovulncheckInfo
panic: test timed out after 10m0s
running tests:
	TestGovulncheckInfo (15s)

goroutine 56560 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:176 +0x38
...
golang.org/x/tools/gopls/internal/debug.(*Instance).Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo493627785/gopls/internal/debug/serve.go:483 +0xa74
created by golang.org/x/tools/gopls/internal/debug.(*Instance).Serve in goroutine 4607
	/home/swarming/.swarming/w/ir/x/w/targetrepo493627785/gopls/internal/debug/serve.go:444 +0x3b0

goroutine 4543 [select, 9 minutes]:
golang.org/x/tools/internal/jsonrpc2.Serve({0xe62f88, 0x400c2c09f0}, {0xe61ef0?, 0x400c2b8420}, {0xe5a2c0?, 0x400c2c0ae0}, 0x0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo493627785/internal/jsonrpc2/serve.go:112 +0x24c
created by golang.org/x/tools/internal/jsonrpc2/servertest.NewTCPServer in goroutine 4559
	/home/swarming/.swarming/w/ir/x/w/targetrepo493627785/internal/jsonrpc2/servertest/servertest.go:47 +0x114
2024-02-16 17:05 x_tools-go1.21-netbsd-arm64 tools@32d31392 release-branch.go1.21@f38fca30 x/tools/gopls/internal/test/integration/misc.TestFetchVulncheckResultStd/default [ABORT] (log)
=== RUN   TestFetchVulncheckResultStd/default
panic: test timed out after 10m0s
running tests:
	TestFetchVulncheckResultStd (1s)
	TestFetchVulncheckResultStd/default (0s)

goroutine 54062 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
...
os.Mkdir({0x400404a600, 0x60}, 0x1ed)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file.go:263 +0x54
golang.org/x/tools/gopls/internal/test/integration/fake.NewSandbox(0xbff843?)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2457439192/gopls/internal/test/integration/fake/sandbox.go:108 +0x314
golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1(0x4001d8d860)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2457439192/gopls/internal/test/integration/runner.go:200 +0x258
testing.tRunner(0x4001d8d860, 0x400672cfa0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1595 +0xe8
created by testing.(*T).Run in goroutine 54061
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1648 +0x33c
2024-02-16 17:05 x_tools-go1.21-netbsd-arm64 tools@4bc74c34 release-branch.go1.21@f38fca30 x/tools/gopls/internal/test/integration/misc.TestRunGovulncheckError/default [ABORT] (log)
=== RUN   TestRunGovulncheckError/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/18 09:34:28 go info for /home/swarming/.sw...
        	Info: "2024/02/18 09:34:29 go/packages.Load #310\n\tsnaps...
...
panic: test timed out after 10m0s
running tests:
	TestRunGovulncheckError (4s)
	TestRunGovulncheckError/default (4s)

goroutine 53719 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:176 +0x38
...
net.(*TCPListener).Accept(0x4005a9b2c0)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:315 +0x2c
net/http.(*Server).Serve(0x4002d9f680, {0xe61fb0, 0x4005a9b2c0})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:3056 +0x2b8
net/http.Serve(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/server.go:2595
golang.org/x/tools/gopls/internal/debug.(*Instance).Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo736162796/gopls/internal/debug/serve.go:483 +0xa74
created by golang.org/x/tools/gopls/internal/debug.(*Instance).Serve in goroutine 4648
	/home/swarming/.swarming/w/ir/x/w/targetrepo736162796/gopls/internal/debug/serve.go:444 +0x3b0
2024-02-16 17:20 x_tools-gotip-netbsd-arm64 tools@451218f6 go@63dd79c0 x/tools/gopls/internal/test/integration/misc.TestReferencesFromWorkspacePackages59674/default [ABORT] (log)
=== RUN   TestReferencesFromWorkspacePackages59674/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        
        #### diagnostics:
...
panic: test timed out after 10m0s
running tests:
	TestReferencesFromWorkspacePackages59674 (2s)
	TestReferencesFromWorkspacePackages59674/default (2s)

goroutine 39617 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:177 +0x38
...
encoding/json.(*Decoder).Decode(0x400023b2c0, {0xa9cda0, 0x400305ad80})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/encoding/json/stream.go:63 +0x5c
golang.org/x/tools/internal/jsonrpc2.(*rawStream).Read(0x40006dafa8, {0xead930, 0x4003f23920})
	/home/swarming/.swarming/w/ir/x/w/targetrepo664960203/internal/jsonrpc2/stream.go:61 +0x70
golang.org/x/tools/gopls/internal/protocol.(*loggingStream).Read(0x400a2615c0, {0xead930?, 0x4003f23920?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo664960203/gopls/internal/protocol/log.go:30 +0x38
golang.org/x/tools/internal/jsonrpc2.(*conn).run(0x4002b74dc0, {0xead930, 0x4003f23920}, 0x40043ca510)
	/home/swarming/.swarming/w/ir/x/w/targetrepo664960203/internal/jsonrpc2/conn.go:196 +0x84
created by golang.org/x/tools/internal/jsonrpc2.(*conn).Go in goroutine 39592
	/home/swarming/.swarming/w/ir/x/w/targetrepo664960203/internal/jsonrpc2/conn.go:189 +0x90
2024-02-16 17:49 x_tools-gotip-netbsd-arm64 tools@c61f99f1 go@cf52e709 x/tools/gopls/internal/test/integration/misc.TestRunVulncheckWarning/default [ABORT] (log)
=== RUN   TestRunVulncheckWarning/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/19 17:01:13 go info for /home/swarming/.sw...
        
...
panic: test timed out after 10m0s
running tests:
	TestRunVulncheckWarning (4s)
	TestRunVulncheckWarning/default (3s)

goroutine 57993 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:177 +0x38
...
golang.org/x/tools/go/packages.goListDriver.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo23170584/go/packages/golist.go:155 +0x178
created by golang.org/x/tools/go/packages.goListDriver in goroutine 58024
	/home/swarming/.swarming/w/ir/x/w/targetrepo23170584/go/packages/golist.go:151 +0x258

goroutine 57992 [chan receive]:
golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
	/home/swarming/.swarming/w/ir/x/w/targetrepo23170584/internal/jsonrpc2/handler.go:101 +0x60
created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 57989
	/home/swarming/.swarming/w/ir/x/w/targetrepo23170584/internal/jsonrpc2/handler.go:100 +0x19c
2024-02-16 18:21 x_tools-go1.21-netbsd-arm64 tools@4231a57f release-branch.go1.21@f38fca30 x/tools/gopls/internal/test/integration/misc.TestWorkspaceSymbolSorting/default [ABORT] (log)
=== RUN   TestWorkspaceSymbolSorting/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/17 17:51:31 go info for /home/swarming/.sw...
        	Info: "2024/02/17 17:51:31 go/packages.Load #317\n\tsnaps...
...
panic: test timed out after 10m0s
running tests:
	TestWorkspaceSymbolSorting (0s)
	TestWorkspaceSymbolSorting/default (0s)

goroutine 56762 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:176 +0x38
...
os.(*File).Write(0x4004e982b0, {0x40010f9ba8?, 0x20, 0x27?})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/file.go:183 +0x5c
golang.org/x/tools/gopls/internal/filecache.writeFileNoTrunc({0x4001d31f80?, 0x27?}, {0x40010f9ba8, 0x20, 0x20}, 0xa?)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3150619579/gopls/internal/filecache/filecache.go:201 +0x4c
golang.org/x/tools/gopls/internal/filecache.Set({0xb8d57f, 0xa}, {0x26, 0xdb, 0xf3, 0x48, 0x6c, 0xa9, 0x3f, 0x7c, ...}, ...)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3150619579/gopls/internal/filecache/filecache.go:182 +0x1ec
golang.org/x/tools/gopls/internal/cache.storePackageResults({0xe63088, 0x4006137d40}, 0x40031d8120, 0x4006011b60)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3150619579/gopls/internal/cache/check.go:592 +0x43c
created by golang.org/x/tools/gopls/internal/cache.(*typeCheckBatch).handleSyntaxPackage in goroutine 56757
	/home/swarming/.swarming/w/ir/x/w/targetrepo3150619579/gopls/internal/cache/check.go:561 +0x5f8
2024-02-16 18:21 x_tools-go1.22-netbsd-arm64 tools@4231a57f release-branch.go1.22@6cbe522f x/tools/gopls/internal/test/integration/misc.TestRunVulncheckPackageDiagnostics/invalid/default [ABORT] (log)
=== RUN   TestRunVulncheckPackageDiagnostics/invalid/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/17 15:29:08 go info for /home/swarming/.sw...
        
...
panic: test timed out after 10m0s
running tests:
	TestRunVulncheckPackageDiagnostics (38s)
	TestRunVulncheckPackageDiagnostics/invalid (4s)
	TestRunVulncheckPackageDiagnostics/invalid/default (4s)

goroutine 57187 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
...
golang.org/x/tools/gopls/internal/cache.(*Snapshot).WorkspaceMetadata(0x4001407200, {0xeae710?, 0x40043f7200?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo692130781/gopls/internal/cache/snapshot.go:1082 +0x44
golang.org/x/tools/gopls/internal/server.(*server).diagnose(0x4001f0e400, {0xeae710, 0x40043f7080}, 0x4001407200)
	/home/swarming/.swarming/w/ir/x/w/targetrepo692130781/gopls/internal/server/diagnostics.go:368 +0x400
golang.org/x/tools/gopls/internal/server.(*server).diagnoseSnapshot(0x4001f0e400, 0x4001407200, {0x0, 0x0, 0x0}, 0x0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo692130781/gopls/internal/server/diagnostics.go:225 +0x43c
golang.org/x/tools/gopls/internal/server.(*server).addFolders.func3()
	/home/swarming/.swarming/w/ir/x/w/targetrepo692130781/gopls/internal/server/general.go:333 +0x4c
created by golang.org/x/tools/gopls/internal/server.(*server).addFolders in goroutine 57072
	/home/swarming/.swarming/w/ir/x/w/targetrepo692130781/gopls/internal/server/general.go:332 +0x4e0
2024-02-16 20:24 gotip-netbsd-arm64 go@f2db96cd cmd/go.TestScript/test_relative_cmdline (log)
=== RUN   TestScript/test_relative_cmdline
=== PAUSE TestScript/test_relative_cmdline
=== CONT  TestScript/test_relative_cmdline
    script_test.go:132: 2024-02-18T08:28:20Z
    script_test.go:134: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-2706942533/tmpdir3101133418/test_relative_cmdline435956273
    script_test.go:156: 
        PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-2706942533/tmpdir3101133418/testbin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/cache/tools/bin:/home/swarming/.swarming/w/ir/bbagent_utility_packages:/home/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages:/home/swarming/.swarming/w/ir/cipd_bin_packages/bin:/home/swarming/.swarming/w/ir/cache/cipd_client:/home/swarming/.swarming/w/ir/cache/cipd_client/bin:/home/swarming/.swarming/cipd_cache/bin:/command:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/pkg/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=arm64
...
        r26     0x2008a6610
        r27     0xffffffffffffffc0
        r28     0x4000092fc0
        r29     0xfcbecf7ffc08
        lr      0x20013b58c
        sp      0xfcbecf7ffc10
        pc      0x20017a84c
        fault   0x3e900000cdd
    script_test.go:156: FAIL: testdata/script/test_relative_cmdline.txt:8: go test ./testimport/p.go ./testimport/p_test.go ./testimport/x_test.go: exit status 2
--- FAIL: TestScript/test_relative_cmdline (12.15s)
2024-02-16 21:45 x_tools-gotip-netbsd-arm64 tools@3ac77cb1 go@af5943f9 x/tools/gopls/internal/test/integration/misc.TestWorkspaceSymbolMissingMetadata/default [ABORT] (log)
=== RUN   TestWorkspaceSymbolMissingMetadata/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/18 03:21:14 go info for /home/swarming/.sw...
        
...
panic: test timed out after 10m0s
running tests:
	TestWorkspaceSymbolMissingMetadata (0s)
	TestWorkspaceSymbolMissingMetadata/default (0s)

goroutine 58779 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:177 +0x38
...
os.(*Process).wait(0x40016e9530)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec_unix.go:22 +0x2c
os.(*Process).Wait(...)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec.go:134
os/exec.(*Cmd).Wait(0x4002c1a580)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/os/exec/exec.go:897 +0x2d
golang.org/x/tools/internal/gocommand.runCmdContext.func4()
	/home/swarming/.swarming/w/ir/x/w/targetrepo3409104656/internal/gocommand/invoke.go:362 +0x28
created by golang.org/x/tools/internal/gocommand.runCmdContext in goroutine 58755
	/home/swarming/.swarming/w/ir/x/w/targetrepo3409104656/internal/gocommand/invoke.go:361 +0x284

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-netbsd-arm64` && (`test timed out` || `SIGQUIT` || `context deadline exceeded` || status == "ABORT")
2024-02-16 22:46 x_tools-go1.21-netbsd-arm64 tools@51dec259 release-branch.go1.21@f38fca30 x/tools/gopls/internal/test/integration/misc.TestImplementationsOfError/default [ABORT] (log)
=== RUN   TestImplementationsOfError/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/17 07:36:41 go info for /home/swarming/.sw...
        
...
panic: test timed out after 10m0s
running tests:
	TestImplementationsOfError (21s)
	TestImplementationsOfError/default (21s)

goroutine 38239 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:176 +0x38
...
golang.org/x/tools/gopls/internal/cache.(*Snapshot).ParseMod.func1({0xe630e0?, 0x40033567d0?}, {0x40001fce98?, 0x12c0b0?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo4243736457/gopls/internal/cache/mod.go:51 +0x2c
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo4243736457/internal/memoize/memoize.go:187 +0x90
runtime/trace.WithRegion({0xe630e0?, 0x40033567d0?}, {0x400b72a980, 0x1d}, 0x40001fcf88)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0xc8
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/home/swarming/.swarming/w/ir/x/w/targetrepo4243736457/internal/memoize/memoize.go:180 +0x104
created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 38236
	/home/swarming/.swarming/w/ir/x/w/targetrepo4243736457/internal/memoize/memoize.go:179 +0x1b0
2024-02-20 20:33 x_tools-go1.21-netbsd-arm64 tools@3f67f80b release-branch.go1.21@f38fca30 x/tools/gopls/internal/test/integration/misc.TestRenamePackage_NestedModule/default [ABORT] (log)
=== RUN   TestRenamePackage_NestedModule/default
    runner.go:253: waiting on:
        Unmet: completed work "diagnosing initial workspace load" 1 times
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/02/21 05:54:26 go info for /home/swarming/.sw...
        	Info: "2024/02/21 05:54:29 go/packages.Load #208\n\tsnaps...
...
panic: test timed out after 10m0s
running tests:
	TestRenamePackage_NestedModule (8s)
	TestRenamePackage_NestedModule/default (8s)

goroutine 43710 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x320
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:176 +0x38
...
golang.org/x/tools/gopls/internal/protocol.clientDispatch({0xe63208, 0x400c18d620}, {0xe6e278, 0x4001840f60}, 0x400ce2ca20, {0xffffb2d48060, 0x400c18d560})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2768934203/gopls/internal/protocol/tsclient.go:58 +0x29c
golang.org/x/tools/gopls/internal/test/integration/fake.(*Editor).Connect.ClientHandler.func1({0xe63208, 0x400c18d620}, 0x400ce2ca20, {0xffffb2d48060, 0x400c18d560})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2768934203/gopls/internal/protocol/protocol.go:120 +0x74
golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0xe63208, 0x400c18d620}, 0x4007979c20, {0xffffb2d48060?, 0x400c18d560?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2768934203/internal/jsonrpc2/handler.go:35 +0xdc
golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
	/home/swarming/.swarming/w/ir/x/w/targetrepo2768934203/internal/jsonrpc2/handler.go:103 +0x90
created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 42943
	/home/swarming/.swarming/w/ir/x/w/targetrepo2768934203/internal/jsonrpc2/handler.go:100 +0x1d0

watchflakes

@bcmills
Copy link
Member

bcmills commented Feb 21, 2024

Duplicate of #65845

@bcmills bcmills marked this as a duplicate of #65845 Feb 21, 2024
@bcmills bcmills closed this as not planned Won't fix, can't repro, duplicate, stale Feb 21, 2024
@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-netbsd-arm64` && (`test timed out` || `SIGQUIT` || `context deadline exceeded` || status == "ABORT")  && date < "2024-02-22"
2024-02-20 20:33 x_tools-gotip-netbsd-arm64 tools@3f67f80b go@29083529 x/tools/gopls/internal/test/integration/misc.TestWindowsVendoring_Issue56291/default [ABORT] (log)
=== RUN   TestWindowsVendoring_Issue56291/default
panic: test timed out after 10m0s
running tests:
	TestWindowsVendoring_Issue56291 (18s)
	TestWindowsVendoring_Issue56291/default (17s)

goroutine 54845 [running]:
testing.(*M).startAlarm.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x30c
created by time.goFunc
...
golang.org/x/tools/gopls/internal/debug.(*Instance).Serve.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo1399934369/gopls/internal/debug/serve.go:483 +0x985
created by golang.org/x/tools/gopls/internal/debug.(*Instance).Serve in goroutine 4849
	/home/swarming/.swarming/w/ir/x/w/targetrepo1399934369/gopls/internal/debug/serve.go:444 +0x388

goroutine 4720 [select, 9 minutes]:
golang.org/x/tools/internal/jsonrpc2.Serve({0xeadd70, 0x400ce927b0}, {0xeacd10, 0x400cc4f100}, {0xea4980, 0x400ce928a0}, 0x0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1399934369/internal/jsonrpc2/serve.go:112 +0x234
created by golang.org/x/tools/internal/jsonrpc2/servertest.NewTCPServer in goroutine 4719
	/home/swarming/.swarming/w/ir/x/w/targetrepo1399934369/internal/jsonrpc2/servertest/servertest.go:47 +0xe4

watchflakes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Builders x/build issues (builders, bots, dashboards) NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Status: Done
Development

No branches or pull requests

3 participants