From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Hinsen Subject: bug#23582: Test failure on "make check" from a fresh git checkout (commit 9684e30b9b597b93ae9c797ba8f3b40eff893ebe) Date: Thu, 19 May 2016 17:17:50 +0200 Message-ID: <573DD91E.5080702@fastmail.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010308060600030907010300" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3PjB-0001wn-A3 for bug-guix@gnu.org; Thu, 19 May 2016 11:19:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3Pj6-0007Bu-49 for bug-guix@gnu.org; Thu, 19 May 2016 11:19:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3Pj3-0007Bg-SI for bug-guix@gnu.org; Thu, 19 May 2016 11:19:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b3Pj3-0001Nj-Nl for bug-guix@gnu.org; Thu, 19 May 2016 11:19:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3PiG-0001ky-FZ for bug-guix@gnu.org; Thu, 19 May 2016 11:18:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3PiB-0006yL-C8 for bug-guix@gnu.org; Thu, 19 May 2016 11:18:11 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:40717) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3Pi8-0006wb-Ud for bug-guix@gnu.org; Thu, 19 May 2016 11:18:07 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id A47442096C for ; Thu, 19 May 2016 11:17:53 -0400 (EDT) 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: 23582@debbugs.gnu.org This is a multi-part message in MIME format. --------------010308060600030907010300 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit SKIP: tests/base32.scm PASS: tests/base64.scm PASS: tests/cpio.scm PASS: tests/hash.scm PASS: tests/pk-crypto.scm PASS: tests/pki.scm PASS: tests/sets.scm PASS: tests/gnu-maintenance.scm PASS: tests/substitute.scm PASS: tests/builders.scm PASS: tests/derivations.scm PASS: tests/grafts.scm PASS: tests/ui.scm PASS: tests/records.scm PASS: tests/upstream.scm PASS: tests/combinators.scm PASS: tests/utils.scm PASS: tests/build-utils.scm PASS: tests/packages.scm SKIP: tests/snix.scm PASS: tests/hackage.scm PASS: tests/cran.scm PASS: tests/elpa.scm PASS: tests/store.scm PASS: tests/monads.scm PASS: tests/gexp.scm PASS: tests/nar.scm PASS: tests/union.scm PASS: tests/profiles.scm PASS: tests/syscalls.scm SKIP: tests/gremlin.scm PASS: tests/lint.scm PASS: tests/publish.scm PASS: tests/scripts.scm PASS: tests/size.scm PASS: tests/graph.scm PASS: tests/challenge.scm PASS: tests/cve.scm PASS: tests/file-systems.scm PASS: tests/system.scm PASS: tests/services.scm PASS: tests/scripts-build.scm PASS: tests/containers.scm PASS: tests/import-utils.scm PASS: tests/pypi.scm PASS: tests/cpan.scm PASS: tests/gem.scm PASS: tests/guix-build.sh PASS: tests/guix-download.sh PASS: tests/guix-hash.sh PASS: tests/guix-package.sh PASS: tests/guix-package-net.sh PASS: tests/guix-system.sh PASS: tests/guix-archive.sh PASS: tests/guix-authenticate.sh PASS: tests/guix-environment.sh FAIL: tests/guix-environment-container.sh PASS: tests/guix-graph.sh PASS: tests/guix-lint.sh PASS: tests/guix-register.sh PASS: tests/guix-gc.sh PASS: tests/guix-daemon.sh ============================================================================ Testsuite summary for GNU Guix 0.10.0 ============================================================================ # TOTAL: 565 # PASS: 561 # SKIP: 3 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See ./test-suite.log Please report to bug-guix@gnu.org ============================================================================ --------------010308060600030907010300 Content-Type: text/x-log; name="test-suite.log" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="test-suite.log" ======================================= GNU Guix 0.10.0: ./test-suite.log ======================================= # TOTAL: 565 # PASS: 561 # SKIP: 3 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 SKIP: tests/base32 ================== sh: nix-hash: command not found test-name: bytevector->base32-string location: /home/hinsen/Development/guix/tests/base32.scm:48 source: + (test-assert + "bytevector->base32-string" + (fold (lambda (bv expected result) + (and result + (string=? + (bytevector->base32-string bv) + expected))) + #t + (map string->utf8 + '("" "f" "fo" "foo" "foob" "fooba" "foobar")) + '("" + "my" + "mzxq" + "mzxw6" + "mzxw6yq" + "mzxw6ytb" + "mzxw6ytboi"))) actual-value: #t result: PASS test-name: base32-string->bytevector location: /home/hinsen/Development/guix/tests/base32.scm:65 source: + (test-assert + "base32-string->bytevector" + (every (lambda (bv) + (equal? + (base32-string->bytevector + (bytevector->base32-string bv)) + bv)) + (map string->utf8 + '("" "f" "fo" "foo" "foob" "fooba" "foobar")))) actual-value: #t result: PASS test-name: nix-base32-string->bytevector location: /home/hinsen/Development/guix/tests/base32.scm:73 source: + (test-assert + "nix-base32-string->bytevector" + (every (lambda (bv) + (equal? + (nix-base32-string->bytevector + (bytevector->nix-base32-string bv)) + bv)) + (map string->utf8 + '("" "f" "fo" "foo" "foob" "fooba" "foobar")))) actual-value: #t result: PASS test-name: &invalid-base32-character location: /home/hinsen/Development/guix/tests/base32.scm:81 source: + (test-equal + "&invalid-base32-character" + #\e + (guard (c ((invalid-base32-character? c) + (invalid-base32-character-value c))) + (nix-base32-string->bytevector + (string-append (make-string 51 #\a) "e")))) expected-value: e actual-value: e result: PASS test-name: sha256 & bytevector->nix-base32-string location: /home/hinsen/Development/guix/tests/base32.scm:92 source: + (test-assert + "sha256 & bytevector->nix-base32-string" + (let ((file (search-path %load-path "tests/test.drv"))) + (equal? + (bytevector->nix-base32-string + (sha256 + (call-with-input-file file get-bytevector-all))) + (let* ((c (format + #f + "~a --type sha256 --base32 --flat \"~a\"" + %nix-hash + file)) + (p (open-input-pipe c)) + (l (read-line p))) + (close-pipe p) + l)))) result: SKIP SKIP: tests/snix ================ test-name: factorize-uri location: /home/hinsen/Development/guix/tests/snix.scm:36 source: + (test-assert + "factorize-uri" + (every? + (match-lambda + ((uri version '-> expected) + (equal? (factorize-uri uri version) expected))) + '(("http://example.com/foo.tgz" + "1.0" + -> + "http://example.com/foo.tgz") + ("http://example.com/foo-2.8.tgz" + "2.8" + -> + ("http://example.com/foo-" version ".tgz")) + ("http://example.com/2.8/foo-2.8.tgz" + "2.8" + -> + ("http://example.com/" + version + "/foo-" + version + ".tgz"))))) actual-value: #t result: PASS test-name: nixpkgs->guix-package location: /home/hinsen/Development/guix/tests/snix.scm:54 source: + (test-assert + "nixpkgs->guix-package" + (match (nixpkgs->guix-package + %nixpkgs-directory + "guile") + (('package + ('name "guile") + ('version (? string?)) + ('source ('origin _ ...)) + ('build-system _) + ('inputs ('quasiquote (inputs ...))) + ('propagated-inputs ('quasiquote (pinputs ...))) + ('home-page (? string?)) + ('synopsis (? string?)) + ('description (? string?)) + ('license (? symbol?))) + (and (member '("libffi" ,libffi) inputs) + (member '("gmp" ,gmp) pinputs) + #t)) + (x (pk 'fail x #f)))) result: SKIP SKIP: tests/gremlin =================== test-name: elf-dynamic-info-needed, executable location: /home/hinsen/Development/guix/tests/gremlin.scm:44 source: + (test-assert + "elf-dynamic-info-needed, executable" + (let* ((elf (call-with-input-file %guile-executable read-elf)) + (dyninfo (elf-dynamic-info elf))) + (or (not dyninfo) + (lset<= + string=? + (list (string-append "libguile-" (effective-version)) + "libgc" + "libunistring" + "libffi") + (map (lambda (lib) + (string-take lib (string-contains lib ".so"))) + (elf-dynamic-info-needed dyninfo)))))) result: SKIP test-name: expand-origin location: /home/hinsen/Development/guix/tests/gremlin.scm:55 source: + (test-equal + "expand-origin" + '("OOO/../lib" + "OOO" + "../OOO/bar/OOO/baz" + "ORIGIN/foo") + (map (cut expand-origin <> "OOO") + '("$ORIGIN/../lib" + "${ORIGIN}" + "../${ORIGIN}/bar/$ORIGIN/baz" + "ORIGIN/foo"))) expected-value: (OOO/../lib OOO ../OOO/bar/OOO/baz ORIGIN/foo) actual-value: (OOO/../lib OOO ../OOO/bar/OOO/baz ORIGIN/foo) result: PASS FAIL: tests/guix-environment-container ====================================== + set -e + guix environment --version guix environment (GNU Guix) 0.10.0 Copyright (C) 2016 the Guix authors License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. + guile -c '((@@ (guix scripts environment) assert-container-features))' + tmpdir=t-guix-environment-20990 + trap 'rm -r "$tmpdir"' EXIT + mkdir t-guix-environment-20990 + guix environment --container --ad-hoc --bootstrap guile-bootstrap -- guile -c '(exit 42)' accepted connection from pid 21005, user hinsen + test 1 = 42 + rm -r t-guix-environment-20990 FAIL tests/guix-environment-container.sh (exit status: 1) --------------010308060600030907010300--