From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 2PKEBRkkYWVJSwAAauVa8A:P1 (envelope-from ) for ; Fri, 24 Nov 2023 23:30:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2PKEBRkkYWVJSwAAauVa8A (envelope-from ) for ; Fri, 24 Nov 2023 23:30: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 DB5DB35D58 for ; Fri, 24 Nov 2023 23:30:46 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=kt1hztRv; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=meesny header.b=XuLZIBw+; 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; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1700865049; a=rsa-sha256; cv=fail; b=Y1cSKoAv4hUzSJwPuRB6Xzbsa/SdwAizax4vAOyEF7zToR+LForj6zS5dJXUsDl8xNY2E4 HQ77RUzVcn9a49qfmcIe6kgekZ+/cWtTzytZp/4AIHB1YHkM6TwfJQnIg8ZHMaFDcHIv05 QlyWCvJMLTd7ghWlT2er6Omm95/oH5nZ+lGPDBMzpsMFVat8ZzE5ofRYQg/yXsoFrHeYIz tr/eqBA5uUHfuhaJ/pBW9bssqCvrr+SrJxLDsiVqMhYKkhQtrv0gNu+Gg+K1y0RR37Y443 59QDTB3CsveUScehjJ3D8VvfQ7DUVVTXhj78zsV0zoyyDLk+NNGoQBWYnotC/g== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=kt1hztRv; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=meesny header.b=XuLZIBw+; 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; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700865049; 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:dkim-signature; bh=QgWA8fE9BInl23ZHqcLTBkzp4tn7GEdXVlZXRmFUUcQ=; b=r7XH+EbD3s3e2zfHbBNa8SWxUzXgBK1GzPkh2hAcNAUYMd8g6ex2zLaJjYeOZXpBkEoXbg YMq+97I3NvE3LRZB7oczH7SpvmiR1AbRGk6sd3fNF0CdNnbUcCCiBgJq/OMlvMtDMhSIeo iFYnx0fCmHjNipwMhSsaOosK3C5rVRuLsMztRDyT+O57aw6NTN+S3ERgK0BhKJzTOBjvCY kI9kUrFtNYxzH0kPXMbDnW+WofRsWxCqMrQbXF+O0H//Krkketo6u6lYnY3Q/AM1LC+sgw DlZeJnxhUHgIHISevbalTi51DvNkfkWJIgbzRz7r62T6ytyaAtnMj4/jNhCsgA== Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 80F105F920; Fri, 24 Nov 2023 22:30:43 +0000 (UTC) X-Greylist: delayed 575 seconds by postgrey-1.36 at yantan; Fri, 24 Nov 2023 22:30:41 UTC Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) by mail.notmuchmail.org (Postfix) with ESMTPS id 336EB5F3B3 for ; Fri, 24 Nov 2023 22:30:41 +0000 (UTC) Received: from meesny.iki.fi (meesny.iki.fi [195.140.195.201]) (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 lahtoruutu.iki.fi (Postfix) with ESMTPS id 4ScTw15M8Nz49Q2v for ; Sat, 25 Nov 2023 00:21:02 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1700864465; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=T4iur5hZKfhhufeGrSIuxHLveMmPANE1KGtOu7Pg4Ks=; b=kt1hztRveyhoAZVFEE61iGZ/PgLanLO6lSTyDXehX/XtnhFS8c+BrxfHhEIoRowvwseMG5 +OcZu+t14iZ8GGUbYZads1N3yvmyA22sczHIQyw7km4shnriplUNVrTAycb2viJaPS2J1y I4smcmrMH67rq4xhHRuX/2146XHSUhSEDOo9eZARl+05H++b+4wWryvSosika1OkLsZAvN ZTzOsPGfPj2fCulXlPxuhjHIBNj1oxuaVX2YrO/SqumLxAtWt6FrX7/gTVbtEyCs4LuyxE IGPL+nU3PYeGmAOOfgrHfuWyPIKe3GOyYVqMCS4uLUUZgxarr6Um7vwKH2Ic9Q== Received: from c53 (gw1.nor.fi [185.218.193.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: too) by meesny.iki.fi (Postfix) with ESMTPSA id 4ScTvw1q7wzyQl; Sat, 25 Nov 2023 00:20:59 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1700864461; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=T4iur5hZKfhhufeGrSIuxHLveMmPANE1KGtOu7Pg4Ks=; b=XuLZIBw+QXmmnpEEyIkOQkUKJVXfhcz4BHpL1/HNiy7APiJTZsRR4b7g09TX3wuqMxDMeq I0KIrbGHnwsOCG7oUUXtS5r3V0lWv+69nEz0che678XAS4mIW726+xNTtQSB4ANjL6r7rg 2Elj/b0dam6PIdNi91M6T6uo87WEgms= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1700864461; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=T4iur5hZKfhhufeGrSIuxHLveMmPANE1KGtOu7Pg4Ks=; b=YkxcdJTqxHZpp4887dNQmJ0079ciOJ4vDdo5iodSHchll6myMHpwAfujKsLNisVyquIqXP +nvPpzTWhQC3bL1pr7jasdiOkkURguaNRJsvkHmnBsiK8tdZ7R24nVDsdBtiujrff33YXU mv4ITk0fgFUbsSqZlPMq4PzV+zCupPQ= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi ARC-Seal: i=1; s=meesny; d=iki.fi; t=1700864461; a=rsa-sha256; cv=none; b=gNBpncqMm79CdvSs5D/5NghjNWbyIU5wRS2YVFgW7FIVzNO+KVgcy+PExH0Rwpzhb09r8g iTXFq0v5uXuPG/IsnwjWqX96aC8qGq4ZOYAc3iJQeC4QT84DKQ+ql9Lo61oKKqdSuCwGzu QNYbe94WmwzmKkEbYhquMwSZCsMcRgU= From: Tomi Ollila To: Michael J Gruber , notmuch@notmuchmail.org Subject: Re: [PATCH 0/4] test: T380 rework In-Reply-To: References: User-Agent: Notmuch/0.38+5~gf38f4f8 (https://notmuchmail.org) Emacs/27.1 X-Face: HhBM'cA~ MIME-Version: 1.0 Message-ID-Hash: WSTINPHMD7KBUTRUOBOCF4UL7O4JJY2E X-Message-ID-Hash: WSTINPHMD7KBUTRUOBOCF4UL7O4JJY2E 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 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 X-Migadu-Queue-Id: DB5DB35D58 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -1.46 X-Spam-Score: -1.46 X-TUID: yzg7vPRbxgBp On Fri, Nov 24 2023, Michael J. Gruber wrote: > So, with the key-value pairs sorted by both, I resumed testing for Python > 3.1.13 and encountered failing T380 which gave me some a deja-vue due to > its confusing messages: > > ``` > T380-atomicity: Testing atomicity > cat: outcount: No such file or directory > /builddir/build/BUILD/notmuch-0.38.1/test/T380-atomicity.sh: line 79: ((: i > < : syntax error: operand expected (error token is "< ") Minimal change would be to change line: for ((i = 0; i < $outcount; i++)); do as for ((i = 0; i < ${outcount:=0}; i++)); do that would change the empty ('') $outcount to be as '0', and also return the same value (0) there in expression. Then, at least the message is less confusing... Tomi > PASS "notmuch new" is idempotent under arbitrary aborts > FAIL detected >10 abort points > test -gt 10 > /builddir/build/BUILD/notmuch-0.38.1/test/test-lib.sh: line 701: test: -gt: > unary operator expected > ``` > > And that is why this is a reply to the old thread where I suggested making > this less confusing, because everything reported is not the actual failure, > but the consequence of not safe-guarding against a failed test setup. > > The *real cause* is most likely that `import gdb` fails in `atomicity.py` > because it's not ready for py 3.13 yet. > > But maybe it's time to reconsider some bits of the old series? We ended up > discussing "echo vs printf" and never addressed the real issues here. > > Cheers, > Michael > > P.S.: There are also a few lines like > ``` > Error: database path > '/builddir/build/BUILD/notmuch-0.38.1/test/tmp.T400-hooks/database.85' does > not exist or is not a directory. > ``` > sprinkled in the test output between PASS tests, apparently without making > any test fail. I don't know whether I never noticed for a apassing test > suite, or whether this is new. > _______________________________________________ > notmuch mailing list -- notmuch@notmuchmail.org > To unsubscribe send an email to notmuch-leave@notmuchmail.org