From 0d2db52dabb923cb245607ed06acfacda7a93790 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Fri, 3 Aug 2012 10:33:41 +2000 Subject: [PATCH] Re: Bug#683505: notmuch: FTBFS if built twice in a row: unrepresentable changes to source --- a2/aee30c724d100bc4fb2ab50f6ee9fa6f43785e | 115 ++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 a2/aee30c724d100bc4fb2ab50f6ee9fa6f43785e diff --git a/a2/aee30c724d100bc4fb2ab50f6ee9fa6f43785e b/a2/aee30c724d100bc4fb2ab50f6ee9fa6f43785e new file mode 100644 index 000000000..e79daf7a9 --- /dev/null +++ b/a2/aee30c724d100bc4fb2ab50f6ee9fa6f43785e @@ -0,0 +1,115 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 781F3431FB6 + for ; Thu, 2 Aug 2012 07:33:47 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id Edf-ov5q600D for ; + Thu, 2 Aug 2012 07:33:47 -0700 (PDT) +Received: from dmz-mailsec-scanner-1.mit.edu (DMZ-MAILSEC-SCANNER-1.MIT.EDU + [18.9.25.12]) + by olra.theworths.org (Postfix) with ESMTP id D6CAC431FAE + for ; Thu, 2 Aug 2012 07:33:46 -0700 (PDT) +X-AuditID: 1209190c-b7f806d000006b87-1f-501a8fca192d +Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) + by dmz-mailsec-scanner-1.mit.edu (Symantec Messaging Gateway) with SMTP + id B5.1C.27527.ACF8A105; Thu, 2 Aug 2012 10:33:46 -0400 (EDT) +Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) + by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id q72EXimX032013; + Thu, 2 Aug 2012 10:33:45 -0400 +Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) + (authenticated bits=0) + (User authenticated as amdragon@ATHENA.MIT.EDU) + by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q72EXfeI011937 + (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); + Thu, 2 Aug 2012 10:33:42 -0400 (EDT) +Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77) + (envelope-from ) + id 1SwwT7-00053U-IH; Thu, 02 Aug 2012 10:33:41 -0400 +Date: Thu, 2 Aug 2012 10:33:41 -0400 +From: Austin Clements +To: Jameson Graef Rollins +Subject: Re: Bug#683505: notmuch: FTBFS if built twice in a row: + unrepresentable changes to source +Message-ID: <20120802143222.GI8502@mit.edu> +References: <20120801103707.GA668@jwilk.net> + <87pq7aabl8.fsf@convex-new.cs.unb.ca> + <878vdyvdjg.fsf@servo.finestructure.net> + <87ipd29tu4.fsf@convex-new.cs.unb.ca> + <87txwmt2ev.fsf@servo.finestructure.net> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +In-Reply-To: <87txwmt2ev.fsf@servo.finestructure.net> +User-Agent: Mutt/1.5.21 (2010-09-15) +X-Brightmail-Tracker: + H4sIAAAAAAAAA+NgFlrLKsWRmVeSWpSXmKPExsUixG6nrnuqXyrA4NMMUYvdrRMYLW60djNa + 7NnnZfFp/iF2i+s3ZzI7sHpc2DqJxeNX21xmj7unuTyerbrF7LHl0HvmANYoLpuU1JzMstQi + fbsEroyZ99azF6znqTjx6jt7A+M3zi5GTg4JAROJx/2f2SFsMYkL99azdTFycQgJ7GOUuHql + lRHCWc8o8fnVHBYI5wSTxIx/J6CcJYwSKw+fZQHpZxFQkfh4+w/YLDYBDYlt+5czgtgiAmYS + PV/+gNnMAnUSW5a0sYLYwgIpEqtnXwSL8wpoS3xf2Q61+xKjxMJ3E9kgEoISJ2c+YYFo1pK4 + 8e8lUxcjB5AtLbH8HwdImFPAVKLp+nuwOaJAN0w5uY1tAqPQLCTds5B0z0LoXsDIvIpRNiW3 + Sjc3MTOnODVZtzg5MS8vtUjXUC83s0QvNaV0EyMoJjgleXYwvjmodIhRgINRiYd3dalkgBBr + YllxZe4hRkkOJiVR3vddUgFCfEn5KZUZicUZ8UWlOanFhxglOJiVRHjvxwLleFMSK6tSi/Jh + UtIcLErivJdTbvoLCaQnlqRmp6YWpBbBZGU4OJQkeP/3ATUKFqWmp1akZeaUIKSZODhBhvMA + DX8JUsNbXJCYW5yZDpE/xajL0fvjyW1GIZa8/LxUKXHeNyBFAiBFGaV5cHNgqewVozjQW8K8 + 7MDEJsQDTINwk14BLWECWmJnBrakJBEhJdXAuHjOK/OrHeqKSb619Ucqjl9+nXP3xYHKS78v + Oehyakx9eEv16OF1OZqPpK4cdEj0tt550kFL6+nxFOcpT2YtCLx4Ii51hZ8yt9KPZ7qrpnIV + LxP+F5O2+P850WsnrPuWnLHw/THH4mxCiwDTvuAcP0vbRluX5l2Tuk7o+3k2rjpVE/LNYu/u + LCWW4oxEQy3mouJEAEVGN4hAAwAA +Cc: Jakub Wilk , notmuch@notmuchmail.org, + 683505@bugs.debian.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Thu, 02 Aug 2012 14:33:47 -0000 + +Quoth Jameson Graef Rollins on Aug 01 at 8:10 pm: +> On Wed, Aug 01 2012, David Bremner wrote: +> > As I mentioned on IRC, the test only fails on the Debian build machines +> > (building in a clean chroot using sbuild is not enough) so it isn't +> > really clear how to duplicate the it. Perhaps building in a clean +> > virtual machine without networking would do it. For which tests fail, +> > see +> > +> > https://buildd.debian.org/status/fetch.php?pkg=notmuch&arch=i386&ver=0.13.2-1&stamp=1338740444 +> > +> > I think the first things to fail are emacs tests. At a wild guess, it +> > looks like all of the failing tests are related to emacs. +> +> From a cursory look that does appear to be the case. The non-emacs +> tests that are also failing (json and crypto) are using +> emacs_deliver_message. Do we have any idea what's going on here? + +There is one other illuminating tidbit in the buildd log: + +emacs-subject-to-filename: Testing emacs: mail subject to filename +test-lib.sh: line 187: 30606 Terminated sleep 1 +FATAL: Unexpected exit with code 1 + +>From a cursory glance, emacs-subject-to-filename appears to be the +only test that calls test_emacs outside of a subtest and hence without +stdout/stderr redirection. + +The line number is useless, but, assuming valgrind isn't enabled, +there's only one place we sleep 1 in test-lib.sh: in the loop in +test_emacs that waits for the Emacs server to start up. Furthermore, +timeout sends SIGTERM by default, suggesting that we're timing out +while we're spinning in that loop. -- 2.26.2