On Sat, 24 Dec 2016, Ximin Luo wrote:

> For all you people that already have single-CPU KVM VMs set up, can you 
> please try to reduce your test cases that still reproduce the bug?
> 
> For example, can you still reproduce it with `debian/rules clean build`? What 
> about `python3 -m pytest`? Then, does it reproduce when you start manually 
> disabling various tests? What about when running only 1 test case?

Building the package by hand makes three tests to fail.

If I do "python3 -m pytest" afterwards this is what it's shown:

============================= test session starts ==============================
platform linux -- Python 3.5.2+, pytest-3.0.5, py-1.4.31, pluggy-0.4.0
rootdir: /build/diffoscope-63, inifile: 
plugins: cov-2.4.0
collected 248 items

tests/test_difference.py ...
tests/test_main.py .............
tests/comparators/test_binary.py ...................
tests/comparators/test_bzip2.py ......
tests/comparators/test_cbfs.py ssssss
tests/comparators/test_cpio.py ......
tests/comparators/test_deb.py ...........
tests/comparators/test_debian.py ...................
tests/comparators/test_dex.py ....
tests/comparators/test_directory.py ....
tests/comparators/test_elf.py ..........
tests/comparators/test_epub.py ....
tests/comparators/test_fonts.py ....
tests/comparators/test_fsimage.py .sss
tests/comparators/test_gettext.py .....
tests/comparators/test_git.py ...
tests/comparators/test_gzip.py .......
tests/comparators/test_haskell.py s.s
tests/comparators/test_icc.py F.FF
tests/comparators/test_image.py ....
tests/comparators/test_ipk.py .....
tests/comparators/test_iso9660.py .......
tests/comparators/test_java.py ....
tests/comparators/test_json.py .....
tests/comparators/test_macho.py ..ss
tests/comparators/test_mono.py ....
tests/comparators/test_pdf.py .....
tests/comparators/test_png.py ....
tests/comparators/test_ppu.py ....
tests/comparators/test_ps.py .....
tests/comparators/test_rlib.py ........
tests/comparators/test_rpm.py ......
tests/comparators/test_sqlite.py ....
tests/comparators/test_squashfs.py .......
tests/comparators/test_tar.py .......
tests/comparators/test_text.py ......
tests/comparators/test_utils.py .ss.....
tests/comparators/test_xz.py ......
tests/comparators/test_zip.py ..........

=================================== FAILURES ===================================
_____________________________ test_identification ______________________________

icc1 = <<class 'diffoscope.comparators.binary.FilesystemFile'> 
/build/diffoscope-63/tests/data/test1.icc>

    def test_identification(icc1):
>       assert isinstance(icc1, IccFile)
E       assert False
E        +  where False = isinstance(<<class 
'diffoscope.comparators.binary.FilesystemFile'> 
/build/diffoscope-63/tests/data/test1.icc>, IccFile)

tests/comparators/test_icc.py:32: AssertionError
__________________________________ test_diff ___________________________________

differences = []

    @skip_unless_tools_exist('cd-iccdump')
    def test_diff(differences):
        expected_diff = open(data('icc_expected_diff')).read()
>       assert differences[0].unified_diff == expected_diff
E       IndexError: list index out of range

tests/comparators/test_icc.py:45: IndexError
__________________________ test_compare_non_existing ___________________________

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fc9dec67128>
icc1 = <<class 'diffoscope.comparators.binary.FilesystemFile'> 
/build/diffoscope-63/tests/data/test1.icc>

    @skip_unless_tools_exist('cd-iccdump')
    def test_compare_non_existing(monkeypatch, icc1):
        monkeypatch.setattr(Config(), 'new_file', True)
        difference = icc1.compare(NonExistingFile('/nonexisting', icc1))
        assert difference.source2 == '/nonexisting'
>       assert len(difference.details) > 0
E       assert 0 > 0
E        +  where 0 = len([])
E        +    where [] = <Difference /build/diffoscope-63/tests/data/test1.icc 
-- /nonexisting []>.details

tests/comparators/test_icc.py:52: AssertionError
============== 3 failed, 230 passed, 15 skipped in 52.10 seconds ===============


Note: This is still diffoscope_63 in stretch, not sure if I should
better try the version in unstable and forget completely about this
version.

Thanks.

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to