#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestCodeLens"
Issue created automatically to collect these failures.
=== RUN TestCodeLens
=== PAUSE TestCodeLens
=== CONT TestCodeLens
integration_test.go:237: gopls codelens ./a/a_test.go: exited with code 2, want success: true (gopls codelens ./a/a_test.go: exit=2 stdout=<<./a/a_test.go:3: "run test" [gopls.run_tests]
./a/a_test.go:4: "run test" [gopls.run_tests]
>> stderr=<<panic: surplus bytes
goroutine 2680 [running]:
golang.org/x/tools/gopls/internal/util/frob.(*frob).Decode(0x5bf0680ca600, {0x5bf0711be600, 0x8, 0x200}, {0x103819428?, 0x5bf07c120738?})
/Users/swarming/.swarming/w/ir/x/w/targetrepo2751927001/gopls/internal/util/frob/frob.go:252 +0x18c
...
panic: surplus bytes
goroutine 1119 [running]:
golang.org/x/tools/gopls/internal/util/frob.(*frob).Decode(0x46ab2d6aede0, {0x46ab354bd600, 0x8, 0x200}, {0x10453d428?, 0x46ab338194c8?})
/Users/swarming/.swarming/w/ir/x/w/targetrepo2751927001/gopls/internal/util/frob/frob.go:252 +0x18c
golang.org/x/tools/gopls/internal/util/frob.Codec[...].Decode(...)
/Users/swarming/.swarming/w/ir/x/w/targetrepo2751927001/gopls/internal/util/frob/frob.go:52
golang.org/x/tools/gopls/internal/cache.(*analysisNode).runCached(0x46ab35963760, {0x1047e6a98, 0x46ab3537d530}, {0xe2, 0x37, 0x30, 0x23, 0x4a, 0xd, 0x79, ...})
/Users/swarming/.swarming/w/ir/x/w/targetrepo2751927001/gopls/internal/cache/analysis.go:582 +0x1d8
golang.org/x/tools/gopls/internal/cache.(*Snapshot).Analyze.func6.1()
/Users/swarming/.swarming/w/ir/x/w/targetrepo2751927001/gopls/internal/cache/analysis.go:340 +0x3d0
golang.org/x/sync/errgroup.(*Group).Go.func1()
/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 +0x4c
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1107
/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.20.0/errgroup/errgroup.go:78 +0x94
>>)
--- FAIL: TestCodeLens (6.82s)
Issue created automatically to collect these failures.
Example (log):
— watchflakes