From: ludo@gnu.org (Ludovic Courtès)
To: Konrad Hinsen <konrad.hinsen@fastmail.net>
Cc: 26981@debbugs.gnu.org
Subject: bug#26981: Test failure in guix (commit 872a6fd98868d345443f04efdfd974d148c57f9d)
Date: Fri, 19 May 2017 10:16:35 +0200 [thread overview]
Message-ID: <87mva9i7mk.fsf@gnu.org> (raw)
In-Reply-To: <4321befc-be71-82c5-20a2-69abdfefdc04@fastmail.net> (Konrad Hinsen's message of "Thu, 18 May 2017 08:38:15 +0200")
Hi Konrad,
Konrad Hinsen <konrad.hinsen@fastmail.net> skribis:
> ==================================================
> GNU Guix 0.12.0.3916-872a6: ./test-suite.log
> ==================================================
>
> # TOTAL: 706
> # PASS: 701
> # SKIP: 4
> # XFAIL: 0
> # FAIL: 1
> # XPASS: 0
> # ERROR: 0
[...]
> test-name: pivot-root
> location: /home/hinsen/Development/guix/tests/syscalls.scm:154
> 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
What does “uname -r” report on your system?
This test is known to exercise a kernel bug on recent versions:
;; 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))
(This functionality is used only by the container facilities of ‘guix
environment’ and ‘guix system’, so you shouldn’t take it as a blocker.)
Thanks for reporting the issue,
Ludo’.
next prev parent reply other threads:[~2017-05-19 8:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-18 6:38 bug#26981: Test failure in guix (commit 872a6fd98868d345443f04efdfd974d148c57f9d) Konrad Hinsen
2017-05-19 8:16 ` Ludovic Courtès [this message]
2017-05-19 9:56 ` Konrad Hinsen
2020-12-03 6:31 ` bug#26981: Bug report follow up Robert Smith
2020-12-03 8:11 ` Konrad Hinsen
2020-12-03 18:23 ` Robert Smith
2020-12-04 8:05 ` Konrad Hinsen
2020-12-04 19:14 ` Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mva9i7mk.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=26981@debbugs.gnu.org \
--cc=konrad.hinsen@fastmail.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.