GNU bug report logs - #33106
"make check-system TESTS=basic" fails on master

Previous Next

Package: guix;

Reported by: Chris Marusich <cmmarusich <at> gmail.com>

Date: Sat, 20 Oct 2018 19:19:01 UTC

Severity: normal

Tags: moreinfo

Done: zimoun <zimon.toutoune <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 33106 in the body.
You can then email your comments to 33106 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#33106; Package guix. (Sat, 20 Oct 2018 19:19:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chris Marusich <cmmarusich <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 20 Oct 2018 19:19:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Chris Marusich <cmmarusich <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: "make check-system TESTS=basic" fails on master
Date: Sat, 20 Oct 2018 12:09:42 -0700
[Message part 1 (text/plain, inline)]
Hi Guix,

The system test "basic" fails on commit
7d1f21c69aa89e4c7c57ace26af80d168157b243 (master).  To reproduce, check
out that commit and run:

    make check-system TESTS="basic"

For the record, this is on an x86_64-linux GuixSD system using an ext4
root file system.  Here's the error (I've sanitized the output, which
apparently contained some unprintable characters, and removed some lines
for brevity):

--8<---------------cut here---------------start------------->8---
qemu-system-x86_64: warning: hub 0 is not connected to host network
[?7l
[0mSeaBIOS (version rel-1.11.2-0-gf9626ccb91-prebuilt.qemu-project.org)
iPXE (http://ipxe.org) 00:03.0 C980 PCI2.10 PnP PMM+0FF91280+0FEF1280 C980
Press Ctrl-B to configure iPXE (PCI 00:03.0)...
                                                                               
Booting from ROM...
[?7l
[2J[    0.000000] Linux version 4.18.15-gnu (nixbld@) (gcc version 7.3.0 (GCC)) #1 SMP 1
[    0.000000] Command line: console=ttyS0 --root=/dev/vda1 --system=/gnu/store/pcjn1bvz1khr8k04qablc62rzwgfbh2b-system --load=/gnu/store/pcjn1bvz1khr8k04qablc62rzwgfbh2b-system/boot panic=1
[... Lines omitted for brevity ...]
[    0.000000] Kernel command line: console=ttyS0 --root=/dev/vda1 --system=/gnu/store/pcjn1bvz1khr8k04qablc62rzwgfbh2b-system --load=/gnu/store/pcjn1bvz1khr8k04qablc62rzwgfbh2b-system/boot panic=1
[... Lines omitted for brevity ...]
GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread
GC Warning: Couldn't read /proc/stat
Welcome, this is GNU's early boot Guile.
Use '--repl' for an initrd REPL.
loading kernel modules...
[    1.425572] usbcore: registered new interface driver usb-storage
[    1.442635] usbcore: registered new interface driver uas
[    1.464201] hidraw: raw HID events driver (C) Jiri Kosina
[    1.469015] usbcore: registered new interface driver usbhid
[    1.470604] usbhid: USB HID core driver
[    1.526453] isci: Intel(R) C600 SAS Controller Driver - version 1.2.0
[    1.564134] PCI Interrupt Link [LNKC] enabled at IRQ 11
[    1.594052] PCI Interrupt Link [LNKD] enabled at IRQ 10
[    1.623716] PCI Interrupt Link [LNKA] enabled at IRQ 10
[    1.653420] PCI Interrupt Link [LNKB] enabled at IRQ 11
[    1.701890] virtio_blk: probe of virtio4 failed with error -2
[    1.718210] virtio_net: probe of virtio0 failed with error -2
[    1.724827] virtio_console virtio3: Error -2 initializing vqs
[    1.726493] virtio_console: probe of virtio3 failed with error -2
[    1.732626] virtio_rng: probe of virtio1 failed with error -2
[    1.747209] FS-Cache: Loaded
[    1.753755] 9pnet: Installing 9P2000 support
[    1.756817] 9p: Installing v9fs 9p2000 file system support
[    1.758476] FS-Cache: Netfs '9p' registered for caching
[    1.767544] 9pnet_virtio: probe of virtio2 failed with error -2
In gnu/build/linux-boot.scm:
   516:13  2 (_)
    367:8  1 (mount-root-file-system "/dev/vda1" "ext4" # _)
In unknown file:
          [    1.798957] random: fast init done
 0 (mount "/dev/vda1" "/real-root" "ext4" 1 #<undefined>)
In procedure mount: No such file or directory
[    1.808236] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
[    1.808236] 
[    1.810919] CPU: 0 PID: 1 Comm: init Not tainted 4.18.15-gnu #1
[    1.812019] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.11.2-0-gf9626ccb91-prebuilt.qemu-project.org 04/01/2014
[    1.812019] Call Trace:
[    1.812019]  dump_stack+0x63/0x85
[    1.812019]  panic+0xe4/0x244
[    1.812019]  do_exit+0xb1a/0xb20
[    1.812019]  ? wake_up_state+0x10/0x20
[    1.812019]  do_group_exit+0x43/0xb0
[    1.812019]  __x64_sys_exit_group+0x18/0x20
[    1.812019]  do_syscall_64+0x5a/0x120
[    1.812019]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[    1.812019] RIP: 0033:0x5ecce6
[    1.812019] Code: Bad RIP value.
[    1.812019] RSP: 002b:00007ffdddceb3e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
[    1.812019] RAX: ffffffffffffffda RBX: 0000000000812ff0 RCX: 00000000005ecce6
[    1.812019] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000
[    1.812019] RBP: 0000000000000000 R08: 00000000000000e7 R09: ffffffffffffffb0
[    1.812019] R10: 00007f85d01aef88 R11: 0000000000000246 R12: 0000000000a63818
[    1.812019] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000003
[    1.812019] Kernel Offset: 0x2a000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    1.812019] Rebooting in 1 seconds..
QEMU runs as PID 4
connected to QEMU's monitor
read QEMU monitor prompt
connected to guest REPL
%%%% Starting test basic  (Writing full log to "basic.log")
/gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL uname
/gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL shepherd socket ready
/gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL shell and user commands
/gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL special files
/gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL accounts
/gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL shepherd services
/gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL homes
/gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL skeletons in home directories
/gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL permissions on /root
/gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL no extra home directories
/gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL login on tty1
/gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:2: FAIL utmpx entry
/gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:2: FAIL wtmp entry
/gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:2: FAIL host name resolution
/gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:2: FAIL locale
/gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:2: FAIL /run/current-system is a GC root
/gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:2: FAIL /var/guix/gcroots/profiles is a valid symlink
/gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:2: FAIL screendump
/gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:2: FAIL screen text
# of expected passes      1
# of unexpected failures  19
--8<---------------cut here---------------end--------------->8---

Some questions/observations:

1) Where is the "basic.log" file?  I checked the Guix checkout and the
retained directory of the failed derivation (i.e., the directory
produced by guix build --keep-failed /gnu/store/...gjmid5-basic.drv),
but I don't see it anywhere.

2) The test seems to have failed becuase of the following issue, which
is mentioned in the output above:

--8<---------------cut here---------------start------------->8---
0 (mount "/dev/vda1" "/real-root" "ext4" 1 #<undefined>)
In procedure mount: No such file or directory
--8<---------------cut here---------------end--------------->8---

The next steps are probably to look into whether /dev/vda1 or /real-root
exist when that call is made, and if one of them is missing, investigate
why it doesn't exist.

-- 
Chris
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#33106; Package guix. (Mon, 22 Oct 2018 13:13:02 GMT) Full text and rfc822 format available.

Message #8 received at 33106 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Chris Marusich <cmmarusich <at> gmail.com>
Cc: 33106 <at> debbugs.gnu.org
Subject: Re: bug#33106: "make check-system TESTS=basic" fails on master
Date: Mon, 22 Oct 2018 15:11:54 +0200
Hello,

Chris Marusich <cmmarusich <at> gmail.com> skribis:

> The system test "basic" fails on commit
> 7d1f21c69aa89e4c7c57ace26af80d168157b243 (master).  To reproduce, check
> out that commit and run:
>
>     make check-system TESTS="basic"

It passes for me as of ff598353c01b1953243ba0ecb87efbd73c66720e, on
x86_64-linux.


[...]

> [    1.701890] virtio_blk: probe of virtio4 failed with error -2
> [    1.718210] virtio_net: probe of virtio0 failed with error -2
> [    1.724827] virtio_console virtio3: Error -2 initializing vqs
> [    1.726493] virtio_console: probe of virtio3 failed with error -2
> [    1.732626] virtio_rng: probe of virtio1 failed with error -2
> [    1.747209] FS-Cache: Loaded
> [    1.753755] 9pnet: Installing 9P2000 support
> [    1.756817] 9p: Installing v9fs 9p2000 file system support
> [    1.758476] FS-Cache: Netfs '9p' registered for caching
> [    1.767544] 9pnet_virtio: probe of virtio2 failed with error -2
> In gnu/build/linux-boot.scm:
>    516:13  2 (_)
>     367:8  1 (mount-root-file-system "/dev/vda1" "ext4" # _)
> In unknown file:
>           [    1.798957] random: fast init done
>  0 (mount "/dev/vda1" "/real-root" "ext4" 1 #<undefined>)
> In procedure mount: No such file or directory
> [    1.808236] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000

Instead of these ‘virtio’ error, I see this (excerpt):

--8<---------------cut here---------------start------------->8---
Welcome, this is GNU's early boot Guile.
Use '--repl' for an initrd REPL.

loading kernel modules...
[    0.652780] usbcore: registered new interface driver usb-storage
[    0.654790] usbcore: registered new interface driver uas
[    0.660951] hidraw: raw HID events driver (C) Jiri Kosina
[    0.661917] usbcore: registered new interface driver usbhid
[    0.662504] usbhid: USB HID core driver
[    0.668512] isci: Intel(R) C600 SAS Controller Driver - version 1.2.0
[    0.687586] PCI Interrupt Link [LNKC] enabled at IRQ 11
[    0.706161] PCI Interrupt Link [LNKD] enabled at IRQ 10
[    0.724746] PCI Interrupt Link [LNKA] enabled at IRQ 10
[    0.743427] PCI Interrupt Link [LNKB] enabled at IRQ 11
[    0.765047] virtio_blk virtio4: [vda] 143360 512-byte logical blocks (73.4 MB/70.0 MiB)
[    0.766293]  vda: vda1 vda2
[    0.782675] FS-Cache: Loaded
[    0.784778] 9pnet: Installing 9P2000 support
[    0.785387] random: fast init done
[    0.786349] 9p: Installing v9fs 9p2000 file system support
[    0.787101] FS-Cache: Netfs '9p' registered for caching
[    0.788027] random: crng init done
[    0.792200] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null)
loading '/gnu/store/vwyynlbmkrg1mr4d56n6x9vcnfw9hnw2-system/boot'...
--8<---------------cut here---------------end--------------->8---

I could be a QEMU or a kernel error.  Does it still manifest with
today’s master?

> %%%% Starting test basic  (Writing full log to "basic.log")
> /gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL uname
> /gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL shepherd socket ready
> /gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL shell and user commands
> /gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL special files
> /gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL accounts
> /gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL shepherd services
> /gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL homes
> /gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL skeletons in home directories
> /gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL permissions on /root
> /gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL no extra home directories
> /gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:1: FAIL login on tty1
> /gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:2: FAIL utmpx entry
> /gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:2: FAIL wtmp entry
> /gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:2: FAIL host name resolution
> /gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:2: FAIL locale
> /gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:2: FAIL /run/current-system is a GC root
> /gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:2: FAIL /var/guix/gcroots/profiles is a valid symlink
> /gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:2: FAIL screendump
> /gnu/store/b1f0pn2zp33b0q06cp39yk9p1qasxzqi-basic-builder:2: FAIL screen text
> # of expected passes      1
> # of unexpected failures  19
>
>
> Some questions/observations:
>
> 1) Where is the "basic.log" file?  I checked the Guix checkout and the
> retained directory of the failed derivation (i.e., the directory
> produced by guix build --keep-failed /gnu/store/...gjmid5-basic.drv),
> but I don't see it anywhere.

The ‘basic.log’ file is in the output of this derivation.  The
derivation is built with #:keep-failed? #t, so the output is still
around upon failure and ‘make check-system’ prints it upon completion
with something like:

  TOTAL: 1
  FAIL: /gnu/store/gmsv8dlxd88p37qc74pdn5jgiikbyxwv-basic

Thanks for your report,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#33106; Package guix. (Tue, 23 Oct 2018 08:59:01 GMT) Full text and rfc822 format available.

Message #11 received at 33106 <at> debbugs.gnu.org (full text, mbox):

From: Chris Marusich <cmmarusich <at> gmail.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 33106 <at> debbugs.gnu.org
Subject: Re: bug#33106: "make check-system TESTS=basic" fails on master
Date: Tue, 23 Oct 2018 01:58:03 -0700
[Message part 1 (text/plain, inline)]
ludo <at> gnu.org (Ludovic Courtès) writes:

> It passes for me as of ff598353c01b1953243ba0ecb87efbd73c66720e, on
> x86_64-linux.

I rebuilt Guix from a clean checkout of commit
ff598353c01b1953243ba0ecb87efbd73c66720e, and then I ran the test again.
It still failed.  The error messages are the same as before.

> I could be a QEMU or a kernel error.  Does it still manifest with
> today’s master?

I just did a Git pull; the master branch head currently points to
a89f731b1506b3b560f4a179da2889408dfa881d.  I'm rebuilding Guix from a
fresh checkout of this commit.  Once it's done, I'll let you know
whether the system test passes.

>> 1) Where is the "basic.log" file?  I checked the Guix checkout and the
>> retained directory of the failed derivation (i.e., the directory
>> produced by guix build --keep-failed /gnu/store/...gjmid5-basic.drv),
>> but I don't see it anywhere.
>
> The ‘basic.log’ file is in the output of this derivation.  The
> derivation is built with #:keep-failed? #t, so the output is still
> around upon failure and ‘make check-system’ prints it upon completion
> with something like:
>
>   TOTAL: 1
>   FAIL: /gnu/store/gmsv8dlxd88p37qc74pdn5jgiikbyxwv-basic

Understood!  I was confused and looking in the wrong place.

-- 
Chris
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#33106; Package guix. (Wed, 24 Oct 2018 01:50:02 GMT) Full text and rfc822 format available.

Message #14 received at 33106 <at> debbugs.gnu.org (full text, mbox):

From: Chris Marusich <cmmarusich <at> gmail.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 33106 <at> debbugs.gnu.org
Subject: Re: bug#33106: "make check-system TESTS=basic" fails on master
Date: Tue, 23 Oct 2018 18:49:19 -0700
[Message part 1 (text/plain, inline)]
Chris Marusich <cmmarusich <at> gmail.com> writes:

> I just did a Git pull; the master branch head currently points to
> a89f731b1506b3b560f4a179da2889408dfa881d.  I'm rebuilding Guix from a
> fresh checkout of this commit.  Once it's done, I'll let you know
> whether the system test passes.

It still fails, with similar error messages.  For what it's worth, here
is the output of my "uname -a":

    Linux garuda.local 4.18.13-gnu #1 SMP 1 x86_64 GNU/Linux

I'm not sure how to proceed.  For now, I'll try this: do a "guix pull"
from a89f731b1506b3b560f4a179da2889408dfa881d, reconfigure my GuixSD
system, and try again.  I'll let you know how it goes.

-- 
Chris
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#33106; Package guix. (Wed, 24 Oct 2018 12:15:01 GMT) Full text and rfc822 format available.

Message #17 received at 33106 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Chris Marusich <cmmarusich <at> gmail.com>
Cc: 33106 <at> debbugs.gnu.org
Subject: Re: bug#33106: "make check-system TESTS=basic" fails on master
Date: Wed, 24 Oct 2018 14:14:04 +0200
Chris Marusich <cmmarusich <at> gmail.com> skribis:

> Chris Marusich <cmmarusich <at> gmail.com> writes:
>
>> I just did a Git pull; the master branch head currently points to
>> a89f731b1506b3b560f4a179da2889408dfa881d.  I'm rebuilding Guix from a
>> fresh checkout of this commit.  Once it's done, I'll let you know
>> whether the system test passes.
>
> It still fails, with similar error messages.  For what it's worth, here
> is the output of my "uname -a":
>
>     Linux garuda.local 4.18.13-gnu #1 SMP 1 x86_64 GNU/Linux
>
> I'm not sure how to proceed.  For now, I'll try this: do a "guix pull"
> from a89f731b1506b3b560f4a179da2889408dfa881d, reconfigure my GuixSD
> system, and try again.  I'll let you know how it goes.

Hmm, super weird.  Does the machine support KVM properly?  Any hints in
‘dmesg’ or /var/log/messages?  Is this GuixSD running on the bare metal?

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#33106; Package guix. (Fri, 26 Oct 2018 05:12:02 GMT) Full text and rfc822 format available.

Message #20 received at 33106 <at> debbugs.gnu.org (full text, mbox):

From: Chris Marusich <cmmarusich <at> gmail.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 33106 <at> debbugs.gnu.org
Subject: Re: bug#33106: "make check-system TESTS=basic" fails on master
Date: Thu, 25 Oct 2018 22:11:13 -0700
[Message part 1 (text/plain, inline)]
ludo <at> gnu.org (Ludovic Courtès) writes:

> Hmm, super weird.  Does the machine support KVM properly?  Any hints in
> ‘dmesg’ or /var/log/messages?  Is this GuixSD running on the bare metal?

I haven't seen any KVM-related problems in the past.  I checked dmesg,
messages, and a couple other log files for obvious problems, but I
couldn't find any.  This GuixSD is running on bare metal (a Lenovo X200
with Libreboot, to be precise).

I'm still waiting for my "guix system reconfigure" to finish.  I ran it
overnight, it failed while updating substitutes [1], and now I'm running
it again without substitutes.  I'll update this bug report when I have
more information.

Footnotes: 
[1]  https://debbugs.gnu.org/33159

-- 
Chris
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#33106; Package guix. (Fri, 26 Oct 2018 09:45:02 GMT) Full text and rfc822 format available.

Message #23 received at 33106 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Chris Marusich <cmmarusich <at> gmail.com>
Cc: 33106 <at> debbugs.gnu.org
Subject: Re: bug#33106: "make check-system TESTS=basic" fails on master
Date: Fri, 26 Oct 2018 11:44:41 +0200
Chris Marusich <cmmarusich <at> gmail.com> skribis:

> ludo <at> gnu.org (Ludovic Courtès) writes:
>
>> Hmm, super weird.  Does the machine support KVM properly?  Any hints in
>> ‘dmesg’ or /var/log/messages?  Is this GuixSD running on the bare metal?
>
> I haven't seen any KVM-related problems in the past.  I checked dmesg,
> messages, and a couple other log files for obvious problems, but I
> couldn't find any.  This GuixSD is running on bare metal (a Lenovo X200
> with Libreboot, to be precise).

Did it work before on this machine?  I have a vague recollection that
there were KVM issues on the X200.  This is x86_64?

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#33106; Package guix. (Fri, 26 Oct 2018 16:15:02 GMT) Full text and rfc822 format available.

Message #26 received at 33106 <at> debbugs.gnu.org (full text, mbox):

From: Chris Marusich <cmmarusich <at> gmail.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 33106 <at> debbugs.gnu.org
Subject: Re: bug#33106: "make check-system TESTS=basic" fails on master
Date: Fri, 26 Oct 2018 09:14:05 -0700
[Message part 1 (text/plain, inline)]
Hi,

I've reconfigured my system after running "guix pull":

    root <at> garuda ~# guix describe
    Generation 6	Oct 23 2018 19:29:12	(current)
      guix a89f731
        repository URL: https://git.savannah.gnu.org/git/guix.git
        commit: a89f731b1506b3b560f4a179da2889408dfa881d

    GUIX_PACKAGE_PATH="/home/marusich/custom-guix-packages"
    root <at> garuda ~# 

The problem still occurs, but now there are no 9p-related errors:

--8<---------------cut here---------------start------------->8---
loading kernel modules...
[    1.350969] usbcore: registered new interface driver usb-storage
[    1.366341] usbcore: registered new interface driver uas
[    1.385533] hidraw: raw HID events driver (C) Jiri Kosina
[    1.389538] usbcore: registered new interface driver usbhid
[    1.391152] usbhid: USB HID core driver
[    1.443626] isci: Intel(R) C600 SAS Controller Driver - version 1.2.0
[    1.480467] PCI Interrupt Link [LNKC] enabled at IRQ 11
[    1.510120] PCI Interrupt Link [LNKD] enabled at IRQ 10
[    1.539737] PCI Interrupt Link [LNKA] enabled at IRQ 10
[    1.569364] PCI Interrupt Link [LNKB] enabled at IRQ 11
[    1.618251] virtio_blk virtio4: [vda] 143360 512-byte logical blocks (73.4 MB/70.0 MiB)
[    1.667705] random: fast init done
[    1.669014] random: crng init done
[    1.671153] FS-Cache: Loaded
[    1.677011] 9pnet: Installing 9P2000 support
[    1.679743] 9p: Installing v9fs 9p2000 file system support
[    1.681353] FS-Cache: Netfs '9p' registered for caching
In gnu/build/linux-boot.scm:
   516:13  2 (_)
    367:8  1 (mount-root-file-system "/dev/vda1" "ext4" # _)
In unknown file:
           0 (mount "/dev/vda1" "/real-root" "ext4" 1 #<undefined>)
In procedure mount: No such file or directory
[    1.727459] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
[    1.727459] 
[    1.728372] CPU: 0 PID: 1 Comm: init Not tainted 4.18.16-gnu #1
[    1.728372] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.11.2-0-gf9626ccb91-prebuilt.qemu-project.org 04/01/2014
[    1.728372] Call Trace:
[    1.728372]  dump_stack+0x63/0x85
[    1.728372]  panic+0xe4/0x244
[    1.728372]  do_exit+0xb1a/0xb20
[    1.728372]  ? wake_up_state+0x10/0x20
[    1.728372]  do_group_exit+0x43/0xb0
[    1.728372]  __x64_sys_exit_group+0x18/0x20
[    1.728372]  do_syscall_64+0x5a/0x120
[    1.728372]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[    1.728372] RIP: 0033:0x5ecce6
[    1.728372] Code: Bad RIP value.
[    1.728372] RSP: 002b:00007ffcd54c8318 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
[    1.728372] RAX: ffffffffffffffda RBX: 0000000000812ff0 RCX: 00000000005ecce6
[    1.728372] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000
[    1.728372] RBP: 0000000000000000 R08: 00000000000000e7 R09: ffffffffffffffb0
[    1.728372] R10: 00007f8613be5f88 R11: 0000000000000246 R12: 0000000000a63818
[    1.728372] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000003
[    1.728372] Kernel Offset: 0x27000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    1.728372] Rebooting in 1 seconds..
--8<---------------cut here---------------end--------------->8---

I took a closer look at my dmesg output.  I now notice that the
following line gets emitted when the error occurs moments before the
error occurs in the test:

[  909.759703] kvm [1279]: vcpu0, guest rIP: 0xffffffffb1068bec disabled perfctr wrmsr: 0xc2 data 0xffff

I'm not sure exactly what it means, or if it's bad.  Both the QEMU and
the dmesg output seem to mention a RIP value, and they both occur close
in time, so it seems suspicious.  Looking back in my /var/log/messages,
which I haven't rotated or truncated in quite some time, it seems there
are many entries like this.  The earliest such entry appears to be from
March 20th of 2017.  I don't know if I ran the system tests successfully
after that point in time on this machine.

ludo <at> gnu.org (Ludovic Courtès) writes:

> Did it work before on this machine?  I have a vague recollection that
> there were KVM issues on the X200.  This is x86_64?

This is x86_64, and the test did pass in the past (but I'm not sure when
I was last able to do so successfully).

-- 
Chris
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#33106; Package guix. (Sat, 27 Oct 2018 14:38:02 GMT) Full text and rfc822 format available.

Message #29 received at 33106 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Chris Marusich <cmmarusich <at> gmail.com>
Cc: 33106 <at> debbugs.gnu.org
Subject: Re: bug#33106: "make check-system TESTS=basic" fails on master
Date: Sat, 27 Oct 2018 16:37:14 +0200
Hello,

Chris Marusich <cmmarusich <at> gmail.com> skribis:

> The problem still occurs, but now there are no 9p-related errors:
>
> loading kernel modules...
> [    1.350969] usbcore: registered new interface driver usb-storage
> [    1.366341] usbcore: registered new interface driver uas
> [    1.385533] hidraw: raw HID events driver (C) Jiri Kosina
> [    1.389538] usbcore: registered new interface driver usbhid
> [    1.391152] usbhid: USB HID core driver
> [    1.443626] isci: Intel(R) C600 SAS Controller Driver - version 1.2.0
> [    1.480467] PCI Interrupt Link [LNKC] enabled at IRQ 11
> [    1.510120] PCI Interrupt Link [LNKD] enabled at IRQ 10
> [    1.539737] PCI Interrupt Link [LNKA] enabled at IRQ 10
> [    1.569364] PCI Interrupt Link [LNKB] enabled at IRQ 11
> [    1.618251] virtio_blk virtio4: [vda] 143360 512-byte logical blocks (73.4 MB/70.0 MiB)
> [    1.667705] random: fast init done
> [    1.669014] random: crng init done
> [    1.671153] FS-Cache: Loaded
> [    1.677011] 9pnet: Installing 9P2000 support
> [    1.679743] 9p: Installing v9fs 9p2000 file system support
> [    1.681353] FS-Cache: Netfs '9p' registered for caching
> In gnu/build/linux-boot.scm:
>    516:13  2 (_)
>     367:8  1 (mount-root-file-system "/dev/vda1" "ext4" # _)
> In unknown file:
>            0 (mount "/dev/vda1" "/real-root" "ext4" 1 #<undefined>)
> In procedure mount: No such file or directory

Could you launch QEMU by hand (grab the command line from the derivation
builder or something like that) to get to the initrd REPL when this
error occurs, and from there inspect what’s in /dev?

I don’t have any better idea.  :-/

Thanks,
Ludo’.




Added tag(s) moreinfo. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Wed, 14 Nov 2018 10:24:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#33106; Package guix. (Mon, 30 Nov 2020 21:37:01 GMT) Full text and rfc822 format available.

Message #34 received at 33106 <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: 33106 <at> debbugs.gnu.org, Chris Marusich <cmmarusich <at> gmail.com>
Subject: "make check-system TESTS=basic" fails on master
Date: Mon, 30 Nov 2020 22:36:39 +0100
[Message part 1 (text/plain, inline)]
Chris!

Is this 2+-year-old bug still relevant?  Do you still have the 
hardware to reproduce it?

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#33106; Package guix. (Sat, 19 Dec 2020 09:15:02 GMT) Full text and rfc822 format available.

Message #37 received at 33106 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Chris Marusich <cmmarusich <at> gmail.com>
Cc: 33106 <at> debbugs.gnu.org
Subject: Re: bug#33106: "make check-system TESTS=basic" fails on master
Date: Sat, 19 Dec 2020 10:08:05 +0100
Hi Chris,

This bug#33106 is old with last activity 2+ years ago and tagged
’moreinfo’ also 2+ years ago.  Tobias asked [1] if it is possible to
reproduce now?

1: <http://issues.guix.gnu.org/issue/33106#10>

On Sat, 20 Oct 2018 at 12:09, Chris Marusich <cmmarusich <at> gmail.com> wrote:

> The system test "basic" fails on commit
> 7d1f21c69aa89e4c7c57ace26af80d168157b243 (master).  To reproduce, check
> out that commit and run:
>
>     make check-system TESTS="basic"
>
> For the record, this is on an x86_64-linux GuixSD system using an ext4
> root file system.  Here's the error (I've sanitized the output, which
> apparently contained some unprintable characters, and removed some lines
> for brevity):

[...]

> 1) Where is the "basic.log" file?  I checked the Guix checkout and the
> retained directory of the failed derivation (i.e., the directory
> produced by guix build --keep-failed /gnu/store/...gjmid5-basic.drv),
> but I don't see it anywhere.
>
> 2) The test seems to have failed becuase of the following issue, which
> is mentioned in the output above:
>
> 0 (mount "/dev/vda1" "/real-root" "ext4" 1 #<undefined>)
> In procedure mount: No such file or directory
>
> The next steps are probably to look into whether /dev/vda1 or /real-root
> exist when that call is made, and if one of them is missing, investigate
> why it doesn't exist.

If no moreinfo, this bug will be closed in the coming days.

All the best,
simon

PS: Chris, I hope that everything is fine on your side because I have
not read something from you since long time.




Reply sent to zimoun <zimon.toutoune <at> gmail.com>:
You have taken responsibility. (Tue, 22 Dec 2020 14:24:03 GMT) Full text and rfc822 format available.

Notification sent to Chris Marusich <cmmarusich <at> gmail.com>:
bug acknowledged by developer. (Tue, 22 Dec 2020 14:24:03 GMT) Full text and rfc822 format available.

Message #42 received at 33106-done <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Chris Marusich <cmmarusich <at> gmail.com>
Cc: 33106-done <at> debbugs.gnu.org
Subject: Re: bug#33106: "make check-system TESTS=basic" fails on master
Date: Tue, 22 Dec 2020 15:13:26 +0100
Hi,

On Sat, 19 Dec 2020 at 10:08, zimoun <zimon.toutoune <at> gmail.com> wrote:

> This bug#33106 is old with last activity 2+ years ago and tagged
> ’moreinfo’ also 2+ years ago.  Tobias asked [1] if it is possible to
> reproduce now?
>
> 1: <http://issues.guix.gnu.org/issue/33106#10>
>
> On Sat, 20 Oct 2018 at 12:09, Chris Marusich <cmmarusich <at> gmail.com> wrote:
>
>> The system test "basic" fails on commit
>> 7d1f21c69aa89e4c7c57ace26af80d168157b243 (master).  To reproduce, check
>> out that commit and run:
>>
>>     make check-system TESTS="basic"

[...]

> If no moreinfo, this bug will be closed in the coming days.

I am closing.  Feel free to reopen if I misunderstood something.

All the best,
simon




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 20 Jan 2021 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 94 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.