guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make check-system failure: encrypted-root-os


From: Ludovic Courtès
Subject: Re: make check-system failure: encrypted-root-os
Date: Thu, 28 Jul 2016 14:49:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hi Chris,

Chris Marusich <address@hidden> skribis:

> Every time I try to run "make check-system", the test
> "encrypted-root-os" fails.  It fails on commit
> b1bf155ffd9b160afdf05aff39d3f0b0f6d11589 (July 18, when I it was
> introduced), and it fails on debc6360e111e8efc8a938b2aef28e5b3616ada8
> (July 26).  I can't find a test log, but the last output from the
> command line was this:

I committed this test by mistake, which is why the commit log doesn’t
mention it, and also the reason why it doesn’t work.  ;-)

My bad!

(Glad you found it though; it suggests a backdoor wouldn’t go unnoticed
for too long…)

> + mount LABEL=my-root /mnt
> [   17.853136] EXT4-fs (dm-0): mounted filesystem with ordered data mode. 
> Opts: (null)
> + herd start cow-store /mnt
> Service cow-store has been started.
> + mkdir /mnt/etc
> + cp /etc/target-config.scm /mnt/etc/config.scm
> + cat /mnt/etc/config
> cat: /mnt/etc/config: No such file or directory
> environment variable `PATH' set to 
> `/gnu/store/9rd90hq8zak77bbx2pk9aqdvkajkv13j-qemu-minimal-2.6.0/bin'
> QEMU runs as PID 6
> connected to QEMU's monitor
> read QEMU monitor prompt
> connected to guest REPL
> marionette is ready
>
> ;;; (uname #("Linux" "gnu" "4.7.0-gnu" "#1 SMP 1" "x86_64"))
> note: keeping build directory `/tmp/guix-build-installation.drv-3'
> builder for `/gnu/store/drq919a4vikymgmhv14x2x1wqp4wwab2-installation.drv' 
> failed with exit code 1
> @ build-failed /gnu/store/drq919a4vikymgmhv14x2x1wqp4wwab2-installation.drv - 
> 1 builder for `/gnu/store/drq919a4vikymgmhv14x2x1wqp4wwab2-installation.drv' 
> failed with exit code 1
> cannot build derivation 
> `/gnu/store/rrif23d8cbbn1wr26rjjcn01yqcch724-encrypted-root-os.drv': 1 
> dependencies couldn't be built
> TOTAL: 5
> PASS: /gnu/store/avcz2mjh8wl418z9irnzn42ky5yy5mxg-basic
> PASS: /gnu/store/6363gfph3lsz73b6lbjc70jza10225zm-mcron
> PASS: /gnu/store/3zzcb9jr5mgdyj6jrsbbwxk4x1avr4ic-nss-mdns
> PASS: /gnu/store/7a82ixw0a800j3lh72fbx8a2fry7cvmn-installed-os
> FAIL: /gnu/store/l24vacjwnwcwr0lrrhwwb94zisz2r0j1-encrypted-root-os
> Makefile:4837: recipe for target 'check-system' failed
> make: *** [check-system] Error 1

Here the test fails during the installation phase, so there’s no
additional log file produced.  You should find a couple of
/tmp/guix-build-* directories, but they are of no use; everything is in
the build log above (here, “cat /mnt/etc/config” fails, which aborts the
installation.)

> I also tried running the test as root, just in case there was some kind
> of permissions problem related to KVM or something.  However, it still
> failed.

No KVM problem here: the transcript that we see above is that of the
installation process running in QEMU/KVM.  See (gnu tests install) for
the complete installation script.

This test was meant to test the patch at <http://bugs.gnu.org/21843>,
which is not committed yet.

I’ll try to resume work on this since I messed up in the first place.

Thanks!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]