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: Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Alex Vong's message of "Wed, 28 Oct 2015 21:10:11 +0800") 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 List-Id: guix-devel.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 --=-=-=--