Skip to content

x/tools/gopls/internal/cmd: TestStats failures #66112

@gopherbot

Description

@gopherbot
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestStats"

Issue created automatically to collect these failures.

Example (log):

2024/03/05 02:18:15 New session
	create_session=1
Log: Loading packages...
2024/03/05 02:18:15 go info for /scratch/gobuilder/buildlet/tmp/fake572965668
(view type GoModView)
(root dir /scratch/gobuilder/buildlet/tmp/fake572965668)
(go version go version devel 5dcc04aeacdaa78cc431e3f8b2119d2f351685b5 netbsd/arm)
(build flags: [])
(go env: {GOOS:netbsd GOARCH:arm GOCACHE:/scratch/gobuilder/buildlet/gocache GOMODCACHE:/scratch/gobuilder/buildlet/gopath/pkg/mod GOPATH:/scratch/gobuilder/buildlet/gopath GOPRIVATE: GOFLAGS: GO111MODULE: GoVersion:23 GoVersionOutput:go version devel 5dcc04aeacdaa78cc431e3f8b2119d2f351685b5 netbsd/arm
 GOWORK: GOPACKAGESDRIVER:})
...
	snapshot=2
	directory=file:///scratch/gobuilder/buildlet/tmp/fake572965668
	package="fake"
	files=[/scratch/gobuilder/buildlet/tmp/fake572965668/fake.go]
2024/03/05 02:18:17 go/packages.Load #3: updating metadata for 0 packages
2024/03/05 02:18:19 Shutdown session
	shutdown_session=1
2024/03/05 02:18:19 warning: while diagnosing orphaned files: session is shut down
--- FAIL: TestStats (13.64s)
    integration_test.go:874: stats.DirStats.Files = 5, want 4

watchflakes

Metadata

Metadata

Assignees

No one assigned

    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