Skip to content

x/tools/gopls: imports.(*ProcessEnv).GetResolver stuck waiting for go list #73724

Description

@gopherbot
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/codelens" && test == "TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default
goroutine profile: total 12
1 @ 0x9b9fb1 0x9f8a9d 0xb96db1 0xb96be5 0xb93a0b 0x150ec30 0x150e883 0xae184b 0xa02541
#	0xb96db0	runtime/pprof.writeRuntimeProfile+0xb0						C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.2.windows-amd64/src/runtime/pprof/pprof.go:796
#	0xb96be4	runtime/pprof.writeGoroutine+0x44						C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.2.windows-amd64/src/runtime/pprof/pprof.go:755
#	0xb93a0a	runtime/pprof.(*Profile).WriteTo+0x14a						C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.2.windows-amd64/src/runtime/pprof/pprof.go:377
#	0x150ec2f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	C:/b/s/w/ir/x/w/targetrepo3829237906/gopls/internal/test/integration/runner.go:197
#	0x150e882	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x962	C:/b/s/w/ir/x/w/targetrepo3829237906/gopls/internal/test/integration/runner.go:239
#	0xae184a	testing.tRunner+0xca								C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.2.windows-amd64/src/testing/testing.go:1792

...
#	0x11c60c9	golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver+0x309		C:/b/s/w/ir/x/w/targetrepo3829237906/internal/imports/fix.go:1034
#	0x12c3595	golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv+0xd5	C:/b/s/w/ir/x/w/targetrepo3829237906/gopls/internal/cache/imports.go:300
#	0x12c1fe3	golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1+0xc3	C:/b/s/w/ir/x/w/targetrepo3829237906/gopls/internal/cache/imports.go:72

1 @ 0x9f9d4e 0x9fe167 0xda5fb4 0xa02541
#	0x9fe166	time.Sleep+0x166					C:/b/s/w/ir/x/w/gopath/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.2.windows-amd64/src/runtime/time.go:338
#	0xda5fb3	golang.org/x/tools/gopls/internal/filecache.gc+0x133	C:/b/s/w/ir/x/w/targetrepo3829237906/gopls/internal/filecache/filecache.go:457

    runner.go:198: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: remove C:\b\s\w\ir\x\t\gopls-test-1799931562\TestUpgradeCodelens_Workspace\Upgrade_transitive_dependencies\default\gopath\pkg\mod\cache\download\golang.org\x\hello\@v: The directory is not empty.
--- FAIL: TestUpgradeCodelens_Workspace/Upgrade_transitive_dependencies/default (37.98s)

watchflakes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone 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.goplsIssues related to the Go language server, gopls.

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions