From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aMpGNgyiD2S8LgAASxT56A (envelope-from ) for ; Mon, 13 Mar 2023 23:22:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SDiBNQyiD2T0FAAAG6o9tA (envelope-from ) for ; Mon, 13 Mar 2023 23:22:04 +0100 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 A924A1E454 for ; Mon, 13 Mar 2023 23:22:04 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=jpoiret.xyz header.s=dkim header.b=bkjTlpa0; dmarc=pass (policy=reject) header.from=jpoiret.xyz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678746124; h=from:from:sender:sender: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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YRArCvC6426eaSyi+sqCH4c4H4SiRGfuDY3nJN+Z108=; b=ffCXa5pFJXvRwwPrC+64gF4gtBvNtLuGwMjJyWm0TZesIiu8aEHmmQK/u6TVSHDIG1dYr8 4HEnyAR0SUlXx0mMzu8YS4vhxJF2Jxm8QaRFkePgXMVp3aYhY/TWN5DlLM/L1XSOxe7msg v68GHX2yWmzNTOdUwVJiqjT6LBr56n4r/VQJAD4pDTl4y/PPEyJOmZB7Bx2OuCwj4cufYK ieIA+ArZO6p8TlBukax4DT8XNRwO/Xltrqc5n+GOdTnO33Ree9mbG/D7B7caMRn8j9BPTM Yf6SHqTh1mtsqwmWdSLWq9/Ixl+LbEQvbBO9AEpSNU18WyK5Ips76Wq6E4eBzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=jpoiret.xyz header.s=dkim header.b=bkjTlpa0; dmarc=pass (policy=reject) header.from=jpoiret.xyz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678746124; a=rsa-sha256; cv=none; b=aeA9Pwsy01L/j7foYbVpqOqnR5ut8YIekrzSUKkYR+muqK89GHOLCyPRWZyM13Rqv4tTmK QuUrx0APUrYDJZXDs8R8wgMxH76Xp0qeHdlA3byFAx9wMAR1vQiyNupZoVoGJEy5Q5C7Pt vkp6W/1SiGwo6g6Yx3xBsQ/qwC06ZfxdBoJSag3/VQH2mye4y2F5FfU/RPQH4qI2cbSLB1 xf6IeEIcNdZ0R7N7rDKaUII+KLpRz8+p/Dvhr606vHB6eJahzcduwFaq/g1i2Ia1u0d9SC hiSXbrqkSojwBh2hEd15QONZ5CcgIj7FC6yh++6iZLsG84IIYsd+PJpIopU/RA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbqXv-0002vi-It; Mon, 13 Mar 2023 18:21:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pbqXt-0002uG-4c for guix-devel@gnu.org; Mon, 13 Mar 2023 18:21:33 -0400 Received: from jpoiret.xyz ([206.189.101.64]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pbqXr-0000sn-HY for guix-devel@gnu.org; Mon, 13 Mar 2023 18:21:32 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id ED499185318; Mon, 13 Mar 2023 22:21:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1678746087; 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=YRArCvC6426eaSyi+sqCH4c4H4SiRGfuDY3nJN+Z108=; b=bkjTlpa0EiScw7GT5w+Ycg6ZGxcx5U2+OerOFhCgAO5H3YWGrAeoGMSngYERmgUwEqpyAw ptJU+MvtqldqoBab05USCZstLLNA3JTK8Tqk+jM3b/MS+Zowll7cnZJ4dhUh7/EuQy3m28 fJMJmeaef5qHnZHDo0xx4kHPSjQbrbJqmVPgQXwNYHGypfkqRV8lDuArLOXfADblYdNnUJ JtxIuqv4m0GU+9jfVy4wJkKiIiLArWiZB7ShdPDXAhCZCk4aH9fRZGXyrynV2oR4Xj3bPL n0w71WpsvmwSipbugRa4HYpt8zZ6Ekfxwp0UyzsFBToCNgWE25amY8H88uoIQA== From: Josselin Poiret To: "Dr. Arne Babenhauserheide" , guix-devel@gnu.org Subject: Re: Caching test results separately? In-Reply-To: <878rg0o5zy.fsf@web.de> References: <878rg0o5zy.fsf@web.de> Date: Mon, 13 Mar 2023 23:21:22 +0100 Message-ID: <871qlsi97h.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spamd-Bar: - Received-SPF: pass client-ip=206.189.101.64; envelope-from=dev@jpoiret.xyz; helo=jpoiret.xyz 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, SPF_HELO_PASS=-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: X-Migadu-Queue-Id: A924A1E454 X-Spam-Score: -6.46 X-Migadu-Spam-Score: -6.46 X-Migadu-Scanner: scn0.migadu.com List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: pt6Qtlyyb1AO --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, "Dr. Arne Babenhauserheide" writes: > Hi, > > A large part of the build time is being consumed by tests =E2=80=A6 could= we > separate those phases so a package whose tests succeeded once does not > have to be rebuild just because its package got garbage collected? > > (=E2=87=92 keep the test result (boolean) longer than the build result) > > Keeping just a boolean that says whether the tests for a given hash > succeeded could make that pretty cheap and it could avoid half the build > time for packages that got garbage collected before. As it stands it's really not possible, as 1) testing is part of the build process itself and 2) we can't look-up any stateful info like this from the building process (of course!) But I would really like for tests to move out of build phases, the advantages would be twofold: less build time for a lot of packages, and better environment management for tests (we could rely on better interaction with other packages, more complicated mocking, use linux namespaces to their fullest extent, etc.). That would require a huge change to Guix though, so it's more of a dream than anything concrete. Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCAAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmQPoeIQHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5FhcaiuUjDACA5tSniY5FHbGOQrW+qngNi8Y1rKR65Icm H0tvRgnUThSupSUEHO9AxSL9b7HoyxqXMOeMJoJV7Ysf85lOMyJQkwFuYeKQsYB2 HU0E9ud5SCdY78Q3jeq6HLZNI59Qfx7BemFSmds0DUemyymoT395BaXkIUC1lL2v NaIPJs/HMEZEUkSI8o5F7nk6mwLZpjV3GLXGsQhZKYnOQq1kaQ7JVd/d37IJJV0K 3VgPEYGgPnlhpoY2ZMCSvDySAGM9OP7xxKDOewFZ0aPWQipGa1DYQS0MrMa9sGmg Kg/JZ19ke7hpQoWl6kfDIhtiplJAVQXwf6YNh5lyCi9bFWecGpL+V0fqy/Us/0Sv 1nam/ZCVxDM0Sg2k4NOfuhuRJQidhlA04/X2uyNakL9jv7A3vRtZZB96xP1ymHr0 h93H7PU6o4ZuWK4C9a1Tm6udHb6SF156EpoKV7iNL2IJ0K7HZ0O63XjJnGW0t5rF wxYcrtBeeBMMqdnYsHkQXyOOrzFUm70= =JBvn -----END PGP SIGNATURE----- --=-=-=--