From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#26981: Test failure in guix (commit 872a6fd98868d345443f04efdfd974d148c57f9d) Date: Fri, 19 May 2017 10:16:35 +0200 Message-ID: <87mva9i7mk.fsf@gnu.org> References: <4321befc-be71-82c5-20a2-69abdfefdc04@fastmail.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBd5w-0002s8-GW for bug-guix@gnu.org; Fri, 19 May 2017 04:17:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBd5p-0008Iq-Sn for bug-guix@gnu.org; Fri, 19 May 2017 04:17:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51667) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dBd5p-0008Ih-Pu for bug-guix@gnu.org; Fri, 19 May 2017 04:17:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dBd5p-0007kb-LB for bug-guix@gnu.org; Fri, 19 May 2017 04:17:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <4321befc-be71-82c5-20a2-69abdfefdc04@fastmail.net> (Konrad Hinsen's message of "Thu, 18 May 2017 08:38:15 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Konrad Hinsen Cc: 26981@debbugs.gnu.org Hi Konrad, Konrad Hinsen skribis: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > GNU Guix 0.12.0.3916-872a6: ./test-suite.log > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > > # 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-roo= t"))) > + (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 =E2=80=9Cuname -r=E2=80=9D 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 ;; . (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 =E2=80=98gu= ix environment=E2=80=99 and =E2=80=98guix system=E2=80=99, so you shouldn=E2= =80=99t take it as a blocker.) Thanks for reporting the issue, Ludo=E2=80=99.