[Debian-astro-maintainers] Bug#837410: python-astropy: FTBFS in testing (failing tests)

Santiago Vila sanvila at unex.es
Sun Sep 11 11:44:11 UTC 2016


Package: src:python-astropy
Version: 1.2.1-1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
debian/rules:31: warning: overriding recipe for target 'override_dh_auto_build'
debian/rules:22: warning: ignoring old recipe for target 'override_dh_auto_build'
dh build-indep --with python2,python3,sphinxdoc
   dh_testdir -i
   dh_update_autotools_config -i
   dh_auto_configure -i
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
debian/rules:31: warning: overriding recipe for target 'override_dh_auto_build'
debian/rules:22: warning: ignoring old recipe for target 'override_dh_auto_build'
python2.7 setup.py build --use-system-libraries
/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.

[... snipped ...]

../docs/utils/iers.rst PASSED
../docs/utils/index.rst PASSED
../docs/utils/numpy.rst PASSED
../docs/visualization/histogram.rst PASSED
../docs/visualization/index.rst PASSED
../docs/visualization/normalization.rst PASSED
../docs/vo/index.rst PASSED
../docs/vo/conesearch/client.rst PASSED
../docs/vo/conesearch/index.rst PASSED
../docs/vo/conesearch/validator.rst PASSED
../docs/vo/samp/advanced_embed_samp_hub.rst PASSED
../docs/vo/samp/example_clients.rst PASSED
../docs/vo/samp/example_hub.rst PASSED
../docs/vo/samp/example_table_image.rst PASSED
../docs/vo/samp/index.rst PASSED
../docs/wcs/history.rst PASSED
../docs/wcs/index.rst PASSED
../docs/wcs/relax.rst PASSED
../docs/whatsnew/0.1.rst PASSED
../docs/whatsnew/0.2.rst PASSED
../docs/whatsnew/0.3.rst PASSED
../docs/whatsnew/0.4.rst PASSED
../docs/whatsnew/1.0.rst PASSED
../docs/whatsnew/1.1.rst PASSED
../docs/whatsnew/1.2.rst PASSED
../docs/whatsnew/index.rst PASSED

=================================== FAILURES ===================================
_________________________ test_circmean_against_scipy __________________________

    @pytest.mark.skipif('not HAS_SCIPY')
    def test_circmean_against_scipy():
        # testing against scipy.stats.circmean function
        data = np.random.uniform(-np.pi, np.pi, size=(100, 5))
        answer = scipy.stats.circmean(data, np.pi, -np.pi)
>       assert_equal(np.around(answer, 2), np.around(circmean(data), 2))
E       AssertionError: 
E       Items are not equal:
E        ACTUAL: -4.3099999999999996
E        DESIRED: 1.97

astropy/stats/tests/test_circstats.py:45: AssertionError
= 1 failed, 11041 passed, 225 skipped, 43 xfailed, 2 xpassed in 180.25 seconds =
debian/rules:56: recipe for target 'test-python2.7' failed
make[1]: *** [test-python2.7] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:14: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

I assume that using -A has nothing to do with this, because there are
also failed build logs in the reproducible builds autobuilders:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-astropy.html

This used to build in the past in stretch but now it always fails for me:

Status: successful  python-astropy_1.2.1-1_amd64-20160812T1540Z
Status: successful  python-astropy_1.2.1-1_amd64-20160817T0957Z
Status: successful  python-astropy_1.2.1-1_amd64-20160823T020145Z
Status: successful  python-astropy_1.2.1-1_amd64-20160901T134940Z
Status: failed      python-astropy_1.2.1-1_amd64-20160911T031848Z
Status: failed      python-astropy_1.2.1-1_amd64-20160911T104211Z
Status: failed      python-astropy_1.2.1-1_amd64-20160911T104219Z
Status: failed      python-astropy_1.2.1-1_amd64-20160911T104235Z
Status: failed      python-astropy_1.2.1-1_amd64-20160911T104741Z
Status: failed      python-astropy_1.2.1-1_amd64-20160911T104800Z
Status: failed      python-astropy_1.2.1-1_amd64-20160911T104818Z
Status: failed      python-astropy_1.2.1-1_amd64-20160911T105319Z
Status: failed      python-astropy_1.2.1-1_amd64-20160911T105344Z
Status: failed      python-astropy_1.2.1-1_amd64-20160911T105356Z
Status: failed      python-astropy_1.2.1-1_amd64-20160911T105846Z
Status: failed      python-astropy_1.2.1-1_amd64-20160911T105919Z
Status: failed      python-astropy_1.2.1-1_amd64-20160911T105930Z
Status: failed      python-astropy_1.2.1-1_amd64-20160911T110411Z
Status: failed      python-astropy_1.2.1-1_amd64-20160911T110453Z
Status: failed      python-astropy_1.2.1-1_amd64-20160911T110506Z

So maybe some build-dependency is breaking python-astropy.
(I hope it's not diffutils, which I also added to the stretch
chroot as an exception even if it did not reach testing yet).

I attach my own full build log, but you can get more in the
reproducible builds site.

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-astropy_1.2.1-1_amd64-20160911T110506Z.gz
Type: application/gzip
Size: 100482 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/debian-astro-maintainers/attachments/20160911/e27f1a01/attachment-0001.bin>


More information about the Debian-astro-maintainers mailing list