[Reproducible-builds] Bug#817193: failing tests: test_gzip.py::test_metadata, test_ipk.py::test_metadata, test_java.py::test_diff

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Mon Aug 15 23:39:41 UTC 2016


On Mon, Aug 15, 2016 at 09:07:03PM +0100, Chris Lamb wrote:
> Zbigniew Jędrzejewski-Szmek wrote:
> 
> > I invoke the tests as "PYTHONPATH=. py.test-3 . -vv" locally. Above output
> > is from that.
> 
> Hm, cannot seem to reproduce.
> 
> Are you building inside a container, out of interest? I see some strange
> things building in some containers as they prevent writes to /etc/timezone
I see no difference between running on bare metal and the mock chroot.

PYTHONPATH=. py.test-3 . -vv -k test_differences
================================ test session starts =================================
platform linux -- Python 3.5.1, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- /usr/bin/python3
cachedir: .cache
rootdir: /home/zbyszek/python/diffoscope, inifile: 
plugins: cov-2.2.1
collected 233 items 

tests/comparators/test_dex.py::test_differences SKIPPED
tests/comparators/test_elf.py::test_differences_with_dbgsym SKIPPED
tests/comparators/test_epub.py::test_differences ERROR
tests/comparators/test_fsimage.py::test_differences ERROR

===================================== ERRORS ========================================
_________________________ ERROR at setup of test_differences ________________________

    @pytest.fixture(autouse=True)
    def set_locale():
>       diffoscope.set_locale()

tests/comparators/conftest.py:28: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    def set_locale():
        """Normalize locale so external tool gives us stable and properly
        encoded output"""
    
>       1/0
E       ZeroDivisionError: division by zero

diffoscope/__init__.py:265: ZeroDivisionError
_______________________ ERROR at setup of test_differences _________________________

    @pytest.fixture(autouse=True)
    def set_locale():
>       diffoscope.set_locale()

tests/comparators/conftest.py:28: 
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    def set_locale():
        """Normalize locale so external tool gives us stable and properly
        encoded output"""
    
>       1/0
E       ZeroDivisionError: division by zero

diffoscope/__init__.py:265: ZeroDivisionError
============== 229 tests deselected by '-ktest_differences' =========================
============== 2 skipped, 229 deselected, 2 error in 14.69 seconds ==================


Zbyszek



More information about the Reproducible-builds mailing list