golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
124.21k stars 17.7k forks source link

x/tools/gopls/internal/test/integration/diagnostics: TestNoGOPATH_Issue37984/default failures #70490

Open gopherbot opened 17 hours ago

gopherbot commented 17 hours ago
#!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 commented 17 hours ago

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: --- FAIL: TestNoGOPATH_Issue37984/default (50.98s)

watchflakes

adonovan commented 9 hours ago

Dup of https://github.com/golang/go/issues/70492