On Linux/PowerPC in 64-bit mode:
FAIL: tail-2/F-vs-missing (exit: 1) =================================== ++ initial_cwd_=/home/haible/multibuild-1313/linuxppc64/coreutils-8.13.29-43a9/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /home/haible/multibuild-1313/linuxppc64/coreutils-8.13.29-43a9/tests gt-F-vs-missing.XXXX +++ case $# in +++ destdir_=/home/haible/multibuild-1313/linuxppc64/coreutils-8.13.29-43a9/tests +++ template_=gt-F-vs-missing.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /home/haible/multibuild-1313/linuxppc64/coreutils-8.13.29-43a9/tests gt-F-vs-missing.XXXX +++ d=/home/haible/multibuild-1313/linuxppc64/coreutils-8.13.29-43a9/tests/gt-F-vs-missing.Jxgm +++ case $d in +++ test -d /home/haible/multibuild-1313/linuxppc64/coreutils-8.13.29-43a9/tests/gt-F-vs-missing.Jxgm ++++ ls -dgo /home/haible/multibuild-1313/linuxppc64/coreutils-8.13.29-43a9/tests/gt-F-vs-missing.Jxgm ++++ tr S - +++ perms='drwx------ 2 4096 Oct 8 11:18 /home/haible/multibuild-1313/linuxppc64/coreutils-8.13.29-43a9/tests/gt-F-vs-missing.Jxgm' +++ case $perms in +++ test 0 = 0 +++ echo /home/haible/multibuild-1313/linuxppc64/coreutils-8.13.29-43a9/tests/gt-F-vs-missing.Jxgm +++ return ++ test_dir_=/home/haible/multibuild-1313/linuxppc64/coreutils-8.13.29-43a9/tests/gt-F-vs-missing.Jxgm ++ cd /home/haible/multibuild-1313/linuxppc64/coreutils-8.13.29-43a9/tests/gt-F-vs-missing.Jxgm ++ 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 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /home/haible/multibuild-1313/linuxppc64/coreutils-8.13.29-43a9/tests/../src ++ echo /home/haible/multibuild-1313/linuxppc64/coreutils-8.13.29-43a9/src + abs_path_dir_=/home/haible/multibuild-1313/linuxppc64/coreutils-8.13.29-43a9/src + case $abs_path_dir_ in + PATH=/home/haible/multibuild-1313/linuxppc64/coreutils-8.13.29-43a9/src:/home/haible/multibuild-1313/linuxppc64/coreutils-8.13.29-43a9/src:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games + create_exe_shims_ /home/haible/multibuild-1313/linuxppc64/coreutils-8.13.29-43a9/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ tail + test yes = yes + local i + for i in '$*' + env tail --version tail (GNU coreutils) 8.13.29-43a9 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://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. + debug=---disable-inotify + debug= + pid=3885 + tail -F -s.1 missing/file + tail_re='cannot open' + retry_delay_ check_tail_output .1 7 + local test_func=check_tail_output + local init_delay=.1 + local max_n_tries=7 + local attempt=1 + local num_sleeps=1 + local time_fail + test 1 -le 7 ++ gawk -v n=1 -v s=.1 'BEGIN { print s * n }' + local delay=0.1 + check_tail_output 0.1 + local delay=0.1 + grep 'cannot open' out + time_fail=0 + break + test 0 = 0 + mkdir missing + cd missing + echo x + tail_re='has appeared' + retry_delay_ check_tail_output .1 7 + local test_func=check_tail_output + local init_delay=.1 + local max_n_tries=7 + local attempt=1 + local num_sleeps=1 + local time_fail + test 1 -le 7 ++ gawk -v n=1 -v s=.1 'BEGIN { print s * n }' + local delay=0.1 + check_tail_output 0.1 + local delay=0.1 + grep 'has appeared' out + sleep 0.1 + return 1 + time_fail=1 ++ expr 1 + 1 + attempt=2 ++ expr 1 '*' 2 + num_sleeps=2 + test 2 -le 7 ++ gawk -v n=2 -v s=.1 'BEGIN { print s * n }' + local delay=0.2 + check_tail_output 0.2 + local delay=0.2 + grep 'has appeared' out + time_fail=0 + break + test 0 = 0 + kill -HUP 3885 + Exit 0 + set +e + exit 0 + exit 0 + remove_tmp_ + __st=0 + cleanup_ + : + cd /home/haible/multibuild-1313/linuxppc64/coreutils-8.13.29-43a9/tests + chmod -R u+rwx /home/haible/multibuild-1313/linuxppc64/coreutils-8.13.29-43a9/tests/gt-F-vs-missing.Jxgm + rm -rf /home/haible/multibuild-1313/linuxppc64/coreutils-8.13.29-43a9/tests/gt-F-vs-missing.Jxgm rm: cannot remove `/home/haible/multibuild-1313/linuxppc64/coreutils-8.13.29-43a9/tests/gt-F-vs-missing.Jxgm/missing': Directory not empty + test 0 = 0 + __st=1 + exit 1 This happens on an NFS mounted volume. The failure is reproducible with probability 80%. Less than 1 second after the test failed, the directory _is_ empty and can be removed. It looks like a race condition within "rm -rf" to me: After removing 'missing/file', you need to wait a bit until you can remove 'missing'. Bruno -- In memoriam Engin Ceber <http://en.wikipedia.org/wiki/Engin_Ceber>