[Debian-astro-maintainers] Bug#871999: spectral-cube FTBFS: AttributeError: 'NoneType' object has no attribute 'lineno'

Adrian Bunk bunk at debian.org
Sun Aug 13 12:39:54 UTC 2017


Source: spectral-cube
Version: 0.4.0-3
Severity: serious

Some recent change in unstable makes spectral-cube FTBFS:

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

...
spectral_cube/tests/test_spectral_cube.py::test_jybeam_upper PASSED
spectral_cube/tests/test_spectral_cube.py::test_jybeam_lower PASSED
spectral_cube/tests/test_spectral_cube.py::test_jybeam_whitespace PASSED
spectral_cube/tests/test_spectral_cube.py::test_beam_proj_meta SKIPPED
spectral_cube/tests/test_spectral_cube.py::test_proj_meta PASSED
spectral_cube/tests/test_spectral_cube.py::test_pix_sign PASSED
spectral_cube/tests/test_stokes_spectral_cube.py::TestStokesSpectralCube::test_direct_init PASSED
spectral_cube/tests/test_stokes_spectral_cube.py::TestStokesSpectralCube::test_direct_init_invalid_type PASSED
spectral_cube/tests/test_stokes_spectral_cube.py::TestStokesSpectralCube::test_direct_init_invalid_shape PASSED
spectral_cube/tests/test_stokes_spectral_cube.py::TestStokesSpectralCube::test_valid_component_name[I] PASSED
spectral_cube/tests/test_stokes_spectral_cube.py::TestStokesSpectralCube::test_valid_component_name[Q] PASSED
spectral_cube/tests/test_stokes_spectral_cube.py::TestStokesSpectralCube::test_valid_component_name[U] PASSED
spectral_cube/tests/test_stokes_spectral_cube.py::TestStokesSpectralCube::test_valid_component_name[V] PASSED
spectral_cube/tests/test_stokes_spectral_cube.py::TestStokesSpectralCube::test_valid_component_name[RR] PASSED
spectral_cube/tests/test_stokes_spectral_cube.py::TestStokesSpectralCube::test_valid_component_name[RL] PASSED
spectral_cube/tests/test_stokes_spectral_cube.py::TestStokesSpectralCube::test_valid_component_name[LR] PASSED
spectral_cube/tests/test_stokes_spectral_cube.py::TestStokesSpectralCube::test_valid_component_name[LL] PASSED
spectral_cube/tests/test_stokes_spectral_cube.py::TestStokesSpectralCube::test_invalid_component_name[A] PASSED
spectral_cube/tests/test_stokes_spectral_cube.py::TestStokesSpectralCube::test_invalid_component_name[B] PASSED
spectral_cube/tests/test_stokes_spectral_cube.py::TestStokesSpectralCube::test_invalid_component_name[IQUV] PASSED
spectral_cube/tests/test_stokes_spectral_cube.py::TestStokesSpectralCube::test_invalid_wcs PASSED
spectral_cube/tests/test_stokes_spectral_cube.py::TestStokesSpectralCube::test_attributes PASSED
spectral_cube/tests/test_stokes_spectral_cube.py::TestStokesSpectralCube::test_dir PASSED
spectral_cube/tests/test_stokes_spectral_cube.py::TestStokesSpectralCube::test_mask PASSED
spectral_cube/tests/test_stokes_spectral_cube.py::TestStokesSpectralCube::test_mask_invalid_component_name PASSED
spectral_cube/tests/test_stokes_spectral_cube.py::TestStokesSpectralCube::test_mask_invalid_shape PASSED
spectral_cube/tests/test_stokes_spectral_cube.py::TestStokesSpectralCube::test_separate_mask PASSED
spectral_cube/tests/test_subcubes.py::test_subcube PASSED
spectral_cube/tests/test_subcubes.py::test_ds9region[fk5.reg-result0] SKIPPED
spectral_cube/tests/test_subcubes.py::test_ds9region[image.reg-result1] SKIPPED
spectral_cube/tests/test_subcubes.py::test_ds9region[partial_overlap_image.reg-result2] SKIPPED
spectral_cube/tests/test_subcubes.py::test_ds9region[no_overlap_image.reg-ValueError] SKIPPED
spectral_cube/tests/test_subcubes.py::test_ds9region[partial_overlap_fk5.reg-result4] SKIPPED
spectral_cube/tests/test_subcubes.py::test_ds9region[no_overlap_fk5.reg-ValueError] SKIPPED
spectral_cube/tests/test_subcubes.py::test_ds9region_255[255-fk5.reg] SKIPPED
spectral_cube/tests/test_subcubes.py::test_ds9region_255[255-pixel.reg] SKIPPED
spectral_cube/tests/test_visualization.py::test_to_pvextractor SKIPPED
spectral_cube/tests/test_visualization.py::test_projvis SKIPPED
spectral_cube/tests/test_visualization.py::test_mask_quicklook SKIPPED
spectral_cube/tests/test_wcs_utils.py::test_wcs_dropping PASSED
spectral_cube/tests/test_wcs_utils.py::test_wcs_swapping PASSED
spectral_cube/tests/test_wcs_utils.py::test_add_stokes PASSED
spectral_cube/tests/test_wcs_utils.py::test_axis_names PASSED
spectral_cube/tests/test_wcs_utils.py::test_wcs_slice PASSED
spectral_cube/tests/test_wcs_utils.py::test_wcs_slice_reversal PASSED
spectral_cube/tests/test_wcs_utils.py::test_wcs_comparison PASSED
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/main.py", line 110, in wrap_session
INTERNALERROR>     session.exitstatus = doit(config, session) or 0
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/main.py", line 146, in _main
INTERNALERROR>     config.hook.pytest_runtestloop(session=session)
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__
INTERNALERROR>     return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>
INTERNALERROR>     _MultiCall(methods, kwargs, hook.spec_opts).execute()
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/main.py", line 169, in pytest_runtestloop
INTERNALERROR>     item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__
INTERNALERROR>     return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>
INTERNALERROR>     _MultiCall(methods, kwargs, hook.spec_opts).execute()
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
INTERNALERROR>     return _wrapped_call(hook_impl.function(*args), self.execute)
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 254, in _wrapped_call
INTERNALERROR>     return call_outcome.get_result()
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 280, in get_result
INTERNALERROR>     _reraise(*ex)  # noqa
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__
INTERNALERROR>     self.result = func()
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
INTERNALERROR>     return _wrapped_call(hook_impl.function(*args), self.execute)
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 254, in _wrapped_call
INTERNALERROR>     return call_outcome.get_result()
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 280, in get_result
INTERNALERROR>     _reraise(*ex)  # noqa
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__
INTERNALERROR>     self.result = func()
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/runner.py", line 65, in pytest_runtest_protocol
INTERNALERROR>     nodeid=item.nodeid, location=item.location,
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/main.py", line 571, in location
INTERNALERROR>     location = self.reportinfo()
INTERNALERROR>   File "/usr/lib/python2.7/dist-packages/_pytest/doctest.py", line 143, in reportinfo
INTERNALERROR>     return self.fspath, self.dtest.lineno, "[doctest] %s" % self.name
INTERNALERROR> AttributeError: 'NoneType' object has no attribute 'lineno'

============ 505 passed, 35 skipped, 854 warnings in 74.43 seconds =============
debian/rules:17: recipe for target 'test-python2.7' failed
make[1]: *** [test-python2.7] Error 3
make[1]: Leaving directory '/build/1st/spectral-cube-0.4.0'
debian/rules:10: recipe for target 'build' failed
make: *** [build] Error 2



More information about the Debian-astro-maintainers mailing list