From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CPVdJ7/EB2JOTwAAgWs5BA (envelope-from ) for ; Sat, 12 Feb 2022 15:31:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KBGiJL/EB2IISwAA9RJhRA (envelope-from ) for ; Sat, 12 Feb 2022 15:31:27 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5042C25027 for ; Sat, 12 Feb 2022 15:31:27 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 2248C5F702; Sat, 12 Feb 2022 14:31:25 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id D108C5F6C3 for ; Sat, 12 Feb 2022 14:31:22 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 07E2B5FBD2; Sat, 12 Feb 2022 09:31:21 -0500 (EST) Received: (nullmailer pid 1775100 invoked by uid 1000); Sat, 12 Feb 2022 14:30:58 -0000 From: David Bremner To: Michael J Gruber Subject: Re: Test suite timing issues? In-Reply-To: <164467277576.6467.13919733764427871872.git@grubix.eu> References: <164458773197.3086.16103597141743611268.git@grubix.eu> <87k0e1x87f.fsf@tethera.net> <164467277576.6467.13919733764427871872.git@grubix.eu> Date: Sat, 12 Feb 2022 10:30:58 -0400 Message-ID: <877da0xil9.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: KZHC3ADEZZTTSBKVGPNKNXJPG4KPKA3V X-Message-ID-Hash: KZHC3ADEZZTTSBKVGPNKNXJPG4KPKA3V X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: notmuch@notmuchmail.org X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644676287; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=onDLMkkkOj/7Bem3AMMunUT9HrYXXPR/mS4ks66ooJ8=; b=YuMu2Drp8qP+rdVH8UXfVQRK6yoKMwVH/uvmJlQXdFftAtgOg6cpOae06KQfG/F9ZT37jf 4NjjkP/3AhT5jHmYh3C5cXIleqwz4uiP7Tkb2LkXpNj9fnmKSQyrvsYHucuaXf70o+LVCA nkkb1iT0SiuPdGjsDuGHxxvSBycfPjhVF9eUEyZI7C6kSAQchRv5Ekx4QLLeHuEdEOhUZu 0Rj+v6iNTM6qfJRRi9fu6sWkQrTgpk8PJ8AR91i9H0fLHCzi+aLJ5BTyaqvvnQrSdrD1xD 3PFFsy9DHrsZUpGo1STlEoaHSd6qA+qjlASu4CBCSJtm+wm9Y+qFOH2isX3DUA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644676287; a=rsa-sha256; cv=none; b=cNd4LzBYwDyos4hePoQIVJifMSWL3WT0LAzuSUvtmCZu9UWZww6uZ2hl2tDHfwPL3HdPAe z4qHdYHGcOjSKkx64fD8AN+CEjknz/ogwQnv9MyqDdq3wm20qHQTseUT8QtePiu+gFjiT8 ZOMhsZG8gEXhwC0OtuiVyjfu9lb4L12JH9YgJQzcTPSXrjUppMlhIPCCGsw3fwI8DTdsUn i7UmWGILFOrXNc2MD2as6klk5MR9tRjeo2XhFKTQXuAUmMwZUkrpyTmftcIHpCuVGoCoLO TgzD6ZgIK/UdkOFQ8SLs9zmaUouk1z/MaQ1cr0XK+WFwgy0MuHDmNnnxP/QGhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.84 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 5042C25027 X-Spam-Score: -1.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: AeRVDRT0cXxd Michael J Gruber writes: >> >> It's hard to see what can go wrong (maybe perl doesn't work?), but >> failing to generate a message should be a fatal error. Maybe try >> something like I was unclear. I meant "should" as in "in a perfect world", not as a prediction about the current code. So we should probably try to add some error checking either where the patch put it, or in generate_message itself. >> > > Well, as you can see in both reports, the pattern is as follows: > > The first subttest sees 1 less message than expected. > The second sees 1 more message than expected. > > So in summary, they are generated but "notmuch new" is not run or does > not pick them up. Though it's a Heisenbug on a specific arch, I'll try > your suggestion and hammer our infra with it ... > Yeah, debugging by batch submission is no fun, no matter what our grandparents tell us. I do have interactive access to s390x systems running Debian and Ubuntu, but the problems you report do not occur in Debian (probably not in Ubuntu either, or I would have heard about it, but I didn't check if e.g. Ubuntu disables the tests). There is not (supposed to be) anything asynchronous about the process of generating a message and indexing it. You could also try adding --full-scan to the relevant "notmuch new" invocation. This will disable the heuristics based on directory mtimes that notmuch uses to speed up indexing. d