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: timeouts too short on windows-amd64-race LUCI builder #64697

Closed
bcmills opened this issue Dec 13, 2023 · 14 comments
Closed

x/build: timeouts too short on windows-amd64-race LUCI builder #64697

bcmills opened this issue Dec 13, 2023 · 14 comments
Assignees
Labels
Builders x/build issues (builders, bots, dashboards) NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@bcmills
Copy link
Member

bcmills commented Dec 13, 2023

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-windows-amd64-race` && (`test timed out` || `SIGQUIT` || status == "ABORT")  && date < "2024-02-22"

Go version

400e24a

What operating system and processor architecture are you using (go env)?

N/A

What did you do?

Check post-commit build status at https://ci.chromium.org/p/golang/g/go-gotip/console.

What did you expect to see?

Tests reliably passing.

What did you see instead?

https://ci.chromium.org/ui/p/golang/builders/ci/gotip-windows-amd64-race/b8761869653601911985/test-results:

=== RUN   TestSelf
panic: test timed out after 3m0s
running tests:
	TestSelf (4s)

Note that the timeout for the test is the default 3m0s.

In contrast, the legacy windows-amd64-race builder uses GO_TEST_TIMEOUT_SCALE=2, which would imply a 6m timeout for this test.
(https://cs.opensource.google/go/x/build/+/master:dashboard/builders.go;l=2340;drc=106fb71fb120a066e390426df597efa8e674a6e0)

@gopherbot gopherbot added the Builders x/build issues (builders, bots, dashboards) label Dec 13, 2023
@gopherbot gopherbot added this to the Unreleased milestone Dec 13, 2023
@thanm
Copy link
Contributor

thanm commented Dec 18, 2023

@golang/release

GO_TEST_TIMEOUT_SCALE is set in main.star; I will send a CL that I think will do the job.

@thanm thanm self-assigned this Dec 18, 2023
@gopherbot
Copy link

Change https://go.dev/cl/550816 mentions this issue: main.star: use longer test timeout for race builders

@dmitshur dmitshur added the NeedsFix The path to resolution is known, but the work has not been done. label Dec 19, 2023
gopherbot pushed a commit to golang/build that referenced this issue Dec 19, 2023
Set GO_TEST_TIMEOUT_SCALE=2 for race builders, since the race detector
significantly slows down test execution. Doing this required some
small changes to make_run_mod() to handle test timeout scale
separately from other environment variable changes. Specifically, for
the race-longtest builder we want a timeout scale of 5, not 2, hence
the code picks the maximum scale set for any given mod.

For golang/go#64697.

Change-Id: I35bd433c3430c25bd6f75d3959c49f26faef0979
Reviewed-on: https://go-review.googlesource.com/c/build/+/550816
Auto-Submit: Than McIntosh <thanm@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Bypass: Carlos Amedee <carlos@golang.org>
@thanm
Copy link
Contributor

thanm commented Dec 19, 2023

Closing out this issue, the main.star change is now in.

@thanm thanm closed this as completed Dec 19, 2023
@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder == "gotip-windows-amd64-race" && (`test timed out` || `SIGQUIT`)
2023-12-13 00:22 gotip-windows-amd64-race go@400e24a8 go/types.TestSelf (log)
=== RUN   TestSelf
panic: test timed out after 3m0s
running tests:
	TestSelf (4s)

goroutine 652 gp=0xc0005056c0 m=16 mp=0xc000281008 [running]:
panic({0x1404bbde0?, 0xc000807cb0?})
	C:/b/s/w/ir/x/w/goroot/src/runtime/panic.go:779 +0x158 fp=0xc000b9ff18 sp=0xc000b9fe68 pc=0x14003ced8
testing.(*M).startAlarm.func1()
	C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:2366 +0x265 fp=0xc000b9ffe0 sp=0xc000b9ff18 pc=0x14014de85
...
os/exec.(*Cmd).writerDescriptor.func1()
	C:/b/s/w/ir/x/w/goroot/src/os/exec/exec.go:577 +0x5b fp=0xc000537f50 sp=0xc000537ee0 pc=0x1401b3a7b
os/exec.(*Cmd).Start.func2(0xc000c20e20)
	C:/b/s/w/ir/x/w/goroot/src/os/exec/exec.go:724 +0x3d fp=0xc000537fb8 sp=0xc000537f50 pc=0x1401b51dd
os/exec.(*Cmd).Start.gowrap1()
	C:/b/s/w/ir/x/w/goroot/src/os/exec/exec.go:736 +0x42 fp=0xc000537fe0 sp=0xc000537fb8 pc=0x1401b5162
runtime.goexit({})
	C:/b/s/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000537fe8 sp=0xc000537fe0 pc=0x140077b21
created by os/exec.(*Cmd).Start in goroutine 626
	C:/b/s/w/ir/x/w/goroot/src/os/exec/exec.go:723 +0x12cc

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-windows-amd64-race` && (`test timed out` || `SIGQUIT` || status == "ABORT")
2024-01-17 21:29 x_tools-go1.22-windows-amd64-race tools@c0db45fb release-branch.go1.22@66f8e1e8 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens [ABORT] (log)
=== RUN   TestUpgradeCodelens/Upgrade_transitive_dependencies/default
panic: detected hanging go command (pid 2748): see golang/go#54461 for more details

goroutine 440 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x141734748, 0xc0009be420}, 0xc0001ae2c0)
	C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:375 +0xe9e
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0007f6e80, {0x141734748, 0xc0009be420}, {0x14172baa0, 0xc0009be540}, {0x14172baa0, 0xc0009be570})
	C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:270 +0x1710
...
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).WorkspaceMetadata(0xc000c1e360, {0x141734748, 0xc0006a72c0})
	C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/lsp/cache/snapshot.go:1082 +0x85
golang.org/x/tools/gopls/internal/server.(*server).diagnose(0xc0000e8000, {0x141734748, 0xc0009be0f0}, 0xc000c1e360)
	C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/server/diagnostics.go:366 +0x826
golang.org/x/tools/gopls/internal/server.(*server).diagnoseSnapshot(0xc0000e8000, 0xc000c1e360, {0xc000b88bf0, 0x1, 0x1}, 0x989680)
	C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/server/diagnostics.go:223 +0x8ce
golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews.func1(0xc000c1e360, {0xc000b88bf0, 0x1, 0x1})
	C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/server/diagnostics.go:135 +0x1ee
created by golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews in goroutine 526
	C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/server/diagnostics.go:132 +0x86d
2024-01-17 21:29 x_tools-go1.22-windows-amd64-race tools@c0db45fb release-branch.go1.22@66f8e1e8 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc [ABORT] (log)
=== RUN   TestFuzzFunc/default
panic: detected hanging go command (pid 7320): see golang/go#54461 for more details

goroutine 934 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x14176d768, 0xc000b0e870}, 0xc0013d8420)
	C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:375 +0xe9e
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0007b73e0, {0x14176d768, 0xc000b0e870}, {0x141764a60, 0xc000b0e990}, {0x141764a60, 0xc000b0e9c0})
	C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:270 +0x1710
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0007b73e0, {0x14176d768, 0xc000b0e870}, {0x141764a60, 0xc000b0e990}, {0x141764a60, 0xc000b0e9c0})
	C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:179 +0x9c
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00011be40, {0x14176d768, 0xc000b0e870}, {{0x1413a17f3, 0x3}, {0xc000470340, 0x1, 0x1}, {0x141f31d40, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:121 +0x27e
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00011be40, {0x14176d768, 0xc000b0e6f0}, {{0x1413a17f3, 0x3}, {0xc000470340, 0x1, 0x1}, {0x141f31d40, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:95 +0x415
golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc00011be40, {0x14176d768, 0xc001587aa0}, {{0x1413a17f3, 0x3}, {0xc000470340, 0x1, 0x1}, {0x141f31d40, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:71 +0x3b0
golang.org/x/tools/gopls/internal/lsp/cache.modTidyImpl({0x14176d7a0, 0xc000098410}, 0xc000321d40, {0xc000a2c9b0, 0x46}, 0xc0003a3700)
	C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/lsp/cache/mod_tidy.go:117 +0x47c
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).ModTidy.func1({0x14176d7a0, 0xc000098410}, {0x14139da60, 0xc000321d40})
	C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/lsp/cache/mod_tidy.go:80 +0x9c
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/b/s/w/ir/x/w/targetrepo3908146794/internal/memoize/memoize.go:187 +0xda
runtime/trace.WithRegion({0x14176d7a0, 0xc000098410}, {0xc000a36048, 0x13}, 0xc000b79f80)
	C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x138
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/b/s/w/ir/x/w/targetrepo3908146794/internal/memoize/memoize.go:180 +0x1d8
created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 932
	C:/b/s/w/ir/x/w/targetrepo3908146794/internal/memoize/memoize.go:179 +0x352
2024-01-17 21:29 x_tools-go1.22-windows-amd64-race tools@c0db45fb release-branch.go1.22@66f8e1e8 x/tools/gopls/internal/test/integration/misc.TestChangeConfiguration [ABORT] (log)
=== RUN   TestChangeConfiguration/default
panic: detected hanging go command (pid 5920): see golang/go#54461 for more details

goroutine 222 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x141818048, 0xc0005c17a0}, 0xc000800160)
	C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:375 +0xe9e
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0007918e0, {0x141818048, 0xc0005c17a0}, {0x14180f2e0, 0xc0005c18c0}, {0x14180f2e0, 0xc0005c18f0})
	C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:270 +0x1710
...
golang.org/x/tools/go/packages.Load(0xc000787130, {0xc000613300, 0x2, 0x2})
	C:/b/s/w/ir/x/w/targetrepo3908146794/go/packages/packages.go:262 +0x85
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc000552480, {0x141818080, 0xc0003ab7c0}, 0x1, {0xc0006132c0, 0x2, 0xc000513c70?})
	C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/lsp/cache/load.go:136 +0x11c5
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc000552480, {0x141818080, 0xc0003ab7c0}, 0x1)
	C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/lsp/cache/view.go:705 +0x5e5
golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
	C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/lsp/cache/session.go:235 +0x76
created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 232
	C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/lsp/cache/session.go:233 +0x1b4d
2024-01-19 13:52 x_tools-go1.21-windows-amd64-race tools@6673e7a4 release-branch.go1.21@2540b143 x/tools/go/packages.TestInvalidFilesBeforeOverlayContains/Modules/second_file [ABORT] (log)
=== RUN   TestInvalidFilesBeforeOverlayContains/Modules/second_file
2024-01-19 13:52 x_tools-go1.21-windows-amd64-race tools@6673e7a4 release-branch.go1.21@2540b143 x/tools/go/packages.TestOverlay/Modules [ABORT] (log)
=== RUN   TestOverlay/Modules
=== PAUSE TestOverlay/Modules
=== CONT  TestOverlay/Modules
    invoke.go:268: 313.3302ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestOverlay_Modules2362727823/modproxy PWD=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 311.2109ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestOverlay_Modules2362727823/modproxy PWD=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 429.1646ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestOverlay_Modules2362727823/modproxy PWD=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\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: 513.0375ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestOverlay_Modules2362727823/modproxy PWD=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 521.7235ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestOverlay_Modules2362727823/modproxy PWD=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 823.988ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestOverlay_Modules2362727823/modproxy PWD=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\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: 441.296ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestOverlay_Modules2362727823/modproxy PWD=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 472.2609ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestOverlay_Modules2362727823/modproxy PWD=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 853.7996ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestOverlay_Modules2362727823/modproxy PWD=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\fake go list "-overlay=C:\\b\\s\\w\\ir\\x\\t\\gopackages-2128382339\\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: 4.646632s for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestOverlay_Modules2362727823/modproxy PWD=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 4.9222438s for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestOverlay_Modules2362727823/modproxy PWD=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 435.3515ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestOverlay_Modules2362727823/modproxy PWD=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\fake go list "-overlay=C:\\b\\s\\w\\ir\\x\\t\\gopackages-665926900\\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: 177.0429ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestOverlay_Modules2362727823/modproxy PWD=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 260.8888ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestOverlay_Modules2362727823/modproxy PWD=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 551.3691ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestOverlay_Modules2362727823/modproxy PWD=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\fake go list "-overlay=C:\\b\\s\\w\\ir\\x\\t\\gopackages-155408327\\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: 138.7396ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestOverlay_Modules2362727823/modproxy PWD=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 153.5709ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestOverlay_Modules2362727823/modproxy PWD=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 1.9528943s for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestOverlay_Modules2362727823/modproxy PWD=C:\b\s\w\ir\x\t\TestOverlay_Modules2362727823\fake go list "-overlay=C:\\b\\s\\w\\ir\\x\\t\\gopackages-3351007389\\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-19 18:38 x_tools-go1.21-windows-amd64-race tools@c7ccb517 release-branch.go1.21@2540b143 x/tools/go/packages.TestLoadDifferentPatterns [ABORT] (log)
=== RUN   TestLoadDifferentPatterns/Modules
=== PAUSE TestLoadDifferentPatterns/Modules
=== CONT  TestLoadDifferentPatterns/Modules
    invoke.go:268: 190.4144ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1431550914\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules1431550914/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1431550914\fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 377.8906ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1431550914\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules1431550914/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1431550914\fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 1.9734569s for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1431550914\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules1431550914/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1431550914\fake go list "-overlay=C:\\b\\s\\w\\ir\\x\\t\\gopackages-1672844370\\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: 318.6595ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1431550914\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules1431550914/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1431550914\fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 686.6111ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1431550914\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules1431550914/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1431550914\fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 1.7836671s for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1431550914\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules1431550914/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1431550914\fake go list "-overlay=C:\\b\\s\\w\\ir\\x\\t\\gopackages-2615221429\\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/...
    invoke.go:268: 634.7096ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1431550914\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules1431550914/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1431550914\fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
...
panic: test timed out after 10m0s
running tests:
	TestAddImportInOverlay (9m50s)
	TestAddImportInOverlay/Modules (9m40s)
	TestCgoNoCcompiler (9m50s)
	TestCgoNoCcompiler/Modules (9m45s)
	TestInvalidFilesBeforeOverlayContains (9m50s)
	TestInvalidFilesBeforeOverlayContains/Modules (9m47s)
	TestInvalidFilesBeforeOverlayContains/Modules/second_file (9m10s)
	TestLoadDifferentPatterns (9m50s)
...
sync.(*Once).doSlow(0xc00245a5e0, 0xc0176d3f58)
	C:/b/s/w/ir/x/w/goroot/src/sync/once.go:70 +0x55
sync.(*Once).Do(0xc00245a5e0, 0x1400827f3?)
	C:/b/s/w/ir/x/w/goroot/src/sync/once.go:65 +0x45
golang.org/x/tools/go/packages.(*loader).loadRecursive(0xc002570700, 0xc00245a5d0)
	C:/b/s/w/ir/x/w/targetrepo3543121649/go/packages/packages.go:856 +0x88
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1.1(0x0?)
	C:/b/s/w/ir/x/w/targetrepo3543121649/go/packages/packages.go:863 +0x3e
created by golang.org/x/tools/go/packages.(*loader).loadRecursive.func1 in goroutine 16384
	C:/b/s/w/ir/x/w/targetrepo3543121649/go/packages/packages.go:862 +0xd5
2024-01-19 22:45 x_tools-go1.21-windows-amd64-race tools@cd7b5109 release-branch.go1.21@2540b143 x/tools/go/packages.TestInvalidFilesBeforeOverlayContains/Modules/main [ABORT] (log)
=== RUN   TestInvalidFilesBeforeOverlayContains/Modules/main
2024-01-19 22:45 x_tools-go1.21-windows-amd64-race tools@cd7b5109 release-branch.go1.21@2540b143 x/tools/go/packages.TestLoadDifferentPatterns/Modules [ABORT] (log)
=== RUN   TestLoadDifferentPatterns/Modules
=== PAUSE TestLoadDifferentPatterns/Modules
=== CONT  TestLoadDifferentPatterns/Modules
    invoke.go:268: 148.3236ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules3182932075/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 232.6943ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules3182932075/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 1.1046499s for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules3182932075/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\fake go list "-overlay=C:\\b\\s\\w\\ir\\x\\t\\gopackages-2510685116\\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: 64.0854ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules3182932075/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 64.0854ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules3182932075/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 435.1166ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules3182932075/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\fake go list "-overlay=C:\\b\\s\\w\\ir\\x\\t\\gopackages-2624425185\\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/...
    invoke.go:268: 40.9115ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules3182932075/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 47.925ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules3182932075/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 495.2283ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules3182932075/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\fake go list "-overlay=C:\\b\\s\\w\\ir\\x\\t\\gopackages-2671074385\\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 -- "C:\\b\\s\\w\\ir\\x\\t\\TestLoadDifferentPatterns_Modules3182932075\\fake\\a"
    invoke.go:268: 40.0489ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules3182932075/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 45.48ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules3182932075/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 475.4475ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules3182932075/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules3182932075\fake go list "-overlay=C:\\b\\s\\w\\ir\\x\\t\\gopackages-3589425135\\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/b
2024-01-19 23:15 x_tools-go1.22-windows-amd64-race tools@e1555a36 release-branch.go1.22@9a70e17e x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens [ABORT] (log)
=== RUN   TestUpgradeCodelens/Upgrade_transitive_dependencies/default
panic: detected hanging go command (pid 7052): see golang/go#54461 for more details

goroutine 331 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x141739528, 0xc0008920c0}, 0xc000552160)
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:375 +0xe9e
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0005b38e0, {0x141739528, 0xc0008920c0}, {0x1417308c0, 0xc000892210}, {0x1417308c0, 0xc000892240})
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:270 +0x1710
...
golang.org/x/tools/go/packages.Load(0xc000783760, {0xc00038e540, 0x3, 0x4})
	C:/b/s/w/ir/x/w/targetrepo1026714909/go/packages/packages.go:262 +0x85
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc000451680, {0x141739560, 0xc0007f22d0}, 0x1, {0xc00038e500, 0x3, 0xc00039fc70?})
	C:/b/s/w/ir/x/w/targetrepo1026714909/gopls/internal/lsp/cache/load.go:136 +0x11c5
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc000451680, {0x141739560, 0xc0007f22d0}, 0x1)
	C:/b/s/w/ir/x/w/targetrepo1026714909/gopls/internal/lsp/cache/view.go:705 +0x5e5
golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
	C:/b/s/w/ir/x/w/targetrepo1026714909/gopls/internal/lsp/cache/session.go:235 +0x76
created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 371
	C:/b/s/w/ir/x/w/targetrepo1026714909/gopls/internal/lsp/cache/session.go:233 +0x1b4d
2024-01-19 23:15 x_tools-go1.22-windows-amd64-race tools@e1555a36 release-branch.go1.22@9a70e17e x/tools/gopls/internal/test/integration/completion.TestFuzzFunc [ABORT] (log)
=== RUN   TestFuzzFunc/default
panic: detected hanging go command (pid 3488): see golang/go#54461 for more details

goroutine 930 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x141772588, 0xc000eca240}, 0xc000ee0000)
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:375 +0xe9e
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000e4f3e0, {0x141772588, 0xc000eca240}, {0x1417698c0, 0xc000eca360}, {0x1417698c0, 0xc000eca390})
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:270 +0x1710
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000e4f3e0, {0x141772588, 0xc000eca240}, {0x1417698c0, 0xc000eca360}, {0x1417698c0, 0xc000eca390})
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:179 +0x9c
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc000900860, {0x141772588, 0xc000eca240}, {{0x1413a4453, 0x3}, {0xc000047270, 0x1, 0x1}, {0x141f35d60, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:121 +0x27e
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc000900860, {0x141772588, 0xc000eca090}, {{0x1413a4453, 0x3}, {0xc000047270, 0x1, 0x1}, {0x141f35d60, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:95 +0x415
golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc000900860, {0x141772588, 0xc0006429c0}, {{0x1413a4453, 0x3}, {0xc000047270, 0x1, 0x1}, {0x141f35d60, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:71 +0x3b0
golang.org/x/tools/gopls/internal/lsp/cache.modTidyImpl({0x1417725c0, 0xc0004980a0}, 0xc0001f9200, {0xc0007ffe50, 0x46}, 0xc000598bc0)
	C:/b/s/w/ir/x/w/targetrepo1026714909/gopls/internal/lsp/cache/mod_tidy.go:117 +0x47c
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).ModTidy.func1({0x1417725c0, 0xc0004980a0}, {0x1413a06c0, 0xc0001f9200})
	C:/b/s/w/ir/x/w/targetrepo1026714909/gopls/internal/lsp/cache/mod_tidy.go:80 +0x9c
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/memoize/memoize.go:187 +0xda
runtime/trace.WithRegion({0x1417725c0, 0xc0004980a0}, {0xc000696078, 0x13}, 0xc0006b3f80)
	C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x138
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/memoize/memoize.go:180 +0x1d8
created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 577
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/memoize/memoize.go:179 +0x352
2024-01-19 23:15 x_tools-go1.22-windows-amd64-race tools@e1555a36 release-branch.go1.22@9a70e17e x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer [ABORT] (log)
=== RUN   TestTimeFormatAnalyzer/default
panic: detected hanging go command (pid 8720): see golang/go#54461 for more details

goroutine 2229 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x141756868, 0xc001a53020}, 0xc0001a42c0)
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:375 +0xe9e
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001f273e0, {0x141756868, 0xc001a53020}, {0x14174dc20, 0xc001a53140}, {0x14174dc20, 0xc001a53170})
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:270 +0x1710
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001f273e0, {0x141756868, 0xc001a53020}, {0x14174dc20, 0xc001a53140}, {0x14174dc20, 0xc001a53170})
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:179 +0x9c
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0001f2a60, {0x141756868, 0xc001a53020}, {{0x14138c387, 0x3}, {0xc000f0b3c0, 0x1, 0x1}, {0x141f181c0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:121 +0x27e
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc0001f2a60, {0x141756868, 0xc001a52e70}, {{0x14138c387, 0x3}, {0xc000f0b3c0, 0x1, 0x1}, {0x141f181c0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:95 +0x415
golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc0001f2a60, {0x141756868, 0xc001a526f0}, {{0x14138c387, 0x3}, {0xc000f0b3c0, 0x1, 0x1}, {0x141f181c0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:71 +0x3b0
golang.org/x/tools/gopls/internal/lsp/cache.modTidyImpl({0x1417568a0, 0xc001f000a0}, 0xc003a8e240, {0xc0012a2050, 0x50}, 0xc0005578c0)
	C:/b/s/w/ir/x/w/targetrepo1026714909/gopls/internal/lsp/cache/mod_tidy.go:117 +0x47c
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).ModTidy.func1({0x1417568a0, 0xc001f000a0}, {0x141388600, 0xc003a8e240})
	C:/b/s/w/ir/x/w/targetrepo1026714909/gopls/internal/lsp/cache/mod_tidy.go:80 +0x9c
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/memoize/memoize.go:187 +0xda
runtime/trace.WithRegion({0x1417568a0, 0xc001f000a0}, {0xc00393e000, 0x13}, 0xc0006abf80)
	C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x138
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/memoize/memoize.go:180 +0x1d8
created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 2228
	C:/b/s/w/ir/x/w/targetrepo1026714909/internal/memoize/memoize.go:179 +0x352

watchflakes

@gopherbot gopherbot reopened this Jan 26, 2024
@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-windows-amd64-race` && (`test timed out` || `SIGQUIT` || status == "ABORT")
2024-01-05 17:34 x_tools-go1.21-windows-amd64-race tools@ba8672b5 release-branch.go1.21@d2cb1401 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens [ABORT] (log)
=== RUN   TestUpgradeCodelens/Upgrade_transitive_dependencies/default
panic: detected hanging go command (pid 10480): see golang/go#54461 for more details

goroutine 533 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x1416c3700, 0xc0005be120}, 0xc00020c420)
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:375 +0xd99
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00081ac00, {0x1416c3700, 0xc0005be120}, {0x1416bab40?, 0xc0005be240}, {0x1416bab40?, 0xc0005be270})
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:270 +0x19c6
...
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).WorkspaceMetadata(0xc00046d200, {0x1416c3700, 0xc0008506c0})
	C:/b/s/w/ir/x/w/targetrepo4229008252/gopls/internal/lsp/cache/snapshot.go:1079 +0x85
golang.org/x/tools/gopls/internal/server.(*server).diagnose(0xc000285d00, {0x1416c3700, 0xc0007d8330}, 0xc00046d200)
	C:/b/s/w/ir/x/w/targetrepo4229008252/gopls/internal/server/diagnostics.go:366 +0x838
golang.org/x/tools/gopls/internal/server.(*server).diagnoseSnapshot(0xc000285d00, 0xc00046d200, {0xc0004d1860, 0x1, 0x1}, 0x989680)
	C:/b/s/w/ir/x/w/targetrepo4229008252/gopls/internal/server/diagnostics.go:223 +0x8c5
golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews.func1(0xc00046d200, {0xc0004d1860, 0x1, 0x1})
	C:/b/s/w/ir/x/w/targetrepo4229008252/gopls/internal/server/diagnostics.go:135 +0x1f5
created by golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews in goroutine 532
	C:/b/s/w/ir/x/w/targetrepo4229008252/gopls/internal/server/diagnostics.go:132 +0x857
2024-01-05 17:34 x_tools-go1.21-windows-amd64-race tools@ba8672b5 release-branch.go1.21@d2cb1401 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc [ABORT] (log)
=== RUN   TestFuzzFunc/default
panic: detected hanging go command (pid 9060): see golang/go#54461 for more details

goroutine 813 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x1416fcb40, 0xc0005f8f00}, 0xc001038000)
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:375 +0xd99
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000ddd330, {0x1416fcb40, 0xc0005f8f00}, {0x1416f3ee0?, 0xc0005f9020}, {0x1416f3ee0?, 0xc0005f9050})
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:270 +0x19c6
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000ddd300?, {0x1416fcb40, 0xc0005f8f00}, {0x1416f3ee0, 0xc0005f9020}, {0x1416f3ee0?, 0xc0005f9050?})
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:179 +0xa5
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc000313a00, {0x1416fcb40, 0xc0005f8f00}, {{0x14132a491, 0x3}, {0xc000523480, 0x1, 0x1}, {0x141e53060, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:121 +0x26c
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc000313a00, {0x1416fcb40, 0xc0005f8d80}, {{0x14132a491, 0x3}, {0xc000523480, 0x1, 0x1}, {0x141e53060, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:95 +0x415
golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc000809a50?, {0x1416fcb40, 0xc001088690}, {{0x14132a491, 0x3}, {0xc000523480, 0x1, 0x1}, {0x141e53060, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:71 +0x3b0
golang.org/x/tools/gopls/internal/lsp/cache.modTidyImpl({0x1416fcb78, 0xc000ace0f0}, 0xc000a5a000, {0xc000c09d60, 0x46}, 0x14007ba11?)
	C:/b/s/w/ir/x/w/targetrepo4229008252/gopls/internal/lsp/cache/mod_tidy.go:117 +0x47c
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).ModTidy.func1({0x1416fcb78, 0xc000ace0f0}, {0x1413267a0?, 0xc000a5a000})
	C:/b/s/w/ir/x/w/targetrepo4229008252/gopls/internal/lsp/cache/mod_tidy.go:80 +0xad
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/memoize/memoize.go:187 +0xdd
runtime/trace.WithRegion({0x1416fcb78, 0xc000ace0f0}, {0xc000122bd0, 0x13}, 0xc000809f90)
	C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x151
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/memoize/memoize.go:180 +0x1db
created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 812
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/memoize/memoize.go:179 +0x34f
2024-01-05 17:34 x_tools-go1.21-windows-amd64-race tools@ba8672b5 release-branch.go1.21@d2cb1401 x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer [ABORT] (log)
=== RUN   TestTimeFormatAnalyzer/default
panic: detected hanging go command (pid 8168): see golang/go#54461 for more details

goroutine 2217 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x1416e0b00, 0xc001f23590}, 0xc001168420)
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:375 +0xd99
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc002955330, {0x1416e0b00, 0xc001f23590}, {0x1416d7f40?, 0xc001f236e0}, {0x1416d7f40?, 0xc001f23710})
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:270 +0x19c6
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00201f300?, {0x1416e0b00, 0xc001f23590}, {0x1416d7f40, 0xc001f236e0}, {0x1416d7f40?, 0xc001f23710?})
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:179 +0xa5
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00046aac0, {0x1416e0b00, 0xc001f23590}, {{0x141312425, 0x3}, {0xc0026c7570, 0x1, 0x1}, {0x141e344e0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:121 +0x26c
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00046aac0, {0x1416e0b00, 0xc001f233e0}, {{0x141312425, 0x3}, {0xc0026c7570, 0x1, 0x1}, {0x141e344e0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:95 +0x415
golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc000d3fa50?, {0x1416e0b00, 0xc000ef9b00}, {{0x141312425, 0x3}, {0xc0026c7570, 0x1, 0x1}, {0x141e344e0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:71 +0x3b0
golang.org/x/tools/gopls/internal/lsp/cache.modTidyImpl({0x1416e0b38, 0xc000181720}, 0xc003440600, {0xc00065b540, 0x50}, 0x14007ba11?)
	C:/b/s/w/ir/x/w/targetrepo4229008252/gopls/internal/lsp/cache/mod_tidy.go:117 +0x47c
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).ModTidy.func1({0x1416e0b38, 0xc000181720}, {0x14130e740?, 0xc003440600})
	C:/b/s/w/ir/x/w/targetrepo4229008252/gopls/internal/lsp/cache/mod_tidy.go:80 +0xad
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/memoize/memoize.go:187 +0xdd
runtime/trace.WithRegion({0x1416e0b38, 0xc000181720}, {0xc001a540f0, 0x13}, 0xc000d3ff90)
	C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x151
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/memoize/memoize.go:180 +0x1db
created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 2045
	C:/b/s/w/ir/x/w/targetrepo4229008252/internal/memoize/memoize.go:179 +0x34f
2024-01-10 16:06 x_tools-go1.21-windows-amd64-race tools@706525de release-branch.go1.21@2540b143 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc [ABORT] (log)
=== RUN   TestFuzzFunc/default
panic: detected hanging go command (pid 4572): see golang/go#54461 for more details

goroutine 714 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x1416ff120, 0xc00130a8a0}, 0xc000e8c000)
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:375 +0xd99
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000fbb330, {0x1416ff120, 0xc00130a8a0}, {0x1416f64c0?, 0xc00130a9c0}, {0x1416f64c0?, 0xc00130a9f0})
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:270 +0x19c6
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000fbb300?, {0x1416ff120, 0xc00130a8a0}, {0x1416f64c0, 0xc00130a9c0}, {0x1416f64c0?, 0xc00130a9f0?})
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:179 +0xa5
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00093e160, {0x1416ff120, 0xc00130a8a0}, {{0x14132b653, 0x3}, {0xc0004b01b0, 0x1, 0x1}, {0x141e56180, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:121 +0x26c
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00093e160, {0x1416ff120, 0xc00130a720}, {{0x14132b653, 0x3}, {0xc0004b01b0, 0x1, 0x1}, {0x141e56180, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:95 +0x415
golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc000743a50?, {0x1416ff120, 0xc00130a5a0}, {{0x14132b653, 0x3}, {0xc0004b01b0, 0x1, 0x1}, {0x141e56180, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:71 +0x3b0
golang.org/x/tools/gopls/internal/lsp/cache.modTidyImpl({0x1416ff158, 0xc00013e500}, 0xc000528400, {0xc000e0a140, 0x46}, 0x14007bb51?)
	C:/b/s/w/ir/x/w/targetrepo2726888814/gopls/internal/lsp/cache/mod_tidy.go:117 +0x47c
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).ModTidy.func1({0x1416ff158, 0xc00013e500}, {0x141327960?, 0xc000528400})
	C:/b/s/w/ir/x/w/targetrepo2726888814/gopls/internal/lsp/cache/mod_tidy.go:80 +0xad
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/memoize/memoize.go:187 +0xdd
runtime/trace.WithRegion({0x1416ff158, 0xc00013e500}, {0xc000114108, 0x13}, 0xc000743f90)
	C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x151
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/memoize/memoize.go:180 +0x1db
created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 686
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/memoize/memoize.go:179 +0x34f
2024-01-10 16:06 x_tools-go1.21-windows-amd64-race tools@706525de release-branch.go1.21@2540b143 x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer [ABORT] (log)
=== RUN   TestTimeFormatAnalyzer/default
panic: detected hanging go command (pid 7724): see golang/go#54461 for more details

goroutine 2212 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x1416e30c0, 0xc0025dbb60}, 0xc000671ce0)
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:375 +0xd99
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00274b330, {0x1416e30c0, 0xc0025dbb60}, {0x1416da500?, 0xc0025dbc80}, {0x1416da500?, 0xc0025dbcb0})
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:270 +0x19c6
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00274b300?, {0x1416e30c0, 0xc0025dbb60}, {0x1416da500, 0xc0025dbc80}, {0x1416da500?, 0xc0025dbcb0?})
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:179 +0xa5
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc000284440, {0x1416e30c0, 0xc0025dbb60}, {{0x1413135c7, 0x3}, {0xc00236cc70, 0x1, 0x1}, {0x141e37600, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:121 +0x26c
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc000284440, {0x1416e30c0, 0xc0025db9e0}, {{0x1413135c7, 0x3}, {0xc00236cc70, 0x1, 0x1}, {0x141e37600, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:95 +0x415
golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc000f9da50?, {0x1416e30c0, 0xc0025db860}, {{0x1413135c7, 0x3}, {0xc00236cc70, 0x1, 0x1}, {0x141e37600, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:71 +0x3b0
golang.org/x/tools/gopls/internal/lsp/cache.modTidyImpl({0x1416e30f8, 0xc003063db0}, 0xc0012c6f00, {0xc002803e00, 0x4f}, 0x14007bb51?)
	C:/b/s/w/ir/x/w/targetrepo2726888814/gopls/internal/lsp/cache/mod_tidy.go:117 +0x47c
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).ModTidy.func1({0x1416e30f8, 0xc003063db0}, {0x14130f8e0?, 0xc0012c6f00})
	C:/b/s/w/ir/x/w/targetrepo2726888814/gopls/internal/lsp/cache/mod_tidy.go:80 +0xad
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/memoize/memoize.go:187 +0xdd
runtime/trace.WithRegion({0x1416e30f8, 0xc003063db0}, {0xc0031eec60, 0x13}, 0xc000f9df90)
	C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x151
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/memoize/memoize.go:180 +0x1db
created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 1915
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/memoize/memoize.go:179 +0x34f
2024-01-10 16:06 x_tools-go1.21-windows-amd64-race tools@706525de release-branch.go1.21@2540b143 x/tools/gopls/internal/test/integration/modfile.TestModFileModification [ABORT] (log)
=== RUN   TestModFileModification/basic/default/default
panic: detected hanging go command (pid 8152): see golang/go#54461 for more details

goroutine 162 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x1416dc7a0, 0xc0005d4540}, 0xc00068e2c0)
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:375 +0xd99
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0005cb6b8, {0x1416dc7a0, 0xc0005d4540}, {0x1416d3be0?, 0xc0005d4660}, {0x1416d3be0?, 0xc0005d4690})
	C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:270 +0x19c6
...
golang.org/x/tools/go/packages.Load(0xc000219900?, {0xc000083d40, 0x2, 0x2})
	C:/b/s/w/ir/x/w/targetrepo2726888814/go/packages/packages.go:262 +0x85
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc000219900, {0x1416dc7d8, 0xc000106dc0}, 0x1, {0xc000083d20, 0x2, 0x1400497dc?})
	C:/b/s/w/ir/x/w/targetrepo2726888814/gopls/internal/lsp/cache/load.go:136 +0x1185
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc000219900, {0x1416dc7d8, 0xc000106dc0}, 0x1)
	C:/b/s/w/ir/x/w/targetrepo2726888814/gopls/internal/lsp/cache/view.go:716 +0x5e6
golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
	C:/b/s/w/ir/x/w/targetrepo2726888814/gopls/internal/lsp/cache/session.go:227 +0x85
created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 144
	C:/b/s/w/ir/x/w/targetrepo2726888814/gopls/internal/lsp/cache/session.go:225 +0x1a2e

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-windows-amd64-race` && (`test timed out` || `SIGQUIT` || status == "ABORT")
2023-12-13 20:55 x_tools-go1.21-windows-amd64-race tools@9ed4fb5d release-branch.go1.21@bbab863a x/tools/internal/gcimporter.TestStdlib [ABORT] (log)
=== RUN   TestStdlib
panic: test timed out after 10m0s
running tests:
	TestStdlib (9m37s)

goroutine 6615 [running]:
testing.(*M).startAlarm.func1()
	C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x259
created by time.goFunc
	C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:176 +0x45
...
	C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:1925 +0xcd8
golang.org/x/tools/internal/gcimporter.TestMain(0x4119646cfa42a390?)
	C:/b/s/w/ir/x/w/targetrepo3722338955/internal/gcimporter/gcimporter_test.go:37 +0x2f
main.main()
	_testmain.go:107 +0x308

goroutine 425 [running]:
	goroutine running on other thread; stack unavailable
created by testing.(*T).Run in goroutine 1
	C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:1648 +0x846
2023-12-15 17:45 x_tools-go1.22-windows-amd64-race tools@1346c45e release-branch.go1.22@796f59df x/tools/gopls/internal/test/integration/completion.TestFuzzFunc [ABORT] (log)
=== RUN   TestFuzzFunc/default
panic: detected hanging go command (pid 2964): see golang/go#54461 for more details

goroutine 123 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x1417781c8, 0xc00077e0c0}, 0xc00018c160)
	C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:375 +0xe9e
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000821850, {0x1417781c8, 0xc00077e0c0}, {0x14176f520, 0xc00077e1e0}, {0x14176f520, 0xc00077e210})
	C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:270 +0x1710
...
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc0008b2360, {0x141778200, 0xc0000ba1e0}, 0x1, {0xc0008a4da0, 0x2, 0x0?})
	C:/b/s/w/ir/x/w/targetrepo1296135988/gopls/internal/lsp/cache/load.go:135 +0x1345
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).loadWorkspace(0xc0008b2360, {0x141778200, 0xc0000ba1e0}, 0x1)
	C:/b/s/w/ir/x/w/targetrepo1296135988/gopls/internal/lsp/cache/view.go:850 +0x4fa
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc0008b2360, {0x141778200, 0xc0000ba1e0}, 0x1)
	C:/b/s/w/ir/x/w/targetrepo1296135988/gopls/internal/lsp/cache/view.go:761 +0x22c
golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
	C:/b/s/w/ir/x/w/targetrepo1296135988/gopls/internal/lsp/cache/session.go:226 +0x76
created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 403
	C:/b/s/w/ir/x/w/targetrepo1296135988/gopls/internal/lsp/cache/session.go:224 +0x19ed
2023-12-15 17:45 x_tools-go1.22-windows-amd64-race tools@1346c45e release-branch.go1.22@796f59df x/tools/gopls/internal/test/integration/misc.TestChangeConfiguration [ABORT] (log)
=== RUN   TestChangeConfiguration/default
panic: detected hanging go command (pid 10272): see golang/go#54461 for more details

goroutine 245 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x141822ac8, 0xc000213650}, 0xc0003c1600)
	C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:375 +0xe9e
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000443828, {0x141822ac8, 0xc000213650}, {0x141819dc0, 0xc000213800}, {0x141819dc0, 0xc000213830})
	C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:270 +0x1710
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000443828, {0x141822ac8, 0xc000213650}, {0x141819dc0, 0xc000213800}, {0x141819dc0, 0xc000213830})
	C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:179 +0x9c
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0005ccc20, {0x141822ac8, 0xc000213650}, {{0x1414437aa, 0x4}, {0xc000094780, 0x4, 0x4}, {0x142018d40, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:121 +0x27e
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc0005ccc20, {0x141822b00, 0xc0003faaf0}, {{0x1414437aa, 0x4}, {0xc000094780, 0x4, 0x4}, {0x142018d40, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:95 +0x415
golang.org/x/tools/go/internal/packagesdriver.GetSizesForArgsGolist({0x141822b00, 0xc0003faaf0}, {{0x1414437aa, 0x4}, {0xc000094780, 0x4, 0x4}, {0x142018d40, 0x0, 0x0}, ...}, ...)
	C:/b/s/w/ir/x/w/targetrepo1296135988/go/internal/packagesdriver/sizes.go:19 +0x1d0
golang.org/x/tools/go/packages.goListDriver.func1()
	C:/b/s/w/ir/x/w/targetrepo1296135988/go/packages/golist.go:154 +0x2eb
created by golang.org/x/tools/go/packages.goListDriver in goroutine 275
	C:/b/s/w/ir/x/w/targetrepo1296135988/go/packages/golist.go:153 +0x68b
2023-12-15 17:45 x_tools-go1.22-windows-amd64-race tools@1346c45e release-branch.go1.22@796f59df x/tools/gopls/internal/test/integration/modfile.TestModFileModification [ABORT] (log)
=== RUN   TestModFileModification/basic/default/default
panic: detected hanging go command (pid 10852): see golang/go#54461 for more details

goroutine 77 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x141755be8, 0xc0006ffad0}, 0xc0003b7600)
	C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:375 +0xe9e
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0004dd3e0, {0x141755be8, 0xc0006ffad0}, {0x14174cfe0, 0xc0006ffbf0}, {0x14174cfe0, 0xc0006ffc20})
	C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:270 +0x1710
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0004dd3e0, {0x141755be8, 0xc0006ffad0}, {0x14174cfe0, 0xc0006ffbf0}, {0x14174cfe0, 0xc0006ffc20})
	C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:179 +0x9c
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00008a260, {0x141755be8, 0xc0006ffad0}, {{0x14138ff75, 0x3}, {0xc0004408d0, 0x1, 0x1}, {0x141f16020, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:121 +0x27e
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00008a260, {0x141755be8, 0xc0006ff950}, {{0x14138ff75, 0x3}, {0xc0004408d0, 0x1, 0x1}, {0x141f16020, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:95 +0x415
golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc00008a260, {0x141755be8, 0xc0006ff7d0}, {{0x14138ff75, 0x3}, {0xc0004408d0, 0x1, 0x1}, {0x141f16020, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:71 +0x3b0
golang.org/x/tools/gopls/internal/lsp/cache.modTidyImpl({0x141755c20, 0xc000098690}, 0xc0006ec000, {0xc000364e70, 0x61}, 0xc000095b40)
	C:/b/s/w/ir/x/w/targetrepo1296135988/gopls/internal/lsp/cache/mod_tidy.go:126 +0x47c
golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).ModTidy.func1({0x141755c20, 0xc000098690}, {0x14138cce0, 0xc0006ec000})
	C:/b/s/w/ir/x/w/targetrepo1296135988/gopls/internal/lsp/cache/mod_tidy.go:89 +0x9c
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/b/s/w/ir/x/w/targetrepo1296135988/internal/memoize/memoize.go:187 +0xda
runtime/trace.WithRegion({0x141755c20, 0xc000098690}, {0xc000132e40, 0x13}, 0xc00054df80)
	C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x138
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/b/s/w/ir/x/w/targetrepo1296135988/internal/memoize/memoize.go:180 +0x1d8
created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 76
	C:/b/s/w/ir/x/w/targetrepo1296135988/internal/memoize/memoize.go:179 +0x352
2023-12-18 20:38 x_tools-go1.21-windows-amd64-race tools@c431729b release-branch.go1.21@bbab863a x/tools/internal/gcimporter.TestStdlib [ABORT] (log)
=== RUN   TestStdlib
panic: test timed out after 10m0s
running tests:
	TestStdlib (9m38s)

goroutine 6302 [running]:
testing.(*M).startAlarm.func1()
	C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x259
created by time.goFunc
	C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:176 +0x45
...
golang.org/x/tools/go/packages.Visit.func1(0xc0000cd080)
	C:/b/s/w/ir/x/w/targetrepo2483662960/go/packages/visit.go:38 +0x1e7
golang.org/x/tools/go/packages.Visit({0xc028713000, 0x1e7, 0x1e7?}, 0x0, 0xc000ac1dd0)
	C:/b/s/w/ir/x/w/targetrepo2483662960/go/packages/visit.go:43 +0x179
golang.org/x/tools/internal/gcimporter_test.TestStdlib(0xc0004a1040)
	C:/b/s/w/ir/x/w/targetrepo2483662960/internal/gcimporter/stdlib_test.go:61 +0x39f
testing.tRunner(0xc0004a1040, 0x140557ce8)
	C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:1595 +0x262
created by testing.(*T).Run in goroutine 1
	C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:1648 +0x846

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-windows-amd64-race` && (`test timed out` || `SIGQUIT` || status == "ABORT")
2024-01-29 09:09 x_tools-go1.21-windows-amd64-race tools@dd0f88f0 release-branch.go1.21@00f974eb x/tools/go/packages.TestInvalidFilesBeforeOverlayContains/Modules/second_file [ABORT] (log)
=== RUN   TestInvalidFilesBeforeOverlayContains/Modules/second_file

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-windows-amd64-race` && (`test timed out` || `SIGQUIT` || status == "ABORT")
2024-02-06 18:49 x_tools-go1.21-windows-amd64-race tools@6d4ccf2a release-branch.go1.21@f2920803 x/tools/go/packages.TestInvalidFilesBeforeOverlayContains/Modules/main [ABORT] (log)
=== RUN   TestInvalidFilesBeforeOverlayContains/Modules/main
2024-02-06 18:49 x_tools-go1.21-windows-amd64-race tools@6d4ccf2a release-branch.go1.21@f2920803 x/tools/go/packages.TestLoadDifferentPatterns/Modules [ABORT] (log)
=== RUN   TestLoadDifferentPatterns/Modules
=== PAUSE TestLoadDifferentPatterns/Modules
=== CONT  TestLoadDifferentPatterns/Modules
    invoke.go:268: 111.585ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules701303710/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 178.2925ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules701303710/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 1.1734329s for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules701303710/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\fake go list "-overlay=C:\\b\\s\\w\\ir\\x\\t\\gopackages-3719940950\\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: 299.5331ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules701303710/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 289.0195ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules701303710/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 647.5937ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules701303710/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\fake go list "-overlay=C:\\b\\s\\w\\ir\\x\\t\\gopackages-3486486146\\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/...
    invoke.go:268: 40.7829ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules701303710/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 46.2908ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules701303710/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 478.392ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules701303710/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\fake go list "-overlay=C:\\b\\s\\w\\ir\\x\\t\\gopackages-51528601\\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 -- "C:\\b\\s\\w\\ir\\x\\t\\TestLoadDifferentPatterns_Modules701303710\\fake\\a"
    invoke.go:268: 39.5143ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules701303710/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 46.4058ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules701303710/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 438.428ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules701303710/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules701303710\fake go list "-overlay=C:\\b\\s\\w\\ir\\x\\t\\gopackages-1437253147\\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/b
2024-02-06 21:16 x_tools-go1.21-windows-amd64-race tools@0d875898 release-branch.go1.21@f2920803 x/tools/gopls/internal/test/integration/codelens.TestDisablingCodeLens/default/default [ABORT] (log)
=== RUN   TestDisablingCodeLens/default/default
panic: detected hanging go command (pid 7776): see golang/go#54461 for more details

goroutine 166 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo2139951170/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x1416f5ce0, 0xc00062d110}, 0xc0005522c0)
	C:/b/s/w/ir/x/w/targetrepo2139951170/internal/gocommand/invoke.go:375 +0xd99
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00064d808, {0x1416f5ce0, 0xc00062d110}, {0x1416ed080?, 0xc00062d230}, {0x1416ed080?, 0xc00062d260})
	C:/b/s/w/ir/x/w/targetrepo2139951170/internal/gocommand/invoke.go:270 +0x19c6
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00064d7d8?, {0x1416f5ce0, 0xc00062d110}, {0x1416ed080, 0xc00062d230}, {0x1416ed080?, 0xc00062d260?})
	C:/b/s/w/ir/x/w/targetrepo2139951170/internal/gocommand/invoke.go:179 +0xa5
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0005cc500, {0x1416f5ce0, 0xc00062d110}, {{0x1413273bf, 0x4}, {0xc000320080, 0x4, 0x4}, {0x141e44020, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo2139951170/internal/gocommand/invoke.go:121 +0x26c
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc0005cc500, {0x1416f5d18, 0xc0004f2820}, {{0x1413273bf, 0x4}, {0xc000320080, 0x4, 0x4}, {0x141e44020, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo2139951170/internal/gocommand/invoke.go:95 +0x415
golang.org/x/tools/go/internal/packagesdriver.GetSizesForArgsGolist({0x1416f5d18, 0xc0004f2820}, {{0x1413273bf, 0x4}, {0xc000320080, 0x4, 0x4}, {0x141e44020, 0x0, 0x0}, ...}, ...)
	C:/b/s/w/ir/x/w/targetrepo2139951170/go/internal/packagesdriver/sizes.go:19 +0x1d0
golang.org/x/tools/go/packages.goListDriver.func1()
	C:/b/s/w/ir/x/w/targetrepo2139951170/go/packages/golist.go:152 +0x30b
created by golang.org/x/tools/go/packages.goListDriver in goroutine 162
	C:/b/s/w/ir/x/w/targetrepo2139951170/go/packages/golist.go:151 +0x5d9
2024-02-06 23:06 x_tools-go1.21-windows-amd64-race tools@ab679612 release-branch.go1.21@f2920803 x/tools/internal/gcimporter.TestStdlib [ABORT] (log)
=== RUN   TestStdlib
panic: test timed out after 10m0s
running tests:
	TestStdlib (9m41s)

goroutine 6704 [running]:
testing.(*M).startAlarm.func1()
	C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x259
created by time.goFunc
	C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:176 +0x45
...
golang.org/x/tools/go/packages.Visit.func1(0xc000161800)
	C:/b/s/w/ir/x/w/targetrepo3264531063/go/packages/visit.go:38 +0x1e7
golang.org/x/tools/go/packages.Visit({0xc024805000, 0x1e8, 0x1e8?}, 0x0, 0xc000a67dd0)
	C:/b/s/w/ir/x/w/targetrepo3264531063/go/packages/visit.go:43 +0x179
golang.org/x/tools/internal/gcimporter_test.TestStdlib(0xc0004a49c0)
	C:/b/s/w/ir/x/w/targetrepo3264531063/internal/gcimporter/stdlib_test.go:61 +0x39f
testing.tRunner(0xc0004a49c0, 0x140557dc8)
	C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:1595 +0x262
created by testing.(*T).Run in goroutine 1
	C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:1648 +0x846
2024-02-07 02:37 x_tools-go1.21-windows-amd64-race tools@c11269cc release-branch.go1.21@f2920803 x/tools/go/packages.TestInvalidFilesBeforeOverlayContains/Modules/main [ABORT] (log)
=== RUN   TestInvalidFilesBeforeOverlayContains/Modules/main
2024-02-07 02:37 x_tools-go1.21-windows-amd64-race tools@c11269cc release-branch.go1.21@f2920803 x/tools/go/packages.TestLoadDifferentPatterns/Modules/file=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1485750803\fake\a\a.go [ABORT] (log)
=== RUN   TestLoadDifferentPatterns/Modules/file=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1485750803\fake\a\a.go
2024-02-07 19:14 x_tools-go1.21-windows-amd64-race tools@acf07b3c release-branch.go1.21@f2920803 x/tools/go/packages.TestInvalidFilesBeforeOverlayContains/Modules/main [ABORT] (log)
=== RUN   TestInvalidFilesBeforeOverlayContains/Modules/main
2024-02-07 19:14 x_tools-go1.21-windows-amd64-race tools@acf07b3c release-branch.go1.21@f2920803 x/tools/go/packages.TestLoadDifferentPatterns/Modules [ABORT] (log)
=== RUN   TestLoadDifferentPatterns/Modules
=== PAUSE TestLoadDifferentPatterns/Modules
=== CONT  TestLoadDifferentPatterns/Modules
    invoke.go:268: 162.4976ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules2406734538\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules2406734538/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules2406734538\fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 175.1813ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules2406734538\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules2406734538/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules2406734538\fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 1.3830262s for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules2406734538\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules2406734538/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules2406734538\fake go list "-overlay=C:\\b\\s\\w\\ir\\x\\t\\gopackages-3314204705\\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: 141.3802ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules2406734538\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules2406734538/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules2406734538\fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 206.9408ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules2406734538\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules2406734538/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules2406734538\fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 673.7684ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules2406734538\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules2406734538/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules2406734538\fake go list "-overlay=C:\\b\\s\\w\\ir\\x\\t\\gopackages-2211129573\\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/...
    invoke.go:268: 44.7438ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules2406734538\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules2406734538/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules2406734538\fake go list -e -f {{context.ReleaseTags}} -- unsafe
...
panic: test timed out after 10m0s
running tests:
	TestInvalidFilesBeforeOverlayContains (9m48s)
	TestInvalidFilesBeforeOverlayContains/Modules (9m35s)
	TestInvalidFilesBeforeOverlayContains/Modules/main (48s)
	TestLoadDifferentPatterns (9m48s)
	TestLoadDifferentPatterns/Modules (9m48s)

goroutine 19148 [running]:
testing.(*M).startAlarm.func1()
...
sync.(*Once).doSlow(0xc023fd7240, 0xc000647f58)
	C:/b/s/w/ir/x/w/goroot/src/sync/once.go:70 +0x55
sync.(*Once).Do(0xc023fd7240, 0x0?)
	C:/b/s/w/ir/x/w/goroot/src/sync/once.go:65 +0x45
golang.org/x/tools/go/packages.(*loader).loadRecursive(0xc001106380, 0xc023fd7230)
	C:/b/s/w/ir/x/w/targetrepo1872851426/go/packages/packages.go:822 +0x88
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1.1(0x0?)
	C:/b/s/w/ir/x/w/targetrepo1872851426/go/packages/packages.go:829 +0x3e
created by golang.org/x/tools/go/packages.(*loader).loadRecursive.func1 in goroutine 17834
	C:/b/s/w/ir/x/w/targetrepo1872851426/go/packages/packages.go:828 +0xd5

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-windows-amd64-race` && (`test timed out` || `SIGQUIT` || status == "ABORT")
2024-02-08 13:20 x_tools-go1.21-windows-amd64-race tools@f4fa7a75 release-branch.go1.21@f997dfd3 x/tools/go/packages.TestInvalidFilesBeforeOverlayContains/Modules/main [ABORT] (log)
=== RUN   TestInvalidFilesBeforeOverlayContains/Modules/main
2024-02-08 13:20 x_tools-go1.21-windows-amd64-race tools@f4fa7a75 release-branch.go1.21@f997dfd3 x/tools/go/packages.TestLoadDifferentPatterns/Modules [ABORT] (log)
=== RUN   TestLoadDifferentPatterns/Modules
=== PAUSE TestLoadDifferentPatterns/Modules
=== CONT  TestLoadDifferentPatterns/Modules
    invoke.go:268: 194.6946ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1566754262\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules1566754262/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1566754262\fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 213.3522ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1566754262\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules1566754262/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1566754262\fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 875.0043ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1566754262\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules1566754262/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1566754262\fake go list "-overlay=C:\\b\\s\\w\\ir\\x\\t\\gopackages-145187996\\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: 58.1097ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1566754262\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules1566754262/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1566754262\fake go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe
    invoke.go:268: 95.688ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1566754262\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules1566754262/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1566754262\fake go list -e -f {{context.ReleaseTags}} -- unsafe
    invoke.go:268: 515.3715ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1566754262\modcache GO111MODULE=on GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules1566754262/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1566754262\fake go list "-overlay=C:\\b\\s\\w\\ir\\x\\t\\gopackages-2656562513\\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/...
    invoke.go:268: 47.4922ms for GOROOT= GOPATH=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1566754262\modcache GO111MODULE=off GOPROXY=file:///C:/b/s/w/ir/x/t/TestLoadDifferentPatterns_Modules1566754262/modproxy PWD=C:\b\s\w\ir\x\t\TestLoadDifferentPatterns_Modules1566754262\fake go list -e -f {{context.ReleaseTags}} -- unsafe
...
panic: test timed out after 10m0s
running tests:
	TestInvalidFilesBeforeOverlayContains (9m50s)
	TestInvalidFilesBeforeOverlayContains/Modules (9m50s)
	TestInvalidFilesBeforeOverlayContains/Modules/main (4m48s)
	TestLoadDifferentPatterns (9m50s)
	TestLoadDifferentPatterns/Modules (9m34s)

goroutine 19785 [running]:
testing.(*M).startAlarm.func1()
...
sync.(*Once).doSlow(0xc00e442a90, 0xc005587f58)
	C:/b/s/w/ir/x/w/goroot/src/sync/once.go:70 +0x55
sync.(*Once).Do(0xc00e442a90, 0x140082853?)
	C:/b/s/w/ir/x/w/goroot/src/sync/once.go:65 +0x45
golang.org/x/tools/go/packages.(*loader).loadRecursive(0xc006cf2000, 0xc00e442a80)
	C:/b/s/w/ir/x/w/targetrepo2338078194/go/packages/packages.go:822 +0x88
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1.1(0x0?)
	C:/b/s/w/ir/x/w/targetrepo2338078194/go/packages/packages.go:829 +0x3e
created by golang.org/x/tools/go/packages.(*loader).loadRecursive.func1 in goroutine 19383
	C:/b/s/w/ir/x/w/targetrepo2338078194/go/packages/packages.go:828 +0xd5
2024-02-09 17:45 x_tools-go1.21-windows-amd64-race tools@96196832 release-branch.go1.21@b214108e x/tools/internal/gcimporter.TestStdlib [ABORT] (log)
=== RUN   TestStdlib
panic: test timed out after 10m0s
running tests:
	TestStdlib (9m38s)

goroutine 6887 [running]:
testing.(*M).startAlarm.func1()
	C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x259
created by time.goFunc
	C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:176 +0x45
...
	C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:1925 +0xcd8
golang.org/x/tools/internal/gcimporter.TestMain(0xff541af76d8dd1fc?)
	C:/b/s/w/ir/x/w/targetrepo4073239524/internal/gcimporter/gcimporter_test.go:37 +0x2f
main.main()
	_testmain.go:107 +0x308

goroutine 347 [running]:
	goroutine running on other thread; stack unavailable
created by testing.(*T).Run in goroutine 1
	C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:1648 +0x846

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-windows-amd64-race` && (`test timed out` || `SIGQUIT` || status == "ABORT")
2024-02-09 20:28 x_tools-go1.21-windows-amd64-race tools@8cf0a8e2 release-branch.go1.21@b214108e x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens/Upgrade_direct_dependencies/default [ABORT] (log)
=== RUN   TestUpgradeCodelens/Upgrade_direct_dependencies/default
panic: detected hanging go command (pid 8292): see golang/go#54461 for more details

goroutine 528 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo3387498482/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x1416f8780, 0xc00050c0c0}, 0xc000346160)
	C:/b/s/w/ir/x/w/targetrepo3387498482/internal/gocommand/invoke.go:375 +0xd99
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000533618, {0x1416f8780, 0xc00050c0c0}, {0x1416efb20?, 0xc00050c240}, {0x1416efb20?, 0xc00050c270})
	C:/b/s/w/ir/x/w/targetrepo3387498482/internal/gocommand/invoke.go:270 +0x19c6
...
golang.org/x/tools/go/packages.Load(0xc0005ead80?, {0xc000396f40, 0x3, 0x4})
	C:/b/s/w/ir/x/w/targetrepo3387498482/go/packages/packages.go:225 +0x85
golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc0005ead80, {0x1416f87b8, 0xc0005ce1e0}, 0x1, {0xc000396f00, 0x3, 0x14001ee75?})
	C:/b/s/w/ir/x/w/targetrepo3387498482/gopls/internal/cache/load.go:136 +0x1185
golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc0005ead80, {0x1416f87b8, 0xc0005ce1e0}, 0x1)
	C:/b/s/w/ir/x/w/targetrepo3387498482/gopls/internal/cache/view.go:720 +0x5e5
golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
	C:/b/s/w/ir/x/w/targetrepo3387498482/gopls/internal/cache/session.go:277 +0x85
created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 586
	C:/b/s/w/ir/x/w/targetrepo3387498482/gopls/internal/cache/session.go:275 +0x288e
2024-02-09 20:28 x_tools-go1.21-windows-amd64-race tools@8cf0a8e2 release-branch.go1.21@b214108e x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer/default [ABORT] (log)
=== RUN   TestTimeFormatAnalyzer/default
panic: detected hanging go command (pid 10780): see golang/go#54461 for more details

goroutine 3199 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo3387498482/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x141715b80, 0x141e70640}, 0xc0015ba580)
	C:/b/s/w/ir/x/w/targetrepo3387498482/internal/gocommand/invoke.go:375 +0xd99
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0020dafb0, {0x141715b80, 0x141e70640}, {0x14170ce40?, 0xc001d3ed50}, {0x14170ce40?, 0xc001d3f410})
	C:/b/s/w/ir/x/w/targetrepo3387498482/internal/gocommand/invoke.go:270 +0x19c6
...
golang.org/x/tools/internal/imports.newModuleResolver(0xc000529290, 0xc000190f90)
	C:/b/s/w/ir/x/w/targetrepo3387498482/internal/imports/mod.go:122 +0x70c
golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver(0xc000529290)
	C:/b/s/w/ir/x/w/targetrepo3387498482/internal/imports/fix.go:992 +0x16e
golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv(0xc000140550)
	C:/b/s/w/ir/x/w/targetrepo3387498482/gopls/internal/cache/imports.go:210 +0xf9
golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1()
	C:/b/s/w/ir/x/w/targetrepo3387498482/gopls/internal/cache/imports.go:57 +0x63
created by time.goFunc
	C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:176 +0x45
2024-02-09 20:28 x_tools-go1.21-windows-amd64-race tools@8cf0a8e2 release-branch.go1.21@b214108e x/tools/gopls/internal/test/integration/modfile.TestModFileModification/basic/default/default [ABORT] (log)
=== RUN   TestModFileModification/basic/default/default
panic: detected hanging go command (pid 10580): see golang/go#54461 for more details

goroutine 118 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo3387498482/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x14170f240, 0xc0003e52f0}, 0xc0007162c0)
	C:/b/s/w/ir/x/w/targetrepo3387498482/internal/gocommand/invoke.go:375 +0xd99
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000617618, {0x14170f240, 0xc0003e52f0}, {0x1417065a0?, 0xc0003e5410}, {0x1417065a0?, 0xc0003e5440})
	C:/b/s/w/ir/x/w/targetrepo3387498482/internal/gocommand/invoke.go:270 +0x19c6
...
golang.org/x/tools/go/packages.Load(0xc000594900?, {0xc000784100, 0x2, 0x2})
	C:/b/s/w/ir/x/w/targetrepo3387498482/go/packages/packages.go:225 +0x85
golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc000594900, {0x14170f278, 0xc0001c2960}, 0x1, {0xc0007840e0, 0x2, 0x2?})
	C:/b/s/w/ir/x/w/targetrepo3387498482/gopls/internal/cache/load.go:136 +0x1185
golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc000594900, {0x14170f278, 0xc0001c2960}, 0x1)
	C:/b/s/w/ir/x/w/targetrepo3387498482/gopls/internal/cache/view.go:720 +0x5e5
golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
	C:/b/s/w/ir/x/w/targetrepo3387498482/gopls/internal/cache/session.go:277 +0x85
created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 111
	C:/b/s/w/ir/x/w/targetrepo3387498482/gopls/internal/cache/session.go:275 +0x288e

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-windows-amd64-race` && (`test timed out` || `SIGQUIT` || status == "ABORT")
2024-02-12 22:10 x_tools-gotip-windows-amd64-race tools@c5643e9b go@0336d5eb x/tools/gopls/internal/test/integration/completion.TestFuzzFunc/default [ABORT] (log)
=== RUN   TestFuzzFunc/default
panic: detected hanging go command (pid 10140): see golang/go#54461 for more details

goroutine 2803 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x141799be8, 0xc001934ea0}, 0xc001b12b00)
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:375 +0xde7
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0015533e0, {0x141799be8, 0xc001934ea0}, {0x1417907a0, 0xc00136c6f0}, {0x1417907a0, 0xc00136c9f0})
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:270 +0x1710
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0015533e0, {0x141799be8, 0xc001934ea0}, {0x1417907a0, 0xc00136c6f0}, {0x1417907a0, 0xc00136c9f0})
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:179 +0x9c
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00050bc00, {0x141799be8, 0xc001934ea0}, {{0x1413c9445, 0x3}, {0xc000655440, 0x1, 0x1}, {0x141f62d20, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:121 +0x27e
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00050bc00, {0x141799be8, 0xc0000c4840}, {{0x1413c9445, 0x3}, {0xc000655440, 0x1, 0x1}, {0x141f62d20, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:95 +0x415
golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc00050bc00, {0x141799be8, 0xc00012ea20}, {{0x1413c9445, 0x3}, {0xc000655440, 0x1, 0x1}, {0x141f62d20, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:71 +0x3b0
golang.org/x/tools/gopls/internal/cache.modTidyImpl({0x141799c20, 0xc0018e9b30}, 0xc00405a120, {0xc001e24190, 0x46}, 0xc0008326c0)
	C:/b/s/w/ir/x/w/targetrepo2082764816/gopls/internal/cache/mod_tidy.go:117 +0x47c
golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x141799c20, 0xc0018e9b30}, {0x1413c5120, 0xc00405a120})
	C:/b/s/w/ir/x/w/targetrepo2082764816/gopls/internal/cache/mod_tidy.go:80 +0x9c
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/memoize/memoize.go:187 +0xda
runtime/trace.WithRegion({0x141799c20, 0xc0018e9b30}, {0xc001f76f60, 0x13}, 0xc001519f80)
	C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x138
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/memoize/memoize.go:180 +0x1d8
created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 2802
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/memoize/memoize.go:179 +0x352
2024-02-12 22:10 x_tools-gotip-windows-amd64-race tools@c5643e9b go@0336d5eb x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer/default [ABORT] (log)
=== RUN   TestTimeFormatAnalyzer/default
panic: detected hanging go command (pid 2444): see golang/go#54461 for more details

goroutine 2379 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x14177cee8, 0xc003a1f620}, 0xc0036942c0)
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:375 +0xde7
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc002ebf3e0, {0x14177cee8, 0xc003a1f620}, {0x141773b40, 0xc003a1f7a0}, {0x141773b40, 0xc003a1f7d0})
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:270 +0x1710
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc002ebf3e0, {0x14177cee8, 0xc003a1f620}, {0x141773b40, 0xc003a1f7a0}, {0x141773b40, 0xc003a1f7d0})
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:179 +0x9c
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc000261aa0, {0x14177cee8, 0xc003a1f620}, {{0x1413b03b9, 0x3}, {0xc003a11c60, 0x1, 0x1}, {0x141f43180, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:121 +0x27e
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc000261aa0, {0x14177cee8, 0xc003a1f440}, {{0x1413b03b9, 0x3}, {0xc003a11c60, 0x1, 0x1}, {0x141f43180, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:95 +0x415
golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc000261aa0, {0x14177cee8, 0xc002e08000}, {{0x1413b03b9, 0x3}, {0xc003a11c60, 0x1, 0x1}, {0x141f43180, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:71 +0x3b0
golang.org/x/tools/gopls/internal/cache.modTidyImpl({0x14177cf20, 0xc00292e460}, 0xc003b74d80, {0xc0007617c0, 0x50}, 0xc0004b0dc0)
	C:/b/s/w/ir/x/w/targetrepo2082764816/gopls/internal/cache/mod_tidy.go:117 +0x47c
golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x14177cf20, 0xc00292e460}, {0x1413ac0a0, 0xc003b74d80})
	C:/b/s/w/ir/x/w/targetrepo2082764816/gopls/internal/cache/mod_tidy.go:80 +0x9c
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/memoize/memoize.go:187 +0xda
runtime/trace.WithRegion({0x14177cf20, 0xc00292e460}, {0xc0031f2ab0, 0x13}, 0xc000635f80)
	C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x138
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/memoize/memoize.go:180 +0x1d8
created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 2354
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/memoize/memoize.go:179 +0x352
2024-02-12 22:10 x_tools-gotip-windows-amd64-race tools@c5643e9b go@0336d5eb x/tools/gopls/internal/test/integration/modfile.TestModFileModification/basic/default/default [ABORT] (log)
=== RUN   TestModFileModification/basic/default/default
panic: detected hanging go command (pid 8804): see golang/go#54461 for more details

goroutine 140 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:442
golang.org/x/tools/internal/gocommand.runCmdContext({0x141776708, 0xc0006800c0}, 0xc0006b4000)
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:375 +0xde7
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00036d860, {0x141776708, 0xc0006800c0}, {0x14176d340, 0xc000680210}, {0x14176d340, 0xc000680240})
	C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:270 +0x1710
...
golang.org/x/tools/go/packages.Load(0xc000354dc0, {0xc00008a8c0, 0x2, 0x2})
	C:/b/s/w/ir/x/w/targetrepo2082764816/go/packages/packages.go:225 +0x85
golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc00052aea0, {0x141776740, 0xc0001c42d0}, 0x1, {0xc00008a880, 0x2, 0x141eb2d20?})
	C:/b/s/w/ir/x/w/targetrepo2082764816/gopls/internal/cache/load.go:136 +0x11c5
golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc00052aea0, {0x141776740, 0xc0001c42d0}, 0x1)
	C:/b/s/w/ir/x/w/targetrepo2082764816/gopls/internal/cache/view.go:720 +0x5e5
golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
	C:/b/s/w/ir/x/w/targetrepo2082764816/gopls/internal/cache/session.go:277 +0x76
created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 148
	C:/b/s/w/ir/x/w/targetrepo2082764816/gopls/internal/cache/session.go:275 +0x286e
2024-02-14 21:33 x_tools-go1.21-windows-amd64-race tools@df9c1c7e release-branch.go1.21@b214108e x/tools/internal/gcimporter.TestStdlib [ABORT] (log)
=== RUN   TestStdlib
panic: test timed out after 10m0s
running tests:
	TestStdlib (9m37s)

goroutine 6701 [running]:
testing.(*M).startAlarm.func1()
	C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x259
created by time.goFunc
	C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:176 +0x45
...
golang.org/x/tools/go/packages.Visit.func1(0xc0001ad380)
	C:/b/s/w/ir/x/w/targetrepo3664522726/go/packages/visit.go:38 +0x1e7
golang.org/x/tools/go/packages.Visit({0xc022853000, 0x1e8, 0x1e8?}, 0x0, 0xc000461dd0)
	C:/b/s/w/ir/x/w/targetrepo3664522726/go/packages/visit.go:43 +0x179
golang.org/x/tools/internal/gcimporter_test.TestStdlib(0xc0004e7a00)
	C:/b/s/w/ir/x/w/targetrepo3664522726/internal/gcimporter/stdlib_test.go:61 +0x39f
testing.tRunner(0xc0004e7a00, 0x140557dc8)
	C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:1595 +0x262
created by testing.(*T).Run in goroutine 1
	C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:1648 +0x846

watchflakes

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `(gotip|go1\.\d\d)-windows-amd64-race` && (`test timed out` || `SIGQUIT` || status == "ABORT")
2024-02-15 17:22 x_tools-go1.21-windows-amd64-race tools@7240af8b release-branch.go1.21@b214108e x/tools/internal/gcimporter.TestStdlib [ABORT] (log)
=== RUN   TestStdlib
panic: test timed out after 10m0s
running tests:
	TestStdlib (9m39s)

goroutine 6763 [running]:
testing.(*M).startAlarm.func1()
	C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:2259 +0x259
created by time.goFunc
	C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:176 +0x45
...
golang.org/x/tools/go/packages.Visit.func1(0xc0001ede00)
	C:/b/s/w/ir/x/w/targetrepo2346471863/go/packages/visit.go:38 +0x1e7
golang.org/x/tools/go/packages.Visit({0xc00f3c1000, 0x1e8, 0x1e8?}, 0x0, 0xc000b4ddd0)
	C:/b/s/w/ir/x/w/targetrepo2346471863/go/packages/visit.go:43 +0x179
golang.org/x/tools/internal/gcimporter_test.TestStdlib(0xc0002c1ba0)
	C:/b/s/w/ir/x/w/targetrepo2346471863/internal/gcimporter/stdlib_test.go:61 +0x39f
testing.tRunner(0xc0002c1ba0, 0x140557dc8)
	C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:1595 +0x262
created by testing.(*T).Run in goroutine 1
	C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:1648 +0x846
2024-02-15 17:22 x_tools-gotip-windows-amd64-race tools@7240af8b go@b6ca5861 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens [ABORT] (log)
=== RUN   TestUpgradeCodelens
2024-02-15 17:22 x_tools-gotip-windows-amd64-race tools@7240af8b go@b6ca5861 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc [ABORT] (log)
=== RUN   TestFuzzFunc
2024-02-15 17:22 x_tools-gotip-windows-amd64-race tools@7240af8b go@b6ca5861 x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer [ABORT] (log)
=== RUN   TestTimeFormatAnalyzer

watchflakes

@bcmills
Copy link
Member Author

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
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) NeedsFix The path to resolution is known, but the work has not been done.
Projects
Archived in project
Status: Done
Development

No branches or pull requests

4 participants