Your message dated Thu, 08 Nov 2018 21:49:53 +0000
with message-id <[email protected]>
and subject line Bug#911846: fixed in diffoscope 105
has caused the Debian Bug report #911846,
regarding diffoscope: test failures in stretch-backports
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
911846: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911846
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: diffoscope
Version: 104
Severity: minor

Trying to build v104 in stretch-backports, one end up with this test
failure, introduced with the new ocaml comparator.

I just hope we won't need to do something like the haskell comparator,
which test basically never run... :(



=================================== FAILURES ===================================
__________________________________ test_diff ___________________________________

differences = []

    @skip_unless_tools_exist('ocamlobjinfo')
    def test_diff(differences):
        expected_diff = get_data('ocaml_expected_diff')
>       assert differences[0].unified_diff == expected_diff
E       IndexError: list index out of range

differences = []
expected_diff = '@@ -1,5 +1,14 @@\n Unit name: Uchar\n Interfaces imported:\n 
\t84838649f9351de166bfa8b9f2c84db4\tUchar\n \t07ea9e20ae...lib -safe-string 
-strict-formats -c uchar.mli\n+Load path: \n+cmt interface digest: 
84838649f9351de166bfa8b9f2c84db4\n'

tests/comparators/test_ocaml.py:49: IndexError
__________________________ test_compare_non_existing ___________________________

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f8e93627e80>
cmi1 = <<class 'abc.OcamlInterfaceFile'> 
/builds/reproducible-builds/diffoscope/tests/data/test1.cmi>

    @skip_unless_tools_exist('ocamlobjinfo')
    def test_compare_non_existing(monkeypatch, cmi1):
>       assert_non_existing(monkeypatch, cmi1, has_null_source=False)

cmi1       = <<class 'abc.OcamlInterfaceFile'> 
/builds/reproducible-builds/diffoscope/tests/data/test1.cmi>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f8e93627e80>

tests/comparators/test_ocaml.py:54:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f8e93627e80>
fixture = <<class 'abc.OcamlInterfaceFile'> 
/builds/reproducible-builds/diffoscope/tests/data/test1.cmi>
has_null_source = False, has_details = True

    def assert_non_existing(monkeypatch, fixture, has_null_source=True, 
has_details=True):
        monkeypatch.setattr(Config(), 'new_file', True)
        assert Config().new_file, "didnt get patched"

        difference = fixture.compare(MissingFile('/nonexisting', fixture))

        assert difference.source2 == '/nonexisting'
>       assert not has_details or len(difference.details) > 0
E       AssertionError

difference = <Difference 
/builds/reproducible-builds/diffoscope/tests/data/test1.cmi -- /nonexisting []>
fixture    = <<class 'abc.OcamlInterfaceFile'> 
/builds/reproducible-builds/diffoscope/tests/data/test1.cmi>
has_details = True
has_null_source = False
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f8e93627e80>

tests/utils/nonexisting.py:32: AssertionError
============== 2 failed, 377 passed, 30 skipped in 307.14 seconds ==============


-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: diffoscope
Source-Version: 105

We believe that the bug you reported is fixed in the latest version of
diffoscope, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mattia Rizzolo <[email protected]> (supplier of updated diffoscope package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 08 Nov 2018 22:27:23 +0100
Source: diffoscope
Binary: diffoscope
Architecture: source
Version: 105
Distribution: unstable
Urgency: medium
Maintainer: Reproducible builds folks 
<[email protected]>
Changed-By: Mattia Rizzolo <[email protected]>
Description:
 diffoscope - in-depth comparison of files, archives, and directories
Closes: 911846 912756
Changes:
 diffoscope (105) unstable; urgency=medium
 .
   [ Chris Lamb ]
   * tests:
     + Prevent test failures when running under stretch-backports by checking
       the ocaml version number.  Closes: #911846
 .
   [ Mattia Rizzolo ]
   * debian: Reinstate apktool Build-Depends and Test-Depends.
   * Fix some flake8 and deprecation warnings.
 .
   [ Daniel Shahaf ]
   * comparators/pcap:
     + Fix recognition with the upcoming file(1) 5.35.  Closes: #912756
       Thanks to Christoph Biedl for the heads-up in advance.
 .
   [ Will Thompson ]
   * Add a new command line flag --list-missing-tools.  MR: !14
Checksums-Sha1:
 3a5e81aa4031f3f2c88d80e26dfe1980c59c0851 4496 diffoscope_105.dsc
 53a9a46ee9e664944e76a3cf5081c8a8abd21209 9270120 diffoscope_105.tar.xz
 6401f8ad31db4f39d04131ea8a91c1bb6c1ee820 22160 diffoscope_105_amd64.buildinfo
Checksums-Sha256:
 c55cc108e898aaac8fdfd13709a7dbb6d701b010d8c37af1e90baa49eb8cb9ac 4496 
diffoscope_105.dsc
 0dc82b8192c2ef34e3a0904fb20c0eed8f95dc795db3cbe23e3e288ea8dd362b 9270120 
diffoscope_105.tar.xz
 eac552b113dbb761e3976e20e05f24c708c50691ae9d973dadcf226a4e333e22 22160 
diffoscope_105_amd64.buildinfo
Files:
 b969d6c60a843a375b8a60753eb3d98a 4496 devel optional diffoscope_105.dsc
 2ad34a8ff1387b54f3e6a45fd207bff9 9270120 devel optional diffoscope_105.tar.xz
 9a26fbf254000622b6a45248e614cc90 22160 devel optional 
diffoscope_105_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAlvkrcoACgkQCBa54Yx2
K60jsw//Qyf2WvK5XYnn9g7xc/jT1r5c3WyMHoND6HKU0V8hWiskn1Z28typcz5v
J8cTk4IUBuJfipfpWSeSxHfq6JY+n7lRMBdTl9ieeObWwGlFTu32TvoqipgzeCQ3
Dmj7B0anWgGNxWyVYG0jHlBhYOIrSnH++6qNF/+VJRPhDtyK9tJ1LbQXoIcpxPbR
7rR2fncv6e7fVMiMrD07rp5D+WquL/rUXw9ixF4a1JQ2v5nE6HMLzZ6nm6Uh79Cm
wjLVU8PjJXkbjrxSmEgE7CiNvJWJ2IYIrRx+WS6IrSfX+GD9uw8q+7rvH6H4L5/q
3cqDCjTP9dULRNipLIYZkWu0a/pOPrJ3nt/1ln+FJKu37GJaEAPYYKUAl8cyrKMm
wnnQzcJ4I6GcWyaGTyGQTPp3QSBCuKCLFNJRdgBpGESOqfzxv1A/WpsZfL5bnhe/
oiATRu4AhJq8tFIC5ggDKDMNaWrxID4RgyGDCMRjk7U6jDAq++2no/rDDnOWOUk8
AYOL9wmiDmD2MkE5R7D9B+5bZOQRMfW+5UdQyDw7jD0uQ4KRhGnpS910/TbjU1vI
zqoTIl0Fo9y9g+jbMk04sD9BLCKaAqyfhsmlt/sWbqKJ1Baxks9oHfqKtYJeAvn3
/YHIi6W7pVKqgmJQ/tuq6iQ+9uv+GyeQsl4z06BOgAsYl9y4IyY=
=zN1g
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to