From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uBNQKpIcvF80ZwAA0tVLHw (envelope-from ) for ; Mon, 23 Nov 2020 20:33:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wJZLJpIcvF9ZWAAA1q6Kng (envelope-from ) for ; Mon, 23 Nov 2020 20:33:22 +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 CFB6F9403A9 for ; Mon, 23 Nov 2020 20:33:21 +0000 (UTC) Received: from localhost ([::1]:36160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khIWW-00070E-N3 for larch@yhetil.org; Mon, 23 Nov 2020 15:33:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khHxP-00069M-HZ for bug-guix@gnu.org; Mon, 23 Nov 2020 14:57:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39737) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khHxO-000226-H4 for bug-guix@gnu.org; Mon, 23 Nov 2020 14:57:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1khHxO-0004Zi-Fy for bug-guix@gnu.org; Mon, 23 Nov 2020 14:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44827: tests/channels.scm: Test failures building on Debian i386 or armhf with libgit2-dev 1.0.1 Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 23 Nov 2020 19:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44827 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 44827@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160616136617518 (code B ref -1); Mon, 23 Nov 2020 19:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Nov 2020 19:56:06 +0000 Received: from localhost ([127.0.0.1]:51283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khHwT-0004YU-NG for submit@debbugs.gnu.org; Mon, 23 Nov 2020 14:56:06 -0500 Received: from lists.gnu.org ([209.51.188.17]:38786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khHwR-0004YM-Mx for submit@debbugs.gnu.org; Mon, 23 Nov 2020 14:56:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khHwQ-00056h-U3 for bug-guix@gnu.org; Mon, 23 Nov 2020 14:56:03 -0500 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:53216) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khHwJ-0001fR-RO for bug-guix@gnu.org; Mon, 23 Nov 2020 14:56:02 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100b]) (Authenticated sender: vagrant@aikidev.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 0FD221AA41 for ; Mon, 23 Nov 2020 11:55:49 -0800 (PST) From: Vagrant Cascadian Date: Mon, 23 Nov 2020 11:55:45 -0800 Message-ID: <87wnybhmpq.fsf@yucca> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=2600:3c01:e000:267:0:a171:de7:c; envelope-from=vagrant@reproducible-builds.org; helo=cascadia.aikidev.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Mailman-Approved-At: Mon, 23 Nov 2020 15:30:17 -0500 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: -2.61 X-TUID: TzcFshuacdri --=-=-= Content-Type: text/plain Fun With More Debian packaging test suite failures... Updating the build dependency to libgit2-dev >= 1.0.1 (which pulls in a similar version to what guix is using) fixes test suite failures ... but only on the amd64 architecture. The same tests pass Using an older version of libgit2-dev (0.28). FWIW, this is building with guile-3.0. The newer version of libgit2-dev introduces several test suite failures on i386 (and armhf) architectures, but the tests work fine on amd64. from tests/channels.log on i386: test-name: latest-channel-instances #:validate-pull location: /build/guix-M9TbTs/guix-1.2.0/tests/channels.scm:202 source: + (test-equal + "latest-channel-instances #:validate-pull" + 'descendant + (let/ec + return + (with-temporary-git-repository + directory + '((add "a.txt" "A") + (commit "first commit") + (add "b.scm" "#t") + (commit "second commit")) + (with-repository + directory + repository + (let* ((commit1 (find-commit repository "first")) + (commit2 (find-commit repository "second")) + (spec (channel + (url (string-append "file://" directory)) + (name 'foo))) + (new (channel + (inherit spec) + (commit (oid->string (commit-id commit2))))) + (old (channel + (inherit spec) + (commit (oid->string (commit-id commit1)))))) + (define (validate-pull channel current commit relation) + (return + (and (eq? channel old) + (string=? + (oid->string (commit-id commit2)) + current) + (string=? + (oid->string (commit-id commit1)) + commit) + relation))) + (with-store + store + (latest-channel-instances + store + (list old) + #:current-channels + (list new) + #:validate-pull + validate-pull))))))) expected-value: descendant actual-value: #f actual-error: + (git-error + #< code: -1 message: "invalid version 0 on git_proxy_options" class: 3>) result: FAIL test-name: channel-news, no news location: /build/guix-M9TbTs/guix-1.2.0/tests/channels.scm:312 source: + (test-equal + "channel-news, no news" + '() + (with-temporary-git-repository + directory + '((add "a.txt" "A") (commit "the commit")) + (with-repository + directory + repository + (let ((channel + (channel + (url (string-append "file://" directory)) + (name 'foo))) + (latest (reference-name->oid repository "HEAD"))) + (channel-news-for-commit + channel + (oid->string latest)))))) expected-value: () actual-value: #f actual-error: + (git-error + #< code: -1 message: "invalid version 0 on git_proxy_options" class: 3>) result: FAIL test-name: latest-channel-instances, missing introduction for 'guix' location: /build/guix-M9TbTs/guix-1.2.0/tests/channels.scm:413 source: + (test-assert + "latest-channel-instances, missing introduction for 'guix'" + (with-temporary-git-repository + directory + '((add "a.txt" "A") + (commit "first commit") + (add "b.scm" "#t") + (commit "second commit")) + (with-repository + directory + repository + (let* ((commit1 (find-commit repository "first")) + (commit2 (find-commit repository "second")) + (channel + (channel + (url (string-append "file://" directory)) + (name 'guix)))) + (guard (c ((formatted-message? c) + (->bool + Initialized empty Git repository in /tmp/guix-directory.82hhlD/.git/ [master (root-commit) 936aa16] first commit 1 file changed, 1 insertion(+) create mode 100644 a.txt [master 6c20741] second commit 1 file changed, 1 insertion(+) create mode 100644 b.scm gpg: keybox '/tmp/guix-directory.RpLKeD/pubring.kbx' created gpg: /tmp/guix-directory.RpLKeD/trustdb.gpg: trustdb created gpg: key 771F49CBFAAE072D: public key "Ed Two-Fifty " imported gpg: Total number processed: 1 gpg: imported: 1 gpg: key 771F49CBFAAE072D: "Ed Two-Fifty " not changed gpg: key 771F49CBFAAE072D: secret key imported gpg: Total number processed: 1 gpg: unchanged: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 gpg: key 82240EDCAB80DA83: public key "Charlie Guix " imported gpg: Total number processed: 1 gpg: imported: 1 gpg: key 82240EDCAB80DA83: "Charlie Guix " not changed gpg: key 82240EDCAB80DA83: secret key imported gpg: Total number processed: 1 gpg: unchanged: 1 gpg: secret keys read: 1 gpg: secret keys imported: 1 Initialized empty Git repository in /tmp/guix-directory.Zkbh5G/.git/ [master (root-commit) d174761] first commit 3 files changed, 12 insertions(+) create mode 100644 .guix-authorizations create mode 100644 .guix-channel create mode 100644 signer.key [master 9c9c798] second commit 1 file changed, 1 insertion(+) create mode 100644 random (string-contains + (formatted-message-string c) + "introduction")))) + (with-store + store + (latest-channel-instances store (list channel)) + #f)))))) actual-value: #f actual-error: + (git-error + #< code: -1 message: "invalid version 0 on git_proxy_options" class: 3>) result: FAIL live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHQEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCX7wTwQAKCRDcUY/If5cW qgJmAQClXqkc++GMThy0NzVI/RsMYykjn5ItJRMH9oWzM4nE3QD2Io1SQOuJiojG SPd/lPwKWLDIzlZWIclP/eFlQyjMDw== =V81c -----END PGP SIGNATURE----- --=-=-=--