From unknown Sat Aug 09 01:08:27 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#8788 <8788@debbugs.gnu.org> To: bug#8788 <8788@debbugs.gnu.org> Subject: Status: Weird testsuite failure on NetBSD (parallel tests, background processes) Reply-To: bug#8788 <8788@debbugs.gnu.org> Date: Sat, 09 Aug 2025 08:08:27 +0000 retitle 8788 Weird testsuite failure on NetBSD (parallel tests, background = processes) reassign 8788 automake submitter 8788 Stefano Lattarini severity 8788 normal tag 8788 moreinfo patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 02 12:45:32 2011 Received: (at submit) by debbugs.gnu.org; 2 Jun 2011 16:45:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QSB1X-0001vc-TW for submit@debbugs.gnu.org; Thu, 02 Jun 2011 12:45:32 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QSB1V-0001vO-I3 for submit@debbugs.gnu.org; Thu, 02 Jun 2011 12:45:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QSB1O-0003y8-4t for submit@debbugs.gnu.org; Thu, 02 Jun 2011 12:45:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RFC_ABUSE_POST, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:37896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSB1N-0003y3-SH for submit@debbugs.gnu.org; Thu, 02 Jun 2011 12:45:22 -0400 Received: from eggs.gnu.org ([140.186.70.92]:33105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSB1L-0002t5-5J for bug-automake@gnu.org; Thu, 02 Jun 2011 12:45:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QSB1I-0003xd-Jq for bug-automake@gnu.org; Thu, 02 Jun 2011 12:45:18 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:62194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSB1H-0003xY-UV for bug-automake@gnu.org; Thu, 02 Jun 2011 12:45:16 -0400 Received: by wyf19 with SMTP id 19so958049wyf.0 for ; Thu, 02 Jun 2011 09:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:mime-version :content-type:message-id; bh=XXKSJqJxhkGHQsfxoEjRXOj3pSodTqt/GSBvTL1MTGw=; b=Kh5lw6f5VA8qIQKdnfFyj6yGB5ZZXqTkURMeyfHlEMu8p80900yP4vzf70nijKa0Yg bhxUp7sw1aDqfR9qx9Rk92arTEDalfRUrHJ1Ffa9RZOWHLGwrTBSjJzgOTKB4PeB0qRd 25swEagvwL+Q+iN69enxD3BhrL0TmIKo9n0mc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :message-id; b=OjYRWVLezXrtSZA73b0yaIe8WRMCdCfC1RLSzx1tPTxRU/5+scDTZS0DlIysb6u7Sg +gROsuCRQWEA00ARmBOtOzdVrrYw4rtiXVCSbbPaZ5UrsWep3wJOtfICqjkmNur0zmUK UPcHycy8U8XqyllylsFD6u/dXDWCjaCmVgVkE= Received: by 10.216.231.198 with SMTP id l48mr1021053weq.54.1307033114015; Thu, 02 Jun 2011 09:45:14 -0700 (PDT) Received: from bigio.localnet (host139-49-dynamic.58-82-r.retail.telecomitalia.it [82.58.49.139]) by mx.google.com with ESMTPS id l5sm413621weq.33.2011.06.02.09.45.10 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 02 Jun 2011 09:45:12 -0700 (PDT) From: Stefano Lattarini To: bug-automake@gnu.org Subject: Weird testsuite failure on NetBSD (parallel tests, background processes) Date: Thu, 2 Jun 2011 18:43:53 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_K375NCu2FQV/21s" Message-Id: <201106021843.54353.stefano.lattarini@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) --Boundary-00=_K375NCu2FQV/21s Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hello automakers. While teststing the `testsuite-work' branch on NetBSD 5, I've encountered a weird failure in the test `parallel-tests3.test', which actually caused the whole testsuite to crash (!) due to a stray SIGTERM. I've reduced the failure to the attached testcase, which expose the bug also for the older automake release 1.11.1. Note that, on GNU/Linux and Solaris 10, the testcases passes without problems. To reproduce from a freshly extracted 1.11.1 tarball, make sure GNU make is in PATH named as `gmake', then run: $ ./configure && make $ cd tests $ cp /path/to/saved/foo.test . $ sh foo.test ... gmake[2]: Leaving directory `/tmp/automake-1.11.1/tests/foo.dir' gmake[1]: Leaving directory `/tmp/automake-1.11.1/tests/foo.dir' [2] Terminated ${sleep} gmake: *** [check-am] Terminated + signal=15 + Exit 1 + set +e [1] Terminated+ ${MAKE} -j1 checkexit 1 + exit 1 + exit_status=1 + set +e + cd /tmp/automake-1.11.1/tests + test 15 != 0 + echo foo: caught signal 15 foo: caught signal 15 + echo foo: exit 1 foo: exit 1 + exit 1 Attached are the config.log file and test logs for /bin/sh, /bin/ksh, and bash 4.1. Any idea of what's going on? Regards, Stefano --Boundary-00=_K375NCu2FQV/21s Content-Type: text/x-log; charset="utf-8"; name="ksh.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ksh.log" /tmp/automake-1.11.1/tests:/home/slattarini/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin === Running test foo.test + pwd /tmp/automake-1.11.1/tests/foo.dir + MAKE=gmake + export MAKE + cat + > configure.in + << "END" + cat + > Makefile.am + << "END" + cat + > foo1.test + << "END" + chmod a+x foo1.test + cat + > foo2.test + << "END" + chmod a+x foo2.test + cat + > foo3.test + << "END" + chmod a+x foo3.test + aclocal-1.11 -Werror + autoconf + automake-1.11 --foreign -Werror -Wall -a + ./configure checking for a BSD-compatible install... /usr/bin/install -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... no checking for awk... awk checking whether gmake sets $(MAKE)... yes configure: creating ./config.status config.status: creating Makefile + sleep 2 + gmake -j1 check gmake check-TESTS gmake[1]: Entering directory `/tmp/automake-1.11.1/tests/foo.dir' gmake[2]: Entering directory `/tmp/automake-1.11.1/tests/foo.dir' PASS: foo1.test + kill 20320 + test ! -f test-suite.log + sleep 2 PASS: foo2.test PASS: foo3.test ================== All 3 tests passed ================== gmake[2]: Leaving directory `/tmp/automake-1.11.1/tests/foo.dir' gmake[1]: Leaving directory `/tmp/automake-1.11.1/tests/foo.dir' Terminated + signal=15 + Exit 1 gmake: *** [check-am] Terminated foo: caught signal 15 foo: exit 1 --Boundary-00=_K375NCu2FQV/21s Content-Type: text/x-log; charset="utf-8"; name="bash.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="bash.log" /tmp/automake-1.11.1/tests:/home/slattarini/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin === Running test foo.test ++ pwd /tmp/automake-1.11.1/tests/foo.dir + MAKE=gmake + export MAKE + cat + cat + for i in 1 2 3 + cat + chmod a+x foo1.test + for i in 1 2 3 + cat + chmod a+x foo2.test + for i in 1 2 3 + cat + chmod a+x foo3.test + aclocal-1.11 -Werror + autoconf + automake-1.11 --foreign -Werror -Wall -a + ./configure checking for a BSD-compatible install... /usr/bin/install -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... no checking for awk... awk checking whether gmake sets $(MAKE)... yes configure: creating ./config.status config.status: creating Makefile + sleep 2 + gmake -j1 check gmake check-TESTS gmake[1]: Entering directory `/tmp/automake-1.11.1/tests/foo.dir' gmake[2]: Entering directory `/tmp/automake-1.11.1/tests/foo.dir' PASS: foo1.test + kill 22441 + test '!' -f test-suite.log + sleep 2 PASS: foo2.test PASS: foo3.test ================== All 3 tests passed ================== gmake[2]: Leaving directory `/tmp/automake-1.11.1/tests/foo.dir' gmake[1]: Leaving directory `/tmp/automake-1.11.1/tests/foo.dir' Terminated ++ signal=15 ++ Exit 1 ++ set +e gmake: *** [check-am] Terminated ++ exit 1 ++ exit 1 + exit_status=1 + set +e + cd /tmp/automake-1.11.1/tests + case $exit_status,$keep_testdirs in + test 15 '!=' 0 + echo 'foo: caught signal 15' foo: caught signal 15 + echo 'foo: exit 1' foo: exit 1 + exit 1 --Boundary-00=_K375NCu2FQV/21s Content-Type: text/x-log; charset="utf-8"; name="sh.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="sh.log" /tmp/automake-1.11.1/tests:/home/slattarini/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin === Running test foo.test + pwd /tmp/automake-1.11.1/tests/foo.dir + MAKE=gmake + export MAKE + cat + cat + cat + chmod a+x foo1.test + cat + chmod a+x foo2.test + cat + chmod a+x foo3.test + aclocal-1.11 -Werror + autoconf + automake-1.11 --foreign -Werror -Wall -a + ./configure checking for a BSD-compatible install... /usr/bin/install -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... no checking for awk... awk checking whether gmake sets $(MAKE)... yes configure: creating ./config.status config.status: creating Makefile + gmake -j1 check + sleep 2 gmake check-TESTS gmake[1]: Entering directory `/tmp/automake-1.11.1/tests/foo.dir' gmake[2]: Entering directory `/tmp/automake-1.11.1/tests/foo.dir' PASS: foo1.test + kill 26199 + test ! -f test-suite.log + sleep 2 PASS: foo2.test PASS: foo3.test ================== All 3 tests passed ================== gmake[2]: Leaving directory `/tmp/automake-1.11.1/tests/foo.dir' gmake[1]: Leaving directory `/tmp/automake-1.11.1/tests/foo.dir' [2] Terminated ${sleep} + signal=15 + Exit 1 + set +e gmake: *** [check-am] Terminated [1] Terminated ${MAKE} -j1 check + exit 1 + exit 1 + exit_status=1 + set +e + cd /tmp/automake-1.11.1/tests + test 15 != 0 + echo foo: caught signal 15 foo: caught signal 15 + echo foo: exit 1 foo: exit 1 + exit 1 --Boundary-00=_K375NCu2FQV/21s Content-Type: text/x-log; charset="utf-8"; name="config.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="config.log" This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GNU Automake configure 1.11.1, which was generated by GNU Autoconf 2.65. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = gcc70.fsffrance.org uname -m = amd64 uname -r = 5.1 uname -s = NetBSD uname -v = NetBSD 5.1 (GENERIC) #0: Sat Nov 6 13:19:33 UTC 2010 builds@b6.netbsd.org:/home/builds/ab/netbsd-5-1-RELEASE/amd64/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/amd64/compile/GENERIC /usr/bin/uname -p = x86_64 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/slattarini/bin PATH: /bin PATH: /sbin PATH: /usr/bin PATH: /usr/sbin PATH: /usr/X11R7/bin PATH: /usr/X11R6/bin PATH: /usr/pkg/bin PATH: /usr/pkg/sbin PATH: /usr/games PATH: /usr/local/bin PATH: /usr/local/sbin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1722: checking build system type configure:1736: result: x86_64-unknown-netbsd5.1 configure:1781: checking for a BSD-compatible install configure:1849: result: /usr/bin/install -c configure:1860: checking whether build environment is sane configure:1910: result: yes configure:2051: checking for a thread-safe mkdir -p configure:2090: result: lib/install-sh -c -d configure:2103: checking for gawk configure:2133: result: no configure:2103: checking for mawk configure:2133: result: no configure:2103: checking for nawk configure:2133: result: no configure:2103: checking for awk configure:2119: found /usr/bin/awk configure:2130: result: awk configure:2141: checking whether make sets $(MAKE) configure:2163: result: yes configure:2265: checking for perl configure:2283: found /usr/pkg/bin/perl configure:2295: result: /usr/pkg/bin/perl configure:2314: checking whether /usr/pkg/bin/perl supports ithreads configure:2337: result: yes configure:2349: checking for tex configure:2379: result: no configure:2396: checking whether autoconf is installed configure:2401: eval autoconf --version autoconf (GNU Autoconf) 2.68 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+/Autoconf: 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 David J. MacKenzie and Akim Demaille. configure:2404: $? = 0 configure:2412: result: yes configure:2419: checking whether autoconf works configure:2426: cd conftest && eval autoconf -o /dev/null conftest.ac configure:2429: $? = 0 configure:2438: result: yes configure:2445: checking whether autoconf is recent enough configure:2452: cd conftest && eval autoconf -o /dev/null conftest.ac configure:2455: $? = 0 configure:2464: result: yes configure:2471: checking whether ln works configure:2491: result: yes configure:2506: checking for grep that handles long lines and -e configure:2564: result: /usr/bin/grep configure:2569: checking for egrep configure:2631: result: /usr/bin/grep -E configure:2636: checking for fgrep configure:2698: result: /usr/bin/grep -F configure:2704: checking whether /bin/sh has working 'set -e' with exit trap configure:2717: result: yes configure:2876: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by GNU Automake config.status 1.11.1, which was generated by GNU Autoconf 2.65. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on gcc70.fsffrance.org config.status:776: creating Makefile config.status:776: creating doc/Makefile config.status:776: creating lib/Automake/Makefile config.status:776: creating lib/Automake/tests/Makefile config.status:776: creating lib/Makefile config.status:776: creating lib/am/Makefile config.status:776: creating m4/Makefile config.status:776: creating tests/Makefile config.status:776: creating tests/defs config.status:776: creating tests/aclocal-1.11 config.status:776: creating tests/automake-1.11 ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-unknown-netbsd5.1 ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_FGREP='/usr/bin/grep -F' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_PERL=/usr/pkg/bin/perl ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AWK=awk ac_cv_prog_make_make_set=yes am_cv_autoconf_installed=yes am_cv_autoconf_version=yes am_cv_autoconf_works=yes am_cv_prog_PERL_ithreads=yes am_cv_prog_ln=ln am_cv_sh_errexit_works=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='perllibdir="/tmp/automake-1.11.1/lib:./lib" "/tmp/automake-1.11.1/aclocal" --acdir=m4 -I m4' AMTAR='${SHELL} /tmp/automake-1.11.1/lib/missing --run tar' APIVERSION='1.11' AUTOCONF='${SHELL} /tmp/automake-1.11.1/lib/missing --run autoconf' AUTOHEADER='${SHELL} /tmp/automake-1.11.1/lib/missing --run autoheader' AUTOMAKE='perllibdir="/tmp/automake-1.11.1/lib:./lib" "/tmp/automake-1.11.1/automake" --libdir=lib' AWK='awk' CYGPATH_W='echo' DEFS='-DPACKAGE_NAME=\"GNU\ Automake\" -DPACKAGE_TARNAME=\"automake\" -DPACKAGE_VERSION=\"1.11.1\" -DPACKAGE_STRING=\"GNU\ Automake\ 1.11.1\" -DPACKAGE_BUGREPORT=\"bug-automake@gnu.org\" -DPACKAGE_URL=\"http://www.gnu.org/software/automake/\" -DPACKAGE=\"automake\" -DVERSION=\"1.11.1\"' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' FGREP='/usr/bin/grep -F' GREP='/usr/bin/grep' HELP2MAN='${SHELL} /tmp/automake-1.11.1/lib/missing --run help2man' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LIBOBJS='' LIBS='' LN='ln' LTLIBOBJS='' MAKEINFO='${SHELL} /tmp/automake-1.11.1/lib/missing --run makeinfo' MKDIR_P='lib/install-sh -c -d' MODIFICATION_DELAY='2' PACKAGE='automake' PACKAGE_BUGREPORT='bug-automake@gnu.org' PACKAGE_NAME='GNU Automake' PACKAGE_STRING='GNU Automake 1.11.1' PACKAGE_TARNAME='automake' PACKAGE_URL='http://www.gnu.org/software/automake/' PACKAGE_VERSION='1.11.1' PATH_SEPARATOR=':' PERL='/usr/pkg/bin/perl' PERL_THREADS='1' SET_MAKE='' SHELL='/bin/ksh' STRIP='' TEX='' VERSION='1.11.1' am_AUTOCONF='autoconf' am_AUTOHEADER='autoheader' am__isrc='' am__leading_dot='.' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='x86_64-unknown-netbsd5.1' build_alias='' build_cpu='x86_64' build_os='netbsd5.1' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host_alias='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /tmp/automake-1.11.1/lib/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(top_builddir)/lib/install-sh -c -d' oldincludedir='/usr/include' pdfdir='${docdir}' pkgvdatadir='${datadir}/automake-1.11' prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sh_errexit_works='yes' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "GNU Automake" #define PACKAGE_TARNAME "automake" #define PACKAGE_VERSION "1.11.1" #define PACKAGE_STRING "GNU Automake 1.11.1" #define PACKAGE_BUGREPORT "bug-automake@gnu.org" #define PACKAGE_URL "http://www.gnu.org/software/automake/" #define PACKAGE "automake" #define VERSION "1.11.1" configure: exit 0 --Boundary-00=_K375NCu2FQV/21s Content-Type: application/x-shellscript; name="foo.test" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="foo.test" #! /bin/sh # Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # Check parallel-tests features: # - concurrent parallel execution . ./defs || Exit 1 MAKE=gmake; export MAKE cat > configure.in << 'END' AC_INIT([foo], [1.0]) AM_INIT_AUTOMAKE([parallel-tests]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT END cat > Makefile.am << 'END' TESTS = foo1.test foo2.test foo3.test END for i in 1 2 3; do cat >foo$i.test <<'END' #! /bin/sh echo "this is $0" # hack around maintainer-check check: sleep='sleep '1 $sleep exit 0 END chmod a+x foo$i.test done $ACLOCAL $AUTOCONF $AUTOMAKE -a ./configure $MAKE -j1 check & $sleep kill $! # Wait long enough so that there are no open files any more # when the post-test cleanup runs. while test ! -f test-suite.log; do $sleep done $sleep : --Boundary-00=_K375NCu2FQV/21s-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 18 17:18:08 2011 Received: (at submit) by debbugs.gnu.org; 18 Oct 2011 21:18:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGH31-0000nF-3q for submit@debbugs.gnu.org; Tue, 18 Oct 2011 17:18:08 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGH2x-0000mY-6J for submit@debbugs.gnu.org; Tue, 18 Oct 2011 17:18:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGH1s-00040o-N7 for submit@debbugs.gnu.org; Tue, 18 Oct 2011 17:16:58 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:46641) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGH1s-00040h-Gn for submit@debbugs.gnu.org; Tue, 18 Oct 2011 17:16:56 -0400 Received: from eggs.gnu.org ([140.186.70.92]:59143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGH1q-0004Cx-Hr for bug-automake@gnu.org; Tue, 18 Oct 2011 17:16:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGH1o-00040C-I9 for bug-automake@gnu.org; Tue, 18 Oct 2011 17:16:54 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:47518) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGH1o-0003zz-Aj; Tue, 18 Oct 2011 17:16:52 -0400 Received: by wwj40 with SMTP id 40so1213151wwj.30 for ; Tue, 18 Oct 2011 14:16:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=VoLjmYKBtdCxHGRIBkg+s/vyS9AGNeXEivVETGHzoMY=; b=aXt4DJicVZondVpY3pcZUhbdJa0TfivqBC0uKXPXAKYYWD9nT0e6NmdluNFJGcrWUm 4VO4Q+P2lTd9er9dBzt01gXb07qA+Qpa43+7RsJHtyae9W6jFVmA/D39GpziQ51BbD3g +pPaLnrkI9il63T8ECckGqMKR68oXrjZe4L6I= Received: by 10.227.155.81 with SMTP id r17mr1447709wbw.93.1318972611281; Tue, 18 Oct 2011 14:16:51 -0700 (PDT) Received: from bigio.localdomain (host212-95-dynamic.2-87-r.retail.telecomitalia.it. [87.2.95.212]) by mx.google.com with ESMTPS id ei16sm5838389wbb.21.2011.10.18.14.16.47 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 18 Oct 2011 14:16:48 -0700 (PDT) From: Stefano Lattarini To: bug-automake@gnu.org Subject: Re: bug#8788: Weird testsuite failure on NetBSD (parallel tests, background processes) Date: Tue, 18 Oct 2011 23:16:25 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-RELEASE; KDE/4.5.5; i386; ; ) References: <201106021843.54353.stefano.lattarini@gmail.com> In-Reply-To: <201106021843.54353.stefano.lattarini@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201110182316.26593.stefano.lattarini@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: submit Cc: 8788@debbugs.gnu.org, bug-autoconf@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.2 (-----) Reference: [Adding bug-autoconf in CC] On Thursday 02 June 2011, Stefano Lattarini wrote: > Hello automakers. > > While teststing the `testsuite-work' branch on NetBSD 5, I've encountered > a weird failure in the test `parallel-tests3.test', which actually caused > the whole testsuite to crash (!) due to a stray SIGTERM. > > [SNIP] > > Any idea of what's going on? > Ah ah, got it! (I think). The failure is due to an interaction between some features of GNU make and some (mis)features the NetBSD Korn Shell. Let's see the details. [1] The Korn shell gets selected to run the Makefile recipes ------------------------------------------------------------- On NetBSD, an autoconf-generated configure script will select /bin/ksh as the $(SHELL) used to execute the Makefile recipes: $ grep 'SHELL.*=' tests/parallel-tests3.dir/*/config.log tests/parallel-tests3.dir/parallel/config.log:SHELL='/bin/ksh' tests/parallel-tests3.dir/serial/config.log:SHELL='/bin/ksh' [2] The Korn shell has quirks w.r.t. signal handling ---------------------------------------------------- The NetBSD's Korn Shell is one of those shells which try to "propagate" terminating signals, as explained in the ``Signal Handling'' node of the (as of today yet unreleased) bleeding-edge autoconf manual; see also these relevant links: And in fact, NetBSD's Korn Shell even seems to propagate a fatal signal it has received *to all its process group*! Let's see a few examples: $ /bin/sh -c '/bin/sh -c "kill -15 \$\$"; echo alive' [1] Terminated /bin/sh -c "kill... alive $ /bin/ksh -c '/bin/sh -c "kill -15 \$\$"; echo alive' Terminated alive # ksh apparently terminate its parent $ /bin/sh -c '/bin/ksh -c "kill -15 \$\$"; echo alive' Terminated $ /bin/ksh -c '/bin/ksh -c "kill -15 \$\$"; echo alive' Terminated Terminated Just to be sure, let's try to trace the systems calls made by the Korn shell: $ ktrace /bin/sh -c ' > echo parent: $$ > ktrace -a /bin/ksh -c "echo child: \$\$; kill -15 \$\$" > echo alive ' parent: 20429 child: 4829 Terminated $ kdump ktrace.out | grep -i sig | grep -v __sig 4829 1 ksh CALL kill(0x12dd, SIGTERM) 4829 1 ksh PSIG SIGTERM caught handler=0x420810 mask=(): code=SI_USER sent by pid=4829, uid=1242) 4829 1 ksh CALL kill(0, SIGTERM) 4829 1 ksh PSIG SIGTERM SIG_DFL: code=SI_USER sent by pid=4829, uid=1242) 20429 1 sh PSIG SIGTERM SIG_DFL: code=SI_USER sent by pid=4829, uid=1242) (Note that `0x12dd' is decimal 4829). [3] GNU make propagates signal to the running recipes ----------------------------------------------------- If GNU make receives a terminating signal while it's updating some target(s), it propagates that signal to the currently-executing recipe(s): $ cat Makefile all: 1 2 1 2: @trap 'echo got SIGTERM; exit 77' 15; while :; do :; done $ gmake -j2 & [1] 5980 $ kill $! got SIGTERM got SIGTERM gmake: *** [2] Error 77 gmake: *** [1] Error 77 (FWIW, I find this to be an helpful and rational behaviour). [4] Putting it all together --------------------------- So here is my diagnosis of what happens when `parallel-tests3.test' is run on NetBSD with GNU make: 1) various setup/preparation commands get executed in this script; the Korn shell gets selected to run the recipe of the Makefile; 2) "make -j1 check" is launched in the background: cd serial $MAKE -j1 check & 3) some more commands get run, and they concludes before the background make process launched in (2) has concluded; 4) the shell executing `parallel-tests3.test' explicitly kills the still running background "make" process with a SIGTERM: cd .. kill $! 5) GNU make "relays" the SIGTERM to the korn shell executing the still running recipe(s); 6) in turn, the korn shell relays the SIGTERM to all processes in its process group; 7) this includes the top-level make process that is running the automake testsuite (if any); which explains the crash that is the object of this bug report. I'm not 100% positive that point (7) is completely correct, but I'm running out of time now, so I'll settle for this explanation; kudos to anyone who can give some confirmation about the correctness of point (7)! -*-*-*- Now, the right fix for the bug is *not* to work around this behaviour of the Korn shell; rather, we should fix the suspicious logic of the `parallel-tests3.test' script, which was also causing a testsuite hanging on FreeBSD. Patch coming up shortly. And it goes without saying that this horrendous NetBSD's Korn Shell incompatibility should be documented in the autoconf manual; I will maybe give it a shot in the next days if nobody beats me. Regards, Stefano From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 18 17:34:08 2011 Received: (at submit) by debbugs.gnu.org; 18 Oct 2011 21:34:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGHIV-00019V-Vd for submit@debbugs.gnu.org; Tue, 18 Oct 2011 17:34:08 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGHIU-000190-EB for submit@debbugs.gnu.org; Tue, 18 Oct 2011 17:34:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGHHP-000745-3g for submit@debbugs.gnu.org; Tue, 18 Oct 2011 17:33:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:54587) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGHHP-00073w-22 for submit@debbugs.gnu.org; Tue, 18 Oct 2011 17:32:59 -0400 Received: from eggs.gnu.org ([140.186.70.92]:57034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGHHN-0006w2-MZ for bug-automake@gnu.org; Tue, 18 Oct 2011 17:32:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGHHM-00073d-5y for bug-automake@gnu.org; Tue, 18 Oct 2011 17:32:57 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:62804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGHHL-00073K-MB; Tue, 18 Oct 2011 17:32:56 -0400 Received: by wwj40 with SMTP id 40so1229975wwj.30 for ; Tue, 18 Oct 2011 14:32:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:message-id; bh=BEMs4iplsbXiYmGDpJQsBwJrm0gSRsGo5BT1/yaXoY4=; b=sBC04qcFslcRDK4h9/anrG1RR/tsvGLEYfQykx3kJkVVEWKNgUiQqAuuJtGKW5XyE8 9JSZROhzn/LujP5vzqveZ8M98tXvjEKQ/zh4TFHg+N6J9hYk6GUMwxWBFapiej7cVIOp htp3CTRxgxScblIU+dI8+7G8ygOAakvs4Jr3Q= Received: by 10.216.14.195 with SMTP id d45mr2049784wed.90.1318973574539; Tue, 18 Oct 2011 14:32:54 -0700 (PDT) Received: from bigio.localdomain (host212-95-dynamic.2-87-r.retail.telecomitalia.it. [87.2.95.212]) by mx.google.com with ESMTPS id b5sm5952882wbh.4.2011.10.18.14.32.50 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 18 Oct 2011 14:32:51 -0700 (PDT) From: Stefano Lattarini To: bug-automake@gnu.org Subject: Re: bug#8788: Weird testsuite failure on NetBSD (parallel tests, background processes) Date: Tue, 18 Oct 2011 23:32:35 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-RELEASE; KDE/4.5.5; i386; ; ) References: <201106021843.54353.stefano.lattarini@gmail.com> <201110182316.26593.stefano.lattarini@gmail.com> In-Reply-To: <201110182316.26593.stefano.lattarini@gmail.com> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_0BfnOV00hblyc1P" Message-Id: <201110182332.36082.stefano.lattarini@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: submit Cc: 8788@debbugs.gnu.org, automake-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.2 (-----) --Boundary-00=_0BfnOV00hblyc1P Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit [Dropping bug-autoconf from CC] [Adding automake-patches to CC] On Tuesday 18 October 2011, Stefano Lattarini wrote: > Reference: > > > On Thursday 02 June 2011, Stefano Lattarini wrote: > > While teststing the `testsuite-work' branch on NetBSD 5, I've encountered > > a weird failure in the test `parallel-tests3.test', which actually caused > > the whole testsuite to crash (!) due to a stray SIGTERM. > > > > [SNIP] > > > > Any idea of what's going on? > > > Ah ah, got it! (I think). The failure is due to an interaction between some > features of GNU make and some (mis)features the NetBSD Korn Shell. > > [SNIP] > > Now, the right fix for the bug is *not* to work around this behaviour > of the Korn shell; rather, we should fix the suspicious logic of the > `parallel-tests3.test' script, which was also causing a testsuite hang > on FreeBSD. Patch coming up shortly. > And here is the promised patch (see attachement). I will allow a couple of days for reviews before pushing. Regards, Stefano --Boundary-00=_0BfnOV00hblyc1P Content-Type: text/x-patch; charset="utf-8"; name="0001-tests-avoid-spurious-failure-in-parallel-tests3.test.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="0001-tests-avoid-spurious-failure-in-parallel-tests3.test.patch" =46rom f5b69b8a0d787cf798653fdb975affa9e7ff44b8 Mon Sep 17 00:00:00 2001 Message-Id: =46rom: Stefano Lattarini Date: Tue, 18 Oct 2011 21:05:24 +0200 Subject: [PATCH] tests: avoid spurious failure in 'parallel-tests3.test' This fixes automake bug#8788. * tests/parallel-tests3.test: To ensure that the serial run of the dummy testsuite is still ongoing when the parallel run has terminated, use `kill -0', not a bare `kill'. This will prevent a testsuite crash on NetBSD 5.1, and a testsuite hang on FreeBSD 8.2. Also, since we are at it, try harder to avoid possible hangs of the script in other unusual situations. =2D-- ChangeLog | 11 +++++++++++ tests/parallel-tests3.test | 19 +++++++++++++------ 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index a2ecefc..9ed30f0 100644 =2D-- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2011-10-18 Stefano Lattarini + + tests: avoid spurious failure in 'parallel-tests3.test' + This fixes automake bug#8788. + * tests/parallel-tests3.test: To ensure that the serial run of + the dummy testsuite is still ongoing when the parallel run has + terminated, use `kill -0', not a bare `kill'. This will prevent + a testsuite crash on NetBSD 5.1, and a testsuite hang on FreeBSD + 8.2. Also, since we are at it, try harder to avoid possible + hangs of the script in other unusual situations. + 2011-10-17 Stefano Lattarini =20 tests: fix spurious failure with autoconf 2.62 diff --git a/tests/parallel-tests3.test b/tests/parallel-tests3.test index a138f90..69ba1d0 100755 =2D-- a/tests/parallel-tests3.test +++ b/tests/parallel-tests3.test @@ -70,15 +70,22 @@ $sleep : >stdout $MAKE -j4 check >> stdout cd .. =2Dkill $! +# Ensure the tests are really being run in parallel mode: if this is +# the case, the serial run of the dummy testsuite started above should +# still be ongoing when the parallel one has terminated. +kill -0 $! cat parallel/stdout test `grep -c PASS parallel/stdout` -eq 8 =20 =2D# Wait long enough so that there are no open files any more =2D# when the post-test cleanup runs. =2Dwhile test ! -f serial/test-suite.log =2Ddo =2D $sleep +# Wait long enough so that there are no open files any more when the +# post-test cleanup runs. But exit after we've waited for two minutes +# or more, to avoid testsuite hangs in unusual situations (this has +# already happened). +i=3D1 +while test ! -f serial/test-suite.log && test $i -le 120; do + i=3D`expr $i + 1` + sleep '1' # Extra quoting to please maintainer-check. done $sleep + : =2D-=20 1.7.3.5 --Boundary-00=_0BfnOV00hblyc1P-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 20 09:41:54 2011 Received: (at control) by debbugs.gnu.org; 20 Oct 2011 13:41:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGssc-00037Y-8p for submit@debbugs.gnu.org; Thu, 20 Oct 2011 09:41:54 -0400 Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGssZ-00037L-Jp for control@debbugs.gnu.org; Thu, 20 Oct 2011 09:41:52 -0400 Received: by wyh22 with SMTP id 22so2758173wyh.3 for ; Thu, 20 Oct 2011 06:40:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; bh=qfn33bAsGU38fkS5hPS6OUrxz8Fco5UWZRJnkLXovpE=; b=TDUXNfFZ571OQu5zE9rIhYhS854kBdLEkFvwLAe+JrjQ/IeGnf6H0F7PvaTQMz+iQn o3KhXL6o096yC2JnCXciK5w7RsCjkctmXZy1/+Rr64lbA82+/k0md2PVTsYKyIOMIQiS 3kVPw9H03MvUC8DFuq3NBDvc/c3ASXPu0PdQs= Received: by 10.216.221.157 with SMTP id r29mr6872121wep.66.1319118037272; Thu, 20 Oct 2011 06:40:37 -0700 (PDT) Received: from bigio.localnet (host71-30-dynamic.56-82-r.retail.telecomitalia.it. [82.56.30.71]) by mx.google.com with ESMTPS id eu16sm15634691wbb.7.2011.10.20.06.40.33 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Oct 2011 06:40:34 -0700 (PDT) From: Stefano Lattarini To: control@debbugs.gnu.org Subject: am Date: Thu, 20 Oct 2011 15:40:25 +0200 User-Agent: KMail/1.13.7 (Linux/2.6.30-2-686; KDE/4.6.5; i686; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201110201540.25650.stefano.lattarini@gmail.com> X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) severity 9320 minor severity 8599 minor severity 8071 minor severity 7892 minor tags 8788 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 20 15:50:22 2011 Received: (at 8788-done) by debbugs.gnu.org; 20 Oct 2011 19:50:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGydC-0004xq-54 for submit@debbugs.gnu.org; Thu, 20 Oct 2011 15:50:22 -0400 Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGyd8-0004xa-W1 for 8788-done@debbugs.gnu.org; Thu, 20 Oct 2011 15:50:20 -0400 Received: by wwp14 with SMTP id 14so4730217wwp.15 for <8788-done@debbugs.gnu.org>; Thu, 20 Oct 2011 12:49:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=4X4XoPRk7rPyKzXxO53te2wcguiJt/MP8590ikNc6T8=; b=FXlkXb8iFaUeX2zRx/iDUiQvEKqMkykOPDjZkZLSxH19Br9AFdXFNGe2GUcKUbouNI FlKhE6p9y5SfUeeN+ZKhoVG4kUHAZIFQFX0nXwp06z1it+hBD5gp5vTdWXl7ikhBH/d0 ani0j8fEgHRooMhlJXYHzGpnUqHWssbpaT1RE= Received: by 10.216.134.168 with SMTP id s40mr9057613wei.50.1319140143026; Thu, 20 Oct 2011 12:49:03 -0700 (PDT) Received: from bigio.localnet (host71-30-dynamic.56-82-r.retail.telecomitalia.it. [82.56.30.71]) by mx.google.com with ESMTPS id ek13sm17491225wbb.3.2011.10.20.12.48.59 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Oct 2011 12:49:00 -0700 (PDT) From: Stefano Lattarini To: 8788-done@debbugs.gnu.org Subject: Re: bug#8788: Weird testsuite failure on NetBSD (parallel tests, background processes) Date: Thu, 20 Oct 2011 21:48:48 +0200 User-Agent: KMail/1.13.7 (Linux/2.6.30-2-686; KDE/4.6.5; i686; ; ) References: <201106021843.54353.stefano.lattarini@gmail.com> <201110182316.26593.stefano.lattarini@gmail.com> <201110182332.36082.stefano.lattarini@gmail.com> In-Reply-To: <201110182332.36082.stefano.lattarini@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201110202148.49012.stefano.lattarini@gmail.com> X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: 8788-done Cc: automake-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.0 (----) On Tuesday 18 October 2011, Stefano Lattarini wrote: > On Tuesday 18 October 2011, Stefano Lattarini wrote: > > Reference: > > > > > > [SNIP] > > > > Now, the right fix for the bug is *not* to work around this behaviour > > of the Korn shell; rather, we should fix the suspicious logic of the > > `parallel-tests3.test' script, which was also causing a testsuite hang > > on FreeBSD. Patch coming up shortly. > > > And here is the promised patch (see attachement). I will allow a couple of > days for reviews before pushing. > Pushed now. I'm thus also closing bug#8788. Regards, Stefano From unknown Sat Aug 09 01:08:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 18 Nov 2011 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 08 07:02:26 2012 Received: (at control) by debbugs.gnu.org; 8 Jan 2012 12:02:26 +0000 Received: from localhost ([127.0.0.1]:49565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RjrSC-0001x9-IN for submit@debbugs.gnu.org; Sun, 08 Jan 2012 07:02:25 -0500 Received: from mail-ee0-f44.google.com ([74.125.83.44]:56659) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RjrS9-0001wv-32 for control@debbugs.gnu.org; Sun, 08 Jan 2012 07:02:22 -0500 Received: by eekc14 with SMTP id c14so2336315eek.3 for ; Sun, 08 Jan 2012 04:02:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:mime-version:to:subject:content-type :content-transfer-encoding; bh=BuavHcajQJY4z5Fx2jnK7MOsyoI6Hhfz+74nDa6IDas=; b=MrO9KFkXWi1Qlbfwv5iODGx+xQOR9wI0s3ttbwO+Ma2fVFrfgGnuCUfXg6PuUHL3GS EZkmUZpxNHbqCrsfYoREgTPCNPPhoiTVxUQ6PLVsi0CWG5q0e4Piu545WV0Ak2C1HMg2 uMWJ4uYiIDIGxAlLfxzdHEGWDu2sX2QdGyp1k= Received: by 10.14.99.78 with SMTP id w54mr4676798eef.33.1326024127247; Sun, 08 Jan 2012 04:02:07 -0800 (PST) Received: from [82.56.38.65] (host65-38-dynamic.56-82-r.retail.telecomitalia.it. [82.56.38.65]) by mx.google.com with ESMTPS id s16sm275796061eef.2.2012.01.08.04.02.06 (version=SSLv3 cipher=OTHER); Sun, 08 Jan 2012 04:02:06 -0800 (PST) Message-ID: <4F0985BB.3030508@gmail.com> Date: Sun, 08 Jan 2012 13:02:03 +0100 From: Stefano Lattarini MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: foo Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) unarchive 8788 merge 8788 10447 thanks From unknown Sat Aug 09 01:08:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 05 Feb 2012 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator