GNU bug report logs -
#71886
Diffoscope test suite fails with openssh 9.8p1
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71886 in the body.
You can then email your comments to 71886 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#71886
; Package
guix
.
(Mon, 01 Jul 2024 21:51:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Richard Sent <richard <at> freakingpenguin.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 01 Jul 2024 21:51:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#71886
; Package
guix
.
(Wed, 03 Jul 2024 22:32:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 71886 <at> debbugs.gnu.org (full text, mbox):
Issue reported upstream at
https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/382.
Fixed in 0743d63f85f298131e78045ec6d73acdc50b97eb (confirmed) which will
likely be part of a 272 release.
--
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#71886
; Package
guix
.
(Fri, 05 Jul 2024 00:07:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 71886 <at> debbugs.gnu.org (full text, mbox):
Hi Richard,
I've encountered the diffoscope failure as well, and looked at their repo to see how new version 271 was and what activity has happened since. It looks like they may have already fixed the test failures, pending a new release: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/0743d63f85f298131e78045ec6d73acdc50b97eb
Cheers,
Kaelyn
Information forwarded
to
bug-guix <at> gnu.org
:
bug#71886
; Package
guix
.
(Fri, 05 Jul 2024 19:15:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 71886 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 2024-07-05, Kaelyn wrote:
> I've encountered the diffoscope failure as well, and looked at their
> repo to see how new version 271 was and what activity has happened
> since. It looks like they may have already fixed the test failures,
> pending a new release:
> https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/0743d63f85f298131e78045ec6d73acdc50b97eb
And 272 is tagged with hopefully minor other changes ... working on a
patch now!
live well,
vagrant
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Vagrant Cascadian <vagrant <at> reproducible-builds.org>
:
You have taken responsibility.
(Fri, 05 Jul 2024 19:30:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Richard Sent <richard <at> freakingpenguin.com>
:
bug acknowledged by developer.
(Fri, 05 Jul 2024 19:30:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 71886-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 2024-07-05, Vagrant Cascadian wrote:
> On 2024-07-05, Kaelyn wrote:
>> I've encountered the diffoscope failure as well, and looked at their
>> repo to see how new version 271 was and what activity has happened
>> since. It looks like they may have already fixed the test failures,
>> pending a new release:
>> https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/0743d63f85f298131e78045ec6d73acdc50b97eb
>
> And 272 is tagged with hopefully minor other changes ... working on a
> patch now!
Pushed as e725e47a695c82305fa65e63e54477c6a210f53d.
The upstream changes were very minor, essentially only fixing this one
issue triggering build failure and a few debian-specific changes, so
hopefully it was ok to just go ahead and push it.
Thanks for reporting the issue and pointing out the fix was in progress!
live well,
vagrant
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 03 Aug 2024 11:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 332 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.