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/template: TestDisablingCodeLens failures #66102

Closed
gopherbot opened this issue Mar 4, 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

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/template" && test == "TestDisablingCodeLens"

Issue created automatically to collect these failures.

Example (log):

goroutine profile: total 8
1 @ 0x10c6991 0x110237d 0x128ebf1 0x128ea25 0x128b84b 0x1aca490 0x1aca014 0x11df41b 0x1109441
#	0x110237c	runtime/pprof.runtime_goroutineProfileWithLabels+0x1c				C:/workdir/go/src/runtime/mprof.go:1079
#	0x128ebf0	runtime/pprof.writeRuntimeProfile+0xb0						C:/workdir/go/src/runtime/pprof/pprof.go:775
#	0x128ea24	runtime/pprof.writeGoroutine+0x44						C:/workdir/go/src/runtime/pprof/pprof.go:734
#	0x128b84a	runtime/pprof.(*Profile).WriteTo+0x14a						C:/workdir/go/src/runtime/pprof/pprof.go:369
#	0x1aca48f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/runner.go:207
#	0x1aca013	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0xc93	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/runner.go:255
#	0x11df41a	testing.tRunner+0xfa								C:/workdir/go/src/testing/testing.go:1689

...
#	0x13173b0	golang.org/x/tools/internal/jsonrpc2.Serve+0x350	C:/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/serve.go:112

1 @ 0x10d30ae 0x1105bba 0x18254ca 0x1109441
#	0x1105bb9	time.Sleep+0x119					C:/workdir/go/src/runtime/time.go:214
#	0x18254c9	golang.org/x/tools/gopls/internal/filecache.gc+0x249	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/filecache/filecache.go:507

--- FAIL: TestDisablingCodeLens (34.12s)
    --- FAIL: TestDisablingCodeLens/generate_disabled (19.08s)
        --- FAIL: TestDisablingCodeLens/generate_disabled/default (10.13s)
            runner.go:208: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: remove C:\Users\gopher\AppData\Local\Temp\1\gopls-test-988760894\TestDisablingCodeLens\generate_disabled\default\work: The process cannot access the file because it is being used by another process.

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 Mar 4, 2024
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/template" && test == "TestDisablingCodeLens"
2024-02-29 21:45 windows-amd64-longtest tools@5bf7d005 go@b09ac10b x/tools/gopls/internal/test/integration/template.TestDisablingCodeLens (log)
goroutine profile: total 8
1 @ 0x10c6991 0x110237d 0x128ebf1 0x128ea25 0x128b84b 0x1aca490 0x1aca014 0x11df41b 0x1109441
#	0x110237c	runtime/pprof.runtime_goroutineProfileWithLabels+0x1c				C:/workdir/go/src/runtime/mprof.go:1079
#	0x128ebf0	runtime/pprof.writeRuntimeProfile+0xb0						C:/workdir/go/src/runtime/pprof/pprof.go:775
#	0x128ea24	runtime/pprof.writeGoroutine+0x44						C:/workdir/go/src/runtime/pprof/pprof.go:734
#	0x128b84a	runtime/pprof.(*Profile).WriteTo+0x14a						C:/workdir/go/src/runtime/pprof/pprof.go:369
#	0x1aca48f	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x6f	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/runner.go:207
#	0x1aca013	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0xc93	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/test/integration/runner.go:255
#	0x11df41a	testing.tRunner+0xfa								C:/workdir/go/src/testing/testing.go:1689

...
#	0x13173b0	golang.org/x/tools/internal/jsonrpc2.Serve+0x350	C:/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/serve.go:112

1 @ 0x10d30ae 0x1105bba 0x18254ca 0x1109441
#	0x1105bb9	time.Sleep+0x119					C:/workdir/go/src/runtime/time.go:214
#	0x18254c9	golang.org/x/tools/gopls/internal/filecache.gc+0x249	C:/workdir/gopath/src/golang.org/x/tools/gopls/internal/filecache/filecache.go:507

--- FAIL: TestDisablingCodeLens (34.12s)
    --- FAIL: TestDisablingCodeLens/generate_disabled (19.08s)
        --- FAIL: TestDisablingCodeLens/generate_disabled/default (10.13s)
            runner.go:208: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: <nil>; removing files: remove C:\Users\gopher\AppData\Local\Temp\1\gopls-test-988760894\TestDisablingCodeLens\generate_disabled\default\work: The process cannot access the file because it is being used by another process.

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 Mar 4, 2024
@gopherbot gopherbot added this to the Unreleased milestone Mar 4, 2024
@bcmills
Copy link
Contributor

bcmills commented Mar 4, 2024

Duplicate of #66099

@bcmills bcmills marked this as a duplicate of #66099 Mar 4, 2024
@bcmills bcmills closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 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
None yet
Development

No branches or pull requests

2 participants