all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Mathieu Othacehe <m.othacehe@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Plan for a release!
Date: Thu, 26 Mar 2020 12:55:50 +0100	[thread overview]
Message-ID: <87a743ba9l.fsf@gnu.org> (raw)
In-Reply-To: <87k13bnp38.fsf@gmail.com> (Mathieu Othacehe's message of "Mon, 23 Mar 2020 15:05:47 +0100")

Hi,

Mathieu Othacehe <m.othacehe@gmail.com> skribis:

>> Yes: you need to have ‘installation-os-for-gui-tests’ (or preferably a
>> variant thereof) include all the services/packages needed for the target
>> config.
>>
>> In the manual installation tests we use ‘define-os-with-source’ to both
>> embed the target OS and its references in the installation image *and*
>> have the source of the target OS available in /etc/target-config.scm in
>> the installation image.
>
> Ok! I'm testing with an installation image containing all desktop
> environments. This represents 1200 store items (image around 6GiB).
>
> The disk-image creation takes 2h45 on a powerful machine (with
> KVM). I've seen your insights on this topic here:
>
>>   I'd like to propose an alternative mechanism which would be faster and
>>   not involving virtual machines. Maybe producing the disk-image in a
>>   container?
>
> Unfortunately, I don’t think that’s possible.  The reason we resort to
> VMs is that the Linux kernel doesn’t allow you, for instance, to mount a
> file system without being root.  So doing things like running Parted,
> mounting a file system, and populating it typically requires root
> privileges.  (In some cases, there are tools like mksquashfs that can do
> that from user-space, but it’s very ad-hoc.)
>
> It makes sense and after some digging, I cannot propose something
> better (nix is using the same mechanism). However, I feel very
> frustrated by this disk-image thing, loosing a lot of time and
> computation time for some copies.

Understood.  :-/

Another approach would be to do like ‘guix system vm’, which is to share
the store with the host.  But then we would need a way to be able to run
a daemon in the guest and have its build results overlaid on top of the
host-provided store.

Note that system tests other than the installation tests actually use
the equivalent of ‘guix system vm’ already, so they copy much less stuff
around.

Thanks,
Ludo’.

  reply	other threads:[~2020-03-26 11:55 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-24 21:38 Plan for a release! Ludovic Courtès
2020-02-24 22:55 ` Vincent Legoll
2020-02-25 14:00   ` Jonathan Brielmaier
2020-02-25 15:15     ` Vincent Legoll
2020-02-24 23:35 ` zimoun
2020-02-25 15:47 ` Joshua Branson
2020-03-05  4:54 ` jbranso
2020-03-08 12:04   ` pelzflorian (Florian Pelz)
2020-03-08 21:03     ` kmscon not working on MacBook Ludovic Courtès
2020-03-09  7:43       ` pelzflorian (Florian Pelz)
2020-03-09  9:48         ` Vincent Legoll
2020-03-09 16:45         ` Ludovic Courtès
2020-03-11  7:14           ` pelzflorian (Florian Pelz)
2020-03-11  7:25             ` pelzflorian (Florian Pelz)
2020-03-20  8:48             ` pelzflorian (Florian Pelz)
2020-03-20  8:51               ` pelzflorian (Florian Pelz)
2020-03-25 23:00               ` pelzflorian (Florian Pelz)
2020-03-26  2:26                 ` Bengt Richter
2020-03-26 16:53                   ` pelzflorian (Florian Pelz)
2020-03-29 10:26                     ` pelzflorian (Florian Pelz)
2020-03-08 12:35   ` Gnome takes more than 5 minutes to start Ricardo Wurmus
2020-03-08 21:04   ` Btrfs/udev issue Ludovic Courtès
2020-03-05 13:42 ` Plan for a release! jbranso
2020-03-05 16:45   ` sirgazil
2020-03-06 16:32     ` Joshua Branson
2020-03-05 21:09   ` Jan
2020-03-06 16:33     ` Joshua Branson
2020-03-06 16:51     ` Thunar cannot launch gio-launch-desktop Ricardo Wurmus
2020-03-06 17:57       ` Jan
2020-03-06 21:51         ` Ricardo Wurmus
2020-03-06 23:59           ` Jan
2020-03-07 23:41           ` Jan
2020-03-08  9:08             ` Ricardo Wurmus
2020-03-08 22:05               ` Jan
2020-03-08 23:41               ` Jan
2020-03-09 22:41               ` Jan
2020-03-06  6:44   ` Plan for a release! pelzflorian (Florian Pelz)
2020-03-06  9:58     ` John Soo
2020-03-08 12:33   ` Ricardo Wurmus
2020-03-08 21:10   ` Ludovic Courtès
2020-03-12 13:54 ` Ludovic Courtès
2020-03-18 16:53   ` Ludovic Courtès
2020-03-18 17:31     ` Ricardo Wurmus
2020-03-18 17:49     ` Mathieu Othacehe
2020-03-20 10:52       ` Mathieu Othacehe
2020-03-20 13:13         ` Gábor Boskovits
2020-03-20 13:58           ` Mathieu Othacehe
2020-03-21 15:46         ` Ludovic Courtès
2020-03-23 14:05           ` Mathieu Othacehe
2020-03-26 11:55             ` Ludovic Courtès [this message]
2020-03-26 12:37               ` Vincent Legoll
2020-03-26 14:24                 ` Ludovic Courtès

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

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

  git send-email \
    --in-reply-to=87a743ba9l.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=m.othacehe@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.