all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* make check-system failure: encrypted-root-os
@ 2016-07-28  5:10 Chris Marusich
  2016-07-28 12:49 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Marusich @ 2016-07-28  5:10 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 2367 bytes --]

Hi,

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:

--8<---------------cut here---------------start------------->8---
+ 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
--8<---------------cut here---------------end--------------->8---

It fails when I run any of the following commands:

* make check-system
* make -j check-system
* make check-system TESTS='install encrypted-root-os'

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.

I'm not sure how to troubleshoot further.  Does anyone have any ideas?

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: make check-system failure: encrypted-root-os
  2016-07-28  5:10 make check-system failure: encrypted-root-os Chris Marusich
@ 2016-07-28 12:49 ` Ludovic Courtès
  2016-07-28 16:12   ` Chris Marusich
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2016-07-28 12:49 UTC (permalink / raw)
  To: Chris Marusich; +Cc: guix-devel

Hi Chris,

Chris Marusich <cmmarusich@gmail.com> 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’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: make check-system failure: encrypted-root-os
  2016-07-28 12:49 ` Ludovic Courtès
@ 2016-07-28 16:12   ` Chris Marusich
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Marusich @ 2016-07-28 16:12 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 265 bytes --]

ludo@gnu.org (Ludovic Courtès) writes:

> 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.  ;-)

OK, thanks for confirming!  Glad to know this had a simple answer.

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-28 16:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-28  5:10 make check-system failure: encrypted-root-os Chris Marusich
2016-07-28 12:49 ` Ludovic Courtès
2016-07-28 16:12   ` Chris Marusich

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.