help-guix
[Top][All Lists]
Advanced

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

Re: Test fail


From: Gábor Boskovits
Subject: Re: Test fail
Date: Thu, 29 Mar 2018 14:51:52 +0200

2018-03-29 14:46 GMT+02:00 Maria Sidorova <address@hidden>:


On 29.03.2018 09:17, Gábor Boskovits wrote:
2018-03-28 15:51 GMT+02:00 Gábor Boskovits <address@hidden <mailto:address@hidden>>:

    2018-03-28 8:36 GMT+02:00 Maria Sidorova <address@hidden
    <mailto:address@hidden>>:



        On 28.03.2018 09:33, Gábor Boskovits wrote:

            2018-03-27 23:34 GMT+02:00 Maria Sidorova
            <address@hidden <mailto:address@hidden>
            <mailto:address@hidden <mailto:address@hidden>>>:



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


reply via email to

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