On Debian 13 / arm64 I see one test failure:

FAIL: tests/tail/inotify-dir-recreate.sh

Find attached the log file.

==========================================================
   GNU coreutils 9.11.274-7f973: ./tests/test-suite.log
==========================================================

# TOTAL: 760
# PASS:  599
# SKIP:  160
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

System information (uname -a): Linux 6.12.101+deb13-arm64 #1 SMP Debian 6.12.101-1 (2026-08-05) aarch64
Distribution information (/etc/os-release):
PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
NAME="Debian GNU/Linux"
VERSION_ID="13"
VERSION="13 (trixie)"
VERSION_CODENAME=trixie
DEBIAN_VERSION_FULL=13.6
ID=debian
HOME_URL="https://www.debian.org/";

.. contents:: :depth: 2

FAIL: tests/tail/inotify-dir-recreate
=====================================

++ initial_cwd_=/home/bruno/coreutils-9.11.274-7f973/build
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /home/bruno/coreutils-9.11.274-7f973/build gt-inotify-dir-recreate.sh.XXXX
+++ case $# in
+++ destdir_=/home/bruno/coreutils-9.11.274-7f973/build
+++ template_=gt-inotify-dir-recreate.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/home/bruno/coreutils-9.11.274-7f973/build/
+++ case $template_ in
++++ unset TMPDIR
+++ d=/home/bruno/coreutils-9.11.274-7f973/build/gt-inotify-dir-recreate.sh.NiFT
+++ case $d in
+++ :
+++ test -d /home/bruno/coreutils-9.11.274-7f973/build/gt-inotify-dir-recreate.sh.NiFT
++++ ls -dgo /home/bruno/coreutils-9.11.274-7f973/build/gt-inotify-dir-recreate.sh.NiFT
+++ perms='drwx------ 2 4096 Sep 10 05:14 /home/bruno/coreutils-9.11.274-7f973/build/gt-inotify-dir-recreate.sh.NiFT'
+++ case $perms in
+++ :
+++ echo /home/bruno/coreutils-9.11.274-7f973/build/gt-inotify-dir-recreate.sh.NiFT
+++ return
++ test_dir_=/home/bruno/coreutils-9.11.274-7f973/build/gt-inotify-dir-recreate.sh.NiFT
++ cd /home/bruno/coreutils-9.11.274-7f973/build/gt-inotify-dir-recreate.sh.NiFT
++ 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/bruno/coreutils-9.11.274-7f973/build/src/.
++ new_PATH=/home/bruno/coreutils-9.11.274-7f973/build/src
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/local/bin/.
++ new_PATH=/home/bruno/coreutils-9.11.274-7f973/build/src:/usr/local/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/bin/.
++ new_PATH=/home/bruno/coreutils-9.11.274-7f973/build/src:/usr/local/bin:/usr/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /bin/.
++ new_PATH=/home/bruno/coreutils-9.11.274-7f973/build/src:/usr/local/bin:/usr/bin:/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/local/games/.
++ new_PATH=/home/bruno/coreutils-9.11.274-7f973/build/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/games/.
++ new_PATH=/home/bruno/coreutils-9.11.274-7f973/build/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /sbin/.
++ new_PATH=/home/bruno/coreutils-9.11.274-7f973/build/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/sbin/.
++ new_PATH=/home/bruno/coreutils-9.11.274-7f973/build/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin
++ IFS=' 	
'
++ PATH=/home/bruno/coreutils-9.11.274-7f973/build/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin
++ export PATH
++ trap remove_tmp_ EXIT
+ path_prepend_ ./src
+ test 1 '!=' 0
+ path_dir_=./src
+ case $path_dir_ in
+ abs_path_dir_=/home/bruno/coreutils-9.11.274-7f973/build/./src
+ case $abs_path_dir_ in
+ PATH=/home/bruno/coreutils-9.11.274-7f973/build/./src:/home/bruno/coreutils-9.11.274-7f973/build/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin
+ create_exe_shims_ /home/bruno/coreutils-9.11.274-7f973/build/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ tail
+ require_built_ tail
+ skip_=no
+ for i in "$@"
+ case " $built_programs " in
+ test no = yes
+ test yes = yes
+ local i
+ for i in $*
+ env tail --version
tail (GNU coreutils) 9.11.274-7f973
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 Paul Rubin, David MacKenzie, Ian Lance Taylor,
and Jim Meyering.
+ require_inotify_supported_
+ require_built_ tail timeout
+ skip_=no
+ for i in "$@"
+ case " $built_programs " in
+ for i in "$@"
+ case " $built_programs " in
+ test no = yes
+ retry_delay_ detect_tail_mode_ .1 4
+ local test_func=detect_tail_mode_
+ local init_delay=.1
+ local max_n_tries=4
+ shift 3
+ local attempt=1
+ local num_sleeps=1
+ local time_miss
+ test 1 -le 4
++ mawk -v n=1 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.1
+ detect_tail_mode_ 0.1
+ touch tail.debug
+ returns_ 124 timeout 0.1 tail -n0 -F --debug tail.debug
+ grep 'using .* mode' tail.mode
+ time_miss=0
+ break
+ test 0 = 0
+ grep 'using notification mode' tail.mode
+ mkdir dir
+ echo inotify
+ fastpoll='-s.1 --max-unchanged-stats=1'
+ pid=32710
+ grep_timeout_ inotify out
+ check_re=inotify
+ check_f=out
+ retry_delay_ check_tail_output_ .1 5
+ local test_func=check_tail_output_
+ local init_delay=.1
+ local max_n_tries=5
+ timeout 60 tail --debug --pid=32665 -F -s.1 --max-unchanged-stats=1 dir/file
+ shift 3
+ local attempt=1
+ local num_sleeps=1
+ local time_miss
+ test 1 -le 5
++ mawk -v n=1 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.1
+ check_tail_output_ 0.1
+ local delay=0.1
+ grep inotify out
+ time_miss=0
+ break
+ test 0 = 0
+ inotify_failed_re='inotify (resources exhausted|cannot be used)'
+ grep -E 'inotify (resources exhausted|cannot be used)' out
+ grep_timeout_ 'using notification mode' out
+ check_re='using notification mode'
+ check_f=out
+ retry_delay_ check_tail_output_ .1 5
+ local test_func=check_tail_output_
+ local init_delay=.1
+ local max_n_tries=5
+ shift 3
+ local attempt=1
+ local num_sleeps=1
+ local time_miss
+ test 1 -le 5
++ mawk -v n=1 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.1
+ check_tail_output_ 0.1
+ local delay=0.1
+ grep 'using notification mode' out
+ time_miss=0
+ break
+ test 0 = 0
+ rm -r dir
+ grep_timeout_ polling out
+ check_re=polling
+ check_f=out
+ retry_delay_ check_tail_output_ .1 5
+ local test_func=check_tail_output_
+ local init_delay=.1
+ local max_n_tries=5
+ shift 3
+ local attempt=1
+ local num_sleeps=1
+ local time_miss
+ test 1 -le 5
++ mawk -v n=1 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.1
+ check_tail_output_ 0.1
+ local delay=0.1
+ grep polling out
+ sleep 0.1
+ return 1
+ time_miss=1
++ expr 1 + 1
+ attempt=2
++ expr 1 '*' 2
+ num_sleeps=2
+ test 2 -le 5
++ mawk -v n=2 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.2
+ check_tail_output_ 0.2
+ local delay=0.2
+ grep polling out
+ sleep 0.2
+ return 1
+ time_miss=1
++ expr 2 + 1
+ attempt=3
++ expr 2 '*' 2
+ num_sleeps=4
+ test 3 -le 5
++ mawk -v n=4 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.4
+ check_tail_output_ 0.4
+ local delay=0.4
+ grep polling out
+ sleep 0.4
+ return 1
+ time_miss=1
++ expr 3 + 1
+ attempt=4
++ expr 4 '*' 2
+ num_sleeps=8
+ test 4 -le 5
++ mawk -v n=8 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.8
+ check_tail_output_ 0.8
+ local delay=0.8
+ grep polling out
+ sleep 0.8
+ return 1
+ time_miss=1
++ expr 4 + 1
+ attempt=5
++ expr 8 '*' 2
+ num_sleeps=16
+ test 5 -le 5
++ mawk -v n=16 -v s=.1 'BEGIN { print s * n }'
+ local delay=1.6
+ check_tail_output_ 1.6
+ local delay=1.6
+ grep polling out
+ sleep 1.6
+ return 1
+ time_miss=1
++ expr 5 + 1
+ attempt=6
++ expr 16 '*' 2
+ num_sleeps=32
+ test 6 -le 5
+ test 1 = 0
+ cleanup_fail_ 'tail did not switch to polling mode'
+ warn_ tail did not switch to polling mode
+ case $IFS in
+ printf '%s\n' 'tail did not switch to polling mode'
tail did not switch to polling mode
+ test 9 = 2
+ local args firstline
+ args='tail did not switch to polling mode'
+ firstline='tail did not switch to polling mode'
+ printf '%s\n' 'tail did not switch to polling mode'
+ cleanup_
+ kill 32710
+ wait 32710
+ fail=1
+ mkdir dir
+ touch dir/file
+ grep_timeout_ appeared out
+ check_re=appeared
+ check_f=out
+ retry_delay_ check_tail_output_ .1 5
+ local test_func=check_tail_output_
+ local init_delay=.1
+ local max_n_tries=5
+ shift 3
+ local attempt=1
+ local num_sleeps=1
+ local time_miss
+ test 1 -le 5
++ mawk -v n=1 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.1
+ check_tail_output_ 0.1
+ local delay=0.1
+ grep appeared out
+ sleep 0.1
+ return 1
+ time_miss=1
++ expr 1 + 1
+ attempt=2
++ expr 1 '*' 2
+ num_sleeps=2
+ test 2 -le 5
++ mawk -v n=2 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.2
+ check_tail_output_ 0.2
+ local delay=0.2
+ grep appeared out
+ sleep 0.2
+ return 1
+ time_miss=1
++ expr 2 + 1
+ attempt=3
++ expr 2 '*' 2
+ num_sleeps=4
+ test 3 -le 5
++ mawk -v n=4 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.4
+ check_tail_output_ 0.4
+ local delay=0.4
+ grep appeared out
+ sleep 0.4
+ return 1
+ time_miss=1
++ expr 3 + 1
+ attempt=4
++ expr 4 '*' 2
+ num_sleeps=8
+ test 4 -le 5
++ mawk -v n=8 -v s=.1 'BEGIN { print s * n }'
+ local delay=0.8
+ check_tail_output_ 0.8
+ local delay=0.8
+ grep appeared out
+ sleep 0.8
+ return 1
+ time_miss=1
++ expr 4 + 1
+ attempt=5
++ expr 8 '*' 2
+ num_sleeps=16
+ test 5 -le 5
++ mawk -v n=16 -v s=.1 'BEGIN { print s * n }'
+ local delay=1.6
+ check_tail_output_ 1.6
+ local delay=1.6
+ grep appeared out
+ sleep 1.6
+ return 1
+ time_miss=1
++ expr 5 + 1
+ attempt=6
++ expr 16 '*' 2
+ num_sleeps=32
+ test 6 -le 5
+ test 1 = 0
+ cleanup_fail_ 'previously removed file did not appear'
+ warn_ previously removed file did not appear
+ case $IFS in
+ printf '%s\n' 'previously removed file did not appear'
previously removed file did not appear
+ test 9 = 2
+ local args firstline
+ args='previously removed file did not appear'
+ firstline='previously removed file did not appear'
+ printf '%s\n' 'previously removed file did not appear'
+ cleanup_
+ kill 32710
+ fail=1
+ cleanup_
+ kill 32710
+ cat
+ compare exp out
+ compare_dev_null_ exp out
+ test 2 = 2
+ test xexp = x/dev/null
+ test xout = x/dev/null
+ return 2
+ case $? in
+ compare_ exp out
+ LC_ALL=C
+ diff -u exp out
--- exp	2026-09-10 05:14:28.268914886 +0200
+++ out	2026-09-10 05:14:20.252757641 +0200
@@ -1,7 +1,3 @@
 inotify
 tail: using notification mode
 tail: 'dir/file' has become inaccessible: No such file or directory
-tail: directory containing watched file was removed
-tail: inotify cannot be used, reverting to polling
-tail: using polling mode
-tail: 'dir/file' has appeared;  following new file
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ kill 32710
+ test '' = yes
+ cd /home/bruno/coreutils-9.11.274-7f973/build
+ chmod -R u+rwx /home/bruno/coreutils-9.11.274-7f973/build/gt-inotify-dir-recreate.sh.NiFT
+ rm -rf /home/bruno/coreutils-9.11.274-7f973/build/gt-inotify-dir-recreate.sh.NiFT
+ exit 1
FAIL tests/tail/inotify-dir-recreate.sh (exit status: 1)

Reply via email to