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

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                 ` Gábor Boskovits
2018-04-05  8:56                   ` bug#25476: " Ludovic Courtès
2018-04-05  8:56                   ` Ludovic Courtès
2018-04-03 19:18                 ` bug#25476: " Gábor Boskovits

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.