From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Test suite failures Date: Mon, 13 Jul 2015 18:45:46 +0200 Message-ID: <87pp3wypj9.fsf_-_@gnu.org> References: <877fr0i0kl.fsf@mdc-berlin.de> <3784bfce22f4406f8ee2d3affda0474c@exchsrv2.sgc.loc> <87oak4zxo8.fsf@gnu.org> <1436378615368.30302@stowers.org> <87h9pce79t.fsf@gnu.org> 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]:33554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEgrb-0005Pu-Ex for guix-devel@gnu.org; Mon, 13 Jul 2015 12:45:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZEgrV-00047d-Mc for guix-devel@gnu.org; Mon, 13 Jul 2015 12:45:55 -0400 In-Reply-To: (Malcolm Cook's message of "Sat, 11 Jul 2015 00:48:51 +0000") 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: "Cook, Malcolm" Cc: Guix-devel (Stripping the list of recipients.) "Cook, Malcolm" skribis: > In that thread, you suggested "What about installing Guix in /gnu/bin (sa= y) and sharing it over NFS?". Is there a way to `./bootstrap ./configure `= this? Something like -- exec_prefix=3D/gnu --localstatedir=3D/gnu/var?=20= =20 Yes, --exec-prefix=3D/gnu --localstatedir=3D/gnu/var (note =E2=80=9C--exec-= prefix=E2=80=9D with a hyphen.) > Also, you discussed need for setting NIX_STATE_DIR. This should not be n= eeded if guix was already installed with configuration of --localstatedir= =3D/guix/var (with /guix being nfs mounted), right? Right. > Ricardo also wrote "For =E2=80=98guix package=E2=80=99 to work, /gnu/var/= guix/profiles/per-user must be shared read-write (over NFS) with correct UI= D mapping." - I really don't understand this and tried to elicit feedback i= n http://lists.nongnu.org/archive/html/guix-devel/2015-07/msg00216.html - = Can anyone give me clarification on this. I though the guix daemon is goi= ng to manage these profiles. =E2=80=98guix package=E2=80=99 makes remote procedure calls (RPCs) to the d= aemon and the daemon does most things on its behalf. However, there=E2=80=99s one thing that =E2=80=98guix package=E2=80=99 does= directly by itself: updating the profile symlinks, ~/.guix-profile and its target, which is in $localstatedir. For that reason, =E2=80=98guix package=E2=80=99 must have write access to $localstatedir. Does that clarify things? > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > Testsuite summary for GNU Guix 0.8.3 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > # TOTAL: 42 > # PASS: 32 > # SKIP: 0 > # XFAIL: 0 > # FAIL: 10 > # XPASS: 0 > # ERROR: 0 [...] > FAIL: tests/cpio.scm What does =E2=80=98cpio --version=E2=80=99 returns? Could you email me (pr= ivately) the file =E2=80=98t.cpio=E2=80=99 made with these commands: cd /path/to/guix ln -s chbouib /tmp/somelink (for i in / $PWD /tmp/somelink $PWD/guix.scm \ $PWD/guix/build/syscalls.scm $PWD/guix/packages.scm ; \ do echo $i ; done ) | \ cpio -o -O t.cpio -H newc > FAIL: tests/builders.scm > FAIL: tests/derivations.scm These two show errors like: --8<---------------cut here---------------start------------->8--- output path `/home/mec/project/sce/guix/test-tmp/store/2l1h7am3q3c6sd4z5425= mp3kjady6nla-hello-2.8.tar.gz should be a non-executable regular file --8<---------------cut here---------------end--------------->8--- Which makes it sound like files are automatically made executable on this file system. What does =E2=80=98umask=E2=80=99 return? What about =E2=80=98mount | grep /home=E2=80=99? > FAIL: tests/packages.scm Ditto. > PASS: tests/snix.scm > PASS: tests/hackage.scm > PASS: tests/elpa.scm > FAIL: tests/store.scm This one shows this: --8<---------------cut here---------------start------------->8--- ;;; (c #) tests/store.scm:560: FAIL import corrupt path ;;; (verify1 #t) ;;; (verify2 #f) ;;; (verify3 #t) tests/store.scm:620: FAIL verify-store + check-contents --8<---------------cut here---------------end--------------->8--- This particular test is not designed to work with long $top_builddir like this (the test corrupts an archive, but in this case the corruption occurs in the middle of the file name, which confuses the test logic.) I=E2=80=99ll see how to fix it. > FAIL: tests/nar.scm --8<---------------cut here---------------start------------->8--- tests/nar.scm:172: FAIL write-file puts file in C locale collation order --8<---------------cut here---------------end--------------->8--- > FAIL: tests/union.scm =E2=80=9CNon-executable=E2=80=9D error as before. > PASS: tests/profiles.scm > FAIL: tests/syscalls.scm Harmless clone/setns/pivot-root test failures probably due to the fact that the host kernel is too old. Can you confirm that this is fixed in =E2=80=98master=E2=80=99 (commit b62a3eb)? Simply run: make check TESTS=3Dtests/syscalls.scm > FAIL: tests/guix-package-net.sh =E2=80=9CNon-executable=E2=80=9D error again. > FAIL: tests/guix-environment.sh Likewise. Thanks for your help! Ludo=E2=80=99.