[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Test fail
From: |
Maria Sidorova |
Subject: |
Test fail |
Date: |
Wed, 28 Mar 2018 00:34:57 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
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.
- Test fail,
Maria Sidorova <=
- Re: Test fail, Gábor Boskovits, 2018/03/28
- Re: Test fail, Maria Sidorova, 2018/03/28
- Re: Test fail, Gábor Boskovits, 2018/03/28
- Re: Test fail, Gábor Boskovits, 2018/03/29
- Re: Test fail, Maria Sidorova, 2018/03/29
- Re: Test fail, Gábor Boskovits, 2018/03/29
- Re: Test fail, Maria Sidorova, 2018/03/29
- Re: Test fail, Ludovic Courtès, 2018/03/30