[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch core-updates-frozen updated: gnu: util-linux: Disable unreliable
From: |
guix-commits |
Subject: |
branch core-updates-frozen updated: gnu: util-linux: Disable unreliable ioctl_ns test on IA-32. |
Date: |
Sun, 15 Aug 2021 06:15:20 -0400 |
This is an automated email from the git hooks/post-receive script.
mothacehe pushed a commit to branch core-updates-frozen
in repository guix.
The following commit(s) were added to refs/heads/core-updates-frozen by this
push:
new 77480fb gnu: util-linux: Disable unreliable ioctl_ns test on IA-32.
77480fb is described below
commit 77480fb19212e7c323e2506c5bb3e1bfe21ead15
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sun Aug 8 11:06:42 2021 +0200
gnu: util-linux: Disable unreliable ioctl_ns test on IA-32.
* gnu/packages/linux.scm
(util-linux)[arguments]<#:phases>{delete-lsns-test}:
New phase.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
gnu/packages/linux.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index cd3e465..bb57466 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -53,6 +53,7 @@
;;; Copyright © 2020 pukkamustard <pukkamustard@posteo.net>
;;; Copyright © 2021 B. Wilson <elaexuotee@wilsonb.com>
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
+;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1804,6 +1805,16 @@ providing the system administrator with some help in
common tasks.")
(string-append
all "\n"
"ts_skip \"setarch tests are unreliable under
QEMU\"")))))
+ ,@(if (target-x86-32?)
+ `((add-before 'check 'disable-lsns-test
+ (lambda _
+ ;; The lsns tests can fail due to ioctl(_,
NS_GET_USERNS)
+ ;; returning ENOTTY, indicating this kernel does
not
+ ;; support user namespaces. Curiously, this
test can fail
+ ;; on i686 even if the same test passes on
x86_64 on the
+ ;; same machine. See
<https://issues.guix.gnu.org/49933>.
+ (delete-file "tests/ts/lsns/ioctl_ns"))))
+ '())
(add-after 'install 'move-static-libraries
(lambda* (#:key outputs #:allow-other-keys)
(let ((lib (assoc-ref outputs "lib"))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch core-updates-frozen updated: gnu: util-linux: Disable unreliable ioctl_ns test on IA-32.,
guix-commits <=