From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <help-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp10.migadu.com ([2001:41d0:303:e16b::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms8.migadu.com with LMTPS
	id UHFgFaXIQ2W0kgAAG6o9tA:P1
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 02 Nov 2023 17:04:53 +0100
Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp10.migadu.com with LMTPS
	id UHFgFaXIQ2W0kgAAG6o9tA
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 02 Nov 2023 17:04:53 +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 E0ECA14147
	for <larch@yhetil.org>; Thu,  2 Nov 2023 17:04:52 +0100 (CET)
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=greghogan-com.20230601.gappssmtp.com header.s=20230601 header.b=Q+VqBjkO;
	spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org";
	dmarc=none
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1698941093;
	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=PKnsGfzcSwDdJZ2P3fktLX3Lx8LMawcRfmTXE3ShUR8=;
	b=PfeeAZF05R9Tf07ZvGkAD7JDFmFWnrd6Xr+A26Wr1nxfkriC1IXksH6Gdj5GD3r37Vlc2D
	GTnbLzobrO8VHZ0suGd5AEz14rB+0IM7va+yaaqQi52VFgi0qZWVk9hlax+O+7npFrUoX2
	W+pjJu/z5AYFHOWCxBYiGO/k6s7TaC0QTsmuXS6FswqhCC6vBNIhnkbMSV7HR5qzJ5Y/TS
	f6HtGKA4CA1w27tOpMwdtORGJ37eMd/9rDIw22ruFa87cH3xfv/zhqKN1odRJrAT3UJ9iZ
	UV+QqCwBpfyZsDyqa+qyk54Qt2Dqr0TbRfTGx4Efawf3ePZFk5vYkIWaKImzSg==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=greghogan-com.20230601.gappssmtp.com header.s=20230601 header.b=Q+VqBjkO;
	spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org";
	dmarc=none
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698941093; a=rsa-sha256; cv=none;
	b=sg/vISLRKIJYFdNNM/SYumWvuoNGrjM7UdFxZyV5CXnobEsl3NkzP76KCrLN8grv6dE+ta
	g52lZoEnYbkG8/1nbk2A25ZprjDeKwH9ZCYEgQcOtod47bAOusasEw9GTH+xuCoiWxJP4R
	uHaEgy6/EVv/7JfFfhe7tfJL4zDHgScr4tnKrSIfS+qNKUpnwbZdlyKCz741QiK2Eu+8CT
	5JopELx/QSvOW0041hYvLD8S+gS3H7IrH4xJljfDhqATEXAgJZLieYBGat5Jx4mL4CjzON
	yptbejysb5B5zV8PVjEzzFY+pTd2X6g7fLMR9EP/BicMVv7Jz0PlLggUrpsyrw==
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <help-guix-bounces@gnu.org>)
	id 1qyaB5-00032a-8h; Thu, 02 Nov 2023 12:04:15 -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 <code@greghogan.com>)
 id 1qyaB0-00031l-5n
 for help-guix@gnu.org; Thu, 02 Nov 2023 12:04:10 -0400
Received: from mail-yw1-x112f.google.com ([2607:f8b0:4864:20::112f])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <code@greghogan.com>)
 id 1qyaAx-00055s-W0
 for help-guix@gnu.org; Thu, 02 Nov 2023 12:04:09 -0400
Received: by mail-yw1-x112f.google.com with SMTP id
 00721157ae682-5af6c445e9eso13484347b3.0
 for <help-guix@gnu.org>; Thu, 02 Nov 2023 09:04:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=greghogan-com.20230601.gappssmtp.com; s=20230601; t=1698941045; x=1699545845;
 darn=gnu.org; 
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:from:to:cc:subject:date
 :message-id:reply-to;
 bh=PKnsGfzcSwDdJZ2P3fktLX3Lx8LMawcRfmTXE3ShUR8=;
 b=Q+VqBjkOp10O3T+ZZYz4EooPAebt9BIXCI14rjmoZWqSaUL7I0skXYFNPyoEhZvVrN
 FcsNrAUTM38EKslI9jAQ4YUI8eM3njlpnh9gK1TSQbcVVXMcUp1qs4aHfGv2oEO/WFnq
 1kW7T7UMiXyn/4ruKR3/A8sul+PhkHnJZ7jjHT3uzOezRr4hKX2Rnh/9GhzGL0w6tnlM
 9CYdlrb0tUwsBHeiWswNEdsdfR68nou70eIRK+cTUec9Ubec+mDJa4oVcOOL9WsOs9YY
 v3TUgpuQFE1FK54wj3fzT0e6lfe+gPAa6ylLIwTCEaBEpJqAFeYVO1KjfbuUn/nEdqQe
 IZDQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1698941045; x=1699545845;
 h=content-transfer-encoding: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=PKnsGfzcSwDdJZ2P3fktLX3Lx8LMawcRfmTXE3ShUR8=;
 b=jtn2n/0kUETX+6erpuOINiO0KFE4tIDp5xpUVsTroThmRYPGS8tPRQByO/HkpcUjSe
 PcPcp6FLnnLs3VslXXK0kHqlVng8j2L0xHeSbdgPfaRbjl9bPnvHF+jeljAP3gX2Yw7y
 hmClmjvFiJb2BeShMGYaPKXzAjdLfi01Uwci5fPbKA99ww4ykSETc7gs/skajkeP1DsI
 W5T7IR7wKBVVIhjw86LmFlTa1gc3dzPYsaMzq3DwGxhOLImjBYaOxIFnlMM1GPOb8+Yb
 bDliC1uNcRpJ5kwP8bjFxS/72tGk2xbT7QVliJ0bGVKEuuCvWTWtsXL9FcdUVyRllAFm
 FB5A==
X-Gm-Message-State: AOJu0Yzy2lOKJZ4c277moLTqnZPAxbwjdCXbBx14KSuNnlu7F4c3+zFe
 Senp9ob/60krYljbchCvjyw77zraTQNfcZ1UrvOmTq8gTGkJZFUnKXc=
X-Google-Smtp-Source: AGHT+IFioJTUGnU4CqXCIPdMz7PIPswNwdUdlGFumuQa8ZlK5NBEsKAvmN+BzNia6e1hfUk+WBz3arL+OQSOEnO+HqM=
X-Received: by 2002:a81:6244:0:b0:595:59f:28d7 with SMTP id
 w65-20020a816244000000b00595059f28d7mr131574ywb.48.1698941045642; Thu, 02 Nov
 2023 09:04:05 -0700 (PDT)
MIME-Version: 1.0
References: <6543bf92.d40a0220.bbcd0.1118SMTPIN_ADDED_BROKEN@mx.google.com>
In-Reply-To: <6543bf92.d40a0220.bbcd0.1118SMTPIN_ADDED_BROKEN@mx.google.com>
From: Greg Hogan <code@greghogan.com>
Date: Thu, 2 Nov 2023 12:03:54 -0400
Message-ID: <CA+3U0ZnWs_yJT9+pkR2V2Gr3TCPc64T6tm1-M8m5_cm6L6sLHw@mail.gmail.com>
Subject: Re: Turning off tests leads to a different store item
To: Suhail <suhail@bayesians.ca>
Cc: Simon Tournier <zimon.toutoune@gmail.com>,
 Felix Lechner via <help-guix@gnu.org>, 
 Julien Lepiller <julien@lepiller.eu>,
 Felix Lechner <felix.lechner@lease-up.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Received-SPF: none client-ip=2607:f8b0:4864:20::112f;
 envelope-from=code@greghogan.com; helo=mail-yw1-x112f.google.com
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: help-guix@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <help-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-guix>,
 <mailto:help-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/help-guix>
List-Post: <mailto:help-guix@gnu.org>
List-Help: <mailto:help-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-guix>,
 <mailto:help-guix-request@gnu.org?subject=subscribe>
Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org
Sender: help-guix-bounces+larch=yhetil.org@gnu.org
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
X-Migadu-Spam-Score: -6.06
X-Spam-Score: -6.06
X-Migadu-Queue-Id: E0ECA14147
X-Migadu-Scanner: mx13.migadu.com
X-TUID: RTbf9Z0oWBRT

On Thu, Nov 2, 2023 at 11:26=E2=80=AFAM Suhail <suhail@bayesians.ca> wrote:
> Perhaps not all. The thing that sets the "check" phase (#:tests?) apart
> from the rest is that it's an identity transform with a
> side-effect. i.e., it simply reports on the state of its input (i.e.,
> the build artifact) leaving the build artifact unchanged. The only other
> phase in the gnu-build-system that is similar to the "check phase" is
> the "validate-runpath phase".

Suhail,

Should this say "without side-effects"? How does one guarantee that
the test phase is free of side-effects?

Perhaps it might be possible to add a new, throwaway layer to the
OverlayFS so that the tests could still write but would not modify the
filesystem.

Alternatively, could we make it easier to record a timestamp in the
manifest for Guix to use as the build clock time? Several packages
already make use of libfaketime, but this could be integrated into the
build process. Not sure of any issues regarding faketime, performance
or otherwise.

Greg