On CentOS 7 there is a test failure (that existed already in
coreutils-9.8):

FAIL: tests/cp/sparse-perf

========================================================
   GNU coreutils 9.8.97-07cd3: ./tests/test-suite.log
========================================================

# TOTAL: 685
# PASS:  565
# SKIP:  119
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

System information (uname -a): Linux 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64
Distribution information (/etc/os-release):
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"

.. contents:: :depth: 2

FAIL: tests/cp/sparse-perf
==========================

++ initial_cwd_=/home/bruno/coreutils-9.8.97-07cd3/build-64
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /home/bruno/coreutils-9.8.97-07cd3/build-64 gt-sparse-perf.sh.XXXX
+++ case $# in
+++ destdir_=/home/bruno/coreutils-9.8.97-07cd3/build-64
+++ template_=gt-sparse-perf.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/home/bruno/coreutils-9.8.97-07cd3/build-64/
+++ case $template_ in
++++ unset TMPDIR
+++ d=/home/bruno/coreutils-9.8.97-07cd3/build-64/gt-sparse-perf.sh.EmZG
+++ case $d in
+++ :
+++ test -d /home/bruno/coreutils-9.8.97-07cd3/build-64/gt-sparse-perf.sh.EmZG
++++ ls -dgo /home/bruno/coreutils-9.8.97-07cd3/build-64/gt-sparse-perf.sh.EmZG
+++ perms='drwx------ 2 4096 Nov  5 21:10 /home/bruno/coreutils-9.8.97-07cd3/build-64/gt-sparse-perf.sh.EmZG'
+++ case $perms in
+++ :
+++ echo /home/bruno/coreutils-9.8.97-07cd3/build-64/gt-sparse-perf.sh.EmZG
+++ return
++ test_dir_=/home/bruno/coreutils-9.8.97-07cd3/build-64/gt-sparse-perf.sh.EmZG
++ cd /home/bruno/coreutils-9.8.97-07cd3/build-64/gt-sparse-perf.sh.EmZG
++ 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.8.97-07cd3/build-64/src/.
++ new_PATH=/home/bruno/coreutils-9.8.97-07cd3/build-64/src
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /home/bruno/inst-x86_64-64/bin/.
++ new_PATH=/home/bruno/coreutils-9.8.97-07cd3/build-64/src:/home/bruno/inst-x86_64-64/bin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/local/bin/.
++ new_PATH=/home/bruno/coreutils-9.8.97-07cd3/build-64/src:/home/bruno/inst-x86_64-64/bin:/usr/local/bin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/local/sbin/.
++ new_PATH=/home/bruno/coreutils-9.8.97-07cd3/build-64/src:/home/bruno/inst-x86_64-64/bin:/usr/local/bin:/usr/local/sbin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/bin/.
++ new_PATH=/home/bruno/coreutils-9.8.97-07cd3/build-64/src:/home/bruno/inst-x86_64-64/bin:/usr/local/bin:/usr/local/sbin:/usr/bin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/sbin/.
++ new_PATH=/home/bruno/coreutils-9.8.97-07cd3/build-64/src:/home/bruno/inst-x86_64-64/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /bin/.
++ new_PATH=/home/bruno/coreutils-9.8.97-07cd3/build-64/src:/home/bruno/inst-x86_64-64/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin
++ for dir in '$PATH'
++ IFS=' 	
'
++ case "$dir" in
++ test -d /sbin/.
++ new_PATH=/home/bruno/coreutils-9.8.97-07cd3/build-64/src:/home/bruno/inst-x86_64-64/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
++ IFS=' 	
'
++ PATH=/home/bruno/coreutils-9.8.97-07cd3/build-64/src:/home/bruno/inst-x86_64-64/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/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/bruno/coreutils-9.8.97-07cd3/build-64/./src
+ case $abs_path_dir_ in
+ PATH=/home/bruno/coreutils-9.8.97-07cd3/build-64/./src:/home/bruno/coreutils-9.8.97-07cd3/build-64/src:/home/bruno/inst-x86_64-64/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
+ create_exe_shims_ /home/bruno/coreutils-9.8.97-07cd3/build-64/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ cp
+ require_built_ cp
+ skip_=no
+ for i in '"$@"'
+ case " $built_programs " in
+ test no = yes
+ test yes = yes
+ local i
+ for i in '$*'
+ env cp --version
cp (GNU coreutils) 9.8.97-07cd3
Copyright (C) 2025 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 Torbjorn Granlund, David MacKenzie, and Jim Meyering.
+ . /home/bruno/coreutils-9.8.97-07cd3/build-64/../tests/other-fs-tmpdir
++ test '' = set
++ CANDIDATE_TMP_DIRS='/tmp /tmp /dev/shm /var/tmp /usr/tmp /home/bruno'
++ other_partition_tmpdir=
+++ stat -c %d .
++ dot_mount_point=2049
++ for d in '$CANDIDATE_TMP_DIRS'
++ test -d /tmp
+++ stat -L -c %d /tmp
++ d_mount_point=2049
++ test x2049 = x2049
++ continue
++ for d in '$CANDIDATE_TMP_DIRS'
++ test -d /tmp
+++ stat -L -c %d /tmp
++ d_mount_point=2049
++ test x2049 = x2049
++ continue
++ for d in '$CANDIDATE_TMP_DIRS'
++ test -d /dev/shm
+++ stat -L -c %d /dev/shm
++ d_mount_point=17
++ test x17 = x2049
++ mkdir /dev/shm/tmp28116
++ other_partition_tmpdir=/dev/shm/tmp28116
++ break
++ test -z /dev/shm/tmp28116
++ test yes = yes
++ set -x
+ other_partition_sparse=/dev/shm/tmp28116/k
+ printf x
+ truncate -s1M /dev/shm/tmp28116/k
+ cp --debug /dev/shm/tmp28116/k k2
cp: cannot lseek '/dev/shm/tmp28116/k': Invalid argument
+ fail=1
+ cmp /dev/shm/tmp28116/k k2
cmp: EOF on k2
+ fail=1
+ grep ': avoided' cp.out
+ mls=might-look-sparse
+ yes
+ head -n1M
+ cp --debug might-look-sparse might-look-sparse.cp
+ cmp might-look-sparse might-look-sparse.cp
+ grep ': avoided' cp.out
+ timeout 10 truncate -s1T f
+ seek_data_capable_ f
+ truncate -s16M file.sparse_
+ grep SEEK_HOLE
+ cp --debug --reflink=never file.sparse_ file.sparse_.cp
copy offload: unknown, reflink: no, sparse detection: SEEK_HOLE
+ python3
../init.cfg: line 581: python3: command not found
+ python
+ PYTHON_=python
+ test xpython = x
+ timeout 1 true
+ TIMEOUT_='timeout 10'
+ timeout 10 python /home/bruno/coreutils-9.8.97-07cd3/build-64/../tests/seek-data-capable f
+ timeout 10 cp --reflink=never f f2
++ stat --printf %s f
++ stat --printf %s f2
+ test 1099511627776 = 1099511627776
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ rm -rf /dev/shm/tmp28116
+ test '' = yes
+ cd /home/bruno/coreutils-9.8.97-07cd3/build-64
+ chmod -R u+rwx /home/bruno/coreutils-9.8.97-07cd3/build-64/gt-sparse-perf.sh.EmZG
+ rm -rf /home/bruno/coreutils-9.8.97-07cd3/build-64/gt-sparse-perf.sh.EmZG
+ exit 1
FAIL tests/cp/sparse-perf.sh (exit status: 1)

Reply via email to