From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wMllAUm4j18JXAAA0tVLHw (envelope-from ) for ; Wed, 21 Oct 2020 04:25:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id odvcOEi4j182EAAAB5/wlQ (envelope-from ) for ; Wed, 21 Oct 2020 04:25:44 +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 868829404C4 for ; Wed, 21 Oct 2020 04:25:44 +0000 (UTC) Received: from localhost ([::1]:40188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kV5h1-0007cu-HT for larch@yhetil.org; Wed, 21 Oct 2020 00:25:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50706) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kV5gN-0007aV-Dt for bug-guix@gnu.org; Wed, 21 Oct 2020 00:25:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35895) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kV5gM-0002pj-Ln for bug-guix@gnu.org; Wed, 21 Oct 2020 00:25:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kV5gM-0001M6-Iu for bug-guix@gnu.org; Wed, 21 Oct 2020 00:25:02 -0400 Subject: bug#41932: make check failures Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Wed, 21 Oct 2020 04:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 41932 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Mail-Followup-To: 41932@debbugs.gnu.org, maxim.cournoyer@gmail.com, simendsjo@gmail.com Received: via spool by 41932-done@debbugs.gnu.org id=D41932.16032542725150 (code D ref 41932); Wed, 21 Oct 2020 04:25:02 +0000 Received: (at 41932-done) by debbugs.gnu.org; 21 Oct 2020 04:24:32 +0000 Received: from localhost ([127.0.0.1]:47441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kV5fr-0001L0-Lz for submit@debbugs.gnu.org; Wed, 21 Oct 2020 00:24:32 -0400 Received: from mail-qv1-f68.google.com ([209.85.219.68]:35823) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kV5fm-0001Kj-HR for 41932-done@debbugs.gnu.org; Wed, 21 Oct 2020 00:24:30 -0400 Received: by mail-qv1-f68.google.com with SMTP id cv1so464083qvb.2 for <41932-done@debbugs.gnu.org>; Tue, 20 Oct 2020 21:24:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=zDCIUhNPjA64f/vfLOjz5zk+/2X+r3rwBYUxjg9DumA=; b=panedQeMp7sXT3T2FGr+oiJIRcxgWy25vRbTh0vE5l3SfyYJCWkSRWPnlprfgJUmD7 L0X5+UH+4N2x5o/0STIVATcyA9GJDdPnAMJKkDFDlEyekm4hXOn6Bt2cQErd4skuDaMv M1Yf3gLwL7wNilHdOTd/6v0WoWRYLn+LBA4Zf9QqLEtFoZoivVzlfPMdcdjuZR3Nf+oh SwEFqWIIyV9D4rVZqicF4iTIMPF1+NaxUQyYhtDxHJjrPTWp5JcoYGP5CUipByOL2S1N orS6ZFAC1N1RwZnn4LmGiL3GKcpP334Zyx+paBvWZW35K9pAUil8YPn7G8DpEQTEHJ7X jpJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=zDCIUhNPjA64f/vfLOjz5zk+/2X+r3rwBYUxjg9DumA=; b=eRY//4NwbnZs5SOYQjQs7xDMYDSoFswv/gAil1jFLNT2X9K17ko+RG2qy3enqyw96i qwIJCY6MQiYuIUOrH8kXLrBAOBo0wKmmhcHwPMzqqBbi1KEwAZ017MZ3Y2yauMiFscCV c5UcRrGYGppR6lRSxeuwgyWfMZzYPjO5sTD33WfMcE1K1lXsbVFBrLMD7+rVo7XnEChq gnkRYzWzJ9Gm94+Fdvw8XmiiuHA2zc7RzO6aH58lWweG3187OvFfISeGdWtz/c2tJuXJ 94p4P6wS60ksAhhuM7h82ZoxEE4Zkfjthekqe6ucykeRvUeiBhNuxcYWw6IXSuDFNhxR +nbQ== X-Gm-Message-State: AOAM5318u7QqHD/xyuw/Fr3aip7DenGZyvF02k4C+kNNdwlONWDxD+PX pcoWcuL+HN53l+gPKDcWIK3Vc12wZ/9OMA== X-Google-Smtp-Source: ABdhPJyPSAZMxI7EP1oc+ofM58+ysTvbnv4SpNR3hc8UUETDe3prRFu2GqpMOLXwZ3pEL1OJ0Tn3Zw== X-Received: by 2002:ad4:4e4d:: with SMTP id eb13mr1076358qvb.62.1603254260762; Tue, 20 Oct 2020 21:24:20 -0700 (PDT) Received: from hurd (dsl-141-39.b2b2c.ca. [66.158.141.39]) by smtp.gmail.com with ESMTPSA id y94sm594912qtd.7.2020.10.20.21.24.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Oct 2020 21:24:20 -0700 (PDT) From: Maxim Cournoyer References: <87sges3cim.fsf@gmail.com> <87lfkiast8.fsf@gnu.org> Date: Wed, 21 Oct 2020 00:24:19 -0400 In-Reply-To: <87lfkiast8.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sat, 20 Jun 2020 13:18:59 +0200") Message-ID: <87a6wg4364.fsf@gmail.com> 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: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Simen =?UTF-8?Q?Endsj=C3=B8?= , 41932-done@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=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=panedQeM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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.59 X-TUID: vAUt5dVUOZgS Hello! Ludovic Court=C3=A8s writes: > Hi Simen, > > Thanks for your report. Some explanations follow: > > Simen Endsj=C3=B8 skribis: > >> test-name: channel-news, one entry >> location: /home/simendsjo/code/guix/tests/channels.scm:318 >> source: >> + (test-assert >> + "channel-news, one entry" >> + (with-temporary-git-repository >> + directory >> + `((add ".guix-channel" >> + ,(object->string >> + '(channel (version 0) (news-file "news.scm")))) >> + (commit "first commit") >> + (add "src/a.txt" "A") >> + (commit "second commit") >> + (tag "tag-for-first-news-entry") >> + (add "news.scm" >> + ,(lambda (repository) >> + (let ((previous >> + (reference-name->oid repository "HEAD"))) >> + (object->string >> + `(channel-news >> + (version 0) >> + (entry (commit ,(oid->string previous)) >> + (title (en "New file!") (eo "Nova >> dosiero!")) >> + (body (en "Yeah, a.txt.")))))))) >> + (commit "third commit") >> + (add "src/b.txt" "B") >> + (commit "fourth commit") >> + (add "news.scm" >> + ,(lambda (repository) >> + (let ((second >> + (commit-id >> + (find-commit repository "second commit"))) >> + (previous >> + (reference-name->oid repository "HEAD"))) >> + (object->string >> + `(channel-news >> + (version 0) >> + (entry (commit ,(oid->string previous)) >> + (title (en "Another file!")) >> + (body (en "Yeah, b.txt."))) >> + (entry (tag "tag-for-first-news-entry") >> + (title (en "Old news.") (eo >> "Malnova?oj.")) > > Seems you=E2=80=99re missing a UTF-8 locale, which causes this test to fa= il. > >> test-name: signed commits, SHA1 signature >> location: /home/simendsjo/code/guix/tests/git-authenticate.scm:60 >> source: >> + (test-assert >> + "signed commits, SHA1 signature" >> + (with-fresh-gnupg-setup >> + (list %ed25519-public-key-file >> + %ed25519-secret-key-file) >> + (call-with-output-file >> + (string-append (getenv "GNUPGHOME") "/gpg.conf") >> + (lambda (port) (display "digest-algo sha1" port))) >> + (with-temporary-git-repository >> + directory >> + `((add "a.txt" "A") >> + (add "signer.key" >> + ,(call-with-input-file >> + %ed25519-public-key-file >> + get-string-all)) >> + (add ".guix-authorizations" >> + ,(object->string >> + `(authorizations >> + (version 0) >> + ((,(key-fingerprint %ed25519-public-key-file) >> + (name "Charlie")))))) >> + (commit >> + "first commit" >> + (signer >> + ,(key-fingerprint %ed25519-public-key-file)))) >> + (with-repository >> + directory >> + repository >> + (let ((commit (find-commit repository "first"))) >> + (guard (c ((unsigned-commit-error? c) >> + (oid=3D? (git-authentication-error-commit c) >> + (commit-id commit)))) >> + (authenticate-commits >> + repository >> + (list commit) >> + #:keyring-reference >> + "master") >> + 'failed)))))) >> actual-value: #f >> actual-error: >> + (%exception >> + #<&invoke-error program: "gpg" arguments: ("--import" >> "/home/simendsjo/code/guix/tests/ed25519.key") exit-status: 127 >> term-signal: #f stop-signal: #f>) >> result: FAIL > > Looks like =E2=80=98gpg=E2=80=99 is missing from $PATH. The test should = have been > skipped, but there was a typo; fixed now. > >> + set -e >> + guix environment --version >> guix environment (GNU Guix) 1.0.1.18382-e418c >> Copyright (C) 2020 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))' >> Backtrace: >> In ice-9/boot-9.scm: >> 1736:10 8 (with-exception-handler _ _ #:unwind? _ # _) >> In unknown file: >> 7 (apply-smob/0 #) >> In ice-9/boot-9.scm: >> 718:2 6 (call-with-prompt _ _ #> default-prompt-handle?>) >> In ice-9/eval.scm: >> 619:8 5 (_ #(#(#))) >> In ice-9/command-line.scm: >> 185:18 4 (_ #) >> In unknown file: >> 3 (eval ((@@ (guix scripts environment) #)) #> (?>) >> In ice-9/eval.scm: >> 182:19 2 (proc #f) >> 142:16 1 (compile-top-call #f (5 (guix scripts environment) . #) #) >> In unknown file: >> 0 (%resolve-variable (5 (guix scripts environment) # . >> #f) ?) >> >> ERROR: In procedure %resolve-variable: >> error: assert-container-features: unbound variable >> + exit 77 >> SKIP tests/guix-environment-container.sh (exit status: 77) > > Oops, not a test failure, but still an issue here. > >> FAIL: tests/guix-repl >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> + guix repl --version >> guix repl (GNU Guix) 1.0.1.18382-e418c >> Copyright (C) 2020 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. >> ++ mktemp -d >> + test_directory=3D/tmp/tmp.1dOO9LbJgB >> + export test_directory >> + trap 'chmod -Rf +w "$test_directory"; rm -rf "$test_directory"' EXIT >> + tmpfile=3D/tmp/tmp.1dOO9LbJgB/foo.scm >> + rm -f /tmp/tmp.1dOO9LbJgB/foo.scm >> + trap 'rm -f "$tmpfile"' EXIT >> + module_dir=3Dt-guix-repl-20146 >> + mkdir t-guix-repl-20146 >> + trap 'rm -rf "$module_dir"' EXIT >> + cat >> ++ guix repl /tmp/tmp.1dOO9LbJgB/foo.scm >> + test 'Consider installing the '\''guile-readline'\'' package for >> convenient interactive line editing and input history. >> >> Consider installing the '\''guile-colorized'\'' package >> for a colorful Guile experience. >> >> coreutils' =3D coreutils >> + rm -rf t-guix-repl-20146 >> FAIL tests/guix-repl.sh (exit status: 1) > > Here ~/.guile is read by =E2=80=98guix repl=E2=80=99 when it shouldn=E2= =80=99t. I believe this > was fixed by 290c3166212d1c7150ac64ea6d6f6ad506c4d29b. > > Thanks for reporting these issues! > > Ludo=E2=80=99. Seems you've forgotten to press the 'close' button :-) Closing, Thanks! Maxim