Re: [PATCH] test: new: Fix intermittent test failures with --debug
authorJameson Graef Rollins <jrollins@finestructure.net>
Mon, 22 Oct 2012 05:18:52 +0000 (22:18 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:49:58 +0000 (09:49 -0800)
1f/270263c72feb8305dcc24e9ea63ba4e31e7568 [new file with mode: 0644]

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