From: Jameson Graef Rollins Date: Mon, 22 Oct 2012 05:18:52 +0000 (+1700) Subject: Re: [PATCH] test: new: Fix intermittent test failures with --debug X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=fbc46759c96caae62c267dabec2e841f0af81ff1;p=notmuch-archives.git Re: [PATCH] test: new: Fix intermittent test failures with --debug --- diff --git a/1f/270263c72feb8305dcc24e9ea63ba4e31e7568 b/1f/270263c72feb8305dcc24e9ea63ba4e31e7568 new file mode 100644 index 000000000..df65b5326 --- /dev/null +++ b/1f/270263c72feb8305dcc24e9ea63ba4e31e7568 @@ -0,0 +1,95 @@ +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 73A58431FB6 + for ; Sun, 21 Oct 2012 22:18:57 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.29 +X-Spam-Level: +X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 zqCjwyt4FcgE for ; + Sun, 21 Oct 2012 22:18:56 -0700 (PDT) +Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu + [131.215.239.19]) + by olra.theworths.org (Postfix) with ESMTP id 58A2B431FAE + for ; Sun, 21 Oct 2012 22:18:56 -0700 (PDT) +Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1]) + by earth-doxen-postvirus (Postfix) with ESMTP id CDE1F66E00E2; + Sun, 21 Oct 2012 22:18:55 -0700 (PDT) +X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new +Received: from finestructure.net (cpe-76-166-145-133.socal.res.rr.com + [76.166.145.133]) (Authenticated sender: jrollins) + by earth-doxen-submit (Postfix) with ESMTP id 0BD2866E00CC; + Sun, 21 Oct 2012 22:18:53 -0700 (PDT) +Received: by finestructure.net (Postfix, from userid 1000) + id 9054968C; Sun, 21 Oct 2012 22:18:52 -0700 (PDT) +From: Jameson Graef Rollins +To: Ethan Glasser-Camp , notmuch@notmuchmail.org +Subject: Re: [PATCH] test: new: Fix intermittent test failures with --debug +In-Reply-To: <1350825298-8261-1-git-send-email-ethan@betacantrips.com> +References: <1350825298-8261-1-git-send-email-ethan@betacantrips.com> +User-Agent: Notmuch/0.14+43~g9afcdf1 (http://notmuchmail.org) Emacs/23.4.1 + (x86_64-pc-linux-gnu) +Date: Sun, 21 Oct 2012 22:18:52 -0700 +Message-ID: <87k3ujhyo3.fsf@servo.finestructure.net> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha256; protocol="application/pgp-signature" +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: Mon, 22 Oct 2012 05:18:57 -0000 + +--=-=-= + +On Sun, Oct 21 2012, Ethan Glasser-Camp wrote: +> Although messages are created in a particular order, it seems that +> when they are created on a tmpfs, they do not always come back in the +> same order, leading to the same files being ignored but being output +> in a different order. This causes the test to fail because the outputs +> being compared are the same. +> +> Fix the failures by sorting the output of notmuch --debug and +> comparing this to a hand-sorted version of its output. + +This seems to fix a failing test that I'm seeing right now, at least in +the couple of times that I've re-run the tests after applying this +patch. + +jamie. + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) + +iQIcBAEBCAAGBQJQhNc8AAoJEO00zqvie6q8nPMP/2AbxeWCxJSao43P3vLQtnMf +6Sf1lKtXtFysL+q7Sfem2TY8TIPMgj4//JxlUNma0b4neWxEzywhodlo0r0VFWyh +rocrxYQKj9wX+LHC0h52dQ+Cq+nAIGnHzfoKpTcSuzhryaAxksjXYa32GbN7cmVq +A9H9hTI55JedzhYB4fsu6BeZ/l1k/THtUeKovuo9xUBJiB3LJezG8Y/hv4p3bjDO +s2SXRvK3zOS+Y3LDYrvWLi8RhwFHvXCyj9He3H4F+VUiyOPFrrfNYKOYlWh3It94 +BNizJr7DR0+bZ+au9eTX31LS2cI7mxVzrF5aRvWVSsxisYcoBb3tPWSvfuWZcPjf +EvHnZU/hdSDhNuWjtyyqkeVdXcKzOP65VfDHZnPKqLE35UbADtE+55pcJXmOp9Pz +0YyrTUMCysQslG6jCZ8xnGGDd1ZcpTyZD4pfmqmCI811RHTq1I/KTNW5LfPHlxqX +1j57d10TwkBTgt2lBROUkZu9QlXaRlAaScfz+7bOlwEL5D+GduUhLHxRYfyodJB9 +GypWhdxGxpW8YMiesKHPX8HoHM+r+Jb0rxfoDrwoY2FKO+Ztxl758mxPy+MalYr4 +TWWJxmzcuFQlK4+0/JcnzP82DbLp0ihiVpQKBJ5Mk0Gl2gBNQG1NzXyXS9hbPqac +QLKnYK52qRxjsuszcXMt +=xIou +-----END PGP SIGNATURE----- +--=-=-=--