From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 09 20:12:30 2015 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 06 17:56:54 2016 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. From unknown Sun Jun 22 17:14:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 04 Feb 2016 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