Skip to content

runtime: deadlock in internal/runtime/exithook.Run #75744

@timofurrer

Description

@timofurrer

Go version

go version go1.25.1 darwin/arm64

Output of go env in your module/workspace:

AR='ar'
CC='clang'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='clang++'
GCCGO='gccgo'
GO111MODULE=''
GOARCH='arm64'
GOARM64='v8.0'
GOAUTH='netrc'
GOBIN='/Users/timo/.local/share/mise/installs/go/1.25.1/bin'
GOCACHE='/Users/timo/Library/Caches/go-build'
GOCACHEPROG=''
GODEBUG=''
GOENV='/Users/timo/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFIPS140='off'
GOFLAGS=''
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/dn/652s0ll15hl3_3nsnrbfm3c00000gn/T/go-build3359829574=/tmp/go-build -gno-record-gcc-switches -fno-common'
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMOD='/Users/timo/work/gitlab/cli/go.mod'
GOMODCACHE='/Users/timo/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='darwin'
GOPATH='/Users/timo/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/Users/timo/.local/share/mise/installs/go/1.25.1'
GOSUMDB='sum.golang.org'
GOTELEMETRY='local'
GOTELEMETRYDIR='/Users/timo/Library/Application Support/go/telemetry'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/Users/timo/.local/share/mise/installs/go/1.25.1/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.25.1'
GOWORK=''
PKG_CONFIG='pkg-config'

What did you do?

Unfortunately, I wasn't able to dig much into the root cause or figure out how I could possible provide a minimal reproducible example, so I'm just gonna share here what I have. Feel free to point me towards ideas for how I can break this down.

I'm running the following:

go test -v ./internal/commands/ci/status -run=TestCiStatusCommand_NoPrompt -count=1 -timeout=5s

In this Git revision: https://gitlab.com/gitlab-org/cli/-/merge_requests/2432/diffs?commit_id=b427ce280051236b9f2badd867a9150fd1f9d51a

To summarize: this is a unit test that executes a cobra command and expects it to complete.

What did you see happen?

The aforementioned test hangs forever (sometimes and not for everyone, but pretty consistently in my case), with a -timeout it eventually exists with the following:

=== RUN   TestCiStatusCommand_NoPrompt
--- PASS: TestCiStatusCommand_NoPrompt (0.00s)
PASS






SIGQUIT: quit
PC=0x1a00603cc m=0 sigcode=0

goroutine 0 gp=0x101d08aa0 m=0 mp=0x101d0a580 [idle]:
runtime.pthread_cond_wait(0x101d0aae8, 0x101d0aaa8)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/sys_darwin.go:547 +0x20 fp=0x16fae5e10 sp=0x16fae5de0 pc=0x10037b600
runtime.semasleep(0xffffffffffffffff)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/os_darwin.go:72 +0x80 fp=0x16fae5e70 sp=0x16fae5e10 pc=0x100356210
runtime.notesleep(0x101d0a6d0)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/lock_sema.go:62 +0xac fp=0x16fae5ea0 sp=0x16fae5e70 pc=0x10032d3fc
runtime.mPark(...)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:1960
runtime.stopm()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:2999 +0x84 fp=0x16fae5ed0 sp=0x16fae5ea0 pc=0x100360ed4
runtime.findRunnable()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:3770 +0x1358 fp=0x16fae60a0 sp=0x16fae5ed0 pc=0x100362fe8
runtime.schedule()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:4138 +0x90 fp=0x16fae60e0 sp=0x16fae60a0 pc=0x1003642e0
runtime.goschedImpl(0x140000021c0, 0x6c?)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:4300 +0x1f4 fp=0x16fae6130 sp=0x16fae60e0 pc=0x1003649d4
runtime.gosched_m(0x620?)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:4305 +0x20 fp=0x16fae6150 sp=0x16fae6130 pc=0x100364b20
runtime.mcall()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/asm_arm64.s:241 +0x54 fp=0x16fae6160 sp=0x16fae6150 pc=0x100397404

goroutine 1 gp=0x140000021c0 m=nil [runnable]:
runtime.Gosched()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:389 +0x18 fp=0x140004d9e20 sp=0x140004d9e00 pc=0x10035c1e8
internal/runtime/exithook.Run(0x0)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/internal/runtime/exithook/hooks.go:61 +0x40 fp=0x140004d9e80 sp=0x140004d9e20 pc=0x1003258f0
runtime.runExitHooks(...)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:356
os.runtime_beforeExit(0x140004d9e88?)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:338 +0x20 fp=0x140004d9ea0 sp=0x140004d9e80 pc=0x100391220
os.Exit(0x0)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/os/proc.go:75 +0x30 fp=0x140004d9ec0 sp=0x140004d9ea0 pc=0x1003e40d0
main.main()
        _testmain.go:49 +0x84 fp=0x140004d9f40 sp=0x140004d9ec0 pc=0x100bdce84
runtime.main()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:285 +0x278 fp=0x140004d9fd0 sp=0x140004d9f40 pc=0x10035be38
runtime.goexit({})
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/asm_arm64.s:1268 +0x4 fp=0x140004d9fd0 sp=0x140004d9fd0 pc=0x100399804

goroutine 2 gp=0x14000002700 m=nil [force gc (idle), 1 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:460 +0xc0 fp=0x14000076f90 sp=0x14000076f70 pc=0x100391300
runtime.goparkunlock(...)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:466
runtime.forcegchelper()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:373 +0xb4 fp=0x14000076fd0 sp=0x14000076f90 pc=0x10035c184
runtime.goexit({})
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/asm_arm64.s:1268 +0x4 fp=0x14000076fd0 sp=0x14000076fd0 pc=0x100399804
created by runtime.init.7 in goroutine 1
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:361 +0x24

goroutine 3 gp=0x14000002fc0 m=nil [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:460 +0xc0 fp=0x14000077760 sp=0x14000077740 pc=0x100391300
runtime.goparkunlock(...)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:466
runtime.bgsweep(0x14000046080)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgcsweep.go:323 +0x104 fp=0x140000777b0 sp=0x14000077760 pc=0x100344a14
runtime.gcenable.gowrap1()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:212 +0x28 fp=0x140000777d0 sp=0x140000777b0 pc=0x100338678
runtime.goexit({})
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/asm_arm64.s:1268 +0x4 fp=0x140000777d0 sp=0x140000777d0 pc=0x100399804
created by runtime.gcenable in goroutine 1
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:212 +0x6c

goroutine 4 gp=0x14000003180 m=nil [GC scavenge wait]:
runtime.gopark(0x10000?, 0x100f6d2b0?, 0x0?, 0x0?, 0x0?)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:460 +0xc0 fp=0x14000077f60 sp=0x14000077f40 pc=0x100391300
runtime.goparkunlock(...)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:466
runtime.(*scavengerState).park(0x101d08420)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgcscavenge.go:425 +0x5c fp=0x14000077f90 sp=0x14000077f60 pc=0x10034253c
runtime.bgscavenge(0x14000046080)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgcscavenge.go:658 +0xac fp=0x14000077fb0 sp=0x14000077f90 pc=0x100342adc
runtime.gcenable.gowrap2()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:213 +0x28 fp=0x14000077fd0 sp=0x14000077fb0 pc=0x100338618
runtime.goexit({})
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/asm_arm64.s:1268 +0x4 fp=0x14000077fd0 sp=0x14000077fd0 pc=0x100399804
created by runtime.gcenable in goroutine 1
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:213 +0xac

goroutine 5 gp=0x14000003340 m=nil [GOMAXPROCS updater (idle), 1 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:460 +0xc0 fp=0x14000078770 sp=0x14000078750 pc=0x100391300
runtime.goparkunlock(...)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:466
runtime.updateMaxProcsGoroutine()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:6706 +0xf4 fp=0x140000787d0 sp=0x14000078770 pc=0x10036abb4
runtime.goexit({})
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/asm_arm64.s:1268 +0x4 fp=0x140000787d0 sp=0x140000787d0 pc=0x100399804
created by runtime.defaultGOMAXPROCSUpdateEnable in goroutine 1
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:6694 +0x48

goroutine 6 gp=0x14000003500 m=nil [finalizer wait, 1 minutes]:
runtime.gopark(0x140000765b8?, 0x1003303ac?, 0x58?, 0x0?, 0x101317080?)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:460 +0xc0 fp=0x14000076580 sp=0x14000076560 pc=0x100391300
runtime.runFinalizers()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mfinal.go:210 +0x104 fp=0x140000767d0 sp=0x14000076580 pc=0x100337664
runtime.goexit({})
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/asm_arm64.s:1268 +0x4 fp=0x140000767d0 sp=0x140000767d0 pc=0x100399804
created by runtime.createfing in goroutine 1
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mfinal.go:172 +0x78

goroutine 7 gp=0x140000036c0 m=nil [GC worker (idle), 1 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:460 +0xc0 fp=0x14000078f10 sp=0x14000078ef0 pc=0x100391300
runtime.gcBgMarkWorker(0x140000401c0)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1463 +0xe0 fp=0x14000078fb0 sp=0x14000078f10 pc=0x10033acf0
runtime.gcBgMarkStartWorkers.gowrap1()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1373 +0x28 fp=0x14000078fd0 sp=0x14000078fb0 pc=0x10033abd8
runtime.goexit({})
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/asm_arm64.s:1268 +0x4 fp=0x14000078fd0 sp=0x14000078fd0 pc=0x100399804
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1373 +0x140

goroutine 17 gp=0x1400009a380 m=nil [GC worker (idle), 1 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:460 +0xc0 fp=0x14000072710 sp=0x140000726f0 pc=0x100391300
runtime.gcBgMarkWorker(0x140000401c0)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1463 +0xe0 fp=0x140000727b0 sp=0x14000072710 pc=0x10033acf0
runtime.gcBgMarkStartWorkers.gowrap1()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1373 +0x28 fp=0x140000727d0 sp=0x140000727b0 pc=0x10033abd8
runtime.goexit({})
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/asm_arm64.s:1268 +0x4 fp=0x140000727d0 sp=0x140000727d0 pc=0x100399804
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1373 +0x140

goroutine 33 gp=0x14000484000 m=nil [GC worker (idle), 1 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:460 +0xc0 fp=0x1400048a710 sp=0x1400048a6f0 pc=0x100391300
runtime.gcBgMarkWorker(0x140000401c0)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1463 +0xe0 fp=0x1400048a7b0 sp=0x1400048a710 pc=0x10033acf0
runtime.gcBgMarkStartWorkers.gowrap1()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1373 +0x28 fp=0x1400048a7d0 sp=0x1400048a7b0 pc=0x10033abd8
runtime.goexit({})
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/asm_arm64.s:1268 +0x4 fp=0x1400048a7d0 sp=0x1400048a7d0 pc=0x100399804
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1373 +0x140

goroutine 8 gp=0x14000003880 m=nil [GC worker (idle), 1 minutes]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:460 +0xc0 fp=0x14000079710 sp=0x140000796f0 pc=0x100391300
runtime.gcBgMarkWorker(0x140000401c0)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1463 +0xe0 fp=0x140000797b0 sp=0x14000079710 pc=0x10033acf0
runtime.gcBgMarkStartWorkers.gowrap1()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1373 +0x28 fp=0x140000797d0 sp=0x140000797b0 pc=0x10033abd8
runtime.goexit({})
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/asm_arm64.s:1268 +0x4 fp=0x140000797d0 sp=0x140000797d0 pc=0x100399804
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1373 +0x140

goroutine 18 gp=0x1400009a540 m=nil [GC worker (idle)]:
runtime.gopark(0x1d725020c3a06?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:460 +0xc0 fp=0x1400010bf10 sp=0x1400010bef0 pc=0x100391300
runtime.gcBgMarkWorker(0x140000401c0)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1463 +0xe0 fp=0x1400010bfb0 sp=0x1400010bf10 pc=0x10033acf0
runtime.gcBgMarkStartWorkers.gowrap1()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1373 +0x28 fp=0x1400010bfd0 sp=0x1400010bfb0 pc=0x10033abd8
runtime.goexit({})
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/asm_arm64.s:1268 +0x4 fp=0x1400010bfd0 sp=0x1400010bfd0 pc=0x100399804
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1373 +0x140

goroutine 9 gp=0x14000003a40 m=nil [GC worker (idle)]:
runtime.gopark(0x1d725020b65f3?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:460 +0xc0 fp=0x14000079f10 sp=0x14000079ef0 pc=0x100391300
runtime.gcBgMarkWorker(0x140000401c0)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1463 +0xe0 fp=0x14000079fb0 sp=0x14000079f10 pc=0x10033acf0
runtime.gcBgMarkStartWorkers.gowrap1()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1373 +0x28 fp=0x14000079fd0 sp=0x14000079fb0 pc=0x10033abd8
runtime.goexit({})
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/asm_arm64.s:1268 +0x4 fp=0x14000079fd0 sp=0x14000079fd0 pc=0x100399804
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1373 +0x140

goroutine 34 gp=0x140004841c0 m=nil [GC worker (idle)]:
runtime.gopark(0x1d725020bb684?, 0x0?, 0x0?, 0x0?, 0x0?)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:460 +0xc0 fp=0x14000104f10 sp=0x14000104ef0 pc=0x100391300
runtime.gcBgMarkWorker(0x140000401c0)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1463 +0xe0 fp=0x14000104fb0 sp=0x14000104f10 pc=0x10033acf0
runtime.gcBgMarkStartWorkers.gowrap1()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1373 +0x28 fp=0x14000104fd0 sp=0x14000104fb0 pc=0x10033abd8
runtime.goexit({})
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/asm_arm64.s:1268 +0x4 fp=0x14000104fd0 sp=0x14000104fd0 pc=0x100399804
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1373 +0x140

goroutine 19 gp=0x1400009a700 m=nil [GC worker (idle)]:
runtime.gopark(0x1d725020c2a66?, 0x1?, 0xd9?, 0x38?, 0x0?)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:460 +0xc0 fp=0x14000604f10 sp=0x14000604ef0 pc=0x100391300
runtime.gcBgMarkWorker(0x140000401c0)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1463 +0xe0 fp=0x14000604fb0 sp=0x14000604f10 pc=0x10033acf0
runtime.gcBgMarkStartWorkers.gowrap1()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1373 +0x28 fp=0x14000604fd0 sp=0x14000604fb0 pc=0x10033abd8
runtime.goexit({})
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/asm_arm64.s:1268 +0x4 fp=0x14000604fd0 sp=0x14000604fd0 pc=0x100399804
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1373 +0x140

goroutine 35 gp=0x14000484380 m=nil [GC worker (idle)]:
runtime.gopark(0x1d725020b62db?, 0x1?, 0x50?, 0x2c?, 0x0?)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:460 +0xc0 fp=0x1400048b710 sp=0x1400048b6f0 pc=0x100391300
runtime.gcBgMarkWorker(0x140000401c0)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1463 +0xe0 fp=0x1400048b7b0 sp=0x1400048b710 pc=0x10033acf0
runtime.gcBgMarkStartWorkers.gowrap1()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1373 +0x28 fp=0x1400048b7d0 sp=0x1400048b7b0 pc=0x10033abd8
runtime.goexit({})
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/asm_arm64.s:1268 +0x4 fp=0x1400048b7d0 sp=0x1400048b7d0 pc=0x100399804
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1373 +0x140

goroutine 20 gp=0x1400009a8c0 m=nil [GC worker (idle)]:
runtime.gopark(0x1d725020bfb33?, 0x1?, 0xfa?, 0x71?, 0x0?)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:460 +0xc0 fp=0x14000603f10 sp=0x14000603ef0 pc=0x100391300
runtime.gcBgMarkWorker(0x140000401c0)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1463 +0xe0 fp=0x14000603fb0 sp=0x14000603f10 pc=0x10033acf0
runtime.gcBgMarkStartWorkers.gowrap1()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1373 +0x28 fp=0x14000603fd0 sp=0x14000603fb0 pc=0x10033abd8
runtime.goexit({})
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/asm_arm64.s:1268 +0x4 fp=0x14000603fd0 sp=0x14000603fd0 pc=0x100399804
created by runtime.gcBgMarkStartWorkers in goroutine 1
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mgc.go:1373 +0x140

goroutine 10 gp=0x14000484a80 m=nil [cleanup wait]:
runtime.gopark(0x1d72501d6ef9c?, 0x1d72501d6c645?, 0x57?, 0x29?, 0x0?)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:460 +0xc0 fp=0x1400048af40 sp=0x1400048af20 pc=0x100391300
runtime.goparkunlock(...)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/proc.go:466
runtime.(*cleanupQueue).dequeue(0x101d088e0)
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mcleanup.go:439 +0x110 fp=0x1400048af80 sp=0x1400048af40 pc=0x100334b50
runtime.runCleanups()
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mcleanup.go:635 +0x40 fp=0x1400048afd0 sp=0x1400048af80 pc=0x100335360
runtime.goexit({})
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/asm_arm64.s:1268 +0x4 fp=0x1400048afd0 sp=0x1400048afd0 pc=0x100399804
created by runtime.(*cleanupQueue).createGs in goroutine 1
        /Users/timo/.local/share/mise/installs/go/1.25.1/src/runtime/mcleanup.go:589 +0x108

r0      0x104
r1      0x0
r2      0x9e2f400
r3      0x0
r4      0x0
r5      0xa0
r6      0x0
r7      0x0
r8      0x16fae5cf8
r9      0x0
r10     0x5e800
r11     0x5e8000005e802
r12     0x5e8000005e802
r13     0x5e800
r14     0x0
r15     0x5e8000005e800
r16     0x131
r17     0x20f1fdf60
r18     0x0
r19     0x101d0aaa8
r20     0x101d0aae8
r21     0x20e1adfe0
r22     0x0
r23     0x0
r24     0x9e2f400
r25     0x9e2f401
r26     0x9e2f500
r27     0x101ccc000
r28     0x101d08aa0
r29     0x16fae5d70
lr      0x1a009f0e0
sp      0x16fae5ce0
pc      0x1a00603cc
fault   0x1a00603cc
*** Test killed with quit: ran too long (1m5s).
FAIL    gitlab.com/gitlab-org/cli/internal/commands/ci/status   65.039s
FAIL

What did you expect to see?

I expected the go test command to return successfully after the test completed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugReportIssues describing a possible bug in the Go implementation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.compiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions