From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yIjvN60DP2OLZwEAbAwnHQ (envelope-from ) for ; Thu, 06 Oct 2022 18:34:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kKrdN60DP2MaSQAAauVa8A (envelope-from ) for ; Thu, 06 Oct 2022 18:34:53 +0200 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 A86BC9CE9 for ; Thu, 6 Oct 2022 18:34:53 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 4A36E5F378; Thu, 6 Oct 2022 16:34:51 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 3426B5F368 for ; Thu, 6 Oct 2022 16:34:49 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 36C035FBC4; Thu, 6 Oct 2022 12:34:48 -0400 (EDT) Received: (nullmailer pid 218817 invoked by uid 1000); Thu, 06 Oct 2022 16:34:46 -0000 From: David Bremner To: Michael J Gruber Subject: Re: Test failure in Ubuntu 22.04 and 22.10 (new test) In-Reply-To: References: <1574005238.8760268.1665051216411.ref@mail.yahoo.com> <1574005238.8760268.1665051216411@mail.yahoo.com> <87leptxmg1.fsf@tethera.net> <87ilkxxkkz.fsf@tethera.net> Date: Thu, 06 Oct 2022 13:34:46 -0300 Message-ID: <871qrkx655.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: K3D2KB7SX65HZ6NJKDHI3GWO5QWR5PWB X-Message-ID-Hash: K3D2KB7SX65HZ6NJKDHI3GWO5QWR5PWB 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; 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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665074093; 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; bh=7eNdere8hKvdsLoInRMP6CEGjJmIuWULSfkqPkgJKpQ=; b=jqmzYBCry+Q81uOG4+EDJmp2/rhTwZq9url/gNznPF+hj1cQPn+fMD9ma2XzFgfl+KOBpy 4H9OtbUAJRvfSqPJNRewF+/X/r0bJUMnieVbA0amjWaBLeptZqfda4ZY14iI0xZDpxfQGK 4YELOHQwCuyD7wsYVmq91W0hQbx3a30if/0QpqEXmFBKEM2qqmW3XMqF2H4Ztna48U3zjw AjJ6IRJPSew4SvBJz4/0H0m277D99RVpMk8vbQJySQx4tEXnpkjrVBIUYITEcMjocb1sN4 FFKnGbE8xVWN0jLYff7RdnpEDHImN1/1I3teAoLtHwaMUdgdOsU9brUMs5hSYA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665074093; a=rsa-sha256; cv=none; b=OaGhJ/GnmB3O0+onn/vzsI/OecMTTdt1Ig+1eUSY2In/1iAG/AAcyVw5KTnNAz+ctzaokw zLy+SY/Zq8WU9ayZRSNUQK4Ym3pYMe50QRs7UDpXYUhamvzPxY7+q+aEkAdRuvXXPF4JDV VfVgmVKqPqi1zSJfjedBc3uTOZU999BSl3hFm8LnMxzAaueAwvFqqojZTFeJLwwfIhSqM7 4OY8C9pk1MLD+rEZciy5rvv2LXNz7Vf+mdrmkMVOiJxT/5hOu0WZD710mZXE19Qi7iWu1H Z85bHIpEYUEDAlXFBJZspWQiFtgDGW4dcNxyok4GzMd4oiFALHAFgiGCJQbqOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -2.62 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: A86BC9CE9 X-Spam-Score: -2.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: l5LQWH4d/EcQ Michael J Gruber writes: > > Yes, lto-wrapper calls make. > > Are we compiling test functions on the fly during the test? In that > case we need to make sure that each test depends on the build > products, or else the test helper compilation and its users might run > in parallel ... Yes, we compile C code on the fly during the run of the tests. I'm not really clear on what race condition you are anticipating, as neither the compilation nor the other parts of the test are directly run by make. Execution is sequential within each T*.sh file. Unless gcc is returning before it has finished compilation (which I think we'd all agree would be gcc bug), I don't see how a race can arise there. One thing I can imagine happening is gcc's recursive invocation of make somehow fails under make -j, possibly something to do with violated assumptions about the jobserver and/or environment variables. d