From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: make check-system failure: encrypted-root-os Date: Thu, 28 Jul 2016 14:49:24 +0200 Message-ID: <87mvl2hqqz.fsf@gnu.org> References: <87k2g68i0p.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSkkm-0007qj-Ck for guix-devel@gnu.org; Thu, 28 Jul 2016 08:49:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSkki-0007Cu-EY for guix-devel@gnu.org; Thu, 28 Jul 2016 08:49:32 -0400 In-Reply-To: <87k2g68i0p.fsf@gmail.com> (Chris Marusich's message of "Wed, 27 Jul 2016 22:10:30 -0700") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Chris Marusich Cc: guix-devel@gnu.org Hi Chris, Chris Marusich 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=E2=80= =99t mention it, and also the reason why it doesn=E2=80=99t work. ;-) My bad! (Glad you found it though; it suggests a backdoor wouldn=E2=80=99t go unnot= iced for too long=E2=80=A6) > + mount LABEL=3Dmy-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/9rd90hq8zak77bbx2pk9aqdvka= jkv13j-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.d= rv - 1 builder for `/gnu/store/drq919a4vikymgmhv14x2x1wqp4wwab2-installatio= n.drv' failed with exit code 1 > cannot build derivation `/gnu/store/rrif23d8cbbn1wr26rjjcn01yqcch724-encr= ypted-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=E2=80=99s 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, =E2=80=9Ccat /mnt/etc/config=E2=80=9D fails, whi= ch 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 , which is not committed yet. I=E2=80=99ll try to resume work on this since I messed up in the first plac= e. Thanks! Ludo=E2=80=99.