From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GK8CE0sxCGLFUwEAgWs5BA (envelope-from ) for ; Sat, 12 Feb 2022 23:14:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AJLbD0sxCGIvgwEAauVa8A (envelope-from ) for ; Sat, 12 Feb 2022 23:14:35 +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 1C02C2F1E3 for ; Sat, 12 Feb 2022 23:14:35 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 16F7F5F722; Sat, 12 Feb 2022 22:14:33 +0000 (UTC) Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) by mail.notmuchmail.org (Postfix) with ESMTPS id A75405F702 for ; Sat, 12 Feb 2022 22:14:29 +0000 (UTC) Received: from guru.guru-group.fi (unknown [IPv6:2a02:2380:1:9:5054:ff:feb7:a4bc]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: too) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id C7DF21B0009A; Sun, 13 Feb 2022 00:14:27 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1644704067; 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: in-reply-to:in-reply-to:references:references; bh=WlzDBsixyCgyVEK0dj0RH3cZsS8vB5NA8gCgRPkj758=; b=CucB46uOiV/tgg03cAjMO1IofvQYmufZpE7pTHUFXnNcHRX1kzGEt2uLvVOvkTz6ooPMrN vurI45NSNzc7Wf2du82SoI46Xv0nOi2FFxob2w3HUFeV7ei//6oS/p1WwL7wrDSqmJlUt2 rhg4DXqLnDEchTFEg48moiZ0aY79itovewhp8+3en3dSh5/CZPLcUEXC0gAbfCiJvYAg4Z wRqbWgvdcOTbfgXmhFp+CimA0VzXeQV3F730KAS5f/JWXi8JSdfsbj6y+i5XcJJdbCcyn2 pxL5K7N3tbtE/8sjhQGbYnk0mS0MfNUhq7IN31faF03fPZRTnGLAvlrPzassaQ== From: Tomi Ollila To: David Bremner , Michael J Gruber Subject: Re: Test suite timing issues? In-Reply-To: <87v8xjx048.fsf@tethera.net> References: <164458773197.3086.16103597141743611268.git@grubix.eu> <87k0e1x87f.fsf@tethera.net> <164467277576.6467.13919733764427871872.git@grubix.eu> <874k54xfuw.fsf@tethera.net> <87v8xjx048.fsf@tethera.net> User-Agent: Notmuch/0.35+4~ge2bb4cd (https://notmuchmail.org) Emacs/27.1 X-Face: HhBM'cA~ MIME-Version: 1.0 ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1644704067; a=rsa-sha256; cv=none; b=WcR8w1r/51AtmujMDjfxBmb0fXUej3DowIHBeGvP2RJhkRyOAZm6IQpfqEDVvT4D/poogf fkfAwL0ogtaZKCRVJVLPzugHi+JragGd8I+z+vzmicZ6P5M8WnQQdVxz6uYdaIkENMF+ui m6WD+6oJ6bx+eqeOHuo/j51KyCh/1X3FbxHmcSsIVOcU1TGkfyKT0YEdGS23/jdHL06i5W 26UzisEG+cVxl0lhsAnTyS3Y4q4JEV2rrWw6FXNsS7LLyMtGHTvpJckvggYJYyDgkzMoOM Xp5B5j6f6uLd3KTtO/Xf8R5ivxMrf5S6LqhY6TDNr9ZgcnWYkxZjC2YLtCYmBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1644704067; 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: in-reply-to:in-reply-to:references:references; bh=WlzDBsixyCgyVEK0dj0RH3cZsS8vB5NA8gCgRPkj758=; b=HQ576006Aw5vNCM+O4tXtagoNnH8JSy9Qkau3snXRma4AoQ7LSp56CZ9l/XiKiOQFaeOkz Pr0srtK1CyS95jyKuIbR0q4sqH5jGcYpY4i6ateuY2N+R4XSIbJOwDbPXh1XT50MnLEA7U AnIhQ1RWOAmmLBaNPGEU3t49GKW/9LV1I//0nVE0svDy5DDmCpl6xG71QuETgen5NXgEbW fXqzc37VYICQWrQX1ActxDhbIuHyECjXMIDM/NIXHDDlo4a1M3cqrYods/PdLCCTCmWFA2 6nDwWy/ZNq73YMmEsVmxQCxDuyxy+ESEmVeo/OpFk5lvPE4l/Lg2V6sESt3yFQ== Message-ID-Hash: N5LPC3NQFYLCGQFV2KGNOS6U2AW6HP4L X-Message-ID-Hash: N5LPC3NQFYLCGQFV2KGNOS6U2AW6HP4L X-MailFrom: tomi.ollila@iki.fi 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644704075; 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:dkim-signature; bh=7ZvXN46GFA5fz1921kpQKE8qpeaHbKhduqQWcrMj99w=; b=skuMe8+tEgDFX6LwLBydQ9fD942M4nDyOvZxY6x9MJ/sgi2wLbtD1+xRMFUh07EGK376kG GDgcYLGpEzT/AQkMDzx640Yb6O4JBt/oYF99Yn0BbCf8c49POq6iMPUfPCm0aTAcYywHf/ nfI8kVajE+4fwIfAX3Uq+jl2IUVPn0hkbawB7jmp+xyekQCHX5we+fEK/pRHLOVcFlIJKz Z7unGriEHLm6Irt8oj5up1bD99DwdlMG0dvyAHaI1FnFFhUVucAe3J/cTY3N2LIb21Pejq 6y5R4piSic+zEDdBC/h6no5IayjedU+yniFMYJeeljPP8PSPY+iqyM3kMQcqoA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1644704075; a=rsa-sha256; cv=fail; b=a65Qcsn4JmpsMrVUKV9yH4Zr0jlLodTUrRGRm2jr369iMg4YaFz6KaDX3222JM/UPmKslE QsuVUCiXPULkG0gxr3gNap1Wv8nU85kEqN6yQIP2PAD4MZNld+NjXmUwoFyMa6vb6gybKe eu+0vJMUL+kvazWopeEXqRLWlUj+sB2ffYK8G7Me+XtAzO54+iBqLGRWXFJI3G91jmyfTH F638buM3DpBPnOOi0q6f79AzVWQRGXowtS/86l4vK1uor4jD6p481nytct2jdTUzPvWM9Y Vppagc/a690FYoqSglSGNdgY89zZYlL8hOShmDBoMm8ivKyqXQ5c2KugQu/5rg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=CucB46uO; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); 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: 0.56 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=CucB46uO; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); 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: 1C02C2F1E3 X-Spam-Score: 0.56 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8pFg5aQPtlTx On Sat, Feb 12 2022, David Bremner wrote: > Tomi Ollila writes: > >> >> Does such a change hide "buggy" functionality ? > > We mostly don't use add_message, call notmuch new via NOTMUCH_NEW in > T050-new.sh. So I think it would mostly not hide bugs in notmuch > new. OTOH, I'm surprised the same issues with timestamps don't show up > there, if that is really the problem. > >> Or do we consider notmuch new buggy if it does not notice all new messages >> arrived every time ? > > That's a harder question. Maybe? But I don't know how serious a bug it > is for actual users (who often get mail delivered in various concurrent > ways). The bug could be that the filesystem mtime resolution is 1 sec (hmm what is the resolution in database?), and 2 emails are delivered to one directory during one second -- and at the same time notmuch new is scanning emails and found only one of those. then no more emails are delivered to that one directory for a while -- so notmuch new does not find those. (now that I think of it that could happen to me :O -- just very improbable (or not, `stat .` outputs Modify: 2022-02-12 22:47:19.550838056 +0200) -- have to check that timestamp resolution in database). Tomi