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 2LhQMu7NgmFS9AAAgWs5BA (envelope-from ) for ; Wed, 03 Nov 2021 18:59:10 +0100 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 mEHQLe7NgmHuagAAbx9fmQ (envelope-from ) for ; Wed, 03 Nov 2021 17:59:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6DE1D165A2 for ; Wed, 3 Nov 2021 18:59:10 +0100 (CET) Received: from localhost ([::1]:60388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miKXV-0004BI-Eb for larch@yhetil.org; Wed, 03 Nov 2021 13:59:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miKXL-0004Ar-8R for guix-devel@gnu.org; Wed, 03 Nov 2021 13:58:59 -0400 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]:38427) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1miKXJ-0002wb-Lz; Wed, 03 Nov 2021 13:58:58 -0400 Received: by mail-wm1-x343.google.com with SMTP id a20-20020a1c7f14000000b003231d13ee3cso5283245wmd.3; Wed, 03 Nov 2021 10:58:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=NJ4E1wFkmeEO2BOknri2lkUYjy5+uNAGkxRfnfPEfcY=; b=RW+NvilxWdqlvQ/Sa73GEL1PNVDGzet9/KiTrX2n1NIGi0oZJsEHw+quD37drNsfyY lCQvYbXRGI2lwBnfYAkCLequlTs9ZkxkBay8UtFCEcBR8NYMbKExCkRewfCCAEkqGAzK t7mGZPgYHMeZf/omuhhs/US1MAZfDt7AFweiW2doOvTvln41hL9T/ZaCQAnIkoHr3Koe 7clcCqKVUscwEJJBc33LovB677wG1IvsQir2qEEY5AMfyCTWfkRsubhVvbxjTo575/N4 KvmELzJA9WBcw7swU9T5TcHJasbfQricgAzsxvnsDH0XuSUmgrSNPBubQSpHSczZ7DYO DrnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=NJ4E1wFkmeEO2BOknri2lkUYjy5+uNAGkxRfnfPEfcY=; b=uDp3LHw4EZN7RPPEruABtf2id12Mhk76ByEzOUvoUEqRBX2y8kZsjPtxw10my+Zu+I MBSah+ufWtgxzaY2Cv4l12S8X84Lf9MwSZfe2uv5d2cjt7cz0rkOOXF4I25HpRP1fvV2 hYrwY0ihlSQy3L2AlV41U2rgWfDaAjWbIoSrCdrxqJzQwa/d/kXwhmmzFDA24br29Uee 2NMgc+mgEemI9aC6nvECDCqmxob4mkRaczZw/BJRlyFl3zwlg0zdPZxoIQDTOSYqsu/e 86w/n9HgpSQw576O8Wj/teP/KpUnwFnDwG6DwfoNTCAXI8vYLQwvz3zPh+mbSaHunSvN jQLQ== X-Gm-Message-State: AOAM531gP7cpfKmpOCslDoyv7FnryGUVXfvYONqpOEhhVbxJj4NtOf/x XHP43GirUJcSrXyZ4nBNoTIw8PnxkcS73A== X-Google-Smtp-Source: ABdhPJzaIyglv3rasqYdesTKoVG9u6RE3RxFx9E5DG6koq9qA5MagpnHTEGh28bGilZkweHvshOv2g== X-Received: by 2002:a7b:cbd1:: with SMTP id n17mr17135721wmi.145.1635962335094; Wed, 03 Nov 2021 10:58:55 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id q8sm2622207wrx.71.2021.11.03.10.58.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Nov 2021 10:58:54 -0700 (PDT) Message-ID: <8bc21cbfefe8a79e0e4543959feb42f8f13bbb1a.camel@gmail.com> Subject: Re: Test parallelism with CMake From: Liliana Marie Prikler To: Greg Hogan , Ludovic =?ISO-8859-1?Q?Court=E8s?= Date: Wed, 03 Nov 2021 18:58:53 +0100 In-Reply-To: References: <3906845baca1424432c1fd5c3ab23c1400695b66.camel@gmail.com> <87a6is2fsx.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::343; envelope-from=liliana.prikler@gmail.com; helo=mail-wm1-x343.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635962350; h=from:from:sender:sender: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:dkim-signature; bh=NJ4E1wFkmeEO2BOknri2lkUYjy5+uNAGkxRfnfPEfcY=; b=tpE0wry0rwIzDxnF5oWOyzQpL1y+cLlL1dv0E2qfv8AS07eukG3BQ6oF1mu47H/ldxlZmS OiF7ZItzjeXPA/hr7vvVugksfUqfEB8SIfboIbOe2qpzsf2PMt8sf+4fUQBAG+r9US/4LR UKye0eqUdj0Y5IHvlwq8nJo88g4bmRgPe5ID+sQDwrrUxoA1KmwobK7OAbp3NKWgJT+tS9 hB9mVJJvqwdRnhNkyQAdn/vd3ibs96FW4Empj98rl7YpYMInnc4D4BaFIPrPNSnliUMFX8 g1/CcB3CNBqugVNbuNpYuiD2GdEjDWlXF4+Okx6Bg0MmbfJ9nkrmxwrPEKspng== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635962350; a=rsa-sha256; cv=none; b=kPsBViL3ccK1jliOEFDda7DVrejXwY3Oi/NsdjoRQwIShlFL3GFH/BNGSuInvZ/GWbUBhh mcNG7pZZ/Rk6JvBLV9FD/cextF4jhARWxzWdRgyoDw2e5Ru+06XKGPdwSC3P/8FMMmPtBT gZ8U2EzktOcsqUSqRW1GLuaVVQPajxEpFLvwLZUBJsapYUVsijTd0Pya9I4cBd9gMdw+Nd K8MtnVAEXtIJtsM063+Xr/L+VDj29W+gtPJUDM4kL2++qSUxdVL8mN0D5h4IewFf7EmYik fqNmOVsX66OdrFty0c8/96Xws3o40GkAOmxdBWK4OLTuxANQKd8sAx5Z+oRkJA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=RW+Nvilx; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=RW+Nvilx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 6DE1D165A2 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7Oa4qPZTFmxB Hi Greg, Am Mittwoch, den 03.11.2021, 10:47 -0400 schrieb Greg Hogan: > If the default is to disable parallel tests then it is unlikely that > future committers will be aware of, remember, and bother to enable > the setting. And once packages do override the default then there > would be additional future work to invert the default value. I don't think it'd be that bad. It'd just be a case of counting how many packages do what, announcing the change and going through a c-u cycle. > I do not know how to obtain the list of packages using the cmake- > build-system. Grep is a good approximation, but you can iterate over all packages and check. > The strategy looks to require multiple stages. First build and test > the packages and ignore current failures. As noted by Liliana, next > build and test the successful builds with ctest in serial. Hopefully > no or few builds are newly failing at this point. Lastly build and > test with ctest in parallel, and explicitly disable test parallelism > for the failing builds. I think you can skip check two if you've independently verified for a given package, that parallel ctest works. What we would have to verify now is whether indeed all (but perhaps a tiny minority of) cmake packages test with ctest. Cheers