GNU bug report logs - #51055
[cuirass] Missing dependencies.

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: Mathieu Othacehe <othacehe@HIDDEN>; dated Wed, 6 Oct 2021 08:54:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at 51055) by debbugs.gnu.org; 6 Oct 2021 09:36:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 06 05:36:33 2021
Received: from localhost ([127.0.0.1]:42591 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mY3Lk-0007TD-Kp
	for submit <at> debbugs.gnu.org; Wed, 06 Oct 2021 05:36:33 -0400
Received: from andre.telenet-ops.be ([195.130.132.53]:57914)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1mY3LY-0007Sm-TK
 for 51055 <at> debbugs.gnu.org; Wed, 06 Oct 2021 05:36:31 -0400
Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d])
 by andre.telenet-ops.be with bizsmtp
 id 2ZcJ2600Y0mfAB401ZcJrG; Wed, 06 Oct 2021 11:36:19 +0200
Message-ID: <35fddcc62ad65fb39b5fd54ba7f9ae9999d2db84.camel@HIDDEN>
Subject: Re: bug#51055: [cuirass] Missing dependencies.
From: Maxime Devos <maximedevos@HIDDEN>
To: Mathieu Othacehe <othacehe@HIDDEN>, 51055 <at> debbugs.gnu.org
Date: Wed, 06 Oct 2021 11:36:12 +0200
In-Reply-To: <87sfxeedpb.fsf@HIDDEN>
References: <87sfxeedpb.fsf@HIDDEN>
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-CcG9Bn5/xVR1EH7FEZDf"
User-Agent: Evolution 3.34.2 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21;
 t=1633512979; bh=RHzkRcmuwkEJGm4HOz2fhu/620kHxAWFDLQ/SO0DU9U=;
 h=Subject:From:To:Date:In-Reply-To:References;
 b=C4FxFMuE9icXQ96ll1ra3igjaKhxlJsQUDJyvFboZ+6UkQBd+H7S+4iwuEdZOUrpB
 C5oR1d+zmh9jUQz2QVAG328/+TgO7elClXsF8ATrZ2IBS1Cu7fYfsLD9m6xJ4Yg8Tj
 Nul0XPtC04unl8D1N997fJP3iD9s8XM3chb+xqoE2ETvHwsY49cEoDxvacopwIiHmu
 OAoXHlk6AHMX4uTlxpaQlZmyHHOWTemDRu6lKMVyd+Xtp2je9uicFjL/5+nrd9txoi
 v5c6+caMjONv+QYFjUoyyTUAQjo6sHLtv4adPTGoL4YsbjIFalraQ/KvHZE23JN5Oq
 8btySNfyqJ65g==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 51055
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.7 (-)


--=-CcG9Bn5/xVR1EH7FEZDf
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Mathieu Othacehe schreef op wo 06-10-2021 om 08:53 [+0000]:
> [...]
> Cuirass uses the derivation file names to determine the dependencies and
> is thus tricked by this mismatch.
>=20
> There are two things that are a bit unclear to me:
>=20
> 1. What causes those derivation differences while the output is identical=
?

I'd presume changing the source URL of some package (while keeping the hash=
 intact).
That changes fixed-output derivations but keeps the output intact, IIUC.

This hypothesis can be tested by replacing %mirrors by '() in (guix downloa=
d)
and comparing the derivation and output path of a package using a mirror://=
 url
before and after.

Greetings,
Maxime.

--=-CcG9Bn5/xVR1EH7FEZDf
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

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

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYV1uDBccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7ipPAQDc9YDd67mRv4AV19xLmWjSMwfz
ajsWmyLsicU9acumhwD/YUCIwKCVgUHCciaoCUZXSiuHMBpCpzucDMvrOrhNGwk=
=umJ8
-----END PGP SIGNATURE-----

--=-CcG9Bn5/xVR1EH7FEZDf--





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

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


Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 08:53:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 06 04:53:58 2021
Received: from localhost ([127.0.0.1]:42480 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mY2gY-00044Q-LS
	for submit <at> debbugs.gnu.org; Wed, 06 Oct 2021 04:53:58 -0400
Received: from lists.gnu.org ([209.51.188.17]:55284)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1mY2gV-00044F-2l
 for submit <at> debbugs.gnu.org; Wed, 06 Oct 2021 04:53:57 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:34666)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>) id 1mY2gU-0004Tw-Qx
 for bug-guix@HIDDEN; Wed, 06 Oct 2021 04:53:54 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:42666)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <othacehe@HIDDEN>) id 1mY2gU-0001j3-KQ
 for bug-guix@HIDDEN; Wed, 06 Oct 2021 04:53:54 -0400
Received: from [2a01:e0a:19b:d9a0:f2f7:a404:c3d3:f8b4] (port=42540 helo=meije)
 by fencepost.gnu.org with esmtpsa
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1)
 (envelope-from <othacehe@HIDDEN>) id 1mY2gU-0007fD-Af
 for bug-guix@HIDDEN; Wed, 06 Oct 2021 04:53:54 -0400
From: Mathieu Othacehe <othacehe@HIDDEN>
To: bug-guix@HIDDEN
Subject: [cuirass] Missing dependencies.
Date: Wed, 06 Oct 2021 08:53:52 +0000
Message-ID: <87sfxeedpb.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
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: -3.3 (---)


Hello,

I noticed that some builds were missing dependencies in the Cuirass web
interface. For instance, compare those two builds of python-git-review:

https://ci.guix.gnu.org/build/89691/details
https://ci.guix.gnu.org/build/1000035/details

When looking closer to one dependency, python-pysocks for the build
100035, this command reports the corresponding derivation:

--8<---------------cut here---------------start------------->8---
guix time-machine --commit=79fbbe5e4a7cd79613d49c0dda51872f2492cc76 -C ~/.config/guix/channels-default.scm --  build --no-grafts python-pysocks -d
/gnu/store/49bprfjvzlfm893622fkmi4jb6msyg2j-python-pysocks-1.7.1.drv
--8<---------------cut here---------------end--------------->8---

On the other hand, in the Cuirass database, we have:

--8<---------------cut here---------------start------------->8---
cuirass=# select derivation from jobs left join builds on jobs.build = builds.id  where jobs.evaluation = 27768 and name = 'python-pysocks.x86_64-linux';
 /gnu/store/pm576s0gi7b8n9bpllmj3kdin0r6dj22-python-pysocks-1.7.1.drv
--8<---------------cut here---------------end--------------->8---

There are two different derivations which explains why python-pysocks is
not listed as dependency of the build 100035.

While those derivations are different, they have the same output:

--8<---------------cut here---------------start------------->8---
guix time-machine --commit=79fbbe5e4a7cd79613d49c0dda51872f2492cc76 -C ~/.config/guix/channels-default.scm --  build --no-grafts python-pysocks
/gnu/store/x76mk7rx4hyqk6hngflpx1rrrr82rvmb-python-pysocks-1.7.1
--8<---------------cut here---------------end--------------->8---

and

--8<---------------cut here---------------start------------->8---
cuirass=# select path from jobs left join builds on jobs.build = builds.id left join outputs on builds.derivation = outputs.derivation  where jobs.evaluation = 27768 and jobs.name = 'python-pysocks.x86_64-linux';
 /gnu/store/x76mk7rx4hyqk6hngflpx1rrrr82rvmb-python-pysocks-1.7.1
--8<---------------cut here---------------end--------------->8---

So, when Cuirass tried to register the
/gnu/store/49bprfjvzlfm893622fkmi4jb6msyg2j-python-pysocks-1.7.1.drv, it
skipped it because another build with the same output already
existed.

Cuirass uses the derivation file names to determine the dependencies and
is thus tricked by this mismatch.

There are two things that are a bit unclear to me:

1. What causes those derivation differences while the output is identical?

2. How we could work-around this issue to have Cuirass list all
dependencies?

Thanks,

Mathieu




Acknowledgement sent to Mathieu Othacehe <othacehe@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#51055; 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: Wed, 6 Oct 2021 09:45:01 UTC

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