From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 gJAPF/zrw2I2XAAAbAwnHQ (envelope-from ) for ; Tue, 05 Jul 2022 09:45:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iJzxFvzrw2JTQQEAauVa8A (envelope-from ) for ; Tue, 05 Jul 2022 09:45:00 +0200 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 2267E44094 for ; Tue, 5 Jul 2022 09:45:00 +0200 (CEST) Received: from localhost ([::1]:53622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8dEw-00046s-Lz for larch@yhetil.org; Tue, 05 Jul 2022 03:44:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8dEi-00045R-EY for guix-devel@gnu.org; Tue, 05 Jul 2022 03:44:44 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:63462) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8dEf-0004Wl-6c for guix-devel@gnu.org; Tue, 05 Jul 2022 03:44:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:references:date:in-reply-to: message-id:mime-version:content-transfer-encoding; bh=VLQwC4VLnKjz9C4FyWC0BeEtGyzfnyBO6nQxum/I6lY=; b=uZ7ZGXqqTg/u+te31gUqwSvYira9NzlXa/nO/NUWxLJhHfm567TDODSE bWaiAncm6ga5qrbTntTOBRC3X0NMzLO2pV9fGxMJw6aKS7C1z113cqjLW coplyL7nocX0mt3v+VbfShIAzcs96bVNNjij4KoLb4j192FBp8jf8QONu g=; X-IronPort-AV: E=Sophos;i="5.92,245,1650924000"; d="scan'208";a="18552331" Received: from unknown (HELO ribbon) ([193.50.110.235]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jul 2022 09:44:38 +0200 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Cc: Guix Devel Subject: Re: Unreproducible =?utf-8?Q?=C2=ABWhen?= Docker images become =?utf-8?Q?fixed-point=C2=BB=3F?= References: <875ykzxlwx.fsf@gmail.com> <87edz1ati1.fsf@inria.fr> <86o7y4xyjp.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Septidi 17 Messidor an 230 de la =?utf-8?Q?R=C3=A9vo?= =?utf-8?Q?lution=2C?= jour de la Groseille X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 05 Jul 2022 09:44:37 +0200 In-Reply-To: <86o7y4xyjp.fsf@gmail.com> (zimoun's message of "Tue, 05 Jul 2022 01:12:26 +0200") Message-ID: <878rp86m1m.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.104; envelope-from=ludovic.courtes@inria.fr; helo=mail3-relais-sop.national.inria.fr X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: 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: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657007100; 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=VLQwC4VLnKjz9C4FyWC0BeEtGyzfnyBO6nQxum/I6lY=; b=YrT9sJPL3eSkLGWbewhxAPQ8cM5gfuY0BbGs/IS7ARMczo8O5F4Z7u/O6XSjRy8vYxDs/n TtgkSXD2w4Jj9iaXr7gSat8cD1j/GdLrZ8wrPyE0RehLhiUmeuvcUyF6nVB629Tu2CnaRf Rzr5ANcEH/Npiop0mtmFTeorCcoX2z9Kh41OOgv6NZTqVi+BCb5F+2q69ZcaCj0QBDfHL/ hDuzyFzQuLNApkiAgs2Pe7TNJowdKLOqOlaBuYVFP94Exi9KxniQtOkf97OfIrlkC2KhCf HphNs2iakoIeh9hvN8mxxO/aorbxKjLNGPuMNTs3frEWzPmN/bqAAYxYt7WZCA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657007100; a=rsa-sha256; cv=none; b=LA5wVgGg528FTo/4lu8yGo5uCGIki5LthuRSoP/jjd4EHKPUmMGrYA/8bQMlVXWvl7PQ0Q jtWEW+enYgdjtzJmDgrRdzMVMitt8NhRTLmnPIAZLL/iEKcfneJJJzOzxjtM+4lZCcwVJz II/huUMCVhC+FMoQGE1fqMxoPQQPDbtAmf4KB2rF2Beue0Lm6vpTgJh7L8aUN35oFcLZVd 23HGF/2rFkVHzcgbiK/g+xzc7o5A8DCRMSdb09aHxVpY2zuZwAKkyEDwvUDG+zo/I2Pgrw gKekAp/WtK9toeY0OHPxWe8FeXReRBnz25pVYu0Dph6d21qf34VkQsBkgObk6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=inria.fr header.s=dc header.b=uZ7ZGXqq; dmarc=pass (policy=none) header.from=inria.fr; 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" X-Migadu-Spam-Score: -5.75 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=inria.fr header.s=dc header.b=uZ7ZGXqq; dmarc=pass (policy=none) header.from=inria.fr; 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" X-Migadu-Queue-Id: 2267E44094 X-Spam-Score: -5.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: t39doEfH1tPo Hi, zimoun skribis: >> A possible reason why we=E2=80=99re building a different derivation than= back >> then is provenance info: as explained under =E2=80=98--save-provenance= =E2=80=99 in the >> manual, provenance info is not =E2=80=9Ccanonical=E2=80=9D and we could = end up including >> different provenance info. I don=E2=80=99t have any clear scenario in m= ind but >> that sounds plausible. > > I do not understand why provenance is not deterministic. I mean I > understand that two provenances can build the same pack, but I miss why > > guix time-machine -C channels.scm \ > -- pack -f docker --save-provenance -m manifest.scm > > is not building the same pack for the exact same channels.scm and > manifest.scm files. Why the resulting provenance info should be > different? I don=E2=80=99t know either, but that=E2=80=99s the only plausible scenario= I can think of. We would need the original .drv or the original pack to compare. > Maybe there is bug in how the provenance is managed; but I do not think > it comes from this part. Instead, I vaguely think the bug is from > elsewhere =E2=80=93 dependent on filesystem or unsorted list or other cre= ative > ideas. :-) No, no: the store file names differ. That means we=E2=80=99re building different derivations in the first place. > Well, let save some data, replay this scenario 6 months later and > investigate. :-) Keep you in touch. Yeah. Another approach is to take the derivation returned by guix time-machine --commit=3Dfb32a38db1d3a6d9bc970e14df5be95e59a8ab02 -- \ pack -f docker --save-provenance python python-numpy -d and to look for things that might vary between invocations or call sites: provenance data, imported modules, (guix config) details, whatever. Thinking about it, (guix config) is one possible source of discrepancy: it captures sysconfdir and localstatedir, so you=E2=80=99ll get a different result if you have different settings. The defaults are: (define-public %localstatedir "/var") (define-public %sysconfdir "/etc") Could it be that you had something different back then? Ludo=E2=80=99.