GNU bug report logs -
#21410
[TEST-FAIL] 2 tests failed when running `make check' on Debian
Previous Next
Reported by: Alex Vong <alexvong1995 <at> gmail.com>
Date: Fri, 4 Sep 2015 07:24:01 UTC
Severity: normal
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
Full log
Message #47 received at 21410 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Alex Vong <alexvong1995 <at> gmail.com> skribis:
> On 27/10/2015, Ludovic Courtès <ludo <at> gnu.org> wrote:
[...]
>> Do you still experience the test failures mentioned in that report? If
>> not, could you email 21410 <at> 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=tests/guix-environment-container.sh
and send ‘guix-environment-container.log’?
Also, what does:
make check TESTS=tests/container.scm
report?
TIA!
Ludo’.
[Message part 2 (text/x-patch, 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
This bug report was last modified 9 years and 189 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.