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

all: test failures on netbsd blocked on waiting for subprocesses #57999

Open
bcmills opened this issue Jan 25, 2023 · 218 comments
Open

all: test failures on netbsd blocked on waiting for subprocesses #57999

bcmills opened this issue Jan 25, 2023 · 218 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-NetBSD
Milestone

Comments

@bcmills
Copy link
Contributor

bcmills commented Jan 25, 2023

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
@bcmills bcmills added OS-NetBSD NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Jan 25, 2023
@bcmills bcmills changed the title all: test failures on netbsd-386-9_3 blocked in os.wait6 all: test failures on netbsd-.*-9_3 blocked in os.wait6 Jan 25, 2023
@bcmills bcmills added this to the Backlog milestone Jan 25, 2023
@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*-9_3` && (`^\s*os\.wait6` || `DETECTED A HANGING GO COMMAND`)
2022-12-09 02:07 netbsd-386-9_3 tools@88ceb240 go@e738a2f1 x/tools/gopls/internal/regtest/completion (log)
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
 PPID   PID COMMAND
...
panic: detected hanging go command (pid 10026): see golang/go#54461 for more details

goroutine 7949 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x94ba3c0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
golang.org/x/tools/internal/gocommand.runCmdContext({0x8c938b8, 0xb4a5710}, 0x95523c0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x49e
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xa12ce08, {0x8c938b8, 0xb4a5710}, {0x8c8edac, 0xb49d4e8}, {0x8c8edac, 0xb49d500})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xa12ce08, {0x8c938b8, 0xb4a5710}, {0x8c8edac, 0xb49d4e8}, {0x8c8edac, 0xb49d500})
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackagesForFile(0x981ae40, {0x8c93918, 0xb49d350}, {0xa85e1c0, 0x61}, 0x0, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:640 +0x14a
golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xa0a20a0, {0x8c93918, 0xb49d290}, {0x8c9865c, 0x981ae40}, {0xb51bbf0, 0x1, 0x1}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:197 +0x2b7
golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xa0a20a0, {0x8c9865c, 0x981ae40}, {0xb51bbf0, 0x1, 0x1}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:156 +0x159
golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8c9865c, 0x981ae40}, {0xb51bbf0, 0x1, 0x1})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:136 +0x8a
created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:134 +0x5c
2022-12-09 21:38 netbsd-386-9_3 go@e8f78cb6 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:53798
https://vcs-test.golang.org rerouted to https://127.0.0.1:53797
go test proxy running at GOPROXY=http://127.0.0.1:53796/mod
panic: test timed out after 9m0s
running tests:
	TestScript (9m0s)
	TestScript/mod_get_upgrade (8m39s)

syscall.Syscall6(0x1, 0x704, 0x9907b1c, 0x10020, 0x0, 0x0, 0x0)
	/tmp/workdir/go/src/syscall/asm_unix_386.s:43 +0x5 fp=0x9907af4 sp=0x9907af0 pc=0x80c53d5
...
	/tmp/workdir/go/src/cmd/go/internal/script/engine.go:590 +0x2cc fp=0x9907c48 sp=0x9907bd0 pc=0x863437c
cmd/go/internal/script.(*Engine).Execute(0x9365020, 0x910abd0, {0x93d1870, 0x13}, 0x9907e54, {0x885913c, 0x95d0170})
	/tmp/workdir/go/src/cmd/go/internal/script/engine.go:292 +0x9bb fp=0x9907db0 sp=0x9907c48 pc=0x8631d4b
cmd/go/internal/script/scripttest.Run.func1({0x885d76c, 0x9559b30}, 0x910abd0, 0x9365020, {0x93d1870, 0x13}, {0x88583cc, 0x955a120})
	/tmp/workdir/go/src/cmd/go/internal/script/scripttest/scripttest.go:89 +0x4fd fp=0x9907e88 sp=0x9907db0 pc=0x86473dd
cmd/go/internal/script/scripttest.Run({0x885d76c, 0x9559b30}, 0x9365020, 0x910abd0, {0x93d1870, 0x13}, {0x88583cc, 0x955a120})
	/tmp/workdir/go/src/cmd/go/internal/script/scripttest/scripttest.go:90 +0x67 fp=0x9907ecc sp=0x9907e88 pc=0x8646cf7
cmd/go_test.TestScript.func3(0x9559b30)
	/tmp/workdir/go/src/cmd/go/script_test.go:154 +0x66c fp=0x9907f9c sp=0x9907ecc pc=0x8664e5c
testing.tRunner(0x9559b30, 0x94fb7a0)
2023-01-03 18:53 netbsd-amd64-9_3 go@d03231d9 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54291
https://vcs-test.golang.org rerouted to https://127.0.0.1:54290
go test proxy running at GOPROXY=http://127.0.0.1:54289/mod
fatal error: runtime.SetFinalizer: finalizer already set

runtime stack:
runtime.throw({0xb84f6e?, 0xbd9d78?})
	/tmp/workdir/go/src/runtime/panic.go:1047 +0x5d fp=0x70ddcbfcfef8 sp=0x70ddcbfcfec8 pc=0x43821d
runtime.SetFinalizer.func2()
	/tmp/workdir/go/src/runtime/mfinal.go:478 +0x54 fp=0x70ddcbfcff30 sp=0x70ddcbfcfef8 pc=0x41ac14
...
	/tmp/workdir/go/src/testing/testing.go:1095 +0x4a fp=0xc0007dfd08 sp=0xc0007dfcb0 pc=0x52bcaa
testing.(*common).Skip(0xc0003dc000, {0xc000112270?, 0xa98cc0?, 0x125f001?})
	/tmp/workdir/go/src/testing/testing.go:1071 +0x58 fp=0xc0007dfd60 sp=0xc0007dfd08 pc=0x52ba58
testing.(*T).Skip(0xc84940?, {0xc000112270?, 0xaae120?, 0xc000112260?})
	<autogenerated>:1 +0x29 fp=0xc0007dfd90 sp=0xc0007dfd60 pc=0x533349
cmd/go/internal/script/scripttest.Run({0xc8e148, 0xc0003dc000}, 0xb60533?, 0xc0002b7ee8?, {0xc0005157d0, 0xf}, {0xc84480, 0xc000e4c1e0})
	/tmp/workdir/go/src/cmd/go/internal/script/scripttest/scripttest.go:94 +0x12e fp=0xc0007dfe10 sp=0xc0007dfd90 pc=0xa2a2ee
cmd/go_test.TestScript.func3(0xc0003dc000)
	/tmp/workdir/go/src/cmd/go/script_test.go:154 +0x60d fp=0xc0007dff70 sp=0xc0007dfe10 pc=0xa4734d
testing.tRunner(0xc0003dc000, 0xc00032d360)
2023-01-05 20:09 netbsd-386-9_3 tools@057ed3c5 go@119f679a x/tools/gopls/internal/regtest/codelens (log)
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
PPID   PID COMMAND
...
panic: detected hanging go command (pid 10692): see golang/go#54461 for more details

goroutine 1083 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x96b8060)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
golang.org/x/tools/internal/gocommand.runCmdContext({0x8ccb080, 0x97fc630}, 0x9a4a0c0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:261 +0x1a5
golang.org/x/tools/internal/gocommand.(*Invocation).run(0x9e6bca4, {0x8ccb080, 0x97fc630}, {0x8cc645c, 0x97fc720}, {0x8cc645c, 0x97fc738})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x9e6bca4, {0x8ccb080, 0x97fc630}, {0x8cc645c, 0x97fc720}, {0x8cc645c, 0x97fc738})
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ModTidy.func1({0x8ccb020, 0x9aca720}, {0x8a4ef40, 0x9402b40})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/mod_tidy.go:74 +0x86
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0x96
runtime/trace.WithRegion({0x8ccb020, 0x9aca720}, {0x94b0fc0, 0x13}, 0x97747cc)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0xe0
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x121
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x1d6

watchflakes

@bcmills bcmills changed the title all: test failures on netbsd-.*-9_3 blocked in os.wait6 all: test failures on netbsd blocked in os.wait6 Jan 25, 2023
@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (`^\s*os\.wait6` || `DETECTED A HANGING GO COMMAND`)
2023-01-24 14:59 netbsd-386-9_3 tools@deeb64bd go@2bf0f54b x/tools/gopls/internal/regtest/workspace (log)
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
 PPID   PID COMMAND
...
panic: detected hanging go command (pid 15336): see golang/go#54461 for more details

goroutine 10519 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc39f6e0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
golang.org/x/tools/internal/gocommand.runCmdContext({0x8d0f070, 0xabb3c20}, 0xb80e000)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x49e
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xe8def38, {0x8d0f070, 0xabb3c20}, {0x8d0a3dc, 0xb1646d8}, {0x8d0a3dc, 0xb1646f0})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xcfe
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xe8def38, {0x8d0f070, 0xabb3c20}, {0x8d0a3dc, 0xb1646d8}, {0x8d0a3dc, 0xb1646f0})
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xafe9d40, {0x8d0f0d0, 0xb1644f8}, {0x9c81f10, 0x68})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:681 +0x1fb
golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xae799e0, {0x8d0f0d0, 0xb1643d8}, {0x8d13e7c, 0xafe9d40}, {0xb0e6968, 0x1, 0x1}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x2ba
golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xae799e0, {0x8d13e7c, 0xafe9d40}, {0xb0e6968, 0x1, 0x1}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x157
golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8d13e7c, 0xafe9d40}, {0xb0e6968, 0x1, 0x1})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x8a
created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x5c

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (`^\s*os\.wait6` || `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND`)
2023-01-25 23:57 netbsd-amd64-9_3 tools@82707575 go@581603cb x/tools/cmd/fiximports.TestFixImports (log)
panic: test timed out after 10m0s

syscall.Syscall6(0x1c1, 0x6fb, 0xc0000b8f34, 0x0, 0xc000164240, 0x0, 0x0)
	/tmp/workdir/go/src/syscall/asm_unix_amd64.s:39 +0x5
syscall.wait4(0xc0000b8f38?, 0x40ccc7?, 0x90?, 0x5a5960?)
	/tmp/workdir/go/src/syscall/zsyscall_netbsd_amd64.go:34 +0x4e
syscall.Wait4(0x203000?, 0xc0000b8f6c, 0xc0000b8fe8?, 0x5622c6?)
	/tmp/workdir/go/src/syscall/syscall_bsd.go:144 +0x2b
os.(*Process).wait(0xc0001854d0)
	/tmp/workdir/go/src/os/exec_unix.go:43 +0x77
os.(*Process).Wait(...)
	/tmp/workdir/go/src/os/exec.go:132
os/exec.(*Cmd).Wait(0xc00048f4a0)
	/tmp/workdir/go/src/os/exec/exec.go:514 +0x54
os/exec.(*Cmd).Run(0x5ac4a7?)
	/tmp/workdir/go/src/os/exec/exec.go:341 +0x39
golang.org/x/tools/cmd/fiximports.list({0xc0000b9340?, 0x1?, 0xc0003e8fc0?})
	/tmp/workdir/gopath/src/golang.org/x/tools/cmd/fiximports/main.go:489 +0x1d9
golang.org/x/tools/cmd/fiximports.fiximports({0xc000058840?, 0x1, 0x1})
	/tmp/workdir/gopath/src/golang.org/x/tools/cmd/fiximports/main.go:156 +0xe8
golang.org/x/tools/cmd/fiximports.TestFixImports(0xc0000a4680)
	/tmp/workdir/gopath/src/golang.org/x/tools/cmd/fiximports/main_test.go:222 +0x625
testing.tRunner(0xc0000a4680, 0x5ba450)

watchflakes

@bcmills bcmills changed the title all: test failures on netbsd blocked in os.wait6 all: test failures on netbsd blocked on waiting for subprocesses Jan 26, 2023
@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (`^\s*os\.wait6` || `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND`)
2022-12-21 03:49 netbsd-arm-bsiegert go@78fc8107 (log)
fatal error: index out of range

runtime stack:
runtime.throw({0x63d1b7, 0x12})
	/var/gobuilder/buildlet/go/src/runtime/panic.go:1047 +0x4c fp=0x7fffd394 sp=0x7fffd380 pc=0x4b2ac
runtime.panicCheck1(0x3b088, {0x63d1b7, 0x12})
	/var/gobuilder/buildlet/go/src/runtime/panic.go:57 +0xb0 fp=0x7fffd3a8 sp=0x7fffd394 pc=0x48938
runtime.goPanicIndex(0x21401a6, 0x1fc)
	/var/gobuilder/buildlet/go/src/runtime/panic.go:112 +0x2c fp=0x7fffd3c8 sp=0x7fffd3a8 pc=0x489d4
runtime.(*gcWork).put(0xc2c25c, 0xc98000)
	/var/gobuilder/buildlet/go/src/runtime/mgcwork.go:136 +0xf4 fp=0x7fffd3d8 sp=0x7fffd3c8 pc=0x3b088
runtime.greyobject(0xc98000, 0xa0d360, 0x8, 0x7bc52ff8, 0xc2c25c, 0x0)
	/var/gobuilder/buildlet/go/src/runtime/mgcmark.go:1506 +0x1d8 fp=0x7fffd3f8 sp=0x7fffd3d8 pc=0x33188
runtime.scanblock(0xa0d360, 0x12eac, 0x7bc544fd, 0xc2c25c, 0x0)
	/var/gobuilder/buildlet/go/src/runtime/mgcmark.go:1238 +0x120 fp=0x7fffd424 sp=0x7fffd3f8 pc=0x32a68
runtime.markrootBlock(0xa0d360, 0x12eac, 0x7bc544fd, 0xc2c25c, 0x0)
	/var/gobuilder/buildlet/go/src/runtime/mgcmark.go:284 +0x74 fp=0x7fffd440 sp=0x7fffd424 pc=0x2ffd0
runtime.markroot(0xc2c25c, 0x3, 0x1)
	/var/gobuilder/buildlet/go/src/runtime/mgcmark.go:176 +0x434 fp=0x7fffd49c sp=0x7fffd440 pc=0x2fc8c
runtime.gcDrain(0xc2c25c, 0x7)
	/var/gobuilder/buildlet/go/src/runtime/mgcmark.go:1069 +0x58c fp=0x7fffd4e4 sp=0x7fffd49c pc=0x32494
runtime.gcBgMarkWorker.func2()
	/var/gobuilder/buildlet/go/src/runtime/mgc.go:1367 +0x7c fp=0x7fffd510 sp=0x7fffd4e4 pc=0x2d11c
runtime.systemstack()
	/var/gobuilder/buildlet/go/src/runtime/asm_arm.s:317 +0x60 fp=0x7fffd514 sp=0x7fffd510 pc=0x7ddd8

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (`^\s*os\.wait6` || `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND`)
2022-12-22 14:46 netbsd-386-9_3 tools@3be06475 go@41eb70ae x/tools/gopls/internal/regtest/misc (log)
serve.go:434: debug server listening at http://localhost:65433
serve.go:434: debug server listening at http://localhost:65432
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
...
panic: detected hanging go command (pid 22331): see golang/go#54461 for more details

goroutine 62705 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x1048c8d0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
golang.org/x/tools/internal/gocommand.runCmdContext({0x8d68700, 0x94dff80}, 0xa988fd0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x49f
golang.org/x/tools/internal/gocommand.(*Invocation).run(0x11b82d10, {0x8d68700, 0x94dff80}, {0x8d6395c, 0x10fa5b78}, {0x8d6395c, 0x10fa5ba8})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x11b82d10, {0x8d68700, 0x94dff80}, {0x8d6395c, 0x10fa5b78}, {0x8d6395c, 0x10fa5ba8})
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xd56b080, {0x8d68720, 0x10fa5878}, {0x11cb9680, 0x58})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:771 +0x1ee
golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0x11cb3180, {0x8d68720, 0x10fa57b8}, {0x8d6de28, 0xd56b080}, {0xc449c70, 0x1, 0x1}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x2ba
golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0x11cb3180, {0x8d6de28, 0xd56b080}, {0xc449c70, 0x1, 0x1}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x159
golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8d6de28, 0xd56b080}, {0xc449c70, 0x1, 0x1})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x8a
created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x5c
2022-12-29 16:33 netbsd-386-9_3 tools@3b16059a go@c1760296 x/tools/gopls/internal/regtest/misc (log)
serve.go:434: debug server listening at http://localhost:65426
serve.go:434: debug server listening at http://localhost:65425
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
...
panic: detected hanging go command (pid 20990): see golang/go#54461 for more details

goroutine 66880 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x12d40ab0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
golang.org/x/tools/internal/gocommand.runCmdContext({0x8d674c0, 0x11ef1380}, 0x14705550)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x49f
golang.org/x/tools/internal/gocommand.(*Invocation).run(0x14adcd58, {0x8d674c0, 0x11ef1380}, {0x8d6275c, 0x15b27ae8}, {0x8d6275c, 0x15b27b00})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xfb7dd58, {0x8d674c0, 0x11ef1380}, {0x8d6275c, 0x15b27ae8}, {0x8d6275c, 0x15b27b00})
...
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0x156358a8, {0x8d674c0, 0x11ef1380}, {{0x8abfd1e, 0x4}, {0x9a8e400, 0x4, 0x4}, {0x92e9260, 0x0, ...}, ...})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:100 +0x17c
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0x156358a8, {0x8d674c0, 0x11ef1380}, {{0x8abfd1e, 0x4}, {0x9a8e400, 0x4, 0x4}, {0x92e9260, 0x0, ...}, ...})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:75 +0x5e
golang.org/x/tools/go/internal/packagesdriver.GetSizesGolist({0x8d674c0, 0x11ef1380}, {{0x8abfd1e, 0x4}, {0x9a8e400, 0x4, 0x4}, {0x92e9260, 0x0, 0x0}, ...}, ...)
	/tmp/workdir/gopath/src/golang.org/x/tools/go/internal/packagesdriver/sizes.go:22 +0xd8
golang.org/x/tools/go/packages.goListDriver.func1()
	/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/golist.go:157 +0x124
created by golang.org/x/tools/go/packages.goListDriver
	/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/golist.go:155 +0x325
2023-01-04 22:18 netbsd-386-9_3 tools@a4455feb go@eeaf508d x/tools/gopls/internal/regtest/misc (log)
serve.go:434: debug server listening at http://localhost:65435
serve.go:434: debug server listening at http://localhost:65434
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
...
panic: detected hanging go command (pid 18859): see golang/go#54461 for more details

goroutine 51067 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x154e7cb0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
golang.org/x/tools/internal/gocommand.runCmdContext({0x8d3088c, 0x157166c0}, 0x1572e160)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x4f0
golang.org/x/tools/internal/gocommand.(*Invocation).run(0x137d4f3c, {0x8d3088c, 0x157166c0}, {0x8d2be88, 0x15730270}, {0x8d2be88, 0x15730288})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0x137d4f3c, {0x8d3088c, 0x157166c0}, {0x8d2be88, 0x15730270}, {0x8d2be88, 0x15730288})
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xc330540, {0x8d308ec, 0x15730108}, {0x142ca780, 0x60})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:692 +0x1ee
golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0x147c1540, {0x8d308ec, 0x15730048}, {0x8d35b64, 0xc330540}, {0x155581f8, 0x1, 0x1}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x2ba
golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0x147c1540, {0x8d35b64, 0xc330540}, {0x155581f8, 0x1, 0x1}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x159
golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8d35b64, 0xc330540}, {0x155581f8, 0x1, 0x1})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x8a
created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x5c

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (`^\s*os\.wait6` || `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND`)
2023-01-17 19:56 netbsd-386-9_3 go@2f5718a8 runtime.TestCgoExecSignalMask (log)
--- FAIL: TestCgoExecSignalMask (145.59s)
    exec.go:146: test timed out while running command: /tmp/workdir/tmp/go-build4138185153/testprogcgo.exe CgoExecSignalMask
    crash_test.go:58: /tmp/workdir/tmp/go-build4138185153/testprogcgo.exe CgoExecSignalMask: exit status 2
    crash_cgo_test.go:140: expected "OK\n", got SIGQUIT: quit
        PC=0x80b2437 m=13 sigcode=0

        eax    0x4
        ebx    0x85824b0
        ecx    0x85824b0
        edx    0x8580240
        edi    0x8418110
        esi    0x2
        ebp    0x1
        esp    0xa9dffe18
        eip    0x80b2437
        eflags 0x247
        cs     0x17
        fs     0xab
        gs     0xb3
2023-02-01 19:46 netbsd-386-9_3 tools@41adf8d4 go@de4748c4 x/tools/gopls/internal/regtest/workspace (log)
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
 PPID   PID COMMAND
...
panic: detected hanging go command (pid 19419): see golang/go#54461 for more details

goroutine 20140 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x97f00c0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
golang.org/x/tools/internal/gocommand.runCmdContext({0x8d054e0, 0xa353368}, 0xb14f800)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x49e
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xbe7bca4, {0x8d054e0, 0xa353368}, {0x8d007bc, 0xa353590}, {0x8d007bc, 0xa3535a8})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xbe7bca4, {0x8d054e0, 0xa353368}, {0x8d007bc, 0xa353590}, {0x8d007bc, 0xa3535a8})
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).ModTidy.func1({0x8d05480, 0xaa8a540}, {0x8a82400, 0xb14f380})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/mod_tidy.go:74 +0x86
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0x96
runtime/trace.WithRegion({0x8d05480, 0xaa8a540}, {0xa8ffe78, 0x13}, 0xb238fcc)
	/tmp/workdir/go/src/runtime/trace/annotation.go:141 +0xe0
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x121
created by golang.org/x/tools/internal/memoize.(*Promise).run
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x1d6

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (`^\s*os\.wait6` || `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND`)
2023-02-01 23:31 netbsd-arm-bsiegert tools@4e8ff892 go@de4748c4 x/tools/go/ssa.TestBuildPackage (log)
panic: test timed out after 1h40m0s
running tests:
	TestBuildPackage (1h40m0s)

syscall.Syscall6(0x1e1, 0x1, 0x2837, 0x94548c, 0x10020, 0x0, 0x0)
	/var/gobuilder/buildlet/go/src/syscall/asm_netbsd_arm.s:39 +0x8
os.wait6(0x1, 0x2837, 0x10020)
	/var/gobuilder/buildlet/go/src/os/wait6_netbsd.go:16 +0x54
os.(*Process).blockUntilWaitable(0x8212c0)
	/var/gobuilder/buildlet/go/src/os/wait_wait6.go:20 +0x30
...
	/var/gobuilder/buildlet/go/src/go/types/resolver.go:254 +0xba0
go/types.(*Checker).checkFiles(0xaa6ff0, {0xabe6b8, 0x1, 0x1})
	/var/gobuilder/buildlet/go/src/go/types/check.go:326 +0xd4
go/types.(*Checker).Files(...)
	/var/gobuilder/buildlet/go/src/go/types/check.go:304
golang.org/x/tools/go/ssa/ssautil.BuildPackage(0xac0390, 0xac0180, 0xac0360, {0xabe6b8, 0x1, 0x1}, 0x8)
	/var/gobuilder/buildlet/gopath/src/golang.org/x/tools/go/ssa/ssautil/load.go:150 +0x194
golang.org/x/tools/go/ssa_test.TestBuildPackage(0xaa6f00)
	/var/gobuilder/buildlet/gopath/src/golang.org/x/tools/go/ssa/builder_test.go:69 +0x218
testing.tRunner(0xaa6f00, 0x38c178)

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (`^\s*os\.wait6` || `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND`)
2023-02-08 22:43 netbsd-386-9_3 tools@d0863f03 go@7302f83d x/tools/gopls/internal/regtest/misc (log)
serve.go:434: debug server listening at http://localhost:65383
serve.go:434: debug server listening at http://localhost:65382
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
...
panic: detected hanging go command (pid 18413): see golang/go#54461 for more details

goroutine 64636 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0x1073a2a0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
golang.org/x/tools/internal/gocommand.runCmdContext({0x8d766b4, 0xfe3ca80}, 0x11a65680)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x49e
golang.org/x/tools/internal/gocommand.(*Invocation).run(0x118dbd54, {0x8d766b4, 0xfe3ca80}, {0x8d7198c, 0xa6001f8}, {0x8d7198c, 0xa600210})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xd2f
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xa787554, {0x8d766b4, 0xfe3ca80}, {0x8d7198c, 0xa6001f8}, {0x8d7198c, 0xa600210})
...
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xa2eebb8, {0x8d766b4, 0xfe3ca80}, {{0x8ae6d85, 0x4}, {0xd7a98a0, 0x4, 0x4}, {0x932a1f8, 0x0, ...}, ...})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:100 +0x17c
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xa2eebb8, {0x8d766b4, 0xfe3ca80}, {{0x8ae6d85, 0x4}, {0xd7a98a0, 0x4, 0x4}, {0x932a1f8, 0x0, ...}, ...})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:75 +0x5e
golang.org/x/tools/go/internal/packagesdriver.GetSizesGolist({0x8d766b4, 0xfe3ca80}, {{0x8ae6d85, 0x4}, {0xd7a98a0, 0x4, 0x4}, {0x932a1f8, 0x0, 0x0}, ...}, ...)
	/tmp/workdir/gopath/src/golang.org/x/tools/go/internal/packagesdriver/sizes.go:22 +0xd8
golang.org/x/tools/go/packages.goListDriver.func1()
	/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/golist.go:157 +0x130
created by golang.org/x/tools/go/packages.goListDriver
	/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/golist.go:155 +0x33c

watchflakes

@bcmills
Copy link
Contributor Author

bcmills commented Feb 9, 2023

@golang/netbsd, is anyone looking into this? These failures are quite frequent.

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND`)
2023-02-10 19:39 netbsd-amd64-9_3 go@88ad4476 runtime.TestCgoExecSignalMask (log)
--- FAIL: TestCgoExecSignalMask (145.75s)
    exec.go:146: test timed out while running command: /tmp/workdir/tmp/go-build3507279962/testprogcgo.exe CgoExecSignalMask
    crash_cgo_test.go:137: /tmp/workdir/tmp/go-build3507279962/testprogcgo.exe CgoExecSignalMask: exit status 2
    crash_cgo_test.go:140: expected "OK\n", got SIGQUIT: quit
        PC=0x46c2a3 m=13 sigcode=0

        rax    0x4
        rbx    0x0
        rcx    0x46c2a3
        rdx    0x0
        rdi    0x3
        rsi    0x0
        rbp    0x740fb15ffd48
        rsp    0x740fb15ffcf0
        r8     0xc0002b4340
        r9     0xc0002b4340
        r10    0x0
        r11    0x202
        r12    0x21
        r13    0xc00001a110
        r14    0xc0002b61a0
        r15    0x740fb60ab000
        rip    0x46c2a3
        rflags 0x203
        cs     0x47
        fs     0x0
        gs     0x0

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND`)
2023-02-22 21:51 netbsd-386-9_3 tools@3ec30bd9 go@0fa9ba8a x/tools/gopls/internal/regtest/misc (log)
serve.go:434: debug server listening at http://localhost:65442
serve.go:434: debug server listening at http://localhost:65441
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
...
panic: detected hanging go command (pid 21113): see golang/go#54461 for more details

goroutine 51703 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xac47a40)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
golang.org/x/tools/internal/gocommand.runCmdContext({0x8d9e5c0, 0xd11e600}, 0x9f57a20)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x49f
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xab1ed58, {0x8d9e5c0, 0xd11e600}, {0x8d9973c, 0xa057788}, {0x8d9973c, 0xa0577a0})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xa84e558, {0x8d9e5c0, 0xd11e600}, {0x8d9973c, 0xa057788}, {0x8d9973c, 0xa0577a0})
...
golang.org/x/tools/internal/gocommand.(*Runner).runConcurrent(0xcf83c50, {0x8d9e5c0, 0xd11e600}, {{0x8af158a, 0x4}, {0xa3e3680, 0x4, 0x4}, {0x93356c0, 0x0, ...}, ...})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:100 +0x17c
golang.org/x/tools/internal/gocommand.(*Runner).RunRaw(0xcf83c50, {0x8d9e5c0, 0xd11e600}, {{0x8af158a, 0x4}, {0xa3e3680, 0x4, 0x4}, {0x93356c0, 0x0, ...}, ...})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:75 +0x5e
golang.org/x/tools/go/internal/packagesdriver.GetSizesGolist({0x8d9e5c0, 0xd11e600}, {{0x8af158a, 0x4}, {0xa3e3680, 0x4, 0x4}, {0x93356c0, 0x0, 0x0}, ...}, ...)
	/tmp/workdir/gopath/src/golang.org/x/tools/go/internal/packagesdriver/sizes.go:22 +0xd8
golang.org/x/tools/go/packages.goListDriver.func1()
	/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/golist.go:157 +0x124
created by golang.org/x/tools/go/packages.goListDriver
	/tmp/workdir/gopath/src/golang.org/x/tools/go/packages/golist.go:155 +0x325

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND`)
2023-02-14 17:25 netbsd-arm64-bsiegert go@8e02cffd os/exec.TestCancelErrors (log)
panic: test timed out after 30m0s
running tests:
	TestCancelErrors (30m0s)
	TestCancelErrors/killed_after_error (30m0s)

syscall.Syscall6(0x1e1, 0x1, 0x3bf8, 0x4000047d5c, 0x10020, 0x0, 0x0)
	/var/gobuilder/buildlet/go/src/syscall/asm_netbsd_arm64.s:56 +0x10 fp=0x4000047d00 sp=0x4000047cf0 pc=0x88390
os.wait6(0x3b7b78?, 0x40000ec140?, 0x400006c2a0?)
	/var/gobuilder/buildlet/go/src/os/wait6_netbsd.go:16 +0x48 fp=0x4000047d70 sp=0x4000047d00 pc=0xab888
os.(*Process).blockUntilWaitable(0x40000ce0c0)
	/var/gobuilder/buildlet/go/src/os/wait_wait6.go:20 +0x38 fp=0x4000047da0 sp=0x4000047d70 pc=0xab8f8
os.(*Process).wait(0x40000ce0c0)
	/var/gobuilder/buildlet/go/src/os/exec_unix.go:22 +0x2c fp=0x4000047e00 sp=0x4000047da0 pc=0xa631c
os.(*Process).Wait(...)
	/var/gobuilder/buildlet/go/src/os/exec.go:132
os/exec.(*Cmd).Wait(0x40002a6c60)
	/var/gobuilder/buildlet/go/src/os/exec/exec.go:890 +0x38 fp=0x4000047e70 sp=0x4000047e00 pc=0x101388
os/exec_test.TestCancelErrors.func3(0x400014aea0)
	/var/gobuilder/buildlet/go/src/os/exec/exec_test.go:1613 +0x23c fp=0x4000047f60 sp=0x4000047e70 pc=0x29326c
testing.tRunner(0x400014aea0, 0x360dc0)
2023-02-24 20:25 netbsd-386-9_3 go@f8050362 runtime.TestLockOSThreadTemplateThreadRace (log)
panic: test timed out after 3m0s
running tests:
	TestLockOSThreadTemplateThreadRace (2m33s)

syscall.Syscall6(0x1, 0x3543, 0x8d1b5fc, 0x10020, 0x0, 0x0, 0x0)
	/tmp/workdir/go/src/syscall/asm_unix_386.s:43 +0x5 fp=0x8d1b5d4 sp=0x8d1b5d0 pc=0x80ca555
os.wait6(0x1, 0x3543, 0x10020)
	/tmp/workdir/go/src/os/wait6_netbsd.go:16 +0x5b fp=0x8d1b608 sp=0x8d1b5d4 pc=0x80ee49b
os.(*Process).blockUntilWaitable(0x8825680)
	/tmp/workdir/go/src/os/wait_wait6.go:20 +0x31 fp=0x8d1b624 sp=0x8d1b608 pc=0x80ee4f1
os.(*Process).wait(0x8825680)
	/tmp/workdir/go/src/os/exec_unix.go:22 +0x28 fp=0x8d1b660 sp=0x8d1b624 pc=0x80e8c48
os.(*Process).Wait(...)
	/tmp/workdir/go/src/os/exec.go:132
os/exec.(*Cmd).Wait(0x88da3c0)
	/tmp/workdir/go/src/os/exec/exec.go:890 +0x36 fp=0x8d1b698 sp=0x8d1b660 pc=0x8172a06
os/exec.(*Cmd).Run(0x88da3c0)
	/tmp/workdir/go/src/os/exec/exec.go:590 +0x43 fp=0x8d1b6a8 sp=0x8d1b698 pc=0x8171793
os/exec.(*Cmd).CombinedOutput(0x88da3c0)
	/tmp/workdir/go/src/os/exec/exec.go:1005 +0x8f fp=0x8d1b6bc sp=0x8d1b6a8 pc=0x817321f
runtime_test.runBuiltTestProg(0x89cc780, {0x9534210, 0x2f}, {0x8422390, 0x1e}, {0x0, 0x0, 0x0})
	/tmp/workdir/go/src/runtime/crash_test.go:76 +0x28d fp=0x8d1b734 sp=0x8d1b6bc pc=0x82f1f5d
runtime_test.TestLockOSThreadTemplateThreadRace(0x89cc780)
	/tmp/workdir/go/src/runtime/proc_test.go:1022 +0x164 fp=0x8d1b798 sp=0x8d1b734 pc=0x83556c4
testing.tRunner(0x89cc780, 0x8439370)

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND`)
2023-02-28 05:12 netbsd-386-9_3 go@41e86796 cmd/compile/internal/test.TestReproducibleBuilds (log)
panic: test timed out after 3m0s
running tests:
	TestReproducibleBuilds (2m51s)
	TestReproducibleBuilds/issue27013.go (2m51s)

syscall.Syscall6(0x1, 0x455a, 0x9092dd8, 0x10020, 0x0, 0x0, 0x0)
	/tmp/workdir/go/src/syscall/asm_unix_386.s:43 +0x5 fp=0x9092db0 sp=0x9092dac pc=0x80c2155
os.wait6(0x1, 0x455a, 0x10020)
	/tmp/workdir/go/src/os/wait6_netbsd.go:16 +0x5b fp=0x9092de4 sp=0x9092db0 pc=0x80f0afb
os.(*Process).blockUntilWaitable(0x9886480)
	/tmp/workdir/go/src/os/wait_wait6.go:20 +0x31 fp=0x9092e00 sp=0x9092de4 pc=0x80f0b51
os.(*Process).wait(0x9886480)
	/tmp/workdir/go/src/os/exec_unix.go:22 +0x28 fp=0x9092e3c sp=0x9092e00 pc=0x80eae28
os.(*Process).Wait(...)
	/tmp/workdir/go/src/os/exec.go:132
os/exec.(*Cmd).Wait(0x984cc00)
	/tmp/workdir/go/src/os/exec/exec.go:890 +0x36 fp=0x9092e74 sp=0x9092e3c pc=0x81814f6
os/exec.(*Cmd).Run(0x984cc00)
	/tmp/workdir/go/src/os/exec/exec.go:590 +0x43 fp=0x9092e84 sp=0x9092e74 pc=0x8180273
os/exec.(*Cmd).CombinedOutput(0x984cc00)
	/tmp/workdir/go/src/os/exec/exec.go:1005 +0x8f fp=0x9092e98 sp=0x9092e84 pc=0x8181d0f
cmd/compile/internal/test.TestReproducibleBuilds.func1(0x8f880f0)
	/tmp/workdir/go/src/cmd/compile/internal/test/reproduciblebuilds_test.go:42 +0x360 fp=0x9092f98 sp=0x9092e98 pc=0x842f790
testing.tRunner(0x8f880f0, 0x8f82020)

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND`)
2023-03-01 16:36 netbsd-386-9_3 tools@096bae8f go@600d372f x/tools/gopls/internal/regtest/completion (log)
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
 PPID   PID COMMAND
...
panic: detected hanging go command (pid 13546): see golang/go#54461 for more details

goroutine 6974 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xb6c5ce0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:333 +0x519
golang.org/x/tools/internal/gocommand.runCmdContext({0x8d3b260, 0x9ac99e0}, 0xba586e0)
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:294 +0x49f
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xb658f40, {0x8d3b260, 0x9ac99e0}, {0x8d3642c, 0xa59ddb8}, {0x8d3642c, 0xa59de18})
	/tmp/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:234 +0xde3
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xb658f40, {0x8d3b260, 0x9ac99e0}, {0x8d3642c, 0xa59ddb8}, {0x8d3642c, 0xa59de18})
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).MetadataForFile(0xad53b80, {0x8d3b2c0, 0xa59d710}, {0xa8fb5c0, 0x5e})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:703 +0x1ee
golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseChangedFiles(0xa938750, {0x8d3b2c0, 0xa59d650}, {0x8d40088, 0xad53b80}, {0xa7cfdf8, 0x1, 0x1}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:205 +0x2ba
golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshot(0xa938750, {0x8d40088, 0xad53b80}, {0xa7cfdf8, 0x1, 0x1}, 0x0)
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:158 +0x159
golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots.func1({0x8d40088, 0xad53b80}, {0xa7cfdf8, 0x1, 0x1})
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:137 +0x8a
created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnoseSnapshots
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:135 +0x5c

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND`)
2023-01-17 19:56 netbsd-386-9_3 go@354c8fb4 go/internal/srcimporter.TestCgo (log)
panic: test timed out after 3m0s
running tests:
	TestCgo (2m58s)

syscall.Syscall6(0x1, 0x23c6, 0xa787714, 0x10020, 0x0, 0x0, 0x0)
	/tmp/workdir/go/src/syscall/asm_unix_386.s:43 +0x5 fp=0xa7876ec sp=0xa7876e8 pc=0x80b76c5
os.wait6(0x1, 0x23c6, 0x10020)
	/tmp/workdir/go/src/os/wait6_netbsd.go:16 +0x57 fp=0xa787720 sp=0xa7876ec pc=0x80d2c87
os.(*Process).blockUntilWaitable(0x9f803c0)
	/tmp/workdir/go/src/os/wait_wait6.go:20 +0x31 fp=0xa78773c sp=0xa787720 pc=0x80d2ce1
...
	/tmp/workdir/go/src/go/types/check.go:326 +0x120 fp=0xa787e60 sp=0xa787e30 pc=0x81b9ed0
go/types.(*Checker).Files(...)
	/tmp/workdir/go/src/go/types/check.go:304
go/types.(*Config).Check(0xa170780, {0x825b9cd, 0xa}, 0x9fee240, {0x8ad6700, 0x21, 0x40}, 0x0)
	/tmp/workdir/go/src/go/types/api.go:415 +0x83 fp=0xa787e80 sp=0xa787e60 pc=0x81a8ca3
go/internal/srcimporter.(*Importer).ImportFrom(0x8af1ad0, {0x825b9cd, 0xa}, {0x8a61218, 0x14}, 0x0)
	/tmp/workdir/go/src/go/internal/srcimporter/srcimporter.go:145 +0x815 fp=0xa787f48 sp=0xa787e80 pc=0x8210315
go/internal/srcimporter.TestCgo(0x93b34a0)
	/tmp/workdir/go/src/go/internal/srcimporter/srcimporter_test.go:249 +0x2b3 fp=0xa787f9c sp=0xa787f48 pc=0x8213613
testing.tRunner(0x93b34a0, 0x826bc44)

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-01-09 17:03 x_tools-go1.22-netbsd-arm tools@df3de6ae release-branch.go1.22@ae9996f9 x/tools/gopls/internal/test/integration/misc.TestCompilerOptDetails/default [ABORT] (log)
=== RUN   TestCompilerOptDetails/default
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
panic: detected hanging go command (golang/go#54461); waited 1m3.05751999s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go build -gcflags=-json=0,file:///home/swarming/.swarming/w/ir/x/t/gopls-22333.details502738127 -o=/home/swarming/.swarming/w/ir/x/t/gopls-x393480654 .
		pid:19850

goroutine 2773 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc1d83cdcae4c8b2f, 0x61803b03e, 0x1724ac0}, 0x8f0a1a8)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3645060916/internal/gocommand/invoke.go:458 +0x4b0
golang.org/x/tools/internal/gocommand.runCmdContext({0x107ff10, 0xca67458}, 0x8f0a1a8)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3645060916/internal/gocommand/invoke.go:391 +0x3e0
golang.org/x/tools/internal/gocommand.(*Invocation).run(0x1927ac8, {0x107ff10, 0xca67458}, {0x107ad08, 0xca674d0}, {0x107ad08, 0xca674e8})
...
golang.org/x/tools/internal/gocommand.(*Runner).Run(0x81a9a28, {0x107ff10, 0xc326090}, {{0xd652a9, 0x5}, {0xca67368, 0x3, 0x3}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3645060916/internal/gocommand/invoke.go:74 +0x1f8
golang.org/x/tools/gopls/internal/golang.CompilerOptDetails({0x107ff10, 0xc326090}, 0xc0e8aa8, 0x19ef178)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3645060916/gopls/internal/golang/compileropt.go:62 +0x4c8
golang.org/x/tools/gopls/internal/server.(*server).compilerOptDetailsDiagnostics(0x1c1cf08, {0x107ff10, 0xc326090}, 0xc0e8aa8, 0x80a3680)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3645060916/gopls/internal/server/diagnostics.go:557 +0x1a8
golang.org/x/tools/gopls/internal/server.(*server).diagnose.func4()
	/home/swarming/.swarming/w/ir/x/w/targetrepo3645060916/gopls/internal/server/diagnostics.go:487 +0x74
created by golang.org/x/tools/gopls/internal/server.(*server).diagnose in goroutine 2076
	/home/swarming/.swarming/w/ir/x/w/targetrepo3645060916/gopls/internal/server/diagnostics.go:485 +0xad4

watchflakes

apstndb pushed a commit to apstndb/gotoolsdiff that referenced this issue Jan 11, 2025
As suggested by bcmills, this change increases the time
between SIGINT and SIGKILL to 5s (was 1s), and also
suppresses the process dump if SIGKILL returned
"already done".

Updates golang/go#57999
Updates golang/go#54461

Change-Id: Ie0e55a69d3bbfb4224e5f4ea272c7c2f3210e342
Reviewed-on: https://go-review.googlesource.com/c/tools/+/483215
Run-TryBot: Alan Donovan <adonovan@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-01-14 22:31 x_tools-go1.24-netbsd-arm tools@9d9b0b6e release-branch.go1.24@e06b6fc5 x/tools/gopls/internal/test/integration/misc.TestCompilerOptDetails_perDirectory/default [ABORT] (log)
=== RUN   TestCompilerOptDetails_perDirectory/default
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
panic: detected hanging go command (golang/go#54461); waited 1m14.597738783s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go test -c -vet=off -gcflags=-json=0,file:///home/swarming/.swarming/w/ir/x/t/gopls-4871.details3951251997 -o=/dev/null .
		pid:23380

goroutine 3505 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc1d9ee72b04ace30, 0xfe043649d, 0x180a320}, 0x9cdfc78)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1860986651/internal/gocommand/invoke.go:458 +0x4b0
golang.org/x/tools/internal/gocommand.runCmdContext({0x111f32c, 0xa56d1b8}, 0x9cdfc78)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1860986651/internal/gocommand/invoke.go:391 +0x3d4
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xa149a8c, {0x111f32c, 0xa56d1b8}, {0x111a020, 0xa56d230}, {0x111a020, 0xa56d248})
...
golang.org/x/tools/internal/gocommand.(*Runner).Run(0xa28d8c0, {0x111f32c, 0xa682138}, {{0xdeaa10, 0x4}, {0xa706180, 0x5, 0x5}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo1860986651/internal/gocommand/invoke.go:74 +0x1ec
golang.org/x/tools/gopls/internal/golang.CompilerOptDetails({0x111f32c, 0xa682138}, 0x1f5d908, {0xa708600, 0x71})
	/home/swarming/.swarming/w/ir/x/w/targetrepo1860986651/gopls/internal/golang/compileropt.go:57 +0x418
golang.org/x/tools/gopls/internal/server.(*server).compilerOptDetailsDiagnostics(0x808eff8, {0x111f32c, 0xa682138}, 0x1f5d908, 0xa29f620)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1860986651/gopls/internal/server/diagnostics.go:575 +0x188
golang.org/x/tools/gopls/internal/server.(*server).diagnose.func4()
	/home/swarming/.swarming/w/ir/x/w/targetrepo1860986651/gopls/internal/server/diagnostics.go:488 +0x74
created by golang.org/x/tools/gopls/internal/server.(*server).diagnose in goroutine 3652
	/home/swarming/.swarming/w/ir/x/w/targetrepo1860986651/gopls/internal/server/diagnostics.go:486 +0xae8

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-01-15 20:34 x_tools-gotip-netbsd-arm tools@344e4825 go@1a93e4a2 x/tools/gopls/internal/test/integration/diagnostics.TestEditGoDirective/default [ABORT] (log)
=== RUN   TestEditGoDirective/default
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
panic: detected hanging go command (golang/go#54461); waited 2m1.135614949s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go list -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-3084570784/TestEditGoDirective/default/work/... builtin
		pid:24471

goroutine 50273 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc1daae4331766ba2, 0x1a125b8e5d4, 0x1769e38}, 0xb32b388)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1136517513/internal/gocommand/invoke.go:458 +0x4b0
golang.org/x/tools/internal/gocommand.runCmdContext({0x10a2074, 0xb331788}, 0xb32b388)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1136517513/internal/gocommand/invoke.go:391 +0x3d4
golang.org/x/tools/internal/gocommand.(*Invocation).run(0x8097424, {0x10a2074, 0xb331788}, {0x109cdb8, 0xb331800}, {0x109cdb8, 0xb331818})
...
golang.org/x/tools/go/packages.goListDriver(0xb509484, 0xb40e3c0, {0x0, 0x0}, {0xbac1e90, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo1136517513/go/packages/golist.go:210 +0x800
golang.org/x/tools/go/packages.defaultDriver.func1(0xb509484, {0xbac1e90, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo1136517513/go/packages/packages.go:343 +0x4c
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo1136517513/go/packages/packages.go:390 +0x68
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 50268
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0xa0
2025-01-15 20:34 x_tools-gotip-netbsd-arm tools@344e4825 go@1a93e4a2 x/tools/gopls/internal/test/integration/workspace.TestPackagesWithTests/file/default [ABORT] (log)
=== RUN   TestPackagesWithTests/file/default
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
panic: detected hanging go command (golang/go#54461); waited 1m2.925414392s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go list -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-4169045236/TestPackagesWithTests/file/default/work/... builtin
		pid:973

goroutine 10338 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc1daadcf03ed8495, 0x1528a93520, 0x1799e68}, 0xb1905b8)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1136517513/internal/gocommand/invoke.go:458 +0x4b0
golang.org/x/tools/internal/gocommand.runCmdContext({0x10c9f0c, 0xb1952d8}, 0xb1905b8)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1136517513/internal/gocommand/invoke.go:391 +0x3d4
golang.org/x/tools/internal/gocommand.(*Invocation).run(0x1b95424, {0x10c9f0c, 0xb1952d8}, {0x10c4c00, 0xb195350}, {0x10c4c00, 0xb195368})
...
golang.org/x/tools/go/packages.goListDriver(0xf41e604, 0xaecdd28, {0x0, 0x0}, {0xaed3380, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo1136517513/go/packages/golist.go:210 +0x800
golang.org/x/tools/go/packages.defaultDriver.func1(0xf41e604, {0xaed3380, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo1136517513/go/packages/packages.go:343 +0x4c
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo1136517513/go/packages/packages.go:390 +0x68
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 10190
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0xa0

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-01-15 20:34 x_tools-go1.24-netbsd-arm tools@344e4825 release-branch.go1.24@8a4c24f9 x/tools/gopls/internal/test/integration/misc.TestRunVulncheckPackageDiagnostics/invalid/default [ABORT] (log)
=== RUN   TestRunVulncheckPackageDiagnostics/invalid/default
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
panic: detected hanging go command (golang/go#54461); waited 1m1.741190164s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go list -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-407105235/TestRunVulncheckPackageDiagnostics/invalid/default/work/... builtin
		pid:24411

goroutine 85324 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc1daa29a1857c659, 0xee276366cd, 0x180a320}, 0x97921a8)
	/home/swarming/.swarming/w/ir/x/w/targetrepo955734153/internal/gocommand/invoke.go:458 +0x4b0
golang.org/x/tools/internal/gocommand.runCmdContext({0x111f2bc, 0x12ab3b30}, 0x97921a8)
	/home/swarming/.swarming/w/ir/x/w/targetrepo955734153/internal/gocommand/invoke.go:391 +0x3d4
golang.org/x/tools/internal/gocommand.(*Invocation).run(0x8d27424, {0x111f2bc, 0x12ab3b30}, {0x1119fb0, 0x12ab3ba8}, {0x1119fb0, 0x12ab3bc0})
...
golang.org/x/tools/go/packages.goListDriver(0xd9f0184, 0x12ab36e0, {0x0, 0x0}, {0x9c435c0, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo955734153/go/packages/golist.go:210 +0x800
golang.org/x/tools/go/packages.defaultDriver.func1(0xd9f0184, {0x9c435c0, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo955734153/go/packages/packages.go:343 +0x4c
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo955734153/go/packages/packages.go:390 +0x68
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 85308
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0xa0

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-01-21 19:44 x_tools-go1.24-netbsd-arm tools@b0164fc0 release-branch.go1.24@8a4c24f9 x/tools/gopls/internal/test/integration/misc.TestRenamePackageWithDifferentDirectoryPath/default [ABORT] (log)
=== RUN   TestRenamePackageWithDifferentDirectoryPath/default
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
panic: detected hanging go command (golang/go#54461); waited 1m57.293956186s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go env -json GO111MODULE GOFLAGS GOINSECURE GOMOD GOMODCACHE GONOPROXY GONOSUMDB GOPATH GOPROXY GOROOT GOSUMDB GOWORK
		pid:27927

goroutine 63892 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc1dc24a6ce86da9c, 0xcd66907e64, 0x180a328}, 0x20a8ea8)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1998441430/internal/gocommand/invoke.go:458 +0x4b0
golang.org/x/tools/internal/gocommand.runCmdContext({0x1120214, 0x18161a0}, 0x20a8ea8)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1998441430/internal/gocommand/invoke.go:391 +0x3d4
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xada3ae8, {0x1120214, 0x18161a0}, {0x111ae98, 0xb943e00}, {0x111ae98, 0xb943e18})
...
golang.org/x/tools/internal/imports.(*ProcessEnv).init(0x1e1d7c0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1998441430/internal/imports/fix.go:999 +0x25c
golang.org/x/tools/internal/imports.(*ProcessEnv).GetResolver(0x1e1d7c0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1998441430/internal/imports/fix.go:1022 +0x1c
golang.org/x/tools/gopls/internal/cache.(*importsState).refreshProcessEnv(0x153e9ec0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1998441430/gopls/internal/cache/imports.go:266 +0xbc
golang.org/x/tools/gopls/internal/cache.(*refreshTimer).schedule.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo1998441430/gopls/internal/cache/imports.go:71 +0x64
created by time.goFunc
	/home/swarming/.swarming/w/ir/x/w/goroot/src/time/sleep.go:215 +0x2c

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-01-21 19:44 x_tools-go1.22-netbsd-arm tools@b0164fc0 release-branch.go1.22@c3c6a500 x/tools/gopls/internal/test/integration/misc.TestGenerateProgress/default [ABORT] (log)
=== RUN   TestGenerateProgress/default
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
panic: detected hanging go command (golang/go#54461); waited 1m9.428161859s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go generate -x .
		pid:6057

goroutine 32512 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc1dc1fddace65a35, 0x323c295b8b, 0x1734ad0}, 0x9a30b68)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3536143367/internal/gocommand/invoke.go:458 +0x4b0
golang.org/x/tools/internal/gocommand.runCmdContext({0x1093038, 0x8d6a318}, 0x9a30b68)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3536143367/internal/gocommand/invoke.go:391 +0x3e0
golang.org/x/tools/internal/gocommand.(*Invocation).run(0x1061b6f0, {0x1093038, 0x8d6a318}, {0x108e170, 0x98f87d0}, {0x108dc50, 0x98f8820})
...
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x1093038, 0x9036ca8}, 0x8e11920, {0x10930fc, 0x8eb4060})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3536143367/gopls/internal/protocol/protocol.go:160 +0x84
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x1093038, 0x9036ca8}, 0x8e11920, {0x10930fc, 0x8eb4060})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3536143367/gopls/internal/lsprpc/lsprpc.go:509 +0x198
golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x1093038, 0x9036ca8}, 0x9892530, {0x10930fc, 0x8eb4060})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3536143367/internal/jsonrpc2/handler.go:35 +0xbc
golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
	/home/swarming/.swarming/w/ir/x/w/targetrepo3536143367/internal/jsonrpc2/handler.go:104 +0x9c
created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 32450
	/home/swarming/.swarming/w/ir/x/w/targetrepo3536143367/internal/jsonrpc2/handler.go:101 +0x228

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-01-21 19:44 x_tools-gotip-netbsd-arm tools@b0164fc0 go@f6d17c54 x/tools/gopls/internal/test/integration/misc.TestReferencesInTestVariants/default [ABORT] (log)
=== RUN   TestReferencesInTestVariants/default
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
panic: detected hanging go command (golang/go#54461); waited 1m13.121410731s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go list -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-4102533045/TestReferencesInTestVariants/default/work/... builtin
		pid:20006

goroutine 59351 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc1dc392064ee4a43, 0x100aa1411e0, 0x180a400}, 0x1c13d48)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2479065895/internal/gocommand/invoke.go:458 +0x4b0
golang.org/x/tools/internal/gocommand.runCmdContext({0x112085c, 0xba60708}, 0x1c13d48)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2479065895/internal/gocommand/invoke.go:391 +0x3d4
golang.org/x/tools/internal/gocommand.(*Invocation).run(0x1fbd424, {0x112085c, 0xba60708}, {0x111b550, 0xba60780}, {0x111b550, 0xba60798})
...
golang.org/x/tools/go/packages.goListDriver(0xbba2f84, 0xc87d4d0, {0x0, 0x0}, {0xc23cba0, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2479065895/go/packages/golist.go:210 +0x800
golang.org/x/tools/go/packages.defaultDriver.func1(0xbba2f84, {0xc23cba0, 0x2, 0x2})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2479065895/go/packages/packages.go:343 +0x4c
golang.org/x/tools/go/packages.callDriverOnChunks.func1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo2479065895/go/packages/packages.go:390 +0x68
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:78 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 59265
	/home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.10.0/errgroup/errgroup.go:75 +0xa0

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-01-21 15:00 x_tools-go1.23-netbsd-arm tools@df4e4ef6 release-branch.go1.23@ab44565b x/tools/gopls/internal/test/integration/diagnostics.TestChattyDiagnostics/default [ABORT] (log)
=== RUN   TestChattyDiagnostics/default
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
panic: detected hanging go command (golang/go#54461); waited 2m24.529528872s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go mod tidy -modfile=/home/swarming/.swarming/w/ir/x/t/gopls-tempmod2664740980/go.mod
		pid:9870

goroutine 51568 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc1dc132356ae0cea, 0x16ca1d9a0c9, 0x1684538}, 0x9cd8b68)
	/home/swarming/.swarming/w/ir/x/w/targetrepo253249220/internal/gocommand/invoke.go:458 +0x4b0
golang.org/x/tools/internal/gocommand.runCmdContext({0x1015fd0, 0xcadc408}, 0x9cd8b68)
	/home/swarming/.swarming/w/ir/x/w/targetrepo253249220/internal/gocommand/invoke.go:391 +0x3e0
golang.org/x/tools/internal/gocommand.(*Invocation).run(0x94e7aec, {0x1015fd0, 0xcadc408}, {0x1010de8, 0xcadc480}, {0x1010de8, 0xcadc498})
...
golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x1015fec, 0xdbc2f30}, {0xd09508, 0x9dbc0a8})
	/home/swarming/.swarming/w/ir/x/w/targetrepo253249220/gopls/internal/cache/mod_tidy.go:80 +0x44
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo253249220/internal/memoize/memoize.go:187 +0xa8
runtime/trace.WithRegion({0x1015fec, 0xdbc2f30}, {0xe71cb70, 0x13}, 0xf070fc4)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0xdc
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/home/swarming/.swarming/w/ir/x/w/targetrepo253249220/internal/memoize/memoize.go:180 +0x108
created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 51567
	/home/swarming/.swarming/w/ir/x/w/targetrepo253249220/internal/memoize/memoize.go:179 +0x1dc
2025-01-22 21:13 x_tools-go1.23-netbsd-arm tools@fcc9d81f release-branch.go1.23@ab44565b x/tools/gopls/internal/test/integration/misc.TestCompilerOptDetails_perDirectory/default [ABORT] (log)
=== RUN   TestCompilerOptDetails_perDirectory/default
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
panic: detected hanging go command (golang/go#54461); waited 1m4.199197207s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go test -c -vet=off -gcflags=-json=0,file:///home/swarming/.swarming/w/ir/x/t/gopls-17859.details4208225291 -o=/dev/null .
		pid:23094

goroutine 3589 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc1dc8f7b29b570e9, 0x228d36ab41, 0x1734b00}, 0xa454758)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2965983720/internal/gocommand/invoke.go:458 +0x4b0
golang.org/x/tools/internal/gocommand.runCmdContext({0x1093458, 0xa58c528}, 0xa454758)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2965983720/internal/gocommand/invoke.go:391 +0x3e0
golang.org/x/tools/internal/gocommand.(*Invocation).run(0x8d0dac8, {0x1093458, 0xa58c528}, {0x108e230, 0xa58c5a0}, {0x108e230, 0xa58c5b8})
...
golang.org/x/tools/internal/gocommand.(*Runner).Run(0xa24b248, {0x1093458, 0xa50a810}, {{0xd75470, 0x4}, {0xa478db0, 0x5, 0x5}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2965983720/internal/gocommand/invoke.go:74 +0x1f8
golang.org/x/tools/gopls/internal/golang.CompilerOptDetails({0x1093458, 0xa50a810}, 0xa1cf7c8, {0xa582500, 0x70})
	/home/swarming/.swarming/w/ir/x/w/targetrepo2965983720/gopls/internal/golang/compileropt.go:57 +0x410
golang.org/x/tools/gopls/internal/server.(*server).compilerOptDetailsDiagnostics(0x1c38788, {0x1093458, 0xa50a810}, 0xa1cf7c8, 0xa36c0c0)
	/home/swarming/.swarming/w/ir/x/w/targetrepo2965983720/gopls/internal/server/diagnostics.go:575 +0x17c
golang.org/x/tools/gopls/internal/server.(*server).diagnose.func4()
	/home/swarming/.swarming/w/ir/x/w/targetrepo2965983720/gopls/internal/server/diagnostics.go:488 +0x74
created by golang.org/x/tools/gopls/internal/server.(*server).diagnose in goroutine 3443
	/home/swarming/.swarming/w/ir/x/w/targetrepo2965983720/gopls/internal/server/diagnostics.go:486 +0xad4

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-01-22 17:54 x_tools-go1.24-netbsd-arm tools@30bd6fdf release-branch.go1.24@8a4c24f9 x/tools/gopls/internal/test/integration/misc.TestHoverAndDocumentLink/default [ABORT] (log)
=== RUN   TestHoverAndDocumentLink/default
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
panic: detected hanging go command (golang/go#54461); waited 1m10.213105156s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go env -json GOPRIVATE GOMODCACHE GOARCH GOCACHE GOFLAGS GO111MODULE GOTOOLCHAIN GOROOT GOOS GOPATH
		pid:10519

goroutine 54962 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc1dcb8d1a8708dea, 0x767a6b62ec, 0x180a328}, 0xd881a08)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3255214067/internal/gocommand/invoke.go:458 +0x4b0
golang.org/x/tools/internal/gocommand.runCmdContext({0x112029c, 0xcfaba28}, 0xd881a08)
	/home/swarming/.swarming/w/ir/x/w/targetrepo3255214067/internal/gocommand/invoke.go:391 +0x3d4
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xe92d54c, {0x112029c, 0xcfaba28}, {0x111af90, 0xcfabaa0}, {0x111af90, 0xcfabab8})
...
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3({0x112029c, 0xd118d20}, 0xd118d38, {0x7a5aee10, 0xd118a08})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3255214067/gopls/internal/protocol/protocol.go:160 +0x84
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4({0x112029c, 0xd118d20}, 0xd118d38, {0x7a5aee10, 0xd118a08})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3255214067/gopls/internal/lsprpc/lsprpc.go:509 +0x198
golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1({0x112029c, 0xd118d20}, 0xf461e40, {0x7a5aee10, 0xd118a08})
	/home/swarming/.swarming/w/ir/x/w/targetrepo3255214067/internal/jsonrpc2/handler.go:35 +0xbc
golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2()
	/home/swarming/.swarming/w/ir/x/w/targetrepo3255214067/internal/jsonrpc2/handler.go:104 +0x9c
created by golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2 in goroutine 54796
	/home/swarming/.swarming/w/ir/x/w/targetrepo3255214067/internal/jsonrpc2/handler.go:101 +0x228

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-01-22 17:54 x_tools-go1.22-netbsd-arm tools@30bd6fdf release-branch.go1.22@c3c6a500 x/tools/gopls/internal/test/integration/misc.TestCompilerOptDetails_perDirectory/default [ABORT] (log)
=== RUN   TestCompilerOptDetails_perDirectory/default
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
panic: detected hanging go command (golang/go#54461); waited 1m2.554147043s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go test -c -vet=off -gcflags=-json=0,file:///home/swarming/.swarming/w/ir/x/t/gopls-6518.details560525268 -o=/dev/null .
		pid:24631

goroutine 3099 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc1dcbccce542e83e, 0x167d480464, 0x1734ad0}, 0x8fc3528)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1490635794/internal/gocommand/invoke.go:458 +0x4b0
golang.org/x/tools/internal/gocommand.runCmdContext({0x1093150, 0x8fe3920}, 0x8fc3528)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1490635794/internal/gocommand/invoke.go:391 +0x3e0
golang.org/x/tools/internal/gocommand.(*Invocation).run(0x1923ac8, {0x1093150, 0x8fe3920}, {0x108df28, 0x8fe3998}, {0x108df28, 0x8fe39b0})
...
golang.org/x/tools/internal/gocommand.(*Runner).Run(0x8dc78f0, {0x1093150, 0x8fe31d0}, {{0xd75492, 0x4}, {0x8fb9dd0, 0x5, 0x5}, {0x0, 0x0, ...}, ...})
	/home/swarming/.swarming/w/ir/x/w/targetrepo1490635794/internal/gocommand/invoke.go:74 +0x1f8
golang.org/x/tools/gopls/internal/golang.CompilerOptDetails({0x1093150, 0x8fe31d0}, 0x91145a8, {0x8febd00, 0x71})
	/home/swarming/.swarming/w/ir/x/w/targetrepo1490635794/gopls/internal/golang/compileropt.go:57 +0x410
golang.org/x/tools/gopls/internal/server.(*server).compilerOptDetailsDiagnostics(0xd848e18, {0x1093150, 0x8fe31d0}, 0x91145a8, 0x8de7380)
	/home/swarming/.swarming/w/ir/x/w/targetrepo1490635794/gopls/internal/server/diagnostics.go:575 +0x17c
golang.org/x/tools/gopls/internal/server.(*server).diagnose.func4()
	/home/swarming/.swarming/w/ir/x/w/targetrepo1490635794/gopls/internal/server/diagnostics.go:488 +0x74
created by golang.org/x/tools/gopls/internal/server.(*server).diagnose in goroutine 3094
	/home/swarming/.swarming/w/ir/x/w/targetrepo1490635794/gopls/internal/server/diagnostics.go:486 +0xad4

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-01-22 17:02 x_tools-go1.24-netbsd-arm tools@e4adc385 release-branch.go1.24@8a4c24f9 x/tools/gopls/internal/test/integration/misc.TestRunGovulncheck_Expiry/default [ABORT] (log)
=== RUN   TestRunGovulncheck_Expiry/default
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
panic: detected hanging go command (golang/go#54461); waited 1m14.781111563s
		command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go mod tidy -modfile=/home/swarming/.swarming/w/ir/x/t/gopls-tempmod3409773720/go.mod
		pid:14695

goroutine 84868 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand({0xc1dcc53735471650, 0xd6d5ad4023, 0x180a328}, 0xd1c9ad8)
	/home/swarming/.swarming/w/ir/x/w/targetrepo686810111/internal/gocommand/invoke.go:458 +0x4b0
golang.org/x/tools/internal/gocommand.runCmdContext({0x112029c, 0xa92ec90}, 0xd1c9ad8)
	/home/swarming/.swarming/w/ir/x/w/targetrepo686810111/internal/gocommand/invoke.go:391 +0x3d4
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xba03ae8, {0x112029c, 0xa92ec90}, {0x111af90, 0xa92ed08}, {0x111af90, 0xa92ed20})
...
golang.org/x/tools/gopls/internal/cache.(*Snapshot).ModTidy.func1({0x11202b8, 0xc62e450}, {0xde5fc0, 0xf2cd188})
	/home/swarming/.swarming/w/ir/x/w/targetrepo686810111/gopls/internal/cache/mod_tidy.go:80 +0x44
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/home/swarming/.swarming/w/ir/x/w/targetrepo686810111/internal/memoize/memoize.go:187 +0xa8
runtime/trace.WithRegion({0x11202b8, 0xc62e450}, {0xa2e5ce0, 0x13}, 0x1c47fc4)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/trace/annotation.go:141 +0xdc
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/home/swarming/.swarming/w/ir/x/w/targetrepo686810111/internal/memoize/memoize.go:180 +0x108
created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 84867
	/home/swarming/.swarming/w/ir/x/w/targetrepo686810111/internal/memoize/memoize.go:179 +0x1dc

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-01-27 18:43 x_tools-gotip-netbsd-arm tools@ac81e9f3 go@b9872221 x/tools/gopls/internal/test/integration/codelens.TestRegenerateCgo/default [ABORT] (log)
=== RUN   TestRegenerateCgo/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
_dhcpcd  dhcpcd      1486   15* internet dgram udp 91cb3040
root     devpubd      701   wd  /                2 drwxr-xr-x     512 r 
root     devpubd      701    0  /              996 crw-rw-rw-    null rw
root     devpubd      701    1  /              996 crw-rw-rw-    null rw
root     devpubd      701    2  /              996 crw-rw-rw-    null rw
root     devpubd      701    3* drvctl_fileops 0x0
2025/01/28 15:44:02 Sending signal 3 to hanging go command: os: process already finished
2025/01/28 15:44:03 detected hanging go command (golang/go#54461); waited 1m42.681369857s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go list -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-1347397310/TestRegenerateCgo/default/work/... builtin
	pid:15904
2025-01-27 18:43 x_tools-gotip-netbsd-arm tools@ac81e9f3 go@b9872221 x/tools/gopls/internal/test/integration/completion.TestCompleteAllFields/default [ABORT] (log)
=== RUN   TestCompleteAllFields/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
_dhcpcd  dhcpcd      1486   15* internet dgram udp 91cb3040
root     devpubd      701   wd  /                2 drwxr-xr-x     512 r 
root     devpubd      701    0  /              996 crw-rw-rw-    null rw
root     devpubd      701    1  /              996 crw-rw-rw-    null rw
root     devpubd      701    2  /              996 crw-rw-rw-    null rw
root     devpubd      701    3* drvctl_fileops 0x0
2025/01/28 15:50:35 Sending signal 3 to hanging go command: os: process already finished
2025/01/28 15:50:36 detected hanging go command (golang/go#54461); waited 2m24.099020651s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go mod tidy -modfile=/home/swarming/.swarming/w/ir/x/t/gopls-tempmod2252679106/go.mod
	pid:20347

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-01-28 15:38 x_tools-go1.22-netbsd-arm tools@8171d94f release-branch.go1.22@c3c6a500 x/tools/gopls/internal/test/integration/misc.TestWindowsVendoring_Issue56291/default [ABORT] (log)
=== RUN   TestWindowsVendoring_Issue56291/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
_dhcpcd  dhcpcd      1341   14* link dgram  0 91d1d188
_dhcpcd  dhcpcd      1341   15* internet dgram udp 91d0d040
root     devpubd     1063   wd  /                2 drwxr-xr-x     512 r 
root     devpubd     1063    0  /              996 crw-rw-rw-    null rw
root     devpubd     1063    1  /              996 crw-rw-rw-    null rw
root     devpubd     1063    2  /              996 crw-rw-rw-    null rw
root     devpubd     1063    3* drvctl_fileops 0x0
invoke.go:474: detected hanging go command (golang/go#54461); waited 1m14.254874135s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go mod tidy -modfile=/home/swarming/.swarming/w/ir/x/t/gopls-tempmod2485966268/go.mod
	pid:13037

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-02-04 17:54 x_tools-go1.22-netbsd-arm tools@0556adba release-branch.go1.22@5817e650 x/tools/gopls/internal/test/integration/misc.TestRunVulncheckPackageDiagnostics/invalid/default [ABORT] (log)
=== RUN   TestRunVulncheckPackageDiagnostics/invalid/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
_dhcpcd  dhcpcd      1440   14* link dgram  0 923092e0
_dhcpcd  dhcpcd      1440   15* internet dgram udp 91cb2040
root     devpubd      701   wd  /                2 drwxr-xr-x     512 r 
root     devpubd      701    0  /              996 crw-rw-rw-    null rw
root     devpubd      701    1  /              996 crw-rw-rw-    null rw
root     devpubd      701    2  /              996 crw-rw-rw-    null rw
root     devpubd      701    3* drvctl_fileops 0x0
invoke.go:474: detected hanging go command (golang/go#54461); waited 1m20.272266104s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go list -mod=mod ./...
	pid:26351

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-02-06 23:18 x_tools-go1.22-netbsd-arm tools@fa7774c8 release-branch.go1.22@5817e650 x/tools/gopls/internal/test/integration/misc.TestDefsRefsBuiltins/default [ABORT] (log)
=== RUN   TestDefsRefsBuiltins/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
_dhcpcd  dhcpcd       718   15* internet dgram udp 91c81100
root     devpubd      431   wd  /                2 drwxr-xr-x     512 r 
root     devpubd      431    0  /              996 crw-rw-rw-    null rw
root     devpubd      431    1  /              996 crw-rw-rw-    null rw
root     devpubd      431    2  /              996 crw-rw-rw-    null rw
root     devpubd      431    3* drvctl_fileops 0x0
invoke.go:471: Sending signal 3 to hanging go command: os: process already finished
invoke.go:474: detected hanging go command (golang/go#54461); waited 10m11.044955357s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go env -json GO111MODULE GOFLAGS GOINSECURE GOMOD GOMODCACHE GONOPROXY GONOSUMDB GOPATH GOPROXY GOROOT GOSUMDB GOWORK
	pid:12769
2025-02-07 16:33 x_tools-go1.22-netbsd-arm tools@4d1de705 release-branch.go1.22@5817e650 x/tools/gopls/internal/test/integration/misc.TestRenamePackageWithDifferentDirectoryPath/default [ABORT] (log)
=== RUN   TestRenamePackageWithDifferentDirectoryPath/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
15955 21418 /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/toolcha
13703 23510 go list -e -f {{context.ReleaseTags}} -- unsafe 
    1 25065 ps -axo ppid,pid,command 
10206 29003 /home/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/netbsd_arm/link -
    1   652 /usr/libexec/getty default constty 
    1  2928 /usr/pkg/sbin/estd -a -l 20 -h 25 -d 
    1  3056 /usr/pkg/bin/node_exporter --web.listen-address=:9100 --log.level=e
    1   654 /usr/libexec/getty Pc ttyE1 
    1   655 /usr/libexec/getty Pc ttyE2 
    1   653 /usr/libexec/getty Pc ttyE3 
2025-02-07 18:05 x_tools-go1.22-netbsd-arm tools@82317cea release-branch.go1.22@5817e650 x/tools/gopls/internal/test/integration/misc.TestTelemetryPrompt_GivingUp/default#01 [ABORT] (log)
=== RUN   TestTelemetryPrompt_GivingUp/default#01
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
_dhcpcd  dhcpcd       718   15* internet dgram udp 91c7a040
root     devpubd      435   wd  /                2 drwxr-xr-x     512 r 
root     devpubd      435    0  /              996 crw-rw-rw-    null rw
root     devpubd      435    1  /              996 crw-rw-rw-    null rw
root     devpubd      435    2  /              996 crw-rw-rw-    null rw
root     devpubd      435    3* drvctl_fileops 0x0
invoke.go:471: Sending signal 3 to hanging go command: os: process already finished
invoke.go:474: detected hanging go command (golang/go#54461); waited 4m0.156203149s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go list -e -f {{context.ReleaseTags}} -- unsafe
	pid:4874

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-02-07 17:10 x_tools-go1.22-netbsd-arm tools@e65ea150 release-branch.go1.22@5817e650 x/tools/gopls/internal/test/integration/misc.TestDefsRefsBuiltins/default [ABORT] (log)
=== RUN   TestDefsRefsBuiltins/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
_dhcpcd  dhcpcd       718   15* internet dgram udp 91ca2280
root     devpubd      429   wd  /                2 drwxr-xr-x     512 r 
root     devpubd      429    0  /              996 crw-rw-rw-    null rw
root     devpubd      429    1  /              996 crw-rw-rw-    null rw
root     devpubd      429    2  /              996 crw-rw-rw-    null rw
root     devpubd      429    3* drvctl_fileops 0x0
invoke.go:471: Sending signal 3 to hanging go command: os: process already finished
invoke.go:474: detected hanging go command (golang/go#54461); waited 1m56.2934088s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go env GOFLAGS
	pid:24966

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-02-06 18:01 x_tools-go1.23-netbsd-arm tools@bf4db91c release-branch.go1.23@a991f9c3 x/tools/gopls/internal/test/integration/misc.TestAcceptImportsQuickFixTestVariant/default [ABORT] (log)
=== RUN   TestAcceptImportsQuickFixTestVariant/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
sp      0xd11e38
lr      0x4a458
pc      0x942f8
cpsr    0x60000010
fault   0x0


invoke.go:474: detected hanging go command (golang/go#54461); waited 1m27.459280751s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go list -overlay=/home/swarming/.swarming/w/ir/x/t/gocommand-3903890277/overlay.json -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-3759151794/TestAcceptImportsQuickFixTestVariant/default/work/a
	pid:1677
2025-02-07 16:33 x_tools-go1.23-netbsd-arm tools@4d1de705 release-branch.go1.23@a991f9c3 x/tools/gopls/internal/test/integration/misc.TestTelemetryPrompt_PromptFile/v0.16-format/pNotReady/default [ABORT] (log)
=== RUN   TestTelemetryPrompt_PromptFile/v0.16-format/pNotReady/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
sp      0xc95dac
lr      0x4a458
pc      0x942f8
cpsr    0x60000010
fault   0x0


invoke.go:474: detected hanging go command (golang/go#54461); waited 2m15.971103784s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go list -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-4195154648/TestTelemetryPrompt_PromptFile/v0.16-format/pNotReady/default/work/... builtin
	pid:19031

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-02-06 23:18 x_tools-go1.24-netbsd-arm tools@fa7774c8 release-branch.go1.24@b7b4c605 x/tools/gopls/internal/test/integration/misc.TestTelemetryPrompt_Conditions_StartTimeAndSamplingToken/to_sample=true/tokens=1/elapsed=0s/default [ABORT] (log)
=== RUN   TestTelemetryPrompt_Conditions_StartTimeAndSamplingToken/to_sample=true/tokens=1/elapsed=0s/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
_dhcpcd  dhcpcd       718   11* route raw  0 91cb22e0
_dhcpcd  dhcpcd       718   12* unix stream  0x91c57f40 <-> 0x91c57ec0
_dhcpcd  dhcpcd       718   13* unix dgram  0x91caf080 <-> 0x91caf100
_dhcpcd  dhcpcd       718   14* link dgram  0 91cb2438
_dhcpcd  dhcpcd       718   15* internet dgram udp 91c87280
root     devpubd      430   wd  /                2 drwxr-xr-x     512 r 
root     devpubd      430    0  /              996 crw-rw-rw-    null rw
root     devpubd      430    1  /              996 crw-rw-rw-    null rw
root     devpubd      430    2  /              996 crw-rw-rw-    null rw
root     devpubd      430    3* drvctl_fileops 0x0
2025-02-07 16:33 x_tools-go1.24-netbsd-arm tools@4d1de705 release-branch.go1.24@b7b4c605 x/tools/gopls/internal/test/integration/misc.TestTelemetryPrompt_PromptFile/v0.16-format/pFailed/default [ABORT] (log)
=== RUN   TestTelemetryPrompt_PromptFile/v0.16-format/pFailed/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
_dhcpcd  dhcpcd       718   15* internet dgram udp 91c87040
root     devpubd      433   wd  /                2 drwxr-xr-x     512 r 
root     devpubd      433    0  /              996 crw-rw-rw-    null rw
root     devpubd      433    1  /              996 crw-rw-rw-    null rw
root     devpubd      433    2  /              996 crw-rw-rw-    null rw
root     devpubd      433    3* drvctl_fileops 0x0
invoke.go:471: Sending signal 3 to hanging go command: os: process already finished
invoke.go:474: detected hanging go command (golang/go#54461); waited 1m7.177505869s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go list -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-3708129012/TestTelemetryPrompt_PromptFile/v0.16-format/pFailed/default/work/... builtin
	pid:10155
2025-02-07 16:33 x_tools-go1.24-netbsd-arm tools@4d1de705 release-branch.go1.24@b7b4c605 x/tools/gopls/internal/test/integration/workspace.TestReloadOnlyOnce/default [ABORT] (log)
=== RUN   TestReloadOnlyOnce/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
sp      0x1247e58
lr      0x53480
pc      0x9af70
cpsr    0x60000010
fault   0x0


2025/02/08 03:51:22 detected hanging go command (golang/go#54461); waited 1m9.643491022s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go list -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-174798652/TestReloadOnlyOnce/default/work/pkg/... builtin
	pid:16184

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-02-07 21:17 x_tools-gotip-netbsd-arm tools@a886a1c2 go@ff27d270 x/tools/gopls/internal/test/integration/completion.TestPackageMemberCompletionAfterSyntaxError/default [ABORT] (log)
=== RUN   TestPackageMemberCompletionAfterSyntaxError/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
_dhcpcd  dhcpcd      1312   14* link dgram  0 9234f2e0
_dhcpcd  dhcpcd      1312   15* internet dgram udp 923431c0
root     devpubd     1078   wd  /                2 drwxr-xr-x     512 r 
root     devpubd     1078    0  /              996 crw-rw-rw-    null rw
root     devpubd     1078    1  /              996 crw-rw-rw-    null rw
root     devpubd     1078    2  /              996 crw-rw-rw-    null rw
root     devpubd     1078    3* drvctl_fileops 0x0
2025/02/10 02:06:11 detected hanging go command (golang/go#54461); waited 1m15.548679715s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go env -json GO111MODULE GOFLAGS GOINSECURE GOMOD GOMODCACHE GONOPROXY GONOSUMDB GOPATH GOPROXY GOROOT GOSUMDB GOWORK
	pid:22932

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-02-07 18:05 x_tools-go1.24-netbsd-arm tools@82317cea release-branch.go1.24@b7b4c605 x/tools/gopls/internal/test/integration/misc.TestTelemetryPrompt_Conditions_StartTimeAndSamplingToken/to_sample=false/tokens=51/elapsed=192h0m0s/default [ABORT] (log)
=== RUN   TestTelemetryPrompt_Conditions_StartTimeAndSamplingToken/to_sample=false/tokens=51/elapsed=192h0m0s/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
sp      0x1523e34
lr      0x53480
pc      0x9af70
cpsr    0x60000010
fault   0x0


invoke.go:474: detected hanging go command (golang/go#54461); waited 1m29.03998863s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go list -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-3002251821/TestTelemetryPrompt_Conditions_StartTimeAndSamplingToken/to_sample=false/tokens=51/elapsed=192h0m0s/default/work/... builtin
	pid:20974
2025-02-07 18:05 x_tools-go1.24-netbsd-arm tools@82317cea release-branch.go1.24@b7b4c605 x/tools/gopls/internal/test/integration/workspace.TestDeleteModule_Interdependent/default [ABORT] (log)
=== RUN   TestDeleteModule_Interdependent/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
_dhcpcd  dhcpcd       718   15* internet dgram udp 91c831c0
root     devpubd      429   wd  /                2 drwxr-xr-x     512 r 
root     devpubd      429    0  /              996 crw-rw-rw-    null rw
root     devpubd      429    1  /              996 crw-rw-rw-    null rw
root     devpubd      429    2  /              996 crw-rw-rw-    null rw
root     devpubd      429    3* drvctl_fileops 0x0
2025/02/08 21:44:58 Sending signal 3 to hanging go command: os: process already finished
2025/02/08 21:44:59 detected hanging go command (golang/go#54461); waited 1m2.98844761s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go list -e -f {{context.ReleaseTags}} -- unsafe
	pid:15444

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-02-07 18:05 x_tools-go1.23-netbsd-arm tools@82317cea release-branch.go1.23@a991f9c3 x/tools/gopls/internal/test/integration/misc.TestTelemetryPrompt_Conditions_Command/default [ABORT] (log)
=== RUN   TestTelemetryPrompt_Conditions_Command/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
sp      0x102fe3c
lr      0x4a458
pc      0x942f8
cpsr    0x60000010
fault   0x0


invoke.go:474: detected hanging go command (golang/go#54461); waited 1m28.227766778s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go list -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-4075569489/TestTelemetryPrompt_Conditions_Command/default/work/... builtin
	pid:6323
2025-02-07 18:05 x_tools-go1.23-netbsd-arm tools@82317cea release-branch.go1.23@a991f9c3 x/tools/gopls/internal/test/integration/workspace.TestCreateModule_Interdependent/default [ABORT] (log)
=== RUN   TestCreateModule_Interdependent/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
...
root     devpubd      434    2  /              996 crw-rw-rw-    null rw
root     devpubd      434    3* drvctl_fileops 0x0
2025/02/08 17:28:55 Sending signal 3 to hanging go command: os: process already finished
2025/02/08 17:28:55 Sending signal 3 to hanging go command: os: process already finished
2025/02/08 17:28:56 detected hanging go command (golang/go#54461); waited 1m23.560725346s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go mod tidy -modfile=/home/swarming/.swarming/w/ir/x/t/gopls-tempmod2167010023/go.mod
	pid:1470
2025/02/08 17:28:56 detected hanging go command (golang/go#54461); waited 1m23.653140992s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go mod tidy -modfile=/home/swarming/.swarming/w/ir/x/t/gopls-tempmod76307301/go.mod
	pid:12509

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-02-11 15:03 x_tools-gotip-netbsd-arm tools@027eab55 go@7c1a4134 x/tools/gopls/internal/test/integration/misc.TestCompilerOptDetails_perDirectory/default [ABORT] (log)
=== RUN   TestCompilerOptDetails_perDirectory/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
sp      0x14e1e34
lr      0x5373c
pc      0x9b380
cpsr    0x60000010
fault   0x0


2025/02/11 16:47:58 detected hanging go command (golang/go#54461); waited 1m4.641004856s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go test -c -vet=off -gcflags=-json=0,file:///home/swarming/.swarming/w/ir/x/t/gopls-27777.details1674177428 -o=/dev/null .
	pid:22800

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-02-13 19:20 x_tools-go1.24-netbsd-arm tools@ddd4bde5 release-branch.go1.24@80e2e474 x/tools/gopls/internal/test/integration/workspace.TestDirectoryFilters_Wildcard/default [ABORT] (log)
=== RUN   TestDirectoryFilters_Wildcard/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
_dhcpcd  dhcpcd      1312   14* link dgram  0 9234e188
_dhcpcd  dhcpcd      1312   15* internet dgram udp 91cf7040
root     devpubd      721   wd  /                2 drwxr-xr-x     512 r 
root     devpubd      721    0  /              996 crw-rw-rw-    null rw
root     devpubd      721    1  /              996 crw-rw-rw-    null rw
root     devpubd      721    2  /              996 crw-rw-rw-    null rw
root     devpubd      721    3* drvctl_fileops 0x0
2025/02/14 02:01:39 detected hanging go command (golang/go#54461); waited 1m9.726685041s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go clean -modcache
	pid:24840
2025-02-14 12:38 x_tools-go1.23-netbsd-arm tools@88071012 release-branch.go1.23@a991f9c3 x/tools/gopls/internal/test/integration/diagnostics.TestQuickFixEmptyFiles/full/default [ABORT] (log)
=== RUN   TestQuickFixEmptyFiles/full/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
_dhcpcd  dhcpcd      1375   15* internet dgram udp 91ced100
root     devpubd     1077   wd  /                2 drwxr-xr-x     512 r 
root     devpubd     1077    0  /              996 crw-rw-rw-    null rw
root     devpubd     1077    1  /              996 crw-rw-rw-    null rw
root     devpubd     1077    2  /              996 crw-rw-rw-    null rw
root     devpubd     1077    3* drvctl_fileops 0x0
2025/02/14 13:25:56 Sending signal 3 to hanging go command: os: process already finished
2025/02/14 13:25:56 detected hanging go command (golang/go#54461); waited 1m3.230801178s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go list -overlay=/home/swarming/.swarming/w/ir/x/t/gocommand-1569471913/overlay.json -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- mod.com mod.com/p
	pid:24367
2025-02-14 15:20 x_tools-go1.23-netbsd-arm tools@2880aae7 release-branch.go1.23@a991f9c3 x/tools/gopls/internal/test/integration/completion.TestUnimportedCompletion_VSCodeIssue3365/insertReplaceSupport=false/default/replace/ToUpper [ABORT] (log)
=== RUN   TestUnimportedCompletion_VSCodeIssue3365/insertReplaceSupport=false/default/replace/ToUpper
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
_dhcpcd  dhcpcd      1375   14* link dgram  0 923532e0
_dhcpcd  dhcpcd      1375   15* internet dgram udp 923431c0
root     devpubd      721   wd  /                2 drwxr-xr-x     512 r 
root     devpubd      721    0  /              996 crw-rw-rw-    null rw
root     devpubd      721    1  /              996 crw-rw-rw-    null rw
root     devpubd      721    2  /              996 crw-rw-rw-    null rw
root     devpubd      721    3* drvctl_fileops 0x0
2025/02/14 21:13:55 detected hanging go command (golang/go#54461); waited 1m7.764891166s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go mod tidy -modfile=/home/swarming/.swarming/w/ir/x/t/gopls-tempmod3962824986/go.mod
	pid:26462

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-02-23 14:00 x_tools-go1.24-netbsd-arm tools@739a5af4 release-branch.go1.24@af236716 x/tools/gopls/internal/test/integration/workspace.TestPackagesWithTests/package/default [ABORT] (log)
=== RUN   TestPackagesWithTests/package/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
_dhcpcd  dhcpcd      1375   14* link dgram  0 91cf62e0
_dhcpcd  dhcpcd      1375   15* internet dgram udp 91ce9100
root     devpubd     1065   wd  /                2 drwxr-xr-x     512 r 
root     devpubd     1065    0  /              996 crw-rw-rw-    null rw
root     devpubd     1065    1  /              996 crw-rw-rw-    null rw
root     devpubd     1065    2  /              996 crw-rw-rw-    null rw
root     devpubd     1065    3* drvctl_fileops 0x0
2025/02/23 17:23:34 detected hanging go command (golang/go#54461); waited 1m6.592783522s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go list -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-243810825/TestPackagesWithTests/package/default/work/... builtin
	pid:5893

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-02-24 19:32 x_tools-go1.24-netbsd-arm tools@851c747e release-branch.go1.24@af236716 x/tools/gopls/internal/test/integration/misc.TestTelemetryPrompt_PromptFile/v0.16-format/pPending/default [ABORT] (log)
=== RUN   TestTelemetryPrompt_PromptFile/v0.16-format/pPending/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.
invoke.go:474: detected hanging go command (golang/go#54461); waited 1m45.786771274s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go list -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-2467762282/TestTelemetryPrompt_PromptFile/v0.16-format/pPending/default/work/... builtin
	pid:24013

ps axo ppid,pid,command:
-------------------------
2025-02-24 19:32 x_tools-go1.24-netbsd-arm tools@851c747e release-branch.go1.24@af236716 x/tools/gopls/internal/test/integration/workspace.TestDirectoryFilters/default [ABORT] (log)
=== RUN   TestDirectoryFilters/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
_dhcpcd  dhcpcd       735   15* internet dgram udp 91c73040
root     devpubd      430   wd  /                2 drwxr-xr-x     512 r 
root     devpubd      430    0  /              996 crw-rw-rw-    null rw
root     devpubd      430    1  /              996 crw-rw-rw-    null rw
root     devpubd      430    2  /              996 crw-rw-rw-    null rw
root     devpubd      430    3* drvctl_fileops 0x0
2025/02/25 09:09:30 Sending signal 3 to hanging go command: os: process already finished
2025/02/25 09:09:30 detected hanging go command (golang/go#54461); waited 1m43.291428404s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go env -json GO111MODULE GOFLAGS GOINSECURE GOMOD GOMODCACHE GONOPROXY GONOSUMDB GOPATH GOPROXY GOROOT GOSUMDB GOWORK
	pid:26466

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-02-27 21:21 x_tools-go1.24-netbsd-arm tools@1cc80ad5 release-branch.go1.24@5d692084 x/tools/gopls/internal/test/integration/completion.TestPackageMemberCompletionAfterSyntaxError/default [ABORT] (log)
=== RUN   TestPackageMemberCompletionAfterSyntaxError/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
root     devpubd      701    2  /              996 crw-rw-rw-    null rw
root     devpubd      701    3* drvctl_fileops 0x0
2025/02/27 22:34:17 detected hanging go command (golang/go#54461); waited 1m53.19587558s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go list -mod=readonly -m -f {{.Path}}
{{.Dir}}
{{.GoMod}}
{{.GoVersion}}
{{range context.ReleaseTags}}{{if eq . "go1.14"}}{{.}}{{end}}{{end}}

	pid:3982
2025-02-27 21:21 x_tools-go1.24-netbsd-arm tools@1cc80ad5 release-branch.go1.24@5d692084 x/tools/gopls/internal/test/integration/misc.TestCompilerOptDetails_perDirectory/default [ABORT] (log)
=== RUN   TestCompilerOptDetails_perDirectory/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
_dhcpcd  dhcpcd      1488   15* internet dgram udp 9230d040
root     devpubd      701   wd  /                2 drwxr-xr-x     512 r 
root     devpubd      701    0  /              996 crw-rw-rw-    null rw
root     devpubd      701    1  /              996 crw-rw-rw-    null rw
root     devpubd      701    2  /              996 crw-rw-rw-    null rw
root     devpubd      701    3* drvctl_fileops 0x0
2025/02/27 22:34:05 Sending signal 3 to hanging go command: os: process already finished
2025/02/27 22:34:05 detected hanging go command (golang/go#54461); waited 1m52.23643661s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go test -c -vet=off -gcflags=-json=0,file:///home/swarming/.swarming/w/ir/x/t/gopls-15635.details3495641407 -o=/dev/null .
	pid:19929

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-03-03 14:37 x_tools-go1.24-netbsd-arm tools@0efa5e51 release-branch.go1.24@5d692084 x/tools/gopls/internal/test/integration/misc.TestRenamePackage_TestVariant/default [ABORT] (log)
=== RUN   TestRenamePackage_TestVariant/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
_dhcpcd  dhcpcd      1488   15* internet dgram udp 91cc91c0
root     devpubd      877   wd  /                2 drwxr-xr-x     512 r 
root     devpubd      877    0  /              996 crw-rw-rw-    null rw
root     devpubd      877    1  /              996 crw-rw-rw-    null rw
root     devpubd      877    2  /              996 crw-rw-rw-    null rw
root     devpubd      877    3* drvctl_fileops 0x0
invoke.go:471: Sending signal 3 to hanging go command: os: process already finished
invoke.go:474: detected hanging go command (golang/go#54461); waited 1m50.078014558s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go list -e -json=Name,ImportPath,Error,Dir,GoFiles,IgnoredGoFiles,IgnoredOtherFiles,CFiles,CgoFiles,CXXFiles,MFiles,HFiles,FFiles,SFiles,SwigFiles,SwigCXXFiles,SysoFiles,TestGoFiles,XTestGoFiles,CompiledGoFiles,Export,DepOnly,Imports,ImportMap,TestImports,XTestImports,ForTest,DepsErrors,Module,EmbedFiles -compiled=true -test=true -export=false -deps=true -find=false -pgo=off -- /home/swarming/.swarming/w/ir/x/t/gopls-test-1077988701/TestRenamePackage_TestVariant/default/work/... builtin
	pid:25664

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-03-03 14:37 x_tools-gotip-netbsd-arm tools@0efa5e51 go@0312e31e x/tools/gopls/internal/test/integration/misc.TestCompilerOptDetails_perDirectory/default [ABORT] (log)
=== RUN   TestCompilerOptDetails_perDirectory/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
sp      0x154be3c
lr      0x53b64
pc      0x9ba54
cpsr    0x60000010
fault   0x0


2025/03/03 17:49:44 detected hanging go command (golang/go#54461); waited 1m7.517920033s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go test -c -vet=off -gcflags=-json=0,file:///home/swarming/.swarming/w/ir/x/t/gopls-1097.details1666865706 -o=/dev/null .
	pid:6566

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- builder ~ `netbsd-.*` && (log ~ `^\s*os\.wait6` || log ~ `^\s*syscall.wait4` || `DETECTED A HANGING GO COMMAND` || `test timed out while running command` || `script_test\.go:\d+: .*: signal: killed`)
2025-03-03 14:37 x_tools-go1.23-netbsd-arm tools@0efa5e51 release-branch.go1.23@e4772831 x/tools/gopls/internal/test/integration/diagnostics.TestResolveDiagnosticWithDownload/default [ABORT] (log)
=== RUN   TestResolveDiagnosticWithDownload/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
_dhcpcd  dhcpcd      1341   15* internet dgram udp 91cdc1c0
root     devpubd     1063   wd  /                2 drwxr-xr-x     512 r 
root     devpubd     1063    0  /              996 crw-rw-rw-    null rw
root     devpubd     1063    1  /              996 crw-rw-rw-    null rw
root     devpubd     1063    2  /              996 crw-rw-rw-    null rw
root     devpubd     1063    3* drvctl_fileops 0x0
2025/03/03 19:22:05 Sending signal 3 to hanging go command: os: process already finished
2025/03/03 19:22:06 detected hanging go command (golang/go#54461); waited 1m9.3353964s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go mod tidy -modfile=/home/swarming/.swarming/w/ir/x/t/gopls-tempmod2045638940/go.mod
	pid:1927
2025-03-03 16:41 x_tools-go1.23-netbsd-arm tools@2839096c release-branch.go1.23@e4772831 x/tools/gopls/internal/test/integration/misc.TestCompilerOptDetails_perDirectory/default [ABORT] (log)
=== RUN   TestCompilerOptDetails_perDirectory/default
DETECTED A HANGING GO COMMAND

			The gopls test runner has detected a hanging go command. In order to debug
			this, the output of ps and lsof/fstat is printed below.

			See golang/go#54461 for more details.

ps axo ppid,pid,command:
-------------------------
...
_dhcpcd  dhcpcd      1375   15* internet dgram udp 91ce9100
root     devpubd      721   wd  /                2 drwxr-xr-x     512 r 
root     devpubd      721    0  /              996 crw-rw-rw-    null rw
root     devpubd      721    1  /              996 crw-rw-rw-    null rw
root     devpubd      721    2  /              996 crw-rw-rw-    null rw
root     devpubd      721    3* drvctl_fileops 0x0
2025/03/04 01:09:05 Sending signal 3 to hanging go command: os: process already finished
2025/03/04 01:09:05 detected hanging go command (golang/go#54461); waited 1m4.161160718s
	command:/home/swarming/.swarming/w/ir/x/w/goroot/bin/go test -c -vet=off -gcflags=-json=0,file:///home/swarming/.swarming/w/ir/x/t/gopls-3571.details431435285 -o=/dev/null .
	pid:14894

watchflakes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-NetBSD
Projects
Status: No status
Development

No branches or pull requests

5 participants