Skip to content
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

x/tools/gopls/internal/test/integration/completion: TestPackageCompletion/package_completion_for_empty_file/default failures #69678

Closed
gopherbot opened this issue Sep 27, 2024 · 2 comments
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/test/integration/completion" && test == "TestPackageCompletion/package_completion_for_empty_file/default"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestPackageCompletion/package_completion_for_empty_file/default
    completion_test.go:220: completion item mismatch (-want +got):
          []string{
        - 	"package apple",
        - 	"package apple_test",
          	"package fruits",
          	"package fruits_test",
          	"package main",
          }
        
...
        internal/cpu.Initialize({0x0, 0x0})
        	internal/cpu/cpu.go:139 +0x30 fp=0xb2039ff9f0 sp=0xb2039ff9c0 pc=0x7ff665d04240
        runtime.cpuinit(...)
        	runtime/proc.go:727
        runtime.schedinit()
        	runtime/proc.go:820 +0xf0 fp=0xb2039ffa50 sp=0xb2039ff9f0 pc=0x7ff665d3c930
        runtime.rt0_go()
        	runtime/asm_arm64.s:86 +0xac fp=0xb2039ffa80 sp=0xb2039ffa50 pc=0x7ff665d75cec
        ): exit status 2; removing files: <nil>
--- FAIL: TestPackageCompletion/package_completion_for_empty_file/default (1.70s)

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 Sep 27, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/completion" && test == "TestPackageCompletion/package_completion_for_empty_file/default"
2024-09-22 20:55 x_tools-go1.22-windows-arm64 tools@d2c1642d release-branch.go1.22@b4086b7c x/tools/gopls/internal/test/integration/completion.TestPackageCompletion/package_completion_for_empty_file/default (log)
=== RUN   TestPackageCompletion/package_completion_for_empty_file/default
    completion_test.go:220: completion item mismatch (-want +got):
          []string{
        - 	"package apple",
        - 	"package apple_test",
          	"package fruits",
          	"package fruits_test",
          	"package main",
          }
        
...
        internal/cpu.Initialize({0x0, 0x0})
        	internal/cpu/cpu.go:139 +0x30 fp=0xb2039ff9f0 sp=0xb2039ff9c0 pc=0x7ff665d04240
        runtime.cpuinit(...)
        	runtime/proc.go:727
        runtime.schedinit()
        	runtime/proc.go:820 +0xf0 fp=0xb2039ffa50 sp=0xb2039ff9f0 pc=0x7ff665d3c930
        runtime.rt0_go()
        	runtime/asm_arm64.s:86 +0xac fp=0xb2039ffa80 sp=0xb2039ffa50 pc=0x7ff665d75cec
        ): exit status 2; removing files: <nil>
--- FAIL: TestPackageCompletion/package_completion_for_empty_file/default (1.70s)

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 Sep 27, 2024
@gopherbot gopherbot added this to the Unreleased milestone Sep 27, 2024
@adonovan
Copy link
Member

Dup of #69664

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
Archived in project
Development

No branches or pull requests

2 participants