On Tue, 13 Sep 2011 05:37:04 -0700 Jim Meyering <[email protected]> wrote:
> Jim Meyering wrote: > > > sam sirlin wrote: > > ... > >> This is, I believe the relevant section: > > > > Thanks for the report. > > That is just what I needed. > > > >> FAIL: cp/cp-parents (exit: 1) > >> ============================= > > ... > >> ++ ls -ld e/d/a > >> ++ cut -b-10 > >> + p=drwxr-xr-x > >> + case $p in > >> + fail=1 > >> ++ ls -ld g/sym > >> ++ cut -b-10 > >> + p=drwxr-xr-x > >> + case $p in > >> + fail=1 > >> ++ ls -ld e/d/a/b/c > >> ++ cut -b-10 > >> + p=drwxr-xr-x > >> + case $p in > >> ++ ls -ld g/sym/b/c > > ... > > > > However, that test is rather old, and this is the first > > report of its failure I've seen in a long time, so I expect > > there must be something unusual about your environment. > > > > I build on AMD/rhel-6 pretty regularly and have never seen that, > > but I'm usually using local ext4 or tmpfs partitions. > > > > Can you give more detail? > > On what type of file system is your build dir? (i.e., run df -T .) > > If it's NFS, what can you tell me about the server? > > Hi Sam, > > Sorry about the delay. You replied, > > > It is indeed NFS, fairly big (2.3T), I think NAS, linux (striped down), > > xfs filesystem. > > in http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7858#11 > but I never received that message. > > I saw it just now, only while going through old pending bug > reports via http://debbugs.gnu.org/coreutils. > > Can you retest using the latest release, coreutils-8.13? > > https://lists.gnu.org/archive/html/coreutils/2011-09/msg00130.html I've built 8.13, and see the same test failing. Sam FAIL: cp/cp-parents (exit: 1) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D ++ initial_cwd_=3D/proj/swbuild/GNU/coreutils/amd/coreutils-8.13/tests ++ fail=3D0 +++ testdir_prefix_ +++ printf gt ++ pfx_=3Dgt +++ mktempd_ /proj/swbuild/GNU/coreutils/amd/coreutils-8.13/tests gt-cp-par= ents.XXXX +++ case $# in +++ destdir_=3D/proj/swbuild/GNU/coreutils/amd/coreutils-8.13/tests +++ template_=3Dgt-cp-parents.XXXX +++ MAX_TRIES_=3D4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /proj/swbuild/GNU/coreutils/amd/coreutils-8.13/tests g= t-cp-parents.XXXX +++ d=3D/proj/swbuild/GNU/coreutils/amd/coreutils-8.13/tests/gt-cp-parents.= Eq62 +++ case $d in +++ test -d /proj/swbuild/GNU/coreutils/amd/coreutils-8.13/tests/gt-cp-pare= nts.Eq62 ++++ tr S - +++ perms=3D'drwx------ 2 6 -ep 13 15:23 /proj/swbuild/GNU/coreutils/amd/co= reutils-8.13/tests/gt-cp-parents.Eq62' +++ case $perms in +++ test 0 =3D 0 +++ echo /proj/swbuild/GNU/coreutils/amd/coreutils-8.13/tests/gt-cp-parents= .Eq62 +++ return ++ test_dir_=3D/proj/swbuild/GNU/coreutils/amd/coreutils-8.13/tests/gt-cp-p= arents.Eq62 ++ cd /proj/swbuild/GNU/coreutils/amd/coreutils-8.13/tests/gt-cp-parents.Eq= 62 ++ gl_init_sh_nl_=3D' ' ++ IFS=3D' ' ++ 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 '!=3D' 0 + path_dir_=3D../src + case $path_dir_ in ++ cd /proj/swbuild/GNU/coreutils/amd/coreutils-8.13/tests/../src ++ echo /proj/swbuild/GNU/coreutils/amd/coreutils-8.13/src + abs_path_dir_=3D/proj/swbuild/GNU/coreutils/amd/coreutils-8.13/src + case $abs_path_dir_ in + PATH=3D/proj/swbuild/GNU/coreutils/amd/coreutils-8.13/src:/proj/swbuild/G= NU/coreutils/amd/coreutils-8.13/src:/dsw/gca-other/xscreensaver/libexec/xsc= reensaver:/dsw/gca-other/xscreensaver/bin:/dsw/gca-sam/x86_64-linux/bin:/ds= w/gca-sam/x86_64-linux/bin:.:/home/sam/bin:/home/sam/exec:/dsw/gca-local/bi= n:/dsw/gca-tetex/texlive/2010/bin/x86_64-linux:/bin:/usr/bin:/usr/X11R6/bin= :/usr/bin:/usr/local/bin:/tps/bin:/home/sam/bin/x86_64-linux:/dsw/gca-tools= /x86_64-linux/bin:/usr/bin:/usr/lib/qt-3.3/bin + create_exe_shims_ /proj/swbuild/GNU/coreutils/amd/coreutils-8.13/src + case $EXEEXT in + return 0 + shift + test 0 '!=3D' 0 + export PATH + print_ver_ mv + test yes =3D yes + local i + for i in '$*' + env mv --version mv (GNU coreutils) 8.13 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.htm= l>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. + working_umask_or_skip_ + umask 022 + touch file1 file2 + chmod 644 file2 ++ ls -l file1 file2 ++ uniq + perms=3D-rw-r--r-- + rm -f file1 file2 + case $perms in + skip_if_setgid_ + setgid_tmpdir=3Dsetgid-10174 + umask 77 + mkdir setgid-10174 ++ stat --printf %A setgid-10174 + perms=3Ddrwx------ + rmdir setgid-10174 + case $perms in + mkdir foo bar + mkdir -p a/b/c d e g + ln -s d/a sym + touch f + cp -R --parents foo/ bar + cp --verbose -a --parents a/b/c d + test -d d/a/b/c + cp --parents f/g d + test -d d/f + chmod go=3Dw d/a + cp -a --parents d/a/b/c e + cp -a --parents sym/b/c g ++ ls -ld e/d ++ cut -b-10 + p=3Ddrwxr-xr-x + case $p in ++ ls -ld e/d/a ++ cut -b-10 + p=3Ddrwxr-xr-x + case $p in + fail=3D1 ++ ls -ld g/sym ++ cut -b-10 + p=3Ddrwxr-xr-x + case $p in + fail=3D1 ++ ls -ld e/d/a/b/c ++ cut -b-10 + p=3Ddrwxr-xr-x + case $p in ++ ls -ld g/sym/b/c ++ cut -b-10 + p=3Ddrwxr-xr-x + case $p in + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=3D1 + cleanup_ + : + cd /proj/swbuild/GNU/coreutils/amd/coreutils-8.13/tests + chmod -R u+rwx /proj/swbuild/GNU/coreutils/amd/coreutils-8.13/tests/gt-cp= -parents.Eq62 + rm -rf /proj/swbuild/GNU/coreutils/amd/coreutils-8.13/tests/gt-cp-parents= .Eq62 + exit 1 -- sam sirlin <[email protected]>
