#!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](https://build.golang.org/log/00046e0b005c7660d676a3a415561950048f756a) [2022-08-14T00:06:23-35f806b-59865f1/netbsd-amd64-9_0](https://build.golang.org/log/cac6093c9a1e29b020d1a0076f0b67e262a134c5) [2022-08-12T20:40:05-bebd890-2f6783c/netbsd-386-9_0](https://build.golang.org/log/3680daecab8adb2905484af9298a4239b3812f6a) [2022-08-12T18:15:28-bebd890-b6f87b0/netbsd-amd64-9_0](https://build.golang.org/log/c2900e262adb237ea981093befa87ec35faa804b) [2022-08-12T12:39:26-88d981e-f67c766/netbsd-amd64-9_0](https://build.golang.org/log/d22326763f8cbedb39bb3c17f3e66e57efa453df) [2022-08-12T00:04:29-c4ec74a-a5cd894/netbsd-386-9_0](https://build.golang.org/log/eec2b475f968a73f4f17745f72013ca6b3dc2a26) [2022-08-11T19:05:54-c4ec74a-62654df/netbsd-amd64-9_0](https://build.golang.org/log/070b4fee818231324badb590600980000d349fc2) [2022-08-11T17:53:50-37a81b6-a526ec1/netbsd-amd64-9_0](https://build.golang.org/log/373391707f93fff54945c55648170d9dd390958c) [2022-08-11T16:19:14-37a81b6-2340d37/netbsd-amd64-9_0](https://build.golang.org/log/1c1abf0fdf7307ffbe030628c0c37a2af50e044d) [2022-08-11T12:53:59-b2156b5-3c200d6/netbsd-386-9_0](https://build.golang.org/log/dd3e35eeace9e0ab8bad2da68b3822e492084f55) [2022-08-10T22:22:48-b2156b5-6b80b62/netbsd-amd64-9_0](https://build.golang.org/log/0e0cf575d88b65e91a55b8f070bf9b7ef3136e6e) [2022-08-10T17:41:25-0ad49fd-f19f6c7/netbsd-amd64-9_0](https://build.golang.org/log/f1c0a3ff9bc966ba2ea145a3fc5b207e7da04422) [2022-08-10T15:08:24-3950865-c81dfdd/netbsd-amd64-9_0](https://build.golang.org/log/49e68c6f9a3e02fea5a3560b3599fec748fe37a5) [2022-08-10T02:14:09-6fa767d-5531838/plan9-386-0intro](https://build.golang.org/log/dd0540ff0994f1f4dabc184f1a3139bc92e459b0) [2022-08-09T14:33:24-92d58ea-0981d9f/openbsd-386-70](https://build.golang.org/log/2257a9730544b80a3bbd32cd77d842bae30df216) [2022-08-09T14:12:01-92d58ea-662a729/netbsd-amd64-9_0](https://build.golang.org/log/262bb87feffe594abd0bca78d7ff0762bce6ce6d) [2022-08-09T13:39:27-92d58ea-9e8020b/netbsd-386-9_0](https://build.golang.org/log/5038ff991c57474969f20b56f7e0147b970f9d6f) [2022-08-09T11:28:56-92d58ea-0f8dffd/netbsd-amd64-9_0](https://build.golang.org/log/6f487445444131ce88dc81395c61491a75b717b6) [2022-08-08T18:10:56-fff6d6d-4bcc138/netbsd-amd64-9_0](https://build.golang.org/log/d7b15610ae881f54e8580b1df112b35fae495416) [2022-08-08T15:33:45-06d96ee-0581d69/netbsd-amd64-9_0](https://build.golang.org/log/0f6a50f7330a08b10fbbb2b30592206aa78088d8) [2022-08-08T15:07:46-06d96ee-cd54ef1/netbsd-amd64-9_0](https://build.golang.org/log/4bf9c1e647958f6f7e91f6a4af54f5c0d47a5ff9) [2022-08-08T14:12:21-06d96ee-e761556/netbsd-amd64-9_0](https://build.golang.org/log/139292d4921bc45d1d4f7eaad29b8ab74d492337) [2022-08-08T06:16:59-06d96ee-0f6ee42/darwin-amd64-11_0](https://build.golang.org/log/dcb2262105851e705bd8a54363d0f7eb12ced52d) [2022-08-08T06:16:59-06d96ee-0f6ee42/netbsd-386-9_0](https://build.golang.org/log/e338e8cc5f896780178f4653ca14cb3c5420eee3) [2022-08-06T15:20:00-06d96ee-0c4db1e/plan9-386-0intro](https://build.golang.org/log/5cca74b05c0a96fe84d714c05095b688cf142998) [2022-08-05T19:51:08-06d96ee-4fb7e22/plan9-386-0intro](https://build.golang.org/log/6b5544e536b89cd2b350dc28831b3cf2c1b930d1) [2022-08-04T20:05:03-81c7dc4-39728f4/netbsd-386-9_0](https://build.golang.org/log/a0e0e2e24dbcc85bc1112cde350e2aab2f68507e) [2022-08-04T20:05:03-81c7dc4-39728f4/netbsd-amd64-9_0](https://build.golang.org/log/1cf98e0db8d30c95362f07d44c47c5363b8c3955) [2022-08-04T20:04:16-3519aa2-39728f4/netbsd-386-9_0](https://build.golang.org/log/9395fd87814bc4d6344a3bbf72f427637a40ff9d) [2022-08-04T19:57:25-763f65c-39728f4/netbsd-386-9_0](https://build.golang.org/log/e6a1d9cdf59a37ef2641727a09850df931bf6c76) [2022-08-04T18:51:46-99fd76f-39728f4/openbsd-386-70](https://build.golang.org/log/d3aa446a547efa10e17e2f9096f34a1e7de84a34) [2022-08-04T17:05:18-3e0a503-fb1bfd4/netbsd-amd64-9_0](https://build.golang.org/log/3eab42b91ac882d28586f90d833b6a7adadfaa8e) [2022-08-04T15:50:11-3e0a503-fcdd099/netbsd-386-9_0](https://build.golang.org/log/f20346aaff38f3501b9586c4bd5bce30beeb544c) [2022-08-04T15:50:11-3e0a503-44ff9bf/netbsd-amd64-9_0](https://build.golang.org/log/cc32154c3c01fea6178c088a401ce789b8cdfea2) [2022-08-04T15:31:49-87f47bb-44ff9bf/plan9-386-0intro](https://build.golang.org/log/1a849764f69705f80e2b9215a4af08a35ca6b599) [2022-08-04T14:58:59-87f47bb-4345620/netbsd-386-9_0](https://build.golang.org/log/1979e42d0a685eaba423a2b72abb5f01467f9d29) [2022-08-04T10:32:51-3e0a503-a10afb1/linux-386-buster](https://build.golang.org/log/0575b7d9be6333dd398544d939a632c7bca98820) [2022-08-03T21:02:27-8b9a1fb-f28fa95/plan9-386-0intro](https://build.golang.org/log/3bdc65bf0d8317c8060a9213e294bd69d8c9a2c6) [2022-08-03T21:02:27-8b9a1fb-4345620/netbsd-386-9_0](https://build.golang.org/log/274203fd71753a2475dc09b150bf2223ccafc467) [2022-08-03T18:07:40-d08f5dc-fcdd099/netbsd-386-9_0](https://build.golang.org/log/0356b836f12656f38f905a8b00195c0dc91f9f9c) [2022-08-03T13:50:38-ddb90ec-c6a2dad/dragonfly-amd64-622](https://build.golang.org/log/2afbb152ac08399d2e748415c1e8237aba177f93) [2022-08-03T13:50:38-ddb90ec-c6a2dad/plan9-386-0intro](https://build.golang.org/log/17a5aa41dccbd8d4d12f725824e944297efc759d) [2022-08-03T12:09:24-ddb90ec-29b9a32/plan9-386-0intro](https://build.golang.org/log/b476964cf820ebb56acaf4873de238e9944c2fdc) [2022-08-02T18:52:36-0d04f65-29b9a32/plan9-386-0intro](https://build.golang.org/log/8d8b0cf1e7abad05f3b5efc3d81f8b943459e208) [2022-08-02T18:19:01-d025cce-be59153/netbsd-amd64-9_0](https://build.golang.org/log/d373872d8833fcd7943ed0c44a350b1ed0964171) [2022-08-02T18:16:22-10cb435-d723df7/netbsd-amd64-9_0](https://build.golang.org/log/52dcc80905a7e4fb69b303d2e10b0853d7a4d249) [2022-08-02T18:07:14-4d0b383-d723df7/netbsd-386-9_0](https://build.golang.org/log/32e87f0ad4c401d7b6898923db1ccf0e18e96a55) [2022-08-02T18:07:14-4d0b383-d723df7/netbsd-amd64-9_0](https://build.golang.org/log/c45079cd676d8c78a4fb2e516c7f8c61e99cf932) [2022-08-02T17:23:42-4d0b383-1b7e71e/darwin-amd64-nocgo](https://build.golang.org/log/f1e5f794c6590cf6ef6af5b32593bdb2dc4e691a) [2022-08-02T16:05:48-4d0b383-f2a9f3e/netbsd-amd64-9_0](https://build.golang.org/log/615a1fe11bff97f99eea28f57de7379a57de05ff) [2022-07-29T20:19:23-9580c84-9240558/windows-arm64-11](https://build.golang.org/log/902f203f4ca2a092814c8f9feae9f34403c03fc0) [2022-07-28T20:06:00-8ea5687-d9242f7/darwin-amd64-nocgo](https://build.golang.org/log/12a2b665a640b80267a18e005b8f48cef599747b) [2022-07-27T15:04:58-39a4e36-4248146/freebsd-386-13_0](https://build.golang.org/log/2285dd340580856181ca3d5dc0c60759238a178d) [2022-07-26T18:43:08-6c8a6c4-d9242f7/aix-ppc64](https://build.golang.org/log/b396e3df87257d69b4dfdaf4a5f927b2109cb3f4) [2022-07-25T20:44:49-2a6393f-24dc27a/darwin-amd64-10_14](https://build.golang.org/log/99081c715af7f107984bbf25ee529a1bb386afe1) [2022-07-25T18:11:01-4375b29-795a88d/plan9-386-0intro](https://build.golang.org/log/cb5fe95e5d275800ef3139747fb602ad99ea159e) [2022-07-25T14:16:17-178fdf9-64f2829/plan9-386-0intro](https://build.golang.org/log/d5eae87730ea926b99e5c20558b3f7d53adcaa7e) [2022-07-22T20:12:19-7b605f4-c5da4fb/plan9-386-0intro](https://build.golang.org/log/745ec57924a1086a4044a42e8daaf9cdad4b755a) [2022-07-21T20:11:06-ec1f924-c4a6d30/plan9-386-0intro](https://build.golang.org/log/4a72300281f575745ce47d3a3e719e2ad624395f) [2022-07-15T15:11:26-22d1494-2aa473c/windows-386-2008-newcc](https://build.golang.org/log/76a64e26cc4949d727458d3d75bf0a7d957761ba) [2022-07-15T14:27:36-1a4e02f-4651ebf/windows-arm64-10](https://build.golang.org/log/31cefa7b619aab91a17a2e86457aea315f08992f) [2022-07-15T14:20:24-db8f89b-4651ebf/windows-arm64-10](https://build.golang.org/log/32b673e2683994bcdf4b3ca0031b2ba66d6fa5f2) [2022-07-14T21:03:14-db8f89b-783ff7d/windows-arm64-11](https://build.golang.org/log/da6886000059b7db0800204df81e5ae4cd151a5b) [2022-07-14T21:01:58-db8f89b-aa80228/darwin-arm64-11](https://build.golang.org/log/cbff206e69443d9ec55c0fb38c5b0f3205fe7ba9) [2022-07-14T19:05:09-db8f89b-a906d3d/windows-arm64-10](https://build.golang.org/log/283ac24f2b8085b434b86ff5fa37d5762efcaa40) [2022-07-14T15:54:36-db8f89b-266c70c/windows-arm64-10](https://build.golang.org/log/9b4cda8292abc11d4807641e8af88e1cf57b2fd3) [2022-07-14T01:47:39-db8f89b-558785a/windows-arm64-11](https://build.golang.org/log/d9dc888e4b2ad7d0a1b9804a1dd87cc9e4329946)

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?

Comment From: findleyr

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

Comment From: adonovan

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.

Comment From: bcmills

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.)

Comment From: bcmills

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](https://build.golang.org/log/178ae8329e98ee4f609deb469b12fc1bd9a69315) [2022-09-13T12:38:14-ec74389-c7a0b15/netbsd-amd64-9_0](https://build.golang.org/log/72f0acbb973ba0bdb8c7fe1a5f276dc69a0709a7) [2022-09-13T12:37:11-ec74389-f4a587b/netbsd-amd64-9_0](https://build.golang.org/log/3bc97ae4192e66fa6f7b33c65df02ac62b772c19) [2022-09-11T21:08:46-e71c338-00ece11/netbsd-amd64-9_0](https://build.golang.org/log/f6a4668f0b3fbbb70e3daa32cdc83be5fd7c0edb) [2022-09-09T18:42:57-0eebaab-b244b89/netbsd-386-9_0](https://build.golang.org/log/406ce242c3f6c77761eb805d4629ca53cf105e37) [2022-09-09T15:36:26-eeaf4eb-600db8a/netbsd-386-9_0](https://build.golang.org/log/ae71face5bb5ca102dfd907cbf1773363e9b156a) [2022-09-09T15:10:10-4754f75-9a5574a/netbsd-amd64-9_0](https://build.golang.org/log/a935017abcfbd07993680cc96353c0b4686079fb) [2022-09-08T15:55:44-a630751-cd8aa40/netbsd-amd64-9_0](https://build.golang.org/log/7867b38b1d144b61219dd6986d8f9d4f13ce91cb) [2022-09-08T14:33:45-a630751-e5ed221/netbsd-386-9_0](https://build.golang.org/log/75debe6402ff81d00dc9ccc03a34e6e34d4c38dd) [2022-09-08T13:27:43-a630751-51fdfeb/darwin-arm64-11](https://build.golang.org/log/ac8935ac9f83d5e0fa8cf89589591a2195af6e14) [2022-09-07T16:37:07-dd1bab2-3e75859/darwin-arm64-12](https://build.golang.org/log/77dd3825c52c187fde473fa09d530218fb652cfd) [2022-09-07T14:47:36-c1dd25e-d81ed4d/netbsd-386-9_0](https://build.golang.org/log/a7e5864c41aed5bb4787633dd92427881d6330af) [2022-09-07T14:47:36-c1dd25e-d81ed4d/netbsd-amd64-9_0](https://build.golang.org/log/219f58daea91f3715cc1437f7e38c4b488575e96) [2022-09-07T14:33:56-c1dd25e-0752f4a/netbsd-386-9_0](https://build.golang.org/log/6d1ff239251cc337f5b70a136b8729f81fa90626) [2022-09-07T00:49:41-83d7619-8fd2073/netbsd-amd64-9_0](https://build.golang.org/log/9e517d8860c10fb8c26971e908f96865c79b68f4) [2022-09-06T22:14:56-83d7619-c82304b/netbsd-386-9_0](https://build.golang.org/log/cda1394454d4ca227e97515de634924dc9550be3) [2022-09-06T17:36:47-83d7619-e0e0c8f/netbsd-amd64-9_0](https://build.golang.org/log/193174b9deca20217c5cf16e4d5c29d9c989b707) [2022-09-06T16:17:26-83d7619-4a4127b/netbsd-amd64-9_0](https://build.golang.org/log/d5973a5e11db6a7dfef5ed1b192b107380d56f03) [2022-09-06T16:04:07-83d7619-60ef4b2/netbsd-386-9_0](https://build.golang.org/log/bedc9fb7a3e04466cc47d43ca2204945f9b08956) [2022-09-06T12:35:13-d815cba-8a32354/netbsd-amd64-9_0](https://build.golang.org/log/970d0f035930da32c705b684eb52c57582635f39) [2022-09-03T06:26:16-d815cba-9fc09d2/netbsd-386-9_0](https://build.golang.org/log/49673f6036b9fe2b681eeacbdc4ecbfb2c7854a8) [2022-09-02T18:51:37-be9eab1-5b1fbfb/netbsd-amd64-9_0](https://build.golang.org/log/3baef44768df183b43c1f382aab12b8ffb9108da) [2022-09-02T18:17:25-5ba8541-0cf996a/netbsd-amd64-9_0](https://build.golang.org/log/df5643eacc5844e2b68924d833c992697a9ec8a7) [2022-09-02T15:27:18-eb8352e-321a220/netbsd-386-9_0](https://build.golang.org/log/c071bee45f1aeb9134d29f08195c52d4f6a58823) [2022-09-02T05:05:13-33c1ddd-8e35910/darwin-arm64-12](https://build.golang.org/log/0a8f493d3fb8e24f293c7a993566e49225c6cfa9) [2022-09-02T05:05:13-33c1ddd-8e35910/netbsd-amd64-9_0](https://build.golang.org/log/2397999715ec6855f7d33e260e57985d8c41d1d7) [2022-09-02T00:06:00-40cfaff-0592ce5/netbsd-amd64-9_0](https://build.golang.org/log/233feb2de27b6a09639940ac94e3d90732ef41ff) [2022-09-01T23:18:06-40cfaff-1280ae7/netbsd-amd64-9_0](https://build.golang.org/log/fbe9587e4eda9a8fb9eb4783eb804d202d6d43bd) [2022-09-01T22:37:04-40cfaff-aa5ff29/netbsd-386-9_0](https://build.golang.org/log/000aa3c8d952be65ee7ed1014757069e88edb640) [2022-09-01T18:08:05-f16be35-ef84141/netbsd-386-9_0](https://build.golang.org/log/e8248340783cdc7c7fb313d588f367f2892f7cad) [2022-09-01T15:27:30-6c10975-86e9e0e/netbsd-386-9_0](https://build.golang.org/log/994db372977e46635bc3a3264a9012ff5e1f5f86) [2022-09-01T03:24:42-49ab44d-91ef076/netbsd-amd64-9_0](https://build.golang.org/log/781a919765bffee76e3feca038a28f7f12aa26b5) [2022-09-01T00:42:27-550e1f5-64b260d/netbsd-386-9_0](https://build.golang.org/log/eb9903a5db58c2139b1a6bd29c33ce79d021957c) [2022-08-31T23:52:00-550e1f5-ca634fa/netbsd-amd64-9_0](https://build.golang.org/log/5c06c96640447e25876152f3ff810f4e6b10d62b) [2022-08-31T22:22:43-550e1f5-e4b624e/netbsd-amd64-9_0](https://build.golang.org/log/050b8ca1efebd1ea3a55e9dcad68c30d30c591b3) [2022-08-31T22:10:52-550e1f5-33a7e5a/netbsd-386-9_0](https://build.golang.org/log/ccb1be631338df0b55cfaa360b1183aa7f3f6094) [2022-08-31T21:08:24-4ccc73c-ce77a46/netbsd-386-9_0](https://build.golang.org/log/a6b0fd946e119e120c4871beb98236acbd801845) [2022-08-31T21:08:24-4ccc73c-889d326/netbsd-amd64-9_0](https://build.golang.org/log/cc5ade97bdf85213ea8c0245486b7de03d5d65a2) [2022-08-31T16:26:07-41c3a9b-d2d5929/netbsd-386-9_0](https://build.golang.org/log/4ec17b41eb3c5a8d9c4733d15d1b415b3b4235df) [2022-08-31T01:16:54-248c34b-ee0e40a/netbsd-amd64-9_0](https://build.golang.org/log/04547691fcaf680bf02a081c4b6c57be6b634361) [2022-08-30T21:30:15-248c34b-bd56cb9/netbsd-amd64-9_0](https://build.golang.org/log/6cc62a717ad7cf778406c971c15ea51c3bb759e1) [2022-08-30T00:49:19-248c34b-629ae1c/netbsd-amd64-9_0](https://build.golang.org/log/4c80dc13469ab295d94bc578796f898ed0ae9f82) [2022-08-28T16:04:49-717a671-846c378/netbsd-386-9_0](https://build.golang.org/log/c4a66b7d3f4782f6e7b57dfbdfe3d2238b75e648) [2022-08-26T19:15:02-717a671-897ad2f/netbsd-amd64-9_0](https://build.golang.org/log/e21a233dc60e92caa9672a12bffe6b66838171a3) [2022-08-26T18:28:14-717a671-bf812b3/netbsd-386-9_0](https://build.golang.org/log/6ef77844158653a3a5367aabbe2e0c3ad4a44456) [2022-08-26T17:48:20-7f23307-296c40d/netbsd-amd64-9_0](https://build.golang.org/log/4cf3360c8a6818759645164f6bce37db1a11bdc2) [2022-08-26T15:36:36-7c5e035-951d2c6/netbsd-386-9_0](https://build.golang.org/log/a4183f76efa7cee46b3f8f13fdaa862608cdb2c1) [2022-08-25T19:17:14-d35bb19-f64f12f/netbsd-386-9_0](https://build.golang.org/log/1916bbd565f13badf52a10c6cbee34099ec8a384) [2022-08-25T17:31:33-db6a62c-83b5fe6/netbsd-386-9_0](https://build.golang.org/log/26034ffccf387ce6d5da51317b7c0d5465405fca) [2022-08-25T14:56:18-db6a62c-e4be2ac/netbsd-amd64-9_0](https://build.golang.org/log/080c80f427d6a3e9206f9af765253c5ff2518797) [2022-08-25T04:00:07-db6a62c-8c8429f/netbsd-386-9_0](https://build.golang.org/log/0632c880b16579729dbe2491c489fc0e1b0d3c29) [2022-08-25T04:00:07-db6a62c-8c8429f/netbsd-amd64-9_0](https://build.golang.org/log/a666ea4c99cdc4cf68f6f734c2b90571c3d83d97) [2022-08-24T21:20:11-db6a62c-e4bed41/netbsd-amd64-9_0](https://build.golang.org/log/c8421302a1803c562b8e6e0110404d8c94f370a9) [2022-08-24T17:56:56-587a153-cfae70c/netbsd-386-9_0](https://build.golang.org/log/baa65ed728fd00f8c4e5480d0bda9188ffd101e7) [2022-08-24T15:37:38-587a153-d5aa088/netbsd-amd64-9_0](https://build.golang.org/log/7e2dcd2a4f1f3077665da8083e60d87f0b1e4149) [2022-08-24T14:31:08-c837a30-f983a93/netbsd-amd64-9_0](https://build.golang.org/log/b3d226bb3a00f766e2035ccf58638282c7a43c7c) [2022-08-24T12:12:12-587a153-b5a9459/netbsd-amd64-9_0](https://build.golang.org/log/caecb7084bb781ba347f65fb6f57aac5e21fbfc8) [2022-08-23T20:32:50-587a153-fc0d423/netbsd-386-9_0](https://build.golang.org/log/dc8a5042203b88507155c4d52b6b5ac6e07dbb47) [2022-08-19T16:55:03-e55fb40-7dad1d2/netbsd-386-9_0](https://build.golang.org/log/59471b61d9a3de3c219f037440229a8b2996dbc6) [2022-08-19T16:17:50-e55fb40-5729419/netbsd-386-9_0](https://build.golang.org/log/ae365a434f2ad1aba86343dcbcf1c37b7e88776d) [2022-08-19T15:53:47-e55fb40-f324355/netbsd-amd64-9_0](https://build.golang.org/log/404c696f3c2531de885e9feec09e0b88666ea99d) [2022-08-19T03:09:05-e55fb40-a409356/netbsd-386-9_0](https://build.golang.org/log/5d933c6dbd4cbee571eb6891ba674bbfb2eecda7) [2022-08-15T20:41:00-938e162-de0f4d1/netbsd-amd64-9_0](https://build.golang.org/log/814442b3c379948160d82e9310e011b0034d0320) [2022-08-15T20:02:31-938e162-7b45edb/netbsd-amd64-9_0](https://build.golang.org/log/8b6fe466d2eebfb8af568bae2fcf62320186d6a2) [2022-08-15T19:17:20-8c83056-7b45edb/netbsd-amd64-9_0](https://build.golang.org/log/03a8688ab5b21f6eacb68e25ffb8c7a521e98523) [2022-08-15T17:42:12-987de34-1f833e4/darwin-amd64-12_0](https://build.golang.org/log/00046e0b005c7660d676a3a415561950048f756a)

(66 matching logs)

Comment From: findleyr

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?

Comment From: findleyr

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.

Comment From: gopherbot

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

Comment From: bcmills

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.)

Comment From: gopherbot

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

Comment From: findleyr

A hit! https://build.golang.org/log/4eea0e5bfe425fcd097a49fcb92fd015fa88f383

Comment From: adonovan

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

Comment From: findleyr

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.

**Comment From: adonovan**

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.

**Comment From: findleyr**

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.

**Comment From: bcmills**

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.)

**Comment From: findleyr**

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

[2022-09-17T02:56:51-4d18923-cc1b20e/netbsd-amd64-9_0](https://build.golang.org/log/333cfe1792860f9ae99158d4b91be4de74ee565b)
[2022-09-16T17:59:31-a61f20e-a84f46a/netbsd-amd64-9_0](https://build.golang.org/log/caf074922535c82086b3055373afed4eb7c852d6)
[2022-09-16T16:33:11-a61f20e-8451529/netbsd-386-9_0](https://build.golang.org/log/df54908eba0ab6e17498c82572922785dd399591)
[2022-09-16T14:49:13-a61f20e-b35b4a3/netbsd-amd64-9_0](https://build.golang.org/log/4eea0e5bfe425fcd097a49fcb92fd015fa88f383)

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

**Comment From: bcmills**

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

**Comment From: bcmills**

As expected, `cmd/go` itself has already exited at the point of the hang:

2022/09/20 08:42:37 error killing the Go command: os: process already finished


But there are an awful lot of processes in that dump, and nothing that obviously stands out as a subprocess of `cmd/go` that would have access to `stdout` or `stderr`. 😕

**Comment From: bcmills**

Here's an off-the-wall theory: maybe the file descriptors actually *are* closed, and something in the parent Go process (i.e. `gopls`) isn't waking up from the end-of-stream event..?

#53434 could be related.

**Comment From: bcmills**

To check that hypothesis, two suggestions:
1. `gopls` should log exactly which PID was the stuck `go` command, just in case it left a remnant in the `ps` or` lsof` output that we can track down.
2. `gopls` should invoke `debug.SetTraceback("system")` before the terminal `panic` [here](https://cs.opensource.google/go/x/tools/+/master:internal/gocommand/invoke.go;l=333;drc=a61f20e1aa172e30522c65973ead5509cecf01c2).

**Comment From: adonovan**

A simpler explanation is that gopls sent SIGINT, waited for 1s, then sent SIGKILL, and the child (go) exited during the 1s grace period, causing kill(2) to fail with ESRCH (-> ErrProcessDone = "process already finished"). Seems like that's to be expected if a busy machine causes a delay in responding to SIGINT. Perhaps the debugging logic should treat ErrProcessDone as success, not a reason to debug?

**Comment From: findleyr**

@adonovan but in this case the panic indicates that we waited up to 10 seconds *after* that kill. The error from Kill is merely logged.

Per @bcmills comment on the CL, we should expect that `cmd.Wait` returns quickly once the process is done.

**Comment From: adonovan**

> the panic indicates that we waited up to 10 seconds after that kill. The error from Kill is merely logged.

Good point.

So the sequence of events that we know must have happened from the log is:
- ctx cancelled
- SIGINT
- wait 1s
- SIGKILL => ErrProcessDone
- wait 10s
- dump shows a go process still alive

ErrProcessDone means that either waitpid returned ESRCH or that this was the second call to Process.signal after a first one set the 'done' event at the end of a successful call to Process.wait. In either case, the process must already have terminated.

Is it possible that the dump shows a different go process? Seems improbable, but I feel like we've eliminated the impossible. We should log the pid of cmd.Process, like @bcmills suggested.




**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-09-20 12:40 darwin-arm64-12 tools@df2eb938 go@1eeb257b x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/b9b1a088277e0bee9bdcc9f99c745b5a9476bbc6">log</a>)</summary>

    2022/09/20 08:42:37 error killing the Go command: os: process already finished
    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: see golang/go#54461 for more details

    goroutine 17901 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand()
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x34c
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100f61f60, 0x14004c8d9e0}, 0x14005848000)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x2f0
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x1400645d148, {0x100f61f60, 0x14004c8d9e0}, {0x100f5a548?, 0x14003f0d380}, {0x100f5a548?, 0x14003f0d3b0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xcc4
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x1400645d110?, {0x100f61f60, 0x14004c8d9e0}, {0x100f5a548?, 0x14003f0d380?}, {0x100f5a548?, 0x14003f0d3b0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/mod.Diagnostics({0x100f61f98, 0x14003fda3c0}, {0x100f6dd78, 0x14002971540})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/mod/diagnostics.go:24 +0x128
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0x14005298a20, {0x100f61f98, 0x14003fadd40}, {0x100f6dd78, 0x14002971540}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:229 +0x24c
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0x14005298a20, {0x100f6dd78, 0x14002971540}, {0x14006365ea0, 0x1, 0x1}, 0xe0?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:156 +0x238
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100f6dd78?, 0x14002971540?}, {0x14006365ea0?, 0x14002e2cc60?, 0x140053cd900?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:133 +0x78
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:131 +0x6c
</details>

<details><summary>2022-09-21 16:48 darwin-amd64-12_0 tools@2f047133 go@d7df8722 x/tools/gopls/internal/regtest/completion (<a href="https://build.golang.org/log/f481f48cd53823100f84c7e7f10e3eae44c82d12">log</a>)</summary>

    2022/09/21 18:03:09 error killing the Go command: os: process already finished
    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: see golang/go#54461 for more details

    goroutine 7465 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand()
        /Users/gopher/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x391
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1cfb720, 0xc0021a4540}, 0xc0004c42c0)
        /Users/gopher/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3ca
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0004dd7e8, {0x1cfb720, 0xc0021a4540}, {0x1cf3ae0?, 0xc000310db0}, {0x1cf3ae0?, 0xc000310de0})
        /Users/gopher/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xef9
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0004dd7b0?, {0x1cfb720, 0xc0021a4540}, {0x1cf3ae0?, 0xc000310db0?}, {0x1cf3ae0?, 0xc000310de0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc002814000?, {0x1cfb758, 0xc00155d6b0}, {0xc001aee850, 0x6a}, 0x0?, 0x0?)
        /Users/gopher/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc00203b0e0, {0x1cfb758, 0xc00155d4d0}, {0x1d07fb8, 0xc002814000}, {0xc0004a36e0, 0x1, 0x35418e635?}, 0x0)
        /Users/gopher/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:188 +0x3e5
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc00203b0e0, {0x1d07fb8, 0xc002814000}, {0xc0004a36e0, 0x1, 0x1}, 0x98?)
        /Users/gopher/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:153 +0x229
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x1d07fb8?, 0xc002814000?}, {0xc0004a36e0?, 0xc002523060?, 0xc0013f59b0?})
        /Users/gopher/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:133 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /Users/gopher/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:131 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Change https://go.dev/cl/434637 mentions this issue: `internal/gocommand: show pid of process`

**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-12 14:51 netbsd-386-9_0 tools@b20ae4bc go@5bef9381 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/156a0f5fa1347f49e78d38d8ee6255780c48a411">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65454
    serve.go:438: debug server listening at http://localhost:65453
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 6978 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x9d59500)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8d25e34, 0x96357c0}, 0xbc8cc60)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xa1ecd48, {0x8d25e34, 0x96357c0}, {0x8d20ed4, 0xb24ca98}, {0x8d20ed4, 0xb24cab0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xa1ecd48, {0x8d25e34, 0x96357c0}, {0x8d20ed4, 0xb24ca98}, {0x8d20ed4, 0xb24cab0})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xbbb2c00, {0x8d25df4, 0xac81fb0}, 0x1, {0xa586700, 0x2, 0x2})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:120 +0xd56
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xbbb2c00, {0x8d25df4, 0xac81fb0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:714 +0x235
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xbbb2c00, {0x8d25df4, 0xac81fb0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:648 +0x141
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x47
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe0c
</details>

<details><summary>2022-10-12 14:51 netbsd-amd64-9_0 tools@b20ae4bc go@947091d3 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/6ba8f9b4e1a872ed09d40fd2df5ff2d04ccefe35">log</a>)</summary>

    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:
    -------------------------
    PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 14897): see golang/go#54461 for more details

    goroutine 14379 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0060525a0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x117c588, 0xc005f7ff80}, 0xc005acf8c0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1c5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0068d0900, {0x117c588, 0xc005f7ff80}, {0x11742a0?, 0xc004a8bc50}, {0x11742a0?, 0xc004a8bc80})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x104d
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0068d08c8?, {0x117c588, 0xc005f7ff80}, {0x11742a0?, 0xc004a8bc50?}, {0x11742a0?, 0xc004a8bc80?})
    ...
    golang.org/x/tools/gopls/internal/lsp/protocol.ServerHandler.func1({0x117c5c0, 0xc00552f020}, 0xc004475d40, {0x117c908, 0xc00552ef60})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/protocol/protocol.go:157 +0x90
    golang.org/x/tools/gopls/internal/lsp/lsprpc.handshaker.func1({0x117c5c0, 0xc00552f020}, 0xc004475d40, {0x117c908?, 0xc00552ef60?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/lsprpc/lsprpc.go:515 +0xa43
    golang.org/x/tools/internal/jsonrpc2.MustReplyHandler.func1({0x117c5c0, 0xc00552f020}, 0xc00473ff80, {0x117c908?, 0xc00552ef60?})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:35 +0xf6
    golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1.2()
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:103 +0xa3
    created by golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:100 +0x20a
</details>

<details><summary>2022-10-12 14:51 netbsd-amd64-9_0 tools@b20ae4bc go@28a6f9cf x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/67ce9027a8b24d0a21e21364584d47d1957bc65f">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 10646): see golang/go#54461 for more details

    goroutine 3056 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00238c960)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x116f150, 0xc0021ad7a0}, 0xc002079b80)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0034c17a0, {0x116f150, 0xc0021ad7a0}, {0x1166c60?, 0xc0013d0090}, {0x1166c60?, 0xc0013d0180})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xef9
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0034c1768?, {0x116f150, 0xc0021ad7a0}, {0x1166c60?, 0xc0013d0090?}, {0x1166c60?, 0xc0013d0180?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc0034ae140?, {0x116f188, 0xc00154ecc0}, {0xc001221570, 0x64}, 0x0?, 0x0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc00026ef00, {0x116f188, 0xc00154eb10}, {0x117bf18, 0xc0034ae140}, {0xc000383c00, 0x1, 0x40ef87?}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:189 +0x3e3
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc00026ef00, {0x117bf18, 0xc0034ae140}, {0xc000383c00, 0x1, 0x1}, 0x88?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:154 +0x229
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x117bf18?, 0xc0034ae140?}, {0xc000383c00?, 0xc000003ba8?, 0xc002a13fb8?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: adonovan**

> Is it possible that the dump shows a different go process? Seems improbable, but I feel like we've eliminated the impossible. We should log the pid of cmd.Process, like @bcmills suggested.

The pid in the last log above clearly shows that that the go list process is the child of the test, not some other process in the container. Huh...

**Comment From: adonovan**

We still haven't seen a single log with both (a) the "error killing the Go command" message and (b) a pid showing that 'go' is the child of the test. So it's possible that the log with just (a) was merely a very slow (netbsd) machine and the log with just (b) was showing a different go process in the ps output. If both were to occur in the same log it would indicate a bug in the system call.

**Comment From: bcmills**

> merely a very slow (netbsd) machine

The NetBSD machines aren't particularly slow; they're buggy (#50138 up until yesterday, and #56180 after that).

**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-13 15:07 netbsd-amd64-9_0 tools@b2533141 go@4a0ce469 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/3d8706c2a03c7a887d098172d23397a673d5ef08">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65443
    serve.go:438: debug server listening at http://localhost:65442
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 32352 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc003546d20)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11dc940, 0xc001ac99e0}, 0xc005ad3b80)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc005025850, {0x11dc940, 0xc001ac99e0}, {0x11d4380?, 0xc0026a0c00}, {0x11d4380?, 0xc0026a0cc0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xef9
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc005025818?, {0x11dc940, 0xc001ac99e0}, {0x11d4380?, 0xc0026a0c00?}, {0x11d4380?, 0xc0026a0cc0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc003fb7180?, {0x11dc978, 0xc0012b9140}, {0xc0054d5f20, 0x60}, 0x0?, 0x0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc000b40700, {0x11dc978, 0xc0012b8d50}, {0x11eb198, 0xc003fb7180}, {0xc001480e30, 0x1, 0xc007442630?}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:189 +0x3e3
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc000b40700, {0x11eb198, 0xc003fb7180}, {0xc001480e30, 0x1, 0x1}, 0xc0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:154 +0x229
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x11eb198?, 0xc003fb7180?}, {0xc001480e30?, 0x56a84a?, 0xc0030c3860?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-13 17:41 netbsd-386-9_0 tools@ffb862b5 go@1ef685fb x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/f0ba1887edb1326da0d02f2823ac4b0e36304c15">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65450
    serve.go:438: debug server listening at http://localhost:65449
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 17114 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xb71f560)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8d29cf8, 0x97a5700}, 0xad7ebb0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x99a29a0, {0x8d29cf8, 0x97a5700}, {0x8d24d64, 0xb212768}, {0x8d24d64, 0xb212780})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x99a29a0, {0x8d29cf8, 0x97a5700}, {0x8d24d64, 0xb212768}, {0x8d24d64, 0xb212780})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ActivePackages(0x97c1b00, {0x8d29d18, 0x97456f8})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:1087 +0x2f
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xaf00d20, {0x8d29d18, 0x9c6d398}, {0x8d2f56c, 0x97c1b00}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:294 +0x15b4
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xaf00d20, {0x8d2f56c, 0x97c1b00}, {0xa8addf8, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:157 +0x2e2
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8d2f56c, 0x97c1b00}, {0xa8addf8, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x5c
</details>

<details><summary>2022-10-13 17:41 netbsd-amd64-9_0 tools@ffb862b5 go@89566448 x/tools/gopls/internal/regtest/workspace (<a href="https://build.golang.org/log/fae41953b826e8b493ef660060820354d301aaf3">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 12377): see golang/go#54461 for more details

    goroutine 6496 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0035f6210)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11d8388, 0xc0031004e0}, 0xc0035f8160)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00357d898, {0x11d8388, 0xc0031004e0}, {0x11cfa80?, 0xc00158f8c0}, {0x11cfa80?, 0xc00158f8f0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00357d860?, {0x11d8388, 0xc0031004e0}, {0x11cfa80?, 0xc00158f8c0?}, {0x11cfa80?, 0xc00158f8f0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc00324bb80?, {0x11d83c0, 0xc0015808d0}, {0xc0028ac900, 0x54}, 0x0?, 0x0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc001bf3700, {0x11d83c0, 0xc001580660}, {0x11e4ee0, 0xc00324bb80}, {0xc002c532c0, 0x1, 0x50a603?}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:189 +0x5ab
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc001bf3700, {0x11e4ee0, 0xc00324bb80}, {0xc002c532c0, 0x1, 0x1}, 0xc0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:154 +0x1ff
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x11e4ee0?, 0xc00324bb80?}, {0xc002c532c0?, 0xc00324bb80?, 0xc0030dd8c0?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-13 20:55 netbsd-386-9_0 tools@9ffaf69c go@a8ca70ff x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/cef3121d14c0697699016f598e1207b6c38576cf">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 18084): see golang/go#54461 for more details

    goroutine 18618 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc946b10)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8cedde8, 0xdfd6600}, 0xd1109a0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xe1f8a1c, {0x8cedde8, 0xdfd6600}, {0x8ce8eb4, 0xc4ee0a8}, {0x8ce8eb4, 0xc4ee0c0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xe1f8a1c, {0x8cedde8, 0xdfd6600}, {0x8ce8eb4, 0xc4ee0a8}, {0x8ce8eb4, 0xc4ee0c0})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xb629080, {0x8cede08, 0x94a0978}, {0xb12b730, 0x63}, 0x0, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x136
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xdc00000, {0x8cede08, 0x94a0798}, {0x8cf2cdc, 0xb629080}, {0xcf3df60, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:189 +0x319
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xdc00000, {0x8cf2cdc, 0xb629080}, {0xcf3df60, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:154 +0x1be
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8cf2cdc, 0xb629080}, {0xcf3df60, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x5c
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-13 20:55 netbsd-386-9_0 tools@9ffaf69c go@8826bdd1 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/bea321bbb921449cb3d6986fbc23af16efebe0ca">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 14749): see golang/go#54461 for more details

    goroutine 20187 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xd7d0a80)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8cedde8, 0x972e940}, 0xc5f0630)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xf222a1c, {0x8cedde8, 0x972e940}, {0x8ce8eb4, 0x9daa888}, {0x8ce8eb4, 0x9daa900})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xf222a1c, {0x8cedde8, 0x972e940}, {0x8ce8eb4, 0x9daa888}, {0x8ce8eb4, 0x9daa900})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xf477680, {0x8cede08, 0xd64ac00}, {0xef51490, 0x62}, 0x0, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x136
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xd5fe3c0, {0x8cede08, 0xd64ab40}, {0x8cf2cdc, 0xf477680}, {0xdec94e0, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:189 +0x319
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xd5fe3c0, {0x8cf2cdc, 0xf477680}, {0xdec94e0, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:154 +0x1be
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8cf2cdc, 0xf477680}, {0xdec94e0, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x5c
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-13 20:55 netbsd-amd64-9_0 tools@9ffaf69c go@9ddb8ea7 x/tools/gopls/internal/regtest/workspace (<a href="https://build.golang.org/log/e489f281ad0f2d7ec29669356af56fc5a5109850">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 18258): see golang/go#54461 for more details

    goroutine 18458 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc003fdbbf0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11b6450, 0xc0033fe540}, 0xc00373dce0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc003c79738, {0x11b6450, 0xc0033fe540}, {0x11adea0?, 0xc001957dd0}, {0x11adea0?, 0xc001957e00})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xef9
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc003c79700?, {0x11b6450, 0xc0033fe540}, {0x11adea0?, 0xc001957dd0?}, {0x11adea0?, 0xc001957e00?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc003494640?, {0x11b6488, 0xc001374de0}, {0xc00352ab40, 0x54}, 0x0?, 0x0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc0029a6800, {0x11b6488, 0xc001374bd0}, {0x11c3618, 0xc003494640}, {0xc0025ccb50, 0x1, 0xc0026519e0?}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:189 +0x3e3
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0029a6800, {0x11c3618, 0xc003494640}, {0xc0025ccb50, 0x1, 0x1}, 0x0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:154 +0x229
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x11c3618?, 0xc003494640?}, {0xc0025ccb50?, 0xc001b1a500?, 0xc000ceb260?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-17 12:57 netbsd-amd64-9_0 tools@b93a56f2 go@7ffc1e47 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/68b3fd6621f78473f43455b120c4a4d597e43c97">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65454
    serve.go:438: debug server listening at http://localhost:65453
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 9936 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0005b1d70)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12040c0, 0xc0039013e0}, 0xc000ee1a20)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001a67e68, {0x12040c0, 0xc0039013e0}, {0x11fbb00?, 0xc0010418f0}, {0x11fbb00?, 0xc001041920})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xef9
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001a67e30?, {0x12040c0, 0xc0039013e0}, {0x11fbb00?, 0xc0010418f0?}, {0x11fbb00?, 0xc001041920?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc0001d6780, {0x1204050, 0xc001c70c80}, 0x1, {0xc001f047a0, 0x2, 0xae67bd?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xea5
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc0001d6780, {0x1204050, 0xc001c70c80}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x1ff
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc0001d6780, {0x1204050, 0xc001c70c80}, 0xc0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-17 12:57 netbsd-amd64-9_0 tools@b93a56f2 go@c83d4fba x/tools/gopls/internal/regtest/completion (<a href="https://build.golang.org/log/c6da70aaa9bb16337c7e4c06b7d0263d676871cc">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 11323): see golang/go#54461 for more details

    goroutine 4004 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc003223500)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11877c0, 0xc002779a40}, 0xc0032b5080)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc002d57e68, {0x11877c0, 0xc002779a40}, {0x117f300?, 0xc0010ff560}, {0x117f300?, 0xc0010ff590})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc002d57e30?, {0x11877c0, 0xc002779a40}, {0x117f300?, 0xc0010ff560?}, {0x117f300?, 0xc0010ff590?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc002894500, {0x1187750, 0xc002098100}, 0x1, {0xc001e58440, 0x2, 0xffffffffffffffff?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xea5
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc002894500, {0x1187750, 0xc002098100}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x1ff
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc002894500, {0x1187750, 0xc002098100}, 0xe0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: adonovan**

From the last log, we're seeing that `go list` (pid 11323) is slow to complete, more than 1 minute, on the netbsd builder. We don't have the complete go list command, but we can tell from the output of ps that it is definitely running the compiler, which is surprising, as that should only be needed in -export mode, which gopls has no need for. Notice the three "(compile)" child processes in ps, plus all gopls' in/out/err pipes in fstat. The compile processes have all terminated (ps cannot display their argv arrays because the address spaces have been destroyed), yet the go list process has not closed its pipes.

ps axo ppid,pid,command:

PPID PID COMMAND ... 314 6958 /tmp/workdir/go/bin/go test -short ./... 6958 10212 /tmp/workdir/tmp/go-build957980754/b501/completion.test -test.testl 11323 10917 (compile) 10212 11323 go list -modfile=/tmp/workdir/tmp/go.e8b79c677cbf58581b70654d24944f [truncated] 11323 11598 (compile) 11323 11901 (compile) ...


fstat:

USER CMD PID FD MOUNT INUM MODE SZ|DV R/W ... root go 11323 wd / 1622282 drwxr-xr-x 512 r root go 11323 0 / 1713612 crw-rw-rw- null r root go 11323 1 pipe 0xffff80320e6911a0 -> 0xffff803233ae22c0 w root go 11323 2 pipe 0xffff8031e6711d98 -> 0xffff803233ae2ea0 w root go 11323 3 / 1400146 -rw-r--r-- 86547 r root go 11323 4 / 1442046 -rw-r--r-- 1115 r root go 11323 5 / 1448217 -rw-r--r-- 186 r root go 11323 6 / 1442053 -rw-r--r-- 3407 r root go 11323 7 / 1442035 -rw-r--r-- 195 r root go 11323 8 / 1442034 -rw-r--r-- 5573 r root go 11323 9 / 1442142 -rw-r--r-- 3069 r root go 11323 10 / 1442405 -rw-r--r-- 133 r root go 11323 11 / 1442062 -rw-r--r-- 2864 r root go 11323 12 / 1442418 -rw-r--r-- 1972 r root go 11323 13 / 1442427 -rw-r--r-- 3924 r root go 11323 14 / 1348570 -rw-r--r-- 393 r root go 11323 15 / 1442421 -rw-r--r-- 1036 r root go 11323 16 pipe 0xffff8031a85218d0 <- 0x0 rn root go 11323 17 kqueue pending 0 root go 11323 18 pipe 0xffff803253411638 <- 0xffff80325f6a22a8 rn root go 11323 19 pipe 0xffff80325f6a22a8 -> 0xffff803253411638 wn root go 11323 20 pipe 0xffff8032539119d0 <- 0x0 rn root go 11323 21 pipe 0xffff8030f7b30c70 <- 0x0 rn root go 11323 22 pipe 0xffff803283de7e80 <- 0x0 rn root go 11323 23 pipe 0xffff8031d28892d8 <- 0x0 rn root go 11323 24 / 1399130 -rw-r--r-- 329 r root go 11323 27 pipe 0xffff8030f7b30b40 <- 0x0 rn root go 11323 28 pipe 0xffff80319abc1c68 <- 0x0 rn root go 11323 29 pipe 0xffff8030db831e80 <- 0x0 rn root go 11323 34 pipe 0xffff803233637c48 <- 0x0 rn root go 11323 36 / 1713612 crw-rw-rw- null r root go 11323 37 pipe 0xffff8030f7b30090 <- 0xffff80304c451af0 rn root go 11323 38 pipe 0xffff80304c451af0 -> 0xffff8030f7b30090 wn root go 11323 39 pipe 0xffff8031a8521670 <- 0xffff80304c451170 rn root go 11323 40 pipe 0xffff80304c451170 -> 0xffff8031a8521670 wn ...



**Comment From: bcmills**

The NetBSD hangs at this point are almost certainly a manifestation of #56180.

One of the `compile` subprocesses could plausibly be just `go tool compile -V=full`, used to obtain the cache ID for the compiler:
https://cs.opensource.google/go/go/+/master:src/cmd/go/internal/work/buildid.go;l=162;drc=85b02de083b5e337bcb581005d0efca883fdb3d9

Unfortunately, without a more complete command line (or a `SIGQUIT` dump)  I don't have a theory for what the other two `compile` processes might be.

**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-17 19:48 netbsd-amd64-9_0 tools@fd32990e go@07c57aff x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/ba81a58c576db27572866708db5061154efec001">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 19616): see golang/go#54461 for more details

    goroutine 31203 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc006e95710)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1196cc0, 0xc00027e6c0}, 0xc005ed8b00)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0032b1e68, {0x1196cc0, 0xc00027e6c0}, {0x118e780?, 0xc00199f7d0}, {0x118e780?, 0xc00199f800})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0032b1e30?, {0x1196cc0, 0xc00027e6c0}, {0x118e780?, 0xc00199f7d0?}, {0x118e780?, 0xc00199f800?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc006c0b540, {0x1196c50, 0xc001691b00}, 0x1, {0xc0057a4b40, 0x2, 0x0?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xea5
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc006c0b540, {0x1196c50, 0xc001691b00}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x1ff
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc006c0b540, {0x1196c50, 0xc001691b00}, 0xc0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: adonovan**

Yes, that does look like the explanation. (Nice work tracking that one down, BTW.)

I'll limit my attention to non-netbsd platforms going forward.

**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-17 20:15 netbsd-amd64-9_0 tools@b2efd4d1 go@947091d3 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/806b92a6ef011e51082ac351cfe047268ab84d4d">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65458
    serve.go:438: debug server listening at http://localhost:65457
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 36653 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00815e8d0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11eb330, 0xc0092074a0}, 0xc00813a420)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1c5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0091a5118, {0x11eb330, 0xc0092074a0}, {0x11e2f60?, 0xc0081615f0}, {0x11e2f60?, 0xc008161620})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x104d
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0091a50e0?, {0x11eb330, 0xc0092074a0}, {0x11e2f60?, 0xc0081615f0?}, {0x11e2f60?, 0xc008161620?})
    ...
    golang.org/x/tools/gopls/internal/lsp/mod.Diagnostics({0x11eb368, 0xc00922d4a0}, {0x11f5840, 0xc007eade00})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/mod/diagnostics.go:32 +0x14e
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc008bdb300, {0x11eb368, 0xc009585d10}, {0x11f5840, 0xc007eade00}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:230 +0x2cd
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc008bdb300, {0x11f5840, 0xc007eade00}, {0xc0080fc120, 0x1, 0x1}, 0x98?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:157 +0x2f1
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x11f5840?, 0xc007eade00?}, {0xc0080fc120?, 0xc001737d00?, 0xc0093187e0?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-18 15:43 netbsd-amd64-9_0 tools@a9b653b4 go@54ad7f33 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/8bd433fe12dac9a1b07702488fc7c2df54cd8e3c">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 11150): see golang/go#54461 for more details

    goroutine 16029 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0043700f0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1196cf0, 0xc007580180}, 0xc006a19600)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc003e91850, {0x1196cf0, 0xc007580180}, {0x118e7e0?, 0xc0023f4360}, {0x118e7e0?, 0xc0023f4420})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc003e91818?, {0x1196cf0, 0xc007580180}, {0x118e7e0?, 0xc0023f4360?}, {0x118e7e0?, 0xc0023f4420?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc0064be500?, {0x1196d28, 0xc001966d50}, {0xc00073de60, 0x5e}, 0x0?, 0x0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc0041c8400, {0x1196d28, 0xc001966ab0}, {0x11a3af8, 0xc0064be500}, {0xc005dacac0, 0x3, 0x53b2bba8d?}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:189 +0x3e3
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0041c8400, {0x11a3af8, 0xc0064be500}, {0xc005dacac0, 0x3, 0x4}, 0x40?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:154 +0x229
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x11a3af8?, 0xc0064be500?}, {0xc005dacac0?, 0xc005d087e0?, 0xc0040bf230?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x90
</details>

<details><summary>2022-10-18 15:43 netbsd-amd64-9_0 tools@a9b653b4 go@54ad7f33 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/8bd433fe12dac9a1b07702488fc7c2df54cd8e3c">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65436
    serve.go:438: debug server listening at http://localhost:65435
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 45686 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00761f410)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12031b0, 0xc007b36a20}, 0xc00767a000)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007d5fe68, {0x12031b0, 0xc007b36a20}, {0x11fac20?, 0xc0076701e0}, {0x11fac20?, 0xc007670210})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc007d5fe30?, {0x12031b0, 0xc007b36a20}, {0x11fac20?, 0xc0076701e0?}, {0x11fac20?, 0xc007670210?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc007795900, {0x1203140, 0xc007a4f5c0}, 0x1, {0xc001347aa0, 0x2, 0xc00295d598?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xea5
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc007795900, {0x1203140, 0xc007a4f5c0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x1ff
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc007795900, {0x1203140, 0xc007a4f5c0}, 0xc0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-19 20:55 netbsd-amd64-9_0 tools@9eda97bc go@947091d3 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/83eb58adbaa7313c701fb83e9ee42aa0139d6a30">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65462
    serve.go:438: debug server listening at http://localhost:65461
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 37271 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc001afcae0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11eb4b0, 0xc007a94600}, 0xc007895a20)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1c5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007aa5e60, {0x11eb4b0, 0xc007a94600}, {0x11e30e0?, 0xc007ae3bc0}, {0x11e30e0?, 0xc007ae3bf0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x104d
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc007aa5e28?, {0x11eb4b0, 0xc007a94600}, {0x11e30e0?, 0xc007ae3bc0?}, {0x11e30e0?, 0xc007ae3bf0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc007a86500, {0x11eb440, 0xc007919bc0}, 0x1, {0xc000bfa420, 0x2, 0x7f7ff7e9b1d8?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0x5a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc007a86500, {0x11eb440, 0xc007919bc0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x205
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc007a86500, {0x11eb440, 0xc007919bc0}, 0xc0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x195
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe18
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-19 21:54 netbsd-amd64-9_0 tools@91311ab3 go@81908762 x/tools/gopls/internal/regtest/modfile (<a href="https://build.golang.org/log/30c5390046f6fe0131e31bd4951407ecfca669fb">log</a>)</summary>

    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:
    -------------------------
    PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 9249): see golang/go#54461 for more details

    goroutine 1746 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc000b23ef0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1191570, 0xc0006d80c0}, 0xc000326840)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000eb7030, {0x1191570, 0xc0006d80c0}, {0x1189080?, 0xc0001e56b0}, {0x1189080?, 0xc0001e5710})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000eb6ff8?, {0x1191570, 0xc0006d80c0}, {0x1189080?, 0xc0001e56b0?}, {0x1189080?, 0xc0001e5710?})
    ...
    golang.org/x/tools/gopls/internal/lsp/mod.Diagnostics({0x11915a8, 0xc0007fdb00}, {0x119e378, 0xc0000dc000})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/mod/diagnostics.go:32 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc000a5c200, {0x11915a8, 0xc000695c80}, {0x119e378, 0xc0000dc000}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:230 +0x2d0
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc000a5c200, {0x119e378, 0xc0000dc000}, {0xc000089ac0, 0x2, 0x2}, 0x88?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:157 +0x319
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x119e378?, 0xc0000dc000?}, {0xc000089ac0?, 0xc0005fe528?, 0xc000591fb8?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-19 21:54 netbsd-amd64-9_0 tools@91311ab3 go@3e6ca3a5 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/3aebfcdf839ff39ca41712680a1f6ff609e05ea1">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65458
    serve.go:438: debug server listening at http://localhost:65457
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 13017 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0006a3110)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12046b0, 0xc002b926c0}, 0xc003c0d8c0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00282de78, {0x12046b0, 0xc002b926c0}, {0x11fc120?, 0xc0012057a0}, {0x11fc120?, 0xc0012057d0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00282de40?, {0x12046b0, 0xc002b926c0}, {0x11fc120?, 0xc0012057a0?}, {0x11fc120?, 0xc0012057d0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc000d7c780, {0x1204640, 0xc001a35ec0}, 0x1, {0xc001f44400, 0x2, 0x2?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xe92
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc000d7c780, {0x1204640, 0xc001a35ec0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x1ff
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc000d7c780, {0x1204640, 0xc001a35ec0}, 0x80?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-19 21:54 netbsd-386-9_0 tools@91311ab3 go@72c58fb7 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/cb0fe4591f858956de576a291165d379c2d01cdc">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65449
    serve.go:438: debug server listening at http://localhost:65448
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 13290 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x9e75ec0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8d52ec0, 0x98c4440}, 0xae47d90)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x96e699c, {0x8d52ec0, 0x98c4440}, {0x8d4df14, 0xb2bac48}, {0x8d4df14, 0xb2bac60})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x96e699c, {0x8d52ec0, 0x98c4440}, {0x8d4df14, 0xb2bac48}, {0x8d4df14, 0xb2bac60})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc3fe600, {0x8d52ee0, 0xaab1cf8}, {0xc11b730, 0x64}, 0x0, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x136
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xa4260a0, {0x8d52ee0, 0xaab1c38}, {0x8d5876c, 0xc3fe600}, {0xa458bd0, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:189 +0x319
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xa4260a0, {0x8d5876c, 0xc3fe600}, {0xa458bd0, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:154 +0x1be
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8d5876c, 0xc3fe600}, {0xa458bd0, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x5c
</details>

<details><summary>2022-10-19 21:54 netbsd-386-9_0 tools@91311ab3 go@72c58fb7 x/tools/gopls/internal/regtest/modfile (<a href="https://build.golang.org/log/cb0fe4591f858956de576a291165d379c2d01cdc">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 8540): see golang/go#54461 for more details

    goroutine 1083 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x9a70ed0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8ce9b28, 0x99e2e40}, 0x9bba9a0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x98d0d38, {0x8ce9b28, 0x99e2e40}, {0x8ce4be4, 0x9825cf8}, {0x8ce4be4, 0x9825d10})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x98d0d38, {0x8ce9b28, 0x99e2e40}, {0x8ce4be4, 0x9825cf8}, {0x8ce4be4, 0x9825d10})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0x94023c0, {0x8ce9ae8, 0x9786930}, 0x1, {0x9c16370, 0x2, 0x2})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xe89
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0x94023c0, {0x8ce9ae8, 0x9786930}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x235
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0x94023c0, {0x8ce9ae8, 0x9786930}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x141
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x47
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe0c
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-20 17:00 netbsd-386-9_0 tools@649df2ea go@828be9a7 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/15926311207342d7056ea13f67854e4d8ca2b5b9">log</a>)</summary>

    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:
    -------------------------
    PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 11644): see golang/go#54461 for more details

    goroutine 23989 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xe73c6f0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8cd8728, 0xee819c0}, 0xd631e40)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1cc
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xb348a1c, {0x8cd8728, 0xee819c0}, {0x8cd3910, 0xcf942e8}, {0x8cd3910, 0xcf94300})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xb348a1c, {0x8cd8728, 0xee819c0}, {0x8cd3910, 0xcf942e8}, {0x8cd3910, 0xcf94300})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xec922c0, {0x8cd8748, 0xd6ad938}, {0xe66b140, 0x55}, 0x0, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x136
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xa46f860, {0x8cd8748, 0xd6ad878}, {0x8cdd108, 0xec922c0}, {0xd6864a0, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:189 +0x338
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xa46f860, {0x8cdd108, 0xec922c0}, {0xd6864a0, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:154 +0x1e0
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8cdd108, 0xec922c0}, {0xd6864a0, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x5c
</details>

<details><summary>2022-10-20 17:00 netbsd-amd64-9_0 tools@649df2ea go@828be9a7 x/tools/gopls/internal/regtest/workspace (<a href="https://build.golang.org/log/cd5cb3962f0215a937814de784c4c43dc50ac44e">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 11945): see golang/go#54461 for more details

    goroutine 214 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0007f2870)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x119e248, 0xc00090a540}, 0xc0002a1ce0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1c5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000904f90, {0x119e248, 0xc00090a540}, {0x1195ea0?, 0xc000832180}, {0x1195ea0?, 0xc0008321b0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x104d
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000904f58?, {0x119e248, 0xc00090a540}, {0x1195ea0?, 0xc000832180?}, {0x1195ea0?, 0xc0008321b0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/mod.Diagnostics({0x119e280, 0xc000232510}, {0x11a7540, 0xc0002f3900})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/mod/diagnostics.go:32 +0x14e
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc000897100, {0x119e280, 0xc000817a70}, {0x11a7540, 0xc0002f3900}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:230 +0x2cd
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc000897100, {0x11a7540, 0xc0002f3900}, {0xc0002de0e0, 0x1, 0x1}, 0x2?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:157 +0x2f1
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x11a7540?, 0xc0002f3900?}, {0xc0002de0e0?, 0xc0002df310?, 0xc0003dd9c0?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-21 17:52 netbsd-amd64-9_0 tools@d476af71 go@9e7c5030 x/tools/gopls/internal/regtest/modfile (<a href="https://build.golang.org/log/c177db4ff2213d6b42894ce5fe5ec920d95c4738">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 15096): see golang/go#54461 for more details

    goroutine 5360 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc000c6db60)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11943d0, 0xc000b14c60}, 0xc000bf5340)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000b9c988, {0x11943d0, 0xc000b14c60}, {0x118be80?, 0xc000fa6c90}, {0x118be80?, 0xc000fa6cf0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000b9c950?, {0x11943d0, 0xc000b14c60}, {0x118be80?, 0xc000fa6c90?}, {0x118be80?, 0xc000fa6cf0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/protocol.ServerHandler.func1({0x1194408, 0xc000633320}, 0xc000e836b0, {0x1194788, 0xc000633260})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/protocol/protocol.go:157 +0x90
    golang.org/x/tools/gopls/internal/lsp/lsprpc.handshaker.func1({0x1194408, 0xc000633320}, 0xc000e836b0, {0x1194788?, 0xc000633260?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/lsprpc/lsprpc.go:515 +0xa03
    golang.org/x/tools/internal/jsonrpc2.MustReplyHandler.func1({0x1194408, 0xc000633320}, 0xc00011cc18, {0x1194788?, 0xc000633260?})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:35 +0xf6
    golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1.2()
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:103 +0xa3
    created by golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:100 +0x20a
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-21 17:52 netbsd-386-9_0 tools@d476af71 go@e43eebda x/tools/gopls/internal/regtest/modfile (<a href="https://build.golang.org/log/679a11eecf18cf06e534f81307e89f153cd77d40">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 13998): see golang/go#54461 for more details

    goroutine 4608 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x99d6cf0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8ceb358, 0x961ef40}, 0x9909080)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x99fa228, {0x8ceb358, 0x961ef40}, {0x8ce6414, 0x96c7f98}, {0x8ce6414, 0x96c7fb0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x99fa228, {0x8ceb358, 0x961ef40}, {0x8ce6414, 0x96c7f98}, {0x8ce6414, 0x96c7fb0})
    ...
    golang.org/x/tools/gopls/internal/lsp/protocol.ServerHandler.func1({0x8ceb378, 0x9a69950}, 0x9cd40f0, {0x8ceb558, 0x9a698d8})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/protocol/protocol.go:157 +0x79
    golang.org/x/tools/gopls/internal/lsp/lsprpc.handshaker.func1({0x8ceb378, 0x9a69950}, 0x9cd40f0, {0x8ceb558, 0x9a698d8})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/lsprpc/lsprpc.go:515 +0x1ba
    golang.org/x/tools/internal/jsonrpc2.MustReplyHandler.func1({0x8ceb378, 0x9a69950}, 0x9a874e0, {0x8ceb558, 0x9a698d8})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:35 +0xd7
    golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1.2()
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:103 +0x8e
    created by golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:100 +0x1cc
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-21 20:44 netbsd-amd64-9_0 tools@2dcdbd43 go@d5efd0dd x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/5bad7139d2202d5ab83bbfa682e0a0b0dac7b5fb">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65453
    serve.go:438: debug server listening at http://localhost:65452
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 18990 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc004bdb1d0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1207e10, 0xc002a48900}, 0xc003d934a0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc004bcf548, {0x1207e10, 0xc002a48900}, {0x11ff820?, 0xc00226dec0}, {0x11ff820?, 0xc00226def0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc004bcf510?, {0x1207e10, 0xc002a48900}, {0x11ff820?, 0xc00226dec0?}, {0x11ff820?, 0xc00226def0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ActivePackages(0x1207e48?, {0x1207e48, 0xc002255110})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:1087 +0x45
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc001edb200, {0x1207e48, 0xc0022e70e0}, {0x1216918, 0xc00269d540}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:294 +0x17ef
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc001edb200, {0x1216918, 0xc00269d540}, {0xc002c83c10, 0x1, 0x1}, 0x88?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:157 +0x319
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x1216918?, 0xc00269d540?}, {0xc002c83c10?, 0xc001745d28?, 0xc0017b0fb8?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-17 20:13 netbsd-amd64-9_0 tools@59355312 go@89566448 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/821ae8cb75a742a16583c00f2bca0456ca40b4b3">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 18741): see golang/go#54461 for more details

    goroutine 33270 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc005be6930)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11b8688, 0xc0039cd0e0}, 0xc00012c6e0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc004df7e60, {0x11b8688, 0xc0039cd0e0}, {0x11afde0?, 0xc004c64840}, {0x11afde0?, 0xc004c64870})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc004df7e28?, {0x11b8688, 0xc0039cd0e0}, {0x11afde0?, 0xc004c64840?}, {0x11afde0?, 0xc004c64870?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc004f11040, {0x11b8618, 0xc0021ea200}, 0x1, {0xc0023df400, 0x2, 0x1?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0x5a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc004f11040, {0x11b8618, 0xc0021ea200}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x205
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc004f11040, {0x11b8618, 0xc0021ea200}, 0x40?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>

<details><summary>2022-10-17 20:13 netbsd-amd64-9_0 tools@59355312 go@89566448 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/821ae8cb75a742a16583c00f2bca0456ca40b4b3">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65454
    serve.go:438: debug server listening at http://localhost:65453
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 44531 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc008f9aba0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1226dc8, 0xc0090fa480}, 0xc008fa6000)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00928be60, {0x1226dc8, 0xc0090fa480}, {0x121e4a0?, 0xc008f9fcb0}, {0x121e4a0?, 0xc008f9fce0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00928be28?, {0x1226dc8, 0xc0090fa480}, {0x121e4a0?, 0xc008f9fcb0?}, {0x121e4a0?, 0xc008f9fce0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc00911c780, {0x1226d58, 0xc008c89e40}, 0x1, {0xc001f95460, 0x2, 0xc004654d70?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0x5a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc00911c780, {0x1226d58, 0xc008c89e40}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x205
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc00911c780, {0x1226d58, 0xc008c89e40}, 0xa0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>

<details><summary>2022-10-17 20:13 netbsd-amd64-9_0 tools@59355312 go@947091d3 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/94fd4eeb79cea6c296f5c9ee87aab80aae9158b7">log</a>)</summary>

    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:
    -------------------------
    PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 17470): see golang/go#54461 for more details

    goroutine 28876 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0069c22d0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x117e578, 0xc00547e420}, 0xc002f7e420)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1c5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0006abe60, {0x117e578, 0xc00547e420}, {0x1176240?, 0xc004ba8090}, {0x1176240?, 0xc004ba80c0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x104d
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0006abe28?, {0x117e578, 0xc00547e420}, {0x1176240?, 0xc004ba8090?}, {0x1176240?, 0xc004ba80c0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc0076b5900, {0x117e508, 0xc001df1dc0}, 0x1, {0xc0006e84c0, 0x2, 0x2?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0x5a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc0076b5900, {0x117e508, 0xc001df1dc0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x205
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc0076b5900, {0x117e508, 0xc001df1dc0}, 0xe0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x195
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe18
</details>

<details><summary>2022-10-24 03:44 netbsd-386-9_0 tools@8166dca1 go@7f04b841 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/92140f2c427ac5062dcec43ffd7afe0453ed20a4">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 21393): see golang/go#54461 for more details

    goroutine 31291 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xda6ba70)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8cf1fa0, 0xe2b1d80}, 0xda9c840)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xb20c228, {0x8cf1fa0, 0xe2b1d80}, {0x8ced054, 0xe785f68}, {0x8ced054, 0xe785f80})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xb20c228, {0x8cf1fa0, 0xe2b1d80}, {0x8ced054, 0xe785f68}, {0x8ced054, 0xe785f80})
    ...
    golang.org/x/tools/gopls/internal/lsp/protocol.ServerHandler.func1({0x8cf1fc0, 0xc2c7578}, 0xe6bca20, {0x8cf21a0, 0xc2c74e8})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/protocol/protocol.go:157 +0x79
    golang.org/x/tools/gopls/internal/lsp/lsprpc.handshaker.func1({0x8cf1fc0, 0xc2c7578}, 0xe6bca20, {0x8cf21a0, 0xc2c74e8})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/lsprpc/lsprpc.go:515 +0x1ba
    golang.org/x/tools/internal/jsonrpc2.MustReplyHandler.func1({0x8cf1fc0, 0xc2c7578}, 0x9fa2de0, {0x8cf21a0, 0xc2c74e8})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:35 +0xd7
    golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1.2()
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:103 +0x8e
    created by golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:100 +0x1cc
</details>

<details><summary>2022-10-24 03:44 netbsd-amd64-9_0 tools@8166dca1 go@2c2952ae x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/76c64b365e55be9932eebd70e2c26b0f1a5d68c6">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65462
    serve.go:438: debug server listening at http://localhost:65461
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 36895 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0064c6420)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11edbd0, 0xc005b50b40}, 0xc000550b00)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1c5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006a23e70, {0x11edbd0, 0xc005b50b40}, {0x11e5800?, 0xc006532c00}, {0x11e5800?, 0xc006532c30})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x104d
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc006a23e38?, {0x11edbd0, 0xc005b50b40}, {0x11e5800?, 0xc006532c00?}, {0x11e5800?, 0xc006532c30?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc0067efe00, {0x11edb60, 0xc006813700}, 0x1, {0xc000eac0a0, 0x2, 0xc0024c2d70?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0x5a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc0067efe00, {0x11edb60, 0xc006813700}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x205
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc0067efe00, {0x11edb60, 0xc006813700}, 0x40?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x195
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe18
</details>

<details><summary>2022-10-24 03:44 netbsd-amd64-9_0 tools@8166dca1 go@828be9a7 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/76ebb0b41eded9677cad9f8e0a8aa200c6bfd2c3">log</a>)</summary>

    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:
    -------------------------
    PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 17029): see golang/go#54461 for more details

    goroutine 16564 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0054d01b0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x117f318, 0xc00465f320}, 0xc0067ac6e0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1c5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0059858a8, {0x117f318, 0xc00465f320}, {0x1176fe0?, 0xc00179e660}, {0x1176fe0?, 0xc00179e690})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x104d
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc005985870?, {0x117f318, 0xc00465f320}, {0x1176fe0?, 0xc00179e660?}, {0x1176fe0?, 0xc00179e690?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc0058a9680?, {0x117f350, 0xc003cf47b0}, {0xc005268690, 0x66}, 0x0?, 0x0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc004d8d700, {0x117f350, 0xc003cf42a0}, {0x11887a0, 0xc0058a9680}, {0xc0006b7ec0, 0x1, 0x503543?}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:189 +0x5ab
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc004d8d700, {0x11887a0, 0xc0058a9680}, {0xc0006b7ec0, 0x1, 0x1}, 0x40?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:154 +0x1ff
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x11887a0?, 0xc0058a9680?}, {0xc0006b7ec0?, 0xc0058a9680?, 0xc00465e000?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x90
</details>

<details><summary>2022-10-25 00:50 netbsd-386-9_0 tools@2e0ca3ad go@2c2952ae x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/5efb5f68fa4c07afc76446715c5fb7db1d58bc21">log</a>)</summary>

    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:
    -------------------------
    PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 19996): see golang/go#54461 for more details

    goroutine 24332 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xd32cd80)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8cda2a8, 0xc14f900}, 0xa8b31e0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1cc
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xb314d38, {0x8cda2a8, 0xc14f900}, {0x8cd5490, 0xaca5110}, {0x8cd5490, 0xaca5128})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xb314d38, {0x8cda2a8, 0xc14f900}, {0x8cd5490, 0xaca5110}, {0x8cd5490, 0xaca5128})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xba054a0, {0x8cda268, 0xdffd860}, 0x1, {0x9d28440, 0x2, 0x2})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xf18
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xba054a0, {0x8cda268, 0xdffd860}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x23f
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xba054a0, {0x8cda268, 0xdffd860}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x14a
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x47
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xdfa
</details>

<details><summary>2022-10-25 15:31 netbsd-amd64-9_0 tools@d6511e5e go@0618956b x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/fe71bd0a4a8c7e790f0bb89722f004b952b1cfd8">log</a>)</summary>

    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:
    -------------------------
    PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 15701): see golang/go#54461 for more details

    goroutine 15640 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc006c4e210)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11ba928, 0xc006a3f680}, 0xc006ce0160)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006a798a8, {0x11ba928, 0xc006a3f680}, {0x11b2080?, 0xc00659b5c0}, {0x11b2080?, 0xc00659b5f0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc006a79870?, {0x11ba928, 0xc006a3f680}, {0x11b2080?, 0xc00659b5c0?}, {0x11b2080?, 0xc00659b5f0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc006a32500?, {0x11ba960, 0xc0055ea660}, {0xc006a0f740, 0x5e}, 0x0?, 0x0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc001074b00, {0x11ba960, 0xc0055ea480}, {0x11c7380, 0xc006a32500}, {0xc001eb2b80, 0x3, 0xb1edd7?}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:189 +0x5ab
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc001074b00, {0x11c7380, 0xc006a32500}, {0xc001eb2b80, 0x3, 0x4}, 0x88?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:154 +0x1ff
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x11c7380?, 0xc006a32500?}, {0xc001eb2b80?, 0xc006382228?, 0xc003ef87b8?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-25 17:27 netbsd-386-9_0 tools@121f889b go@3dc13023 x/tools/gopls/internal/regtest/modfile (<a href="https://build.golang.org/log/4661f3560d477149d8fb64015e64f112429f38da">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 15571): see golang/go#54461 for more details

    goroutine 5381 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x9b9aa80)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8cef458, 0x969d940}, 0x9ba43c0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x9ef8228, {0x8cef458, 0x969d940}, {0x8cea514, 0x9b18270}, {0x8cea514, 0x9b18288})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x9ef8228, {0x8cef458, 0x969d940}, {0x8cea514, 0x9b18270}, {0x8cea514, 0x9b18288})
    ...
    golang.org/x/tools/gopls/internal/lsp/protocol.ServerHandler.func1({0x8cef478, 0x9bcd548}, 0xa057d58, {0x8cef678, 0x9bcd4e8})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/protocol/protocol.go:157 +0x79
    golang.org/x/tools/gopls/internal/lsp/lsprpc.handshaker.func1({0x8cef478, 0x9bcd548}, 0xa057d58, {0x8cef678, 0x9bcd4e8})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/lsprpc/lsprpc.go:515 +0x1ba
    golang.org/x/tools/internal/jsonrpc2.MustReplyHandler.func1({0x8cef478, 0x9bcd548}, 0xa039c50, {0x8cef678, 0x9bcd4e8})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:35 +0xd7
    golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1.2()
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:103 +0x8e
    created by golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:100 +0x1cc
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-25 17:27 netbsd-amd64-9_0 tools@121f889b go@939f9fd6 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/8f41e17b212c64cac56e85ec93103d94f4834d2a">log</a>)</summary>

    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:
    -------------------------
    PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 15633): see golang/go#54461 for more details

    goroutine 18428 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc006d80d50)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x119e190, 0xc004187320}, 0xc006dec420)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006637860, {0x119e190, 0xc004187320}, {0x1195c20?, 0xc0042b65a0}, {0x1195c20?, 0xc0042b65d0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc006637828?, {0x119e190, 0xc004187320}, {0x1195c20?, 0xc0042b65a0?}, {0x1195c20?, 0xc0042b65d0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc006d40000?, {0x119e1c8, 0xc00428d1d0}, {0xc0028e7810, 0x6c}, 0x0?, 0x0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc00074b400, {0x119e1c8, 0xc00428d020}, {0x11ab278, 0xc006d40000}, {0xc000ee7e20, 0x1, 0x540a2749a?}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:189 +0x3e3
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc00074b400, {0x11ab278, 0xc006d40000}, {0xc000ee7e20, 0x1, 0x1}, 0xe0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:154 +0x229
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x11ab278?, 0xc006d40000?}, {0xc000ee7e20?, 0xc004304340?, 0xc003b0fef0?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-26 18:58 netbsd-amd64-9_0 tools@541f4c51 go@0618956b x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/2bc38a9749a265efafebbef44986df79590605b7">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65464
    serve.go:438: debug server listening at http://localhost:65463
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 45877 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00599d1d0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x122d328, 0xc006b98060}, 0xc005dede40)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc005d9de70, {0x122d328, 0xc006b98060}, {0x1224a00?, 0xc00895fad0}, {0x1224a00?, 0xc00895fb00})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc005d9de38?, {0x122d328, 0xc006b98060}, {0x1224a00?, 0xc00895fad0?}, {0x1224a00?, 0xc00895fb00?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc005d74280, {0x122d2b8, 0xc00197e480}, 0x1, {0xc000f54b60, 0x2, 0x0?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0x5a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc005d74280, {0x122d2b8, 0xc00197e480}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x205
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc005d74280, {0x122d2b8, 0xc00197e480}, 0xe0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>

<details><summary>2022-10-26 19:01 linux-amd64-wsl tools@875c31f1 go@4e6f90fe x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/ec422f45c9c50bd252b4a3c8409a2e1ffc744a2f">log</a>)</summary>

    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:
    -------------------------
       PPID     PID COMMAND
    ...
    panic: detected hanging go command (pid 3608554): see golang/go#54461 for more details

    goroutine 15747 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0068f10e0)
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11a8188, 0xc004065860}, 0xc0074a2c60)
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc002015998, {0x11a8188, 0xc004065860}, {0x119fc60?, 0xc0040659e0}, {0x119fc60?, 0xc004065a10})
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc002015960?, {0x11a8188, 0xc004065860}, {0x119fc60?, 0xc0040659e0?}, {0x119fc60?, 0xc004065a10?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ModTidy.func1({0x11a80e0, 0xc00597a440}, {0xf13820?, 0xc006aed900})
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/mod_tidy.go:72 +0x8c
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xa9
    runtime/trace.WithRegion({0x11a80e0?, 0xc00597a440?}, {0xc00003d548, 0x13}, 0xc00585b790)
        /tmp/workdir-host-linux-amd64-wsl/go/src/runtime/trace/annotation.go:141 +0xe3
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x145
    created by golang.org/x/tools/internal/memoize.(*Promise).run
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x1ea
</details>

<details><summary>2022-10-26 19:01 netbsd-amd64-9_0 tools@875c31f1 go@29674d87 x/tools/gopls/internal/regtest/workspace (<a href="https://build.golang.org/log/8bb2b6b07b8546e6049e3ec4f0e4dc49901d023f">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 19433): see golang/go#54461 for more details

    goroutine 18309 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0020fa0f0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11bdc00, 0xc003f7d740}, 0xc003b90000)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0021f9e78, {0x11bdc00, 0xc003f7d740}, {0x11b5620?, 0xc0027d0090}, {0x11b5620?, 0xc0027d00c0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0021f9e40?, {0x11bdc00, 0xc003f7d740}, {0x11b5620?, 0xc0027d0090?}, {0x11b5620?, 0xc0027d00c0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc003197680, {0x11bdb90, 0xc0013e8640}, 0x1, {0xc0010bd300, 0x5, 0xc003390db8?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xe92
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc003197680, {0x11bdb90, 0xc0013e8640}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x1ff
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc003197680, {0x11bdb90, 0xc0013e8640}, 0x80?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-27 00:23 netbsd-amd64-9_0 tools@2af106ef go@264753c0 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/0da07dc70e27dd51638d3b3103a4fc702ad9b1e2">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 21490): see golang/go#54461 for more details

    goroutine 30070 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc006b70e40)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x119f3d0, 0xc005dd9da0}, 0xc000795e40)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0070b3e78, {0x119f3d0, 0xc005dd9da0}, {0x1196e40?, 0xc006919ce0}, {0x1196e40?, 0xc006919d10})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0070b3e40?, {0x119f3d0, 0xc005dd9da0}, {0x1196e40?, 0xc006919ce0?}, {0x1196e40?, 0xc006919d10?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc006b3f2c0, {0x119f360, 0xc001863e40}, 0x1, {0xc0020b68c0, 0x2, 0x0?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xe92
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc006b3f2c0, {0x119f360, 0xc001863e40}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x1ff
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc006b3f2c0, {0x119f360, 0xc001863e40}, 0x40?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>

<details><summary>2022-10-27 00:23 netbsd-amd64-9_0 tools@2af106ef go@264753c0 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/0da07dc70e27dd51638d3b3103a4fc702ad9b1e2">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65447
    serve.go:438: debug server listening at http://localhost:65446
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 38983 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc004c18d50)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x120d450, 0xc0023714a0}, 0xc002ee7a20)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0053c7e78, {0x120d450, 0xc0023714a0}, {0x1204e20?, 0xc000c21680}, {0x1204e20?, 0xc000c216b0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0053c7e40?, {0x120d450, 0xc0023714a0}, {0x1204e20?, 0xc000c21680?}, {0x1204e20?, 0xc000c216b0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc0000dba40, {0x120d3e0, 0xc000e8f640}, 0x1, {0xc000403de0, 0x2, 0xc000694598?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xe92
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc0000dba40, {0x120d3e0, 0xc000e8f640}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x1ff
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc0000dba40, {0x120d3e0, 0xc000e8f640}, 0x40?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-27 00:23 netbsd-amd64-9_0 tools@2af106ef go@599a1e40 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/07d863d014e73c8b7f5011ceb1d32e1caf7b2be3">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 9702): see golang/go#54461 for more details

    goroutine 10087 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0064a8060)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x119f3d0, 0xc00376b020}, 0xc005b86000)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0066b9e78, {0x119f3d0, 0xc00376b020}, {0x1196e40?, 0xc002f8e0c0}, {0x1196e40?, 0xc002f8e120})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0066b9e40?, {0x119f3d0, 0xc00376b020}, {0x1196e40?, 0xc002f8e0c0?}, {0x1196e40?, 0xc002f8e120?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc006716a00, {0x119f360, 0xc000d57840}, 0x1, {0xc0021b25e0, 0x2, 0x2?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xe92
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc006716a00, {0x119f360, 0xc000d57840}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x1ff
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc006716a00, {0x119f360, 0xc000d57840}, 0x40?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-10-28 15:53 netbsd-386-9_0 tools@e074ef8d go@2c2952ae x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/e0639bc4a6836144c2f97d45947fccf210cb5bd8">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 16743): see golang/go#54461 for more details

    goroutine 20489 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xb66e6c0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8cdc9e8, 0xd7367c0}, 0xb9d62c0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1cc
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xcec0a1c, {0x8cdc9e8, 0xd7367c0}, {0x8cd7bd0, 0xc2563a8}, {0x8cd7bd0, 0xc2563c0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xcec0a1c, {0x8cdc9e8, 0xd7367c0}, {0x8cd7bd0, 0xc2563a8}, {0x8cd7bd0, 0xc2563c0})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xe7e6c60, {0x8cdca08, 0xc6c9860}, {0xba2cb60, 0x61}, 0x0, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x136
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xe6b40a0, {0x8cdca08, 0xc6c97a0}, {0x8ce13e8, 0xe7e6c60}, {0xc748790, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:189 +0x338
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xe6b40a0, {0x8ce13e8, 0xe7e6c60}, {0xc748790, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:154 +0x1e0
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8ce13e8, 0xe7e6c60}, {0xc748790, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x5c
</details>

<details><summary>2022-10-28 15:53 netbsd-386-9_0 tools@e074ef8d go@2c2952ae x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/e0639bc4a6836144c2f97d45947fccf210cb5bd8">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65455
    serve.go:438: debug server listening at http://localhost:65454
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 31855 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xe971530)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8d416c4, 0xf315a00}, 0xf399a20)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1cc
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xeceed38, {0x8d416c4, 0xf315a00}, {0x8d3c850, 0xd35f020}, {0x8d3c850, 0xd35f038})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xeceed38, {0x8d416c4, 0xf315a00}, {0x8d3c850, 0xd35f020}, {0x8d3c850, 0xd35f038})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xf3138c0, {0x8d41684, 0xde1a090}, 0x1, {0xa4feac0, 0x2, 0x2})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xf18
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xf3138c0, {0x8d41684, 0xde1a090}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x23f
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xf3138c0, {0x8d41684, 0xde1a090}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x14a
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x47
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xdfa
</details>

<details><summary>2022-10-28 18:07 netbsd-amd64-9_0 tools@f1c8f7f8 go@e59d873f x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/5034d03eac91eac60799afd258dbd7ea6b052099">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65460
    serve.go:438: debug server listening at http://localhost:65459
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 42170 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc004454450)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x120d5d0, 0xc000d8dec0}, 0xc000780580)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc004db51c0, {0x120d5d0, 0xc000d8dec0}, {0x1204fa0?, 0xc004ed6510}, {0x1204fa0?, 0xc004ed6540})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc004db5188?, {0x120d5d0, 0xc000d8dec0}, {0x1204fa0?, 0xc004ed6510?}, {0x1204fa0?, 0xc004ed6540?})
    ...
    golang.org/x/tools/gopls/internal/lsp/mod.Diagnostics({0x120d608, 0xc0048fa990}, {0x121c118, 0xc002899e00})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/mod/diagnostics.go:32 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc0019ac300, {0x120d608, 0xc00604b590}, {0x121c118, 0xc002899e00}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:230 +0x2d0
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0019ac300, {0x121c118, 0xc002899e00}, {0xc0021eb7c0, 0x2, 0x2}, 0x1b?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:157 +0x319
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x121c118?, 0xc002899e00?}, {0xc0021eb7c0?, 0xc001db9e60?, 0xc00137c940?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x90
</details>

<details><summary>2022-10-28 20:13 netbsd-amd64-9_0 tools@e172e97c go@b726b0ca x/tools/gopls/internal/regtest/watch (<a href="https://build.golang.org/log/f1834a07885b26a2cfe5c746f15db3f27507d864">log</a>)</summary>

    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:
    -------------------------
    PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 15162): see golang/go#54461 for more details

    goroutine 5219 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0039879b0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x118e530, 0xc002fc9140}, 0xc0023f2c60)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00277b3b8, {0x118e530, 0xc002fc9140}, {0x1185fa0?, 0xc0015e88d0}, {0x1185fa0?, 0xc0015e8930})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00277b380?, {0x118e530, 0xc002fc9140}, {0x1185fa0?, 0xc0015e88d0?}, {0x1185fa0?, 0xc0015e8930?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ActivePackages(0x118e568?, {0x118e568, 0xc0015e1050})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:1087 +0x45
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc002d32a00, {0x118e568, 0xc0017772c0}, {0x119b5b8, 0xc003725540}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:294 +0x17ef
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc002d32a00, {0x119b5b8, 0xc003725540}, {0xc002110930, 0x1, 0x1}, 0xc0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:157 +0x319
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x119b5b8?, 0xc003725540?}, {0xc002110930?, 0xc002315cc0?, 0xc00177d740?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x90
</details>

<details><summary>2022-10-31 15:02 netbsd-386-9_0 tools@739f55d7 go@2c2952ae x/tools/gopls/internal/regtest/modfile (<a href="https://build.golang.org/log/c0eed4a8433e42d6c2056a1cc08ea2e1eaf8d8c1">log</a>)</summary>

    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:
    -------------------------
    PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 11479): see golang/go#54461 for more details

    goroutine 1968 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x994b3b0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8cd6e34, 0x94a4840}, 0x9f48580)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1cc
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x9894d38, {0x8cd6e34, 0x94a4840}, {0x8cd2020, 0x9f3fbd8}, {0x8cd2020, 0x9f3fbf0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x9894d38, {0x8cd6e34, 0x94a4840}, {0x8cd2020, 0x9f3fbd8}, {0x8cd2020, 0x9f3fbf0})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0x9abce70, {0x8cd6df4, 0x99e9b60}, 0x1, {0x971e160, 0x2, 0x2})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xf18
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0x9abce70, {0x8cd6df4, 0x99e9b60}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x23f
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0x9abce70, {0x8cd6df4, 0x99e9b60}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x14a
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x47
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xdfa
</details>

<details><summary>2022-10-31 15:32 netbsd-386-9_0 tools@eabc3a08 go@2c2952ae x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/ab7d888175119d234396a56187fc391c989f7f5a">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65452
    serve.go:438: debug server listening at http://localhost:65451
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 28751 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xdff2ab0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8d41714, 0xe078740}, 0xcd39e40)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1cc
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xe974994, {0x8d41714, 0xe078740}, {0x8d3c8a0, 0xa4fd788}, {0x8d3c8a0, 0xa4fd7a0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xe974994, {0x8d41714, 0xe078740}, {0x8d3c8a0, 0xa4fd788}, {0x8d3c8a0, 0xa4fd7a0})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xed8cfd0, {0x8d41734, 0xe181e78}, {0xeda7ae0, 0x4d}, 0x0, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x136
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xdff7220, {0x8d41734, 0xe181db8}, {0x8d46ae8, 0xed8cfd0}, {0x9fca578, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:189 +0x338
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xdff7220, {0x8d46ae8, 0xed8cfd0}, {0x9fca578, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:154 +0x1e0
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8d46ae8, 0xed8cfd0}, {0x9fca578, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x5c
</details>

<details><summary>2022-10-31 15:32 netbsd-amd64-9_0 tools@7cdb0e73 go@3aebf682 x/tools/gopls/internal/regtest/modfile (<a href="https://build.golang.org/log/8714a07927bb2156b570cbbb10b6e09a0d5bd5c5">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 13813): see golang/go#54461 for more details

    goroutine 2805 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc000ac1d40)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x119ab30, 0xc00069b920}, 0xc0009029a0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000c35e78, {0x119ab30, 0xc00069b920}, {0x11925a0?, 0xc0005b01b0}, {0x11925a0?, 0xc0005b01e0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000c35e40?, {0x119ab30, 0xc00069b920}, {0x11925a0?, 0xc0005b01b0?}, {0x11925a0?, 0xc0005b01e0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc000a95680, {0x119aac0, 0xc0008dd180}, 0x1, {0xc000b03140, 0x2, 0xc000e49680?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xe92
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc000a95680, {0x119aac0, 0xc0008dd180}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x1f7
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc000a95680, {0x119aac0, 0xc0008dd180}, 0x0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>

<details><summary>2022-10-31 15:32 netbsd-amd64-9_0 tools@7cdb0e73 go@0618956b x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/e8a3eb3fcb80ef0b392a84b891df5d7be3e08259">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 14170): see golang/go#54461 for more details

    goroutine 14993 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc006e17140)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11bd068, 0xc006c6f140}, 0xc006acf340)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006f56930, {0x11bd068, 0xc006c6f140}, {0x11b47c0?, 0xc0055c7050}, {0x11b47c0?, 0xc0055c7080})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc006f568f8?, {0x11bd068, 0xc006c6f140}, {0x11b47c0?, 0xc0055c7050?}, {0x11b47c0?, 0xc0055c7080?})
    ...
    golang.org/x/tools/gopls/internal/lsp/protocol.ServerHandler.func1({0x11bd0a0, 0xc005f70d80}, 0xc0055bccf0, {0x11bd458, 0xc005f70cc0})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/protocol/protocol.go:157 +0x90
    golang.org/x/tools/gopls/internal/lsp/lsprpc.handshaker.func1({0x11bd0a0, 0xc005f70d80}, 0xc0055bccf0, {0x11bd458?, 0xc005f70cc0?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/lsprpc/lsprpc.go:515 +0xa43
    golang.org/x/tools/internal/jsonrpc2.MustReplyHandler.func1({0x11bd0a0, 0xc005f70d80}, 0xc004ea88e8, {0x11bd458?, 0xc005f70cc0?})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:35 +0xf6
    golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1.2()
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:103 +0xa3
    created by golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:100 +0x20a
</details>

<details><summary>2022-11-01 21:03 netbsd-amd64-9_0 tools@32e1cb7a go@fb4f7fdb x/tools/gopls/internal/regtest/codelens (<a href="https://build.golang.org/log/b4a15b6011d70885f158006a6e60e774d0bfa8f4">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 12995): see golang/go#54461 for more details

    goroutine 1269 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00048e300)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x118e790, 0xc00080a5a0}, 0xc00025a840)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0002e3e78, {0x118e790, 0xc00080a5a0}, {0x1186240?, 0xc0005b0180}, {0x1186240?, 0xc0005b01b0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0002e3e40?, {0x118e790, 0xc00080a5a0}, {0x1186240?, 0xc0005b0180?}, {0x1186240?, 0xc0005b01b0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc0005168c0, {0x118e720, 0xc000800400}, 0x1, {0xc0002d8380, 0x2, 0x1760838?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xe92
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc0005168c0, {0x118e720, 0xc000800400}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x1f7
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc0005168c0, {0x118e720, 0xc000800400}, 0x40?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>

<details><summary>2022-11-01 21:03 netbsd-amd64-9_0 tools@32e1cb7a go@30b240b1 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/74971c24ec39bee7571c966011a7a2ac61401e28">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65458
    serve.go:438: debug server listening at http://localhost:65457
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 17864 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc004476d20)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x120d7d0, 0xc004810360}, 0xc0010b3760)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00480d748, {0x120d7d0, 0xc004810360}, {0x12051a0?, 0xc004794ea0}, {0x12051a0?, 0xc004794ed0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00480d710?, {0x120d7d0, 0xc004810360}, {0x12051a0?, 0xc004794ea0?}, {0x12051a0?, 0xc004794ed0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc004680dc0?, {0x120d808, 0xc004800960}, {0xc004675620, 0x5f}, 0x0?, 0x0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc002154b00, {0x120d808, 0xc0048007b0}, {0x121c338, 0xc004680dc0}, {0xc0018636b0, 0x1, 0x40f4e7?}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:189 +0x3e3
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc002154b00, {0x121c338, 0xc004680dc0}, {0xc0018636b0, 0x1, 0x1}, 0x88?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:154 +0x229
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x121c338?, 0xc004680dc0?}, {0xc0018636b0?, 0xc0043ac528?, 0xc0029cdfb8?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x90
</details>

<details><summary>2022-11-01 21:03 netbsd-amd64-9_0 tools@32e1cb7a go@1ae93e4c x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/e3e5bf5c2bffda011af7f39b386659585a9cd41a">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 23207): see golang/go#54461 for more details

    goroutine 33546 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0069af920)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x119f750, 0xc0047bafc0}, 0xc005ca4580)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00623de78, {0x119f750, 0xc0047bafc0}, {0x11971c0?, 0xc004bbbb60}, {0x11971c0?, 0xc004bbbb90})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00623de40?, {0x119f750, 0xc0047bafc0}, {0x11971c0?, 0xc004bbbb60?}, {0x11971c0?, 0xc004bbbb90?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc005b163c0, {0x119f6e0, 0xc00242edc0}, 0x1, {0xc0023380e0, 0x2, 0x50d9fb?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xe92
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc005b163c0, {0x119f6e0, 0xc00242edc0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x1f7
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc005b163c0, {0x119f6e0, 0xc00242edc0}, 0xe0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>

<details><summary>2022-11-01 21:03 netbsd-amd64-9_0 tools@32e1cb7a go@1ae93e4c x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/e3e5bf5c2bffda011af7f39b386659585a9cd41a">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65452
    serve.go:438: debug server listening at http://localhost:65451
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 27322 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc003781650)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x120d770, 0xc0024357a0}, 0xc003e4cf20)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc005185e78, {0x120d770, 0xc0024357a0}, {0x1205140?, 0xc001c6bbf0}, {0x1205140?, 0xc001c6bc80})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc005185e40?, {0x120d770, 0xc0024357a0}, {0x1205140?, 0xc001c6bbf0?}, {0x1205140?, 0xc001c6bc80?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc003a3c780, {0x120d700, 0xc000e44b00}, 0x1, {0xc000b8d540, 0x2, 0xc0027528d7?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xe92
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc003a3c780, {0x120d700, 0xc000e44b00}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x1f7
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc003a3c780, {0x120d700, 0xc000e44b00}, 0x40?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>

<details><summary>2022-11-01 21:03 netbsd-amd64-9_0 tools@32e1cb7a go@1ae93e4c x/tools/gopls/internal/regtest/modfile (<a href="https://build.golang.org/log/e3e5bf5c2bffda011af7f39b386659585a9cd41a">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 6649): see golang/go#54461 for more details

    goroutine 6110 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc000877d40)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1199cb0, 0xc000c80c60}, 0xc000789b80)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000df0988, {0x1199cb0, 0xc000c80c60}, {0x1191720?, 0xc000deba10}, {0x1191720?, 0xc000deba70})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000df0950?, {0x1199cb0, 0xc000c80c60}, {0x1191720?, 0xc000deba10?}, {0x1191720?, 0xc000deba70?})
    ...
    golang.org/x/tools/gopls/internal/lsp/protocol.ServerHandler.func1({0x1199ce8, 0xc000562cf0}, 0xc0007b64e0, {0x119a0a0, 0xc000562c30})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/protocol/protocol.go:157 +0x90
    golang.org/x/tools/gopls/internal/lsp/lsprpc.handshaker.func1({0x1199ce8, 0xc000562cf0}, 0xc0007b64e0, {0x119a0a0?, 0xc000562c30?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/lsprpc/lsprpc.go:515 +0xa03
    golang.org/x/tools/internal/jsonrpc2.MustReplyHandler.func1({0x1199ce8, 0xc000562cf0}, 0xc00129baa0, {0x119a0a0?, 0xc000562c30?})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:35 +0xf6
    golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1.2()
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:103 +0xa3
    created by golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:100 +0x20a
</details>

<details><summary>2022-11-02 21:32 netbsd-386-9_0 tools@039b24b6 go@ebb71ad6 x/tools/gopls/internal/regtest/workspace (<a href="https://build.golang.org/log/4222d463c5cafe03b271b05a0b78ad9658ab943f">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 14222): see golang/go#54461 for more details

    goroutine 6236 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xac39290)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8d142d4, 0x97ac100}, 0xab849c0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xb640a24, {0x8d142d4, 0x97ac100}, {0x8d0f324, 0xabf5260}, {0x8d0f324, 0xabf5278})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xb640a24, {0x8d142d4, 0x97ac100}, {0x8d0f324, 0xabf5260}, {0x8d0f324, 0xabf5278})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xab84600, {0x8d142f4, 0xaadef18}, {0xab12540, 0x53}, 0x0, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x136
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xa3ab720, {0x8d142f4, 0xaadee10}, {0x8d1927c, 0xab84600}, {0xac9d908, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:189 +0x319
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xa3ab720, {0x8d1927c, 0xab84600}, {0xac9d908, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:154 +0x1be
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8d1927c, 0xab84600}, {0xac9d908, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x5c
</details>

<details><summary>2022-11-02 21:32 netbsd-amd64-9_0 tools@039b24b6 go@932330fd x/tools/gopls/internal/regtest/workspace (<a href="https://build.golang.org/log/c1476e54f3b4302fd02a2ccb3d89cbbf02aaabec">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 24963): see golang/go#54461 for more details

    goroutine 20649 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc001daaba0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11c19c0, 0xc0036cbbc0}, 0xc002ffc2c0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc003d1d860, {0x11c19c0, 0xc0036cbbc0}, {0x11b93c0?, 0xc003e632f0}, {0x11b93c0?, 0xc003e634d0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc003d1d828?, {0x11c19c0, 0xc0036cbbc0}, {0x11b93c0?, 0xc003e632f0?}, {0x11b93c0?, 0xc003e634d0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc00367a140?, {0x11c19f8, 0xc003afcc90}, {0xc000a48690, 0x6c}, 0x0?, 0x0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc0057aec00, {0x11c19f8, 0xc003afcae0}, {0x11cee98, 0xc00367a140}, {0xc00239ead0, 0x1, 0xc00239eb50?}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:189 +0x3e3
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0057aec00, {0x11cee98, 0xc00367a140}, {0xc00239ead0, 0x1, 0x1}, 0x0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:154 +0x229
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x11cee98?, 0xc00367a140?}, {0xc00239ead0?, 0xc00367a140?, 0xc0036cb5c0?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x90
</details>

<details><summary>2022-11-03 17:48 netbsd-amd64-9_0 tools@d5e9e359 go@44cabb80 x/tools/gopls/internal/regtest/modfile (<a href="https://build.golang.org/log/48535cbd14bb3c42ebac1d38cc0ebacd29e08ee3">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 13227): see golang/go#54461 for more details

    goroutine 1016 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0007cfb00)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x119c350, 0xc0003af8c0}, 0xc00073a840)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00034b6c0, {0x119c350, 0xc0003af8c0}, {0x1193dc0?, 0xc0006808a0}, {0x1193dc0?, 0xc0006808d0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00034b688?, {0x119c350, 0xc0003af8c0}, {0x1193dc0?, 0xc0006808a0?}, {0x1193dc0?, 0xc0006808d0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ActivePackages(0x119c388?, {0x119c388, 0xc00079ac30})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:1087 +0x45
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc000464a00, {0x119c388, 0xc00038a900}, {0x11a9458, 0xc0005403c0}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:278 +0x48c
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc000464a00, {0x11a9458, 0xc0005403c0}, {0xc00011b720, 0x2, 0x2}, 0x88?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:157 +0x319
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x11a9458?, 0xc0005403c0?}, {0xc00011b720?, 0xc00080c228?, 0xc0006befb8?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:132 +0x90
</details>

<details><summary>2022-11-03 20:32 netbsd-amd64-9_0 tools@e5f03c10 go@d65c0593 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/55159b316dcf35aa85f9a30627cd01623953b4d9">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 23573): see golang/go#54461 for more details

    goroutine 33141 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0084dfa40)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11a2f30, 0xc007eb9380}, 0xc00849a580)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00851fe78, {0x11a2f30, 0xc007eb9380}, {0x119a9a0?, 0xc008791dd0}, {0x119a9a0?, 0xc008791e00})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00851fe40?, {0x11a2f30, 0xc007eb9380}, {0x119a9a0?, 0xc008791dd0?}, {0x119a9a0?, 0xc008791e00?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc007ff1cc0, {0x11a2ec0, 0xc001a46100}, 0x1, {0xc004d87200, 0x2, 0xdc0400?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xe92
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc007ff1cc0, {0x11a2ec0, 0xc001a46100}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x1f7
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc007ff1cc0, {0x11a2ec0, 0xc001a46100}, 0xa0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>

<details><summary>2022-11-04 15:23 netbsd-386-9_0 tools@affa6031 go@5d5ed57b x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/9f31d414da2cc61caa64b899e83970e2983c26a7">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65452
    serve.go:438: debug server listening at http://localhost:65451
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 38396 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc684360)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8d79040, 0x9de6e10}, 0xc3b7c30)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x49f
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xd486c48, {0x8d79040, 0x9de6e10}, {0x8d73ea4, 0xbba34e8}, {0x8d73ea4, 0xbba3500})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xd486c48, {0x8d79040, 0x9de6e10}, {0x8d73ea4, 0xbba34e8}, {0x8d73ea4, 0xbba3500})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc3b7810, {0x8d790a0, 0xcf22cf0}, {0x9bbf620, 0x5f}, 0x0, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x136
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xeb2b4a0, {0x8d790a0, 0xcf22c30}, {0x8d7e8ec, 0xc3b7810}, {0x9ef7490, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:191 +0x338
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xeb2b4a0, {0x8d7e8ec, 0xc3b7810}, {0x9ef7490, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:156 +0x1e0
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8d7e8ec, 0xc3b7810}, {0x9ef7490, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x5c
</details>

<details><summary>2022-11-04 15:23 netbsd-amd64-9_0 tools@affa6031 go@edfe0783 x/tools/gopls/internal/regtest/codelens (<a href="https://build.golang.org/log/f6af2152190be1a5a49f8f4a6f0b2d1d2d37446e">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 7460): see golang/go#54461 for more details

    goroutine 3856 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0000b8810)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1190aa8, 0xc00079f680}, 0xc0007411e0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0026f9680, {0x1190aa8, 0xc00079f680}, {0x1188520?, 0xc000acfe60}, {0x1188520?, 0xc000acfe90})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0026f9648?, {0x1190aa8, 0xc00079f680}, {0x1188520?, 0xc000acfe60?}, {0x1188520?, 0xc000acfe90?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).RunGoCommandDirect(0xc000678000, {0x1190aa8, 0xc00079f680}, 0x1?, 0x1?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:377 +0x154
    golang.org/x/tools/gopls/internal/lsp/source.GCOptimizationDetails({0x1190aa8, 0xc00079f680}, {0x119dbb8, 0xc000678000}, {0x119a068, 0xc0007f2700})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/source/gc_annotations.go:69 +0x533
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnosePkg(0xc001b3d100, {0x1190aa8, 0xc00079f230}, {0x119dbb8, 0xc000678000}, {0x119a068, 0xc0007f2700}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:391 +0xc25
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles.func1({0x119a068?, 0xc0007f2700?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:209 +0x88
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:206 +0x496
</details>

<details><summary>2022-11-04 16:52 netbsd-amd64-9_0 tools@ec044b1a go@5d5ed57b x/tools/gopls/internal/regtest/modfile (<a href="https://build.golang.org/log/666d221a72dc05399812ccba6d6d59b205db65fb">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 12964): see golang/go#54461 for more details

    goroutine 1226 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00031c1e0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11ba9c8, 0xc000a7aba0}, 0xc00058cdc0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0005d9e70, {0x11ba9c8, 0xc000a7aba0}, {0x11b2140?, 0xc00064e090}, {0x11b2140?, 0xc00064e0c0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0005d9e38?, {0x11ba9c8, 0xc000a7aba0}, {0x11b2140?, 0xc00064e090?}, {0x11b2140?, 0xc00064e0c0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc000002a00, {0x11ba958, 0xc000453d40}, 0x1, {0xc0002b4420, 0x2, 0x423487?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0x5a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc000002a00, {0x11ba958, 0xc000453d40}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x205
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc000002a00, {0x11ba958, 0xc000453d40}, 0x20?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-11-07 14:31 netbsd-amd64-9_0 tools@8e0240af go@5d5ed57b x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/1ac93ee0a0b47a3c5a7410591ad6addfd7097666">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65458
    serve.go:438: debug server listening at http://localhost:65457
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 33680 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0079869f0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x122e608, 0xc004aa9740}, 0xc000c51e40)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0077ad4a8, {0x122e608, 0xc004aa9740}, {0x1225ce0?, 0xc0068c2c00}, {0x1225ce0?, 0xc0068c2c30})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0077ad470?, {0x122e608, 0xc004aa9740}, {0x1225ce0?, 0xc0068c2c00?}, {0x1225ce0?, 0xc0068c2c30?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ActivePackages(0x122e640?, {0x122e640, 0xc0063f6900})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:1087 +0x45
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc0004c9000, {0x122e640, 0xc006648720}, {0x123ca60, 0xc0075c4280}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:280 +0x75b
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0004c9000, {0x123ca60, 0xc0075c4280}, {0xc002625030, 0x1, 0x1}, 0x80?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:159 +0x2f1
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x123ca60?, 0xc0075c4280?}, {0xc002625030?, 0xc001417940?, 0xc007159980?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x90
</details>

<details><summary>2022-11-07 18:28 netbsd-amd64-9_0 tools@50506576 go@d2b5a6f3 x/tools/gopls/internal/regtest/workspace (<a href="https://build.golang.org/log/ebb5498256f7522c4caaefcf7c179bf1a46b7b05">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 15737): see golang/go#54461 for more details

    goroutine 18198 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc004854090)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11c4100, 0xc0031b39e0}, 0xc00065d600)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0032ade78, {0x11c4100, 0xc0031b39e0}, {0x11bbb00?, 0xc00099b560}, {0x11bbb00?, 0xc00099b650})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0032ade40?, {0x11c4100, 0xc0031b39e0}, {0x11bbb00?, 0xc00099b560?}, {0x11bbb00?, 0xc00099b650?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc004648640, {0x11c4090, 0xc00170acc0}, 0x1, {0xc00453ef80, 0x5, 0xc0035005b8?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xe92
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc004648640, {0x11c4090, 0xc00170acc0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x1f7
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc004648640, {0x11c4090, 0xc00170acc0}, 0xa0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>

<details><summary>2022-11-07 21:25 netbsd-386-9_0 tools@003fde14 go@9860faa5 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/122b69285ce882a515d228004c37e87ea47a3e8f">log</a>)</summary>

    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:
    -------------------------
    PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 14708): see golang/go#54461 for more details

    goroutine 9861 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xb6020c0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8cfcfe8, 0xe48e900}, 0x9402a80)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xe898970, {0x8cfcfe8, 0xe48e900}, {0x8cf8084, 0xadde0c0}, {0x8cf8084, 0xadde0d8})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xe898970, {0x8cfcfe8, 0xe48e900}, {0x8cf8084, 0xadde0c0}, {0x8cf8084, 0xadde0d8})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ActivePackages(0x9402480, {0x8cfd008, 0xa2bdfb0})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:1087 +0x2f
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc76c280, {0x8cfd008, 0xcc37e78}, {0x8d01f1c, 0x9402480}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:280 +0x486
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc76c280, {0x8d01f1c, 0x9402480}, {0xae28910, 0x1, 0x1}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:159 +0x2e2
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8d01f1c, 0x9402480}, {0xae28910, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x5c
</details>

<details><summary>2022-11-07 21:25 netbsd-amd64-9_0 tools@003fde14 go@5d5ed57b x/tools/gopls/internal/regtest/workspace (<a href="https://build.golang.org/log/10879ef489bc288b9bd9a6b94a66605c1d56f741">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 23093): see golang/go#54461 for more details

    goroutine 20888 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0032d0c90)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11df4a8, 0xc004cf9260}, 0xc0006a7340)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00184f790, {0x11df4a8, 0xc004cf9260}, {0x11d6ba0?, 0xc00378bb30}, {0x11d6ba0?, 0xc00378bb60})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00184f758?, {0x11df4a8, 0xc004cf9260}, {0x11d6ba0?, 0xc00378bb30?}, {0x11d6ba0?, 0xc00378bb60?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc002f003c0?, {0x11df4e0, 0xc0038e8e70}, {0xc002c753b0, 0x68}, 0x0?, 0x0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc0025da400, {0x11df4e0, 0xc0038e8cc0}, {0x11ec260, 0xc002f003c0}, {0xc00262df70, 0x1, 0x100000000000000?}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:191 +0x5ab
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0025da400, {0x11ec260, 0xc002f003c0}, {0xc00262df70, 0x1, 0x1}, 0x24?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:156 +0x1ff
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x11ec260?, 0xc002f003c0?}, {0xc00262df70?, 0xc00248ff00?, 0xc00006a798?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x90
</details>

<details><summary>2022-11-08 17:28 netbsd-386-9_0 tools@9474ca31 go@26b2c9a6 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/38c8e1693ccaff168177a3341219497ef3227674">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65448
    serve.go:438: debug server listening at http://localhost:65447
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 18890 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xb0b5a40)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8d60158, 0x99992e0}, 0xb3783c0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xcc5e99c, {0x8d60158, 0x99992e0}, {0x8d5b194, 0xa5d2270}, {0x8d5b194, 0xa5d2288})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xcc5e99c, {0x8d60158, 0x99992e0}, {0x8d5b194, 0xa5d2270}, {0x8d5b194, 0xa5d2288})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xcc6ecc0, {0x8d60178, 0xaa50f30}, {0xc53f740, 0x5f}, 0x0, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x136
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xb14a640, {0x8d60178, 0xaa50d98}, {0x8d65a2c, 0xcc6ecc0}, {0x9dc3110, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:191 +0x319
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xb14a640, {0x8d65a2c, 0xcc6ecc0}, {0x9dc3110, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:156 +0x1be
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8d65a2c, 0xcc6ecc0}, {0x9dc3110, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x5c
</details>

<details><summary>2022-11-08 17:28 netbsd-386-9_0 tools@9474ca31 go@6109c07e x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/9e505a3e217644406ef6832a9150a338c4af4392">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65449
    serve.go:438: debug server listening at http://localhost:65448
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 46659 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xe045b60)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8d7a480, 0x98afd80}, 0xab14d10)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a6
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xd58ad38, {0x8d7a480, 0x98afd80}, {0x8d752a4, 0xf8dc498}, {0x8d752a4, 0xf8dc4b0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xd58ad38, {0x8d7a480, 0x98afd80}, {0x8d752a4, 0xf8dc498}, {0x8d752a4, 0xf8dc4b0})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xa8ad080, {0x8d7a440, 0xe1eedb0}, 0x1, {0xa50e0e0, 0x2, 0x2})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xf26
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xa8ad080, {0x8d7a440, 0xe1eedb0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x23f
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xa8ad080, {0x8d7a440, 0xe1eedb0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x141
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x47
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xdfa
</details>

<details><summary>2022-11-08 17:28 netbsd-amd64-9_0 tools@9474ca31 go@e5d28145 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/2fbaf96b9c58b966d9702cc9678c1f549a403acf">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65448
    serve.go:438: debug server listening at http://localhost:65447
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 47814 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0082127e0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1214330, 0xc007aa0750}, 0xc00816f760)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc008287e78, {0x1214330, 0xc007aa0750}, {0x120bd00?, 0xc00822a1b0}, {0x120bd00?, 0xc00822a1e0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc008287e40?, {0x1214330, 0xc007aa0750}, {0x120bd00?, 0xc00822a1b0?}, {0x120bd00?, 0xc00822a1e0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc007235cc0, {0x12142c0, 0xc0081e6410}, 0x1, {0xc001475ce0, 0x2, 0xc009ba6db8?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xe92
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc007235cc0, {0x12142c0, 0xc0081e6410}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x1f7
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc007235cc0, {0x12142c0, 0xc0081e6410}, 0x60?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>

<details><summary>2022-11-08 21:01 netbsd-amd64-9_0 tools@ba92ae17 go@2df6c1ab x/tools/gopls/internal/regtest/modfile (<a href="https://build.golang.org/log/81f550d4d7045de2a3f5e92c3380717008529eb4">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 17364): see golang/go#54461 for more details

    goroutine 4789 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc000681a10)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11a2f90, 0xc0011def90}, 0xc0008c0840)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0007c4988, {0x11a2f90, 0xc0011def90}, {0x119aa00?, 0xc0010d4a20}, {0x119aa00?, 0xc0010d4a50})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0007c4950?, {0x11a2f90, 0xc0011def90}, {0x119aa00?, 0xc0010d4a20?}, {0x119aa00?, 0xc0010d4a50?})
    ...
    golang.org/x/tools/gopls/internal/lsp/protocol.ServerHandler.func1({0x11a2fc8, 0xc000c2d860}, 0xc000da0ff0, {0x11a3380, 0xc000c2d7a0})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/protocol/protocol.go:157 +0x90
    golang.org/x/tools/gopls/internal/lsp/lsprpc.handshaker.func1({0x11a2fc8, 0xc000c2d860}, 0xc000da0ff0, {0x11a3380?, 0xc000c2d7a0?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/lsprpc/lsprpc.go:515 +0xa03
    golang.org/x/tools/internal/jsonrpc2.MustReplyHandler.func1({0x11a2fc8, 0xc000c2d860}, 0xc000e49770, {0x11a3380?, 0xc000c2d7a0?})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:35 +0xf6
    golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1.2()
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:103 +0xa3
    created by golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:100 +0x20a
</details>

<details><summary>2022-11-09 13:30 netbsd-amd64-9_0 tools@30574650 go@39ac1fbd x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/f85d22949766b3bbe76520e32b121f9e73dfe2e0">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65447
    serve.go:438: debug server listening at http://localhost:65446
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 23002 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0026a3c50)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x122e608, 0xc005b308a0}, 0xc004036580)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00522fe70, {0x122e608, 0xc005b308a0}, {0x1225ce0?, 0xc001de8c00}, {0x1225ce0?, 0xc001de8c90})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00522fe38?, {0x122e608, 0xc005b308a0}, {0x1225ce0?, 0xc001de8c00?}, {0x1225ce0?, 0xc001de8c90?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc003afbcc0, {0x122e598, 0xc00295a400}, 0x1, {0xc001aa4c20, 0x2, 0x22?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0x5a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc003afbcc0, {0x122e598, 0xc00295a400}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x205
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc003afbcc0, {0x122e598, 0xc00295a400}, 0x40?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>

<details><summary>2022-11-09 13:57 netbsd-386-9_0 tools@d41a43b9 go@d9c62ce8 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/3b212743c3d7ce59e465cbe146061c4d176a05c9">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65454
    serve.go:438: debug server listening at http://localhost:65453
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 9753 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xa6c7ce0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8d428a4, 0x95dc240}, 0xbb36420)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1cc
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xafdcd38, {0x8d428a4, 0x95dc240}, {0x8d3da30, 0xa26e0c0}, {0x8d3da30, 0xa26e0d8})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xafdcd38, {0x8d428a4, 0x95dc240}, {0x8d3da30, 0xa26e0c0}, {0x8d3da30, 0xa26e0d8})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xb4c7ef0, {0x8d42864, 0xac2c0c0}, 0x1, {0x95adee0, 0x2, 0x2})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xf18
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xb4c7ef0, {0x8d42864, 0xac2c0c0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x23f
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xb4c7ef0, {0x8d42864, 0xac2c0c0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x14a
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x47
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xdfa
</details>

<details><summary>2022-11-09 13:57 netbsd-amd64-9_0 tools@d41a43b9 go@d9c62ce8 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/989d1c7333a7781b9772c0107f3e6ebcf8a1baa5">log</a>)</summary>

    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:
    -------------------------
    PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 20765): see golang/go#54461 for more details

    goroutine 32644 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc006100d50)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1186498, 0xc006863ec0}, 0xc007752f20)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1c5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006d73648, {0x1186498, 0xc006863ec0}, {0x117e160?, 0xc006b033e0}, {0x117e160?, 0xc006b03410})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x104d
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc006d73610?, {0x1186498, 0xc006863ec0}, {0x117e160?, 0xc006b033e0?}, {0x117e160?, 0xc006b03410?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ActivePackages(0x11864d0?, {0x11864d0, 0xc006d45a70})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:1087 +0x45
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc003fe6500, {0x11864d0, 0xc006d45440}, {0x118f9a0, 0xc0001adb80}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:280 +0x793
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc003fe6500, {0x118f9a0, 0xc0001adb80}, {0xc000e5ad60, 0x1, 0x1}, 0x88?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:159 +0x2f1
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x118f9a0?, 0xc0001adb80?}, {0xc000e5ad60?, 0xc0066c12a8?, 0xc0063587b8?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x90
</details>

<details><summary>2022-11-09 14:00 netbsd-amd64-9_0 tools@bd04e329 go@9ff2a667 x/tools/gopls/internal/regtest/workspace (<a href="https://build.golang.org/log/034059d3fa834e2934cfd8e6d528334a7c96d326">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 9805): see golang/go#54461 for more details

    goroutine 7974 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc001892570)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11c4fc0, 0xc0036c0750}, 0xc00290a840)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc004049860, {0x11c4fc0, 0xc0036c0750}, {0x11bc9c0?, 0xc0036d79e0}, {0x11bc9c0?, 0xc0036d7a10})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc004049828?, {0x11c4fc0, 0xc0036c0750}, {0x11bc9c0?, 0xc0036d79e0?}, {0x11bc9c0?, 0xc0036d7a10?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc0028c23c0?, {0x11c4ff8, 0xc0035925d0}, {0xc0037cbda0, 0x53}, 0x0?, 0x0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc002656900, {0x11c4ff8, 0xc0035923f0}, {0x11d23d8, 0xc0028c23c0}, {0xc0020d7870, 0x1, 0xc0018c7900?}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:191 +0x3e3
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc002656900, {0x11d23d8, 0xc0028c23c0}, {0xc0020d7870, 0x1, 0x1}, 0x88?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:156 +0x229
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x11d23d8?, 0xc0028c23c0?}, {0xc0020d7870?, 0xc001e9e828?, 0xc0005d7fb8?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x90
</details>

<details><summary>2022-11-09 14:00 netbsd-amd64-9_0 tools@bd04e329 go@39ac1fbd x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/0738970fc3d2fb08debc7c746decb18fe4f414a9">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 9943): see golang/go#54461 for more details

    goroutine 16941 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00513b8c0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11c0608, 0xc0067f41e0}, 0xc006b2a000)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006abde70, {0x11c0608, 0xc0067f41e0}, {0x11b7d60?, 0xc0047765d0}, {0x11b7d60?, 0xc004776600})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc006abde38?, {0x11c0608, 0xc0067f41e0}, {0x11b7d60?, 0xc0047765d0?}, {0x11b7d60?, 0xc004776600?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc0069fc140, {0x11c0598, 0xc0041fa2c0}, 0x1, {0xc0061f8120, 0x2, 0xc0042da570?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0x5a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc0069fc140, {0x11c0598, 0xc0041fa2c0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x205
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc0069fc140, {0x11c0598, 0xc0041fa2c0}, 0xd0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>

<details><summary>2022-11-09 14:00 netbsd-amd64-9_0 tools@bd04e329 go@39ac1fbd x/tools/gopls/internal/regtest/watch (<a href="https://build.golang.org/log/0738970fc3d2fb08debc7c746decb18fe4f414a9">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 14501): see golang/go#54461 for more details

    goroutine 1901 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00013e840)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11af368, 0xc00050aa20}, 0xc0006be000)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0008258a8, {0x11af368, 0xc00050aa20}, {0x11a6ac0?, 0xc000a712c0}, {0x11a6ac0?, 0xc000a712f0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000825870?, {0x11af368, 0xc00050aa20}, {0x11a6ac0?, 0xc000a712c0?}, {0x11a6ac0?, 0xc000a712f0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc000630a00?, {0x11af3a0, 0xc00075fd10}, {0xc0008cba40, 0x65}, 0x0?, 0x0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc000844100, {0x11af3a0, 0xc00075fb60}, {0x11bbee0, 0xc000630a00}, {0xc0005852f0, 0x1, 0x0?}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:191 +0x5ab
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc000844100, {0x11bbee0, 0xc000630a00}, {0xc0005852f0, 0x1, 0x1}, 0xc4?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:156 +0x1ff
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x11bbee0?, 0xc000630a00?}, {0xc0005852f0?, 0xc0001132d0?, 0xc0002dcc40?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x90
</details>

<details><summary>2022-11-09 17:16 netbsd-386-9_0 tools@502c6347 go@fd0c0db4 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/2c8594deaefe9a3894a1e4a15014e1786a8ce2a7">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65449
    serve.go:438: debug server listening at http://localhost:65448
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 32207 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xbaa5170)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8d601f8, 0xa12a620}, 0xb64b500)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xb7b0a24, {0x8d601f8, 0xa12a620}, {0x8d5b234, 0xa081848}, {0x8d5b234, 0xa081860})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xb7b0a24, {0x8d601f8, 0xa12a620}, {0x8d5b234, 0xa081848}, {0x8d5b234, 0xa081860})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xb64b140, {0x8d60218, 0xa080288}, {0x9861c70, 0x69}, 0x0, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x136
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0x9dfeb40, {0x8d60218, 0xa26bf50}, {0x8d65a0c, 0xb64b140}, {0xa370660, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:191 +0x319
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0x9dfeb40, {0x8d65a0c, 0xb64b140}, {0xa370660, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:156 +0x1be
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8d65a0c, 0xb64b140}, {0xa370660, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x5c
</details>

<details><summary>2022-11-09 17:16 netbsd-amd64-9_0 tools@502c6347 go@d931b3b7 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/9710080151f81337280c3e6c443d7d36b1e30d68">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 15768): see golang/go#54461 for more details

    goroutine 15389 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc006666030)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11a88b0, 0xc0070b7bc0}, 0xc006816840)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006eb89d8, {0x11a88b0, 0xc0070b7bc0}, {0x11a0320?, 0xc0070b7e30}, {0x11a0320?, 0xc0070b7e60})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc006eb89a0?, {0x11a88b0, 0xc0070b7bc0}, {0x11a0320?, 0xc0070b7e30?}, {0x11a0320?, 0xc0070b7e60?})
    ...
    golang.org/x/tools/gopls/internal/lsp/protocol.ServerHandler.func1({0x11a88e8, 0xc006d71c50}, 0xc007115260, {0x11a8ca0, 0xc006d71b60})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/protocol/protocol.go:157 +0x90
    golang.org/x/tools/gopls/internal/lsp/lsprpc.handshaker.func1({0x11a88e8, 0xc006d71c50}, 0xc007115260, {0x11a8ca0?, 0xc006d71b60?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/lsprpc/lsprpc.go:515 +0xa03
    golang.org/x/tools/internal/jsonrpc2.MustReplyHandler.func1({0x11a88e8, 0xc006d71c50}, 0xc005b2c168, {0x11a8ca0?, 0xc006d71b60?})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:35 +0xf6
    golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1.2()
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:103 +0xa3
    created by golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:100 +0x20a
</details>

<details><summary>2022-11-10 18:37 netbsd-386-9_0 tools@d56532ab go@059c3ed0 x/tools/gopls/internal/regtest/misc.TestRunVulncheckExpStd (<a href="https://build.golang.org/log/852021e8fe18c862265a2c8a7b088bb7f7cad1ac">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65447
    serve.go:438: debug server listening at http://localhost:65446
    #### Start Gopls Test Logs for "TestRunVulncheckExpStd/default"
    [Trace - 19:44:18.810 PM] Sending request 'initialize - (1)'.
    Params: {"processId":0,"clientInfo":{"name":"fakeclient","version":"v1.0.0"},"rootUri":"","capabilities":{"workspace":{"workspaceEdit":{"resourceOperations":["rename"]},"didChangeConfiguration":{},"didChangeWatchedFiles":{"dynamicRegistration":true},"configuration":true},"textDocument":{"completion":{"completionItem":{"snippetSupport":true,"commitCharactersSupport":false,"documentationFormat":null,"deprecatedSupport":false,"preselectSupport":false,"tagSupport":{"valueSet":[1]},"insertReplaceSupport":false,"resolveSupport":{"properties":null},"insertTextModeSupport":{"valueSet":null},"labelDetailsSupport":false}},"hover":{},"documentSymbol":{},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":null}}},"rename":{},"foldingRange":{},"publishDiagnostics":{},"semanticTokens":{"requests":{"range":false,"full":true},"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":null}},"window":{"workDoneProgress":true}},"initializationOptions":{"codelenses":{"run_vulncheck_exp":true},"completionBudget":"10s","diagnosticsDelay":"10ms","env":{"GO111MODULE":"","GOMODCACHE":"","GOPACKAGESDRIVER":"off","GOPATH":"/tmp/workdir/tmp/gopls-regtest-2031183877/TestRunVulncheckExpStd/default/gopath","GOPROXY":"file:///tmp/workdir/tmp/gopls-regtest-2031183877/TestRunVulncheckExpStd/default/proxy","GOSUMDB":"off","GOVULNDB":"file:///tmp/workdir/tmp/vulndb-test3836175729","_GOPLS_TEST_BINARY_RUN_AS_GOPLS":"true","_GOPLS_TEST_VULNCHECK_GOVERSION":"go1.18"},"verboseWorkDoneProgress":true},"trace":"messages","workspaceFolders":[{"uri":"file:///tmp/workdir/tmp/gopls-regtest-2031183877/TestRunVulncheckExpStd/default/work","name":"work"}]}


    [Trace - 19:44:18.811 PM] Received response 'initialize - (1)' in 0ms.
    Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":true,"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"renameProvider":true,"foldingRangeProvider":true,"executeCommandProvider":{"commands":["gopls.add_dependency","gopls.add_import","gopls.apply_fix","gopls.check_upgrades","gopls.edit_go_directive","gopls.gc_details","gopls.generate","gopls.generate_gopls_mod","gopls.go_get_package","gopls.list_imports","gopls.list_known_packages","gopls.regenerate_cgo","gopls.remove_dependency","gopls.reset_go_mod_diagnostics","gopls.run_tests","gopls.run_vulncheck_exp","gopls.start_debugging","gopls.test","gopls.tidy","gopls.toggle_gc_details","gopls.update_go_sum","gopls.upgrade_dependency","gopls.vendor"]},"callHierarchyProvider":true,"inlayHintProvider":{},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"},"fileOperations":{}}},"serverInfo":{"name":"gopls","version":"{\"GoVersion\":\"devel 059c3ed09fb7f9feb479b71dc967219741ac7c06\",\"Path\":\"\",\"Main\":{\"Path\":\"\",\"Version\":\"\",\"Sum\":\"\",\"Replace\":null},\"Deps\":null,\"Settings\":null,\"Version\":\"master\"}"}}

    ...
    --- FAIL: TestRunVulncheckExpStd (526.10s)
        --- FAIL: TestRunVulncheckExpStd/default (526.10s)
            vuln_test.go:175: waiting on:
                Met: completed work "govulncheck" at least 1 time(s)
                Unmet: received ShowMessage

                err:context deadline exceeded

                state:
                #### log messages (see RPC logs for full text):
    ...
                #### diagnostics:
                    go.mod (version 1):

                #### outstanding work:
                #### completed work:
                    Load: 1
                    Setting up workspace: 1
                    diagnosing initial workspace load: 1
                    diagnosing opened files: 1
                    govulncheck: 1
</details>

<details><summary>2022-11-10 18:37 netbsd-386-9_0 tools@d56532ab go@a3dce127 x/tools/gopls/internal/regtest/modfile (<a href="https://build.golang.org/log/30fddb8d1a1fe678b7e942ab3f13e5e6e9e9e4da">log</a>)</summary>

    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:
    -------------------------
    PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 10669): see golang/go#54461 for more details

    goroutine 1247 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x99d4c30)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8cda674, 0x97a4600}, 0x982ab00)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1cc
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x955ad38, {0x8cda674, 0x97a4600}, {0x8cd5860, 0xa101ab8}, {0x8cd5860, 0xa101ad0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x955ad38, {0x8cda674, 0x97a4600}, {0x8cd5860, 0xa101ab8}, {0x8cd5860, 0xa101ad0})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0x99d1130, {0x8cda634, 0x963d9b0}, 0x1, {0x95ee210, 0x2, 0x2})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xf18
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0x99d1130, {0x8cda634, 0x963d9b0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x23f
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0x99d1130, {0x8cda634, 0x963d9b0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x14a
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x47
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xdfa
</details>

<details><summary>2022-11-10 18:37 netbsd-amd64-9_0 tools@d56532ab go@d931b3b7 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/b08c73faef2d1e2e852b620edf510e86004566b6">log</a>)</summary>

    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:
    -------------------------
    PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 9568): see golang/go#54461 for more details

    goroutine 140 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc000522060)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12146f0, 0xc0003273e0}, 0xc000446000)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000691e78, {0x12146f0, 0xc0003273e0}, {0x120c0c0?, 0xc000532090}, {0x120c0c0?, 0xc0005320c0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000691e40?, {0x12146f0, 0xc0003273e0}, {0x120c0c0?, 0xc000532090?}, {0x120c0c0?, 0xc0005320c0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc0001d28c0, {0x1214680, 0xc000176a00}, 0x1, {0xc0003aee20, 0x2, 0x1?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xe92
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc0001d28c0, {0x1214680, 0xc000176a00}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x1f7
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc0001d28c0, {0x1214680, 0xc000176a00}, 0x0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>

<details><summary>2022-11-10 22:27 netbsd-amd64-9_0 tools@d66e9b4a go@79950a41 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/b895525bcd638d1a3d93c73850a3e1e9cf8817dc">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 16626): see golang/go#54461 for more details

    goroutine 23359 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc006b182a0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11a8810, 0xc003f67c50}, 0xc006dbc6e0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc003e0be78, {0x11a8810, 0xc003f67c50}, {0x11a0280?, 0xc003f67f80}, {0x11a0280?, 0xc003f67fb0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc003e0be40?, {0x11a8810, 0xc003f67c50}, {0x11a0280?, 0xc003f67f80?}, {0x11a0280?, 0xc003f67fb0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc00732ac80, {0x11a87a0, 0xc00546dc70}, 0x1, {0xc00567c6a0, 0x2, 0xc007ec4da8?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:136 +0xe92
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc00732ac80, {0x11a87a0, 0xc00546dc70}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x1f7
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc00732ac80, {0x11a87a0, 0xc00546dc70}, 0xe0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe4f
</details>

<details><summary>2022-11-11 00:41 netbsd-386-9_0 tools@004d1181 go@ec651088 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/5616881bd47a8b17ea74937d40a9e81a737825db">log</a>)</summary>

    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:
    -------------------------
    PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 15077): see golang/go#54461 for more details

    goroutine 17981 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xd9a9350)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8cbaf40, 0x9549300}, 0xd78b8c0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a6
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xe4bca1c, {0x8cbaf40, 0x9549300}, {0x8cb625c, 0xcbf8090}, {0x8cb625c, 0xcbf80a8})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xe4bca1c, {0x8cbaf40, 0x9549300}, {0x8cb625c, 0xcbf8090}, {0x8cb625c, 0xcbf80a8})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xd880e70, {0x8cbaf60, 0xd8c73e0}, {0xb58a150, 0x6d}, 0x0, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x136
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xa43c500, {0x8cbaf60, 0xd8c7320}, {0x8cbfcac, 0xd880e70}, {0xd058c90, 0x1, 0x1}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:191 +0x338
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xa43c500, {0x8cbfcac, 0xd880e70}, {0xd058c90, 0x1, 0x1}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:156 +0x1e0
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8cbfcac, 0xd880e70}, {0xd058c90, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x5c
</details>

<details><summary>2022-11-11 03:59 darwin-arm64-11 tools@3c3713e6 go@73f987c8 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/c8967a9ba566338373f765d1ca88cf089a820ac7">log</a>)</summary>

    2022/11/11 09:55:17 error killing the Go command: os: process already finished
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 18373 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x1400520aa50)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x378
    golang.org/x/tools/internal/gocommand.runCmdContext({0x10571bfb0, 0x140014618c0}, 0x14001fc2b00)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x2e4
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x14004b157a8, {0x10571bfb0, 0x140014618c0}, {0x1057144d8?, 0x14000b99c20}, {0x1057144d8?, 0x14000b99c50})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xc90
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x14004b15770?, {0x10571bfb0, 0x140014618c0}, {0x1057144d8?, 0x14000b99c20?}, {0x1057144d8?, 0x14000b99c50?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ActivePackages(0x10571bfe8?, {0x10571bfe8, 0x140016633b0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:1087 +0x2c
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0x14002a88600, {0x10571bfe8, 0x14001480fc0}, {0x105728330, 0x14004818280}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:280 +0x2f4
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0x14002a88600, {0x105728330, 0x14004818280}, {0x14001f70e00, 0x1, 0x1}, 0x88?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:159 +0x230
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x105728330?, 0x14004818280?}, {0x14001f70e00?, 0x14001480d20?, 0x140014c2d00?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x78
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x6c
</details>

<details><summary>2022-11-11 15:24 netbsd-amd64-9_0 tools@13648cde go@a3dce127 x/tools/gopls/internal/regtest/completion (<a href="https://build.golang.org/log/9c79bf674b5ac0a052d3583005cc65e34992cc52">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 10086): see golang/go#54461 for more details

    goroutine 131 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0004bd3e0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1119d78, 0xc0003fede0}, 0xc000508420)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1c5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0002f7e70, {0x1119d78, 0xc0003fede0}, {0x1112280?, 0xc0003d37a0}, {0x1112280?, 0xc0003d37d0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x104d
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0002f7e38?, {0x1119d78, 0xc0003fede0}, {0x1112280?, 0xc0003d37a0?}, {0x1112280?, 0xc0003d37d0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc000514b40, {0x1119d08, 0xc000212580}, 0x1, {0xc000207e00, 0x2, 0x1000625d0?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:133 +0x5a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc000514b40, {0x1119d08, 0xc000212580}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x205
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc000514b40, {0x1119d08, 0xc000212580}, 0x40?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x195
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe18
</details>

<details><summary>2022-11-11 16:02 netbsd-386-9_0 tools@e3b3c010 go@1a6a37f9 x/tools/gopls/internal/regtest/watch (<a href="https://build.golang.org/log/5d3bbc8e4eded67bd4fc9b2f704d49c5b593e03c">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 14603): see golang/go#54461 for more details

    goroutine 5099 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xba0b140)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8c8c970, 0xa10d0c0}, 0xba143c0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xa374a24, {0x8c8c970, 0xa10d0c0}, {0x8c87ebc, 0xa6f1020}, {0x8c87ebc, 0xa6f1038})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xa374a24, {0x8c8c970, 0xa10d0c0}, {0x8c87ebc, 0xa6f1020}, {0x8c87ebc, 0xa6f1038})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xb3c8540, {0x8c8c990, 0xac2c420}, {0xbc102a0, 0x6c}, 0x0, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:627 +0x136
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xa9746e0, {0x8c8c990, 0xac2c360}, {0x8c9165c, 0xb3c8540}, {0xaf69c98, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:191 +0x319
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xa9746e0, {0x8c9165c, 0xb3c8540}, {0xaf69c98, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:156 +0x1be
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8c9165c, 0xb3c8540}, {0xaf69c98, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x5c
</details>

<details><summary>2022-11-11 16:02 netbsd-386-9_0 tools@e3b3c010 go@01d12c94 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/f6f12c3763bd4ce60ff9af7917490d6be6700841">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65455
    serve.go:438: debug server listening at http://localhost:65454
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 2796 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x951b8c0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8cff6c0, 0xa22e460}, 0xa05a180)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xa8ded38, {0x8cff6c0, 0xa22e460}, {0x8cfabbc, 0xa1b4240}, {0x8cfabbc, 0xa1b4258})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xa8ded38, {0x8cff6c0, 0xa22e460}, {0x8cfabbc, 0xa1b4240}, {0x8cfabbc, 0xa1b4258})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0x9402480, {0x8cff680, 0xa1e8930}, 0x1, {0xa1a0a60, 0x2, 0x2})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:133 +0xe6b
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0x9402480, {0x8cff680, 0xa1e8930}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x232
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0x9402480, {0x8cff680, 0xa1e8930}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x141
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:301 +0x47
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:299 +0xe0c
</details>

<details><summary>2022-11-15 00:02 netbsd-amd64-9_0 tools@0c71b564 go@f977ffe8 x/tools/gopls/internal/regtest/modfile (<a href="https://build.golang.org/log/3e5d3746f577f91e48ad3bdfb3994bb12357460f">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 16996): see golang/go#54461 for more details

    goroutine 2635 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00097e900)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11420f0, 0xc00087c180}, 0xc000a79b80)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000fb9880, {0x11420f0, 0xc00087c180}, {0x113a380?, 0xc000562a50}, {0x113a380?, 0xc000562a80})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000fb9848?, {0x11420f0, 0xc00087c180}, {0x113a380?, 0xc000562a50?}, {0x113a380?, 0xc000562a80?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ActivePackages(0x1142128?, {0x1142128, 0xc000d56ed0})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:1098 +0x45
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc000c7bf00, {0x1142128, 0xc0007a6900}, {0x114f1f0?, 0xc000f1c160}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:284 +0x3cc
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc000c7bf00, {0x114f1f0, 0xc000f1c160}, {0xc000f1e2e0, 0x2, 0x2}, 0x88?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:165 +0x23b
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x114f1f0?, 0xc000f1c160?}, {0xc000f1e2e0?, 0xc0008112a8?, 0xc0000667b8?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x90
</details>

<details><summary>2022-11-15 16:13 netbsd-386-9_0 tools@1cb4c179 go@395323c4 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/3ad9197535f75cbb9a139ba7b347a352b4602006">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 13485): see golang/go#54461 for more details

    goroutine 14046 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xd8c43c0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8c9c4e0, 0xb105a20}, 0xdd4e600)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xa0d2df0, {0x8c9c4e0, 0xb105a20}, {0x8c97a2c, 0xa7ca408}, {0x8c97a2c, 0xa7ca420})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xa0d2df0, {0x8c9c4e0, 0xb105a20}, {0x8c97a2c, 0xa7ca408}, {0x8c97a2c, 0xa7ca420})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xd585200, {0x8c9c4a0, 0xa0c9e00}, 0x1, {0xb07a090, 0x2, 0x2})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:133 +0xe77
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xd585200, {0x8c9c4a0, 0xa0c9e00}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x232
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xd585200, {0x8c9c4a0, 0xa0c9e00}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x141
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:302 +0x47
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:300 +0xe6f
</details>

<details><summary>2022-11-15 19:01 netbsd-amd64-9_0 tools@fc702c52 go@96711e4d x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/f2f481eddbde9204c4984ccecaee9facf2acd2d8">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 21136): see golang/go#54461 for more details

    goroutine 31328 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc007197da0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1147970, 0xc0044848a0}, 0xc0056126e0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006eb9f90, {0x1147970, 0xc0044848a0}, {0x113fc00?, 0xc004484b10}, {0x113fc00?, 0xc004484b40})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc006eb9f58?, {0x1147970, 0xc0044848a0}, {0x113fc00?, 0xc004484b10?}, {0x113fc00?, 0xc004484b40?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc002b85ce0, {0x1147900, 0xc002724780}, 0x1, {0xc004faa300, 0x2, 0x0?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:133 +0xe32
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc002b85ce0, {0x1147900, 0xc002724780}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x1f7
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc002b85ce0, {0x1147900, 0xc002724780}, 0xc0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:302 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:300 +0xe85
</details>

<details><summary>2022-11-15 19:01 netbsd-amd64-9_0 tools@fc702c52 go@96711e4d x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/f2f481eddbde9204c4984ccecaee9facf2acd2d8">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65454
    serve.go:438: debug server listening at http://localhost:65453
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 44290 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc005bf2150)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11b37b0, 0xc00704e5d0}, 0xc0060dfe40)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006833f90, {0x11b37b0, 0xc00704e5d0}, {0x11ab9a0?, 0xc00704e840}, {0x11ab9a0?, 0xc00704e870})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc006833f58?, {0x11b37b0, 0xc00704e5d0}, {0x11ab9a0?, 0xc00704e840?}, {0x11ab9a0?, 0xc00704e870?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc0058c1340, {0x11b3740, 0xc007db4730}, 0x1, {0xc001805a00, 0x2, 0xc0014f5568?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:133 +0xe32
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc0058c1340, {0x11b3740, 0xc007db4730}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x1f7
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc0058c1340, {0x11b3740, 0xc007db4730}, 0xa0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:302 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:300 +0xe85
</details>

<details><summary>2022-11-15 20:27 netbsd-amd64-9_0 tools@06fb723d go@d96e5847 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/b0f4a6952eb6b5a6e4f09bb1d494e839ae41c5bb">log</a>)</summary>

    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:
    -------------------------
    PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 14362): see golang/go#54461 for more details

    goroutine 14165 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0073ea7e0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1128308, 0xc0054961e0}, 0xc003194000)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1c5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0034aff88, {0x1128308, 0xc0054961e0}, {0x11207a0?, 0xc004128d20}, {0x11207a0?, 0xc004128d50})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x104d
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0034aff50?, {0x1128308, 0xc0054961e0}, {0x11207a0?, 0xc004128d20?}, {0x11207a0?, 0xc004128d50?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc00755bb80, {0x1128298, 0xc0061cc4c0}, 0x1, {0xc0019c6020, 0x2, 0x2?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:133 +0x5a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc00755bb80, {0x1128298, 0xc0061cc4c0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x205
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc00755bb80, {0x1128298, 0xc0061cc4c0}, 0x0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x195
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:302 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:300 +0xe38
</details>

<details><summary>2022-11-16 15:56 netbsd-amd64-9_0 tools@b0ad6b2e go@e6eaf39c x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/44211c08239b74140dd467e5b6a592fc62ae0f18">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 11530): see golang/go#54461 for more details

    goroutine 171 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00064e8a0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11ad710, 0xc0003eb920}, 0xc0002ceb00)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000409f88, {0x11ad710, 0xc0003eb920}, {0x11a5920?, 0xc000524330}, {0x11a5920?, 0xc000524360})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000409f50?, {0x11ad710, 0xc0003eb920}, {0x11a5920?, 0xc000524330?}, {0x11a5920?, 0xc000524360?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc000616000, {0x11ad6a0, 0xc000036aa0}, 0x1, {0xc0002bebe0, 0x2, 0x2000?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:133 +0xe32
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc000616000, {0x11ad6a0, 0xc000036aa0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x1f7
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc000616000, {0x11ad6a0, 0xc000036aa0}, 0x0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:302 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:300 +0xe85
</details>

<details><summary>2022-11-16 15:56 netbsd-amd64-9_0 tools@b0ad6b2e go@38218f39 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/68052c18b611232523596e9b422b8a79058f6303">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 16175): see golang/go#54461 for more details

    goroutine 15672 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0053cfad0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x113f090, 0xc0052c8a50}, 0xc005076420)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0056b6af8, {0x113f090, 0xc0052c8a50}, {0x1137340?, 0xc004afccf0}, {0x1137340?, 0xc004afcd20})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0056b6ac0?, {0x113f090, 0xc0052c8a50}, {0x1137340?, 0xc004afccf0?}, {0x1137340?, 0xc004afcd20?})
    ...
    golang.org/x/tools/gopls/internal/lsp/protocol.ServerHandler.func1({0x113f0c8, 0xc005149110}, 0xc005298ba0, {0x113f448, 0xc005149050})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/protocol/protocol.go:157 +0x90
    golang.org/x/tools/gopls/internal/lsp/lsprpc.handshaker.func1({0x113f0c8, 0xc005149110}, 0xc005298ba0, {0x113f448?, 0xc005149050?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/lsprpc/lsprpc.go:515 +0xa03
    golang.org/x/tools/internal/jsonrpc2.MustReplyHandler.func1({0x113f0c8, 0xc005149110}, 0xc004839818, {0x113f448?, 0xc005149050?})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:35 +0xf6
    golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1.2()
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:103 +0xa3
    created by golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:100 +0x20a
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-11-17 16:35 netbsd-amd64-9_0 tools@434d569d go@d96e5847 x/tools/gopls/internal/regtest/modfile (<a href="https://build.golang.org/log/2f79eaa4ebb59d18da4ba66ec9bd452c390bff87">log</a>)</summary>

    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:
    -------------------------
    PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 12769): see golang/go#54461 for more details

    goroutine 3097 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc000446c00)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1123c40, 0xc000d7e3c0}, 0xc00021dce0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1c5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00098ff88, {0x1123c40, 0xc000d7e3c0}, {0x111c100?, 0xc000b85920}, {0x111c100?, 0xc000b85980})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x104d
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00098ff50?, {0x1123c40, 0xc000d7e3c0}, {0x111c100?, 0xc000b85920?}, {0x111c100?, 0xc000b85980?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc000ea1080, {0x1123bd0, 0xc000d5a540}, 0x1, {0xc000b01520, 0x2, 0x4189f3?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:133 +0x5a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc000ea1080, {0x1123bd0, 0xc000d5a540}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x205
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc000ea1080, {0x1123bd0, 0xc000d5a540}, 0xc0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x195
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:302 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:300 +0xe38
</details>

<details><summary>2022-11-17 19:20 netbsd-386-9_0 tools@3d085f3f go@b74aaa14 x/tools/gopls/internal/regtest/workspace (<a href="https://build.golang.org/log/ed9e959fa46f786db045436e236930cccfaf3a02">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 13149): see golang/go#54461 for more details

    goroutine 559 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x97e2fc0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8cb0b4c, 0x972bba0}, 0x99adb00)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x971ca60, {0x8cb0b4c, 0x972bba0}, {0x8cac06c, 0x97f7b30}, {0x8cac06c, 0x97f7b48})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x971ca60, {0x8cb0b4c, 0x972bba0}, {0x8cac06c, 0x97f7b30}, {0x8cac06c, 0x97f7b48})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ActivePackages(0x99ea000, {0x8cb0b6c, 0x99cc030})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:1098 +0x2f
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0x952a6e0, {0x8cb0b6c, 0x9884930}, {0x8cb58fc, 0x99ea000}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:284 +0x41b
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0x952a6e0, {0x8cb58fc, 0x99ea000}, {0x9414a20, 0x1, 0x1}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:165 +0x280
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8cb58fc, 0x99ea000}, {0x9414a20, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x5c
</details>

<details><summary>2022-11-17 20:46 netbsd-386-9_0 tools@dea100b1 go@1ed636dc x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/59118870095bb24db890a39b2a8c762859c583a3">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65454
    serve.go:438: debug server listening at http://localhost:65453
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 40384 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x10664840)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8cfaf60, 0x1063b890}, 0x10568c00)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x49e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xef0cd40, {0x8cfaf60, 0x1063b890}, {0x8cf64ac, 0x1066b110}, {0x8cf64ac, 0x1066b128})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xef0cd40, {0x8cfaf60, 0x1063b890}, {0x8cf64ac, 0x1066b110}, {0x8cf64ac, 0x1066b128})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0x10ca46c0, {0x8cfafc0, 0x10f0c588}, {0xfbf5bc0, 0x58}, 0x0, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:638 +0x136
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xe3ffc20, {0x8cfafc0, 0x10f0c4c8}, {0x8d0066c, 0x10ca46c0}, {0x10cbe860, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:197 +0x2b4
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xe3ffc20, {0x8d0066c, 0x10ca46c0}, {0x10cbe860, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:156 +0x159
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8d0066c, 0x10ca46c0}, {0x10cbe860, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x5c
</details>

<details><summary>2022-11-17 20:46 netbsd-amd64-9_0 tools@dea100b1 go@a8f9d3f0 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/15c3f8df5b4986be30bbaf31a6d716ea6fdcd877">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 13002): see golang/go#54461 for more details

    goroutine 15984 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0021feba0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11404f0, 0xc002571110}, 0xc0001a62c0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0072f1a20, {0x11404f0, 0xc002571110}, {0x11387a0?, 0xc005ef4360}, {0x11387a0?, 0xc005ef4390})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0072f19e8?, {0x11404f0, 0xc002571110}, {0x11387a0?, 0xc005ef4360?}, {0x11387a0?, 0xc005ef4390?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc000279a20?, {0x1140528, 0xc0025537a0}, {0xc006500cc0, 0x5d}, 0xd73f00?, 0x2?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:638 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc003dc2000, {0x1140528, 0xc0025535f0}, {0x114d5f0, 0xc000279a20}, {0xc001b39840, 0x3, 0x0?}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:197 +0x30f
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc003dc2000, {0x114d5f0, 0xc000279a20}, {0xc001b39840, 0x3, 0x4}, 0x44?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:156 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x114d5f0?, 0xc000279a20?}, {0xc001b39840?, 0x56e30a?, 0xc004bcaf98?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x90
</details>

<details><summary>2022-11-18 15:58 netbsd-386-9_0 tools@32a17c01 go@861ba027 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/61d092d92facaa28041a072bfaef61796c8b9ff4">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 18450): see golang/go#54461 for more details

    goroutine 28847 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xdad8d20)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8cbb4e0, 0xeba8600}, 0xa111290)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a6
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xcf02df0, {0x8cbb4e0, 0xeba8600}, {0x8cb680c, 0xce84768}, {0x8cb680c, 0xce84780})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xcf02df0, {0x8cbb4e0, 0xeba8600}, {0x8cb680c, 0xce84768}, {0x8cb680c, 0xce84780})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc55f200, {0x8cbb4a0, 0xd0850e0}, 0x1, {0xaa4ded0, 0x2, 0x2})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:133 +0xf0b
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc55f200, {0x8cbb4a0, 0xd0850e0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:717 +0x23f
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc55f200, {0x8cbb4a0, 0xd0850e0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:651 +0x141
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:302 +0x47
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:300 +0xe5d
</details>

<details><summary>2022-11-18 15:58 netbsd-386-9_3 tools@32a17c01 go@e18d07dd x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/2fc12a08fa3559f8dbc40f28b7c475a81b4ab819">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65452
    serve.go:438: debug server listening at http://localhost:65451
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 42777 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x1106a8d0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8cfc180, 0x1105a810}, 0xf167a40)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x49e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xea8ed40, {0x8cfc180, 0x1105a810}, {0x8cf76cc, 0x110694e8}, {0x8cf76cc, 0x11069500})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xea8ed40, {0x8cfc180, 0x1105a810}, {0x8cf76cc, 0x110694e8}, {0x8cf76cc, 0x11069500})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0x10f24a80, {0x8cfc1e0, 0x111250e0}, {0x106d1c80, 0x5e}, 0x0, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:638 +0x136
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0x952bea0, {0x8cfc1e0, 0x11125020}, {0x8d0188c, 0x10f24a80}, {0x10f15550, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:197 +0x2b4
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0x952bea0, {0x8d0188c, 0x10f24a80}, {0x10f15550, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:156 +0x159
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8d0188c, 0x10f24a80}, {0x10f15550, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x5c
</details>

<details><summary>2022-11-18 17:16 netbsd-amd64-9_0 tools@5a4eba5a go@861ba027 x/tools/gopls/internal/regtest/completion (<a href="https://build.golang.org/log/72b885104c34ecddb4345dbd62a41ede756f65aa">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 11929): see golang/go#54461 for more details

    goroutine 5030 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc002952a50)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1151940, 0xc0017268d0}, 0xc002e28b00)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc002d43998, {0x1151940, 0xc0017268d0}, {0x1149900?, 0xc001726a20}, {0x1149900?, 0xc001726a50})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc002d43960?, {0x1151940, 0xc0017268d0}, {0x1149900?, 0xc001726a20?}, {0x1149900?, 0xc001726a50?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ModTidy.func1({0x1151898, 0xc000dca5c0}, {0xeb1aa0?, 0xc002e282c0})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/mod_tidy.go:72 +0x8c
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xa9
    runtime/trace.WithRegion({0x1151898?, 0xc000dca5c0?}, {0xc002691db8, 0x13}, 0xc000465f90)
        /tmp/workdir/go/src/runtime/trace/annotation.go:141 +0xe3
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x145
    created by golang.org/x/tools/internal/memoize.(*Promise).run
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x1ea
</details>

<details><summary>2022-11-18 17:16 netbsd-amd64-9_0 tools@23056f61 go@893964b9 x/tools/gopls/internal/regtest/watch (<a href="https://build.golang.org/log/70ac6a9ee770c58d9c06e2f693094429c9ab2c15">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 17846): see golang/go#54461 for more details

    goroutine 5311 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0028d0060)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x112df50, 0xc001960840}, 0xc000aee000)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc002b6d948, {0x112df50, 0xc001960840}, {0x1126200?, 0xc001bbe960}, {0x1126200?, 0xc001bbe9c0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc002b6d910?, {0x112df50, 0xc001960840}, {0x1126200?, 0xc001bbe960?}, {0x1126200?, 0xc001bbe9c0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ActivePackages(0x112df88?, {0x112df88, 0xc002b9f9e0})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:1065 +0x45
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc0026b8a00, {0x112df88, 0xc002381dd0}, {0x113aff0?, 0xc00032f8c0}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:284 +0x3cc
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0026b8a00, {0x113aff0, 0xc00032f8c0}, {0xc002a4ab70, 0x1, 0x1}, 0x5b?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:165 +0x23b
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x113aff0?, 0xc00032f8c0?}, {0xc002a4ab70?, 0xc00278db00?, 0xc001b40930?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x90
</details>

<details><summary>2022-11-18 17:19 netbsd-amd64-9_0 tools@c7ed4b3c go@893964b9 x/tools/gopls/internal/regtest/modfile (<a href="https://build.golang.org/log/7209fcee8c70a4fa56bd65a4c2ab99611c427bfa">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 17347): see golang/go#54461 for more details

    goroutine 4891 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0009ba090)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x113ab50, 0xc0006896e0}, 0xc0006951e0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000d96aa8, {0x113ab50, 0xc0006896e0}, {0x1132e00?, 0xc0007b4090}, {0x1132e00?, 0xc0007b40c0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000d96a70?, {0x113ab50, 0xc0006896e0}, {0x1132e00?, 0xc0007b4090?}, {0x1132e00?, 0xc0007b40c0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/protocol.ServerHandler.func1({0x113ab88, 0xc0007137a0}, 0xc0010da480, {0x113af08, 0xc0007135f0})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/protocol/protocol.go:157 +0x90
    golang.org/x/tools/gopls/internal/lsp/lsprpc.handshaker.func1({0x113ab88, 0xc0007137a0}, 0xc0010da480, {0x113af08?, 0xc0007135f0?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/lsprpc/lsprpc.go:515 +0xa03
    golang.org/x/tools/internal/jsonrpc2.MustReplyHandler.func1({0x113ab88, 0xc0007137a0}, 0xc000117e18, {0x113af08?, 0xc0007135f0?})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:35 +0xf6
    golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1.2()
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:103 +0xa3
    created by golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:100 +0x20a
</details>

<details><summary>2022-11-18 17:22 netbsd-386-9_0 tools@2592a854 go@d96e5847 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/6570e89e8b528b8bdd0467a2ca61ae0bfc5de29c">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65455
    serve.go:438: debug server listening at http://localhost:65454
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 23725 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xe09fe90)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8ce94f8, 0xe0cef80}, 0xe0d4fd0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1cc
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xe15cdf0, {0x8ce94f8, 0xe0cef80}, {0x8ce4b28, 0xe0db818}, {0x8ce4b28, 0xe0db830})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xe15cdf0, {0x8ce94f8, 0xe0cef80}, {0x8ce4b28, 0xe0db818}, {0x8ce4b28, 0xe0db830})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xe0515c0, {0x8ce94b8, 0xe0d2060}, 0x1, {0x9e1efc0, 0x2, 0x2})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:133 +0xefd
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xe0515c0, {0x8ce94b8, 0xe0d2060}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:750 +0x23f
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xe0515c0, {0x8ce94b8, 0xe0d2060}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:684 +0x14a
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:302 +0x47
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:300 +0xef1
</details>

<details><summary>2022-11-18 20:21 netbsd-amd64-9_0 tools@c099dff1 go@6fc1f4f9 x/tools/gopls/internal/regtest/workspace (<a href="https://build.golang.org/log/8c5b5584b7f3de26f6c465e7bc2b735e9f883f26">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 14782): see golang/go#54461 for more details

    goroutine 5978 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00129f3e0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1160640, 0xc002379e00}, 0xc0008cadc0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc002aadf88, {0x1160640, 0xc002379e00}, {0x1158860?, 0xc0014c0090}, {0x1158860?, 0xc0014c01e0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc002aadf50?, {0x1160640, 0xc002379e00}, {0x1158860?, 0xc0014c0090?}, {0x1158860?, 0xc0014c01e0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc0007b6b00, {0x11605d0, 0xc001e7ea00}, 0x1, {0xc002444b00, 0x2, 0xa9a060?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:133 +0xe32
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc0007b6b00, {0x11605d0, 0xc001e7ea00}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:750 +0x1f7
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc0007b6b00, {0x11605d0, 0xc001e7ea00}, 0x80?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:684 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:302 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:300 +0xfa5
</details>

<details><summary>2022-11-18 20:21 netbsd-amd64-9_0 tools@c099dff1 go@d96e5847 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/3af2595d3418be5fcbab3f696598f5e19cf3b95a">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 13224): see golang/go#54461 for more details

    goroutine 13781 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00476b290)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1129488, 0xc005739740}, 0xc004eb31e0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1c5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc004d1ff88, {0x1129488, 0xc005739740}, {0x1121940?, 0xc00368e3f0}, {0x1121940?, 0xc00368e420})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x104d
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc004d1ff50?, {0x1129488, 0xc005739740}, {0x1121940?, 0xc00368e3f0?}, {0x1121940?, 0xc00368e420?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc0004f5e40, {0x1129418, 0xc0014fc5c0}, 0x1, {0xc001b4cbe0, 0x2, 0x2?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:133 +0x5a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc0004f5e40, {0x1129418, 0xc0014fc5c0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:750 +0x205
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc0004f5e40, {0x1129418, 0xc0014fc5c0}, 0xc0?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:684 +0x195
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:302 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:300 +0xf58
</details>

<details><summary>2022-11-18 21:37 netbsd-386-9_0 tools@fc039936 go@dccc58e1 x/tools/gopls/internal/regtest/codelens (<a href="https://build.golang.org/log/93fffafdda604a3876e439eba800c1a374e07a68">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 12983): see golang/go#54461 for more details

    goroutine 4059 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x9708ff0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8c857f8, 0xa3d1848}, 0xb35a180)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xb2f5bb0, {0x8c857f8, 0xa3d1848}, {0x8c80d5c, 0xa3d1950}, {0x8c80d5c, 0xa3d1968})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xb2f5bb0, {0x8c857f8, 0xa3d1848}, {0x8c80d5c, 0xa3d1950}, {0x8c80d5c, 0xa3d1968})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).RunGoCommandDirect(0xb2da0c0, {0x8c857f8, 0xa3d1848}, 0x0, 0xb366060)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:388 +0x110
    golang.org/x/tools/gopls/internal/lsp/source.GCOptimizationDetails({0x8c857f8, 0xa3d1848}, {0x8c8a4bc, 0xb2da0c0}, {0x8c89e6c, 0xa69e680})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/source/gc_annotations.go:69 +0x619
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnosePkg(0xa130000, {0x8c857f8, 0xa3d11d0}, {0x8c8a4bc, 0xb2da0c0}, {0x8c89e6c, 0xa69e680}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:395 +0xa77
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose.func3({0x8c89e6c, 0xa69e680})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:332 +0x99
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:330 +0x91c
</details>

<details><summary>2022-11-18 21:37 netbsd-amd64-9_0 tools@fc039936 go@dccc58e1 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/9b6fe7bf8e514e5050447082843b157a2dc56313">log</a>)</summary>

    serve.go:438: debug server listening at http://localhost:65456
    serve.go:438: debug server listening at http://localhost:65455
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 28893 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00683c090)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11b11d0, 0xc0037cf0b0}, 0xc0036326e0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc005bd1948, {0x11b11d0, 0xc0037cf0b0}, {0x11a93c0?, 0xc0037cf830}, {0x11a93c0?, 0xc0037cf860})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc005bd1910?, {0x11b11d0, 0xc0037cf0b0}, {0x11a93c0?, 0xc0037cf830?}, {0x11a93c0?, 0xc0037cf860?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc000b766e0?, {0x11b1208, 0xc003388e70}, {0xc00610a4b0, 0x4e}, 0xdd00a0?, 0x74?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:638 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc001a5a400, {0x11b1208, 0xc003388cc0}, {0x11bfb30, 0xc000b766e0}, {0xc002014ea0, 0x1, 0x0?}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:197 +0x30f
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc001a5a400, {0x11bfb30, 0xc000b766e0}, {0xc002014ea0, 0x1, 0x1}, 0x88?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:156 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x11bfb30?, 0xc000b766e0?}, {0xc002014ea0?, 0xc00583fac8?, 0xc002e05fb8?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x90
</details>

<details><summary>2022-11-18 21:44 netbsd-386-9_0 tools@128f61d4 go@dccc58e1 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/d6a8d97b371ab3e48a9758b406593de5b7107656">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 3263): see golang/go#54461 for more details

    goroutine 4694 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xb9451d0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8c96560, 0x97b1d00}, 0xa858b40)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xa352df0, {0x8c96560, 0x97b1d00}, {0x8c91aac, 0xa4c5410}, {0x8c91aac, 0xa4c5428})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xa352df0, {0x8c96560, 0x97b1d00}, {0x8c91aac, 0xa4c5410}, {0x8c91aac, 0xa4c5428})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xade4fc0, {0x8c96520, 0xa6d68d0}, 0x1, {0xa116360, 0x2, 0x2})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:133 +0xe77
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xade4fc0, {0x8c96520, 0xa6d68d0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:750 +0x232
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xade4fc0, {0x8c96520, 0xa6d68d0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:684 +0x141
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:302 +0x47
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:300 +0xf03
</details>

<details><summary>2022-11-18 21:44 netbsd-386-9_0 tools@8ba9a370 go@dccc58e1 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/980a944d9fbd8d1985b0f60d6d9daf517c187059">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 17887): see golang/go#54461 for more details

    goroutine 12800 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xae421b0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8c96560, 0xc743f60}, 0x991ab40)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xa5aedf0, {0x8c96560, 0xc743f60}, {0x8c91aac, 0xa78e0c0}, {0x8c91aac, 0xa78e0f0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xa5aedf0, {0x8c96560, 0xc743f60}, {0x8c91aac, 0xa78e0c0}, {0x8c91aac, 0xa78e0f0})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xd0c09c0, {0x8c96520, 0xd7077d0}, 0x1, {0x9e71630, 0x2, 0x2})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:133 +0xe77
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xd0c09c0, {0x8c96520, 0xd7077d0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:750 +0x232
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xd0c09c0, {0x8c96520, 0xd7077d0}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:684 +0x141
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:302 +0x47
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:300 +0xf03
</details>

<details><summary>2022-11-18 21:46 netbsd-386-9_0 tools@19fb30d1 go@335e7647 x/tools/gopls/internal/regtest/modfile (<a href="https://build.golang.org/log/399bcd0ad8c0d79c66c5cb6999b60e4aeda5871e">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 9214): see golang/go#54461 for more details

    goroutine 2334 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x9d5ec60)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8c99e58, 0x9e87f80}, 0x95e2840)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x9888ac0, {0x8c99e58, 0x9e87f80}, {0x8c9529c, 0xa2db1e8}, {0x8c9529c, 0xa2db200})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x9888ac0, {0x8c99e58, 0x9e87f80}, {0x8c9529c, 0xa2db1e8}, {0x8c9529c, 0xa2db200})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ActivePackages(0x9d3a0c0, {0x8c99e78, 0x9da6780})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:1065 +0x2f
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0x94c70e0, {0x8c99e78, 0x9da6528}, {0x8c9ec3c, 0x9d3a0c0}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:284 +0x41b
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0x94c70e0, {0x8c9ec3c, 0x9d3a0c0}, {0x9590e68, 0x1, 0x1}, 0x1)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:165 +0x280
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8c9ec3c, 0x9d3a0c0}, {0x9590e68, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x5c
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-11-29 17:15 netbsd-386-9_3 tools@e8a70a5e go@3115ed23 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/3bdff80ddf7952cff11875d2662178116d19fb33">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:65448
    serve.go:434: debug server listening at http://localhost:65447
    2022/11/29 17:17:38 template: :9:109: executing "body" at <.Session.ID>: can't evaluate field Session in type *cache.View
    server.go:3197: http: superfluous response.WriteHeader call from golang.org/x/tools/gopls/internal/lsp/debug.render.func1 (serve.go:666)
    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.
    ...
    panic: detected hanging go command (pid 18539): see golang/go#54461 for more details

    goroutine 38407 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xe65af60)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8cf6010, 0xfec1770}, 0xfee26e0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x4f0
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xdfe2e00, {0x8cf6010, 0xfec1770}, {0x8cf1698, 0x10c05038}, {0x8cf1698, 0x10c05050})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xdfe2e00, {0x8cf6010, 0xfec1770}, {0x8cf1698, 0x10c05038}, {0x8cf1698, 0x10c05050})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0x10327a40, {0x8cf6070, 0x10c04ea0}, {0x106c8c00, 0x57}, 0x0, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:640 +0x136
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0x10a381e0, {0x8cf6070, 0x10c04de0}, {0x8cfb2c8, 0x10327a40}, {0x10873610, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:197 +0x2b4
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0x10a381e0, {0x8cfb2c8, 0x10327a40}, {0x10873610, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:156 +0x159
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8cfb2c8, 0x10327a40}, {0x10873610, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x5c
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-11-30 17:50 netbsd-amd64-9_3 tools@9b8d87b5 go@9f443332 x/tools/gopls/internal/regtest/codelens (<a href="https://build.golang.org/log/33d51e4c5f2c3ef6e590f1f2a305c0e42af197f1">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 10986): see golang/go#54461 for more details

    goroutine 4107 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00032f290)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1159288, 0xc002082c60}, 0xc002414840)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0023d5b70, {0x1159288, 0xc002082c60}, {0x1151280?, 0xc0018cc3c0}, {0x1151280?, 0xc0018cc3f0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0023d5b38?, {0x1159288, 0xc002082c60}, {0x1151280?, 0xc0018cc3c0?}, {0x1151280?, 0xc0018cc3f0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc0025209a0?, {0x11592c0, 0xc0016bdd70}, {0xc0025e80c0, 0x5d}, 0x17?, 0x80?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:640 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc002bd6200, {0x11592c0, 0xc0016bdbc0}, {0x1165d38?, 0xc0025209a0}, {0xc001770840, 0x1, 0x0?}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:197 +0x50b
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc002bd6200, {0x1165d38, 0xc0025209a0}, {0xc001770840, 0x1, 0x1}, 0x98?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:156 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x1165d38?, 0xc0025209a0?}, {0xc001770840?, 0xc000afa810?, 0xc0016bc1b0?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-11-30 17:50 netbsd-386-9_3 tools@9b8d87b5 go@3b3ab616 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/1bcb716a2801c7bd0d7a6562279b531a25f4a7af">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:65444
    serve.go:434: debug server listening at http://localhost:65443
    2022/11/30 20:02:39 template: :9:109: executing "body" at <.Session.ID>: can't evaluate field Session in type *cache.View
    server.go:3217: http: superfluous response.WriteHeader call from golang.org/x/tools/gopls/internal/lsp/debug.render.func1 (serve.go:666)
    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.
    ...
    panic: detected hanging go command (pid 19964): see golang/go#54461 for more details

    goroutine 39573 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xea2ea80)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8d10398, 0xd6cec60}, 0xe9b0840)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x49e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x106eae00, {0x8d10398, 0xd6cec60}, {0x8d0b7cc, 0x1028ad68}, {0x8d0b7cc, 0x1028ad80})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x106eae00, {0x8d10398, 0xd6cec60}, {0x8d0b7cc, 0x1028ad68}, {0x8d0b7cc, 0x1028ad80})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xe067380, {0x8d103f8, 0xd9e3dd0}, {0xeae0100, 0x71}, 0x0, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:640 +0x136
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xa9b4640, {0x8d103f8, 0xe0d5818}, {0x8d15b8c, 0xe067380}, {0xa024d28, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:197 +0x2b4
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xa9b4640, {0x8d15b8c, 0xe067380}, {0xa024d28, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:156 +0x159
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8d15b8c, 0xe067380}, {0xa024d28, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x5c
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-12-05 20:04 darwin-amd64-13 tools@c9ea9a72 go@0b323a3c x/tools/gopls/internal/regtest/completion (<a href="https://build.golang.org/log/d737a41255ce5cedd753af325f541ca7a05688bd">log</a>)</summary>

    2022/12/05 20:10:15 error killing the Go command: os: process already finished
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 7910 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0037aaf00)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100d53e30, 0xc001b92d20}, 0xc002a4b1e0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001cf9b80, {0x100d53e30, 0xc001b92d20}, {0x100d4bf60?, 0xc00207d050}, {0x100d4bf60?, 0xc00207d080})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001cf9b48?, {0x100d53e30, 0xc001b92d20}, {0x100d4bf60?, 0xc00207d050?}, {0x100d4bf60?, 0xc00207d080?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc000793ce0?, {0x100d53e68, 0xc001b92930}, {0xc003b64a10, 0x62}, 0x100983020?, 0x11?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:640 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc001902700, {0x100d53e68, 0xc001b92780}, {0x100d61340, 0xc000793ce0}, {0xc0028e6f00, 0x1, 0x0?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:197 +0x30f
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc001902700, {0x100d61340, 0xc000793ce0}, {0xc0028e6f00, 0x1, 0x1}, 0xb0?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:156 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100d61340?, 0xc000793ce0?}, {0xc0028e6f00?, 0xc001f74680?, 0xc000eed710?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-12-08 21:36 darwin-amd64-13 tools@3f74d914 go@dc04f3ba x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/d45cf88559a3171ff43402ee4d887068b83c41e6">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 9385): see golang/go#54461 for more details

    goroutine 7329 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0012457a0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100d70f20, 0xc0053e6150}, 0xc002e9a000)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0053ef998, {0x100d70f20, 0xc0053e6150}, {0x100d68f00?, 0xc0053e62a0}, {0x100d68f00?, 0xc0053e62d0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0053ef960?, {0x100d70f20, 0xc0053e6150}, {0x100d68f00?, 0xc0053e62a0?}, {0x100d68f00?, 0xc0053e62d0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ModTidy.func1({0x100d70e78, 0xc0053bc300}, {0x100acc580?, 0xc003570420})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/mod_tidy.go:75 +0x8c
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xa9
    runtime/trace.WithRegion({0x100d70e78?, 0xc0053bc300?}, {0xc000113bf0, 0x13}, 0xc002e71f90)
        /tmp/buildlet/go/src/runtime/trace/annotation.go:141 +0xe3
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x145
    created by golang.org/x/tools/internal/memoize.(*Promise).run
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x1ea
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: findleyr**

Note: some recent flakes have been in darwin (rather than netbsd), and may contain interesting results. (Haven't dug in yet)

**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-12-09 02:07 netbsd-386-9_3 tools@88ceb240 go@e738a2f1 x/tools/gopls/internal/regtest/completion (<a href="https://build.golang.org/log/842140ca3755aea4054410f4e8434ce731a02bc3">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 10026): see golang/go#54461 for more details

    goroutine 7949 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x94ba3c0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8c938b8, 0xb4a5710}, 0x95523c0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x49e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xa12ce08, {0x8c938b8, 0xb4a5710}, {0x8c8edac, 0xb49d4e8}, {0x8c8edac, 0xb49d500})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xa12ce08, {0x8c938b8, 0xb4a5710}, {0x8c8edac, 0xb49d4e8}, {0x8c8edac, 0xb49d500})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0x981ae40, {0x8c93918, 0xb49d350}, {0xa85e1c0, 0x61}, 0x0, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:640 +0x14a
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xa0a20a0, {0x8c93918, 0xb49d290}, {0x8c9865c, 0x981ae40}, {0xb51bbf0, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:197 +0x2b7
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xa0a20a0, {0x8c9865c, 0x981ae40}, {0xb51bbf0, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:156 +0x159
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8c9865c, 0x981ae40}, {0xb51bbf0, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x5c
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-12-06 17:44 darwin-amd64-nocgo tools@aee3994b go@76cad4ed x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/f0780e91af2b51b80567bda738a5aff1cbe4ffb8">log</a>)</summary>

    2022/12/08 00:45:25 error killing the Go command: os: process already finished
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 15072 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc002c9daa0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1d38528, 0xc0003f7740}, 0xc006a142c0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x445
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00290fb70, {0x1d38528, 0xc0003f7740}, {0x1d30a60?, 0xc001cad200}, {0x1d30a60?, 0xc001cad230})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x104d
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00290fb38?, {0x1d38528, 0xc0003f7740}, {0x1d30a60?, 0xc001cad200?}, {0x1d30a60?, 0xc001cad230?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc0019582c0?, {0x1d38560, 0xc001caca80}, {0xc0057976e0, 0x5f}, 0x17?, 0x40?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:640 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc00444a300, {0x1d38560, 0xc001cac8d0}, {0x1d41ac0?, 0xc0019582c0}, {0xc0057af190, 0x1, 0x0?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:197 +0x50b
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc00444a300, {0x1d41ac0, 0xc0019582c0}, {0xc0057af190, 0x1, 0x1}, 0xd0?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:156 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x1d41ac0?, 0xc0019582c0?}, {0xc0057af190?, 0xc005b566a0?, 0xc002223410?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x90
</details>

<details><summary>2022-12-09 18:48 darwin-amd64-12_0 tools@a310bcb1 go@1b4db7e4 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/dbc306e288ba09aa95eac9f539087315aa1d671b">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:49254
    serve.go:434: debug server listening at http://localhost:49255
    2022/12/09 19:29:31 template: :9:109: executing "body" at <.Session.ID>: can't evaluate field Session in type *cache.View
    server.go:3230: http: superfluous response.WriteHeader call from golang.org/x/tools/gopls/internal/lsp/debug.render.func1 (serve.go:666)
    invoke.go:285: error killing the Go command: os: process already finished
    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.

    ...
    panic: detected hanging go command (pid 15921): see golang/go#54461 for more details

    goroutine 44098 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc002679470)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100deeec8, 0xc005d88f60}, 0xc0002a1ce0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0033afa88, {0x100deeec8, 0xc005d88f60}, {0x100de6e40?, 0xc00597a8d0}, {0x100de6e40?, 0xc00597a900})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0033afa50?, {0x100deeec8, 0xc005d88f60}, {0x100de6e40?, 0xc00597a8d0?}, {0x100de6e40?, 0xc00597a900?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0xc005069a20?, {0x100deef00, 0xc005b6f950}, {0xc0030918c0, 0x5e}, 0x17?, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:640 +0x185
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc00229cc00, {0x100deef00, 0xc005b6f770}, {0x100dfd138?, 0xc005069a20}, {0xc000eb4bd0, 0x1, 0x0?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:197 +0x50b
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc00229cc00, {0x100dfd138, 0xc005069a20}, {0xc000eb4bd0, 0x1, 0x1}, 0x0?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:156 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100dfd138?, 0xc005069a20?}, {0xc000eb4bd0?, 0xc000813820?, 0xc001ffff40?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x90
</details>

<details><summary>2022-12-16 16:43 darwin-arm64-12 tools@9bc5dce4 go@45ba8ba9 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/1ecee6189ad2fc70e1f844f7a52e93a6b7569c6c">log</a>)</summary>

    2022/12/16 11:45:24 error killing the Go command: os: process already finished
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 19223 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x14001925e60)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x38c
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1054f5528, 0x1400707fec0}, 0x1400031fb80)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x304
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x14003fb3738, {0x1054f5528, 0x1400707fec0}, {0x1054ed760?, 0x14001d784b0}, {0x1054ed760?, 0x14001d784e0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd8c
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x14003fb3700?, {0x1054f5528, 0x1400707fec0}, {0x1054ed760?, 0x14001d784b0?}, {0x1054ed760?, 0x14001d784e0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/mod.Diagnostics({0x1054f5560, 0x1400400d800}, {0x105501418, 0x140068a2c60})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/mod/diagnostics.go:33 +0x88
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0x14001c5ee00, {0x1054f5560, 0x1400651db90}, {0x105501418?, 0x140068a2c60}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:281 +0x3b4
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0x14001c5ee00, {0x105501418, 0x140068a2c60}, {0x14005322ca0, 0x1, 0x1}, 0x0?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:166 +0x198
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x105501418?, 0x140068a2c60?}, {0x14005322ca0?, 0x0?, 0x0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x78
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x68
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-12-22 02:29 netbsd-amd64-9_3 tools@7efffe15 go@41eb70ae x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/e8d59e40b020ca4f64d57e3e6d0dbc82cc7ffff5">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:65423
    serve.go:434: debug server listening at http://localhost:65422
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 62499 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00a3ff5c0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1223b78, 0xc002857540}, 0xc00acd0b00)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00ae060a0, {0x1223b78, 0xc002857540}, {0x121ba20?, 0xc006060780}, {0x121ba20?, 0xc0060607b0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00ae06068?, {0x1223b78, 0xc002857540}, {0x121ba20?, 0xc006060780?}, {0x121ba20?, 0xc0060607b0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc00c729600, {0x1223c20, 0xc0060601e0}, {0xc007245920, 0x60})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:771 +0x1e5
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc008397d00, {0x1223c20, 0xc005ed5fb0}, {0x1232278?, 0xc00c729600}, {0xc0019cd6b0, 0x1, 0xc00c837980?}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x35f
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc008397d00, {0x1232278, 0xc00c729600}, {0xc0019cd6b0, 0x1, 0x1}, 0x1?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x1232278?, 0xc00c729600?}, {0xc0019cd6b0?, 0xc002be2f60?, 0x0?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-12-22 14:46 netbsd-386-9_3 tools@3be06475 go@41eb70ae x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/66fa53f8dd1f06b301d3d341ae302db148694d25">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:65433
    serve.go:434: debug server listening at http://localhost:65432
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 62705 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x1048c8d0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8d68700, 0x94dff80}, 0xa988fd0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x49f
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x11b82d10, {0x8d68700, 0x94dff80}, {0x8d6395c, 0x10fa5b78}, {0x8d6395c, 0x10fa5ba8})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x11b82d10, {0x8d68700, 0x94dff80}, {0x8d6395c, 0x10fa5b78}, {0x8d6395c, 0x10fa5ba8})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xd56b080, {0x8d68720, 0x10fa5878}, {0x11cb9680, 0x58})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:771 +0x1ee
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0x11cb3180, {0x8d68720, 0x10fa57b8}, {0x8d6de28, 0xd56b080}, {0xc449c70, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x2ba
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0x11cb3180, {0x8d6de28, 0xd56b080}, {0xc449c70, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x159
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8d6de28, 0xd56b080}, {0xc449c70, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x5c
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-12-20 18:20 linux-amd64-wsl tools@21f61007 go@e6adccb3 x/tools/gopls/internal/regtest/codelens (<a href="https://build.golang.org/log/b556e0e1263d372cba67d306a72fcf289c0abb32">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 20015): see golang/go#54461 for more details

    goroutine 3475 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0042e4450)
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1165968, 0xc0042e61e0}, 0xc0081a6c60)
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1c5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc008307dc0, {0x1165968, 0xc0042e61e0}, {0x115de00?, 0xc0042e1a40}, {0x115de00?, 0xc0042e1a70})
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x104d
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc008307d88?, {0x1165968, 0xc0042e61e0}, {0x115de00?, 0xc0042e1a40?}, {0x115de00?, 0xc0042e1a70?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc0002db080, {0x11659a0, 0xc0042e14a0}, {0xc0005cfdc0, 0x6b})
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:771 +0x1e5
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc0004aca00, {0x11659a0, 0xc0042e12f0}, {0x116ee80?, 0xc0002db080}, {0xc0039fd870, 0x1, 0x0?}, 0x0)
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x35c
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0004aca00, {0x116ee80, 0xc0002db080}, {0xc0039fd870, 0x1, 0x1}, 0x98?)
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x116ee80?, 0xc0002db080?}, {0xc0039fd870?, 0xc000115bb0?, 0xc0042e0570?})
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- pkg ~ `^golang.org/x/tools/gopls` && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2022-12-22 18:22 linux-amd64-wsl tools@6546d82b go@38cfb3be x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/4672081219af334e98f52330b8c074ca1df63ea1">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 3119): see golang/go#54461 for more details

    goroutine 47732 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0039b4960)
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x119cf30, 0xc002d54330}, 0xc006207340)
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc004cb00e0, {0x119cf30, 0xc002d54330}, {0x1194f60?, 0xc005a3a6c0}, {0x1194f60?, 0xc005a3a6f0})
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc004cb00a8?, {0x119cf30, 0xc002d54330}, {0x1194f60?, 0xc005a3a6c0?}, {0x1194f60?, 0xc005a3a6f0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc006206f20, {0x119cec0, 0xc001ab96d0}, 0x1, {0xc00149dc60, 0x2, 0x2?})
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:129 +0xd12
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc006206f20, {0x119cec0, 0xc001ab96d0}, 0x1)
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:730 +0x1f7
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc006206f20, {0x119cec0, 0xc001ab96d0}, 0x0?)
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:664 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func5()
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:298 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:296 +0xfe5
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2022-12-28 21:10 linux-amd64-wsl tools@26fc6097 go@9123221c x/tools/gopls/internal/regtest/misc.TestGovulncheckInfo (<a href="https://build.golang.org/log/342c19f795b24b20583bfe68ffee08580da3a2a1">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:38695
    serve.go:434: debug server listening at http://localhost:45083
    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:
    ...
    --- FAIL: TestGovulncheckInfo (72.62s)
        --- FAIL: TestGovulncheckInfo/default (72.62s)
    panic: detected hanging go command (pid 7394): see golang/go#54461 for more details [recovered]
        panic: detected hanging go command (pid 7394): see golang/go#54461 for more details

    goroutine 93809 [running]:
    testing.tRunner.func1.2({0xe1e040, 0xc000ec3f50})
        /tmp/workdir-host-linux-amd64-wsl/go/src/testing/testing.go:1526 +0x24e
    testing.tRunner.func1()
        /tmp/workdir-host-linux-amd64-wsl/go/src/testing/testing.go:1529 +0x39f
    ...
    golang.org/x/tools/gopls/internal/lsp/fake.(*Sandbox).Close(0xc00493a8a0)
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/gopls/internal/lsp/fake/sandbox.go:289 +0xab
    golang.org/x/tools/gopls/internal/lsp/regtest.(*Runner).Run.func1.1()
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/gopls/internal/lsp/regtest/runner.go:210 +0x38
    golang.org/x/tools/gopls/internal/lsp/regtest.(*Runner).Run.func1(0xc004cdeb60)
        /tmp/workdir-host-linux-amd64-wsl/gopath/src/golang.org/x/tools/gopls/internal/lsp/regtest/runner.go:258 +0xc47
    testing.tRunner(0xc004cdeb60, 0xc017060370)
        /tmp/workdir-host-linux-amd64-wsl/go/src/testing/testing.go:1576 +0x10b
    created by testing.(*T).Run
        /tmp/workdir-host-linux-amd64-wsl/go/src/testing/testing.go:1629 +0x3ea
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2022-12-28 22:36 netbsd-amd64-9_3 tools@ae4ff823 go@9123221c x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/8a3afd9692d6f61b921e331af03a56955a61794b">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:65442
    serve.go:434: debug server listening at http://localhost:65441
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 66101 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc010a3acf0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x120aa00, 0xc011cd5590}, 0xc0107ceb00)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc010cf1b60, {0x120aa00, 0xc011cd5590}, {0x1202980?, 0xc010aea6f0}, {0x1202980?, 0xc010aea720})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc010cf1b28?, {0x120aa00, 0xc011cd5590}, {0x1202980?, 0xc010aea6f0?}, {0x1202980?, 0xc010aea720?})
    ...
    golang.org/x/tools/gopls/internal/lsp/mod.Diagnostics({0x120aaa8, 0xc010ae3bf0}, {0x1219630, 0xc00c5c42c0})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/mod/diagnostics.go:33 +0xab
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc00d6bca00, {0x120aaa8, 0xc010bc8720}, {0x1219630?, 0xc00c5c42c0}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:282 +0x353
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc00d6bca00, {0x1219630, 0xc00c5c42c0}, {0xc00da90e60, 0x1, 0x1}, 0xc6?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:167 +0x23b
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x1219630?, 0xc00c5c42c0?}, {0xc00da90e60?, 0xc00d4eb240?, 0xc006ea9fb8?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2022-12-29 21:26 darwin-amd64-13 tools@1a08d01a go@eeaf508d x/tools/gopls/internal/regtest/codelens (<a href="https://build.golang.org/log/d032362b78ad1f796c34f7ddf448f943456104e2">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 9462): see golang/go#54461 for more details

    goroutine 3125 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0072efe60)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100d68fe8, 0xc007285aa0}, 0xc00010c6e0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1c5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00732fdc0, {0x100d68fe8, 0xc007285aa0}, {0x100d61460?, 0xc007325950}, {0x100d61460?, 0xc007325980})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x104d
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00732fd88?, {0x100d68fe8, 0xc007285aa0}, {0x100d61460?, 0xc007325950?}, {0x100d61460?, 0xc007325980?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc00065f4a0, {0x100d69020, 0xc0073253b0}, {0xc000583b00, 0x56})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:692 +0x1e5
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc0000f5400, {0x100d69020, 0xc007325200}, {0x100d72020?, 0xc00065f4a0}, {0xc007312150, 0x1, 0x0?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x35c
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0000f5400, {0x100d72020, 0xc00065f4a0}, {0xc007312150, 0x1, 0x1}, 0x60?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100d72020?, 0xc00065f4a0?}, {0xc007312150?, 0xc00084d740?, 0xc007324300?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2022-12-29 16:33 netbsd-386-9_3 tools@3b16059a go@c1760296 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/53c123f369c282f5285ab51a303453f47b3e3d3e">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:65426
    serve.go:434: debug server listening at http://localhost:65425
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 66880 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x12d40ab0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8d674c0, 0x11ef1380}, 0x14705550)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x49f
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x14adcd58, {0x8d674c0, 0x11ef1380}, {0x8d6275c, 0x15b27ae8}, {0x8d6275c, 0x15b27b00})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xfb7dd58, {0x8d674c0, 0x11ef1380}, {0x8d6275c, 0x15b27ae8}, {0x8d6275c, 0x15b27b00})
    ...
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0x156358a8, {0x8d674c0, 0x11ef1380}, {{0x8abfd1e, 0x4}, {0x9a8e400, 0x4, 0x4}, {0x92e9260, 0x0, ...}, ...})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:100 +0x17c
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x156358a8, {0x8d674c0, 0x11ef1380}, {{0x8abfd1e, 0x4}, {0x9a8e400, 0x4, 0x4}, {0x92e9260, 0x0, ...}, ...})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:75 +0x5e
    golang.org/x/tools/go/internal/packagesdriver.GetSizesGolist({0x8d674c0, 0x11ef1380}, {{0x8abfd1e, 0x4}, {0x9a8e400, 0x4, 0x4}, {0x92e9260, 0x0, 0x0}, ...}, ...)
        /tmp/workdir/gopath/src/golang.org/x/tools/go/internal/packagesdriver/sizes.go:22 +0xd8
    golang.org/x/tools/go/packages.goListDriver.func1()
        /tmp/workdir/gopath/src/golang.org/x/tools/go/packages/golist.go:157 +0x124
    created by golang.org/x/tools/go/packages.goListDriver
        /tmp/workdir/gopath/src/golang.org/x/tools/go/packages/golist.go:155 +0x325
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2023-01-04 22:18 netbsd-386-9_3 tools@a4455feb go@eeaf508d x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/9998ef95c8825fa3866496b0506de91e169d7018">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:65435
    serve.go:434: debug server listening at http://localhost:65434
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 51067 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x154e7cb0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8d3088c, 0x157166c0}, 0x1572e160)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x4f0
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x137d4f3c, {0x8d3088c, 0x157166c0}, {0x8d2be88, 0x15730270}, {0x8d2be88, 0x15730288})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x137d4f3c, {0x8d3088c, 0x157166c0}, {0x8d2be88, 0x15730270}, {0x8d2be88, 0x15730288})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc330540, {0x8d308ec, 0x15730108}, {0x142ca780, 0x60})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:692 +0x1ee
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0x147c1540, {0x8d308ec, 0x15730048}, {0x8d35b64, 0xc330540}, {0x155581f8, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x2ba
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0x147c1540, {0x8d35b64, 0xc330540}, {0x155581f8, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x159
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8d35b64, 0xc330540}, {0x155581f8, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x5c
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2023-01-05 20:09 netbsd-386-9_3 tools@057ed3c5 go@119f679a x/tools/gopls/internal/regtest/codelens (<a href="https://build.golang.org/log/f7b5592c6ebac47a150eb43c11cdd00869daaa6b">log</a>)</summary>

    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:
    -------------------------
    PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 10692): see golang/go#54461 for more details

    goroutine 1083 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x96b8060)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8ccb080, 0x97fc630}, 0x9a4a0c0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x9e6bca4, {0x8ccb080, 0x97fc630}, {0x8cc645c, 0x97fc720}, {0x8cc645c, 0x97fc738})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x9e6bca4, {0x8ccb080, 0x97fc630}, {0x8cc645c, 0x97fc720}, {0x8cc645c, 0x97fc738})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ModTidy.func1({0x8ccb020, 0x9aca720}, {0x8a4ef40, 0x9402b40})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/mod_tidy.go:74 +0x86
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0x96
    runtime/trace.WithRegion({0x8ccb020, 0x9aca720}, {0x94b0fc0, 0x13}, 0x97747cc)
        /tmp/workdir/go/src/runtime/trace/annotation.go:141 +0xe0
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x121
    created by golang.org/x/tools/internal/memoize.(*Promise).run
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x1d6
</details>

<details><summary>2023-01-13 15:15 darwin-amd64-nocgo tools@5d65394a go@1e9ff255 x/tools/gopls/internal/regtest/modfile (<a href="https://build.golang.org/log/f0d0723038908783b60680e256dd395685d31433">log</a>)</summary>

    2023/01/13 12:28:24 error killing the Go command: os: process already finished
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 5447 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0010da8d0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1dab988, 0xc000e46e40}, 0xc000dbef20)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000d89608, {0x1dab988, 0xc000e46e40}, {0x1da3800?, 0xc0005d8ea0}, {0x1da3800?, 0xc0005d8ed0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000d895d0?, {0x1dab988, 0xc000e46e40}, {0x1da3800?, 0xc0005d8ea0?}, {0x1da3800?, 0xc0005d8ed0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/mod.Diagnostics({0x1dab9c0, 0xc000f26690}, {0x1db8178, 0xc0003128c0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/mod/diagnostics.go:33 +0xab
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc000d05600, {0x1dab9c0, 0xc000fd9e00}, {0x1db8178?, 0xc0003128c0}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:282 +0x52d
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc000d05600, {0x1db8178, 0xc0003128c0}, {0xc0010b4500, 0x1, 0x1}, 0x88?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:167 +0x23b
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x1db8178?, 0xc0003128c0?}, {0xc0010b4500?, 0xc000e3db70?, 0xc000847fb8?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2023-01-17 18:50 netbsd-amd64-9_3 tools@d958e854 go@581603cb x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/9150217830ebb9bd0dd86e8fe56f4bd51e2825d4">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:65440
    serve.go:434: debug server listening at http://localhost:65439
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 58500 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc004d266c0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11e9110, 0xc00b1fcec0}, 0xc0025bcc60)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x445
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0041a9bc0, {0x11e9110, 0xc00b1fcec0}, {0x11e14a0?, 0xc00b209ec0}, {0x11e14a0?, 0xc00b209ef0})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x104d
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0041a9b88?, {0x11e9110, 0xc00b1fcec0}, {0x11e14a0?, 0xc00b209ec0?}, {0x11e14a0?, 0xc00b209ef0?})
    ...
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00ba82260, {0x11e9110, 0xc00b1fcec0}, {{0xf38c53, 0x4}, {0xc00bd4e340, 0x4, 0x4}, {0x17c5dc8, 0x0, ...}, ...})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:100 +0x1e5
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x0?, {0x11e9110, 0xc00b1fcec0}, {{0xf38c53, 0x4}, {0xc00bd4e340, 0x4, 0x4}, {0x17c5dc8, 0x0, ...}, ...})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:75 +0x90
    golang.org/x/tools/go/internal/packagesdriver.GetSizesGolist({0x11e9110, 0xc00b1fcec0}, {{0xf38c53, 0x4}, {0xc00bd4e340, 0x4, 0x4}, {0x17c5dc8, 0x0, 0x0}, ...}, ...)
        /tmp/workdir/gopath/src/golang.org/x/tools/go/internal/packagesdriver/sizes.go:22 +0x11c
    golang.org/x/tools/go/packages.goListDriver.func1()
        /tmp/workdir/gopath/src/golang.org/x/tools/go/packages/golist.go:157 +0x178
    created by golang.org/x/tools/go/packages.goListDriver
        /tmp/workdir/gopath/src/golang.org/x/tools/go/packages/golist.go:155 +0x32a
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2023-01-18 16:31 darwin-amd64-12_0 tools@3e6f71bb go@2e792a82 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/ce751a21326859e6e8c41e6a75a8d5854e0dbd12">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:49249
    serve.go:434: debug server listening at http://localhost:49250
    invoke.go:285: error killing the Go command: os: process already finished
    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.

    ...
    panic: detected hanging go command (pid 16630): see golang/go#54461 for more details

    goroutine 71343 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00c342fc0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100e26eb0, 0xc00af16b70}, 0xc003711600)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001fe5dd8, {0x100e26eb0, 0xc00af16b70}, {0x100e1eda0?, 0xc0003f8b10}, {0x100e1eda0?, 0xc0003f8cc0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001fe5da0?, {0x100e26eb0, 0xc00af16b70}, {0x100e1eda0?, 0xc0003f8b10?}, {0x100e1eda0?, 0xc0003f8cc0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc001100c80, {0x100e26ee8, 0xc00af16690}, {0xc0023e7650, 0x68})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:672 +0x236
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc0001d1c00, {0x100e26ee8, 0xc00af164e0}, {0x100e35730?, 0xc001100c80}, {0xc000939d20, 0x1, 0xf0b?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x343
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0001d1c00, {0x100e35730, 0xc001100c80}, {0xc000939d20, 0x1, 0x1}, 0xc0?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100e35730?, 0xc001100c80?}, {0xc000939d20?, 0xc001100c80?, 0xc00a0b8f00?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2023-01-20 02:42 netbsd-386-9_3 tools@a7f033af go@e587a769 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/39f8a6246db254ec8b6d9d89fa2b8b98ab791cef">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 11717): see golang/go#54461 for more details

    goroutine 8846 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xb49e030)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8cfc494, 0xafae600}, 0xb548000)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x49e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xa108f3c, {0x8cfc494, 0xafae600}, {0x8cf783c, 0x9d7a5e8}, {0x8cf783c, 0x9d7a600})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xcfe
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xa108f3c, {0x8cfc494, 0xafae600}, {0x8cf783c, 0x9d7a5e8}, {0x8cf783c, 0x9d7a600})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xb7d0900, {0x8cfc4f4, 0x9d7a2b8}, {0xb1fa540, 0x53})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:672 +0x1ec
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xae46510, {0x8cfc4f4, 0x9d7a150}, {0x8d011fc, 0xb7d0900}, {0x9f2fe38, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x2ba
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xae46510, {0x8d011fc, 0xb7d0900}, {0x9f2fe38, 0x1, 0x1}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x157
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8d011fc, 0xb7d0900}, {0x9f2fe38, 0x1, 0x1})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x8a
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x5c
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2023-01-23 17:31 netbsd-386-9_3 tools@ce28f407 go@581603cb x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/5ba5e342ba00e13cacfeb46239c56fc26ce8a539">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 17644): see golang/go#54461 for more details

    goroutine 26642 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc687b30)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8ccd6cc, 0xd89b020}, 0xd42cdc0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x4f0
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xbd87d58, {0x8ccd6cc, 0xd89b020}, {0x8cc8cc8, 0xb397d70}, {0x8cc8cc8, 0xb397d88})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xbfc2558, {0x8ccd6cc, 0xd89b020}, {0x8cc8cc8, 0xb397d70}, {0x8cc8cc8, 0xb397d88})
    ...
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xd7c48b8, {0x8ccd6cc, 0xd89b020}, {{0x8a41db5, 0x4}, {0xdbbdb60, 0x4, 0x4}, {0x92165a4, 0x0, ...}, ...})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:100 +0x1d7
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xd7c48b8, {0x8ccd6cc, 0xd89b020}, {{0x8a41db5, 0x4}, {0xdbbdb60, 0x4, 0x4}, {0x92165a4, 0x0, ...}, ...})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:75 +0x5e
    golang.org/x/tools/go/internal/packagesdriver.GetSizesGolist({0x8ccd6cc, 0xd89b020}, {{0x8a41db5, 0x4}, {0xdbbdb60, 0x4, 0x4}, {0x92165a4, 0x0, 0x0}, ...}, ...)
        /tmp/workdir/gopath/src/golang.org/x/tools/go/internal/packagesdriver/sizes.go:22 +0xd8
    golang.org/x/tools/go/packages.goListDriver.func1()
        /tmp/workdir/gopath/src/golang.org/x/tools/go/packages/golist.go:157 +0x124
    created by golang.org/x/tools/go/packages.goListDriver
        /tmp/workdir/gopath/src/golang.org/x/tools/go/packages/golist.go:155 +0x325
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2023-01-18 15:15 darwin-amd64-13 tools@2fa6ca1e go@f38c1eb7 x/tools/gopls/internal/regtest/codelens (<a href="https://build.golang.org/log/1a3d30f5b2b719e4f3302be0226dd03a807ce44e">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 8430): see golang/go#54461 for more details

    goroutine 3284 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc007b25020)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100dabfc8, 0xc007a8a1e0}, 0xc0000ddce0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x19a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007a9fdd0, {0x100dabfc8, 0xc007a8a1e0}, {0x100da3ee0?, 0xc007b4bc20}, {0x100da3ee0?, 0xc007b4bc50})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc007a9fd98?, {0x100dabfc8, 0xc007a8a1e0}, {0x100da3ee0?, 0xc007b4bc20?}, {0x100da3ee0?, 0xc007b4bc50?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc002847a40, {0x100dac000, 0xc007a89080}, {0xc00159a720, 0x57})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:672 +0x1e5
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc0005a20e0, {0x100dac000, 0xc007a88ed0}, {0x100db87d8?, 0xc002847a40}, {0xc007bb2ff0, 0x1, 0x0?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x35f
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0005a20e0, {0x100db87d8, 0xc002847a40}, {0xc007bb2ff0, 0x1, 0x1}, 0x88?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100db87d8?, 0xc002847a40?}, {0xc007bb2ff0?, 0xc0006ea310?, 0xc00031efb8?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>

<details><summary>2023-01-19 20:43 darwin-amd64-12_0 tools@bcc7794c go@73e1affe x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/d867a5d8b92dc80fc5cbf7432d6355dc501d7c7c">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:49260
    serve.go:434: debug server listening at http://localhost:49261
    invoke.go:285: error killing the Go command: os: process already finished
    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.

    ...
    panic: detected hanging go command (pid 15740): see golang/go#54461 for more details

    goroutine 60708 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00a94db90)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100e3fbc8, 0xc00347efc0}, 0xc0003949a0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001c31dd0, {0x100e3fbc8, 0xc00347efc0}, {0x100e379a0?, 0xc008403050}, {0x100e379a0?, 0xc008403080})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001c31d98?, {0x100e3fbc8, 0xc00347efc0}, {0x100e379a0?, 0xc008403050?}, {0x100e379a0?, 0xc008403080?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc001b5d680, {0x100e3fc00, 0xc008402930}, {0xc000047b00, 0x5e})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:672 +0x1e5
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc0002557a0, {0x100e3fc00, 0xc0084026f0}, {0x100e4dc58?, 0xc001b5d680}, {0xc000fe30a0, 0x1, 0x0?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x35f
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0002557a0, {0x100e4dc58, 0xc001b5d680}, {0xc000fe30a0, 0x1, 0x1}, 0x90?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100e4dc58?, 0xc001b5d680?}, {0xc000fe30a0?, 0xc0005ac3e0?, 0xc000f0e900?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>

<details><summary>2023-01-23 20:46 darwin-amd64-11_0 tools@f269f537 go@e39c7a37 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/dab9748cf5861f1f8082b904d3953b5d665a8292">log</a>)</summary>

    2023/01/24 05:29:32 error killing the Go command: os: process already finished
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 17532 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc005374a20)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100db3e00, 0xc0013a8300}, 0xc00055fa20)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0034e57b8, {0x100db3e00, 0xc0013a8300}, {0x100dabd40?, 0xc00414e210}, {0x100dabd40?, 0xc00414e240})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0034e5780?, {0x100db3e00, 0xc0013a8300}, {0x100dabd40?, 0xc00414e210?}, {0x100dabd40?, 0xc00414e240?})
    ...
    golang.org/x/tools/gopls/internal/lsp/mod.Diagnostics({0x100db3e38, 0xc00637b650}, {0x100dc0bd0, 0xc000291a40})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/mod/diagnostics.go:33 +0xab
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc004dd2000, {0x100db3e38, 0xc0011c3740}, {0x100dc0bd0?, 0xc000291a40}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:282 +0x353
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc004dd2000, {0x100dc0bd0, 0xc000291a40}, {0xc0062cade0, 0x1, 0x1}, 0xe2?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:167 +0x23b
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100dc0bd0?, 0xc000291a40?}, {0xc0062cade0?, 0x1007146cd?, 0xc000724f98?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: bcmills**

The `netbsd-386-9_3` hangs look like a platform bug to me (filed as #57999).

**Comment From: bcmills**

Looking at the recent `darwin` failures, they all appear to have occurred with the `go` command already exited.

I wonder if the check is too sensitive at this point? The examples in the original post were hanging for multiple minutes, not just a few seconds after the test. 🤔

**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-01-26 21:09 darwin-arm64-11 tools@60782e9b go@ea6d4b0e x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/57d8ddefa939937a2206cb7154044af9551febfb">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:52121
    serve.go:434: debug server listening at http://localhost:52122
    invoke.go:285: error killing the Go command: os: process already finished
    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.

    ...
    panic: detected hanging go command (pid 52542): see golang/go#54461 for more details

    goroutine 72699 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x14009e0b380)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x378
    golang.org/x/tools/internal/gocommand.runCmdContext({0x105435760, 0x1400b9dfaa0}, 0x14005477a20)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x2e4
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x140013358c8, {0x105435760, 0x1400b9dfaa0}, {0x10542d840?, 0x1400b9dfe00}, {0x10542d840?, 0x1400b9dfe60})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xc90
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x14001335890?, {0x105435760, 0x1400b9dfaa0}, {0x10542d840?, 0x1400b9dfe00?}, {0x10542d840?, 0x1400b9dfe60?})
    ...
    golang.org/x/tools/gopls/internal/lsp/mod.Diagnostics({0x105435798, 0x1400b9def30}, {0x105441f70, 0x14003d54dc0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/mod/diagnostics.go:33 +0x88
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0x14007483880, {0x105435798, 0x1400c4ca5a0}, {0x105441f70?, 0x14003d54dc0}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:282 +0x21c
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0x14007483880, {0x105441f70, 0x14003d54dc0}, {0x14006afad40, 0x1, 0x1}, 0x20?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:167 +0x198
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x105441f70?, 0x14003d54dc0?}, {0x14006afad40?, 0x104d65800?, 0x140013f93e0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x78
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x6c
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-01-30 20:26 darwin-amd64-13 tools@87d00e63 go@45bee5e7 x/tools/gopls/internal/regtest/completion (<a href="https://build.golang.org/log/64a2c476a82af5ea86e1cc2901ed4f65b49619fc">log</a>)</summary>

    2023/01/30 15:40:18 error killing the Go command: os: process already finished
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 14747 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00055b950)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100db45f0, 0xc000da7a40}, 0xc0034274a0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc002ddbdd8, {0x100db45f0, 0xc000da7a40}, {0x100dac4a0?, 0xc001cefa70}, {0x100dac4a0?, 0xc001cefaa0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc002ddbda0?, {0x100db45f0, 0xc000da7a40}, {0x100dac4a0?, 0xc001cefa70?}, {0x100dac4a0?, 0xc001cefaa0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc001c6ac80, {0x100db4628, 0xc000da76b0}, {0xc000088770, 0x62})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:706 +0x245
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc0001b0540, {0x100db4628, 0xc000da7410}, {0x100dc1550?, 0xc001c6ac80}, {0xc002539700, 0x1, 0xc003888547?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x343
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0001b0540, {0x100dc1550, 0xc001c6ac80}, {0xc002539700, 0x1, 0x1}, 0x8?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100dc1550?, 0xc001c6ac80?}, {0xc002539700?, 0x54?, 0xc0015b7920?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-01-26 22:25 darwin-amd64-12_0 tools@f0521587 go@581603cb x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/20d30549959e8836610654aa963585871555d8ed">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:49258
    serve.go:434: debug server listening at http://localhost:49259
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 63801 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc009be8f00)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100e018c8, 0xc00a8c0100}, 0xc002658b00)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x445
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc002ff6bc0, {0x100e018c8, 0xc00a8c0100}, {0x100df9c20?, 0xc00a74f920}, {0x100df9c20?, 0xc00a74f950})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x104d
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc002ff6b88?, {0x100e018c8, 0xc00a8c0100}, {0x100df9c20?, 0xc00a74f920?}, {0x100df9c20?, 0xc00a74f950?})
    ...
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0006bd900, {0x100e018c8, 0xc00a8c0100}, {{0x100b4eab0, 0x4}, {0xc00a8c0280, 0x4, 0x4}, {0x1013ed4f0, 0x0, ...}, ...})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:100 +0x1e5
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x10008b9d4?, {0x100e018c8, 0xc00a8c0100}, {{0x100b4eab0, 0x4}, {0xc00a8c0280, 0x4, 0x4}, {0x1013ed4f0, 0x0, ...}, ...})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:75 +0x90
    golang.org/x/tools/go/internal/packagesdriver.GetSizesGolist({0x100e018c8, 0xc00a8c0100}, {{0x100b4eab0, 0x4}, {0xc00a8c0280, 0x4, 0x4}, {0x1013ed4f0, 0x0, 0x0}, ...}, ...)
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/internal/packagesdriver/sizes.go:22 +0x11c
    golang.org/x/tools/go/packages.goListDriver.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:157 +0x178
    created by golang.org/x/tools/go/packages.goListDriver
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:155 +0x32a
</details>

<details><summary>2023-01-27 18:39 darwin-amd64-10_15 tools@1aa7e72e go@15405317 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/4f78e628dd1486666abcb7c74c1c186cbadc846f">log</a>)</summary>

    2023/01/27 15:32:10 error killing the Go command: os: process already finished
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 26155 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0078494a0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100da38c0, 0xc001fa5b60}, 0xc0076f31e0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00779f7b0, {0x100da38c0, 0xc001fa5b60}, {0x100d9b800?, 0xc001fa5e00}, {0x100d9b800?, 0xc001fa5e30})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00779f778?, {0x100da38c0, 0xc001fa5b60}, {0x100d9b800?, 0xc001fa5e00?}, {0x100d9b800?, 0xc001fa5e30?})
    ...
    golang.org/x/tools/gopls/internal/lsp/mod.Diagnostics({0x100da38f8, 0xc001fa5200}, {0x100db0650, 0xc006e7b540})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/mod/diagnostics.go:33 +0xab
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc0053e9880, {0x100da38f8, 0xc001b7d950}, {0x100db0650?, 0xc006e7b540}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:282 +0x353
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0053e9880, {0x100db0650, 0xc006e7b540}, {0xc00228f0a0, 0x1, 0x1}, 0x80?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:167 +0x23b
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100db0650?, 0xc006e7b540?}, {0xc00228f0a0?, 0xc003a16f90?, 0xc001b7c720?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>

<details><summary>2023-01-27 23:34 darwin-amd64-11_0 tools@b62cbb6b go@1eb37fac x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/da7c1d89781fb3277e50baae35b54dcf1b3a4d3b">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:49579
    serve.go:434: debug server listening at http://localhost:49580
    invoke.go:285: error killing the Go command: os: process already finished
    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.

    ...
    panic: detected hanging go command (pid 15830): see golang/go#54461 for more details

    goroutine 62874 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc005fff9e0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100e19400, 0xc003d33b30}, 0xc002c6a580)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001861cc0, {0x100e19400, 0xc003d33b30}, {0x100e11280?, 0xc00151f530}, {0x100e11280?, 0xc00151f560})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001861c88?, {0x100e19400, 0xc003d33b30}, {0x100e11280?, 0xc00151f530?}, {0x100e11280?, 0xc00151f560?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc004827b80, {0x100e19438, 0xc003d336b0}, {0xc004f3ac60, 0x57})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:706 +0x245
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc00845c7e0, {0x100e19438, 0xc003d33500}, {0x100e27a10?, 0xc004827b80}, {0xc003eef960, 0x1, 0x1006fe4e5?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x343
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc00845c7e0, {0x100e27a10, 0xc004827b80}, {0xc003eef960, 0x1, 0x1}, 0x6?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100e27a10?, 0xc004827b80?}, {0xc003eef960?, 0xc000e480a0?, 0xc002109fb8?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>

<details><summary>2023-01-30 20:48 darwin-amd64-12_0 tools@d1e92d6a go@2ab0e046 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/6e33eba517996599c617275582ca6da98f9b3d50">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:49267
    serve.go:434: debug server listening at http://localhost:49268
    invoke.go:285: error killing the Go command: os: process already finished
    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.

    ...
    panic: detected hanging go command (pid 16568): see golang/go#54461 for more details

    goroutine 72111 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00525c1b0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100e1c220, 0xc004adf200}, 0xc004281600)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0028cbdd8, {0x100e1c220, 0xc004adf200}, {0x100e14060?, 0xc0069c07b0}, {0x100e14060?, 0xc0069c07e0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0028cbda0?, {0x100e1c220, 0xc004adf200}, {0x100e14060?, 0xc0069c07b0?}, {0x100e14060?, 0xc0069c07e0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc0050db7c0, {0x100e1c258, 0xc004adea80}, {0xc000c035e0, 0x69})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:706 +0x245
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc0042981c0, {0x100e1c258, 0xc004ade720}, {0x100e2a830?, 0xc0050db7c0}, {0xc0018e6d80, 0x1, 0x0?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x343
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0042981c0, {0x100e2a830, 0xc0050db7c0}, {0xc0018e6d80, 0x1, 0x1}, 0xe6?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100e2a830?, 0xc0050db7c0?}, {0xc0018e6d80?, 0xc001b72580?, 0xc006471720?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-02-02 23:42 darwin-amd64-12_0 tools@81111180 go@cd1fc871 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/3f86bb4e6e9b71d582b14f468cc55fd57206b1a6">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:49280
    serve.go:434: debug server listening at http://localhost:49281
    invoke.go:285: error killing the Go command: os: process already finished
    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.

    ...
    panic: detected hanging go command (pid 16467): see golang/go#54461 for more details

    goroutine 70934 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0055b9500)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100dd5b60, 0xc002681fb0}, 0xc0032b06e0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3d9
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00170fcc8, {0x100dd5b60, 0xc002681fb0}, {0x100dcd9a0?, 0xc0074240f0}, {0x100dcd9a0?, 0xc007424120})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xed9
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00170fc90?, {0x100dd5b60, 0xc002681fb0}, {0x100dcd9a0?, 0xc0074240f0?}, {0x100dcd9a0?, 0xc007424120?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc002b81040, {0x100dd5b98, 0xc002681c20}, {0xc00042e7e0, 0x68})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:706 +0x236
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc002d5c000, {0x100dd5b98, 0xc002681a70}, {0x100de4230?, 0xc002b81040}, {0xc003e58b70, 0x1, 0x0?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x33f
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc002d5c000, {0x100de4230, 0xc002b81040}, {0xc003e58b70, 0x1, 0x1}, 0xa5?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x145
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100de4230?, 0xc002b81040?}, {0xc003e58b70?, 0xc0037aea50?, 0xc0084222d0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x7c
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x78
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-02-08 22:43 darwin-amd64-nocgo tools@d0863f03 go@910f041f x/tools/gopls/internal/regtest/modfile (<a href="https://build.golang.org/log/03987a606091831da3aae679ad84ef2dc2f2efab">log</a>)</summary>

    2023/02/08 19:46:49 error killing the Go command: os: process already finished
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 6044 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc000861050)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1d67550, 0xc0000f7650}, 0xc000bf2420)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3d9
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0012737b0, {0x1d67550, 0xc0000f7650}, {0x1d5f380?, 0xc000c4f5f0}, {0x1d5f380?, 0xc000c4f620})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xed9
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001273778?, {0x1d67550, 0xc0000f7650}, {0x1d5f380?, 0xc000c4f5f0?}, {0x1d5f380?, 0xc000c4f620?})
    ...
    golang.org/x/tools/gopls/internal/lsp/mod.Diagnostics({0x1d67588, 0xc0001d5560}, {0x1d74470, 0xc00016f400})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/mod/diagnostics.go:33 +0xa5
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc000b92540, {0x1d67588, 0xc0002e02a0}, {0x1d74470?, 0xc00016f400}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:282 +0x350
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc000b92540, {0x1d74470, 0xc00016f400}, {0xc000b36a50, 0x1, 0x1}, 0xd0?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:167 +0x22e
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x1d74470?, 0xc00016f400?}, {0xc000b36a50?, 0xc000a1fac0?, 0xc000e75830?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x7c
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x78
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-02-10 17:38 netbsd-amd64-9_3 tools@b15a5bc4 go@7628627c x/tools/gopls/internal/regtest/completion (<a href="https://build.golang.org/log/af4b991b8b2281efbb9d71c9bdc6703eab80a1df">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 12766): see golang/go#54461 for more details

    goroutine 7237 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc001f39020)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11cbe28, 0xc0020a9cb0}, 0xc003614f20)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00300d998, {0x11cbe28, 0xc0020a9cb0}, {0x11c3c60?, 0xc000f13dd0}, {0x11c3c60?, 0xc000f13e00})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00300d960?, {0x11cbe28, 0xc0020a9cb0}, {0x11c3c60?, 0xc000f13dd0?}, {0x11c3c60?, 0xc000f13e00?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ModTidy.func1({0x11cbd80, 0xc0026a9360}, {0xf2fd00?, 0xc00272c500})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/mod_tidy.go:74 +0x8c
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0xa9
    runtime/trace.WithRegion({0x11cbd80?, 0xc0026a9360?}, {0xc0003762d0, 0x13}, 0xc002cdbf90)
        /tmp/workdir/go/src/runtime/trace/annotation.go:141 +0xe3
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x145
    created by golang.org/x/tools/internal/memoize.(*Promise).run
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x1ea
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-02-10 17:38 darwin-arm64-12 tools@b15a5bc4 go@f69dbb6d x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/386409054c6a5536c2fdc0ee66fba0b4fb3038c5">log</a>)</summary>

    2023/02/10 13:08:55 error killing the Go command: os: process already finished
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 46247 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x14003b0a210)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x38c
    golang.org/x/tools/internal/gocommand.runCmdContext({0x10377f7a8, 0x14002dca780}, 0x140063834a0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x304
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x14006029658, {0x10377f7a8, 0x14002dca780}, {0x1037777a0?, 0x14001d3e1b0}, {0x1037777a0?, 0x14001d3e1e0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd8c
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x14006029620?, {0x10377f7a8, 0x14002dca780}, {0x1037777a0?, 0x14001d3e1b0?}, {0x1037777a0?, 0x14001d3e1e0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/mod.Diagnostics({0x10377f7e0, 0x14004a6e180}, {0x10378b4b8, 0x14006b8a640})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/mod/diagnostics.go:33 +0x88
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0x140072aa1c0, {0x10377f7e0, 0x1400523fb60}, {0x10378b4b8?, 0x14006b8a640}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:282 +0x3b4
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0x140072aa1c0, {0x10378b4b8, 0x14006b8a640}, {0x1400b67d8c0, 0x1, 0x1}, 0x78?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:167 +0x198
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x10378b4b8?, 0x14006b8a640?}, {0x1400b67d8c0?, 0x10310db50?, 0x1400748fb78?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x78
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x68
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-02-13 17:10 darwin-amd64-nocgo tools@352e41af go@3a04b6e1 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/11d58401bd333d9e0e4f11dc7ca5e49d08489e04">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:49257
    serve.go:434: debug server listening at http://localhost:49258
    invoke.go:285: error killing the Go command: os: process already finished
    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.

    ...
    panic: detected hanging go command (pid 15065): see golang/go#54461 for more details

    goroutine 67065 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00317ca80)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1e3e900, 0xc002e4ec60}, 0xc0064254a0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0007cfcc8, {0x1e3e900, 0xc002e4ec60}, {0x1e36720?, 0xc001dcf4d0}, {0x1e36720?, 0xc001dcf500})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0007cfc90?, {0x1e3e900, 0xc002e4ec60}, {0x1e36720?, 0xc001dcf4d0?}, {0x1e36720?, 0xc001dcf500?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc00478f180, {0x1e3e938, 0xc002e4e8a0}, {0xc0038edf80, 0x5e})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:706 +0x236
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc0032720e0, {0x1e3e938, 0xc002e4e6f0}, {0x1e4d0b0?, 0xc00478f180}, {0xc000543fc0, 0x1, 0x0?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x343
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0032720e0, {0x1e4d0b0, 0xc00478f180}, {0xc000543fc0, 0x1, 0x1}, 0x6f?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x1e4d0b0?, 0xc00478f180?}, {0xc000543fc0?, 0xc0013dd590?, 0xc001526e70?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>

<details><summary>2023-02-14 02:42 darwin-amd64-12_0 tools@c8e8b3b1 go@f69dbb6d x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/0547a589bb89b88e507f5dac834445ea9e17117e">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:49271
    serve.go:434: debug server listening at http://localhost:49272
    invoke.go:285: error killing the Go command: os: process already finished
    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.

    ...
    panic: detected hanging go command (pid 14459): see golang/go#54461 for more details

    goroutine 42827 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0039d4990)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100e5aa08, 0xc0045ac780}, 0xc003e086e0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00237d8a0, {0x100e5aa08, 0xc0045ac780}, {0x100e52740?, 0xc000ff43f0}, {0x100e52740?, 0xc000ff4420})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00237d868?, {0x100e5aa08, 0xc0045ac780}, {0x100e52740?, 0xc000ff43f0?}, {0x100e52740?, 0xc000ff4420?})
    ...
    golang.org/x/tools/gopls/internal/lsp/mod.Diagnostics({0x100e5aa40, 0xc0018fc8a0}, {0x100e68a18, 0xc003c1e640})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/mod/diagnostics.go:33 +0xab
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc0007e70a0, {0x100e5aa40, 0xc001779500}, {0x100e68a18?, 0xc003c1e640}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:282 +0x52d
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0007e70a0, {0x100e68a18, 0xc003c1e640}, {0xc00132da50, 0x1, 0x1}, 0x88?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:167 +0x23b
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100e68a18?, 0xc003c1e640?}, {0xc00132da50?, 0xc0075e24b8?, 0xc002341fb8?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>

<details><summary>2023-02-14 22:11 darwin-amd64-11_0 tools@c3550e91 go@97fe3a23 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/d256c2ca3396f6a9e05bd2c8be6475c9b1a01e26">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:49662
    serve.go:434: debug server listening at http://localhost:49663
    invoke.go:285: error killing the Go command: os: process already finished
    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.

    ...
    panic: detected hanging go command (pid 16619): see golang/go#54461 for more details

    goroutine 71242 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00334f590)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100e56de8, 0xc003bfc600}, 0xc002282dc0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0033278a0, {0x100e56de8, 0xc003bfc600}, {0x100e4eae0?, 0xc0054a2de0}, {0x100e4eae0?, 0xc0054a2e10})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc003327868?, {0x100e56de8, 0xc003bfc600}, {0x100e4eae0?, 0xc0054a2de0?}, {0x100e4eae0?, 0xc0054a2e10?})
    ...
    golang.org/x/tools/gopls/internal/lsp/mod.Diagnostics({0x100e56e20, 0xc00624fd70}, {0x100e64df8, 0xc0034203c0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/mod/diagnostics.go:33 +0xab
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc002c44e00, {0x100e56e20, 0xc0054a2840}, {0x100e64df8?, 0xc0034203c0}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:282 +0x52d
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc002c44e00, {0x100e64df8, 0xc0034203c0}, {0xc001d4aaf0, 0x1, 0x1}, 0x66?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:167 +0x23b
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100e64df8?, 0xc0034203c0?}, {0xc001d4aaf0?, 0xc0030520c0?, 0x0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>

<details><summary>2023-02-14 22:11 darwin-amd64-12_0 tools@c3550e91 go@828b05cc x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/5dd64c9301e1a315238758dd81cf2b7b4438e8e0">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:49247
    serve.go:434: debug server listening at http://localhost:49248
    invoke.go:285: error killing the Go command: os: process already finished
    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.

    ...
    panic: detected hanging go command (pid 15833): see golang/go#54461 for more details

    goroutine 63188 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc001239ad0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100e42500, 0xc007e5e570}, 0xc0065cdce0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc002211de0, {0x100e42500, 0xc007e5e570}, {0x100e3a2e0?, 0xc001201440}, {0x100e3a2e0?, 0xc001201470})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc002211da8?, {0x100e42500, 0xc007e5e570}, {0x100e3a2e0?, 0xc001201440?}, {0x100e3a2e0?, 0xc001201470?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc004c5c140, {0x100e42538, 0xc001200e40}, {0xc0013de180, 0x58})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:706 +0x236
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc004e3f260, {0x100e42538, 0xc001200c90}, {0x100e50d10?, 0xc004c5c140}, {0xc006985eb0, 0x1, 0xc0078c7f78?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x343
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc004e3f260, {0x100e50d10, 0xc004c5c140}, {0xc006985eb0, 0x1, 0x1}, 0xc0?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100e50d10?, 0xc004c5c140?}, {0xc006985eb0?, 0x1001745ea?, 0xc000c27fb8?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>

<details><summary>2023-02-16 18:10 darwin-amd64-11_0 tools@ad4fc28a go@7b398b1f x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/4ff6b72a283e046731d0c824d8d43abb3bfd8669">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:49637
    serve.go:434: debug server listening at http://localhost:49638
    invoke.go:285: error killing the Go command: os: process already finished
    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.

    ...
    panic: detected hanging go command (pid 16137): see golang/go#54461 for more details

    goroutine 67639 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00b4ff620)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100e4de60, 0xc00b939260}, 0xc0056be160)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc003ccddd0, {0x100e4de60, 0xc00b939260}, {0x100e45c20?, 0xc00b879cb0}, {0x100e45c20?, 0xc00b879ce0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc003ccdd98?, {0x100e4de60, 0xc00b939260}, {0x100e45c20?, 0xc00b879cb0?}, {0x100e45c20?, 0xc00b879ce0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc0002a9040, {0x100e4de98, 0xc00b938d80}, {0xc00b476690, 0x63})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:702 +0x236
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc0033487e0, {0x100e4de98, 0xc00b938ba0}, {0x100e5c538?, 0xc0002a9040}, {0xc000e36490, 0x1, 0x0?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x343
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0033487e0, {0x100e5c538, 0xc0002a9040}, {0xc000e36490, 0x1, 0x1}, 0x6?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100e5c538?, 0xc0002a9040?}, {0xc000e36490?, 0xc0002110b0?, 0xc000bc3590?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>

<details><summary>2023-02-23 13:00 darwin-amd64-nocgo tools@4906a71e go@0fa9ba8a x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/7ce66da8c269b73525f1fabe6252cb99ac494b18">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:49268
    serve.go:434: debug server listening at http://localhost:49269
    invoke.go:285: error killing the Go command: os: process already finished
    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.

    ...
    panic: detected hanging go command (pid 14836): see golang/go#54461 for more details

    goroutine 68510 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0073e8660)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1e62a08, 0xc007ed4360}, 0xc0034fa6e0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc002b25dc8, {0x1e62a08, 0xc007ed4360}, {0x1e5a6e0?, 0xc00b09f860}, {0x1e5a6e0?, 0xc00b09f890})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc002b25d90?, {0x1e62a08, 0xc007ed4360}, {0x1e5a6e0?, 0xc00b09f860?}, {0x1e5a6e0?, 0xc00b09f890?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc00588b400, {0x1e62a40, 0xc00b099860}, {0xc002515e80, 0x7a})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:703 +0x1e5
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc0001ad420, {0x1e62a40, 0xc00b099680}, {0x1e709d8?, 0xc00588b400}, {0xc00352c530, 0x1, 0x0?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x35f
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0001ad420, {0x1e709d8, 0xc00588b400}, {0xc00352c530, 0x1, 0x1}, 0x1?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x1e709d8?, 0xc00588b400?}, {0xc00352c530?, 0xc000c68b30?, 0xc00388d7c0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-03-01 21:29 darwin-amd64-nocgo tools@fbb25cbb go@af9f2128 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/050848c4ea94e877af038d162bd412951947a72c">log</a>)</summary>

    2023/03/01 16:21:00 error killing the Go command: os: process already finished
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 25950 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc005c2b5c0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1d83558, 0xc0070f8e00}, 0xc006cfec60)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3cc
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc003a47cc8, {0x1d83558, 0xc0070f8e00}, {0x1d7b360?, 0xc005103500}, {0x1d7b360?, 0xc0051035f0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xecf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc003a47c90?, {0x1d83558, 0xc0070f8e00}, {0x1d7b360?, 0xc005103500?}, {0x1d7b360?, 0xc0051035f0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc0037c4780, {0x1d83590, 0xc005103320}, {0xc0068338c0, 0x56})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:703 +0x236
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc005200b60, {0x1d83590, 0xc005103170}, {0x1d903d8?, 0xc0037c4780}, {0xc005fcc740, 0x1, 0x0?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x343
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc005200b60, {0x1d903d8, 0xc0037c4780}, {0xc005fcc740, 0x1, 0x1}, 0x60?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x145
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x1d903d8?, 0xc0037c4780?}, {0xc005fcc740?, 0x1166ca7?, 0xc0046e72c0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x7c
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots in goroutine 26095
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x7c
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-03-03 22:59 darwin-amd64-12_0 tools@21d2256f go@26eeaec8 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/7a5e8b052a6ad0be7860a3df06757380d6b0e292">log</a>)</summary>

    2023/03/03 18:59:51 error killing the Go command: os: process already finished
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 59037 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc001c15e90)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100df5340, 0xc0027809f0}, 0xc008280840)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0009618f0, {0x100df5340, 0xc0027809f0}, {0x100ded1c0?, 0xc002780c60}, {0x100ded1c0?, 0xc002780c90})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0009618b8?, {0x100df5340, 0xc0027809f0}, {0x100ded1c0?, 0xc002780c60?}, {0x100ded1c0?, 0xc002780c90?})
    ...
    golang.org/x/tools/gopls/internal/lsp/mod.Diagnostics({0x100df5378, 0xc00573fcb0}, {0x100e02a90, 0xc005040780})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/mod/diagnostics.go:33 +0xab
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc000402380, {0x100df5378, 0xc00573f770}, {0x100e02a90?, 0xc005040780}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:282 +0x353
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc000402380, {0x100e02a90, 0xc005040780}, {0xc001213850, 0x1, 0x1}, 0xe6?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:167 +0x23b
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100e02a90?, 0xc005040780?}, {0xc001213850?, 0xc003f6a2a0?, 0xc000787fb8?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-02-28 17:23 darwin-amd64-12_0 tools@0d741d58 go@6dd20f4f x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/7782c903521f936f100b544ccdb4c961bdd95fb1">log</a>)</summary>

    2023/02/28 11:44:49 error killing the Go command: os: process already finished
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 17506 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0015fa960)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100d8a958, 0xc00768acb0}, 0xc00774f340)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3cc
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0079057b0, {0x100d8a958, 0xc00768acb0}, {0x100d82760?, 0xc0060e7cb0}, {0x100d82760?, 0xc0060e7d10})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xecf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc007905778?, {0x100d8a958, 0xc00768acb0}, {0x100d82760?, 0xc0060e7cb0?}, {0x100d82760?, 0xc0060e7d10?})
    ...
    golang.org/x/tools/gopls/internal/lsp/mod.Diagnostics({0x100d8a990, 0xc0064252f0}, {0x100d97838, 0xc002ab2c80})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/mod/diagnostics.go:33 +0xa5
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc0036070a0, {0x100d8a990, 0xc006424bd0}, {0x100d97838?, 0xc002ab2c80}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:282 +0x350
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0036070a0, {0x100d97838, 0xc002ab2c80}, {0xc005cc1120, 0x1, 0x1}, 0x38?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:167 +0x22e
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100d97838?, 0xc002ab2c80?}, {0xc005cc1120?, 0xc0048c5110?, 0xc00627a660?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x7c
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots in goroutine 17489
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x7c
</details>

<details><summary>2023-02-28 17:23 darwin-amd64-12_0 tools@0d741d58 go@ab86d29b x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/13d221a5be041c104719cd9baa9edd8756ad5d15">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:49261
    serve.go:434: debug server listening at http://localhost:49262
    invoke.go:285: error killing the Go command: os: process already finished
    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.

    ...
    panic: detected hanging go command (pid 16606): see golang/go#54461 for more details

    goroutine 69994 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0054c4780)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100dffcd8, 0xc005f18af0}, 0xc003575340)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3cc
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0008fbde0, {0x100dffcd8, 0xc005f18af0}, {0x100df7a20?, 0xc00b647b00}, {0x100df7a20?, 0xc00b647b30})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xecf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0008fbda8?, {0x100dffcd8, 0xc005f18af0}, {0x100df7a20?, 0xc00b647b00?}, {0x100df7a20?, 0xc00b647b30?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc005e42640, {0x100dffd10, 0xc005fb5f20}, {0xc002263730, 0x6d})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:703 +0x236
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc000234380, {0x100dffd10, 0xc005fb5b60}, {0x100e0e438?, 0xc005e42640}, {0xc00a3736e0, 0x1, 0x0?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x343
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc000234380, {0x100e0e438, 0xc005e42640}, {0xc00a3736e0, 0x1, 0x1}, 0x77?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x145
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100e0e438?, 0xc005e42640?}, {0xc00a3736e0?, 0x0?, 0x0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x7c
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots in goroutine 69886
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x7c
</details>

<details><summary>2023-03-07 17:25 darwin-amd64-11_0 tools@edc00846 go@aee9a19c x/tools/gopls/internal/regtest/completion (<a href="https://build.golang.org/log/e6f969a241f5a52b3cbc874786ac4d95e6f45ced">log</a>)</summary>

    2023/03/08 03:23:55 error killing the Go command: os: process already finished
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 15093 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00451dc50)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100e09990, 0xc0015b98f0}, 0xc0029d9ce0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0013cbdd8, {0x100e09990, 0xc0015b98f0}, {0x100e017c0?, 0xc00155aa80}, {0x100e017c0?, 0xc00155aab0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0013cbda0?, {0x100e09990, 0xc0015b98f0}, {0x100e017c0?, 0xc00155aa80?}, {0x100e017c0?, 0xc00155aab0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc001222a00, {0x100e099c8, 0xc0015b9500}, {0xc0014df960, 0x62})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:718 +0x236
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc000982ee0, {0x100e099c8, 0xc0015b92c0}, {0x100e17290?, 0xc001222a00}, {0xc0005586b0, 0x1, 0x0?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x33f
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc000982ee0, {0x100e17290, 0xc001222a00}, {0xc0005586b0, 0x1, 0x1}, 0x80?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100e17290?, 0xc001222a00?}, {0xc0005586b0?, 0xc0008dc030?, 0xc002127130?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-03-08 01:14 darwin-amd64-11_0 tools@dd1e2f66 go@d9c29ec6 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/72735dfa894d5d58f4d282ee7c78084fe037f77e">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:49622
    serve.go:434: debug server listening at http://localhost:49623
    invoke.go:285: error killing the Go command: os: process already finished
    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.

    ...
    panic: detected hanging go command (pid 17093): see golang/go#54461 for more details

    goroutine 86983 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00e0d2750)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100e13618, 0xc00063e2a0}, 0xc00075b1e0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3cc
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00224daa8, {0x100e13618, 0xc00063e2a0}, {0x100e0b340?, 0xc002ba6750}, {0x100e0b340?, 0xc002ba67b0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xecf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00224da70?, {0x100e13618, 0xc00063e2a0}, {0x100e0b340?, 0xc002ba6750?}, {0x100e0b340?, 0xc002ba67b0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/mod.Diagnostics({0x100e13650, 0xc007cff1a0}, {0x100e22630, 0xc0000e4b40})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/mod/diagnostics.go:33 +0xa5
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc000222d20, {0x100e13650, 0xc010760c90}, {0x100e22630?, 0xc0000e4b40}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:282 +0x350
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc000222d20, {0x100e22630, 0xc0000e4b40}, {0xc001a9dd00, 0x2, 0x2}, 0x9b?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:167 +0x22e
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100e22630?, 0xc0000e4b40?}, {0xc001a9dd00?, 0xc001c4b000?, 0xc002780050?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x7c
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots in goroutine 86981
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x7c
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-03-13 18:43 linux-s390x-ibm tools@243a9484 go@7ec69abf x/tools/gopls/internal/regtest/modfile (<a href="https://build.golang.org/log/fbc1ceb8c69902651d1cada85af486ee94ed75dc">log</a>)</summary>

    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:
    -------------------------
       PPID     PID COMMAND
    ...
    panic: running lsof: exec: "lsof": executable file not found in $PATH

    goroutine 5093 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00a3cd380)
        /data/golang/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:330 +0x48a
    golang.org/x/tools/internal/gocommand.runCmdContext({0xf4f208, 0xc00016b650}, 0xc0099df8c0)
        /data/golang/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1d0
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00b6aff68, {0xf4f208, 0xc00016b650}, {0xf47120, 0xc00a3fe840}, {0xf47120, 0xc00a3fe870})
        /data/golang/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x11a6
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00b6aff68, {0xf4f208, 0xc00016b650}, {0xf47120, 0xc00a3fe840}, {0xf47120, 0xc00a3fe870})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc00b472f00, {0xf4f1d0, 0xc008ab6870}, 0x1, {0xc005dce880, 0x2, 0x2})
        /data/golang/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:128 +0xf5c
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc00b472f00, {0xf4f1d0, 0xc008ab6870}, 0x1)
        /data/golang/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:737 +0x296
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc00b472f00, {0xf4f1d0, 0xc008ab6870}, 0x1)
        /data/golang/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:660 +0x1c8
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func3()
        /data/golang/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:193 +0x5a
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 4943
        /data/golang/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:191 +0xe2a
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-03-14 19:57 darwin-amd64-12_0 tools@c17e55ec go@46bc9a6e x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/9941ab125545311ea7a40e6ff5b6a09ec30af3cf">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:49259
    serve.go:434: debug server listening at http://localhost:49260
    invoke.go:285: error killing the Go command: os: process already finished
    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.

    ...
    panic: detected hanging go command (pid 17007): see golang/go#54461 for more details

    goroutine 54101 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0023625a0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100e16538, 0xc0003def50}, 0xc0072d8160)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3cc
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00186fc60, {0x100e16538, 0xc0003def50}, {0x100e0e260?, 0xc00b67d500}, {0x100e0e260?, 0xc00b67d530})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xecf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00186fc28?, {0x100e16538, 0xc0003def50}, {0x100e0e260?, 0xc00b67d500?}, {0x100e0e260?, 0xc00b67d530?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc0002268c0, {0x100e16570, 0xc00b67c8a0}, {0xc0011400e0, 0x6c})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:718 +0x236
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0x100e16500?, {0x100e16570, 0xc00c41d830}, {0x100e25550, 0xc0002268c0}, {0xc0004dd040, 0x1, 0xc00bc52c78?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:202 +0x315
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0001707e0, {0x100e25550, 0xc0002268c0}, {0xc0004dd040, 0x1, 0x1}, 0x85?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x145
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100e25550?, 0xc0002268c0?}, {0xc0004dd040?, 0xc00bc52c70?, 0xc0023f3fb8?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x7c
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots in goroutine 53947
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x7c
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-03-15 03:25 darwin-amd64-nocgo tools@c4b943d1 go@fbf4c04f x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/6aad251c68640192fa88dc548c83a3df073b25ff">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:49262
    serve.go:434: debug server listening at http://localhost:49263
    invoke.go:285: error killing the Go command: os: process already finished
    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.

    ...
    panic: detected hanging go command (pid 13387): see golang/go#54461 for more details

    goroutine 35110 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc002cc3d70)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1e7b4e8, 0xc002a12720}, 0xc00849c000)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc002befb18, {0x1e7b4e8, 0xc002a12720}, {0x1e731c0?, 0xc007ffadb0}, {0x1e731c0?, 0xc007ffae10})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc002befae0?, {0x1e7b4e8, 0xc002a12720}, {0x1e731c0?, 0xc007ffadb0?}, {0x1e731c0?, 0xc007ffae10?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc00024a780, {0x1e7b520, 0xc003f419e0}, {0xc000e14900, 0x55})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:718 +0x1e5
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0x1e7b478?, {0x1e7b520, 0xc003f417d0}, {0x1e899b8, 0xc00024a780}, {0xc00c45bd80, 0x1, 0x0?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:202 +0x36b
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc001e50620, {0x1e899b8, 0xc00024a780}, {0xc00c45bd80, 0x1, 0x1}, 0x88?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x1e899b8?, 0xc00024a780?}, {0xc00c45bd80?, 0xc002f99690?, 0xc000ab87b8?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-03-22 15:19 darwin-amd64-12_0 tools@cbe6614d go@7f4a54c0 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/9714d36dbf408be388288fcdf2db831a745a413d">log</a>)</summary>

    2023/03/22 22:52:52 error killing the Go command: os: process already finished
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 21625 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc005987d10)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100dc73c8, 0xc0006d4620}, 0xc0010226e0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3cc
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00117bc78, {0x100dc73c8, 0xc0006d4620}, {0x100dbf120?, 0xc001c51860}, {0x100dbf120?, 0xc001c51890})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xecf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00117bc40?, {0x100dc73c8, 0xc0006d4620}, {0x100dbf120?, 0xc001c51860?}, {0x100dbf120?, 0xc001c51890?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc00021e140, {0x100dc7400, 0xc00232b2c0}, {0xc001174620, 0x6e})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:734 +0x236
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0x100dc7390?, {0x100dc7400, 0xc00232b140}, {0x100dd4d30, 0xc00021e140}, {0xc000f729e0, 0x1, 0x0?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:202 +0x312
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc000995960, {0x100dd4d30, 0xc00021e140}, {0xc000f729e0, 0x1, 0x1}, 0x0?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x145
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100dd4d30?, 0xc00021e140?}, {0xc000f729e0?, 0xc00345ccf0?, 0xc004458ff0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x7c
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots in goroutine 21623
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x7c
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-03-27 15:26 linux-s390x-ibm tools@e0ecd1bc go@8c2900bb x/tools/gopls/internal/regtest/completion (<a href="https://build.golang.org/log/b552e3e0ae1e44beb27899eef1f7af691b36cfc9">log</a>)</summary>

    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:
    -------------------------
       PPID     PID COMMAND
    ...
    panic: running lsof: exec: "lsof": executable file not found in $PATH

    goroutine 11149 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc004b13710)
        /data/golang/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:330 +0x48a
    golang.org/x/tools/internal/gocommand.runCmdContext({0xf7c1c8, 0xc0006d5730}, 0xc00b2de840)
        /data/golang/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x4a2
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00ce3bd38, {0xf7c1c8, 0xc0006d5730}, {0xf74060, 0xc00c7ab830}, {0xf74060, 0xc00c7ab860})
        /data/golang/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x11a6
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00ce3bd38, {0xf7c1c8, 0xc0006d5730}, {0xf74060, 0xc00c7ab830}, {0xf74060, 0xc00c7ab860})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc00ab634a0, {0xf7c200, 0xc00c1f0630}, {0xc004597340, 0x69})
        /data/golang/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:754 +0x280
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xc000c5fce0, {0xf7c200, 0xc00c1f04b0}, {0xf86820, 0xc00ab634a0}, {0xc00b54d6b0, 0x1, 0x1}, 0x0)
        /data/golang/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:214 +0x2e6
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc000c5fce0, {0xf86820, 0xc00ab634a0}, {0xc00b54d6b0, 0x1, 0x1}, 0x0)
        /data/golang/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:166 +0x19c
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0xf86820, 0xc00ab634a0}, {0xc00b54d6b0, 0x1, 0x1})
        /data/golang/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:145 +0x98
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots in goroutine 11147
        /data/golang/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:143 +0x7e
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-03-29 21:56 darwin-arm64-12 tools@04059e17 go@6a51c000 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/4d4715e0dd00d37fb592f2ae340af204e8b802d0">log</a>)</summary>

    2023/03/29 19:04:07 error killing the Go command: os: process already finished
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 11200 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x1400081c030)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x378
    golang.org/x/tools/internal/gocommand.runCmdContext({0x102d44dc8, 0x1400032f960}, 0x14001c28f20)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x2e0
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x14004d279f8, {0x102d44dc8, 0x1400032f960}, {0x102d3cd60?, 0x14004d1dbf0}, {0x102d3cd60?, 0x14004d1dc20})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xca8
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x14004d279c0?, {0x102d44dc8, 0x1400032f960}, {0x102d3cd60?, 0x14004d1dbf0?}, {0x102d3cd60?, 0x14004d1dc20?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ActiveMetadata(0x102d44e00?, {0x102d44e00?, 0x14003b63ef0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:1080 +0x28
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0x14002e8a620, {0x102d44e00, 0x14005c05dd0}, {0x102d51c70, 0x1400169d600}, 0x1)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:312 +0x324
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0x14002e8a620, {0x102d51c70, 0x1400169d600}, {0x14005bfa610, 0x1, 0x1}, 0x80?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:175 +0x198
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x102d51c70?, 0x1400169d600?}, {0x14005bfa610?, 0x1020b5aa4?, 0x140068435f0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:145 +0x78
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots in goroutine 11199
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:143 +0x70
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-03-30 21:38 darwin-arm64-12 tools@f4e613e8 go@c054f223 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/203d27067efaaddc8e64ef203f1a0577d8604f37">log</a>)</summary>

    2023/03/30 23:13:20 error killing the Go command: os: process already finished
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 34168 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x14004e6e060)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x378
    golang.org/x/tools/internal/gocommand.runCmdContext({0x103684e08, 0x1400072eaf0}, 0x140034b4160)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x2e0
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x1400088f9f8, {0x103684e08, 0x1400072eaf0}, {0x10367cda0?, 0x140015ec990}, {0x10367cda0?, 0x140015ec9c0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xca8
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x1400088f9c0?, {0x103684e08, 0x1400072eaf0}, {0x10367cda0?, 0x140015ec990?}, {0x10367cda0?, 0x140015ec9c0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ActiveMetadata(0x103684e40?, {0x103684e40?, 0x140062842d0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:1080 +0x28
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0x140017a8000, {0x103684e40, 0x14001eb9c20}, {0x103691cb0, 0x140084be6e0}, 0x1)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:312 +0x324
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0x140017a8000, {0x103691cb0, 0x140084be6e0}, {0x1400634c3b0, 0x1, 0x1}, 0x78?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:175 +0x198
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x103691cb0?, 0x140084be6e0?}, {0x1400634c3b0?, 0x102ff10a0?, 0x140018c71b0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:145 +0x78
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots in goroutine 34166
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:143 +0x70
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-03-31 15:46 darwin-amd64-nocgo tools@58c9a632 go@6d9df0a5 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/5f7716c19ff788b397b02051edd628205f49cef3">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:49307
    serve.go:434: debug server listening at http://localhost:49308
    invoke.go:285: error killing the Go command: os: process already finished
    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.

    ...
    panic: detected hanging go command (pid 14891): see golang/go#54461 for more details

    goroutine 38965 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00cff9aa0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1e89328, 0xc002ebfec0}, 0xc0078e94a0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000e83c40, {0x1e89328, 0xc002ebfec0}, {0x1e81000?, 0xc00395d530}, {0x1e81000?, 0xc00395d560})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000e83c08?, {0x1e89328, 0xc002ebfec0}, {0x1e81000?, 0xc00395d530?}, {0x1e81000?, 0xc00395d560?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc000579ce0, {0x1e89360, 0xc00395cdb0}, {0xc001f1c720, 0x58})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:757 +0x1e5
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0x1e892b8?, {0x1e89360, 0xc00395cc30}, {0x1e977f8, 0xc000579ce0}, {0xc002182df0, 0x1, 0x2489ab0?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:214 +0x31c
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc00025a620, {0x1e977f8, 0xc000579ce0}, {0xc002182df0, 0x1, 0x1}, 0xa4?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:166 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x1e977f8?, 0xc000579ce0?}, {0xc002182df0?, 0xc0026dbe70?, 0xc0017b4f98?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:145 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:143 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-03-31 15:46 darwin-arm64-12 tools@58c9a632 go@a7fd2fab x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/d964b0d96be2ad391f10ac77c671f3121d2c4ff6">log</a>)</summary>

    2023/03/31 12:24:08 error killing the Go command: os: process already finished
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 18023 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x1400067fa70)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x378
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1039cce08, 0x1400025ccb0}, 0x14007bc5ce0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x2e0
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x140028539f8, {0x1039cce08, 0x1400025ccb0}, {0x1039c4da0?, 0x140037dcdb0}, {0x1039c4da0?, 0x140037dcde0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xca8
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x140028539c0?, {0x1039cce08, 0x1400025ccb0}, {0x1039c4da0?, 0x140037dcdb0?}, {0x1039c4da0?, 0x140037dcde0?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ActiveMetadata(0x1039cce40?, {0x1039cce40?, 0x14001f0c120?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:1080 +0x28
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0x1400427b500, {0x1039cce40, 0x140049c8b10}, {0x1039d9cb0, 0x14007bc5600}, 0x1)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:312 +0x324
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0x1400427b500, {0x1039d9cb0, 0x14007bc5600}, {0x14001813540, 0x1, 0x1}, 0x40?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:175 +0x198
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x1039d9cb0?, 0x14007bc5600?}, {0x14001813540?, 0x102d3dea4?, 0x1400b37f7a0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:145 +0x78
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots in goroutine 18183
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:143 +0x70
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-04-04 16:15 darwin-arm64-12 tools@4d205d81 go@d6759e7a x/tools/gopls/internal/regtest/modfile (<a href="https://build.golang.org/log/70c09ec0ef93767ce9283932569a78c7de5208bf">log</a>)</summary>

    2023/04/04 12:49:06 error killing the Go command: os: process already finished
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 5466 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x14001964a20)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x38c
    golang.org/x/tools/internal/gocommand.runCmdContext({0x105624288, 0x140015f3380}, 0x14000ed26e0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x304
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x140008e9918, {0x105624288, 0x140015f3380}, {0x10561c180?, 0x1400206a300}, {0x10561c180?, 0x1400206a330})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd8c
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x140008e98e0?, {0x105624288, 0x140015f3380}, {0x10561c180?, 0x1400206a300?}, {0x10561c180?, 0x1400206a330?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ActiveMetadata(0x1056242c0?, {0x1056242c0?, 0x140014587e0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:1089 +0x28
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0x14000252380, {0x1056242c0, 0x14001ad9f80}, {0x1056306d8, 0x1400315a6e0}, 0x1)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:312 +0x668
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0x14000252380, {0x1056306d8, 0x1400315a6e0}, {0x14002aee1d0, 0x1, 0x1}, 0x80?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:175 +0x198
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x1056306d8?, 0x1400315a6e0?}, {0x14002aee1d0?, 0x14001ad9d10?, 0x1400321b000?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:145 +0x78
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:143 +0x68
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-04-04 16:15 darwin-amd64-nocgo tools@4d205d81 go@ca305e10 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/cedabc89d6888b0d1aeefdf3b5e35257f05ccbc1">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:49266
    serve.go:434: debug server listening at http://localhost:49267
    invoke.go:285: error killing the Go command: os: process already finished
    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.

    ...
    panic: detected hanging go command (pid 15087): see golang/go#54461 for more details

    goroutine 42902 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc003597cb0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1e8e108, 0xc00b132960}, 0xc0014b31e0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000bedb40, {0x1e8e108, 0xc00b132960}, {0x1e85dc0?, 0xc009214c60}, {0x1e85dc0?, 0xc009214c90})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000bedb08?, {0x1e8e108, 0xc00b132960}, {0x1e85dc0?, 0xc009214c60?}, {0x1e85dc0?, 0xc009214c90?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ActiveMetadata(0x1e8e140?, {0x1e8e140?, 0xc001ab6300?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:1089 +0x28
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnose(0xc000fc2000, {0x1e8e140, 0xc00b2478c0}, {0x1e9c5d8, 0xc0035d6dc0}, 0x1)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:312 +0x85d
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc000fc2000, {0x1e9c5d8, 0xc0035d6dc0}, {0xc00ba9ac80, 0x1, 0x1}, 0xe6?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:175 +0x23e
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x1e9c5d8?, 0xc0035d6dc0?}, {0xc00ba9ac80?, 0xc000408810?, 0xc0000bbfb8?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:145 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:143 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-04-05 17:48 darwin-amd64-12_0 tools@7c33a561 go@22c1d18a x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/2762de5d7f1fad7e8dcb264901586b3df740be1c">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:49291
    serve.go:434: debug server listening at http://localhost:49292
    invoke.go:285: error killing the Go command: os: process already finished
    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.

    ...
    panic: detected hanging go command (pid 16852): see golang/go#54461 for more details

    goroutine 42774 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00396b170)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x100e94368, 0xc001aea2a0}, 0xc003dc4580)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0003e3c40, {0x100e94368, 0xc001aea2a0}, {0x100e8c000?, 0xc001aa4030}, {0x100e8c000?, 0xc001aa4060})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0x1093
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0003e3c08?, {0x100e94368, 0xc001aea2a0}, {0x100e8c000?, 0xc001aa4030?}, {0x100e8c000?, 0xc001aa4060?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc004b402c0, {0x100e943a0, 0xc0074a1740}, {0xc0040af7a0, 0x6d})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:766 +0x1e5
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0x100e942f8?, {0x100e943a0, 0xc0074a1590}, {0x100ea2898, 0xc004b402c0}, {0xc003c835f0, 0x1, 0x0?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:214 +0x31c
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc000a86a80, {0x100ea2898, 0xc004b402c0}, {0xc003c835f0, 0x1, 0x1}, 0xa6?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:166 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x100ea2898?, 0xc004b402c0?}, {0xc003c835f0?, 0xc0042c7350?, 0xc0007d9ec0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:145 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:143 +0x90
</details>

<details><summary>2023-04-06 19:16 darwin-amd64-nocgo tools@45ef8294 go@99001c46 x/tools/gopls/internal/regtest/diagnostics (<a href="https://build.golang.org/log/f75fe5628e99c740d4b57f8c448fffb73170a03b">log</a>)</summary>

    2023/04/06 12:50:34 error killing the Go command: os: process already finished
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 28040 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc003d1ddd0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1e28200, 0xc000c895c0}, 0xc00ab87760)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x3de
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00227fd68, {0x1e28200, 0xc000c895c0}, {0x1e20000?, 0xc000c89860}, {0x1e20000?, 0xc000c89890})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xeec
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00227fd30?, {0x1e28200, 0xc000c895c0}, {0x1e20000?, 0xc000c89860?}, {0x1e20000?, 0xc000c89890?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc00ab871e0, {0x1e28238, 0xc000c89170}, {0xc0025aea20, 0x57})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:766 +0x236
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0x1e28190?, {0x1e28238, 0xc000c88fc0}, {0x1e35ad0, 0xc00ab871e0}, {0xc00189af90, 0x1, 0x0?}, 0x1)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:214 +0x2c5
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc00014a700, {0x1e35ad0, 0xc00ab871e0}, {0xc00189af90, 0x1, 0x1}, 0x20?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:166 +0x153
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x1e35ad0?, 0xc00ab871e0?}, {0xc00189af90?, 0xc000d2ae90?, 0xc000100c30?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:145 +0x85
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:143 +0x90
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

    #!watchflakes
    post <- builder != "netbsd-386-9_3" && (pkg ~ `^golang.org/x/tools/gopls` || (repo == "tools" && pkg == "")) && 
            `DETECTED A HANGING GO COMMAND`

<details><summary>2023-04-06 19:16 netbsd-amd64-9_3 tools@45ef8294 go@46a49eb5 x/tools/gopls/internal/regtest/watch (<a href="https://build.golang.org/log/4243d5a9d93b037168dd40da0b6d092672f68989">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 16468): see golang/go#54461 for more details

    goroutine 5170 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc000d95560)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11c21e0, 0xc006b7f630}, 0xc000c311e0)
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x439
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001208058, {0x11c21e0, 0xc006b7f630}, {0x11b9f20?, 0xc001973800}, {0x11b9f20?, 0xc001973830})
        /tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xecf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001208020?, {0x11c21e0, 0xc006b7f630}, {0x11b9f20?, 0xc001973800?}, {0x11b9f20?, 0xc001973830?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc000c30b00, {0x11c2250, 0xc0019731a0}, {0xc0008ae3f0, 0x66})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:766 +0x236
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0x11c21e0?, {0x11c2250, 0xc001973020}, {0x11cfb30, 0xc000c30b00}, {0xc0011e0a40, 0x1, 0x467813?}, 0x0)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:214 +0x2be
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xc0001a7260, {0x11cfb30, 0xc000c30b00}, {0xc0011e0a40, 0x1, 0x1}, 0x88?)
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:166 +0x145
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x11cfb30?, 0xc000c30b00?}, {0xc0011e0a40?, 0xc000b8e310?, 0xc000a087b8?})
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:145 +0x7c
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots in goroutine 5085
        /tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:143 +0x7c
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: adonovan**

There have been a lot of reports of this lately, and we shouldn't even be running gopls tests on a 386 (or any 32-bit machine).

**Comment From: bcmills**

I don't think we've seen any failures on a `386` platform lately?

They're mostly on the `darwin/amd64` platform, and with the failure mode of `error killing the Go command: os: process already finished`, which suggests to me that the 1s timeout after `cmd.Process.Kill()` is probably just too short:
https://cs.opensource.google/go/x/tools/+/master:internal/gocommand/invoke.go;l=277;drc=5214f412aecffbca887fc0c26f8d59e3a2342d44

**Comment From: adonovan**

> I don't think we've seen any failures on a 386 platform lately?

Sorry, ignore me. Scanning too many watchflakes posts in haste, I misread the exclusion of 386 as a positive report.

> 1s ... is probably just too short

Yeah, that seems plausible. Shall I make it 2? ;-)




**Comment From: gopherbot**

Change https://go.dev/cl/483215 mentions this issue: `internal/gocommand: more tweaks to DebugHangingGoCommands`

**Comment From: bcmills**

Thinking about this some more: if the process is already finished but `Wait` is taking longer than a second, it's probably spending that time ingesting a lot of (presumably buffered) output from the command's `stdout` and/or `stderr`.

Perhaps we should be redirecting the output through an `os.Pipe` or temporary `os.File` so that we can stop reading it as soon as the command is canceled. 🤔

(In theory we could use the new `WaitDelay` field to bound the time spent waiting, but `WaitDelay` is not intended for cases where draining the buffer after a successful command might take longer than we're willing to wait upon cancellation.)

**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2023-04-08 01:28 darwin-arm64-12 tools@a5338c9f go@66cac9e1 x/tools/gopls/internal/regtest/misc (<a href="https://build.golang.org/log/d916f275570fa14d74fcf84d6217b5fbc50f9623">log</a>)</summary>

    serve.go:434: debug server listening at http://localhost:49549
    serve.go:434: debug server listening at http://localhost:49550
    invoke.go:285: error killing the Go command: os: process already finished
    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.

    ...
    panic: detected hanging go command (pid 56473): see golang/go#54461 for more details

    goroutine 33507 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x14008503320)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x378
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1038a9bd8, 0x14007c811f0}, 0x14007868c60)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x318
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0x140023e3be8, {0x1038a9bd8, 0x14007c811f0}, {0x1038a1b00?, 0x14007e29530}, {0x1038a1b00?, 0x14007e29560})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xca8
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x140023e3bb0?, {0x1038a9bd8, 0x14007c811f0}, {0x1038a1b00?, 0x14007e29530?}, {0x1038a1b00?, 0x14007e29560?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0x140001758c0, {0x1038a9c10, 0x1400f29c810}, {0x14004a576e0, 0x5f})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:766 +0x21c
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0x1038a9ba0?, {0x1038a9c10, 0x1400f29c690}, {0x1038b6ef0, 0x140001758c0}, {0x14007e01730, 0x1, 0x0?}, 0x0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:214 +0x1dc
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0x14004b7c460, {0x1038b6ef0, 0x140001758c0}, {0x14007e01730, 0x1, 0x1}, 0xc0?)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:166 +0xec
    golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x1038b6ef0?, 0x140001758c0?}, {0x14007e01730?, 0x102bbb564?, 0x14008a6b860?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:145 +0x78
    created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots in goroutine 33526
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:143 +0x70
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Change https://go.dev/cl/484741 mentions this issue: `internal/gocommond: stop copying stdout as soon as ctx is done`

**Comment From: gopherbot**

Change https://go.dev/cl/484742 mentions this issue: `internal/gocommand: panic on hanging Go command that are done`

**Comment From: findleyr**

> Thinking about this some more: if the process is already finished but Wait is taking longer than a second, it's probably spending that time ingesting a lot of (presumably buffered) output from the command's stdout and/or stderr.

That's an interesting idea. 10s is an absurdly long time for this to take though.

But your CL should be an improvement anyway.

**Comment From: bcmills**

At present I believe that the `darwin` bug comprises this cluster of `watchflakes` issues:
[edit: I have pulled this list out to its own issue as #63937.)

**Comment From: findleyr**

Here's an interesting hang that wasn't on Darwin (linux-s390x-ibm):
https://build.golang.org/log/760ddd8386c57e95d80a543849ac2f344521dd07

**Comment From: bcmills**

`linux-s390x-ibm` is a little suspect at the moment because of other timeout problems (#60413, #60109). I don't plan to look too much into that one.

**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2023-08-29 19:50 darwin-amd64-longtest tools@9658d2e9 go@22eba6a1 x/tools/gopls/internal/regtest/completion (<a href="https://build.golang.org/log/9e7632c213dec49b491d73a381fb7d6c80b11b9b">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 18999): see golang/go#54461 for more details

    goroutine 1343 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc000a46cc0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:439 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0x10a35e958, 0xc0004747e0}, 0xc0005ec9a0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:372 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0010695c8, {0x10a35e958, 0xc0004747e0}, {0x10a356998?, 0xc000474930}, {0x10a356998?, 0xc000474960})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:267 +0x1032
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001069590?, {0x10a35e958, 0xc0004747e0}, {0x10a356998?, 0xc000474930?}, {0x10a356998?, 0xc000474960?})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ModTidy.func1({0x10a35e990, 0xc0007ac1e0}, {0x10a34da20?, 0xc0009a4000})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/mod_tidy.go:78 +0x87
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0x9c
    runtime/trace.WithRegion({0x10a35e990?, 0xc0007ac1e0?}, {0xc000666000, 0x13}, 0xc0008bbf80)
        /tmp/buildlet/go/src/runtime/trace/annotation.go:141 +0xdd
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x13b
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 1342
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x1b8
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: bcmills**

I have filed a new issue for the `darwin` hangs, since they seem to be much more general than either `gopls` or `cmd/go`: #63937.

**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2023-11-28 21:19 darwin-amd64-longtest tools@4cbc0533 go@aae77346 x/tools/gopls/internal/regtest/codelens (<a href="https://build.golang.org/log/70ce881efc31a06cfe00d4585517e12ec2de0cd5">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 24231): see golang/go#54461 for more details

    goroutine 11093 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0014e15c0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:442 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0x60c8248, 0xc000e6ef60}, 0xc000d83a20)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:375 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001275fc8, {0x60c8248, 0xc000e6ef60}, {0x60bf7e8, 0xc000e6f080}, {0x60bf7e8, 0xc000e6f0b0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:270 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001275f90?, {0x60c8248, 0xc000e6ef60}, {0x60bf7e8?, 0xc000e6f080?}, {0x60bf7e8, 0xc000e6f0b0})
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc000a0c240, {0x60c8280, 0xc000e65ae0}, 0x1, {0xc002610f80, 0x2, 0x4d5d6488?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:135 +0xcd1
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).loadWorkspace(0xc000a0c240, {0x60c8280, 0xc000e65ae0}, 0x1)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:860 +0x25d
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc000a0c240, {0x60c8280, 0xc000e65ae0}, 0x1)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:771 +0x17d
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:209 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 11053
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:207 +0xa28
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: pjweinb**

If it is any help, I get something like this quite reliably on my Windows cloudtop during the day from go test -short golang.org/x/tools/gopls/...

**Comment From: bcmills**

@pjweinb, I would suggest filing a separate issue for that — on a Google cloudtop in particular you may be running up against port exhaustion (see https://github.com/golang/go/issues/52545#issuecomment-1454157883).

**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-01-12 02:29 x_tools-go1.20-openbsd-amd64 tools@6a0605d4 release-branch.go1.20@a95136a8 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8759143788487790241">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 36139): see golang/go#54461 for more details

    goroutine 3644 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3535446522/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12b0678, 0xc000749020}, 0xc000c7a2c0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3535446522/internal/gocommand/invoke.go:375 +0x954
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc004045ed8, {0x12b0678, 0xc000749020}, {0x12a7820?, 0xc00152f590}, {0x12a7820?, 0xc00152f620})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3535446522/internal/gocommand/invoke.go:270 +0x104c
    ...
    golang.org/x/tools/go/packages.Load(0xc000982240?, {0xc00232b2e0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3535446522/go/packages/packages.go:262 +0x65
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc000982240, {0x12b05d0, 0xc0032e8c80}, 0x1, {0xc00232b2c0, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3535446522/gopls/internal/lsp/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc000982240, {0x12b05d0, 0xc0032e8c80}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3535446522/gopls/internal/lsp/cache/view.go:705 +0x3a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3535446522/gopls/internal/lsp/cache/session.go:235 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /home/swarming/.swarming/w/ir/x/w/targetrepo3535446522/gopls/internal/lsp/cache/session.go:233 +0xe6f
</details>

<details><summary>2024-01-12 21:33 x_tools-gotip-openbsd-amd64 tools@54cf5bc0 go@e58e8139 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8759071740226850561">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 44993): see golang/go#54461 for more details

    goroutine 4287 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2646262923/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12f00e8, 0xc007c7fb90}, 0xc0074ea840)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2646262923/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007d2e058, {0x12f00e8, 0xc007c7fb90}, {0x12e7540, 0xc007c7fcb0}, {0x12e7540, 0xc007c7fce0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2646262923/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc0074bed80?, {0xc007d16880, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2646262923/go/packages/packages.go:262 +0x54
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc0074bed80, {0x12f0120, 0xc007c36f50}, 0x1, {0xc007d16860, 0x2, 0xc00767a300?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2646262923/gopls/internal/lsp/cache/load.go:136 +0xcac
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc0074bed80, {0x12f0120, 0xc007c36f50}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2646262923/gopls/internal/lsp/cache/view.go:705 +0x385
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2646262923/gopls/internal/lsp/cache/session.go:235 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 4280
        /home/swarming/.swarming/w/ir/x/w/targetrepo2646262923/gopls/internal/lsp/cache/session.go:233 +0xe38
</details>

<details><summary>2024-01-17 18:13 x_tools-go1.22-openbsd-amd64 tools@d5171129 release-branch.go1.22@66f8e1e8 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758631333367782801">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 85889): see golang/go#54461 for more details

    goroutine 4188 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2639254370/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12f0228, 0xc006309ef0}, 0xc000856f20)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2639254370/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007c24058, {0x12f0228, 0xc006309ef0}, {0x12e7680, 0xc00631c090}, {0x12e7680, 0xc00631c0c0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2639254370/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc003075b00?, {0xc007c086e0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2639254370/go/packages/packages.go:262 +0x54
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc003075b00, {0x12f0260, 0xc0078f4730}, 0x1, {0xc007c086c0, 0x2, 0x22494831a5?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2639254370/gopls/internal/lsp/cache/load.go:136 +0xcac
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc003075b00, {0x12f0260, 0xc0078f4730}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2639254370/gopls/internal/lsp/cache/view.go:705 +0x385
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2639254370/gopls/internal/lsp/cache/session.go:235 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 4182
        /home/swarming/.swarming/w/ir/x/w/targetrepo2639254370/gopls/internal/lsp/cache/session.go:233 +0xe38
</details>

<details><summary>2024-01-17 21:29 x_tools-go1.20-openbsd-amd64 tools@c0db45fb release-branch.go1.20@a95136a8 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758619064012718241">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 96185): see golang/go#54461 for more details

    goroutine 4035 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3828294452/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12af378, 0xc002da97d0}, 0xc002e2c6e0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3828294452/internal/gocommand/invoke.go:375 +0x954
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0011e1ed8, {0x12af378, 0xc002da97d0}, {0x12a6520?, 0xc002da9950}, {0x12a6520?, 0xc002da9980})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3828294452/internal/gocommand/invoke.go:270 +0x104c
    ...
    golang.org/x/tools/go/packages.Load(0xc0013aac60?, {0xc0016ab4e0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3828294452/go/packages/packages.go:262 +0x65
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc0013aac60, {0x12af2d0, 0xc00394e730}, 0x1, {0xc0016ab4c0, 0x2, 0x1ccfaa1a77?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3828294452/gopls/internal/lsp/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc0013aac60, {0x12af2d0, 0xc00394e730}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3828294452/gopls/internal/lsp/cache/view.go:705 +0x3a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3828294452/gopls/internal/lsp/cache/session.go:235 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /home/swarming/.swarming/w/ir/x/w/targetrepo3828294452/gopls/internal/lsp/cache/session.go:233 +0xe6f
</details>

<details><summary>2024-01-17 21:29 x_tools-go1.21-openbsd-amd64 tools@c0db45fb release-branch.go1.21@2540b143 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758619053853856545">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 92880): see golang/go#54461 for more details

    goroutine 3998 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1479640710/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12a6340, 0xc007739aa0}, 0xc00109edc0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1479640710/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007747ec0, {0x12a6340, 0xc007739aa0}, {0x129d7c0?, 0xc007739bc0}, {0x129d7c0?, 0xc007739bf0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1479640710/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc007607560?, {0xc007720b80, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1479640710/go/packages/packages.go:262 +0x54
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc007607560, {0x12a6378, 0xc007724500}, 0x1, {0xc007720b60, 0x2, 0x1913b60?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1479640710/gopls/internal/lsp/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc007607560, {0x12a6378, 0xc007724500}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1479640710/gopls/internal/lsp/cache/view.go:705 +0x385
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1479640710/gopls/internal/lsp/cache/session.go:235 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 3992
        /home/swarming/.swarming/w/ir/x/w/targetrepo1479640710/gopls/internal/lsp/cache/session.go:233 +0xe66
</details>

<details><summary>2024-01-17 21:29 x_tools-go1.22-windows-amd64-race tools@c0db45fb release-branch.go1.22@66f8e1e8 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens [ABORT] (<a href="https://ci.chromium.org/ui/b/8758619061825326225">log</a>)</summary>

    === RUN   TestUpgradeCodelens/Upgrade_transitive_dependencies/default
    panic: detected hanging go command (pid 2748): see golang/go#54461 for more details

    goroutine 440 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x141734748, 0xc0009be420}, 0xc0001ae2c0)
        C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:375 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0007f6e80, {0x141734748, 0xc0009be420}, {0x14172baa0, 0xc0009be540}, {0x14172baa0, 0xc0009be570})
        C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:270 +0x1710
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).WorkspaceMetadata(0xc000c1e360, {0x141734748, 0xc0006a72c0})
        C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/lsp/cache/snapshot.go:1082 +0x85
    golang.org/x/tools/gopls/internal/server.(*server).diagnose(0xc0000e8000, {0x141734748, 0xc0009be0f0}, 0xc000c1e360)
        C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/server/diagnostics.go:366 +0x826
    golang.org/x/tools/gopls/internal/server.(*server).diagnoseSnapshot(0xc0000e8000, 0xc000c1e360, {0xc000b88bf0, 0x1, 0x1}, 0x989680)
        C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/server/diagnostics.go:223 +0x8ce
    golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews.func1(0xc000c1e360, {0xc000b88bf0, 0x1, 0x1})
        C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/server/diagnostics.go:135 +0x1ee
    created by golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews in goroutine 526
        C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/server/diagnostics.go:132 +0x86d
</details>

<details><summary>2024-01-17 21:29 x_tools-go1.22-windows-amd64-race tools@c0db45fb release-branch.go1.22@66f8e1e8 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc [ABORT] (<a href="https://ci.chromium.org/ui/b/8758619061825326225">log</a>)</summary>

    === RUN   TestFuzzFunc/default
    panic: detected hanging go command (pid 7320): see golang/go#54461 for more details

    goroutine 934 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x14176d768, 0xc000b0e870}, 0xc0013d8420)
        C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:375 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0007b73e0, {0x14176d768, 0xc000b0e870}, {0x141764a60, 0xc000b0e990}, {0x141764a60, 0xc000b0e9c0})
        C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:270 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0007b73e0, {0x14176d768, 0xc000b0e870}, {0x141764a60, 0xc000b0e990}, {0x141764a60, 0xc000b0e9c0})
        C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:179 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00011be40, {0x14176d768, 0xc000b0e870}, {{0x1413a17f3, 0x3}, {0xc000470340, 0x1, 0x1}, {0x141f31d40, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00011be40, {0x14176d768, 0xc000b0e6f0}, {{0x1413a17f3, 0x3}, {0xc000470340, 0x1, 0x1}, {0x141f31d40, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc00011be40, {0x14176d768, 0xc001587aa0}, {{0x1413a17f3, 0x3}, {0xc000470340, 0x1, 0x1}, {0x141f31d40, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:71 +0x3b0
    golang.org/x/tools/gopls/internal/lsp/cache.modTidyImpl({0x14176d7a0, 0xc000098410}, 0xc000321d40, {0xc000a2c9b0, 0x46}, 0xc0003a3700)
        C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/lsp/cache/mod_tidy.go:117 +0x47c
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).ModTidy.func1({0x14176d7a0, 0xc000098410}, {0x14139da60, 0xc000321d40})
        C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/lsp/cache/mod_tidy.go:80 +0x9c
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        C:/b/s/w/ir/x/w/targetrepo3908146794/internal/memoize/memoize.go:187 +0xda
    runtime/trace.WithRegion({0x14176d7a0, 0xc000098410}, {0xc000a36048, 0x13}, 0xc000b79f80)
        C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x138
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        C:/b/s/w/ir/x/w/targetrepo3908146794/internal/memoize/memoize.go:180 +0x1d8
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 932
        C:/b/s/w/ir/x/w/targetrepo3908146794/internal/memoize/memoize.go:179 +0x352
</details>

<details><summary>2024-01-17 21:29 x_tools-go1.22-windows-amd64-race tools@c0db45fb release-branch.go1.22@66f8e1e8 x/tools/gopls/internal/test/integration/misc.TestChangeConfiguration [ABORT] (<a href="https://ci.chromium.org/ui/b/8758619061825326225">log</a>)</summary>

    === RUN   TestChangeConfiguration/default
    panic: detected hanging go command (pid 5920): see golang/go#54461 for more details

    goroutine 222 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x141818048, 0xc0005c17a0}, 0xc000800160)
        C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:375 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0007918e0, {0x141818048, 0xc0005c17a0}, {0x14180f2e0, 0xc0005c18c0}, {0x14180f2e0, 0xc0005c18f0})
        C:/b/s/w/ir/x/w/targetrepo3908146794/internal/gocommand/invoke.go:270 +0x1710
    ...
    golang.org/x/tools/go/packages.Load(0xc000787130, {0xc000613300, 0x2, 0x2})
        C:/b/s/w/ir/x/w/targetrepo3908146794/go/packages/packages.go:262 +0x85
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc000552480, {0x141818080, 0xc0003ab7c0}, 0x1, {0xc0006132c0, 0x2, 0xc000513c70?})
        C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/lsp/cache/load.go:136 +0x11c5
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc000552480, {0x141818080, 0xc0003ab7c0}, 0x1)
        C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/lsp/cache/view.go:705 +0x5e5
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/lsp/cache/session.go:235 +0x76
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 232
        C:/b/s/w/ir/x/w/targetrepo3908146794/gopls/internal/lsp/cache/session.go:233 +0x1b4d
</details>

<details><summary>2024-01-17 21:31 x_tools-go1.21-openbsd-amd64 tools@d2200d1b release-branch.go1.21@2540b143 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758618938614022209">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 15060): see golang/go#54461 for more details

    goroutine 4002 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo929334599/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12a6340, 0xc0076a4930}, 0xc0058f7600)
        /home/swarming/.swarming/w/ir/x/w/targetrepo929334599/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007751ec0, {0x12a6340, 0xc0076a4930}, {0x129d7c0?, 0xc0076a4a50}, {0x129d7c0?, 0xc0076a4a80})
        /home/swarming/.swarming/w/ir/x/w/targetrepo929334599/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc003f49680?, {0xc00770d100, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo929334599/go/packages/packages.go:262 +0x54
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc003f49680, {0x12a6378, 0xc007531d10}, 0x1, {0xc00770d0e0, 0x2, 0x18ba98d800?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo929334599/gopls/internal/lsp/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc003f49680, {0x12a6378, 0xc007531d10}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo929334599/gopls/internal/lsp/cache/view.go:705 +0x385
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo929334599/gopls/internal/lsp/cache/session.go:235 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 3980
        /home/swarming/.swarming/w/ir/x/w/targetrepo929334599/gopls/internal/lsp/cache/session.go:233 +0xe66
</details>

<details><summary>2024-01-18 20:44 x_tools-go1.20-openbsd-amd64 tools@72a36a78 release-branch.go1.20@a95136a8 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758531264749811121">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 10793): see golang/go#54461 for more details

    goroutine 3908 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo906098601/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12b2558, 0xc003d5b7d0}, 0xc00098fa20)
        /home/swarming/.swarming/w/ir/x/w/targetrepo906098601/internal/gocommand/invoke.go:375 +0x954
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc008309ed8, {0x12b2558, 0xc003d5b7d0}, {0x12a96e0?, 0xc003d5b8f0}, {0x12a96e0?, 0xc003d5b920})
        /home/swarming/.swarming/w/ir/x/w/targetrepo906098601/internal/gocommand/invoke.go:270 +0x104c
    ...
    golang.org/x/tools/go/packages.Load(0xc00802ac60?, {0xc0081ef120, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo906098601/go/packages/packages.go:262 +0x65
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc00802ac60, {0x12b24b0, 0xc0081c81e0}, 0x1, {0xc0081ef100, 0x2, 0x31b4d12e8?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo906098601/gopls/internal/lsp/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc00802ac60, {0x12b24b0, 0xc0081c81e0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo906098601/gopls/internal/lsp/cache/view.go:705 +0x3a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo906098601/gopls/internal/lsp/cache/session.go:235 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /home/swarming/.swarming/w/ir/x/w/targetrepo906098601/gopls/internal/lsp/cache/session.go:233 +0xe6f
</details>

<details><summary>2024-01-18 22:58 x_tools-go1.21-openbsd-amd64 tools@3458e0c5 release-branch.go1.21@2540b143 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758522832002302273">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 2087): see golang/go#54461 for more details

    goroutine 4016 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo752020713/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12aa780, 0xc0076e6060}, 0xc0008f11e0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo752020713/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0076e1ec0, {0x12aa780, 0xc0076e6060}, {0x12a1c00?, 0xc0076e6180}, {0x12a1c00?, 0xc0076e61b0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo752020713/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc0033dca20?, {0xc00769b4c0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo752020713/go/packages/packages.go:262 +0x54
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc0033dca20, {0x12aa7b8, 0xc0073a7f90}, 0x1, {0xc00769b4a0, 0x2, 0x1e6695b629?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo752020713/gopls/internal/lsp/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc0033dca20, {0x12aa7b8, 0xc0073a7f90}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo752020713/gopls/internal/lsp/cache/view.go:705 +0x385
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo752020713/gopls/internal/lsp/cache/session.go:235 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 4010
        /home/swarming/.swarming/w/ir/x/w/targetrepo752020713/gopls/internal/lsp/cache/session.go:233 +0xe66
</details>

<details><summary>2024-01-19 13:52 x_tools-go1.20-openbsd-amd64 tools@6673e7a4 release-branch.go1.20@a95136a8 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758466565198526177">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 7677): see golang/go#54461 for more details

    goroutine 3845 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4231789878/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12b3c38, 0xc0037393e0}, 0xc000a4f340)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4231789878/internal/gocommand/invoke.go:375 +0x954
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0081e1ed8, {0x12b3c38, 0xc0037393e0}, {0x12aadc0?, 0xc003739500}, {0x12aadc0?, 0xc003739530})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4231789878/internal/gocommand/invoke.go:270 +0x104c
    ...
    golang.org/x/tools/go/packages.Load(0xc007e58d80?, {0xc0081b3c20, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4231789878/go/packages/packages.go:262 +0x65
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc007e58d80, {0x12b3b90, 0xc007e93cc0}, 0x1, {0xc0081b3c00, 0x2, 0xc000596000?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4231789878/gopls/internal/lsp/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc007e58d80, {0x12b3b90, 0xc007e93cc0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4231789878/gopls/internal/lsp/cache/view.go:705 +0x3a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo4231789878/gopls/internal/lsp/cache/session.go:235 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /home/swarming/.swarming/w/ir/x/w/targetrepo4231789878/gopls/internal/lsp/cache/session.go:233 +0xe6f
</details>

<details><summary>2024-01-19 15:10 x_tools-go1.20-openbsd-amd64 tools@186fcf30 release-branch.go1.20@a95136a8 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758461728183994161">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 42550): see golang/go#54461 for more details

    goroutine 4035 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1674884427/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12b3cf8, 0xc007f86ae0}, 0xc007e8c420)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1674884427/internal/gocommand/invoke.go:375 +0x954
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0083abed8, {0x12b3cf8, 0xc007f86ae0}, {0x12aae80?, 0xc007f86c00}, {0x12aae80?, 0xc007f86c30})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1674884427/internal/gocommand/invoke.go:270 +0x104c
    ...
    golang.org/x/tools/go/packages.Load(0xc007e83e60?, {0xc008369760, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1674884427/go/packages/packages.go:262 +0x65
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc007e83e60, {0x12b3c50, 0xc008355090}, 0x1, {0xc008369740, 0x2, 0x248ad37a2d?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1674884427/gopls/internal/lsp/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc007e83e60, {0x12b3c50, 0xc008355090}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1674884427/gopls/internal/lsp/cache/view.go:705 +0x3a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1674884427/gopls/internal/lsp/cache/session.go:235 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /home/swarming/.swarming/w/ir/x/w/targetrepo1674884427/gopls/internal/lsp/cache/session.go:233 +0xe6f
</details>

<details><summary>2024-01-19 16:29 x_tools-gotip-openbsd-amd64 tools@39a25458 go@66d34c7d x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758456737050813457">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 44422): see golang/go#54461 for more details

    goroutine 4017 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3560040617/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12f3cc8, 0xc007d4e840}, 0xc003298420)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3560040617/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007c4e058, {0x12f3cc8, 0xc007d4e840}, {0x12eb120, 0xc007d4e960}, {0x12eb120, 0xc007d4e990})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3560040617/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc007c22240?, {0xc007c17d00, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3560040617/go/packages/packages.go:262 +0x54
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc007c22240, {0x12f3d00, 0xc007c34140}, 0x1, {0xc007c17ce0, 0x2, 0x3a00?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3560040617/gopls/internal/lsp/cache/load.go:136 +0xcac
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc007c22240, {0x12f3d00, 0xc007c34140}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3560040617/gopls/internal/lsp/cache/view.go:705 +0x385
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3560040617/gopls/internal/lsp/cache/session.go:235 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 3953
        /home/swarming/.swarming/w/ir/x/w/targetrepo3560040617/gopls/internal/lsp/cache/session.go:233 +0xe38
</details>

<details><summary>2024-01-19 21:00 x_tools-gotip-openbsd-amd64 tools@525acd12 go@7cb98c1d x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758436780518974401">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 82592): see golang/go#54461 for more details

    goroutine 4184 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4080309918/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12f3cc8, 0xc0018ce9c0}, 0xc00373c9a0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4080309918/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001c7e058, {0x12f3cc8, 0xc0018ce9c0}, {0x12eb120, 0xc0018ceae0}, {0x12eb120, 0xc0018ceb10})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4080309918/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc002c93e60?, {0xc0014fe140, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4080309918/go/packages/packages.go:262 +0x54
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc002c93e60, {0x12f3d00, 0xc0043b3ef0}, 0x1, {0xc0014fe120, 0x2, 0x2297a430c2?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4080309918/gopls/internal/lsp/cache/load.go:136 +0xcac
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc002c93e60, {0x12f3d00, 0xc0043b3ef0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4080309918/gopls/internal/lsp/cache/view.go:705 +0x385
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo4080309918/gopls/internal/lsp/cache/session.go:235 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 4178
        /home/swarming/.swarming/w/ir/x/w/targetrepo4080309918/gopls/internal/lsp/cache/session.go:233 +0xe38
</details>

<details><summary>2024-01-19 21:54 x_tools-go1.22-openbsd-amd64 tools@1871a2e9 release-branch.go1.22@9a70e17e x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758436254951823281">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 345): see golang/go#54461 for more details

    goroutine 4083 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3848616797/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12f3948, 0xc005374300}, 0xc007c56000)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3848616797/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc005372058, {0x12f3948, 0xc005374300}, {0x12eada0, 0xc005374420}, {0x12eada0, 0xc005374450})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3848616797/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc003edb0e0?, {0xc00532d5c0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3848616797/go/packages/packages.go:262 +0x54
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc003edb0e0, {0x12f3980, 0xc003eab950}, 0x1, {0xc00532d5a0, 0x2, 0x1a0e09e1e2?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3848616797/gopls/internal/lsp/cache/load.go:136 +0xcac
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc003edb0e0, {0x12f3980, 0xc003eab950}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3848616797/gopls/internal/lsp/cache/view.go:705 +0x385
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3848616797/gopls/internal/lsp/cache/session.go:235 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 3933
        /home/swarming/.swarming/w/ir/x/w/targetrepo3848616797/gopls/internal/lsp/cache/session.go:233 +0xe38
</details>

<details><summary>2024-01-19 22:06 x_tools-go1.20-openbsd-amd64 tools@d0930dbc release-branch.go1.20@a95136a8 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758435552700494993">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 70979): see golang/go#54461 for more details

    goroutine 3860 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2775914880/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12b3a78, 0xc0093b8ea0}, 0xc008b24f20)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2775914880/internal/gocommand/invoke.go:375 +0x954
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc003fb9ed8, {0x12b3a78, 0xc0093b8ea0}, {0x12aac20?, 0xc0093b8fc0}, {0x12aac20?, 0xc0093b8ff0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2775914880/internal/gocommand/invoke.go:270 +0x104c
    ...
    golang.org/x/tools/go/packages.Load(0xc003931320?, {0xc00901fc20, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2775914880/go/packages/packages.go:262 +0x65
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc003931320, {0x12b39d0, 0xc005109c20}, 0x1, {0xc00901fc00, 0x2, 0x2257d9d271?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2775914880/gopls/internal/lsp/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc003931320, {0x12b39d0, 0xc005109c20}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2775914880/gopls/internal/lsp/cache/view.go:705 +0x3a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2775914880/gopls/internal/lsp/cache/session.go:235 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /home/swarming/.swarming/w/ir/x/w/targetrepo2775914880/gopls/internal/lsp/cache/session.go:233 +0xe6f
</details>

<details><summary>2024-01-19 22:45 x_tools-go1.22-openbsd-amd64 tools@cd7b5109 release-branch.go1.22@9a70e17e x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758433087252543921">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 31996): see golang/go#54461 for more details

    goroutine 4154 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2579755947/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12f3a28, 0xc007b3af60}, 0xc000665080)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2579755947/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007bc8058, {0x12f3a28, 0xc007b3af60}, {0x12eaea0, 0xc007b3b080}, {0x12eaea0, 0xc007b3b0b0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2579755947/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc00474dc20?, {0xc0079e5820, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2579755947/go/packages/packages.go:262 +0x54
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc00474dc20, {0x12f3a60, 0xc007b9e550}, 0x1, {0xc0079e5800, 0x2, 0x1fd57427d5?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2579755947/gopls/internal/lsp/cache/load.go:136 +0xcac
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc00474dc20, {0x12f3a60, 0xc007b9e550}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2579755947/gopls/internal/lsp/cache/view.go:705 +0x385
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2579755947/gopls/internal/lsp/cache/session.go:235 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 4148
        /home/swarming/.swarming/w/ir/x/w/targetrepo2579755947/gopls/internal/lsp/cache/session.go:233 +0xe38
</details>

<details><summary>2024-01-19 22:45 x_tools-gotip-openbsd-amd64 tools@cd7b5109 go@f19f31f2 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758433090382585329">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 50084): see golang/go#54461 for more details

    goroutine 4118 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3469580453/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12f3ac8, 0xc007bce780}, 0xc007bde2c0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3469580453/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007d88058, {0x12f3ac8, 0xc007bce780}, {0x12eaf40, 0xc007bce8a0}, {0x12eaf40, 0xc007bce8d0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3469580453/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc007d76120?, {0xc007d5ae20, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3469580453/go/packages/packages.go:262 +0x54
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc007d76120, {0x12f3b00, 0xc007d42c80}, 0x1, {0xc007d5ae00, 0x2, 0x1d9907a7f8?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3469580453/gopls/internal/lsp/cache/load.go:136 +0xcac
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc007d76120, {0x12f3b00, 0xc007d42c80}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3469580453/gopls/internal/lsp/cache/view.go:705 +0x385
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3469580453/gopls/internal/lsp/cache/session.go:235 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 3824
        /home/swarming/.swarming/w/ir/x/w/targetrepo3469580453/gopls/internal/lsp/cache/session.go:233 +0xe38
</details>

<details><summary>2024-01-19 23:15 x_tools-go1.21-openbsd-amd64 tools@e1555a36 release-branch.go1.21@2540b143 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758431221481626673">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 8011): see golang/go#54461 for more details

    goroutine 4095 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1011682945/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12aa7e0, 0xc0026b6c60}, 0xc0016f5b80)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1011682945/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001abfec0, {0x12aa7e0, 0xc0026b6c60}, {0x12a1ca0?, 0xc0026b6d80}, {0x12a1ca0?, 0xc0026b6db0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1011682945/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc007c4d320?, {0xc00120fdc0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1011682945/go/packages/packages.go:262 +0x54
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc007c4d320, {0x12aa818, 0xc0017418b0}, 0x1, {0xc00120fda0, 0x2, 0x272044616e?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1011682945/gopls/internal/lsp/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc007c4d320, {0x12aa818, 0xc0017418b0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1011682945/gopls/internal/lsp/cache/view.go:705 +0x385
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1011682945/gopls/internal/lsp/cache/session.go:235 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 4089
        /home/swarming/.swarming/w/ir/x/w/targetrepo1011682945/gopls/internal/lsp/cache/session.go:233 +0xe66
</details>

<details><summary>2024-01-19 23:15 x_tools-go1.22-windows-amd64-race tools@e1555a36 release-branch.go1.22@9a70e17e x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens [ABORT] (<a href="https://ci.chromium.org/ui/b/8758431196862512865">log</a>)</summary>

    === RUN   TestUpgradeCodelens/Upgrade_transitive_dependencies/default
    panic: detected hanging go command (pid 7052): see golang/go#54461 for more details

    goroutine 331 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x141739528, 0xc0008920c0}, 0xc000552160)
        C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:375 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0005b38e0, {0x141739528, 0xc0008920c0}, {0x1417308c0, 0xc000892210}, {0x1417308c0, 0xc000892240})
        C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:270 +0x1710
    ...
    golang.org/x/tools/go/packages.Load(0xc000783760, {0xc00038e540, 0x3, 0x4})
        C:/b/s/w/ir/x/w/targetrepo1026714909/go/packages/packages.go:262 +0x85
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc000451680, {0x141739560, 0xc0007f22d0}, 0x1, {0xc00038e500, 0x3, 0xc00039fc70?})
        C:/b/s/w/ir/x/w/targetrepo1026714909/gopls/internal/lsp/cache/load.go:136 +0x11c5
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc000451680, {0x141739560, 0xc0007f22d0}, 0x1)
        C:/b/s/w/ir/x/w/targetrepo1026714909/gopls/internal/lsp/cache/view.go:705 +0x5e5
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        C:/b/s/w/ir/x/w/targetrepo1026714909/gopls/internal/lsp/cache/session.go:235 +0x76
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 371
        C:/b/s/w/ir/x/w/targetrepo1026714909/gopls/internal/lsp/cache/session.go:233 +0x1b4d
</details>

<details><summary>2024-01-19 23:15 x_tools-go1.22-windows-amd64-race tools@e1555a36 release-branch.go1.22@9a70e17e x/tools/gopls/internal/test/integration/completion.TestFuzzFunc [ABORT] (<a href="https://ci.chromium.org/ui/b/8758431196862512865">log</a>)</summary>

    === RUN   TestFuzzFunc/default
    panic: detected hanging go command (pid 3488): see golang/go#54461 for more details

    goroutine 930 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x141772588, 0xc000eca240}, 0xc000ee0000)
        C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:375 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000e4f3e0, {0x141772588, 0xc000eca240}, {0x1417698c0, 0xc000eca360}, {0x1417698c0, 0xc000eca390})
        C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:270 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000e4f3e0, {0x141772588, 0xc000eca240}, {0x1417698c0, 0xc000eca360}, {0x1417698c0, 0xc000eca390})
        C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:179 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc000900860, {0x141772588, 0xc000eca240}, {{0x1413a4453, 0x3}, {0xc000047270, 0x1, 0x1}, {0x141f35d60, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc000900860, {0x141772588, 0xc000eca090}, {{0x1413a4453, 0x3}, {0xc000047270, 0x1, 0x1}, {0x141f35d60, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc000900860, {0x141772588, 0xc0006429c0}, {{0x1413a4453, 0x3}, {0xc000047270, 0x1, 0x1}, {0x141f35d60, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:71 +0x3b0
    golang.org/x/tools/gopls/internal/lsp/cache.modTidyImpl({0x1417725c0, 0xc0004980a0}, 0xc0001f9200, {0xc0007ffe50, 0x46}, 0xc000598bc0)
        C:/b/s/w/ir/x/w/targetrepo1026714909/gopls/internal/lsp/cache/mod_tidy.go:117 +0x47c
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).ModTidy.func1({0x1417725c0, 0xc0004980a0}, {0x1413a06c0, 0xc0001f9200})
        C:/b/s/w/ir/x/w/targetrepo1026714909/gopls/internal/lsp/cache/mod_tidy.go:80 +0x9c
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        C:/b/s/w/ir/x/w/targetrepo1026714909/internal/memoize/memoize.go:187 +0xda
    runtime/trace.WithRegion({0x1417725c0, 0xc0004980a0}, {0xc000696078, 0x13}, 0xc0006b3f80)
        C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x138
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        C:/b/s/w/ir/x/w/targetrepo1026714909/internal/memoize/memoize.go:180 +0x1d8
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 577
        C:/b/s/w/ir/x/w/targetrepo1026714909/internal/memoize/memoize.go:179 +0x352
</details>

<details><summary>2024-01-19 23:15 x_tools-go1.22-windows-amd64-race tools@e1555a36 release-branch.go1.22@9a70e17e x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer [ABORT] (<a href="https://ci.chromium.org/ui/b/8758431196862512865">log</a>)</summary>

    === RUN   TestTimeFormatAnalyzer/default
    panic: detected hanging go command (pid 8720): see golang/go#54461 for more details

    goroutine 2229 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x141756868, 0xc001a53020}, 0xc0001a42c0)
        C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:375 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001f273e0, {0x141756868, 0xc001a53020}, {0x14174dc20, 0xc001a53140}, {0x14174dc20, 0xc001a53170})
        C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:270 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001f273e0, {0x141756868, 0xc001a53020}, {0x14174dc20, 0xc001a53140}, {0x14174dc20, 0xc001a53170})
        C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:179 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0001f2a60, {0x141756868, 0xc001a53020}, {{0x14138c387, 0x3}, {0xc000f0b3c0, 0x1, 0x1}, {0x141f181c0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc0001f2a60, {0x141756868, 0xc001a52e70}, {{0x14138c387, 0x3}, {0xc000f0b3c0, 0x1, 0x1}, {0x141f181c0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1026714909/internal/gocommand/invoke.go:95 +0x41
</details>
(... long comment truncated ...)


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2023-12-31 00:45 x_tools-go1.22-openbsd-amd64 tools@1f94566f release-branch.go1.22@fa72f3e0 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8760237202763048865">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 44038): see golang/go#54461 for more details

    goroutine 4275 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1082863745/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12ee568, 0xc0040a9590}, 0xc0017da580)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1082863745/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007e95fc0, {0x12ee568, 0xc0040a9590}, {0x12e59c0, 0xc0040a96b0}, {0x12e59c0, 0xc0040a96e0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1082863745/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc007427000, {0x12ee5a0, 0xc00745fcc0}, 0x1, {0xc007e58e00, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1082863745/gopls/internal/lsp/cache/load.go:136 +0xccc
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).loadWorkspace(0xc007427000, {0x12ee5a0, 0xc00745fcc0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1082863745/gopls/internal/lsp/cache/view.go:689 +0x25d
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc007427000, {0x12ee5a0, 0xc00745fcc0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1082863745/gopls/internal/lsp/cache/view.go:600 +0x17d
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1082863745/gopls/internal/lsp/cache/session.go:227 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 3724
        /home/swarming/.swarming/w/ir/x/w/targetrepo1082863745/gopls/internal/lsp/cache/session.go:225 +0xce5
</details>

<details><summary>2024-01-02 21:09 x_tools-go1.22-openbsd-amd64 tools@d47b14c6 release-branch.go1.22@fa72f3e0 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8759979234276063585">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 11070): see golang/go#54461 for more details

    goroutine 4137 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1155941565/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12f0aa8, 0xc0076ff4d0}, 0xc0024898c0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1155941565/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007c8ffc0, {0x12f0aa8, 0xc0076ff4d0}, {0x12e7f00, 0xc0076ff5f0}, {0x12e7f00, 0xc0076ff620})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1155941565/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc003e94e00, {0x12f0ae0, 0xc003eff900}, 0x1, {0xc007bbd860, 0x2, 0x41bc25?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1155941565/gopls/internal/lsp/cache/load.go:136 +0xccc
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).loadWorkspace(0xc003e94e00, {0x12f0ae0, 0xc003eff900}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1155941565/gopls/internal/lsp/cache/view.go:727 +0x25d
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc003e94e00, {0x12f0ae0, 0xc003eff900}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1155941565/gopls/internal/lsp/cache/view.go:638 +0x17d
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1155941565/gopls/internal/lsp/cache/session.go:227 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 4130
        /home/swarming/.swarming/w/ir/x/w/targetrepo1155941565/gopls/internal/lsp/cache/session.go:225 +0xce5
</details>

<details><summary>2024-01-05 14:41 x_tools-go1.21-openbsd-amd64 tools@2e53332c release-branch.go1.21@d2cb1401 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8759731837194941873">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 33879): see golang/go#54461 for more details

    goroutine 4035 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1411813993/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12a7d60, 0xc0071d1560}, 0xc00362a580)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1411813993/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc003c71e28, {0x12a7d60, 0xc0071d1560}, {0x129f1e0?, 0xc0071d1680}, {0x129f1e0?, 0xc0071d16b0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1411813993/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc0081a6000, {0x12a7d98, 0xc008548820}, 0x1, {0xc00823c6c0, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1411813993/gopls/internal/lsp/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).loadWorkspace(0xc0081a6000, {0x12a7d98?, 0xc008548820}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1411813993/gopls/internal/lsp/cache/view.go:719 +0x25d
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc0081a6000, {0x12a7d98, 0xc008548820}, 0x20?)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1411813993/gopls/internal/lsp/cache/view.go:630 +0x17a
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1411813993/gopls/internal/lsp/cache/session.go:227 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 4030
        /home/swarming/.swarming/w/ir/x/w/targetrepo1411813993/gopls/internal/lsp/cache/session.go:225 +0xd46
</details>

<details><summary>2024-01-05 15:29 x_tools-go1.20-openbsd-amd64 tools@3e8a0a3b release-branch.go1.20@5c38c049 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8759728836439543297">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 92371): see golang/go#54461 for more details

    goroutine 3856 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo865367401/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12ae7d8, 0xc003ea30b0}, 0xc003eb8160)
        /home/swarming/.swarming/w/ir/x/w/targetrepo865367401/internal/gocommand/invoke.go:375 +0x954
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc003eafed8, {0x12ae7d8, 0xc003ea30b0}, {0x12a5980?, 0xc003ea31d0}, {0x12a5980?, 0xc003ea3200})
        /home/swarming/.swarming/w/ir/x/w/targetrepo865367401/internal/gocommand/invoke.go:270 +0x104c
    ...
    golang.org/x/tools/go/packages.Load(0xc00369ed00?, {0xc00409ede0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo865367401/go/packages/packages.go:262 +0x65
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc00369ed00, {0x12ae730, 0xc0081d3130}, 0x1, {0xc00409edc0, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo865367401/gopls/internal/lsp/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc00369ed00, {0x12ae730, 0xc0081d3130}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo865367401/gopls/internal/lsp/cache/view.go:716 +0x3a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo865367401/gopls/internal/lsp/cache/session.go:227 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /home/swarming/.swarming/w/ir/x/w/targetrepo865367401/gopls/internal/lsp/cache/session.go:225 +0xdd8
</details>

<details><summary>2024-01-05 17:34 x_tools-go1.21-windows-amd64-race tools@ba8672b5 release-branch.go1.21@d2cb1401 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens [ABORT] (<a href="https://ci.chromium.org/ui/b/8759721015497750513">log</a>)</summary>

    === RUN   TestUpgradeCodelens/Upgrade_transitive_dependencies/default
    panic: detected hanging go command (pid 10480): see golang/go#54461 for more details

    goroutine 533 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1416c3700, 0xc0005be120}, 0xc00020c420)
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:375 +0xd99
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00081ac00, {0x1416c3700, 0xc0005be120}, {0x1416bab40?, 0xc0005be240}, {0x1416bab40?, 0xc0005be270})
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:270 +0x19c6
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).WorkspaceMetadata(0xc00046d200, {0x1416c3700, 0xc0008506c0})
        C:/b/s/w/ir/x/w/targetrepo4229008252/gopls/internal/lsp/cache/snapshot.go:1079 +0x85
    golang.org/x/tools/gopls/internal/server.(*server).diagnose(0xc000285d00, {0x1416c3700, 0xc0007d8330}, 0xc00046d200)
        C:/b/s/w/ir/x/w/targetrepo4229008252/gopls/internal/server/diagnostics.go:366 +0x838
    golang.org/x/tools/gopls/internal/server.(*server).diagnoseSnapshot(0xc000285d00, 0xc00046d200, {0xc0004d1860, 0x1, 0x1}, 0x989680)
        C:/b/s/w/ir/x/w/targetrepo4229008252/gopls/internal/server/diagnostics.go:223 +0x8c5
    golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews.func1(0xc00046d200, {0xc0004d1860, 0x1, 0x1})
        C:/b/s/w/ir/x/w/targetrepo4229008252/gopls/internal/server/diagnostics.go:135 +0x1f5
    created by golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews in goroutine 532
        C:/b/s/w/ir/x/w/targetrepo4229008252/gopls/internal/server/diagnostics.go:132 +0x857
</details>

<details><summary>2024-01-05 17:34 x_tools-go1.21-windows-amd64-race tools@ba8672b5 release-branch.go1.21@d2cb1401 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc [ABORT] (<a href="https://ci.chromium.org/ui/b/8759721015497750513">log</a>)</summary>

    === RUN   TestFuzzFunc/default
    panic: detected hanging go command (pid 9060): see golang/go#54461 for more details

    goroutine 813 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1416fcb40, 0xc0005f8f00}, 0xc001038000)
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:375 +0xd99
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000ddd330, {0x1416fcb40, 0xc0005f8f00}, {0x1416f3ee0?, 0xc0005f9020}, {0x1416f3ee0?, 0xc0005f9050})
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:270 +0x19c6
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000ddd300?, {0x1416fcb40, 0xc0005f8f00}, {0x1416f3ee0, 0xc0005f9020}, {0x1416f3ee0?, 0xc0005f9050?})
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:179 +0xa5
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc000313a00, {0x1416fcb40, 0xc0005f8f00}, {{0x14132a491, 0x3}, {0xc000523480, 0x1, 0x1}, {0x141e53060, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:121 +0x26c
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc000313a00, {0x1416fcb40, 0xc0005f8d80}, {{0x14132a491, 0x3}, {0xc000523480, 0x1, 0x1}, {0x141e53060, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc000809a50?, {0x1416fcb40, 0xc001088690}, {{0x14132a491, 0x3}, {0xc000523480, 0x1, 0x1}, {0x141e53060, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:71 +0x3b0
    golang.org/x/tools/gopls/internal/lsp/cache.modTidyImpl({0x1416fcb78, 0xc000ace0f0}, 0xc000a5a000, {0xc000c09d60, 0x46}, 0x14007ba11?)
        C:/b/s/w/ir/x/w/targetrepo4229008252/gopls/internal/lsp/cache/mod_tidy.go:117 +0x47c
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).ModTidy.func1({0x1416fcb78, 0xc000ace0f0}, {0x1413267a0?, 0xc000a5a000})
        C:/b/s/w/ir/x/w/targetrepo4229008252/gopls/internal/lsp/cache/mod_tidy.go:80 +0xad
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/memoize/memoize.go:187 +0xdd
    runtime/trace.WithRegion({0x1416fcb78, 0xc000ace0f0}, {0xc000122bd0, 0x13}, 0xc000809f90)
        C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x151
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/memoize/memoize.go:180 +0x1db
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 812
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/memoize/memoize.go:179 +0x34f
</details>

<details><summary>2024-01-05 17:34 x_tools-go1.21-windows-amd64-race tools@ba8672b5 release-branch.go1.21@d2cb1401 x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer [ABORT] (<a href="https://ci.chromium.org/ui/b/8759721015497750513">log</a>)</summary>

    === RUN   TestTimeFormatAnalyzer/default
    panic: detected hanging go command (pid 8168): see golang/go#54461 for more details

    goroutine 2217 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1416e0b00, 0xc001f23590}, 0xc001168420)
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:375 +0xd99
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc002955330, {0x1416e0b00, 0xc001f23590}, {0x1416d7f40?, 0xc001f236e0}, {0x1416d7f40?, 0xc001f23710})
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:270 +0x19c6
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00201f300?, {0x1416e0b00, 0xc001f23590}, {0x1416d7f40, 0xc001f236e0}, {0x1416d7f40?, 0xc001f23710?})
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:179 +0xa5
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00046aac0, {0x1416e0b00, 0xc001f23590}, {{0x141312425, 0x3}, {0xc0026c7570, 0x1, 0x1}, {0x141e344e0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:121 +0x26c
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00046aac0, {0x1416e0b00, 0xc001f233e0}, {{0x141312425, 0x3}, {0xc0026c7570, 0x1, 0x1}, {0x141e344e0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc000d3fa50?, {0x1416e0b00, 0xc000ef9b00}, {{0x141312425, 0x3}, {0xc0026c7570, 0x1, 0x1}, {0x141e344e0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/gocommand/invoke.go:71 +0x3b0
    golang.org/x/tools/gopls/internal/lsp/cache.modTidyImpl({0x1416e0b38, 0xc000181720}, 0xc003440600, {0xc00065b540, 0x50}, 0x14007ba11?)
        C:/b/s/w/ir/x/w/targetrepo4229008252/gopls/internal/lsp/cache/mod_tidy.go:117 +0x47c
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).ModTidy.func1({0x1416e0b38, 0xc000181720}, {0x14130e740?, 0xc003440600})
        C:/b/s/w/ir/x/w/targetrepo4229008252/gopls/internal/lsp/cache/mod_tidy.go:80 +0xad
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/memoize/memoize.go:187 +0xdd
    runtime/trace.WithRegion({0x1416e0b38, 0xc000181720}, {0xc001a540f0, 0x13}, 0xc000d3ff90)
        C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x151
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/memoize/memoize.go:180 +0x1db
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 2045
        C:/b/s/w/ir/x/w/targetrepo4229008252/internal/memoize/memoize.go:179 +0x34f
</details>

<details><summary>2024-01-10 16:06 x_tools-go1.21-windows-amd64-race tools@706525de release-branch.go1.21@2540b143 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc [ABORT] (<a href="https://ci.chromium.org/ui/b/8759257419440302017">log</a>)</summary>

    === RUN   TestFuzzFunc/default
    panic: detected hanging go command (pid 4572): see golang/go#54461 for more details

    goroutine 714 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1416ff120, 0xc00130a8a0}, 0xc000e8c000)
        C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:375 +0xd99
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000fbb330, {0x1416ff120, 0xc00130a8a0}, {0x1416f64c0?, 0xc00130a9c0}, {0x1416f64c0?, 0xc00130a9f0})
        C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:270 +0x19c6
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000fbb300?, {0x1416ff120, 0xc00130a8a0}, {0x1416f64c0, 0xc00130a9c0}, {0x1416f64c0?, 0xc00130a9f0?})
        C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:179 +0xa5
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00093e160, {0x1416ff120, 0xc00130a8a0}, {{0x14132b653, 0x3}, {0xc0004b01b0, 0x1, 0x1}, {0x141e56180, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:121 +0x26c
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00093e160, {0x1416ff120, 0xc00130a720}, {{0x14132b653, 0x3}, {0xc0004b01b0, 0x1, 0x1}, {0x141e56180, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc000743a50?, {0x1416ff120, 0xc00130a5a0}, {{0x14132b653, 0x3}, {0xc0004b01b0, 0x1, 0x1}, {0x141e56180, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:71 +0x3b0
    golang.org/x/tools/gopls/internal/lsp/cache.modTidyImpl({0x1416ff158, 0xc00013e500}, 0xc000528400, {0xc000e0a140, 0x46}, 0x14007bb51?)
        C:/b/s/w/ir/x/w/targetrepo2726888814/gopls/internal/lsp/cache/mod_tidy.go:117 +0x47c
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).ModTidy.func1({0x1416ff158, 0xc00013e500}, {0x141327960?, 0xc000528400})
        C:/b/s/w/ir/x/w/targetrepo2726888814/gopls/internal/lsp/cache/mod_tidy.go:80 +0xad
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        C:/b/s/w/ir/x/w/targetrepo2726888814/internal/memoize/memoize.go:187 +0xdd
    runtime/trace.WithRegion({0x1416ff158, 0xc00013e500}, {0xc000114108, 0x13}, 0xc000743f90)
        C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x151
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        C:/b/s/w/ir/x/w/targetrepo2726888814/internal/memoize/memoize.go:180 +0x1db
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 686
        C:/b/s/w/ir/x/w/targetrepo2726888814/internal/memoize/memoize.go:179 +0x34f
</details>

<details><summary>2024-01-10 16:06 x_tools-go1.21-windows-amd64-race tools@706525de release-branch.go1.21@2540b143 x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer [ABORT] (<a href="https://ci.chromium.org/ui/b/8759257419440302017">log</a>)</summary>

    === RUN   TestTimeFormatAnalyzer/default
    panic: detected hanging go command (pid 7724): see golang/go#54461 for more details

    goroutine 2212 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1416e30c0, 0xc0025dbb60}, 0xc000671ce0)
        C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:375 +0xd99
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00274b330, {0x1416e30c0, 0xc0025dbb60}, {0x1416da500?, 0xc0025dbc80}, {0x1416da500?, 0xc0025dbcb0})
        C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:270 +0x19c6
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00274b300?, {0x1416e30c0, 0xc0025dbb60}, {0x1416da500, 0xc0025dbc80}, {0x1416da500?, 0xc0025dbcb0?})
        C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:179 +0xa5
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc000284440, {0x1416e30c0, 0xc0025dbb60}, {{0x1413135c7, 0x3}, {0xc00236cc70, 0x1, 0x1}, {0x141e37600, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:121 +0x26c
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc000284440, {0x1416e30c0, 0xc0025db9e0}, {{0x1413135c7, 0x3}, {0xc00236cc70, 0x1, 0x1}, {0x141e37600, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc000f9da50?, {0x1416e30c0, 0xc0025db860}, {{0x1413135c7, 0x3}, {0xc00236cc70, 0x1, 0x1}, {0x141e37600, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2726888814/internal/gocommand/invoke.go:71 +0x3b0
    golang.org/x/tools/gopls/internal/lsp/cache.modTidyImpl({0x1416e30f8, 0xc003063db0}, 0xc0012c6f00, {0xc002803e00, 0x4f}, 0x14007bb51?)
        C:/b/s/w/ir/x/w/targetrepo2726888814/gopls/internal/lsp/cache/mod_tidy.go:117 +0x47c
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).ModTidy.func1({0x1416e30f8, 0xc003063db0}, {0x14130f8e0?, 0xc0012c6f00})
        C:/b/s/w/ir/x/w/targetrepo2726888814/gopls/internal/lsp/cache/mod_tidy.go:80 +0xad
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        C:/b/s/w/ir/x/w/targetrepo2726888814/internal/memoize/memoize.go:187 +0xdd
    runtime/trace.WithRegion({0x1416e30f8, 0xc003063db0}, {0xc0031eec60, 0x13}, 0xc000f9df90)
        C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x151
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        C:/b/s/w/ir/x/w/targetrepo2726888814/internal/memoize/memoize.go:180 +0x1db
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 1915
        C:/b/s/w/ir/x/w/targetrepo2726888814/internal/memoize/memoize.go:179 +0x34f
</details>

<details><summary>2024-01-10 16:06 x_tools-go1.21-windows-amd64-race tools@706525de release-branch.go1.21@2540b143 x/tools/gopls/internal/test/integration/modfile.TestModFileModification [ABORT] (<a href="https://ci.chromium.org/ui/b/8759257419440302017">log</a>)</summary>

    === RUN   TestModFileModification/basic/default/default
    panic: detected hanging go command (pid 8152): see golang/go#54461 for more details

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

<details><summary>2024-01-10 16:06 x_tools-gotip-openbsd-amd64 tools@706525de go@25c5f6f1 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8759175991112238433">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 43780): see golang/go#54461 for more details

    goroutine 4202 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2226372595/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12f0468, 0xc007d5ed20}, 0xc0004e3080)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2226372595/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007d6c058, {0x12f0468, 0xc007d5ed20}, {0x12e78c0, 0xc007d5ee40}, {0x12e78c0, 0xc007d5ee70})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2226372595/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc003580600?, {0xc007d36c60, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2226372595/go/packages/packages.go:262 +0x54
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc003580600, {0x12f04a0, 0xc007d16dc0}, 0x1, {0xc007d36c40, 0x2, 0xc0079f2228?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2226372595/gopls/internal/lsp/cache/load.go:136 +0xcac
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc003580600, {0x12f04a0, 0xc007d16dc0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2226372595/gopls/internal/lsp/cache/view.go:716 +0x385
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2226372595/gopls/internal/lsp/cache/session.go:227 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 4195
        /home/swarming/.swarming/w/ir/x/w/targetrepo2226372595/gopls/internal/lsp/cache/session.go:225 +0xce5
</details>

<details><summary>2024-01-11 21:17 x_tools-go1.21-openbsd-amd64 tools@0b1f1d4b release-branch.go1.21@2540b143 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8759163375614481409">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 14752): see golang/go#54461 for more details

    goroutine 4060 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo651457222/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12a86a0, 0xc007819e60}, 0xc00782c160)
        /home/swarming/.swarming/w/ir/x/w/targetrepo651457222/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0078d5ec0, {0x12a86a0, 0xc007819e60}, {0x129fb20?, 0xc007819f80}, {0x129fb20?, 0xc007819fb0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo651457222/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc0048d9440?, {0xc0078c0400, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo651457222/go/packages/packages.go:262 +0x54
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc0048d9440, {0x12a86d8, 0xc004b53590}, 0x1, {0xc0078c03e0, 0x2, 0xc001a04000?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo651457222/gopls/internal/lsp/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc0048d9440, {0x12a86d8, 0xc004b53590}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo651457222/gopls/internal/lsp/cache/view.go:705 +0x385
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo651457222/gopls/internal/lsp/cache/session.go:235 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 3793
        /home/swarming/.swarming/w/ir/x/w/targetrepo651457222/gopls/internal/lsp/cache/session.go:233 +0xe66
</details>

<details><summary>2024-01-22 20:36 x_tools-go1.20-openbsd-amd64 tools@060c748a release-branch.go1.20@a95136a8 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758169399925757889">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 40955): see golang/go#54461 for more details

    goroutine 4047 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3183191142/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12b1138, 0xc003b66690}, 0xc00043ef20)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3183191142/internal/gocommand/invoke.go:375 +0x954
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006de5ed8, {0x12b1138, 0xc003b66690}, {0x12a8300?, 0xc003b667b0}, {0x12a8300?, 0xc003b667e0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3183191142/internal/gocommand/invoke.go:270 +0x104c
    ...
    golang.org/x/tools/go/packages.Load(0xc007f88d80?, {0xc006dbc2c0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3183191142/go/packages/packages.go:225 +0x65
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc007f88d80, {0x12b1090, 0xc007fe8280}, 0x1, {0xc006dbc2a0, 0x2, 0x12b1090?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3183191142/gopls/internal/lsp/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc007f88d80, {0x12b1090, 0xc007fe8280}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3183191142/gopls/internal/lsp/cache/view.go:705 +0x3a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3183191142/gopls/internal/lsp/cache/session.go:235 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /home/swarming/.swarming/w/ir/x/w/targetrepo3183191142/gopls/internal/lsp/cache/session.go:233 +0xe6f
</details>

<details><summary>2024-01-23 16:18 x_tools-go1.21-openbsd-amd64 tools@c16e2224 release-branch.go1.21@2540b143 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758095021477197329">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 6951): see golang/go#54461 for more details

    goroutine 4077 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo826682314/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12a8140, 0xc0059e0270}, 0xc000ad5080)
        /home/swarming/.swarming/w/ir/x/w/targetrepo826682314/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006e7be80, {0x12a8140, 0xc0059e0270}, {0x129f600?, 0xc0059e0390}, {0x129f600?, 0xc0059e03c0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo826682314/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc003d45440?, {0xc005b7fea0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo826682314/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc003d45440, {0x12a8178, 0xc0071ee9b0}, 0x1, {0xc005b7fe80, 0x2, 0xc00057a4e0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo826682314/gopls/internal/lsp/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc003d45440, {0x12a8178, 0xc0071ee9b0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo826682314/gopls/internal/lsp/cache/view.go:709 +0x385
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo826682314/gopls/internal/lsp/cache/session.go:255 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 4072
        /home/swarming/.swarming/w/ir/x/w/targetrepo826682314/gopls/internal/lsp/cache/session.go:253 +0xe66
</details>

<details><summary>2024-01-23 19:12 x_tools-go1.20-openbsd-amd64 tools@d5e76f13 release-branch.go1.20@a95136a8 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758084062025827377">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 78892): see golang/go#54461 for more details

    goroutine 3895 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2409746344/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12a8db8, 0xc008206480}, 0xc003b282c0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2409746344/internal/gocommand/invoke.go:375 +0x954
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0081bdea0, {0x12a8db8, 0xc008206480}, {0x12a0040?, 0xc0082065a0}, {0x12a0040?, 0xc0082065d0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2409746344/internal/gocommand/invoke.go:270 +0x104c
    ...
    golang.org/x/tools/go/packages.Load(0xc002c29200?, {0xc008196aa0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2409746344/go/packages/packages.go:225 +0x65
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc002c29200, {0x12a8d10, 0xc00403bc70}, 0x1, {0xc008196a80, 0x2, 0xc001459400?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2409746344/gopls/internal/lsp/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc002c29200, {0x12a8d10, 0xc00403bc70}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2409746344/gopls/internal/lsp/cache/view.go:709 +0x3a5
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2409746344/gopls/internal/lsp/cache/session.go:255 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /home/swarming/.swarming/w/ir/x/w/targetrepo2409746344/gopls/internal/lsp/cache/session.go:253 +0xe6f
</details>

<details><summary>2024-01-23 19:12 x_tools-go1.22-openbsd-amd64 tools@d5e76f13 release-branch.go1.22@817009da x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758082010589820481">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 27628): see golang/go#54461 for more details

    goroutine 4143 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo26123294/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12e9c28, 0xc001ee0e40}, 0xc001204dc0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo26123294/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001658030, {0x12e9c28, 0xc001ee0e40}, {0x12e11a0, 0xc001ee0f60}, {0x12e11a0, 0xc001ee0f90})
        /home/swarming/.swarming/w/ir/x/w/targetrepo26123294/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc007984ea0?, {0xc001541700, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo26123294/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc007984ea0, {0x12e9c60, 0xc003d47450}, 0x1, {0xc0015416e0, 0x2, 0x2480?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo26123294/gopls/internal/lsp/cache/load.go:136 +0xcac
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc007984ea0, {0x12e9c60, 0xc003d47450}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo26123294/gopls/internal/lsp/cache/view.go:709 +0x385
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo26123294/gopls/internal/lsp/cache/session.go:255 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 4042
        /home/swarming/.swarming/w/ir/x/w/targetrepo26123294/gopls/internal/lsp/cache/session.go:253 +0xe38
</details>

<details><summary>2024-01-23 19:12 x_tools-gotip-openbsd-amd64 tools@d5e76f13 go@9368ced7 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758084059049916049">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 31228): see golang/go#54461 for more details

    goroutine 4141 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo434010971/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12e9c48, 0xc007c9c120}, 0xc0007dd600)
        /home/swarming/.swarming/w/ir/x/w/targetrepo434010971/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007df0030, {0x12e9c48, 0xc007c9c120}, {0x12e1200, 0xc007c9c240}, {0x12e1200, 0xc007c9c270})
        /home/swarming/.swarming/w/ir/x/w/targetrepo434010971/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc007dda000?, {0xc007dc8a40, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo434010971/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc007dda000, {0x12e9c80, 0xc007dca2d0}, 0x1, {0xc007dc8a20, 0x2, 0x182c0cee57?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo434010971/gopls/internal/lsp/cache/load.go:136 +0xcac
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc007dda000, {0x12e9c80, 0xc007dca2d0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo434010971/gopls/internal/lsp/cache/view.go:709 +0x385
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo434010971/gopls/internal/lsp/cache/session.go:255 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 4135
        /home/swarming/.swarming/w/ir/x/w/targetrepo434010971/gopls/internal/lsp/cache/session.go:253 +0xe38
</details>

<details><summary>2024-01-23 20:10 x_tools-gotip-openbsd-amd64 tools@fa791ac3 go@b3acaa82 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758080047758589985">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 89806): see golang/go#54461 for more details

    goroutine 4184 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo5891523/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12e9c48, 0xc008bd5ec0}, 0xc0088629a0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo5891523/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc008bec030, {0x12e9c48, 0xc008bd5ec0}, {0x12e1200, 0xc008bf8060}, {0x12e1200, 0xc008bf8090})
        /home/swarming/.swarming/w/ir/x/w/targetrepo5891523/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc002ba99e0?, {0xc008bc17e0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo5891523/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc002ba99e0, {0x12e9c80, 0xc008958af0}, 0x1, {0xc008bc17c0, 0x2, 0x1b87962965?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo5891523/gopls/internal/lsp/cache/load.go:136 +0xcac
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc002ba99e0, {0x12e9c80, 0xc008958af0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo5891523/gopls/internal/lsp/cache/view.go:709 +0x385
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo5891523/gopls/internal/lsp/cache/session.go:255 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 4178
        /home/swarming/.swarming/w/ir/x/w/targetrepo5891523/gopls/internal/lsp/cache/session.go:253 +0xe38
</details>

<details><summary>2024-01-24 00:30 x_tools-go1.21-openbsd-amd64 tools@6823da4b release-branch.go1.21@2540b143 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758064040804205681">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 80989): see golang/go#54461 for more details

    goroutine 4089 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2051455765/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12a1200, 0xc0035725a0}, 0xc00705b340)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2051455765/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007573e80, {0x12a1200, 0xc0035725a0}, {0x12987a0?, 0xc0035726c0}, {0x12987a0?, 0xc0035726f0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2051455765/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc003049560?, {0xc007568160, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2051455765/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc003049560, {0x12a1238, 0xc007072a50}, 0x1, {0xc007568140, 0x2, 0x2bf361f7d7?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2051455765/gopls/internal/lsp/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc003049560, {0x12a1238, 0xc007072a50}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2051455765/gopls/internal/lsp/cache/view.go:709 +0x385
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2051455765/gopls/internal/lsp/cache/session.go:255 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 3559
        /home/swarming/.swarming/w/ir/x/w/targetrepo2051455765/gopls/internal/lsp/cache/session.go:253 +0xe66
</details>

<details><summary>2024-01-24 00:30 x_tools-go1.22-openbsd-amd64 tools@6823da4b release-branch.go1.22@817009da x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758064030592458033">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 43979): see golang/go#54461 for more details

    goroutine 4173 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2118605854/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12ea2e8, 0xc0027958f0}, 0xc007820420)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2118605854/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001b6e030, {0x12ea2e8, 0xc0027958f0}, {0x12e1860, 0xc002795a10}, {0x12e1860, 0xc002795a40})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2118605854/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc002dc19e0?, {0xc0009b2780, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2118605854/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc002dc19e0, {0x12ea320, 0xc00107ec80}, 0x1, {0xc0009b2760, 0x2, 0x2644793e0d?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2118605854/gopls/internal/lsp/cache/load.go:136 +0xcac
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc002dc19e0, {0x12ea320, 0xc00107ec80}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2118605854/gopls/internal/lsp/cache/view.go:709 +0x385
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2118605854/gopls/internal/lsp/cache/session.go:255 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 4167
        /home/swarming/.swarming/w/ir/x/w/targetrepo2118605854/gopls/internal/lsp/cache/session.go:253 +0xe38
</details>

<details><summary>2024-01-24 00:49 x_tools-go1.21-openbsd-amd64 tools@238800b7 release-branch.go1.21@2540b143 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8758062875751027777">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 33261): see golang/go#54461 for more details

    goroutine 3487 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4269224064/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12a10c0, 0xc001e26a50}, 0xc0004f22c0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4269224064/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001bc3e80, {0x12a10c0, 0xc001e26a50}, {0x1298660?, 0xc001e26b70}, {0x1298660?, 0xc001e26ba0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4269224064/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc0027f79e0?, {0xc00292fac0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4269224064/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc0027f79e0, {0x12a10f8, 0xc002067040}, 0x1, {0xc00292faa0, 0x2, 0x46fe72?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4269224064/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc0027f79e0, {0x12a10f8, 0xc002067040}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4269224064/gopls/internal/cache/view.go:709 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo4269224064/gopls/internal/cache/session.go:255 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 3481
        /home/swarming/.swarming/w/ir/x/w/targetrepo4269224064/gopls/internal/cache/session.go:253 +0xe66
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2023-12-15 17:45 x_tools-go1.20-openbsd-amd64 tools@1346c45e release-branch.go1.20@8cb86b5f x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8761622826920840721">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 40919): see golang/go#54461 for more details

    goroutine 4074 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3652031006/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12b9618, 0xc007d2ed20}, 0xc00097eb00)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3652031006/internal/gocommand/invoke.go:375 +0x954
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007c25e40, {0x12b9618, 0xc007d2ed20}, {0x12b0820?, 0xc007d2ee40}, {0x12b0820?, 0xc007d2ee70})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3652031006/internal/gocommand/invoke.go:270 +0x104c
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc0078eab40, {0x12b9570, 0xc0078efa90}, 0x1, {0xc007c10420, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3652031006/gopls/internal/lsp/cache/load.go:135 +0xc94
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).loadWorkspace(0xc0078eab40, {0x12b9570, 0xc0078efa90}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3652031006/gopls/internal/lsp/cache/view.go:850 +0x275
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc0078eab40, {0x12b9570, 0xc0078efa90}, 0x40?)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3652031006/gopls/internal/lsp/cache/view.go:761 +0x192
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3652031006/gopls/internal/lsp/cache/session.go:226 +0x49
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView
        /home/swarming/.swarming/w/ir/x/w/targetrepo3652031006/gopls/internal/lsp/cache/session.go:224 +0xdf8
</details>

<details><summary>2023-12-15 17:45 x_tools-go1.21-openbsd-amd64 tools@1346c45e release-branch.go1.21@bbab863a x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8761622822408435553">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 34069): see golang/go#54461 for more details

    goroutine 4156 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo103394843/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12b1620, 0xc00778d440}, 0xc000634f20)
        /home/swarming/.swarming/w/ir/x/w/targetrepo103394843/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00779be28, {0x12b1620, 0xc00778d440}, {0x12a8aa0?, 0xc00778d560}, {0x12a8aa0?, 0xc00778d590})
        /home/swarming/.swarming/w/ir/x/w/targetrepo103394843/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc007786000, {0x12b1658, 0xc007433770}, 0x1, {0xc007466fa0, 0x2, 0x43e64e?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo103394843/gopls/internal/lsp/cache/load.go:135 +0xcaf
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).loadWorkspace(0xc007786000, {0x12b1658?, 0xc007433770}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo103394843/gopls/internal/lsp/cache/view.go:850 +0x25d
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc007786000, {0x12b1658, 0xc007433770}, 0x0?)
        /home/swarming/.swarming/w/ir/x/w/targetrepo103394843/gopls/internal/lsp/cache/view.go:761 +0x17a
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo103394843/gopls/internal/lsp/cache/session.go:226 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 4148
        /home/swarming/.swarming/w/ir/x/w/targetrepo103394843/gopls/internal/lsp/cache/session.go:224 +0xd1c
</details>

<details><summary>2023-12-15 17:45 x_tools-go1.22-windows-amd64-race tools@1346c45e release-branch.go1.22@796f59df x/tools/gopls/internal/test/integration/completion.TestFuzzFunc [ABORT] (<a href="https://ci.chromium.org/ui/b/8761621082942815345">log</a>)</summary>

    === RUN   TestFuzzFunc/default
    panic: detected hanging go command (pid 2964): see golang/go#54461 for more details

    goroutine 123 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417781c8, 0xc00077e0c0}, 0xc00018c160)
        C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:375 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000821850, {0x1417781c8, 0xc00077e0c0}, {0x14176f520, 0xc00077e1e0}, {0x14176f520, 0xc00077e210})
        C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:270 +0x1710
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc0008b2360, {0x141778200, 0xc0000ba1e0}, 0x1, {0xc0008a4da0, 0x2, 0x0?})
        C:/b/s/w/ir/x/w/targetrepo1296135988/gopls/internal/lsp/cache/load.go:135 +0x1345
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).loadWorkspace(0xc0008b2360, {0x141778200, 0xc0000ba1e0}, 0x1)
        C:/b/s/w/ir/x/w/targetrepo1296135988/gopls/internal/lsp/cache/view.go:850 +0x4fa
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc0008b2360, {0x141778200, 0xc0000ba1e0}, 0x1)
        C:/b/s/w/ir/x/w/targetrepo1296135988/gopls/internal/lsp/cache/view.go:761 +0x22c
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        C:/b/s/w/ir/x/w/targetrepo1296135988/gopls/internal/lsp/cache/session.go:226 +0x76
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 403
        C:/b/s/w/ir/x/w/targetrepo1296135988/gopls/internal/lsp/cache/session.go:224 +0x19ed
</details>

<details><summary>2023-12-15 17:45 x_tools-go1.22-windows-amd64-race tools@1346c45e release-branch.go1.22@796f59df x/tools/gopls/internal/test/integration/misc.TestChangeConfiguration [ABORT] (<a href="https://ci.chromium.org/ui/b/8761621082942815345">log</a>)</summary>

    === RUN   TestChangeConfiguration/default
    panic: detected hanging go command (pid 10272): see golang/go#54461 for more details

    goroutine 245 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x141822ac8, 0xc000213650}, 0xc0003c1600)
        C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:375 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000443828, {0x141822ac8, 0xc000213650}, {0x141819dc0, 0xc000213800}, {0x141819dc0, 0xc000213830})
        C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:270 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000443828, {0x141822ac8, 0xc000213650}, {0x141819dc0, 0xc000213800}, {0x141819dc0, 0xc000213830})
        C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:179 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0005ccc20, {0x141822ac8, 0xc000213650}, {{0x1414437aa, 0x4}, {0xc000094780, 0x4, 0x4}, {0x142018d40, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc0005ccc20, {0x141822b00, 0xc0003faaf0}, {{0x1414437aa, 0x4}, {0xc000094780, 0x4, 0x4}, {0x142018d40, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/go/internal/packagesdriver.GetSizesForArgsGolist({0x141822b00, 0xc0003faaf0}, {{0x1414437aa, 0x4}, {0xc000094780, 0x4, 0x4}, {0x142018d40, 0x0, 0x0}, ...}, ...)
        C:/b/s/w/ir/x/w/targetrepo1296135988/go/internal/packagesdriver/sizes.go:19 +0x1d0
    golang.org/x/tools/go/packages.goListDriver.func1()
        C:/b/s/w/ir/x/w/targetrepo1296135988/go/packages/golist.go:154 +0x2eb
    created by golang.org/x/tools/go/packages.goListDriver in goroutine 275
        C:/b/s/w/ir/x/w/targetrepo1296135988/go/packages/golist.go:153 +0x68b
</details>

<details><summary>2023-12-15 17:45 x_tools-go1.22-windows-amd64-race tools@1346c45e release-branch.go1.22@796f59df x/tools/gopls/internal/test/integration/modfile.TestModFileModification [ABORT] (<a href="https://ci.chromium.org/ui/b/8761621082942815345">log</a>)</summary>

    === RUN   TestModFileModification/basic/default/default
    panic: detected hanging go command (pid 10852): see golang/go#54461 for more details

    goroutine 77 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x141755be8, 0xc0006ffad0}, 0xc0003b7600)
        C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:375 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0004dd3e0, {0x141755be8, 0xc0006ffad0}, {0x14174cfe0, 0xc0006ffbf0}, {0x14174cfe0, 0xc0006ffc20})
        C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:270 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0004dd3e0, {0x141755be8, 0xc0006ffad0}, {0x14174cfe0, 0xc0006ffbf0}, {0x14174cfe0, 0xc0006ffc20})
        C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:179 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00008a260, {0x141755be8, 0xc0006ffad0}, {{0x14138ff75, 0x3}, {0xc0004408d0, 0x1, 0x1}, {0x141f16020, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00008a260, {0x141755be8, 0xc0006ff950}, {{0x14138ff75, 0x3}, {0xc0004408d0, 0x1, 0x1}, {0x141f16020, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc00008a260, {0x141755be8, 0xc0006ff7d0}, {{0x14138ff75, 0x3}, {0xc0004408d0, 0x1, 0x1}, {0x141f16020, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1296135988/internal/gocommand/invoke.go:71 +0x3b0
    golang.org/x/tools/gopls/internal/lsp/cache.modTidyImpl({0x141755c20, 0xc000098690}, 0xc0006ec000, {0xc000364e70, 0x61}, 0xc000095b40)
        C:/b/s/w/ir/x/w/targetrepo1296135988/gopls/internal/lsp/cache/mod_tidy.go:126 +0x47c
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).ModTidy.func1({0x141755c20, 0xc000098690}, {0x14138cce0, 0xc0006ec000})
        C:/b/s/w/ir/x/w/targetrepo1296135988/gopls/internal/lsp/cache/mod_tidy.go:89 +0x9c
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        C:/b/s/w/ir/x/w/targetrepo1296135988/internal/memoize/memoize.go:187 +0xda
    runtime/trace.WithRegion({0x141755c20, 0xc000098690}, {0xc000132e40, 0x13}, 0xc00054df80)
        C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x138
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        C:/b/s/w/ir/x/w/targetrepo1296135988/internal/memoize/memoize.go:180 +0x1d8
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 76
        C:/b/s/w/ir/x/w/targetrepo1296135988/internal/memoize/memoize.go:179 +0x352
</details>

<details><summary>2023-12-15 21:03 x_tools-gotip-openbsd-amd64 tools@e601fd80 go@f8170cc0 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8761610353299907617">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 69629): see golang/go#54461 for more details

    goroutine 4247 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo237746794/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12f7b48, 0xc007b1c870}, 0xc007b26160)
        /home/swarming/.swarming/w/ir/x/w/targetrepo237746794/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007ab9fc0, {0x12f7b48, 0xc007b1c870}, {0x12eefa0, 0xc007b1c990}, {0x12eefa0, 0xc007b1c9c0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo237746794/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc004202700, {0x12f7b80, 0xc007a8a3c0}, 0x1, {0xc007a80d80, 0x2, 0x4b5e20?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo237746794/gopls/internal/lsp/cache/load.go:135 +0xcd1
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).loadWorkspace(0xc004202700, {0x12f7b80, 0xc007a8a3c0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo237746794/gopls/internal/lsp/cache/view.go:847 +0x25d
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc004202700, {0x12f7b80, 0xc007a8a3c0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo237746794/gopls/internal/lsp/cache/view.go:758 +0x17d
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo237746794/gopls/internal/lsp/cache/session.go:224 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 4296
        /home/swarming/.swarming/w/ir/x/w/targetrepo237746794/gopls/internal/lsp/cache/session.go:222 +0xc88
</details>

<details><summary>2023-12-26 17:53 x_tools-go1.22-openbsd-amd64 tools@025ebe62 release-branch.go1.22@fa72f3e0 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8760625731780959233">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 34352): see golang/go#54461 for more details

    goroutine 4073 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1831196767/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12ef568, 0xc002a6cc30}, 0xc003f93340)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1831196767/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001ce1fc0, {0x12ef568, 0xc002a6cc30}, {0x12e69c0, 0xc002a6cd50}, {0x12e69c0, 0xc002a6cd80})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1831196767/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).load(0xc0079b2300, {0x12ef5a0, 0xc000fc1b80}, 0x1, {0xc0013ff4a0, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1831196767/gopls/internal/lsp/cache/load.go:136 +0xccc
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).loadWorkspace(0xc0079b2300, {0x12ef5a0, 0xc000fc1b80}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1831196767/gopls/internal/lsp/cache/view.go:672 +0x25d
    golang.org/x/tools/gopls/internal/lsp/cache.(*Snapshot).initialize(0xc0079b2300, {0x12ef5a0, 0xc000fc1b80}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1831196767/gopls/internal/lsp/cache/view.go:583 +0x17d
    golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1831196767/gopls/internal/lsp/cache/session.go:227 +0x3e
    created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 4017
        /home/swarming/.swarming/w/ir/x/w/targetrepo1831196767/gopls/internal/lsp/cache/session.go:225 +0xce5
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-01-29 09:09 x_tools-go1.20-openbsd-amd64 tools@dd0f88f0 release-branch.go1.20@d7df7f4f x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8757578466125408817">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 13786): see golang/go#54461 for more details

    goroutine 3900 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo414529814/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12a9498, 0xc007f34120}, 0xc007e42420)
        /home/swarming/.swarming/w/ir/x/w/targetrepo414529814/internal/gocommand/invoke.go:375 +0x954
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007fabea0, {0x12a9498, 0xc007f34120}, {0x12a0700?, 0xc007f34240}, {0x12a0700?, 0xc007f34270})
        /home/swarming/.swarming/w/ir/x/w/targetrepo414529814/internal/gocommand/invoke.go:270 +0x104c
    ...
    golang.org/x/tools/go/packages.Load(0xc007d91560?, {0xc007df5460, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo414529814/go/packages/packages.go:225 +0x65
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc007d91560, {0x12a93f0, 0xc007de4910}, 0x1, {0xc007df5440, 0x2, 0xa1?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo414529814/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc007d91560, {0x12a93f0, 0xc007de4910}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo414529814/gopls/internal/cache/view.go:709 +0x3a5
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo414529814/gopls/internal/cache/session.go:255 +0x49
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView
        /home/swarming/.swarming/w/ir/x/w/targetrepo414529814/gopls/internal/cache/session.go:253 +0xe6f
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-01-29 17:42 x_tools-go1.21-openbsd-amd64 tools@14d7f7b6 release-branch.go1.21@00f974eb x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8757546156391325553">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 43027): see golang/go#54461 for more details

    goroutine 4060 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo206135000/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12a1240, 0xc0035bfec0}, 0xc003389600)
        /home/swarming/.swarming/w/ir/x/w/targetrepo206135000/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001571e80, {0x12a1240, 0xc0035bfec0}, {0x12987e0?, 0xc001272030}, {0x12987e0?, 0xc001272060})
        /home/swarming/.swarming/w/ir/x/w/targetrepo206135000/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc0028b1e60?, {0xc000fd4660, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo206135000/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc0028b1e60, {0x12a1278, 0xc0032886e0}, 0x1, {0xc000fd4640, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo206135000/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc0028b1e60, {0x12a1278, 0xc0032886e0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo206135000/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo206135000/gopls/internal/cache/session.go:255 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 4055
        /home/swarming/.swarming/w/ir/x/w/targetrepo206135000/gopls/internal/cache/session.go:253 +0xe66
</details>

<details><summary>2024-01-29 18:13 x_tools-go1.22-openbsd-amd64 tools@b048cf12 release-branch.go1.22@333ecd4b x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8757544207942767553">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 31610): see golang/go#54461 for more details

    goroutine 4092 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3824040111/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12ea2e8, 0xc001ff11d0}, 0xc003c0a9a0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3824040111/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0013c4030, {0x12ea2e8, 0xc001ff11d0}, {0x12e1860, 0xc001ff12f0}, {0x12e1860, 0xc001ff1320})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3824040111/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc002c3a900?, {0xc002287980, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3824040111/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc002c3a900, {0x12ea320, 0xc001210140}, 0x1, {0xc002287960, 0x2, 0x239d52ed21?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3824040111/gopls/internal/cache/load.go:136 +0xcac
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc002c3a900, {0x12ea320, 0xc001210140}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3824040111/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3824040111/gopls/internal/cache/session.go:255 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 4086
        /home/swarming/.swarming/w/ir/x/w/targetrepo3824040111/gopls/internal/cache/session.go:253 +0xe38
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-01-29 21:56 x_tools-go1.20-openbsd-amd64 tools@341c0434 release-branch.go1.20@d7df7f4f x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8757530178730149473">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 18946): see golang/go#54461 for more details

    goroutine 3957 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3917595929/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12a94f8, 0xc00191b2c0}, 0xc000fa7e40)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3917595929/internal/gocommand/invoke.go:375 +0x954
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001aa3ea0, {0x12a94f8, 0xc00191b2c0}, {0x12a0760?, 0xc00191b470}, {0x12a0760?, 0xc00191b4a0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3917595929/internal/gocommand/invoke.go:270 +0x104c
    ...
    golang.org/x/tools/go/packages.Load(0xc0016a97a0?, {0xc003d85380, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3917595929/go/packages/packages.go:225 +0x65
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc0016a97a0, {0x12a9450, 0xc0014bc7d0}, 0x1, {0xc003d85360, 0x2, 0xb3?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3917595929/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc0016a97a0, {0x12a9450, 0xc0014bc7d0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3917595929/gopls/internal/cache/view.go:720 +0x3a5
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3917595929/gopls/internal/cache/session.go:255 +0x49
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView
        /home/swarming/.swarming/w/ir/x/w/targetrepo3917595929/gopls/internal/cache/session.go:253 +0xe6f
</details>

<details><summary>2024-01-31 17:22 x_tools-go1.21-openbsd-amd64 tools@c046c5b6 release-branch.go1.21@6552f3d4 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8757364749284328961">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 21284): see golang/go#54461 for more details

    goroutine 3991 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3346418604/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12a2d00, 0xc0085d24e0}, 0xc005f9f1e0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3346418604/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc008785e80, {0x12a2d00, 0xc0085d24e0}, {0x129a2a0?, 0xc0085d2600}, {0x129a2a0?, 0xc0085d2630})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3346418604/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc00867c120?, {0xc0086747e0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3346418604/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc00867c120, {0x12a2d38, 0xc0086174a0}, 0x1, {0xc0086747c0, 0x2, 0x1f3a311cf8?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3346418604/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc00867c120, {0x12a2d38, 0xc0086174a0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3346418604/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3346418604/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 3873
        /home/swarming/.swarming/w/ir/x/w/targetrepo3346418604/gopls/internal/cache/session.go:275 +0x1426
</details>

<details><summary>2024-01-31 19:19 x_tools-go1.20-openbsd-amd64 tools@0c80ba37 release-branch.go1.20@746a0727 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8757358852148673313">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 35311): see golang/go#54461 for more details

    goroutine 3938 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2677213613/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12aae38, 0xc007e71da0}, 0xc0026d9080)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2677213613/internal/gocommand/invoke.go:375 +0x954
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007e17ea0, {0x12aae38, 0xc007e71da0}, {0x12a2060?, 0xc007e71ec0}, {0x12a2060?, 0xc007e71ef0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2677213613/internal/gocommand/invoke.go:270 +0x104c
    ...
    golang.org/x/tools/go/packages.Load(0xc003c450e0?, {0xc007c64c00, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2677213613/go/packages/packages.go:225 +0x65
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc003c450e0, {0x12aad90, 0xc003c29c70}, 0x1, {0xc007c64be0, 0x2, 0x2?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2677213613/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc003c450e0, {0x12aad90, 0xc003c29c70}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2677213613/gopls/internal/cache/view.go:720 +0x3a5
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2677213613/gopls/internal/cache/session.go:279 +0x49
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView
        /home/swarming/.swarming/w/ir/x/w/targetrepo2677213613/gopls/internal/cache/session.go:277 +0x141e
</details>

<details><summary>2024-02-01 17:54 x_tools-go1.20-openbsd-amd64 tools@42507833 release-branch.go1.20@a2f4a5a6 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8757270918542841985">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 59643): see golang/go#54461 for more details

    goroutine 3938 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo159181337/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12aae58, 0xc0083cdd40}, 0xc00110a9a0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo159181337/internal/gocommand/invoke.go:375 +0x954
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc008413ea0, {0x12aae58, 0xc0083cdd40}, {0x12a2080?, 0xc0083cde60}, {0x12a2080?, 0xc0083cde90})
        /home/swarming/.swarming/w/ir/x/w/targetrepo159181337/internal/gocommand/invoke.go:270 +0x104c
    ...
    golang.org/x/tools/go/packages.Load(0xc00783ac60?, {0xc007c53c00, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo159181337/go/packages/packages.go:225 +0x65
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc00783ac60, {0x12aadb0, 0xc007c55e50}, 0x1, {0xc007c53be0, 0x2, 0xeab2e0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo159181337/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc00783ac60, {0x12aadb0, 0xc007c55e50}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo159181337/gopls/internal/cache/view.go:720 +0x3a5
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo159181337/gopls/internal/cache/session.go:279 +0x49
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView
        /home/swarming/.swarming/w/ir/x/w/targetrepo159181337/gopls/internal/cache/session.go:277 +0x141e
</details>

<details><summary>2024-02-01 22:48 x_tools-go1.20-openbsd-amd64 tools@44aed241 release-branch.go1.20@a2f4a5a6 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8757255100670232721">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 20054): see golang/go#54461 for more details

    goroutine 3916 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2483101078/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12aae38, 0xc007dd9080}, 0xc007c70420)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2483101078/internal/gocommand/invoke.go:375 +0x954
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc003ddfe88, {0x12aae38, 0xc007dd9080}, {0x12a2060?, 0xc007dd91a0}, {0x12a2060?, 0xc007dd91d0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2483101078/internal/gocommand/invoke.go:270 +0x104c
    ...
    golang.org/x/tools/go/packages.Load(0xc003c7a120?, {0xc003cf5840, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2483101078/go/packages/packages.go:225 +0x65
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc003c7a120, {0x12aad90, 0xc003af9900}, 0x1, {0xc003cf5820, 0x2, 0xc000e24400?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2483101078/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc003c7a120, {0x12aad90, 0xc003af9900}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2483101078/gopls/internal/cache/view.go:720 +0x3a5
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2483101078/gopls/internal/cache/session.go:279 +0x49
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView
        /home/swarming/.swarming/w/ir/x/w/targetrepo2483101078/gopls/internal/cache/session.go:277 +0x141e
</details>

<details><summary>2024-02-01 22:48 x_tools-go1.21-openbsd-amd64 tools@44aed241 release-branch.go1.21@01c93ad0 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8757255121419959601">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 5173): see golang/go#54461 for more details

    goroutine 4088 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo736032116/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12a2d00, 0xc001e515c0}, 0xc00113c2c0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo736032116/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001815e68, {0x12a2d00, 0xc001e515c0}, {0x129a2a0?, 0xc001e516e0}, {0x129a2a0?, 0xc001e51740})
        /home/swarming/.swarming/w/ir/x/w/targetrepo736032116/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc002b3bc20?, {0xc002455d00, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo736032116/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc002b3bc20, {0x12a2d38, 0xc0031dceb0}, 0x1, {0xc002455ce0, 0x2, 0x1e90cc1161?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo736032116/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc002b3bc20, {0x12a2d38, 0xc0031dceb0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo736032116/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo736032116/gopls/internal/cache/session.go:279 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 4082
        /home/swarming/.swarming/w/ir/x/w/targetrepo736032116/gopls/internal/cache/session.go:277 +0x1426
</details>

<details><summary>2024-02-01 23:04 x_tools-go1.21-openbsd-amd64 tools@c07f9276 release-branch.go1.21@01c93ad0 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8757254115550027361">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 28606): see golang/go#54461 for more details

    goroutine 4078 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2593053635/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12a2cc0, 0xc0028b9560}, 0xc00108e160)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2593053635/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0021a9e68, {0x12a2cc0, 0xc0028b9560}, {0x129a260?, 0xc0028b9680}, {0x129a260?, 0xc0028b96b0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2593053635/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc0020bb7a0?, {0xc0027a87a0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2593053635/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc0020bb7a0, {0x12a2cf8, 0xc0023f04b0}, 0x1, {0xc0027a8780, 0x2, 0x1d4add0072?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2593053635/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc0020bb7a0, {0x12a2cf8, 0xc0023f04b0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2593053635/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2593053635/gopls/internal/cache/session.go:279 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 4072
        /home/swarming/.swarming/w/ir/x/w/targetrepo2593053635/gopls/internal/cache/session.go:277 +0x1426
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-02-03 12:56 x_tools-go1.21-openbsd-amd64 tools@d6bd2d74 release-branch.go1.21@2fdad8af x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8757111169729041457">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 21243): see golang/go#54461 for more details

    goroutine 4128 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4051800421/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12c4600, 0xc006f10570}, 0xc001334420)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4051800421/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007845e68, {0x12c4600, 0xc006f10570}, {0x12bba60?, 0xc006f10690}, {0x12bba60?, 0xc006f106c0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4051800421/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc002f9fb00?, {0xc006eed940, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4051800421/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc002f9fb00, {0x12c4638, 0xc00780a9b0}, 0x1, {0xc006eed920, 0x2, 0x1ed9efbcc3?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4051800421/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc002f9fb00, {0x12c4638, 0xc00780a9b0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4051800421/gopls/internal/cache/view.go:718 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo4051800421/gopls/internal/cache/session.go:279 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 4122
        /home/swarming/.swarming/w/ir/x/w/targetrepo4051800421/gopls/internal/cache/session.go:277 +0x1426
</details>

<details><summary>2024-02-03 12:56 x_tools-go1.21-openbsd-amd64 tools@51e3724f release-branch.go1.21@2fdad8af x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8757111131351357697">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 95336): see golang/go#54461 for more details

    goroutine 3984 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3790299875/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12c4560, 0xc003b6d4a0}, 0xc003b2c9a0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3790299875/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc008667e68, {0x12c4560, 0xc003b6d4a0}, {0x12bb9c0?, 0xc003b6d5c0}, {0x12bb9c0?, 0xc003b6d5f0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3790299875/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc0082639e0?, {0xc0086252a0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3790299875/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc0082639e0, {0x12c4598, 0xc0085bd9f0}, 0x1, {0xc008625280, 0x2, 0x1d48cd12f4?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3790299875/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc0082639e0, {0x12c4598, 0xc0085bd9f0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3790299875/gopls/internal/cache/view.go:718 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3790299875/gopls/internal/cache/session.go:279 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 3978
        /home/swarming/.swarming/w/ir/x/w/targetrepo3790299875/gopls/internal/cache/session.go:277 +0x1426
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-02-05 18:07 x_tools-go1.20-openbsd-amd64 tools@df03d7d4 release-branch.go1.20@a2f4a5a6 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8756910433002756385">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 38123): see golang/go#54461 for more details

    goroutine 3840 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo979791765/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12cc5d8, 0xc001eb4a80}, 0xc003cc2840)
        /home/swarming/.swarming/w/ir/x/w/targetrepo979791765/internal/gocommand/invoke.go:375 +0x954
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007c13e88, {0x12cc5d8, 0xc001eb4a80}, {0x12c36c0?, 0xc001eb4ba0}, {0x12c36c0?, 0xc001eb4bd0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo979791765/internal/gocommand/invoke.go:270 +0x104c
    ...
    golang.org/x/tools/go/packages.Load(0xc004052ea0?, {0xc007b68280, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo979791765/go/packages/packages.go:225 +0x65
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc004052ea0, {0x12cc530, 0xc007af27d0}, 0x1, {0xc007b68260, 0x2, 0x2b0a581098?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo979791765/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc004052ea0, {0x12cc530, 0xc007af27d0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo979791765/gopls/internal/cache/view.go:718 +0x3a5
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo979791765/gopls/internal/cache/session.go:279 +0x49
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView
        /home/swarming/.swarming/w/ir/x/w/targetrepo979791765/gopls/internal/cache/session.go:277 +0x141e
</details>

<details><summary>2024-02-05 18:07 x_tools-gotip-openbsd-amd64 tools@df03d7d4 go@6076edc5 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/ui/b/8756899090915233137">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 7724): see golang/go#54461 for more details

    goroutine 4338 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3322343135/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1306e88, 0xc007dd3ef0}, 0xc000a22f20)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3322343135/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007de2018, {0x1306e88, 0xc007dd3ef0}, {0x12fe300, 0xc007df4090}, {0x12fe300, 0xc007df40c0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3322343135/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc002f75320?, {0xc007dcc5a0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3322343135/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc002f75320, {0x1306ec0, 0xc007d8aff0}, 0x1, {0xc007dcc580, 0x2, 0x2405e25177?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3322343135/gopls/internal/cache/load.go:136 +0xcac
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc002f75320, {0x1306ec0, 0xc007d8aff0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3322343135/gopls/internal/cache/view.go:718 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3322343135/gopls/internal/cache/session.go:279 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 4316
        /home/swarming/.swarming/w/ir/x/w/targetrepo3322343135/gopls/internal/cache/session.go:277 +0x1385
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-02-05 22:32 x_tools-go1.20-openbsd-amd64 tools@ddb71b01 release-branch.go1.20@a2f4a5a6 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8756893759589585873">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 47496): see golang/go#54461 for more details

    goroutine 3891 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo675936823/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12cc618, 0xc007f37380}, 0xc0014866e0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo675936823/internal/gocommand/invoke.go:375 +0x954
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007fc7e88, {0x12cc618, 0xc007f37380}, {0x12c3700?, 0xc007f374a0}, {0x12c3700?, 0xc007f374d0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo675936823/internal/gocommand/invoke.go:270 +0x104c
    ...
    golang.org/x/tools/go/packages.Load(0xc007d15c20?, {0xc007f9adc0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo675936823/go/packages/packages.go:225 +0x65
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc007d15c20, {0x12cc570, 0xc007eabb80}, 0x1, {0xc007f9ada0, 0x2, 0xcc?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo675936823/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc007d15c20, {0x12cc570, 0xc007eabb80}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo675936823/gopls/internal/cache/view.go:718 +0x3a5
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo675936823/gopls/internal/cache/session.go:279 +0x49
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView
        /home/swarming/.swarming/w/ir/x/w/targetrepo675936823/gopls/internal/cache/session.go:277 +0x141e
</details>

<details><summary>2024-02-06 17:54 x_tools-go1.20-openbsd-amd64 tools@08bd7281 release-branch.go1.20@a2f4a5a6 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8756820600250485809">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 30433): see golang/go#54461 for more details

    goroutine 3956 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3862027285/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12cc6b8, 0xc007059410}, 0xc007060160)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3862027285/internal/gocommand/invoke.go:375 +0x954
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc008287e88, {0x12cc6b8, 0xc007059410}, {0x12c37a0?, 0xc007059530}, {0x12c37a0?, 0xc007059560})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3862027285/internal/gocommand/invoke.go:270 +0x104c
    ...
    golang.org/x/tools/go/packages.Load(0xc00810cd80?, {0xc006f7bfc0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3862027285/go/packages/packages.go:225 +0x65
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc00810cd80, {0x12cc610, 0xc008304500}, 0x1, {0xc006f7bfa0, 0x2, 0x1e11c368d1?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3862027285/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc00810cd80, {0x12cc610, 0xc008304500}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3862027285/gopls/internal/cache/view.go:718 +0x3a5
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3862027285/gopls/internal/cache/session.go:279 +0x49
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView
        /home/swarming/.swarming/w/ir/x/w/targetrepo3862027285/gopls/internal/cache/session.go:277 +0x141e
</details>

<details><summary>2024-02-06 17:54 x_tools-go1.21-openbsd-amd64 tools@08bd7281 release-branch.go1.21@f2920803 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8756820615673689937">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 89628): see golang/go#54461 for more details

    goroutine 4031 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3147790080/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12c45a0, 0xc007924a80}, 0xc0006cf1e0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3147790080/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007997e68, {0x12c45a0, 0xc007924a80}, {0x12bba00?, 0xc007924ba0}, {0x12bba00?, 0xc007924bd0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3147790080/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc00765d7a0?, {0xc0078dcd80, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3147790080/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc00765d7a0, {0x12c45d8, 0xc007889130}, 0x1, {0xc0078dcd60, 0x2, 0xc0007616c0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3147790080/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc00765d7a0, {0x12c45d8, 0xc007889130}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3147790080/gopls/internal/cache/view.go:718 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3147790080/gopls/internal/cache/session.go:279 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 4025
        /home/swarming/.swarming/w/ir/x/w/targetrepo3147790080/gopls/internal/cache/session.go:277 +0x1426
</details>

<details><summary>2024-02-06 18:40 x_tools-go1.22-openbsd-amd64 tools@4f6024ea release-branch.go1.22@b0957cfc x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8756817760560451553">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 88868): see golang/go#54461 for more details

    goroutine 4197 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1944137584/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x130d888, 0xc007b4f110}, 0xc0050a5080)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1944137584/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007cdc018, {0x130d888, 0xc007b4f110}, {0x1304cc0, 0xc007b4f230}, {0x1304cc0, 0xc007b4f260})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1944137584/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc003f5ad80?, {0xc007afd740, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1944137584/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc003f5ad80, {0x130d8c0, 0xc007afaeb0}, 0x1, {0xc007afd720, 0x2, 0x1f5ba985dd?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1944137584/gopls/internal/cache/load.go:136 +0xcac
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc003f5ad80, {0x130d8c0, 0xc007afaeb0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1944137584/gopls/internal/cache/view.go:718 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1944137584/gopls/internal/cache/session.go:279 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 4015
        /home/swarming/.swarming/w/ir/x/w/targetrepo1944137584/gopls/internal/cache/session.go:277 +0x1385
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-02-06 21:16 x_tools-go1.21-windows-amd64-race tools@0d875898 release-branch.go1.21@f2920803 x/tools/gopls/internal/test/integration/codelens.TestDisablingCodeLens/default/default [ABORT] (<a href="https://ci.chromium.org/b/8756807907290930065">log</a>)</summary>

    === RUN   TestDisablingCodeLens/default/default
    panic: detected hanging go command (pid 7776): see golang/go#54461 for more details

    goroutine 166 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo2139951170/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1416f5ce0, 0xc00062d110}, 0xc0005522c0)
        C:/b/s/w/ir/x/w/targetrepo2139951170/internal/gocommand/invoke.go:375 +0xd99
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00064d808, {0x1416f5ce0, 0xc00062d110}, {0x1416ed080?, 0xc00062d230}, {0x1416ed080?, 0xc00062d260})
        C:/b/s/w/ir/x/w/targetrepo2139951170/internal/gocommand/invoke.go:270 +0x19c6
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00064d7d8?, {0x1416f5ce0, 0xc00062d110}, {0x1416ed080, 0xc00062d230}, {0x1416ed080?, 0xc00062d260?})
        C:/b/s/w/ir/x/w/targetrepo2139951170/internal/gocommand/invoke.go:179 +0xa5
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0005cc500, {0x1416f5ce0, 0xc00062d110}, {{0x1413273bf, 0x4}, {0xc000320080, 0x4, 0x4}, {0x141e44020, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2139951170/internal/gocommand/invoke.go:121 +0x26c
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc0005cc500, {0x1416f5d18, 0xc0004f2820}, {{0x1413273bf, 0x4}, {0xc000320080, 0x4, 0x4}, {0x141e44020, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2139951170/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/go/internal/packagesdriver.GetSizesForArgsGolist({0x1416f5d18, 0xc0004f2820}, {{0x1413273bf, 0x4}, {0xc000320080, 0x4, 0x4}, {0x141e44020, 0x0, 0x0}, ...}, ...)
        C:/b/s/w/ir/x/w/targetrepo2139951170/go/internal/packagesdriver/sizes.go:19 +0x1d0
    golang.org/x/tools/go/packages.goListDriver.func1()
        C:/b/s/w/ir/x/w/targetrepo2139951170/go/packages/golist.go:152 +0x30b
    created by golang.org/x/tools/go/packages.goListDriver in goroutine 162
        C:/b/s/w/ir/x/w/targetrepo2139951170/go/packages/golist.go:151 +0x5d9
</details>

<details><summary>2024-02-06 21:17 x_tools-go1.21-openbsd-amd64 tools@d64ed6ae release-branch.go1.21@f2920803 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8756807875264644497">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 33797): see golang/go#54461 for more details

    goroutine 3696 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo254146449/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12c6ce0, 0xc002f509f0}, 0xc0035802c0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo254146449/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001b27e68, {0x12c6ce0, 0xc002f509f0}, {0x12be100?, 0xc002f50b10}, {0x12be100?, 0xc002f50b40})
        /home/swarming/.swarming/w/ir/x/w/targetrepo254146449/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc002b0fc20?, {0xc001034160, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo254146449/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc002b0fc20, {0x12c6d18, 0xc00169fc20}, 0x1, {0xc001034140, 0x2, 0x1d18166818?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo254146449/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc002b0fc20, {0x12c6d18, 0xc00169fc20}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo254146449/gopls/internal/cache/view.go:718 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo254146449/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 3690
        /home/swarming/.swarming/w/ir/x/w/targetrepo254146449/gopls/internal/cache/session.go:275 +0x1532
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: bcmills**

@golang/release, this issue has gotten very noisy because a bunch of these builders are just plain timing out. Could you please either prioritize a fix for those timeouts (maybe just set `GO_TEST_TIMEOUT_SCALE` really high for now?) or update the `watchflakes` pattern on this issue to exclude the misconfigured builders?

See: 
- #65311
- #64697
- #65040

**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-02-09 17:28 x_tools-gotip-openbsd-amd64 tools@a5af84e3 go@b158ca9a x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8756550085616420481">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 91860): see golang/go#54461 for more details

    goroutine 4020 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo999350127/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12f9a48, 0xc001d31a40}, 0xc007883760)
        /home/swarming/.swarming/w/ir/x/w/targetrepo999350127/internal/gocommand/invoke.go:375 +0x8df
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001f1e018, {0x12f9a48, 0xc001d31a40}, {0x12f0ec0, 0xc001d31b60}, {0x12f0ec0, 0xc001d31b90})
        /home/swarming/.swarming/w/ir/x/w/targetrepo999350127/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc00809c240?, {0xc001c36b20, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo999350127/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc00809c240, {0x12f9a80, 0xc0005ceb90}, 0x1, {0xc001c36b00, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo999350127/gopls/internal/cache/load.go:136 +0xcac
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc00809c240, {0x12f9a80, 0xc0005ceb90}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo999350127/gopls/internal/cache/view.go:718 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo999350127/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 4018
        /home/swarming/.swarming/w/ir/x/w/targetrepo999350127/gopls/internal/cache/session.go:275 +0x1485
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-02-09 20:28 x_tools-go1.21-windows-amd64-race tools@8cf0a8e2 release-branch.go1.21@b214108e x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens/Upgrade_direct_dependencies/default [ABORT] (<a href="https://ci.chromium.org/b/8756539171154300257">log</a>)</summary>

    === RUN   TestUpgradeCodelens/Upgrade_direct_dependencies/default
    panic: detected hanging go command (pid 8292): see golang/go#54461 for more details

    goroutine 528 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo3387498482/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1416f8780, 0xc00050c0c0}, 0xc000346160)
        C:/b/s/w/ir/x/w/targetrepo3387498482/internal/gocommand/invoke.go:375 +0xd99
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000533618, {0x1416f8780, 0xc00050c0c0}, {0x1416efb20?, 0xc00050c240}, {0x1416efb20?, 0xc00050c270})
        C:/b/s/w/ir/x/w/targetrepo3387498482/internal/gocommand/invoke.go:270 +0x19c6
    ...
    golang.org/x/tools/go/packages.Load(0xc0005ead80?, {0xc000396f40, 0x3, 0x4})
        C:/b/s/w/ir/x/w/targetrepo3387498482/go/packages/packages.go:225 +0x85
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc0005ead80, {0x1416f87b8, 0xc0005ce1e0}, 0x1, {0xc000396f00, 0x3, 0x14001ee75?})
        C:/b/s/w/ir/x/w/targetrepo3387498482/gopls/internal/cache/load.go:136 +0x1185
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc0005ead80, {0x1416f87b8, 0xc0005ce1e0}, 0x1)
        C:/b/s/w/ir/x/w/targetrepo3387498482/gopls/internal/cache/view.go:720 +0x5e5
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        C:/b/s/w/ir/x/w/targetrepo3387498482/gopls/internal/cache/session.go:277 +0x85
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 586
        C:/b/s/w/ir/x/w/targetrepo3387498482/gopls/internal/cache/session.go:275 +0x288e
</details>

<details><summary>2024-02-09 20:28 x_tools-go1.21-windows-amd64-race tools@8cf0a8e2 release-branch.go1.21@b214108e x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer/default [ABORT] (<a href="https://ci.chromium.org/b/8756539171154300257">log</a>)</summary>

    === RUN   TestTimeFormatAnalyzer/default
    panic: detected hanging go command (pid 10780): see golang/go#54461 for more details

    goroutine 3199 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo3387498482/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x141715b80, 0x141e70640}, 0xc0015ba580)
        C:/b/s/w/ir/x/w/targetrepo3387498482/internal/gocommand/invoke.go:375 +0xd99
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0020dafb0, {0x141715b80, 0x141e70640}, {0x14170ce40?, 0xc001d3ed50}, {0x14170ce40?, 0xc001d3f410})
        C:/b/s/w/ir/x/w/targetrepo3387498482/internal/gocommand/invoke.go:270 +0x19c6
    ...
    golang.org/x/tools/internal/imports.newModuleResolver(0xc000529290, 0xc000190f90)
        C:/b/s/w/ir/x/w/targetrepo3387498482/internal/imports/mod.go:122 +0x70c
    golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver(0xc000529290)
        C:/b/s/w/ir/x/w/targetrepo3387498482/internal/imports/fix.go:992 +0x16e
    golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv(0xc000140550)
        C:/b/s/w/ir/x/w/targetrepo3387498482/gopls/internal/cache/imports.go:210 +0xf9
    golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1()
        C:/b/s/w/ir/x/w/targetrepo3387498482/gopls/internal/cache/imports.go:57 +0x63
    created by time.goFunc
        C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:176 +0x45
</details>

<details><summary>2024-02-09 20:28 x_tools-go1.21-windows-amd64-race tools@8cf0a8e2 release-branch.go1.21@b214108e x/tools/gopls/internal/test/integration/modfile.TestModFileModification/basic/default/default [ABORT] (<a href="https://ci.chromium.org/b/8756539171154300257">log</a>)</summary>

    === RUN   TestModFileModification/basic/default/default
    panic: detected hanging go command (pid 10580): see golang/go#54461 for more details

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


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-02-12 22:10 x_tools-gotip-windows-amd64-race tools@c5643e9b go@0336d5eb x/tools/gopls/internal/test/integration/completion.TestFuzzFunc/default [ABORT] (<a href="https://ci.chromium.org/b/8756249159424473857">log</a>)</summary>

    === RUN   TestFuzzFunc/default
    panic: detected hanging go command (pid 10140): see golang/go#54461 for more details

    goroutine 2803 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x141799be8, 0xc001934ea0}, 0xc001b12b00)
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:375 +0xde7
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0015533e0, {0x141799be8, 0xc001934ea0}, {0x1417907a0, 0xc00136c6f0}, {0x1417907a0, 0xc00136c9f0})
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:270 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0015533e0, {0x141799be8, 0xc001934ea0}, {0x1417907a0, 0xc00136c6f0}, {0x1417907a0, 0xc00136c9f0})
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:179 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00050bc00, {0x141799be8, 0xc001934ea0}, {{0x1413c9445, 0x3}, {0xc000655440, 0x1, 0x1}, {0x141f62d20, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00050bc00, {0x141799be8, 0xc0000c4840}, {{0x1413c9445, 0x3}, {0xc000655440, 0x1, 0x1}, {0x141f62d20, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc00050bc00, {0x141799be8, 0xc00012ea20}, {{0x1413c9445, 0x3}, {0xc000655440, 0x1, 0x1}, {0x141f62d20, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:71 +0x3b0
    golang.org/x/tools/gopls/internal/cache.modTidyImpl({0x141799c20, 0xc0018e9b30}, 0xc00405a120, {0xc001e24190, 0x46}, 0xc0008326c0)
        C:/b/s/w/ir/x/w/targetrepo2082764816/gopls/internal/cache/mod_tidy.go:117 +0x47c
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x141799c20, 0xc0018e9b30}, {0x1413c5120, 0xc00405a120})
        C:/b/s/w/ir/x/w/targetrepo2082764816/gopls/internal/cache/mod_tidy.go:80 +0x9c
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/memoize/memoize.go:187 +0xda
    runtime/trace.WithRegion({0x141799c20, 0xc0018e9b30}, {0xc001f76f60, 0x13}, 0xc001519f80)
        C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x138
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/memoize/memoize.go:180 +0x1d8
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 2802
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/memoize/memoize.go:179 +0x352
</details>

<details><summary>2024-02-12 22:10 x_tools-gotip-windows-amd64-race tools@c5643e9b go@0336d5eb x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer/default [ABORT] (<a href="https://ci.chromium.org/b/8756249159424473857">log</a>)</summary>

    === RUN   TestTimeFormatAnalyzer/default
    panic: detected hanging go command (pid 2444): see golang/go#54461 for more details

    goroutine 2379 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x14177cee8, 0xc003a1f620}, 0xc0036942c0)
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:375 +0xde7
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc002ebf3e0, {0x14177cee8, 0xc003a1f620}, {0x141773b40, 0xc003a1f7a0}, {0x141773b40, 0xc003a1f7d0})
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:270 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc002ebf3e0, {0x14177cee8, 0xc003a1f620}, {0x141773b40, 0xc003a1f7a0}, {0x141773b40, 0xc003a1f7d0})
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:179 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc000261aa0, {0x14177cee8, 0xc003a1f620}, {{0x1413b03b9, 0x3}, {0xc003a11c60, 0x1, 0x1}, {0x141f43180, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc000261aa0, {0x14177cee8, 0xc003a1f440}, {{0x1413b03b9, 0x3}, {0xc003a11c60, 0x1, 0x1}, {0x141f43180, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc000261aa0, {0x14177cee8, 0xc002e08000}, {{0x1413b03b9, 0x3}, {0xc003a11c60, 0x1, 0x1}, {0x141f43180, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:71 +0x3b0
    golang.org/x/tools/gopls/internal/cache.modTidyImpl({0x14177cf20, 0xc00292e460}, 0xc003b74d80, {0xc0007617c0, 0x50}, 0xc0004b0dc0)
        C:/b/s/w/ir/x/w/targetrepo2082764816/gopls/internal/cache/mod_tidy.go:117 +0x47c
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x14177cf20, 0xc00292e460}, {0x1413ac0a0, 0xc003b74d80})
        C:/b/s/w/ir/x/w/targetrepo2082764816/gopls/internal/cache/mod_tidy.go:80 +0x9c
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/memoize/memoize.go:187 +0xda
    runtime/trace.WithRegion({0x14177cf20, 0xc00292e460}, {0xc0031f2ab0, 0x13}, 0xc000635f80)
        C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x138
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/memoize/memoize.go:180 +0x1d8
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 2354
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/memoize/memoize.go:179 +0x352
</details>

<details><summary>2024-02-12 22:10 x_tools-gotip-windows-amd64-race tools@c5643e9b go@0336d5eb x/tools/gopls/internal/test/integration/modfile.TestModFileModification/basic/default/default [ABORT] (<a href="https://ci.chromium.org/b/8756249159424473857">log</a>)</summary>

    === RUN   TestModFileModification/basic/default/default
    panic: detected hanging go command (pid 8804): see golang/go#54461 for more details

    goroutine 140 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x141776708, 0xc0006800c0}, 0xc0006b4000)
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:375 +0xde7
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00036d860, {0x141776708, 0xc0006800c0}, {0x14176d340, 0xc000680210}, {0x14176d340, 0xc000680240})
        C:/b/s/w/ir/x/w/targetrepo2082764816/internal/gocommand/invoke.go:270 +0x1710
    ...
    golang.org/x/tools/go/packages.Load(0xc000354dc0, {0xc00008a8c0, 0x2, 0x2})
        C:/b/s/w/ir/x/w/targetrepo2082764816/go/packages/packages.go:225 +0x85
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc00052aea0, {0x141776740, 0xc0001c42d0}, 0x1, {0xc00008a880, 0x2, 0x141eb2d20?})
        C:/b/s/w/ir/x/w/targetrepo2082764816/gopls/internal/cache/load.go:136 +0x11c5
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc00052aea0, {0x141776740, 0xc0001c42d0}, 0x1)
        C:/b/s/w/ir/x/w/targetrepo2082764816/gopls/internal/cache/view.go:720 +0x5e5
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        C:/b/s/w/ir/x/w/targetrepo2082764816/gopls/internal/cache/session.go:277 +0x76
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 148
        C:/b/s/w/ir/x/w/targetrepo2082764816/gopls/internal/cache/session.go:275 +0x286e
</details>

<details><summary>2024-02-14 14:22 x_tools-go1.21-openbsd-amd64 tools@e1a62614 release-branch.go1.21@b214108e x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8756109230058848449">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 68455): see golang/go#54461 for more details

    goroutine 3965 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2152609357/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12b7800, 0xc00165cd50}, 0xc00128a160)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2152609357/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001e5be68, {0x12b7800, 0xc00165cd50}, {0x12aec40?, 0xc00165cea0}, {0x12aec40?, 0xc00165ced0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2152609357/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc0028d4480?, {0xc002fc0220, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2152609357/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc0028d4480, {0x12b7838, 0xc002f6da40}, 0x1, {0xc002fc0200, 0x2, 0x1a50da30e8?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2152609357/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc0028d4480, {0x12b7838, 0xc002f6da40}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2152609357/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2152609357/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 4068
        /home/swarming/.swarming/w/ir/x/w/targetrepo2152609357/gopls/internal/cache/session.go:275 +0x1532
</details>

<details><summary>2024-02-14 14:36 x_tools-go1.21-openbsd-amd64 tools@945a754d release-branch.go1.21@b214108e x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8756108329897177665">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 14810): see golang/go#54461 for more details

    goroutine 4030 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2272656697/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12b7780, 0xc007619170}, 0xc000f4ac60)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2272656697/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0077c7e68, {0x12b7780, 0xc007619170}, {0x12aebc0?, 0xc007619290}, {0x12aebc0?, 0xc0076192c0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2272656697/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc004c7b9e0?, {0xc007795060, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2272656697/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc004c7b9e0, {0x12b77b8, 0xc004c6fb80}, 0x1, {0xc007795040, 0x2, 0x1d2035c1f5?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2272656697/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc004c7b9e0, {0x12b77b8, 0xc004c6fb80}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2272656697/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2272656697/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 4024
        /home/swarming/.swarming/w/ir/x/w/targetrepo2272656697/gopls/internal/cache/session.go:275 +0x1532
</details>

<details><summary>2024-02-14 19:36 x_tools-go1.21-openbsd-amd64 tools@0f0698e7 release-branch.go1.21@b214108e x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8756089422106350673">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 59978): see golang/go#54461 for more details

    goroutine 3883 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo865291268/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12b78a0, 0xc002018e70}, 0xc0008e62c0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo865291268/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001d67e68, {0x12b78a0, 0xc002018e70}, {0x12aece0?, 0xc002018f90}, {0x12aece0?, 0xc002018fc0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo865291268/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc002e3dd40?, {0xc001b69300, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo865291268/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc002e3dd40, {0x12b78d8, 0xc000bb7ea0}, 0x1, {0xc001b692e0, 0x2, 0x1dc0b40b42?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo865291268/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc002e3dd40, {0x12b78d8, 0xc000bb7ea0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo865291268/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo865291268/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 3877
        /home/swarming/.swarming/w/ir/x/w/targetrepo865291268/gopls/internal/cache/session.go:275 +0x1532
</details>

<details><summary>2024-02-14 20:17 x_tools-gotip-openbsd-amd64 tools@5de9cbe1 go@d90a57ff x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8756085725796892721">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 60329): see golang/go#54461 for more details

    goroutine 4219 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3650313066/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12fb7c8, 0xc004161290}, 0xc000225b80)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3650313066/internal/gocommand/invoke.go:375 +0x8df
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007bfc018, {0x12fb7c8, 0xc004161290}, {0x12f2520, 0xc0041613b0}, {0x12f2520, 0xc0041613e0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3650313066/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc003e66a20?, {0xc007b99a00, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3650313066/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc003e66a20, {0x12fb800, 0xc007bdc190}, 0x1, {0xc007b999e0, 0x2, 0x23af47833f?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3650313066/gopls/internal/cache/load.go:136 +0xcac
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc003e66a20, {0x12fb800, 0xc007bdc190}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3650313066/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3650313066/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 4213
        /home/swarming/.swarming/w/ir/x/w/targetrepo3650313066/gopls/internal/cache/session.go:275 +0x1485
</details>

<details><summary>2024-02-14 21:33 x_tools-go1.21-openbsd-amd64 tools@df9c1c7e release-branch.go1.21@b214108e x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8756082047539698705">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 11952): see golang/go#54461 for more details

    goroutine 3995 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3263076207/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12b8d60, 0xc0024c4210}, 0xc000512c60)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3263076207/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001c63e68, {0x12b8d60, 0xc0024c4210}, {0x12b01a0?, 0xc0024c4330}, {0x12b01a0?, 0xc0024c4360})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3263076207/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc0011f4ea0?, {0xc0018e0660, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3263076207/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc0011f4ea0, {0x12b8d98, 0xc0016114f0}, 0x1, {0xc0018e0640, 0x2, 0x1923e60?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3263076207/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc0011f4ea0, {0x12b8d98, 0xc0016114f0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3263076207/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3263076207/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 3991
        /home/swarming/.swarming/w/ir/x/w/targetrepo3263076207/gopls/internal/cache/session.go:275 +0x1532
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-02-16 15:54 x_tools-go1.21-openbsd-amd64 tools@0d171942 release-branch.go1.21@f38fca30 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8755922236015147713">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 16311): see golang/go#54461 for more details

    goroutine 4036 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2566172290/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12b8de0, 0xc007785440}, 0xc0005d5ce0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2566172290/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007679e68, {0x12b8de0, 0xc007785440}, {0x12b0220?, 0xc007785560}, {0x12b0220?, 0xc007785590})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2566172290/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc0033577a0?, {0xc00764ca20, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2566172290/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc0033577a0, {0x12b8e18, 0xc00337fea0}, 0x1, {0xc00764ca00, 0x2, 0x12b8e18?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2566172290/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc0033577a0, {0x12b8e18, 0xc00337fea0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2566172290/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2566172290/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 3729
        /home/swarming/.swarming/w/ir/x/w/targetrepo2566172290/gopls/internal/cache/session.go:275 +0x1532
</details>

<details><summary>2024-02-16 17:05 x_tools-go1.21-openbsd-amd64 tools@32d31392 release-branch.go1.21@f38fca30 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8755917714809628977">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 70983): see golang/go#54461 for more details

    goroutine 3983 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1332906057/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12b8e20, 0xc003656780}, 0xc0007e1080)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1332906057/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007709e68, {0x12b8e20, 0xc003656780}, {0x12b0260?, 0xc003656930}, {0x12b0260?, 0xc003656990})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1332906057/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc0075f8480?, {0xc0028f5d00, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1332906057/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc0075f8480, {0x12b8e58, 0xc0074eefa0}, 0x1, {0xc0028f5ce0, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1332906057/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc0075f8480, {0x12b8e58, 0xc0074eefa0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1332906057/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1332906057/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 3978
        /home/swarming/.swarming/w/ir/x/w/targetrepo1332906057/gopls/internal/cache/session.go:275 +0x1532
</details>

<details><summary>2024-02-16 17:05 x_tools-go1.21-openbsd-amd64 tools@4bc74c34 release-branch.go1.21@f38fca30 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8755917714623076801">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 58158): see golang/go#54461 for more details

    goroutine 3883 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo126737933/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12b7de0, 0xc00778e3f0}, 0xc000e8f1e0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo126737933/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007795e68, {0x12b7de0, 0xc00778e3f0}, {0x12af220?, 0xc00778e510}, {0x12af220?, 0xc00778e540})
        /home/swarming/.swarming/w/ir/x/w/targetrepo126737933/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc0023cb9e0?, {0xc0077824e0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo126737933/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc0023cb9e0, {0x12b7e18, 0xc007270410}, 0x1, {0xc0077824c0, 0x2, 0x1920ee0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo126737933/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc0023cb9e0, {0x12b7e18, 0xc007270410}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo126737933/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo126737933/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 3877
        /home/swarming/.swarming/w/ir/x/w/targetrepo126737933/gopls/internal/cache/session.go:275 +0x1532
</details>

<details><summary>2024-02-16 18:21 x_tools-go1.21-openbsd-amd64 tools@4231a57f release-branch.go1.21@f38fca30 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8755912923442765345">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 60384): see golang/go#54461 for more details

    goroutine 3959 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1295469654/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12b8e20, 0xc003083260}, 0xc000439340)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1295469654/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0013a3e68, {0x12b8e20, 0xc003083260}, {0x12b0260?, 0xc003083380}, {0x12b0260?, 0xc0030833e0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1295469654/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc0040f5c20?, {0xc003541d00, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1295469654/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc0040f5c20, {0x12b8e58, 0xc000ff2230}, 0x1, {0xc003541ce0, 0x2, 0x20d169736f?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1295469654/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc0040f5c20, {0x12b8e58, 0xc000ff2230}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1295469654/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1295469654/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 3825
        /home/swarming/.swarming/w/ir/x/w/targetrepo1295469654/gopls/internal/cache/session.go:275 +0x1532
</details>

<details><summary>2024-02-16 21:45 x_tools-go1.21-openbsd-amd64 tools@3ac77cb1 release-branch.go1.21@f38fca30 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8755900114395429137">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 2785): see golang/go#54461 for more details

    goroutine 4034 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2526429241/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12b8e40, 0xc00779f170}, 0xc004bc0c60)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2526429241/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007843e68, {0x12b8e40, 0xc00779f170}, {0x12b0280?, 0xc00779f290}, {0x12b0280?, 0xc00779f2c0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2526429241/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc003dd8b40?, {0xc007812fc0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2526429241/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc003dd8b40, {0x12b8e78, 0xc00782e0f0}, 0x1, {0xc007812fa0, 0x2, 0x208869d017?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2526429241/gopls/internal/cache/load.go:136 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc003dd8b40, {0x12b8e78, 0xc00782e0f0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2526429241/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2526429241/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 3772
        /home/swarming/.swarming/w/ir/x/w/targetrepo2526429241/gopls/internal/cache/session.go:275 +0x1532
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-02-20 20:19 x_tools-gotip-openbsd-amd64 tools@607b6641 go@5a412045 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8755543151848060481">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 40967): see golang/go#54461 for more details

    goroutine 4138 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo11104588/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12fd128, 0xc007766ff0}, 0xc0005b09a0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo11104588/internal/gocommand/invoke.go:375 +0x8df
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007bca018, {0x12fd128, 0xc007766ff0}, {0x12f3e60, 0xc007767110}, {0x12f3e60, 0xc007767140})
        /home/swarming/.swarming/w/ir/x/w/targetrepo11104588/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc002d62a20?, {0xc004bd10c0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo11104588/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc002d62a20, {0x12fd160, 0xc002d79b80}, 0x1, {0xc004bd10a0, 0x2, 0x1d72742f44?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo11104588/gopls/internal/cache/load.go:137 +0xcac
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc002d62a20, {0x12fd160, 0xc002d79b80}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo11104588/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo11104588/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 4132
        /home/swarming/.swarming/w/ir/x/w/targetrepo11104588/gopls/internal/cache/session.go:275 +0x1485
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: bcmills**

The recent spurious failures were #65845; marking as off-topic.

**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-02-22 23:08 darwin-amd64-longtest tools@fb020a0f go@0e7c9846 x/tools/gopls/internal/test/integration/diagnostics (<a href="https://build.golang.org/log/99bd3a426f791da66e2fa7a789959d6711be2414">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 36710): see golang/go#54461 for more details

    goroutine 71339 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00428d050)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:442 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0x9489c88, 0xc0061a24e0}, 0xc002a72580)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:375 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0012c4018, {0x9489c88, 0xc0061a24e0}, {0x9480b58, 0xc0061a2600}, {0x9480b58, 0xc0061a2630})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:270 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0012c3fe0?, {0x9489c88, 0xc0061a24e0}, {0x9480b58?, 0xc0061a2600?}, {0x9480b58, 0xc0061a2630})
    ...
    golang.org/x/tools/go/packages.Load(0xc00292bb00?, {0xc001f6f540, 0x2, 0x2})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc00292bb00, {0x9489cc0, 0xc002ec84b0}, 0x1, {0xc001f6f520, 0x2, 0x752b86dfb3?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/load.go:137 +0xcac
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc00292bb00, {0x9489cc0, 0xc002ec84b0}, 0x1)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 71083
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/session.go:275 +0x1485
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-02-26 21:13 darwin-amd64-longtest tools@9b589093 go@fc0d9a4b x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/5a9b8d44959a55d710d95738ca87dc8add16ed9c">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49319
    serve.go:441: debug server listening at http://localhost:49320
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 63660 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00938bb60)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:442 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0x2813978, 0xc00799aed0}, 0xc00cd33080)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:375 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc002062018, {0x2813978, 0xc00799aed0}, {0x280a748, 0xc00799b1a0}, {0x280a748, 0xc00799b1d0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:270 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc002061fe0?, {0x2813978, 0xc00799aed0}, {0x280a748?, 0xc00799b1a0?}, {0x280a748, 0xc00799b1d0})
    ...
    golang.org/x/tools/go/packages.Load(0xc002bfdb00?, {0xc007c34c00, 0x2, 0x2})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc002bfdb00, {0x28139b0, 0xc00141b4a0}, 0x1, {0xc007c34bc0, 0x2, 0x30?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/load.go:137 +0xcac
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc002bfdb00, {0x28139b0, 0xc00141b4a0}, 0x1)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 63633
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/session.go:275 +0x1485
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-02-26 17:42 x_tools-gotip-openbsd-amd64 tools@509ff8bf go@5bce5362 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8755006806982025217">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 43789): see golang/go#54461 for more details

    goroutine 4027 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2930304936/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12f0ba8, 0xc007c9dd10}, 0xc000422dc0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2930304936/internal/gocommand/invoke.go:375 +0x8df
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0079b6018, {0x12f0ba8, 0xc007c9dd10}, {0x12e78e0, 0xc007c9de30}, {0x12e78e0, 0xc007c9de60})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2930304936/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc003fb0a20?, {0xc003ff73a0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2930304936/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc003fb0a20, {0x12f0be0, 0xc003f95770}, 0x1, {0xc003ff7380, 0x2, 0x24bf8203a5?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2930304936/gopls/internal/cache/load.go:137 +0xcac
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc003fb0a20, {0x12f0be0, 0xc003f95770}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2930304936/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2930304936/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 4021
        /home/swarming/.swarming/w/ir/x/w/targetrepo2930304936/gopls/internal/cache/session.go:275 +0x1485
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-02-28 21:26 x_tools-go1.21-openbsd-amd64 tools@38b0e9bf release-branch.go1.21@3643147a x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8754814154990371153">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 61806): see golang/go#54461 for more details

    goroutine 3973 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3839027916/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12c6b00, 0xc003ef10e0}, 0xc003efc420)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3839027916/internal/gocommand/invoke.go:375 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0078c9e68, {0x12c6b00, 0xc003ef10e0}, {0x12bdf20?, 0xc003ef1200}, {0x12bdf20?, 0xc003ef1230})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3839027916/internal/gocommand/invoke.go:270 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc003d718c0?, {0xc0078ae620, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3839027916/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc003d718c0, {0x12c6b38, 0xc0076e6c30}, 0x1, {0xc0078ae600, 0x2, 0xc0003a6e48?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3839027916/gopls/internal/cache/load.go:137 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc003d718c0, {0x12c6b38, 0xc0076e6c30}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3839027916/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3839027916/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 3986
        /home/swarming/.swarming/w/ir/x/w/targetrepo3839027916/gopls/internal/cache/session.go:275 +0x1532
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-02-28 22:27 x_tools-gotip-openbsd-amd64 tools@7f348c7a go@45b641ce x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8754741086655520417">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 57033): see golang/go#54461 for more details

    goroutine 4149 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3501417043/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12fd908, 0xc007dc6ed0}, 0xc007dd6160)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3501417043/internal/gocommand/invoke.go:375 +0x8df
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007dd2018, {0x12fd908, 0xc007dc6ed0}, {0x12f4600, 0xc007dc6ff0}, {0x12f4600, 0xc007dc7020})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3501417043/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc003b5d200?, {0xc007d816e0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3501417043/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc003b5d200, {0x12fd940, 0xc007d8eaf0}, 0x1, {0xc007d816c0, 0x2, 0x21089b2ede?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3501417043/gopls/internal/cache/load.go:137 +0xcac
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc003b5d200, {0x12fd940, 0xc007d8eaf0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3501417043/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3501417043/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 4143
        /home/swarming/.swarming/w/ir/x/w/targetrepo3501417043/gopls/internal/cache/session.go:275 +0x1485
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-02-29 21:45 x_tools-go1.22-windows-amd64-race tools@5bf7d005 release-branch.go1.22@16830ab4 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens/Upgrade_direct_dependencies/default [ABORT] (<a href="https://ci.chromium.org/b/8754722343872409105">log</a>)</summary>

    === RUN   TestUpgradeCodelens/Upgrade_direct_dependencies/default
    panic: detected hanging go command (pid 5292): see golang/go#54461 for more details

    goroutine 558 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo2547762351/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417754a8, 0xc0004bc0f0}, 0xc0006a0160)
        C:/b/s/w/ir/x/w/targetrepo2547762351/internal/gocommand/invoke.go:375 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00061b860, {0x1417754a8, 0xc0004bc0f0}, {0x14176c760, 0xc0004bc210}, {0x14176c760, 0xc0004bc240})
        C:/b/s/w/ir/x/w/targetrepo2547762351/internal/gocommand/invoke.go:270 +0x1710
    ...
    golang.org/x/tools/go/packages.Load(0xc000645290, {0xc00038ccc0, 0x3, 0x4})
        C:/b/s/w/ir/x/w/targetrepo2547762351/go/packages/packages.go:225 +0x85
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc0007a7e60, {0x1417754e0, 0xc00009ad70}, 0x1, {0xc00038cc00, 0x3, 0xc000a55c70?})
        C:/b/s/w/ir/x/w/targetrepo2547762351/gopls/internal/cache/load.go:137 +0x11c5
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc0007a7e60, {0x1417754e0, 0xc00009ad70}, 0x1)
        C:/b/s/w/ir/x/w/targetrepo2547762351/gopls/internal/cache/view.go:720 +0x5e5
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        C:/b/s/w/ir/x/w/targetrepo2547762351/gopls/internal/cache/session.go:277 +0x76
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 562
        C:/b/s/w/ir/x/w/targetrepo2547762351/gopls/internal/cache/session.go:275 +0x286e
</details>

<details><summary>2024-02-29 21:45 x_tools-go1.22-windows-amd64-race tools@5bf7d005 release-branch.go1.22@16830ab4 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc/default [ABORT] (<a href="https://ci.chromium.org/b/8754722343872409105">log</a>)</summary>

    === RUN   TestFuzzFunc/default
    panic: detected hanging go command (pid 8608): see golang/go#54461 for more details

    goroutine 919 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo2547762351/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417ae468, 0xc001588c00}, 0xc00023c000)
        C:/b/s/w/ir/x/w/targetrepo2547762351/internal/gocommand/invoke.go:375 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000ec73e0, {0x1417ae468, 0xc001588c00}, {0x1417a56c0, 0xc001588d20}, {0x1417a56c0, 0xc001588d50})
        C:/b/s/w/ir/x/w/targetrepo2547762351/internal/gocommand/invoke.go:270 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000ec73e0, {0x1417ae468, 0xc001588c00}, {0x1417a56c0, 0xc001588d20}, {0x1417a56c0, 0xc001588d50})
        C:/b/s/w/ir/x/w/targetrepo2547762351/internal/gocommand/invoke.go:179 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc000403200, {0x1417ae468, 0xc001588c00}, {{0x1413dc0f9, 0x3}, {0xc0004fee50, 0x1, 0x1}, {0x141f7bf20, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2547762351/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc000403200, {0x1417ae468, 0xc001588a80}, {{0x1413dc0f9, 0x3}, {0xc0004fee50, 0x1, 0x1}, {0x141f7bf20, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2547762351/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc000403200, {0x1417ae468, 0xc001588930}, {{0x1413dc0f9, 0x3}, {0xc0004fee50, 0x1, 0x1}, {0x141f7bf20, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2547762351/internal/gocommand/invoke.go:71 +0x3b0
    golang.org/x/tools/gopls/internal/cache.modTidyImpl({0x1417ae4a0, 0xc00009c690}, 0xc000624b40, {0xc000f98be0, 0x46}, 0xc0001152c0)
        C:/b/s/w/ir/x/w/targetrepo2547762351/gopls/internal/cache/mod_tidy.go:118 +0x47c
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x1417ae4a0, 0xc00009c690}, {0x1413d7de0, 0xc000624b40})
        C:/b/s/w/ir/x/w/targetrepo2547762351/gopls/internal/cache/mod_tidy.go:81 +0x9c
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        C:/b/s/w/ir/x/w/targetrepo2547762351/internal/memoize/memoize.go:187 +0xda
    runtime/trace.WithRegion({0x1417ae4a0, 0xc00009c690}, {0xc000c82228, 0x13}, 0xc000b69f80)
        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/targetrepo2547762351/internal/memoize/memoize.go:180 +0x1d8
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 918
        C:/b/s/w/ir/x/w/targetrepo2547762351/internal/memoize/memoize.go:179 +0x352
</details>

<details><summary>2024-02-29 21:45 x_tools-go1.22-windows-amd64-race tools@5bf7d005 release-branch.go1.22@16830ab4 x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer/default [ABORT] (<a href="https://ci.chromium.org/b/8754722343872409105">log</a>)</summary>

    === RUN   TestTimeFormatAnalyzer/default
    panic: detected hanging go command (pid 9144): see golang/go#54461 for more details

    goroutine 709 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo2547762351/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417917a8, 0xc000c18990}, 0xc000dd8160)
        C:/b/s/w/ir/x/w/targetrepo2547762351/internal/gocommand/invoke.go:375 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000de93e0, {0x1417917a8, 0xc000c18990}, {0x141788a80, 0xc000c18ab0}, {0x141788a80, 0xc000c18ae0})
        C:/b/s/w/ir/x/w/targetrepo2547762351/internal/gocommand/invoke.go:270 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000de93e0, {0x1417917a8, 0xc000c18990}, {0x141788a80, 0xc000c18ab0}, {0x141788a80, 0xc000c18ae0})
        C:/b/s/w/ir/x/w/targetrepo2547762351/internal/gocommand/invoke.go:179 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00032cb00, {0x1417917a8, 0xc000c18990}, {{0x1413c306d, 0x3}, {0xc0012861a0, 0x1, 0x1}, {0x141f5d360, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2547762351/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00032cb00, {0x1417917a8, 0xc000c18810}, {{0x1413c306d, 0x3}, {0xc0012861a0, 0x1, 0x1}, {0x141f5d360, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2547762351/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc00032cb00, {0x1417917a8, 0xc000c186c0}, {{0x1413c306d, 0x3}, {0xc0012861a0, 0x1, 0x1}, {0x141f5d360, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2547762351/internal/gocommand/invoke.go:71 +0x3b0
    golang.org/x/tools/gopls/internal/cache.modTidyImpl({0x1417917e0, 0xc000329770}, 0xc0005d9560, {0xc00097f4a0, 0x50}, 0xc000120f80)
        C:/b/s/w/ir/x/w/targetrepo2547762351/gopls/internal/cache/mod_tidy.go:118 +0x47c
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x1417917e0, 0xc000329770}, {0x1413bed60, 0xc0005d9560})
        C:/b/s/w/ir/x/w/targetrepo2547762351/gopls/internal/cache/mod_tidy.go:81 +0x9c
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        C:/b/s/w/ir/x/w/targetrepo2547762351/internal/memoize/memoize.go:187 +0xda
    runtime/trace.WithRegion({0x1417917e0, 0xc000329770}, {0xc00063c0c0, 0x13}, 0xc000f35f80)
        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/targetrepo2547762351/internal/memoize/memoize.go:180 +0x1d8
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 654
        C:/b/s/w/ir/x/w/targetrepo2547762351/internal/memoize/memoize.go:179 +0x352
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-03-06 17:08 darwin-amd64-longtest tools@caf59401 go@1cce1a6a x/tools/gopls/internal/test/integration/modfile (<a href="https://build.golang.org/log/061a42b8b7dc563b2f013aa2ce1e1e04c04e59f1">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 45656): see golang/go#54461 for more details

    goroutine 24839 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00081f770)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:442 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0x37a6268, 0xc0006fdec0}, 0xc0004711e0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:375 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001aa55e8, {0x37a6268, 0xc0006fdec0}, {0x379d0f8, 0xc001782090}, {0x379d0f8, 0xc0017820c0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:270 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001aa55b0?, {0x37a6268, 0xc0006fdec0}, {0x379d0f8?, 0xc001782090?}, {0x379d0f8, 0xc0017820c0})
    ...
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x37a62a0, 0xc0017bb720}, {0x37930e0, 0xc00159f560})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/mod_tidy.go:81 +0x7e
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0x9c
    runtime/trace.WithRegion({0x37a62a0?, 0xc0017bb720?}, {0xc0012b2588, 0x13}, 0xc0013a4f80)
        /tmp/buildlet/go/src/runtime/trace/annotation.go:141 +0xdd
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x13b
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 24838
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x1a8
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-03-08 15:27 darwin-amd64-longtest tools@31f056a4 go@69583738 x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/2880a62e36ca1f7bab1b5adbb57abced3eb4bd89">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49344
    serve.go:441: debug server listening at http://localhost:49345
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 60468 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0074b0d50)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:442 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0x41b4338, 0xc001ec8450}, 0xc001d9b1e0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:375 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0010d5948, {0x41b4338, 0xc001ec8450}, {0x41ab0f8, 0xc001ec8570}, {0x41ab0f8, 0xc001ec85a0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:270 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0010d5910?, {0x41b4338, 0xc001ec8450}, {0x41ab0f8?, 0xc001ec8570?}, {0x41ab0f8, 0xc001ec85a0})
    ...
    golang.org/x/tools/gopls/internal/golang.NarrowestMetadataForFile({0x41b4338?, 0xc001f0da70?}, 0x5d?, {0xc00cb470e0, 0x5d})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/golang/snapshot.go:21 +0x4e
    golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedFiles(0xc000bd7ee8?, {0x41b4338, 0xc002980810}, 0xc00047b8c0, {0xc000ad8c90, 0x1, 0x2?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/server/diagnostics.go:268 +0x377
    golang.org/x/tools/gopls/internal/server.(*server).diagnoseSnapshot(0xc0010a4d00, 0xc00047b8c0, {0xc000ad8c90, 0x1, 0x1}, 0x989680)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/server/diagnostics.go:202 +0x2fb
    golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews.func1(0xc00047b8c0, {0xc000ad8c90?, 0x4013140?, 0xc000ad8e80?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/server/diagnostics.go:138 +0xaa
    created by golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews in goroutine 60467
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/server/diagnostics.go:135 +0x4f0
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-03-08 23:49 darwin-amd64-longtest tools@176e895e go@bc20704c x/tools/gopls/internal/test/integration/diagnostics (<a href="https://build.golang.org/log/346b05fd3386da85af4a85757285080ecea15541">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 48626): see golang/go#54461 for more details

    goroutine 73918 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc001d0c420)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:445 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0x71a9048, 0xc001047f20}, 0xc0009206e0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001d28028, {0x71a9048, 0xc001047f20}, {0x719fec8, 0xc005aea030}, {0x719fec8, 0xc005aea060})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001d27ff0?, {0x71a9048, 0xc001047f20}, {0x719fec8?, 0xc005aea030?}, {0x719fec8, 0xc005aea060})
    ...
    golang.org/x/tools/go/packages.Load(0xc001a9c120?, {0xc00493a000, 0x2, 0x2})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc001a9c120, {0x71a9080, 0xc00552a1e0}, 0x1, {0xc001729f40, 0x2, 0x2?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/load.go:137 +0xcac
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc001a9c120, {0x71a9080, 0xc00552a1e0}, 0x1)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 74021
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/session.go:275 +0x1485
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-03-08 17:07 darwin-amd64-longtest tools@c1789339 go@32014d54 x/tools/gopls/internal/test/integration/diagnostics (<a href="https://build.golang.org/log/7cfb14ea3a06e638ece31dfea8d0ae630d53fe43">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 48763): see golang/go#54461 for more details

    goroutine 75313 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0034481e0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:445 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0x6f8adc8, 0xc00637ab70}, 0xc00309ec60)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00057b8a0, {0x6f8adc8, 0xc00637ab70}, {0x6f81c48, 0xc00637ac90}, {0x6f81c48, 0xc00637acc0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00057b868?, {0x6f8adc8, 0xc00637ab70}, {0x6f81c48?, 0xc00637ac90?}, {0x6f81c48, 0xc00637acc0})
    ...
    golang.org/x/tools/gopls/internal/golang.NarrowestMetadataForFile({0x6f8adc8?, 0xc00637a0c0?}, 0x66?, {0xc002ea2a10, 0x66})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/golang/snapshot.go:21 +0x4e
    golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedFiles(0xc0009edee8?, {0x6f8adc8, 0xc002fe5f20}, 0xc002d4afc0, {0xc00274d050, 0x1, 0x2?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/server/diagnostics.go:268 +0x377
    golang.org/x/tools/gopls/internal/server.(*server).diagnoseSnapshot(0xc005839900, 0xc002d4afc0, {0xc00274d050, 0x1, 0x1}, 0x989680)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/server/diagnostics.go:202 +0x2fb
    golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews.func1(0xc002d4afc0, {0xc00274d050?, 0x61b62a4?, 0x2b?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/server/diagnostics.go:138 +0xaa
    created by golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews in goroutine 75167
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/server/diagnostics.go:135 +0x4f0
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-03-05 15:19 x_tools-go1.22-windows-amd64-race tools@98c835c3 release-branch.go1.22@16830ab4 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens/Upgrade_transitive_dependencies/default [ABORT] (<a href="https://ci.chromium.org/b/8754293693961505377">log</a>)</summary>

    === RUN   TestUpgradeCodelens/Upgrade_transitive_dependencies/default
    panic: detected hanging go command (pid 5860): see golang/go#54461 for more details

    goroutine 492 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo1151084255/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x141776ae8, 0xc000bd5620}, 0xc00070adc0)
        C:/b/s/w/ir/x/w/targetrepo1151084255/internal/gocommand/invoke.go:375 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000be3820, {0x141776ae8, 0xc000bd5620}, {0x14176dda0, 0xc000bd5740}, {0x14176dda0, 0xc000bd5770})
        C:/b/s/w/ir/x/w/targetrepo1151084255/internal/gocommand/invoke.go:270 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000be3820, {0x141776ae8, 0xc000bd5620}, {0x14176dda0, 0xc000bd5740}, {0x14176dda0, 0xc000bd5770})
        C:/b/s/w/ir/x/w/targetrepo1151084255/internal/gocommand/invoke.go:179 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc000842500, {0x141776ae8, 0xc000bd5620}, {{0x1413ad33d, 0x4}, {0xc0008b7980, 0x4, 0x4}, {0x141f35d60, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1151084255/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc000842500, {0x141776b20, 0xc000776000}, {{0x1413ad33d, 0x4}, {0xc0008b7980, 0x4, 0x4}, {0x141f35d60, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1151084255/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/go/internal/packagesdriver.GetSizesForArgsGolist({0x141776b20, 0xc000776000}, {{0x1413ad33d, 0x4}, {0xc0008b7980, 0x4, 0x4}, {0x141f35d60, 0x0, 0x0}, ...}, ...)
        C:/b/s/w/ir/x/w/targetrepo1151084255/go/internal/packagesdriver/sizes.go:19 +0x1d0
    golang.org/x/tools/go/packages.goListDriver.func1()
        C:/b/s/w/ir/x/w/targetrepo1151084255/go/packages/golist.go:152 +0x2eb
    created by golang.org/x/tools/go/packages.goListDriver in goroutine 446
        C:/b/s/w/ir/x/w/targetrepo1151084255/go/packages/golist.go:151 +0x5d6
</details>

<details><summary>2024-03-05 15:19 x_tools-go1.22-windows-amd64-race tools@98c835c3 release-branch.go1.22@16830ab4 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc/default [ABORT] (<a href="https://ci.chromium.org/b/8754293693961505377">log</a>)</summary>

    === RUN   TestFuzzFunc/default
    panic: detected hanging go command (pid 8512): see golang/go#54461 for more details

    goroutine 886 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo1151084255/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417afaa8, 0xc00067da40}, 0xc000fde420)
        C:/b/s/w/ir/x/w/targetrepo1151084255/internal/gocommand/invoke.go:375 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000c3b3e0, {0x1417afaa8, 0xc00067da40}, {0x1417a6d00, 0xc00067db60}, {0x1417a6d00, 0xc00067db90})
        C:/b/s/w/ir/x/w/targetrepo1151084255/internal/gocommand/invoke.go:270 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000c3b3e0, {0x1417afaa8, 0xc00067da40}, {0x1417a6d00, 0xc00067db60}, {0x1417a6d00, 0xc00067db90})
        C:/b/s/w/ir/x/w/targetrepo1151084255/internal/gocommand/invoke.go:179 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0006cdac0, {0x1417afaa8, 0xc00067da40}, {{0x1413dd379, 0x3}, {0xc00018eee0, 0x1, 0x1}, {0x141f7cf20, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1151084255/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc0006cdac0, {0x1417afaa8, 0xc00067d890}, {{0x1413dd379, 0x3}, {0xc00018eee0, 0x1, 0x1}, {0x141f7cf20, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1151084255/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc0006cdac0, {0x1417afaa8, 0xc0008427e0}, {{0x1413dd379, 0x3}, {0xc00018eee0, 0x1, 0x1}, {0x141f7cf20, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1151084255/internal/gocommand/invoke.go:71 +0x3b0
    golang.org/x/tools/gopls/internal/cache.modTidyImpl({0x1417afae0, 0xc000abe1e0}, 0xc0006dc120, {0xc0005e60a0, 0x46}, 0xc000481880)
        C:/b/s/w/ir/x/w/targetrepo1151084255/gopls/internal/cache/mod_tidy.go:118 +0x47c
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x1417afae0, 0xc000abe1e0}, {0x1413d9060, 0xc0006dc120})
        C:/b/s/w/ir/x/w/targetrepo1151084255/gopls/internal/cache/mod_tidy.go:81 +0x9c
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        C:/b/s/w/ir/x/w/targetrepo1151084255/internal/memoize/memoize.go:187 +0xda
    runtime/trace.WithRegion({0x1417afae0, 0xc000abe1e0}, {0xc000638018, 0x13}, 0xc00043bf80)
        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/targetrepo1151084255/internal/memoize/memoize.go:180 +0x1d8
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 885
        C:/b/s/w/ir/x/w/targetrepo1151084255/internal/memoize/memoize.go:179 +0x352
</details>

<details><summary>2024-03-05 15:19 x_tools-go1.22-windows-amd64-race tools@98c835c3 release-branch.go1.22@16830ab4 x/tools/gopls/internal/test/integration/inlayhints.TestEnablingInlayHints/enable_const/default [ABORT] (<a href="https://ci.chromium.org/b/8754293693961505377">log</a>)</summary>

    === RUN   TestEnablingInlayHints/enable_const/default
    panic: detected hanging go command (pid 9164): see golang/go#54461 for more details

    goroutine 264 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo1151084255/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x14176b688, 0xc000669110}, 0xc0002142c0)
        C:/b/s/w/ir/x/w/targetrepo1151084255/internal/gocommand/invoke.go:375 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000747820, {0x14176b688, 0xc000669110}, {0x141762940, 0xc000669230}, {0x141762940, 0xc000669260})
        C:/b/s/w/ir/x/w/targetrepo1151084255/internal/gocommand/invoke.go:270 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000747820, {0x14176b688, 0xc000669110}, {0x141762940, 0xc000669230}, {0x141762940, 0xc000669260})
        C:/b/s/w/ir/x/w/targetrepo1151084255/internal/gocommand/invoke.go:179 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc000787c60, {0x14176b688, 0xc000669110}, {{0x1413a3671, 0x4}, {0xc0001f38c0, 0x4, 0x4}, {0x141f26ce0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1151084255/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc000787c60, {0x14176b6c0, 0xc00038cd70}, {{0x1413a3671, 0x4}, {0xc0001f38c0, 0x4, 0x4}, {0x141f26ce0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1151084255/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/go/internal/packagesdriver.GetSizesForArgsGolist({0x14176b6c0, 0xc00038cd70}, {{0x1413a3671, 0x4}, {0xc0001f38c0, 0x4, 0x4}, {0x141f26ce0, 0x0, 0x0}, ...}, ...)
        C:/b/s/w/ir/x/w/targetrepo1151084255/go/internal/packagesdriver/sizes.go:19 +0x1d0
    golang.org/x/tools/go/packages.goListDriver.func1()
        C:/b/s/w/ir/x/w/targetrepo1151084255/go/packages/golist.go:152 +0x2eb
    created by golang.org/x/tools/go/packages.goListDriver in goroutine 295
        C:/b/s/w/ir/x/w/targetrepo1151084255/go/packages/golist.go:151 +0x5d6
</details>

<details><summary>2024-03-07 20:03 x_tools-gotip-openbsd-amd64 tools@b3a5e0bd go@c57b18b4 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8754087324269496849">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 47554): see golang/go#54461 for more details

    goroutine 4047 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo817607242/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1323388, 0xc005305bf0}, 0xc000910840)
        /home/swarming/.swarming/w/ir/x/w/targetrepo817607242/internal/gocommand/invoke.go:375 +0x8df
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc005512028, {0x1323388, 0xc005305bf0}, {0x131a080, 0xc005305d10}, {0x131a080, 0xc005305d40})
        /home/swarming/.swarming/w/ir/x/w/targetrepo817607242/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc0020c6d80?, {0xc0053f2be0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo817607242/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc0020c6d80, {0x13233c0, 0xc00391d900}, 0x1, {0xc0053f2bc0, 0x2, 0x1dc9c04635?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo817607242/gopls/internal/cache/load.go:137 +0xcac
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc0020c6d80, {0x13233c0, 0xc00391d900}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo817607242/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo817607242/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 4041
        /home/swarming/.swarming/w/ir/x/w/targetrepo817607242/gopls/internal/cache/session.go:275 +0x1485
</details>

<details><summary>2024-03-08 16:23 x_tools-gotip-openbsd-amd64 tools@9b64301e go@69583738 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8754017832353814833">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 63000): see golang/go#54461 for more details

    goroutine 4082 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2377854617/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x13236a8, 0xc007c084e0}, 0xc0004f0b00)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2377854617/internal/gocommand/invoke.go:375 +0x8df
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007c8a028, {0x13236a8, 0xc007c084e0}, {0x131a3a0, 0xc007c08600}, {0x131a3a0, 0xc007c08630})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2377854617/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc007b90a20?, {0xc007bdeb00, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2377854617/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc007b90a20, {0x13236e0, 0xc007bd65f0}, 0x1, {0xc007bdeae0, 0x2, 0x1cde6038d6?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2377854617/gopls/internal/cache/load.go:137 +0xcac
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc007b90a20, {0x13236e0, 0xc007bd65f0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2377854617/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2377854617/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 3852
        /home/swarming/.swarming/w/ir/x/w/targetrepo2377854617/gopls/internal/cache/session.go:275 +0x1485
</details>

<details><summary>2024-03-08 16:29 x_tools-gotip-openbsd-amd64 tools@9e530fc6 go@c8c46e74 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8754016836385592801">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 71781): see golang/go#54461 for more details

    goroutine 4095 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo553469189/internal/gocommand/invoke.go:442
    golang.org/x/tools/internal/gocommand.runCmdContext({0x13236c8, 0xc0023460c0}, 0xc003880000)
        /home/swarming/.swarming/w/ir/x/w/targetrepo553469189/internal/gocommand/invoke.go:375 +0x8df
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001774028, {0x13236c8, 0xc0023460c0}, {0x131a3c0, 0xc002346240}, {0x131a3c0, 0xc002346270})
        /home/swarming/.swarming/w/ir/x/w/targetrepo553469189/internal/gocommand/invoke.go:270 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc002e4fb00?, {0xc0013a7280, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo553469189/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc002e4fb00, {0x1323700, 0xc0026b8550}, 0x1, {0xc0013a7260, 0x2, 0x1ec574e3e6?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo553469189/gopls/internal/cache/load.go:137 +0xcac
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc002e4fb00, {0x1323700, 0xc0026b8550}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo553469189/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo553469189/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 4089
        /home/swarming/.swarming/w/ir/x/w/targetrepo553469189/gopls/internal/cache/session.go:275 +0x1485
</details>

<details><summary>2024-03-08 19:54 x_tools-go1.22-openbsd-amd64 tools@c6563ca6 release-branch.go1.22@db6097f8 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8754004606616694225">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 31972): see golang/go#54461 for more details

    goroutine 4359 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3443837169/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1338328, 0xc00240e750}, 0xc00031d760)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3443837169/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001db6018, {0x1338328, 0xc00240e750}, {0x132f740, 0xc00240e870}, {0x132f740, 0xc00240e8a0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3443837169/internal/gocommand/invoke.go:273 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc00045de60?, {0xc0019fe300, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3443837169/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc00045de60, {0x1338360, 0xc003acaaa0}, 0x1, {0xc0019fe2e0, 0x2, 0x26325925aa?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3443837169/gopls/internal/cache/load.go:137 +0xcac
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc00045de60, {0x1338360, 0xc003acaaa0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3443837169/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3443837169/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 4193
        /home/swarming/.swarming/w/ir/x/w/targetrepo3443837169/gopls/internal/cache/session.go:275 +0x1485
</details>

<details><summary>2024-03-08 23:49 x_tools-gotip-openbsd-amd64 tools@176e895e go@ed08d01d x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8753742232613738577">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 38353): see golang/go#54461 for more details

    goroutine 4420 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1343246631/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1324848, 0xc001baea50}, 0xc0031542c0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1343246631/internal/gocommand/invoke.go:378 +0x8df
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001878028, {0x1324848, 0xc001baea50}, {0x131b540, 0xc001baeb70}, {0x131b540, 0xc001baeba0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1343246631/internal/gocommand/invoke.go:273 +0x1012
    ...
    golang.org/x/tools/go/packages.Load(0xc004349d40?, {0xc000e78d20, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1343246631/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc004349d40, {0x1324880, 0xc002646cd0}, 0x1, {0xc000e78d00, 0x2, 0x225e3604f0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1343246631/gopls/internal/cache/load.go:137 +0xcac
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc004349d40, {0x1324880, 0xc002646cd0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1343246631/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1343246631/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 4398
        /home/swarming/.swarming/w/ir/x/w/targetrepo1343246631/gopls/internal/cache/session.go:275 +0x1485
</details>

<details><summary>2024-03-11 17:33 x_tools-go1.21-openbsd-amd64 tools@f89da538 release-branch.go1.21@63992def x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8753741661186092481">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 92319): see golang/go#54461 for more details

    goroutine 3898 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo681784592/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x12f0500, 0xc0085b2ae0}, 0xc00402b760)
        /home/swarming/.swarming/w/ir/x/w/targetrepo681784592/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0086c3e68, {0x12f0500, 0xc0085b2ae0}, {0x12e7920?, 0xc0085b2c00}, {0x12e7920?, 0xc0085b2c30})
        /home/swarming/.swarming/w/ir/x/w/targetrepo681784592/internal/gocommand/invoke.go:273 +0xfaf
    ...
    golang.org/x/tools/go/packages.Load(0xc0041ce5a0?, {0xc0041f35a0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo681784592/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc0041ce5a0, {0x12f0538, 0xc0086966e0}, 0x1, {0xc0041f3580, 0x2, 0x1905fd1c67?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo681784592/gopls/internal/cache/load.go:137 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc0041ce5a0, {0x12f0538, 0xc0086966e0}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo681784592/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo681784592/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 3892
        /home/swarming/.swarming/w/ir/x/w/targetrepo681784592/gopls/internal/cache/session.go:275 +0x1532
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: findleyr**

This seems to be occurring more frequently now, perhaps due to telemetry? @matloob we should investigate.

**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-03-14 17:37 darwin-amd64-longtest tools@e2567148 go@0159150a x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/f5f175d645618d045c81ae2b38e0583afe50c1b9">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49355
    serve.go:441: debug server listening at http://localhost:49356
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 66557 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00072ebd0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:445 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0x77db918, 0xc0021f58c0}, 0xc00ab7f760)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00096e028, {0x77db918, 0xc0021f58c0}, {0x77d26d8, 0xc0021f5b00}, {0x77d26d8, 0xc0021f5b30})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00096dff0?, {0x77db918, 0xc0021f58c0}, {0x77d26d8?, 0xc0021f5b00?}, {0x77d26d8, 0xc0021f5b30})
    ...
    golang.org/x/tools/go/packages.Load(0xc0021ba360?, {0xc001bdbd20, 0x2, 0x2})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:225 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc0021ba360, {0x77db950, 0xc0029c5220}, 0x1, {0xc001bdbd00, 0x2, 0x30?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/load.go:137 +0xcac
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc0021ba360, {0x77db950, 0xc0029c5220}, 0x1)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 66460
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/session.go:275 +0x1485
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-03-18 19:15 darwin-amd64-longtest tools@56284432 go@dc6a5cfc x/tools/gopls/internal/test/integration/diagnostics (<a href="https://build.golang.org/log/a26f3b7d0024c2fd932952591ee9226fe833f474">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 48421): see golang/go#54461 for more details

    goroutine 75206 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc002cc2990)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:445 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0xc27ce88, 0xc00600d9e0}, 0xc002dce000)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00033ac00, {0xc27ce88, 0xc00600d9e0}, {0xc273d18, 0xc00600db00}, {0xc273d18, 0xc00600db30})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00033abc8?, {0xc27ce88, 0xc00600d9e0}, {0xc273d18?, 0xc00600db00?}, {0xc273d18, 0xc00600db30})
    ...
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc005399220, {0xc000361a00, 0x1, 0x1})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0000900e8, {0xc0003618d0, 0x1, 0x100000001?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 74469
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-03-18 19:15 darwin-amd64-longtest tools@56284432 go@dc6a5cfc x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/a26f3b7d0024c2fd932952591ee9226fe833f474">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49347
    serve.go:441: debug server listening at http://localhost:49348
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 64479 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00be3afc0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:445 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0xdd294d8, 0xc0035b23f0}, 0xc002eca000)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00065ec00, {0xdd294d8, 0xc0035b23f0}, {0xdd20288, 0xc0035b2540}, {0xdd20288, 0xc0035b2570})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00065ebc8?, {0xdd294d8, 0xc0035b23f0}, {0xdd20288?, 0xc0035b2540?}, {0xdd20288, 0xc0035b2570})
    ...
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc001a303c0, {0xc001e75840, 0x2, 0x2})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc001058008, {0xc001e75760, 0x2, 0x0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 64476
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-03-18 20:56 x_tools-go1.21-openbsd-amd64 tools@f3fcceee release-branch.go1.21@140b37d6 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8753094710501416129">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 54904): see golang/go#54461 for more details

    goroutine 4115 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo566069751/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1313560, 0xc0075c96e0}, 0xc000f87340)
        /home/swarming/.swarming/w/ir/x/w/targetrepo566069751/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc003a02aa8, {0x1313560, 0xc0075c96e0}, {0x130a7e0?, 0xc0075c9800}, {0x130a7e0?, 0xc0075c9830})
        /home/swarming/.swarming/w/ir/x/w/targetrepo566069751/internal/gocommand/invoke.go:273 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc003a02a70?, {0x1313560, 0xc0075c96e0}, {0x130a7e0?, 0xc0075c9800?}, {0x130a7e0?, 0xc0075c9830?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo566069751/internal/gocommand/invoke.go:182 +0x59
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00416c8a0, {0x1313560, 0xc0075c96e0}, {{0x1021f1a, 0x4}, {0xc003f641c0, 0xb, 0xe}, {0x19f83a0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo566069751/internal/gocommand/invoke.go:121 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x8b75ea?, {0x1313608, 0xc000534bd0}, {{0x1021f1a, 0x4}, {0xc003f641c0, 0xb, 0xe}, {0x19f83a0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo566069751/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0032c2a00?, {0x1021f1a?, 0x4?}, {0xc003f641c0?, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo566069751/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0032c2a00, {0xc00416c8c0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo566069751/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc00780c008, {0xc00416c7e0, 0x2, 0xc0004f8c60?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo566069751/go/packages/golist.go:200 +0x7af
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo566069751/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4032
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-03-16 22:28 darwin-amd64-longtest tools@29d17a05 go@b40dc30d x/tools/gopls/internal/test/integration/diagnostics (<a href="https://build.golang.org/log/dd272d6c8e87eb3ac497b34c97c817922fa78855">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 48976): see golang/go#54461 for more details

    goroutine 75614 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00356d890)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:445 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8b98ec8, 0xc00419b890}, 0xc00105f600)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000adcc00, {0x8b98ec8, 0xc00419b890}, {0x8b8fd58, 0xc00419b9e0}, {0x8b8fd58, 0xc00419ba10})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000adcbc8?, {0x8b98ec8, 0xc00419b890}, {0x8b8fd58?, 0xc00419b9e0?}, {0x8b8fd58, 0xc00419ba10})
    ...
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc003235ae0, {0xc007b47470, 0x1, 0x1})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0001f0548, {0xc007b47340, 0x1, 0x100000001?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 75601
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-03-18 20:56 x_tools-gotip-openbsd-amd64 tools@c21ae4ca go@cb12198d x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8753026327851573553">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 57173): see golang/go#54461 for more details

    goroutine 4534 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1219613880/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x134aee8, 0xc007cbb2c0}, 0xc003d21340)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1219613880/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0029ccc00, {0x134aee8, 0xc007cbb2c0}, {0x1341a20, 0xc007cbb3e0}, {0x1341a20, 0xc007cbb410})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1219613880/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0029ccbc8?, {0x134aee8, 0xc007cbb2c0}, {0x1341a20?, 0xc007cbb3e0?}, {0x1341a20, 0xc007cbb410})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1219613880/internal/gocommand/invoke.go:182 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0050ffbc0, {0x134aee8, 0xc007cbb2c0}, {{0x105b4c7, 0x4}, {0xc003c30380, 0xb, 0xe}, {0x1a9a040, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1219613880/internal/gocommand/invoke.go:121 +0x165
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc0050ffbc0, {0x134af90, 0xc00033f9d0}, {{0x105b4c7, 0x4}, {0xc003c30380, 0xb, 0xe}, {0x1a9a040, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1219613880/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc007c121e0?, {0x105b4c7?, 0x4?}, {0xc003c30380, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1219613880/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc007c121e0, {0xc0050ffbe0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1219613880/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc003d187e8, {0xc0050ffb00, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1219613880/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1219613880/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4060
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-03-19 18:53 x_tools-gotip-windows-amd64-race tools@813e70a9 go@8f7df225 x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer/default [ABORT] (<a href="https://ci.chromium.org/b/8753011827523566657">log</a>)</summary>

    === RUN   TestTimeFormatAnalyzer/default
    panic: detected hanging go command (pid 10080): see golang/go#54461 for more details

    goroutine 3115 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo3699051955/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417ba7e8, 0x141fd1e20}, 0xc0018a1080)
        C:/b/s/w/ir/x/w/targetrepo3699051955/internal/gocommand/invoke.go:378 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc002381060, {0x1417ba7e8, 0x141fd1e20}, {0x1417b1160, 0xc002238510}, {0x1417b1160, 0xc002238540})
        C:/b/s/w/ir/x/w/targetrepo3699051955/internal/gocommand/invoke.go:273 +0x1710
    ...
    golang.org/x/tools/internal/imports.newModuleResolver(0xc0004de990, 0xc000009068)
        C:/b/s/w/ir/x/w/targetrepo3699051955/internal/imports/mod.go:123 +0x72c
    golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver(0xc0004de990)
        C:/b/s/w/ir/x/w/targetrepo3699051955/internal/imports/fix.go:1000 +0x16e
    golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv(0xc00017dc20)
        C:/b/s/w/ir/x/w/targetrepo3699051955/gopls/internal/cache/imports.go:210 +0xf9
    golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1()
        C:/b/s/w/ir/x/w/targetrepo3699051955/gopls/internal/cache/imports.go:57 +0x5a
    created by time.goFunc
        C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:214 +0x45
</details>

<details><summary>2024-03-19 18:53 x_tools-gotip-windows-amd64-race tools@813e70a9 go@8f7df225 x/tools/gopls/internal/test/integration/modfile.TestModFileModification/basic/default/default [ABORT] (<a href="https://ci.chromium.org/b/8753011827523566657">log</a>)</summary>

    === RUN   TestModFileModification/basic/default/default
    panic: detected hanging go command (pid 7760): see golang/go#54461 for more details

    goroutine 150 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo3699051955/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417b3f68, 0xc00054b260}, 0xc0000a2b00)
        C:/b/s/w/ir/x/w/targetrepo3699051955/internal/gocommand/invoke.go:378 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00078e848, {0x1417b3f68, 0xc00054b260}, {0x1417aa9c0, 0xc00054b380}, {0x1417aa9c0, 0xc00054b3b0})
        C:/b/s/w/ir/x/w/targetrepo3699051955/internal/gocommand/invoke.go:273 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00078e848, {0x1417b3f68, 0xc00054b260}, {0x1417aa9c0, 0xc00054b380}, {0x1417aa9c0, 0xc00054b3b0})
        C:/b/s/w/ir/x/w/targetrepo3699051955/internal/gocommand/invoke.go:182 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0005485c0, {0x1417b3f68, 0xc00054b260}, {{0x141402a00, 0x4}, {0xc000272380, 0xb, 0xe}, {0x141fc79c0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo3699051955/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc0005485c0, {0x1417b4010, 0xc000427340}, {{0x141402a00, 0x4}, {0xc000272380, 0xb, 0xe}, {0x141fc79c0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo3699051955/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0002bf220, {0x141402a00, 0x4}, {0xc000272380, 0xb, 0xe})
        C:/b/s/w/ir/x/w/targetrepo3699051955/go/packages/golist.go:878 +0x5ab
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0002bf220, {0xc0005485e0, 0x2, 0x2})
        C:/b/s/w/ir/x/w/targetrepo3699051955/go/packages/golist.go:377 +0xd7
    golang.org/x/tools/go/packages.goListDriver(0xc0002722a8, {0xc000548500, 0x2, 0xc000713ed8?})
        C:/b/s/w/ir/x/w/targetrepo3699051955/go/packages/golist.go:200 +0xc5f
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        C:/b/s/w/ir/x/w/targetrepo3699051955/go/packages/packages.go:337 +0xa6
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:78 +0x92
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 163
        C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:75 +0x125
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-03-19 18:53 x_tools-gotip-openbsd-amd64 tools@813e70a9 go@8f7df225 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8753011829243808161">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 50574): see golang/go#54461 for more details

    goroutine 4455 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2104672351/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x134ae28, 0xc007e1fb00}, 0xc0004aac60)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2104672351/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00382ec00, {0x134ae28, 0xc007e1fb00}, {0x1341960, 0xc007e1fc20}, {0x1341960, 0xc007e1fc50})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2104672351/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00382ebc8?, {0x134ae28, 0xc007e1fb00}, {0x1341960?, 0xc007e1fc20?}, {0x1341960, 0xc007e1fc50})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2104672351/internal/gocommand/invoke.go:182 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc007fa87e0, {0x134ae28, 0xc007e1fb00}, {{0x105b4c7, 0x4}, {0xc007e4c000, 0xb, 0xe}, {0x1a9a040, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2104672351/internal/gocommand/invoke.go:121 +0x165
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc007fa87e0, {0x134aed0, 0xc000478690}, {{0x105b4c7, 0x4}, {0xc007e4c000, 0xb, 0xe}, {0x1a9a040, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2104672351/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc00383ce60?, {0x105b4c7?, 0x4?}, {0xc007e4c000, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2104672351/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00383ce60, {0xc007fa8800, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2104672351/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc007fb6008, {0xc007fa8720, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2104672351/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2104672351/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4452
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-03-19 19:46 x_tools-go1.21-openbsd-amd64 tools@dd526462 release-branch.go1.21@140b37d6 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8753008506568966865">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 84774): see golang/go#54461 for more details

    goroutine 4025 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1462500851/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x13134c0, 0xc003087860}, 0xc000866160)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1462500851/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0012faaa8, {0x13134c0, 0xc003087860}, {0x130a740?, 0xc003087a70}, {0x130a740?, 0xc003087aa0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1462500851/internal/gocommand/invoke.go:273 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0012faa70?, {0x13134c0, 0xc003087860}, {0x130a740?, 0xc003087a70?}, {0x130a740?, 0xc003087aa0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1462500851/internal/gocommand/invoke.go:182 +0x59
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc002cf1ee0, {0x13134c0, 0xc003087860}, {{0x1021f1a, 0x4}, {0xc00143c000, 0xb, 0xe}, {0x19f83a0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1462500851/internal/gocommand/invoke.go:121 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x8b766a?, {0x1313568, 0xc000460af0}, {{0x1021f1a, 0x4}, {0xc00143c000, 0xb, 0xe}, {0x19f83a0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1462500851/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc007612c80?, {0x1021f1a?, 0x4?}, {0xc00143c000?, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1462500851/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc007612c80, {0xc002cf1f00, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1462500851/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0012e8008, {0xc002cf1e20, 0x2, 0xc0007f2000?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1462500851/go/packages/golist.go:200 +0x7af
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1462500851/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4022
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-03-21 20:17 darwin-amd64-longtest tools@3f9badb7 go@27fdef61 x/tools/gopls/internal/test/integration/diagnostics (<a href="https://build.golang.org/log/d7f3cd2ee9a67371884bd03543ceacebb7b40e4d">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 61752): see golang/go#54461 for more details

    goroutine 75423 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc005424060)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:445 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0x38d8a28, 0xc00688c4e0}, 0xc0028ae2c0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000adca00, {0x38d8a28, 0xc00688c4e0}, {0x38cf6d8, 0xc00688c750}, {0x38cf6d8, 0xc00688c780})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000adc9c8?, {0x38d8a28, 0xc00688c4e0}, {0x38cf6d8?, 0xc00688c750?}, {0x38cf6d8, 0xc00688c780})
    ...
    golang.org/x/tools/gopls/internal/golang.NarrowestMetadataForFile({0x38d8a28?, 0xc0064a1bc0?}, 0x61?, {0xc0083010a0, 0x61})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/golang/snapshot.go:21 +0x4e
    golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedFiles(0xc001411ee8?, {0x38d8a28, 0xc004127bf0}, 0xc000dd8c60, {0xc001f09730, 0x1, 0xc000c0de68?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/server/diagnostics.go:268 +0x377
    golang.org/x/tools/gopls/internal/server.(*server).diagnoseSnapshot(0xc0002d4780, 0xc000dd8c60, {0xc001f09730, 0x1, 0x1}, 0x989680)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/server/diagnostics.go:202 +0x2fb
    golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews.func1(0xc000dd8c60, {0xc001f09730?, 0x0?, 0x0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/server/diagnostics.go:138 +0xaa
    created by golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews in goroutine 75532
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/server/diagnostics.go:135 +0x4f0
</details>

<details><summary>2024-03-21 20:17 darwin-amd64-longtest tools@3f9badb7 go@27fdef61 x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/d7f3cd2ee9a67371884bd03543ceacebb7b40e4d">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49332
    serve.go:441: debug server listening at http://localhost:49333
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 68985 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00211a1e0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:445 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0xd197258, 0xc000572a50}, 0xc00188bb80)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001cacc80, {0xd197258, 0xc000572a50}, {0xd18e940, 0xc0038e6060}, {0xd18dae8, 0xc006b2a1e0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000564380?, {0xd197258, 0xc000572a50}, {0xd18e940?, 0xc0038e6060?}, {0xd18dae8, 0xc006b2a1e0})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0xd197290, 0xc0039662d0}, 0xc00cf56630, {0xd1973e0, 0xc0016675c0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0xd197290, 0xc0039662d0}, 0xc00cf56630, {0xd1973e0, 0xc0016675c0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0xd197290, 0xc0039662d0}, 0xc00186a588, {0xd1973e0, 0xc0016675c0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:35 +0xc6
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 68931
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:100 +0x1c5
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-03-21 20:17 x_tools-go1.21-openbsd-amd64 tools@3f9badb7 release-branch.go1.21@140b37d6 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8752825364333619505">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 31587): see golang/go#54461 for more details

    goroutine 3943 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo386634281/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1316ba0, 0xc002df07b0}, 0xc003c9fce0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo386634281/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0038d8aa8, {0x1316ba0, 0xc002df07b0}, {0x130de20?, 0xc002df0900}, {0x130de20?, 0xc002df09c0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo386634281/internal/gocommand/invoke.go:273 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0038d8a70?, {0x1316ba0, 0xc002df07b0}, {0x130de20?, 0xc002df0900?}, {0x130de20?, 0xc002df09c0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo386634281/internal/gocommand/invoke.go:182 +0x59
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc004566ec0, {0x1316ba0, 0xc002df07b0}, {{0x102509a, 0x4}, {0xc00378c2a0, 0xb, 0xe}, {0x19fd3a0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo386634281/internal/gocommand/invoke.go:121 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x8b6e4a?, {0x1316c48, 0xc000130e70}, {{0x102509a, 0x4}, {0xc00378c2a0, 0xb, 0xe}, {0x19fd3a0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo386634281/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc001003d60?, {0x102509a?, 0x4?}, {0xc00378c2a0?, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo386634281/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc001003d60, {0xc004566ee0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo386634281/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc001bde0e8, {0xc004566e00, 0x2, 0xc000a4ebd0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo386634281/go/packages/golist.go:200 +0x7af
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo386634281/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 3917
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-03-25 21:28 x_tools-gotip-openbsd-amd64 tools@2c8dd3ec go@e7bdc881 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8752458539855530481">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 57756): see golang/go#54461 for more details

    goroutine 4504 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1908524631/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1357288, 0xc007db0180}, 0xc000c8cf20)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1908524631/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00531ac00, {0x1357288, 0xc007db0180}, {0x134dda0, 0xc007db02a0}, {0x134dda0, 0xc007db02d0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1908524631/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00531abc8?, {0x1357288, 0xc007db0180}, {0x134dda0?, 0xc007db02a0?}, {0x134dda0, 0xc007db02d0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1908524631/internal/gocommand/invoke.go:182 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc005083d60, {0x1357288, 0xc007db0180}, {{0x1066c27, 0x4}, {0xc007db8000, 0xb, 0xe}, {0x1aab040, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1908524631/internal/gocommand/invoke.go:121 +0x165
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc005083d60, {0x1357330, 0xc000376620}, {{0x1066c27, 0x4}, {0xc007db8000, 0xb, 0xe}, {0x1aab040, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1908524631/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc004df8640?, {0x1066c27?, 0x4?}, {0xc007db8000, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1908524631/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc004df8640, {0xc005083d80, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1908524631/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0006ee468, {0xc005083ca0, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1908524631/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1908524631/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4501
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Found new dashboard test flakes for:

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

<details><summary>2024-03-25 17:46 darwin-amd64-longtest tools@63b3b5af go@25aa45af x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/598c7718562b5c6fd6b47ab54bcf0f1cd4d522f5">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49316
    serve.go:441: debug server listening at http://localhost:49317
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 68858 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc000a9c600)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:445 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0xbc4a2f8, 0xc003497020}, 0xc000c051e0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000b08c80, {0xbc4a2f8, 0xc003497020}, {0xbc419e0, 0xc0028ae360}, {0xbc40b88, 0xc0026889f0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0014caa10?, {0xbc4a2f8, 0xc003497020}, {0xbc419e0?, 0xc0028ae360?}, {0xbc40b88, 0xc0026889f0})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0xbc4a330, 0xc002c022d0}, 0xc003b89e00, {0xbc4a480, 0xc0020a3540})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0xbc4a330, 0xc002c022d0}, 0xc003b89e00, {0xbc4a480, 0xc0020a3540})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0xbc4a330, 0xc002c022d0}, 0xc0033f99c8, {0xbc4a480, 0xc0020a3540})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:35 +0xc6
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 68801
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:100 +0x1c5
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-03-26 17:46 darwin-amd64-longtest tools@9ed98faa go@2860e018 x/tools/gopls/internal/test/integration/diagnostics (<a href="https://build.golang.org/log/1538486e0947067ec1fa62ce222f65dcbe8313f5">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 49057): see golang/go#54461 for more details

    goroutine 77000 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0015681e0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:445 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0x50e70c8, 0xc002966030}, 0xc000ecab00)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc003f9aa00, {0x50e70c8, 0xc002966030}, {0x50ddd78, 0xc002966180}, {0x50ddd78, 0xc0029661b0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc003f9a9c8?, {0x50e70c8, 0xc002966030}, {0x50ddd78?, 0xc002966180?}, {0x50ddd78, 0xc0029661b0})
    ...
    golang.org/x/tools/go/packages.(*golistState).runContainsQueries(0xc002f19040, 0xc009d10468, {0xc003240020?, 0x16?, 0x4f49e20?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:227 +0xec
    golang.org/x/tools/go/packages.goListDriver(0xc0002521c8, {0xc002f61ab0, 0x1, 0x4837995?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:208 +0x877
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 77019
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-03-26 17:46 darwin-amd64-longtest tools@9ed98faa go@2860e018 x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/1538486e0947067ec1fa62ce222f65dcbe8313f5">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49325
    serve.go:441: debug server listening at http://localhost:49326
    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: runtime error: invalid memory address or nil pointer dereference
    [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x7e23add]

    goroutine 65566 [running]:
    golang.org/x/tools/go/packages.mergeResponses({0xc00038e530, 0x1, 0x7e1868a?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:359 +0x9d
    golang.org/x/tools/go/packages.callDriverOnChunks(0x89f4dd8, 0xc000dfe708, {0xc002f1faa0, 0x1, 0x89c5660?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:350 +0x23b
    golang.org/x/tools/go/packages.defaultDriver(0xc000dfe708, {0xc0000bf7c0?, 0xc000738000?, 0x89c5660?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:290 +0x99
    golang.org/x/tools/go/packages.Load(0xc002886b40?, {0xc0000bf7c0, 0x2, 0x2})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:228 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc002886b40, {0x8a02910, 0xc0024e2af0}, 0x1, {0xc0000bf7a0, 0x2, 0x30?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/load.go:137 +0xcac
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc002886b40, {0x8a02910, 0xc0024e2af0}, 0x1)
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 66180
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/session.go:275 +0x1485
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-08 16:03 darwin-amd64-longtest tools@de6db989 go@da732dd1 x/tools/gopls/internal/test/integration/diagnostics (<a href="https://build.golang.org/log/7827e59e7dc5edfbd0de4f89222adf8c962fc924">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 48721): see golang/go#54461 for more details

    goroutine 75737 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00272da40)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:445 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0x7064568, 0xc0008aecf0}, 0xc001fa6420)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000e6ec00, {0x7064568, 0xc0008aecf0}, {0x705b188, 0xc0008aee10}, {0x705b188, 0xc0008aef00})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000e6ebc8?, {0x7064568, 0xc0008aecf0}, {0x705b188?, 0xc0008aee10?}, {0x705b188, 0xc0008aef00})
    ...
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc001bb0f00, {0xc00283d080, 0x2, 0x2})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc00015a708, {0xc00283cf00, 0x2, 0xc002188f90?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 75680
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-08 20:26 darwin-amd64-longtest tools@f6298eb1 go@e8f5c04c x/tools/gopls/internal/test/integration/diagnostics (<a href="https://build.golang.org/log/f352756aa1d83fef686b267b54ca1af75c9a53c4">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 48304): see golang/go#54461 for more details

    goroutine 74030 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00149cd50)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:445 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0x10a66588, 0xc0017819e0}, 0xc002f5ac60)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0004e0a00, {0x10a66588, 0xc0017819e0}, {0x10a5d1a8, 0xc001781b00}, {0x10a5d1a8, 0xc001781b30})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0004e09c8?, {0x10a66588, 0xc0017819e0}, {0x10a5d1a8?, 0xc001781b00?}, {0x10a5d1a8, 0xc001781b30})
    ...
    golang.org/x/tools/go/packages.(*golistState).runContainsQueries(0xc00030e0a0, 0xc008265878, {0xc00192afe0?, 0x10a651d0?, 0x108c8f20?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:227 +0xec
    golang.org/x/tools/go/packages.goListDriver(0xc001b361c8, {0xc00192ae90, 0x1, 0xc0004d4030?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:208 +0x877
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 74243
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-10 18:53 darwin-amd64-longtest tools@79df9713 go@c23579f0 x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/752f6320cfcdfe1ada3a7a6e5aaf0b0fbdad5aa7">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49357
    serve.go:441: debug server listening at http://localhost:49358
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 70263 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0037f7f20)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:445 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0xccf4cf8, 0xc000e4c300}, 0xc001b94840)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000f12c50, {0xccf4cf8, 0xc000e4c300}, {0xcceb858, 0xc000e4c420}, {0xcceb858, 0xc000e4c450})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000f12c18?, {0xccf4cf8, 0xc000e4c300}, {0xcceb858?, 0xc000e4c420?}, {0xcceb858, 0xc000e4c450})
    ...
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc003c91360, {0xc001b59900, 0x2, 0x2})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc001132548, {0xc001b59820, 0x2, 0x0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 70259
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-12 17:09 darwin-amd64-longtest tools@c859ee9e go@5c20d5fa x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/1bdbb510c17dd271cc506cfb8539532df0442ca6">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49353
    serve.go:441: debug server listening at http://localhost:49354
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 73221 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc001d4bf50)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:445 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0x7e95098, 0xc001a866f0}, 0xc002937a20)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000a5ad48, {0x7e95098, 0xc001a866f0}, {0x7e8c720, 0xc0027cb040}, {0x7e8b8a8, 0xc001e71f38})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0005a5e10?, {0x7e95098, 0xc001a866f0}, {0x7e8c720?, 0xc0027cb040?}, {0x7e8b8a8, 0xc001e71f38})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x7e950d0, 0xc002f764b0}, 0xc001b65e30, {0x7e95220, 0xc0013d4680})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x7e950d0, 0xc002f764b0}, 0xc001b65e30, {0x7e95220, 0xc0013d4680})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x7e950d0, 0xc002f764b0}, 0xc001e70ac8, {0x7e95220, 0xc0013d4680})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:35 +0xc6
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 73133
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:100 +0x1c5
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-12 23:28 darwin-amd64-longtest tools@dd0410f0 go@c71d2a8d x/tools/gopls/internal/test/integration/diagnostics (<a href="https://build.golang.org/log/6ff43d434dfce4f86854e65ebd243bd86549188e">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 48842): see golang/go#54461 for more details

    goroutine 74845 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0014417a0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:445 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0x3f62aa8, 0xc001050090}, 0xc0010f1340)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0012e0a50, {0x3f62aa8, 0xc001050090}, {0x3f59688, 0xc0010501e0}, {0x3f59688, 0xc001050210})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0012e0a18?, {0x3f62aa8, 0xc001050090}, {0x3f59688?, 0xc0010501e0?}, {0x3f59688, 0xc001050210})
    ...
    golang.org/x/tools/go/packages.(*golistState).runContainsQueries(0xc0006a2dc0, 0xc006d30c60, {0xc000d3d1d0?, 0xc000bbef28?, 0x3dc4fa0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:227 +0xec
    golang.org/x/tools/go/packages.goListDriver(0xc0008d6008, {0xc000d3d080, 0x1, 0xc003948420?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:208 +0x877
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 75576
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-15 21:33 darwin-amd64-longtest tools@7c7d7dba go@1488bb6c x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/22462510e75d74b4d9bd3f699a97970a81226ba7">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49326
    serve.go:441: debug server listening at http://localhost:49327
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 76867 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00157b170)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:445 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11ff0b18, 0xc002bda9f0}, 0xc0030e54a0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00191ad48, {0x11ff0b18, 0xc002bda9f0}, {0x11fe80c0, 0xc00177eb00}, {0x11fe7248, 0xc002d98a08})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0013b36d0?, {0x11ff0b18, 0xc002bda9f0}, {0x11fe80c0?, 0xc00177eb00?}, {0x11fe7248, 0xc002d98a08})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x11ff0b50, 0xc0002dfae0}, 0xc002a3cc00, {0x11ff0ca0, 0xc00372cbc0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x11ff0b50, 0xc0002dfae0}, 0xc002a3cc00, {0x11ff0ca0, 0xc00372cbc0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x11ff0b50, 0xc0002dfae0}, 0xc0032ef5f0, {0x11ff0ca0, 0xc00372cbc0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:35 +0xc6
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 76746
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:100 +0x1c5
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-03-08 15:27 x_tools-gotip-windows-amd64-race tools@31f056a4 go@69583738 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens [ABORT] (<a href="https://ci.chromium.org/b/8754021354897089617">log</a>)</summary>

    === RUN   TestUpgradeCodelens
</details>

<details><summary>2024-03-08 15:27 x_tools-gotip-windows-amd64-race tools@31f056a4 go@69583738 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc [ABORT] (<a href="https://ci.chromium.org/b/8754021354897089617">log</a>)</summary>

    === RUN   TestFuzzFunc
</details>

<details><summary>2024-03-08 15:27 x_tools-gotip-windows-amd64-race tools@31f056a4 go@69583738 x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer [ABORT] (<a href="https://ci.chromium.org/b/8754021354897089617">log</a>)</summary>

    === RUN   TestTimeFormatAnalyzer
</details>

<details><summary>2024-03-25 20:14 x_tools-go1.22-windows-amd64-race tools@71acab9a release-branch.go1.22@35b1a146 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace [ABORT] (<a href="https://ci.chromium.org/b/8752463183469157905">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace
</details>

<details><summary>2024-03-25 20:14 x_tools-go1.22-windows-amd64-race tools@71acab9a release-branch.go1.22@35b1a146 x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer [ABORT] (<a href="https://ci.chromium.org/b/8752463183469157905">log</a>)</summary>

    === RUN   TestTimeFormatAnalyzer
</details>

<details><summary>2024-03-25 20:14 x_tools-go1.22-windows-amd64-race tools@71acab9a release-branch.go1.22@35b1a146 x/tools/gopls/internal/test/integration/misc.TestCallHierarchy_Issue49125 [ABORT] (<a href="https://ci.chromium.org/b/8752463183469157905">log</a>)</summary>

    === RUN   TestCallHierarchy_Issue49125
</details>

<details><summary>2024-03-26 17:46 x_tools-go1.21-openbsd-amd64 tools@9ed98faa release-branch.go1.21@30d85506 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8752194776923425089">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 56558): see golang/go#54461 for more details

    goroutine 3962 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo898280538/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1316de0, 0xc00783d1a0}, 0xc003f9c6e0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo898280538/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0034e4aa8, {0x1316de0, 0xc00783d1a0}, {0x130e060?, 0xc00783d2c0}, {0x130e060?, 0xc00783d2f0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo898280538/internal/gocommand/invoke.go:273 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0034e4a70?, {0x1316de0, 0xc00783d1a0}, {0x130e060?, 0xc00783d2c0?}, {0x130e060?, 0xc00783d2f0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo898280538/internal/gocommand/invoke.go:182 +0x59
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc007828960, {0x1316de0, 0xc00783d1a0}, {{0x102515a, 0x4}, {0xc0078400e0, 0xb, 0xe}, {0x19fd3a0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo898280538/internal/gocommand/invoke.go:121 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x8b6e2a?, {0x1316e88, 0xc0004e0d90}, {{0x102515a, 0x4}, {0xc0078400e0, 0xb, 0xe}, {0x19fd3a0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo898280538/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc003d95d60?, {0x102515a?, 0x4?}, {0xc0078400e0?, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo898280538/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc003d95d60, {0xc007828980, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo898280538/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc007840008, {0xc0078288a0, 0x2, 0xc000293320?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo898280538/go/packages/golist.go:200 +0x7af
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo898280538/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 3959
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-03-28 22:49 x_tools-gotip-windows-amd64-race tools@95513982 go@bb7a2999 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default [ABORT] (<a href="https://ci.chromium.org/b/8752121633044605057">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default
    panic: detected hanging go command (pid 9400): see golang/go#54461 for more details

    goroutine 378 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo2924426456/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417b5f48, 0xc00034e510}, 0xc0003ea580)
        C:/b/s/w/ir/x/w/targetrepo2924426456/internal/gocommand/invoke.go:378 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000611828, {0x1417b5f48, 0xc00034e510}, {0x1417ac8a0, 0xc00034e660}, {0x1417ac8a0, 0xc00034e690})
        C:/b/s/w/ir/x/w/targetrepo2924426456/internal/gocommand/invoke.go:273 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000611828, {0x1417b5f48, 0xc00034e510}, {0x1417ac8a0, 0xc00034e660}, {0x1417ac8a0, 0xc00034e690})
        C:/b/s/w/ir/x/w/targetrepo2924426456/internal/gocommand/invoke.go:182 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0009ae320, {0x1417b5f48, 0xc00034e510}, {{0x141405b6b, 0x4}, {0xc0002c2b40, 0x4, 0x4}, {0x141fc7860, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2924426456/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc0009ae320, {0x1417b5f80, 0xc000496410}, {{0x141405b6b, 0x4}, {0xc0002c2b40, 0x4, 0x4}, {0x141fc7860, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2924426456/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/go/internal/packagesdriver.GetSizesForArgsGolist({0x1417b5f80, 0xc000496410}, {{0x141405b6b, 0x4}, {0xc0002c2b40, 0x4, 0x4}, {0x141fc7860, 0x0, 0x0}, ...}, ...)
        C:/b/s/w/ir/x/w/targetrepo2924426456/go/internal/packagesdriver/sizes.go:19 +0x1d0
    golang.org/x/tools/go/packages.goListDriver.func1()
        C:/b/s/w/ir/x/w/targetrepo2924426456/go/packages/golist.go:152 +0x2eb
    created by golang.org/x/tools/go/packages.goListDriver in goroutine 377
        C:/b/s/w/ir/x/w/targetrepo2924426456/go/packages/golist.go:151 +0x5d6
</details>

<details><summary>2024-03-28 22:49 x_tools-gotip-windows-amd64-race tools@95513982 go@bb7a2999 x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer/default [ABORT] (<a href="https://ci.chromium.org/b/8752121633044605057">log</a>)</summary>

    === RUN   TestTimeFormatAnalyzer/default
    panic: detected hanging go command (pid 9576): see golang/go#54461 for more details

    goroutine 572 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo2924426456/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417d0dc8, 0xc000bfd710}, 0xc0006a6160)
        C:/b/s/w/ir/x/w/targetrepo2924426456/internal/gocommand/invoke.go:378 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000e253e8, {0x1417d0dc8, 0xc000bfd710}, {0x1417c7760, 0xc000bfd830}, {0x1417c7760, 0xc000bfd860})
        C:/b/s/w/ir/x/w/targetrepo2924426456/internal/gocommand/invoke.go:273 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000e253e8, {0x1417d0dc8, 0xc000bfd710}, {0x1417c7760, 0xc000bfd830}, {0x1417c7760, 0xc000bfd860})
        C:/b/s/w/ir/x/w/targetrepo2924426456/internal/gocommand/invoke.go:182 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc000587240, {0x1417d0dc8, 0xc000bfd710}, {{0x14141ba68, 0x3}, {0xc000b882c0, 0x1, 0x1}, {0x141fede40, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2924426456/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc000587240, {0x1417d0dc8, 0xc000bfd590}, {{0x14141ba68, 0x3}, {0xc000b882c0, 0x1, 0x1}, {0x141fede40, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2924426456/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc000587240, {0x1417d0dc8, 0xc000bfd410}, {{0x14141ba68, 0x3}, {0xc000b882c0, 0x1, 0x1}, {0x141fede40, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2924426456/internal/gocommand/invoke.go:71 +0x3b0
    golang.org/x/tools/gopls/internal/cache.modTidyImpl({0x1417d0e00, 0xc00089a140}, 0xc0002b0900, {0xc000ca34a0, 0x50}, 0xc0001b7540)
        C:/b/s/w/ir/x/w/targetrepo2924426456/gopls/internal/cache/mod_tidy.go:118 +0x47c
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x1417d0e00, 0xc00089a140}, {0x1414176e0, 0xc0002b0900})
        C:/b/s/w/ir/x/w/targetrepo2924426456/gopls/internal/cache/mod_tidy.go:81 +0x9c
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        C:/b/s/w/ir/x/w/targetrepo2924426456/internal/memoize/memoize.go:187 +0xda
    runtime/trace.WithRegion({0x1417d0e00, 0xc00089a140}, {0xc000718018, 0x13}, 0xc000373f80)
        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/targetrepo2924426456/internal/memoize/memoize.go:180 +0x1d8
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 571
        C:/b/s/w/ir/x/w/targetrepo2924426456/internal/memoize/memoize.go:179 +0x352
</details>

<details><summary>2024-03-28 22:49 x_tools-gotip-windows-amd64-race tools@95513982 go@bb7a2999 x/tools/gopls/internal/test/integration/inlayhints.TestEnablingInlayHints/enable_const/default [ABORT] (<a href="https://ci.chromium.org/b/8752121633044605057">log</a>)</summary>

    === RUN   TestEnablingInlayHints/enable_const/default
    panic: detected hanging go command (pid 1044): see golang/go#54461 for more details

    goroutine 265 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo2924426456/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417a9808, 0xc0007b5620}, 0xc000120420)
        C:/b/s/w/ir/x/w/targetrepo2924426456/internal/gocommand/invoke.go:378 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000809828, {0x1417a9808, 0xc0007b5620}, {0x1417a01a0, 0xc0007b5740}, {0x1417a01a0, 0xc0007b5770})
        C:/b/s/w/ir/x/w/targetrepo2924426456/internal/gocommand/invoke.go:273 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0008d3828, {0x1417a9808, 0xc0007b5620}, {0x1417a01a0, 0xc0007b5740}, {0x1417a01a0, 0xc0007b5770})
        C:/b/s/w/ir/x/w/targetrepo2924426456/internal/gocommand/invoke.go:182 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc000ba29e0, {0x1417a9808, 0xc0007b5620}, {{0x1413faddf, 0x4}, {0xc000258dc0, 0x4, 0x4}, {0x141fb67c0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2924426456/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc000ba29e0, {0x1417a9840, 0xc0000e9e00}, {{0x1413faddf, 0x4}, {0xc000258dc0, 0x4, 0x4}, {0x141fb67c0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2924426456/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/go/internal/packagesdriver.GetSizesForArgsGolist({0x1417a9840, 0xc0000e9e00}, {{0x1413faddf, 0x4}, {0xc000258dc0, 0x4, 0x4}, {0x141fb67c0, 0x0, 0x0}, ...}, ...)
        C:/b/s/w/ir/x/w/targetrepo2924426456/go/internal/packagesdriver/sizes.go:19 +0x1d0
    golang.org/x/tools/go/packages.goListDriver.func1()
        C:/b/s/w/ir/x/w/targetrepo2924426456/go/packages/golist.go:152 +0x2eb
    created by golang.org/x/tools/go/packages.goListDriver in goroutine 285
        C:/b/s/w/ir/x/w/targetrepo2924426456/go/packages/golist.go:151 +0x5d6
</details>

<details><summary>2024-03-29 15:08 x_tools-gotip-openbsd-amd64 tools@509ed1c8 go@d0051be8 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8752120054055624993">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 67404): see golang/go#54461 for more details

    goroutine 4241 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3101775542/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x135c868, 0xc003c8c870}, 0xc004292420)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3101775542/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001192c00, {0x135c868, 0xc003c8c870}, {0x1353340, 0xc003c8ca50}, {0x1353340, 0xc003c8ca80})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3101775542/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001192bc8?, {0x135c868, 0xc003c8c870}, {0x1353340?, 0xc003c8ca50?}, {0x1353340, 0xc003c8ca80})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3101775542/internal/gocommand/invoke.go:182 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00183b400, {0x135c868, 0xc003c8c870}, {{0x106b32a, 0x4}, {0xc0001ec2a0, 0xb, 0xe}, {0x1ab2020, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3101775542/internal/gocommand/invoke.go:121 +0x165
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00183b400, {0x135c910, 0xc0004ddc70}, {{0x106b32a, 0x4}, {0xc0001ec2a0, 0xb, 0xe}, {0x1ab2020, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3101775542/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0044c15e0?, {0x106b32a?, 0x4?}, {0xc0001ec2a0, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3101775542/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0044c15e0, {0xc00183b440, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3101775542/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0042720e8, {0xc00190db60, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3101775542/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3101775542/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4238
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-03-29 17:16 x_tools-go1.22-windows-amd64-race tools@904c6baa release-branch.go1.22@4edf4bb2 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc/default [ABORT] (<a href="https://ci.chromium.org/b/8752111990461671025">log</a>)</summary>

    === RUN   TestFuzzFunc/default
    panic: detected hanging go command (pid 1372): see golang/go#54461 for more details

    goroutine 961 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo3175233898/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1418377c8, 0xc000675c20}, 0xc000b98000)
        C:/b/s/w/ir/x/w/targetrepo3175233898/internal/gocommand/invoke.go:378 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000d453e0, {0x1418377c8, 0xc000675c20}, {0x14182e8a0, 0xc000675d40}, {0x14182e8a0, 0xc000675d70})
        C:/b/s/w/ir/x/w/targetrepo3175233898/internal/gocommand/invoke.go:273 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000d453e0, {0x1418377c8, 0xc000675c20}, {0x14182e8a0, 0xc000675d40}, {0x14182e8a0, 0xc000675d70})
        C:/b/s/w/ir/x/w/targetrepo3175233898/internal/gocommand/invoke.go:182 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00038c960, {0x1418377c8, 0xc000675c20}, {{0x141442461, 0x3}, {0xc00018f2a0, 0x1, 0x1}, {0x1420548e0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo3175233898/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00038c960, {0x1418377c8, 0xc000675aa0}, {{0x141442461, 0x3}, {0xc00018f2a0, 0x1, 0x1}, {0x1420548e0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo3175233898/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc00038c960, {0x1418377c8, 0xc000675920}, {{0x141442461, 0x3}, {0xc00018f2a0, 0x1, 0x1}, {0x1420548e0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo3175233898/internal/gocommand/invoke.go:71 +0x3b0
    golang.org/x/tools/gopls/internal/cache.modTidyImpl({0x141837800, 0xc00049e280}, 0xc0008870e0, {0xc000bee140, 0x46}, 0xc0008acd80)
        C:/b/s/w/ir/x/w/targetrepo3175233898/gopls/internal/cache/mod_tidy.go:118 +0x47c
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x141837800, 0xc00049e280}, {0x14143e680, 0xc0008870e0})
        C:/b/s/w/ir/x/w/targetrepo3175233898/gopls/internal/cache/mod_tidy.go:81 +0x9c
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        C:/b/s/w/ir/x/w/targetrepo3175233898/internal/memoize/memoize.go:187 +0xda
    runtime/trace.WithRegion({0x141837800, 0xc00049e280}, {0xc0005940d8, 0x13}, 0xc0000f3f80)
        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/targetrepo3175233898/internal/memoize/memoize.go:180 +0x1d8
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 960
        C:/b/s/w/ir/x/w/targetrepo3175233898/internal/memoize/memoize.go:179 +0x352
</details>

<details><summary>2024-03-29 17:16 x_tools-go1.22-windows-amd64-race tools@904c6baa release-branch.go1.22@4edf4bb2 x/tools/gopls/internal/test/integration/inlayhints.TestEnablingInlayHints/enable_const/default [ABORT] (<a href="https://ci.chromium.org/b/8752111990461671025">log</a>)</summary>

    === RUN   TestEnablingInlayHints/enable_const/default
    panic: detected hanging go command (pid 4620): see golang/go#54461 for more details

    goroutine 279 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo3175233898/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417ee728, 0xc0004b40c0}, 0xc0006de160)
        C:/b/s/w/ir/x/w/targetrepo3175233898/internal/gocommand/invoke.go:378 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0005ea7b8, {0x1417ee728, 0xc0004b40c0}, {0x1417e5860, 0xc0004b41e0}, {0x1417e5860, 0xc0004b4210})
        C:/b/s/w/ir/x/w/targetrepo3175233898/internal/gocommand/invoke.go:273 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0005ea7b8, {0x1417ee728, 0xc0004b40c0}, {0x1417e5860, 0xc0004b41e0}, {0x1417e5860, 0xc0004b4210})
        C:/b/s/w/ir/x/w/targetrepo3175233898/internal/gocommand/invoke.go:182 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc000549540, {0x1417ee728, 0xc0004b40c0}, {{0x14140435a, 0x4}, {0xc0006ee000, 0xb, 0xe}, {0x141ff8620, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo3175233898/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc000549540, {0x1417ee7d0, 0xc000162c40}, {{0x14140435a, 0x4}, {0xc0006ee000, 0xb, 0xe}, {0x141ff8620, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo3175233898/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc00032f720, {0x14140435a, 0x4}, {0xc0006ee000, 0xb, 0xe})
        C:/b/s/w/ir/x/w/targetrepo3175233898/go/packages/golist.go:878 +0x5ab
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00032f720, {0xc000549560, 0x2, 0x2})
        C:/b/s/w/ir/x/w/targetrepo3175233898/go/packages/golist.go:377 +0xd7
    golang.org/x/tools/go/packages.goListDriver(0xc00059a008, {0xc000549480, 0x2, 0xc00017d8f0?})
        C:/b/s/w/ir/x/w/targetrepo3175233898/go/packages/golist.go:200 +0xc5f
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        C:/b/s/w/ir/x/w/targetrepo3175233898/go/packages/packages.go:337 +0xa6
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:78 +0x92
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 275
        C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:75 +0x125
</details>

<details><summary>2024-04-01 14:40 x_tools-gotip-openbsd-amd64 tools@7204363f go@5038ce82 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8751748499124839361">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 98245): see golang/go#54461 for more details

    goroutine 4412 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2111403424/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x135da48, 0xc003bdef90}, 0xc000d7f600)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2111403424/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0018dcc00, {0x135da48, 0xc003bdef90}, {0x1354520, 0xc003bdf0e0}, {0x1354520, 0xc003bdf110})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2111403424/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0018dcbc8?, {0x135da48, 0xc003bdef90}, {0x1354520?, 0xc003bdf0e0?}, {0x1354520, 0xc003bdf110})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2111403424/internal/gocommand/invoke.go:182 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc002c24aa0, {0x135da48, 0xc003bdef90}, {{0x106c3ca, 0x4}, {0xc003db81c0, 0xb, 0xe}, {0x1ab4020, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2111403424/internal/gocommand/invoke.go:121 +0x165
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc002c24aa0, {0x135daf0, 0xc000497420}, {{0x106c3ca, 0x4}, {0xc003db81c0, 0xb, 0xe}, {0x1ab4020, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2111403424/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc006259540?, {0x106c3ca?, 0x4?}, {0xc003db81c0, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2111403424/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc006259540, {0xc002c24ac0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2111403424/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc003db80e8, {0xc002c249e0, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2111403424/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2111403424/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4409
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-04-02 20:23 x_tools-go1.22-windows-amd64-race tools@1e68fee9 release-branch.go1.22@4edf4bb2 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_direct_dependencies/default [ABORT] (<a href="https://ci.chromium.org/b/8751737811359189265">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace/Upgrade_direct_dependencies/default
    panic: detected hanging go command (pid 10700): see golang/go#54461 for more details

    goroutine 415 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417fb1e8, 0xc0008afce0}, 0xc0007be2c0)
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/gocommand/invoke.go:378 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0008273e0, {0x1417fb1e8, 0xc0008afce0}, {0x1417f2340, 0xc0008afe00}, {0x1417f2340, 0xc0008afe30})
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/gocommand/invoke.go:273 +0x1710
    ...
    panic: detected hanging go command (pid 1180): see golang/go#54461 for more details

    goroutine 599 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417fb1e8, 0xc000432750}, 0xc00027e580)
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/gocommand/invoke.go:378 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0007d13e0, {0x1417fb1e8, 0xc000432750}, {0x1417f2340, 0xc0007134a0}, {0x1417f2340, 0xc0007134d0})
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/gocommand/invoke.go:273 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0007d13e0, {0x1417fb1e8, 0xc000432750}, {0x1417f2340, 0xc0007134a0}, {0x1417f2340, 0xc0007134d0})
    ...
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x1417fb220, 0xc00065a0a0}, {0x14140a760, 0xc0002aa120})
        C:/b/s/w/ir/x/w/targetrepo1572806545/gopls/internal/cache/mod_tidy.go:81 +0x9c
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/memoize/memoize.go:187 +0xda
    runtime/trace.WithRegion({0x1417fb220, 0xc00065a0a0}, {0xc00039c048, 0x13}, 0xc0003e7f80)
        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/targetrepo1572806545/internal/memoize/memoize.go:180 +0x1d8
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 662
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/memoize/memoize.go:179 +0x352
</details>

<details><summary>2024-04-02 20:23 x_tools-go1.22-windows-amd64-race tools@1e68fee9 release-branch.go1.22@4edf4bb2 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc/default [ABORT] (<a href="https://ci.chromium.org/b/8751737811359189265">log</a>)</summary>

    === RUN   TestFuzzFunc/default
    panic: detected hanging go command (pid 9080): see golang/go#54461 for more details

    goroutine 2646 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x141837b68, 0xc00225f890}, 0xc000c86b00)
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/gocommand/invoke.go:378 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0032073e0, {0x141837b68, 0xc00225f890}, {0x14182ec40, 0xc00225f9b0}, {0x14182ec40, 0xc00225f9e0})
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/gocommand/invoke.go:273 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0032073e0, {0x141837b68, 0xc00225f890}, {0x14182ec40, 0xc00225f9b0}, {0x14182ec40, 0xc00225f9e0})
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/gocommand/invoke.go:182 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00042a8a0, {0x141837b68, 0xc00225f890}, {{0x141442461, 0x3}, {0xc001da60b0, 0x1, 0x1}, {0x1420558e0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00042a8a0, {0x141837b68, 0xc00225f710}, {{0x141442461, 0x3}, {0xc001da60b0, 0x1, 0x1}, {0x1420558e0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc00042a8a0, {0x141837b68, 0xc00225f5c0}, {{0x141442461, 0x3}, {0xc001da60b0, 0x1, 0x1}, {0x1420558e0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/gocommand/invoke.go:71 +0x3b0
    golang.org/x/tools/gopls/internal/cache.modTidyImpl({0x141837ba0, 0xc0035dbd10}, 0xc002633e60, {0xc00073f8b0, 0x45}, 0xc000095e80)
        C:/b/s/w/ir/x/w/targetrepo1572806545/gopls/internal/cache/mod_tidy.go:118 +0x47c
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x141837ba0, 0xc0035dbd10}, {0x14143e680, 0xc002633e60})
        C:/b/s/w/ir/x/w/targetrepo1572806545/gopls/internal/cache/mod_tidy.go:81 +0x9c
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/memoize/memoize.go:187 +0xda
    runtime/trace.WithRegion({0x141837ba0, 0xc0035dbd10}, {0xc0033e0288, 0x13}, 0xc0024c9f80)
        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/targetrepo1572806545/internal/memoize/memoize.go:180 +0x1d8
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 2844
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/memoize/memoize.go:179 +0x352
</details>

<details><summary>2024-04-02 20:23 x_tools-go1.22-windows-amd64-race tools@1e68fee9 release-branch.go1.22@4edf4bb2 x/tools/gopls/internal/test/integration/inlayhints.TestEnablingInlayHints/enable_parameter_names/default [ABORT] (<a href="https://ci.chromium.org/b/8751737811359189265">log</a>)</summary>

    === RUN   TestEnablingInlayHints/enable_parameter_names/default
    panic: detected hanging go command (pid 2180): see golang/go#54461 for more details

    goroutine 396 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417efaa8, 0xc0003334d0}, 0xc0003c02c0)
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/gocommand/invoke.go:378 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00055b820, {0x1417efaa8, 0xc0003334d0}, {0x1417e6be0, 0xc000333650}, {0x1417e6be0, 0xc0003336b0})
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/gocommand/invoke.go:273 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00055b820, {0x1417efaa8, 0xc0003334d0}, {0x1417e6be0, 0xc000333650}, {0x1417e6be0, 0xc0003336b0})
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/gocommand/invoke.go:182 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0006de500, {0x1417efaa8, 0xc0003334d0}, {{0x14140535a, 0x4}, {0xc000248180, 0x4, 0x4}, {0x141ff9620, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc0006de500, {0x1417efae0, 0xc000aa0140}, {{0x14140535a, 0x4}, {0xc000248180, 0x4, 0x4}, {0x141ff9620, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1572806545/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/go/internal/packagesdriver.GetSizesForArgsGolist({0x1417efae0, 0xc000aa0140}, {{0x14140535a, 0x4}, {0xc000248180, 0x4, 0x4}, {0x141ff9620, 0x0, 0x0}, ...}, ...)
        C:/b/s/w/ir/x/w/targetrepo1572806545/go/internal/packagesdriver/sizes.go:19 +0x1d0
    golang.org/x/tools/go/packages.goListDriver.func1()
        C:/b/s/w/ir/x/w/targetrepo1572806545/go/packages/golist.go:152 +0x2eb
    created by golang.org/x/tools/go/packages.goListDriver in goroutine 395
        C:/b/s/w/ir/x/w/targetrepo1572806545/go/packages/golist.go:151 +0x5d6
</details>

<details><summary>2024-04-02 20:54 x_tools-go1.21-openbsd-amd64 tools@85b65275 release-branch.go1.21@30d85506 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8751735921196799505">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 67334): see golang/go#54461 for more details

    goroutine 3971 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3915274518/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1319c60, 0xc004928960}, 0xc0004c0420)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3915274518/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007234aa8, {0x1319c60, 0xc004928960}, {0x1310ee0?, 0xc004928a80}, {0x1310ee0?, 0xc004928ab0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3915274518/internal/gocommand/invoke.go:273 +0xfaf
    ...
    panic: runtime error: invalid memory address or nil pointer dereference
    [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x8bc69d]

    goroutine 3744 [running]:
    golang.org/x/tools/go/packages.mergeResponses({0xc001e11530, 0x1, 0x4120e5?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3915274518/go/packages/packages.go:359 +0x9d
    golang.org/x/tools/go/packages.callDriverOnChunks(0x11db898, 0xc0075607e8, {0xc007220db0, 0x1, 0x8bd5b6?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3915274518/go/packages/packages.go:350 +0x270
    golang.org/x/tools/go/packages.defaultDriver(0xc007229d90?, {0xc00720ed60?, 0xc003329a40?, 0xc007239378?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3915274518/go/packages/packages.go:290 +0x99
    golang.org/x/tools/go/packages.Load(0xc003350a20?, {0xc00720ed60, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3915274518/go/packages/packages.go:228 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc003350a20, {0x1319c98, 0xc00336ad70}, 0x1, {0xc00720ed40, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3915274518/gopls/internal/cache/load.go:137 +0xc6f
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc003350a20, {0x1319c98, 0xc00336ad70}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3915274518/gopls/internal/cache/view.go:720 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3915274518/gopls/internal/cache/session.go:277 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 3740
        /home/swarming/.swarming/w/ir/x/w/targetrepo3915274518/gopls/internal/cache/session.go:275 +0x1532
</details>

<details><summary>2024-04-02 20:54 x_tools-go1.21-openbsd-amd64 tools@85b65275 release-branch.go1.21@30d85506 x/tools/gopls/internal/test/integration/misc.TestRenderNoPanic66449/default (<a href="https://ci.chromium.org/b/8751735921196799505">log</a>)</summary>

    === RUN   TestRenderNoPanic66449/default
        webserver_test.go:176: showDocument(package doc) URL: http://127.0.0.1:35370/gopls/SCcf1pVCeII/pkg/example.com/a?view=155
        webserver_test.go:120: input matched unwanted pattern "f1"; got:
            <!DOCTYPE html>
            <html>
            <head>
              <meta charset="UTF-8">
              <style>
            body {
              font-family: Helvetica, Arial, sans-serif;
    ...
    [Trace - 14:16:07.129 PM] Sending response 'window/showDocument - (7)' in 0ms.
    Result: {"success":true}


    [Trace - 14:16:07.129 PM] Received response 'workspace/executeCommand - (3)' in 0ms.
    Result: null


    #### End Gopls Test Logs for "TestRenderNoPanic66449/default"
    --- FAIL: TestRenderNoPanic66449/default (0.45s)
</details>

<details><summary>2024-04-02 20:54 x_tools-go1.22-windows-amd64-race tools@85b65275 release-branch.go1.22@4edf4bb2 x/tools/gopls/internal/test/integration/inlayhints.TestEnablingInlayHints/enable_parameter_names/default [ABORT] (<a href="https://ci.chromium.org/b/8751735923725834753">log</a>)</summary>

    === RUN   TestEnablingInlayHints/enable_parameter_names/default
    panic: detected hanging go command (pid 5632): see golang/go#54461 for more details

    goroutine 372 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo113881829/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417efbc8, 0xc0007883c0}, 0xc000aa4160)
        C:/b/s/w/ir/x/w/targetrepo113881829/internal/gocommand/invoke.go:378 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0007ad3e0, {0x1417efbc8, 0xc0007883c0}, {0x1417e6d00, 0xc0007884e0}, {0x1417e6d00, 0xc000788570})
        C:/b/s/w/ir/x/w/targetrepo113881829/internal/gocommand/invoke.go:273 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0007ad3e0, {0x1417efbc8, 0xc0007883c0}, {0x1417e6d00, 0xc0007884e0}, {0x1417e6d00, 0xc000788570})
        C:/b/s/w/ir/x/w/targetrepo113881829/internal/gocommand/invoke.go:182 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00072fc60, {0x1417efbc8, 0xc0007883c0}, {{0x141404907, 0x3}, {0xc0005ef150, 0x1, 0x1}, {0x141ff9640, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo113881829/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00072fc60, {0x1417efbc8, 0xc000788210}, {{0x141404907, 0x3}, {0xc0005ef150, 0x1, 0x1}, {0x141ff9640, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo113881829/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/internal/gocommand.(*Runner).Run(0xc00072fc60, {0x1417efbc8, 0xc0007880c0}, {{0x141404907, 0x3}, {0xc0005ef150, 0x1, 0x1}, {0x141ff9640, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo113881829/internal/gocommand/invoke.go:71 +0x3b0
    golang.org/x/tools/gopls/internal/cache.modTidyImpl({0x1417efc00, 0xc000288780}, 0xc0004f6c60, {0xc00003a930, 0x67}, 0xc000122200)
        C:/b/s/w/ir/x/w/targetrepo113881829/gopls/internal/cache/mod_tidy.go:118 +0x47c
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x1417efc00, 0xc000288780}, {0x141400a00, 0xc0004f6c60})
        C:/b/s/w/ir/x/w/targetrepo113881829/gopls/internal/cache/mod_tidy.go:81 +0x9c
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        C:/b/s/w/ir/x/w/targetrepo113881829/internal/memoize/memoize.go:187 +0xda
    runtime/trace.WithRegion({0x1417efc00, 0xc000288780}, {0xc00067e498, 0x13}, 0xc00041bf80)
        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/targetrepo113881829/internal/memoize/memoize.go:180 +0x1d8
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 371
        C:/b/s/w/ir/x/w/targetrepo113881829/internal/memoize/memoize.go:179 +0x352
</details>

<details><summary>2024-04-03 14:07 x_tools-go1.21-windows-amd64-race tools@53d35a51 release-branch.go1.21@ae591334 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace (<a href="https://ci.chromium.org/b/8751666334210910161">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace
    --- FAIL: TestUpgradeCodelens_Workspace (1057.76s)
    panic: detected hanging go command (pid 10724): see golang/go#54461 for more details [recovered]
        panic: detected hanging go command (pid 10724): see golang/go#54461 for more details

    goroutine 343 [running]:
    testing.tRunner.func1.2({0x14120c320, 0xc000660260})
        C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:1545 +0x3f7
    testing.tRunner.func1()
        C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:1548 +0x716
    ...
    golang.org/x/tools/gopls/internal/test/integration/fake.(*Sandbox).Close(0xc0009fb200)
        C:/b/s/w/ir/x/w/targetrepo1842581474/gopls/internal/test/integration/fake/sandbox.go:292 +0xf4
    golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1()
        C:/b/s/w/ir/x/w/targetrepo1842581474/gopls/internal/test/integration/runner.go:206 +0x66
    golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1(0xc000585860)
        C:/b/s/w/ir/x/w/targetrepo1842581474/gopls/internal/test/integration/runner.go:255 +0x16cb
    testing.tRunner(0xc000585860, 0xc000293310)
        C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:1595 +0x262
    created by testing.(*T).Run in goroutine 342
        C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:1648 +0x846
</details>

<details><summary>2024-04-03 14:07 x_tools-go1.21-windows-amd64-race tools@53d35a51 release-branch.go1.21@ae591334 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc [ABORT] (<a href="https://ci.chromium.org/b/8751666334210910161">log</a>)</summary>

    === RUN   TestFuzzFunc
</details>

<details><summary>2024-04-03 14:07 x_tools-go1.21-windows-amd64-race tools@53d35a51 release-branch.go1.21@ae591334 x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer [ABORT] (<a href="https://ci.chromium.org/b/8751666334210910161">log</a>)</summary>

    === RUN   TestTimeFormatAnalyzer
</details>

<details><summary>2024-04-04 13:59 x_tools-go1.22-openbsd-amd64 tools@951bb406 release-branch.go1.22@a65a2bbd x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8751580788321177585">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 23937): see golang/go#54461 for more details

    goroutine 4303 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2524192763/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1362f48, 0xc007cb0000}, 0xc00027e580)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2524192763/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007d62bf8, {0x1362f48, 0xc007cb0000}, {0x135a160, 0xc007cb0120}, {0x135a160, 0xc007cb0150})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2524192763/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc007d62bc0?, {0x1362f48, 0xc007cb0000}, {0x135a160?, 0xc007cb0120?}, {0x135a160, 0xc007cb0150})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2524192763/internal/gocommand/invoke.go:182 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc007d0b740, {0x1362f48, 0xc007cb0000}, {{0x1069854, 0x4}, {0xc007cae000, 0xb, 0xe}, {0x1ab5000, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2524192763/internal/gocommand/invoke.go:121 +0x165
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc007d0b740, {0x1362ff0, 0xc00017b260}, {{0x1069854, 0x4}, {0xc007cae000, 0xb, 0xe}, {0x1ab5000, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2524192763/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc007c005a0?, {0x1069854?, 0x4?}, {0xc007cae000, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2524192763/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc007c005a0, {0xc007d0b760, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2524192763/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc007d5a008, {0xc007d0b680, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2524192763/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2524192763/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4300
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.6.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-04-04 20:44 x_tools-go1.21-openbsd-amd64 tools@fc660e51 release-branch.go1.21@74501172 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8751555331903456817">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 85283): see golang/go#54461 for more details

    goroutine 3981 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1851440673/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x131af40, 0xc0075c1200}, 0xc004a29340)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1851440673/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc003b88aa8, {0x131af40, 0xc0075c1200}, {0x1312160?, 0xc0075c1320}, {0x1312160?, 0xc0075c1350})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1851440673/internal/gocommand/invoke.go:273 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc003b88a70?, {0x131af40, 0xc0075c1200}, {0x1312160?, 0xc0075c1320?}, {0x1312160?, 0xc0075c1350?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1851440673/internal/gocommand/invoke.go:182 +0x59
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0077a2e20, {0x131af40, 0xc0075c1200}, {{0x10282ba, 0x4}, {0xc0075d6000, 0xb, 0xe}, {0x1a033a0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1851440673/internal/gocommand/invoke.go:121 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x8b6d8a?, {0x131afe8, 0xc000806d20}, {{0x10282ba, 0x4}, {0xc0075d6000, 0xb, 0xe}, {0x1a033a0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1851440673/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc002ea5900?, {0x10282ba?, 0x4?}, {0xc0075d6000?, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1851440673/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc002ea5900, {0xc0077a2e40, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1851440673/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0001816c8, {0xc00768f600, 0x2, 0x89603b?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1851440673/go/packages/golist.go:200 +0x7af
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1851440673/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 3975
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-04-04 20:44 x_tools-go1.21-windows-amd64-race tools@fc660e51 release-branch.go1.21@74501172 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default [ABORT] (<a href="https://ci.chromium.org/b/8751554681748019553">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default
    panic: detected hanging go command (pid 3940): see golang/go#54461 for more details

    goroutine 556 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo994429210/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x14178ece0, 0xc00088a0c0}, 0xc0001a2c60)
        C:/b/s/w/ir/x/w/targetrepo994429210/internal/gocommand/invoke.go:378 +0xd99
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0006b6618, {0x14178ece0, 0xc00088a0c0}, {0x141785e00?, 0xc00088a1e0}, {0x141785e00?, 0xc00088a210})
        C:/b/s/w/ir/x/w/targetrepo994429210/internal/gocommand/invoke.go:273 +0x19c6
    ...
    panic: runtime error: invalid memory address or nil pointer dereference
    [signal 0xc0000005 code=0x0 addr=0x0 pc=0x140810979]

    goroutine 549 [running]:
    golang.org/x/tools/go/packages.mergeResponses({0xc00011ced8, 0x1, 0x14007bba9?})
        C:/b/s/w/ir/x/w/targetrepo994429210/go/packages/packages.go:359 +0x179
    golang.org/x
</details>
(... long comment truncated ...)


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-05 22:26 x_tools-go1.21-openbsd-amd64 tools@c7b6b8d0 release-branch.go1.21@74501172 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8751458253387498769">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 34705): see golang/go#54461 for more details

    goroutine 4135 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4151262422/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x131c7c0, 0xc00783ea50}, 0xc0075309a0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4151262422/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00766caa8, {0x131c7c0, 0xc00783ea50}, {0x13139e0?, 0xc00783eb70}, {0x13139e0?, 0xc00783eba0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4151262422/internal/gocommand/invoke.go:273 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00766ca70?, {0x131c7c0, 0xc00783ea50}, {0x13139e0?, 0xc00783eb70?}, {0x13139e0?, 0xc00783eba0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4151262422/internal/gocommand/invoke.go:182 +0x59
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc007829d40, {0x131c7c0, 0xc00783ea50}, {{0x10292bd, 0x4}, {0xc007850000, 0xb, 0xe}, {0x1a043a0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4151262422/internal/gocommand/invoke.go:121 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x8b6d8a?, {0x131c868, 0xc0000d1960}, {{0x10292bd, 0x4}, {0xc007850000, 0xb, 0xe}, {0x1a043a0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4151262422/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0038c1900?, {0x10292bd?, 0x4?}, {0xc007850000?, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4151262422/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0038c1900, {0xc007829d60, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4151262422/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0038cc1c8, {0xc007829c80, 0x2, 0xc00086a090?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4151262422/go/packages/golist.go:200 +0x7af
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo4151262422/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4132
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-04-05 22:26 x_tools-gotip-openbsd-amd64 tools@c7b6b8d0 go@20f052c8 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8751347820676967745">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 28140): see golang/go#54461 for more details

    goroutine 3985 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1386831941/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1361a48, 0xc000609dd0}, 0xc003d02160)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1386831941/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00080ec00, {0x1361a48, 0xc000609dd0}, {0x1358480, 0xc000c23080}, {0x1358480, 0xc000c233b0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1386831941/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00080ebc8?, {0x1361a48, 0xc000609dd0}, {0x1358480?, 0xc000c23080?}, {0x1358480, 0xc000c233b0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1386831941/internal/gocommand/invoke.go:182 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc008aaf700, {0x1361a48, 0xc000609dd0}, {{0x106f38d, 0x4}, {0xc0001ca1c0, 0xb, 0xe}, {0x1ab9100, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1386831941/internal/gocommand/invoke.go:121 +0x165
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc008aaf700, {0x1361af0, 0xc0004ba310}, {{0x106f38d, 0x4}, {0xc0001ca1c0, 0xb, 0xe}, {0x1ab9100, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1386831941/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc008acc1e0?, {0x106f38d?, 0x4?}, {0xc0001ca1c0, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1386831941/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc008acc1e0, {0xc008aaf720, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1386831941/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc000b0c1c8, {0xc008aaf620, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1386831941/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1386831941/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 3982
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-04-08 18:28 x_tools-go1.21-darwin-amd64-longtest tools@f41d27ef release-branch.go1.21@74501172 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8751201466953660257">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/default
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 22737 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc009e267e0)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1859748703/internal/gocommand/invoke.go:445 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f6b800, 0xc009e3e120}, 0xc009b1cdc0)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1859748703/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0010f6918, {0x1f6b800, 0xc009e3e120}, {0x1f62940?, 0xc009e3e240}, {0x1f62940?, 0xc009e3e270})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1859748703/internal/gocommand/invoke.go:273 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0010f68e0?, {0x1f6b800, 0xc009e3e120}, {0x1f62940?, 0xc009e3e240?}, {0x1f62940?, 0xc009e3e270?})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f6b800, 0xc009d22c30}, 0xc009d23200, {0x497927a0, 0xc009d22b70})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1859748703/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f6b800, 0xc009d22c30}, 0xc009d23200, {0x497927a0?, 0xc009d22b70?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1859748703/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f6b800, 0xc009d22c30}, 0xc009d4a228, {0x497927a0?, 0xc009d22b70?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1859748703/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1859748703/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 22592
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1859748703/internal/jsonrpc2/handler.go:100 +0x1ed
</details>

<details><summary>2024-04-08 20:26 x_tools-go1.21-windows-amd64-race tools@f6298eb1 release-branch.go1.21@74501172 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default [ABORT] (<a href="https://ci.chromium.org/b/8751194046571826817">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default
    panic: detected hanging go command (pid 8344): see golang/go#54461 for more details

    goroutine 336 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo3331931139/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x141790c20, 0xc0004d8d80}, 0xc0005b82c0)
        C:/b/s/w/ir/x/w/targetrepo3331931139/internal/gocommand/invoke.go:378 +0xd99
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000666618, {0x141790c20, 0xc0004d8d80}, {0x141787d00?, 0xc0004d8ea0}, {0x141787d00?, 0xc0004d8ed0})
        C:/b/s/w/ir/x/w/targetrepo3331931139/internal/gocommand/invoke.go:273 +0x19c6
    ...
    panic: runtime error: invalid memory address or nil pointer dereference
    [signal 0xc0000005 code=0x0 addr=0x0 pc=0x1408109d9]

    goroutine 371 [running]:
    golang.org/x/tools/go/packages.mergeResponses({0xc00041c060, 0x1, 0x14007bba9?})
        C:/b/s/w/ir/x/w/targetrepo3331931139/go/packages/packages.go:359 +0x179
    golang.org/x/tools/go/packages.callDriverOnChunks(0x141552320, 0xc0005b6008, {0xc000a18150, 0x1, 0xc0005b6028?})
        C:/b/s/w/ir/x/w/targetrepo3331931139/go/packages/packages.go:350 +0x492
    golang.org/x/tools/go/packages.defaultDriver(0xc0006d9290?, {0xc000391b80, 0x3, 0x4})
        C:/b/s/w/ir/x/w/targetrepo3331931139/go/packages/packages.go:290 +0xe5
    golang.org/x/tools/go/packages.Load(0xc000a44c60?, {0xc000391b80, 0x3, 0x4})
        C:/b/s/w/ir/x/w/targetrepo3331931139/go/packages/packages.go:228 +0x85
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc000a44c60, {0x141790c58, 0xc0001dd4a0}, 0x1, {0xc000391a80, 0x3, 0x14001ee75?})
        C:/b/s/w/ir/x/w/targetrepo3331931139/gopls/internal/cache/load.go:137 +0x1185
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc000a44c60, {0x141790c58, 0xc0001dd4a0}, 0x1)
        C:/b/s/w/ir/x/w/targetrepo3331931139/gopls/internal/cache/view.go:720 +0x5e5
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        C:/b/s/w/ir/x/w/targetrepo3331931139/gopls/internal/cache/session.go:277 +0x85
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 361
        C:/b/s/w/ir/x/w/targetrepo3331931139/gopls/internal/cache/session.go:275 +0x288e
</details>

<details><summary>2024-04-08 20:26 x_tools-go1.21-windows-amd64-race tools@f6298eb1 release-branch.go1.21@74501172 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc/default [ABORT] (<a href="https://ci.chromium.org/b/8751194046571826817">log</a>)</summary>

    === RUN   TestFuzzFunc/default
    panic: detected hanging go command (pid 6148): see golang/go#54461 for more details

    goroutine 112 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo3331931139/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417cc900, 0xc0005ad200}, 0xc0001a3600)
        C:/b/s/w/ir/x/w/targetrepo3331931139/internal/gocommand/invoke.go:378 +0xd99
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0004d5808, {0x1417cc900, 0xc0005ad200}, {0x1417c39a0?, 0xc0005ad320}, {0x1417c39a0?, 0xc0005ad350})
        C:/b/s/w/ir/x/w/targetrepo3331931139/internal/gocommand/invoke.go:273 +0x19c6
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0004d57d8?, {0x1417cc900, 0xc0005ad200}, {0x1417c39a0, 0xc0005ad320}, {0x1417c39a0?, 0xc0005ad350?})
        C:/b/s/w/ir/x/w/targetrepo3331931139/internal/gocommand/invoke.go:182 +0xa5
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00050c540, {0x1417cc900, 0xc0005ad200}, {{0x1413ce636, 0x4}, {0xc00050e940, 0x4, 0x4}, {0x141f7dce0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo3331931139/internal/gocommand/invoke.go:121 +0x26c
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00050c540, {0x1417cc938, 0xc000b140f0}, {{0x1413ce636, 0x4}, {0xc00050e940, 0x4, 0x4}, {0x141f7dce0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo3331931139/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/go/internal/packagesdriver.GetSizesForArgsGolist({0x1417cc938, 0xc000b140f0}, {{0x1413ce636, 0x4}, {0xc00050e940, 0x4, 0x4}, {0x141f7dce0, 0x0, 0x0}, ...}, ...)
        C:/b/s/w/ir/x/w/targetrepo3331931139/go/internal/packagesdriver/sizes.go:19 +0x1d0
    golang.org/x/tools/go/packages.goListDriver.func1()
        C:/b/s/w/ir/x/w/targetrepo3331931139/go/packages/golist.go:152 +0x30b
    created by golang.org/x/tools/go/packages.goListDriver in goroutine 111
        C:/b/s/w/ir/x/w/targetrepo3331931139/go/packages/golist.go:151 +0x5d9
</details>

<details><summary>2024-04-08 20:26 x_tools-go1.21-windows-amd64-race tools@f6298eb1 release-branch.go1.21@74501172 x/tools/gopls/internal/test/integration/debug.TestStartDebugging/default [ABORT] (<a href="https://ci.chromium.org/b/8751194046571826817">log</a>)</summary>

    === RUN   TestStartDebugging/default
    panic: detected hanging go command (pid 9300): see golang/go#54461 for more details

    goroutine 230 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo3331931139/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417854a0, 0xc00071a1e0}, 0xc0000e2580)
        C:/b/s/w/ir/x/w/targetrepo3331931139/internal/gocommand/invoke.go:378 +0xd99
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0004a8618, {0x1417854a0, 0xc00071a1e0}, {0x14177c5a0?, 0xc00071a330}, {0x14177c5a0?, 0xc00071a360})
        C:/b/s/w/ir/x/w/targetrepo3331931139/internal/gocommand/invoke.go:273 +0x19c6
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0004a85e8?, {0x1417854a0, 0xc00071a1e0}, {0x14177c5a0, 0xc00071a330}, {0x14177c5a0?, 0xc00071a360?})
        C:/b/s/w/ir/x/w/targetrepo3331931139/internal/gocommand/invoke.go:182 +0xa5
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc000702f20, {0x1417854a0, 0xc00071a1e0}, {{0x1413918f7, 0x4}, {0xc000428000, 0xb, 0xe}, {0x141f23a60, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo3331931139/internal/gocommand/invoke.go:121 +0x26c
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc000702f20, {0x141785548, 0xc0003381c0}, {{0x1413918f7, 0x4}, {0xc000428000, 0xb, 0xe}, {0x141f23a60, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo3331931139/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc000435b80, {0x1413918f7, 0x4}, {0xc000428000?, 0xb, 0xe})
        C:/b/s/w/ir/x/w/targetrepo3331931139/go/packages/golist.go:878 +0x58b
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc000435b80, {0xc000702f40, 0x2, 0x2})
        C:/b/s/w/ir/x/w/targetrepo3331931139/go/packages/golist.go:377 +0xd7
    golang.org/x/tools/go/packages.goListDriver(0xc00028c1c8, {0xc000702e60, 0x2, 0xc0007e1c07?})
        C:/b/s/w/ir/x/w/targetrepo3331931139/go/packages/golist.go:200 +0xbff
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        C:/b/s/w/ir/x/w/targetrepo3331931139/go/packages/packages.go:337 +0xa6
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x98
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 227
        C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x125
</details>

<details><summary>2024-04-09 14:12 x_tools-go1.21-openbsd-amd64 tools@3520955d release-branch.go1.21@74501172 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8751127009686756145">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 77080): see golang/go#54461 for more details

    goroutine 4034 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2881230374/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x131c960, 0xc0013179e0}, 0xc00858a580)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2881230374/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000c3eaa8, {0x131c960, 0xc0013179e0}, {0x1313b80?, 0xc001317cb0}, {0x1313b80?, 0xc001317ce0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2881230374/internal/gocommand/invoke.go:273 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000c3ea70?, {0x131c960, 0xc0013179e0}, {0x1313b80?, 0xc001317cb0?}, {0x1313b80?, 0xc001317ce0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2881230374/internal/gocommand/invoke.go:182 +0x59
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc001b83e40, {0x131c960, 0xc0013179e0}, {{0x102937d, 0x4}, {0xc00859a1c0, 0xb, 0xe}, {0x1a053a0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2881230374/internal/gocommand/invoke.go:121 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x8b6dca?, {0x131ca08, 0xc000247500}, {{0x102937d, 0x4}, {0xc00859a1c0, 0xb, 0xe}, {0x1a053a0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2881230374/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc007d1b4a0?, {0x102937d?, 0x4?}, {0xc00859a1c0?, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2881230374/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc007d1b4a0, {0xc0013b8020, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2881230374/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0001f8388, {0xc001b83b80, 0x2, 0xc0003bfbc0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2881230374/go/packages/golist.go:200 +0x7af
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2881230374/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 3903
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-04-10 13:15 x_tools-gotip-openbsd-amd64 tools@c4c0bf99 go@1bac2528 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8751026710878443857">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 68791): see golang/go#54461 for more details

    goroutine 4405 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo478863284/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x135bc28, 0xc003b96270}, 0xc000ce0160)
        /home/swarming/.swarming/w/ir/x/w/targetrepo478863284/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc003d90c50, {0x135bc28, 0xc003b96270}, {0x1352660, 0xc003b96390}, {0x1352660, 0xc003b963c0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo478863284/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc003d90c18?, {0x135bc28, 0xc003b96270}, {0x1352660?, 0xc003b96390?}, {0x1352660, 0xc003b963c0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo478863284/internal/gocommand/invoke.go:182 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc001da57a0, {0x135bc28, 0xc003b96270}, {{0x106d48d, 0x4}, {0xc000fc8000, 0xb, 0xe}, {0x1ab3100, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo478863284/internal/gocommand/invoke.go:121 +0x165
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc001da57a0, {0x135bcd0, 0xc000461650}, {{0x106d48d, 0x4}, {0xc000fc8000, 0xb, 0xe}, {0x1ab3100, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo478863284/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0016fae60?, {0x106d48d?, 0x4?}, {0xc000fc8000, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo478863284/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0016fae60, {0xc001da5820, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo478863284/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc00342c0e8, {0xc001da50c0, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo478863284/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo478863284/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4402
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-04-10 18:53 x_tools-go1.21-openbsd-amd64 tools@79df9713 release-branch.go1.21@74501172 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8751018736182950305">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 51382): see golang/go#54461 for more details

    goroutine 4126 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2313988817/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x131c7a0, 0xc00358b6b0}, 0xc0030074a0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2313988817/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0072f6aa8, {0x131c7a0, 0xc00358b6b0}, {0x13139e0?, 0xc00358b8c0}, {0x13139e0?, 0xc00358b920})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2313988817/internal/gocommand/invoke.go:273 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0072f6a70?, {0x131c7a0, 0xc00358b6b0}, {0x13139e0?, 0xc00358b8c0?}, {0x13139e0?, 0xc00358b920?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2313988817/internal/gocommand/invoke.go:182 +0x59
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc004ff9100, {0x131c7a0, 0xc00358b6b0}, {{0x10292bd, 0x4}, {0xc007742000, 0xb, 0xe}, {0x1a053a0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2313988817/internal/gocommand/invoke.go:121 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x8b6dca?, {0x131c848, 0xc000709730}, {{0x10292bd, 0x4}, {0xc007742000, 0xb, 0xe}, {0x1a053a0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2313988817/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc007812140?, {0x10292bd?, 0x4?}, {0xc007742000?, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2313988817/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc007812140, {0xc004ff9120, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2313988817/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc00365d188, {0xc004ff9040, 0x2, 0x89607b?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2313988817/go/packages/golist.go:200 +0x7af
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2313988817/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4242
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-04-10 23:52 x_tools-go1.22-windows-amd64-race tools@198a0a83 release-branch.go1.22@a65a2bbd x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace [ABORT] (<a href="https://ci.chromium.org/b/8750999887728425457">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace
</details>

<details><summary>2024-04-10 23:52 x_tools-go1.22-windows-amd64-race tools@198a0a83 release-branch.go1.22@a65a2bbd x/tools/gopls/internal/test/integration/completion.TestPackageCompletion [ABORT] (<a href="https://ci.chromium.org/b/8750999887728425457">log</a>)</summary>

    === RUN   TestPackageCompletion
</details>

<details><summary>2024-04-10 23:52 x_tools-go1.22-windows-amd64-race tools@198a0a83 release-branch.go1.22@a65a2bbd x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer [ABORT] (<a href="https://ci.chromium.org/b/8750999887728425457">log</a>)</summary>

    === RUN   TestTimeFormatAnalyzer
</details>

<details><summary>2024-04-12 17:09 x_tools-go1.21-openbsd-amd64 tools@c859ee9e release-branch.go1.21@74501172 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8750844062215826001">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 14548): see golang/go#54461 for more details

    goroutine 4002 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo730284984/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x131de20, 0xc003267d70}, 0xc001589340)
        /home/swarming/.swarming/w/ir/x/w/targetrepo730284984/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001718aa8, {0x131de20, 0xc003267d70}, {0x1315060?, 0xc003267ec0}, {0x1315060?, 0xc003267ef0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo730284984/internal/gocommand/invoke.go:273 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001718a70?, {0x131de20, 0xc003267d70}, {0x1315060?, 0xc003267ec0?}, {0x1315060?, 0xc003267ef0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo730284984/internal/gocommand/invoke.go:182 +0x59
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc002af8b40, {0x131de20, 0xc003267d70}, {{0x102a2bd, 0x4}, {0xc0001fe460, 0xb, 0xe}, {0x1a063c0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo730284984/internal/gocommand/invoke.go:121 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x8b6dca?, {0x131dec8, 0xc000839030}, {{0x102a2bd, 0x4}, {0xc0001fe460, 0xb, 0xe}, {0x1a063c0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo730284984/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc003ae63c0?, {0x102a2bd?, 0x4?}, {0xc0001fe460?, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo730284984/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc003ae63c0, {0xc002af8b60, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo730284984/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc001428008, {0xc002af8a80, 0x2, 0xc0007ce090?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo730284984/go/packages/golist.go:200 +0x7af
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo730284984/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 3759
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-04-12 21:22 x_tools-go1.22-openbsd-amd64 tools@dcccb2db release-branch.go1.22@d6c972ad x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8750823454911285393">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 48237): see golang/go#54461 for more details

    goroutine 4597 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4079035103/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1364ba8, 0xc0015ea450}, 0xc000374f20)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4079035103/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001a4ebf8, {0x1364ba8, 0xc0015ea450}, {0x135bde0, 0xc0015ea5a0}, {0x135bde0, 0xc0015ea5d0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4079035103/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001a4ebc0?, {0x1364ba8, 0xc0015ea450}, {0x135bde0?, 0xc0015ea5a0?}, {0x135bde0, 0xc0015ea5d0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4079035103/internal/gocommand/invoke.go:182 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00192b640, {0x1364ba8, 0xc0015ea450}, {{0x106a819, 0x4}, {0xc0002661c0, 0xb, 0xe}, {0x1ab7040, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4079035103/internal/gocommand/invoke.go:121 +0x165
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00192b640, {0x1364c50, 0xc007bdb500}, {{0x106a819, 0x4}, {0xc0002661c0, 0xb, 0xe}, {0x1ab7040, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4079035103/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc000fa0960?, {0x106a819?, 0x4?}, {0xc0002661c0, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4079035103/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc000fa0960, {0xc00192b660, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4079035103/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc000b020e8, {0xc00192b580, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4079035103/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo4079035103/go/packages/packages.go:337 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 3935
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-04-12 21:22 x_tools-gotip-windows-amd64-race tools@dcccb2db go@519f6a00 x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer [ABORT] (<a href="https://ci.chromium.org/b/8750828129479414817">log</a>)</summary>

    === RUN   TestTimeFormatAnalyzer
</details>

<details><summary>2024-04-12 21:22 x_tools-gotip-windows-amd64-race tools@dcccb2db go@519f6a00 x/tools/gopls/internal/test/integration/modfile.TestModFileModification [ABORT] (<a href="https://ci.chromium.org/b/8750828129479414817">log</a>)</summary>

    === RUN   TestModFileModification
</details>

<details><summary>2024-04-12 21:22 x_tools-gotip-windows-amd64-race tools@dcccb2db go@519f6a00 x/tools/gopls/internal/test/integration/template.TestTemplatesFromExtensions [ABORT] (<a href="https://ci.chromium.org/b/8750828129479414817">log</a>)</summary>

    === RUN   TestTemplatesFromExtensions
</details>

<details><summary>2024-04-12 23:28 x_tools-gotip-openbsd-amd64 tools@dd0410f0 go@c71d2a8d x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8750588058443428001">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 66351): see golang/go#54461 for more details

    goroutine 4552 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3155625118/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1360468, 0xc00789a8d0}, 0xc0000f3a20)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3155625118/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00004cc50, {0x1360468, 0xc00789a8d0}, {0x1356ec0, 0xc00789a9f0}, {0x1356ec0, 0xc00789aa20})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3155625118/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00004cc18?, {0x1360468, 0xc00789a8d0}, {0x1356ec0?, 0xc00789a9f0?}, {0x1356ec0, 0xc00789aa20})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3155625118/internal/gocommand/invoke.go:182 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc007be2380, {0x1360468, 0xc00789a8d0}, {{0x107186f, 0x4}, {0xc0078b2000, 0xb, 0xe}, {0x1a7a340, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3155625118/internal/gocommand/invoke.go:121 +0x165
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc007be2380, {0x1360510, 0xc007958460}, {{0x107186f, 0x4}, {0xc0078b2000, 0xb, 0xe}, {0x1a7a340, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3155625118/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc007b98320?, {0x107186f?, 0x4?}, {0xc0078b2000, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3155625118/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc007b98320, {0xc007be23a0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3155625118/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0006636c8, {0xc007be22c0, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3155625118/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3155625118/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4549
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-04-15 13:39 x_tools-go1.21-openbsd-amd64 tools@0c3722af release-branch.go1.21@891ac91e x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8750585447892895249">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 74896): see golang/go#54461 for more details

    goroutine 4136 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3197783509/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x131cbe0, 0xc002601200}, 0xc001046dc0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3197783509/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00135caa8, {0x131cbe0, 0xc002601200}, {0x1313e00?, 0xc002601380}, {0x1313e00?, 0xc0026013b0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3197783509/internal/gocommand/invoke.go:273 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00135ca70?, {0x131cbe0, 0xc002601200}, {0x1313e00?, 0xc002601380?}, {0x1313e00?, 0xc0026013b0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3197783509/internal/gocommand/invoke.go:182 +0x59
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00277ebe0, {0x131cbe0, 0xc002601200}, {{0x102927f, 0x4}, {0xc00117a000, 0xb, 0xe}, {0x1a05400, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3197783509/internal/gocommand/invoke.go:121 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x7a198a?, {0x131cc88, 0xc000c7f0a0}, {{0x102927f, 0x4}, {0xc00117a000, 0xb, 0xe}, {0x1a05400, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3197783509/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc007296780?, {0x102927f?, 0x4?}, {0xc00117a000?, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3197783509/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc007296780, {0xc00277ec00, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3197783509/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0010c0008, {0xc00277eb20, 0x2, 0xc0004ed320?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3197783509/go/packages/golist.go:200 +0x7af
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3197783509/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4133
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-04-15 20:24 x_tools-gotip-windows-amd64-race tools@cb134f5c go@ca94e9e2 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default [ABORT] (<a href="https://ci.chromium.org/b/8750557933456102689">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default
    panic: detected hanging go command (pid 6560): see golang/go#54461 for more details

    goroutine 610 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo2976085931/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417b4dc8, 0xc0007020c0}, 0xc0006ee000)
        C:/b/s/w/ir/x/w/targetrepo2976085931/internal/gocommand/invoke.go:378 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0006e0898, {0x1417b4dc8, 0xc0007020c0}, {0x1417ab540, 0xc0007024e0}, {0x1417ab540, 0xc000702510})
        C:/b/s/w/ir/x/w/targetrepo2976085931/internal/gocommand/invoke.go:273 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0006e0898, {0x1417b4dc8, 0xc0007020c0}, {0x1417ab540, 0xc0007024e0}, {0x1417ab540, 0xc000702510})
        C:/b/s/w/ir/x/w/targetrepo2976085931/internal/gocommand/invoke.go:182 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc000334500, {0x1417b4dc8, 0xc0007020c0}, {{0x141411910, 0x4}, {0xc0006ae000, 0xc, 0xe}, {0x141f8cec0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2976085931/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc000334500, {0x1417b4e70, 0xc0003201c0}, {{0x141411910, 0x4}, {0xc0006ae000, 0xc, 0xe}, {0x141f8cec0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2976085931/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc00039b680, {0x141411910, 0x4}, {0xc0006ae000, 0xc, 0xe})
        C:/b/s/w/ir/x/w/targetrepo2976085931/go/packages/golist.go:878 +0x5ab
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00039b680, {0xc0005f68a0, 0x3, 0x3})
        C:/b/s/w/ir/x/w/targetrepo2976085931/go/packages/golist.go:377 +0xd7
    golang.org/x/tools/go/packages.goListDriver(0xc0003d0008, {0xc000122800, 0x3, 0xc000629ed8?})
        C:/b/s/w/ir/x/w/targetrepo2976085931/go/packages/golist.go:200 +0xc5f
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        C:/b/s/w/ir/x/w/targetrepo2976085931/go/packages/packages.go:336 +0xa6
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x92
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 550
        C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x125
</details>

<details><summary>2024-04-15 20:24 x_tools-gotip-windows-amd64-race tools@cb134f5c go@ca94e9e2 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc/default [ABORT] (<a href="https://ci.chromium.org/b/8750557933456102689">log</a>)</summary>

    === RUN   TestFuzzFunc/default
    panic: detected hanging go command (pid 9000): see golang/go#54461 for more details

    goroutine 379 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo2976085931/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417ef7a8, 0xc0005880f0}, 0xc0006a8000)
        C:/b/s/w/ir/x/w/targetrepo2976085931/internal/gocommand/invoke.go:378 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000612898, {0x1417ef7a8, 0xc0005880f0}, {0x1417e5e60, 0xc000588210}, {0x1417e5e60, 0xc000588240})
        C:/b/s/w/ir/x/w/targetrepo2976085931/internal/gocommand/invoke.go:273 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000612898, {0x1417ef7a8, 0xc0005880f0}, {0x1417e5e60, 0xc000588210}, {0x1417e5e60, 0xc000588240})
        C:/b/s/w/ir/x/w/targetrepo2976085931/internal/gocommand/invoke.go:182 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00057ff00, {0x1417ef7a8, 0xc0005880f0}, {{0x141444889, 0x4}, {0xc000626000, 0xb, 0xe}, {0x141fd6100, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2976085931/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00057ff00, {0x1417ef850, 0xc000146b60}, {{0x141444889, 0x4}, {0xc000626000, 0xb, 0xe}, {0x141fd6100, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2976085931/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0005ac460, {0x141444889, 0x4}, {0xc000626000, 0xb, 0xe})
        C:/b/s/w/ir/x/w/targetrepo2976085931/go/packages/golist.go:878 +0x5ab
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0005ac460, {0xc00057ff20, 0x2, 0x2})
        C:/b/s/w/ir/x/w/targetrepo2976085931/go/packages/golist.go:377 +0xd7
    golang.org/x/tools/go/packages.goListDriver(0xc0004da0e8, {0xc00057fe40, 0x2, 0xc000423ed8?})
        C:/b/s/w/ir/x/w/targetrepo2976085931/go/packages/golist.go:200 +0xc5f
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        C:/b/s/w/ir/x/w/targetrepo2976085931/go/packages/packages.go:336 +0xa6
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x92
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 375
        C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x125
</details>

<details><summary>2024-04-15 20:24 x_tools-gotip-windows-amd64-race tools@cb134f5c go@ca94e9e2 x/tools/gopls/internal/test/integration/inlayhints.TestEnablingInlayHints/enable_const/default [ABORT] (<a href="https://ci.chromium.org/b/8750557933456102689">log</a>)</summary>

    === RUN   TestEnablingInlayHints/enable_const/default
    panic: detected hanging go command (pid 3832): see golang/go#54461 for more details

    goroutine 241 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        C:/b/s/w/ir/x/w/targetrepo2976085931/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417a86c8, 0xc0000000c0}, 0xc00078c000)
        C:/b/s/w/ir/x/w/targetrepo2976085931/internal/gocommand/invoke.go:378 +0xe9e
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0007be898, {0x1417a86c8, 0xc0000000c0}, {0x14179ee40, 0xc0000001e0}, {0x14179ee40, 0xc000000210})
        C:/b/s/w/ir/x/w/targetrepo2976085931/internal/gocommand/invoke.go:273 +0x1710
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0007be898, {0x1417a86c8, 0xc0000000c0}, {0x14179ee40, 0xc0000001e0}, {0x14179ee40, 0xc000000210})
        C:/b/s/w/ir/x/w/targetrepo2976085931/internal/gocommand/invoke.go:182 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc000553020, {0x1417a86c8, 0xc0000000c0}, {{0x141406be4, 0x4}, {0xc0007080e0, 0xb, 0xe}, {0x141f7be20, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2976085931/internal/gocommand/invoke.go:121 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc000553020, {0x1417a8770, 0xc00030c850}, {{0x141406be4, 0x4}, {0xc0007080e0, 0xb, 0xe}, {0x141f7be20, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2976085931/internal/gocommand/invoke.go:95 +0x415
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc000303540, {0x141406be4, 0x4}, {0xc0007080e0, 0xb, 0xe})
        C:/b/s/w/ir/x/w/targetrepo2976085931/go/packages/golist.go:878 +0x5ab
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc000303540, {0xc000553040, 0x2, 0x2})
        C:/b/s/w/ir/x/w/targetrepo2976085931/go/packages/golist.go:377 +0xd7
    golang.org/x/tools/go/packages.goListDriver(0xc0005ba008, {0xc000552f60, 0x2, 0xc0005b3ed8?})
        C:/b/s/w/ir/x/w/targetrepo2976085931/go/packages/golist.go:200 +0xc5f
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        C:/b/s/w/ir/x/w/targetrepo2976085931/go/packages/packages.go:336 +0xa6
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x92
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 371
        C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x125
</details>

<details><summary>2024-04-15 21:33 x_tools-go1.21-openbsd-amd64 tools@7c7d7dba release-branch.go1.21@891ac91e x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8750555645727539249">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 95102): see golang/go#54461 for more details

    goroutine 3967 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4236229631/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x131e400, 0xc00239a270}, 0xc0001589a0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4236229631/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001a24aa8, {0x131e400, 0xc00239a270}, {0x13155a0?, 0xc00239a3c0}, {0x13155a0?, 0xc00239a3f0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4236229631/internal/gocommand/invoke.go:273 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001a24a70?, {0x131e400, 0xc00239a270}, {0x13155a0?, 0xc00239a3c0?}, {0x13155a0?, 0xc00239a3f0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4236229631/internal/gocommand/invoke.go:182 +0x59
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0028d5480, {0x131e400, 0xc00239a270}, {{0x102a81f, 0x4}, {0xc0011ce000, 0xb, 0xe}, {0x1a08400, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4236229631/internal/gocommand/invoke.go:121 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x7a198a?, {0x131e4a8, 0xc0075ffdc0}, {{0x102a81f, 0x4}, {0xc0011ce000, 0xb, 0xe}, {0x1a08400, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4236229631/internal/gocommand/invoke.go:95 +0x335
    golang.o
</details>
(... long comment truncated ...)


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-17 18:10 darwin-amd64-longtest tools@c17402c8 go@2073b35e x/tools/gopls/internal/test/integration/diagnostics (<a href="https://build.golang.org/log/b8904ddfe6d00cd2161305ccc52c6f53b6380dac">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 41606): see golang/go#54461 for more details

    goroutine 55805 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc004d043c0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:445 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0xb4a51a8, 0xc002e0e090}, 0xc00151ab00)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0011b4a50, {0xb4a51a8, 0xc002e0e090}, {0xb49bcf8, 0xc002e0e1b0}, {0xb49bcf8, 0xc002e0e1e0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0011b4a18?, {0xb4a51a8, 0xc002e0e090}, {0xb49bcf8?, 0xc002e0e1b0?}, {0xb49bcf8, 0xc002e0e1e0})
    ...
    golang.org/x/tools/go/packages.(*golistState).runContainsQueries(0xc000135d60, 0xc001d68360, {0xc00049abf0?, 0xa54ca2e?, 0xb307120?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:227 +0xec
    golang.org/x/tools/go/packages.goListDriver(0xc000240e08, {0xc00049a210, 0x1, 0xa2c226f672e676e?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:208 +0x877
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 56025
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-04-17 23:45 darwin-amd64-longtest tools@2debfbea go@a0205e65 x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/9af560cd29686a255166eecfef5dab4c410892f6">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49357
    serve.go:441: debug server listening at http://localhost:49358
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 50846 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00e4ee390)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:445 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0x2bcfa98, 0xc00cd8a390}, 0xc005302840)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0007aec50, {0x2bcfa98, 0xc00cd8a390}, {0x2bc6518, 0xc00cd8a4e0}, {0x2bc6518, 0xc00cd8a510})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0007aec18?, {0x2bcfa98, 0xc00cd8a390}, {0x2bc6518?, 0xc00cd8a4e0?}, {0x2bc6518, 0xc00cd8a510})
    ...
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc003d53ae0, {0xc004975000, 0x2, 0x2})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc00060c468, {0xc004974f20, 0x2, 0x0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 50912
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-16 16:30 x_tools-gotip-openbsd-amd64 tools@e7165990 go@330bc950 golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8750477964396190721">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 229.121s
</details>

<details><summary>2024-04-16 16:30 x_tools-gotip-openbsd-amd64 tools@e7165990 go@330bc950 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8750477964396190721">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 8636): see golang/go#54461 for more details

    goroutine 4345 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1962779912/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1362068, 0xc0021fdd10}, 0xc00131cc60)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1962779912/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0017f8c50, {0x1362068, 0xc0021fdd10}, {0x1358a20, 0xc0021fde30}, {0x1358a20, 0xc0021fde60})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1962779912/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0017f8c18?, {0x1362068, 0xc0021fdd10}, {0x1358a20?, 0xc0021fde30?}, {0x1358a20, 0xc0021fde60})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1962779912/internal/gocommand/invoke.go:182 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc003699be0, {0x1362068, 0xc0021fdd10}, {{0x1072f8f, 0x4}, {0xc007aaa0e0, 0xb, 0xe}, {0x1a7d340, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1962779912/internal/gocommand/invoke.go:121 +0x165
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc003699be0, {0x1362110, 0xc0011e37a0}, {{0x1072f8f, 0x4}, {0xc007aaa0e0, 0xb, 0xe}, {0x1a7d340, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1962779912/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0011a2e60?, {0x1072f8f?, 0x4?}, {0xc007aaa0e0, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1962779912/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0011a2e60, {0xc003699c00, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1962779912/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0000021c8, {0xc003699b20, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1962779912/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1962779912/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4425
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-04-17 17:31 x_tools-go1.21-openbsd-amd64 tools@ee61fb0c release-branch.go1.21@891ac91e golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8750389698990173729">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 196.120s
</details>

<details><summary>2024-04-17 17:31 x_tools-go1.21-openbsd-amd64 tools@ee61fb0c release-branch.go1.21@891ac91e x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8750389698990173729">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 90215): see golang/go#54461 for more details

    goroutine 3550 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2316517910/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x131e3e0, 0xc007588030}, 0xc00025fce0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2316517910/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0029a8aa8, {0x131e3e0, 0xc007588030}, {0x1315580?, 0xc007588150}, {0x1315580?, 0xc007588180})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2316517910/internal/gocommand/invoke.go:273 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0029a8a70?, {0x131e3e0, 0xc007588030}, {0x1315580?, 0xc007588150?}, {0x1315580?, 0xc007588180?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2316517910/internal/gocommand/invoke.go:182 +0x59
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc007033080, {0x131e3e0, 0xc007588030}, {{0x102a75f, 0x4}, {0xc007586000, 0xb, 0xe}, {0x1a08400, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2316517910/internal/gocommand/invoke.go:121 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x7a218a?, {0x131e488, 0xc002b3c150}, {{0x102a75f, 0x4}, {0xc007586000, 0xb, 0xe}, {0x1a08400, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2316517910/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc00706e140?, {0x102a75f?, 0x4?}, {0xc007586000?, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2316517910/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00706e140, {0xc0070330a0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2316517910/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc007500008, {0xc007032fc0, 0x2, 0xc0007205a0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2316517910/go/packages/golist.go:200 +0x7af
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2316517910/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 3548
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-19 12:38 x_tools-go1.21-openbsd-amd64 tools@618670db release-branch.go1.21@891ac91e golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8750226898962322241">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 187.821s
</details>

<details><summary>2024-04-19 12:38 x_tools-go1.21-openbsd-amd64 tools@618670db release-branch.go1.21@891ac91e x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8750226898962322241">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 40893): see golang/go#54461 for more details

    goroutine 4135 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo391473887/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x131e3c0, 0xc007694bd0}, 0xc00769a2c0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo391473887/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0074a2aa8, {0x131e3c0, 0xc007694bd0}, {0x1315560?, 0xc007694cf0}, {0x1315560?, 0xc007694d20})
        /home/swarming/.swarming/w/ir/x/w/targetrepo391473887/internal/gocommand/invoke.go:273 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0074a2a70?, {0x131e3c0, 0xc007694bd0}, {0x1315560?, 0xc007694cf0?}, {0x1315560?, 0xc007694d20?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo391473887/internal/gocommand/invoke.go:182 +0x59
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00759ef60, {0x131e3c0, 0xc007694bd0}, {{0x102a75f, 0x4}, {0xc0076980e0, 0xb, 0xe}, {0x1a07400, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo391473887/internal/gocommand/invoke.go:121 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x7a218a?, {0x131e468, 0xc0014e52d0}, {{0x102a75f, 0x4}, {0xc0076980e0, 0xb, 0xe}, {0x1a07400, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo391473887/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc00264f900?, {0x102a75f?, 0x4?}, {0xc0076980e0?, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo391473887/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00264f900, {0xc00759ef80, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo391473887/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc007698008, {0xc00759eea0, 0x2, 0xc0001199e0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo391473887/go/packages/golist.go:200 +0x7af
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo391473887/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4241
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-22 14:14 x_tools-go1.22-openbsd-amd64 tools@8db95b70 release-branch.go1.22@d6c972ad golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8749949058024943761">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 231.487s
</details>

<details><summary>2024-04-22 14:14 x_tools-go1.22-openbsd-amd64 tools@8db95b70 release-branch.go1.22@d6c972ad x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8749949058024943761">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 29527): see golang/go#54461 for more details

    goroutine 4502 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3940131175/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1366148, 0xc007a1bd40}, 0xc003871340)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3940131175/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00387abf8, {0x1366148, 0xc007a1bd40}, {0x135d300, 0xc007a1be60}, {0x135d300, 0xc007a1be90})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3940131175/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00387abc0?, {0x1366148, 0xc007a1bd40}, {0x135d300?, 0xc007a1be60?}, {0x135d300, 0xc007a1be90})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3940131175/internal/gocommand/invoke.go:182 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc007895e80, {0x1366148, 0xc007a1bd40}, {{0x106bad9, 0x4}, {0xc0037402a0, 0xb, 0xe}, {0x1ab9040, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3940131175/internal/gocommand/invoke.go:121 +0x165
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc007895e80, {0x13661f0, 0xc002a5b340}, {{0x106bad9, 0x4}, {0xc0037402a0, 0xb, 0xe}, {0x1ab9040, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3940131175/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc002f9c140?, {0x106bad9?, 0x4?}, {0xc0037402a0, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3940131175/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc002f9c140, {0xc007895ea0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3940131175/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc003a9e0e8, {0xc007895dc0, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3940131175/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3940131175/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4518
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-22 14:14 darwin-amd64-longtest tools@8db95b70 go@2dddc7ef x/tools/gopls/internal/test/integration/diagnostics (<a href="https://build.golang.org/log/6f70ff45a8724bcdf4d4e20a65b114004c7587f2">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 41285): see golang/go#54461 for more details

    goroutine 53228 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0017b0960)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:445 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0xa658288, 0xc0020acb40}, 0xc000e95a20)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001794a50, {0xa658288, 0xc0020acb40}, {0xa64edd8, 0xc0020acc60}, {0xa64edd8, 0xc0020acc90})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001794a18?, {0xa658288, 0xc0020acb40}, {0xa64edd8?, 0xc0020acc60?}, {0xa64edd8, 0xc0020acc90})
    ...
    golang.org/x/tools/go/packages.(*golistState).runContainsQueries(0xc00149d0e0, 0xc0084a19c8, {0xc00398a410?, 0xc000d230e0?, 0xa4ba1e0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:227 +0xec
    golang.org/x/tools/go/packages.goListDriver(0xc00086e388, {0xc00398a2d0, 0x1, 0xc002eda870?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:208 +0x877
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 53323
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-04-22 14:14 darwin-amd64-longtest tools@8db95b70 go@2dddc7ef x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/6f70ff45a8724bcdf4d4e20a65b114004c7587f2">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49363
    serve.go:441: debug server listening at http://localhost:49364
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 50836 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0040c5710)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:445 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0x8142ab8, 0xc000497a10}, 0xc00289fa20)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000becc50, {0x8142ab8, 0xc000497a10}, {0x8139538, 0xc000497b30}, {0x8139538, 0xc000497b60})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000becc18?, {0x8142ab8, 0xc000497a10}, {0x8139538?, 0xc000497b30?}, {0x8139538, 0xc000497b60})
    ...
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00b116b40, {0xc0017a3040, 0x2, 0x2})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc002a140e8, {0xc0017a2f40, 0x2, 0x0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 50800
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-22 20:35 x_tools-go1.21-darwin-amd64-longtest tools@e8c9d819 release-branch.go1.21@891ac91e golang.org/x/tools/gopls/internal/test/integration/workspace (<a href="https://ci.chromium.org/b/8749925145648029969">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/workspace    115.663s
</details>

<details><summary>2024-04-22 20:35 x_tools-go1.21-darwin-amd64-longtest tools@e8c9d819 release-branch.go1.21@891ac91e x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8749925145648029969">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/default
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 15508 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc006d43380)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo3216847341/internal/gocommand/invoke.go:445 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f6f2e0, 0xc006d5cd50}, 0xc001215760)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo3216847341/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000b06978, {0x1f6f2e0, 0xc006d5cd50}, {0x1f66340?, 0xc006d5ce70}, {0x1f66340?, 0xc006d5cea0})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo3216847341/internal/gocommand/invoke.go:273 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000b06940?, {0x1f6f2e0, 0xc006d5cd50}, {0x1f66340?, 0xc006d5ce70?}, {0x1f66340?, 0xc006d5cea0?})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f6f2e0, 0xc006e37050}, 0xc006e37620, {0x4940e980, 0xc006e36f90})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo3216847341/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f6f2e0, 0xc006e37050}, 0xc006e37620, {0x4940e980?, 0xc006e36f90?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo3216847341/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f6f2e0, 0xc006e37050}, 0xc006e461e0, {0x4940e980?, 0xc006e36f90?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo3216847341/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Users/swarming/.swarming/w/ir/x/w/targetrepo3216847341/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 15506
        /Users/swarming/.swarming/w/ir/x/w/targetrepo3216847341/internal/jsonrpc2/handler.go:100 +0x1ed
</details>

<details><summary>2024-04-22 20:35 x_tools-go1.22-openbsd-amd64 tools@e8c9d819 release-branch.go1.22@d6c972ad golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8749925128066811409">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 237.873s
</details>

<details><summary>2024-04-22 20:35 x_tools-go1.22-openbsd-amd64 tools@e8c9d819 release-branch.go1.22@d6c972ad x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8749925128066811409">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 98827): see golang/go#54461 for more details

    goroutine 4676 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1752685801/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x13662c8, 0xc003ffca50}, 0xc000aee9a0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1752685801/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc003e32bf8, {0x13662c8, 0xc003ffca50}, {0x135d440, 0xc003ffcb70}, {0x135d440, 0xc003ffcba0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1752685801/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc003e32bc0?, {0x13662c8, 0xc003ffca50}, {0x135d440?, 0xc003ffcb70?}, {0x135d440, 0xc003ffcba0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1752685801/internal/gocommand/invoke.go:182 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc003c0f3a0, {0x13662c8, 0xc003ffca50}, {{0x106bc19, 0x4}, {0xc007c28000, 0xb, 0xe}, {0x1ab9040, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1752685801/internal/gocommand/invoke.go:121 +0x165
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc003c0f3a0, {0x1366370, 0xc003c26230}, {{0x106bc19, 0x4}, {0xc007c28000, 0xb, 0xe}, {0x1ab9040, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1752685801/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc003aee320?, {0x106bc19?, 0x4?}, {0xc007c28000, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1752685801/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc003aee320, {0xc003c0f3c0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1752685801/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc003c5e008, {0xc003c0f2e0, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1752685801/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1752685801/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 3889
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-22 20:35 x_tools-go1.21-windows-amd64-race tools@e8c9d819 release-branch.go1.21@891ac91e golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8749925145967727425">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 370.644s
</details>

<details><summary>2024-04-22 20:35 x_tools-go1.21-windows-amd64-race tools@e8c9d819 release-branch.go1.21@891ac91e x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace [ABORT] (<a href="https://ci.chromium.org/b/8749925145967727425">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace
</details>

<details><summary>2024-04-22 20:35 x_tools-go1.21-windows-amd64-race tools@e8c9d819 release-branch.go1.21@891ac91e golang.org/x/tools/gopls/internal/test/integration/inlayhints (<a href="https://ci.chromium.org/b/8749925145967727425">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/inlayhints   364.919s
</details>

<details><summary>2024-04-23 15:10 x_tools-go1.21-windows-amd64-race tools@a363d11f release-branch.go1.21@891ac91e golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8749854980113305121">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 739.162s
</details>

<details><summary>2024-04-23 15:10 x_tools-go1.21-windows-amd64-race tools@a363d11f release-branch.go1.21@891ac91e x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace [ABORT] (<a href="https://ci.chromium.org/b/8749854980113305121">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace
</details>

<details><summary>2024-04-23 15:10 x_tools-go1.21-windows-amd64-race tools@a363d11f release-branch.go1.21@891ac91e golang.org/x/tools/gopls/internal/test/integration/inlayhints (<a href="https://ci.chromium.org/b/8749854980113305121">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/inlayhints   733.189s
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-23 20:28 darwin-amd64-longtest tools@15234410 go@e6891188 x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/6ce6a0b8502c45b30b845f6913898b8033707ed6">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49346
    serve.go:441: debug server listening at http://localhost:49347
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 50494 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00ac846c0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:445 +0x419
    golang.org/x/tools/internal/gocommand.runCmdContext({0x4361f18, 0xc0096f74a0}, 0xc000234420)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:378 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00066ac50, {0x4361f18, 0xc0096f74a0}, {0x43588b8, 0xc0096f75c0}, {0x43588b8, 0xc0096f75f0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00066ac18?, {0x4361f18, 0xc0096f74a0}, {0x43588b8?, 0xc0096f75c0?}, {0x43588b8, 0xc0096f75f0})
    ...
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00032afa0, {0xc009235c20, 0x2, 0x2})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0028d0628, {0xc009235b40, 0x2, 0xc000de6980?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 50491
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-23 20:28 x_tools-gotip-windows-amd64-race tools@15234410 go@db5f2b41 golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8749726662723800177">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 255.799s
</details>

<details><summary>2024-04-23 20:28 x_tools-gotip-windows-amd64-race tools@15234410 go@db5f2b41 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace [ABORT] (<a href="https://ci.chromium.org/b/8749726662723800177">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace
</details>

<details><summary>2024-04-23 20:28 x_tools-gotip-windows-amd64-race tools@15234410 go@db5f2b41 golang.org/x/tools/gopls/internal/test/integration/diagnostics (<a href="https://ci.chromium.org/b/8749726662723800177">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/diagnostics  253.369s
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-25 05:11 x_tools-go1.22-openbsd-amd64 tools@b00d49ed release-branch.go1.22@d6c972ad golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8749711468388297633">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 212.138s
</details>

<details><summary>2024-04-25 05:11 x_tools-go1.22-openbsd-amd64 tools@b00d49ed release-branch.go1.22@d6c972ad x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8749711468388297633">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 84913): see golang/go#54461 for more details

    goroutine 4511 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1173932031/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1366308, 0xc0072a1f20}, 0xc000adb4a0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1173932031/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007148bf8, {0x1366308, 0xc0072a1f20}, {0x135d4a0, 0xc0072b60c0}, {0x135d4a0, 0xc0072b60f0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1173932031/internal/gocommand/invoke.go:273 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc007148bc0?, {0x1366308, 0xc0072a1f20}, {0x135d4a0?, 0xc0072b60c0?}, {0x135d4a0, 0xc0072b60f0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1173932031/internal/gocommand/invoke.go:182 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc007286d00, {0x1366308, 0xc0072a1f20}, {{0x106bc59, 0x4}, {0xc0072a60e0, 0xb, 0xe}, {0x1ab9040, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1173932031/internal/gocommand/invoke.go:121 +0x165
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc007286d00, {0x13663b0, 0xc004691420}, {{0x106bc59, 0x4}, {0xc0072a60e0, 0xb, 0xe}, {0x1ab9040, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1173932031/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0046b0be0?, {0x106bc59?, 0x4?}, {0xc0072a60e0, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1173932031/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0046b0be0, {0xc007286d20, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1173932031/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0072a6008, {0xc007286c40, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1173932031/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1173932031/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4508
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-25 20:20 x_tools-go1.21-openbsd-amd64 tools@fcea13b6 release-branch.go1.21@891ac91e golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8749654284771884081">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 206.276s
</details>

<details><summary>2024-04-25 20:20 x_tools-go1.21-openbsd-amd64 tools@fcea13b6 release-branch.go1.21@891ac91e x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8749654284771884081">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 89055): see golang/go#54461 for more details

    goroutine 4014 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2526726720/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x131e5e0, 0xc001e6a300}, 0xc000fc49a0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2526726720/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00153eaa8, {0x131e5e0, 0xc001e6a300}, {0x1315780?, 0xc001e6a420}, {0x1315780?, 0xc001e6a450})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2526726720/internal/gocommand/invoke.go:273 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00153ea70?, {0x131e5e0, 0xc001e6a300}, {0x1315780?, 0xc001e6a420?}, {0x1315780?, 0xc001e6a450?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2526726720/internal/gocommand/invoke.go:182 +0x59
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00221e360, {0x131e5e0, 0xc001e6a300}, {{0x102a8df, 0x4}, {0xc000ff2000, 0xb, 0xe}, {0x1a08400, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2526726720/internal/gocommand/invoke.go:121 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x7a228a?, {0x131e688, 0xc003724000}, {{0x102a8df, 0x4}, {0xc000ff2000, 0xb, 0xe}, {0x1a08400, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2526726720/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc000698e60?, {0x102a8df?, 0x4?}, {0xc000ff2000?, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2526726720/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc000698e60, {0xc00221e380, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2526726720/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc000738008, {0xc00221e2a0, 0x2, 0xc000a5c630?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2526726720/go/packages/golist.go:200 +0x7af
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2526726720/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4037
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-04-26 17:54 x_tools-go1.21-openbsd-amd64 tools@bcec0994 release-branch.go1.21@891ac91e golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8749572890855059825">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 207.921s
</details>

<details><summary>2024-04-26 17:54 x_tools-go1.21-openbsd-amd64 tools@bcec0994 release-branch.go1.21@891ac91e x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8749572890855059825">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 25742): see golang/go#54461 for more details

    goroutine 4025 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo932394896/internal/gocommand/invoke.go:445
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1322060, 0xc00145cf00}, 0xc000762160)
        /home/swarming/.swarming/w/ir/x/w/targetrepo932394896/internal/gocommand/invoke.go:378 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0014c2aa8, {0x1322060, 0xc00145cf00}, {0x1319200?, 0xc00145d020}, {0x1319200?, 0xc00145d050})
        /home/swarming/.swarming/w/ir/x/w/targetrepo932394896/internal/gocommand/invoke.go:273 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0014c2a70?, {0x1322060, 0xc00145cf00}, {0x1319200?, 0xc00145d020?}, {0x1319200?, 0xc00145d050?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo932394896/internal/gocommand/invoke.go:182 +0x59
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc003085340, {0x1322060, 0xc00145cf00}, {{0x102de5f, 0x4}, {0xc00022e2a0, 0xb, 0xe}, {0x1a0c400, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo932394896/internal/gocommand/invoke.go:121 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x7a228a?, {0x1322108, 0xc002eca620}, {{0x102de5f, 0x4}, {0xc00022e2a0, 0xb, 0xe}, {0x1a0c400, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo932394896/internal/gocommand/invoke.go:95 +0x335
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc00723caa0?, {0x102de5f?, 0x4?}, {0xc00022e2a0?, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo932394896/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00723caa0, {0xc003085360, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo932394896/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc001294008, {0xc003085280, 0x2, 0xc0004d8990?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo932394896/go/packages/golist.go:200 +0x7af
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo932394896/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4038
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-26 20:48 darwin-amd64-longtest tools@0b451635 go@774d5b36 x/tools/gopls/internal/test/integration/workspace (<a href="https://build.golang.org/log/fb274292cddd3d418cbc89e1b994ddb39b3a30e4">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 40276): see golang/go#54461 for more details

    goroutine 27971 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc009f7e4b0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:447 +0x3e9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x7105be8, 0xc006ddc390}, 0xc006263760)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:380 +0x49a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0004e5620, {0x7105be8, 0xc006ddc390}, {0x70fc598, 0xc006ddc4b0}, {0x70fc598, 0xc006ddc4e0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:275 +0xfe5
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0004e55e8?, {0x7105be8, 0xc006ddc390}, {0x70fc598?, 0xc006ddc4b0?}, {0x70fc598, 0xc006ddc4e0})
    ...
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x7105c20, 0xc0039fdb80}, {0x70f1c40, 0xc00705ad80})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/mod_tidy.go:81 +0x75
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0x9c
    runtime/trace.WithRegion({0x7105c20?, 0xc0039fdb80?}, {0xc0058ec4c8, 0x13}, 0xc000659f80)
        /tmp/buildlet/go/src/runtime/trace/annotation.go:141 +0xd1
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x11d
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 27970
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x1a5
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-26 20:48 x_tools-go1.21-darwin-amd64-longtest tools@0b451635 release-branch.go1.21@891ac91e golang.org/x/tools/gopls/internal/test/integration/workspace (<a href="https://ci.chromium.org/b/8749561922018758881">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/workspace    111.329s
</details>

<details><summary>2024-04-26 20:48 x_tools-go1.21-darwin-amd64-longtest tools@0b451635 release-branch.go1.21@891ac91e x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8749561922018758881">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/default
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 14988 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0070798c0)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2592685925/internal/gocommand/invoke.go:447 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f71720, 0xc00718ef00}, 0xc006eeab00)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2592685925/internal/gocommand/invoke.go:380 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006f82918, {0x1f71720, 0xc00718ef00}, {0x1f687c0?, 0xc00718f020}, {0x1f687c0?, 0xc00718f050})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2592685925/internal/gocommand/invoke.go:275 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc006f828e0?, {0x1f71720, 0xc00718ef00}, {0x1f687c0?, 0xc00718f020?}, {0x1f687c0?, 0xc00718f050?})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f71720, 0xc006fd61b0}, 0xc006fd6780, {0x496b75f8, 0xc006fd60f0})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2592685925/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f71720, 0xc006fd61b0}, 0xc006fd6780, {0x496b75f8?, 0xc006fd60f0?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2592685925/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f71720, 0xc006fd61b0}, 0xc006f9bec0, {0x496b75f8?, 0xc006fd60f0?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2592685925/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2592685925/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 15188
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2592685925/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-29 15:14 x_tools-gotip-openbsd-amd64 tools@5ef4fc90 go@16ce8b39 golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8749311167439616961">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 204.670s
</details>

<details><summary>2024-04-29 15:14 x_tools-gotip-openbsd-amd64 tools@5ef4fc90 go@16ce8b39 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8749311167439616961">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 89727): see golang/go#54461 for more details

    goroutine 4431 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2943098624/internal/gocommand/invoke.go:447
    golang.org/x/tools/internal/gocommand.runCmdContext({0x136a2c8, 0xc007a76ae0}, 0xc0002d6b00)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2943098624/internal/gocommand/invoke.go:380 +0x92a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc003410c48, {0x136a2c8, 0xc007a76ae0}, {0x1360b80, 0xc007a76c00}, {0x1360b80, 0xc007a76c30})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2943098624/internal/gocommand/invoke.go:275 +0xfe5
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc003410c10?, {0x136a2c8, 0xc007a76ae0}, {0x1360b80?, 0xc007a76c00?}, {0x1360b80, 0xc007a76c30})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2943098624/internal/gocommand/invoke.go:184 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc007a7a080, {0x136a2c8, 0xc007a76ae0}, {{0x10759f2, 0x4}, {0xc00346e2a0, 0xb, 0xe}, {0x1a926c0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2943098624/internal/gocommand/invoke.go:123 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc007a7a080, {0x136a370, 0xc00782cb60}, {{0x10759f2, 0x4}, {0xc00346e2a0, 0xb, 0xe}, {0x1a926c0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2943098624/internal/gocommand/invoke.go:97 +0x370
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0034286e0?, {0x10759f2?, 0x4?}, {0xc00346e2a0, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2943098624/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0034286e0, {0xc007a7a0a0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2943098624/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc00346e1c8, {0xc00785ff40, 0x2, 0xc0039bd540?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2943098624/go/packages/golist.go:200 +0x79f
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2943098624/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x50
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4428
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-04-29 15:14 x_tools-go1.21-openbsd-amd64 tools@5ef4fc90 release-branch.go1.21@891ac91e golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8749311151282117553">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 203.848s
</details>

<details><summary>2024-04-29 15:14 x_tools-go1.21-openbsd-amd64 tools@5ef4fc90 release-branch.go1.21@891ac91e x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8749311151282117553">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 70558): see golang/go#54461 for more details

    goroutine 3892 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1628105110/internal/gocommand/invoke.go:447
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1320fe0, 0xc0075d6060}, 0xc0035589a0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1628105110/internal/gocommand/invoke.go:380 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0075c4a78, {0x1320fe0, 0xc0075d6060}, {0x1318180?, 0xc0075d6180}, {0x1318180?, 0xc0075d61b0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1628105110/internal/gocommand/invoke.go:275 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0075c4a40?, {0x1320fe0, 0xc0075d6060}, {0x1318180?, 0xc0075d6180?}, {0x1318180?, 0xc0075d61b0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1628105110/internal/gocommand/invoke.go:184 +0x59
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc007593120, {0x1320fe0, 0xc0075d6060}, {{0x102cfa2, 0x4}, {0xc0075ca0e0, 0xb, 0xe}, {0x1a0b540, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1628105110/internal/gocommand/invoke.go:123 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x7a222a?, {0x1321088, 0xc003c0c460}, {{0x102cfa2, 0x4}, {0xc0075ca0e0, 0xb, 0xe}, {0x1a0b540, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1628105110/internal/gocommand/invoke.go:97 +0x370
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc003c08dc0?, {0x102cfa2?, 0x4?}, {0xc0075ca0e0?, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1628105110/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc003c08dc0, {0xc007593140, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1628105110/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0075ca008, {0xc007593060, 0x2, 0xc000c8a120?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1628105110/go/packages/golist.go:200 +0x7af
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1628105110/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 3665
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-04-29 17:36 x_tools-go1.21-openbsd-amd64 tools@74c9cfe4 release-branch.go1.21@891ac91e golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8749302254229698497">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 184.600s
</details>

<details><summary>2024-04-29 17:36 x_tools-go1.21-openbsd-amd64 tools@74c9cfe4 release-branch.go1.21@891ac91e x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8749302254229698497">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 12798): see golang/go#54461 for more details

    goroutine 3968 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1824797321/internal/gocommand/invoke.go:447
    golang.org/x/tools/internal/gocommand.runCmdContext({0x13210c0, 0xc0025b22d0}, 0xc003d47ce0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1824797321/internal/gocommand/invoke.go:380 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000ff0a78, {0x13210c0, 0xc0025b22d0}, {0x1318260?, 0xc0025b2450}, {0x1318260?, 0xc0025b24b0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1824797321/internal/gocommand/invoke.go:275 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000ff0a40?, {0x13210c0, 0xc0025b22d0}, {0x1318260?, 0xc0025b2450?}, {0x1318260?, 0xc0025b24b0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1824797321/internal/gocommand/invoke.go:184 +0x59
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0016b7e80, {0x13210c0, 0xc0025b22d0}, {{0x102cfc2, 0x4}, {0xc000663180, 0xb, 0xe}, {0x1a0b540, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1824797321/internal/gocommand/invoke.go:123 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x7a222a?, {0x1321168, 0xc002cc30a0}, {{0x102cfc2, 0x4}, {0xc000663180, 0xb, 0xe}, {0x1a0b540, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1824797321/internal/gocommand/invoke.go:97 +0x370
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc003aad540?, {0x102cfc2?, 0x4?}, {0xc000663180?, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1824797321/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc003aad540, {0xc0016b7ea0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1824797321/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0006630a8, {0xc0016b7dc0, 0x2, 0xc0003df290?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1824797321/go/packages/golist.go:200 +0x7af
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1824797321/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 3773
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-06 18:08 darwin-amd64-longtest tools@b020bdb5 go@5122a679 x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/c70069451c9d0ab0fa627357e3b49845fe4e5d8c">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49365
    serve.go:441: debug server listening at http://localhost:49366
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 52321 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00707df50)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:447 +0x3e9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x9fc5f58, 0xc002d6f3e0}, 0xc002847ce0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:380 +0x49a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc002c54db8, {0x9fc5f58, 0xc002d6f3e0}, {0x9fbd420, 0xc0017145a0}, {0x9fbc5a8, 0xc0001223a8})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:275 +0xfe5
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00c284b70?, {0x9fc5f58, 0xc002d6f3e0}, {0x9fbd420?, 0xc0017145a0?}, {0x9fbc5a8, 0xc0001223a8})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x9fc5f90, 0xc0021fba40}, 0xc00160ea50, {0x9fc60e0, 0xc00b526540})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x9fc5f90, 0xc0021fba40}, 0xc00160ea50, {0x9fc60e0, 0xc00b526540})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x9fc5f90, 0xc0021fba40}, 0xc00ee54c60, {0x9fc60e0, 0xc00b526540})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:35 +0xc6
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 52220
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:100 +0x1c5
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-07 14:48 darwin-amd64-longtest tools@b426bc7e go@5f5e9f4f x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/5b7a2d21de9b2ab4ee9240287ed0e56d23aeba3b">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49332
    serve.go:441: debug server listening at http://localhost:49333
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 51778 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0003b3b60)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:447 +0x3e9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x3a1b0d8, 0xc00d1cbe90}, 0xc008e25600)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:380 +0x49a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc002866c48, {0x3a1b0d8, 0xc00d1cbe90}, {0x3a11a80, 0xc00748e030}, {0x3a11a80, 0xc00748e060})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:275 +0xfe5
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc002866c10?, {0x3a1b0d8, 0xc00d1cbe90}, {0x3a11a80?, 0xc00748e030?}, {0x3a11a80, 0xc00748e060})
    ...
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc000d761e0, {0xc004c77740, 0x2, 0x2})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc002694e08, {0xc004c77660, 0x2, 0x0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:200 +0x79f
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x50
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 51794
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-08 13:35 x_tools-go1.21-darwin-amd64-longtest tools@1718e2d7 release-branch.go1.21@752b0090 golang.org/x/tools/gopls/internal/test/integration/workspace (<a href="https://ci.chromium.org/b/8748500955190568641">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/workspace    95.483s
</details>

<details><summary>2024-05-08 13:35 x_tools-go1.21-darwin-amd64-longtest tools@1718e2d7 release-branch.go1.21@752b0090 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8748500955190568641">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/default
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 16750 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc007811830)
        /Volumes/Work/s/w/ir/x/w/targetrepo1616120464/internal/gocommand/invoke.go:447 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f727e0, 0xc007836630}, 0xc007802160)
        /Volumes/Work/s/w/ir/x/w/targetrepo1616120464/internal/gocommand/invoke.go:380 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc004290918, {0x1f727e0, 0xc007836630}, {0x1f698a0?, 0xc007836750}, {0x1f698a0?, 0xc007836780})
        /Volumes/Work/s/w/ir/x/w/targetrepo1616120464/internal/gocommand/invoke.go:275 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0042908e0?, {0x1f727e0, 0xc007836630}, {0x1f698a0?, 0xc007836750?}, {0x1f698a0?, 0xc007836780?})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f727e0, 0xc0078a3350}, 0xc0078a3920, {0x497ffb58, 0xc0078a3290})
        /Volumes/Work/s/w/ir/x/w/targetrepo1616120464/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f727e0, 0xc0078a3350}, 0xc0078a3920, {0x497ffb58?, 0xc0078a3290?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1616120464/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f727e0, 0xc0078a3350}, 0xc0078909c0, {0x497ffb58?, 0xc0078a3290?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1616120464/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo1616120464/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16777
        /Volumes/Work/s/w/ir/x/w/targetrepo1616120464/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-08 14:20 x_tools-gotip-openbsd-amd64 tools@5daf157e go@4ed358b5 golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8748499152212213905">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 242.443s
</details>

<details><summary>2024-05-08 14:20 x_tools-gotip-openbsd-amd64 tools@5daf157e go@4ed358b5 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8748499152212213905">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 32132): see golang/go#54461 for more details

    goroutine 4006 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3120337713/internal/gocommand/invoke.go:447
    golang.org/x/tools/internal/gocommand.runCmdContext({0x136b928, 0xc007ab0de0}, 0xc007a806e0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3120337713/internal/gocommand/invoke.go:380 +0x92a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0036d4c48, {0x136b928, 0xc007ab0de0}, {0x13621e0, 0xc007ab0f00}, {0x13621e0, 0xc007ab0f30})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3120337713/internal/gocommand/invoke.go:275 +0xfe5
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0036d4c10?, {0x136b928, 0xc007ab0de0}, {0x13621e0?, 0xc007ab0f00?}, {0x13621e0, 0xc007ab0f30})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3120337713/internal/gocommand/invoke.go:184 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0040b63e0, {0x136b928, 0xc007ab0de0}, {{0x10771d2, 0x4}, {0xc003bf8a80, 0xb, 0xe}, {0x1a957e0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3120337713/internal/gocommand/invoke.go:123 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc0040b63e0, {0x136b9d0, 0xc0021abb90}, {{0x10771d2, 0x4}, {0xc003bf8a80, 0xb, 0xe}, {0x1a957e0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3120337713/internal/gocommand/invoke.go:97 +0x370
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc002b56e60?, {0x10771d2?, 0x4?}, {0xc003bf8a80, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3120337713/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc002b56e60, {0xc0040b6400, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3120337713/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0005eb508, {0xc0040b6320, 0x2, 0x40a917?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3120337713/go/packages/golist.go:200 +0x79f
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3120337713/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x50
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4467
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-08 15:39 x_tools-go1.21-openbsd-amd64 tools@ff28778d release-branch.go1.21@752b0090 golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8748494172201645089">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 188.520s
</details>

<details><summary>2024-05-08 15:39 x_tools-go1.21-openbsd-amd64 tools@ff28778d release-branch.go1.21@752b0090 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8748494172201645089">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 46331): see golang/go#54461 for more details

    goroutine 4010 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1981235014/internal/gocommand/invoke.go:447
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1322920, 0xc0076b5200}, 0xc0001c9600)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1981235014/internal/gocommand/invoke.go:380 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc003e8ca78, {0x1322920, 0xc0076b5200}, {0x1319ac0?, 0xc0076b5320}, {0x1319ac0?, 0xc0076b5350})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1981235014/internal/gocommand/invoke.go:275 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc003e8ca40?, {0x1322920, 0xc0076b5200}, {0x1319ac0?, 0xc0076b5320?}, {0x1319ac0?, 0xc0076b5350?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1981235014/internal/gocommand/invoke.go:184 +0x59
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0076949c0, {0x1322920, 0xc0076b5200}, {{0x102e2c2, 0x4}, {0xc0074c62a0, 0xb, 0xe}, {0x1a0d640, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1981235014/internal/gocommand/invoke.go:123 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x7a24ea?, {0x13229c8, 0xc002f6e2a0}, {{0x102e2c2, 0x4}, {0xc0074c62a0, 0xb, 0xe}, {0x1a0d640, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1981235014/internal/gocommand/invoke.go:97 +0x370
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0074e21e0?, {0x102e2c2?, 0x4?}, {0xc0074c62a0?, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1981235014/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0074e21e0, {0xc0076949e0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1981235014/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0074c61c8, {0xc007694900, 0x2, 0xc000668090?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1981235014/go/packages/golist.go:200 +0x7af
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1981235014/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4007
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-08 18:24 x_tools-go1.21-darwin-amd64-longtest tools@e35e4ccd release-branch.go1.21@752b0090 golang.org/x/tools/gopls/internal/test/integration/workspace (<a href="https://ci.chromium.org/b/8748483812553614449">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/workspace    96.631s
</details>

<details><summary>2024-05-08 18:24 x_tools-go1.21-darwin-amd64-longtest tools@e35e4ccd release-branch.go1.21@752b0090 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8748483812553614449">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/default
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 17038 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc006073740)
        /Volumes/Work/s/w/ir/x/w/targetrepo3631942920/internal/gocommand/invoke.go:447 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f7c260, 0xc0052699e0}, 0xc00424adc0)
        /Volumes/Work/s/w/ir/x/w/targetrepo3631942920/internal/gocommand/invoke.go:380 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc004da8918, {0x1f7c260, 0xc0052699e0}, {0x1f73320?, 0xc005269b00}, {0x1f73320?, 0xc005269b30})
        /Volumes/Work/s/w/ir/x/w/targetrepo3631942920/internal/gocommand/invoke.go:275 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc004da88e0?, {0x1f7c260, 0xc0052699e0}, {0x1f73320?, 0xc005269b00?}, {0x1f73320?, 0xc005269b30?})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f7c260, 0xc005388b70}, 0xc005389140, {0x495ea290, 0xc005388ab0})
        /Volumes/Work/s/w/ir/x/w/targetrepo3631942920/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f7c260, 0xc005388b70}, 0xc005389140, {0x495ea290?, 0xc005388ab0?})
        /Volumes/Work/s/w/ir/x/w/targetrepo3631942920/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f7c260, 0xc005388b70}, 0xc00177d188, {0x495ea290?, 0xc005388ab0?})
        /Volumes/Work/s/w/ir/x/w/targetrepo3631942920/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo3631942920/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 17006
        /Volumes/Work/s/w/ir/x/w/targetrepo3631942920/internal/jsonrpc2/handler.go:100 +0x1ed
</details>

<details><summary>2024-05-08 20:04 x_tools-go1.21-openbsd-amd64 tools@f38ac9b3 release-branch.go1.21@752b0090 golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8748477540006017377">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 180.104s
</details>

<details><summary>2024-05-08 20:04 x_tools-go1.21-openbsd-amd64 tools@f38ac9b3 release-branch.go1.21@752b0090 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8748477540006017377">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 80935): see golang/go#54461 for more details

    goroutine 3992 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3390906771/internal/gocommand/invoke.go:447
    golang.org/x/tools/internal/gocommand.runCmdContext({0x132b4e0, 0xc002eb9350}, 0xc001c1c160)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3390906771/internal/gocommand/invoke.go:380 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000ed4a78, {0x132b4e0, 0xc002eb9350}, {0x1322680?, 0xc002eb9500}, {0x1322680?, 0xc002eb9530})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3390906771/internal/gocommand/invoke.go:275 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000ed4a40?, {0x132b4e0, 0xc002eb9350}, {0x1322680?, 0xc002eb9500?}, {0x1322680?, 0xc002eb9530?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3390906771/internal/gocommand/invoke.go:184 +0x59
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc001b94140, {0x132b4e0, 0xc002eb9350}, {{0x1027d7e, 0x4}, {0xc00049ac40, 0xb, 0xe}, {0x1a11520, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3390906771/internal/gocommand/invoke.go:123 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x7a24ea?, {0x132b588, 0xc00104e7e0}, {{0x1027d7e, 0x4}, {0xc00049ac40, 0xb, 0xe}, {0x1a11520, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3390906771/internal/gocommand/invoke.go:97 +0x370
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc000fb90e0?, {0x1027d7e?, 0x4?}, {0xc00049ac40?, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3390906771/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc000fb90e0, {0xc001b94c60, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3390906771/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc001074008, {0xc0013e10e0, 0x2, 0xc0004aa630?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3390906771/go/packages/golist.go:200 +0x7af
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3390906771/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 3989
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-08 20:50 x_tools-gotip-openbsd-amd64 tools@8483344d go@a878d3df golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8748474615469131825">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 238.376s
</details>

<details><summary>2024-05-08 20:50 x_tools-gotip-openbsd-amd64 tools@8483344d go@a878d3df x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8748474615469131825">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 85954): see golang/go#54461 for more details

    goroutine 4421 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2507407016/internal/gocommand/invoke.go:447
    golang.org/x/tools/internal/gocommand.runCmdContext({0x13795a8, 0xc007ba5530}, 0xc000fd1080)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2507407016/internal/gocommand/invoke.go:380 +0x92a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc003e58c48, {0x13795a8, 0xc007ba5530}, {0x136fe60, 0xc007ba5650}, {0x136fe60, 0xc007ba5680})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2507407016/internal/gocommand/invoke.go:275 +0xfe5
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc003e58c10?, {0x13795a8, 0xc007ba5530}, {0x136fe60?, 0xc007ba5650?}, {0x136fe60, 0xc007ba5680})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2507407016/internal/gocommand/invoke.go:184 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc007cc04e0, {0x13795a8, 0xc007ba5530}, {{0x1074c0e, 0x4}, {0xc0037c08c0, 0xb, 0xe}, {0x1aa0b80, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2507407016/internal/gocommand/invoke.go:123 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc007cc04e0, {0x1379650, 0xc001699810}, {{0x1074c0e, 0x4}, {0xc0037c08c0, 0xb, 0xe}, {0x1aa0b80, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2507407016/internal/gocommand/invoke.go:97 +0x370
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc002d20be0?, {0x1074c0e?, 0x4?}, {0xc0037c08c0, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2507407016/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc002d20be0, {0xc007cc0500, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2507407016/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0002b9ea8, {0xc007cc0420, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2507407016/go/packages/golist.go:200 +0x79f
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2507407016/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x50
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4406
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-05-08 20:50 x_tools-gotip-windows-amd64-race tools@8483344d go@a878d3df golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8748474613400952177">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 426.427s
</details>

<details><summary>2024-05-08 20:50 x_tools-gotip-windows-amd64-race tools@8483344d go@a878d3df x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace [ABORT] (<a href="https://ci.chromium.org/b/8748474613400952177">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace
</details>

<details><summary>2024-05-08 20:50 x_tools-gotip-windows-amd64-race tools@8483344d go@a878d3df golang.org/x/tools/gopls/internal/test/integration/diagnostics (<a href="https://ci.chromium.org/b/8748474613400952177">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/diagnostics  423.430s
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-08 18:24 darwin-amd64-longtest tools@e35e4ccd go@20721e5c x/tools/gopls/internal/test/integration/diagnostics (<a href="https://build.golang.org/log/aaa1a163f1bc4e9eff33679cc1978af7f327456f">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 41545): see golang/go#54461 for more details

    goroutine 57672 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00121b1d0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:447 +0x3e9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x105913c8, 0xc0021aa1e0}, 0xc002dfaf20)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:380 +0x49a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0007b4a48, {0x105913c8, 0xc0021aa1e0}, {0x10587e00, 0xc0021aa300}, {0x10587e00, 0xc0021aa330})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:275 +0xfe5
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0007b4a10?, {0x105913c8, 0xc0021aa1e0}, {0x10587e00?, 0xc0021aa300?}, {0x10587e00, 0xc0021aa330})
    ...
    golang.org/x/tools/go/packages.(*golistState).runContainsQueries(0xc00056d360, 0xc0013f1ce0, {0xc0033a0770?, 0x16?, 0x103ef040?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:227 +0xe5
    golang.org/x/tools/go/packages.goListDriver(0xc00049c628, {0xc0033a0600, 0x1, 0xfe5c7d4?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:208 +0x872
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x50
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 57979
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-05-08 18:24 darwin-amd64-longtest tools@e35e4ccd go@20721e5c x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/aaa1a163f1bc4e9eff33679cc1978af7f327456f">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49342
    serve.go:441: debug server listening at http://localhost:49343
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 52585 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0000d5c80)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:447 +0x3e9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x6cbeb78, 0xc002936ed0}, 0xc001a7dce0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:380 +0x49a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000c90c48, {0x6cbeb78, 0xc002936ed0}, {0x6cb5520, 0xc002937020}, {0x6cb5520, 0xc002937050})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:275 +0xfe5
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000c90c10?, {0x6cbeb78, 0xc002936ed0}, {0x6cb5520?, 0xc002937020?}, {0x6cb5520, 0xc002937050})
    ...
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc002633d60, {0xc001f8ac00, 0x2, 0x2})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc000e8a0e8, {0xc001f8ab20, 0x2, 0x1d?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:200 +0x79f
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x50
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 52641
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-08 23:50 x_tools-go1.21-darwin-amd64-longtest tools@3b13d03c release-branch.go1.21@752b0090 golang.org/x/tools/gopls/internal/test/integration/workspace (<a href="https://ci.chromium.org/b/8748463320679570449">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/workspace    103.328s
</details>

<details><summary>2024-05-08 23:50 x_tools-go1.21-darwin-amd64-longtest tools@3b13d03c release-branch.go1.21@752b0090 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8748463320679570449">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/default
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 15426 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc006280540)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2099907023/internal/gocommand/invoke.go:447 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f7e900, 0xc006287410}, 0xc006f2ac60)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2099907023/internal/gocommand/invoke.go:380 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006e38918, {0x1f7e900, 0xc006287410}, {0x1f75980?, 0xc006287530}, {0x1f75980?, 0xc006287560})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2099907023/internal/gocommand/invoke.go:275 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc006e388e0?, {0x1f7e900, 0xc006287410}, {0x1f75980?, 0xc006287530?}, {0x1f75980?, 0xc006287560?})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f7e900, 0xc006f57b90}, 0xc006f74180, {0x496adf30, 0xc006f57ad0})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2099907023/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f7e900, 0xc006f57b90}, 0xc006f74180, {0x496adf30?, 0xc006f57ad0?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2099907023/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f7e900, 0xc006f57b90}, 0xc006f70288, {0x496adf30?, 0xc006f57ad0?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2099907023/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2099907023/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 15408
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2099907023/internal/jsonrpc2/handler.go:100 +0x1ed
</details>

<details><summary>2024-05-09 15:16 x_tools-go1.21-darwin-amd64-longtest tools@9795facf release-branch.go1.21@752b0090 golang.org/x/tools/gopls/internal/test/integration/workspace (<a href="https://ci.chromium.org/b/8748405097627487409">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/workspace    102.293s
</details>

<details><summary>2024-05-09 15:16 x_tools-go1.21-darwin-amd64-longtest tools@9795facf release-branch.go1.21@752b0090 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8748405097627487409">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/default
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 15768 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc007126660)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2897326749/internal/gocommand/invoke.go:447 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f81000, 0xc00712e540}, 0xc006d3f1e0)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2897326749/internal/gocommand/invoke.go:380 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000eaa8e8, {0x1f81000, 0xc00712e540}, {0x1f78080?, 0xc00712e660}, {0x1f78080?, 0xc00712e690})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2897326749/internal/gocommand/invoke.go:275 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000eaa8b0?, {0x1f81000, 0xc00712e540}, {0x1f78080?, 0xc00712e660?}, {0x1f78080?, 0xc00712e690?})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f81000, 0xc0070c0b70}, 0xc0070c1140, {0x4944c4b8, 0xc0070c0ab0})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2897326749/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f81000, 0xc0070c0b70}, 0xc0070c1140, {0x4944c4b8?, 0xc0070c0ab0?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2897326749/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f81000, 0xc0070c0b70}, 0xc0070b4900, {0x4944c4b8?, 0xc0070c0ab0?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2897326749/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2897326749/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 15784
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2897326749/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-09 15:16 x_tools-gotip-windows-amd64-race tools@24f3b32f go@cecbf4f2 golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8748394952887304625">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 157.596s
</details>

<details><summary>2024-05-09 15:16 x_tools-gotip-windows-amd64-race tools@24f3b32f go@cecbf4f2 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace [ABORT] (<a href="https://ci.chromium.org/b/8748394952887304625">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace
</details>

<details><summary>2024-05-09 15:16 x_tools-gotip-windows-amd64-race tools@24f3b32f go@cecbf4f2 golang.org/x/tools/gopls/internal/test/integration/diagnostics (<a href="https://ci.chromium.org/b/8748394952887304625">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/diagnostics  155.600s
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-09 18:39 darwin-amd64-longtest tools@3e9beb69 go@e0aab32c x/tools/gopls/internal/test/integration/diagnostics (<a href="https://build.golang.org/log/a19203c59b979ce27dc0ccfadd75fa7cefc5183f">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 41100): see golang/go#54461 for more details

    goroutine 57269 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0091f3c50)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:447 +0x3e9
    golang.org/x/tools/internal/gocommand.runCmdContext({0xbd5ede8, 0xc003355ec0}, 0xc001432580)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:380 +0x49a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000d56a48, {0xbd5ede8, 0xc003355ec0}, {0xbd55800, 0xc00575a090}, {0xbd55800, 0xc00575a0c0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:275 +0xfe5
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000d56a10?, {0xbd5ede8, 0xc003355ec0}, {0xbd55800?, 0xc00575a090?}, {0xbd55800, 0xc00575a0c0})
    ...
    golang.org/x/tools/go/packages.(*golistState).runContainsQueries(0xc002eb8780, 0xc002f2d620, {0xc001daabb0?, 0xbd5da30?, 0xbbbc240?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:227 +0xe5
    golang.org/x/tools/go/packages.goListDriver(0xc000729ce8, {0xc001daa600, 0x1, 0xc0001333b0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:208 +0x872
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x50
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 57292
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-05-09 18:39 darwin-amd64-longtest tools@3e9beb69 go@e0aab32c x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/a19203c59b979ce27dc0ccfadd75fa7cefc5183f">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49329
    serve.go:441: debug server listening at http://localhost:49330
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 54812 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0004efe30)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:447 +0x3e9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x76e4598, 0xc0037cc390}, 0xc001ede9a0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:380 +0x49a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000554e28, {0x76e4598, 0xc0037cc390}, {0x76dba60, 0xc001b0bb60}, {0x76daba8, 0xc002d108d0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:275 +0xfe5
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00243a1c0?, {0x76e4598, 0xc0037cc390}, {0x76dba60?, 0xc001b0bb60?}, {0x76daba8, 0xc002d108d0})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x76e45d0, 0xc0017d6be0}, 0xc0039b67b0, {0x76e4720, 0xc00391fb40})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x76e45d0, 0xc0017d6be0}, 0xc0039b67b0, {0x76e4720, 0xc00391fb40})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x76e45d0, 0xc0017d6be0}, 0xc0010ab668, {0x76e4720, 0xc00391fb40})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:35 +0xc6
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 54668
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:100 +0x1c5
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-09 18:39 darwin-amd64-longtest tools@3e9beb69 go@95a3779e x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/850f6f6788c12bb148a34945c55e87bebe66e76b">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49373
    serve.go:441: debug server listening at http://localhost:49374
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 54145 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00274a9f0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:447 +0x3e9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x637b598, 0xc002410ba0}, 0xc001afe000)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:380 +0x49a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000faec48, {0x637b598, 0xc002410ba0}, {0x6371f20, 0xc002410cc0}, {0x6371f20, 0xc002410cf0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:275 +0xfe5
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000faec10?, {0x637b598, 0xc002410ba0}, {0x6371f20?, 0xc002410cc0?}, {0x6371f20, 0xc002410cf0})
    ...
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0017bce60, {0xc0004ffa00, 0x2, 0x2})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc00091c1c8, {0xc0004ff920, 0x2, 0x0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:200 +0x79f
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x50
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 54119
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-09 18:39 darwin-amd64-longtest tools@3e9beb69 go@b44600f8 x/tools/gopls/internal/test/integration/diagnostics (<a href="https://build.golang.org/log/d072cd245d6ab3f14249ba20386dc0e9d186122f">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 40735): see golang/go#54461 for more details

    goroutine 56364 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00138e4b0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:447 +0x3e9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11f683c8, 0xc001fb2cc0}, 0xc001d55600)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:380 +0x49a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0002f6a48, {0x11f683c8, 0xc001fb2cc0}, {0x11f5eb20, 0xc001fb2de0}, {0x11f5eb20, 0xc001fb2e40})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:275 +0xfe5
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0002f6a10?, {0x11f683c8, 0xc001fb2cc0}, {0x11f5eb20?, 0xc001fb2de0?}, {0x11f5eb20, 0xc001fb2e40})
    ...
    golang.org/x/tools/go/packages.(*golistState).runContainsQueries(0xc001a78780, 0xc008ca46c0, {0xc009cfbef0?, 0x10fcb105?, 0x11dc53a0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:227 +0xe5
    golang.org/x/tools/go/packages.goListDriver(0xc000714e08, {0xc009cfbd90, 0x1, 0x10e7bfa01?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:208 +0x872
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x50
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 56363
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-05-09 18:39 darwin-amd64-longtest tools@3e9beb69 go@b44600f8 x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/d072cd245d6ab3f14249ba20386dc0e9d186122f">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49334
    serve.go:441: debug server listening at http://localhost:49335
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 51700 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00c8cd8c0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:447 +0x3e9
    golang.org/x/tools/internal/gocommand.runCmdContext({0xb83db78, 0xc0041bef90}, 0xc0026cc6e0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:380 +0x49a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000550c48, {0xb83db78, 0xc0041bef90}, {0xb834240, 0xc0041bf0b0}, {0xb834240, 0xc0041bf0e0})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:275 +0xfe5
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000550c10?, {0xb83db78, 0xc0041bef90}, {0xb834240?, 0xc0041bf0b0?}, {0xb834240, 0xc0041bf0e0})
    ...
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00155b860, {0xc006f7bb70, 0x1, 0x1})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0001d6b68, {0xc006f7b630, 0x1, 0xc000352300?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:200 +0x79f
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x50
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 51716
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-10 15:53 x_tools-gotip-windows-amd64-race tools@4cfd1809 go@69c74c9e golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8748305983831225473">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 456.202s
</details>

<details><summary>2024-05-10 15:53 x_tools-gotip-windows-amd64-race tools@4cfd1809 go@69c74c9e x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace [ABORT] (<a href="https://ci.chromium.org/b/8748305983831225473">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace
</details>

<details><summary>2024-05-10 15:53 x_tools-gotip-windows-amd64-race tools@4cfd1809 go@69c74c9e golang.org/x/tools/gopls/internal/test/integration/diagnostics (<a href="https://ci.chromium.org/b/8748305983831225473">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/diagnostics  454.348s
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-10 18:25 darwin-amd64-longtest tools@487737a1 go@a0a6026b x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/72778b2fe77546e80b3300a79fcd5129b6d630df">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49381
    serve.go:441: debug server listening at http://localhost:49382
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 55434 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc001c62660)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:447 +0x3e9
    golang.org/x/tools/internal/gocommand.runCmdContext({0xb09fa38, 0xc00318eff0}, 0xc0007e94a0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:380 +0x49a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000614e28, {0xb09fa38, 0xc00318eff0}, {0xb096c80, 0xc00111b5c0}, {0xb095dd8, 0xc000123ae8})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:275 +0xfe5
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001385dc0?, {0xb09fa38, 0xc00318eff0}, {0xb096c80?, 0xc00111b5c0?}, {0xb095dd8, 0xc000123ae8})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0xb09fa70, 0xc003196a50}, 0xc0032ca030, {0xb09fbc0, 0xc00c340e40})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0xb09fa70, 0xc003196a50}, 0xc0032ca030, {0xb09fbc0, 0xc00c340e40})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0xb09fa70, 0xc003196a50}, 0xc006d6abe8, {0xb09fbc0, 0xc00c340e40})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:35 +0xc6
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 55398
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/handler.go:100 +0x1c5
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-10 18:25 darwin-amd64-longtest tools@487737a1 go@9623a358 x/tools/gopls/internal/test/integration/diagnostics (<a href="https://build.golang.org/log/3bc51a54a94f9c2a4eb5b5064adc3c0c5a00e6e8">log</a>)</summary>

    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:
    -------------------------
     PPID   PID COMMAND
    ...
    panic: detected hanging go command (pid 42135): see golang/go#54461 for more details

    goroutine 57685 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0030f7620)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:447 +0x3e9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x2f71488, 0xc00331c0c0}, 0xc000f60f20)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:380 +0x49a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00004d600, {0x2f71488, 0xc00331c0c0}, {0x2f67c20, 0xc00331c1e0}, {0x2f67c20, 0xc00331c210})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:275 +0xfe5
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00004d5c8?, {0x2f71488, 0xc00331c0c0}, {0x2f67c20?, 0xc00331c1e0?}, {0x2f67c20, 0xc00331c210})
    ...
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x2f714c0?, 0xc0016f6000?}, {0x2f5d140?, 0xc00170fc20?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/cache/mod_tidy.go:81 +0x3d
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0x9c
    runtime/trace.WithRegion({0x2f714c0?, 0xc0016f6000?}, {0xc0029606f0, 0x13}, 0xc001c39780)
        /tmp/buildlet/go/src/runtime/trace/annotation.go:141 +0xd1
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x11d
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 57684
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x1a5
</details>

<details><summary>2024-05-10 18:25 darwin-amd64-longtest tools@487737a1 go@9623a358 x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/3bc51a54a94f9c2a4eb5b5064adc3c0c5a00e6e8">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49369
    serve.go:441: debug server listening at http://localhost:49370
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 55038 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0006be390)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:447 +0x3e9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x7e07c38, 0xc00278e9f0}, 0xc0029062c0)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:380 +0x49a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000ab4c48, {0x7e07c38, 0xc00278e9f0}, {0x7dfe340, 0xc00278eb10}, {0x7dfe340, 0xc00278eb40})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:275 +0xfe5
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000ab4c10?, {0x7e07c38, 0xc00278e9f0}, {0x7dfe340?, 0xc00278eb10?}, {0x7dfe340, 0xc00278eb40})
    ...
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00247a8c0, {0xc000d45780, 0x2, 0x2})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc00017e2a8, {0xc000d44700, 0x2, 0x0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:200 +0x79f
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x50
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 55031
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-10 18:25 x_tools-go1.21-darwin-amd64-longtest tools@487737a1 release-branch.go1.21@0fa334d4 golang.org/x/tools/gopls/internal/test/integration/workspace (<a href="https://ci.chromium.org/b/8748020368238302401">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/workspace    110.597s
</details>

<details><summary>2024-05-10 18:25 x_tools-go1.21-darwin-amd64-longtest tools@487737a1 release-branch.go1.21@0fa334d4 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8748020368238302401">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/default
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 15473 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0059c8450)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo3709046587/internal/gocommand/invoke.go:447 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f81080, 0xc005f2f380}, 0xc000d33340)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo3709046587/internal/gocommand/invoke.go:380 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000f208e8, {0x1f81080, 0xc005f2f380}, {0x1f78140?, 0xc005f2f4a0}, {0x1f78140?, 0xc005f2f4d0})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo3709046587/internal/gocommand/invoke.go:275 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000f208b0?, {0x1f81080, 0xc005f2f380}, {0x1f78140?, 0xc005f2f4a0?}, {0x1f78140?, 0xc005f2f4d0?})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f81080, 0xc005fc1e90}, 0xc0060264b0, {0x4971f310, 0xc005fc1dd0})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo3709046587/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f81080, 0xc005fc1e90}, 0xc0060264b0, {0x4971f310?, 0xc005fc1dd0?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo3709046587/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f81080, 0xc005fc1e90}, 0xc001544c18, {0x4971f310?, 0xc005fc1dd0?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo3709046587/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Users/swarming/.swarming/w/ir/x/w/targetrepo3709046587/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 15471
        /Users/swarming/.swarming/w/ir/x/w/targetrepo3709046587/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-14 02:42 darwin-amd64-longtest tools@59d97970 go@8623c0ba x/tools/gopls/internal/test/integration/misc (<a href="https://build.golang.org/log/786d60771cbc280e6fbca29cd652de58ae32bc3f">log</a>)</summary>

    serve.go:441: debug server listening at http://localhost:49355
    serve.go:441: debug server listening at http://localhost:49356
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 50652 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc002a30d20)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:447 +0x3e9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x9665e58, 0xc002ebaae0}, 0xc002a60420)
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:380 +0x49a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0032f8c48, {0x9665e58, 0xc002ebaae0}, {0x965c540, 0xc002ebac00}, {0x965c540, 0xc002ebac30})
        /tmp/buildlet/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:275 +0xfe5
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0032f8c10?, {0x9665e58, 0xc002ebaae0}, {0x965c540?, 0xc002ebac00?}, {0x965c540, 0xc002ebac30})
    ...
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0027b8280, {0xc001c2a7e0, 0x2, 0x2})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0005bc1c8, {0xc001c2a700, 0x2, 0x0?})
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/golist.go:200 +0x79f
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /tmp/buildlet/gopath/src/golang.org/x/tools/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x50
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 50649
        /tmp/buildlet/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-14 02:42 x_tools-gotip-openbsd-amd64 tools@59d97970 go@3454ac0d golang.org/x/tools/gopls/internal/test/integration/codelens (<a href="https://ci.chromium.org/b/8747945980992321457">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/codelens 215.059s
</details>

<details><summary>2024-05-14 02:42 x_tools-gotip-openbsd-amd64 tools@59d97970 go@3454ac0d x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8747945980992321457">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 18792): see golang/go#54461 for more details

    goroutine 3712 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2983648926/internal/gocommand/invoke.go:447
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1382028, 0xc007a1d230}, 0xc000f04dc0)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2983648926/internal/gocommand/invoke.go:380 +0x92a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0078c4c48, {0x1382028, 0xc007a1d230}, {0x1378640, 0xc007a1d350}, {0x1378640, 0xc007a1d380})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2983648926/internal/gocommand/invoke.go:275 +0xfe5
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0078c4c10?, {0x1382028, 0xc007a1d230}, {0x1378640?, 0xc007a1d350?}, {0x1378640, 0xc007a1d380})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2983648926/internal/gocommand/invoke.go:184 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0033adf60, {0x1382028, 0xc007a1d230}, {{0x107bb4e, 0x4}, {0xc0036ce1c0, 0xb, 0xe}, {0x1aadb80, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2983648926/internal/gocommand/invoke.go:123 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc0033adf60, {0x13820d0, 0xc007be0000}, {{0x107bb4e, 0x4}, {0xc0036ce1c0, 0xb, 0xe}, {0x1aadb80, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2983648926/internal/gocommand/invoke.go:97 +0x370
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0036146e0?, {0x107bb4e?, 0x4?}, {0xc0036ce1c0, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2983648926/go/packages/golist.go:878 +0x385
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0036146e0, {0xc007be4000, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2983648926/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc007be2008, {0xc0033adea0, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2983648926/go/packages/golist.go:200 +0x79f
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2983648926/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x50
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4186
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-14 18:28 x_tools-go1.21-darwin-amd64-longtest tools@e8808ed5 release-branch.go1.21@0fa334d4 golang.org/x/tools/gopls/internal/test/integration/workspace (<a href="https://ci.chromium.org/b/8747940003620457921">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/workspace    100.332s
</details>

<details><summary>2024-05-14 18:28 x_tools-go1.21-darwin-amd64-longtest tools@e8808ed5 release-branch.go1.21@0fa334d4 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8747940003620457921">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/default
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 15516 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00731ef30)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1484569848/internal/gocommand/invoke.go:447 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f87c40, 0xc0073393e0}, 0xc006d6f4a0)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1484569848/internal/gocommand/invoke.go:380 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006e4c8e8, {0x1f87c40, 0xc0073393e0}, {0x1f7ed00?, 0xc007339500}, {0x1f7ed00?, 0xc007339530})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1484569848/internal/gocommand/invoke.go:275 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc006e4c8b0?, {0x1f87c40, 0xc0073393e0}, {0x1f7ed00?, 0xc007339500?}, {0x1f7ed00?, 0xc007339530?})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f87c40, 0xc006fefdd0}, 0xc00730a3c0, {0x49447330, 0xc006fefd10})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1484569848/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f87c40, 0xc006fefdd0}, 0xc00730a3c0, {0x49447330?, 0xc006fefd10?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1484569848/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f87c40, 0xc006fefdd0}, 0xc006feca68, {0x49447330?, 0xc006fefd10?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1484569848/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1484569848/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 15514
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1484569848/internal/jsonrpc2/handler.go:100 +0x1ed
</details>

<details><summary>2024-05-15 13:08 x_tools-go1.21-darwin-amd64-longtest tools@d40dfd59 release-branch.go1.21@0fa334d4 golang.org/x/tools/gopls/internal/test/integration/workspace (<a href="https://ci.chromium.org/b/8747869536828755121">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/workspace    93.169s
</details>

<details><summary>2024-05-15 13:08 x_tools-go1.21-darwin-amd64-longtest tools@d40dfd59 release-branch.go1.21@0fa334d4 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8747869536828755121">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/default
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 16866 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0077441b0)
        /Volumes/Work/s/w/ir/x/w/targetrepo2190499662/internal/gocommand/invoke.go:447 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f79fc0, 0xc0077428d0}, 0xc0070a42c0)
        /Volumes/Work/s/w/ir/x/w/targetrepo2190499662/internal/gocommand/invoke.go:380 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00067e8e8, {0x1f79fc0, 0xc0077428d0}, {0x1f710a0?, 0xc0077429f0}, {0x1f710a0?, 0xc007742a20})
        /Volumes/Work/s/w/ir/x/w/targetrepo2190499662/internal/gocommand/invoke.go:275 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00067e8b0?, {0x1f79fc0, 0xc0077428d0}, {0x1f710a0?, 0xc0077429f0?}, {0x1f710a0?, 0xc007742a20?})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f79fc0, 0xc00767ecf0}, 0xc00767f2c0, {0x49811190, 0xc00767ec30})
        /Volumes/Work/s/w/ir/x/w/targetrepo2190499662/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f79fc0, 0xc00767ecf0}, 0xc00767f2c0, {0x49811190?, 0xc00767ec30?})
        /Volumes/Work/s/w/ir/x/w/targetrepo2190499662/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f79fc0, 0xc00767ecf0}, 0xc007647ae8, {0x49811190?, 0xc00767ec30?})
        /Volumes/Work/s/w/ir/x/w/targetrepo2190499662/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo2190499662/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16848
        /Volumes/Work/s/w/ir/x/w/targetrepo2190499662/internal/jsonrpc2/handler.go:100 +0x1ed
</details>

<details><summary>2024-05-15 17:13 x_tools-go1.21-darwin-amd64-longtest tools@528484d5 release-branch.go1.21@0fa334d4 golang.org/x/tools/gopls/internal/test/integration/workspace (<a href="https://ci.chromium.org/b/8747853642584792113">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/workspace    94.730s
</details>

<details><summary>2024-05-15 17:13 x_tools-go1.21-darwin-amd64-longtest tools@528484d5 release-branch.go1.21@0fa334d4 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8747853642584792113">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/default
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 16587 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00770ef60)
        /Volumes/Work/s/w/ir/x/w/targetrepo4058938965/internal/gocommand/invoke.go:451 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f7a6c0, 0xc007720a20}, 0xc007732000)
        /Volumes/Work/s/w/ir/x/w/targetrepo4058938965/internal/gocommand/invoke.go:384 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc005aea8e8, {0x1f7a6c0, 0xc007720a20}, {0x1f717a0?, 0xc007720b40}, {0x1f717a0?, 0xc007720b70})
        /Volumes/Work/s/w/ir/x/w/targetrepo4058938965/internal/gocommand/invoke.go:279 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc005aea8b0?, {0x1f7a6c0, 0xc007720a20}, {0x1f717a0?, 0xc007720b40?}, {0x1f717a0?, 0xc007720b70?})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f7a6c0, 0xc0076358c0}, 0xc007635e90, {0x4971c378, 0xc007635800})
        /Volumes/Work/s/w/ir/x/w/targetrepo4058938965/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f7a6c0, 0xc0076358c0}, 0xc007635e90, {0x4971c378?, 0xc007635800?})
        /Volumes/Work/s/w/ir/x/w/targetrepo4058938965/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f7a6c0, 0xc0076358c0}, 0xc00761f488, {0x4971c378?, 0xc007635800?})
        /Volumes/Work/s/w/ir/x/w/targetrepo4058938965/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo4058938965/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16594
        /Volumes/Work/s/w/ir/x/w/targetrepo4058938965/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-16 21:21 x_tools-go1.21-windows-amd64-race tools@1f300c90 release-branch.go1.21@6f521957 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default (<a href="https://ci.chromium.org/b/8747747341663604177">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default
    --- FAIL: TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default (976.30s)
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-17 20:25 x_tools-go1.21-darwin-amd64-longtest tools@8cf8c6f7 release-branch.go1.21@6f521957 golang.org/x/tools/gopls/internal/test/integration/workspace (<a href="https://ci.chromium.org/b/8747660836431114449">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/workspace    101.861s
</details>

<details><summary>2024-05-17 20:25 x_tools-go1.21-darwin-amd64-longtest tools@8cf8c6f7 release-branch.go1.21@6f521957 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8747660836431114449">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/default
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 15303 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00730e300)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2789432999/internal/gocommand/invoke.go:451 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f7b840, 0xc007307ef0}, 0xc006973e40)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2789432999/internal/gocommand/invoke.go:384 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0011388e8, {0x1f7b840, 0xc007307ef0}, {0x1f72900?, 0xc007316030}, {0x1f72900?, 0xc007316060})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2789432999/internal/gocommand/invoke.go:279 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0011388b0?, {0x1f7b840, 0xc007307ef0}, {0x1f72900?, 0xc007316030?}, {0x1f72900?, 0xc007316060?})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f7b840, 0xc007284720}, 0xc007284cf0, {0x495ecc10, 0xc007284660})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2789432999/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f7b840, 0xc007284720}, 0xc007284cf0, {0x495ecc10?, 0xc007284660?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2789432999/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f7b840, 0xc007284720}, 0xc0071ed908, {0x495ecc10?, 0xc007284660?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2789432999/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2789432999/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 15315
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2789432999/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-20 17:25 x_tools-go1.21-darwin-amd64-longtest tools@788d39e7 release-branch.go1.21@6f521957 golang.org/x/tools/gopls/internal/test/integration/workspace (<a href="https://ci.chromium.org/b/8747400386829451553">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/workspace    94.622s
</details>

<details><summary>2024-05-20 17:25 x_tools-go1.21-darwin-amd64-longtest tools@788d39e7 release-branch.go1.21@6f521957 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8747400386829451553">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/default
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 16508 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00775de60)
        /Volumes/Work/s/w/ir/x/w/targetrepo1576696368/internal/gocommand/invoke.go:451 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f83260, 0xc00777ffb0}, 0xc0074034a0)
        /Volumes/Work/s/w/ir/x/w/targetrepo1576696368/internal/gocommand/invoke.go:384 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0062968e8, {0x1f83260, 0xc00777ffb0}, {0x1f7a300?, 0xc0078020f0}, {0x1f7a300?, 0xc007802120})
        /Volumes/Work/s/w/ir/x/w/targetrepo1576696368/internal/gocommand/invoke.go:279 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0062968b0?, {0x1f83260, 0xc00777ffb0}, {0x1f7a300?, 0xc0078020f0?}, {0x1f7a300?, 0xc007802120?})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f83260, 0xc0072645a0}, 0xc007264b70, {0x4977c3b8, 0xc0072644e0})
        /Volumes/Work/s/w/ir/x/w/targetrepo1576696368/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f83260, 0xc0072645a0}, 0xc007264b70, {0x4977c3b8?, 0xc0072644e0?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1576696368/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f83260, 0xc0072645a0}, 0xc007231890, {0x4977c3b8?, 0xc0072644e0?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1576696368/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo1576696368/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16712
        /Volumes/Work/s/w/ir/x/w/targetrepo1576696368/internal/jsonrpc2/handler.go:100 +0x1ed
</details>

<details><summary>2024-05-20 19:39 x_tools-go1.21-darwin-amd64-longtest tools@41211c8b release-branch.go1.21@6f521957 golang.org/x/tools/gopls/internal/test/integration/workspace (<a href="https://ci.chromium.org/b/8747391942969929937">log</a>)</summary>

    FAIL    golang.org/x/tools/gopls/internal/test/integration/workspace    94.542s
</details>

<details><summary>2024-05-20 19:39 x_tools-go1.21-darwin-amd64-longtest tools@41211c8b release-branch.go1.21@6f521957 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8747391942969929937">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/default
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 16770 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc007934c00)
        /Volumes/Work/s/w/ir/x/w/targetrepo1236059603/internal/gocommand/invoke.go:451 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f83280, 0xc0079530e0}, 0xc005f24c60)
        /Volumes/Work/s/w/ir/x/w/targetrepo1236059603/internal/gocommand/invoke.go:384 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc003d408e8, {0x1f83280, 0xc0079530e0}, {0x1f7a320?, 0xc007953200}, {0x1f7a320?, 0xc007953230})
        /Volumes/Work/s/w/ir/x/w/targetrepo1236059603/internal/gocommand/invoke.go:279 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc003d408b0?, {0x1f83280, 0xc0079530e0}, {0x1f7a320?, 0xc007953200?}, {0x1f7a320?, 0xc007953230?})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f83280, 0xc006b678c0}, 0xc006b67e90, {0x49418478, 0xc006b67800})
        /Volumes/Work/s/w/ir/x/w/targetrepo1236059603/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f83280, 0xc006b678c0}, 0xc006b67e90, {0x49418478?, 0xc006b67800?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1236059603/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f83280, 0xc006b678c0}, 0xc007a046a8, {0x49418478?, 0xc006b67800?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1236059603/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo1236059603/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16656
        /Volumes/Work/s/w/ir/x/w/targetrepo1236059603/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-22 16:46 x_tools-go1.21-darwin-amd64-longtest tools@bc5e086c release-branch.go1.21@6f521957 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8747221630254017617">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/default
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 15525 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc006d4f800)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo440028156/internal/gocommand/invoke.go:451 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f832c0, 0xc006d75a10}, 0xc0036ecc60)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo440028156/internal/gocommand/invoke.go:384 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006ce48e8, {0x1f832c0, 0xc006d75a10}, {0x1f7a340?, 0xc006d75b30}, {0x1f7a340?, 0xc006d75b60})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo440028156/internal/gocommand/invoke.go:279 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc006ce48b0?, {0x1f832c0, 0xc006d75a10}, {0x1f7a340?, 0xc006d75b30?}, {0x1f7a340?, 0xc006d75b60?})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f832c0, 0xc006de7b90}, 0xc006f06180, {0x49719ea0, 0xc006de7ad0})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo440028156/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f832c0, 0xc006de7b90}, 0xc006f06180, {0x49719ea0?, 0xc006de7ad0?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo440028156/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f832c0, 0xc006de7b90}, 0xc006df63c0, {0x49719ea0?, 0xc006de7ad0?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo440028156/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Users/swarming/.swarming/w/ir/x/w/targetrepo440028156/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 15523
        /Users/swarming/.swarming/w/ir/x/w/targetrepo440028156/internal/jsonrpc2/handler.go:100 +0x1ed
</details>

<details><summary>2024-05-22 18:44 x_tools-go1.21-darwin-amd64-longtest tools@4646dbf8 release-branch.go1.21@6f521957 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8747214179980178353">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/default
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 16811 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00798c120)
        /Volumes/Work/s/w/ir/x/w/targetrepo812976166/internal/gocommand/invoke.go:451 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f832a0, 0xc0069d9dd0}, 0xc007992000)
        /Volumes/Work/s/w/ir/x/w/targetrepo812976166/internal/gocommand/invoke.go:384 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006c068e8, {0x1f832a0, 0xc0069d9dd0}, {0x1f7a340?, 0xc0069d9ef0}, {0x1f7a340?, 0xc0069d9f20})
        /Volumes/Work/s/w/ir/x/w/targetrepo812976166/internal/gocommand/invoke.go:279 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc006c068b0?, {0x1f832a0, 0xc0069d9dd0}, {0x1f7a340?, 0xc0069d9ef0?}, {0x1f7a340?, 0xc0069d9f20?})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f832a0, 0xc005e64030}, 0xc005e64600, {0x49745970, 0xc00784df50})
        /Volumes/Work/s/w/ir/x/w/targetrepo812976166/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f832a0, 0xc005e64030}, 0xc005e64600, {0x49745970?, 0xc00784df50?})
        /Volumes/Work/s/w/ir/x/w/targetrepo812976166/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f832a0, 0xc005e64030}, 0xc007848b58, {0x49745970?, 0xc00784df50?})
        /Volumes/Work/s/w/ir/x/w/targetrepo812976166/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo812976166/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16789
        /Volumes/Work/s/w/ir/x/w/targetrepo812976166/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-24 00:39 x_tools-go1.21-darwin-amd64-longtest tools@3629652b release-branch.go1.21@6f521957 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8747101230464952225">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/default
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 16745 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0079bd830)
        /Volumes/Work/s/w/ir/x/w/targetrepo300859016/internal/gocommand/invoke.go:451 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f832e0, 0xc0079dc0f0}, 0xc0079a2160)
        /Volumes/Work/s/w/ir/x/w/targetrepo300859016/internal/gocommand/invoke.go:384 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006fe68e8, {0x1f832e0, 0xc0079dc0f0}, {0x1f7a380?, 0xc0079dc210}, {0x1f7a380?, 0xc0079dc240})
        /Volumes/Work/s/w/ir/x/w/targetrepo300859016/internal/gocommand/invoke.go:279 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc006fe68b0?, {0x1f832e0, 0xc0079dc0f0}, {0x1f7a380?, 0xc0079dc210?}, {0x1f7a380?, 0xc0079dc240?})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f832e0, 0xc007a836e0}, 0xc007a83cb0, {0x49748298, 0xc007a83620})
        /Volumes/Work/s/w/ir/x/w/targetrepo300859016/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f832e0, 0xc007a836e0}, 0xc007a83cb0, {0x49748298?, 0xc007a83620?})
        /Volumes/Work/s/w/ir/x/w/targetrepo300859016/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f832e0, 0xc007a836e0}, 0xc00787ad20, {0x49748298?, 0xc007a83620?})
        /Volumes/Work/s/w/ir/x/w/targetrepo300859016/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo300859016/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16743
        /Volumes/Work/s/w/ir/x/w/targetrepo300859016/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-22 19:28 x_tools-go1.21-openbsd-amd64 tools@fb52877a release-branch.go1.21@6f521957 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8747211457978482529">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 68926): see golang/go#54461 for more details

    goroutine 4114 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo497404151/internal/gocommand/invoke.go:451
    golang.org/x/tools/internal/gocommand.runCmdContext({0x133b8a0, 0xc006f36de0}, 0xc000321760)
        /home/swarming/.swarming/w/ir/x/w/targetrepo497404151/internal/gocommand/invoke.go:384 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006e28a78, {0x133b8a0, 0xc006f36de0}, {0x1332a20?, 0xc006f36f00}, {0x1332a20?, 0xc006f36f30})
        /home/swarming/.swarming/w/ir/x/w/targetrepo497404151/internal/gocommand/invoke.go:279 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc006e28a40?, {0x133b8a0, 0xc006f36de0}, {0x1332a20?, 0xc006f36f00?}, {0x1332a20?, 0xc006f36f30?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo497404151/internal/gocommand/invoke.go:188 +0x59
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc006fcbfc0, {0x133b8a0, 0xc006f36de0}, {{0x1034440, 0x4}, {0xc003616700, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo497404151/internal/gocommand/invoke.go:125 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x7a344a?, {0x133b948, 0xc001eb1810}, {{0x1034440, 0x4}, {0xc003616700, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo497404151/internal/gocommand/invoke.go:99 +0x370
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc000271348?, {0x1034440?, 0x4?}, {0xc003616700?, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo497404151/go/packages/golist.go:870 +0x325
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc006fdc460, {0xc006fcbfe0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo497404151/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc000271348, {0xc006fcbf00, 0x2, 0xc000617050?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo497404151/go/packages/golist.go:200 +0x7af
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo497404151/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4063
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-05-24 00:39 x_tools-go1.21-openbsd-amd64 tools@3629652b release-branch.go1.21@6f521957 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8747101229305962161">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 28532): see golang/go#54461 for more details

    goroutine 4133 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3286632260/internal/gocommand/invoke.go:451
    golang.org/x/tools/internal/gocommand.runCmdContext({0x133b8a0, 0xc003a7e840}, 0xc000bcde40)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3286632260/internal/gocommand/invoke.go:384 +0x94a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc002f66a78, {0x133b8a0, 0xc003a7e840}, {0x1332a20?, 0xc003a7e960}, {0x1332a20?, 0xc003a7e990})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3286632260/internal/gocommand/invoke.go:279 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc002f66a40?, {0x133b8a0, 0xc003a7e840}, {0x1332a20?, 0xc003a7e960?}, {0x1332a20?, 0xc003a7e990?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3286632260/internal/gocommand/invoke.go:188 +0x59
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc003a35360, {0x133b8a0, 0xc003a7e840}, {{0x1034440, 0x4}, {0xc002de0620, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3286632260/internal/gocommand/invoke.go:125 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x7a344a?, {0x133b948, 0xc002d94fc0}, {{0x1034440, 0x4}, {0xc002de0620, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3286632260/internal/gocommand/invoke.go:99 +0x370
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc002de0548?, {0x1034440?, 0x4?}, {0xc002de0620?, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3286632260/go/packages/golist.go:870 +0x325
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc006d90000, {0xc003a35380, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3286632260/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc002de0548, {0xc003a352a0, 0x2, 0xc000c13e60?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3286632260/go/packages/golist.go:200 +0x7af
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3286632260/go/packages/packages.go:336 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 3822
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-24 14:37 x_tools-go1.21-darwin-amd64-longtest tools@e1b14a19 release-branch.go1.21@54c4745d x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8747024943506997937">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/default
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 15492 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc005d03f80)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1139272614/internal/gocommand/invoke.go:451 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f84b20, 0xc005d595c0}, 0xc003ff7340)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1139272614/internal/gocommand/invoke.go:384 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0043668e8, {0x1f84b20, 0xc005d595c0}, {0x1f7bba0?, 0xc005d596e0}, {0x1f7bba0?, 0xc005d59710})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1139272614/internal/gocommand/invoke.go:279 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0043668b0?, {0x1f84b20, 0xc005d595c0}, {0x1f7bba0?, 0xc005d596e0?}, {0x1f7bba0?, 0xc005d59710?})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f84b20, 0xc005d329c0}, 0xc005d32f90, {0x49701f38, 0xc005d32900})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1139272614/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f84b20, 0xc005d329c0}, 0xc005d32f90, {0x49701f38?, 0xc005d32900?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1139272614/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f84b20, 0xc005d329c0}, 0xc005a6bb00, {0x49701f38?, 0xc005d32900?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1139272614/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1139272614/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 15490
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1139272614/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-29 21:36 x_tools-gotip-openbsd-amd64 tools@d017f4a0 go@fa08befb x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8746569203321099505">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (pid 95323): see golang/go#54461 for more details

    goroutine 4711 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(...)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1517884154/internal/gocommand/invoke.go:451
    golang.org/x/tools/internal/gocommand.runCmdContext({0x13c5588, 0xc001e240f0}, 0xc004795340)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1517884154/internal/gocommand/invoke.go:384 +0x92a
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001d30c48, {0x13c5588, 0xc001e240f0}, {0x13bb9c0, 0xc001e24210}, {0x13bb9c0, 0xc001e24240})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1517884154/internal/gocommand/invoke.go:279 +0xfe5
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001d30c10?, {0x13c5588, 0xc001e240f0}, {0x13bb9c0?, 0xc001e24210?}, {0x13bb9c0, 0xc001e24240})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1517884154/internal/gocommand/invoke.go:188 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc001c3d280, {0x13c5588, 0xc001e240f0}, {{0x10b7f43, 0x4}, {0xc000812380, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1517884154/internal/gocommand/invoke.go:125 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc001c3d280, {0x13c5630, 0xc001927dc0}, {{0x10b7f43, 0x4}, {0xc000812380, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1517884154/internal/gocommand/invoke.go:99 +0x370
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0008122a8?, {0x10b7f43?, 0x4?}, {0xc000812380, 0xb, 0xe?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1517884154/go/packages/golist.go:870 +0x325
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc000af4d20, {0xc001c3d2a0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1517884154/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0008122a8, {0xc001c3d1c0, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1517884154/go/packages/golist.go:200 +0x79f
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1517884154/go/packages/packages.go:366 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x50
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4708
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-31 20:31 x_tools-go1.21-darwin-amd64-longtest tools@5eff1eeb release-branch.go1.21@9488a444 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8746392144857415649">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/default
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 16575 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc0075c3320)
        /Volumes/Work/s/w/ir/x/w/targetrepo1592532916/internal/gocommand/invoke.go:454 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f86c60, 0xc0075e3170}, 0xc0070506e0)
        /Volumes/Work/s/w/ir/x/w/targetrepo1592532916/internal/gocommand/invoke.go:387 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0071828e8, {0x1f86c60, 0xc0075e3170}, {0x1f7dd40?, 0xc0075e3290}, {0x1f7dd40?, 0xc0075e32c0})
        /Volumes/Work/s/w/ir/x/w/targetrepo1592532916/internal/gocommand/invoke.go:282 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0071828b0?, {0x1f86c60, 0xc0075e3170}, {0x1f7dd40?, 0xc0075e3290?}, {0x1f7dd40?, 0xc0075e32c0?})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f86c60, 0xc0076a3b60}, 0xc0076c6150, {0x497947d8, 0xc0076a3aa0})
        /Volumes/Work/s/w/ir/x/w/targetrepo1592532916/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f86c60, 0xc0076a3b60}, 0xc0076c6150, {0x497947d8?, 0xc0076a3aa0?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1592532916/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f86c60, 0xc0076a3b60}, 0xc0076b6378, {0x497947d8?, 0xc0076a3aa0?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1592532916/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo1592532916/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16578
        /Volumes/Work/s/w/ir/x/w/targetrepo1592532916/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-05-31 21:13 x_tools-go1.21-darwin-amd64-longtest tools@1e9d12dd release-branch.go1.21@9488a444 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8746389449429503249">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/default
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 16629 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc00754c150)
        /Volumes/Work/s/w/ir/x/w/targetrepo2434179280/internal/gocommand/invoke.go:454 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f86a60, 0xc00753faa0}, 0xc001265600)
        /Volumes/Work/s/w/ir/x/w/targetrepo2434179280/internal/gocommand/invoke.go:387 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000eae8e8, {0x1f86a60, 0xc00753faa0}, {0x1f7db40?, 0xc00753fbc0}, {0x1f7db40?, 0xc00753fbf0})
        /Volumes/Work/s/w/ir/x/w/targetrepo2434179280/internal/gocommand/invoke.go:282 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000eae8b0?, {0x1f86a60, 0xc00753faa0}, {0x1f7db40?, 0xc00753fbc0?}, {0x1f7db40?, 0xc00753fbf0?})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f86a60, 0xc0078c7c80}, 0xc0078e4270, {0x4964aee0, 0xc0078c7bc0})
        /Volumes/Work/s/w/ir/x/w/targetrepo2434179280/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f86a60, 0xc0078c7c80}, 0xc0078e4270, {0x4964aee0?, 0xc0078c7bc0?})
        /Volumes/Work/s/w/ir/x/w/targetrepo2434179280/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f86a60, 0xc0078c7c80}, 0xc0078ad008, {0x4964aee0?, 0xc0078c7bc0?})
        /Volumes/Work/s/w/ir/x/w/targetrepo2434179280/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo2434179280/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16572
        /Volumes/Work/s/w/ir/x/w/targetrepo2434179280/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-06-03 13:17 x_tools-go1.21-darwin-amd64-longtest tools@58cc8a44 release-branch.go1.21@9488a444 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8746147580191231553">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/default
    DETECTED A HANGING GO COMMAND

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

    See golang/go#54461 for more details.

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

    goroutine 16783 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc006779bc0)
        /Volumes/Work/s/w/ir/x/w/targetrepo1498850735/internal/gocommand/invoke.go:454 +0x3d9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f86c60, 0xc0073fc6c0}, 0xc003347e40)
        /Volumes/Work/s/w/ir/x/w/targetrepo1498850735/internal/gocommand/invoke.go:387 +0x4a5
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc005be08e8, {0x1f86c60, 0xc0073fc6c0}, {0x1f7dd40?, 0xc0073fc7e0}, {0x1f7dd40?, 0xc0073fc810})
        /Volumes/Work/s/w/ir/x/w/targetrepo1498850735/internal/gocommand/invoke.go:282 +0xfaf
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc005be08b0?, {0x1f86c60, 0xc0073fc6c0}, {0x1f7dd40?, 0xc0073fc7e0?}, {0x1f7dd40?, 0xc0073fc810?})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f86c60, 0xc0077c40c0}, 0xc0077c4690, {0x495bc770, 0xc0077c4000})
        /Volumes/Work/s/w/ir/x/w/targetrepo1498850735/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f86c60, 0xc0077c40c0}, 0xc0077c4690, {0x495bc770?, 0xc0077c4000?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1498850735/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f86c60, 0xc0077c40c0}, 0xc0077c21b0, {0x495bc770?, 0xc0077c4000?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1498850735/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo1498850735/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16798
        /Volumes/Work/s/w/ir/x/w/targetrepo1498850735/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Change https://go.dev/cl/589956 mentions this issue: `internal/gocommand: add more debug info for hanging go commands`

**Comment From: gopherbot**

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`)

<details><summary>2024-06-04 17:56 x_tools-go1.22-openbsd-amd64 tools@bc6931db release-branch.go1.22@12d5810c x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8746039461662920369">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.036747307s
        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-2636877488/TestRegenerateCgo/default/work/... builtin
        pid:89054

    goroutine 4611 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc00004c8a0?, 0xc00004c73c?, 0x1a7b6a0?}, 0xc000547340)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2206993522/internal/gocommand/invoke.go:455 +0xb9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1387b28, 0xc0078ad230}, 0xc000547340)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2206993522/internal/gocommand/invoke.go:388 +0x4d4
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00004cc20, {0x1387b28, 0xc0078ad230}, {0x137ece0, 0xc0078ad350}, {0x137ece0, 0xc0078ad380})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2206993522/internal/gocommand/invoke.go:282 +0x1012
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00004cbe8?, {0x1387b28, 0xc0078ad230}, {0x137ece0?, 0xc0078ad350?}, {0x137ece0, 0xc0078ad380})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2206993522/internal/gocommand/invoke.go:188 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc007875400, {0x1387b28, 0xc0078ad230}, {{0x10798fa, 0x4}, {0xc0001fcc40, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2206993522/internal/gocommand/invoke.go:125 +0x165
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc007875400, {0x1387bd0, 0xc007257b90}, {{0x10798fa, 0x4}, {0xc0001fcc40, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2206993522/internal/gocommand/invoke.go:99 +0x370
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0003f2f08?, {0x10798fa?, 0x2?}, {0xc0001fcc40, 0xb, 0xeee540?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2206993522/go/packages/golist.go:859 +0x1fb
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc007c1e140, {0xc007875420, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2206993522/go/packages/golist.go:377 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0003f2f08, {0xc007875340, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2206993522/go/packages/golist.go:200 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2206993522/go/packages/packages.go:388 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4432
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-06-06 18:30 x_tools-go1.21-darwin-amd64-longtest tools@5e0f1d8d release-branch.go1.21@48103d97 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8745856111741553681">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/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 1m2.845865435s
        command:/Users/swarming/.swarming/w/ir/x/w/goroot/bin/go env -json GOMODCACHE GOFLAGS GO111MODULE GOOS GOARCH GOCACHE GOPATH GOPRIVATE
        pid:58190

    goroutine 15639 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc006e0c578?, 0xc006e0c3b4?, 0x265f680?}, 0xc0073e2420)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2843857061/internal/gocommand/invoke.go:462 +0x465
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f87720, 0xc00743e090}, 0xc0073e2420)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2843857061/internal/gocommand/invoke.go:395 +0x4ce
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006e0c8e8, {0x1f87720, 0xc00743e090}, {0x1f7e7e0?, 0xc00743e1b0}, {0x1f7e7e0?, 0xc00743e1e0})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f87720, 0xc006d3bf80}, 0xc00748e570, {0x496bf0a8, 0xc006d3bec0})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2843857061/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f87720, 0xc006d3bf80}, 0xc00748e570, {0x496bf0a8?, 0xc006d3bec0?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2843857061/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f87720, 0xc006d3bf80}, 0xc0072fec60, {0x496bf0a8?, 0xc006d3bec0?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2843857061/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2843857061/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 15637
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2843857061/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-06-07 14:44 x_tools-go1.21-darwin-amd64-longtest tools@fc82f4e5 release-branch.go1.21@48103d97 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8745778263494293729">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/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 1m3.413138921s
        command:/Volumes/Work/s/w/ir/x/w/goroot/bin/go env -json GOARCH GOCACHE GOPATH GOPRIVATE GOMODCACHE GOFLAGS GO111MODULE GOOS
        pid:58192

    goroutine 16676 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc003a06578?, 0xc003a063b4?, 0x265b680?}, 0xc0009c4dc0)
        /Volumes/Work/s/w/ir/x/w/targetrepo3559719606/internal/gocommand/invoke.go:462 +0x465
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f87e00, 0xc007819d70}, 0xc0009c4dc0)
        /Volumes/Work/s/w/ir/x/w/targetrepo3559719606/internal/gocommand/invoke.go:395 +0x4ce
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc003a068e8, {0x1f87e00, 0xc007819d70}, {0x1f7eee0?, 0xc007819e90}, {0x1f7eee0?, 0xc007819ec0})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f87e00, 0xc0075f2ff0}, 0xc0075f35c0, {0x49422a30, 0xc0075f2f30})
        /Volumes/Work/s/w/ir/x/w/targetrepo3559719606/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f87e00, 0xc0075f2ff0}, 0xc0075f35c0, {0x49422a30?, 0xc0075f2f30?})
        /Volumes/Work/s/w/ir/x/w/targetrepo3559719606/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f87e00, 0xc0075f2ff0}, 0xc005d1e180, {0x49422a30?, 0xc0075f2f30?})
        /Volumes/Work/s/w/ir/x/w/targetrepo3559719606/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo3559719606/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16674
        /Volumes/Work/s/w/ir/x/w/targetrepo3559719606/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-06-10 14:29 x_tools-go1.21-darwin-amd64-longtest tools@f41a407b release-branch.go1.21@48103d97 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8745508641958793217">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/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 1m3.561899913s
        command:/Volumes/Work/s/w/ir/x/w/goroot/bin/go env -json GOFLAGS GO111MODULE GOOS GOARCH GOCACHE GOPATH GOPRIVATE GOMODCACHE
        pid:88175

    goroutine 16817 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc003b2e578?, 0xc003b2e3b4?, 0x2660680?}, 0xc001c3fce0)
        /Volumes/Work/s/w/ir/x/w/targetrepo1138166021/internal/gocommand/invoke.go:462 +0x465
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f8b6c0, 0xc0077867e0}, 0xc001c3fce0)
        /Volumes/Work/s/w/ir/x/w/targetrepo1138166021/internal/gocommand/invoke.go:395 +0x4ce
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc003b2e8e8, {0x1f8b6c0, 0xc0077867e0}, {0x1f82780?, 0xc007786900}, {0x1f82780?, 0xc007786930})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f8b6c0, 0xc007696330}, 0xc007696900, {0x49848b58, 0xc007696270})
        /Volumes/Work/s/w/ir/x/w/targetrepo1138166021/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f8b6c0, 0xc007696330}, 0xc007696900, {0x49848b58?, 0xc007696270?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1138166021/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f8b6c0, 0xc007696330}, 0xc0075e9c50, {0x49848b58?, 0xc007696270?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1138166021/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo1138166021/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16717
        /Volumes/Work/s/w/ir/x/w/targetrepo1138166021/internal/jsonrpc2/handler.go:100 +0x1ed
</details>

<details><summary>2024-06-10 16:24 x_tools-go1.21-darwin-amd64-longtest tools@ae524770 release-branch.go1.21@48103d97 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8745501650869842817">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/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.965408105s
        command:/Volumes/Work/s/w/ir/x/w/goroot/bin/go env -json GOARCH GOCACHE GOPATH GOPRIVATE GOMODCACHE GOFLAGS GO111MODULE GOOS
        pid:1992

    goroutine 16992 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc006d46578?, 0xc006d463b4?, 0x265f680?}, 0xc007574420)
        /Volumes/Work/s/w/ir/x/w/targetrepo1308948611/internal/gocommand/invoke.go:462 +0x465
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f8b080, 0xc007a3d2c0}, 0xc007574420)
        /Volumes/Work/s/w/ir/x/w/targetrepo1308948611/internal/gocommand/invoke.go:395 +0x4ce
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006d468e8, {0x1f8b080, 0xc007a3d2c0}, {0x1f82140?, 0xc007a3d3e0}, {0x1f82140?, 0xc007a3d410})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f8b080, 0xc007a96330}, 0xc007a96900, {0x4971fa58, 0xc007a96270})
        /Volumes/Work/s/w/ir/x/w/targetrepo1308948611/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f8b080, 0xc007a96330}, 0xc007a96900, {0x4971fa58?, 0xc007a96270?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1308948611/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f8b080, 0xc007a96330}, 0xc0071e5698, {0x4971fa58?, 0xc007a96270?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1308948611/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo1308948611/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16997
        /Volumes/Work/s/w/ir/x/w/targetrepo1308948611/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-06-12 09:20 x_tools-go1.21-darwin-amd64-longtest tools@e4b0a184 release-branch.go1.21@74ac37e9 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8745303316012227585">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/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 1m2.001426335s
        command:/Volumes/Work/s/w/ir/x/w/goroot/bin/go env -json GOPATH GOPRIVATE GOMODCACHE GOFLAGS GO111MODULE GOOS GOARCH GOCACHE
        pid:15985

    goroutine 16581 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc006d08578?, 0xc006d083b4?, 0x265f720?}, 0xc007624580)
        /Volumes/Work/s/w/ir/x/w/targetrepo3282279692/internal/gocommand/invoke.go:462 +0x465
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f8ac40, 0xc006b310e0}, 0xc007624580)
        /Volumes/Work/s/w/ir/x/w/targetrepo3282279692/internal/gocommand/invoke.go:395 +0x4ce
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006d088e8, {0x1f8ac40, 0xc006b310e0}, {0x1f81d00?, 0xc006b31200}, {0x1f81d00?, 0xc006b31230})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f8ac40, 0xc007645e30}, 0xc007668420, {0x497d0578, 0xc007645d70})
        /Volumes/Work/s/w/ir/x/w/targetrepo3282279692/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f8ac40, 0xc007645e30}, 0xc007668420, {0x497d0578?, 0xc007645d70?})
        /Volumes/Work/s/w/ir/x/w/targetrepo3282279692/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f8ac40, 0xc007645e30}, 0xc00760b8d8, {0x497d0578?, 0xc007645d70?})
        /Volumes/Work/s/w/ir/x/w/targetrepo3282279692/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo3282279692/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16579
        /Volumes/Work/s/w/ir/x/w/targetrepo3282279692/internal/jsonrpc2/handler.go:100 +0x1ed
</details>

<details><summary>2024-06-13 20:29 x_tools-go1.21-windows-amd64-race tools@2ca6abea release-branch.go1.21@74ac37e9 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default [ABORT] (<a href="https://ci.chromium.org/b/8745214481771151889">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.0187674s
        command:C:\b\s\w\ir\x\w\goroot\bin\go.exe mod tidy -modfile=C:\b\s\w\ir\x\t\gopls-tempmod2830987814\go.mod
        pid:12056

    goroutine 672 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc00064ad28?, 0xc0007a8aec?, 0x141efcb60?}, 0xc00047eb00)
        C:/b/s/w/ir/x/w/targetrepo3740908206/internal/gocommand/invoke.go:462 +0x14d
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417b00c0, 0xc0003fb110}, 0xc00047eb00)
        C:/b/s/w/ir/x/w/targetrepo3740908206/internal/gocommand/invoke.go:395 +0x6ee
    ...
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x1417b00f8, 0xc0005285a0}, {0x1413a0520?, 0xc000589200})
        C:/b/s/w/ir/x/w/targetrepo3740908206/gopls/internal/cache/mod_tidy.go:81 +0x68
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        C:/b/s/w/ir/x/w/targetrepo3740908206/internal/memoize/memoize.go:187 +0xdd
    runtime/trace.WithRegion({0x1417b00f8, 0xc0005285a0}, {0xc0004c2318, 0x13}, 0xc000613f90)
        C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x151
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        C:/b/s/w/ir/x/w/targetrepo3740908206/internal/memoize/memoize.go:180 +0x1db
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 726
        C:/b/s/w/ir/x/w/targetrepo3740908206/internal/memoize/memoize.go:179 +0x34f
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-06-14 23:00 x_tools-go1.21-windows-amd64-race tools@977f6f71 release-branch.go1.21@74ac37e9 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace (<a href="https://ci.chromium.org/b/8745114394703153281">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace
    --- FAIL: TestUpgradeCodelens_Workspace (792.71s)
    panic: detected hanging go command (golang/go#54461); waited 1m0.0166529s
        command:C:\b\s\w\ir\x\w\goroot\bin\go.exe clean -modcache
        pid:4992 [recovered]
        panic: detected hanging go command (golang/go#54461); waited 1m0.0166529s
        command:C:\b\s\w\ir\x\w\goroot\bin\go.exe clean -modcache
        pid:4992

    goroutine 396 [running]:
    ...
    golang.org/x/tools/gopls/internal/test/integration/fake.(*Sandbox).Close(0xc0004c9080)
        C:/b/s/w/ir/x/w/targetrepo878406016/gopls/internal/test/integration/fake/sandbox.go:278 +0x12f
    golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1()
        C:/b/s/w/ir/x/w/targetrepo878406016/gopls/internal/test/integration/runner.go:197 +0x66
    golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1(0xc0003e1040)
        C:/b/s/w/ir/x/w/targetrepo878406016/gopls/internal/test/integration/runner.go:252 +0x1b6b
    testing.tRunner(0xc0003e1040, 0xc000106c80)
        C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:1595 +0x262
    created by testing.(*T).Run in goroutine 395
        C:/b/s/w/ir/x/w/goroot/src/testing/testing.go:1648 +0x846
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-06-18 16:54 x_tools-go1.21-darwin-amd64-longtest tools@1239d047 release-branch.go1.21@74ac37e9 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8744775016054122609">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/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 1m6.90425874s
        command:/Volumes/Work/s/w/ir/x/w/goroot/bin/go env -json GOOS GOARCH GOCACHE GOPATH GOPRIVATE GOMODCACHE GOFLAGS GO111MODULE
        pid:84298

    goroutine 17038 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0010d0578?, 0xc0010d03b4?, 0x2662720?}, 0xc0071e3e40)
        /Volumes/Work/s/w/ir/x/w/targetrepo273700087/internal/gocommand/invoke.go:462 +0x465
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f8cfe0, 0xc00786b890}, 0xc0071e3e40)
        /Volumes/Work/s/w/ir/x/w/targetrepo273700087/internal/gocommand/invoke.go:395 +0x4ce
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0010d08e8, {0x1f8cfe0, 0xc00786b890}, {0x1f83e20?, 0xc00786b9b0}, {0x1f83e20?, 0xc00786b9e0})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f8cfe0, 0xc007829ce0}, 0xc0078442d0, {0x49709f78, 0xc007829c20})
        /Volumes/Work/s/w/ir/x/w/targetrepo273700087/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f8cfe0, 0xc007829ce0}, 0xc0078442d0, {0x49709f78?, 0xc007829c20?})
        /Volumes/Work/s/w/ir/x/w/targetrepo273700087/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f8cfe0, 0xc007829ce0}, 0xc007617038, {0x49709f78?, 0xc007829c20?})
        /Volumes/Work/s/w/ir/x/w/targetrepo273700087/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo273700087/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 17036
        /Volumes/Work/s/w/ir/x/w/targetrepo273700087/internal/jsonrpc2/handler.go:100 +0x1ed
</details>

<details><summary>2024-06-18 18:17 x_tools-go1.21-darwin-amd64-longtest tools@f2d2ebe4 release-branch.go1.21@74ac37e9 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8744769808194667793">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/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 1m3.82717623s
        command:/Volumes/Work/s/w/ir/x/w/goroot/bin/go env -json GOPATH GOPRIVATE GOMODCACHE GOFLAGS GO111MODULE GOOS GOARCH GOCACHE
        pid:92353

    goroutine 16760 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc00695c578?, 0xc00695c3b4?, 0x2662720?}, 0xc0068909a0)
        /Volumes/Work/s/w/ir/x/w/targetrepo387593805/internal/gocommand/invoke.go:462 +0x465
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f8cfe0, 0xc006d0b740}, 0xc0068909a0)
        /Volumes/Work/s/w/ir/x/w/targetrepo387593805/internal/gocommand/invoke.go:395 +0x4ce
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00695c8e8, {0x1f8cfe0, 0xc006d0b740}, {0x1f83e20?, 0xc006d0b860}, {0x1f83e20?, 0xc006d0b890})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f8cfe0, 0xc006c1a1b0}, 0xc006c1a780, {0x4977a878, 0xc006c1a0f0})
        /Volumes/Work/s/w/ir/x/w/targetrepo387593805/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f8cfe0, 0xc006c1a1b0}, 0xc006c1a780, {0x4977a878?, 0xc006c1a0f0?})
        /Volumes/Work/s/w/ir/x/w/targetrepo387593805/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f8cfe0, 0xc006c1a1b0}, 0xc006bfadc8, {0x4977a878?, 0xc006c1a0f0?})
        /Volumes/Work/s/w/ir/x/w/targetrepo387593805/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo387593805/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16753
        /Volumes/Work/s/w/ir/x/w/targetrepo387593805/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-06-20 14:44 x_tools-go1.21-openbsd-amd64 tools@18e694b5 release-branch.go1.21@74ac37e9 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8744601971477071985">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.092450875s
        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-3518665162/TestRegenerateCgo/default/work/... builtin
        pid:79735

    goroutine 3520 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc001576778?, 0xc0015765b4?, 0x1a03720?}, 0xc00072c420)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2548294800/internal/gocommand/invoke.go:462 +0xb9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1344f20, 0xc003040ed0}, 0xc00072c420)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2548294800/internal/gocommand/invoke.go:395 +0x4ce
    ...
    panic: runtime error: invalid memory address or nil pointer dereference
    [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x7a869d]

    goroutine 3517 [running]:
    golang.org/x/tools/go/packages.mergeResponses({0xc004459700, 0x1, 0x4120e5?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2548294800/go/packages/packages.go:410 +0x9d
    golang.org/x/tools/go/packages.callDriverOnChunks(0x1203570, 0xc0043340f8, {0xc003796cf0, 0x1, 0x20?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2548294800/go/packages/packages.go:401 +0x270
    golang.org/x/tools/go/packages.defaultDriver(0xc0043340f8, {0xc001f5ae00?, 0xc00416b8c0?, 0xc0013f73a8?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2548294800/go/packages/packages.go:341 +0x125
    golang.org/x/tools/go/packages.Load(0xc002e26c60?, {0xc001f5ae00, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2548294800/go/packages/packages.go:268 +0x54
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).load(0xc002e26c60, {0x1344f58, 0xc001168870}, 0x80?, {0xc001f5ade0, 0x2, 0xc000547ba0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2548294800/gopls/internal/cache/load.go:136 +0xcac
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).initialize(0xc002e26c60, {0x1344f58, 0xc001168870}, 0x1)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2548294800/gopls/internal/cache/view.go:676 +0x385
    golang.org/x/tools/gopls/internal/cache.(*Session).createView.func3()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2548294800/gopls/internal/cache/session.go:291 +0x3e
    created by golang.org/x/tools/gopls/internal/cache.(*Session).createView in goroutine 4294
        /home/swarming/.swarming/w/ir/x/w/targetrepo2548294800/gopls/internal/cache/session.go:289 +0x1c4a
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-06-20 20:57 x_tools-go1.21-darwin-amd64-longtest tools@dfdfa49f release-branch.go1.21@74ac37e9 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8744578499546794945">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/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 1m0.75806776s
        command:/Users/swarming/.swarming/w/ir/x/w/goroot/bin/go env -json GOPATH GOPRIVATE GOMODCACHE GOFLAGS GO111MODULE GOOS GOARCH GOCACHE
        pid:85568

    goroutine 15682 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc006c92578?, 0xc006c923b4?, 0x2666720?}, 0xc006cfcc60)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1368511830/internal/gocommand/invoke.go:462 +0x465
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f8d580, 0xc006f84000}, 0xc006cfcc60)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1368511830/internal/gocommand/invoke.go:395 +0x4ce
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006c928e8, {0x1f8d580, 0xc006f84000}, {0x1f843a0?, 0xc006f84120}, {0x1f843a0?, 0xc006f84150})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f8d580, 0xc006f4ee10}, 0xc006f4f3e0, {0x49643658, 0xc006f4ed50})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1368511830/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f8d580, 0xc006f4ee10}, 0xc006f4f3e0, {0x49643658?, 0xc006f4ed50?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1368511830/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f8d580, 0xc006f4ee10}, 0xc006f406f0, {0x49643658?, 0xc006f4ed50?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1368511830/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1368511830/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 15667
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1368511830/internal/jsonrpc2/handler.go:100 +0x1ed
</details>

<details><summary>2024-06-21 16:27 x_tools-go1.21-darwin-amd64-longtest tools@8a45e6cd release-branch.go1.21@74ac37e9 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8744504941849299073">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/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 1m4.582765944s
        command:/Volumes/Work/s/w/ir/x/w/goroot/bin/go env -json GOPATH GOPRIVATE GOMODCACHE GOFLAGS GO111MODULE GOOS GOARCH GOCACHE
        pid:99178

    goroutine 16611 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc006302578?, 0xc0063023b4?, 0x2662740?}, 0xc0072f82c0)
        /Volumes/Work/s/w/ir/x/w/targetrepo1997981667/internal/gocommand/invoke.go:462 +0x465
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f8d560, 0xc007746d80}, 0xc0072f82c0)
        /Volumes/Work/s/w/ir/x/w/targetrepo1997981667/internal/gocommand/invoke.go:395 +0x4ce
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0063028e8, {0x1f8d560, 0xc007746d80}, {0x1f843a0?, 0xc007746ea0}, {0x1f843a0?, 0xc007746ed0})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f8d560, 0xc007724810}, 0xc007724de0, {0x4941cf30, 0xc007724750})
        /Volumes/Work/s/w/ir/x/w/targetrepo1997981667/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f8d560, 0xc007724810}, 0xc007724de0, {0x4941cf30?, 0xc007724750?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1997981667/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f8d560, 0xc007724810}, 0xc00772c210, {0x4941cf30?, 0xc007724750?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1997981667/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo1997981667/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16752
        /Volumes/Work/s/w/ir/x/w/targetrepo1997981667/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-06-21 19:35 x_tools-go1.21-darwin-amd64-longtest tools@4a264773 release-branch.go1.21@74ac37e9 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8744493077534415825">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/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 1m3.048727139s
        command:/Volumes/Work/s/w/ir/x/w/goroot/bin/go env -json GOFLAGS GO111MODULE GOOS GOARCH GOCACHE GOPATH GOPRIVATE GOMODCACHE
        pid:40830

    goroutine 16861 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc005d44578?, 0xc005d443b4?, 0x2663740?}, 0xc00372cdc0)
        /Volumes/Work/s/w/ir/x/w/targetrepo1289349968/internal/gocommand/invoke.go:462 +0x465
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f8e340, 0xc007354cf0}, 0xc00372cdc0)
        /Volumes/Work/s/w/ir/x/w/targetrepo1289349968/internal/gocommand/invoke.go:395 +0x4ce
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc005d448e8, {0x1f8e340, 0xc007354cf0}, {0x1f85180?, 0xc007354e10}, {0x1f85180?, 0xc007354e40})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f8e340, 0xc0073fbdd0}, 0xc0078203c0, {0x4978f3b8, 0xc0073fbd10})
        /Volumes/Work/s/w/ir/x/w/targetrepo1289349968/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f8e340, 0xc0073fbdd0}, 0xc0078203c0, {0x4978f3b8?, 0xc0073fbd10?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1289349968/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f8e340, 0xc0073fbdd0}, 0xc0073e12d8, {0x4978f3b8?, 0xc0073fbd10?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1289349968/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo1289349968/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16859
        /Volumes/Work/s/w/ir/x/w/targetrepo1289349968/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-06-25 18:01 x_tools-go1.21-darwin-amd64-longtest tools@850c7c30 release-branch.go1.21@ac14d4d9 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8744135799575267025">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/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.759789989s
        command:/Users/swarming/.swarming/w/ir/x/w/goroot/bin/go env -json GOARCH GOCACHE GOPATH GOPRIVATE GOMODCACHE GOFLAGS GO111MODULE GOOS
        pid:96980

    goroutine 15386 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc00654e578?, 0xc00654e3b4?, 0x2665600?}, 0xc006ef54a0)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1705612669/internal/gocommand/invoke.go:462 +0x465
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f8ca00, 0xc0072c48d0}, 0xc006ef54a0)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1705612669/internal/gocommand/invoke.go:395 +0x4ce
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00654e8e8, {0x1f8ca00, 0xc0072c48d0}, {0x1f837e0?, 0xc0072c49f0}, {0x1f837e0?, 0xc0072c4a20})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f8ca00, 0xc007256840}, 0xc007256e10, {0x49646578, 0xc007256780})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1705612669/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f8ca00, 0xc007256840}, 0xc007256e10, {0x49646578?, 0xc007256780?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1705612669/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f8ca00, 0xc007256840}, 0xc00725e240, {0x49646578?, 0xc007256780?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1705612669/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1705612669/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 15384
        /Users/swarming/.swarming/w/ir/x/w/targetrepo1705612669/internal/jsonrpc2/handler.go:100 +0x1ed
</details>

<details><summary>2024-06-26 17:06 x_tools-go1.22-openbsd-amd64 tools@b297f5a4 release-branch.go1.22@ceaf26ec x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8744049500564461601">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.419081233s
        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-3280758801/TestRegenerateCgo/default/work/... builtin
        pid:60044

    goroutine 4539 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc007906898?, 0xc007906734?, 0x1a88740?}, 0xc007c8e000)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1810633247/internal/gocommand/invoke.go:462 +0xb9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x13911c8, 0xc007c80c00}, 0xc007c8e000)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1810633247/internal/gocommand/invoke.go:395 +0x4d4
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007906c20, {0x13911c8, 0xc007c80c00}, {0x13880e0, 0xc007c80d20}, {0x13880e0, 0xc007c80d50})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1810633247/internal/gocommand/invoke.go:289 +0x109a
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc007906be8?, {0x13911c8, 0xc007c80c00}, {0x13880e0?, 0xc007c80d20?}, {0x13880e0, 0xc007c80d50})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1810633247/internal/gocommand/invoke.go:188 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc007ba6040, {0x13911c8, 0xc007c80c00}, {{0x1081942, 0x4}, {0xc007c8c000, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1810633247/internal/gocommand/invoke.go:125 +0x165
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc007ba6040, {0x1391270, 0xc0036d52d0}, {{0x1081942, 0x4}, {0xc007c8c000, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1810633247/internal/gocommand/invoke.go:99 +0x370
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0036e00f8?, {0x1081942?, 0x2?}, {0xc007c8c000, 0xb, 0xef5f60?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1810633247/go/packages/golist.go:858 +0x1fb
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0036ca820, {0xc007ba6060, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1810633247/go/packages/golist.go:376 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0036e00f8, {0xc007887f00, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1810633247/go/packages/golist.go:199 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1810633247/go/packages/packages.go:388 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4536
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>

<details><summary>2024-06-26 18:10 x_tools-go1.21-darwin-amd64-longtest tools@3db1ddbb release-branch.go1.21@ac14d4d9 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8744044921208471857">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/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 1m2.070348746s
        command:/Users/swarming/.swarming/w/ir/x/w/goroot/bin/go env -json GO111MODULE GOOS GOARCH GOCACHE GOPATH GOPRIVATE GOMODCACHE GOFLAGS
        pid:87451

    goroutine 15345 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0034e2578?, 0xc0034e23b4?, 0x266a600?}, 0xc006eaeb00)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2536301189/internal/gocommand/invoke.go:462 +0x465
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f90440, 0xc0070629c0}, 0xc006eaeb00)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2536301189/internal/gocommand/invoke.go:395 +0x4ce
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0034e28e8, {0x1f90440, 0xc0070629c0}, {0x1f87240?, 0xc007062ae0}, {0x1f87240?, 0xc007062b10})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f90440, 0xc006f3d560}, 0xc006f3db30, {0x496fafb8, 0xc006f3d4a0})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2536301189/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f90440, 0xc006f3d560}, 0xc006f3db30, {0x496fafb8?, 0xc006f3d4a0?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2536301189/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f90440, 0xc006f3d560}, 0xc006f387b0, {0x496fafb8?, 0xc006f3d4a0?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2536301189/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2536301189/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 15388
        /Users/swarming/.swarming/w/ir/x/w/targetrepo2536301189/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-06-27 18:14 x_tools-go1.21-darwin-amd64-longtest tools@72edac2f release-branch.go1.21@c9be6ae7 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8743941499408884193">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/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 1m3.249771617s
        command:/Volumes/Work/s/w/ir/x/w/goroot/bin/go env -json GOARCH GOCACHE GOPATH GOPRIVATE GOMODCACHE GOFLAGS GO111MODULE GOOS
        pid:56812

    goroutine 16813 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc000b9c578?, 0xc000b9c3b4?, 0x2667600?}, 0xc0000d7b80)
        /Volumes/Work/s/w/ir/x/w/targetrepo1004927393/internal/gocommand/invoke.go:462 +0x465
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f90ce0, 0xc007881a70}, 0xc0000d7b80)
        /Volumes/Work/s/w/ir/x/w/targetrepo1004927393/internal/gocommand/invoke.go:395 +0x4ce
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000b9c8e8, {0x1f90ce0, 0xc007881a70}, {0x1f87b00?, 0xc007881b90}, {0x1f87b00?, 0xc007881bc0})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f90ce0, 0xc00782ad20}, 0xc0070f4750, {0x4973d208, 0xc00782ac60})
        /Volumes/Work/s/w/ir/x/w/targetrepo1004927393/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f90ce0, 0xc00782ad20}, 0xc0070f4750, {0x4973d208?, 0xc00782ac60?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1004927393/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f90ce0, 0xc00782ad20}, 0xc0070e63a8, {0x4973d208?, 0xc00782ac60?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1004927393/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo1004927393/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16686
        /Volumes/Work/s/w/ir/x/w/targetrepo1004927393/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-07-08 17:34 x_tools-go1.21-darwin-amd64-longtest tools@febceba1 release-branch.go1.21@12e9b968 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8742960568109967009">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/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 1m3.160228321s
        command:/Volumes/Work/s/w/ir/x/w/goroot/bin/go env -json GOMODCACHE GOFLAGS GO111MODULE GOPATH GOPRIVATE GOCACHE GOTOOLCHAIN GOOS GOARCH
        pid:25113

    goroutine 16987 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc00413c640?, 0xc00413c47c?, 0x26685e0?}, 0xc007246f20)
        /Volumes/Work/s/w/ir/x/w/targetrepo575351841/internal/gocommand/invoke.go:462 +0x465
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f91800, 0xc007c86900}, 0xc007246f20)
        /Volumes/Work/s/w/ir/x/w/targetrepo575351841/internal/gocommand/invoke.go:395 +0x4ce
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00413c9b0, {0x1f91800, 0xc007c86900}, {0x1f88620?, 0xc007c86a20}, {0x1f88620?, 0xc007c86a50})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f91800, 0xc0079fb620}, 0xc0079fbbf0, {0x49919078, 0xc0079fb560})
        /Volumes/Work/s/w/ir/x/w/targetrepo575351841/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f91800, 0xc0079fb620}, 0xc0079fbbf0, {0x49919078?, 0xc0079fb560?})
        /Volumes/Work/s/w/ir/x/w/targetrepo575351841/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f91800, 0xc0079fb620}, 0xc007c80180, {0x49919078?, 0xc0079fb560?})
        /Volumes/Work/s/w/ir/x/w/targetrepo575351841/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo575351841/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16986
        /Volumes/Work/s/w/ir/x/w/targetrepo575351841/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-07-11 15:04 x_tools-go1.21-darwin-amd64-longtest tools@ef4d0833 release-branch.go1.21@e073febe x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8742698225435860177">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/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.989519566s
        command:/Users/swarming/.swarming/w/ir/x/w/goroot/bin/go env -json GOTOOLCHAIN GOPRIVATE GOMODCACHE GOFLAGS GOPATH GO111MODULE GOOS GOARCH GOCACHE
        pid:81440

    goroutine 15526 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc006760640?, 0xc00676047c?, 0x266e620?}, 0xc004b44420)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo4056070/internal/gocommand/invoke.go:462 +0x465
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f93720, 0xc006e47320}, 0xc004b44420)
        /Users/swarming/.swarming/w/ir/x/w/targetrepo4056070/internal/gocommand/invoke.go:395 +0x4ce
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0067609b0, {0x1f93720, 0xc006e47320}, {0x1f8a520?, 0xc006e47440}, {0x1f8a520?, 0xc006e47470})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f93720, 0xc006e0d110}, 0xc006e0d6e0, {0x49711e58, 0xc006e0d050})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo4056070/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f93720, 0xc006e0d110}, 0xc006e0d6e0, {0x49711e58?, 0xc006e0d050?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo4056070/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f93720, 0xc006e0d110}, 0xc006c41f08, {0x49711e58?, 0xc006e0d050?})
        /Users/swarming/.swarming/w/ir/x/w/targetrepo4056070/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Users/swarming/.swarming/w/ir/x/w/targetrepo4056070/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 15524
        /Users/swarming/.swarming/w/ir/x/w/targetrepo4056070/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-07-12 21:36 x_tools-go1.21-darwin-amd64-longtest tools@e4550b9d release-branch.go1.21@e073febe x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8742582971258368673">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/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 1m3.298475354s
        command:/Volumes/Work/s/w/ir/x/w/goroot/bin/go env -json GOOS GOCACHE GO111MODULE GOARCH GOPATH GOPRIVATE GOMODCACHE GOFLAGS GOTOOLCHAIN
        pid:46452

    goroutine 16703 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc005e92640?, 0xc005e9247c?, 0x266a620?}, 0xc006d0c2c0)
        /Volumes/Work/s/w/ir/x/w/targetrepo3296970330/internal/gocommand/invoke.go:462 +0x465
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f93700, 0xc006d40570}, 0xc006d0c2c0)
        /Volumes/Work/s/w/ir/x/w/targetrepo3296970330/internal/gocommand/invoke.go:395 +0x4ce
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc005e929b0, {0x1f93700, 0xc006d40570}, {0x1f8a520?, 0xc006d40690}, {0x1f8a520?, 0xc006d406c0})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f93700, 0xc006d345d0}, 0xc006d34ba0, {0x498277f8, 0xc006d34510})
        /Volumes/Work/s/w/ir/x/w/targetrepo3296970330/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f93700, 0xc006d345d0}, 0xc006d34ba0, {0x498277f8?, 0xc006d34510?})
        /Volumes/Work/s/w/ir/x/w/targetrepo3296970330/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f93700, 0xc006d345d0}, 0xc006d3a090, {0x498277f8?, 0xc006d34510?})
        /Volumes/Work/s/w/ir/x/w/targetrepo3296970330/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo3296970330/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16930
        /Volumes/Work/s/w/ir/x/w/targetrepo3296970330/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-07-16 16:13 x_tools-gotip-openbsd-amd64 tools@25ed04f2 go@7321aa91 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8742132563589614801">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.069182308s
            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-208924544/TestRegenerateCgo/default/work/... builtin
            pid:20561

    goroutine 4449 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc005282918?, 0xc0052827b4?, 0x1af17e0?}, 0xc0001d8f00)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1760159357/internal/gocommand/invoke.go:462 +0xb9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x13cd4e8, 0xc0052a8240}, 0xc0001d8f00)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1760159357/internal/gocommand/invoke.go:395 +0x4cb
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc005282ca0, {0x13cd4e8, 0xc0052a8240}, {0x13c3660, 0xc0052a8360}, {0x13c3660, 0xc0052a8390})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1760159357/internal/gocommand/invoke.go:289 +0x1076
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc005282c68?, {0x13cd4e8, 0xc0052a8240}, {0x13c3660?, 0xc0052a8360?}, {0x13c3660, 0xc0052a8390})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1760159357/internal/gocommand/invoke.go:188 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc00402b2c0, {0x13cd4e8, 0xc0052a8240}, {{0x10bdc4b, 0x4}, {0xc003c9e9a0, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1760159357/internal/gocommand/invoke.go:125 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc00402b2c0, {0x13cd590, 0xc00354ddc0}, {{0x10bdc4b, 0x4}, {0xc003c9e9a0, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1760159357/internal/gocommand/invoke.go:99 +0x370
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0052a4008?, {0x10bdc4b?, 0x2?}, {0xc003c9e9a0, 0xb, 0xc007d0c1c8?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1760159357/go/packages/golist.go:858 +0x1fb
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc003cadea0, {0xc00402b2e0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1760159357/go/packages/golist.go:376 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0052a4008, {0xc00402b200, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1760159357/go/packages/golist.go:199 +0x79f
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1760159357/go/packages/packages.go:388 +0x5c
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x50
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4621
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-06-20 20:57 x_tools-go1.21-windows-amd64-race tools@dfdfa49f release-branch.go1.21@74ac37e9 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_direct_dependencies/default [ABORT] (<a href="https://ci.chromium.org/b/8744578500387232897">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace/Upgrade_direct_dependencies/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.0179783s
        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-1669412285\TestUpgradeCodelens_Workspace\Upgrade_direct_dependencies\default\work\a\... C:\b\s\w\ir\x\t\gopls-test-1669412285\TestUpgradeCodelens_Workspace\Upgrade_direct_dependencies\default\work\b\... builtin
        pid:6420

    goroutine 888 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc000698150?, 0xc000697f14?, 0x141f00b60?}, 0xc000808160)
        C:/b/s/w/ir/x/w/targetrepo1773518976/internal/gocommand/invoke.go:462 +0x14d
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417b2d00, 0xc00013a540}, 0xc000808160)
        C:/b/s/w/ir/x/w/targetrepo1773518976/internal/gocommand/invoke.go:395 +0x6ee
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000698650, {0x1417b2d00, 0xc00013a540}, {0x1417a9a60?, 0xc00013b110}, {0x1417a9a60?, 0xc00013b1a0})
        C:/b/s/w/ir/x/w/targetrepo1773518976/internal/gocommand/invoke.go:289 +0x1a68
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000698620?, {0x1417b2d00, 0xc00013a540}, {0x1417a9a60, 0xc00013b110}, {0x1417a9a60?, 0xc00013b1a0?})
        C:/b/s/w/ir/x/w/targetrepo1773518976/internal/gocommand/invoke.go:188 +0xa5
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc000ae8360, {0x1417b2d00, 0xc00013a540}, {{0x1413a6fff, 0x4}, {0xc00080e000, 0xc, 0xe}, {0x0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1773518976/internal/gocommand/invoke.go:125 +0x26c
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc000ae8360, {0x1417b2da8, 0xc0002ddc70}, {{0x1413a6fff, 0x4}, {0xc00080e000, 0xc, 0xe}, {0x0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo1773518976/internal/gocommand/invoke.go:99 +0x4b1
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc000010780, {0x1413a6fff, 0x4}, {0xc00080e000?, 0xc, 0xe})
        C:/b/s/w/ir/x/w/targetrepo1773518976/go/packages/golist.go:858 +0x40b
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc000010780, {0xc00000e4b0, 0x3, 0x3})
        C:/b/s/w/ir/x/w/targetrepo1773518976/go/packages/golist.go:376 +0xd7
    golang.org/x/tools/go/packages.goListDriver(0xc000015868, {0xc000b93a80, 0x3, 0x0?})
        C:/b/s/w/ir/x/w/targetrepo1773518976/go/packages/golist.go:199 +0xbff
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        C:/b/s/w/ir/x/w/targetrepo1773518976/go/packages/packages.go:388 +0xa6
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x98
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 883
        C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x125
</details>

<details><summary>2024-06-20 20:57 x_tools-go1.21-windows-amd64-race tools@dfdfa49f release-branch.go1.21@74ac37e9 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc/default [ABORT] (<a href="https://ci.chromium.org/b/8744578500387232897">log</a>)</summary>

    === RUN   TestFuzzFunc/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.0080926s
        command:C:\b\s\w\ir\x\w\goroot\bin\go.exe mod tidy -modfile=C:\b\s\w\ir\x\t\gopls-tempmod290475747\go.mod
        pid:2264

    goroutine 2677 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc000496d28?, 0xc0029b8aec?, 0x141f4fd80?}, 0xc0039034a0)
        C:/b/s/w/ir/x/w/targetrepo1773518976/internal/gocommand/invoke.go:462 +0x14d
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417f1660, 0xc001d5f0b0}, 0xc0039034a0)
        C:/b/s/w/ir/x/w/targetrepo1773518976/internal/gocommand/invoke.go:395 +0x6ee
    ...
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x1417f1698, 0xc0039d2d70}, {0x1413d79a0?, 0xc003598a20})
        C:/b/s/w/ir/x/w/targetrepo1773518976/gopls/internal/cache/mod_tidy.go:81 +0x68
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        C:/b/s/w/ir/x/w/targetrepo1773518976/internal/memoize/memoize.go:187 +0xdd
    runtime/trace.WithRegion({0x1417f1698, 0xc0039d2d70}, {0xc001c08990, 0x13}, 0xc000e6ff90)
        C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x151
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        C:/b/s/w/ir/x/w/targetrepo1773518976/internal/memoize/memoize.go:180 +0x1db
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 2676
        C:/b/s/w/ir/x/w/targetrepo1773518976/internal/memoize/memoize.go:179 +0x34f
</details>

<details><summary>2024-06-20 20:57 x_tools-go1.21-windows-amd64-race tools@dfdfa49f release-branch.go1.21@74ac37e9 x/tools/gopls/internal/test/integration/diagnostics.TestTimeFormatAnalyzer/default [ABORT] (<a href="https://ci.chromium.org/b/8744578500387232897">log</a>)</summary>

    === RUN   TestTimeFormatAnalyzer/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.0058236s
        command:C:\b\s\w\ir\x\w\goroot\bin\go.exe mod tidy -modfile=C:\b\s\w\ir\x\t\gopls-tempmod1114964337\go.mod
        pid:2908

    goroutine 2101 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc000fa2d28?, 0xc0028a2aec?, 0x141f36160?}, 0xc0013e18c0)
        C:/b/s/w/ir/x/w/targetrepo1773518976/internal/gocommand/invoke.go:462 +0x14d
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1417d9020, 0xc001ef5830}, 0xc0013e18c0)
        C:/b/s/w/ir/x/w/targetrepo1773518976/internal/gocommand/invoke.go:395 +0x6ee
    ...
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x1417d9058, 0xc001a14870}, {0x1413c3bc0?, 0xc002d52900})
        C:/b/s/w/ir/x/w/targetrepo1773518976/gopls/internal/cache/mod_tidy.go:81 +0x68
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        C:/b/s/w/ir/x/w/targetrepo1773518976/internal/memoize/memoize.go:187 +0xdd
    runtime/trace.WithRegion({0x1417d9058, 0xc001a14870}, {0xc00118a0a8, 0x13}, 0xc00100ff90)
        C:/b/s/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0x151
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        C:/b/s/w/ir/x/w/targetrepo1773518976/internal/memoize/memoize.go:180 +0x1db
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 2100
        C:/b/s/w/ir/x/w/targetrepo1773518976/internal/memoize/memoize.go:179 +0x34f
</details>

<details><summary>2024-06-25 14:23 x_tools-gotip-windows-amd64-race tools@5fefc656 go@b1fd0475 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default [ABORT] (<a href="https://ci.chromium.org/b/8744150324684735665">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.0035751s
            command:C:\b\s\w\ir\x\w\goroot\bin\go.exe list -overlay=C:\b\s\w\ir\x\t\gocommand-2805806591\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-4266541410\TestUpgradeCodelens_Workspace\Upgrade_transitive_dependencies\default\work\a\... C:\b\s\w\ir\x\t\gopls-test-4266541410\TestUpgradeCodelens_Workspace\Upgrade_transitive_dependencies\default\work\b\... builtin
            pid:7820

    goroutine 764 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc000a643c8?, 0xc000a64254?, 0x141fc7060?}, 0xc0009b8300)
        C:/b/s/w/ir/x/w/targetrepo2015584400/internal/gocommand/invoke.go:462 +0x14d
    golang.org/x/tools/internal/gocommand.runCmdContext({0x141816088, 0xc0001e4750}, 0xc0009b8300)
        C:/b/s/w/ir/x/w/targetrepo2015584400/internal/gocommand/invoke.go:395 +0x6eb
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000a648e0, {0x141816088, 0xc0001e4750}, {0x14180bba0, 0xc0001e5560}, {0x14180bba0, 0xc0001e5650})
        C:/b/s/w/ir/x/w/targetrepo2015584400/internal/gocommand/invoke.go:289 +0x1806
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000a648e0, {0x141816088, 0xc0001e4750}, {0x14180bba0, 0xc0001e5560}, {0x14180bba0, 0xc0001e5650})
        C:/b/s/w/ir/x/w/targetrepo2015584400/internal/gocommand/invoke.go:188 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc000908ac0, {0x141816088, 0xc0001e4750}, {{0x141461cac, 0x4}, {0xc0006b6000, 0xc, 0xe}, {0x0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2015584400/internal/gocommand/invoke.go:125 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc000908ac0, {0x141816130, 0xc00029a460}, {{0x141461cac, 0x4}, {0xc0006b6000, 0xc, 0xe}, {0x0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo2015584400/internal/gocommand/invoke.go:99 +0x4b1
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0000ab7c0, {0x141461cac, 0x4}, {0xc0006b6000, 0xc, 0xe})
        C:/b/s/w/ir/x/w/targetrepo2015584400/go/packages/golist.go:858 +0x3eb
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0000ab7c0, {0xc00080bbc0, 0x3, 0x3})
        C:/b/s/w/ir/x/w/targetrepo2015584400/go/packages/golist.go:376 +0xd7
    golang.org/x/tools/go/packages.goListDriver(0xc000139958, {0xc00014cf80, 0x3, 0x0?})
        C:/b/s/w/ir/x/w/targetrepo2015584400/go/packages/golist.go:199 +0xc5f
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        C:/b/s/w/ir/x/w/targetrepo2015584400/go/packages/packages.go:388 +0xa6
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x92
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 773
        C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x125
</details>

<details><summary>2024-07-16 16:13 x_tools-go1.23-windows-amd64-race tools@25ed04f2 release-branch.go1.23@30b6fd60 x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_direct_dependencies/default [ABORT] (<a href="https://ci.chromium.org/b/8742240879512980049">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace/Upgrade_direct_dependencies/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.0034247s
            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-3741137423\TestUpgradeCodelens_Workspace\Upgrade_direct_dependencies\default\work\a\... C:\b\s\w\ir\x\t\gopls-test-3741137423\TestUpgradeCodelens_Workspace\Upgrade_direct_dependencies\default\work\b\... builtin
            pid:9928

    goroutine 834 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0007503c8?, 0xc000750254?, 0x141fd1040?}, 0xc000786180)
        C:/b/s/w/ir/x/w/targetrepo3192522432/internal/gocommand/invoke.go:462 +0x14d
    golang.org/x/tools/internal/gocommand.runCmdContext({0x14181e968, 0xc000792180}, 0xc000786180)
        C:/b/s/w/ir/x/w/targetrepo3192522432/internal/gocommand/invoke.go:395 +0x6eb
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0007508e0, {0x14181e968, 0xc000792180}, {0x141814480, 0xc0007922d0}, {0x141814480, 0xc000792300})
        C:/b/s/w/ir/x/w/targetrepo3192522432/internal/gocommand/invoke.go:289 +0x1806
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0007508e0, {0x14181e968, 0xc000792180}, {0x141814480, 0xc0007922d0}, {0x141814480, 0xc000792300})
        C:/b/s/w/ir/x/w/targetrepo3192522432/internal/gocommand/invoke.go:188 +0x9c
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc000356fc0, {0x14181e968, 0xc000792180}, {{0x14146918f, 0x4}, {0xc0007aa000, 0xc, 0xe}, {0x0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo3192522432/internal/gocommand/invoke.go:125 +0x27e
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc000356fc0, {0x14181ea10, 0xc0002c8230}, {{0x14146918f, 0x4}, {0xc0007aa000, 0xc, 0xe}, {0x0, 0x0, ...}, ...})
        C:/b/s/w/ir/x/w/targetrepo3192522432/internal/gocommand/invoke.go:99 +0x4b1
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc000125ae0, {0x14146918f, 0x4}, {0xc0007aa000, 0xc, 0xe})
        C:/b/s/w/ir/x/w/targetrepo3192522432/go/packages/golist.go:858 +0x3eb
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc000125ae0, {0xc000577650, 0x3, 0x3})
        C:/b/s/w/ir/x/w/targetrepo3192522432/go/packages/golist.go:376 +0xd7
    golang.org/x/tools/go/packages.goListDriver(0xc0001650e8, {0xc0009b26c0, 0x3, 0xc000769ed8?})
        C:/b/s/w/ir/x/w/targetrepo3192522432/go/packages/golist.go:199 +0xc5f
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        C:/b/s/w/ir/x/w/targetrepo3192522432/go/packages/packages.go:388 +0xa6
    golang.org/x/sync/errgroup.(*Group).Go.func1()
        C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:78 +0x92
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 824
        C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.7.0/errgroup/errgroup.go:75 +0x125
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-07-29 22:04 x_tools-go1.21-darwin-amd64-longtest tools@55d718e5 release-branch.go1.21@dabed2e0 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8741041021209720529">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/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 1m4.22259066s
        command:/Volumes/Work/s/w/ir/x/w/goroot/bin/go env -json GOCACHE GOPATH GOMODCACHE GO111MODULE GOOS GOARCH GOPRIVATE GOFLAGS GOTOOLCHAIN
        pid:71656

    goroutine 17031 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc001c48640?, 0xc001c4847c?, 0x266c640?}, 0xc004002f20)
        /Volumes/Work/s/w/ir/x/w/targetrepo1141226498/internal/gocommand/invoke.go:462 +0x465
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f94ea0, 0xc0078f50e0}, 0xc004002f20)
        /Volumes/Work/s/w/ir/x/w/targetrepo1141226498/internal/gocommand/invoke.go:395 +0x4ce
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001c489b0, {0x1f94ea0, 0xc0078f50e0}, {0x1f8bcc0?, 0xc0078f5200}, {0x1f8bcc0?, 0xc0078f5230})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f94ea0, 0xc007899530}, 0xc007899b00, {0x4976d6f8, 0xc007899470})
        /Volumes/Work/s/w/ir/x/w/targetrepo1141226498/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f94ea0, 0xc007899530}, 0xc007899b00, {0x4976d6f8?, 0xc007899470?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1141226498/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f94ea0, 0xc007899530}, 0xc0078969c0, {0x4976d6f8?, 0xc007899470?})
        /Volumes/Work/s/w/ir/x/w/targetrepo1141226498/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo1141226498/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 17063
        /Volumes/Work/s/w/ir/x/w/targetrepo1141226498/internal/jsonrpc2/handler.go:100 +0x1ed
</details>

<details><summary>2024-07-31 20:28 x_tools-go1.21-darwin-amd64-longtest tools@ead76ab5 release-branch.go1.21@dabed2e0 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8740865905609643873">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/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 1m3.083034393s
        command:/Volumes/Work/s/w/ir/x/w/goroot/bin/go env -json GOCACHE GOPRIVATE GOFLAGS GOARCH GOPATH GOMODCACHE GO111MODULE GOTOOLCHAIN GOOS
        pid:56928

    goroutine 17062 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc007460640?, 0xc00746047c?, 0x266d640?}, 0xc0078a0f20)
        /Volumes/Work/s/w/ir/x/w/targetrepo2083488153/internal/gocommand/invoke.go:462 +0x465
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f950a0, 0xc007939860}, 0xc0078a0f20)
        /Volumes/Work/s/w/ir/x/w/targetrepo2083488153/internal/gocommand/invoke.go:395 +0x4ce
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0074609b0, {0x1f950a0, 0xc007939860}, {0x1f8bec0?, 0xc007939980}, {0x1f8bec0?, 0xc0079399b0})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f950a0, 0xc0078e7f20}, 0xc00790c510, {0x49426278, 0xc0078e7e60})
        /Volumes/Work/s/w/ir/x/w/targetrepo2083488153/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f950a0, 0xc0078e7f20}, 0xc00790c510, {0x49426278?, 0xc0078e7e60?})
        /Volumes/Work/s/w/ir/x/w/targetrepo2083488153/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f950a0, 0xc0078e7f20}, 0xc0078cf878, {0x49426278?, 0xc0078e7e60?})
        /Volumes/Work/s/w/ir/x/w/targetrepo2083488153/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo2083488153/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 17060
        /Volumes/Work/s/w/ir/x/w/targetrepo2083488153/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-08-05 17:36 x_tools-go1.21-darwin-amd64-longtest tools@a5df6ad5 release-branch.go1.21@dabed2e0 x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8740423699562614961">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/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 1m3.0805614s
        command:/Volumes/Work/s/w/ir/x/w/goroot/bin/go env -json GOARCH GOCACHE GOPRIVATE GOFLAGS GOOS GOPATH GOMODCACHE GO111MODULE GOTOOLCHAIN
        pid:61538

    goroutine 16844 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc006ae2640?, 0xc006ae247c?, 0x2668660?}, 0xc0014b8b00)
        /Volumes/Work/s/w/ir/x/w/targetrepo3089530486/internal/gocommand/invoke.go:462 +0x465
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f90700, 0xc005bf1110}, 0xc0014b8b00)
        /Volumes/Work/s/w/ir/x/w/targetrepo3089530486/internal/gocommand/invoke.go:395 +0x4ce
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006ae29b0, {0x1f90700, 0xc005bf1110}, {0x1f87520?, 0xc005bf1230}, {0x1f87520?, 0xc005bf1260})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f90700, 0xc005a91080}, 0xc005a91650, {0x495c67f8, 0xc005a90fc0})
        /Volumes/Work/s/w/ir/x/w/targetrepo3089530486/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f90700, 0xc005a91080}, 0xc005a91650, {0x495c67f8?, 0xc005a90fc0?})
        /Volumes/Work/s/w/ir/x/w/targetrepo3089530486/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f90700, 0xc005a91080}, 0xc0045374d0, {0x495c67f8?, 0xc005a90fc0?})
        /Volumes/Work/s/w/ir/x/w/targetrepo3089530486/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo3089530486/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16701
        /Volumes/Work/s/w/ir/x/w/targetrepo3089530486/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-08-08 21:40 x_tools-go1.21-darwin-amd64-longtest tools@28ba9914 release-branch.go1.21@8bba868d x/tools/gopls/internal/test/integration/workspace.TestTypeCheckingFutureVersions/default [ABORT] (<a href="https://ci.chromium.org/b/8740136559955256625">log</a>)</summary>

    === RUN   TestTypeCheckingFutureVersions/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 1m3.015485137s
        command:/Volumes/Work/s/w/ir/x/w/goroot/bin/go env -json GOOS GOARCH GOCACHE GOFLAGS GOTOOLCHAIN GOPATH GOPRIVATE GOMODCACHE GO111MODULE
        pid:69014

    goroutine 16835 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc006cd2640?, 0xc006cd247c?, 0x266a660?}, 0xc0076b6420)
        /Volumes/Work/s/w/ir/x/w/targetrepo2264138213/internal/gocommand/invoke.go:462 +0x465
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1f91d80, 0xc0076eb8f0}, 0xc0076b6420)
        /Volumes/Work/s/w/ir/x/w/targetrepo2264138213/internal/gocommand/invoke.go:395 +0x4ce
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc006cd29b0, {0x1f91d80, 0xc0076eb8f0}, {0x1f88ba0?, 0xc0076eba10}, {0x1f88ba0?, 0xc0076eba40})
    ...
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1f91d80, 0xc00777c8d0}, 0xc00777cea0, {0x4975ef78, 0xc00777c810})
        /Volumes/Work/s/w/ir/x/w/targetrepo2264138213/gopls/internal/protocol/protocol.go:160 +0x85
    golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1f91d80, 0xc00777c8d0}, 0xc00777cea0, {0x4975ef78?, 0xc00777c810?})
        /Volumes/Work/s/w/ir/x/w/targetrepo2264138213/gopls/internal/lsprpc/lsprpc.go:509 +0x923
    golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1f91d80, 0xc00777c8d0}, 0xc007747260, {0x4975ef78?, 0xc00777c810?})
        /Volumes/Work/s/w/ir/x/w/targetrepo2264138213/internal/jsonrpc2/handler.go:35 +0xe5
    golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
        /Volumes/Work/s/w/ir/x/w/targetrepo2264138213/internal/jsonrpc2/handler.go:103 +0x96
    created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 16641
        /Volumes/Work/s/w/ir/x/w/targetrepo2264138213/internal/jsonrpc2/handler.go:100 +0x1ed
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-08-09 13:36 x_tools-gotip-openbsd-amd64 tools@4dc9194b go@d3635349 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8739988154118282417">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.331389483s
            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-2412865536/TestRegenerateCgo/default/work/... builtin
            pid:92629

    goroutine 4673 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0013588f0?, 0xc00135878c?, 0x1afa8c0?}, 0xc0001b8a80)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2377538478/internal/gocommand/invoke.go:462 +0xb9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x13cf888, 0xc0019991a0}, 0xc0001b8a80)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2377538478/internal/gocommand/invoke.go:395 +0x4cb
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001358ca0, {0x13cf888, 0xc0019991a0}, {0x13c5920, 0xc001999470}, {0x13c5920, 0xc0019994a0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2377538478/internal/gocommand/invoke.go:289 +0xecb
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001358c68?, {0x13cf888, 0xc0019991a0}, {0x13c5920?, 0xc001999470?}, {0x13c5920, 0xc0019994a0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2377538478/internal/gocommand/invoke.go:188 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc001eeaee0, {0x13cf888, 0xc0019991a0}, {{0x10c3a77, 0x4}, {0xc000225260, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2377538478/internal/gocommand/invoke.go:125 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc001eeaee0, {0x13cf930, 0xc0078d62a0}, {{0x10c3a77, 0x4}, {0xc000225260, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2377538478/internal/gocommand/invoke.go:99 +0x370
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0088a40f8?, {0x10c3a77?, 0x2?}, {0xc000225260, 0xb, 0x13ce250?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2377538478/go/packages/golist.go:858 +0x1fb
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00101f040, {0xc001eeaf00, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2377538478/go/packages/golist.go:376 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0088a40f8, {0xc001eeae20, 0x2, 0xffffffffffffffff?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2377538478/go/packages/golist.go:199 +0x79f
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2377538478/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 4538
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-08-10 20:21 x_tools-go1.23-openbsd-amd64 tools@a76f882c release-branch.go1.23@7adb0122 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8739960380153524033">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.309533668s
            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-1790073790/TestRegenerateCgo/default/work/... builtin
            pid:47733

    goroutine 4691 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc007510918?, 0xc0075107b4?, 0x1af38e0?}, 0xc00032cf00)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3362421567/internal/gocommand/invoke.go:462 +0xb9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x13ce108, 0xc007db8780}, 0xc00032cf00)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3362421567/internal/gocommand/invoke.go:395 +0x4cb
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc007510ca0, {0x13ce108, 0xc007db8780}, {0x13c42a0, 0xc007db88a0}, {0x13c42a0, 0xc007db88d0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3362421567/internal/gocommand/invoke.go:289 +0x1076
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc007510c68?, {0x13ce108, 0xc007db8780}, {0x13c42a0?, 0xc007db88a0?}, {0x13c42a0, 0xc007db88d0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3362421567/internal/gocommand/invoke.go:188 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc007da8640, {0x13ce108, 0xc007db8780}, {{0x10c2d8e, 0x4}, {0xc002da0380, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3362421567/internal/gocommand/invoke.go:125 +0x15f
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc007da8640, {0x13ce1b0, 0xc002e8c850}, {{0x10c2d8e, 0x4}, {0xc002da0380, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3362421567/internal/gocommand/invoke.go:99 +0x370
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0077a2d28?, {0x10c2d8e?, 0x2?}, {0xc002da0380, 0xb, 0x13ccb90?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3362421567/go/packages/golist.go:858 +0x1fb
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0076eb7c0, {0xc007da8660, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3362421567/go/packages/golist.go:376 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0077a2d28, {0xc007da8580, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3362421567/go/packages/golist.go:199 +0x79f
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3362421567/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 4577
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-08-12 18:00 x_tools-go1.22-openbsd-amd64 tools@7f262d66 release-branch.go1.22@cb4eee69 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8739788063308758609">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.612032704s
        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-1626566184/TestRegenerateCgo/default/work/... builtin
        pid:59294

    goroutine 4407 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc001090898?, 0xc001090734?, 0x1a8d860?}, 0xc00096c480)
        /home/swarming/.swarming/w/ir/x/w/targetrepo995202127/internal/gocommand/invoke.go:462 +0xb9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1393d28, 0xc003394720}, 0xc00096c480)
        /home/swarming/.swarming/w/ir/x/w/targetrepo995202127/internal/gocommand/invoke.go:395 +0x4d4
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc001090c20, {0x1393d28, 0xc003394720}, {0x138ac40, 0xc003394840}, {0x138ac40, 0xc003394870})
        /home/swarming/.swarming/w/ir/x/w/targetrepo995202127/internal/gocommand/invoke.go:289 +0x109a
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc001090be8?, {0x1393d28, 0xc003394720}, {0x138ac40?, 0xc003394840?}, {0x138ac40, 0xc003394870})
        /home/swarming/.swarming/w/ir/x/w/targetrepo995202127/internal/gocommand/invoke.go:188 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc002f34e60, {0x1393d28, 0xc003394720}, {{0x10879a5, 0x4}, {0xc0010aa000, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo995202127/internal/gocommand/invoke.go:125 +0x165
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc002f34e60, {0x1393dd0, 0xc007b76d20}, {{0x10879a5, 0x4}, {0xc0010aa000, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo995202127/internal/gocommand/invoke.go:99 +0x370
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc002aa0008?, {0x10879a5?, 0x2?}, {0xc0010aa000, 0xb, 0xefa8e0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo995202127/go/packages/golist.go:858 +0x1fb
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0007d9c20, {0xc002f34e80, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo995202127/go/packages/golist.go:376 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc002aa0008, {0xc002f34da0, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo995202127/go/packages/golist.go:199 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo995202127/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 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4404
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-08-13 17:53 x_tools-go1.22-windows-amd64-race tools@7cc3be7d release-branch.go1.22@0a525a3e x/tools/gopls/internal/test/integration/inlayhints.TestEnablingInlayHints/default/default [ABORT] (<a href="https://ci.chromium.org/b/8739607511353073441">log</a>)</summary>

    === RUN   TestEnablingInlayHints/default/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.0078384s
        command:C:\b\s\w\ir\x\w\goroot\bin\go.exe mod tidy -modfile=C:\b\s\w\ir\x\t\gopls-tempmod4251262195\go.mod
        pid:916

    goroutine 223 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc00057add0?, 0xc00057ac5c?, 0x141fad0a0?}, 0xc000318000)
        C:/b/s/w/ir/x/w/targetrepo14497280/internal/gocommand/invoke.go:462 +0x14d
    golang.org/x/tools/internal/gocommand.runCmdContext({0x141824348, 0xc000680330}, 0xc000318000)
        C:/b/s/w/ir/x/w/targetrepo14497280/internal/gocommand/invoke.go:395 +0x6eb
    ...
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x141824380, 0xc000099680}, {0x14141f560, 0xc0002ecfc0})
        C:/b/s/w/ir/x/w/targetrepo14497280/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/targetrepo14497280/internal/memoize/memoize.go:187 +0xda
    runtime/trace.WithRegion({0x141824380, 0xc000099680}, {0xc0003a84f8, 0x13}, 0xc00008df80)
        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/targetrepo14497280/internal/memoize/memoize.go:180 +0x1d8
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 222
        C:/b/s/w/ir/x/w/targetrepo14497280/internal/memoize/memoize.go:179 +0x352
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-08-15 15:01 x_tools-go1.22-openbsd-amd64 tools@136c1654 release-branch.go1.22@0a525a3e x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8739527502781747713">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.139625231s
        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-3486372886/TestRegenerateCgo/default/work/... builtin
        pid:44830

    goroutine 4521 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc000f38898?, 0xc000f38734?, 0x1a8d860?}, 0xc00023cc00)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2050091416/internal/gocommand/invoke.go:462 +0xb9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1393c88, 0xc0029526c0}, 0xc00023cc00)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2050091416/internal/gocommand/invoke.go:395 +0x4d4
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc000f38c20, {0x1393c88, 0xc0029526c0}, {0x138aba0, 0xc0029527e0}, {0x138aba0, 0xc002952810})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2050091416/internal/gocommand/invoke.go:289 +0x109a
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000f38be8?, {0x1393c88, 0xc0029526c0}, {0x138aba0?, 0xc0029527e0?}, {0x138aba0, 0xc002952810})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2050091416/internal/gocommand/invoke.go:188 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc0024504e0, {0x1393c88, 0xc0029526c0}, {{0x10879a5, 0x4}, {0xc001170000, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2050091416/internal/gocommand/invoke.go:125 +0x165
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc0024504e0, {0x1393d30, 0xc00187b7a0}, {{0x10879a5, 0x4}, {0xc001170000, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2050091416/internal/gocommand/invoke.go:99 +0x370
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0001a11d8?, {0x10879a5?, 0x2?}, {0xc001170000, 0xb, 0xefa8e0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2050091416/go/packages/golist.go:858 +0x1fb
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc00131fcc0, {0xc002450500, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2050091416/go/packages/golist.go:376 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0001a11d8, {0xc002450420, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2050091416/go/packages/golist.go:199 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2050091416/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 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4518
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-08-28 15:34 x_tools-go1.22-openbsd-amd64 tools@594cdabe release-branch.go1.22@e87be983 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8738347663497932225">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.367883037s
        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-4231470017/TestRegenerateCgo/default/work/... builtin
        pid:96674

    goroutine 4540 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc004006898?, 0xc004006734?, 0x1a918e0?}, 0xc007b84000)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4247038290/internal/gocommand/invoke.go:462 +0xb9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1396708, 0xc003de9e60}, 0xc007b84000)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4247038290/internal/gocommand/invoke.go:395 +0x4d4
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc004006c20, {0x1396708, 0xc003de9e60}, {0x138d620, 0xc007b82000}, {0x138d620, 0xc007b82030})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4247038290/internal/gocommand/invoke.go:289 +0x109a
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc004006be8?, {0x1396708, 0xc003de9e60}, {0x138d620?, 0xc007b82000?}, {0x138d620, 0xc007b82030})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4247038290/internal/gocommand/invoke.go:188 +0x4f
    golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xc007a678c0, {0x1396708, 0xc003de9e60}, {{0x1089de5, 0x4}, {0xc0034f6540, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4247038290/internal/gocommand/invoke.go:125 +0x165
    golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xc007a678c0, {0x13967b0, 0xc0075ad260}, {{0x1089de5, 0x4}, {0xc0034f6540, 0xb, 0xe}, {0x0, 0x0, ...}, ...})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4247038290/internal/gocommand/invoke.go:99 +0x370
    golang.org/x/tools/go/packages.(*golistState).invokeGo(0xc0043900f8?, {0x1089de5?, 0x2?}, {0xc0034f6540, 0xb, 0xefc960?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4247038290/go/packages/golist.go:858 +0x1fb
    golang.org/x/tools/go/packages.(*golistState).createDriverResponse(0xc0075ff040, {0xc007a678e0, 0x2, 0x2})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4247038290/go/packages/golist.go:376 +0xa7
    golang.org/x/tools/go/packages.goListDriver(0xc0043900f8, {0xc007a67800, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4247038290/go/packages/golist.go:199 +0x7a5
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo4247038290/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 +0x56
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 4537
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.8.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>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] (<a href="https://ci.chromium.org/b/8738238989040944545">log</a>)</summary>

    === 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
</details>

<details><summary>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] (<a href="https://ci.chromium.org/b/8738238989040944545">log</a>)</summary>

    === 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
</details>

<details><summary>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] (<a href="https://ci.chromium.org/b/8738238989040944545">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-09-04 16:43 x_tools-gotip-openbsd-amd64 tools@94b564cd go@1b4cf43e x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8737709139280081473">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-09-05 17:57 x_tools-gotip-openbsd-amd64 tools@ad366a81 go@634363e3 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8737609148939969185">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-09-05 21:14 x_tools-gotip-openbsd-amd64 tools@1b5663fb go@123594d3 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8737546015158871745">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>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] (<a href="https://ci.chromium.org/b/8737511567927510257">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-09-16 20:58 x_tools-gotip-openbsd-amd64 tools@5aac53c5 go@f6c89abf x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8736604017067542497">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>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] (<a href="https://ci.chromium.org/b/8736534291102166817">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>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] (<a href="https://ci.chromium.org/b/8736529566018233745">log</a>)</summary>

    === 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
</details>

<details><summary>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] (<a href="https://ci.chromium.org/b/8736529566018233745">log</a>)</summary>

    === 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
</details>

<details><summary>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] (<a href="https://ci.chromium.org/b/8736529566018233745">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>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] (<a href="https://ci.chromium.org/b/8736516693349517985">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>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] (<a href="https://ci.chromium.org/b/8736353134839236865">log</a>)</summary>

    === 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
</details>

<details><summary>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] (<a href="https://ci.chromium.org/b/8736353134839236865">log</a>)</summary>

    === 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
</details>

<details><summary>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] (<a href="https://ci.chromium.org/b/8736353134839236865">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>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] (<a href="https://ci.chromium.org/b/8736252491610661265">log</a>)</summary>

    === 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
</details>

<details><summary>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] (<a href="https://ci.chromium.org/b/8736252491610661265">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>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] (<a href="https://ci.chromium.org/b/8736062497545953329">log</a>)</summary>

    === 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
</details>

<details><summary>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] (<a href="https://ci.chromium.org/b/8735981533653486721">log</a>)</summary>

    === 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
</details>

<details><summary>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] (<a href="https://ci.chromium.org/b/8735981533653486721">log</a>)</summary>

    === 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
</details>

<details><summary>2024-09-23 19:39 x_tools-gotip-openbsd-amd64 tools@31fdc78e go@b17a55d0 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8735871476377562289">log</a>)</summary>

    === 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
</details>

<details><summary>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] (<a href="https://ci.chromium.org/b/8735723476774156689">log</a>)</summary>

    === 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
</details>

<details><summary>2024-09-27 14:44 x_tools-gotip-openbsd-amd64 tools@ab643763 go@6a730e1e x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8735632875432569729">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>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] (<a href="https://ci.chromium.org/b/8735350149274485489">log</a>)</summary>

    === 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
</details>

<details><summary>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] (<a href="https://ci.chromium.org/b/8735350149274485489">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>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] (<a href="https://ci.chromium.org/b/8735257053161674689">log</a>)</summary>

    === 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
</details>

<details><summary>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] (<a href="https://ci.chromium.org/b/8735257053161674689">log</a>)</summary>

    === 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
</details>

<details><summary>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] (<a href="https://ci.chromium.org/b/8735257053161674689">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>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] (<a href="https://ci.chromium.org/b/8735257069220712913">log</a>)</summary>

    === 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
</details>

<details><summary>2024-10-01 18:55 x_tools-gotip-openbsd-amd64 tools@d2e46216 go@8e478de4 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8735254716425230289">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-10-02 18:38 x_tools-gotip-openbsd-amd64 tools@dd745ec1 go@ce60f703 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8735151270553915537">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>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] (<a href="https://ci.chromium.org/b/8734995476206955745">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>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] (<a href="https://ci.chromium.org/b/8734995473971850113">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>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] (<a href="https://ci.chromium.org/b/8734985658006774241">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-10-10 17:08 x_tools-gotip-openbsd-amd64 tools@915132c3 go@7634f075 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8734446074777353249">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-10-22 20:17 x_tools-gotip-openbsd-amd64 tools@6381f0b8 go@d40ae5ef x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8733347031138023809">log</a>)</summary>

    === 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
</details>

<details><summary>2024-10-22 20:55 x_tools-gotip-openbsd-amd64 tools@66185694 go@d40ae5ef x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8733344605039961377">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>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] (<a href="https://ci.chromium.org/b/8732007048403994737">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-11-25 21:27 x_tools-gotip-openbsd-amd64 tools@07a58bce go@592da0ba x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8730259506158083761">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>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] (<a href="https://ci.chromium.org/b/8729629906314187457">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>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] (<a href="https://ci.chromium.org/b/8729277091165076113">log</a>)</summary>

    === 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
</details>

<details><summary>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] (<a href="https://ci.chromium.org/b/8729277091165076113">log</a>)</summary>

    === 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
</details>

<details><summary>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] (<a href="https://ci.chromium.org/b/8729277091165076113">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>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] (<a href="https://ci.chromium.org/b/8728988293930164785">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>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] (<a href="https://ci.chromium.org/b/8728915451291834881">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-12-11 14:12 x_tools-gotip-openbsd-amd64 tools@82b6f75c go@a7c4cadc x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8728824427237629489">log</a>)</summary>

    === 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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-12-20 21:24 x_tools-go1.22-windows-amd64-race tools@ea69910e release-branch.go1.22@8f3f22ee x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_direct_dependencies/default [ABORT] (<a href="https://ci.chromium.org/b/8727997551053498209">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace/Upgrade_direct_dependencies/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.0027052s
            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:7916

    goroutine 785 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc006648a68?, 0xc0066488f4?, 0x1420d4580?}, 0xc0066aed80)
        C:/b/s/w/ir/x/w/targetrepo1853138075/internal/gocommand/invoke.go:458 +0x14d
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1418cd6a8, 0x14211e200}, 0xc0066aed80)
        C:/b/s/w/ir/x/w/targetrepo1853138075/internal/gocommand/invoke.go:391 +0x6eb
    ...
    golang.org/x/tools/internal/imports.newModuleResolver(0xc0078f3cb0, 0xc00788f1b8)
        C:/b/s/w/ir/x/w/targetrepo1853138075/internal/imports/mod.go:158 +0x138f
    golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver(0xc0078f3cb0)
        C:/b/s/w/ir/x/w/targetrepo1853138075/internal/imports/fix.go:1036 +0x47f
    golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv(0xc0078eeaf0)
        C:/b/s/w/ir/x/w/targetrepo1853138075/gopls/internal/cache/imports.go:233 +0xfa
    golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1()
        C:/b/s/w/ir/x/w/targetrepo1853138075/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
</details>

<details><summary>2024-12-20 21:24 x_tools-go1.22-windows-amd64-race tools@ea69910e release-branch.go1.22@8f3f22ee x/tools/gopls/internal/test/integration/completion.TestFuzzFunc/default [ABORT] (<a href="https://ci.chromium.org/b/8727997551053498209">log</a>)</summary>

    === RUN   TestFuzzFunc/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.0027043s
            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:2096

    ...
    golang.org/x/tools/internal/imports.newModuleResolver(0xc006d814d0, 0xc0065bbbd8)
        C:/b/s/w/ir/x/w/targetrepo1853138075/internal/imports/mod.go:123 +0x74c
    golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver(0xc006d814d0)
        C:/b/s/w/ir/x/w/targetrepo1853138075/internal/imports/fix.go:1036 +0x47f
    golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv(0xc0000b3ae0)
        C:/b/s/w/ir/x/w/targetrepo1853138075/gopls/internal/cache/imports.go:233 +0xfa
    golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1()
        C:/b/s/w/ir/x/w/targetrepo1853138075/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
</details>

<details><summary>2024-12-20 21:24 x_tools-go1.22-windows-amd64-race tools@ea69910e release-branch.go1.22@8f3f22ee x/tools/gopls/internal/test/integration/inlayhints.TestEnablingInlayHints/enable_parameter_names/default [ABORT] (<a href="https://ci.chromium.org/b/8727997551053498209">log</a>)</summary>

    === RUN   TestEnablingInlayHints/enable_parameter_names/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.0028262s
            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:9072

    ...
    golang.org/x/tools/internal/imports.newModuleResolver(0xc006bf5680, 0xc006864bd0)
        C:/b/s/w/ir/x/w/targetrepo1853138075/internal/imports/mod.go:123 +0x74c
    golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver(0xc006bf5680)
        C:/b/s/w/ir/x/w/targetrepo1853138075/internal/imports/fix.go:1036 +0x47f
    golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv(0xc006b85180)
        C:/b/s/w/ir/x/w/targetrepo1853138075/gopls/internal/cache/imports.go:233 +0xfa
    golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1()
        C:/b/s/w/ir/x/w/targetrepo1853138075/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
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-12-21 17:57 x_tools-gotip-openbsd-amd64 tools@ebeac1b8 go@110ab1aa x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8727919990268981249">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.10085748s
            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-3353925958/TestRegenerateCgo/default/work/... builtin
            pid:47532

    goroutine 5591 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc00aa0a830?, 0xc00aa0a6cc?, 0x1c88920?}, 0xc00b9d3200)
        /home/swarming/.swarming/w/ir/x/w/targetrepo73402398/internal/gocommand/invoke.go:458 +0xb9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x14bd340, 0xc00d62a570}, 0xc00b9d3200)
        /home/swarming/.swarming/w/ir/x/w/targetrepo73402398/internal/gocommand/invoke.go:391 +0x4ab
    ...
    golang.org/x/tools/go/packages.goListDriver(0xc006e690a8, 0xc00ac2a280, {0x0, 0x0}, {0xc00ac2a1c0, 0x2, 0xffffffffffffffff?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo73402398/go/packages/golist.go:210 +0x7ff
    golang.org/x/tools/go/packages.defaultDriver.func1(0x8?, {0xc00ac2a1c0?, 0x0?, 0xc00ac2a180?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo73402398/go/packages/packages.go:343 +0x36
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo73402398/go/packages/packages.go:390 +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 5588
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x93
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-12-23 17:52 x_tools-gotip-openbsd-amd64 tools@b75baa00 go@b9955f0a x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8727738163243655665">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.239377596s
            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-1232823115/TestRegenerateCgo/default/work/... builtin
            pid:50272

    goroutine 5700 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc00ab98830?, 0xc00ab986cc?, 0x1c89920?}, 0xc0078c4600)
        /home/swarming/.swarming/w/ir/x/w/targetrepo277034074/internal/gocommand/invoke.go:458 +0xb9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x14be7e0, 0xc00e2c88a0}, 0xc0078c4600)
        /home/swarming/.swarming/w/ir/x/w/targetrepo277034074/internal/gocommand/invoke.go:391 +0x4ab
    ...
    golang.org/x/tools/go/packages.goListDriver(0xc009932548, 0xc00992da20, {0x0, 0x0}, {0xc00992d960, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo277034074/go/packages/golist.go:210 +0x7ff
    golang.org/x/tools/go/packages.defaultDriver.func1(0x0?, {0xc00992d960?, 0x0?, 0x48b7e0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo277034074/go/packages/packages.go:343 +0x36
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo277034074/go/packages/packages.go:390 +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 5714
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x93
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-12-23 19:36 x_tools-go1.24-openbsd-amd64 tools@851152fe release-branch.go1.24@16afa6a7 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8727732587041636897">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.11811373s
            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-1697677723/TestRegenerateCgo/default/work/... builtin
            pid:6032

    goroutine 5762 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0095f0830?, 0xc0095f06cc?, 0x1c88900?}, 0xc008e74480)
        /home/swarming/.swarming/w/ir/x/w/targetrepo519391724/internal/gocommand/invoke.go:458 +0xb9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x14bd638, 0xc00e572bd0}, 0xc008e74480)
        /home/swarming/.swarming/w/ir/x/w/targetrepo519391724/internal/gocommand/invoke.go:391 +0x4ab
    ...
    golang.org/x/tools/go/packages.goListDriver(0xc0065b3a48, 0xc00ab601e0, {0x0, 0x0}, {0xc00ab60120, 0x2, 0xffffffffffffffff?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo519391724/go/packages/golist.go:210 +0x7ff
    golang.org/x/tools/go/packages.defaultDriver.func1(0x8?, {0xc00ab60120?, 0x0?, 0xc00ab600e0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo519391724/go/packages/packages.go:343 +0x36
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo519391724/go/packages/packages.go:390 +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 5746
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x93
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2024-12-27 16:23 x_tools-gotip-openbsd-amd64 tools@412b5e97 go@d7c3e93c x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8727382326649938049">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.18342928s
            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-2680724534/TestRegenerateCgo/default/work/... builtin
            pid:46196

    goroutine 5632 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc00b4ae830?, 0xc00b4ae6cc?, 0x1c94ac0?}, 0xc0093fe600)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4094380473/internal/gocommand/invoke.go:458 +0xb9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x14c53e0, 0xc00e3bc7b0}, 0xc0093fe600)
        /home/swarming/.swarming/w/ir/x/w/targetrepo4094380473/internal/gocommand/invoke.go:391 +0x4ab
    ...
    golang.org/x/tools/go/packages.goListDriver(0xc00b48c548, 0xc00b49ce60, {0x0, 0x0}, {0xc00b49cd80, 0x2, 0xffffffffffffffff?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4094380473/go/packages/golist.go:210 +0x7ff
    golang.org/x/tools/go/packages.defaultDriver.func1(0x8?, {0xc00b49cd80?, 0x0?, 0xc00b49cd40?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo4094380473/go/packages/packages.go:343 +0x36
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo4094380473/go/packages/packages.go:390 +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 5820
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x93
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2025-01-02 15:44 x_tools-go1.24-openbsd-amd64 tools@bf516ba1 release-branch.go1.24@16afa6a7 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8726841225386351105">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.301186584s
            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-4246494676/TestRegenerateCgo/default/work/... builtin
            pid:17555

    goroutine 5809 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc008d1c830?, 0xc008d1c6cc?, 0x1c9ab60?}, 0xc008f60180)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3534879136/internal/gocommand/invoke.go:458 +0xb9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x14c8f98, 0xc00e2b00f0}, 0xc008f60180)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3534879136/internal/gocommand/invoke.go:391 +0x4ab
    ...
    golang.org/x/tools/go/packages.goListDriver(0xc00a8b8548, 0xc00b046f00, {0x0, 0x0}, {0xc00b046e40, 0x2, 0xffffffffffffffff?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3534879136/go/packages/golist.go:210 +0x7ff
    golang.org/x/tools/go/packages.defaultDriver.func1(0x8?, {0xc00b046e40?, 0x0?, 0xc00b046e00?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3534879136/go/packages/packages.go:343 +0x36
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3534879136/go/packages/packages.go:390 +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 5806
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x93
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2025-01-06 17:23 x_tools-go1.24-openbsd-amd64 tools@1743d1a7 release-branch.go1.24@16afa6a7 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8726472600585617745">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.082129642s
            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-3176950313/TestRegenerateCgo/default/work/... builtin
            pid:33504

    goroutine 5560 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc00910a830?, 0xc00910a6cc?, 0x1c99c60?}, 0xc008338c00)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3793421859/internal/gocommand/invoke.go:458 +0xb9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x14c7ca8, 0xc00dfdf2f0}, 0xc008338c00)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3793421859/internal/gocommand/invoke.go:391 +0x4ab
    ...
    golang.org/x/tools/go/packages.goListDriver(0xc0072bbb28, 0xc00b288a00, {0x0, 0x0}, {0xc00b288940, 0x2, 0xffffffffffffffff?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3793421859/go/packages/golist.go:210 +0x7ff
    golang.org/x/tools/go/packages.defaultDriver.func1(0x8?, {0xc00b288940?, 0x0?, 0xc00b288900?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3793421859/go/packages/packages.go:343 +0x36
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3793421859/go/packages/packages.go:390 +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 5570
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x93
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2025-01-06 23:35 x_tools-go1.22-windows-amd64-race tools@ee69ea24 release-branch.go1.22@8f3f22ee x/tools/gopls/internal/telemetry.TestTelemetry/default#01 [ABORT] (<a href="https://ci.chromium.org/b/8726449199059446049">log</a>)</summary>

    === RUN   TestTelemetry/default#01
    panic: detected hanging go command (golang/go#54461); waited 1m0.0030241s
            command:C:\b\s\w\ir\x\w\gopath\pkg\mod\golang.org\toolchain@v0.0.1-go1.23.4.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 -- ./ builtin
            pid:6424

    goroutine 184 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc00666c320?, 0xc00666c1ac?, 0x1420f5900?}, 0xc0067a6180)
        C:/b/s/w/ir/x/w/targetrepo2481765731/internal/gocommand/invoke.go:458 +0x14d
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1418e5468, 0xc006784510}, 0xc0067a6180)
        C:/b/s/w/ir/x/w/targetrepo2481765731/internal/gocommand/invoke.go:391 +0x6eb
    ...
    golang.org/x/tools/go/packages.goListDriver(0xc000268548, 0xc00660d220, {0x0, 0x0}, {0xc00660d160, 0x2, 0xc0065a3e88?})
        C:/b/s/w/ir/x/w/targetrepo2481765731/go/packages/golist.go:210 +0xcff
    golang.org/x/tools/go/packages.defaultDriver.func1(0xc000268548, {0xc00660d160, 0x2, 0x2})
        C:/b/s/w/ir/x/w/targetrepo2481765731/go/packages/packages.go:343 +0x85
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        C:/b/s/w/ir/x/w/targetrepo2481765731/go/packages/packages.go:390 +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 217
        C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x125
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2025-01-07 20:06 x_tools-gotip-openbsd-amd64 tools@fc2161a7 go@b2aa18b9 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8726371756005935617">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.046311785s
            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-1538265364/TestRegenerateCgo/default/work/... builtin
            pid:34171

    goroutine 5593 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0084ca830?, 0xc0084ca6cc?, 0x1ca3c80?}, 0xc00986cd80)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3087435509/internal/gocommand/invoke.go:458 +0xb9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x14caa90, 0xc00e49a1b0}, 0xc00986cd80)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3087435509/internal/gocommand/invoke.go:391 +0x4ab
    ...
    golang.org/x/tools/go/packages.goListDriver(0xc00b5920e8, 0xc00b565e20, {0x0, 0x0}, {0xc00b565d40, 0x2, 0xffffffffffffffff?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3087435509/go/packages/golist.go:210 +0x7ff
    golang.org/x/tools/go/packages.defaultDriver.func1(0x8?, {0xc00b565d40?, 0x0?, 0xc00b565d00?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3087435509/go/packages/packages.go:343 +0x36
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3087435509/go/packages/packages.go:390 +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 5590
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x93
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2025-01-09 17:24 x_tools-gotip-openbsd-amd64 tools@6efe0f4b go@c7c4420a x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8726188902067183057">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.036601772s
            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-2273633919/TestRegenerateCgo/default/work/... builtin
            pid:63081

    goroutine 5607 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0088de830?, 0xc0088de6cc?, 0x1ccae80?}, 0xc00ae0e480)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1636935490/internal/gocommand/invoke.go:458 +0xb9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x14e5df0, 0xc00e3be690}, 0xc00ae0e480)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1636935490/internal/gocommand/invoke.go:391 +0x4ab
    ...
    golang.org/x/tools/go/packages.goListDriver(0xc0092e4a88, 0xc00b332780, {0x0, 0x0}, {0xc00b3326c0, 0x2, 0xffffffffffffffff?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1636935490/go/packages/golist.go:210 +0x7ff
    golang.org/x/tools/go/packages.defaultDriver.func1(0x8?, {0xc00b3326c0?, 0x0?, 0xc00b332680?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1636935490/go/packages/packages.go:343 +0x36
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1636935490/go/packages/packages.go:390 +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 5735
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x93
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2025-01-13 20:35 x_tools-go1.23-openbsd-amd64 tools@8a5a6d75 release-branch.go1.23@1dde0b48 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8725826374207946481">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.121420804s
            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-1906642907/TestRegenerateCgo/default/work/... builtin
            pid:13915

    goroutine 5332 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0003e48b0?, 0xc0003e474c?, 0x1be9d20?}, 0xc008754780)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2326867135/internal/gocommand/invoke.go:458 +0xb9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1469678, 0xc00a9320c0}, 0xc008754780)
        /home/swarming/.swarming/w/ir/x/w/targetrepo2326867135/internal/gocommand/invoke.go:391 +0x4cb
    ...
    golang.org/x/tools/go/packages.goListDriver(0xc007d1a708, 0xc00991b5c0, {0x0, 0x0}, {0xc00991b500, 0x2, 0xc00bceb320?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2326867135/go/packages/golist.go:210 +0x81f
    golang.org/x/tools/go/packages.defaultDriver.func1(0x14696b0?, {0xc00991b500?, 0xc009b0bf60?, 0x40a177?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo2326867135/go/packages/packages.go:343 +0x36
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo2326867135/go/packages/packages.go:390 +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 5493
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2025-01-22 14:05 x_tools-go1.23-windows-amd64-race tools@38d06313 release-branch.go1.23@ab44565b x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default [ABORT] (<a href="https://ci.chromium.org/b/8725035519803973297">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.0038579s
            command:C:\b\s\w\ir\x\w\goroot\bin\go.exe list -m -e -json ...
            pid:500

    goroutine 574 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc006ed0a68?, 0xc006ed08f4?, 0x142133960?}, 0xc006ff4480)
        C:/b/s/w/ir/x/w/targetrepo2976050623/internal/gocommand/invoke.go:458 +0x14d
    golang.org/x/tools/internal/gocommand.runCmdContext({0x14191e938, 0x14217d600}, 0xc006ff4480)
        C:/b/s/w/ir/x/w/targetrepo2976050623/internal/gocommand/invoke.go:391 +0x6eb
    ...
    golang.org/x/tools/internal/imports.newModuleResolver(0xc006dd9200, 0xc006da78a8)
        C:/b/s/w/ir/x/w/targetrepo2976050623/internal/imports/mod.go:158 +0x138f
    golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver(0xc006dd9200)
        C:/b/s/w/ir/x/w/targetrepo2976050623/internal/imports/fix.go:1036 +0x47f
    golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv(0xc0001e79f0)
        C:/b/s/w/ir/x/w/targetrepo2976050623/gopls/internal/cache/imports.go:266 +0xfa
    golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1()
        C:/b/s/w/ir/x/w/targetrepo2976050623/gopls/internal/cache/imports.go:71 +0x7b
    created by time.goFunc
        C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:215 +0x45
</details>

<details><summary>2025-01-22 14:05 x_tools-go1.23-windows-amd64-race tools@38d06313 release-branch.go1.23@ab44565b x/tools/gopls/internal/test/integration/completion.TestFuzzFunc/default [ABORT] (<a href="https://ci.chromium.org/b/8725035519803973297">log</a>)</summary>

    === RUN   TestFuzzFunc/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.0037689s
            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:9232

    ...
    golang.org/x/tools/internal/imports.newModuleResolver(0xc006afd440, 0xc006956fc0)
        C:/b/s/w/ir/x/w/targetrepo2976050623/internal/imports/mod.go:123 +0x74c
    golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver(0xc006afd440)
        C:/b/s/w/ir/x/w/targetrepo2976050623/internal/imports/fix.go:1036 +0x47f
    golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv(0xc006af6730)
        C:/b/s/w/ir/x/w/targetrepo2976050623/gopls/internal/cache/imports.go:266 +0xfa
    golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1()
        C:/b/s/w/ir/x/w/targetrepo2976050623/gopls/internal/cache/imports.go:71 +0x7b
    created by time.goFunc
        C:/b/s/w/ir/x/w/goroot/src/time/sleep.go:215 +0x45
</details>

<details><summary>2025-01-22 15:58 x_tools-gotip-linux-ppc64le_power10 tools@9f4a509f go@f6d17c54 x/tools/gopls/internal/test/integration/completion.TestDefinition/default [ABORT] (<a href="https://ci.chromium.org/b/8725028426674028497">log</a>)</summary>

    === RUN   TestDefinition/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: running lsof: exec: "lsof": executable file not found in $PATH

    goroutine 25768 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc01197e6f8?, 0xc01197e594?, 0x189c2c0?}, 0xc00d8e8180)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1931866900/internal/gocommand/invoke.go:455 +0x390
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1106d30, 0xc011055260}, 0xc00d8e8180)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1931866900/internal/gocommand/invoke.go:391 +0x3b8
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc01197eae8, {0x1106d30, 0xc011055260}, {0x10fc4c0, 0xc011055380}, {0x10fc4c0, 0xc0110553b0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1931866900/internal/gocommand/invoke.go:285 +0xc3c
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc01197eaa0?, {0x1106d30, 0xc011055260}, {0x10fc4c0?, 0xc011055380?}, {0x10fc4c0, 0xc0110553b0})
    ...
    golang.org/x/tools/go/packages.goListDriver(0xc008333188, 0xc0119842e0, {0x0, 0x0}, {0xc011984220, 0x2, 0x0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1931866900/go/packages/golist.go:210 +0x770
    golang.org/x/tools/go/packages.defaultDriver.func1(0x8?, {0xc011984220?, 0x0?, 0xc00f57b410?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1931866900/go/packages/packages.go:343 +0x6c
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1931866900/go/packages/packages.go:390 +0x6c
    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 +0x60
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 25648
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0xb4
</details>

<details><summary>2025-01-22 15:58 x_tools-gotip-linux-ppc64le_power10 tools@9f4a509f go@f6d17c54 x/tools/gopls/internal/test/integration/diagnostics.TestNoMod/without_workspace_module/default [ABORT] (<a href="https://ci.chromium.org/b/8725028426674028497">log</a>)</summary>

    === RUN   TestNoMod/without_workspace_module/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: running lsof: exec: "lsof": executable file not found in $PATH

    goroutine 25349 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0065b26f8?, 0xc0065b2594?, 0x188c600?}, 0xc00e27cd80)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1931866900/internal/gocommand/invoke.go:455 +0x390
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1101358, 0xc00f31ab70}, 0xc00e27cd80)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1931866900/internal/gocommand/invoke.go:391 +0x3b8
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0065b2ae8, {0x1101358, 0xc00f31ab70}, {0x10f6b80, 0xc00f31ac90}, {0x10f6b80, 0xc00f31acc0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1931866900/internal/gocommand/invoke.go:285 +0xc3c
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc0065b2aa0?, {0x1101358, 0xc00f31ab70}, {0x10f6b80?, 0xc00f31ac90?}, {0x10f6b80, 0xc00f31acc0})
    ...
    golang.org/x/tools/go/packages.goListDriver(0xc0092280e8, 0xc00ef91260, {0x0, 0x0}, {0xc00ef911a0, 0x2, 0xc00f030980?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1931866900/go/packages/golist.go:210 +0x770
    golang.org/x/tools/go/packages.defaultDriver.func1(0x0?, {0xc00ef911a0?, 0x1101390?, 0xc00f015a90?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1931866900/go/packages/packages.go:343 +0x6c
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1931866900/go/packages/packages.go:390 +0x6c
    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 +0x60
    created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 25347
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0xb4
</details>

<details><summary>2025-01-22 15:58 x_tools-gotip-linux-ppc64le_power10 tools@9f4a509f go@f6d17c54 x/tools/gopls/internal/test/integration/misc.TestGoToStdlibDefinition_Issue37045/default [ABORT] (<a href="https://ci.chromium.org/b/8725028426674028497">log</a>)</summary>

    === RUN   TestGoToStdlibDefinition_Issue37045/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: running lsof: exec: "lsof": executable file not found in $PATH

    goroutine 13472 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0000471c0?, 0xc00004705c?, 0x194d160?}, 0xc0152e8000)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1931866900/internal/gocommand/invoke.go:455 +0x390
    golang.org/x/tools/internal/gocommand.runCmdContext({0x11824e0, 0xc0152e25a0}, 0xc0152e8000)
        /home/swarming/.swarming/w/ir/x/w/targetrepo1931866900/internal/gocommand/invoke.go:391 +0x3b8
    golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc0000475b0, {0x11824e0, 0xc0152e25a0}, {0x1177c20, 0xc0152e26c0}, {0x1177c20, 0xc0152e26f0})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1931866900/internal/gocommand/invoke.go:285 +0xc3c
    golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc000047568?, {0x11824e0, 0xc0152e25a0}, {0x1177c20?, 0xc0152e26c0?}, {0x1177c20, 0xc0152e26f0})
    ...
    golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x1182518?, 0xc014c96af0?}, {0xe3c940?, 0xc0148f70e0?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo1931866900/gopls/internal/cache/mod_tidy.go:80 +0x70
    golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1931866900/internal/memoize/memoize.go:187 +0xa4
    runtime/trace.WithRegion({0x1182518?, 0xc014c96af0?}, {0xc00a6a4bb8, 0x13}, 0xc0108e4f70)
        /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0xf8
    golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        /home/swarming/.swarming/w/ir/x/w/targetrepo1931866900/internal/memoize/memoize.go:180 +0x100
    created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 13471
        /home/swarming/.swarming/w/ir/x/w/targetrepo1931866900/internal/memoize/memoize.go:179 +0x208
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2025-01-22 17:02 x_tools-go1.22-openbsd-amd64 tools@e4adc385 release-branch.go1.22@c3c6a500 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8725024383688532353">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    panic: detected hanging go command (golang/go#54461); waited 1m0.057228601s
            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-15424345/TestRegenerateCgo/default/work/... builtin
            pid:49387

    goroutine 4609 [running]:
    golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc0066548b0?, 0xc00665474c?, 0x1c02ce0?}, 0xc00665a000)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3039677807/internal/gocommand/invoke.go:458 +0xb9
    golang.org/x/tools/internal/gocommand.runCmdContext({0x1472f58, 0xc00bef3bf0}, 0xc00665a000)
        /home/swarming/.swarming/w/ir/x/w/targetrepo3039677807/internal/gocommand/invoke.go:391 +0x4cb
    ...
    golang.org/x/tools/go/packages.goListDriver(0xc007a900e8, 0xc00ce91280, {0x0, 0x0}, {0xc00ce911c0, 0x2, 0xc007c65050?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3039677807/go/packages/golist.go:210 +0x81f
    golang.org/x/tools/go/packages.defaultDriver.func1(0x0?, {0xc00ce911c0?, 0x0?, 0xffffffffffffffff?})
        /home/swarming/.swarming/w/ir/x/w/targetrepo3039677807/go/packages/packages.go:343 +0x36
    golang.org/x/tools/go/packages.callDriverOnChunks.func1()
        /home/swarming/.swarming/w/ir/x/w/targetrepo3039677807/go/packages/packages.go:390 +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 5227
        /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0x96
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Change https://go.dev/cl/643915 mentions this issue: `internal/gocommand: send SIGQUIT to hanging go commands on posix`

**Comment From: gopherbot**

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`)

<details><summary>2025-01-23 17:02 x_tools-go1.24-openbsd-amd64 tools@7a015ab4 release-branch.go1.24@8a4c24f9 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8724933748639511617">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    2025/01/23 09:22:27 detected hanging go command (golang/go#54461); waited 1m0.120057005s
        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-4157861698/TestRegenerateCgo/default/work/... builtin
        pid:67416
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2025-01-24 16:52 x_tools-go1.22-openbsd-amd64 tools@3e68f53e release-branch.go1.22@c3c6a500 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8724843790301981713">log</a>)</summary>

    === RUN   TestRegenerateCgo/default
    2025/01/24 09:14:04 detected hanging go command (golang/go#54461); waited 1m0.156171759s
        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-961543484/TestRegenerateCgo/default/work/... builtin
        pid:6276
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

Change https://go.dev/cl/644016 mentions this issue: `internal/gocommand: add openbsd to the set of GOOS to debug`

**Comment From: gopherbot**

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`)

<details><summary>2025-01-24 18:50 x_tools-go1.23-windows-amd64-race tools@1c9f0026 release-branch.go1.23@ab44565b x/tools/gopls/internal/test/integration/codelens.TestUpgradeCodelens_Workspace/Upgrade_direct_dependencies/default [ABORT] (<a href="https://ci.chromium.org/b/8724836371817753457">log</a>)</summary>

    === RUN   TestUpgradeCodelens_Workspace/Upgrade_direct_dependencies/default
    2025/01/24 11:06:07 detected hanging go command (golang/go#54461); waited 1m0.0031226s
        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-1897178920\TestUpgradeCodelens_Workspace\Upgrade_direct_dependencies\default\work\a\... C:\b\s\w\ir\x\t\gopls-test-1897178920\TestUpgradeCodelens_Workspace\Upgrade_direct_dependencies\default\work\b\... builtin
        pid:2836
</details>

<details><summary>2025-01-24 21:09 x_tools-go1.22-windows-amd64-race tools@114ac827 release-branch.go1.22@c3c6a500 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc/default [ABORT] (<a href="https://ci.chromium.org/b/8724827619791703777">log</a>)</summary>

    === RUN   TestFuzzFunc/default
    2025/01/24 13:24:23 detected hanging go command (golang/go#54461); waited 1m0.0032698s
        command:C:\b\s\w\ir\x\w\gopath\pkg\mod\golang.org\toolchain@v0.0.1-go1.23.4.windows-amd64\bin\go.exe list -mod=readonly -m -f {{.Path}}
    {{.Dir}}
    {{.GoMod}}
    {{.GoVersion}}
    {{range context.ReleaseTags}}{{if eq . "go1.14"}}{{.}}{{end}}{{end}}

        pid:2944
</details>

<details><summary>2025-01-24 21:09 x_tools-go1.22-windows-amd64-race tools@114ac827 release-branch.go1.22@c3c6a500 x/tools/gopls/internal/test/integration/misc.TestCodeActionsInGeneratedFiles/default [ABORT] (<a href="https://ci.chromium.org/b/8724827619791703777">log</a>)</summary>

    === RUN   TestCodeActionsInGeneratedFiles/default
    2025/01/24 13:23:59 detected hanging go command (golang/go#54461); waited 1m0.0035154s
        command:C:\b\s\w\ir\x\w\gopath\pkg\mod\golang.org\toolchain@v0.0.1-go1.23.4.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-3058880644\TestCodeActionsInGeneratedFiles\default\work\... builtin
        pid:3964
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: findleyr**

Here's a SIGQUIT dump from a hanging Go routine. FYI @matloob @samthanawalla this goroutine was hanging for a minute when invoked from one of our test repos (which should be very small).

https://logs.chromium.org/logs/golang/buildbucket/cr-buildbucket/8724574916972056209/+/u/step/21/log/2

**Comment From: adonovan**

So, we have:
- modindex.dirHash -- stats every element of a package directory
- Package.Resolve -- calls ResolveImport for each import of a package
- runList -- calls p.Resolve(imports) for each package named by args, passing the list of its imports

All looks reasonable; in particular it doesn't appear to be cache trimming, nor has some kind of recursive file walk escaped from the intended tree. Some possibilities:
- the file system is oversubscribed from too much I/O; it would be nice to know the concurrency level;
- there's a single huge directory; it would be nice to know which one

@samthanawalla  It would be helpful to augment modindex.dirHash so that if it spends a long time in that loop (say, more than 30s), it starts logging pkgdir, the set of dirs, and the current concurrency level.


goroutine 1 gp=0xc000002380 m=nil [runnable]: ... os.Lstat({0xc000800000, 0x3e}) os/stat.go:26 +0x2c fp=0xc0000366a8 sp=0xc000036688 pc=0x50166c os.(unixDirent).Info(0xc1de0a8be455ef51?) os/file_unix.go:480 +0x57 fp=0xc0000366f0 sp=0xc0000366a8 pc=0x4ff5f7 cmd/go/internal/modindex.dirHash({0xc0001422d0, 0x2c}, {0xc000142300, 0x30}) cmd/go/internal/modindex/read.go:111 +0x2af fp=0xc000036840 sp=0xc0000366f0 pc=0x81a94f cmd/go/internal/modindex.openIndexPackage.func1() cmd/go/internal/modindex/read.go:216 +0x85 fp=0xc000036938 sp=0xc000036840 pc=0x81b325 cmd/internal/par.(ErrCache[...]).Do.func1() cmd/internal/par/work.go:119 +0x13 fp=0xc000036948 sp=0xc000036938 pc=0x8258f3 cmd/internal/par.(Cache[...]).Do(0xc737e0, {{0xc0001422d0, 0x2c}, {0xc000142300, 0x30}}, 0xc0000369f8) cmd/internal/par/work.go:160 +0x122 fp=0xc0000369c0 sp=0xc000036948 pc=0x825b02 cmd/internal/par.(ErrCache[...]).Do(0xc000114460?, {{0xc0001422d0, 0x2c}, {0xc000142300, 0x30}}, 0x0?) cmd/internal/par/work.go:118 +0x46 fp=0xc000036a20 sp=0xc0000369c0 pc=0x8258a6 cmd/go/internal/modindex.openIndexPackage({0xc0001422d0?, 0xc000114460?}, {0xc000142300?, 0xc000114460?}) cmd/go/internal/modindex/read.go:214 +0x98 fp=0xc000036ab0 sp=0xc000036a20 pc=0x81b258 cmd/go/internal/modindex.GetPackage({0xc0001422d0, 0x2c}, {0xc000142300, 0x30}) cmd/go/internal/modindex/read.go:146 +0x14d fp=0xc000036af8 sp=0xc000036ab0 pc=0x81ad4d cmd/go/internal/modindex.IsStandardPackage({0xc0001480c0, 0x28}, {0xb49338, 0x2}, {0x2d7091c1d, 0x3}) cmd/go/internal/modindex/read.go:687 +0x20a fp=0xc000036bc8 sp=0xc000036af8 pc=0x81fbca cmd/go/internal/modload.findStandardImportPath({0x2d7091c1d, 0x3}) cmd/go/internal/modload/build.go:43 +0x67 fp=0xc000036c38 sp=0xc000036bc8 pc=0x82d367 cmd/go/internal/modload.Lookup({0x2d5126e0e?, 0xc000036cb8?}, 0x85?, {0x2d7091c1d?, 0xa6afe0?}) cmd/go/internal/modload/load.go:868 +0x88 fp=0xc000036c80 sp=0xc000036c38 pc=0x859d48 cmd/go/internal/load.resolveImportPath({0x2d7091c1d, 0x3}, {0x2d5126e0e?, 0x47?}, {0xc000334100?, 0x9?}, {0xc0001480c0?, 0x0?}, 0x8?) cmd/go/internal/load/pkg.go:1174 +0x4e fp=0xc000036ce0 sp=0xc000036c80 pc=0x8a5a8e cmd/go/internal/load.ResolveImportPath(0xc00017d600?, {0x2d7091c1d?, 0x2d708d1b2?}) cmd/go/internal/load/pkg.go:1169 +0x69 fp=0xc000036d38 sp=0xc000036ce0 pc=0x8a5a09 cmd/go/internal/load.(*Package).Resolve(0xc00040a008, {0xc000005408, 0x39, 0xc000405080?}) cmd/go/internal/load/pkg.go:365 +0x12a fp=0xc000036eb8 sp=0xc000036d38 pc=0x8a036a cmd/go/internal/list.runList({0xc6e940, 0x10a1100}, 0xc0001a2120?, {0xc00018c0b0, 0x2, 0x2}) cmd/go/internal/list/list.go:747 +0x187b fp=0xc0000379c8 sp=0xc000036eb8 pc=0x96f3bb ...


**Comment From: findleyr**

FWIW, I think we should wait for a hang on Darwin or even NetBSD (or more on OpenBSD) before we draw too many conclusions. The OpenBSD builder tends to be incredibly slow, and so this may be a red herring.

**Comment From: gopherbot**

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`)

<details><summary>2025-01-31 19:16 x_tools-go1.23-openbsd-amd64 tools@5ffcf75f release-branch.go1.23@6644ed63 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8724200563965146673">log</a>)</summary>

    === RUN   TestRegenerateCgo/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:
    -------------------------
    ...
    rip    0x252d9ec0a
    rflags 0x202
    cs     0x2b
    fs     0x0
    gs     0x0


    2025/01/31 11:34:47 detected hanging go command (golang/go#54461); waited 1m0.75374663s
        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-1955214776/TestRegenerateCgo/default/work/... builtin
        pid:56891
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2025-01-31 19:16 x_tools-go1.22-openbsd-amd64 tools@51f179ca release-branch.go1.22@0cc45e7c x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8724200544332530833">log</a>)</summary>

    === RUN   TestRegenerateCgo/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:
    -------------------------
    ...
    rip    0x2841e7f5a
    rflags 0x246
    cs     0x2b
    fs     0x0
    gs     0x0


    2025/01/31 11:32:58 detected hanging go command (golang/go#54461); waited 1m0.578224393s
        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-1767598885/TestRegenerateCgo/default/work/... builtin
        pid:7327
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2025-02-03 18:10 x_tools-go1.24-openbsd-amd64 tools@88d91cbe release-branch.go1.24@4241f582 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (<a href="https://ci.chromium.org/b/8723932888099570113">log</a>)</summary>

    === RUN   TestRegenerateCgo/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:
    -------------------------
    ...
    rip    0x214ad24ea
    rflags 0x202
    cs     0x2b
    fs     0x0
    gs     0x0


    2025/02/03 10:26:08 detected hanging go command (golang/go#54461); waited 1m0.434797383s
        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-684788060/TestRegenerateCgo/default/work/... builtin
        pid:3950
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: gopherbot**

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`)

<details><summary>2025-02-03 16:14 x_tools-go1.22-darwin-amd64-longtest tools@da3a6b29 release-branch.go1.22@0cc45e7c x/tools/gopls/internal/test/integration/workspace.TestStdWorkspace/default [ABORT] (<a href="https://ci.chromium.org/b/8723940245094390705">log</a>)</summary>

    === 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:
    -------------------------
    ...
    rip    0x7ff817a635ce
    rflags 0x247
    cs     0x7
    fs     0x0
    gs     0x0


    2025/02/03 09:36:25 detected hanging go command (golang/go#54461); waited 1m3.116792071s
        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:97943
</details>


— [watchflakes](https://go.dev/wiki/Watchflakes)


**Comment From: adonovan**

The last failure was on Darwin, and shows a call to os.RemoveAll (on behalf of `cmd/go/internal/work.(*Builder).Close`) taking a long time. It's unclear whether it is making progress but very slowly, or completely stuck.

os.removeAll({0xc001ec1000, 0x35}) os/removeall_at.go:48 +0x227 fp=0xc0006c9098 sp=0xc0006c8fe0 pc=0xcad1e27 os.RemoveAll({0xc001ec1000?, 0x0?}) os/path.go:73 +0x18 fp=0xc0006c90b8 sp=0xc0006c9098 pc=0xcad16d8 cmd/go/internal/work.(Builder).Close.RemoveAll.removeAll.func1() cmd/go/internal/robustio/robustio_flaky.go:88 +0x1b fp=0xc0006c90e8 sp=0xc0006c90b8 pc=0xced709b cmd/go/internal/robustio.retry(0xc0006c91d8) cmd/go/internal/robustio/robustio_flaky.go:29 +0xad fp=0xc0006c9168 sp=0xc0006c90e8 pc=0xcd96d2d cmd/go/internal/robustio.removeAll(...) cmd/go/internal/robustio/robustio_flaky.go:87 cmd/go/internal/robustio.RemoveAll(...) cmd/go/internal/robustio/robustio.go:38 cmd/go/internal/work.(Builder).Close(0xc000ae7290) cmd/go/internal/work/action.go:332 +0x1a5 fp=0xc0006c9228 sp=0xc0006c9168 pc=0xced6fa5 ```

Comment From: gopherbot

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`)
2025-02-04 14:41 x_tools-gotip-openbsd-amd64 tools@e9f7be9f go@ef7f0914 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x28501f32a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/04 10:08:54 detected hanging go command (golang/go#54461); waited 1m0.746914993s 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-1964906930/TestRegenerateCgo/default/work/... builtin pid:11067
2025-02-04 17:54 x_tools-go1.24-openbsd-amd64 tools@0556adba release-branch.go1.24@4241f582 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2c582cc7a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/04 10:11:59 detected hanging go command (golang/go#54461); waited 1m0.806609568s 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-4168959816/TestRegenerateCgo/default/work/... builtin pid:19187

watchflakes

Comment From: gopherbot

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`)
2025-02-06 20:54 x_tools-go1.22-openbsd-amd64 tools@20887031 release-branch.go1.22@5817e650 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x249165a5a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/02/06 13:15:26 detected hanging go command (golang/go#54461); waited 1m0.818412951s 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-3899023068/TestRegenerateCgo/default/work/... builtin pid:75601

watchflakes

Comment From: gopherbot

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`)
2025-02-11 15:03 x_tools-gotip-openbsd-amd64 tools@027eab55 go@e9eb88ae x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... 21734 6434 go list -e -f {{context.ReleaseTags}} -- unsafe 27632 60956 go mod tidy -modfile=/home/swarming/.swarming/w/ir/x/t/gopls-tempmo lsof: ----- 2025/02/11 10:12:29 Handling hanging Go command: running lsof: exec: "lsof": executable file not found in $PATH 2025/02/11 10:12:29 Sending signal 3 to hanging go command: os: process already finished 2025/02/11 10:12:29 detected hanging go command (golang/go#54461); waited 1m0.649385501s 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-3576934175/TestRegenerateCgo/default/work/... builtin pid:77541

watchflakes

Comment From: gopherbot

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`)
2025-02-11 18:46 x_tools-go1.22-windows-amd64-race tools@0d16805d release-branch.go1.22@5817e650 x/tools/gopls/internal/test/integration/completion.TestFuzzFunc/default [ABORT] (log) === RUN TestFuzzFunc/default 2025/02/11 11:04:07 detected hanging go command (golang/go#54461); waited 1m0.0041377s command:C:\b\s\w\ir\x\w\gopath\pkg\mod\golang.org\toolchain@v0.0.1-go1.23.4.windows-amd64\bin\go.exe mod tidy -modfile=C:\b\s\w\ir\x\t\gopls-tempmod2948880440\go.mod pid:6404
2025-02-11 18:46 x_tools-go1.22-windows-amd64-race tools@0d16805d release-branch.go1.22@5817e650 x/tools/gopls/internal/test/integration/misc.TestCodeActionsInGeneratedFiles/default [ABORT] (log) === RUN TestCodeActionsInGeneratedFiles/default 2025/02/11 11:04:07 detected hanging go command (golang/go#54461); waited 1m0.0041377s command:C:\b\s\w\ir\x\w\gopath\pkg\mod\golang.org\toolchain@v0.0.1-go1.23.4.windows-amd64\bin\go.exe list -f {{context.GOARCH}} {{context.Compiler}} -- unsafe pid:8992
2025-02-11 18:46 x_tools-go1.22-windows-amd64-race tools@0d16805d release-branch.go1.22@5817e650 x/tools/gopls/internal/test/integration/modfile.TestModFileModification/basic/default/default [ABORT] (log) === RUN TestModFileModification/basic/default/default 2025/02/11 11:04:05 detected hanging go command (golang/go#54461); waited 1m0.003316s command:C:\b\s\w\ir\x\w\gopath\pkg\mod\golang.org\toolchain@v0.0.1-go1.23.4.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-1975786705\TestModFileModification\basic\default\default\work\a\... builtin pid:7756

watchflakes

Comment From: gopherbot

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`)
2025-02-13 19:20 x_tools-gotip-openbsd-amd64 tools@ddd4bde5 go@ca464974 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2db2b65ba rflags 0x247 cs 0x2b fs 0x0 gs 0x0 2025/02/13 11:37:57 detected hanging go command (golang/go#54461); waited 1m0.924574814s 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-4276506949/TestRegenerateCgo/default/work/... builtin pid:20449

watchflakes

Comment From: gopherbot

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`)
2025-02-18 14:57 x_tools-gotip-openbsd-amd64 tools@c18bffa1 go@279da965 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2ff84869a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/02/18 10:51:18 detected hanging go command (golang/go#54461); waited 1m0.695995829s 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-962992809/TestRegenerateCgo/default/work/... builtin pid:46846
2025-02-18 20:42 x_tools-gotip-openbsd-amd64 tools@d115b345 go@279da965 x/tools/gopls/internal/test/integration/modfile.TestUnknownRevision/bad/default/default [ABORT] (log) === RUN TestUnknownRevision/bad/default/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: ------------------------- ... rip 0x22965daca rflags 0x246 cs 0x2b fs 0x0 gs 0x0 2025/02/18 13:07:57 detected hanging go command (golang/go#54461); waited 1m1.870665015s command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go list -overlay=/home/swarming/.swarming/w/ir/x/t/gocommand-617318242/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 -- /home/swarming/.swarming/w/ir/x/t/gopls-test-1098002448/TestUnknownRevision/bad/default/default/work/a/... builtin pid:60790

watchflakes

Comment From: gopherbot

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`)
2025-02-19 14:49 x_tools-go1.24-openbsd-amd64 tools@3c245dad release-branch.go1.24@bb0e5c20 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2ebf24b0a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/02/19 09:56:57 detected hanging go command (golang/go#54461); waited 1m1.058050191s 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-3228552778/TestRegenerateCgo/default/work/... builtin pid:63401

watchflakes

Comment From: gopherbot

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`)
2025-02-19 19:06 x_tools-go1.24-openbsd-amd64 tools@877c1d12 release-branch.go1.24@30f4d9e1 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... 9698 96704 /home/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/openbsd_amd64/asm 41260 52815 go clean -modcache lsof: ----- 2025/02/19 11:22:35 Handling hanging Go command: running lsof: exec: "lsof": executable file not found in $PATH 2025/02/19 11:22:35 Sending signal 3 to hanging go command: os: process already finished 2025/02/19 11:22:35 detected hanging go command (golang/go#54461); waited 1m0.426674117s 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-501055539/TestRegenerateCgo/default/work/... builtin pid:6522

watchflakes

Comment From: gopherbot

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`)
2025-02-19 19:06 x_tools-gotip-openbsd-amd64 tools@877c1d12 go@3c05790d x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x27a860f1a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/02/19 11:26:45 detected hanging go command (golang/go#54461); waited 1m0.977767695s 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-3955671917/TestRegenerateCgo/default/work/... builtin pid:3606
2025-02-19 19:26 x_tools-gotip-openbsd-amd64 tools@4991e7da go@abd02391 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x21aeeb22a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/19 12:18:20 detected hanging go command (golang/go#54461); waited 1m0.617534813s 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-2950238703/TestRegenerateCgo/default/work/... builtin pid:16100
2025-02-19 20:09 x_tools-go1.23-openbsd-amd64 tools@cd01e865 release-branch.go1.23@22fdd35c x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x28f22773a rflags 0x246 cs 0x2b fs 0x0 gs 0x0 2025/02/19 12:27:40 detected hanging go command (golang/go#54461); waited 1m1.071372815s 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-3775540746/TestRegenerateCgo/default/work/... builtin pid:49274
2025-02-19 20:09 x_tools-go1.24-openbsd-amd64 tools@cd01e865 release-branch.go1.24@30f4d9e1 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x215e2411a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/02/19 12:25:00 detected hanging go command (golang/go#54461); waited 1m0.689320253s 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-1547476018/TestRegenerateCgo/default/work/... builtin pid:37457

watchflakes

Comment From: gopherbot

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`)
2025-02-19 23:14 x_tools-go1.24-openbsd-amd64 tools@99337ebe release-branch.go1.24@0f7b7600 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x25fcee7ba rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/19 15:32:13 detected hanging go command (golang/go#54461); waited 1m0.615188591s 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-165653969/TestRegenerateCgo/default/work/... builtin pid:6638

watchflakes

Comment From: gopherbot

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`)
2025-02-19 23:14 x_tools-gotip-openbsd-amd64 tools@99337ebe go@0d8c512c x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2a4ad141a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/19 15:34:07 detected hanging go command (golang/go#54461); waited 1m0.677438838s 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-695553895/TestRegenerateCgo/default/work/... builtin pid:2880
2025-02-19 23:36 x_tools-gotip-openbsd-amd64 tools@8a39d47f go@0d8c512c x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x297eeefca rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/02/19 15:58:42 detected hanging go command (golang/go#54461); waited 1m0.608519478s 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-2758328713/TestRegenerateCgo/default/work/... builtin pid:96667

watchflakes

Comment From: gopherbot

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`)
2025-02-20 20:50 x_tools-go1.24-openbsd-amd64 tools@f0af81c3 release-branch.go1.24@0f7b7600 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2cc16276a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/20 13:10:43 detected hanging go command (golang/go#54461); waited 1m0.82821439s 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-2525782403/TestRegenerateCgo/default/work/... builtin pid:63141
2025-02-20 20:50 x_tools-gotip-openbsd-amd64 tools@f0af81c3 go@3b25b3c1 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x225385ffa rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/20 13:29:55 detected hanging go command (golang/go#54461); waited 1m0.939647805s 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-194776497/TestRegenerateCgo/default/work/... builtin pid:50332

watchflakes

Comment From: gopherbot

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`)
2025-02-20 21:23 x_tools-gotip-openbsd-amd64 tools@9f7a2b61 go@e1f02e9a x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x24a67185a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/02/20 16:09:35 detected hanging go command (golang/go#54461); waited 1m1.156674073s 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-2473336975/TestRegenerateCgo/default/work/... builtin pid:56135

watchflakes

Comment From: gopherbot

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`)
2025-02-21 15:22 x_tools-go1.24-openbsd-amd64 tools@96bfb601 release-branch.go1.24@0f7b7600 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x21e055e8a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/02/21 07:44:40 detected hanging go command (golang/go#54461); waited 1m1.425250352s 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-3924174769/TestRegenerateCgo/default/work/... builtin pid:11097
2025-02-21 15:22 x_tools-gotip-openbsd-amd64 tools@96bfb601 go@64d82cd7 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2ed6d44ba rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/21 07:39:42 detected hanging go command (golang/go#54461); waited 1m1.061525152s 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-3010006631/TestRegenerateCgo/default/work/... builtin pid:86405
2025-02-21 15:23 x_tools-go1.24-openbsd-amd64 tools@f95771e6 release-branch.go1.24@0f7b7600 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2e09abbba rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/21 07:45:09 detected hanging go command (golang/go#54461); waited 1m1.037844643s 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-2096339701/TestRegenerateCgo/default/work/... builtin pid:21122
2025-02-21 15:23 x_tools-gotip-openbsd-amd64 tools@f95771e6 go@64d82cd7 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x28002b05a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/21 07:44:48 detected hanging go command (golang/go#54461); waited 1m1.197137963s 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-543593842/TestRegenerateCgo/default/work/... builtin pid:49396

watchflakes

Comment From: gopherbot

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`)
2025-02-21 15:31 x_tools-go1.23-openbsd-amd64 tools@8b85edcc release-branch.go1.23@22fdd35c x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2f25311ba rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/21 07:53:20 detected hanging go command (golang/go#54461); waited 1m1.038336469s 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-2159583457/TestRegenerateCgo/default/work/... builtin pid:45406
2025-02-21 18:18 x_tools-go1.23-openbsd-amd64 tools@23211ff4 release-branch.go1.23@22fdd35c x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2497df6ba rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/02/21 10:36:48 detected hanging go command (golang/go#54461); waited 1m0.565468888s 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-387444648/TestRegenerateCgo/default/work/... builtin pid:23098
2025-02-21 18:18 x_tools-go1.24-openbsd-amd64 tools@23211ff4 release-branch.go1.24@0f7b7600 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x23d41a84a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/21 10:40:49 detected hanging go command (golang/go#54461); waited 1m0.792815867s 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-549562132/TestRegenerateCgo/default/work/... builtin pid:78104
2025-02-21 18:18 x_tools-gotip-openbsd-amd64 tools@23211ff4 go@d93f6df0 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x256e8c69a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/02/21 10:39:58 detected hanging go command (golang/go#54461); waited 1m1.447043907s 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-520676535/TestRegenerateCgo/default/work/... builtin pid:24651
2025-02-21 18:26 x_tools-go1.24-openbsd-amd64 tools@f2beb33b release-branch.go1.24@0f7b7600 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2f94f6c1a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/02/21 10:58:25 detected hanging go command (golang/go#54461); waited 1m1.166272318s 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-2140674314/TestRegenerateCgo/default/work/... builtin pid:48672

watchflakes

Comment From: gopherbot

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`)
2025-02-21 18:51 x_tools-gotip-openbsd-amd64 tools@7347766e go@f24b299d x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2bf4c519a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/02/21 11:24:51 detected hanging go command (golang/go#54461); waited 1m0.597893462s 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-3189366568/TestRegenerateCgo/default/work/... builtin pid:48014

watchflakes

Comment From: gopherbot

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`)
2025-02-21 18:51 x_tools-go1.23-openbsd-amd64 tools@7347766e release-branch.go1.23@22fdd35c x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x29020081a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/21 11:12:16 detected hanging go command (golang/go#54461); waited 1m0.829601769s 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-650802295/TestRegenerateCgo/default/work/... builtin pid:69081
2025-02-21 19:15 x_tools-go1.23-openbsd-amd64 tools@4e0c888d release-branch.go1.23@22fdd35c x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x252103b8a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/02/21 11:33:09 detected hanging go command (golang/go#54461); waited 1m1.106894625s 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-3114414903/TestRegenerateCgo/default/work/... builtin pid:46491
2025-02-21 19:15 x_tools-go1.24-openbsd-amd64 tools@4e0c888d release-branch.go1.24@0f7b7600 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x26ecdd89a rflags 0x246 cs 0x2b fs 0x0 gs 0x0 2025/02/21 11:31:37 detected hanging go command (golang/go#54461); waited 1m3.738021464s 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-3453619961/TestRegenerateCgo/default/work/... builtin pid:58115

watchflakes

Comment From: gopherbot

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`)
2025-02-21 21:16 x_tools-gotip-openbsd-amd64 tools@1c52ccd3 go@f24b299d x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2508b7d7a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/21 13:38:02 detected hanging go command (golang/go#54461); waited 1m0.849139589s 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-3057482216/TestRegenerateCgo/default/work/... builtin pid:64295
2025-02-21 21:16 x_tools-gotip-openbsd-amd64 tools@6e3d8bca go@f24b299d x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2c5e8ee3a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/21 13:38:05 detected hanging go command (golang/go#54461); waited 1m1.186461331s 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-1698262724/TestRegenerateCgo/default/work/... builtin pid:90332
2025-02-21 21:47 x_tools-gotip-openbsd-amd64 tools@3d7c2e28 go@f24b299d x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2637e889a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/21 14:03:50 detected hanging go command (golang/go#54461); waited 1m0.949467961s 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-401609343/TestRegenerateCgo/default/work/... builtin pid:19818

watchflakes

Comment From: gopherbot

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`)
2025-02-21 21:47 x_tools-go1.24-openbsd-amd64 tools@3d7c2e28 release-branch.go1.24@0f7b7600 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2a0d74e2a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/21 14:02:07 detected hanging go command (golang/go#54461); waited 1m0.806383273s 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-4265779338/TestRegenerateCgo/default/work/... builtin pid:91964
2025-02-21 22:37 x_tools-go1.24-openbsd-amd64 tools@5299dcb7 release-branch.go1.24@0f7b7600 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... 93292 55817 /home/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/openbsd_amd64/com 93292 57806 /home/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/openbsd_amd64/com lsof: ----- 2025/02/21 14:59:08 Handling hanging Go command: running lsof: exec: "lsof": executable file not found in $PATH 2025/02/21 14:59:08 Sending signal 3 to hanging go command: os: process already finished 2025/02/21 14:59:08 detected hanging go command (golang/go#54461); waited 1m0.731589462s 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-1993364398/TestRegenerateCgo/default/work/... builtin pid:21545

watchflakes

Comment From: gopherbot

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`)
2025-02-21 22:37 x_tools-go1.23-openbsd-amd64 tools@5299dcb7 release-branch.go1.23@22fdd35c x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x30039735a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/21 14:59:16 detected hanging go command (golang/go#54461); waited 1m0.726529152s 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-2963986321/TestRegenerateCgo/default/work/... builtin pid:27379

watchflakes

Comment From: gopherbot

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`)
2025-02-21 23:41 x_tools-gotip-openbsd-amd64 tools@274b2375 go@f062d7b1 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x201499f8a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/21 22:41:36 detected hanging go command (golang/go#54461); waited 1m1.175270298s 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-3284610023/TestRegenerateCgo/default/work/... builtin pid:66232

watchflakes

Comment From: gopherbot

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`)
2025-02-23 14:00 x_tools-gotip-openbsd-amd64 tools@739a5af4 go@fba83cdf x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x251ec4cea rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/02/23 12:29:29 detected hanging go command (golang/go#54461); waited 1m0.41851158s 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-3732002719/TestRegenerateCgo/default/work/... builtin pid:84946
2025-02-24 14:40 x_tools-gotip-openbsd-amd64 tools@2b2a44ed go@fba83cdf x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2cb0224da rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/24 06:56:30 detected hanging go command (golang/go#54461); waited 1m0.881550886s 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-709637349/TestRegenerateCgo/default/work/... builtin pid:42849
2025-02-24 17:19 x_tools-go1.24-openbsd-amd64 tools@d2fcd360 release-branch.go1.24@af236716 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x249f8694a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/02/24 09:38:13 detected hanging go command (golang/go#54461); waited 1m0.93004215s 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-3707494554/TestRegenerateCgo/default/work/... builtin pid:97489

watchflakes

Comment From: gopherbot

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`)
2025-02-24 17:21 x_tools-gotip-openbsd-amd64 tools@3e76cae7 go@dceee2e9 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x26202e0fa rflags 0x246 cs 0x2b fs 0x0 gs 0x0 2025/02/24 11:36:05 detected hanging go command (golang/go#54461); waited 1m1.172653741s 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-890885717/TestRegenerateCgo/default/work/... builtin pid:51933

watchflakes

Comment From: gopherbot

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`)
2025-02-24 19:57 x_tools-go1.24-openbsd-amd64 tools@bf9e2a81 release-branch.go1.24@af236716 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x24e7c562a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/02/24 12:17:12 detected hanging go command (golang/go#54461); waited 1m0.898832288s 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-4014623896/TestRegenerateCgo/default/work/... builtin pid:30684
2025-02-25 14:43 x_tools-go1.24-openbsd-amd64 tools@6d4af1e1 release-branch.go1.24@af236716 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x261598eea rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/25 06:59:00 detected hanging go command (golang/go#54461); waited 1m0.861378594s 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-855061463/TestRegenerateCgo/default/work/... builtin pid:49156

watchflakes

Comment From: gopherbot

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`)
2025-02-25 21:13 x_tools-gotip-openbsd-amd64 tools@6f7906b2 go@b38b0c00 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2d3f084ea rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/02/25 13:27:36 detected hanging go command (golang/go#54461); waited 1m0.754757573s 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-762452388/TestRegenerateCgo/default/work/... builtin pid:55266
2025-02-25 21:57 x_tools-go1.24-openbsd-amd64 tools@7fed2a4a release-branch.go1.24@af236716 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2e71cc23a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/25 14:15:49 detected hanging go command (golang/go#54461); waited 1m0.853618339s 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-3456822314/TestRegenerateCgo/default/work/... builtin pid:84625

watchflakes

Comment From: gopherbot

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`)
2025-02-26 03:50 x_tools-go1.23-openbsd-amd64 tools@5dc980c6 release-branch.go1.23@2aaa3889 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x25492433a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/25 20:11:40 detected hanging go command (golang/go#54461); waited 1m1.086784326s 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-404904086/TestRegenerateCgo/default/work/... builtin pid:69089
2025-02-26 03:50 x_tools-gotip-openbsd-amd64 tools@5dc980c6 go@1b1c6b83 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x22261bdda rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/02/26 02:29:22 detected hanging go command (golang/go#54461); waited 1m0.833579666s 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-1477193701/TestRegenerateCgo/default/work/... builtin pid:75084

watchflakes

Comment From: gopherbot

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`)
2025-02-26 14:50 x_tools-gotip-openbsd-amd64 tools@779331ac go@4c756718 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2446c434a rflags 0x246 cs 0x2b fs 0x0 gs 0x0 2025/02/26 09:28:37 detected hanging go command (golang/go#54461); waited 1m0.649316482s 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-2169371698/TestRegenerateCgo/default/work/... builtin pid:32220
2025-02-26 17:49 x_tools-gotip-openbsd-amd64 tools@d740adf9 go@8b8bff7b x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2860ed0ba rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/26 10:09:35 detected hanging go command (golang/go#54461); waited 1m0.800988684s 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-3545414291/TestRegenerateCgo/default/work/... builtin pid:59295

watchflakes

Comment From: gopherbot

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`)
2025-02-26 03:50 x_tools-go1.24-openbsd-amd64 tools@5dc980c6 release-branch.go1.24@f5c38831 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2bbf9899a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/25 22:26:23 detected hanging go command (golang/go#54461); waited 1m0.820995106s 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-1181418794/TestRegenerateCgo/default/work/... builtin pid:50317
2025-02-26 17:49 x_tools-go1.24-openbsd-amd64 tools@d740adf9 release-branch.go1.24@7f375e2c x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x228c7459a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/26 11:48:53 detected hanging go command (golang/go#54461); waited 1m0.90503028s 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-3262116966/TestRegenerateCgo/default/work/... builtin pid:49772
2025-02-26 19:45 x_tools-go1.24-openbsd-amd64 tools@63229bc7 release-branch.go1.24@949eae84 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x256e99d6a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/26 12:41:13 detected hanging go command (golang/go#54461); waited 1m1.201600226s 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-636671092/TestRegenerateCgo/default/work/... builtin pid:33721

watchflakes

Comment From: gopherbot

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`)
2025-02-26 19:45 x_tools-go1.23-openbsd-amd64 tools@63229bc7 release-branch.go1.23@e4772831 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2d8bc7b2a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/02/26 15:13:56 detected hanging go command (golang/go#54461); waited 1m1.175493163s 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-670823345/TestRegenerateCgo/default/work/... builtin pid:44989

watchflakes

Comment From: gopherbot

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`)
2025-02-27 18:07 x_tools-go1.24-openbsd-amd64 tools@8f4b8cd6 release-branch.go1.24@5d692084 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x227f7591a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/27 10:27:34 detected hanging go command (golang/go#54461); waited 1m0.841926502s 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-3280017429/TestRegenerateCgo/default/work/... builtin pid:10937

watchflakes

Comment From: gopherbot

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`)
2025-02-27 18:07 x_tools-go1.23-openbsd-amd64 tools@8f4b8cd6 release-branch.go1.23@e4772831 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2a771a07a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/02/27 10:27:16 detected hanging go command (golang/go#54461); waited 1m1.095715877s 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-3525606181/TestRegenerateCgo/default/work/... builtin pid:10141
2025-02-28 02:32 x_tools-go1.24-openbsd-amd64 tools@ff03c59f release-branch.go1.24@5d692084 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x26838181a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/27 18:48:58 detected hanging go command (golang/go#54461); waited 1m0.627500803s 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-2943416186/TestRegenerateCgo/default/work/... builtin pid:60017

watchflakes

Comment From: gopherbot

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`)
2025-02-28 02:50 x_tools-go1.23-openbsd-amd64 tools@66eb306a release-branch.go1.23@e4772831 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x21d20ce9a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/02/27 19:07:40 detected hanging go command (golang/go#54461); waited 1m1.222101086s 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-1769457515/TestRegenerateCgo/default/work/... builtin pid:79915

watchflakes

Comment From: gopherbot

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`)
2025-02-28 20:03 x_tools-go1.23-openbsd-amd64 tools@608d370d release-branch.go1.23@e4772831 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x243caae0a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/28 12:24:12 detected hanging go command (golang/go#54461); waited 1m0.714060927s 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-3772664785/TestRegenerateCgo/default/work/... builtin pid:27316
2025-02-28 20:03 x_tools-go1.24-openbsd-amd64 tools@608d370d release-branch.go1.24@5d692084 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x213233e3a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/28 12:22:57 detected hanging go command (golang/go#54461); waited 1m0.833105127s 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-3799446274/TestRegenerateCgo/default/work/... builtin pid:10546

watchflakes

Comment From: gopherbot

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`)
2025-02-28 20:28 x_tools-go1.24-openbsd-amd64 tools@5f02a3e8 release-branch.go1.24@5d692084 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x27d96d19a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/02/28 12:46:14 detected hanging go command (golang/go#54461); waited 1m0.817002355s 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-2116199858/TestRegenerateCgo/default/work/... builtin pid:32451
2025-03-01 19:02 x_tools-go1.24-openbsd-amd64 tools@d1414997 release-branch.go1.24@5d692084 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2e7437dda rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/03/01 11:22:04 detected hanging go command (golang/go#54461); waited 1m1.012232502s 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-988000020/TestRegenerateCgo/default/work/... builtin pid:64695

watchflakes

Comment From: gopherbot

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`)
2025-03-01 19:02 x_tools-go1.23-openbsd-amd64 tools@d1414997 release-branch.go1.23@e4772831 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x27873e2ea rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/03/01 11:23:32 detected hanging go command (golang/go#54461); waited 1m1.082546587s 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-922383052/TestRegenerateCgo/default/work/... builtin pid:60984
2025-03-03 14:37 x_tools-go1.23-openbsd-amd64 tools@0efa5e51 release-branch.go1.23@e4772831 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x29bb83b9a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/03/03 06:57:03 detected hanging go command (golang/go#54461); waited 1m1.318673081s 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-3975905675/TestRegenerateCgo/default/work/... builtin pid:5933

watchflakes

Comment From: gopherbot

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`)
2025-03-03 20:04 x_tools-go1.23-openbsd-amd64 tools@0ffdb82e release-branch.go1.23@e4772831 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2ab0b672a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/03/03 12:21:43 detected hanging go command (golang/go#54461); waited 1m1.095131861s 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-3266379042/TestRegenerateCgo/default/work/... builtin pid:45612
2025-03-03 20:07 x_tools-go1.24-openbsd-amd64 tools@2b1f5503 release-branch.go1.24@5d692084 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x23fccf0fa rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/03/03 12:22:35 detected hanging go command (golang/go#54461); waited 1m0.634196019s 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-3876285530/TestRegenerateCgo/default/work/... builtin pid:28435

watchflakes

Comment From: gopherbot

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`)
2025-03-04 21:25 x_tools-gotip-openbsd-amd64 tools@8d38122b go@6f90ae36 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x239febdca rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/03/05 08:26:48 detected hanging go command (golang/go#54461); waited 1m1.114733964s 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-1840581974/TestRegenerateCgo/default/work/... builtin pid:53872

watchflakes

Comment From: gopherbot

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`)
2025-03-05 16:17 x_tools-go1.23-openbsd-amd64 tools@340f21a4 release-branch.go1.23@45aade7f x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x21f5fcb2a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/03/05 08:35:12 detected hanging go command (golang/go#54461); waited 1m1.498262323s 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-1588053402/TestRegenerateCgo/default/work/... builtin pid:13505
2025-03-05 16:48 x_tools-go1.23-openbsd-amd64 tools@ece9e9ba release-branch.go1.23@45aade7f x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x28f74026a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/03/05 09:11:23 detected hanging go command (golang/go#54461); waited 1m0.628004792s 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-3800111221/TestRegenerateCgo/default/work/... builtin pid:76090
2025-03-05 18:38 x_tools-go1.23-openbsd-amd64 tools@db6008cb release-branch.go1.23@45aade7f x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2595e4c4a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/03/05 10:56:17 detected hanging go command (golang/go#54461); waited 1m0.766036729s 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-1946108337/TestRegenerateCgo/default/work/... builtin pid:70489
2025-03-05 20:18 x_tools-go1.23-openbsd-amd64 tools@6a5b66be release-branch.go1.23@45aade7f x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x24af4c628 rflags 0x246 cs 0x2b fs 0x0 gs 0x0 2025/03/05 12:39:36 detected hanging go command (golang/go#54461); waited 1m0.902142491s 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-72031081/TestRegenerateCgo/default/work/... builtin pid:94966

watchflakes

Comment From: gopherbot

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`)
2025-03-06 18:34 x_tools-go1.23-openbsd-amd64 tools@b08c7a26 release-branch.go1.23@45aade7f x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2266c4eea rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/03/06 10:53:14 detected hanging go command (golang/go#54461); waited 1m1.03422711s 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-2377513670/TestRegenerateCgo/default/work/... builtin pid:8007

watchflakes

Comment From: gopherbot

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`)
2025-03-06 18:34 x_tools-go1.24-openbsd-amd64 tools@b08c7a26 release-branch.go1.24@0ace2d8a x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x21afbce0a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/03/06 10:50:45 detected hanging go command (golang/go#54461); waited 1m0.971407111s 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-2712237387/TestRegenerateCgo/default/work/... builtin pid:15655
2025-03-07 17:40 x_tools-go1.24-openbsd-amd64 tools@7435a814 release-branch.go1.24@0ace2d8a x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x251fa173a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/03/07 09:56:44 detected hanging go command (golang/go#54461); waited 1m1.175164235s 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-1794722014/TestRegenerateCgo/default/work/... builtin pid:40484
2025-03-07 21:08 x_tools-go1.24-openbsd-amd64 tools@29f81e9d release-branch.go1.24@0ace2d8a x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2b3d7bfaa rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/03/07 13:22:45 detected hanging go command (golang/go#54461); waited 1m1.121251508s 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-3475134441/TestRegenerateCgo/default/work/... builtin pid:77912
2025-03-08 17:41 x_tools-go1.24-openbsd-amd64 tools@8fa586e1 release-branch.go1.24@0ace2d8a x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x20b3ba75a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/03/08 10:01:10 detected hanging go command (golang/go#54461); waited 1m0.76000145s 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-2597450316/TestRegenerateCgo/default/work/... builtin pid:60629

watchflakes

Comment From: gopherbot

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`)
2025-03-11 21:41 x_tools-go1.24-openbsd-amd64 tools@381d68d8 release-branch.go1.24@0ace2d8a x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x27d72d3aa rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/03/11 14:57:15 detected hanging go command (golang/go#54461); waited 1m1.083585768s 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-250840018/TestRegenerateCgo/default/work/... builtin pid:69495

watchflakes

Comment From: gopherbot

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`)
2025-03-12 17:21 x_tools-go1.23-openbsd-amd64 tools@4ee50fe6 release-branch.go1.23@45aade7f x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2ead59c1a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/03/12 10:39:20 detected hanging go command (golang/go#54461); waited 1m1.313418408s 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-2418922579/TestRegenerateCgo/default/work/... builtin pid:48989
2025-03-12 20:41 x_tools-go1.23-openbsd-amd64 tools@e59d6c5d release-branch.go1.23@45aade7f x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x21772429a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/03/12 13:57:59 detected hanging go command (golang/go#54461); waited 1m1.197371122s 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-4226351220/TestRegenerateCgo/default/work/... builtin pid:67034

watchflakes

Comment From: gopherbot

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`)
2025-03-12 20:41 x_tools-go1.24-openbsd-amd64 tools@e59d6c5d release-branch.go1.24@0ace2d8a x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2b2b2bb6a rflags 0x202 cs 0x2b fs 0x0 gs 0x0 2025/03/12 14:00:39 detected hanging go command (golang/go#54461); waited 1m1.024418501s 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-458062530/TestRegenerateCgo/default/work/... builtin pid:13974
2025-03-12 20:44 x_tools-go1.24-openbsd-amd64 tools@40f8cca0 release-branch.go1.24@c2a34bed x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2d4cfce8a rflags 0x246 cs 0x2b fs 0x0 gs 0x0 2025/03/12 14:19:58 detected hanging go command (golang/go#54461); waited 1m1.107345062s 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-1205146933/TestRegenerateCgo/default/work/... builtin pid:372

watchflakes

Comment From: gopherbot

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`)
2025-03-14 01:02 x_tools-go1.23-openbsd-amd64 tools@6c3e542d release-branch.go1.23@45aade7f x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x252b123aa rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/03/13 18:25:13 detected hanging go command (golang/go#54461); waited 1m1.187169027s 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-2806474724/TestRegenerateCgo/default/work/... builtin pid:11230
2025-03-14 01:02 x_tools-go1.24-openbsd-amd64 tools@6c3e542d release-branch.go1.24@c2a34bed x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log) === RUN TestRegenerateCgo/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: ------------------------- ... rip 0x2ce370a2a rflags 0x206 cs 0x2b fs 0x0 gs 0x0 2025/03/13 18:20:54 detected hanging go command (golang/go#54461); waited 1m1.311953989s 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-2125731662/TestRegenerateCgo/default/work/... builtin pid:67898

watchflakes

Comment From: gopherbot

Change https://go.dev/cl/658015 mentions this issue: gopls/internal/test/integration: skip x_tools-gotip-openbsd-amd64 (7.6)

Comment From: gopherbot

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`)
2025-05-14 13:23 x_tools-go1.24-linux-riscv64 tools@cd3f34cf release-branch.go1.24@431f75a0 x/tools/gopls/internal/test/integration/misc.TestRenamePackage_DuplicateImport/default [ABORT] (log) === RUN TestRenamePackage_DuplicateImport/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: ------------------------- ... python3 3885017 3253475 python3 swarming 5w REG 252,0 9693716 3539402 /home/swarming/.swarming/logs/swarming_bot.log python3 3885017 3253475 python3 swarming 6w REG 252,0 0 3573844 /home/swarming/.swarming/logs/adb.log python3 3885017 3253475 python3 swarming 7uW REG 252,0 7 3539405 /home/swarming/.swarming/swarming.lck python3 3885017 3253475 python3 swarming 8u IPv4 43967858 0t0 TCP visionfive2-2:55734->yx-in-f153.1e100.net:https (CLOSE_WAIT) python3 3885017 3253475 python3 swarming 9u REG 252,0 2211362 3539472 /home/swarming/.swarming/logs/task_runner_stdout.log python3 3885017 3253475 python3 swarming 11w FIFO 0,14 0t0 43968018 pipe invoke.go:471: Sending signal 3 to hanging go command: os: process already finished invoke.go:474: detected hanging go command (golang/go#54461); waited 3m18.057657037s 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-1413964736/TestRenamePackage_DuplicateImport/default/work/... builtin pid:3389199

watchflakes

Comment From: gopherbot

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`)
2025-07-28 17:46 x_tools-go1.23-windows-amd64-longtest tools@7fe7caec release-branch.go1.23@6c9c80b6 x/tools/gopls/internal/test/integration/misc.TestSemanticGoDirectives/default [SKIP] (log) === RUN TestSemanticGoDirectives/default invoke.go:474: detected hanging go command (golang/go#54461); waited 1m0.0019557s command:C:\b\s\w\ir\x\w\gopath\pkg\mod\golang.org\toolchain@v0.0.1-go1.24.2.windows-amd64\bin\go.exe list -e -f {{context.ReleaseTags}} -- unsafe pid:9704 invoke.go:474: detected hanging go command (golang/go#54461); waited 1m0.0020199s command:C:\b\s\w\ir\x\w\gopath\pkg\mod\golang.org\toolchain@v0.0.1-go1.24.2.windows-amd64\bin\go.exe list -f {{context.GOARCH}} {{context.Compiler}} -- unsafe pid:2340

watchflakes