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/diagnostics: TestNoGOPATH_Issue37984/default failures #70490

Open
gopherbot opened this issue Nov 21, 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/diagnostics" && test == "TestNoGOPATH_Issue37984/default"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestNoGOPATH_Issue37984/default
goroutine profile: total 5
1 @ 0x47dc0 0x8d45c 0x22ab84 0x22a9a8 0x226f80 0xaccfc0 0xaccb78 0x17b290 0x95ca4
#	0x22ab83	runtime/pprof.writeRuntimeProfile+0xb7						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#	0x22a9a7	runtime/pprof.writeGoroutine+0x73						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#	0x226f7f	runtime/pprof.(*Profile).WriteTo+0xe3						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#	0xaccfbf	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x87	/home/swarming/.swarming/w/ir/x/w/targetrepo1414963539/gopls/internal/test/integration/runner.go:198
#	0xaccb77	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x8b3	/home/swarming/.swarming/w/ir/x/w/targetrepo1414963539/gopls/internal/test/integration/runner.go:240
#	0x17b28f	testing.tRunner+0x123								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1764

...

1 @ 0x8e794 0x19d78 0x1985c 0x42eab4 0x95ca4
#	0x42eab3	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x4f	/home/swarming/.swarming/w/ir/x/w/targetrepo1414963539/gopls/internal/protocol/context.go:47

1 @ 0x8e794 0x929c8 0x43cb78 0x95ca4
#	0x929c7		time.Sleep+0x1f3					/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:338
#	0x43cb77	golang.org/x/tools/gopls/internal/filecache.gc+0xdf	/home/swarming/.swarming/w/ir/x/w/targetrepo1414963539/gopls/internal/filecache/filecache.go:443

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: ): fork/exec /home/swarming/.swarming/w/ir/x/w/goroot/bin/go: bad file descriptor; removing files: <nil>
--- FAIL: TestNoGOPATH_Issue37984/default (50.98s)

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 Nov 21, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/diagnostics" && test == "TestNoGOPATH_Issue37984/default"
2024-11-20 16:07 x_tools-gotip-netbsd-arm tools@e7517567 go@a311754d x/tools/gopls/internal/test/integration/diagnostics.TestNoGOPATH_Issue37984/default (log)
=== RUN   TestNoGOPATH_Issue37984/default
goroutine profile: total 5
1 @ 0x47dc0 0x8d45c 0x22ab84 0x22a9a8 0x226f80 0xaccfc0 0xaccb78 0x17b290 0x95ca4
#	0x22ab83	runtime/pprof.writeRuntimeProfile+0xb7						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#	0x22a9a7	runtime/pprof.writeGoroutine+0x73						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#	0x226f7f	runtime/pprof.(*Profile).WriteTo+0xe3						/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#	0xaccfbf	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x87	/home/swarming/.swarming/w/ir/x/w/targetrepo1414963539/gopls/internal/test/integration/runner.go:198
#	0xaccb77	golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x8b3	/home/swarming/.swarming/w/ir/x/w/targetrepo1414963539/gopls/internal/test/integration/runner.go:240
#	0x17b28f	testing.tRunner+0x123								/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1764

...

1 @ 0x8e794 0x19d78 0x1985c 0x42eab4 0x95ca4
#	0x42eab3	golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x4f	/home/swarming/.swarming/w/ir/x/w/targetrepo1414963539/gopls/internal/protocol/context.go:47

1 @ 0x8e794 0x929c8 0x43cb78 0x95ca4
#	0x929c7		time.Sleep+0x1f3					/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:338
#	0x43cb77	golang.org/x/tools/gopls/internal/filecache.gc+0xdf	/home/swarming/.swarming/w/ir/x/w/targetrepo1414963539/gopls/internal/filecache/filecache.go:443

    runner.go:199: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: ): fork/exec /home/swarming/.swarming/w/ir/x/w/goroot/bin/go: bad file descriptor; removing files: <nil>
--- FAIL: TestNoGOPATH_Issue37984/default (50.98s)

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 Nov 21, 2024
@gopherbot gopherbot added this to the Unreleased milestone Nov 21, 2024
@adonovan
Copy link
Member

Dup of #70492

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: No status
Development

No branches or pull requests

2 participants