all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Test fail
@ 2018-03-27 21:34 Maria Sidorova
  2018-03-28  6:33 ` Gábor Boskovits
  0 siblings, 1 reply; 14+ messages in thread
From: Maria Sidorova @ 2018-03-27 21:34 UTC (permalink / raw)
  To: help-guix

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?

Thanks,
Maria.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Test fail
  2018-03-27 21:34 Test fail Maria Sidorova
@ 2018-03-28  6:33 ` Gábor Boskovits
  2018-03-28  6:36   ` Maria Sidorova
  0 siblings, 1 reply; 14+ messages in thread
From: Gábor Boskovits @ 2018-03-28  6:33 UTC (permalink / raw)
  To: Maria Sidorova; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 2128 bytes --]

2018-03-27 23:34 GMT+02:00 Maria Sidorova <hydromasha@gmail.com>:

> 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?
>
>
Can you please write the type of system you are building guix on?
We recently discovered that on systemd based systems pivot-root
might fail because of shared mountpoints.


> Thanks,
> Maria.
>
>

[-- Attachment #2: Type: text/html, Size: 3204 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Test fail
  2018-03-28  6:33 ` Gábor Boskovits
@ 2018-03-28  6:36   ` Maria Sidorova
  2018-03-28 13:51     ` Gábor Boskovits
  0 siblings, 1 reply; 14+ messages in thread
From: Maria Sidorova @ 2018-03-28  6:36 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: help-guix



On 28.03.2018 09:33, Gábor Boskovits wrote:
> 2018-03-27 23:34 GMT+02:00 Maria Sidorova <hydromasha@gmail.com 
> <mailto:hydromasha@gmail.com>>:
> 
>     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?
> 
> 
> Can you please write the type of system you are building guix on?
> We recently discovered that on systemd based systems pivot-root
> might fail because of shared mountpoints.

Ubuntu 16.04 (64)

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Test fail
  2018-03-28  6:36   ` Maria Sidorova
@ 2018-03-28 13:51     ` Gábor Boskovits
  2018-03-29  6:17       ` Gábor Boskovits
  0 siblings, 1 reply; 14+ messages in thread
From: Gábor Boskovits @ 2018-03-28 13:51 UTC (permalink / raw)
  To: Maria Sidorova; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 2937 bytes --]

2018-03-28 8:36 GMT+02:00 Maria Sidorova <hydromasha@gmail.com>:

>
>
> On 28.03.2018 09:33, Gábor Boskovits wrote:
>
>> 2018-03-27 23:34 GMT+02:00 Maria Sidorova <hydromasha@gmail.com <mailto:
>> hydromasha@gmail.com>>:
>>
>>
>>     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.


>
>> Can you please write the type of system you are building guix on?
>> We recently discovered that on systemd based systems pivot-root
>> might fail because of shared mountpoints.
>>
>
> Ubuntu 16.04 (64)
>

[-- Attachment #2: Type: text/html, Size: 4595 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Test fail
  2018-03-28 13:51     ` Gábor Boskovits
@ 2018-03-29  6:17       ` Gábor Boskovits
  2018-03-29 12:46         ` Maria Sidorova
  0 siblings, 1 reply; 14+ messages in thread
From: Gábor Boskovits @ 2018-03-29  6:17 UTC (permalink / raw)
  To: Maria Sidorova; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 3439 bytes --]

2018-03-28 15:51 GMT+02:00 Gábor Boskovits <boskovits@gmail.com>:

> 2018-03-28 8:36 GMT+02:00 Maria Sidorova <hydromasha@gmail.com>:
>
>>
>>
>> On 28.03.2018 09:33, Gábor Boskovits wrote:
>>
>>> 2018-03-27 23:34 GMT+02:00 Maria Sidorova <hydromasha@gmail.com <mailto:
>>> hydromasha@gmail.com>>:
>>>
>>>
>>>     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 ?


>
>>
>>> Can you please write the type of system you are building guix on?
>>> We recently discovered that on systemd based systems pivot-root
>>> might fail because of shared mountpoints.
>>>
>>
>> Ubuntu 16.04 (64)
>>
>
>

[-- Attachment #2: Type: text/html, Size: 5832 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Test fail
  2018-03-29  6:17       ` Gábor Boskovits
@ 2018-03-29 12:46         ` Maria Sidorova
  2018-03-29 12:51           ` Gábor Boskovits
  0 siblings, 1 reply; 14+ messages in thread
From: Maria Sidorova @ 2018-03-29 12:46 UTC (permalink / raw)
  To: Gábor 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 <boskovits@gmail.com 
> <mailto:boskovits@gmail.com>>:
> 
>     2018-03-28 8:36 GMT+02:00 Maria Sidorova <hydromasha@gmail.com
>     <mailto:hydromasha@gmail.com>>:
> 
> 
> 
>         On 28.03.2018 09:33, Gábor Boskovits wrote:
> 
>             2018-03-27 23:34 GMT+02:00 Maria Sidorova
>             <hydromasha@gmail.com <mailto:hydromasha@gmail.com>
>             <mailto:hydromasha@gmail.com <mailto:hydromasha@gmail.com>>>:
> 
> 
>                  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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Test fail
  2018-03-29 12:46         ` Maria Sidorova
@ 2018-03-29 12:51           ` Gábor Boskovits
  2018-03-29 12:56             ` Maria Sidorova
  0 siblings, 1 reply; 14+ messages in thread
From: Gábor Boskovits @ 2018-03-29 12:51 UTC (permalink / raw)
  To: Maria Sidorova; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 4599 bytes --]

2018-03-29 14:46 GMT+02:00 Maria Sidorova <hydromasha@gmail.com>:

>
>
> On 29.03.2018 09:17, Gábor Boskovits wrote:
>
>> 2018-03-28 15:51 GMT+02:00 Gábor Boskovits <boskovits@gmail.com <mailto:
>> boskovits@gmail.com>>:
>>
>>     2018-03-28 8:36 GMT+02:00 Maria Sidorova <hydromasha@gmail.com
>>     <mailto:hydromasha@gmail.com>>:
>>
>>
>>
>>         On 28.03.2018 09:33, Gábor Boskovits wrote:
>>
>>             2018-03-27 23:34 GMT+02:00 Maria Sidorova
>>             <hydromasha@gmail.com <mailto:hydromasha@gmail.com>
>>             <mailto:hydromasha@gmail.com <mailto:hydromasha@gmail.com>>>:
>>
>>
>>
>>                  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?

[-- Attachment #2: Type: text/html, Size: 7113 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Test fail
  2018-03-29 12:51           ` Gábor Boskovits
@ 2018-03-29 12:56             ` Maria Sidorova
  2018-03-30 16:39               ` bug#25476: " Ludovic Courtès
  2018-03-30 16:39               ` Ludovic Courtès
  0 siblings, 2 replies; 14+ messages in thread
From: Maria Sidorova @ 2018-03-29 12:56 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: help-guix



On 29.03.2018 15:51, Gábor Boskovits wrote:
> 2018-03-29 14:46 GMT+02:00 Maria Sidorova <hydromasha@gmail.com 
> <mailto:hydromasha@gmail.com>>:
> 
> 
> 
>     On 29.03.2018 09:17, Gábor Boskovits wrote:
> 
>         2018-03-28 15:51 GMT+02:00 Gábor Boskovits <boskovits@gmail.com
>         <mailto:boskovits@gmail.com> <mailto:boskovits@gmail.com
>         <mailto:boskovits@gmail.com>>>:
> 
>              2018-03-28 8:36 GMT+02:00 Maria Sidorova
>         <hydromasha@gmail.com <mailto:hydromasha@gmail.com>
>              <mailto:hydromasha@gmail.com <mailto:hydromasha@gmail.com>>>:
> 
> 
> 
>                  On 28.03.2018 09:33, Gábor Boskovits wrote:
> 
>                      2018-03-27 23:34 GMT+02:00 Maria Sidorova
>                      <hydromasha@gmail.com <mailto:hydromasha@gmail.com>
>         <mailto:hydromasha@gmail.com <mailto:hydromasha@gmail.com>>
>                      <mailto:hydromasha@gmail.com
>         <mailto:hydromasha@gmail.com> <mailto:hydromasha@gmail.com
>         <mailto:hydromasha@gmail.com>>>>:
> 
> 
> 
>                           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>
>              <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?
>

No, there's no other problems with that.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#25476: Test fail
  2018-03-29 12:56             ` Maria Sidorova
@ 2018-03-30 16:39               ` Ludovic Courtès
  2018-03-30 16:39               ` Ludovic Courtès
  1 sibling, 0 replies; 14+ messages in thread
From: Ludovic Courtès @ 2018-03-30 16:39 UTC (permalink / raw)
  To: Maria Sidorova; +Cc: 25476, help-guix

Hi Maria,

Thanks for your report.  In practice you can safely ignore this test
failure.  We had a similar report earlier that this fails on Ubuntu:
<https://bugs.gnu.org/25476>.

Something we should do, though, is to at least skip the test when we
know we’re using a faulty kernel.  Currently we already have:

  ;; XXX: Skip this test when running Linux > 4.7.5 to work around
  ;; <https://bugzilla.kernel.org/show_bug.cgi?id=183461>.
  (when (or (not perform-container-tests?)
            (version>? (utsname:release (uname)) "4.7.5"))
    (test-skip 1))

Gábor, given what you wrote about Ubuntu’s 4.4 kernel, should we
explicitly flag “4.4.0-116-generic” in a similar way?  Would it be
enough?

Thank you both!

Ludo’.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Test fail
  2018-03-29 12:56             ` Maria Sidorova
  2018-03-30 16:39               ` bug#25476: " Ludovic Courtès
@ 2018-03-30 16:39               ` Ludovic Courtès
  2018-04-03 19:18                 ` bug#25476: " Gábor Boskovits
  2018-04-03 19:18                 ` Gábor Boskovits
  1 sibling, 2 replies; 14+ messages in thread
From: Ludovic Courtès @ 2018-03-30 16:39 UTC (permalink / raw)
  To: Maria Sidorova; +Cc: 25476, help-guix

Hi Maria,

Thanks for your report.  In practice you can safely ignore this test
failure.  We had a similar report earlier that this fails on Ubuntu:
<https://bugs.gnu.org/25476>.

Something we should do, though, is to at least skip the test when we
know we’re using a faulty kernel.  Currently we already have:

  ;; XXX: Skip this test when running Linux > 4.7.5 to work around
  ;; <https://bugzilla.kernel.org/show_bug.cgi?id=183461>.
  (when (or (not perform-container-tests?)
            (version>? (utsname:release (uname)) "4.7.5"))
    (test-skip 1))

Gábor, given what you wrote about Ubuntu’s 4.4 kernel, should we
explicitly flag “4.4.0-116-generic” in a similar way?  Would it be
enough?

Thank you both!

Ludo’.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#25476: Test fail
  2018-03-30 16:39               ` Ludovic Courtès
@ 2018-04-03 19:18                 ` Gábor Boskovits
  2018-04-03 19:18                 ` Gábor Boskovits
  1 sibling, 0 replies; 14+ messages in thread
From: Gábor Boskovits @ 2018-04-03 19:18 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 25476, help-guix, Maria Sidorova

[-- Attachment #1: Type: text/plain, Size: 1107 bytes --]

Ludovic Courtès <ludo@gnu.org> ezt írta (időpont: 2018. márc. 30., P 18:39):

> Hi Maria,
>
> Thanks for your report.  In practice you can safely ignore this test
> failure.  We had a similar report earlier that this fails on Ubuntu:
> <https://bugs.gnu.org/25476>.
>
> Something we should do, though, is to at least skip the test when we
> know we’re using a faulty kernel.  Currently we already have:
>
>   ;; XXX: Skip this test when running Linux > 4.7.5 to work around
>   ;; <https://bugzilla.kernel.org/show_bug.cgi?id=183461>.
>   (when (or (not perform-container-tests?)
>             (version>? (utsname:release (uname)) "4.7.5"))
>     (test-skip 1))
>
> Gábor, given what you wrote about Ubuntu’s 4.4 kernel, should we
> explicitly flag “4.4.0-116-generic” in a similar way?  Would it be
> enough?
>
>
>
Yes, it seems that would be enough.
We also have this "4.4.0-21-generic" for not x86.

Alternatively we can point Ubuntu users to the LTSEnablementStack.
This provides a 4.8 kernel since 16.04.2. (feb. 2017.)


> Thank you both!
>
> Ludo’.
>

[-- Attachment #2: Type: text/html, Size: 1910 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Test fail
  2018-03-30 16:39               ` Ludovic Courtès
  2018-04-03 19:18                 ` bug#25476: " Gábor Boskovits
@ 2018-04-03 19:18                 ` Gábor Boskovits
  2018-04-05  8:56                   ` bug#25476: " Ludovic Courtès
  2018-04-05  8:56                   ` Ludovic Courtès
  1 sibling, 2 replies; 14+ messages in thread
From: Gábor Boskovits @ 2018-04-03 19:18 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 25476, help-guix, Maria Sidorova

[-- Attachment #1: Type: text/plain, Size: 1107 bytes --]

Ludovic Courtès <ludo@gnu.org> ezt írta (időpont: 2018. márc. 30., P 18:39):

> Hi Maria,
>
> Thanks for your report.  In practice you can safely ignore this test
> failure.  We had a similar report earlier that this fails on Ubuntu:
> <https://bugs.gnu.org/25476>.
>
> Something we should do, though, is to at least skip the test when we
> know we’re using a faulty kernel.  Currently we already have:
>
>   ;; XXX: Skip this test when running Linux > 4.7.5 to work around
>   ;; <https://bugzilla.kernel.org/show_bug.cgi?id=183461>.
>   (when (or (not perform-container-tests?)
>             (version>? (utsname:release (uname)) "4.7.5"))
>     (test-skip 1))
>
> Gábor, given what you wrote about Ubuntu’s 4.4 kernel, should we
> explicitly flag “4.4.0-116-generic” in a similar way?  Would it be
> enough?
>
>
>
Yes, it seems that would be enough.
We also have this "4.4.0-21-generic" for not x86.

Alternatively we can point Ubuntu users to the LTSEnablementStack.
This provides a 4.8 kernel since 16.04.2. (feb. 2017.)


> Thank you both!
>
> Ludo’.
>

[-- Attachment #2: Type: text/html, Size: 1910 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* bug#25476: Test fail
  2018-04-03 19:18                 ` Gábor Boskovits
@ 2018-04-05  8:56                   ` Ludovic Courtès
  2018-04-05  8:56                   ` Ludovic Courtès
  1 sibling, 0 replies; 14+ messages in thread
From: Ludovic Courtès @ 2018-04-05  8:56 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: 25476, help-guix, Maria Sidorova

Hello,

Gábor Boskovits <boskovits@gmail.com> skribis:

> Ludovic Courtès <ludo@gnu.org> ezt írta (időpont: 2018. márc. 30., P 18:39):
>
>> Hi Maria,
>>
>> Thanks for your report.  In practice you can safely ignore this test
>> failure.  We had a similar report earlier that this fails on Ubuntu:
>> <https://bugs.gnu.org/25476>.
>>
>> Something we should do, though, is to at least skip the test when we
>> know we’re using a faulty kernel.  Currently we already have:
>>
>>   ;; XXX: Skip this test when running Linux > 4.7.5 to work around
>>   ;; <https://bugzilla.kernel.org/show_bug.cgi?id=183461>.
>>   (when (or (not perform-container-tests?)
>>             (version>? (utsname:release (uname)) "4.7.5"))
>>     (test-skip 1))
>>
>> Gábor, given what you wrote about Ubuntu’s 4.4 kernel, should we
>> explicitly flag “4.4.0-116-generic” in a similar way?  Would it be
>> enough?
>>
>>
>>
> Yes, it seems that would be enough.
> We also have this "4.4.0-21-generic" for not x86.

OK, done.

As time passes, this test can no longer run given the constraints
above.  We should probably rethink it…

> Alternatively we can point Ubuntu users to the LTSEnablementStack.
> This provides a 4.8 kernel since 16.04.2. (feb. 2017.)

Yeah, well, no big deal.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Test fail
  2018-04-03 19:18                 ` Gábor Boskovits
  2018-04-05  8:56                   ` bug#25476: " Ludovic Courtès
@ 2018-04-05  8:56                   ` Ludovic Courtès
  1 sibling, 0 replies; 14+ messages in thread
From: Ludovic Courtès @ 2018-04-05  8:56 UTC (permalink / raw)
  To: Gábor Boskovits; +Cc: 25476, help-guix, Maria Sidorova

Hello,

Gábor Boskovits <boskovits@gmail.com> skribis:

> Ludovic Courtès <ludo@gnu.org> ezt írta (időpont: 2018. márc. 30., P 18:39):
>
>> Hi Maria,
>>
>> Thanks for your report.  In practice you can safely ignore this test
>> failure.  We had a similar report earlier that this fails on Ubuntu:
>> <https://bugs.gnu.org/25476>.
>>
>> Something we should do, though, is to at least skip the test when we
>> know we’re using a faulty kernel.  Currently we already have:
>>
>>   ;; XXX: Skip this test when running Linux > 4.7.5 to work around
>>   ;; <https://bugzilla.kernel.org/show_bug.cgi?id=183461>.
>>   (when (or (not perform-container-tests?)
>>             (version>? (utsname:release (uname)) "4.7.5"))
>>     (test-skip 1))
>>
>> Gábor, given what you wrote about Ubuntu’s 4.4 kernel, should we
>> explicitly flag “4.4.0-116-generic” in a similar way?  Would it be
>> enough?
>>
>>
>>
> Yes, it seems that would be enough.
> We also have this "4.4.0-21-generic" for not x86.

OK, done.

As time passes, this test can no longer run given the constraints
above.  We should probably rethink it…

> Alternatively we can point Ubuntu users to the LTSEnablementStack.
> This provides a 4.8 kernel since 16.04.2. (feb. 2017.)

Yeah, well, no big deal.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-04-05  8:57 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-27 21:34 Test fail Maria Sidorova
2018-03-28  6:33 ` Gábor Boskovits
2018-03-28  6:36   ` Maria Sidorova
2018-03-28 13:51     ` Gábor Boskovits
2018-03-29  6:17       ` Gábor Boskovits
2018-03-29 12:46         ` Maria Sidorova
2018-03-29 12:51           ` Gábor Boskovits
2018-03-29 12:56             ` Maria Sidorova
2018-03-30 16:39               ` bug#25476: " Ludovic Courtès
2018-03-30 16:39               ` Ludovic Courtès
2018-04-03 19:18                 ` bug#25476: " Gábor Boskovits
2018-04-03 19:18                 ` Gábor Boskovits
2018-04-05  8:56                   ` bug#25476: " Ludovic Courtès
2018-04-05  8:56                   ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.