In today's CI run, the timeout/timeout test fails on
  - CentOS 7
  - macOS
  - Solaris 11.4


CentOS 7 log:

FAIL: tests/timeout/timeout
===========================

++ initial_cwd_=/work/coreutils-2026-11-10/build
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /work/coreutils-2026-11-10/build gt-timeout.sh.XXXX
+++ case $# in
+++ destdir_=/work/coreutils-2026-11-10/build
+++ template_=gt-timeout.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/work/coreutils-2026-11-10/build/
+++ case $template_ in
++++ unset TMPDIR
+++ d=/work/coreutils-2026-11-10/build/gt-timeout.sh.x1yC
+++ case $d in
+++ :
+++ test -d /work/coreutils-2026-11-10/build/gt-timeout.sh.x1yC
++++ ls -dgo /work/coreutils-2026-11-10/build/gt-timeout.sh.x1yC
+++ perms='drwx------ 2 4096 Nov 10 02:02 
/work/coreutils-2026-11-10/build/gt-timeout.sh.x1yC'
+++ case $perms in
+++ :
+++ echo /work/coreutils-2026-11-10/build/gt-timeout.sh.x1yC
+++ return
++ test_dir_=/work/coreutils-2026-11-10/build/gt-timeout.sh.x1yC
++ cd /work/coreutils-2026-11-10/build/gt-timeout.sh.x1yC
++ case $srcdir in
++ srcdir=../..
++ builddir=..
++ export srcdir builddir
++ gl_init_sh_nl_='
'
++ IFS='        
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ saved_IFS='  
'
++ IFS=:
++ new_PATH=
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /work/coreutils-2026-11-10/build/src/.
++ new_PATH=/work/coreutils-2026-11-10/build/src
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /usr/local/sbin/.
++ new_PATH=/work/coreutils-2026-11-10/build/src:/usr/local/sbin
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /usr/local/bin/.
++ new_PATH=/work/coreutils-2026-11-10/build/src:/usr/local/sbin:/usr/local/bin
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /usr/sbin/.
++ 
new_PATH=/work/coreutils-2026-11-10/build/src:/usr/local/sbin:/usr/local/bin:/usr/sbin
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /usr/bin/.
++ 
new_PATH=/work/coreutils-2026-11-10/build/src:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /sbin/.
++ 
new_PATH=/work/coreutils-2026-11-10/build/src:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /bin/.
++ 
new_PATH=/work/coreutils-2026-11-10/build/src:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
++ IFS='        
'
++ 
PATH=/work/coreutils-2026-11-10/build/src:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
++ export PATH
++ trap remove_tmp_ EXIT
+ path_prepend_ ./src
+ test 1 '!=' 0
+ path_dir_=./src
+ case $path_dir_ in
+ abs_path_dir_=/work/coreutils-2026-11-10/build/./src
+ case $abs_path_dir_ in
+ 
PATH=/work/coreutils-2026-11-10/build/./src:/work/coreutils-2026-11-10/build/src:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ create_exe_shims_ /work/coreutils-2026-11-10/build/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ timeout env
+ require_built_ timeout env
+ skip_=no
+ for i in '"$@"'
+ case " $built_programs " in
+ for i in '"$@"'
+ case " $built_programs " in
+ test no = yes
+ test yes = yes
+ local i
+ for i in '$*'
+ env timeout --version
timeout (GNU coreutils) 2026-11-10
Copyright (C) 2026 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Padraig Brady.
+ for i in '$*'
+ env env --version
env (GNU coreutils) 2026-11-10
Copyright (C) 2026 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Richard Mlynarik, David MacKenzie, and Assaf Gordon.
+ require_trap_signame_
+ trap '' CHLD
+ timeout 10 true
+ timeout 1d true
+ timeout 0 true
+ returns_ 2 timeout 10 /bin/sh -c 'exit 2'
+ returns_ 124 timeout .1 sleep 10
+ returns_ 124 timeout --preserve-status .1 sleep 10
+ returns_ 124 timeout -s0 -k1 .1 sleep 10
../tests/init.sh: line 620: 79237 Killed                  "$@"
+ returns_ 124 timeout --foreground -s0 -k1 .1 sleep 10
+ for delay in .1 1e-9
+ returns_ 137 timeout -s ALRM -k .1 .1 env --ignore-signal=ALRM sleep 10
../tests/init.sh: line 620: 79243 Killed                  "$@"
+ for delay in .1 1e-9
+ returns_ 137 timeout -s ALRM -k 1e-9 .1 env --ignore-signal=ALRM sleep 10
../tests/init.sh: line 620: 79246 Killed                  "$@"
+ returns_ 124 timeout -s KILL 10 timeout -s CHLD .1 sleep .5
+ trap '' CHLD
+ exec timeout 10 true
+ setsid true
++ exec timeout .5 /bin/sh -c 'sleep 2; echo foo'
++ setsid sleep .1
+ out=
+ status=124
+ test '' = ''
+ test 124 = 124
+ cat
+ for opt in -v --verbose
+ timeout --foreground -v -s0 -k .1 .1 sleep 10
+ sed '/^Killed/d'
+ compare exp err
+ compare_dev_null_ exp err
+ test 2 = 2
+ test xexp = x/dev/null
+ test xerr = x/dev/null
+ return 2
+ case $? in
+ compare_ exp err
+ LC_ALL=C
+ diff -u exp err
+ for opt in -v --verbose
+ timeout --foreground --verbose -s0 -k .1 .1 sleep 10
+ sed '/^Killed/d'
+ compare exp err
+ compare_dev_null_ exp err
+ test 2 = 2
+ test xexp = x/dev/null
+ test xerr = x/dev/null
+ return 2
+ case $? in
+ compare_ exp err
+ LC_ALL=C
+ diff -u exp err
+ echo 124
+ for opt in ''\'''\''' ''\''--foreground'\'''
+ timeout -s KILL 10 timeout -v .1 sleep 10
+ :
+ echo 124
+ compare timeout.exp timeout.status
+ compare_dev_null_ timeout.exp timeout.status
+ test 2 = 2
+ test xtimeout.exp = x/dev/null
+ test xtimeout.status = x/dev/null
+ return 2
+ case $? in
+ compare_ timeout.exp timeout.status
+ LC_ALL=C
+ diff -u timeout.exp timeout.status
+ for opt in ''\'''\''' ''\''--foreground'\'''
+ timeout -s KILL 10 timeout --foreground -v .1 sleep 10
+ :
+ echo 124
+ compare timeout.exp timeout.status
+ compare_dev_null_ timeout.exp timeout.status
+ test 2 = 2
+ test xtimeout.exp = x/dev/null
+ test xtimeout.status = x/dev/null
+ return 2
+ case $? in
+ compare_ timeout.exp timeout.status
+ LC_ALL=C
+ diff -u timeout.exp timeout.status
+ grep 'Broken pipe'
+ returns_ 124 timeout -s KILL 10 /bin/sh -c '
    trap - XFSZ
    ulimit -f 0 || exit 1
    exec timeout --foreground -v .1 sleep 10 2>err
  '
+ file=term.seen
+ timeout -v .1 /bin/sh -c '
  exec 2>/dev/null  # ensure no "Terminated" message blocks the trap
  trap "echo 1 >term.seen" TERM
  yes  # Fill the pipe
'
+ retry_delay_ file_seen .1 6
+ local test_func=file_seen
+ local init_delay=.1
+ local max_n_tries=6
+ shift 3
+ local attempt=1
+ local num_sleeps=1
+ local time_miss
+ test 1 -le 6
++ gawk -v n=1 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.1
+ file_seen 0.1
+ sleep 0.1
+ test -s term.seen
+ time_miss=1
++ expr 1 + 1
+ attempt=2
++ expr 1 '*' 2
+ num_sleeps=2
+ test 2 -le 6
++ gawk -v n=2 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.2
+ file_seen 0.2
+ sleep 0.2
+ test -s term.seen
+ time_miss=1
++ expr 2 + 1
+ attempt=3
++ expr 2 '*' 2
+ num_sleeps=4
+ test 3 -le 6
++ gawk -v n=4 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.4
+ file_seen 0.4
+ sleep 0.4
+ test -s term.seen
+ time_miss=1
++ expr 3 + 1
+ attempt=4
++ expr 4 '*' 2
+ num_sleeps=8
+ test 4 -le 6
++ gawk -v n=8 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.8
+ file_seen 0.8
+ sleep 0.8
+ test -s term.seen
+ time_miss=1
++ expr 4 + 1
+ attempt=5
++ expr 8 '*' 2
+ num_sleeps=16
+ test 5 -le 6
++ gawk -v n=16 -v s=.1 'BEGIN { print s * n }'
+ local delay=1.6
+ file_seen 1.6
+ sleep 1.6
+ test -s term.seen
+ time_miss=1
++ expr 5 + 1
+ attempt=6
++ expr 16 '*' 2
+ num_sleeps=32
+ test 6 -le 6
++ gawk -v n=32 -v s=.1 'BEGIN { print s * n }'
+ local delay=3.2
+ file_seen 3.2
+ sleep 3.2
+ test -s term.seen
+ time_miss=1
++ expr 6 + 1
+ attempt=7
++ expr 32 '*' 2
+ num_sleeps=64
+ test 7 -le 6
+ test 1 = 0
+ touch term.missed
+ test -e term.missed
+ fail=1
+ file=kill.status
+ retry_delay_ file_seen .1 6
+ exec timeout -v -s KILL .1 yes
+ local test_func=file_seen
+ local init_delay=.1
+ local max_n_tries=6
+ shift 3
+ local attempt=1
+ local num_sleeps=1
+ local time_miss
+ test 1 -le 6
++ gawk -v n=1 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.1
+ file_seen 0.1
+ sleep 0.1
../tests/timeout/timeout.sh: line 129: 79320 Killed                  ( exec 
timeout -v -s KILL .1 yes 2>&1 )
+ echo 137
+ test -s kill.status
+ time_miss=0
+ break
+ test 0 = 0
+ test -e kill.missed
+ echo 137
+ compare kill.exp kill.status
+ compare_dev_null_ kill.exp kill.status
+ test 2 = 2
+ test xkill.exp = x/dev/null
+ test xkill.status = x/dev/null
+ return 2
+ case $? in
+ compare_ kill.exp kill.status
+ LC_ALL=C
+ diff -u kill.exp kill.status
+ file=kill-after.status
+ retry_delay_ file_seen .1 6
+ exec timeout -v -k .1 .1 /bin/sh -c 'trap "" TERM; exec yes >&2'
+ local test_func=file_seen
+ local init_delay=.1
+ local max_n_tries=6
+ shift 3
+ local attempt=1
+ local num_sleeps=1
+ local time_miss
+ test 1 -le 6
++ gawk -v n=1 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.1
+ file_seen 0.1
+ sleep 0.1
+ test -s kill-after.status
+ time_miss=1
++ expr 1 + 1
+ attempt=2
++ expr 1 '*' 2
+ num_sleeps=2
+ test 2 -le 6
++ gawk -v n=2 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.2
+ file_seen 0.2
+ sleep 0.2
../tests/timeout/timeout.sh: line 138: 79327 Killed                  ( exec 
timeout -v -k .1 .1 $SHELL -c 'trap "" TERM; exec yes >&2' 2>&1 )
+ echo 137
+ test -s kill-after.status
+ time_miss=0
+ break
+ test 0 = 0
+ test -e kill-after.missed
+ compare kill.exp kill-after.status
+ compare_dev_null_ kill.exp kill-after.status
+ test 2 = 2
+ test xkill.exp = x/dev/null
+ test xkill-after.status = x/dev/null
+ return 2
+ case $? in
+ compare_ kill.exp kill-after.status
+ LC_ALL=C
+ diff -u kill.exp kill-after.status
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ test '' = yes
+ cd /work/coreutils-2026-11-10/build
+ chmod -R u+rwx /work/coreutils-2026-11-10/build/gt-timeout.sh.x1yC
+ rm -rf /work/coreutils-2026-11-10/build/gt-timeout.sh.x1yC
+ exit 1
FAIL tests/timeout/timeout.sh (exit status: 1)


macOS 26 log:

FAIL: tests/timeout/timeout
===========================

++ initial_cwd_=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build 
gt-timeout.sh.XXXX
+++ case $# in
+++ destdir_=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build
+++ template_=gt-timeout.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ 
destdir_slash_=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/
+++ case $template_ in
++++ unset TMPDIR
+++ 
d=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/gt-timeout.sh.rcU7
+++ case $d in
+++ :
+++ test -d 
/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/gt-timeout.sh.rcU7
++++ ls -dgo 
/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/gt-timeout.sh.rcU7
+++ perms='drwx------ 2 64 Nov 10 02:09 
/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/gt-timeout.sh.rcU7'
+++ case $perms in
+++ :
+++ echo 
/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/gt-timeout.sh.rcU7
+++ return
++ 
test_dir_=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/gt-timeout.sh.rcU7
++ cd 
/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/gt-timeout.sh.rcU7
++ case $srcdir in
++ srcdir=../..
++ builddir=..
++ export srcdir builddir
++ gl_init_sh_nl_='
'
++ IFS='        
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ saved_IFS='  
'
++ IFS=:
++ new_PATH=
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src/.
++ new_PATH=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /opt/homebrew/opt/rustup/bin/.
++ 
new_PATH=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/opt/homebrew/opt/rustup/bin
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /opt/homebrew/lib/ruby/gems/3.4.0/bin/.
++ 
new_PATH=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/opt/homebrew/opt/rustup/bin:/opt/homebrew/lib/ruby/gems/3.4.0/bin
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /opt/homebrew/opt/[email protected]/bin/.
++ 
new_PATH=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/opt/homebrew/opt/rustup/bin:/opt/homebrew/lib/ruby/gems/3.4.0/bin:/opt/homebrew/opt/[email protected]/bin
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /opt/homebrew/bin/.
++ 
new_PATH=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/opt/homebrew/opt/rustup/bin:/opt/homebrew/lib/ruby/gems/3.4.0/bin:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/bin
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /opt/homebrew/sbin/.
++ 
new_PATH=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/opt/homebrew/opt/rustup/bin:/opt/homebrew/lib/ruby/gems/3.4.0/bin:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/bin:/opt/homebrew/sbin
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /usr/local/bin/.
++ 
new_PATH=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/opt/homebrew/opt/rustup/bin:/opt/homebrew/lib/ruby/gems/3.4.0/bin:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /Users/runner/.yarn/bin/.
++ 
new_PATH=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/opt/homebrew/opt/rustup/bin:/opt/homebrew/lib/ruby/gems/3.4.0/bin:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/Users/runner/.yarn/bin
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /Users/runner/Library/Android/sdk/tools/.
++ 
new_PATH=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/opt/homebrew/opt/rustup/bin:/opt/homebrew/lib/ruby/gems/3.4.0/bin:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /Users/runner/Library/Android/sdk/platform-tools/.
++ 
new_PATH=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/opt/homebrew/opt/rustup/bin:/opt/homebrew/lib/ruby/gems/3.4.0/bin:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /Library/Frameworks/Python.framework/Versions/Current/bin/.
++ 
new_PATH=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/opt/homebrew/opt/rustup/bin:/opt/homebrew/lib/ruby/gems/3.4.0/bin:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Library/Frameworks/Python.framework/Versions/Current/bin
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /usr/bin/.
++ 
new_PATH=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/opt/homebrew/opt/rustup/bin:/opt/homebrew/lib/ruby/gems/3.4.0/bin:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Library/Frameworks/Python.framework/Versions/Current/bin:/usr/bin
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /bin/.
++ 
new_PATH=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/opt/homebrew/opt/rustup/bin:/opt/homebrew/lib/ruby/gems/3.4.0/bin:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Library/Frameworks/Python.framework/Versions/Current/bin:/usr/bin:/bin
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /usr/sbin/.
++ 
new_PATH=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/opt/homebrew/opt/rustup/bin:/opt/homebrew/lib/ruby/gems/3.4.0/bin:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Library/Frameworks/Python.framework/Versions/Current/bin:/usr/bin:/bin:/usr/sbin
++ for dir in '$PATH'
++ IFS='        
'
++ case "$dir" in
++ test -d /sbin/.
++ 
new_PATH=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/opt/homebrew/opt/rustup/bin:/opt/homebrew/lib/ruby/gems/3.4.0/bin:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Library/Frameworks/Python.framework/Versions/Current/bin:/usr/bin:/bin:/usr/sbin:/sbin
++ IFS='        
'
++ 
PATH=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/opt/homebrew/opt/rustup/bin:/opt/homebrew/lib/ruby/gems/3.4.0/bin:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Library/Frameworks/Python.framework/Versions/Current/bin:/usr/bin:/bin:/usr/sbin:/sbin
++ export PATH
++ trap remove_tmp_ EXIT
+ path_prepend_ ./src
+ test 1 '!=' 0
+ path_dir_=./src
+ case $path_dir_ in
+ 
abs_path_dir_=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/./src
+ case $abs_path_dir_ in
+ 
PATH=/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/./src:/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/opt/homebrew/opt/rustup/bin:/opt/homebrew/lib/ruby/gems/3.4.0/bin:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Library/Frameworks/Python.framework/Versions/Current/bin:/usr/bin:/bin:/usr/sbin:/sbin
+ create_exe_shims_ 
/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ timeout env
+ require_built_ timeout env
+ skip_=no
+ for i in '"$@"'
+ case " $built_programs " in
+ for i in '"$@"'
+ case " $built_programs " in
+ test no = yes
+ test yes = yes
+ local i
+ for i in '$*'
+ env timeout --version
timeout (GNU coreutils) 2026-11-10
Copyright (C) 2026 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Padraig Brady.
+ for i in '$*'
+ env env --version
env (GNU coreutils) 2026-11-10
Copyright (C) 2026 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Richard Mlynarik, David MacKenzie, and Assaf Gordon.
+ require_trap_signame_
+ trap '' CHLD
+ timeout 10 true
+ timeout 1d true
+ timeout 0 true
+ returns_ 2 timeout 10 /bin/sh -c 'exit 2'
+ returns_ 124 timeout .1 sleep 10
+ returns_ 124 timeout --preserve-status .1 sleep 10
+ returns_ 124 timeout -s0 -k1 .1 sleep 10
../tests/init.sh: line 620: 44151 Killed: 9               "$@"
+ returns_ 124 timeout --foreground -s0 -k1 .1 sleep 10
+ for delay in .1 1e-9
+ returns_ 137 timeout -s ALRM -k .1 .1 env --ignore-signal=ALRM sleep 10
../tests/init.sh: line 620: 44327 Killed: 9               "$@"
+ for delay in .1 1e-9
+ returns_ 137 timeout -s ALRM -k 1e-9 .1 env --ignore-signal=ALRM sleep 10
../tests/init.sh: line 620: 44394 Killed: 9               "$@"
+ returns_ 124 timeout -s KILL 10 timeout -s CHLD .1 sleep .5
+ trap '' CHLD
+ exec timeout 10 true
+ setsid true
../tests/timeout/timeout.sh: line 72: setsid: command not found
+ cat
+ for opt in -v --verbose
+ timeout --foreground -v -s0 -k .1 .1 sleep 10
+ sed '/^Killed/d'
+ compare exp err
+ compare_dev_null_ exp err
+ test 2 = 2
+ test xexp = x/dev/null
+ test xerr = x/dev/null
+ return 2
+ case $? in
+ compare_ exp err
+ LC_ALL=C
+ diff -u exp err
+ for opt in -v --verbose
+ timeout --foreground --verbose -s0 -k .1 .1 sleep 10
+ sed '/^Killed/d'
+ compare exp err
+ compare_dev_null_ exp err
+ test 2 = 2
+ test xexp = x/dev/null
+ test xerr = x/dev/null
+ return 2
+ case $? in
+ compare_ exp err
+ LC_ALL=C
+ diff -u exp err
+ echo 124
+ for opt in ''\'''\''' ''\''--foreground'\'''
+ timeout -s KILL 10 timeout -v .1 sleep 10
+ :
+ echo 124
+ compare timeout.exp timeout.status
+ compare_dev_null_ timeout.exp timeout.status
+ test 2 = 2
+ test xtimeout.exp = x/dev/null
+ test xtimeout.status = x/dev/null
+ return 2
+ case $? in
+ compare_ timeout.exp timeout.status
+ LC_ALL=C
+ diff -u timeout.exp timeout.status
+ for opt in ''\'''\''' ''\''--foreground'\'''
+ timeout -s KILL 10 timeout --foreground -v .1 sleep 10
+ :
+ echo 124
+ compare timeout.exp timeout.status
+ compare_dev_null_ timeout.exp timeout.status
+ test 2 = 2
+ test xtimeout.exp = x/dev/null
+ test xtimeout.status = x/dev/null
+ return 2
+ case $? in
+ compare_ timeout.exp timeout.status
+ LC_ALL=C
+ diff -u timeout.exp timeout.status
+ grep 'Broken pipe'
+ returns_ 124 timeout -s KILL 10 /bin/sh -c '
    trap - XFSZ
    ulimit -f 0 || exit 1
    exec timeout --foreground -v .1 sleep 10 2>err
  '
+ file=term.seen
+ timeout -v .1 /bin/sh -c '
  exec 2>/dev/null  # ensure no "Terminated" message blocks the trap
  trap "echo 1 >term.seen" TERM
  yes  # Fill the pipe
'
+ retry_delay_ file_seen .1 6
+ local test_func=file_seen
+ local init_delay=.1
+ local max_n_tries=6
+ shift 3
+ local attempt=1
+ local num_sleeps=1
+ local time_miss
+ test 1 -le 6
++ awk -v n=1 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.1
+ file_seen 0.1
+ sleep 0.1
+ test -s term.seen
+ time_miss=1
++ expr 1 + 1
+ attempt=2
++ expr 1 '*' 2
+ num_sleeps=2
+ test 2 -le 6
++ awk -v n=2 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.2
+ file_seen 0.2
+ sleep 0.2
+ test -s term.seen
+ time_miss=1
++ expr 2 + 1
+ attempt=3
++ expr 2 '*' 2
+ num_sleeps=4
+ test 3 -le 6
++ awk -v n=4 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.4
+ file_seen 0.4
+ sleep 0.4
+ test -s term.seen
+ time_miss=1
++ expr 3 + 1
+ attempt=4
++ expr 4 '*' 2
+ num_sleeps=8
+ test 4 -le 6
++ awk -v n=8 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.8
+ file_seen 0.8
+ sleep 0.8
+ test -s term.seen
+ time_miss=1
++ expr 4 + 1
+ attempt=5
++ expr 8 '*' 2
+ num_sleeps=16
+ test 5 -le 6
++ awk -v n=16 -v s=.1 'BEGIN { print s * n }'
+ local delay=1.6
+ file_seen 1.6
+ sleep 1.6
+ test -s term.seen
+ time_miss=1
++ expr 5 + 1
+ attempt=6
++ expr 16 '*' 2
+ num_sleeps=32
+ test 6 -le 6
++ awk -v n=32 -v s=.1 'BEGIN { print s * n }'
+ local delay=3.2
+ file_seen 3.2
+ sleep 3.2
+ test -s term.seen
+ time_miss=1
++ expr 6 + 1
+ attempt=7
++ expr 32 '*' 2
+ num_sleeps=64
+ test 7 -le 6
+ test 1 = 0
+ touch term.missed
+ test -e term.missed
+ fail=1
+ file=kill.status
+ exec timeout -v -s KILL .1 yes
+ retry_delay_ file_seen .1 6
+ local test_func=file_seen
+ local init_delay=.1
+ local max_n_tries=6
+ shift 3
+ local attempt=1
+ local num_sleeps=1
+ local time_miss
+ test 1 -le 6
++ awk -v n=1 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.1
+ file_seen 0.1
+ sleep 0.1
../tests/timeout/timeout.sh: line 129: 44510 Killed: 9               ( exec 
timeout -v -s KILL .1 yes 2>&1 )
+ echo 137
+ test -s kill.status
+ time_miss=0
+ break
+ test 0 = 0
+ test -e kill.missed
+ echo 137
+ compare kill.exp kill.status
+ compare_dev_null_ kill.exp kill.status
+ test 2 = 2
+ test xkill.exp = x/dev/null
+ test xkill.status = x/dev/null
+ return 2
+ case $? in
+ compare_ kill.exp kill.status
+ LC_ALL=C
+ diff -u kill.exp kill.status
+ file=kill-after.status
+ exec timeout -v -k .1 .1 /bin/sh -c 'trap "" TERM; exec yes >&2'
+ retry_delay_ file_seen .1 6
+ local test_func=file_seen
+ local init_delay=.1
+ local max_n_tries=6
+ shift 3
+ local attempt=1
+ local num_sleeps=1
+ local time_miss
+ test 1 -le 6
++ awk -v n=1 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.1
+ file_seen 0.1
+ sleep 0.1
+ test -s kill-after.status
+ time_miss=1
++ expr 1 + 1
+ attempt=2
++ expr 1 '*' 2
+ num_sleeps=2
+ test 2 -le 6
++ awk -v n=2 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.2
+ file_seen 0.2
+ sleep 0.2
../tests/timeout/timeout.sh: line 138: 44517 Killed: 9               ( exec 
timeout -v -k .1 .1 $SHELL -c 'trap "" TERM; exec yes >&2' 2>&1 )
+ echo 137
+ test -s kill-after.status
+ time_miss=0
+ break
+ test 0 = 0
+ test -e kill-after.missed
+ compare kill.exp kill-after.status
+ compare_dev_null_ kill.exp kill-after.status
+ test 2 = 2
+ test xkill.exp = x/dev/null
+ test xkill-after.status = x/dev/null
+ return 2
+ case $? in
+ compare_ kill.exp kill-after.status
+ LC_ALL=C
+ diff -u kill.exp kill-after.status
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ test '' = yes
+ cd /Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build
+ chmod -R u+rwx 
/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/gt-timeout.sh.rcU7
+ rm -rf 
/Users/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/gt-timeout.sh.rcU7
+ exit 1
FAIL tests/timeout/timeout.sh (exit status: 1)


Solaris 11.4 log:

FAIL: tests/timeout/timeout
===========================

++ initial_cwd_=/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build 
gt-timeout.sh.XXXX
+++ case $# in
+++ destdir_=/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build
+++ template_=gt-timeout.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ 
destdir_slash_=/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/
+++ case $template_ in
++++ unset TMPDIR
+++ 
d=/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/gt-timeout.sh.wwMI
+++ case $d in
+++ :
+++ test -d 
/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/gt-timeout.sh.wwMI
++++ ls -dgo 
/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/gt-timeout.sh.wwMI
+++ perms='drwx------ 2 2 Nov 10 02:12 
/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/gt-timeout.sh.wwMI'
+++ case $perms in
+++ :
+++ echo 
/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/gt-timeout.sh.wwMI
+++ return
++ 
test_dir_=/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/gt-timeout.sh.wwMI
++ cd 
/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/gt-timeout.sh.wwMI
++ case $srcdir in
++ srcdir=../..
++ builddir=..
++ export srcdir builddir
++ gl_init_sh_nl_='
'
++ IFS='        
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ saved_IFS='  
'
++ IFS=:
++ new_PATH=
++ for dir in $PATH
++ IFS='        
'
++ case "$dir" in
++ test -d /home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src/.
++ new_PATH=/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src
++ for dir in $PATH
++ IFS='        
'
++ case "$dir" in
++ test -d /usr/xpg4/bin/.
++ 
new_PATH=/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/usr/xpg4/bin
++ for dir in $PATH
++ IFS='        
'
++ case "$dir" in
++ test -d /usr/bin/.
++ 
new_PATH=/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/usr/xpg4/bin:/usr/bin
++ for dir in $PATH
++ IFS='        
'
++ case "$dir" in
++ test -d /usr/sbin/.
++ 
new_PATH=/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/usr/xpg4/bin:/usr/bin:/usr/sbin
++ for dir in $PATH
++ IFS='        
'
++ case "$dir" in
++ test -d /opt/csw/bin/.
++ 
new_PATH=/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/usr/xpg4/bin:/usr/bin:/usr/sbin:/opt/csw/bin
++ for dir in $PATH
++ IFS='        
'
++ case "$dir" in
++ test -d /sbin/.
++ 
new_PATH=/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/usr/xpg4/bin:/usr/bin:/usr/sbin:/opt/csw/bin:/sbin
++ IFS='        
'
++ 
PATH=/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/usr/xpg4/bin:/usr/bin:/usr/sbin:/opt/csw/bin:/sbin
++ export PATH
++ trap remove_tmp_ EXIT
+ path_prepend_ ./src
+ test 1 '!=' 0
+ path_dir_=./src
+ case $path_dir_ in
+ 
abs_path_dir_=/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/./src
+ case $abs_path_dir_ in
+ 
PATH=/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/./src:/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/src:/usr/xpg4/bin:/usr/bin:/usr/sbin:/opt/csw/bin:/sbin
+ create_exe_shims_ 
/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ timeout env
+ require_built_ timeout env
+ skip_=no
+ for i in "$@"
+ case " $built_programs " in
+ for i in "$@"
+ case " $built_programs " in
+ test no = yes
+ test yes = yes
+ local i
+ for i in $*
+ env timeout --version
timeout (GNU coreutils) 2026-11-10
Copyright (C) 2026 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Padraig Brady.
+ for i in $*
+ env env --version
env (GNU coreutils) 2026-11-10
Copyright (C) 2026 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Richard Mlynarik, David MacKenzie, and Assaf Gordon.
+ require_trap_signame_
+ trap '' CHLD
+ timeout 10 true
+ timeout 1d true
+ timeout 0 true
+ returns_ 2 timeout 10 /bin/sh -c 'exit 2'
+ returns_ 124 timeout .1 sleep 10
+ returns_ 124 timeout --preserve-status .1 sleep 10
+ returns_ 124 timeout -s0 -k1 .1 sleep 10
../tests/init.sh: line 620: 19772 Killed                  "$@"
+ returns_ 124 timeout --foreground -s0 -k1 .1 sleep 10
+ for delay in .1 1e-9
+ returns_ 137 timeout -s ALRM -k .1 .1 env --ignore-signal=ALRM sleep 10
../tests/init.sh: line 620: 19778 Killed                  "$@"
+ for delay in .1 1e-9
+ returns_ 137 timeout -s ALRM -k 1e-9 .1 env --ignore-signal=ALRM sleep 10
../tests/init.sh: line 620: 19781 Killed                  "$@"
+ returns_ 124 timeout -s KILL 10 timeout -s CHLD .1 sleep .5
+ trap '' CHLD
+ exec timeout 10 true
+ setsid true
../tests/timeout/timeout.sh: line 72: setsid: command not found
+ cat
+ for opt in -v --verbose
+ timeout --foreground -v -s0 -k .1 .1 sleep 10
+ sed '/^Killed/d'
+ compare exp err
+ compare_dev_null_ exp err
+ test 2 = 2
+ test xexp = x/dev/null
+ test xerr = x/dev/null
+ return 2
+ case $? in
+ compare_ exp err
+ LC_ALL=C
+ diff -u exp err
+ for opt in -v --verbose
+ timeout --foreground --verbose -s0 -k .1 .1 sleep 10
+ sed '/^Killed/d'
+ compare exp err
+ compare_dev_null_ exp err
+ test 2 = 2
+ test xexp = x/dev/null
+ test xerr = x/dev/null
+ return 2
+ case $? in
+ compare_ exp err
+ LC_ALL=C
+ diff -u exp err
+ echo 124
+ for opt in '' '--foreground'
+ timeout -s KILL 10 timeout -v .1 sleep 10
+ :
+ echo 124
+ compare timeout.exp timeout.status
+ compare_dev_null_ timeout.exp timeout.status
+ test 2 = 2
+ test xtimeout.exp = x/dev/null
+ test xtimeout.status = x/dev/null
+ return 2
+ case $? in
+ compare_ timeout.exp timeout.status
+ LC_ALL=C
+ diff -u timeout.exp timeout.status
+ for opt in '' '--foreground'
+ timeout -s KILL 10 timeout --foreground -v .1 sleep 10
+ :
+ echo 124
+ compare timeout.exp timeout.status
+ compare_dev_null_ timeout.exp timeout.status
+ test 2 = 2
+ test xtimeout.exp = x/dev/null
+ test xtimeout.status = x/dev/null
+ return 2
+ case $? in
+ compare_ timeout.exp timeout.status
+ LC_ALL=C
+ diff -u timeout.exp timeout.status
+ grep 'Broken pipe'
+ returns_ 124 timeout -s KILL 10 /bin/sh -c '
    trap - XFSZ
    ulimit -f 0 || exit 1
    exec timeout --foreground -v .1 sleep 10 2>err
  '
+ file=term.seen
+ timeout -v .1 /bin/sh -c '
  exec 2>/dev/null  # ensure no "Terminated" message blocks the trap
  trap "echo 1 >term.seen" TERM
  yes  # Fill the pipe
'
+ retry_delay_ file_seen .1 6
+ local test_func=file_seen
+ local init_delay=.1
+ local max_n_tries=6
+ shift 3
+ local attempt=1
+ local num_sleeps=1
+ local time_miss
+ test 1 -le 6
++ gawk -v n=1 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.1
+ file_seen 0.1
+ sleep 0.1
+ test -s term.seen
+ time_miss=1
++ expr 1 + 1
+ attempt=2
++ expr 1 '*' 2
+ num_sleeps=2
+ test 2 -le 6
++ gawk -v n=2 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.2
+ file_seen 0.2
+ sleep 0.2
+ test -s term.seen
+ time_miss=1
++ expr 2 + 1
+ attempt=3
++ expr 2 '*' 2
+ num_sleeps=4
+ test 3 -le 6
++ gawk -v n=4 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.4
+ file_seen 0.4
+ sleep 0.4
+ test -s term.seen
+ time_miss=1
++ expr 3 + 1
+ attempt=4
++ expr 4 '*' 2
+ num_sleeps=8
+ test 4 -le 6
++ gawk -v n=8 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.8
+ file_seen 0.8
+ sleep 0.8
+ test -s term.seen
+ time_miss=1
++ expr 4 + 1
+ attempt=5
++ expr 8 '*' 2
+ num_sleeps=16
+ test 5 -le 6
++ gawk -v n=16 -v s=.1 'BEGIN { print s * n }'
+ local delay=1.6
+ file_seen 1.6
+ sleep 1.6
+ test -s term.seen
+ time_miss=1
++ expr 5 + 1
+ attempt=6
++ expr 16 '*' 2
+ num_sleeps=32
+ test 6 -le 6
++ gawk -v n=32 -v s=.1 'BEGIN { print s * n }'
+ local delay=3.2
+ file_seen 3.2
+ sleep 3.2
+ test -s term.seen
+ time_miss=1
++ expr 6 + 1
+ attempt=7
++ expr 32 '*' 2
+ num_sleeps=64
+ test 7 -le 6
+ test 1 = 0
+ touch term.missed
+ test -e term.missed
+ fail=1
+ file=kill.status
+ retry_delay_ file_seen .1 6
+ local test_func=file_seen
+ local init_delay=.1
+ local max_n_tries=6
+ shift 3
+ local attempt=1
+ exec timeout -v -s KILL .1 yes
+ local num_sleeps=1
+ local time_miss
+ test 1 -le 6
++ gawk -v n=1 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.1
+ file_seen 0.1
+ sleep 0.1
../tests/timeout/timeout.sh: line 128: 19851 Killed                  ( exec 
timeout -v -s KILL .1 yes 2>&1 )
+ echo 137
+ test -s kill.status
+ time_miss=0
+ break
+ test 0 = 0
+ test -e kill.missed
+ echo 137
+ compare kill.exp kill.status
+ compare_dev_null_ kill.exp kill.status
+ test 2 = 2
+ test xkill.exp = x/dev/null
+ test xkill.status = x/dev/null
+ return 2
+ case $? in
+ compare_ kill.exp kill.status
+ LC_ALL=C
+ diff -u kill.exp kill.status
+ file=kill-after.status
+ retry_delay_ file_seen .1 6
+ local test_func=file_seen
+ local init_delay=.1
+ local max_n_tries=6
+ shift 3
+ local attempt=1
+ local num_sleeps=1
+ local time_miss
+ exec timeout -v -k .1 .1 /bin/sh -c 'trap "" TERM; exec yes >&2'
+ test 1 -le 6
++ gawk -v n=1 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.1
+ file_seen 0.1
+ sleep 0.1
+ test -s kill-after.status
+ time_miss=1
++ expr 1 + 1
+ attempt=2
++ expr 1 '*' 2
+ num_sleeps=2
+ test 2 -le 6
++ gawk -v n=2 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.2
+ file_seen 0.2
+ sleep 0.2
../tests/timeout/timeout.sh: line 137: 19858 Killed                  ( exec 
timeout -v -k .1 .1 $SHELL -c 'trap "" TERM; exec yes >&2' 2>&1 )
+ echo 137
+ test -s kill-after.status
+ time_miss=0
+ break
+ test 0 = 0
+ test -e kill-after.missed
+ compare kill.exp kill-after.status
+ compare_dev_null_ kill.exp kill-after.status
+ test 2 = 2
+ test xkill.exp = x/dev/null
+ test xkill-after.status = x/dev/null
+ return 2
+ case $? in
+ compare_ kill.exp kill-after.status
+ LC_ALL=C
+ diff -u kill.exp kill-after.status
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ test '' = yes
+ cd /home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build
+ chmod -R u+rwx 
/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/gt-timeout.sh.wwMI
+ rm -rf 
/home/runner/work/ci-check/ci-check/coreutils-2026-11-10/build/gt-timeout.sh.wwMI
+ exit 1
FAIL tests/timeout/timeout.sh (exit status: 1)




  • timeout/timeout test fai... Bruno Haible via GNU coreutils General Discussion

Reply via email to