+ initial_cwd_=/home/sam/git/coreutils + testdir_prefix_ + printf gt + pfx_=gt + mktempd_ /home/sam/git/coreutils gt-sparse-2.sh.XXXX + destdir_=/home/sam/git/coreutils + template_=gt-sparse-2.sh.XXXX + MAX_TRIES_=4 + destdir_slash_=/home/sam/git/coreutils/ + unset TMPDIR + d=/home/sam/git/coreutils/gt-sparse-2.sh.On4r + : + test -d /home/sam/git/coreutils/gt-sparse-2.sh.On4r + ls -dgo /home/sam/git/coreutils/gt-sparse-2.sh.On4r + perms=drwx------ 2 2 Apr 13 07:01 /home/sam/git/coreutils/gt-sparse-2.sh.On4r + : + echo /home/sam/git/coreutils/gt-sparse-2.sh.On4r + return + test_dir_=/home/sam/git/coreutils/gt-sparse-2.sh.On4r + cd /home/sam/git/coreutils/gt-sparse-2.sh.On4r + srcdir=../. + builddir=.. + export srcdir builddir + gl_init_sh_nl_= + IFS= + expr 1 + 128 + eval trap 'Exit 129' 1 + trap Exit 129 1 + expr 2 + 128 + eval trap 'Exit 130' 2 + trap Exit 130 2 + expr 3 + 128 + eval trap 'Exit 131' 3 + trap Exit 131 3 + expr 13 + 128 + eval trap 'Exit 141' 13 + trap Exit 141 13 + expr 15 + 128 + eval trap 'Exit 143' 15 + trap Exit 143 15 + saved_IFS= + IFS=: + new_PATH= + sep_= + test -d /home/sam/git/coreutils/src/. + new_PATH=/home/sam/git/coreutils/src + sep_=: + test -d /home/sam/bin/. + new_PATH=/home/sam/git/coreutils/src:/home/sam/bin + sep_=: + test -d /usr/local/sbin/. + new_PATH=/home/sam/git/coreutils/src:/home/sam/bin:/usr/local/sbin + sep_=: + test -d /usr/local/bin/. + new_PATH=/home/sam/git/coreutils/src:/home/sam/bin:/usr/local/sbin:/usr/local/bin + sep_=: + test -d /usr/bin/. + new_PATH=/home/sam/git/coreutils/src:/home/sam/bin:/usr/local/sbin:/usr/local/bin:/usr/bin + sep_=: + test -d /usr/lib/llvm/17/bin/. + new_PATH=/home/sam/git/coreutils/src:/home/sam/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/llvm/17/bin + sep_=: + test -d /usr/lib/llvm/16/bin/. + new_PATH=/home/sam/git/coreutils/src:/home/sam/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/llvm/17/bin:/usr/lib/llvm/16/bin + sep_=: + test -d /usr/lib/llvm/15/bin/. + new_PATH=/home/sam/git/coreutils/src:/home/sam/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/llvm/17/bin:/usr/lib/llvm/16/bin:/usr/lib/llvm/15/bin + sep_=: + test -d /usr/lib/llvm/14/bin/. + new_PATH=/home/sam/git/coreutils/src:/home/sam/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/llvm/17/bin:/usr/lib/llvm/16/bin:/usr/lib/llvm/15/bin:/usr/lib/llvm/14/bin + sep_=: + test -d /sbin/. + new_PATH=/home/sam/git/coreutils/src:/home/sam/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/llvm/17/bin:/usr/lib/llvm/16/bin:/usr/lib/llvm/15/bin:/usr/lib/llvm/14/bin:/sbin + sep_=: + test -d /usr/sbin/. + new_PATH=/home/sam/git/coreutils/src:/home/sam/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/llvm/17/bin:/usr/lib/llvm/16/bin:/usr/lib/llvm/15/bin:/usr/lib/llvm/14/bin:/sbin:/usr/sbin + sep_=: + IFS= + PATH=/home/sam/git/coreutils/src:/home/sam/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/llvm/17/bin:/usr/lib/llvm/16/bin:/usr/lib/llvm/15/bin:/usr/lib/llvm/14/bin:/sbin:/usr/sbin + export PATH + trap remove_tmp_ EXIT + path_prepend_ ./src + test 1 != 0 + path_dir_=./src + abs_path_dir_=/home/sam/git/coreutils/./src + PATH=/home/sam/git/coreutils/./src:/home/sam/git/coreutils/src:/home/sam/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/llvm/17/bin:/usr/lib/llvm/16/bin:/usr/lib/llvm/15/bin:/usr/lib/llvm/14/bin:/sbin:/usr/sbin + create_exe_shims_ /home/sam/git/coreutils/./src + return 0 + shift + test 0 != 0 + export PATH + print_ver_ cp stat dd + require_built_ cp stat dd + skip_=no + test no = yes + test yes = yes + local i + env cp --version cp (GNU coreutils) 9.2.22-c9c46 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbjorn Granlund, David MacKenzie, and Jim Meyering. + env stat --version stat (GNU coreutils) 9.2.22-c9c46 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Michael Meskes. + env dd --version dd (coreutils) 9.2.22-c9c46 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . 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, and Stuart Kemp. + touch sparse_chk + seek_data_capable_ sparse_chk + truncate -s16M file.sparse_ + cp --debug --reflink=never file.sparse_ file.sparse_.cp + grep SEEK_HOLE copy offload: unknown, reflink: no, sparse detection: SEEK_HOLE + python3 + PYTHON_=python3 + test xpython3 = x + timeout --version + TIMEOUT_=timeout 10 + timeout 10 python3 /home/sam/git/coreutils/tests/seek-data-capable sparse_chk + printf x + dd bs=1k seek=128 of=k 0+0 records in 0+0 records out 0 bytes copied, 2.679e-05 s, 0.0 kB/s + test no = yes + cp --reflink=never --sparse=always k k2 + cmp k k2 + cp --reflink=never --sparse=never k k2 + cmp k k2 + test yes = yes + printf y + cp --reflink=never --sparse=always k k2 + cmp k k2 + cp --reflink=never --sparse=never k k2 + cmp k k2 + rm -f k + printf x + dd bs=1k seek=1 of=k count=255 255+0 records in 255+0 records out 261120 bytes (261 kB, 255 KiB) copied, 0.00164739 s, 159 MB/s + cp --debug --reflink=never --sparse=always k k2 + cmp k k2 + grep sparse detection: zeros cp.out + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + test = yes + cd /home/sam/git/coreutils + chmod -R u+rwx /home/sam/git/coreutils/gt-sparse-2.sh.On4r + rm -rf /home/sam/git/coreutils/gt-sparse-2.sh.On4r + exit 1 FAIL tests/cp/sparse-2.sh (exit status: 1)