https://build.golang.org/log/59c45ddde98d0d3c660c381aa819fa1a5b85e154:
session leader error: error setting tty process group: no such processerror running second subprocess: error setting tty process group: no such process
--- FAIL: TestTerminalSignal (0.01s)
signal_cgo_test.go:186: Sending ^Z...
signal_cgo_test.go:195: error reading readiness: EOF
FAIL
FAIL os/signal 1.782s
TestTerminalSignal was rewritten in https://go.dev/cl/440220 to make direct system calls.
It appears that the call that is failing is an ioctl with argument TIOCSPGRP.
It could possibly be caused by an invalid return from syscall.Getpgrp().
(attn @golang/s390x; CC @prattmic)
https://build.golang.org/log/59c45ddde98d0d3c660c381aa819fa1a5b85e154:
TestTerminalSignalwas rewritten in https://go.dev/cl/440220 to make direct system calls.It appears that the call that is failing is an
ioctlwith argumentTIOCSPGRP.It could possibly be caused by an invalid return from
syscall.Getpgrp().(attn @golang/s390x; CC @prattmic)