From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#21410: Environment containers Date: Wed, 28 Oct 2015 15:45:01 +0100 Message-ID: <87mvv3832q.fsf@gnu.org> References: <87y4epsnjs.fsf@T420.taylan> <87r3kgwpb8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrRzM-0002rJ-3H for bug-guix@gnu.org; Wed, 28 Oct 2015 10:46:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrRzG-0006f0-Ep for bug-guix@gnu.org; Wed, 28 Oct 2015 10:46:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrRzG-0006ew-Bq for bug-guix@gnu.org; Wed, 28 Oct 2015 10:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZrRzG-0003os-1n for bug-guix@gnu.org; Wed, 28 Oct 2015 10:46:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Alex Vong's message of "Wed, 28 Oct 2015 21:10:11 +0800") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Alex Vong Cc: guix-devel , 21410@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Alex Vong skribis: > On 27/10/2015, Ludovic Court=C3=A8s wrote: [...] >> Do you still experience the test failures mentioned in that report? If >> not, could you email 21410@debbugs.gnu.org, specifying which commit >> works for you? >> > Yes, there are 4 tests still failing with the latest master branch > without unprivileged container. Which tests? Does tests/container.scm pass? > But there is a new problem, tests/guix-environment-container.sh fails > even when running the tests as root. The test log is in the > attachment. [...] > (for-each (lambda (mount) > (display mount) > (newline)) > mappings)' > accepted connection from pid 9627, user root (trusted) > ++ wc -l > + test 4 -eq 3 Could you apply the patch below, run: make check TESTS=3Dtests/guix-environment-container.sh and send =E2=80=98guix-environment-container.log=E2=80=99? Also, what does: make check TESTS=3Dtests/container.scm report? TIA! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline --- a/tests/guix-environment-container.sh +++ b/tests/guix-environment-container.sh @@ -66,6 +66,7 @@ mount_test_code=" guix environment --container --ad-hoc --bootstrap guile-bootstrap \ -- guile -c "$mount_test_code" > $tmpdir/mounts +cat $tmpdir/mounts test `wc -l < $tmpdir/mounts` -eq 3 grep -e "$PWD$" $tmpdir/mounts # current directory --=-=-=--