Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gopherbot opened this issue Mar 5, 2024 · 2 comments
Closed

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

gopherbot opened this issue Mar 5, 2024 · 2 comments
Labels
FrozenDueToAge gopls Issues related to the Go language server, gopls. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@gopherbot
Copy link
Contributor

#!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

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Mar 5, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestStats"
2024-03-04 22:41 netbsd-arm-bsiegert tools@7656c4c6 go@5dcc04ae x/tools/gopls/internal/cmd.TestStats (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

@gopherbot gopherbot added Tools This label describes issues relating to any tools in the x/tools repository. gopls Issues related to the Go language server, gopls. labels Mar 5, 2024
@gopherbot gopherbot added this to the Unreleased milestone Mar 5, 2024
@adonovan
Copy link
Member

adonovan commented Mar 5, 2024

Dup of #66111.

@adonovan adonovan closed this as completed Mar 5, 2024
@golang golang locked and limited conversation to collaborators Mar 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge gopls Issues related to the Go language server, gopls. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
Archived in project
Development

No branches or pull requests

2 participants