From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 GHElAf8JP2NQgAAAbAwnHQ (envelope-from ) for ; Thu, 06 Oct 2022 19:01:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YAs0Af8JP2Mm7gAA9RJhRA (envelope-from ) for ; Thu, 06 Oct 2022 19:01:51 +0200 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) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9B5AFDD9D for ; Thu, 6 Oct 2022 19:01:50 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 1F8855F378; Thu, 6 Oct 2022 16:55:06 +0000 (UTC) Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) by mail.notmuchmail.org (Postfix) with ESMTPS id C618F5F368 for ; Thu, 6 Oct 2022 16:55:03 +0000 (UTC) Received: by mail-il1-x133.google.com with SMTP id r20so1276977ilt.11 for ; Thu, 06 Oct 2022 09:55:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vYUnBzE9Q96enxGM1nGtDE684Ha4nZ5F32ii09nFP9I=; b=YvYLZA+SvRSa02FxXYX5CS1PmyzdhYQMQUVEhJmWYm2hfgOXUoJMTstkeK+9XBvbaK OIrxEGBFJ9krLXsPKWegiDMWDGPrDlMT47Hmfa0//k3TRqCzn9gjZ6eoqU9qdrTDd3WA gbNkXJ8Wxv4vutfb0OPeVJAPYoz5dc/6LgjxrYMzUzGB6xVAiyS7KtpQ/be70mTsF04Q KYaTDXSv/nRY8sk21XHAo862zuI+A0NYxNOue3lVMQ7NBdLfVmqOmd26iZbPm6jMUuMh oi8sIEUduSuXCgIyH/k+s7XyLLq4u+yJ1H98gnm8vY3JbvifPrkjReEl6txOmx8fmlLu 14eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vYUnBzE9Q96enxGM1nGtDE684Ha4nZ5F32ii09nFP9I=; b=kaloCX8wrAX+JLJBK7YW5asAiEKLPZS810cXZ7fpBEGr6GXqDqtMLIL3sLG/sZFTO1 03SfsJiVJVO0/9UDbgJ/Tvk3OWNqLn4VJ7y8d3aPVl51uoYzmDO2XG0kjzOaeujyR3w5 vtmVqCONJSzamIx5gXgy3jQdXsXliBdAObO0eYH0Cjpu7xj8TmMLZhl83IN8SHyjTYX8 H15HIgAnBRFHeVmAiN7bF4O7K4Ah/quPSXdcg2Uu+l3uqF2zxH+LObnOh950JCGIRemG VJnfSZ2Ua9ZypEVImfuhJIeqnZ5ZkaJtJcMwbM0gjEknAN0s1G4rnW/lkvpHz3zyHspZ hFCA== X-Gm-Message-State: ACrzQf141sUF5xzq0k577ccQLT8dkpq3g7+erXPbkoChgbCgugXcMV/K X95ENHy7BYc/Xi7QIpZ8u/+t5rkhdU53qek2zGE= X-Google-Smtp-Source: AMsMyM4/QHKN0YKHDj62gnGk2D21PBTYUpLv4lEywajof7srCwKST1649kKQDy+YFlm1FOYxNc1Tq6D57I/YOUkMnXs= X-Received: by 2002:a92:190a:0:b0:2fa:4010:cfb3 with SMTP id 10-20020a92190a000000b002fa4010cfb3mr252769ilz.243.1665075302178; Thu, 06 Oct 2022 09:55:02 -0700 (PDT) MIME-Version: 1.0 References: <1574005238.8760268.1665051216411.ref@mail.yahoo.com> <1574005238.8760268.1665051216411@mail.yahoo.com> <87leptxmg1.fsf@tethera.net> <87ilkxxkkz.fsf@tethera.net> <871qrkx655.fsf@tethera.net> In-Reply-To: <871qrkx655.fsf@tethera.net> From: Michael J Gruber Date: Thu, 6 Oct 2022 18:54:51 +0200 Message-ID: Subject: Re: Test failure in Ubuntu 22.04 and 22.10 (new test) To: David Bremner Message-ID-Hash: 6V6XMIS2XHF2QQLPAQERKCADPOFEVLRO X-Message-ID-Hash: 6V6XMIS2XHF2QQLPAQERKCADPOFEVLRO X-MailFrom: michaeljgruber@gmail.com 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=1665075710; 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=Ii9NIF5bBxMjFICpmF0zyHwgiby4V7LcrOkhZByMIcc=; b=b6feEQfbarduvCkyqSj9vRxQt/EpWqc2Arf5B+rnzST5be5iXH7YyqtYqdty4/4rpoLXb+ Qsqv8wYNE1FLBzM4QAY1wTb2aGt8+zmGMM9cPxsqS2oe7vEQRuo3HS6tsWhWwq9kQqp1+f hq0AIi7LcwzGbjhXgoAX7NqDBphTY8hkA99/sY75TMw/37qc5ahq1px+KqbNCBbUvwRRxF Mv3oRTPqUob+Ydq9ntujoGFdqL+Nsy9+z64iXZzW4IRkA0KT3tB4zozYOjmkslUz/JXcWp yizG+Q8A/5sRF+es72gjTeNKRbrCy8/6xvllYpxjMvbwU7UJ0K7vK1/7D6BOww== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665075710; a=rsa-sha256; cv=none; b=BU/V2SP5dec6YEk85MQkO0TXD2VG+hS/t7bNxJ6INyQzBb1xUjMLvudI0OGKyULBSo8F4E doqb87oQglhr7QYbVWFF7WFz2mJwH9kyQXbYW47anFRy7CWoqO/TBhKIuatdmxTe6KcBqy T43p6XD+GYGHo9BgOIk4JkdzzdlYk3Q7vY2gkqUG7t/eN/ihD5iNn9Ti6PSiO+Ask93QD3 SCQRyEDGnTYh/bd+X1YoFN7k8VRlI9Vd3W1hVJs1sqnFpsSvCER8h7b8uSXhFc2qeVVXjq dVzYmzMvoOvucdaK39vwYjVItqrQAZ97iKpZeMLVkiFFF0ZBHthCC36q+2pvwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=YvYLZA+S; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 6.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=YvYLZA+S; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 9B5AFDD9D X-Spam-Score: 6.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: Lk5EcSi04GFv Am Do., 6. Okt. 2022 um 18:34 Uhr schrieb David Bremner : > > 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. What I mean is: make calls T*.sh T*.sh calls gcc gcc calls make (for lto) Could it be that within a parallel make session, that gcc-make-call gets delegated to the master make jobserver and thus gcc returns too early? Wild speculation, I admit. I haven't checked the code, but having those testhelpers as prerequisites of the test scripts may help in that case. Michael