Repository: go
Issue: x/tools/gopls: frequent test failures with "context deadline exceeded" on linux-riscv64-unmatched builder
Labels: Testing,NeedsInvestigation,gopls,Tools

`greplogs --dashboard -md -l -e '(?ms)\Alinux-riscv.*context deadline exceeded.*FAIL\s+golang\.org/x/tools/gopls'`

<details>

[2021-11-03T09:23:34-714668c-6458b2e/linux-riscv64-unmatched](https://build.golang.org/log/fd5f58fb78a9f2dcc502511250935f0329cd1609)
[2021-11-03T00:49:50-714668c-a4b2c57/linux-riscv64-unmatched](https://build.golang.org/log/b95eeef1ddc9a3c6937a3523c9705f03aa94e5f0)
[2021-11-01T19:56:50-ee08195-5f1bcd1/linux-riscv64-unmatched](https://build.golang.org/log/967dde64420c02aeb0eb406ff83e72bdc4321a86)
[2021-11-01T02:47:30-351c04c-fde4cc2/linux-riscv64-unmatched](https://build.golang.org/log/2587e84db5e8716295f93374b21a3f297aa1ffe9)
[2021-10-31T18:39:05-351c04c-89c5270/linux-riscv64-unmatched](https://build.golang.org/log/5e1e8cf246e0e5650363d4adee16c59292bb8906)
[2021-10-31T08:29:02-351c04c-8e3d5f0/linux-riscv64-unmatched](https://build.golang.org/log/ec34f259414bb873f6a256d9f6cdd045872805bc)
[2021-10-31T02:24:29-351c04c-0bef30d/linux-riscv64-unmatched](https://build.golang.org/log/3957854ad59f45ab0df5873ea5e5d0dd7eadfec0)
[2021-10-30T18:30:34-351c04c-6113dac/linux-riscv64-unmatched](https://build.golang.org/log/5c2c78cf42df98d45b2fcf8d162003a7e8c81e68)
[2021-10-29T22:29:31-a2be0cd-c812b97/linux-riscv64-unmatched](https://build.golang.org/log/1139646432eed7e71e0619c570d8e9949a722a51)
[2021-10-29T04:21:07-d6a9af8-f288526/linux-riscv64-unmatched](https://build.golang.org/log/5d327ff934b7e299b9a0e7c1c3ad4c01848f41ef)
[2021-10-28T22:38:00-e7eb6f6-af05d8b/linux-riscv64-unmatched](https://build.golang.org/log/2c17bc13516b8dc66d558e213a7aa24c72ba553f)
[2021-10-26T05:05:24-903c757-23fdd7f/linux-riscv64-unmatched](https://build.golang.org/log/8e6a2f86e7b0547fade323762218ddb6c1e07871)
[2021-10-23T12:53:38-affba50-b0f7eb6/linux-riscv64-unmatched](https://build.golang.org/log/30de17e7d6597450a4385d517cf8f9bcfbe59f38)
[2021-10-22T21:48:34-316ba0b-ae4d67c/linux-riscv64-unmatched](https://build.golang.org/log/e5062d214c5ece58555b210654154cb24a6fb8ae)
[2021-10-21T02:35:47-9b675d0-fca46d0/linux-riscv64-unmatched](https://build.golang.org/log/b38c0ac9b31b0400b6047dbc7b193f0be95cc026)
[2021-10-20T20:58:15-9b675d0-73652af/linux-riscv64-unmatched](https://build.golang.org/log/a0a08dd35437aad0c655e5b99b29705b9227d57d)
[2021-10-20T15:03:54-4ea6123-27a1454/linux-riscv64-unmatched](https://build.golang.org/log/908b66b6a15e843b0ec9027e31ba179f3804b872)
[2021-10-20T07:49:28-4ea6123-d2ec73c/linux-riscv64-unmatched](https://build.golang.org/log/68b40c6cd08852156b9bfc379f798e60ac903a31)
[2021-10-19T23:27:41-4ea6123-2be5b84/linux-riscv64-unmatched](https://build.golang.org/log/94f11e13695ea295b6a82b424677fb66255791f4)
[2021-10-19T20:35:15-1feb683-07e5527/linux-riscv64-unmatched](https://build.golang.org/log/e7e5021dd977a58d0c3f1b5c1f9bee7ce9b144b4)
[2021-10-17T04:27:13-98f6e03-cf51fb5/linux-riscv64-unmatched](https://build.golang.org/log/85bb013ef4c641b3a0dbb2c9482bb82cd7ff5436)
[2021-10-17T02:23:16-98f6e03-fa7d11a/linux-riscv64-unmatched](https://build.golang.org/log/17e6a438e79774479728ff7a1cb502a538cf477b)
[2021-10-16T16:27:40-98f6e03-640a49b/linux-riscv64-unmatched](https://build.golang.org/log/c200896d469555902eb6aeb6e6cadc04e4f41bf2)
[2021-10-16T14:50:21-98f6e03-680caf1/linux-riscv64-unmatched](https://build.golang.org/log/7685453d5a742a799fb320842b0f9366c3efd5da)
[2021-10-15T18:07:49-98f6e03-8331f25/linux-riscv64-unmatched](https://build.golang.org/log/e9902fb56196c32fb3285a833256b79d4f4a3e6b)
[2021-10-15T16:00:01-98f6e03-fad4a16/linux-riscv64-unmatched](https://build.golang.org/log/bb1222d03068cdf51590706a6900a993109d2c50)
[2021-10-15T07:13:43-288d0b3-1cbec68/linux-riscv64-unmatched](https://build.golang.org/log/99448960cd334daf96dd2b41f5615a072bd93235)
[2021-10-15T05:20:52-288d0b3-81484cf/linux-riscv64-unmatched](https://build.golang.org/log/395bc127efece3c7ab14611791cdf09e5a46a11b)
[2021-10-15T03:49:17-288d0b3-8dab959/linux-riscv64-unmatched](https://build.golang.org/log/ed82cf829bf6ce4c7508aeeafe10d6e9c30f5e55)
[2021-10-15T00:16:20-ce04ca3-9e8ed86/linux-riscv64-unmatched](https://build.golang.org/log/9bd587e9ec321c036e555e96003caff117f0a598)
[2021-10-14T23:32:09-3a269dc-9e8ed86/linux-riscv64-unmatched](https://build.golang.org/log/af964358b3e961e3418e0e68ff3b3a235150c9d2)
[2021-10-14T21:08:41-e69ba9d-0400d53/linux-riscv64-unmatched](https://build.golang.org/log/5e8338ce2d42975973ea121f15025c408d2b10ca)
[2021-10-14T19:24:35-e69ba9d-4cbc0a5/linux-riscv64-unmatched](https://build.golang.org/log/3a1d64843cc9a6f7be3e67d5557f190d90ad2af7)
[2021-10-14T14:04:14-e69ba9d-24e798e/linux-riscv64-unmatched](https://build.golang.org/log/7198c4d4a1b40becb22c6c60c2d36fc9f2576f46)
[2021-10-14T04:18:44-acac939-9e4dc6f/linux-riscv64-unmatched](https://build.golang.org/log/82990cae09325fb5fd90adfaf038e25600d3d2ba)
[2021-10-14T00:44:41-acac939-b90d258/linux-riscv64-unmatched](https://build.golang.org/log/090f446d4b53174b11bdb211534efeccb470b258)
[2021-10-13T22:21:08-ac2ed98-b90d258/linux-riscv64-unmatched](https://build.golang.org/log/6508b48c8faf54eb83c0b511a25d2e5101c7d3f9)
[2021-10-13T04:56:02-378b9e1-e8f99da/linux-riscv64-unmatched](https://build.golang.org/log/ea459119500d46caa44b151494816a6e44c12314)
[2021-10-12T06:55:50-c83725b-d887d3b/linux-riscv64-unmatched](https://build.golang.org/log/42ad60ce0ce18a672e1fa156e0b49cb205681f93)
[2021-10-11T22:57:32-c83725b-d90f0b9/linux-riscv64-unmatched](https://build.golang.org/log/2b470ac137b511468726837816a1cfcc0fa948b0)
[2021-10-09T23:29:26-ee04797-b99abf3/linux-riscv64-unmatched](https://build.golang.org/log/d78e87421f5e7c24c0495373fb7d7d8b83bf3038)
[2021-10-09T17:34:04-ee04797-ba2c9fe/linux-riscv64-unmatched](https://build.golang.org/log/d996db5c10b54fcee8de2914ade211087dacdaa7)
[2021-10-09T01:04:29-ee04797-e1c294a/linux-riscv64-unmatched](https://build.golang.org/log/713efbd638c712a22bfdca2ca043ce5ff96f87cf)
[2021-10-08T22:21:41-ee04797-74abcab/linux-riscv64-unmatched](https://build.golang.org/log/5ff5d24187b41ec9f4353415cb09c9d16dc0b330)
[2021-10-08T21:38:44-c5188f2-74abcab/linux-riscv64-unmatched](https://build.golang.org/log/bad6c6fc40f6655cc3799225d3387beebc07bed4)
[2021-10-08T02:09:58-c5188f2-e74db46/linux-riscv64-unmatched](https://build.golang.org/log/d43151ddebc000147967a126f46c92ff8d111be5)
[2021-10-08T00:24:52-c5188f2-78d749f/linux-riscv64-unmatched](https://build.golang.org/log/3a907b74af19e25638b1228176e1ac9cd1c3ad83)
[2021-10-07T03:41:40-d477ef3-6f74ed0/linux-riscv64-unmatched](https://build.golang.org/log/e5a23d7bb9a0a8c601cb992eb51360520ffc5b86)
[2021-10-07T00:39:17-d477ef3-812a33d/linux-riscv64-unmatched](https://build.golang.org/log/9823af5fbeaf827782e6c2383081125b64409ebc)
[2021-10-05T07:32:41-81efdbc-d55009c/linux-riscv64-unmatched](https://build.golang.org/log/feac6ced98b2f08c17b2d0b622d73ecbf4674af0)
[2021-10-05T03:23:35-81efdbc-123393a/linux-riscv64-unmatched](https://build.golang.org/log/8859ae833e667482166fb4072a7ac2130564e800)
[2021-10-05T01:30:56-36e7bf9-123393a/linux-riscv64-unmatched](https://build.golang.org/log/0097c3f66231c5861a93d148c044c31f698850a5)
[2021-10-05T00:29:40-36e7bf9-81b7ec1/linux-riscv64-unmatched](https://build.golang.org/log/64b77a51a05d5513df2b9a2f95e429d7917840cb)
[2021-10-04T03:19:02-ccaa907-3bbc823/linux-riscv64-unmatched](https://build.golang.org/log/75458cfdc24127a63fde959c5105bc9859af50c1)
[2021-10-02T16:05:55-0ebff1a-a7fe161/linux-riscv64-unmatched](https://build.golang.org/log/15acd5b5056b0931b3ae482ded1f45402c261a9b)
[2021-10-02T13:52:59-0ebff1a-07a7c6f/linux-riscv64-unmatched](https://build.golang.org/log/deb9615bf58a0bae0b86058bde19927778f1d036)
[2021-10-02T00:44:24-0ebff1a-afe43f1/linux-riscv64-unmatched](https://build.golang.org/log/39f889287fca07c7540afbf07270d24035df098a)
[2021-10-01T21:26:43-0ebff1a-0d65c27/linux-riscv64-unmatched](https://build.golang.org/log/9730c823087bdac67b95a280bd16fd2a4f1cd53c)
[2021-10-01T20:36:29-942994f-0d65c27/linux-riscv64-unmatched](https://build.golang.org/log/1035b200186a4e1e818a22abe6ca9c385c7cddad)
[2021-10-01T19:30:53-13c407c-0d65c27/linux-riscv64-unmatched](https://build.golang.org/log/c1b362ebfe035d8dccee321fcb187f996c6902c6)
[2021-10-01T14:06:36-e89823e-96d3ba8/linux-riscv64-unmatched](https://build.golang.org/log/37df805e060d1857e4e48b1cc9cd9b12d5e454e6)
[2021-10-01T04:28:36-e89823e-6a79f35/linux-riscv64-unmatched](https://build.golang.org/log/4ac59a31c7914c68e53b7df41f2ce846e5a025c7)
[2021-09-30T20:30:12-1c35f2a-c035d82/linux-riscv64-unmatched](https://build.golang.org/log/102cfc4b2e2b33b10cc75193cd21c6dbf93f64e4)
[2021-09-30T18:10:18-1c35f2a-205640e/linux-riscv64-unmatched](https://build.golang.org/log/f5eb85463a5fb0f4fe2b0cebd0ce608cc718d48f)
[2021-09-30T16:43:32-1c35f2a-9112d29/linux-riscv64-unmatched](https://build.golang.org/log/561021f6fe056d5f6d91b0a220206e41989695e5)
[2021-09-30T01:32:54-1c35f2a-6656269/linux-riscv64-unmatched](https://build.golang.org/log/2490c922b6e70eb099dea48440cd041ec00c42f2)
[2021-09-29T22:14:44-1c35f2a-2d6d558/linux-riscv64-unmatched](https://build.golang.org/log/13f2236cb911ee2f6d087b362606351af6f7254d)
[2021-09-29T19:22:48-1c35f2a-82ac9ab/linux-riscv64-unmatched](https://build.golang.org/log/1b4fcdd5b121a4722e893b52b9c4439480a89276)
[2021-09-29T19:20:39-7d467dc-82ac9ab/linux-riscv64-unmatched](https://build.golang.org/log/459bc58cea793b0620a81d810ac4b9e3db5289e0)
[2021-09-28T23:59:17-df9a164-435718e/linux-riscv64-unmatched](https://build.golang.org/log/6d021d6cd3f369bfe4f7252206da1b0a43bb9218)
[2021-09-28T22:34:40-0df0ca0-b8a6017/linux-riscv64-unmatched](https://build.golang.org/log/09facaf17d12872b04c522d87749daca70e5ff3f)
[2021-09-28T22:17:57-7898fe6-b8a6017/linux-riscv64-unmatched](https://build.golang.org/log/247d5479602d44d0df4195436dbac78a1ae6005c)
[2021-09-28T21:42:57-da36f79-b8a6017/linux-riscv64-unmatched](https://build.golang.org/log/1a7b931d0e9be1eb1ece0194af8f5da54b511320)
[2021-09-28T03:21:58-ba6b94c-534dfb2/linux-riscv64-unmatched](https://build.golang.org/log/1bb6c7e3c086dec0ed8b639f6ed823bc21f94d9d)
[2021-09-28T00:35:10-ba6b94c-850a4ff/linux-riscv64-unmatched](https://build.golang.org/log/23447604f25216c90831046b715929d1cdb8f4f0)
[2021-09-27T22:57:08-ba6b94c-12e8ffc/linux-riscv64-unmatched](https://build.golang.org/log/54f53291afede0310b397650b32d98de86a9811f)
[2021-09-24T19:46:09-939195f-cfd0868/linux-riscv64-unmatched](https://build.golang.org/log/285c9b8204f5e28417f710a13ff0f3b1b8dc86f2)
[2021-09-24T10:51:48-6d1e33f-fe8347b/linux-riscv64-unmatched](https://build.golang.org/log/9dcd1dd4fc1dbb1be96e0177aeb2eb6943ed9374)
[2021-09-22T03:45:00-b98090b-051df0d/linux-riscv64-unmatched](https://build.golang.org/log/1090a0a5b333d28359417f09cb29156340cefb18)
[2021-09-22T01:41:09-b98090b-3664950/linux-riscv64-unmatched](https://build.golang.org/log/8be92b20f153bdce0273bf396e87f49e16f3e4d6)
[2021-09-21T03:32:29-fe076c8-c7543e5/linux-riscv64-unmatched](https://build.golang.org/log/096252861d2f98934cb804d0bc46fda969f4a03d)
[2021-09-21T02:24:06-91c880c-986f8ea/linux-riscv64-unmatched](https://build.golang.org/log/9bb4c5f113baacad6dfae82edae1a152cfcf0615)
[2021-09-19T16:34:52-7559231-771b8ea/linux-riscv64-unmatched](https://build.golang.org/log/890de64b559016c0fed274bc90b3e511898b11ed)
[2021-09-19T02:43:09-2758b04-771b8ea/linux-riscv64-unmatched](https://build.golang.org/log/0d95f0a43efd8a1dc5651e9c1b93d55ee1b825ff)
[2021-09-18T06:04:41-2758b04-c894b44/linux-riscv64-unmatched](https://build.golang.org/log/961a883d08342e6c2f8f1c4d1725e9d6b2b1fac5)
[2021-09-17T23:44:10-2758b04-4b654c0/linux-riscv64-unmatched](https://build.golang.org/log/e3d88d4a51f798157d32750b3657463e4fafeca5)
[2021-09-17T21:29:32-2758b04-3fa7dbe/linux-riscv64-unmatched](https://build.golang.org/log/b592a0fe507e8bd0f91c09146045b43a5be8984e)
[2021-09-17T17:58:44-2758b04-6d02ce8/linux-riscv64-unmatched](https://build.golang.org/log/220f7c83325f66583fe29227c9b9ac2c83c960ea)
[2021-09-16T14:25:50-1a7ca93-04f5116/linux-riscv64-unmatched](https://build.golang.org/log/1a804acbed8280d64f2f6e15105563d3aab00626)
[2021-09-15T22:53:42-1a7ca93-cfa233d/linux-riscv64-unmatched](https://build.golang.org/log/744d42eaeab2b700b4551c7487cf077444634948)
[2021-09-15T20:29:43-1a7ca93-03df68d/linux-riscv64-unmatched](https://build.golang.org/log/11dd3534cdeee023d870f4b5ca8e816025cb658b)
[2021-09-15T18:56:22-1a7ca93-6196979/linux-riscv64-unmatched](https://build.golang.org/log/b09ce92db665e6b07126c0839c27061194739f17)
[2021-09-15T14:06:14-4ba3eff-e4dfd78/linux-riscv64-unmatched](https://build.golang.org/log/b2dc0c806883100abfec77669527139d7f196a2f)
[2021-09-15T09:43:47-02e5238-e4dfd78/linux-riscv64-unmatched](https://build.golang.org/log/45ff2b8b1245a8730013ac80155595f55dceba29)
[2021-09-15T03:29:46-0cffec9-4847c47/linux-riscv64-unmatched](https://build.golang.org/log/a7d84658fcdf9747c3ff009147a1630b7c06285d)
[2021-09-14T19:06:02-258ee27-181e8cd/linux-riscv64-unmatched](https://build.golang.org/log/ec96dc241478d614e362009d9d10158aae05f2d9)
[2021-09-14T14:27:57-384e5da-181e8cd/linux-riscv64-unmatched](https://build.golang.org/log/b3047dbf2488ac197df3fc24e7e900fbb353b118)
[2021-09-12T01:06:53-915f620-0d8a4bf/linux-riscv64-unmatched](https://build.golang.org/log/0550b409b6e00be165e8e48acb9766573a54dc60)
[2021-09-11T05:05:56-915f620-23832ba/linux-riscv64-unmatched](https://build.golang.org/log/f8c830016102e0b5446dd86f1792495034f1825e)
[2021-09-10T02:44:36-295a39b-2091bd3/linux-riscv64-unmatched](https://build.golang.org/log/1d0c6521af059432e09de9d463affc416892a202)
[2021-09-09T21:49:46-295a39b-c981874/linux-riscv64-unmatched](https://build.golang.org/log/eb2351ef671f85fae7532e86a52ceb7e1d0ce8fb)
[2021-09-08T19:08:28-2cae65c-65f0d24/linux-riscv64-unmatched](https://build.golang.org/log/b1e8c6deb5154c90ff0bbf0a2cdf46b62063ff72)
[2021-09-08T17:59:29-0a6f080-c8d4fe2/linux-riscv64-unmatched](https://build.golang.org/log/0a68b8cbff10b9433f765d390c96143941e4ecf3)
[2021-09-07T17:50:42-3604566-8118866/linux-riscv64-unmatched](https://build.golang.org/log/fd9f3368d846cb03655364817edea491aef6bf42)
[2021-09-03T22:56:58-d39bbca-4957976/linux-riscv64-unmatched](https://build.golang.org/log/89f8e2bce06daeafa2148e983a0c81dac23e7b40)
[2021-09-03T18:01:36-4e109c5-52aef05/linux-riscv64-unmatched](https://build.golang.org/log/b12b250212b12f0c083e38710b0aec7e8be19188)
[2021-09-03T17:12:04-7391fc1-52aef05/linux-riscv64-unmatched](https://build.golang.org/log/22bcd6838bd1b3689ccc67e75b0ed5a4f3bc339d)
[2021-09-02T19:56:24-3b801c8-065f380/linux-riscv64-unmatched](https://build.golang.org/log/de5289f3430e75c72d05658d86d7e2ce9eb6be3b)
[2021-09-02T18:21:15-3b801c8-7609b50/linux-riscv64-unmatched](https://build.golang.org/log/9cdb92be77cfabba62c2958ae2bbd6b5b557d151)
[2021-09-02T01:23:38-8373dc3-1bd35fa/linux-riscv64-unmatched](https://build.golang.org/log/e8d061dc07384529c25d6a551b56ac9670dc1a0d)

</details>

CC @findleyr