[Debian-astro-maintainers] Bug#915654: pyavm FTBFS: test failure

Adrian Bunk bunk at debian.org
Wed Dec 5 16:00:18 GMT 2018


Source: pyavm
Version: 0.9.4-2
Severity: serious
Tags: ftbfs

Some recent change in unstable makes pyavm FTBFS:

https://tests.reproducible-builds.org/debian/history/pyavm.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pyavm.html

...
   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/1st/pyavm-0.9.4'
python2 -m pytest
============================= test session starts ==============================
platform linux2 -- Python 2.7.15+, pytest-3.10.1, py-1.7.0, pluggy-0.8.0
rootdir: /build/1st/pyavm-0.9.4, inifile:
collected 712 items

pyavm/tests/test_avm.py ....                                             [  0%]
pyavm/tests/test_header.py ....                                          [  1%]
pyavm/tests/test_io.py ................................................. [  8%]
........................................................................ [ 18%]
........................................................................ [ 28%]
........................................................................ [ 38%]
...........................                                              [ 42%]
pyavm/tests/test_main.py ............................................... [ 48%]
........................................................................ [ 58%]
........................................................................ [ 68%]
........................................................................ [ 79%]
........................................................................ [ 89%]
..........................                                               [ 92%]
pyavm/tests/test_specs.py ..F                                            [ 93%]
pyavm/tests/test_wcs_utils.py .......................................... [ 99%]
......                                                                   [100%]

=================================== FAILURES ===================================
_________________________________ test_warning _________________________________

    def test_warning():
    
        # Start of with a version=1.2 AVM object
        a = AVM(version=1.2)
        a.ProposalID = ["25661"]
    
        # Then change to version=1.1, which doesn't contain ProposalID
        with warnings.catch_warnings(record=True) as w:
            a.MetadataVersion = 1.1
>           assert len(w) == 1
E           assert 0 == 1
E            +  where 0 = len([])

pyavm/tests/test_specs.py:118: AssertionError
...
============== 1 failed, 711 passed, 25 warnings in 9.45 seconds ===============
make[1]: *** [debian/rules:11: override_dh_auto_test] Error 1



More information about the Debian-astro-maintainers mailing list