unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Mathieu Othacehe <othacehe@gnu.org>
To: 51055@debbugs.gnu.org
Subject: bug#51055: [cuirass] Missing dependencies.
Date: Wed, 06 Oct 2021 08:53:52 +0000	[thread overview]
Message-ID: <87sfxeedpb.fsf@gnu.org> (raw)


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




             reply	other threads:[~2021-10-06  8:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-06  8:53 Mathieu Othacehe [this message]
2021-10-06  9:36 ` bug#51055: [cuirass] Missing dependencies Maxime Devos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sfxeedpb.fsf@gnu.org \
    --to=othacehe@gnu.org \
    --cc=51055@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).