golang / go

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

x/tools/gopls/internal/test/integration/completion: TestPackageNameCompletion/default failures #70493

Closed gopherbot closed 3 days ago

gopherbot commented 3 days ago
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/completion" && test == "TestPackageNameCompletion/default"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestPackageNameCompletion/default
goroutine profile: total 5
1 @ 0x47dc0 0x8d45c 0x22ac58 0x22aa7c 0x227054 0xae2444 0xae1ffc 0x17b364 0x95ca4
#   0x22ac57    runtime/pprof.writeRuntimeProfile+0xb7                      /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796
#   0x22aa7b    runtime/pprof.writeGoroutine+0x73                       /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755
#   0x227053    runtime/pprof.(*Profile).WriteTo+0xe3                       /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377
#   0xae2443    golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x87   /home/swarming/.swarming/w/ir/x/w/targetrepo4259855402/gopls/internal/test/integration/runner.go:198
#   0xae1ffb    golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x8b3    /home/swarming/.swarming/w/ir/x/w/targetrepo4259855402/gopls/internal/test/integration/runner.go:240
#   0x17b363    testing.tRunner+0x123                               /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1764

...

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

1 @ 0x8e794 0x929c8 0x4af144 0x95ca4
#   0x929c7     time.Sleep+0x1f3                    /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:338
#   0x4af143    golang.org/x/tools/gopls/internal/filecache.gc+0xdf /home/swarming/.swarming/w/ir/x/w/targetrepo4259855402/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: TestPackageNameCompletion/default (4.70s)

watchflakes

gopherbot commented 3 days ago

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/completion" && test == "TestPackageNameCompletion/default"
2024-11-20 12:37 x_tools-gotip-netbsd-arm tools@a2874818 go@a3c068c5 x/tools/gopls/internal/test/integration/completion.TestPackageNameCompletion/default (log) === RUN TestPackageNameCompletion/default goroutine profile: total 5 1 @ 0x47dc0 0x8d45c 0x22ac58 0x22aa7c 0x227054 0xae2444 0xae1ffc 0x17b364 0x95ca4 # 0x22ac57 runtime/pprof.writeRuntimeProfile+0xb7 /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:796 # 0x22aa7b runtime/pprof.writeGoroutine+0x73 /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:755 # 0x227053 runtime/pprof.(*Profile).WriteTo+0xe3 /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof.go:377 # 0xae2443 golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1.1+0x87 /home/swarming/.swarming/w/ir/x/w/targetrepo4259855402/gopls/internal/test/integration/runner.go:198 # 0xae1ffb golang.org/x/tools/gopls/internal/test/integration.(*Runner).Run.func1+0x8b3 /home/swarming/.swarming/w/ir/x/w/targetrepo4259855402/gopls/internal/test/integration/runner.go:240 # 0x17b363 testing.tRunner+0x123 /home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:1764 ... 1 @ 0x8e794 0x19d78 0x1985c 0x305330 0x95ca4 # 0x30532f golang.org/x/tools/gopls/internal/protocol.LogEvent.func1.1+0x4f /home/swarming/.swarming/w/ir/x/w/targetrepo4259855402/gopls/internal/protocol/context.go:47 1 @ 0x8e794 0x929c8 0x4af144 0x95ca4 # 0x929c7 time.Sleep+0x1f3 /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:338 # 0x4af143 golang.org/x/tools/gopls/internal/filecache.gc+0xdf /home/swarming/.swarming/w/ir/x/w/targetrepo4259855402/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: TestPackageNameCompletion/default (4.70s)

watchflakes

adonovan commented 3 days ago

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