From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sPMvJ9b7A2GFCQAAgWs5BA (envelope-from ) for ; Fri, 30 Jul 2021 15:17:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GBO8Itb7A2FEQwAAbx9fmQ (envelope-from ) for ; Fri, 30 Jul 2021 13:17:10 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (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 F3975DFB2 for ; Fri, 30 Jul 2021 15:17:09 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 79308291F5; Fri, 30 Jul 2021 09:17:06 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id F13F8291F4 for ; Fri, 30 Jul 2021 09:17:03 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id DCF695FD17; Fri, 30 Jul 2021 09:17:03 -0400 (EDT) Received: (nullmailer pid 2192421 invoked by uid 1000); Fri, 30 Jul 2021 13:17:02 -0000 From: David Bremner To: Alyssa Ross , notmuch@notmuchmail.org Subject: Re: T568-lib-thread is non-deterministic In-Reply-To: <871reno6g7.fsf@alyssa.is> References: <871reno6g7.fsf@alyssa.is> Date: Fri, 30 Jul 2021 10:17:02 -0300 Message-ID: <878s1o54c1.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: CUSFI5THNDRJ77YINSFVAQ3MOI3DUX3K X-Message-ID-Hash: CUSFI5THNDRJ77YINSFVAQ3MOI3DUX3K 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; suspicious-header CC: Puck Meerburg X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627651030; 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-unsubscribe:list-subscribe:list-post; bh=59BhPiEqZn+Jk7LJbruwfUpQR+qkCWID6SwXrWf61c0=; b=ZJIMLhiWBZDH2X4d/9hAHrfkgbgB+b5q2ZEwBZdNP0vIbtIEPya8GiddXSyC87j5t6NsAb Al3WmOGtqBdYAuC33hgTz1yxVxdVgdQmLSdTDUB/BPWGPSpSJM7sYpLGqWy/i2cYa8h8CL L8oQtTryOnww8MSY50ODweZRemgmxcpo5jd1l1XrA36vW+oUw2CqcG/RmhVWhgyTfojFiU rGpt8GK55aNP+AjTVPJVy6g/thhAj3R5UN9akf6PjZsTxVY5N7ROi4HwHutCpi74yQ0Unf jpjCgKiJgkgXiYPpZt64HtXnNjfh6fcqXDagnnnxwMfz+oWYs7pBHxDxOEJREw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627651030; a=rsa-sha256; cv=none; b=oxe65QKGaXXAWE8AtIhQ9saPse12Vrz/FIPxYEDG0tKKu1m2DHhMpNrt1UtsQmztbU8mUO rpZXh3QFEUJ3XsZTx8oCuioYTiRPXF1TqHxE+897bqURD3eb18G3SC0HWum1fmJXsxNr1z oQZvhTNN3HSsDO4PnM20TYtva2oSGiPXciq9W4O86EtPl2U/lBRwHs3Mtv5IwOa7qobWCT 0bliDjFN8nZIZ+BrS+kqrQbGaoxGHizb/lxJO/ipMRRALx7RK225rqhB6F+Vr/eCX5697u p7PfCqBEZmjz8RKDe2T1EUeGDXImhYKoyR4OegK4QOjtQPhkx04gSNyvzkOlJw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.48 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: F3975DFB2 X-Spam-Score: -0.48 X-Migadu-Scanner: scn1.migadu.com X-TUID: LZC9aYTynk79 Alyssa Ross writes: > T568-lib-thread assums that there will always be a thread with ID > thread:0000000000000009, but this turns out not to be the case. > > This was reported to us in Nixpkgs[1], where it caused builds of our > notmuch package to intermittently fail, and I was able to > (intermittently) reproduce. We are going to work around this problem > for now by disabling T568. I can provide a Xapian DB generated by this > test with no thread with that ID if that's helpful. I believe this also > explains this report previously sent to the Notmuch mailing list[2]. > > Note on reproducing: I found that it often would succeed repeatedly > many, many times before failing, and then failing consistently for a > while. My co-conspirator Puck (CCed) thinks this might be due to how > directory order works in ZFS (which just happens to be the filesystem we > are using). Sorry for the delay in replying. This should be fixed in commit a37d5f5, which was part of Notmuch 0.31.4. d