Skip to content

x/tools/gopls/internal/golang: TestFreeRefs/file4.go failures #73245

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 Apr 8, 2025 · 1 comment
Closed

x/tools/gopls/internal/golang: TestFreeRefs/file4.go failures #73245

gopherbot opened this issue Apr 8, 2025 · 1 comment
Labels
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/golang" && test == "TestFreeRefs/file4.go"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestFreeRefs/file4.go
    freesymbols_test.go:107: file4.go:1:19: could not import bytes (can't find import: "bytes": go: error obtaining buildID for go tool compile: fork/exec C:\Users\swarming\.swarming\w\ir\x\w\goroot\pkg\tool\windows_arm64\compile.exe: The paging file is too small for this operation to complete.
        )
    freesymbols_test.go:128: (-want +got)
          []string{
        - 	"local var buf.WriteByte",
        + 	"local var buf",
        - 	"local var buf.WriteString",
        + 	"local var buf",
          }
--- FAIL: TestFreeRefs/file4.go (0.25s)

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 Apr 8, 2025
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/golang" && test == "TestFreeRefs/file4.go"
2025-04-07 20:11 x_tools-gotip-windows-arm64 tools@5916e3cb go@b2819d13 x/tools/gopls/internal/golang.TestFreeRefs/file4.go (log)
=== RUN   TestFreeRefs/file4.go
    freesymbols_test.go:107: file4.go:1:19: could not import bytes (can't find import: "bytes": go: error obtaining buildID for go tool compile: fork/exec C:\Users\swarming\.swarming\w\ir\x\w\goroot\pkg\tool\windows_arm64\compile.exe: The paging file is too small for this operation to complete.
        )
    freesymbols_test.go:128: (-want +got)
          []string{
        - 	"local var buf.WriteByte",
        + 	"local var buf",
        - 	"local var buf.WriteString",
        + 	"local var buf",
          }
--- FAIL: TestFreeRefs/file4.go (0.25s)

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 Apr 8, 2025
@gopherbot gopherbot added this to the Unreleased milestone Apr 8, 2025
@qmuntal qmuntal closed this as completed Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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
Status: Done
Development

No branches or pull requests

2 participants