Bug#916353: diffoscope: test failure in alpine

Mattia Rizzolo mattia at debian.org
Thu Dec 13 14:24:03 GMT 2018


Source: diffoscope
Version: 107
Control: submitter -1 ncopa at alpinelinux.org

There is a test that fails in current git:

============================= test session starts ==============================
platform linux -- Python 3.6.7, pytest-3.7.4, py-1.5.3, pluggy-0.7.1 -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /home/ncopa/aports/testing/diffoscope/src/diffoscope-105, inifile:
collecting ... collected 12 items

tests/comparators/test_zip.py::test_identification PASSED                [  8%]
tests/comparators/test_zip.py::test_no_differences PASSED                [ 16%]
tests/comparators/test_zip.py::test_metadata PASSED                      [ 25%]
tests/comparators/test_zip.py::test_compressed_files PASSED              [ 33%]
tests/comparators/test_zip.py::test_extra_fields PASSED                  [ 41%]
tests/comparators/test_zip.py::test_compare_non_existing PASSED          [ 50%]
tests/comparators/test_zip.py::test_mozzip_identification PASSED         [ 58%]
tests/comparators/test_zip.py::test_mozzip_no_differences PASSED         [ 66%]
tests/comparators/test_zip.py::test_mozzip_metadata PASSED               [ 75%]
tests/comparators/test_zip.py::test_mozzip_compressed_files FAILED       [ 83%]
tests/comparators/test_zip.py::test_mozzip_compare_non_existing PASSED   [ 91%]
tests/comparators/test_zip.py::test_encrypted PASSED                     [100%]

=================================== FAILURES ===================================
_________________________ test_mozzip_compressed_files _________________________

mozzip_differences = [<Difference zipinfo /dev/stdin -- zipinfo /dev/stdin []>, <Difference filetype from file(1) -- filetype from file(1) []>, <Difference dir/text -- dir/text []>]

    @skip_unless_tools_exist('zipinfo')
    def test_mozzip_compressed_files(mozzip_differences):
>       assert mozzip_differences[1].source1 == 'dir/text'
E       AssertionError: assert 'filetype from file(1)' == 'dir/text'
E         - filetype from file(1)
E         + dir/text

tests/comparators/test_zip.py:106: AssertionError
===================== 1 failed, 11 passed in 1.41 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  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20181213/0a628a48/attachment.sig>


More information about the Reproducible-builds mailing list