Skip to content

x/tools/gopls/internal/test/integration/codelens: TestUnusedDependenciesCodelens/default failures #73236

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
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/codelens" && test == "TestUnusedDependenciesCodelens/default"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestUnusedDependenciesCodelens/default
    codelens_test.go:351: err: exit status 2: stderr: fatal error: out of memory allocating heap arena map
        
        runtime stack:
        runtime.throw({0x7ff6586e2bdd?, 0x0?})
        	runtime/panic.go:1101 +0x38 fp=0xfbea1ff990 sp=0xfbea1ff960 pc=0x7ff6580728f8
        runtime.(*mheap).sysAlloc(0x7ff658bfb9c0, 0x23d17c08650?, 0x7ff658c0be00, 0x1)
        	runtime/malloc.go:770 +0x344 fp=0xfbea1ffa50 sp=0xfbea1ff990 pc=0x7ff658016194
        runtime.(*mheap).grow(0x7ff658bfb9c0, 0x7ff65802e018?)
        	runtime/mheap.go:1497 +0x84 fp=0xfbea1ffad0 sp=0xfbea1ffa50 pc=0x7ff65802ee44
...

1 @ 0x7ff6a9017398 0x7ff6a8fb00cc 0x7ff6a8fafc74 0x7ff6a9258d98 0x7ff6a901fb44
#	0x7ff6a9258d97	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x47	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo3296448865/gopls/internal/protocol/context.go:47

1 @ 0x7ff6a9017398 0x7ff6a901b6d8 0x7ff6a936beec 0x7ff6a901fb44
#	0x7ff6a901b6d7	time.Sleep+0x157					C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:338
#	0x7ff6a936beeb	golang.org/x/tools/gopls/internal/filecache.gc+0xdb	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo3296448865/gopls/internal/filecache/filecache.go:457

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: ): fork/exec C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin\go.exe: The paging file is too small for this operation to complete.; removing files: <nil>
--- FAIL: TestUnusedDependenciesCodelens/default (1.41s)

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/test/integration/codelens" && test == "TestUnusedDependenciesCodelens/default"
2025-04-07 19:33 x_tools-go1.24-windows-arm64 tools@9a1fbbdb release-branch.go1.24@fa7217f7 x/tools/gopls/internal/test/integration/codelens.TestUnusedDependenciesCodelens/default (log)
=== RUN   TestUnusedDependenciesCodelens/default
    codelens_test.go:351: err: exit status 2: stderr: fatal error: out of memory allocating heap arena map
        
        runtime stack:
        runtime.throw({0x7ff6586e2bdd?, 0x0?})
        	runtime/panic.go:1101 +0x38 fp=0xfbea1ff990 sp=0xfbea1ff960 pc=0x7ff6580728f8
        runtime.(*mheap).sysAlloc(0x7ff658bfb9c0, 0x23d17c08650?, 0x7ff658c0be00, 0x1)
        	runtime/malloc.go:770 +0x344 fp=0xfbea1ffa50 sp=0xfbea1ff990 pc=0x7ff658016194
        runtime.(*mheap).grow(0x7ff658bfb9c0, 0x7ff65802e018?)
        	runtime/mheap.go:1497 +0x84 fp=0xfbea1ffad0 sp=0xfbea1ffa50 pc=0x7ff65802ee44
...

1 @ 0x7ff6a9017398 0x7ff6a8fb00cc 0x7ff6a8fafc74 0x7ff6a9258d98 0x7ff6a901fb44
#	0x7ff6a9258d97	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x47	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo3296448865/gopls/internal/protocol/context.go:47

1 @ 0x7ff6a9017398 0x7ff6a901b6d8 0x7ff6a936beec 0x7ff6a901fb44
#	0x7ff6a901b6d7	time.Sleep+0x157					C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:338
#	0x7ff6a936beeb	golang.org/x/tools/gopls/internal/filecache.gc+0xdb	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo3296448865/gopls/internal/filecache/filecache.go:457

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: ): fork/exec C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin\go.exe: The paging file is too small for this operation to complete.; removing files: <nil>
--- FAIL: TestUnusedDependenciesCodelens/default (1.41s)

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