From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Vong Subject: bug#21410: [TEST-FAIL] 2 tests failed when running `make check' on Debian Date: Tue, 15 Sep 2015 19:24:07 +0800 Message-ID: References: <20150907094741.1ff54819@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZboME-0001HZ-MN for bug-guix@gnu.org; Tue, 15 Sep 2015 07:25:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZboMA-0008MQ-B4 for bug-guix@gnu.org; Tue, 15 Sep 2015 07:25:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:40541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZboMA-0008L0-3y for bug-guix@gnu.org; Tue, 15 Sep 2015 07:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZboM9-0007Fm-OG for bug-guix@gnu.org; Tue, 15 Sep 2015 07:25:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: 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: "Thompson, David" Cc: 21410@debbugs.gnu.org Hi everyone, Any idea on the latest test failure? By the way, is the failure critical? Can I start doing packaging work for guix? Cheers, Alex 2015-09-09 18:02 GMT+08:00, Alex Vong : > Hi Dave, > > It appears that the patch doesn't quite work, now 20 tests failed > instead of 2. The log files are attached as a tar ball. I have tried > running the tests on the old source as well as on fresh new git clone. > In any case, 20 tests failed. I wonder why this happens. > > Cheers, > Alex > > 2015-09-08 3:42 GMT+08:00, Thompson, David : >> On Sun, Sep 6, 2015 at 9:47 PM, Alex Vong wrote: >>> Hi Dave, >>> >>> I have searched the internet according to the information you provided, >>> I find this bug report provides >>> useful information. >>> I have written an example program after going through the clone(2) man >>> page. >>> It demonstrates the problem and is inlined below. >>> >>> First, compile the program as `a.out'. >>> >>> Consider shell session 1: >>> >>> root# echo 0 > /proc/sys/kernel/unprivileged_userns_clone >>> user$ ./a.out >>> I am your parent >>> Start cloning... >>> Cannot clone! >>> >>> Consider shell session 2: >>> >>> root# echo 1 > /proc/sys/kernel/unprivileged_userns_clone >>> user$ ./a.out >>> I am your parent >>> Start cloning... >>> Cloned! >>> I am your child >>> >>> Any idea what's happenning? >>> I don't know Linux much, for instance I don't know what is container and >>> namespace in Linux. >> >> It seems that the kernel you are using has disabled the use of >> unprivileged user namespaces by default. After doing that echo as >> root, you should be able to run the tests successfully. Could you >> apply the attached patch and let me know if 'make check >> TESTS=tests/syscalls.scm' and 'make check TESTS=tests/containers.scm' >> pass in both when unprivileged user namespaces are disabled and when >> they are enabled? >> >> Thank you! >> >> - Dave >> >