GNU bug report logs - #69284
guix pull is not reproducible

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Andrew Tropin <andrew@HIDDEN>; dated Tue, 20 Feb 2024 10:53:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 69284 <at> debbugs.gnu.org:


Received: (at 69284) by debbugs.gnu.org; 10 Mar 2024 10:14:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 10 06:14:28 2024
Received: from localhost ([127.0.0.1]:35653 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rjGCK-0002vZ-9g
	for submit <at> debbugs.gnu.org; Sun, 10 Mar 2024 06:14:28 -0400
Received: from jpoiret.xyz ([206.189.101.64]:58168)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dev@HIDDEN>) id 1rjGCF-0002vL-Az
 for 69284 <at> debbugs.gnu.org; Sun, 10 Mar 2024 06:14:27 -0400
Received: from authenticated-user (jpoiret.xyz [206.189.101.64])
 by jpoiret.xyz (Postfix) with ESMTPA id 65D6E1851DC;
 Sun, 10 Mar 2024 10:13:48 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim;
 t=1710065628;
 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=Sn7dcmGrZThzlddOpqBF2ynjDBNu5bksCQlFOUMSp/M=;
 b=Pjv8uLAtO57Mnqgah8onGi0jWgXxXSBK26zhGksA1aRCAXXLCy6WtQJkcluvWioEaRsDPo
 QQnSw+HXU7KDuQGE6hbeLwHLv4o85fqQ86DNT1jDq11rrkK+/DpiW0HbbN/L/mxFzAk9Uf
 JFBGtCuS2G5rYEsfHTitTtxWeM+PhhSfn/MMomq3bTlStmqUw1AsQQylSIH5lUW2TP4Zwe
 AXwG/tFEUrG//62cTYoPfkkael/LQWVFacHIsc/bVkfqwldTQJgGhZTP6jr2YyA/+buH6T
 rydkenKBBw3WuQJ+V/pKwmecOFBeQqitQ6xqK5ooPiybk3UAU9bOFyx0IuR1eg==
From: Josselin Poiret <dev@HIDDEN>
To: Andrew Tropin <andrew@HIDDEN>, Vagrant Cascadian
 <vagrant@HIDDEN>, 69284 <at> debbugs.gnu.org
Subject: Re: bug#69284: guix pull is not reproducible
In-Reply-To: <87r0gjre60.fsf@HIDDEN>
References: <874je3xvbn.fsf@HIDDEN> <87h6hhojo1.fsf@wireframe>
 <87r0gjre60.fsf@HIDDEN>
Date: Sun, 10 Mar 2024 11:13:46 +0100
Message-ID: <87h6hemm1x.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spamd-Bar: /
Authentication-Results: jpoiret.xyz;
 auth=pass smtp.auth=jpoiret@HIDDEN smtp.mailfrom=dev@HIDDEN
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 69284
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi Andrew,

Andrew Tropin via Bug reports for GNU Guix <bug-guix@HIDDEN> writes:

> I don't think that hash of the profile depends on the building process
> itself.  And it seems on the same system it returns the same result on
> consequent rebuilds.  It seems something leaks from the environment.

Yes, it's rather that the .drv themselves are not reproducible
apparently.  Can you compare the derivations building the guixes in the
different profiles?  You can look at them using first `guix gc
=2D-derivers` on the profile and then analyzing the .drv manually.  I
remember seeing the same thing, but I don't really remember anything
conclusive.

One thing I can say is that Guix generates the .drv dynamically by
looking at the check-out.  If the checkout is somehow tainted (as it has
often happened, maybe because of libgit2?), the .drv can end up being
different.  If you retry by first resetting the Guix checkouts in
~/.cache/guix/checkouts/ to a pristine state, do you still get a
discrepancy?

Best,
=2D-=20
Josselin Poiret

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQHEBAEBCAAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmXth9oQHGRldkBqcG9p
cmV0Lnh5egAKCRBQXkC5FhcaiuTPDACFJBgahcf2Cd0994NJOGCxMxFQkBZp8w47
/tbdNCjTrBZFls8iZ3WDYHuhaSxbqNXOIGOSy4p/m34J9nxICfagc8BWc4IVzhHw
WS3DuoPpEOeVV4rk9o3xpUYi+GV0gV2LOdPXw0sKXqYCOqkr+iaer6k4W4JGTam8
SU8lz+xadov1iTBbL9ww6wbj0+k1iNYzygsVetlmG59sX9kpp3w9oKwIRDgX5fKP
AzfR6S+iQTPE5zZO5Z8kV2NTyUDPXGlCAM0/+HDxo34xLOgoBmSuxeGz8cb9WrhE
5qwwPoKbScjiuFMsnI38BECDA+EEzHH8vnmrDwDkazKirBy++QL3IqC4nNDM1OH2
Re12JwOfZ35ZnjBF/VQ4VVZgMRFlfj3FmZOAQ6sQa46onoogf4MZDBdcbefpy+O9
IZQO54s993ePD44SqrVO4LerVCg47GECBulQ0gUJyv4KqbIcAfpD4dWzVFBjnIoH
yUdDq+E5XgH0jkwtbSJg5wwXSXdf/L0=
=iw8X
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#69284; Package guix. Full text available.

Message received at 69284 <at> debbugs.gnu.org:


Received: (at 69284) by debbugs.gnu.org; 9 Mar 2024 08:41:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 09 03:41:58 2024
Received: from localhost ([127.0.0.1]:60534 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1risHF-0003EV-IF
	for submit <at> debbugs.gnu.org; Sat, 09 Mar 2024 03:41:57 -0500
Received: from out-183.mta1.migadu.com ([95.215.58.183]:33164)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andrew@HIDDEN>) id 1risHC-0003EF-KQ
 for 69284 <at> debbugs.gnu.org; Sat, 09 Mar 2024 03:41:56 -0500
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop.in; s=key1;
 t=1709973645;
 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=zOAaTJ9+tOYI8zUTdGC760LSmUl76duCM53CoJmTrU8=;
 b=KMf1h0cFoXEtAgFra3zlh9ekQODZbQWfWooFiqoSdLs2IW3nRtieK3uGCIEGXQq9BkvX3c
 s3RbVk/z8+QdegQLPgHBskouR7eqk8sYZx6X50QpzkekmWzJzom3mecO0wf+4svfjpywij
 Ucjce8fcSEUbk863H3aVtPO+5zf4Adm5k9z7yvNC389iXzyM03l7UY14+dZjYFkDMjLRQN
 zuAe+IAKuZhsGGuF+v9yngAJfY17j/dQdk0xzvzmi9w1Ms9TGMBWIU+WMCti3nI/CvL5nE
 RgCXvQvgUvoiUutxMwvT9rIbU0x7SvvRSdYh0Fi6Efz5JoShtdAEjV8hEFCOww==
From: Andrew Tropin <andrew@HIDDEN>
To: Vagrant Cascadian <vagrant@HIDDEN>, 69284 <at> debbugs.gnu.org
Subject: Re: bug#69284: guix pull is not reproducible
In-Reply-To: <87h6hhojo1.fsf@wireframe>
References: <874je3xvbn.fsf@HIDDEN> <87h6hhojo1.fsf@wireframe>
Date: Sat, 09 Mar 2024 11:40:39 +0300
Message-ID: <87r0gjre60.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Migadu-Flow: FLOW_OUT
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 69284
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On 2024-03-07 12:45, Vagrant Cascadian wrote:

> On 2024-02-20, Andrew Tropin wrote:
>> guix pull -C channels-lock.scm produces different profiles on different
>> machines.
>>
>> I executed the same command on a few different machines.
>> channels-lock.scm contains channels list with exact commit specified.
>>
>> --8<---------------cut here---------------start------------->8---
>> curl https://paste.sr.ht/~abcdw/5f18e9e5cc6cb243c84a3975eb4e6a46ed17d996=
 > channels-lock.scm
>> guix pull -C channels-lock.scm -p tmp
>> readlink tmp-1-link
>> --8<---------------cut here---------------end--------------->8---
>>
>> The output log on all machines starts similiar:
>> --8<---------------cut here---------------start------------->8---
>> Updating channel 'rde' from Git repository at 'https://git.sr.ht/~abcdw/=
rde'...
>> Authenticating channel 'rde', commits 257cebd to 2a0c7e9 (2304 new commi=
ts)...
>> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu=
.org/git/guix.git'...
>> Authenticating channel 'guix', commits 9edb3f6 to d264237 (69420 new com=
mits)...
>> Building from these channels:
>>   guix      https://git.savannah.gnu.org/git/guix.git   d264237
>>   rde       https://git.sr.ht/~abcdw/rde        2a0c7e9
>> --8<---------------cut here---------------end--------------->8---
>>
>> --8<---------------cut here---------------start------------->8---
>> Updating channel 'rde' from Git repository at 'https://git.sr.ht/~abcdw/=
rde'...
>> Authenticating channel 'rde', commits 257cebd to 2a0c7e9 (2,304 new comm=
its)...
>> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu=
.org/git/guix.git'...
>> Authenticating channel 'guix', commits 9edb3f6 to d264237 (2,382 new com=
mits)...
>> Building from these channels:
>>   guix      https://git.savannah.gnu.org/git/guix.git   d264237
>>   rde       https://git.sr.ht/~abcdw/rde        2a0c7e9
>> --8<---------------cut here---------------end--------------->8---
>>
>> but resulting profile is different:
>> /gnu/store/w3qq81dzdj9wckcw8fpz5lv6ylhw1m2d-profile (local fresh guix sy=
stem)
>> /gnu/store/c2i8iyqkc146ac2hqzy1v6zkqs82xypp-profile (debian 11)
>> /gnu/store/svg0is4iwvlg6mgi2rvpkngcccqcvhys-profile (debian 12)
>> /gnu/store/w3qq81dzdj9wckcw8fpz5lv6ylhw1m2d-profile (remote fresh guix s=
ystem)
>>
>> The first guix pull takes from 25 to 50 minutes, which is really long
>> time.  However, due to irreproducibility, building the guix profile on
>> CI doesn't help to cut that time to some manageable numbers.
>
> Does passing --cores=3D1 help? I have found building guix (and other guile
> packages) on Debian had reproducibility issues frequently triggered by
> parallelism.

I don't think that hash of the profile depends on the building process
itself.  And it seems on the same system it returns the same result on
consequent rebuilds.  It seems something leaks from the environment.

=2D-=20
Best regards,
Andrew Tropin

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmXsIIcACgkQIgjSCVjB
3rCMBw//W4O+Srg8udBn+ZF7SS5llee7gnnogF1zO7sBvLKCDo0JrxVIwBNovsQ0
IuTZpjgvJkXrBf8U8e9g8pZeDeJPIvzNns9P/Zsbz5Ow0H/BevpF8L1A5qY5PqKR
HYWMADlBh34P31cTaZL3TqD+E2XSMKXiGua8wp2XWnvSYeXZY9vxA3aMS5INoGC1
YLNNbEB2VMmVaL+Eej4E6sG9hFteEQAxb/yvfqmo7ZEbenY9BgUh1mZenAn/covb
yLR3ooWPW2T3tNKE7uLZ2HGpMUeRQ71R3OUj77uFqVr6uou5bORJXNzwPS++7UC5
WzabF+yzKt8+Mnvj0xC2LKb+Txm5qomN8i1RQVyldleG35ScT+b8SoqEGBlO43v9
dveKGMFezh2uA46gtz/U8FVW3LseXNq0VlUu8XVLI5WmGKKZQW66OVFwV4HD2ECp
apv1g6Y1O/1Pc27P5LI5G3vyKA00U3Nqraoqu87HiZf5CEGIPfTMLvo6D9Zz6mdL
O4R7Fy/foFI7UsEOXHiFfktboXDnaewFGnds1Cy68UD3A3xbFvl1m8TtquunLjJt
BW6kbAWNUaYXgNpSHiC4+A78GTTCnOujU7qUOtYEGberrBA+JjaCIc0TTm7uho7W
6DsPVTf70ec8pd6GL2GmwO0JOcEIR0iiDcHYr0FKBSSO/luwBIk=
=HIQ7
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#69284; Package guix. Full text available.

Message received at 69284 <at> debbugs.gnu.org:


Received: (at 69284) by debbugs.gnu.org; 7 Mar 2024 20:55:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 07 15:55:14 2024
Received: from localhost ([127.0.0.1]:55134 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1riKlm-0005os-B4
	for submit <at> debbugs.gnu.org; Thu, 07 Mar 2024 15:55:14 -0500
Received: from cascadia.aikidev.net ([173.255.214.101]:37216)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <vagrant@HIDDEN>) id 1riKlj-0005of-DK
 for 69284 <at> debbugs.gnu.org; Thu, 07 Mar 2024 15:55:12 -0500
Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50])
 (Authenticated sender: vagrant@HIDDEN)
 by cascadia.aikidev.net (Postfix) with ESMTPSA id 1FCEA1AD7C;
 Thu,  7 Mar 2024 12:54:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
 d=reproducible-builds.org; s=1.vagrant; t=1709844841;
 bh=DkI3vu+9DLSUmua+wEjHQ4GPGLDdTqqQo9cMwpEoH6g=;
 h=From:To:Subject:In-Reply-To:References:Date:From;
 b=3S5zjps85fATjru+ZtEHRppKAyNEKshUt0jbFiDmd2n7Zk01Z9sdvrwvEjdkFhVvL
 d8efhsTQldh7qaLBdIQTSZzMU9ZBEpXK2DUktWjeS9NSn/I3v6FjFwL8WI/8eE5lOd
 sinrtrszW6CVtOGKs1G/kmQhC/Hm60vpL9rdzCpGiwAHnAbivia+mNHLA3cWCQAaOq
 dtRWYSdcMCXZfHU02c5GGryWcBcfzYot7Gvn7rx5Fzww8OIMw3hQvrE/1a8gR38a7w
 16ZlzZ+QtEfjHpg4g2jqPHjdxyJz5WkQ9nEJwcK7qTDD2gcPqGxmBu7aVH6Eper79W
 rCKpf3F2+0Paw==
From: Vagrant Cascadian <vagrant@HIDDEN>
To: Andrew Tropin <andrew@HIDDEN>, 69284 <at> debbugs.gnu.org
Subject: Re: bug#69284: guix pull is not reproducible
In-Reply-To: <87h6hhojo1.fsf@wireframe>
References: <874je3xvbn.fsf@HIDDEN> <87h6hhojo1.fsf@wireframe>
Date: Thu, 07 Mar 2024 12:53:58 -0800
Message-ID: <87bk7poja1.fsf@wireframe>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 69284
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain

On 2024-03-07, Vagrant Cascadian wrote:
> On 2024-02-20, Andrew Tropin wrote:
>> guix pull -C channels-lock.scm produces different profiles on different
>> machines.
>>
>> I executed the same command on a few different machines.
>> channels-lock.scm contains channels list with exact commit specified.
>>
>> --8<---------------cut here---------------start------------->8---
>> curl https://paste.sr.ht/~abcdw/5f18e9e5cc6cb243c84a3975eb4e6a46ed17d996 > channels-lock.scm
>> guix pull -C channels-lock.scm -p tmp
>> readlink tmp-1-link
>> --8<---------------cut here---------------end--------------->8---
>>
>> The output log on all machines starts similiar:
>> --8<---------------cut here---------------start------------->8---
>> Updating channel 'rde' from Git repository at 'https://git.sr.ht/~abcdw/rde'...
>> Authenticating channel 'rde', commits 257cebd to 2a0c7e9 (2304 new commits)...
>> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
>> Authenticating channel 'guix', commits 9edb3f6 to d264237 (69420 new commits)...
>> Building from these channels:
>>   guix      https://git.savannah.gnu.org/git/guix.git   d264237
>>   rde       https://git.sr.ht/~abcdw/rde        2a0c7e9
>> --8<---------------cut here---------------end--------------->8---
>>
>> --8<---------------cut here---------------start------------->8---
>> Updating channel 'rde' from Git repository at 'https://git.sr.ht/~abcdw/rde'...
>> Authenticating channel 'rde', commits 257cebd to 2a0c7e9 (2,304 new commits)...
>> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
>> Authenticating channel 'guix', commits 9edb3f6 to d264237 (2,382 new commits)...
>> Building from these channels:
>>   guix      https://git.savannah.gnu.org/git/guix.git   d264237
>>   rde       https://git.sr.ht/~abcdw/rde        2a0c7e9
>> --8<---------------cut here---------------end--------------->8---
>>
>> but resulting profile is different:
>> /gnu/store/w3qq81dzdj9wckcw8fpz5lv6ylhw1m2d-profile (local fresh guix system)
>> /gnu/store/c2i8iyqkc146ac2hqzy1v6zkqs82xypp-profile (debian 11)
>> /gnu/store/svg0is4iwvlg6mgi2rvpkngcccqcvhys-profile (debian 12)
>> /gnu/store/w3qq81dzdj9wckcw8fpz5lv6ylhw1m2d-profile (remote fresh guix system)
>>
>> The first guix pull takes from 25 to 50 minutes, which is really long
>> time.  However, due to irreproducibility, building the guix profile on
>> CI doesn't help to cut that time to some manageable numbers.
>
> Does passing --cores=1 help? I have found building guix (and other guile
> packages) on Debian had reproducibility issues frequently triggered by
> parallelism.

See also:

  https://tests.reproducible-builds.org/debian/issues/unstable/nondeterministic_ordering_in_guile_binaries_issue.html
  https://bugs.debian.org/995092
  https://github.com/NixOS/nixpkgs/pull/78778
  https://issues.guix.gnu.org/issue/20272
  https://build.opensuse.org/request/show/732638

live well,
  vagrant

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZeopZgAKCRDcUY/If5cW
qn/NAQDmWNFrSI3LYC+QRM3PIKJ8etVMjjxUBS94lRxIuEH8hQD9FQOXBWw3UFLs
i6EVXASRcY7rgY1PPhu8do3KvGL54Qk=
=p8Gv
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#69284; Package guix. Full text available.

Message received at 69284 <at> debbugs.gnu.org:


Received: (at 69284) by debbugs.gnu.org; 7 Mar 2024 20:46:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 07 15:46:27 2024
Received: from localhost ([127.0.0.1]:55113 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1riKdG-0005TR-H7
	for submit <at> debbugs.gnu.org; Thu, 07 Mar 2024 15:46:27 -0500
Received: from cascadia.aikidev.net ([173.255.214.101]:35016)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <vagrant@HIDDEN>) id 1riKdB-0005T9-Vx
 for 69284 <at> debbugs.gnu.org; Thu, 07 Mar 2024 15:46:25 -0500
Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50])
 (Authenticated sender: vagrant@HIDDEN)
 by cascadia.aikidev.net (Postfix) with ESMTPSA id 0848F1AD7C;
 Thu,  7 Mar 2024 12:45:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
 d=reproducible-builds.org; s=1.vagrant; t=1709844341;
 bh=Iu/ndOeTjbpA94l/1gnYjm8VxjlJT5IOBgojw7aBdws=;
 h=From:To:Subject:In-Reply-To:References:Date:From;
 b=Ohp/XuaKdIOL/muFfaAokUobKk7AD5JuBNGUbjOFCDaMaVq56QecuFA7Cagu7Brwi
 N5AOZCz/VCsFF1K7mpauMEh8kxkIVKYDzkSpEcJEKfZx2LcNYEdNA6RPl4nlo20Bg2
 xZv+Z02a65DqboN8NZ5srwLpmAYMSzS+1Z0dAqcqn2js0OsBgiIHPZ549b51jgNQ20
 PCNkiFIoxVWMb1vyTad8HluSNO/fodrG0W/Tq5H4s1/9lQO0yF1Yk6SU+6wIRiq6/W
 kgMIEfEnSpCAJYiUFTf9jCJ96dCNgM5XRssMF/8HX/H47GbcKChMUnSgBQiYEY5f73
 0VfzS4p5SQrZQ==
From: Vagrant Cascadian <vagrant@HIDDEN>
To: Andrew Tropin <andrew@HIDDEN>, 69284 <at> debbugs.gnu.org
Subject: Re: bug#69284: guix pull is not reproducible
In-Reply-To: <874je3xvbn.fsf@HIDDEN>
References: <874je3xvbn.fsf@HIDDEN>
Date: Thu, 07 Mar 2024 12:45:34 -0800
Message-ID: <87h6hhojo1.fsf@wireframe>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 69284
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain

On 2024-02-20, Andrew Tropin wrote:
> guix pull -C channels-lock.scm produces different profiles on different
> machines.
>
> I executed the same command on a few different machines.
> channels-lock.scm contains channels list with exact commit specified.
>
> --8<---------------cut here---------------start------------->8---
> curl https://paste.sr.ht/~abcdw/5f18e9e5cc6cb243c84a3975eb4e6a46ed17d996 > channels-lock.scm
> guix pull -C channels-lock.scm -p tmp
> readlink tmp-1-link
> --8<---------------cut here---------------end--------------->8---
>
> The output log on all machines starts similiar:
> --8<---------------cut here---------------start------------->8---
> Updating channel 'rde' from Git repository at 'https://git.sr.ht/~abcdw/rde'...
> Authenticating channel 'rde', commits 257cebd to 2a0c7e9 (2304 new commits)...
> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
> Authenticating channel 'guix', commits 9edb3f6 to d264237 (69420 new commits)...
> Building from these channels:
>   guix      https://git.savannah.gnu.org/git/guix.git   d264237
>   rde       https://git.sr.ht/~abcdw/rde        2a0c7e9
> --8<---------------cut here---------------end--------------->8---
>
> --8<---------------cut here---------------start------------->8---
> Updating channel 'rde' from Git repository at 'https://git.sr.ht/~abcdw/rde'...
> Authenticating channel 'rde', commits 257cebd to 2a0c7e9 (2,304 new commits)...
> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
> Authenticating channel 'guix', commits 9edb3f6 to d264237 (2,382 new commits)...
> Building from these channels:
>   guix      https://git.savannah.gnu.org/git/guix.git   d264237
>   rde       https://git.sr.ht/~abcdw/rde        2a0c7e9
> --8<---------------cut here---------------end--------------->8---
>
> but resulting profile is different:
> /gnu/store/w3qq81dzdj9wckcw8fpz5lv6ylhw1m2d-profile (local fresh guix system)
> /gnu/store/c2i8iyqkc146ac2hqzy1v6zkqs82xypp-profile (debian 11)
> /gnu/store/svg0is4iwvlg6mgi2rvpkngcccqcvhys-profile (debian 12)
> /gnu/store/w3qq81dzdj9wckcw8fpz5lv6ylhw1m2d-profile (remote fresh guix system)
>
> The first guix pull takes from 25 to 50 minutes, which is really long
> time.  However, due to irreproducibility, building the guix profile on
> CI doesn't help to cut that time to some manageable numbers.

Does passing --cores=1 help? I have found building guix (and other guile
packages) on Debian had reproducibility issues frequently triggered by
parallelism.

live well,
  vagrant

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZeonbgAKCRDcUY/If5cW
quMLAP4nFU471s+NUTAKDW8gUcUJJ1MJ1pdtq3p9jVncNIcREAD/VgslOq9czO7w
f2G+QjvQLb2Zv83LPxZXIeHX65e27QM=
=YAbY
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#69284; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 20 Feb 2024 10:52:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 20 05:52:17 2024
Received: from localhost ([127.0.0.1]:44413 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rcNjV-0002JQ-9h
	for submit <at> debbugs.gnu.org; Tue, 20 Feb 2024 05:52:17 -0500
Received: from lists.gnu.org ([209.51.188.17]:35996)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andrew@HIDDEN>) id 1rcNjS-0002JF-4m
 for submit <at> debbugs.gnu.org; Tue, 20 Feb 2024 05:52:15 -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 <andrew@HIDDEN>) id 1rcNiy-00028L-Hh
 for bug-guix@HIDDEN; Tue, 20 Feb 2024 05:51:45 -0500
Received: from out-170.mta0.migadu.com ([2001:41d0:1004:224b::aa])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <andrew@HIDDEN>) id 1rcNir-000425-6D
 for bug-guix@HIDDEN; Tue, 20 Feb 2024 05:51:40 -0500
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop.in; s=key1;
 t=1708426289;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=1dSHmLqLSbr464uSCBLcyQp7SnjRXVXvcj4GOQGN6Fs=;
 b=gv1NbQAQHlkC8WvXwOuiYVMBOI3HRCHsbSxQd/VBq2u2Na0yJ+eQuuyiI21I3H2Bk9VtvP
 dY5TBufkS2pxl5q9qLvvL17o7pgZfTwNPxG0O4KR++e045s4nqHpDAKeaxWvakTKZ3kshQ
 aMtrcfzKFGBYmIASXZAeGyQNapmhZw1Bv0+1TEF8zyb+QfElGfVsHNSxvfnHt2eqMRKxfT
 pw5NRbBm+R1F9eN4dU3zyWCeOwX6l72qnXm8Ig7JKsmn6Ddx46i0B+p7OXt5RPBG3fJHbM
 WKwPehGQuaPXDHi5fROP9tOeVg/Mk6mUdmp8Q2X7athasG1Ig+GQlvet0ICr1Q==
From: Andrew Tropin <andrew@HIDDEN>
To: bug-guix@HIDDEN
Subject: guix pull is not reproducible
Date: Tue, 20 Feb 2024 13:51:24 +0300
Message-ID: <874je3xvbn.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Migadu-Flow: FLOW_OUT
Received-SPF: pass client-ip=2001:41d0:1004:224b::aa;
 envelope-from=andrew@HIDDEN; helo=out-170.mta0.migadu.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, 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-Spam-Score: -4.2 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.2 (-----)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


guix pull -C channels-lock.scm produces different profiles on different
machines.

I executed the same command on a few different machines.
channels-lock.scm contains channels list with exact commit specified.

=2D-8<---------------cut here---------------start------------->8---
curl https://paste.sr.ht/~abcdw/5f18e9e5cc6cb243c84a3975eb4e6a46ed17d996 > =
channels-lock.scm
guix pull -C channels-lock.scm -p tmp
readlink tmp-1-link
=2D-8<---------------cut here---------------end--------------->8---

The output log on all machines starts similiar:
=2D-8<---------------cut here---------------start------------->8---
Updating channel 'rde' from Git repository at 'https://git.sr.ht/~abcdw/rde=
'...
Authenticating channel 'rde', commits 257cebd to 2a0c7e9 (2304 new commits)=
...
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or=
g/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to d264237 (69420 new commit=
s)...
Building from these channels:
  guix      https://git.savannah.gnu.org/git/guix.git   d264237
  rde       https://git.sr.ht/~abcdw/rde        2a0c7e9
=2D-8<---------------cut here---------------end--------------->8---

=2D-8<---------------cut here---------------start------------->8---
Updating channel 'rde' from Git repository at 'https://git.sr.ht/~abcdw/rde=
'...
Authenticating channel 'rde', commits 257cebd to 2a0c7e9 (2,304 new commits=
)...
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or=
g/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to d264237 (2,382 new commit=
s)...
Building from these channels:
  guix      https://git.savannah.gnu.org/git/guix.git   d264237
  rde       https://git.sr.ht/~abcdw/rde        2a0c7e9
=2D-8<---------------cut here---------------end--------------->8---

but resulting profile is different:
/gnu/store/w3qq81dzdj9wckcw8fpz5lv6ylhw1m2d-profile (local fresh guix syste=
m)
/gnu/store/c2i8iyqkc146ac2hqzy1v6zkqs82xypp-profile (debian 11)
/gnu/store/svg0is4iwvlg6mgi2rvpkngcccqcvhys-profile (debian 12)
/gnu/store/w3qq81dzdj9wckcw8fpz5lv6ylhw1m2d-profile (remote fresh guix syst=
em)

The first guix pull takes from 25 to 50 minutes, which is really long
time.  However, due to irreproducibility, building the guix profile on
CI doesn't help to cut that time to some manageable numbers.

=2D-=20
Best regards,
Andrew Tropin

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmXUhCwACgkQIgjSCVjB
3rBCkA/9HbDjSEzj0dwz+aC891PvVgATI8zWJbJL5jwjYYTmnG/y/OD115LI4+ca
V4vijeE5V6CO74OOBxw4FMgULRl9BI1eMp5DBUTgwNGulzcVORuBpLEYKuaBinb3
x7qD6MsiZJaCUAvWrdoBPdFK+wnE02G+HY0N/OW0OxZS/u34+HUqx8jqgrdblc/B
zvER1qzjR0vSqUS+YuqtLEBrESpJfXhlSTDJ20cmU+xeoJiCk/g8hDIbHcoNhzRN
CJIOhsX8+Fq6s+GuCa2576wOI+IJZ09uBrk6/dxjg9lkbpNu9bhoTGYGP0npW23Y
oefqhzImoHTFHB1Rx4kVYYdttUvb9fctR8ORQl7fp/tMxcbs18l+YWpBCO8/zPCS
FzHuAhX0SQrwajhGCOzRvzgJFSZDKQ6SNSmpr6f7abTjdRfE11pgsGOawo3Qh2FF
987VGNp8COSGZ376ow1gD8kBDc0Fdnu16ZjuBJTb3XQKkuEMz1ywR18FsYeM/8T+
l4O7KxGhKwbDxmG86B5BwaBeyksos4Y96B1l+lS+elO9Z92Aeny4DjMIpIpmD7gT
tloE38sfxd8KNjwDwq3pGHSnTPfJr6930h5Yfow0cfYh2y1qoxCgflwidXp76ZqT
D/cobHaqsh9PtdhwNxGyJxPxEHTF75ljuVeQQbfJlzXf0hbg5FY=
=MGtl
-----END PGP SIGNATURE-----
--=-=-=--




Acknowledgement sent to Andrew Tropin <andrew@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#69284; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 10 Mar 2024 10:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.