From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eNSKKDxKhF8aaAAA0tVLHw (envelope-from ) for ; Mon, 12 Oct 2020 12:21:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WA45JDxKhF9TTQAAbx9fmQ (envelope-from ) for ; Mon, 12 Oct 2020 12:21:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E9DCA9402DD for ; Mon, 12 Oct 2020 12:21:14 +0000 (UTC) Received: from localhost ([::1]:55444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRwpF-0000GP-2K for larch@yhetil.org; Mon, 12 Oct 2020 08:21:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRwp4-0000DL-UG for bug-guix@gnu.org; Mon, 12 Oct 2020 08:21:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58543) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kRwp4-0005Em-Is for bug-guix@gnu.org; Mon, 12 Oct 2020 08:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kRwp4-0006mR-Dj for bug-guix@gnu.org; Mon, 12 Oct 2020 08:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43859: Test Suite Failures Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 12 Oct 2020 12:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43859 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Raphael Gosselin Received: via spool by 43859-submit@debbugs.gnu.org id=B43859.160250523826011 (code B ref 43859); Mon, 12 Oct 2020 12:21:02 +0000 Received: (at 43859) by debbugs.gnu.org; 12 Oct 2020 12:20:38 +0000 Received: from localhost ([127.0.0.1]:41856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRwog-0006lT-71 for submit@debbugs.gnu.org; Mon, 12 Oct 2020 08:20:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRwoc-0006lE-9P for 43859@debbugs.gnu.org; Mon, 12 Oct 2020 08:20:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42029) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRwoU-00056y-34; Mon, 12 Oct 2020 08:20:28 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=54198 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kRwoS-0002sg-2I; Mon, 12 Oct 2020 08:20:25 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 21 =?UTF-8?Q?Vend=C3=A9miaire?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 12 Oct 2020 14:20:22 +0200 In-Reply-To: (Raphael Gosselin's message of "Wed, 7 Oct 2020 19:30:48 -0400") Message-ID: <87k0vvr5yx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 43859@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.51 X-TUID: x+843mS0ZNJj Hi, Raphael Gosselin skribis: > Guix: 1.1.0 > Guile: 3.0.4 > Guile-Gcrypt: 0.3.0 > GnuTLS: 3.6.12 > Guile-SQLite3: 0.1.3 > Guile-Git: 0.3.0 > Guile-JSON: 4.3.2 > zlib: 1.2.11 > Make: 4.3 > Guile-SSH: 0.13.1 > libgcrypt: 1.8.5 > sqlite3: 3.31.1 > g++: 9.3.0 Was it on a =E2=80=9Cforeign distro=E2=80=9D? Are Guile-Gcrypt, Guile-JSON= , etc. coming from packages of the host distro? Or are you running =E2=80=9Cmake checking=E2=80=9D within =E2=80=9Cguix env= ironment guix=E2=80=9D, or perhaps with the =E2=80=98--container=E2=80=99 option? > location: /home/raph/guix-1.1.0/tests/builders.scm:50 > source: > + (test-assert > + "url-fetch" > + (let* ((url '("http://ftp.gnu.org/gnu/hello/hello-2.8.tar.gz" > + "ftp://ftp.gnu.org/gnu/hello/hello-2.8.tar.gz")) > + (hash (nix-base32-string->bytevector > + "0wqd8sjmxfskrflaxywc7gqw7sfawrfvdxd9skxawzfgyy0pzdz6"= )) > + (drv (url-fetch* > + %store > + url > + 'sha256 > + hash > + #:guile > + %bootstrap-guile)) > + (out-path (derivation->output-path drv))) > + (and (build-derivations %store (list drv)) > + (file-exists? out-path) > + (valid-path? %store out-path)))) > actual-value: #f > actual-error: > + (wrong-type-arg > + "struct-vtable" > + "Wrong type argument in position 1 (expecting struct): ~S" > + (#f) > + (#f)) > result: FAIL It looks as if guix-daemon was not running, although =E2=80=9Cmake check=E2= =80=9D automatically starts an instance. > test-name: crate->guix-package > location: /home/raph/guix-1.1.0/tests/crate.scm:246 > source: > + (test-assert > + "crate->guix-package" > + (mock ((guix http-client) > + http-fetch > + (lambda (url . rest) > + (match url > + ("https://crates.io/api/v1/crates/foo" > + (open-input-string test-foo-crate)) > + ("https://crates.io/api/v1/crates/foo/1.0.0/download" > + (set! test-source-hash > + (bytevector->nix-base32-string > + (sha256 > + (string->bytevector "empty file\n" "utf-8")))) > + (open-input-string "empty file\n")) > + ("https://crates.io/api/v1/crates/foo/1.0.0/dependenc= ies" > + (open-input-string test-foo-dependencies)) > + (_ (error "Unexpected URL: " url))))) > + (match (crate->guix-package "foo") > + (('package > + ('name "rust-foo") > + ('version "1.0.0") > + ('source > + ('origin > + ('method 'url-fetch) > + ('uri ('crate-uri "foo" 'version)) > + ('file-name > + ('string-append 'name "-" 'version ".tar.gz")) > + ('sha256 ('base32 (? string? hash))))) > + ('build-system 'cargo-build-system) > + ('arguments > + ('quasiquote > + ('#:cargo-inputs > + (("rust-bar" ('unquote rust-bar)))))) > + ('home-page "http://example.com") > + ('synopsis "summary") > + ('description "summary") > + ('license ('list 'license:expat 'license:asl2.0))) > + (string=3D? test-source-hash hash)) > + (x (pk 'fail x #f))))) > actual-value: #f > actual-error: > + (json-invalid #) > result: FAIL Guix 1.1.0 requires Guile-JSON 3.x: https://guix.gnu.org/manual/en/html_node/Requirements.html At the time Guile-JSON 4.x was not released yet, and as it turns out 4.x introduced incompatible changes. Could you try again with Guile-JSON 3.x? > test-name: channel-news, one entry > location: /home/raph/guix-1.1.0/tests/channels.scm:266 > source: > + (test-assert > + "channel-news, one entry" [...] > Initialized empty Git repository in /tmp/guix-directory.mTNwTv/.git/ > [master (root-commit) 24901ba] first commit > 1 file changed, 1 insertion(+) > create mode 100644 .guix-channel > [master 47ae9bd] second commit > 1 file changed, 1 insertion(+) > create mode 100644 src/a.txt > [master 17750b4] third commit > 1 file changed, 1 insertion(+) > create mode 100644 news.scm > [master 938b414] fourth commit > 1 file changed, 1 insertion(+) > create mode 100644 src/b.txt > [master ad7e153] fifth commit > 1 file changed, 1 insertion(+), 1 deletion(-) > actual-value: #f > result: FAIL I suspect this is because your ~/.gitconfig is being used, which was fixed in commit 3c91f003416c9fb79af2dc8766a7f449aa03f839 (see ). > @ build-started /home/raph/guix-1.1.0/test-tmp/store/z2hbf42p0rilqacllrlw= r8n7p6nd8k1k-guile-bootstrap-2.0.drv - x86_64-linux /home/raph/guix-1.1.0/t= est-tmp/var/log/guix/drvs/z2//hbf42p0rilqacllrlwr8n7p6nd8k1k-guile-bootstra= p-2.0.drv.bz2 10429 > while setting up the build environment: executing `/home/raph/guix-1.1.0/= test-tmp/store/yd91vyb838z41y7pp56ndfc5vv417656-bash': Exec format error > builder for `/home/raph/guix-1.1.0/test-tmp/store/z2hbf42p0rilqacllrlwr8n= 7p6nd8k1k-guile-bootstrap-2.0.drv' failed with exit code 1 > @ build-failed /home/raph/guix-1.1.0/test-tmp/store/z2hbf42p0rilqacllrlwr= 8n7p6nd8k1k-guile-bootstrap-2.0.drv - 1 builder for `/home/raph/guix-1.1.0/= test-tmp/store/z2hbf42p0rilqacllrlwr8n7p6nd8k1k-guile-bootstrap-2.0.drv' fa= iled with exit code 1 > cannot build derivation `/home/raph/guix-1.1.0/test-tmp/store/8abwvl1mpdn= 99sancxacb9rh94cm5qnh-something.drv': 1 dependencies couldn't be built > actual-value: #f > actual-error: > + (%exception > + #<&store-protocol-error message: "build of `/home/raph/guix-1.1.0/tes= t-tmp/store/8abwvl1mpdn99sancxacb9rh94cm5qnh-something.drv' failed" status:= 100>) This (=E2=80=9CExec format error=E2=80=9D) is fishy. What does this comman= d print: file -L /home/raph/guix-1.1.0/test-tmp/store/yd91vyb838z41y7pp56ndfc5vv41= 7656-bash ? Many failures are due to this. Next time, please send =E2=80=98test-suite.log=E2=80=99, which contains the concatenation of all the individual logs. Thanks for your report! Ludo=E2=80=99.