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: TestTemplatesFromExtensions failures #66106

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
Contributor

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

Issue created automatically to collect these failures.

Example (log):

goroutine profile: total 6
1 @ 0x12e6991 0x132237d 0x14aebf1 0x14aea25 0x14ab84b 0x1ce9f90 0x1ce9b14 0x13ff41b 0x1329441
#	0x132237c	runtime/pprof.runtime_goroutineProfileWithLabels+0x1c				C:/workdir/go/src/runtime/mprof.go:1079
#	0x14aebf0	runtime/pprof.writeRuntimeProfile+0xb0						C:/workdir/go/src/runtime/pprof/pprof.go:775
#	0x14aea24	runtime/pprof.writeGoroutine+0x44						C:/workdir/go/src/runtime/pprof/pprof.go:734
#	0x14ab84a	runtime/pprof.(*Profile).WriteTo+0x14a						C:/workdir/go/src/runtime/pprof/pprof.go:369
#	0x1ce9f8f	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
#	0x1ce9b13	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
#	0x13ff41a	testing.tRunner+0xfa								C:/workdir/go/src/testing/testing.go:1689

...
#	0x15265dd	net.(*TCPListener).accept+0x1d				C:/workdir/go/src/net/tcpsock_posix.go:159
#	0x15256af	net.(*TCPListener).Accept+0x2f				C:/workdir/go/src/net/tcpsock.go:367
#	0x1537d3a	golang.org/x/tools/internal/jsonrpc2.Serve.func1+0x9a	C:/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/serve.go:76

1 @ 0x12f30ae 0x13048a5 0x15373b1 0x1329441
#	0x15373b0	golang.org/x/tools/internal/jsonrpc2.Serve+0x350	C:/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/serve.go:112

--- FAIL: TestTemplatesFromExtensions (16.75s)
    --- FAIL: TestTemplatesFromExtensions/default (6.84s)
        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-3692199073\TestTemplatesFromExtensions\default\work: The process cannot access the file because it is being used by another process.

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/template" && test == "TestTemplatesFromExtensions"
2024-02-29 21:45 windows-amd64-longtest tools@5bf7d005 go@b09ac10b x/tools/gopls/internal/test/integration/template.TestTemplatesFromExtensions (log)
goroutine profile: total 6
1 @ 0x12e6991 0x132237d 0x14aebf1 0x14aea25 0x14ab84b 0x1ce9f90 0x1ce9b14 0x13ff41b 0x1329441
#	0x132237c	runtime/pprof.runtime_goroutineProfileWithLabels+0x1c				C:/workdir/go/src/runtime/mprof.go:1079
#	0x14aebf0	runtime/pprof.writeRuntimeProfile+0xb0						C:/workdir/go/src/runtime/pprof/pprof.go:775
#	0x14aea24	runtime/pprof.writeGoroutine+0x44						C:/workdir/go/src/runtime/pprof/pprof.go:734
#	0x14ab84a	runtime/pprof.(*Profile).WriteTo+0x14a						C:/workdir/go/src/runtime/pprof/pprof.go:369
#	0x1ce9f8f	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
#	0x1ce9b13	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
#	0x13ff41a	testing.tRunner+0xfa								C:/workdir/go/src/testing/testing.go:1689

...
#	0x15265dd	net.(*TCPListener).accept+0x1d				C:/workdir/go/src/net/tcpsock_posix.go:159
#	0x15256af	net.(*TCPListener).Accept+0x2f				C:/workdir/go/src/net/tcpsock.go:367
#	0x1537d3a	golang.org/x/tools/internal/jsonrpc2.Serve.func1+0x9a	C:/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/serve.go:76

1 @ 0x12f30ae 0x13048a5 0x15373b1 0x1329441
#	0x15373b0	golang.org/x/tools/internal/jsonrpc2.Serve+0x350	C:/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2/serve.go:112

--- FAIL: TestTemplatesFromExtensions (16.75s)
    --- FAIL: TestTemplatesFromExtensions/default (6.84s)
        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-3692199073\TestTemplatesFromExtensions\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 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
@bcmills bcmills removed this from Test Flakes 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