From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maria Sidorova Subject: Re: Test fail Date: Thu, 29 Mar 2018 15:56:45 +0300 Message-ID: References: <7892d168-8c29-a7e0-36e5-93bd97c99b5b@gmail.com> <400dd649-1da5-b97c-dd7c-d710caaad1e9@gmail.com> <76b42f8b-63be-82d2-42e0-ed708cf217f6@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]:57550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1X6q-0003rL-C7 for help-guix@gnu.org; Thu, 29 Mar 2018 08:56:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1X6n-0005iU-8e for help-guix@gnu.org; Thu, 29 Mar 2018 08:56:52 -0400 Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]:45566) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f1X6m-0005i8-SX for help-guix@gnu.org; Thu, 29 Mar 2018 08:56:49 -0400 Received: by mail-lf0-x22d.google.com with SMTP id q5-v6so8254721lff.12 for ; Thu, 29 Mar 2018 05:56:48 -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 15:51, Gábor Boskovits wrote: > 2018-03-29 14:46 GMT+02:00 Maria Sidorova >: > > > > 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 > > > Ok, this is a known linux kernel bug, that entered the upstream linux > kernel with version 4.7.5. > Ubuntu backported the commit causing this behaviour to 4.4.0. This is > actually safe to ignore, > Do you see problems related to pivot_root anywhere else than this test? > No, there's no other problems with that.