From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maria Sidorova Subject: Re: Test fail Date: Thu, 29 Mar 2018 15:46:23 +0300 Message-ID: <76b42f8b-63be-82d2-42e0-ed708cf217f6@gmail.com> References: <7892d168-8c29-a7e0-36e5-93bd97c99b5b@gmail.com> <400dd649-1da5-b97c-dd7c-d710caaad1e9@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1Wwo-0007h0-4m for help-guix@gnu.org; Thu, 29 Mar 2018 08:46:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1Wwl-0000N5-1h for help-guix@gnu.org; Thu, 29 Mar 2018 08:46:30 -0400 Received: from mail-lf0-x232.google.com ([2a00:1450:4010:c07::232]:33661) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f1Wwk-0000L9-M5 for help-guix@gnu.org; Thu, 29 Mar 2018 08:46:26 -0400 Received: by mail-lf0-x232.google.com with SMTP id x70-v6so1400636lfa.0 for ; Thu, 29 Mar 2018 05:46:26 -0700 (PDT) In-Reply-To: Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: =?UTF-8?Q?G=c3=a1bor_Boskovits?= Cc: help-guix On 29.03.2018 09:17, Gábor Boskovits wrote: > 2018-03-28 15:51 GMT+02:00 Gábor Boskovits >: > > 2018-03-28 8:36 GMT+02:00 Maria Sidorova >: > > > > On 28.03.2018 09:33, Gábor Boskovits wrote: > > 2018-03-27 23:34 GMT+02:00 Maria Sidorova > > >>: > > >     Hello, > >     Running the test suite (`make check`) gives me one of > the tests failed. > >     This is from test-suite.log > >     test-name: pivot-root >     location: /home/masha/src/guix/tests/syscalls.scm:156 >     source: >     + (test-equal >     +   "pivot-root" >     +   #t >     +   (match (pipe) >     +          ((in . out) >     +           (match (clone (logior CLONE_NEWUSER > CLONE_NEWNS SIGCHLD)) >     +                  (0 >     +                   (dynamic-wind >     +                     (const #t) >     +                     (lambda () >     +                       (close in) >     +                       (call-with-temporary-directory >     +                         (lambda (root) >     +                           (let ((put-old > (string-append root >     "/real-root"))) >     +                             (mount "none" root "tmpfs") >     +                             (mkdir put-old) >     +                             (call-with-output-file >     +                               (string-append root > "/test") >     +                               (lambda (port) (display > "testing\n" >     port))) >     +                             (pivot-root root put-old) >     +                             (write (file-exists? > "/test") out) >     +                             (close out))))) >     +                     (lambda () (primitive-exit 0)))) >     +                  (pid (close out) >     +                       (let ((result (read in))) >     +                         (close in) >     +                         (and (zero? (match (waitpid pid) >     +                                            ((_ . status) >     + >  (status:exit-val >     status)))) >     +                              (eq? #t result)))))))) >     expected-value: #t >     actual-value: #f >     result: FAIL > > >     The summary is: >     # TOTAL: 777 >     # PASS:  772 >     # SKIP:  4 >     # XFAIL: 0 >     # FAIL:  1 >     # XPASS: 0 >     # ERROR: 0 > >     I'm novice in Guix, can anyone give me a clue? > > > Actually there are two possibilities. I'm trying to narrow this down > now. > There is a bug:https://bugzilla.kernel.org/show_bug.cgi?id=183461 > > in our bug tracker that might be affecting you, or the shared mounts > I noticed much later. I'm going to investigate this and report back. > > > I've created a vm image with a current Ubuntu 16.04 yesterday, installed > the guix binary tarball, and did a make check in a guix environment guix. > This error was not shown in my case. > > My uname -r is: >  4.10.0-28-generic > > This test should be skipped, if kernel version > 4.7.5. > Can you please send the output of uname -r ? 4.4.0-116-generic