Skip to content

x/tools/gopls/internal/cmd: TestCodeLens failures #73216

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

x/tools/gopls/internal/cmd: TestCodeLens failures #73216

gopherbot opened this issue Apr 7, 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/cmd" && test == "TestCodeLens"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestCodeLens
=== PAUSE TestCodeLens
=== CONT  TestCodeLens
    integration_test.go:237: gopls codelens ./a/a_test.go: exited with code 2, want success: true (gopls codelens ./a/a_test.go: exit=2 stdout=<<.\a\a_test.go:3: "run test" [gopls.run_tests]
        .\a\a_test.go:4: "run test" [gopls.run_tests]
        >> stderr=<<runtime: failed to create new OS thread (have 53 already; errno=1450)
        fatal error: runtime.newosproc
        
        runtime stack:
        runtime.throw({0x7ff7e60f4191?, 0x0?})
...
        runtime/trace.WithRegion({0x7ff7e63e92b0?, 0x4012ed01e0?}, {0x40086fa2c0, 0x1c}, 0x40002f3f78)
        	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0xc0 fp=0x4012efff10 sp=0x4012effea0 pc=0x7ff7e55b06e0
        golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo3195983988/internal/memoize/memoize.go:180 +0xd0 fp=0x4012efffd0 sp=0x4012efff10 pc=0x7ff7e5ba2cc0
        runtime.goexit({})
        	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_arm64.s:1266 +0x4 fp=0x4012efffd0 sp=0x4012efffd0 pc=0x7ff7e54ee584
        created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 3793
        	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo3195983988/internal/memoize/memoize.go:179 +0x180
        >>)
--- FAIL: TestCodeLens (23.34s)

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

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/cmd" && test == "TestCodeLens"
2025-04-07 19:33 x_tools-gotip-windows-arm64 tools@9a1fbbdb go@8054d2da x/tools/gopls/internal/cmd.TestCodeLens (log)
=== RUN   TestCodeLens
=== PAUSE TestCodeLens
=== CONT  TestCodeLens
    integration_test.go:237: gopls codelens ./a/a_test.go: exited with code 2, want success: true (gopls codelens ./a/a_test.go: exit=2 stdout=<<.\a\a_test.go:3: "run test" [gopls.run_tests]
        .\a\a_test.go:4: "run test" [gopls.run_tests]
        >> stderr=<<runtime: failed to create new OS thread (have 53 already; errno=1450)
        fatal error: runtime.newosproc
        
        runtime stack:
        runtime.throw({0x7ff7e60f4191?, 0x0?})
...
        runtime/trace.WithRegion({0x7ff7e63e92b0?, 0x4012ed01e0?}, {0x40086fa2c0, 0x1c}, 0x40002f3f78)
        	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0xc0 fp=0x4012efff10 sp=0x4012effea0 pc=0x7ff7e55b06e0
        golang.org/x/tools/internal/memoize.(*Promise).run.func2()
        	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo3195983988/internal/memoize/memoize.go:180 +0xd0 fp=0x4012efffd0 sp=0x4012efff10 pc=0x7ff7e5ba2cc0
        runtime.goexit({})
        	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_arm64.s:1266 +0x4 fp=0x4012efffd0 sp=0x4012efffd0 pc=0x7ff7e54ee584
        created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 3793
        	C:/Users/swarming/.swarming/w/ir/x/w/targetrepo3195983988/internal/memoize/memoize.go:179 +0x180
        >>)
--- FAIL: TestCodeLens (23.34s)

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 7, 2025
@gopherbot gopherbot added this to the Unreleased milestone Apr 7, 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