From unknown Sun Jun 22 17:15:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22130: dmd: respawn test failures Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 10 Dec 2015 01:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22130 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 22130@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.144970995030578 (code B ref -1); Thu, 10 Dec 2015 01:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Dec 2015 01:12:30 +0000 Received: from localhost ([127.0.0.1]:38330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a6pmY-0007x7-2o for submit@debbugs.gnu.org; Wed, 09 Dec 2015 20:12:30 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50505) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a6pcA-0007ZB-VV for submit@debbugs.gnu.org; Wed, 09 Dec 2015 20:01:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a6hZM-00068R-H3 for submit@debbugs.gnu.org; Wed, 09 Dec 2015 11:26:21 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6hZM-00068N-EZ for submit@debbugs.gnu.org; Wed, 09 Dec 2015 11:26:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6hZL-0004q3-7H for bug-guix@gnu.org; Wed, 09 Dec 2015 11:26:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a6hZH-000638-36 for bug-guix@gnu.org; Wed, 09 Dec 2015 11:26:19 -0500 Received: from world.peace.net ([50.252.239.5]:57331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6hZH-00061h-0Y for bug-guix@gnu.org; Wed, 09 Dec 2015 11:26:15 -0500 Received: from [10.1.10.78] (helo=jojen) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1a6hZ5-00076x-4F; Wed, 09 Dec 2015 11:26:03 -0500 From: Mark H Weaver Date: Wed, 09 Dec 2015 11:26:02 -0500 Message-ID: <87lh93egh1.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) In DMD, the "respawn.sh" test fails quite consistently on armhf, and has sometimes failed on mips64el and x86_64 as well. Here's a copy of test-suite.log from a recent failure on armhf: --8<---------------cut here---------------start------------->8--- =================================== GNU dmd 0.2: ./test-suite.log =================================== # TOTAL: 3 # PASS: 2 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: tests/respawn =================== + dmd --version dmd (GNU dmd) 0.2 Copyright (C) 2013 Ludovic Court?s Copyright (C) 2002, 2003 Wolfgang J?hrling License GPLv3+: 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. + deco --version deco (GNU dmd) 0.2 Copyright (C) 2013 Ludovic Court?s Copyright (C) 2002, 2003 Wolfgang J?hrling License GPLv3+: 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. + socket=t-socket-759 + conf=t-conf-759 + log=t-log-759 + stamp=t-stamp-759 + service1_pid=t-service1-pid-759 + service2_pid=t-service2-pid-759 + pid=t-pid-759 + deco='deco -s t-socket-759' + trap 'cat t-log-759 || true ; rm -f t-socket-759 t-conf-759 t-stamp-759 t-log-759 t-pid-759 t-service1-pid-759 t-service2-pid-759 ; test -f t-pid-759 && kill `cat t-pid-759` || true ; test -f t-service1-pid-759 && kill `cat t-service1-pid-759` || true ; test -f t-service2-pid-759 && kill `cat t-service2-pid-759` || true ; rm -f t-service1-pid-759 t-service2-pid-759' EXIT + cat + rm -f t-pid-759 + wait_for_file t-pid-759 + i=0 + test -f t-pid-759 + test 0 -lt 20 + sleep 0.3 + dmd -I -s t-socket-759 -c t-conf-759 -l t-log-759 --pid=t-pid-759 ++ expr 0 + 1 + i=1 + test -f t-pid-759 + test 1 -lt 20 + sleep 0.3 ++ expr 1 + 1 + i=2 + test -f t-pid-759 + test -f t-pid-759 ++ cat t-pid-759 + dmd_pid=774 + kill -0 774 + test -S t-socket-759 + deco -s t-socket-759 status dmd Started: (test1 test2 dmd) Stopped: () + grep started + deco -s t-socket-759 status test1 It is started. + grep started + deco -s t-socket-759 status test2 It is started. + test -f t-service1-pid-759 + cat t-log-759 2015-12-09 16:15:18 Service dmd has been started. 2015-12-09 16:15:18 Service test1 has been started. 2015-12-09 16:15:18 Service test2 has been started. 2015-12-09 16:15:19 Started: (test1 test2 dmd) 2015-12-09 16:15:19 Stopped: () 2015-12-09 16:15:19 Status of test1: 2015-12-09 16:15:19 It is started. 2015-12-09 16:15:19 Running value is 786. 2015-12-09 16:15:19 It is enabled. 2015-12-09 16:15:19 Provides (test1). 2015-12-09 16:15:19 Requires (). 2015-12-09 16:15:19 Conflicts with (). 2015-12-09 16:15:19 Will be respawned. 2015-12-09 16:15:20 Status of test2: 2015-12-09 16:15:20 It is started. 2015-12-09 16:15:20 Running value is 787. 2015-12-09 16:15:20 It is enabled. 2015-12-09 16:15:20 Provides (test2). 2015-12-09 16:15:20 Requires (). 2015-12-09 16:15:20 Conflicts with (). 2015-12-09 16:15:20 Will be respawned. + rm -f t-socket-759 t-conf-759 t-stamp-759 t-log-759 t-pid-759 t-service1-pid-759 t-service2-pid-759 + test -f t-pid-759 + true + test -f t-service1-pid-759 + true + test -f t-service2-pid-759 + true + rm -f t-service1-pid-759 t-service2-pid-759 --8<---------------cut here---------------end--------------->8--- Mark From unknown Sun Jun 22 17:15:54 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Mark H Weaver Subject: bug#22130: closed (Re: bug#22130: dmd: respawn test failures) Message-ID: References: <87vb76co60.fsf@gnu.org> <87lh93egh1.fsf@netris.org> X-Gnu-PR-Message: they-closed 22130 X-Gnu-PR-Package: guix Reply-To: 22130@debbugs.gnu.org Date: Wed, 06 Jan 2016 22:57:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1452121022-24610-1" This is a multi-part message in MIME format... ------------=_1452121022-24610-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #22130: dmd: respawn test failures which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 22130@debbugs.gnu.org. --=20 22130: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D22130 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1452121022-24610-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 22130-done) by debbugs.gnu.org; 6 Jan 2016 22:56:54 +0000 Received: from localhost ([127.0.0.1]:40672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGx0g-0006Ob-3M for submit@debbugs.gnu.org; Wed, 06 Jan 2016 17:56:54 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46537) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGx0e-0006OO-Dd for 22130-done@debbugs.gnu.org; Wed, 06 Jan 2016 17:56:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGx0U-00020E-C6 for 22130-done@debbugs.gnu.org; Wed, 06 Jan 2016 17:56:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGx0U-00020A-8o; Wed, 06 Jan 2016 17:56:42 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:55714 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aGx0T-0000qz-BP; Wed, 06 Jan 2016 17:56:41 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Mark H Weaver Subject: Re: bug#22130: dmd: respawn test failures References: <87lh93egh1.fsf@netris.org> Date: Wed, 06 Jan 2016 23:56:39 +0100 In-Reply-To: <87lh93egh1.fsf@netris.org> (Mark H. Weaver's message of "Wed, 09 Dec 2015 11:26:02 -0500") Message-ID: <87vb76co60.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22130-done Cc: 22130-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Mark H Weaver skribis: > + deco -s t-socket-759 status dmd > Started: (test1 test2 dmd) > Stopped: () > + grep started > + deco -s t-socket-759 status test1 > It is started. > + grep started > + deco -s t-socket-759 status test2 > It is started. > + test -f t-service1-pid-759 > + cat t-log-759 The problem here is that the PID file for =E2=80=98service1=E2=80=99 is not= ready when we =E2=80=98test -f=E2=80=99 it right after =E2=80=98deco status test1=E2= =80=99 has told us the service is started. That=E2=80=99s because there=E2=80=99s a small window during w= hich the service is started but has not created its PID file yet. Fixed in dmd commit f33f81f. We=E2=80=99ll backport it in Guix or make a dmd release. Thanks, Ludo=E2=80=99. ------------=_1452121022-24610-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 10 Dec 2015 01:12:30 +0000 Received: from localhost ([127.0.0.1]:38330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a6pmY-0007x7-2o for submit@debbugs.gnu.org; Wed, 09 Dec 2015 20:12:30 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50505) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a6pcA-0007ZB-VV for submit@debbugs.gnu.org; Wed, 09 Dec 2015 20:01:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a6hZM-00068R-H3 for submit@debbugs.gnu.org; Wed, 09 Dec 2015 11:26:21 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6hZM-00068N-EZ for submit@debbugs.gnu.org; Wed, 09 Dec 2015 11:26:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6hZL-0004q3-7H for bug-guix@gnu.org; Wed, 09 Dec 2015 11:26:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a6hZH-000638-36 for bug-guix@gnu.org; Wed, 09 Dec 2015 11:26:19 -0500 Received: from world.peace.net ([50.252.239.5]:57331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6hZH-00061h-0Y for bug-guix@gnu.org; Wed, 09 Dec 2015 11:26:15 -0500 Received: from [10.1.10.78] (helo=jojen) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1a6hZ5-00076x-4F; Wed, 09 Dec 2015 11:26:03 -0500 From: Mark H Weaver To: bug-guix@gnu.org Subject: dmd: respawn test failures Date: Wed, 09 Dec 2015 11:26:02 -0500 Message-ID: <87lh93egh1.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) In DMD, the "respawn.sh" test fails quite consistently on armhf, and has sometimes failed on mips64el and x86_64 as well. Here's a copy of test-suite.log from a recent failure on armhf: --8<---------------cut here---------------start------------->8--- =================================== GNU dmd 0.2: ./test-suite.log =================================== # TOTAL: 3 # PASS: 2 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: tests/respawn =================== + dmd --version dmd (GNU dmd) 0.2 Copyright (C) 2013 Ludovic Court?s Copyright (C) 2002, 2003 Wolfgang J?hrling License GPLv3+: 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. + deco --version deco (GNU dmd) 0.2 Copyright (C) 2013 Ludovic Court?s Copyright (C) 2002, 2003 Wolfgang J?hrling License GPLv3+: 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. + socket=t-socket-759 + conf=t-conf-759 + log=t-log-759 + stamp=t-stamp-759 + service1_pid=t-service1-pid-759 + service2_pid=t-service2-pid-759 + pid=t-pid-759 + deco='deco -s t-socket-759' + trap 'cat t-log-759 || true ; rm -f t-socket-759 t-conf-759 t-stamp-759 t-log-759 t-pid-759 t-service1-pid-759 t-service2-pid-759 ; test -f t-pid-759 && kill `cat t-pid-759` || true ; test -f t-service1-pid-759 && kill `cat t-service1-pid-759` || true ; test -f t-service2-pid-759 && kill `cat t-service2-pid-759` || true ; rm -f t-service1-pid-759 t-service2-pid-759' EXIT + cat + rm -f t-pid-759 + wait_for_file t-pid-759 + i=0 + test -f t-pid-759 + test 0 -lt 20 + sleep 0.3 + dmd -I -s t-socket-759 -c t-conf-759 -l t-log-759 --pid=t-pid-759 ++ expr 0 + 1 + i=1 + test -f t-pid-759 + test 1 -lt 20 + sleep 0.3 ++ expr 1 + 1 + i=2 + test -f t-pid-759 + test -f t-pid-759 ++ cat t-pid-759 + dmd_pid=774 + kill -0 774 + test -S t-socket-759 + deco -s t-socket-759 status dmd Started: (test1 test2 dmd) Stopped: () + grep started + deco -s t-socket-759 status test1 It is started. + grep started + deco -s t-socket-759 status test2 It is started. + test -f t-service1-pid-759 + cat t-log-759 2015-12-09 16:15:18 Service dmd has been started. 2015-12-09 16:15:18 Service test1 has been started. 2015-12-09 16:15:18 Service test2 has been started. 2015-12-09 16:15:19 Started: (test1 test2 dmd) 2015-12-09 16:15:19 Stopped: () 2015-12-09 16:15:19 Status of test1: 2015-12-09 16:15:19 It is started. 2015-12-09 16:15:19 Running value is 786. 2015-12-09 16:15:19 It is enabled. 2015-12-09 16:15:19 Provides (test1). 2015-12-09 16:15:19 Requires (). 2015-12-09 16:15:19 Conflicts with (). 2015-12-09 16:15:19 Will be respawned. 2015-12-09 16:15:20 Status of test2: 2015-12-09 16:15:20 It is started. 2015-12-09 16:15:20 Running value is 787. 2015-12-09 16:15:20 It is enabled. 2015-12-09 16:15:20 Provides (test2). 2015-12-09 16:15:20 Requires (). 2015-12-09 16:15:20 Conflicts with (). 2015-12-09 16:15:20 Will be respawned. + rm -f t-socket-759 t-conf-759 t-stamp-759 t-log-759 t-pid-759 t-service1-pid-759 t-service2-pid-759 + test -f t-pid-759 + true + test -f t-service1-pid-759 + true + test -f t-service2-pid-759 + true + rm -f t-service1-pid-759 t-service2-pid-759 --8<---------------cut here---------------end--------------->8--- Mark ------------=_1452121022-24610-1--