From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 30 17:32:10 2016 Received: (at 24108) by debbugs.gnu.org; 30 Jul 2016 21:32:10 +0000 Received: from localhost ([127.0.0.1]:51863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bTbre-0000Dh-AP for submit@debbugs.gnu.org; Sat, 30 Jul 2016 17:32:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58481) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bTbrc-0000DU-Kk for 24108@debbugs.gnu.org; Sat, 30 Jul 2016 17:32:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTbrT-00064t-Ez for 24108@debbugs.gnu.org; Sat, 30 Jul 2016 17:32:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTbrT-00064p-Br; Sat, 30 Jul 2016 17:31:59 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:60278 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bTbrQ-0007gf-TN; Sat, 30 Jul 2016 17:31:57 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Dylan Jeffers Subject: Re: bug#24108: guix make tests failure References: <4c03321977ef605cc34a23986d83ce47@openmailbox.org> <874m77e0ky.fsf@gnu.org> <20160730104312.2166ffa5@openmailbox.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 13 Thermidor an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Sat, 30 Jul 2016 23:31:54 +0200 In-Reply-To: <20160730104312.2166ffa5@openmailbox.org> (Dylan Jeffers's message of "Sat, 30 Jul 2016 10:43:12 -0700") Message-ID: <87bn1ebynp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 24108 Cc: 24108@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) Dylan Jeffers skribis: > On Sat, 30 Jul 2016 15:07:25 +0200 > ludo@gnu.org (Ludovic Court=C3=A8s) wrote: [...] >> > test-name: clone >> > location: /home/sapientech/Dev/guix/guix_wip/tests/syscalls.scm:109 >> > source: >> > + (test-assert >> > + "clone" >> > + (match (clone (logior CLONE_NEWUSER SIGCHLD)) >> > + (0 (primitive-exit 42)) >> > + (pid (and (not (equal? >> > + (readlink (user-namespace pid)) >> > + (readlink (user-namespace (getpid))))) >> > + (match (waitpid pid) >> > + ((_ . status) (=3D 42 (status:exit-val >> > status)))))))) actual-value: #f >> > actual-error: >> > + (system-error >> > + "clone" >> > + "~d: ~A" >> > + (268435473 "Operation not permitted") >> > + (1)) >> > result: FAIL=20=20 >>=20 >> What does =E2=80=9Cuname -srv=E2=80=9D report on this machine? It seems= this kernel >> does not support namespaces. >>=20 >> Thanks, >> Ludo=E2=80=99. > > Hi Ludo, > > Thanks for getting back so quick. > Output of uname -srv: Linux 4.6.4-gnu-201607192040-1-grsec #1 SMP > PREEMPT Wed Jul 20 15:37:34 UYT 2016 These tests are skipped when user namespaces are not supported, as per this condition: (define perform-container-tests? (and (user-namespace-supported?) (unprivileged-user-namespace-supported?))) =E2=80=A6 which is true iff (1) /proc/self/ns/user exists, and (2) /proc/sys/kernel/unprivileged_userns_clone does not exist, or it exists and contains =E2=80=9C1=E2=80=9D. Do these files exist on this system? Maybe we should just ignore EPERM from (clone CLONE_NEWUSER) but it=E2=80= =99s annoying to annotate every single test that uses it. From a user viewpoint, this test failure simply mean that you cannot use the =E2=80=98--container=E2=80=99 option =E2=80=98guix environment=E2=80=99= on your system. Thanks, Ludo=E2=80=99.