bug#32559: coreutils-8.30: test sort-u-FMR fails after rebuild

2018-08-30 Thread Thomas Deutschmann
p=valgrind.git;a=commit;h=e752326cc050803c3bcfde1f8606bead66ff9642 This bug report can be closed, thanks. -- Regards, Thomas Deutschmann / Gentoo Linux Developer C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5

bug#32559: coreutils-8.30: test sort-u-FMR fails after rebuild

2018-08-28 Thread Thomas Deutschmann
Hi, OK, to reproduce: Just install gcc-8.2.0 and rebuild glibc using gcc-8.2.0. Using glibc built with gcc-8.2.0 causes test "sort-u-FMR" to fail. I am using glibc-2.27. -- Regards, Thomas Deutschmann / Gentoo Linux Developer C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5

bug#32559: coreutils-8.30: test sort-u-FMR fails after rebuild

2018-08-28 Thread Thomas Deutschmann
v8.2.0 and rebuild. However, I was able to reproduce the test failure on 3 physical systems after complete rebuild. Complete logs are available at https://gist.github.com/Whissi/dde2960c1339a73d66c09613864488a5 -- Regards, Thomas Deutschmann / Gentoo Linux Developer C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5

bug#29886: tests/rm/rm-readdir-fail is failing with SIGBUS on Gentoo sparc

2018-07-15 Thread Thomas Deutschmann
ocal make[3]: Entering directory '/var/tmp/portage/sys-apps/coreutils-8.30/work/ coreutils-8.30' make[4]: Entering directory '/var/tmp/portage/sys-apps/coreutils-8.30/work/ coreutils-8.30' rm-readdir-fail.sh: set-up failure: failed to build shared library ERROR: tests/rm/rm-readdir-fail.sh [...] -- Regards, Thomas Deutschmann / Gentoo Linux Developer C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5

bug#29886: tests/rm/rm-readdir-fail is failing with SIGBUS on Gentoo sparc

2018-07-11 Thread Thomas Deutschmann
On 2018-07-11 19:05, Paul Eggert wrote: > Thomas Deutschmann wrote: > >> Not sure if this is a kernel problem. Isn't test suite using >> LD_PRELOAD to pull in additional libraries which could cause >> such a breakage? > > You're right, it could be a libr

bug#29886: tests/rm/rm-readdir-fail is failing with SIGBUS on Gentoo sparc

2018-07-11 Thread Thomas Deutschmann
On 2018-07-11 04:46, Paul Eggert wrote: > Thomas Deutschmann wrote: >> -    p->fts_statp->st_ino = D_INO (dp); >> +    memcpy(&p->fts_statp->st_ino, &dp, >> sizeof(p->fts_statp->st_ino)); > > This looks like a kernel bu

bug#29886: tests/rm/rm-readdir-fail is failing with SIGBUS on Gentoo sparc

2018-07-10 Thread Thomas Deutschmann
st_ino = D_INO (dp); +memcpy(&p->fts_statp->st_ino, &dp, sizeof(p->fts_statp->st_ino)); /* Build a file name for fts_stat to stat. */ if (ISSET(FTS_NOCHDIR)) { -- Regards, Thomas Deutschmann / Gentoo Linux Developer C4DD 695

bug#29886: tests/rm/rm-readdir-fail is failing with SIGBUS on Gentoo sparc

2018-07-09 Thread Thomas Deutschmann
Hi, still happening with coreutils-8.30. -- Regards, Thomas Deutschmann / Gentoo Linux Developer C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5

bug#29887: tests/misc/stdbuf is unstable

2017-12-28 Thread Thomas Deutschmann
delay=0.8 > + stdbuf_unbuffer 0.8 > + local delay=0.8 > + printf '1\n' > + pid=20586 > + dd count=1 if=fifo > + printf '1\n' > + sleep 0.8 > + stdbuf -o0 uniq > + printf '2\n' > + wait 20586 > + 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 > + diff -u exp out > --- exp 2017-11-23 17:08:25.026548939 +0100 > +++ out 2017-11-23 17:08:25.876548911 +0100 > @@ -1 +1,2 @@ > 1 > +2 > + time_fail=1 > ++ expr 4 + 1 > + attempt=5 > ++ expr 8 '*' 2 > + num_sleeps=16 > + test 5 -le 6 > ++ gawk -v n=16 -v s=.1 'BEGIN { print s * n }' > + local delay=1.6 > + stdbuf_unbuffer 1.6 > + local delay=1.6 > + printf '1\n' > + pid=20599 > + dd count=1 if=fifo > + printf '1\n' > + stdbuf -o0 uniq > + sleep 1.6 > + printf '2\n' > + wait 20599 > + 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 > + diff -u exp out > --- exp 2017-11-23 17:08:26.076548904 +0100 > +++ out 2017-11-23 17:08:27.706548849 +0100 > @@ -1 +1,2 @@ > 1 > +2 > + time_fail=1 > ++ expr 5 + 1 > + attempt=6 > ++ expr 16 '*' 2 > + num_sleeps=32 > + test 6 -le 6 > ++ gawk -v n=32 -v s=.1 'BEGIN { print s * n }' > + local delay=3.2 > + stdbuf_unbuffer 3.2 > + local delay=3.2 > + printf '1\n' > + pid=20611 > + dd count=1 if=fifo > + printf '1\n' > + sleep 3.2 > + stdbuf -o0 uniq > + printf '2\n' > + wait 20611 > + 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 > + diff -u exp out > --- exp 2017-11-23 17:08:27.966548840 +0100 > +++ out 2017-11-23 17:08:31.186548732 +0100 > @@ -1 +1,2 @@ > 1 > +2 > + time_fail=1 > ++ expr 6 + 1 > + attempt=7 > ++ expr 32 '*' 2 > + num_sleeps=64 > + test 7 -le 6 > + test 1 = 0 > + fail=1 > + Exit 1 > + set +e > + exit 1 > + exit 1 > + remove_tmp_ > + __st=1 > + cleanup_ > + kill 20611 > + test '' = yes > + cd /var/tmp/portage/sys-apps/coreutils-8.28-r1/work/coreutils-8.28 > + chmod -R u+rwx > /var/tmp/portage/sys-apps/coreutils-8.28-r1/work/coreutils-8.28/gt-stdbuf.sh.g3HO > + rm -rf > /var/tmp/portage/sys-apps/coreutils-8.28-r1/work/coreutils-8.28/gt-stdbuf.sh.g3HO > + exit 1 > FAIL tests/misc/stdbuf.sh (exit status: 1) It is not reproducible but it happens sometimes. Bug: https://bugs.gentoo.org/638578 -- Regards, Thomas Deutschmann / Gentoo Linux Developer C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5

bug#29886: tests/rm/rm-readdir-fail is failing with SIGBUS on Gentoo sparc

2017-12-28 Thread Thomas Deutschmann
0 free > Timestamp of repository gentoo: Thu, 28 Dec 2017 01:15:01 + > Head commit of repository gentoo: dbbcaa80af14ec02c8eba29c56f946886b192845 > sh bash 4.3_p48-r1 > ld GNU ld (Gentoo 2.29.1 p3) 2.29.1 > app-shells/bash: 4.3_p48-r1::gentoo > dev-lang/perl:5.24.3::gentoo > dev-lang/python: 2.7.14-r1::gentoo, 3.4.5::gentoo, 3.5.4-r1::gentoo > dev-util/cmake: 3.8.2::gentoo > dev-util/pkgconfig: 0.29.2::gentoo > sys-apps/baselayout: 2.3::gentoo > sys-apps/openrc: 0.34.11::gentoo > sys-apps/sandbox: 2.10-r4::gentoo > sys-devel/autoconf: 2.69::gentoo > sys-devel/automake: 1.15.1-r1::gentoo > sys-devel/binutils: 2.29.1-r1::gentoo > sys-devel/gcc:6.4.0::gentoo > sys-devel/gcc-config: 1.8-r1::gentoo > sys-devel/libtool:2.4.6-r3::gentoo > sys-devel/make: 4.2.1::gentoo > sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) > sys-libs/glibc: 2.25-r9::gentoo Bug: https://bugs.gentoo.org/642492 -- Regards, Thomas Deutschmann / Gentoo Linux Developer C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5

bug#29167: Acknowledgement (tests/ls/readdir-mountpoint-inode.sh is unstable and should require root privileges)

2017-11-06 Thread Thomas Deutschmann
st $? -eq 0 || \ +skip_ "'$parent_dir' is not readable for current user" + echo $ls_out | sed 's/ .*//' } while read dir; do -- Regards, Thomas Deutschmann / Gentoo Linux Developer C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5

bug#29167: tests/ls/readdir-mountpoint-inode.sh is unstable and should require root privileges

2017-11-06 Thread Thomas Deutschmann
7; -I '?' -I '[^m]*' /srv > ls: cannot open directory '/srv': Permission denied > + readdir_inode= > + test 0 = 77 > ++ timeout 1 stat --format=%i /srv/mysql > + stat_inode=96 > + case $stat_inode in > + test '' = 96 > + fail=1 Full test output: https://paste.pound-python.org/show/VRD8hTfErxNtrqkZ3Muj Tested with coreutils-8.28. Suggested patch: diff --git a/tests/ls/readdir-mountpoint-inode.sh b/tests/ls/readdir-mountpoint-inode.sh index b4ca9e46e..57ec74740 100755 --- a/tests/ls/readdir-mountpoint-inode.sh +++ b/tests/ls/readdir-mountpoint-inode.sh @@ -18,6 +18,7 @@ . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src print_ver_ ls +require_root_ # We use --local here so as to not activate # potentially very many remote mounts. -- Regards, Thomas Deutschmann / Gentoo Linux Developer C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5

bug#29164: Scratch this bug report

2017-11-06 Thread Thomas Deutschmann
Hi, please ignore this bug report. This is caused by Gentoo's sandbox in portage and no problem in coreutils. Sorry for wasting your time :/ -- Regards, Thomas Deutschmann / Gentoo Linux Developer C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5

bug#29164: test error and failures: tests/{du/long-from-unreadable.sh, rm/deep-2.sh} (exit status: 99/1) on Gentoo x86/amd64

2017-11-05 Thread Thomas Deutschmann
2.7.14::gentoo, 3.4.6::gentoo, 3.6.3::gentoo > dev-util/cmake: 3.9.4::gentoo > dev-util/pkgconfig: 0.29.2::gentoo > sys-apps/baselayout: 2.4.1-r2::gentoo > sys-apps/openrc: 0.34.5::gentoo > sys-apps/sandbox: 2.12::gentoo > sys-devel/autoconf: 2.69-r4::gentoo > sys-devel/automake: 1.13.4-r1::gentoo, 1.15.1-r1::gentoo > sys-devel/binutils: 2.29.1-r1::gentoo > sys-devel/gcc:6.4.0::gentoo > sys-devel/gcc-config: 1.9.0::gentoo > sys-devel/libtool:2.4.6-r4::gentoo > sys-devel/make: 4.2.1-r1::gentoo > sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) > sys-libs/glibc: 2.25-r9::gentoo -- Regards, Thomas Deutschmann / Gentoo Linux Developer C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5