From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 aIuPNuZsBmIxRwAAgWs5BA (envelope-from ) for ; Fri, 11 Feb 2022 15:04:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6D7NM+ZsBmIqDQAA9RJhRA (envelope-from ) for ; Fri, 11 Feb 2022 15:04:22 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 412B929C1F for ; Fri, 11 Feb 2022 15:04:20 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 130D15F71F; Fri, 11 Feb 2022 14:04:18 +0000 (UTC) Received: from mailproxy07.manitu.net (mailproxy07.manitu.net [217.11.48.71]) by mail.notmuchmail.org (Postfix) with ESMTPS id C33145F700 for ; Fri, 11 Feb 2022 14:04:15 +0000 (UTC) Received: from localhost (200116b860714e008ddcdcc7fff9f68c.dip.versatel-1u1.de [IPv6:2001:16b8:6071:4e00:8ddc:dcc7:fff9:f68c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: michael@grubix.eu) by mailproxy07.manitu.net (Postfix) with ESMTPSA id 39733C8834 for ; Fri, 11 Feb 2022 15:04:17 +0100 (CET) MIME-Version: 1.0 In-Reply-To: <164458773197.3086.16103597141743611268.git@grubix.eu> References: <164458773197.3086.16103597141743611268.git@grubix.eu> Subject: Re: Test suite timing issues? From: Michael J Gruber To: Notmuch mailing list Message-ID: <164458825459.3086.13267317086536749487.git@grubix.eu> Date: Fri, 11 Feb 2022 15:04:14 +0100 User-Agent: alot/0.10 Message-ID-Hash: CLZPI6WCVW2OPILZIKS5EZZDY6FJKR5C X-Message-ID-Hash: CLZPI6WCVW2OPILZIKS5EZZDY6FJKR5C X-MailFrom: michael@grubix.eu 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 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=1644588260; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to: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=eig6WCPdbP02eCnedXGqtzgMuq9yQrwDrH+rNCo5FpI=; b=DMajJD46CCBrlGftWkY5h8tKiagoc6o7M0Z/BTOoJaN0i1kf9ZBtub0WOvqzyyu2K774hu q6Nak1bq0ZZi2B7m83BcmVs8bmESGCFg5TE3mvWP4b+kx/LYPWofm/Wfu2TDz1VSQ8/VCW wBEwOeyn1zgugqS35UN73Pquqo90sHF6Z7+9nJPOoLeeERCMBtSdXmknKGQMzT1+JHRqd7 cc6ZsS33fTEjhm8V9ZwULw65bakcRbF5Mqs/k4r1YgEl0qjqCsMKjGr6xs9Hnieh7ZwnMy niAV0p9c0O0UptL1S0fLaWneCdmy61Owo8tE7Yn9npTsGbqxSKtPvoJli0tlEg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644588260; a=rsa-sha256; cv=none; b=GKMJ4PGLxCz0FqSr3ORsbFym7xECHVcSofBp+NFXCLtiFGuCmTwxXS+6BAMe+ePSpYu9aG L8fMDuO+bG0FUwJTIjNMMDnvRvbD4uUCBLXNwL/+xthtMrlME4nTkk1C8TfBNHy2TiQmKo 2lUobMusqXabaQx3eyywj68gB4xXMpCRJMDP0GZ9Avi7RQyiOkczuQybTTOOMzKLgQs5La IKLYc7ilA5pL31EABW1F8LizunOrNkfz7JPwcBfB3i+oeTDGpxitC8OPqt130+xDy7olMw 8OwBtWvd1gAsdG4QWcqajdko1uM2GmX56MBD5XD5deySrVvEZmeVfemDnz7oVA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.53 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 412B929C1F X-Spam-Score: -0.53 X-Migadu-Scanner: scn1.migadu.com X-TUID: oMxU5VtpGGDL Michael J Gruber venit, vidit, dixit 2022-02-11 14:55:32: > Hi there, > > I'm trying to package notmuch for Redhat's enterprise linux and clones > (EPEL, extra packages for enterprise linux). > > This looks mostly fine, including the tests, except for intermittent > failures on epel-8-s390x. They look like the below, or in tests > following those, and apparantly all have to do with "db not synced yet" > or such, so that a message one subtest creates only shows up in the db > for the next subtest. > > I've also had completely fine test runs on epel-8-s390x, but I'm > starting to wonder whether I've just been lucky so far on other > platforms ... Could it be possible that generate_message(), even though > adding the message, still returns false and therefore add_message() does > not call "notmuch new"? One might want to drop the "&&" there in > test-lib-common, I dunno. This shouldn't be "intermittent". > > Michael > > T210-raw: Testing notmuch show --format=raw > FAIL Attempt to show multiple raw messages > --- T210-raw.1.expected 2022-02-11 13:22:28.011556841 +0000 > +++ T210-raw.1.output 2022-02-11 13:22:28.011556841 +0000 > @@ -1 +1,7 @@ > -Error: search term did not match precisely one message (matched 2 messages). > +From: Notmuch Test Suite > +To: Notmuch Test Suite > +Message-Id: > +Subject: Test message #1 > +Date: Fri, 05 Jan 2001 15:43:56 +0000 > + > +This is just a test message (#1) > PASS Show a raw message > FAIL Show another raw message > --- T210-raw.3.expected 2022-02-11 13:22:28.031556841 +0000 > +++ T210-raw.3.output 2022-02-11 13:22:28.031556841 +0000 > @@ -1,7 +1 @@ > -From: Notmuch Test Suite > -To: Notmuch Test Suite > -Message-Id: > -Subject: Test message #2 > -Date: GENERATED_DATE > > -This is just a test message (#2) > Error: search term did not match precisely one message (matched 0 messages). Similar apparent timing issue on epel-8-aarch64: FAIL Adding message with long ID --- T290-long-id.2.expected 2022-02-11 13:55:17.028415326 +0000 +++ T290-long-id.2.output 2022-02-11 13:55:17.028415326 +0000 @@ -1 +1 @@ -Added 1 new message to the database. +No new mail. FAIL Referencing long ID after adding --- T290-long-id.3.expected 2022-02-11 13:55:17.078415753 +0000 +++ T290-long-id.3.output 2022-02-11 13:55:17.078415753 +0000 @@ -1 +1 @@ -Added 1 new message to the database. +Added 2 new messages to the database. Note how that message from the 1st subtest shows up only in the second.