[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21410: Environment containers

From: Ludovic Courtès
Subject: bug#21410: Environment containers
Date: Wed, 28 Oct 2015 15:45:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Alex Vong <address@hidden> skribis:

> On 27/10/2015, Ludovic Courtès <address@hidden> wrote:


>> Do you still experience the test failures mentioned in that report?  If
>> not, could you email address@hidden, 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=tests/guix-environment-container.sh

and send ‘guix-environment-container.log’?

Also, what does:

  make check TESTS=tests/container.scm




--- 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]