unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: "Ludovic Courtès" <ludovic.courtes@inria.fr>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: Unreproducible «When Docker images become fixed-point»?
Date: Tue, 05 Jul 2022 01:12:26 +0200	[thread overview]
Message-ID: <86o7y4xyjp.fsf@gmail.com> (raw)
In-Reply-To: <87edz1ati1.fsf@inria.fr>

Hi,

On Mon, 04 Jul 2022 at 15:37, Ludovic Courtès <ludovic.courtes@inria.fr> wrote:

> Do you still have the original tarball mentioned in the post?

Sadly no.


> A possible reason why we’re building a different derivation than back
> then is provenance info: as explained under ‘--save-provenance’ in the
> manual, provenance info is not “canonical” and we could end up including
> different provenance info.  I don’t have any clear scenario in mind 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?

Maybe I overlook a point.  From my understanding, in this case of “guix
machine -C channels.scm”, the provenance is only determined by the file
channels.scm and the provenance thus is unique.

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 – dependent on filesystem or unsorted list or other creative
ideas. :-)

Sadly, we are lacking information for more investigations.  For
instance, it would have been useful to have the checksum of the pack and
so compare.  Or be able to compare the derivations.

Well, let save some data, replay this scenario 6 months later and
investigate. :-)  Keep you in touch.


Cheers,
simon


  reply	other threads:[~2022-07-04 23:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-17 17:03 Unreproducible «When Docker images become fixed-point»? zimoun
2022-07-04 13:37 ` Ludovic Courtès
2022-07-04 23:12   ` zimoun [this message]
2022-07-05  7:44     ` Ludovic Courtès
2022-07-05 10:38       ` zimoun

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=86o7y4xyjp.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=ludovic.courtes@inria.fr \
    /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).