From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sGr3BsW98F6CCAAA0tVLHw (envelope-from ) for ; Mon, 22 Jun 2020 14:18:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id glT5AsW98F5AAQAAB5/wlQ (envelope-from ) for ; Mon, 22 Jun 2020 14:18:45 +0000 Received: from arlo.cworth.org (arlo.cworth.org [50.126.95.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B5517940145 for ; Mon, 22 Jun 2020 14:18:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 96D626DE0F7A; Mon, 22 Jun 2020 07:18:32 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k-iZuVVxBZKZ; Mon, 22 Jun 2020 07:18:32 -0700 (PDT) Received: from arlo.cworth.org (localhost [IPv6:::1]) by arlo.cworth.org (Postfix) with ESMTP id ECD686DE0F28; Mon, 22 Jun 2020 07:18:29 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 86F1A6DE0F28 for ; Mon, 22 Jun 2020 07:18:28 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LQfleGCNyEpR for ; Mon, 22 Jun 2020 07:18:27 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTP id 736396DE0F19 for ; Mon, 22 Jun 2020 07:18:27 -0700 (PDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id 0A7D9613A9; Mon, 22 Jun 2020 10:18:27 -0400 (EDT) Received: (nullmailer pid 2893526 invoked by uid 1000); Mon, 22 Jun 2020 14:18:26 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: test failures on 32 bit architectures. Date: Mon, 22 Jun 2020 11:18:26 -0300 Message-ID: <87mu4vqj4d.fsf@tethera.net> MIME-Version: 1.0 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: notmuch-bounces@notmuchmail.org Sender: "notmuch" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 50.126.95.6 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Spam-Score: -1.01 X-TUID: H0BD1K0QtE/O I know, I know, I don't use 32 bit architectures either. However... Looking at [1], it looks like there two tests consistently failing on 32 bit architectures (and also mips64el, FWIW). T160-json: Testing --format=json output FAIL Search message: json, 64-bit timestamp --- T160-json.8.expected 2020-06-22 12:29:35.053363072 +0000 +++ T160-json.8.output 2020-06-22 12:29:35.053363072 +0000 @@ -1,7 +1,7 @@ [ { "authors": "Notmuch Test Suite", - "date_relative": "the future", + "date_relative": "1970-01-01", "matched": 1, "query": [ "id:msg-005@notmuch-test-suite", @@ -13,7 +13,7 @@ "unread" ], "thread": "XXX", - "timestamp": 32472187200, + "timestamp": 0, "total": 1 } ] T355-smime: Testing S/MIME signature verification and decryption FAIL Verify signature on PKCS#7 SignedData message expires: value not equal: data[0][0][0]["crypto"]["signed"]["status"][0]["expires"] = 2145914603 != 2611032858 I haven't tried to debug yet, but the first bug looks like a timestamp overflowing 32 bits, becoming negative, and being clamped to 0. No idea about the second. [1]: https://buildd.debian.org/status/package.php?p=notmuch&suite=experimental