-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed as duplicate of#76755
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.
Milestone
Description
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestCodeLens"
Issue created automatically to collect these failures.
Example (log):
=== 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=<<2025/12/08 06:44:44 Error:2025/12/08 06:44:44 go/packages.Load #1: err: exit status 2: stderr: runtime: bad span s.state=0 s.sweepgen=490079 sweepgen=4
fatal error: non in-use span in unswept list
goroutine 3 gp=0x2738f464d20 m=4 mp=0x2738f4b9008 [running]:
runtime.throw({0x40fb29d?, 0x2738f464d00?})
...
fatal error: non in-use span in unswept list
goroutine 3 gp=0x2738f464d20 m=4 mp=0x2738f4b9008 [running]:
runtime.throw({0x40fb29d?, 0x2738f464d00?})
runtime/panic.go:1229 +0x48 fp=0x2738f4b5738 sp=0x2738f4b5708 pc=0x3ac5628
runtime.sweepone()
runtime/mgcsweep.go:389 +0x236 fp=0x2738f4b5788 sp=0x2738f4b5738 pc=0x3a79ab6
runtime.bgsweep(0x2738f4cc000)
runtime/mgcsweep.go:300 +0xa6 fp=0x2738f4b57c8 sp=0x2738f4b5788 pc=0x3a796e6
runtime.gcenable.gowrap1()
...
sync.(*Once).Do(...)
/Users/swarming/.swarming/w/ir/x/w/goroot/src/sync/once.go:69
golang.org/x/tools/gopls/internal/cache.execActions.func1()
/Users/swarming/.swarming/w/ir/x/w/targetrepo360036075/gopls/internal/cache/analysis.go:894 +0x4c
sync.(*WaitGroup).Go.func1()
/Users/swarming/.swarming/w/ir/x/w/goroot/src/sync/waitgroup.go:258 +0x4a
created by sync.(*WaitGroup).Go in goroutine 1014
/Users/swarming/.swarming/w/ir/x/w/goroot/src/sync/waitgroup.go:238 +0x7d
>>
--- FAIL: TestCodeLens (11.20s)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.
Type
Projects
Status
Done