From: "Ludovic Courtès" <ludo@gnu.org>
To: Mathieu Othacehe <othacehe@gnu.org>
Cc: 41668@debbugs.gnu.org, Brice Waegeneire <brice@waegenei.re>
Subject: bug#41668: Failing test: gui-installed-desktop-os-encrypted
Date: Sun, 07 Jun 2020 21:54:31 +0200 [thread overview]
Message-ID: <87blluslc8.fsf@gnu.org> (raw)
In-Reply-To: <877dwidhf0.fsf@gnu.org> (Mathieu Othacehe's message of "Sun, 07 Jun 2020 17:28:19 +0200")
Hi,
Mathieu Othacehe <othacehe@gnu.org> skribis:
>> * A new issue I discovered, whereby 'guix system init' try to
>> build/download stuff, when it shouldn't:
>>
>> Jun 6 11:50:06 localhost shepherd[1]: Service cow-store has been started.
>> Jun 6 11:50:06 localhost installer[233]: running command ("guix" "system" "init" "--fallback" "--no-grafts" "--no-substitutes" "/mnt/etc/config.scm" "/mnt")
>> Jun 6 11:50:20 localhost installer[233]: 'guix system init --fallback --no-grafts --no-substitutes /mnt/etc/config.scm /mnt' exited with status 1; output follows: The following derivations will be bu)
>>
>> Jun 6 11:50:20 localhost 7-gzip-mesboot-1.2.4.drv /gnu/store/zrqjn3p0x5gkdnj6qb4b9xxl2dld4fvl-gzip-1.2.4.tar.drv /gnu/store/98g8d622pqhzl0z92y4bjcqi9yl0327x-linux-libre-headers-bootstrap-0.drv2
>> Jun 6 11:50:20 localhost g76sla-bash-mesboot-4.4.drv /gnu/store/8yad2zhh91pnf27xkwh0kyx4ggnsn5li-bash-4.4.tar.gz.drv /gnu/store/5vp07s0gdvrybbhcz43i58y5p03rrdsk-coreutils-mesboot-8.32.drv k
>> Jun 6 11:50:20 localhost h6mfp7hisj118ndcp8d0wy3ca63-gmp-6.0.0a.tar.xz.drv /gnu/store/iy7vn17sqbrgp2142px897ij0njsr5f2-gmp-6.0.0a.tar.xz.drv /gnu/store/rxr1wc67y74bsfasln4jw8viawpa79g4-mpfr-4.0
>> Jun 6 11:50:20 localhost ilding /gnu/store/3pz8g76l2kkv36w1n7k25zlswgdyj554-Python-3.5.9.tar.xz.drv... builder for `/gnu/store/3pz8g76l2kkv36w1n7k25zlswgdyj554-Python-3.5.9.tar.xz.drv' failed to produg
>> Jun 6 11:50:20 localhost
>
> Ok, I think I found what's going on here. As we are now using multiple
> glibc to build locales, we need to make sure that they are all available
> in the installation closure.
Good catch!
> The attached patch fixes the issue. I will also propose a patch,
> probably on core-update, patching "invoke/quiet" so that we can have the
> output of "guix system init" in the syslog.
How did you do it in the example above? Perhaps we can have a local
hack specifically in the installer (otherwise we’d find ourselves
duplicating syslog-related logic there.)
> Debugging (gnu tests install) module always takes me a lot of effort,
> because of all the code layers involved. I don't have much to propose to
> improve it, maybe when the CI will be more robust, we will be able to
> detect those test failures as soon as they happen.
Yeah there are two issues: (1) the installer tests are tricky to debug,
and (2) we basically don’t notice when something break.
I don’t have good ideas for (1), although I think the speedups induced
by the new image API might help.
As for (2), I think it’s kind of a problem of CI in general, connected
with the fact that we’re all somewhat busy building stuff rather than
waiting for CI notifications to act on. :-)
That’s my impression, but I’d really like to hear from people with
experience in CI and/or the system tests.
> From 25950adfa4988c31beaeb334367337ee409868c4 Mon Sep 17 00:00:00 2001
> From: Mathieu Othacehe <othacehe@gnu.org>
> Date: Sun, 7 Jun 2020 15:39:39 +0200
> Subject: [PATCH] system: install: Add default libcs to gc-roots.
>
> During the installation, it may be needed to build locales that are not
> covered by glibc-utf8-locales. Make sure that the libraries required to build
> locales are available.
>
> This is a follow-up of 0eed77127592323d89f56c215a15374a1aaae110.
>
> * gnu/system/install.scm (installation-os)[services]: Add
> %default-locale-libcs to gc-root-service-type.
Perfect, thanks!
Ludo’.
next prev parent reply other threads:[~2020-06-07 19:58 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-02 18:52 bug#41668: Failing test: gui-installed-desktop-os-encrypted Brice Waegeneire
2020-06-06 10:16 ` Mathieu Othacehe
2020-06-07 15:28 ` Mathieu Othacehe
2020-06-07 19:54 ` Ludovic Courtès [this message]
2020-06-08 8:47 ` Mathieu Othacehe
2020-06-08 13:24 ` Mathieu Othacehe
2020-06-09 11:18 ` Mathieu Othacehe
2020-06-09 14:22 ` Ludovic Courtès
2020-06-09 16:01 ` Mathieu Othacehe
2020-06-08 14:26 ` Danny Milosavljevic
2020-06-09 14:24 ` Ludovic Courtès
2020-06-14 16:16 ` Mathieu Othacehe
2020-06-14 20:28 ` Ludovic Courtès
2020-06-16 15:40 ` Mathieu Othacehe
2020-06-17 12:33 ` Ludovic Courtès
2020-09-11 7:32 ` Mathieu Othacehe
2020-09-11 14:42 ` 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
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=87blluslc8.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=41668@debbugs.gnu.org \
--cc=brice@waegenei.re \
--cc=othacehe@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).