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:e224::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms8.migadu.com with LMTPS
	id uLnKGFuMTGV/bgEAG6o9tA:P1
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 09 Nov 2023 08:38:03 +0100
Received: from aspmx1.migadu.com ([2001:41d0:303:e224::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp10.migadu.com with LMTPS
	id uLnKGFuMTGV/bgEAG6o9tA
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 09 Nov 2023 08:38:03 +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 50EB320B52
	for <larch@yhetil.org>; Thu,  9 Nov 2023 08:38:03 +0100 (CET)
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20230601 header.b=LBgnOvZQ;
	dmarc=pass (policy=none) header.from=gmail.com;
	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"
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699515483; a=rsa-sha256; cv=none;
	b=giyl8WM0vH1rkfsUOO9ib4WmYsleEcVZqqZZ19dcIu0u1bcxjV6dQYXYKwG6/JIndJE1rB
	7/0Rklx3X5YPHKh9/Sjawka0z/OQ9gjvvX5yA30lSXiLuYVISSQ0ds6oEZ1/tq6Ek3FGou
	7YBzK/FF3G2Pwm10JwrdaCmp1ylxm/Eg/Jct0lRMoicDgCba4SXTgAbFo0RNkNeLI2Hmj2
	62nW6e/BkMMYNEqGzOkIbil7VmUf3TPxLyDvpbmf2VClvzjMvUe/GVjl+Z7JpgwxthSp4E
	a299HRkjM/mwjYQlRmnKoZ8ZMymqH6Huj0qmF/dhleGbHfOxDvUqpRsPMR2LSA==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20230601 header.b=LBgnOvZQ;
	dmarc=pass (policy=none) header.from=gmail.com;
	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"
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1699515483;
	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=ask9tXWeijRdusqUHonB356jGyfNw8LdY5kKTg6UA68=;
	b=B/G5yIhP4CcVfHqAOeK8is7LyWr/YIsOE8oKzQF1uZoZ2qqQW7P6au8ovnaZ6oizMPRPYU
	l22XFPKCI3wDzI+6eLvDO+SQND36aHhw3bJlKnnbBpjm/KPJPqqC2c7YUvZcO9YAU5I3M1
	kp5Dlh40YfBPi2uXamLmXkVB8CMa8dP4h8BgB+rCuolF+wC/A7lRWnNmeQL3vMEeLU/mE0
	ZXjrv1/2k/PQtx6wiWRpEVIlGpD16Zc/SkVtlSZVNuvPpbR/DVd1VZYDr/kb/ZQs01GTpq
	K8ZYaTtHrvWzaszcudGAzGEsWTJV4Uv2MdoWtqG7n3wqKg/dQnGOYbuamyo7VQ==
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 1r0zbQ-0004O3-T7; Thu, 09 Nov 2023 02:37:24 -0500
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 <zimon.toutoune@gmail.com>)
 id 1r0zbP-0004Nq-6d; Thu, 09 Nov 2023 02:37:23 -0500
Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <zimon.toutoune@gmail.com>)
 id 1r0zbM-0007El-NA; Thu, 09 Nov 2023 02:37:22 -0500
Received: by mail-wr1-x434.google.com with SMTP id
 ffacd0b85a97d-32fc2720c47so90087f8f.0; 
 Wed, 08 Nov 2023 23:37:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1699515439; x=1700120239; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=ask9tXWeijRdusqUHonB356jGyfNw8LdY5kKTg6UA68=;
 b=LBgnOvZQLdrsDH1KPaIT1/gT5OXe5tT+WwKj3eFYkOj6cJN1Hx95SZth1Lufr5ZhGg
 Uc6SxIZa30yBOC57ffV0NSwX2xtAA+Qv1Ql7OrlQPjubxzAuvEwqcBpPp8MOp6wMO/z/
 FqtHQQh2OvpAXDUp2W0GN9zyeCmI31onFz5F5pd/oE8s+BlBtum++CTVIAjNJoBE1+RK
 bjOfE2Mtb4KjgiL2UNlR6/d5Gldhn4QIUyuT3BvsoZcvTNx2Ppkn2hUleviEM3qrwgAI
 OpVQdkU21uZ7ZYazgRi9doY29BxIBMsXcdjIgbDDzySFip6LZDYOczC4nn6IOq53VMD3
 DjLQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1699515439; x=1700120239;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=ask9tXWeijRdusqUHonB356jGyfNw8LdY5kKTg6UA68=;
 b=NzJ7wKmKOEz/IesSHGj8RW4HEN9KzTOCIFCnai1mNJCU0/wrDvGjrdVdK5EarkQiiR
 DonrUhtWG4GPF5WNt4XgMG5xBMd6sPJ3WE8+icdQolFC/61NcMDQnd9Ykb/vJFzfnxYn
 MZRXBxjfd/+uaLbWcBH8G2sX1cpaD14EdRIORfdRjEI4WmmIVOBvLSuUd8vJ1tz2R1nr
 X9X4IDo/7lWV1zlNeeNM6YaOddLy7mdTWTRW3tNFPP9/hhVpoL6P7i7QoP1S65yZfF3z
 gwYjMHNxJeltIukmx1jwerv6G9nvLCCWMZeB8y1TSsHoNLrCnClUGKOGQV+gQr9WZ6KS
 CZ7Q==
X-Gm-Message-State: AOJu0YyphzMYee1o2qw5IVPTQW9wfBg5Fx/rLnc7eYmr1ivf3YOgmKwP
 yKFgu1jHBvqG0tV3jaZ2KwCMj+JpSSI=
X-Google-Smtp-Source: AGHT+IH4PwpzQYv64VgvspiXcnJE/JS+kFoPunZ+xVPSpj+e52GWYa62u3zH8KvaRGFS6sD0QnZiNA==
X-Received: by 2002:a5d:6dae:0:b0:32f:8372:dfe8 with SMTP id
 u14-20020a5d6dae000000b0032f8372dfe8mr3115627wrs.1.1699515438640; 
 Wed, 08 Nov 2023 23:37:18 -0800 (PST)
Received: from lili ([82.66.126.1]) by smtp.gmail.com with ESMTPSA id
 s1-20020adff801000000b003313069be5dsm2203540wrp.46.2023.11.08.23.37.17
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 08 Nov 2023 23:37:18 -0800 (PST)
From: Simon Tournier <zimon.toutoune@gmail.com>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: Saku Laesvuori <saku@laesvuori.fi>, Vagrant Cascadian
 <vagrant@reproducible-builds.org>, Felix Lechner
 <felix.lechner@lease-up.com>, Suhail <suhail@bayesians.ca>,
 help-guix@gnu.org, Julien Lepiller <julien@lepiller.eu>, guix-devel@gnu.org
Subject: Re: Turning off tests leads to a different store item
In-Reply-To: <87y1f7fwdd.fsf@gmail.com>
References: <65429087.0c0a0220.5908c.4d60SMTPIN_ADDED_BROKEN@mx.google.com>
 <87zfzpie51.fsf@gmail.com> <871qd19cqn.fsf@lease-up.com>
 <878r78gv6m.fsf@gmail.com> <87ttpw897n.fsf@lease-up.com>
 <871qd0p0qn.fsf@contorta>
 <sgcib5spy4wiuzh2qiwv3vbemdsuvwwhdt64k6it4t4utiouwj@uuyf3atk7xas>
 <CAJ3okZ28aG6-POJq-srjAVkB=uYj3+DnrgqTahHB=YT7drWrhg@mail.gmail.com>
 <87y1f7fwdd.fsf@gmail.com>
Date: Thu, 09 Nov 2023 08:37:15 +0100
Message-ID: <86a5rnjs2c.fsf@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2a00:1450:4864:20::434;
 envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x434.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,
 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-Queue-Id: 50EB320B52
X-Migadu-Scanner: mx12.migadu.com
X-Migadu-Spam-Score: -6.42
X-Spam-Score: -6.42
X-TUID: HRMsQBAXhq2b

Hi,

On Wed, 08 Nov 2023 at 22:17, Maxim Cournoyer <maxim.cournoyer@gmail.com> w=
rote:

> I agree it looks tricky to get it right (and even trickier to prove/test
> for it) :-).

Yeah.  I have tried a rough =E2=80=9Cproof-of-concept=E2=80=9D i.e., two de=
rivations:
one which deletes =E2=80=99check=E2=80=99 phase and the other which deletes=
 =E2=80=99build=E2=80=99
phase and depends on the former.

        Re: Turning off tests leads to a different store item
        Simon Tournier <zimon.toutoune@gmail.com>
        Thu, 02 Nov 2023 18:02:18 +0100
        id:86y1fgm6lh.fsf@gmail.com
        https://lists.gnu.org/archive/html/help-guix/2023-11
        https://yhetil.org/guix/86y1fgm6lh.fsf@gmail.com

In this simple case, it works. :-)

But to have something robust, IMHO, it would probably mean 1. create
other objects (record) different from <package> and revamp the build
systems.  And then 2. rebuild many packages for 3. evaluate the ratio
between the number of packages that works this way vs the number of
packages that fails this way.  Oof!  That=E2=80=99s a fun project=E2=80=A6 =
:-)


> I think the lower fruits are in looking at making the test suite of the
> few common offenders more robust (using libfaketime or the likes) to
> prevent (re)occurrences of time bombs in the future.

I agree.  On a side note, one of the issue is the time of some tests.
Sometimes, packaging is frustrating: build takes ages, then you fix some
tests, think it will be good, re-launch =E2=80=9Cguix build=E2=80=9D, anoth=
er test
failing, repeat.  It could nice to be able to cache the result of the
build phase.

Cheers,
simon