GNU bug report logs - #33152
Indeterministic test failure in qemu-minimal

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Gábor Boskovits <boskovits@HIDDEN>; dated Thu, 25 Oct 2018 15:59:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at>

Received: (at submit) by; 25 Oct 2018 15:58:19 +0000
From debbugs-submit-bounces <at> Thu Oct 25 11:58:19 2018
Received: from localhost ([]:42707
	by with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at>>)
	id 1gFi1a-0004OL-Il
	for submit <at>; Thu, 25 Oct 2018 11:58:19 -0400
Received: from ([]:48407)
 by with esmtp (Exim 4.84_2)
 (envelope-from <boskovits@HIDDEN>) id 1gFi1Z-0004O7-54
 for submit <at>; Thu, 25 Oct 2018 11:58:17 -0400
Received: from Debian-exim by with spam-scanned (Exim 4.71)
 (envelope-from <boskovits@HIDDEN>) id 1gFi1S-000531-Hy
 for submit <at>; Thu, 25 Oct 2018 11:58:12 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from ([2001:4830:134:3::11]:55614)
 by with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <boskovits@HIDDEN>) id 1gFi1S-00052h-9N
 for submit <at>; Thu, 25 Oct 2018 11:58:10 -0400
Received: from ([2001:4830:134:3::10]:57945)
 by with esmtp (Exim 4.71)
 (envelope-from <boskovits@HIDDEN>) id 1gFi1Q-0004ix-Mq
 for bug-guix@HIDDEN; Thu, 25 Oct 2018 11:58:10 -0400
Received: from Debian-exim by with spam-scanned (Exim 4.71)
 (envelope-from <boskovits@HIDDEN>) id 1gFi1P-00050I-Ec
 for bug-guix@HIDDEN; Thu, 25 Oct 2018 11:58:08 -0400
Received: from ([2607:f8b0:4864:20::330]:38083)
 by with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <boskovits@HIDDEN>) id 1gFi1P-0004zb-5e
 for bug-guix@HIDDEN; Thu, 25 Oct 2018 11:58:07 -0400
Received: by with SMTP id l1so9621166otj.5
 for <bug-guix@HIDDEN>; Thu, 25 Oct 2018 08:58:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025;
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025;
X-Gm-Message-State: AGRZ1gKOdCU6K9Q7NpXtTzveFtc5n6sLdx6wrNW3VUbnlyjiY/r/FAan
X-Google-Smtp-Source: AJdET5eF51Xb0NZ1f8aRnciJHYL42YkMF+8fHN/Xj3h9BTt+4Ki8cPJsy9qf5S/2YAboAxnTiEBGmBigDtCuRhmIyBA=
X-Received: by 2002:a9d:6e4:: with SMTP id 91mr1795753otx.213.1540483085960;
 Thu, 25 Oct 2018 08:58:05 -0700 (PDT)
MIME-Version: 1.0
References: <CANiMCTP18e6Azx=KkaZ1mn_PiV=gva06Am0tLPULVF0g8C4r=g@HIDDEN>
In-Reply-To: <CANiMCTP18e6Azx=KkaZ1mn_PiV=gva06Am0tLPULVF0g8C4r=g@HIDDEN>
From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= <boskovits@HIDDEN>
Date: Thu, 25 Oct 2018 17:57:54 +0200
Message-ID: <CAE4v=piR5swkr6Mb3=53+HoQVCkttugox2LgNTtU32YKjPwC5g@HIDDEN>
Subject: Indeterministic test failure in qemu-minimal
To: bug-guix@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by Genre and OS details not
X-detected-operating-system: by GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at>
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <>
List-Unsubscribe: <>, 
 <mailto:debbugs-submit-request <at>>
List-Archive: <>
List-Post: <mailto:debbugs-submit <at>>
List-Help: <mailto:debbugs-submit-request <at>>
List-Subscribe: <>, 
 <mailto:debbugs-submit-request <at>>
Errors-To: debbugs-submit-bounces <at>
Sender: "Debbugs-submit" <debbugs-submit-bounces <at>>
X-Spam-Score: -5.0 (-----)

---------- Forwarded message ---------
From: Edouard KLEIN <edouardklein@HIDDEN>
Date: 2018. okt. 25., Cs, 15:34
Subject: Using 'guix system disk-image' on a non-GuixSD OS
To: <help-guix@HIDDEN>

Hi all,

I do not know whether the "guix system disk-image" command is supposed
to work on a non GuixSD system.

If it is, then I'm running into an error while trying to create a disk
from a system declaration on my Arch Linux OS.

I run:
$ guix system disk-image --fallback config.scm

with config.scm copied at the end of this email.

I get the error message at the end of this emai.

I do not really know where to start looking. It appears that the error
is in the qemu package, which is necessary for grub. I tried removing
the bootloader part of the system declaration, as I can boot from the
ext4 partition directly, but it seems necessary to have one such part
in the OS declaration.

Any help would be appreciated. In the meantime I'm running the command
in a GuixSD VM, but it's taking forever and it's way more cumbersome
than being able to run it on any system.

Thanks in advance,



;; This is an operating system configuration template
;; for a "bare bones" setup, with no X11 display server.

(use-modules (gnu))
(use-service-modules networking ssh)
(use-package-modules screen ssh)

  (host-name "GuixSD_Base")
  (timezone "UTC")
  (locale "en_US.utf8")

  ;; Boot in "legacy" BIOS mode, assuming /dev/sdX is the
  ;; target hard disk, and "my-root" is the label of the target
  ;; root file system.
  (bootloader (bootloader-configuration
                (bootloader grub-bootloader)
                (target "/dev/sda")))
  (file-systems (cons (file-system
                        (device (file-system-label "my-root"))
                        (mount-point "/")
                        (type "ext4"))

  ;; This is where user accounts are specified.  The "root"
  ;; account is implicit, and is initially created with the
  ;; empty password.
  (users (cons (user-account
                (name "edouard")
                (comment "boudoir")
                (group "users")

                ;; Adding the account to the "wheel" group
                ;; makes it a sudoer.  Adding it to "audio"
                ;; and "video" allows the user to play sound
                ;; and access the webcam.
                (supplementary-groups '("wheel"
                                        "audio" "video"))
                (home-directory "/home/edouard"))

  ;; Globally-installed packages.
  (packages (append (map specification->package
                         '("tmux" "openssh"))

  ;; Add services to the baseline: a DHCP client and
  ;; an SSH server.
  (services (cons* (dhcp-client-service)
                   (service openssh-service-type
                              '(("edouard" ,(local-file ""))
                                ("root" ,(local-file ""))))
                       (permit-root-login 'without-password)
                             (port-number 22)))
------------error message
c++ -I/gnu/store/pslvw8b4r0m5vmbz2ml7whcv2wbdpa57-pixman-0.34.0/include/pix=
-pthread -I/gnu/s[14/1947]
-Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-p
rototypes -fno-strict-aliasing -fno-common -fwrapv  -Wendif-labels
-Wno-missing-include-dirs -Wempty-body -Wnested-externs
-Wformat-security -Wformat-y2k -Winit-self -Wignore
d-qualifiers -Wold-style-declaration -Wold-style-definition
-Wtype-limits -fstack-protector-strong
g16 -I/tmp/guix-build-qemu-minimal-2.10.2.drv-0/qemu-2.10.2/tests -O2
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2  -Wl,--warn-common -Wl,-z,relro
-Wl,-z,now -pie -m64 -Wl,--warn-co
mmon -Wl,-z,relro -Wl,-z,now -pie -m64 -lrt -o tests/test-replication
tests/test-replication.o block.o blockjob.o qemu-io-cmds.o
replication.o block/raw-format.o block/qcow.o
 block/vdi.o block/vmdk.o block/cloop.o block/bochs.o block/vpc.o
block/vvfat.o block/dmg.o block/qcow2.o block/qcow2-refcount.o
block/qcow2-cluster.o block/qcow2-snapshot.o
block/qcow2-cache.o block/qcow2-bitmap.o block/qed.o
block/qed-l2-cache.o block/qed-table.o block/qed-cluster.o
block/qed-check.o block/vhdx.o block/vhdx-endian.o block/vhdx-
log.o block/quorum.o block/parallels.o block/blkdebug.o
block/blkverify.o block/blkreplay.o block/block-backend.o
block/snapshot.o block/qapi.o block/file-posix.o block/linux
-aio.o block/null.o block/mirror.o block/commit.o block/io.o
block/throttle-groups.o block/nbd.o block/nbd-client.o
block/sheepdog.o block/accounting.o block/dirty-bitmap.o b
lock/write-threshold.o block/backup.o block/replication.o
block/crypto.o nbd/server.o nbd/client.o nbd/common.o block/dmg-bz2.o
io/channel.o io/channel-buffer.o io/channel-co
mmand.o io/channel-file.o io/channel-socket.o io/channel-tls.o
io/channel-watch.o io/channel-websock.o io/channel-util.o
io/dns-resolver.o io/task.o crypto/init.o crypto/hash
.o crypto/hash-glib.o crypto/hmac.o crypto/hmac-glib.o crypto/aes.o
crypto/desrfb.o crypto/cipher.o crypto/tlscreds.o
crypto/tlscredsanon.o crypto/tlscredsx509.o crypto/tlsse
ssion.o crypto/secret.o crypto/random-platform.o crypto/pbkdf.o
crypto/ivgen.o crypto/ivgen-essiv.o crypto/ivgen-plain.o
crypto/ivgen-plain64.o crypto/afsplit.o crypto/xts.o
crypto/block.o crypto/block-qcow.o crypto/block-luks.o qom/object.o
qom/container.o qom/qom-qobject.o qom/object_interfaces.o
tests/iothread.o  libqemuutil.a libqemustub.a  -
lz -laio -lbz2 -lm
-lgthread-2.0 -pthread -lglib-2.0  -lz -lz  -lutil
MALLOC_PERTURB_=3D${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))}
gtester -k --verbose -m=3Dquick tests/test-replication
TEST: tests/test-replication... (pid=3D14861)
  /replication/primary/read:                                           OK
  /replication/primary/write:                                          OK
  /replication/primary/start:                                          OK
  /replication/primary/stop:                                           OK
  /replication/primary/do_checkpoint:                                  OK
  /replication/primary/get_error_all:                                  OK
  /replication/secondary/read:                                         OK
  /replication/secondary/write:                                        OK
  /replication/secondary/start:                                        **
ERROR:tests/test-replication.c:117:test_blk_write: assertion failed:
(async_ret =3D=3D 0)
GTester: last random seed: R02Sb499c9e89b18bb967dd59acad1b2aaa8
  /replication/secondary/stop:                                         OK
  /replication/secondary/do_checkpoint:                                OK
  /replication/secondary/get_error_all:                                OK
FAIL: tests/test-replication
make: *** [/tmp/guix-build-qemu-minimal-2.10.2.drv-0/qemu-2.10.2/tests/Make=
check-tests/test-replication] Error 1

Test suite failed, dumping logs.
           4 (primitive-load "/gnu/store/5v4cdxg9m4x6hax86g1q7jw5bch=E2=80=
In ice-9/eval.scm:
   191:35  3 (_ _)
In srfi/srfi-1.scm:
    640:9  2 (for-each #<procedure a06400 at /gnu/store/f95ghy8mx00=E2=80=
=A6> =E2=80=A6)
In /gnu/store/f95ghy8mx00fc22nrvswvnpqlfdkf2nk-module-import/guix/build/gnu=
   799:31  1 (_ _)
    369:6  0 (check #:target _ #:make-flags _ #:tests? _ # _ # _ # _)

In procedure check:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program:
"make" arguments: ("check") exit-status: 2 term-signal: #f
stop-signal: #f] 986a40>)'.
builder for `/gnu/store/5q7ixx1qjf7msamr052jc5jyfilhpsai-qemu-minimal-2.10.=
failed with exit code 1
cannot build derivation
`/gnu/store/5i56cl8c6608azkn67qy54nf2kqxfhkl-grub-2.02.drv': 1
dependencies couldn't be built
guix system: error: build failed: build of
`/gnu/store/5i56cl8c6608azkn67qy54nf2kqxfhkl-grub-2.02.drv' failed

It worked without errors the second time.


Acknowledgement sent to Gábor Boskovits <boskovits@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#33152; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 25 Oct 2018 16:00:02 UTC

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