Skip to content

x/tools/gopls/internal/cmd: TestHighlight failures #69683

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 Sep 27, 2024 · 2 comments
Closed

x/tools/gopls/internal/cmd: TestHighlight failures #69683

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/cmd" && test == "TestHighlight"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestHighlight
=== PAUSE TestHighlight
=== CONT  TestHighlight
    integration_test.go:479: gopls highlight a.go:4:7: exited with code 2, want success: true (gopls highlight a.go:4:7: exit=2 stdout=<<.\a.go:4:6-13
        .\a.go:5:6-13
        >> stderr=<<fatal error: runtime: cannot allocate memory
        
        runtime stack:
        runtime.throw({0x7ff65320093e?, 0x239bedb91a8?})
        	C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/panic.go:1067 +0x38 fp=0x54f0dff6e0 sp=0x54f0dff6b0 pc=0x7ff652654788
...
        golang.org/x/tools/gopls/internal/cache.(*analysisNode).run.func1()
        	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo1381114845/gopls/internal/cache/analysis.go:820 +0x54 fp=0x400018bf60 sp=0x400018bf00 pc=0x7ff652db3744
        golang.org/x/sync/errgroup.(*Group).Go.func1()
        	C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:78 +0x54 fp=0x400018bfd0 sp=0x400018bf60 pc=0x7ff652a74424
        runtime.goexit({})
        	C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/asm_arm64.s:1223 +0x4 fp=0x400018bfd0 sp=0x400018bfd0 pc=0x7ff65265d7e4
        created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1537
        	C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:75 +0x98
        >>)
--- FAIL: TestHighlight (9.18s)

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/cmd" && test == "TestHighlight"
2024-09-22 20:55 x_tools-go1.22-windows-arm64 tools@d2c1642d release-branch.go1.22@b4086b7c x/tools/gopls/internal/cmd.TestHighlight (log)
=== RUN   TestHighlight
=== PAUSE TestHighlight
=== CONT  TestHighlight
    integration_test.go:479: gopls highlight a.go:4:7: exited with code 2, want success: true (gopls highlight a.go:4:7: exit=2 stdout=<<.\a.go:4:6-13
        .\a.go:5:6-13
        >> stderr=<<fatal error: runtime: cannot allocate memory
        
        runtime stack:
        runtime.throw({0x7ff65320093e?, 0x239bedb91a8?})
        	C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/panic.go:1067 +0x38 fp=0x54f0dff6e0 sp=0x54f0dff6b0 pc=0x7ff652654788
...
        golang.org/x/tools/gopls/internal/cache.(*analysisNode).run.func1()
        	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo1381114845/gopls/internal/cache/analysis.go:820 +0x54 fp=0x400018bf60 sp=0x400018bf00 pc=0x7ff652db3744
        golang.org/x/sync/errgroup.(*Group).Go.func1()
        	C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:78 +0x54 fp=0x400018bfd0 sp=0x400018bf60 pc=0x7ff652a74424
        runtime.goexit({})
        	C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/[email protected]/src/runtime/asm_arm64.s:1223 +0x4 fp=0x400018bfd0 sp=0x400018bfd0 pc=0x7ff65265d7e4
        created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1537
        	C:/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:75 +0x98
        >>)
--- FAIL: TestHighlight (9.18s)

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
@findleyr
Copy link
Member

Dupe of #69664.

@findleyr findleyr closed this as not planned Won't fix, can't repro, duplicate, stale Sep 28, 2024
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