[Debian-astro-maintainers] Bug#872010: ccdproc FTBFS: AttributeError: 'NoneType' object has no attribute 'lineno'
Adrian Bunk
bunk at debian.org
Sun Aug 13 13:08:26 UTC 2017
Source: ccdproc
Version: 1.2.0-2
Severity: serious
Some recent change in unstable makes ccdproc FTBFS:
https://tests.reproducible-builds.org/debian/history/ccdproc.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ccdproc.html
...
ccdproc/utils/slices.py::ccdproc.utils.slices.slice_from_string PASSED
ccdproc/utils/tests/test_slices.py::test_slice_from_string_needs_enclosing_brackets[1:2] PASSED
ccdproc/utils/tests/test_slices.py::test_slice_from_string_needs_enclosing_brackets[[1:2] PASSED
ccdproc/utils/tests/test_slices.py::test_slice_from_string_needs_enclosing_brackets[1:2]] PASSED
ccdproc/utils/tests/test_slices.py::test_slice_from_string_1d[None-None--1] PASSED
ccdproc/utils/tests/test_slices.py::test_slice_from_string_1d[5-10-None] PASSED
ccdproc/utils/tests/test_slices.py::test_slice_from_string_1d[None-25-None] PASSED
ccdproc/utils/tests/test_slices.py::test_slice_from_string_1d[2-30-3] PASSED
ccdproc/utils/tests/test_slices.py::test_slice_from_string_1d[30-None--2] PASSED
ccdproc/utils/tests/test_slices.py::test_slice_from_string_1d[None-None-None] PASSED
ccdproc/utils/tests/test_slices.py::test_slice_from_string_spaces[ [ 1: 45]] PASSED
ccdproc/utils/tests/test_slices.py::test_slice_from_string_spaces[[ 1 :4 5]] PASSED
ccdproc/utils/tests/test_slices.py::test_slice_from_string_spaces[ [1:45] ] PASSED
ccdproc/utils/tests/test_slices.py::test_slice_from_string_2d PASSED
ccdproc/utils/tests/test_slices.py::test_slice_from_string_fits_style PASSED
ccdproc/utils/tests/test_slices.py::test_slice_from_string_fits_inverted PASSED
ccdproc/utils/tests/test_slices.py::test_slice_from_string_empty PASSED
ccdproc/utils/tests/test_slices.py::test_slice_from_string_bad_fits_slice PASSED
ccdproc/utils/tests/test_slices.py::test_slice_from_string_fits_wildcard 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'
============= 311 passed, 2 skipped, 72 warnings in 16.69 seconds ==============
debian/rules:14: recipe for target 'test-python2.7' failed
make[1]: *** [test-python2.7] Error 3
make[1]: Leaving directory '/build/1st/ccdproc-1.2.0'
debian/rules:10: recipe for target 'build' failed
make: *** [build] Error 2
More information about the Debian-astro-maintainers
mailing list