X-Loop: help-debbugs@HIDDEN Subject: bug#71886: Diffoscope test suite fails with openssh 9.8p1 Resent-From: Richard Sent <richard@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Mon, 01 Jul 2024 21:51:01 +0000 Resent-Message-ID: <handler.71886.B.171987064215936 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 71886 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 71886 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.171987064215936 (code B ref -1); Mon, 01 Jul 2024 21:51:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jul 2024 21:50:42 +0000 Received: from localhost ([127.0.0.1]:34950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sOOv4-00048y-0s for submit <at> debbugs.gnu.org; Mon, 01 Jul 2024 17:50:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:52976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <richard@HIDDEN>) id 1sOOv2-00048r-SR for submit <at> debbugs.gnu.org; Mon, 01 Jul 2024 17:50:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard@HIDDEN>) id 1sOOv1-0000So-Fy for bug-guix@HIDDEN; Mon, 01 Jul 2024 17:50:39 -0400 Received: from mail-108-mta201.mxroute.com ([136.175.108.201]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard@HIDDEN>) id 1sOOuz-000736-LK for bug-guix@HIDDEN; Mon, 01 Jul 2024 17:50:39 -0400 Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta201.mxroute.com (ZoneMTA) with ESMTPSA id 190704724b900017a3.001 for <bug-guix@HIDDEN> (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Mon, 01 Jul 2024 21:50:29 +0000 X-Zone-Loop: bfd09025cca9c6472cc16b967f28e63407d736d11616 X-Originating-IP: [136.175.111.3] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freakingpenguin.com; s=x; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=SLthBg2tsZndnQ67/xULgRzYDSxuAf+tEUn/4/KGA/s=; b=aBA9+jfU2Cz6Ys24YCmvsoROS5 p82jHRUbSlB4c1w4TlhdCT6RNxpKtvroLUfL7eK7fu82HxMiOqfzQSCL1xIDpVOLLEY8ekHnPX3TR TJwWzQoB5Jrr5GhatW0qhSCTO33mXKdYwpzsAExDRo0XbBZdpMfwzUQJMuFmwRBxNedaVjmvLRjfQ k29nVkBl/4xXPZY9Anq3Tx/J/HdbQ+tAzwznGmmghBKQ0IDA6Jgl85s+sghau8GeNubCmMm+1G39v zaueMiicAIJ/+USX9d7a+6NWFN93FyArz3MTjk6sAqTjvmwL12bFhzGmRbVsJwWx8EZIM7EFz1671 aiCjxNcg==; From: Richard Sent <richard@HIDDEN> Date: Mon, 01 Jul 2024 17:50:20 -0400 Message-ID: <87frssdboj.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Authenticated-Id: richard@HIDDEN Received-SPF: pass client-ip=136.175.108.201; envelope-from=richard@HIDDEN; helo=mail-108-mta201.mxroute.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) Hi all, With Guix 6522f93ed098fa13f51f6d017035607e26237d31 diffoscope's test suite fails. I'm reporting this here in case we want to try to implement some kind of workaround in the meantime. Diffoscope does not seem to have an upstream issue opened yet. I tried reporting it but was blocked by the classic "yet another gitlab account that needs manual approval" problem. It's possible this problem is unique to Guix though. I tried upgrading Guix's Diffoscope to 271 and encountered the same issue. --8<---------------cut here---------------start------------->8--- =================================== FAILURES =================================== __________________________________ test_diff ___________________________________ differences = [] @skip_unless_tool_is_at_least("ssh-keygen", openssh_version, "6.9") def test_diff(differences): expected_diff = get_data("openssh_pub_key_expected_diff") > assert differences[0].unified_diff == expected_diff E IndexError: list index out of range tests/comparators/test_openssh_pub_key.py:60: IndexError __________________________ test_compare_non_existing ___________________________ monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fffefd20190> opensshpubkey1 = <<class 'abc.PublicKeyFile'> /tmp/guix-build-diffoscope-271.drv-0/source/tests/data/test_openssh_pub_key1.pub> @skip_unless_tools_exist("ssh-keygen") def test_compare_non_existing(monkeypatch, opensshpubkey1): monkeypatch.setattr(Config(), "new_file", True) difference = opensshpubkey1.compare( MissingFile("/nonexisting", opensshpubkey1) ) assert difference.source2 == "/nonexisting" > assert len(difference.details) > 0 E assert 0 > 0 E + where 0 = len([]) E + where [] = <Difference /tmp/guix-build-diffoscope-271.drv-0/source/tests/data/test_openssh_pub_key1.pub -- /nonexisting []>.details tests/comparators/test_openssh_pub_key.py:70: AssertionError --8<---------------cut here---------------end--------------->8--- -- Take it easy, Richard Sent Making my computer weirder one commit at a time.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Richard Sent <richard@HIDDEN> Subject: bug#71886: Acknowledgement (Diffoscope test suite fails with openssh 9.8p1) Message-ID: <handler.71886.B.171987064215936.ack <at> debbugs.gnu.org> References: <87frssdboj.fsf@HIDDEN> X-Gnu-PR-Message: ack 71886 X-Gnu-PR-Package: guix Reply-To: 71886 <at> debbugs.gnu.org Date: Mon, 01 Jul 2024 21:51:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 71886 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 71886: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D71886 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.