Skip to content

x/tools/gopls/internal/test: shutdown failures with "directory not empty" #64971

Closed
@gopherbot

Description

@gopherbot
#!watchflakes
default <- pkg ~ `^golang.org/x/tools/gopls/internal/test` && `directory not empty`

Issue created automatically to collect these failures.

Example (log):

serve.go:443: debug server listening at http://localhost:49278
serve.go:443: debug server listening at http://localhost:49279
goroutine profile: total 10
2 @ 0x103cf4e 0x1036137 0x106a7a5 0x10a9387 0x10ae86c 0x10ae85a 0x1240c49 0x125537e 0x1254550 0x163bfe4 0x181b4a5 0x181b4a6 0x1070d21
#	0x106a7a4	internal/poll.runtime_pollWait+0x84					/tmp/buildlet/go/src/runtime/netpoll.go:343
#	0x10a9386	internal/poll.(*pollDesc).wait+0x26					/tmp/buildlet/go/src/internal/poll/fd_poll_runtime.go:84
#	0x10ae86b	internal/poll.(*pollDesc).waitRead+0x2ab				/tmp/buildlet/go/src/internal/poll/fd_poll_runtime.go:89
#	0x10ae859	internal/poll.(*FD).Accept+0x299					/tmp/buildlet/go/src/internal/poll/fd_unix.go:611
#	0x1240c48	net.(*netFD).accept+0x28						/tmp/buildlet/go/src/net/fd_unix.go:172
#	0x125537d	net.(*TCPListener).accept+0x1d						/tmp/buildlet/go/src/net/tcpsock_posix.go:152
...
1 @ 0x103cf4e 0x104d305 0x1264985 0x1070d21
#	0x1264984	golang.org/x/tools/internal/jsonrpc2.Serve+0x384	/tmp/buildlet/gopath/src/golang.org/x/tools/internal/jsonrpc2/serve.go:112

1 @ 0x103cf4e 0x106d885 0x13d5b76 0x1070d21
#	0x106d884	time.Sleep+0x124					/tmp/buildlet/go/src/runtime/time.go:195
#	0x13d5b75	golang.org/x/tools/gopls/internal/filecache.gc+0x275	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/filecache/filecache.go:507

--- FAIL: TestRenamePackage_NestedModule (3.61s)
    --- FAIL: TestRenamePackage_NestedModule/default (3.61s)
        runner.go:208: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: unlinkat /tmp/buildlet/tmp/gopls-test-4165152782/TestRenamePackage_NestedModule/default: directory not empty

watchflakes

Metadata

Metadata

Assignees

Labels

FrozenDueToAgeNeedsInvestigationSomeone 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

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions