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/tools/gopls: regtest flakes due to hanging go commands #54461

Open
findleyr opened this issue Aug 15, 2022 · 276 comments
Open

x/tools/gopls: regtest flakes due to hanging go commands #54461

findleyr opened this issue Aug 15, 2022 · 276 comments
Labels
gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@findleyr
Copy link
Member

findleyr commented Aug 15, 2022

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)

greplogs --dashboard -md -l -e 'runCmdContext' --since=2022-07-14

2022-08-15T17:42:12-987de34-1f833e4/darwin-amd64-12_0
2022-08-14T00:06:23-35f806b-59865f1/netbsd-amd64-9_0
2022-08-12T20:40:05-bebd890-2f6783c/netbsd-386-9_0
2022-08-12T18:15:28-bebd890-b6f87b0/netbsd-amd64-9_0
2022-08-12T12:39:26-88d981e-f67c766/netbsd-amd64-9_0
2022-08-12T00:04:29-c4ec74a-a5cd894/netbsd-386-9_0
2022-08-11T19:05:54-c4ec74a-62654df/netbsd-amd64-9_0
2022-08-11T17:53:50-37a81b6-a526ec1/netbsd-amd64-9_0
2022-08-11T16:19:14-37a81b6-2340d37/netbsd-amd64-9_0
2022-08-11T12:53:59-b2156b5-3c200d6/netbsd-386-9_0
2022-08-10T22:22:48-b2156b5-6b80b62/netbsd-amd64-9_0
2022-08-10T17:41:25-0ad49fd-f19f6c7/netbsd-amd64-9_0
2022-08-10T15:08:24-3950865-c81dfdd/netbsd-amd64-9_0
2022-08-10T02:14:09-6fa767d-5531838/plan9-386-0intro
2022-08-09T14:33:24-92d58ea-0981d9f/openbsd-386-70
2022-08-09T14:12:01-92d58ea-662a729/netbsd-amd64-9_0
2022-08-09T13:39:27-92d58ea-9e8020b/netbsd-386-9_0
2022-08-09T11:28:56-92d58ea-0f8dffd/netbsd-amd64-9_0
2022-08-08T18:10:56-fff6d6d-4bcc138/netbsd-amd64-9_0
2022-08-08T15:33:45-06d96ee-0581d69/netbsd-amd64-9_0
2022-08-08T15:07:46-06d96ee-cd54ef1/netbsd-amd64-9_0
2022-08-08T14:12:21-06d96ee-e761556/netbsd-amd64-9_0
2022-08-08T06:16:59-06d96ee-0f6ee42/darwin-amd64-11_0
2022-08-08T06:16:59-06d96ee-0f6ee42/netbsd-386-9_0
2022-08-06T15:20:00-06d96ee-0c4db1e/plan9-386-0intro
2022-08-05T19:51:08-06d96ee-4fb7e22/plan9-386-0intro
2022-08-04T20:05:03-81c7dc4-39728f4/netbsd-386-9_0
2022-08-04T20:05:03-81c7dc4-39728f4/netbsd-amd64-9_0
2022-08-04T20:04:16-3519aa2-39728f4/netbsd-386-9_0
2022-08-04T19:57:25-763f65c-39728f4/netbsd-386-9_0
2022-08-04T18:51:46-99fd76f-39728f4/openbsd-386-70
2022-08-04T17:05:18-3e0a503-fb1bfd4/netbsd-amd64-9_0
2022-08-04T15:50:11-3e0a503-fcdd099/netbsd-386-9_0
2022-08-04T15:50:11-3e0a503-44ff9bf/netbsd-amd64-9_0
2022-08-04T15:31:49-87f47bb-44ff9bf/plan9-386-0intro
2022-08-04T14:58:59-87f47bb-4345620/netbsd-386-9_0
2022-08-04T10:32:51-3e0a503-a10afb1/linux-386-buster
2022-08-03T21:02:27-8b9a1fb-f28fa95/plan9-386-0intro
2022-08-03T21:02:27-8b9a1fb-4345620/netbsd-386-9_0
2022-08-03T18:07:40-d08f5dc-fcdd099/netbsd-386-9_0
2022-08-03T13:50:38-ddb90ec-c6a2dad/dragonfly-amd64-622
2022-08-03T13:50:38-ddb90ec-c6a2dad/plan9-386-0intro
2022-08-03T12:09:24-ddb90ec-29b9a32/plan9-386-0intro
2022-08-02T18:52:36-0d04f65-29b9a32/plan9-386-0intro
2022-08-02T18:19:01-d025cce-be59153/netbsd-amd64-9_0
2022-08-02T18:16:22-10cb435-d723df7/netbsd-amd64-9_0
2022-08-02T18:07:14-4d0b383-d723df7/netbsd-386-9_0
2022-08-02T18:07:14-4d0b383-d723df7/netbsd-amd64-9_0
2022-08-02T17:23:42-4d0b383-1b7e71e/darwin-amd64-nocgo
2022-08-02T16:05:48-4d0b383-f2a9f3e/netbsd-amd64-9_0
2022-07-29T20:19:23-9580c84-9240558/windows-arm64-11
2022-07-28T20:06:00-8ea5687-d9242f7/darwin-amd64-nocgo
2022-07-27T15:04:58-39a4e36-4248146/freebsd-386-13_0
2022-07-26T18:43:08-6c8a6c4-d9242f7/aix-ppc64
2022-07-25T20:44:49-2a6393f-24dc27a/darwin-amd64-10_14
2022-07-25T18:11:01-4375b29-795a88d/plan9-386-0intro
2022-07-25T14:16:17-178fdf9-64f2829/plan9-386-0intro
2022-07-22T20:12:19-7b605f4-c5da4fb/plan9-386-0intro
2022-07-21T20:11:06-ec1f924-c4a6d30/plan9-386-0intro
2022-07-15T15:11:26-22d1494-2aa473c/windows-386-2008-newcc
2022-07-15T14:27:36-1a4e02f-4651ebf/windows-arm64-10
2022-07-15T14:20:24-db8f89b-4651ebf/windows-arm64-10
2022-07-14T21:03:14-db8f89b-783ff7d/windows-arm64-11
2022-07-14T21:01:58-db8f89b-aa80228/darwin-arm64-11
2022-07-14T19:05:09-db8f89b-a906d3d/windows-arm64-10
2022-07-14T15:54:36-db8f89b-266c70c/windows-arm64-10
2022-07-14T01:47:39-db8f89b-558785a/windows-arm64-11

We recently started waiting for all go command invocations when shutting down gopls regtests. It appears that sometimes we kill the go command and still don't get a result from cmd.Wait(). For example, here:
https://build.golang.org/log/00046e0b005c7660d676a3a415561950048f756a

In that failure, the test runner looks otherwise healthy (other tests ran fast), and yet the goroutine stack clearly shows a go command hanging for 9 minutes here:
https://cs.opensource.google/go/x/tools/+/master:internal/gocommand/invoke.go;l=260;drc=f38573358cbedf46d64c5759ef41b72afcf0c5c0

@bcmills do you happen to have any idea of what might cause this?

@gopherbot gopherbot added Tools This label describes issues relating to any tools in the x/tools repository. gopls Issues related to the Go language server, gopls. labels Aug 15, 2022
@gopherbot gopherbot added this to the Unreleased milestone Aug 15, 2022
@findleyr findleyr modified the milestones: Unreleased, gopls/later Aug 15, 2022
@findleyr
Copy link
Member Author

Two observations:

  1. We're not checking the error from Kill. If killing failed, I don't think we can expect Wait to return.
  2. Discussion at https://groups.google.com/g/golang-nuts/c/pUaEjqd5wo8

@adonovan
Copy link
Member

adonovan commented Aug 15, 2022

The only reason the kill system call can fail (at least in this situation) is when the child process has already exited, so failure of kill is unlikely to be the culprit. More likely kill terminated the go process itself, but not the tree of processes rooted at it. If one of them (a test?) retains an open file descriptor to the stdout pipe created by os/exec then the cmd.Run operation will hang indefinitely.

To dig further, we could add logic to run during the failure (on linux) that does ps -e f and ls -l /proc/*/fd/* to show the process tree and their open files.

@bcmills
Copy link
Contributor

bcmills commented Aug 16, 2022

Please do check the error from Kill — that would at least give a useful data point for diagnostics. (This may be closely related to #53400 #50187.)

@bcmills
Copy link
Contributor

bcmills commented Sep 14, 2022

greplogs -l -e 'panic: test timed out(?:.*\n)*goroutine \d+ \[.*, \d+ minutes\]:\n.*runCmdContext' --since=2022-08-15 --details

2022-09-13T12:58:04-ec74389-dad2966/netbsd-386-9_0
2022-09-13T12:38:14-ec74389-c7a0b15/netbsd-amd64-9_0
2022-09-13T12:37:11-ec74389-f4a587b/netbsd-amd64-9_0
2022-09-11T21:08:46-e71c338-00ece11/netbsd-amd64-9_0
2022-09-09T18:42:57-0eebaab-b244b89/netbsd-386-9_0
2022-09-09T15:36:26-eeaf4eb-600db8a/netbsd-386-9_0
2022-09-09T15:10:10-4754f75-9a5574a/netbsd-amd64-9_0
2022-09-08T15:55:44-a630751-cd8aa40/netbsd-amd64-9_0
2022-09-08T14:33:45-a630751-e5ed221/netbsd-386-9_0
2022-09-08T13:27:43-a630751-51fdfeb/darwin-arm64-11
2022-09-07T16:37:07-dd1bab2-3e75859/darwin-arm64-12
2022-09-07T14:47:36-c1dd25e-d81ed4d/netbsd-386-9_0
2022-09-07T14:47:36-c1dd25e-d81ed4d/netbsd-amd64-9_0
2022-09-07T14:33:56-c1dd25e-0752f4a/netbsd-386-9_0
2022-09-07T00:49:41-83d7619-8fd2073/netbsd-amd64-9_0
2022-09-06T22:14:56-83d7619-c82304b/netbsd-386-9_0
2022-09-06T17:36:47-83d7619-e0e0c8f/netbsd-amd64-9_0
2022-09-06T16:17:26-83d7619-4a4127b/netbsd-amd64-9_0
2022-09-06T16:04:07-83d7619-60ef4b2/netbsd-386-9_0
2022-09-06T12:35:13-d815cba-8a32354/netbsd-amd64-9_0
2022-09-03T06:26:16-d815cba-9fc09d2/netbsd-386-9_0
2022-09-02T18:51:37-be9eab1-5b1fbfb/netbsd-amd64-9_0
2022-09-02T18:17:25-5ba8541-0cf996a/netbsd-amd64-9_0
2022-09-02T15:27:18-eb8352e-321a220/netbsd-386-9_0
2022-09-02T05:05:13-33c1ddd-8e35910/darwin-arm64-12
2022-09-02T05:05:13-33c1ddd-8e35910/netbsd-amd64-9_0
2022-09-02T00:06:00-40cfaff-0592ce5/netbsd-amd64-9_0
2022-09-01T23:18:06-40cfaff-1280ae7/netbsd-amd64-9_0
2022-09-01T22:37:04-40cfaff-aa5ff29/netbsd-386-9_0
2022-09-01T18:08:05-f16be35-ef84141/netbsd-386-9_0
2022-09-01T15:27:30-6c10975-86e9e0e/netbsd-386-9_0
2022-09-01T03:24:42-49ab44d-91ef076/netbsd-amd64-9_0
2022-09-01T00:42:27-550e1f5-64b260d/netbsd-386-9_0
2022-08-31T23:52:00-550e1f5-ca634fa/netbsd-amd64-9_0
2022-08-31T22:22:43-550e1f5-e4b624e/netbsd-amd64-9_0
2022-08-31T22:10:52-550e1f5-33a7e5a/netbsd-386-9_0
2022-08-31T21:08:24-4ccc73c-ce77a46/netbsd-386-9_0
2022-08-31T21:08:24-4ccc73c-889d326/netbsd-amd64-9_0
2022-08-31T16:26:07-41c3a9b-d2d5929/netbsd-386-9_0
2022-08-31T01:16:54-248c34b-ee0e40a/netbsd-amd64-9_0
2022-08-30T21:30:15-248c34b-bd56cb9/netbsd-amd64-9_0
2022-08-30T00:49:19-248c34b-629ae1c/netbsd-amd64-9_0
2022-08-28T16:04:49-717a671-846c378/netbsd-386-9_0
2022-08-26T19:15:02-717a671-897ad2f/netbsd-amd64-9_0
2022-08-26T18:28:14-717a671-bf812b3/netbsd-386-9_0
2022-08-26T17:48:20-7f23307-296c40d/netbsd-amd64-9_0
2022-08-26T15:36:36-7c5e035-951d2c6/netbsd-386-9_0
2022-08-25T19:17:14-d35bb19-f64f12f/netbsd-386-9_0
2022-08-25T17:31:33-db6a62c-83b5fe6/netbsd-386-9_0
2022-08-25T14:56:18-db6a62c-e4be2ac/netbsd-amd64-9_0
2022-08-25T04:00:07-db6a62c-8c8429f/netbsd-386-9_0
2022-08-25T04:00:07-db6a62c-8c8429f/netbsd-amd64-9_0
2022-08-24T21:20:11-db6a62c-e4bed41/netbsd-amd64-9_0
2022-08-24T17:56:56-587a153-cfae70c/netbsd-386-9_0
2022-08-24T15:37:38-587a153-d5aa088/netbsd-amd64-9_0
2022-08-24T14:31:08-c837a30-f983a93/netbsd-amd64-9_0
2022-08-24T12:12:12-587a153-b5a9459/netbsd-amd64-9_0
2022-08-23T20:32:50-587a153-fc0d423/netbsd-386-9_0
2022-08-19T16:55:03-e55fb40-7dad1d2/netbsd-386-9_0
2022-08-19T16:17:50-e55fb40-5729419/netbsd-386-9_0
2022-08-19T15:53:47-e55fb40-f324355/netbsd-amd64-9_0
2022-08-19T03:09:05-e55fb40-a409356/netbsd-386-9_0
2022-08-15T20:41:00-938e162-de0f4d1/netbsd-amd64-9_0
2022-08-15T20:02:31-938e162-7b45edb/netbsd-amd64-9_0
2022-08-15T19:17:20-8c83056-7b45edb/netbsd-amd64-9_0
2022-08-15T17:42:12-987de34-1f833e4/darwin-amd64-12_0

(66 matching logs)

@findleyr
Copy link
Member Author

Interesting, I was debugging this in https://go.dev/cl/424075. On windows, our call to Process.Kill() is failing with "invalid argument":
https://storage.googleapis.com/go-build-log/e2f60200/windows-386-2008_71ad7007.log

A bit of googling suggests that this is because we can't kill subprocesses on windows.

@bcmills any advice for how to properly kill the go command on windows?

@findleyr
Copy link
Member Author

After reading the source a bit more: this is EINVAL, which appears to mean that the Process.wait() has exited and the handle released, so this is a race, although it is surprising that we hit it so reliably.

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/424075 mentions this issue: internal/gocommand: add instrumentation for hanging go commands

@bcmills
Copy link
Contributor

bcmills commented Sep 14, 2022

any advice for how to properly kill the go command on windows?

Can't be done without creating a whole extra process group, unfortunately. (Probably we should add a side-channel — perhaps an open file descriptor or a pidfile? — to request clean shutdown on Windows.)

gopherbot pushed a commit to golang/tools that referenced this issue Sep 15, 2022
When a go command hangs during gopls regression tests, print out
additional information about processes and file descriptors.

For golang/go#54461

Change-Id: I92aa4665e9056d15a274c154fce2783bed79718e
Reviewed-on: https://go-review.googlesource.com/c/tools/+/424075
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/431075 mentions this issue: internal/gocommand: tweak debugging for hanging go commands

gopherbot pushed a commit to golang/tools that referenced this issue Sep 15, 2022
Add a TODO and wait for a shorter period of time following Kill, per
post-submit advice from bcmills on CL 424075.

For golang/go#54461

Change-Id: Ia0e388c0119660844dad32629ebca4f122fded12
Reviewed-on: https://go-review.googlesource.com/c/tools/+/431075
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
@findleyr
Copy link
Member Author

@adonovan
Copy link
Member

Nice. Well, that test process seems very much alive, falsifying my hypothesis.

@findleyr
Copy link
Member Author

13032 12910 (compile)
 9802 13032 go list -modfile=/tmp/workdir/tmp/go.8f5d4cc245da9790bda529e64ae3e7

Looks like the hanging go command is in the middle of a compile. Wish we had the full subprocesss command line -- I'll look into that.

Not sure how to interpret the fstat output.

@adonovan
Copy link
Member

That's a dead cmd/compile process: there's no command because argv has been destroyed along with the rest of the address space. Perhaps the go list parent simply hasn't called waitpid yet, so the process table entry has to be retained. I suspect the problem is in go list.

@findleyr
Copy link
Member Author

Aha, thanks (excuse my ps noobness).

Note that we instrumented this panic in two places: once before Kill() and once after. This is before, so I don't think it falsifies your hypothesis, if I'm understanding correctly.

@bcmills
Copy link
Contributor

bcmills commented Sep 16, 2022

That one is netbsd, which could plausibly be explained as #50138. (I'd rather we wait for one of these on a platform without a known issue for Wait before we do too much digging.)

@findleyr
Copy link
Member Author

greplogs --dashboard -md -l -e 'HANGING GO' --since=2022-09-15

2022-09-17T02:56:51-4d18923-cc1b20e/netbsd-amd64-9_0
2022-09-16T17:59:31-a61f20e-a84f46a/netbsd-amd64-9_0
2022-09-16T16:33:11-a61f20e-8451529/netbsd-386-9_0
2022-09-16T14:49:13-a61f20e-b35b4a3/netbsd-amd64-9_0

Still only netbsd. Posting the greplogs query here for future reference.

@bcmills
Copy link
Contributor

bcmills commented Sep 21, 2022

Ooh, nice! https://go.dev/issue/55323#issuecomment-1254107802 has a darwin/arm64 hang. 😃

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-08-29 16:17 x_tools-gotip-windows-amd64-race tools@ce02ccd1 go@ffb3e574 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default [ABORT] (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0027303s
		command:C:\b\s\w\ir\x\w\goroot\bin\go.exe list -m -e -json ...
		pid:960

goroutine 737 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc006b2caa8?, 0xc006b2c934?, 0x141fde4a0?}, 0xc000180d80)
	C:/b/s/w/ir/x/w/targetrepo1838056557/internal/gocommand/invoke.go:462 +0x14d
golang.org/x/tools/internal/gocommand.runCmdContext({0x14181e728, 0x142027c80}, 0xc000180d80)
	C:/b/s/w/ir/x/w/targetrepo1838056557/internal/gocommand/invoke.go:395 +0x6eb
...
golang.org/x/tools/internal/imports.newModuleResolver(0xc00039d7a0, 0xc006fc4300)
	C:/b/s/w/ir/x/w/targetrepo1838056557/internal/imports/mod.go:158 +0x1325
golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver(0xc00039d7a0)
	C:/b/s/w/ir/x/w/targetrepo1838056557/internal/imports/fix.go:1022 +0x45c
golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv(0xc006bd0cd0)
	C:/b/s/w/ir/x/w/targetrepo1838056557/gopls/internal/cache/imports.go:233 +0xf6
golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1()
	C:/b/s/w/ir/x/w/targetrepo1838056557/gopls/internal/cache/imports.go:73 +0x75
created by time.goFunc
	C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:215 +0x45
2024-08-29 16:17 x_tools-gotip-windows-amd64-race tools@ce02ccd1 go@ffb3e574 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc/default [ABORT] (log)
=== RUN   TestFuzzFunc/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0026447s
		command:C:\b\s\w\ir\x\w\goroot\bin\go.exe list -mod=readonly -m -f {{.Path}}
	{{.Dir}}
	{{.GoMod}}
	{{.GoVersion}}
	{{range context.ReleaseTags}}{{if eq . "go1.14"}}{{.}}{{end}}{{end}}
	
		pid:10136

...
golang.org/x/tools/internal/imports.newModuleResolver(0xc00055d830, 0xc006a2eba0)
	C:/b/s/w/ir/x/w/targetrepo1838056557/internal/imports/mod.go:123 +0x72c
golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver(0xc00055d830)
	C:/b/s/w/ir/x/w/targetrepo1838056557/internal/imports/fix.go:1022 +0x45c
golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv(0xc006638d20)
	C:/b/s/w/ir/x/w/targetrepo1838056557/gopls/internal/cache/imports.go:233 +0xf6
golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1()
	C:/b/s/w/ir/x/w/targetrepo1838056557/gopls/internal/cache/imports.go:73 +0x75
created by time.goFunc
	C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:215 +0x45
2024-08-29 16:17 x_tools-gotip-windows-amd64-race tools@ce02ccd1 go@ffb3e574 x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer/default [ABORT] (log)
=== RUN   TestTimeFormatAnalyzer/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0034029s
		command:C:\b\s\w\ir\x\w\goroot\bin\go.exe mod tidy -modfile=C:\b\s\w\ir\x\t\gopls-tempmod937247241\go.mod
		pid:7832

goroutine 572 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc006db4ee8?, 0xc007914d74?, 0x142013aa0?}, 0xc0002dac00)
	C:/b/s/w/ir/x/w/targetrepo1838056557/internal/gocommand/invoke.go:462 +0x14d
golang.org/x/tools/internal/gocommand.runCmdContext({0x1418447a8, 0xc00786b590}, 0xc0002dac00)
	C:/b/s/w/ir/x/w/targetrepo1838056557/internal/gocommand/invoke.go:395 +0x6eb
...
golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x1418447e0, 0xc000329d10}, {0x1414836c0, 0xc0002f5680})
	C:/b/s/w/ir/x/w/targetrepo1838056557/gopls/internal/cache/mod_tidy.go:81 +0x65
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/b/s/w/ir/x/w/targetrepo1838056557/internal/memoize/memoize.go:187 +0xda
runtime/trace.WithRegion({0x1418447e0, 0xc000329d10}, {0xc00016d6f8, 0x13}, 0xc0071f5f80)
	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/targetrepo1838056557/internal/memoize/memoize.go:180 +0x1d8
created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 707
	C:/b/s/w/ir/x/w/targetrepo1838056557/internal/memoize/memoize.go:179 +0x331

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-09-04 16:43 x_tools-gotip-openbsd-amd64 tools@94b564cd go@1b4cf43e x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log)
=== RUN   TestRegenerateCgo/default
panic: detected hanging go command (golang/go#54461); waited 1m0.113809908s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-1542214501/TestRegenerateCgo/default/work/... builtin
		pid:63247

goroutine 4289 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0066be8f0?, 0xc0066be78c?, 0x1afcae0?}, 0xc00ba18600)
	/home/swarming/.swarming/w/ir/x/w/targetrepo496671011/internal/gocommand/invoke.go:462 +0xb9
golang.org/x/tools/internal/gocommand.runCmdContext({0x13ce668, 0xc00672a5a0}, 0xc00ba18600)
	/home/swarming/.swarming/w/ir/x/w/targetrepo496671011/internal/gocommand/invoke.go:395 +0x4cb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0066beca0, {0x13ce668, 0xc00672a5a0}, {0x13c46a0, 0xc00672a6f0}, {0x13c46a0, 0xc00672a720})
	/home/swarming/.swarming/w/ir/x/w/targetrepo496671011/internal/gocommand/invoke.go:289 +0xebf
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0066bec68?, {0x13ce668, 0xc00672a5a0}, {0x13c46a0?, 0xc00672a6f0?}, {0x13c46a0, 0xc00672a720})
	/home/swarming/.swarming/w/ir/x/w/targetrepo496671011/internal/gocommand/invoke.go:188 +0x4f
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00a4ad5c0, {0x13ce668, 0xc00672a5a0}, {{0x10c1977, 0x4}, {0xc00a874000, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo496671011/internal/gocommand/invoke.go:125 +0x15f
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00a4ad5c0, {0x13ce710, 0xc007865b90}, {{0x10c1977, 0x4}, {0xc00a874000, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo496671011/internal/gocommand/invoke.go:99 +0x370
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0002ac0f8?, {0x10c1977?, 0x2?}, {0xc00a874000, 0xb, 0x13cd030?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo496671011/go/packages/golist.go:858 +0x1fb
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00a6b2820, {0xc00a4ad5e0, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo496671011/go/packages/golist.go:376 +0xa7
golang.org/x/tools/go/packages.goListDriver(0xc0002ac0f8, {0xc00a4ad500, 0x2, 0xffffffffffffffff?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo496671011/go/packages/golist.go:199 +0x79f
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo496671011/go/packages/packages.go:387 +0x5c
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4770
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x93

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-09-05 17:57 x_tools-gotip-openbsd-amd64 tools@ad366a81 go@634363e3 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log)
=== RUN   TestRegenerateCgo/default
panic: detected hanging go command (golang/go#54461); waited 1m0.404481728s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-3141512865/TestRegenerateCgo/default/work/... builtin
		pid:98664

goroutine 4703 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0005328f0?, 0xc00053278c?, 0x1b02ae0?}, 0xc0089fa480)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2553472942/internal/gocommand/invoke.go:462 +0xb9
golang.org/x/tools/internal/gocommand.runCmdContext({0x13cfb68, 0xc006746ff0}, 0xc0089fa480)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2553472942/internal/gocommand/invoke.go:395 +0x4cb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000532ca0, {0x13cfb68, 0xc006746ff0}, {0x13c5b60, 0xc006747140}, {0x13c5b60, 0xc006747170})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2553472942/internal/gocommand/invoke.go:289 +0xebf
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000532c68?, {0x13cfb68, 0xc006746ff0}, {0x13c5b60?, 0xc006747140?}, {0x13c5b60, 0xc006747170})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2553472942/internal/gocommand/invoke.go:188 +0x4f
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00c2e0ee0, {0x13cfb68, 0xc006746ff0}, {{0x10c2b17, 0x4}, {0xc000378a80, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2553472942/internal/gocommand/invoke.go:125 +0x15f
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00c2e0ee0, {0x13cfc10, 0xc0066f43f0}, {{0x10c2b17, 0x4}, {0xc000378a80, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2553472942/internal/gocommand/invoke.go:99 +0x370
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0083641e8?, {0x10c2b17?, 0x2?}, {0xc000378a80, 0xb, 0x2?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2553472942/go/packages/golist.go:858 +0x1fb
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00a5823c0, {0xc00c2e0f00, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2553472942/go/packages/golist.go:376 +0xa7
golang.org/x/tools/go/packages.goListDriver(0xc0083641e8, {0xc00c2e0e20, 0x2, 0x48a620?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2553472942/go/packages/golist.go:199 +0x79f
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo2553472942/go/packages/packages.go:387 +0x5c
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4700
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x93

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-09-05 21:14 x_tools-gotip-openbsd-amd64 tools@1b5663fb go@123594d3 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log)
=== RUN   TestRegenerateCgo/default
panic: detected hanging go command (golang/go#54461); waited 1m0.331649915s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-1174989483/TestRegenerateCgo/default/work/... builtin
		pid:83329

goroutine 4693 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc00a81a8f0?, 0xc00a81a78c?, 0x1b02ae0?}, 0xc00afc7380)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2423513063/internal/gocommand/invoke.go:462 +0xb9
golang.org/x/tools/internal/gocommand.runCmdContext({0x13cfaa8, 0xc0087ce630}, 0xc00afc7380)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2423513063/internal/gocommand/invoke.go:395 +0x4cb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00a81aca0, {0x13cfaa8, 0xc0087ce630}, {0x13c5aa0, 0xc0087ce7b0}, {0x13c5aa0, 0xc0087ce7e0})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2423513063/internal/gocommand/invoke.go:289 +0xebf
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00a81ac68?, {0x13cfaa8, 0xc0087ce630}, {0x13c5aa0?, 0xc0087ce7b0?}, {0x13c5aa0, 0xc0087ce7e0})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2423513063/internal/gocommand/invoke.go:188 +0x4f
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00694b460, {0x13cfaa8, 0xc0087ce630}, {{0x10c2af7, 0x4}, {0xc006730620, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2423513063/internal/gocommand/invoke.go:125 +0x15f
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00694b460, {0x13cfb50, 0xc0000e88c0}, {{0x10c2af7, 0x4}, {0xc006730620, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2423513063/internal/gocommand/invoke.go:99 +0x370
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc000726008?, {0x10c2af7?, 0x2?}, {0xc006730620, 0xb, 0x13ce470?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2423513063/go/packages/golist.go:858 +0x1fb
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00695e140, {0xc00694b480, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2423513063/go/packages/golist.go:376 +0xa7
golang.org/x/tools/go/packages.goListDriver(0xc000726008, {0xc00694b3a0, 0x2, 0x108544401?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2423513063/go/packages/golist.go:199 +0x79f
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo2423513063/go/packages/packages.go:387 +0x5c
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4560
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x93

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-09-06 19:23 x_tools-gotip-windows-amd64-race tools@075ae7d2 go@464aae70 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default [ABORT] (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default
panic: detected hanging go command (golang/go#54461); waited 1m0.002588s
		command:C:\b\s\w\ir\x\w\goroot\bin\go.exe list -m -e -json ...
		pid:10824

goroutine 772 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc00042eaa8?, 0xc00042e934?, 0x141fe75e0?}, 0xc00779e480)
	C:/b/s/w/ir/x/w/targetrepo1927937290/internal/gocommand/invoke.go:462 +0x14d
golang.org/x/tools/internal/gocommand.runCmdContext({0x141821048, 0x142030dc0}, 0xc00779e480)
	C:/b/s/w/ir/x/w/targetrepo1927937290/internal/gocommand/invoke.go:395 +0x6eb
...
golang.org/x/tools/internal/imports.newModuleResolver(0xc00715f5f0, 0xc006e17038)
	C:/b/s/w/ir/x/w/targetrepo1927937290/internal/imports/mod.go:158 +0x1325
golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver(0xc00715f5f0)
	C:/b/s/w/ir/x/w/targetrepo1927937290/internal/imports/fix.go:1022 +0x45c
golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv(0xc006e1d450)
	C:/b/s/w/ir/x/w/targetrepo1927937290/gopls/internal/cache/imports.go:233 +0xf6
golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1()
	C:/b/s/w/ir/x/w/targetrepo1927937290/gopls/internal/cache/imports.go:73 +0x75
created by time.goFunc
	C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:215 +0x45

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-09-16 20:58 x_tools-gotip-openbsd-amd64 tools@5aac53c5 go@f6c89abf x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log)
=== RUN   TestRegenerateCgo/default
panic: detected hanging go command (golang/go#54461); waited 1m0.16196312s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-2790927018/TestRegenerateCgo/default/work/... builtin
		pid:90

goroutine 4640 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc007fa68f0?, 0xc007fa678c?, 0x1b0f4e0?}, 0xc00b646180)
	/home/swarming/.swarming/w/ir/x/w/targetrepo488625805/internal/gocommand/invoke.go:462 +0xb9
golang.org/x/tools/internal/gocommand.runCmdContext({0x13d71c8, 0xc0075c74d0}, 0xc00b646180)
	/home/swarming/.swarming/w/ir/x/w/targetrepo488625805/internal/gocommand/invoke.go:395 +0x4cb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007fa6ca0, {0x13d71c8, 0xc0075c74d0}, {0x13cd000, 0xc0075c7ef0}, {0x13cd000, 0xc007564000})
	/home/swarming/.swarming/w/ir/x/w/targetrepo488625805/internal/gocommand/invoke.go:289 +0xebf
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc007fa6c68?, {0x13d71c8, 0xc0075c74d0}, {0x13cd000?, 0xc0075c7ef0?}, {0x13cd000, 0xc007564000})
	/home/swarming/.swarming/w/ir/x/w/targetrepo488625805/internal/gocommand/invoke.go:188 +0x4f
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc006eff540, {0x13d71c8, 0xc0075c74d0}, {{0x10c851b, 0x4}, {0xc00b6420e0, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo488625805/internal/gocommand/invoke.go:125 +0x15f
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc006eff540, {0x13d7270, 0xc007726fc0}, {{0x10c851b, 0x4}, {0xc00b6420e0, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo488625805/internal/gocommand/invoke.go:99 +0x370
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0075be0f8?, {0x10c851b?, 0x2?}, {0xc00b6420e0, 0xb, 0x2?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo488625805/go/packages/golist.go:858 +0x1fb
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0065fd180, {0xc006eff560, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo488625805/go/packages/golist.go:376 +0xa7
golang.org/x/tools/go/packages.goListDriver(0xc0075be0f8, {0xc006eff0c0, 0x2, 0xc000504000?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo488625805/go/packages/golist.go:199 +0x79f
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo488625805/go/packages/packages.go:387 +0x5c
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4637
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x93

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-09-16 22:55 x_tools-gotip-windows-amd64-race tools@765ea95f go@41ca2637 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default [ABORT] (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0004278s
		command:C:\b\s\w\ir\x\w\goroot\bin\go.exe mod tidy -modfile=C:\b\s\w\ir\x\t\gopls-tempmod1514672367\go.mod
		pid:8504

goroutine 732 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc00773cee8?, 0xc00773cd74?, 0x141ff8fe0?}, 0xc007711800)
	C:/b/s/w/ir/x/w/targetrepo3237251057/internal/gocommand/invoke.go:462 +0x14d
golang.org/x/tools/internal/gocommand.runCmdContext({0x14182e108, 0xc007724f60}, 0xc007711800)
	C:/b/s/w/ir/x/w/targetrepo3237251057/internal/gocommand/invoke.go:395 +0x6eb
...
golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x14182e140, 0xc00772c0a0}, {0x14146ec40, 0xc006719b00})
	C:/b/s/w/ir/x/w/targetrepo3237251057/gopls/internal/cache/mod_tidy.go:81 +0x65
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/b/s/w/ir/x/w/targetrepo3237251057/internal/memoize/memoize.go:187 +0xda
runtime/trace.WithRegion({0x14182e140, 0xc00772c0a0}, {0xc007561db8, 0x13}, 0xc00000df80)
	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/targetrepo3237251057/internal/memoize/memoize.go:180 +0x1d8
created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 774
	C:/b/s/w/ir/x/w/targetrepo3237251057/internal/memoize/memoize.go:179 +0x331

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-09-17 17:12 x_tools-go1.22-windows-amd64-race tools@a58d83bc release-branch.go1.22@b4086b7c x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=false/default [ABORT] (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_individual_dependency_vendoring=false/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0028477s
		command:C:\b\s\w\ir\x\w\gopath\pkg\mod\golang.org\toolchain@v0.0.1-go1.23.1.windows-amd64\bin\go.exe list -m -e -json ...
		pid:9516

goroutine 1074 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc007cc0a50?, 0xc007cc08dc?, 0x141ffb560?}, 0xc0078cef00)
	C:/b/s/w/ir/x/w/targetrepo1132242549/internal/gocommand/invoke.go:462 +0x14d
golang.org/x/tools/internal/gocommand.runCmdContext({0x141834ec8, 0x142044d20}, 0xc0078cef00)
	C:/b/s/w/ir/x/w/targetrepo1132242549/internal/gocommand/invoke.go:395 +0x6eb
...
golang.org/x/tools/internal/imports.newModuleResolver(0xc008242a20, 0xc00822e7c8)
	C:/b/s/w/ir/x/w/targetrepo1132242549/internal/imports/mod.go:158 +0x138f
golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver(0xc008242a20)
	C:/b/s/w/ir/x/w/targetrepo1132242549/internal/imports/fix.go:1022 +0x47f
golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv(0xc008232370)
	C:/b/s/w/ir/x/w/targetrepo1132242549/gopls/internal/cache/imports.go:233 +0xfa
golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1()
	C:/b/s/w/ir/x/w/targetrepo1132242549/gopls/internal/cache/imports.go:73 +0x7b
created by time.goFunc
	C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.1.windows-amd64/src/time/sleep.go:215 +0x45
2024-09-17 17:12 x_tools-go1.22-windows-amd64-race tools@a58d83bc release-branch.go1.22@b4086b7c x/tools/gopls/internal/test/integration/misc.TestChangeConfiguration/default [ABORT] (log)
=== RUN   TestChangeConfiguration/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0033058s
		command:C:\b\s\w\ir\x\w\gopath\pkg\mod\golang.org\toolchain@v0.0.1-go1.23.1.windows-amd64\bin\go.exe list -mod=readonly -m -f {{.Path}}
	{{.Dir}}
	{{.GoMod}}
	{{.GoVersion}}
	{{range context.ReleaseTags}}{{if eq . "go1.14"}}{{.}}{{end}}{{end}}
	
		pid:8740

...
golang.org/x/tools/internal/imports.newModuleResolver(0xc0076339e0, 0xc007666390)
	C:/b/s/w/ir/x/w/targetrepo1132242549/internal/imports/mod.go:123 +0x74c
golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver(0xc0076339e0)
	C:/b/s/w/ir/x/w/targetrepo1132242549/internal/imports/fix.go:1022 +0x47f
golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv(0xc00767a0a0)
	C:/b/s/w/ir/x/w/targetrepo1132242549/gopls/internal/cache/imports.go:233 +0xfa
golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1()
	C:/b/s/w/ir/x/w/targetrepo1132242549/gopls/internal/cache/imports.go:73 +0x7b
created by time.goFunc
	C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.1.windows-amd64/src/time/sleep.go:215 +0x45
2024-09-17 17:12 x_tools-go1.22-windows-amd64-race tools@a58d83bc release-branch.go1.22@b4086b7c x/tools/gopls/internal/test/integration/modfile.TestModFileModification/basic/nested/default [ABORT] (log)
=== RUN   TestModFileModification/basic/nested/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0033245s
		command:C:\b\s\w\ir\x\w\gopath\pkg\mod\golang.org\toolchain@v0.0.1-go1.23.1.windows-amd64\bin\go.exe 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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- C:\b\s\w\ir\x\t\gopls-test-2871633136\TestModFileModification\basic\nested\default\work\a\... builtin
		pid:9932

goroutine 443 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc00710a3c8?, 0xc00710a254?, 0x1420176e0?}, 0xc000335380)
	C:/b/s/w/ir/x/w/targetrepo1132242549/internal/gocommand/invoke.go:462 +0x14d
golang.org/x/tools/internal/gocommand.runCmdContext({0x141849528, 0xc006fde000}, 0xc000335380)
	C:/b/s/w/ir/x/w/targetrepo1132242549/internal/gocommand/invoke.go:395 +0x6eb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00710a8e0, {0x141849528, 0xc006fde000}, {0x14183edc0, 0xc006fde120}, {0x14183edc0, 0xc006fde150})
	C:/b/s/w/ir/x/w/targetrepo1132242549/internal/gocommand/invoke.go:289 +0x1806
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00710a8e0, {0x141849528, 0xc006fde000}, {0x14183edc0, 0xc006fde120}, {0x14183edc0, 0xc006fde150})
	C:/b/s/w/ir/x/w/targetrepo1132242549/internal/gocommand/invoke.go:188 +0x9c
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0070569a0, {0x141849528, 0xc006fde000}, {{0x1414928f5, 0x4}, {0xc0001c90a0, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo1132242549/internal/gocommand/invoke.go:125 +0x27e
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc0070569a0, {0x1418495d0, 0xc006823880}, {{0x1414928f5, 0x4}, {0xc0001c90a0, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo1132242549/internal/gocommand/invoke.go:99 +0x4b1
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0068288c0, {0x1414928f5, 0x4}, {0xc0001c90a0, 0xb, 0xe})
	C:/b/s/w/ir/x/w/targetrepo1132242549/go/packages/golist.go:858 +0x3eb
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0068288c0, {0xc0070569c0, 0x2, 0x2})
	C:/b/s/w/ir/x/w/targetrepo1132242549/go/packages/golist.go:376 +0xd7
golang.org/x/tools/go/packages.goListDriver(0xc0068782d8, {0xc0070568e0, 0x2, 0xc000091ed8?})
	C:/b/s/w/ir/x/w/targetrepo1132242549/go/packages/golist.go:199 +0xc5f
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	C:/b/s/w/ir/x/w/targetrepo1132242549/go/packages/packages.go:387 +0xa6
golang.org/x/sync/errgroup.(*Group).Go.func1()
	C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x92
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 177
	C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x125

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-09-17 20:36 x_tools-go1.23-openbsd-amd64 tools@03550136 release-branch.go1.23@a74951c5 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log)
=== RUN   TestRegenerateCgo/default
panic: detected hanging go command (golang/go#54461); waited 1m0.291763432s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-1085285145/TestRegenerateCgo/default/work/... builtin
		pid:43683

goroutine 4636 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0003d2918?, 0xc0003d27b4?, 0x1b05b00?}, 0xc009305380)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3047283291/internal/gocommand/invoke.go:462 +0xb9
golang.org/x/tools/internal/gocommand.runCmdContext({0x13dade8, 0xc007dfdb90}, 0xc009305380)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3047283291/internal/gocommand/invoke.go:395 +0x4cb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0003d2ca0, {0x13dade8, 0xc007dfdb90}, {0x13d0d40, 0xc007dfdcb0}, {0x13d0d40, 0xc007dfdce0})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3047283291/internal/gocommand/invoke.go:289 +0x1076
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0003d2c68?, {0x13dade8, 0xc007dfdb90}, {0x13d0d40?, 0xc007dfdcb0?}, {0x13d0d40, 0xc007dfdce0})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3047283291/internal/gocommand/invoke.go:188 +0x4f
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00a978760, {0x13dade8, 0xc007dfdb90}, {{0x10cd5ce, 0x4}, {0xc00b438380, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3047283291/internal/gocommand/invoke.go:125 +0x15f
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00a978760, {0x13dae90, 0xc00b6523f0}, {{0x10cd5ce, 0x4}, {0xc00b438380, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3047283291/internal/gocommand/invoke.go:99 +0x370
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc00bb341e8?, {0x10cd5ce?, 0x2?}, {0xc00b438380, 0xb, 0xc00658eb10?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3047283291/go/packages/golist.go:858 +0x1fb
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00a46c140, {0xc00a978780, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3047283291/go/packages/golist.go:376 +0xa7
golang.org/x/tools/go/packages.goListDriver(0xc00bb341e8, {0xc00a9786a0, 0x2, 0x40a257?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3047283291/go/packages/golist.go:199 +0x79f
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo3047283291/go/packages/packages.go:387 +0x5c
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4698
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x96

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-09-19 15:56 x_tools-gotip-windows-amd64-race tools@45851d3d go@165bf241 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default [ABORT] (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0042723s
		command:C:\b\s\w\ir\x\w\goroot\bin\go.exe list -m -e -json ...
		pid:1424

goroutine 737 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc006e4caa8?, 0xc006e4c934?, 0x141ff2fe0?}, 0xc0066b9200)
	C:/b/s/w/ir/x/w/targetrepo914437703/internal/gocommand/invoke.go:462 +0x14d
golang.org/x/tools/internal/gocommand.runCmdContext({0x141828b88, 0x14203c7c0}, 0xc0066b9200)
	C:/b/s/w/ir/x/w/targetrepo914437703/internal/gocommand/invoke.go:395 +0x6eb
...
golang.org/x/tools/internal/imports.newModuleResolver(0xc007030630, 0xc006af32d8)
	C:/b/s/w/ir/x/w/targetrepo914437703/internal/imports/mod.go:158 +0x1325
golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver(0xc007030630)
	C:/b/s/w/ir/x/w/targetrepo914437703/internal/imports/fix.go:1022 +0x45c
golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv(0xc0065fb4a0)
	C:/b/s/w/ir/x/w/targetrepo914437703/gopls/internal/cache/imports.go:233 +0xf6
golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1()
	C:/b/s/w/ir/x/w/targetrepo914437703/gopls/internal/cache/imports.go:73 +0x75
created by time.goFunc
	C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:215 +0x45
2024-09-19 15:56 x_tools-gotip-windows-amd64-race tools@45851d3d go@165bf241 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc/default [ABORT] (log)
=== RUN   TestFuzzFunc/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0048462s
		command:C:\b\s\w\ir\x\w\goroot\bin\go.exe mod tidy -modfile=C:\b\s\w\ir\x\t\gopls-tempmod3788370898\go.mod
		pid:7756

goroutine 1106 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc00877cee8?, 0xc00877cd74?, 0x14203f280?}, 0xc008880000)
	C:/b/s/w/ir/x/w/targetrepo914437703/internal/gocommand/invoke.go:462 +0x14d
golang.org/x/tools/internal/gocommand.runCmdContext({0x141864d48, 0xc008741e00}, 0xc008880000)
	C:/b/s/w/ir/x/w/targetrepo914437703/internal/gocommand/invoke.go:395 +0x6eb
...
golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x141864d80, 0xc008150af0}, {0x14149ddc0, 0xc006c966c0})
	C:/b/s/w/ir/x/w/targetrepo914437703/gopls/internal/cache/mod_tidy.go:81 +0x65
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/b/s/w/ir/x/w/targetrepo914437703/internal/memoize/memoize.go:187 +0xda
runtime/trace.WithRegion({0x141864d80, 0xc008150af0}, {0xc0081340c0, 0x13}, 0xc0074bbf80)
	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/targetrepo914437703/internal/memoize/memoize.go:180 +0x1d8
created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 827
	C:/b/s/w/ir/x/w/targetrepo914437703/internal/memoize/memoize.go:179 +0x331
2024-09-19 15:56 x_tools-gotip-windows-amd64-race tools@45851d3d go@165bf241 x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer/default [ABORT] (log)
=== RUN   TestTimeFormatAnalyzer/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0041329s
		command:C:\b\s\w\ir\x\w\goroot\bin\go.exe list -mod=readonly -m -f {{.Path}}
	{{.Dir}}
	{{.GoMod}}
	{{.GoVersion}}
	{{range context.ReleaseTags}}{{if eq . "go1.14"}}{{.}}{{end}}{{end}}
	
		pid:2272

...
golang.org/x/tools/internal/imports.newModuleResolver(0xc00028b200, 0xc00036e1e0)
	C:/b/s/w/ir/x/w/targetrepo914437703/internal/imports/mod.go:123 +0x72c
golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver(0xc00028b200)
	C:/b/s/w/ir/x/w/targetrepo914437703/internal/imports/fix.go:1022 +0x45c
golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv(0xc0002b00f0)
	C:/b/s/w/ir/x/w/targetrepo914437703/gopls/internal/cache/imports.go:233 +0xf6
golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1()
	C:/b/s/w/ir/x/w/targetrepo914437703/gopls/internal/cache/imports.go:73 +0x75
created by time.goFunc
	C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:215 +0x45

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-09-20 18:36 x_tools-go1.23-windows-amd64-race tools@6a0cacbf release-branch.go1.23@c8c6f9ab x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_direct_dependencies/default [ABORT] (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_direct_dependencies/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0026444s
		command:C:\b\s\w\ir\x\w\goroot\bin\go.exe 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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- C:\b\s\w\ir\x\t\gopls-test-3512365559\TestUpgradeCodelens_Workspace\Upgrade_direct_dependencies\default\work\a\... C:\b\s\w\ir\x\t\gopls-test-3512365559\TestUpgradeCodelens_Workspace\Upgrade_direct_dependencies\default\work\b\... builtin
		pid:1244

goroutine 718 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc00766a3c8?, 0xc00766a254?, 0x141fe8580?}, 0xc0076bd500)
	C:/b/s/w/ir/x/w/targetrepo3732011427/internal/gocommand/invoke.go:462 +0x14d
golang.org/x/tools/internal/gocommand.runCmdContext({0x14182e728, 0xc0076e7e30}, 0xc0076bd500)
	C:/b/s/w/ir/x/w/targetrepo3732011427/internal/gocommand/invoke.go:395 +0x6eb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00766a8e0, {0x14182e728, 0xc0076e7e30}, {0x141823fc0, 0xc0076e7f50}, {0x141823fc0, 0xc007a92000})
	C:/b/s/w/ir/x/w/targetrepo3732011427/internal/gocommand/invoke.go:289 +0x1806
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00766a8e0, {0x14182e728, 0xc0076e7e30}, {0x141823fc0, 0xc0076e7f50}, {0x141823fc0, 0xc007a92000})
	C:/b/s/w/ir/x/w/targetrepo3732011427/internal/gocommand/invoke.go:188 +0x9c
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00761b140, {0x14182e728, 0xc0076e7e30}, {{0x14147ac12, 0x4}, {0xc00049bce0, 0xc, 0xe}, {0x0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo3732011427/internal/gocommand/invoke.go:125 +0x27e
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00761b140, {0x14182e7d0, 0xc006fb3570}, {{0x14147ac12, 0x4}, {0xc00049bce0, 0xc, 0xe}, {0x0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo3732011427/internal/gocommand/invoke.go:99 +0x4b1
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc000543400, {0x14147ac12, 0x4}, {0xc00049bce0, 0xc, 0xe})
	C:/b/s/w/ir/x/w/targetrepo3732011427/go/packages/golist.go:858 +0x3eb
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc000543400, {0xc0076563c0, 0x3, 0x3})
	C:/b/s/w/ir/x/w/targetrepo3732011427/go/packages/golist.go:376 +0xd7
golang.org/x/tools/go/packages.goListDriver(0xc000154878, {0xc00764f100, 0x3, 0xc006b0bed8?})
	C:/b/s/w/ir/x/w/targetrepo3732011427/go/packages/golist.go:199 +0xc5f
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	C:/b/s/w/ir/x/w/targetrepo3732011427/go/packages/packages.go:387 +0xa6
golang.org/x/sync/errgroup.(*Group).Go.func1()
	C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x92
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 724
	C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x125
2024-09-20 18:36 x_tools-go1.23-windows-amd64-race tools@6a0cacbf release-branch.go1.23@c8c6f9ab x/tools/gopls/internal/test/integration/inlayhints.TestEnablingInlayHints/enable_const/default [ABORT] (log)
=== RUN   TestEnablingInlayHints/enable_const/default
panic: detected hanging go command (golang/go#54461); waited 1m0.002728s
		command:C:\b\s\w\ir\x\w\goroot\bin\go.exe 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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- C:\b\s\w\ir\x\t\gopls-test-2055249713\TestEnablingInlayHints\enable_const\default\work\... builtin
		pid:9852

goroutine 452 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc006e963c8?, 0xc006e96254?, 0x141fd74e0?}, 0xc006a52300)
	C:/b/s/w/ir/x/w/targetrepo3732011427/internal/gocommand/invoke.go:462 +0x14d
golang.org/x/tools/internal/gocommand.runCmdContext({0x141821fc8, 0xc006a7f800}, 0xc006a52300)
	C:/b/s/w/ir/x/w/targetrepo3732011427/internal/gocommand/invoke.go:395 +0x6eb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006e968e0, {0x141821fc8, 0xc006a7f800}, {0x141817820, 0xc006a7f920}, {0x141817820, 0xc006a7f950})
	C:/b/s/w/ir/x/w/targetrepo3732011427/internal/gocommand/invoke.go:289 +0x1806
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc006e968e0, {0x141821fc8, 0xc006a7f800}, {0x141817820, 0xc006a7f920}, {0x141817820, 0xc006a7f950})
	C:/b/s/w/ir/x/w/targetrepo3732011427/internal/gocommand/invoke.go:188 +0x9c
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00056f9a0, {0x141821fc8, 0xc006a7f800}, {{0x14146fdba, 0x4}, {0xc006a20700, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo3732011427/internal/gocommand/invoke.go:125 +0x27e
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00056f9a0, {0x141822070, 0xc0003d28c0}, {{0x14146fdba, 0x4}, {0xc006a20700, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo3732011427/internal/gocommand/invoke.go:99 +0x4b1
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc000719040, {0x14146fdba, 0x4}, {0xc006a20700, 0xb, 0xe})
	C:/b/s/w/ir/x/w/targetrepo3732011427/go/packages/golist.go:858 +0x3eb
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc000719040, {0xc00056f9c0, 0x2, 0x2})
	C:/b/s/w/ir/x/w/targetrepo3732011427/go/packages/golist.go:376 +0xd7
golang.org/x/tools/go/packages.goListDriver(0xc0004a2ff8, {0xc00056f8e0, 0x2, 0xc000295ed8?})
	C:/b/s/w/ir/x/w/targetrepo3732011427/go/packages/golist.go:199 +0xc5f
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	C:/b/s/w/ir/x/w/targetrepo3732011427/go/packages/packages.go:387 +0xa6
golang.org/x/sync/errgroup.(*Group).Go.func1()
	C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x92
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 411
	C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x125

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-09-22 20:55 x_tools-go1.22-openbsd-amd64 tools@01bd772b release-branch.go1.22@b4086b7c x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log)
=== RUN   TestRegenerateCgo/default
panic: detected hanging go command (golang/go#54461); waited 1m0.066551311s
		command:/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.1.openbsd-amd64/bin/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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-4071812286/TestRegenerateCgo/default/work/... builtin
		pid:47862

goroutine 4879 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc00b526938?, 0xc00b5267d4?, 0x1b0fa80?}, 0xc006c5e180)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3532030777/internal/gocommand/invoke.go:458 +0xb9
golang.org/x/tools/internal/gocommand.runCmdContext({0x13d6de8, 0xc0071225d0}, 0xc006c5e180)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3532030777/internal/gocommand/invoke.go:391 +0x4cb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00b526ca0, {0x13d6de8, 0xc0071225d0}, {0x13ccd80, 0xc0071226f0}, {0x13ccd80, 0xc007122720})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3532030777/internal/gocommand/invoke.go:285 +0xf16
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00b526c68?, {0x13d6de8, 0xc0071225d0}, {0x13ccd80?, 0xc0071226f0?}, {0x13ccd80, 0xc007122720})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3532030777/internal/gocommand/invoke.go:187 +0x4f
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc006eeed40, {0x13d6de8, 0xc0071225d0}, {{0x10c950e, 0x4}, {0xc007422000, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3532030777/internal/gocommand/invoke.go:124 +0x15f
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc006eeed40, {0x13d6e90, 0xc009bb3ce0}, {{0x10c950e, 0x4}, {0xc007422000, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3532030777/internal/gocommand/invoke.go:98 +0x370
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc00c00a0f8?, {0x10c950e?, 0x2?}, {0xc007422000, 0xb, 0x2?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3532030777/go/packages/golist.go:858 +0x1fb
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0002f9ae0, {0xc006eeed60, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3532030777/go/packages/golist.go:376 +0xa7
golang.org/x/tools/go/packages.goListDriver(0xc00c00a0f8, {0xc006eeec80, 0x2, 0xffffffffffffffff?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3532030777/go/packages/golist.go:199 +0x79f
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo3532030777/go/packages/packages.go:387 +0x5c
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4876
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x96
2024-09-23 18:23 x_tools-gotip-windows-amd64-race tools@fadcea54 go@a92c80eb x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default [ABORT] (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0033238s
		command:C:\b\s\w\ir\x\w\goroot\bin\go.exe list -overlay=C:\b\s\w\ir\x\t\gocommand-3953987037\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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- C:\b\s\w\ir\x\t\gopls-test-3644702715\TestUpgradeCodelens_Workspace\Upgrade_transitive_dependencies\default\work\a\... C:\b\s\w\ir\x\t\gopls-test-3644702715\TestUpgradeCodelens_Workspace\Upgrade_transitive_dependencies\default\work\b\... builtin
		pid:1788

goroutine 740 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0074ce428?, 0xc0074ce2b4?, 0x141ffb1c0?}, 0xc006597080)
	C:/b/s/w/ir/x/w/targetrepo332942438/internal/gocommand/invoke.go:458 +0x14d
golang.org/x/tools/internal/gocommand.runCmdContext({0x14182d288, 0xc00744e0f0}, 0xc006597080)
	C:/b/s/w/ir/x/w/targetrepo332942438/internal/gocommand/invoke.go:391 +0x6eb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0074ce8e0, {0x14182d288, 0xc00744e0f0}, {0x141822740, 0xc00744e210}, {0x141822740, 0xc00744e240})
	C:/b/s/w/ir/x/w/targetrepo332942438/internal/gocommand/invoke.go:285 +0x1505
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0074ce8e0, {0x14182d288, 0xc00744e0f0}, {0x141822740, 0xc00744e210}, {0x141822740, 0xc00744e240})
	C:/b/s/w/ir/x/w/targetrepo332942438/internal/gocommand/invoke.go:187 +0x9c
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc007331ba0, {0x14182d288, 0xc00744e0f0}, {{0x141472afe, 0x4}, {0xc0005d4c40, 0xc, 0xe}, {0x0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo332942438/internal/gocommand/invoke.go:124 +0x27e
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc007331ba0, {0x14182d330, 0xc007376d20}, {{0x141472afe, 0x4}, {0xc0005d4c40, 0xc, 0xe}, {0x0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo332942438/internal/gocommand/invoke.go:98 +0x4b0
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0066b8a00, {0x141472afe, 0x4}, {0xc0005d4c40, 0xc, 0xe})
	C:/b/s/w/ir/x/w/targetrepo332942438/go/packages/golist.go:858 +0x3e5
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0066b8a00, {0xc0074abc50, 0x3, 0x3})
	C:/b/s/w/ir/x/w/targetrepo332942438/go/packages/golist.go:376 +0xd7
golang.org/x/tools/go/packages.goListDriver(0xc0071261e8, {0xc007263dc0, 0x3, 0x0?})
	C:/b/s/w/ir/x/w/targetrepo332942438/go/packages/golist.go:199 +0xc06
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	C:/b/s/w/ir/x/w/targetrepo332942438/go/packages/packages.go:387 +0xa6
golang.org/x/sync/errgroup.(*Group).Go.func1()
	C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x92
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 657
	C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x125
2024-09-23 18:23 x_tools-gotip-windows-amd64-race tools@fadcea54 go@a92c80eb x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer/default [ABORT] (log)
=== RUN   TestTimeFormatAnalyzer/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0039478s
		command:C:\b\s\w\ir\x\w\goroot\bin\go.exe mod tidy -modfile=C:\b\s\w\ir\x\t\gopls-tempmod3228738116\go.mod
		pid:8688

goroutine 2435 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc00aeacf00?, 0xc00ad64d8c?, 0x14202f7e0?}, 0xc00ad44000)
	C:/b/s/w/ir/x/w/targetrepo332942438/internal/gocommand/invoke.go:458 +0x14d
golang.org/x/tools/internal/gocommand.runCmdContext({0x141852308, 0xc00ad10720}, 0xc00ad44000)
	C:/b/s/w/ir/x/w/targetrepo332942438/internal/gocommand/invoke.go:391 +0x6eb
...
golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x141852340, 0xc009493590}, {0x14148de80, 0xc008262ea0})
	C:/b/s/w/ir/x/w/targetrepo332942438/gopls/internal/cache/mod_tidy.go:81 +0x65
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	C:/b/s/w/ir/x/w/targetrepo332942438/internal/memoize/memoize.go:187 +0xda
runtime/trace.WithRegion({0x141852340, 0xc009493590}, {0xc0072c9308, 0x13}, 0xc0090eff80)
	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/targetrepo332942438/internal/memoize/memoize.go:180 +0x1d8
created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 2434
	C:/b/s/w/ir/x/w/targetrepo332942438/internal/memoize/memoize.go:179 +0x331
2024-09-23 19:39 x_tools-gotip-openbsd-amd64 tools@31fdc78e go@b17a55d0 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log)
=== RUN   TestRegenerateCgo/default
panic: detected hanging go command (golang/go#54461); waited 1m0.110310123s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-3048436267/TestRegenerateCgo/default/work/... builtin
		pid:86971

goroutine 4016 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc008cce910?, 0xc008cce7ac?, 0x1b0f7a0?}, 0xc0001c4600)
	/home/swarming/.swarming/w/ir/x/w/targetrepo515387823/internal/gocommand/invoke.go:458 +0xb9
golang.org/x/tools/internal/gocommand.runCmdContext({0x13d44c8, 0xc0089ae0c0}, 0xc0001c4600)
	/home/swarming/.swarming/w/ir/x/w/targetrepo515387823/internal/gocommand/invoke.go:391 +0x4cb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc008cceca0, {0x13d44c8, 0xc0089ae0c0}, {0x13ca2c0, 0xc0089ae1e0}, {0x13ca2c0, 0xc0089ae210})
	/home/swarming/.swarming/w/ir/x/w/targetrepo515387823/internal/gocommand/invoke.go:285 +0xdfd
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc008ccec68?, {0x13d44c8, 0xc0089ae0c0}, {0x13ca2c0?, 0xc0089ae1e0?}, {0x13ca2c0, 0xc0089ae210})
	/home/swarming/.swarming/w/ir/x/w/targetrepo515387823/internal/gocommand/invoke.go:187 +0x4f
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00722b2a0, {0x13d44c8, 0xc0089ae0c0}, {{0x10c549b, 0x4}, {0xc00b3a00e0, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo515387823/internal/gocommand/invoke.go:124 +0x15f
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00722b2a0, {0x13d4570, 0xc0098fa1c0}, {{0x10c549b, 0x4}, {0xc00b3a00e0, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo515387823/internal/gocommand/invoke.go:98 +0x370
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0005211d8?, {0x10c549b?, 0x2?}, {0xc00b3a00e0, 0xb, 0x13d2e90?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo515387823/go/packages/golist.go:858 +0x1fb
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0072f0140, {0xc00722b2c0, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo515387823/go/packages/golist.go:376 +0xa7
golang.org/x/tools/go/packages.goListDriver(0xc0005211d8, {0xc00722b1e0, 0x2, 0xc007a3d160?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo515387823/go/packages/golist.go:199 +0x79f
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo515387823/go/packages/packages.go:387 +0x5c
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4013
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x93
2024-09-26 14:44 x_tools-go1.22-openbsd-amd64 tools@7bb384dc release-branch.go1.22@b4086b7c x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log)
=== RUN   TestRegenerateCgo/default
panic: detected hanging go command (golang/go#54461); waited 1m0.407860904s
		command:/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.1.openbsd-amd64/bin/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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-3379487233/TestRegenerateCgo/default/work/... builtin
		pid:14217

goroutine 4681 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc009202938?, 0xc0092027d4?, 0x1b12ce0?}, 0xc00018cc00)
	/home/swarming/.swarming/w/ir/x/w/targetrepo510582802/internal/gocommand/invoke.go:458 +0xb9
golang.org/x/tools/internal/gocommand.runCmdContext({0x13d7928, 0xc008924e40}, 0xc00018cc00)
	/home/swarming/.swarming/w/ir/x/w/targetrepo510582802/internal/gocommand/invoke.go:391 +0x4cb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc009202ca0, {0x13d7928, 0xc008924e40}, {0x13cd800, 0xc008924f60}, {0x13cd800, 0xc008924f90})
	/home/swarming/.swarming/w/ir/x/w/targetrepo510582802/internal/gocommand/invoke.go:285 +0xf16
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc009202c68?, {0x13d7928, 0xc008924e40}, {0x13cd800?, 0xc008924f60?}, {0x13cd800, 0xc008924f90})
	/home/swarming/.swarming/w/ir/x/w/targetrepo510582802/internal/gocommand/invoke.go:187 +0x4f
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00744b880, {0x13d7928, 0xc008924e40}, {{0x10c9f71, 0x4}, {0xc0000eb5e0, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo510582802/internal/gocommand/invoke.go:124 +0x15f
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00744b880, {0x13d79d0, 0xc000141d50}, {{0x10c9f71, 0x4}, {0xc0000eb5e0, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo510582802/internal/gocommand/invoke.go:98 +0x370
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc00ba3a1e8?, {0x10c9f71?, 0x2?}, {0xc0000eb5e0, 0xb, 0x0?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo510582802/go/packages/golist.go:858 +0x1fb
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00c0403c0, {0xc00744b8a0, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo510582802/go/packages/golist.go:376 +0xa7
golang.org/x/tools/go/packages.goListDriver(0xc00ba3a1e8, {0xc00744b7c0, 0x2, 0xffffffffffffffff?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo510582802/go/packages/golist.go:199 +0x79f
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo510582802/go/packages/packages.go:399 +0x5c
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4835
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x96
2024-09-27 14:44 x_tools-gotip-openbsd-amd64 tools@ab643763 go@6a730e1e x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log)
=== RUN   TestRegenerateCgo/default
panic: detected hanging go command (golang/go#54461); waited 1m0.335786086s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-3638067275/TestRegenerateCgo/default/work/... builtin
		pid:37013

goroutine 4646 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0004c4910?, 0xc0004c47ac?, 0x1b16760?}, 0xc008906300)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2490241403/internal/gocommand/invoke.go:458 +0xb9
golang.org/x/tools/internal/gocommand.runCmdContext({0x13d9328, 0xc008b84570}, 0xc008906300)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2490241403/internal/gocommand/invoke.go:391 +0x4cb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0004c4ca0, {0x13d9328, 0xc008b84570}, {0x13cf0a0, 0xc008b84690}, {0x13cf0a0, 0xc008b846c0})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2490241403/internal/gocommand/invoke.go:285 +0xdfd
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0004c4c68?, {0x13d9328, 0xc008b84570}, {0x13cf0a0?, 0xc008b84690?}, {0x13cf0a0, 0xc008b846c0})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2490241403/internal/gocommand/invoke.go:187 +0x4f
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc006ba51a0, {0x13d9328, 0xc008b84570}, {{0x10c9c0e, 0x4}, {0xc00031a700, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2490241403/internal/gocommand/invoke.go:124 +0x15f
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc006ba51a0, {0x13d93d0, 0xc00873a230}, {{0x10c9c0e, 0x4}, {0xc00031a700, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2490241403/internal/gocommand/invoke.go:98 +0x370
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0001e1a48?, {0x10c9c0e?, 0x2?}, {0xc00031a700, 0xb, 0x0?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2490241403/go/packages/golist.go:858 +0x1fb
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc008880000, {0xc006ba51c0, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2490241403/go/packages/golist.go:376 +0xa7
golang.org/x/tools/go/packages.goListDriver(0xc0001e1a48, {0xc006ba50e0, 0x2, 0xc0064f9410?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2490241403/go/packages/golist.go:199 +0x79f
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo2490241403/go/packages/packages.go:398 +0x5c
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4681
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x93

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-09-27 22:10 x_tools-gotip-windows-amd64-race tools@66afc1a4 go@846fc634 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default [ABORT] (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default
    codelens_test.go:191: waiting on:
        Unmet: once "All of:\ncompleted work \"diagnosing opened files\" at least 2 time(s)\ncompleted work \"diagnosing changed files\" at least 1 time(s)\ncompleted work \"diagnosing files changed on disk\" at least 1 time(s)" is met, must have:
        
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/09/30 10:55:41 Created View (#3)\n\tdirectory...
...
panic: detected hanging go command (golang/go#54461); waited 1m0.0025035s
		command:C:\b\s\w\ir\x\w\goroot\bin\go.exe list -m -e -json ...
		pid:7272

goroutine 713 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc007306ac0?, 0xc00730694c?, 0x142001260?}, 0xc0066f4c00)
	C:/b/s/w/ir/x/w/targetrepo420349310/internal/gocommand/invoke.go:458 +0x14d
golang.org/x/tools/internal/gocommand.runCmdContext({0x141831648, 0x14204aa40}, 0xc0066f4c00)
	C:/b/s/w/ir/x/w/targetrepo420349310/internal/gocommand/invoke.go:391 +0x6eb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007306f78, {0x141831648, 0x14204aa40}, {0x1418269a0, 0xc00781c8d0}, {0x1418269a0, 0xc00781c900})
...
golang.org/x/tools/internal/imports.newModuleResolver(0xc0070d6f30, 0xc006d79f38)
	C:/b/s/w/ir/x/w/targetrepo420349310/internal/imports/mod.go:158 +0x1325
golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver(0xc0070d6f30)
	C:/b/s/w/ir/x/w/targetrepo420349310/internal/imports/fix.go:1022 +0x45c
golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv(0xc006d4d360)
	C:/b/s/w/ir/x/w/targetrepo420349310/gopls/internal/cache/imports.go:233 +0xf6
golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1()
	C:/b/s/w/ir/x/w/targetrepo420349310/gopls/internal/cache/imports.go:73 +0x75
created by time.goFunc
	C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:215 +0x45
2024-09-27 22:10 x_tools-gotip-windows-amd64-race tools@66afc1a4 go@846fc634 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc/default [ABORT] (log)
=== RUN   TestFuzzFunc/default
    completion18_test.go:108: waiting on:
        Unmet: completed work "diagnosing opened files" at least 1 time(s)
        
        err:context deadline exceeded
        
        state:
        #### log messages (see RPC logs for full text):
        	Info: "2024/09/30 10:55:41 Created View (#2)\n\tdirectory...
        	Info: "2024/09/30 10:55:42 go/packages.Load #2\n\tview_id...
...
panic: detected hanging go command (golang/go#54461); waited 1m0.0021332s
		command:C:\b\s\w\ir\x\w\goroot\bin\go.exe list -mod=readonly -m -f {{.Path}}
	{{.Dir}}
	{{.GoMod}}
	{{.GoVersion}}
	{{range context.ReleaseTags}}{{if eq . "go1.14"}}{{.}}{{end}}{{end}}
	
		pid:7664

goroutine 3452 [running]:
...
golang.org/x/tools/internal/imports.newModuleResolver(0xc006c71200, 0xc006c6a708)
	C:/b/s/w/ir/x/w/targetrepo420349310/internal/imports/mod.go:123 +0x72c
golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver(0xc006c71200)
	C:/b/s/w/ir/x/w/targetrepo420349310/internal/imports/fix.go:1022 +0x45c
golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv(0xc006c880f0)
	C:/b/s/w/ir/x/w/targetrepo420349310/gopls/internal/cache/imports.go:233 +0xf6
golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1()
	C:/b/s/w/ir/x/w/targetrepo420349310/gopls/internal/cache/imports.go:73 +0x75
created by time.goFunc
	C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:215 +0x45

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-10-01 18:18 x_tools-go1.23-windows-amd64-race tools@4e80b325 release-branch.go1.23@ed07b321 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc/default [ABORT] (log)
=== RUN   TestFuzzFunc/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0025648s
		command:C:\b\s\w\ir\x\w\goroot\bin\go.exe list -mod=readonly -m -f {{.Path}}
	{{.Dir}}
	{{.GoMod}}
	{{.GoVersion}}
	{{range context.ReleaseTags}}{{if eq . "go1.14"}}{{.}}{{end}}{{end}}
	
		pid:7580

...
golang.org/x/tools/internal/imports.newModuleResolver(0xc006631170, 0xc000494cd8)
	C:/b/s/w/ir/x/w/targetrepo2766843430/internal/imports/mod.go:123 +0x74c
golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver(0xc006631170)
	C:/b/s/w/ir/x/w/targetrepo2766843430/internal/imports/fix.go:1022 +0x47f
golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv(0xc00661e460)
	C:/b/s/w/ir/x/w/targetrepo2766843430/gopls/internal/cache/imports.go:233 +0xfa
golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1()
	C:/b/s/w/ir/x/w/targetrepo2766843430/gopls/internal/cache/imports.go:73 +0x7b
created by time.goFunc
	C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:215 +0x45
2024-10-01 18:18 x_tools-go1.23-windows-amd64-race tools@4e80b325 release-branch.go1.23@ed07b321 x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer/default [ABORT] (log)
=== RUN   TestTimeFormatAnalyzer/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0025075s
		command:C:\b\s\w\ir\x\w\goroot\bin\go.exe list -mod=readonly -m -f {{.Path}}
	{{.Dir}}
	{{.GoMod}}
	{{.GoVersion}}
	{{range context.ReleaseTags}}{{if eq . "go1.14"}}{{.}}{{end}}{{end}}
	
		pid:13392

...
golang.org/x/tools/internal/imports.newModuleResolver(0xc0004cc900, 0xc00039a888)
	C:/b/s/w/ir/x/w/targetrepo2766843430/internal/imports/mod.go:123 +0x74c
golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver(0xc0004cc900)
	C:/b/s/w/ir/x/w/targetrepo2766843430/internal/imports/fix.go:1022 +0x47f
golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv(0xc00032d270)
	C:/b/s/w/ir/x/w/targetrepo2766843430/gopls/internal/cache/imports.go:233 +0xfa
golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1()
	C:/b/s/w/ir/x/w/targetrepo2766843430/gopls/internal/cache/imports.go:73 +0x7b
created by time.goFunc
	C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:215 +0x45
2024-10-01 18:18 x_tools-go1.23-windows-amd64-race tools@4e80b325 release-branch.go1.23@ed07b321 x/tools/gopls/internal/test/integration/inlayhints.TestEnablingInlayHints/enable_const/default [ABORT] (log)
=== RUN   TestEnablingInlayHints/enable_const/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0025491s
		command:C:\b\s\w\ir\x\w\goroot\bin\go.exe list -mod=readonly -m -f {{.Path}}
	{{.Dir}}
	{{.GoMod}}
	{{.GoVersion}}
	{{range context.ReleaseTags}}{{if eq . "go1.14"}}{{.}}{{end}}{{end}}
	
		pid:8836

...
golang.org/x/tools/internal/imports.newModuleResolver(0xc006a858c0, 0xc00691cbb8)
	C:/b/s/w/ir/x/w/targetrepo2766843430/internal/imports/mod.go:123 +0x74c
golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver(0xc006a858c0)
	C:/b/s/w/ir/x/w/targetrepo2766843430/internal/imports/fix.go:1022 +0x47f
golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv(0xc006a942d0)
	C:/b/s/w/ir/x/w/targetrepo2766843430/gopls/internal/cache/imports.go:233 +0xfa
golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1()
	C:/b/s/w/ir/x/w/targetrepo2766843430/gopls/internal/cache/imports.go:73 +0x7b
created by time.goFunc
	C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:215 +0x45

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-10-01 18:18 x_tools-go1.22-openbsd-amd64 tools@4e80b325 release-branch.go1.22@aeccd613 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log)
=== RUN   TestRegenerateCgo/default
panic: detected hanging go command (golang/go#54461); waited 1m0.238140766s
		command:/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.1.openbsd-amd64/bin/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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-4038358507/TestRegenerateCgo/default/work/... builtin
		pid:58964

goroutine 4722 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc006aa4938?, 0xc006aa47d4?, 0x1b13ce0?}, 0xc0091ea600)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3569645646/internal/gocommand/invoke.go:458 +0xb9
golang.org/x/tools/internal/gocommand.runCmdContext({0x13d8b28, 0xc0082c76e0}, 0xc0091ea600)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3569645646/internal/gocommand/invoke.go:391 +0x4cb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006aa4ca0, {0x13d8b28, 0xc0082c76e0}, {0x13cea00, 0xc0082c7800}, {0x13cea00, 0xc0082c7830})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3569645646/internal/gocommand/invoke.go:285 +0xf16
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc006aa4c68?, {0x13d8b28, 0xc0082c76e0}, {0x13cea00?, 0xc0082c7800?}, {0x13cea00, 0xc0082c7830})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3569645646/internal/gocommand/invoke.go:187 +0x4f
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc006e6ea00, {0x13d8b28, 0xc0082c76e0}, {{0x10cb0d1, 0x4}, {0xc00b6267e0, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3569645646/internal/gocommand/invoke.go:124 +0x15f
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc006e6ea00, {0x13d8bd0, 0xc00a537ab0}, {{0x10cb0d1, 0x4}, {0xc00b6267e0, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3569645646/internal/gocommand/invoke.go:98 +0x370
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc00b9c80f8?, {0x10cb0d1?, 0x2?}, {0xc00b6267e0, 0xb, 0x0?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3569645646/go/packages/golist.go:858 +0x1fb
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc008e930e0, {0xc006e6ea20, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3569645646/go/packages/golist.go:376 +0xa7
golang.org/x/tools/go/packages.goListDriver(0xc00b9c80f8, {0xc006e6e940, 0x2, 0xffffffffffffffff?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3569645646/go/packages/golist.go:199 +0x79f
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo3569645646/go/packages/packages.go:398 +0x5c
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4367
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x96
2024-10-01 18:55 x_tools-gotip-openbsd-amd64 tools@d2e46216 go@8e478de4 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log)
=== RUN   TestRegenerateCgo/default
panic: detected hanging go command (golang/go#54461); waited 1m0.111155218s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-2974325664/TestRegenerateCgo/default/work/... builtin
		pid:99077

goroutine 4778 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc00cee6910?, 0xc00cee67ac?, 0x1b17760?}, 0xc006f76900)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3376998046/internal/gocommand/invoke.go:458 +0xb9
golang.org/x/tools/internal/gocommand.runCmdContext({0x13da508, 0xc0099a98c0}, 0xc006f76900)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3376998046/internal/gocommand/invoke.go:391 +0x4cb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00cee6ca0, {0x13da508, 0xc0099a98c0}, {0x13d0280, 0xc0099a9a10}, {0x13d0280, 0xc0099a9a40})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3376998046/internal/gocommand/invoke.go:285 +0xdfd
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00cee6c68?, {0x13da508, 0xc0099a98c0}, {0x13d0280?, 0xc0099a9a10?}, {0x13d0280, 0xc0099a9a40})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3376998046/internal/gocommand/invoke.go:187 +0x4f
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00a852900, {0x13da508, 0xc0099a98c0}, {{0x10cad1e, 0x4}, {0xc00a33c460, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3376998046/internal/gocommand/invoke.go:124 +0x15f
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00a852900, {0x13da5b0, 0xc00b167180}, {{0x10cad1e, 0x4}, {0xc00a33c460, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3376998046/internal/gocommand/invoke.go:98 +0x370
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc000337d18?, {0x10cad1e?, 0x2?}, {0xc00a33c460, 0xb, 0x13d8ed0?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3376998046/go/packages/golist.go:858 +0x1fb
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00a86e3c0, {0xc00a852920, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3376998046/go/packages/golist.go:376 +0xa7
golang.org/x/tools/go/packages.goListDriver(0xc000337d18, {0xc00a852840, 0x2, 0xc000020d50?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3376998046/go/packages/golist.go:199 +0x79f
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo3376998046/go/packages/packages.go:398 +0x5c
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4950
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x93

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-10-02 18:38 x_tools-gotip-openbsd-amd64 tools@dd745ec1 go@ce60f703 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log)
=== RUN   TestRegenerateCgo/default
panic: detected hanging go command (golang/go#54461); waited 1m0.131032814s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-1412783443/TestRegenerateCgo/default/work/... builtin
		pid:46439

goroutine 4857 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0079ec910?, 0xc0079ec7ac?, 0x1b197e0?}, 0xc007018780)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3241847136/internal/gocommand/invoke.go:458 +0xb9
golang.org/x/tools/internal/gocommand.runCmdContext({0x13dba28, 0xc007650330}, 0xc007018780)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3241847136/internal/gocommand/invoke.go:391 +0x4cb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0079ecca0, {0x13dba28, 0xc007650330}, {0x13d1760, 0xc007650480}, {0x13d1760, 0xc0076504b0})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3241847136/internal/gocommand/invoke.go:285 +0xdfd
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0079ecc68?, {0x13dba28, 0xc007650330}, {0x13d1760?, 0xc007650480?}, {0x13d1760, 0xc0076504b0})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3241847136/internal/gocommand/invoke.go:187 +0x4f
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc008c9df00, {0x13dba28, 0xc007650330}, {{0x10cc0be, 0x4}, {0xc0065d62a0, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3241847136/internal/gocommand/invoke.go:124 +0x15f
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc008c9df00, {0x13dbad0, 0xc00a23dd50}, {{0x10cc0be, 0x4}, {0xc0065d62a0, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3241847136/internal/gocommand/invoke.go:98 +0x370
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc00651e1e8?, {0x10cc0be?, 0x2?}, {0xc0065d62a0, 0xb, 0x2?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3241847136/go/packages/golist.go:858 +0x1fb
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00b9ff2c0, {0xc008c9df20, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3241847136/go/packages/golist.go:376 +0xa7
golang.org/x/tools/go/packages.goListDriver(0xc00651e1e8, {0xc008c9de40, 0x2, 0xc0002f0720?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3241847136/go/packages/golist.go:199 +0x79f
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo3241847136/go/packages/packages.go:398 +0x5c
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4854
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x93

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-10-04 15:35 x_tools-go1.23-openbsd-amd64 tools@efd951d8 release-branch.go1.23@9563300f x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log)
=== RUN   TestRegenerateCgo/default
panic: detected hanging go command (golang/go#54461); waited 1m0.202252062s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-700918185/TestRegenerateCgo/default/work/... builtin
		pid:59602

goroutine 4657 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0097b8938?, 0xc0097b87d4?, 0x1b04be0?}, 0xc00762c780)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3929112796/internal/gocommand/invoke.go:458 +0xb9
golang.org/x/tools/internal/gocommand.runCmdContext({0x13d6f08, 0xc009274c60}, 0xc00762c780)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3929112796/internal/gocommand/invoke.go:391 +0x4cb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0097b8ca0, {0x13d6f08, 0xc009274c60}, {0x13ccda0, 0xc009274de0}, {0x13ccda0, 0xc009274e40})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3929112796/internal/gocommand/invoke.go:285 +0xf16
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0097b8c68?, {0x13d6f08, 0xc009274c60}, {0x13ccda0?, 0xc009274de0?}, {0x13ccda0, 0xc009274e40})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3929112796/internal/gocommand/invoke.go:187 +0x4f
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0098a6c40, {0x13d6f08, 0xc009274c60}, {{0x10ca431, 0x4}, {0xc0004a6c40, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3929112796/internal/gocommand/invoke.go:124 +0x15f
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc0098a6c40, {0x13d6fb0, 0xc0071c1110}, {{0x10ca431, 0x4}, {0xc0004a6c40, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3929112796/internal/gocommand/invoke.go:98 +0x370
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc00b51a1e8?, {0x10ca431?, 0x2?}, {0xc0004a6c40, 0xb, 0x2?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3929112796/go/packages/golist.go:858 +0x1fb
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00c1f35e0, {0xc0098a6c60, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3929112796/go/packages/golist.go:376 +0xa7
golang.org/x/tools/go/packages.goListDriver(0xc00b51a1e8, {0xc0098a6b60, 0x2, 0xffffffffffffffff?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3929112796/go/packages/golist.go:199 +0x79f
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo3929112796/go/packages/packages.go:398 +0x5c
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4654
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x96

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-10-04 15:35 x_tools-go1.23-windows-amd64-race tools@2683c792 release-branch.go1.23@9563300f x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_direct_dependencies/default [ABORT] (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_direct_dependencies/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0039287s
		command:C:\b\s\w\ir\x\w\goroot\bin\go.exe list -f {{context.GOARCH}} {{context.Compiler}} -- unsafe
		pid:5628

goroutine 784 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0004f3338?, 0xc0004f31c4?, 0x141fec660?}, 0xc000334f00)
	C:/b/s/w/ir/x/w/targetrepo3343127948/internal/gocommand/invoke.go:458 +0x14d
golang.org/x/tools/internal/gocommand.runCmdContext({0x14182fd88, 0xc007429170}, 0xc000334f00)
	C:/b/s/w/ir/x/w/targetrepo3343127948/internal/gocommand/invoke.go:391 +0x6eb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0004f3838, {0x14182fd88, 0xc007429170}, {0x141825560, 0xc007429290}, {0x141825560, 0xc0074292c0})
	C:/b/s/w/ir/x/w/targetrepo3343127948/internal/gocommand/invoke.go:285 +0x1746
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0004f3838, {0x14182fd88, 0xc007429170}, {0x141825560, 0xc007429290}, {0x141825560, 0xc0074292c0})
	C:/b/s/w/ir/x/w/targetrepo3343127948/internal/gocommand/invoke.go:187 +0x9c
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0073dd3e0, {0x14182fd88, 0xc007429170}, {{0x14147cc75, 0x4}, {0xc0070f9ec0, 0x4, 0x4}, {0x0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo3343127948/internal/gocommand/invoke.go:124 +0x27e
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc0073dd3e0, {0x14182fdc0, 0xc007207c70}, {{0x14147cc75, 0x4}, {0xc0070f9ec0, 0x4, 0x4}, {0x0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo3343127948/internal/gocommand/invoke.go:98 +0x4b1
golang.org/x/tools/go/packages.getSizesForArgs({0x14182fdc0, 0xc007207c70}, {{0x14147cc75, 0x4}, {0xc0070f9ec0, 0x4, 0x4}, {0x0, 0x0, 0x0}, ...}, ...)
	C:/b/s/w/ir/x/w/targetrepo3343127948/go/packages/golist.go:1032 +0x1d0
golang.org/x/tools/go/packages.goListDriver.func1()
	C:/b/s/w/ir/x/w/targetrepo3343127948/go/packages/golist.go:151 +0x32b
created by golang.org/x/tools/go/packages.goListDriver in goroutine 783
	C:/b/s/w/ir/x/w/targetrepo3343127948/go/packages/golist.go:150 +0x5d6

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-10-04 17:29 x_tools-gotip-windows-amd64-race tools@2ab3b514 go@f22afc58 x/tools/gopls/internal/test/integration/completion.TestGenericReceiver/default [ABORT] (log)
=== RUN   TestGenericReceiver/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0029107s
		command:C:\b\s\w\ir\x\w\goroot\bin\go.exe 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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- C:\b\s\w\ir\x\t\gopls-test-2604468625\TestGenericReceiver\default\work\... builtin
		pid:9204

goroutine 182 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc000574428?, 0xc0005742b4?, 0x14204f460?}, 0xc000310780)
	C:/b/s/w/ir/x/w/targetrepo394868804/internal/gocommand/invoke.go:458 +0x14d
golang.org/x/tools/internal/gocommand.runCmdContext({0x14186f1e8, 0xc00651fef0}, 0xc000310780)
	C:/b/s/w/ir/x/w/targetrepo394868804/internal/gocommand/invoke.go:391 +0x6eb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0005748e0, {0x14186f1e8, 0xc00651fef0}, {0x141864580, 0xc006544090}, {0x141864580, 0xc0065440c0})
	C:/b/s/w/ir/x/w/targetrepo394868804/internal/gocommand/invoke.go:285 +0x1505
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0005748e0, {0x14186f1e8, 0xc00651fef0}, {0x141864580, 0xc006544090}, {0x141864580, 0xc0065440c0})
	C:/b/s/w/ir/x/w/targetrepo394868804/internal/gocommand/invoke.go:187 +0x9c
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00008b6e0, {0x14186f1e8, 0xc00651fef0}, {{0x1414ad0dc, 0x4}, {0xc000000700, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo394868804/internal/gocommand/invoke.go:124 +0x27e
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00008b6e0, {0x14186f290, 0xc000140d20}, {{0x1414ad0dc, 0x4}, {0xc000000700, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo394868804/internal/gocommand/invoke.go:98 +0x4b0
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc00044c6e0, {0x1414ad0dc, 0x4}, {0xc000000700, 0xb, 0xe})
	C:/b/s/w/ir/x/w/targetrepo394868804/go/packages/golist.go:858 +0x3e5
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00044c6e0, {0xc00008b720, 0x2, 0x2})
	C:/b/s/w/ir/x/w/targetrepo394868804/go/packages/golist.go:376 +0xd7
golang.org/x/tools/go/packages.goListDriver(0xc0004701e8, {0xc00008b540, 0x2, 0xc000331ed8?})
	C:/b/s/w/ir/x/w/targetrepo394868804/go/packages/golist.go:199 +0xc06
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	C:/b/s/w/ir/x/w/targetrepo394868804/go/packages/packages.go:398 +0xa6
golang.org/x/sync/errgroup.(*Group).Go.func1()
	C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x92
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 178
	C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x125

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-10-10 17:08 x_tools-gotip-openbsd-amd64 tools@915132c3 go@7634f075 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log)
=== RUN   TestRegenerateCgo/default
panic: detected hanging go command (golang/go#54461); waited 1m0.266227513s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-4039585171/TestRegenerateCgo/default/work/... builtin
		pid:56692

goroutine 4545 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc00a36c910?, 0xc00a36c7ac?, 0x1b1d660?}, 0xc006d4c780)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3446285221/internal/gocommand/invoke.go:458 +0xb9
golang.org/x/tools/internal/gocommand.runCmdContext({0x13dd068, 0xc006dfc720}, 0xc006d4c780)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3446285221/internal/gocommand/invoke.go:391 +0x4cb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00a36cca0, {0x13dd068, 0xc006dfc720}, {0x13d2ce0, 0xc006dfc840}, {0x13d2ce0, 0xc006dfc8a0})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3446285221/internal/gocommand/invoke.go:285 +0xdfd
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00a36cc68?, {0x13dd068, 0xc006dfc720}, {0x13d2ce0?, 0xc006dfc840?}, {0x13d2ce0, 0xc006dfc8a0})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3446285221/internal/gocommand/invoke.go:187 +0x4f
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc000488c20, {0x13dd068, 0xc006dfc720}, {{0x10cdc01, 0x4}, {0xc000598e00, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3446285221/internal/gocommand/invoke.go:124 +0x15f
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc000488c20, {0x13dd110, 0xc00a247730}, {{0x10cdc01, 0x4}, {0xc000598e00, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3446285221/internal/gocommand/invoke.go:98 +0x370
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc006ba21e8?, {0x10cdc01?, 0x2?}, {0xc000598e00, 0xb, 0x13db9f0?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3446285221/go/packages/golist.go:858 +0x1fb
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0069217c0, {0xc000488c80, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3446285221/go/packages/golist.go:376 +0xa7
golang.org/x/tools/go/packages.goListDriver(0xc006ba21e8, {0xc000488b00, 0x2, 0x106fd2401?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3446285221/go/packages/golist.go:199 +0x79f
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo3446285221/go/packages/packages.go:397 +0x5c
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4542
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x93

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-10-22 20:17 x_tools-gotip-openbsd-amd64 tools@6381f0b8 go@d40ae5ef x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log)
=== RUN   TestRegenerateCgo/default
panic: detected hanging go command (golang/go#54461); waited 1m0.635350412s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-1051663302/TestRegenerateCgo/default/work/... builtin
		pid:25514

goroutine 4693 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc006bca8c8?, 0xc006bca764?, 0x1b1f660?}, 0xc008ec0900)
	/home/swarming/.swarming/w/ir/x/w/targetrepo4267519020/internal/gocommand/invoke.go:458 +0xb9
golang.org/x/tools/internal/gocommand.runCmdContext({0x13dfee8, 0xc007965590}, 0xc008ec0900)
	/home/swarming/.swarming/w/ir/x/w/targetrepo4267519020/internal/gocommand/invoke.go:391 +0x4cb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006bcac58, {0x13dfee8, 0xc007965590}, {0x13d5cc0, 0xc0079656e0}, {0x13d5cc0, 0xc007965710})
	/home/swarming/.swarming/w/ir/x/w/targetrepo4267519020/internal/gocommand/invoke.go:285 +0xdfd
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc006bcac20?, {0x13dfee8, 0xc007965590}, {0x13d5cc0?, 0xc0079656e0?}, {0x13d5cc0, 0xc007965710})
	/home/swarming/.swarming/w/ir/x/w/targetrepo4267519020/internal/gocommand/invoke.go:187 +0x4f
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc007a39d80, {0x13dfee8, 0xc007965590}, {{0x10cf13d, 0x4}, {0xc008e62ee0, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo4267519020/internal/gocommand/invoke.go:124 +0x15f
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc007a39d80, {0x13dff90, 0xc00bbda1c0}, {{0x10cf13d, 0x4}, {0xc008e62ee0, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo4267519020/internal/gocommand/invoke.go:98 +0x370
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc00012fa48?, {0x10cf13d?, 0x2?}, {0xc008e62ee0, 0xb, 0x13de9b0?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo4267519020/go/packages/golist.go:858 +0x1fb
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc007694000, {0xc0084f51a0, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo4267519020/go/packages/golist.go:376 +0xa7
golang.org/x/tools/go/packages.goListDriver(0xc00012fa48, {0xc007a395c0, 0x2, 0xc007eda2a0?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo4267519020/go/packages/golist.go:199 +0x79f
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo4267519020/go/packages/packages.go:397 +0x5c
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4713
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x93
2024-10-22 20:55 x_tools-gotip-openbsd-amd64 tools@66185694 go@d40ae5ef x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log)
=== RUN   TestRegenerateCgo/default
panic: detected hanging go command (golang/go#54461); waited 1m0.188227633s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-3133033558/TestRegenerateCgo/default/work/... builtin
		pid:98356

goroutine 4581 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0003c68c8?, 0xc0003c6764?, 0x1b1f660?}, 0xc00021e480)
	/home/swarming/.swarming/w/ir/x/w/targetrepo439277266/internal/gocommand/invoke.go:458 +0xb9
golang.org/x/tools/internal/gocommand.runCmdContext({0x13dff68, 0xc007a42270}, 0xc00021e480)
	/home/swarming/.swarming/w/ir/x/w/targetrepo439277266/internal/gocommand/invoke.go:391 +0x4cb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0003c6c58, {0x13dff68, 0xc007a42270}, {0x13d5d40, 0xc007a423c0}, {0x13d5d40, 0xc007a423f0})
	/home/swarming/.swarming/w/ir/x/w/targetrepo439277266/internal/gocommand/invoke.go:285 +0xdfd
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0003c6c20?, {0x13dff68, 0xc007a42270}, {0x13d5d40?, 0xc007a423c0?}, {0x13d5d40, 0xc007a423f0})
	/home/swarming/.swarming/w/ir/x/w/targetrepo439277266/internal/gocommand/invoke.go:187 +0x4f
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0083064e0, {0x13dff68, 0xc007a42270}, {{0x10cf15d, 0x4}, {0xc00aba6b60, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo439277266/internal/gocommand/invoke.go:124 +0x15f
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc0083064e0, {0x13e0010, 0xc00ac2c930}, {{0x10cf15d, 0x4}, {0xc00aba6b60, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo439277266/internal/gocommand/invoke.go:98 +0x370
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0003701e8?, {0x10cf15d?, 0x2?}, {0xc00aba6b60, 0xb, 0x2?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo439277266/go/packages/golist.go:858 +0x1fb
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00c3e6d20, {0xc008306500, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo439277266/go/packages/golist.go:376 +0xa7
golang.org/x/tools/go/packages.goListDriver(0xc0003701e8, {0xc008306420, 0x2, 0x1081eca01?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo439277266/go/packages/golist.go:199 +0x79f
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo439277266/go/packages/packages.go:397 +0x5c
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4578
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x93

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-11-06 15:15 x_tools-go1.23-windows-amd64-race tools@dba5486c release-branch.go1.23@1207de4f x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default [ABORT] (log)
=== RUN   TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0020262s
		command:C:\b\s\w\ir\x\w\goroot\bin\go.exe list -overlay=C:\b\s\w\ir\x\t\gocommand-2653790959\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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- C:\b\s\w\ir\x\t\gopls-test-559509238\TestUpgradeCodelens_Workspace\Upgrade_transitive_dependencies\default\work\a\... C:\b\s\w\ir\x\t\gopls-test-559509238\TestUpgradeCodelens_Workspace\Upgrade_transitive_dependencies\default\work\b\... builtin
		pid:10452

goroutine 739 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0076063a0?, 0xc00760622c?, 0x14204f120?}, 0xc000213080)
	C:/b/s/w/ir/x/w/targetrepo20516322/internal/gocommand/invoke.go:458 +0x14d
golang.org/x/tools/internal/gocommand.runCmdContext({0x1418715a8, 0xc007267b30}, 0xc000213080)
	C:/b/s/w/ir/x/w/targetrepo20516322/internal/gocommand/invoke.go:391 +0x6eb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0076068a0, {0x1418715a8, 0xc007267b30}, {0x141866c20, 0xc007267c50}, {0x141866c20, 0xc007267c80})
	C:/b/s/w/ir/x/w/targetrepo20516322/internal/gocommand/invoke.go:285 +0x1746
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0076068a0, {0x1418715a8, 0xc007267b30}, {0x141866c20, 0xc007267c50}, {0x141866c20, 0xc007267c80})
	C:/b/s/w/ir/x/w/targetrepo20516322/internal/gocommand/invoke.go:187 +0x9c
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00727a140, {0x1418715a8, 0xc007267b30}, {{0x1414b8119, 0x4}, {0xc0066ecb60, 0xc, 0xe}, {0x0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo20516322/internal/gocommand/invoke.go:124 +0x27e
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00727a140, {0x141871650, 0xc006b917a0}, {{0x1414b8119, 0x4}, {0xc0066ecb60, 0xc, 0xe}, {0x0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo20516322/internal/gocommand/invoke.go:98 +0x4b1
golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0003d94a0, {0x1414b8119, 0x4}, {0xc0066ecb60, 0xc, 0xe})
	C:/b/s/w/ir/x/w/targetrepo20516322/go/packages/golist.go:858 +0x3eb
golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0003d94a0, {0xc007267470, 0x3, 0x3})
	C:/b/s/w/ir/x/w/targetrepo20516322/go/packages/golist.go:376 +0xd7
golang.org/x/tools/go/packages.goListDriver(0xc000417a48, {0xc00725e8c0, 0x3, 0xc006db9ed8?})
	C:/b/s/w/ir/x/w/targetrepo20516322/go/packages/golist.go:199 +0xc5f
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	C:/b/s/w/ir/x/w/targetrepo20516322/go/packages/packages.go:397 +0xa6
golang.org/x/sync/errgroup.(*Group).Go.func1()
	C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:78 +0x92
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 667
	C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x125

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-11-25 21:27 x_tools-gotip-openbsd-amd64 tools@07a58bce go@592da0ba x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log)
=== RUN   TestRegenerateCgo/default
panic: detected hanging go command (golang/go#54461); waited 1m0.142129206s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-1804506498/TestRegenerateCgo/default/work/... builtin
		pid:48336

goroutine 5751 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc009b9c830?, 0xc009b9c6cc?, 0x1c4f6a0?}, 0xc009330600)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1564955903/internal/gocommand/invoke.go:458 +0xb9
golang.org/x/tools/internal/gocommand.runCmdContext({0x1497918, 0xc00e2ef2c0}, 0xc009330600)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1564955903/internal/gocommand/invoke.go:391 +0x4ab
...
golang.org/x/tools/go/packages.goListDriver(0xc00aa84388, 0xc00b60a960, {0x0, 0x0}, {0xc00b60a8a0, 0x2, 0xffffffffffffffff?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo1564955903/go/packages/golist.go:210 +0x7ff
golang.org/x/tools/go/packages.defaultDriver.func1(0x7?, {0xc00b60a8a0?, 0xc009349270?, 0xc00b5997a0?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo1564955903/go/packages/packages.go:340 +0x36
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo1564955903/go/packages/packages.go:387 +0x5c
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.9.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 5689
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.9.0/errgroup/errgroup.go:75 +0x93

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-12-02 20:54 x_tools-go1.22-darwin-amd64-longtest tools@8ffeabab release-branch.go1.22@6d7a95ab x/tools/gopls/internal/test/integration/workspace.TestStdWorkspace/default [ABORT] (log)
=== RUN   TestStdWorkspace/default
DETECTED A HANGING GO COMMAND

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

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
panic: detected hanging go command (golang/go#54461); waited 1m1.591763309s
		command:/Users/swarming/.swarming/w/ir/x/w/goroot/bin/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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /Users/swarming/.swarming/w/ir/x/w/goroot/src/... builtin
		pid:72584

goroutine 40532 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0079828b0?, 0xc00798274c?, 0xdb83b40?}, 0xc00f9eec00)
	/Users/swarming/.swarming/w/ir/x/w/targetrepo360765509/internal/gocommand/invoke.go:458 +0x459
golang.org/x/tools/internal/gocommand.runCmdContext({0xd410328, 0xc009135890}, 0xc00f9eec00)
	/Users/swarming/.swarming/w/ir/x/w/targetrepo360765509/internal/gocommand/invoke.go:391 +0x4cb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007982c18, {0xd410328, 0xc009135890}, {0xd4060a0, 0xc0091359b0}, {0xd4060a0, 0xc0091359e0})
...
golang.org/x/tools/go/packages.goListDriver(0xc007613968, 0xc008b1a3c0, {0x0, 0x0}, {0xc008b1a2e0, 0x2, 0xc007db8f30?})
	/Users/swarming/.swarming/w/ir/x/w/targetrepo360765509/go/packages/golist.go:210 +0x81f
golang.org/x/tools/go/packages.defaultDriver.func1(0x0?, {0xc008b1a2e0?, 0x0?, 0xffffffffffffffff?})
	/Users/swarming/.swarming/w/ir/x/w/targetrepo360765509/go/packages/packages.go:340 +0x36
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/Users/swarming/.swarming/w/ir/x/w/targetrepo360765509/go/packages/packages.go:387 +0x5c
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.9.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 40489
	/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.9.0/errgroup/errgroup.go:75 +0x96

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-12-06 18:27 x_tools-go1.22-windows-amd64-race tools@b7532e6c release-branch.go1.22@8f3f22ee x/tools/gopls/internal/test/integration/codelens.TestDisablingCodeLens/generate_disabled/default [ABORT] (log)
=== RUN   TestDisablingCodeLens/generate_disabled/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0038377s
		command:C:\b\s\w\ir\x\w\gopath\pkg\mod\golang.org\toolchain@v0.0.1-go1.23.1.windows-amd64\bin\go.exe list -f {{context.GOARCH}} {{context.Compiler}} -- unsafe
		pid:7300

goroutine 378 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0066373e0?, 0xc00663726c?, 0x14209c880?}, 0xc000002c00)
	C:/b/s/w/ir/x/w/targetrepo772168782/internal/gocommand/invoke.go:458 +0x14d
golang.org/x/tools/internal/gocommand.runCmdContext({0x1418a5788, 0xc006983ce0}, 0xc000002c00)
	C:/b/s/w/ir/x/w/targetrepo772168782/internal/gocommand/invoke.go:391 +0x6eb
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0066378e0, {0x1418a5788, 0xc006983ce0}, {0x14189ad80, 0xc006983e00}, {0x14189ad80, 0xc006983e30})
	C:/b/s/w/ir/x/w/targetrepo772168782/internal/gocommand/invoke.go:285 +0x1746
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0066378e0, {0x1418a5788, 0xc006983ce0}, {0x14189ad80, 0xc006983e00}, {0x14189ad80, 0xc006983e30})
	C:/b/s/w/ir/x/w/targetrepo772168782/internal/gocommand/invoke.go:187 +0x9c
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00660db60, {0x1418a5788, 0xc006983ce0}, {{0x1414e2c48, 0x4}, {0xc0066c0a00, 0x4, 0x4}, {0x0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo772168782/internal/gocommand/invoke.go:124 +0x27e
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00660db60, {0x1418a57c0, 0xc0001168c0}, {{0x1414e2c48, 0x4}, {0xc0066c0a00, 0x4, 0x4}, {0x0, 0x0, ...}, ...})
	C:/b/s/w/ir/x/w/targetrepo772168782/internal/gocommand/invoke.go:98 +0x4b1
golang.org/x/tools/go/packages.getSizesForArgs({0x1418a57c0, 0xc0001168c0}, {{0x1414e2c48, 0x4}, {0xc0066c0a00, 0x4, 0x4}, {0x0, 0x0, 0x0}, ...}, ...)
	C:/b/s/w/ir/x/w/targetrepo772168782/go/packages/golist.go:1047 +0x1d0
golang.org/x/tools/go/packages.goListDriver.func1()
	C:/b/s/w/ir/x/w/targetrepo772168782/go/packages/golist.go:162 +0x2d0
created by golang.org/x/tools/go/packages.goListDriver in goroutine 377
	C:/b/s/w/ir/x/w/targetrepo772168782/go/packages/golist.go:161 +0x68c
2024-12-06 18:27 x_tools-go1.22-windows-amd64-race tools@b7532e6c release-branch.go1.22@8f3f22ee x/tools/gopls/internal/test/integration/completion.TestGenericReceiver/default [ABORT] (log)
=== RUN   TestGenericReceiver/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0034016s
		command:C:\b\s\w\ir\x\w\gopath\pkg\mod\golang.org\toolchain@v0.0.1-go1.23.1.windows-amd64\bin\go.exe 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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- C:\b\s\w\ir\x\t\gopls-test-2245273673\TestGenericReceiver\default\work\... builtin
		pid:3776

goroutine 151 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc006688320?, 0xc0066881ac?, 0x1420f0b80?}, 0xc0003ca780)
	C:/b/s/w/ir/x/w/targetrepo772168782/internal/gocommand/invoke.go:458 +0x14d
golang.org/x/tools/internal/gocommand.runCmdContext({0x1418e8a28, 0xc000542f60}, 0xc0003ca780)
	C:/b/s/w/ir/x/w/targetrepo772168782/internal/gocommand/invoke.go:391 +0x6eb
...
golang.org/x/tools/go/packages.goListDriver(0xc006680008, 0xc0004859a0, {0x0, 0x0}, {0xc0004858e0, 0x2, 0x1413b88a0?})
	C:/b/s/w/ir/x/w/targetrepo772168782/go/packages/golist.go:210 +0xcff
golang.org/x/tools/go/packages.defaultDriver.func1(0xc006680008, {0xc0004858e0, 0x2, 0x2})
	C:/b/s/w/ir/x/w/targetrepo772168782/go/packages/packages.go:340 +0x85
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	C:/b/s/w/ir/x/w/targetrepo772168782/go/packages/packages.go:387 +0xa6
golang.org/x/sync/errgroup.(*Group).Go.func1()
	C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:78 +0x92
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 169
	C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x125
2024-12-06 18:27 x_tools-go1.22-windows-amd64-race tools@b7532e6c release-branch.go1.22@8f3f22ee x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer/default [ABORT] (log)
=== RUN   TestTimeFormatAnalyzer/default
panic: detected hanging go command (golang/go#54461); waited 1m0.0039823s
		command:C:\b\s\w\ir\x\w\gopath\pkg\mod\golang.org\toolchain@v0.0.1-go1.23.1.windows-amd64\bin\go.exe 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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- C:\b\s\w\ir\x\t\gopls-test-1125056002\TestTimeFormatAnalyzer\default\work\... builtin
		pid:4212

goroutine 178 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0005e8320?, 0xc0005e81ac?, 0x1420d4e80?}, 0xc000568180)
	C:/b/s/w/ir/x/w/targetrepo772168782/internal/gocommand/invoke.go:458 +0x14d
golang.org/x/tools/internal/gocommand.runCmdContext({0x1418cdca8, 0xc00055d3e0}, 0xc000568180)
	C:/b/s/w/ir/x/w/targetrepo772168782/internal/gocommand/invoke.go:391 +0x6eb
...
golang.org/x/tools/go/packages.goListDriver(0xc0001ec548, 0xc000619460, {0x0, 0x0}, {0xc0006193a0, 0x2, 0x1413a40a0?})
	C:/b/s/w/ir/x/w/targetrepo772168782/go/packages/golist.go:210 +0xcff
golang.org/x/tools/go/packages.defaultDriver.func1(0xc0001ec548, {0xc0006193a0, 0x2, 0x2})
	C:/b/s/w/ir/x/w/targetrepo772168782/go/packages/packages.go:340 +0x85
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	C:/b/s/w/ir/x/w/targetrepo772168782/go/packages/packages.go:387 +0xa6
golang.org/x/sync/errgroup.(*Group).Go.func1()
	C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:78 +0x92
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 104
	C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x125

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-12-09 22:57 x_tools-go1.24-openbsd-amd64 tools@6ebf95a6 release-branch.go1.24@26682773 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log)
=== RUN   TestRegenerateCgo/default
panic: detected hanging go command (golang/go#54461); waited 1m0.358128879s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-2500904606/TestRegenerateCgo/default/work/... builtin
		pid:20471

goroutine 5527 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc006c28830?, 0xc006c286cc?, 0x1c5fa20?}, 0xc008eda300)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2003493425/internal/gocommand/invoke.go:458 +0xb9
golang.org/x/tools/internal/gocommand.runCmdContext({0x14a1eb8, 0xc00e3400f0}, 0xc008eda300)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2003493425/internal/gocommand/invoke.go:391 +0x4ab
...
golang.org/x/tools/go/packages.goListDriver(0xc008a36468, 0xc008a51d40, {0x0, 0x0}, {0xc008a51c60, 0x2, 0xffffffffffffffff?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2003493425/go/packages/golist.go:210 +0x7ff
golang.org/x/tools/go/packages.defaultDriver.func1(0x8?, {0xc008a51c60?, 0x0?, 0xc008a51c20?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2003493425/go/packages/packages.go:340 +0x36
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo2003493425/go/packages/packages.go:387 +0x5c
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 5524
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x93

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-12-10 18:15 x_tools-go1.24-openbsd-amd64 tools@5e47a3db release-branch.go1.24@26682773 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log)
=== RUN   TestRegenerateCgo/default
panic: detected hanging go command (golang/go#54461); waited 1m0.116185795s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-3705528607/TestRegenerateCgo/default/work/... builtin
		pid:51254

goroutine 5797 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0085bc830?, 0xc0085bc6cc?, 0x1c5fa20?}, 0xc009138180)
	/home/swarming/.swarming/w/ir/x/w/targetrepo4021942336/internal/gocommand/invoke.go:458 +0xb9
golang.org/x/tools/internal/gocommand.runCmdContext({0x14a1f38, 0xc00c3e7ad0}, 0xc009138180)
	/home/swarming/.swarming/w/ir/x/w/targetrepo4021942336/internal/gocommand/invoke.go:391 +0x4ab
...
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x7efefd]

goroutine 5776 [running]:
golang.org/x/tools/go/packages.mergeResponses({0xc00be830b8, 0x1, 0xc0092fa000?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo4021942336/go/packages/packages.go:409 +0x9d
golang.org/x/tools/go/packages.callDriverOnChunks(0xc0092fa000, 0xc0092b80e8, {0xc0092ef920, 0x1, 0xc008e6d4c0?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo4021942336/go/packages/packages.go:400 +0x23b
golang.org/x/tools/go/packages.defaultDriver(0xc0092b80e8, {0xc0092d9ea0?, 0xc008e6d508?, 0x3f?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo4021942336/go/packages/packages.go:342 +0x167
golang.org/x/tools/go/packages.Load(0xc008e47320?, {0xc0092d9ea0, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo4021942336/go/packages/packages.go:266 +0x51
golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc008e47320, {0x14a1f70, 0xc00a9ee7d0}, 0x1, {0xc0092d9e80, 0x2, 0x2?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo4021942336/gopls/internal/cache/load.go:130 +0xb65
golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc008e47320, {0x14a1f70, 0xc00a9ee7d0}, 0x1)
	/home/swarming/.swarming/w/ir/x/w/targetrepo4021942336/gopls/internal/cache/view.go:691 +0x378
golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
	/home/swarming/.swarming/w/ir/x/w/targetrepo4021942336/gopls/internal/cache/session.go:292 +0x3e
created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 5768
	/home/swarming/.swarming/w/ir/x/w/targetrepo4021942336/gopls/internal/cache/session.go:290 +0x1bd7

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- goos != "netbsd" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
        (`detected hanging go command` || log ~ `detected hanging go command` || `DETECTED A HANGING GO COMMAND` || log ~ `DETECTED A HANGING GO COMMAND`)
2024-12-11 14:12 x_tools-gotip-openbsd-amd64 tools@82b6f75c go@a7c4cadc x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log)
=== RUN   TestRegenerateCgo/default
panic: detected hanging go command (golang/go#54461); waited 1m0.198320731s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/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,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-2242999722/TestRegenerateCgo/default/work/... builtin
		pid:12167

goroutine 5564 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc007de4830?, 0xc007de46cc?, 0x1c5fa20?}, 0xc00fde2480)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1757070687/internal/gocommand/invoke.go:458 +0xb9
golang.org/x/tools/internal/gocommand.runCmdContext({0x14a1f78, 0xc00e3233b0}, 0xc00fde2480)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1757070687/internal/gocommand/invoke.go:391 +0x4ab
...
golang.org/x/tools/go/packages.goListDriver(0xc006b4a468, 0xc008d31440, {0x0, 0x0}, {0xc008d31380, 0x2, 0xffffffffffffffff?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo1757070687/go/packages/golist.go:210 +0x7ff
golang.org/x/tools/go/packages.defaultDriver.func1(0x8?, {0xc008d31380?, 0x0?, 0xc008d31340?})
	/home/swarming/.swarming/w/ir/x/w/targetrepo1757070687/go/packages/packages.go:340 +0x36
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo1757070687/go/packages/packages.go:387 +0x5c
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 5621
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x93

watchflakes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
Status: Active
Development

No branches or pull requests

5 participants