Package: automake;
Reported by: Dennis Clarke <dclarke <at> blastwave.org>
Date: Tue, 24 Jul 2012 12:33:01 UTC
Severity: minor
Tags: patch
Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Bug is archived. No further changes may be made.
View this message in rfc822 format
From: help-debbugs <at> gnu.org (GNU bug Tracking System) To: Stefano Lattarini <stefano.lattarini <at> gmail.com> Cc: tracker <at> debbugs.gnu.org Subject: bug#12041: closed (Issues running the testsuite as root) Date: Thu, 26 Jul 2012 17:41:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 26 Jul 2012 19:33:36 +0200 with message-id <50117F70.4080200 <at> gmail.com> and subject line Re: bug#12041: Issues running the testsuite as root has caused the debbugs.gnu.org bug report #12041, regarding Issues running the testsuite as root to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs <at> gnu.org.) -- 12041: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12041 GNU Bug Tracking System Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dennis Clarke <dclarke <at> blastwave.org> To: bug-automake <at> gnu.org Subject: GNU Automake 1.12.2 - FAIL 4 tests on SunOS5.10_sparcv9_64-bit Date: Tue, 24 Jul 2012 08:25:40 -0400[Message part 3 (text/plain, inline)]n.b.: see attached self-check-exit.log.gz and GNU_Automake_1.12.2_SunOS5.10_sparcv9_64-bit.test.log.gz and GNU_Automake_1.12.2_SunOS5.10_sparcv9_64-bit.test-suite.log.gz The final count at the bottom of a *over* 24 hour long test run was : ============================================================================ Testsuite summary for GNU Automake 1.12.2 ============================================================================ # TOTAL: 2578 # PASS: 2221 # SKIP: 307 # XFAIL: 46 # FAIL: 4 # XPASS: 0 # ERROR: 0 ============================================================================ See ./test-suite.log Please report to bug-automake <at> gnu.org ============================================================================ I go looking for "test-suite.log" and find these : bash-3.2# find . -type f -name test-suite.log ./test-suite.log ./t/parallel-tests-many.dir/test-suite.log ./t/tap-bad-prog.dir/test-suite.log Not very helpful given this : bash-3.2# find . -type f -name test-suite.log | xargs wc -l 37162 ./test-suite.log 14 ./t/parallel-tests-many.dir/test-suite.log 35 ./t/tap-bad-prog.dir/test-suite.log 37211 total So I scroll back up the xterm until I see : FAIL: t/self-check-exit.tap 33 - syntax error 1 FAIL: t/self-check-exit.tap 34 - syntax error 2 FAIL: t/self-check-explicit-skips.sh ..and a little further up I see : FAIL: t/primary-prefix-couples-force-valid.sh So then, from the top let's see if there is any info to work with here. bash-3.2# find . -type f | grep "primary-prefix-couples-force-valid" ./t/primary-prefix-couples-force-valid.dir/_inst/bin/libquux.a ./t/primary-prefix-couples-force-valid.dir/_inst/lib/foo ./t/primary-prefix-couples-force-valid.dir/_inst/libexec/bar.h ./t/primary-prefix-couples-force-valid.dir/missing ./t/primary-prefix-couples-force-valid.dir/libquux.c ./t/primary-prefix-couples-force-valid.dir/depcomp ./t/primary-prefix-couples-force-valid.dir/configure ./t/primary-prefix-couples-force-valid.dir/foo.c ./t/primary-prefix-couples-force-valid.dir/install-sh ./t/primary-prefix-couples-force-valid.dir/configure.ac ./t/primary-prefix-couples-force-valid.dir/Makefile ./t/primary-prefix-couples-force-valid.dir/aclocal.m4 ./t/primary-prefix-couples-force-valid.dir/.deps/libquux.Po ./t/primary-prefix-couples-force-valid.dir/.deps/foo.Po ./t/primary-prefix-couples-force-valid.dir/config.log ./t/primary-prefix-couples-force-valid.dir/autom4te.cache/output.1 ./t/primary-prefix-couples-force-valid.dir/autom4te.cache/traces.0 ./t/primary-prefix-couples-force-valid.dir/autom4te.cache/requests ./t/primary-prefix-couples-force-valid.dir/autom4te.cache/output.0 ./t/primary-prefix-couples-force-valid.dir/autom4te.cache/traces.1 ./t/primary-prefix-couples-force-valid.dir/foo ./t/primary-prefix-couples-force-valid.dir/Makefile.am ./t/primary-prefix-couples-force-valid.dir/libquux.a ./t/primary-prefix-couples-force-valid.dir/libquux.o ./t/primary-prefix-couples-force-valid.dir/bar.h ./t/primary-prefix-couples-force-valid.dir/foo.o ./t/primary-prefix-couples-force-valid.dir/config.status ./t/primary-prefix-couples-force-valid.dir/Makefile.in ./t/primary-prefix-couples-force-valid.log ./t/primary-prefix-couples-force-valid.sh ./t/primary-prefix-couples-force-valid.trs bash-3.2# wc -l ./t/primary-prefix-couples-force-valid.log 93 ./t/primary-prefix-couples-force-valid.log bash-3.2# bash-3.2# bash-3.2# cat ./t/primary-prefix-couples-force-valid.log Running from installcheck: no Using TAP: no PATH = /usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/ax:/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/wrap:/usr/local/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/opt/studio/SOS12/SUNWspro/bin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/opt/schily/bin +++ pwd /usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir + cat + cat + cat + cat + : + aclocal-1.12 -Werror + automake-1.12 --foreign -Werror -Wall -a configure.ac:5: installing './ar-lib' + autoconf ++ pwd + cwd=/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir + ./configure --prefix=/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir/_inst checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for gcc... /opt/studio/SOS12/SUNWspro/bin/cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether /opt/studio/SOS12/SUNWspro/bin/cc accepts -g... yes checking for /opt/studio/SOS12/SUNWspro/bin/cc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of /opt/studio/SOS12/SUNWspro/bin/cc... none checking the archiver (/usr/ccs/bin/ar) interface... ar checking for ranlib... ranlib checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands + make install source='libquux.c' object='libquux.o' libtool=no \ DEPDIR=.deps depmode=none /bin/bash ./depcomp \ /opt/studio/SOS12/SUNWspro/bin/cc -DPACKAGE_NAME=\"primary-prefix-couples-force-valid\" -DPACKAGE_TARNAME=\"primary-prefix-couples-force-valid\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"primary-prefix-couples-force-valid\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"primary-prefix-couples-force-valid\" -DVERSION=\"1.0\" -I. -g -c libquux.c rm -f libquux.a /usr/ccs/bin/ar cru libquux.a libquux.o ranlib libquux.a source='foo.c' object='foo.o' libtool=no \ DEPDIR=.deps depmode=none /bin/bash ./depcomp \ /opt/studio/SOS12/SUNWspro/bin/cc -DPACKAGE_NAME=\"primary-prefix-couples-force-valid\" -DPACKAGE_TARNAME=\"primary-prefix-couples-force-valid\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"primary-prefix-couples-force-valid\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"primary-prefix-couples-force-valid\" -DVERSION=\"1.0\" -I. -g -c foo.c /opt/studio/SOS12/SUNWspro/bin/cc -g -o foo foo.o ./install-sh -c -d '/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir/_inst/bin' ./install-sh -c -m 644 libquux.a '/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir/_inst/bin' ( cd '/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir/_inst/bin' && ranlib libquux.a ) ./install-sh -c -d '/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir/_inst/lib' ./install-sh -c foo '/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir/_inst/lib' ./install-sh -c -d '/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir/_inst/libexec' ./install-sh -c -m 644 bar.h '/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir/_inst/libexec' + make installcheck (cd '/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir/_inst' && find .);: For debugging. . ./bin ./bin/libquux.a ./lib ./lib/foo ./libexec ./libexec/bar.h ls -l '/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir/_inst/lib/foo' -rwxr-xr-x 1 root root 7944 Jul 24 00:52 /usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir/_inst/lib/foo test -f '/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir/_inst/lib/foo' test -x '/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir/_inst/lib/foo' ls -l '/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir/_inst/bin/libquux.a' -rw-r--r-- 1 root root 2360 Jul 24 00:52 /usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir/_inst/bin/libquux.a test -f '/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir/_inst/bin/libquux.a' ls -l '/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir/_inst/libexec/bar.h' -rw-r--r-- 1 root root 0 Jul 24 00:52 /usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir/_inst/libexec/bar.h test -f '/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir/_inst/libexec/bar.h' test ! -x '/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/primary-prefix-couples-force-valid.dir/_inst/libexec/bar.h' *** Error code 1 make: Fatal error: Command failed for target `test' + exit_status=1 + set +e + cd /usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit + test no = yes + case $am_explicit_skips in + test 1 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x primary-prefix-couples-force-valid: exit 1 bash-3.2# OKay, so that was the first fail. Next was : bash-3.2# find . -type f | grep "self-check-exit" ./t/self-check-exit.trs ./t/self-check-exit.log ./t/self-check-exit.tap bash-3.2# bash-3.2# wc -l ./t/self-check-exit.log 1438 ./t/self-check-exit.log bash-3.2# Well I don't think that putting 1430+ lines of log bits in here would be reasonable so therefore maybe I can attach it ? Lastly we have this one : bash-3.2# find . -type f | grep "self-check-explicit-skips" ./t/self-check-explicit-skips.sh ./t/self-check-explicit-skips.trs ./t/self-check-explicit-skips.log bash-3.2# wc -l ./t/self-check-explicit-skips.log 123 ./t/self-check-explicit-skips.log bash-3.2# That log file is not too unreasonable .. thus here it is : bash-3.2# cat ./t/self-check-explicit-skips.log Running from installcheck: no Using TAP: no PATH = /usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/ax:/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/wrap:/usr/local/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/opt/studio/SOS12/SUNWspro/bin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/opt/schily/bin +++ pwd /usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit + set +e + unset am_explicit_skips stderr_fileno_ + run_dummy_test '(exit 77); exit 77' + env /bin/bash -c ' am_create_testdir=no . ./defs (exit 77); exit 77 ' dummy.sh Running from installcheck: no Using TAP: no PATH = /usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/ax:/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/wrap:/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/ax:/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/wrap:/usr/local/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/opt/studio/SOS12/SUNWspro/bin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/opt/schily/bin +++ pwd /usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit + _am_exit 77 + set +e + test 77 = 77 + am__test_skipped=yes + exit 77 + exit 77 + _am_exit 77 + set +e + test 77 = 77 + am__test_skipped=yes + exit 77 + exit 77 + exit_status=77 + set +e + cd /usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit + test no = yes + case $am_explicit_skips in + test 77 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x dummy: exit 77 + test 77 -eq 77 + run_dummy_test 'sh -c "exit 77"' am_explicit_skips=no + env am_explicit_skips=no /bin/bash -c ' am_create_testdir=no . ./defs sh -c "exit 77" ' dummy.sh Running from installcheck: no Using TAP: no PATH = /usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/ax:/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/wrap:/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/ax:/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/wrap:/usr/local/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/opt/studio/SOS12/SUNWspro/bin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/opt/schily/bin +++ pwd /usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit + sh -c 'exit 77' + exit_status=77 + set +e + cd /usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit + test no = yes + case $am_explicit_skips in + test 77 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x dummy: exit 77 + test 77 -eq 77 + run_dummy_test '(exit 77); exit 77' am_explicit_skips=yes + env am_explicit_skips=yes /bin/bash -c ' am_create_testdir=no . ./defs (exit 77); exit 77 ' dummy.sh Running from installcheck: no Using TAP: no PATH = /usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/ax:/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/wrap:/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/ax:/usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit/t/wrap:/usr/local/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/opt/studio/SOS12/SUNWspro/bin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/opt/schily/bin +++ pwd /usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit + _am_exit 77 + set +e + test 77 = 77 + am__test_skipped=yes + exit 77 + exit 77 + _am_exit 77 + set +e + test 77 = 77 + am__test_skipped=yes + exit 77 + exit 77 + exit_status=77 + set +e + cd /usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit + test no = yes + case $am_explicit_skips in + test 77 -eq 77 + test yes '!=' yes + test 77 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x dummy: exit 77 + test 77 -eq 78 + _am_exit 1 + set +e + test 77 = 1 + exit 1 + exit 1 + exit_status=1 + set +e + cd /usr/local/build/automake-1.12.2_SunOS5.10_sparcv9_64-bit + test no = yes + case $am_explicit_skips in + test 1 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x self-check-explicit-skips: exit 1 Any other info required ? Let me know. Dennis Clarke dclarke <at> blastwave.org[self-check-exit.log.gz (application/x-gzip, attachment)][GNU_Automake_1.12.2_SunOS5.10_sparcv9_64-bit.test.log.gz (application/x-gzip, attachment)][GNU_Automake_1.12.2_SunOS5.10_sparcv9_64-bit.test-suite.log.gz (application/x-gzip, attachment)]
[Message part 7 (message/rfc822, inline)]
From: Stefano Lattarini <stefano.lattarini <at> gmail.com> To: Dennis Clarke <dclarke <at> blastwave.org> Cc: 12041-done <at> debbugs.gnu.org, "automake-patches <at> gnu.org" <automake-patches <at> gnu.org> Subject: Re: bug#12041: Issues running the testsuite as root Date: Thu, 26 Jul 2012 19:33:36 +0200On 07/25/2012 03:39 PM, Stefano Lattarini wrote: > On 07/25/2012 03:26 PM, Dennis Clarke wrote: >> >> Stefano Lattarini wrote: >> >>> Could you try what happens issuing this command as root with all the shells >>> you have at your disposal (/bin/sh, /usr/xpg4/bin/sh, /bin/ksh and >>> bash at least)? >> >> I'll see if I can find the enthusiasm for it ;-) >> > Yeah, don't sweat it anyway; since the failure is solved, I'm already > satisfied, and as you say below, let's move on to other (better) items. > BTW, I've finally pushed the patch, and I'm thus closing this bug report. Thanks, Stefano
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.