From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#23836: bae0636 bournish: Add 'wc' command. make check FAIL: 9 Date: Fri, 24 Jun 2016 14:30:24 +0200 Message-ID: <87h9ci6a73.fsf@gnu.org> References: <868txvse36.fsf@gmail.com> 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]:36240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGQGJ-0006zI-0O for bug-guix@gnu.org; Fri, 24 Jun 2016 08:31:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGQGE-0001Yy-KO for bug-guix@gnu.org; Fri, 24 Jun 2016 08:31:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:41157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGQGE-0001Yq-Gl for bug-guix@gnu.org; Fri, 24 Jun 2016 08:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bGQGE-0001MV-Cj for bug-guix@gnu.org; Fri, 24 Jun 2016 08:31:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <868txvse36.fsf@gmail.com> (myglc2@gmail.com's message of "Thu, 23 Jun 2016 19:03:09 -0400") 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: myglc2 Cc: 23836@debbugs.gnu.org Hello, myglc2 skribis: > Running Guix on Debian 8.3 from git bae0636 bournish: Add 'wc' command. > test-name: query narinfo without signature > location: /home/g1/dev/guix/tests/substitute.scm:173 > source: > + (test-equal > + "query narinfo without signature" > + "" > + (with-narinfo > + %narinfo > + (string-trim-both > + (with-output-to-string > + (lambda () > + (with-input-from-string > + (string-append > + "have " > + (%store-prefix) > + "/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-foo") > + (lambda () (guix-substitute "--query")))))))) > expected-value:=20 > actual-value: #f > actual-error: > + (system-error > + "lstat" > + "~A: ~S" > + ("No such file or directory" > + "/home/g1/dev/guix/test-tmp/var/24621/cache-24621/guix/substitute/") > + (2)) > result: FAIL This is fishy. Could it be that files in this directory were being accessed or removed concurrently? Could you retry these tests with: make check TESTS=3Dtests/substitute.scm ? > test-name: container-excursion > location: /home/g1/dev/guix/tests/containers.scm:100 > source: > + (test-assert > + "container-excursion" > + (call-with-temporary-directory > + (lambda (root) > + (match (list (pipe) (pipe)) > + (((start-in . start-out) (end-in . end-out)) > + (define (container) > + (close end-out) > + (close start-in) > + (write 'ready start-out) > + (close start-out) > + (read end-in) > + (close end-in)) > + (define (namespaces pid) > + (let ((pid (number->string pid))) > + (map (lambda (ns) > + (readlink (string-append "/proc/" pid "/ns/" n= s))) > + '("user" "ipc" "uts" "net" "pid" "mnt")))) > + (let* ((pid (run-container root '() %namespaces 1 contain= er)) > + (container-namespaces (namespaces pid)) > + (result > + (begin > + (close start-out) > + (read start-in) > + (close start-in) > + (container-excursion > + pid > + (lambda () > + (match (primitive-fork) > + (0 > + (assert-exit > + (equal? > + container-namespaces > + (namespaces (getpid))))) > + (fork-pid > + (match (waitpid fork-pid) > + ((_ . status) > + (primitive-exit > + (status:exit-val > + status))))))))))) > + (close end-in) > + (write 'done end-out) > + (close end-out) > + (waitpid pid) > + (zero? result))))))) > actual-value: #f > actual-error: > + (system-error > + "clone" > + "~d: ~A" > + (2080505873 "Operation not permitted") > + (1)) > result: FAIL You can ignore this one: the previous tests were skipped due to lack of support for user namespaces on this system, and this one should have been fixed too (I=E2=80=99ll update tests/containers.scm so that it really = skips it.) Thanks for your report! Ludo=E2=80=99.