all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 39926@debbugs.gnu.org
Subject: bug#39926: Regression introduced by Shepherd 0.7.0 ('make check-system TESTS=btrfs-root-os' fails)
Date: Fri, 06 Mar 2020 23:40:18 -0500	[thread overview]
Message-ID: <87a74skcb1.fsf@gmail.com> (raw)
In-Reply-To: <87blpa7m3j.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 05 Mar 2020 18:22:40 +0100")

Hello Ludovic!

Ludovic Courtès <ludo@gnu.org> writes:

> Hi Maxim,
>
> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>
>> So, it seems that updating shepherd to 0.7.0 caused this regression
>> (commit 205c1e04e04b9a9338c7219ff82bd13f000fb8c8).
>
> Could it be something similar to <https://bugs.gnu.org/39671>, fixed in
> commit 00500449b0d53bb9219608a3cbee8faf7a3edae1?
>
> Thanks,
> Ludo’.

I've reviewed the problem linked above, and the various places we still
have setenvs before forking a process with Shepherd, and haven't found a
problematic usage so far.

I've ran the following again:

--8<---------------cut here---------------start------------->8---
guix build --verbosity=10 /gnu/store/l6p6jnwn844hyfwfazg39i7mj4v3z9ac-btrfs-root-os.drv |& strings
--8<---------------cut here---------------end--------------->8---

The |& strings part prevents SeaBIOS from resetting my terminal emulator
and loosing parts of the scroll buffer.  Not really needed here, but
handy sometimes.

The failed derivation build ends with:

marionette is ready
;;; (uname #("Linux" "gnu" "5.4.24-gnu" "#1 SMP 1" "x86_64"))
builder for `/gnu/store/s3ba2v7cl8x0v7wi8xg3xrpm5216i3jf-installation.drv' failed with exit code 1


Right after outputing what seems to be the result of evaluating
'uname'.  Opening up the builder code referenced in that derivation,
/gnu/store/jv133gqxz1wj053vjzpnk6rkr6409lv1-btrfs-root-os-builder, I
could find:

--8<---------------cut here---------------start------------->8---
(test-assert "uname"
    (match
	(marionette-eval
	 (quote
	  (uname))
	 marionette)
      (#("Linux" host-name version _ architecture)
       (and
	(string=? host-name "liberigilo")
	(string-prefix? "5.4.24" version)
	(string-prefix? architecture %host-type)))))
--8<---------------cut here---------------end--------------->8---

Comparing with the above uname output, we can see that it validates the
hostname matches against "liberigilo", yet it is "gnu"!  Perhaps
Shepherd 0.7.0 introduced some problem with the hostname service?

Maxim

  reply	other threads:[~2020-03-07  4:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-05 14:23 bug#39926: Regression introduced by Shepherd 0.7.0 ('make check-system TESTS=btrfs-root-os' fails) Maxim Cournoyer
2020-03-05 17:22 ` Ludovic Courtès
2020-03-07  4:40   ` Maxim Cournoyer [this message]
2020-03-07  5:15     ` Maxim Cournoyer
2020-03-19 22:21       ` Ludovic Courtès
2020-03-20 14:23         ` Maxim Cournoyer
2020-03-21 13:44           ` Ludovic Courtès
2020-03-23 18:01             ` Maxim Cournoyer
2020-03-07 11:11     ` Ludovic Courtès
2020-03-07 11:33     ` Ludovic Courtès
2020-03-07 21:36       ` Ludovic Courtès
2020-03-17  3:07         ` Maxim Cournoyer

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=87a74skcb1.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=39926@debbugs.gnu.org \
    --cc=ludo@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 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.