From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 cMn6An4cCGLOwQAAgWs5BA (envelope-from ) for ; Sat, 12 Feb 2022 21:45:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uOxGN30cCGIZewEAG6o9tA (envelope-from ) for ; Sat, 12 Feb 2022 21:45:49 +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 506672D6B3 for ; Sat, 12 Feb 2022 21:45:49 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 61FF75F724; Sat, 12 Feb 2022 20:45:47 +0000 (UTC) Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) by mail.notmuchmail.org (Postfix) with ESMTPS id 341FE5F6C3 for ; Sat, 12 Feb 2022 20:45:44 +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 CA4C31B0009A; Sat, 12 Feb 2022 22:45:42 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1644698743; 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=Z+RZX7L+q9akGBV6UGt1Ek3e0/C+ct7A3R2RyuPub/8=; b=oPcDAfsRahTmpjRVHOMeeTXHd5OrhV6bLMtrxP/NwRBWdl7u0noZCAulYbqltASfcuAQel aEwULVt4rlEBtlsTS1Ah7IrBoWLMt6rXf3sgRf4rPCrJV1iibLpxOZS8bCHXcsx1n/Eifm eEj9z9teY5maeSj588OP9WkGgmkQHHqzrwBcU0chHHxAQJAUXX1oHsA5qsyJIUUJHEynZd cXVnlVh1omDrwqRNt3I/n8lsOdjJzz0PnxeNlXMQVlKwwDtZ7Op/clnAxlwcWCCUYIvZMB wWeVkx78pjD7XpF1zAUrpQsGRmtBGsZpQzi3CJh2BsNeJzlntiuTjJymjO4XXA== From: Tomi Ollila To: David Bremner , Michael J Gruber Subject: Re: Test suite timing issues? In-Reply-To: <874k54xfuw.fsf@tethera.net> References: <164458773197.3086.16103597141743611268.git@grubix.eu> <87k0e1x87f.fsf@tethera.net> <164467277576.6467.13919733764427871872.git@grubix.eu> <874k54xfuw.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=1644698743; a=rsa-sha256; cv=none; b=rOWg0/M0G44nIN3zm2MUqWtnLGSObVBbMc/TMxtamDAwhj7JSXKsMWcUYTvSCOjjcefF0Z LQ7xwSDGEjyppxXu/e0LFzU0uFCLZuxsddx5NcIqLeqI3E5jdwxI1IETl9fbmcwU6zxaBo AFpxNH70J51lebnDq4yoN1rtY0haX2RxIKCIZbGrvWDtkO3T6o7rMREDv2+89YWbEYqDcJ h9Sod4vM39W6qSiOo8D9Dus61luinPzFyeqVXpGG79PusMboMo7eR8Jj7COORfv/gdAlE7 y6jnMdhG2F060avG1E/7qX6nFc/0MwHNS7Ka5SYnH95XP+FCAGQuHE8IBFNjPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1644698743; 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=Z+RZX7L+q9akGBV6UGt1Ek3e0/C+ct7A3R2RyuPub/8=; b=vj8tMxyre5EqmHuzisLgHg1pAcRXz/qeljBrhkZHWe5b4bml5HpF7XqfVdwOgYw9vEoijv rN8zrNx53GTXqFyVXEsNR9cqOzHV3Kx0H02W+TQQjvwelH6bz5eXSozVuebXSLVTMAeZ2P +WbFbeRQdUxlsend8EcJpfGSe5IDmLysiaNhScFntwtGMSFPZ205bZGp3k2a+XGApQtPgW dCS4R2p4F6D+exbczoo772gDwrrkCKCt8I098HdW2Sboh0WSsFIL5mkiLAukyrO15eqQd4 1EM5r1rFzjhaPHyK2IpVKEOeyef4oIJtfKCcYtnwlV+TQnUo8ygFgSIwDUFrwg== Message-ID-Hash: TIMDXBPMBKJNBCZTCE5IFXATJBQKK46L X-Message-ID-Hash: TIMDXBPMBKJNBCZTCE5IFXATJBQKK46L 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=1644698749; 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=UU1eVJweknkSCXjYCRSVarC5b7Qp3OOntNPJN4LM9XQ=; b=DfWzRf4EMppzDfp9LpaL9I94xSQXTI1gm9eeWjpaWXUD1rRX18RSLrmdk8sxCU/8/elOmn aF0BjL8CeLobvZTHeh3oCT/d5ZwkOKhMvJxlnsX+oaDCp+vbgEvk86cOmH1l4xCpv+0TrA Ihk7RSqIVf00g9JKUtUAPwGcaSQgC1k90E3hYIY10HbMp0w1dTqwKEWQD40cm+W4VkrK+C ML95LSa5GFKZ7Pk7sbm8P2/f3HQYf75ZNUldOjLzzd9rtMtLtUtCDfs7lZHon3ha66sYD0 uAPCt6kdMdw+RGHKq2T4F4ud6jVkCQKYieBdo0e728JuRh3UsUHiIwC+cfyLtQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1644698749; a=rsa-sha256; cv=fail; b=U1zAvGKTO+hxvU6wHwZNF18DvX0O75vRHgQAcGpqkC74XYMRLsH4wwY8eBTA3o9yHfoHc7 M42CyQTinEB7EcVwEwy3VjfFk/IzFULvHqqJAoyY2t+aLwh1XBjc2KT079hznp5QFxaEKX rw/5I4IXTeugIp7uv3ulGqpnmzOnX26Om9H6n9vVRm8whGaImYhHViYpuYVRsODnQzkUdE +F92Doi66CJYKdljbwnJO/FcuYBzSqpl/9viJG46yTADRvy0ZFCBwAgQrT9wsTczhIASuV /CMRmYV8xx+6X/Q6EfboTqso90ySFYphqC4n+bT2ijIYby3v80dVm44vE5DoHw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=oPcDAfsR; 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.05 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=oPcDAfsR; 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: 506672D6B3 X-Spam-Score: 0.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: qjSk6XCSz2UF On Sat, Feb 12 2022, David Bremner wrote: > Tomi Ollila writes: > >> On Sat, Feb 12 2022, Michael J. Gruber wrote: >> >> Only thing that came into mind are directory timestamps... if directory >> (m)time is same as before notmuch will not scan it for files... >> >> ... following that if the granularity of directory timestamp were 1 second, >> then it could easily happen than first one new message is not seen, and >> next time there is one extra message to be see... > > What do you think about adding --full-scan to the notmuch-new invocation > in add_message? It doesn't make any tests fail and is about the same > speed. I need to do a few more trials, but first time through it was > actually faster (!), maybe because the cache is hot Does such a change hide "buggy" functionality ? Or do we consider notmuch new buggy if it does not notice all new messages arrived every time ? Tomi