Bug#841146: diffoscope: Failure of test_superblock

Mattia Rizzolo mattia at debian.org
Tue Oct 18 18:02:38 UTC 2016


control: found -1 61

On Tue, Oct 18, 2016 at 10:28:33AM -0400, Leo Famulari wrote:
> ...
> tests/comparators/test_squashfs.py::test_identification PASSED
> tests/comparators/test_squashfs.py::test_no_differences PASSED
> tests/comparators/test_squashfs.py::test_no_warnings PASSED
> tests/comparators/test_squashfs.py::test_superblock FAILED
> tests/comparators/test_squashfs.py::test_symlink SKIPPED
> tests/comparators/test_squashfs.py::test_compressed_files SKIPPED
> tests/comparators/test_squashfs.py::test_compare_non_existing SKIPPED
...
> =================================== FAILURES ===================================
> _______________________________ test_superblock ________________________________
> 
> differences = []
> 
>     @skip_unless_tool_is_older_than('unsquashfs', unsquashfs_version, '4.3')
>     def test_superblock(differences):
>         expected_diff = open(data('squashfs_superblock_expected_diff')).read()
> >       assert differences[0].unified_diff == expected_diff
> E       IndexError: list index out of range
> 
> tests/comparators/test_squashfs.py:59: IndexError
> =========================== short test summary info ============================
...
> SKIP [1] tests/comparators/test_squashfs.py:73: requires unsquashfs

so, it doesn't properly skip that test if unquashfs is not present,
which is weird, since it's one thing we test in debci¹.

you said you're trying to build the released v61, not a git snapshot
which happens to be a few commits after v61, right?

¹ https://ci.debian.net/packages/d/diffoscope/
-- 
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  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20161018/417ffcdc/attachment.sig>


More information about the Reproducible-builds mailing list