Bug#917679: caffe: FTBFS: dh_auto_test: cd caffe_cpu_build && make -j2 test runtest pytest LD_LIBRARY_PATH=/<<BUILDDIR>>/caffe-1.0.0\+git20180821.99bd997/caffe_cpu_build/lib/ ARGS\+=-j2 returned exit code 2
Lucas Nussbaum
lucas at debian.org
Sat Dec 29 21:42:52 GMT 2018
Source: caffe
Version: 1.0.0+git20180821.99bd997-2
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20181229 ftbfs-buster
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[5]: Entering directory '/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/caffe_cpu_build'
> cd /<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python && python3 -m unittest discover -s caffe/test
> EEEEEEEEEE
> ======================================================================
> ERROR: test_coord_map (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_coord_map
> Traceback (most recent call last):
> File "/usr/lib/python3.7/unittest/loader.py", line 434, in _find_test_path
> module = self._get_module_from_name(name)
> File "/usr/lib/python3.7/unittest/loader.py", line 375, in _get_module_from_name
> __import__(name)
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/test/test_coord_map.py", line 6, in <module>
> import caffe
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/__init__.py", line 1, in <module>
> from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/pycaffe.py", line 15, in <module>
> import caffe.io
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/io.py", line 2, in <module>
> import skimage.io
> File "/usr/lib/python3/dist-packages/skimage/__init__.py", line 167, in <module>
> from .util.dtype import (img_as_float32,
> File "/usr/lib/python3/dist-packages/skimage/util/__init__.py", line 8, in <module>
> from .arraycrop import crop
> File "/usr/lib/python3/dist-packages/skimage/util/arraycrop.py", line 8, in <module>
> from numpy.lib.arraypad import _validate_lengths
> ImportError: cannot import name '_validate_lengths' from 'numpy.lib.arraypad' (/usr/lib/python3/dist-packages/numpy/lib/arraypad.py)
>
>
> ======================================================================
> ERROR: test_draw (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_draw
> Traceback (most recent call last):
> File "/usr/lib/python3.7/unittest/loader.py", line 434, in _find_test_path
> module = self._get_module_from_name(name)
> File "/usr/lib/python3.7/unittest/loader.py", line 375, in _get_module_from_name
> __import__(name)
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/test/test_draw.py", line 6, in <module>
> import caffe.draw
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/__init__.py", line 1, in <module>
> from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/pycaffe.py", line 15, in <module>
> import caffe.io
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/io.py", line 2, in <module>
> import skimage.io
> File "/usr/lib/python3/dist-packages/skimage/__init__.py", line 176, in <module>
> from .util.lookfor import lookfor
> File "/usr/lib/python3/dist-packages/skimage/util/__init__.py", line 8, in <module>
> from .arraycrop import crop
> File "/usr/lib/python3/dist-packages/skimage/util/arraycrop.py", line 8, in <module>
> from numpy.lib.arraypad import _validate_lengths
> ImportError: cannot import name '_validate_lengths' from 'numpy.lib.arraypad' (/usr/lib/python3/dist-packages/numpy/lib/arraypad.py)
>
>
> ======================================================================
> ERROR: test_io (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_io
> Traceback (most recent call last):
> File "/usr/lib/python3.7/unittest/loader.py", line 434, in _find_test_path
> module = self._get_module_from_name(name)
> File "/usr/lib/python3.7/unittest/loader.py", line 375, in _get_module_from_name
> __import__(name)
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/test/test_io.py", line 4, in <module>
> import caffe
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/__init__.py", line 1, in <module>
> from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/pycaffe.py", line 15, in <module>
> import caffe.io
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/io.py", line 2, in <module>
> import skimage.io
> File "/usr/lib/python3/dist-packages/skimage/__init__.py", line 176, in <module>
> from .util.lookfor import lookfor
> File "/usr/lib/python3/dist-packages/skimage/util/__init__.py", line 8, in <module>
> from .arraycrop import crop
> File "/usr/lib/python3/dist-packages/skimage/util/arraycrop.py", line 8, in <module>
> from numpy.lib.arraypad import _validate_lengths
> ImportError: cannot import name '_validate_lengths' from 'numpy.lib.arraypad' (/usr/lib/python3/dist-packages/numpy/lib/arraypad.py)
>
>
> ======================================================================
> ERROR: test_layer_type_list (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_layer_type_list
> Traceback (most recent call last):
> File "/usr/lib/python3.7/unittest/loader.py", line 434, in _find_test_path
> module = self._get_module_from_name(name)
> File "/usr/lib/python3.7/unittest/loader.py", line 375, in _get_module_from_name
> __import__(name)
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/test/test_layer_type_list.py", line 3, in <module>
> import caffe
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/__init__.py", line 1, in <module>
> from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/pycaffe.py", line 15, in <module>
> import caffe.io
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/io.py", line 2, in <module>
> import skimage.io
> File "/usr/lib/python3/dist-packages/skimage/__init__.py", line 176, in <module>
> from .util.lookfor import lookfor
> File "/usr/lib/python3/dist-packages/skimage/util/__init__.py", line 8, in <module>
> from .arraycrop import crop
> File "/usr/lib/python3/dist-packages/skimage/util/arraycrop.py", line 8, in <module>
> from numpy.lib.arraypad import _validate_lengths
> ImportError: cannot import name '_validate_lengths' from 'numpy.lib.arraypad' (/usr/lib/python3/dist-packages/numpy/lib/arraypad.py)
>
>
> ======================================================================
> ERROR: test_nccl (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_nccl
> Traceback (most recent call last):
> File "/usr/lib/python3.7/unittest/loader.py", line 434, in _find_test_path
> module = self._get_module_from_name(name)
> File "/usr/lib/python3.7/unittest/loader.py", line 375, in _get_module_from_name
> __import__(name)
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/test/test_nccl.py", line 4, in <module>
> import caffe
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/__init__.py", line 1, in <module>
> from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/pycaffe.py", line 15, in <module>
> import caffe.io
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/io.py", line 2, in <module>
> import skimage.io
> File "/usr/lib/python3/dist-packages/skimage/__init__.py", line 176, in <module>
> from .util.lookfor import lookfor
> File "/usr/lib/python3/dist-packages/skimage/util/__init__.py", line 8, in <module>
> from .arraycrop import crop
> File "/usr/lib/python3/dist-packages/skimage/util/arraycrop.py", line 8, in <module>
> from numpy.lib.arraypad import _validate_lengths
> ImportError: cannot import name '_validate_lengths' from 'numpy.lib.arraypad' (/usr/lib/python3/dist-packages/numpy/lib/arraypad.py)
>
>
> ======================================================================
> ERROR: test_net (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_net
> Traceback (most recent call last):
> File "/usr/lib/python3.7/unittest/loader.py", line 434, in _find_test_path
> module = self._get_module_from_name(name)
> File "/usr/lib/python3.7/unittest/loader.py", line 375, in _get_module_from_name
> __import__(name)
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/test/test_net.py", line 8, in <module>
> import caffe
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/__init__.py", line 1, in <module>
> from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/pycaffe.py", line 15, in <module>
> import caffe.io
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/io.py", line 2, in <module>
> import skimage.io
> File "/usr/lib/python3/dist-packages/skimage/__init__.py", line 176, in <module>
> from .util.lookfor import lookfor
> File "/usr/lib/python3/dist-packages/skimage/util/__init__.py", line 8, in <module>
> from .arraycrop import crop
> File "/usr/lib/python3/dist-packages/skimage/util/arraycrop.py", line 8, in <module>
> from numpy.lib.arraypad import _validate_lengths
> ImportError: cannot import name '_validate_lengths' from 'numpy.lib.arraypad' (/usr/lib/python3/dist-packages/numpy/lib/arraypad.py)
>
>
> ======================================================================
> ERROR: test_net_spec (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_net_spec
> Traceback (most recent call last):
> File "/usr/lib/python3.7/unittest/loader.py", line 434, in _find_test_path
> module = self._get_module_from_name(name)
> File "/usr/lib/python3.7/unittest/loader.py", line 375, in _get_module_from_name
> __import__(name)
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/test/test_net_spec.py", line 3, in <module>
> import caffe
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/__init__.py", line 1, in <module>
> from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/pycaffe.py", line 15, in <module>
> import caffe.io
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/io.py", line 2, in <module>
> import skimage.io
> File "/usr/lib/python3/dist-packages/skimage/__init__.py", line 176, in <module>
> from .util.lookfor import lookfor
> File "/usr/lib/python3/dist-packages/skimage/util/__init__.py", line 8, in <module>
> from .arraycrop import crop
> File "/usr/lib/python3/dist-packages/skimage/util/arraycrop.py", line 8, in <module>
> from numpy.lib.arraypad import _validate_lengths
> ImportError: cannot import name '_validate_lengths' from 'numpy.lib.arraypad' (/usr/lib/python3/dist-packages/numpy/lib/arraypad.py)
>
>
> ======================================================================
> ERROR: test_python_layer (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_python_layer
> Traceback (most recent call last):
> File "/usr/lib/python3.7/unittest/loader.py", line 434, in _find_test_path
> module = self._get_module_from_name(name)
> File "/usr/lib/python3.7/unittest/loader.py", line 375, in _get_module_from_name
> __import__(name)
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/test/test_python_layer.py", line 6, in <module>
> import caffe
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/__init__.py", line 1, in <module>
> from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/pycaffe.py", line 15, in <module>
> import caffe.io
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/io.py", line 2, in <module>
> import skimage.io
> File "/usr/lib/python3/dist-packages/skimage/__init__.py", line 176, in <module>
> from .util.lookfor import lookfor
> File "/usr/lib/python3/dist-packages/skimage/util/__init__.py", line 8, in <module>
> from .arraycrop import crop
> File "/usr/lib/python3/dist-packages/skimage/util/arraycrop.py", line 8, in <module>
> from numpy.lib.arraypad import _validate_lengths
> ImportError: cannot import name '_validate_lengths' from 'numpy.lib.arraypad' (/usr/lib/python3/dist-packages/numpy/lib/arraypad.py)
>
>
> ======================================================================
> ERROR: test_python_layer_with_param_str (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_python_layer_with_param_str
> Traceback (most recent call last):
> File "/usr/lib/python3.7/unittest/loader.py", line 434, in _find_test_path
> module = self._get_module_from_name(name)
> File "/usr/lib/python3.7/unittest/loader.py", line 375, in _get_module_from_name
> __import__(name)
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/test/test_python_layer_with_param_str.py", line 6, in <module>
> import caffe
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/__init__.py", line 1, in <module>
> from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/pycaffe.py", line 15, in <module>
> import caffe.io
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/io.py", line 2, in <module>
> import skimage.io
> File "/usr/lib/python3/dist-packages/skimage/__init__.py", line 176, in <module>
> from .util.lookfor import lookfor
> File "/usr/lib/python3/dist-packages/skimage/util/__init__.py", line 8, in <module>
> from .arraycrop import crop
> File "/usr/lib/python3/dist-packages/skimage/util/arraycrop.py", line 8, in <module>
> from numpy.lib.arraypad import _validate_lengths
> ImportError: cannot import name '_validate_lengths' from 'numpy.lib.arraypad' (/usr/lib/python3/dist-packages/numpy/lib/arraypad.py)
>
>
> ======================================================================
> ERROR: test_solver (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_solver
> Traceback (most recent call last):
> File "/usr/lib/python3.7/unittest/loader.py", line 434, in _find_test_path
> module = self._get_module_from_name(name)
> File "/usr/lib/python3.7/unittest/loader.py", line 375, in _get_module_from_name
> __import__(name)
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/test/test_solver.py", line 7, in <module>
> import caffe
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/__init__.py", line 1, in <module>
> from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/pycaffe.py", line 15, in <module>
> import caffe.io
> File "/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/python/caffe/io.py", line 2, in <module>
> import skimage.io
> File "/usr/lib/python3/dist-packages/skimage/__init__.py", line 176, in <module>
> from .util.lookfor import lookfor
> File "/usr/lib/python3/dist-packages/skimage/util/__init__.py", line 8, in <module>
> from .arraycrop import crop
> File "/usr/lib/python3/dist-packages/skimage/util/arraycrop.py", line 8, in <module>
> from numpy.lib.arraypad import _validate_lengths
> ImportError: cannot import name '_validate_lengths' from 'numpy.lib.arraypad' (/usr/lib/python3/dist-packages/numpy/lib/arraypad.py)
>
>
> ----------------------------------------------------------------------
> Ran 10 tests in 0.001s
>
> FAILED (errors=10)
> make[5]: *** [CMakeFiles/pytest.dir/build.make:60: CMakeFiles/pytest] Error 1
> make[5]: Leaving directory '/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/caffe_cpu_build'
> make[4]: *** [CMakeFiles/Makefile2:172: CMakeFiles/pytest.dir/all] Error 2
> make[4]: Leaving directory '/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/caffe_cpu_build'
> make[3]: *** [CMakeFiles/Makefile2:179: CMakeFiles/pytest.dir/rule] Error 2
> make[3]: Leaving directory '/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/caffe_cpu_build'
> make[2]: *** [Makefile:206: pytest] Error 2
> make[2]: Leaving directory '/<<BUILDDIR>>/caffe-1.0.0+git20180821.99bd997/caffe_cpu_build'
> dh_auto_test: cd caffe_cpu_build && make -j2 test runtest pytest LD_LIBRARY_PATH=/<<BUILDDIR>>/caffe-1.0.0\+git20180821.99bd997/caffe_cpu_build/lib/ ARGS\+=-j2 returned exit code 2
The full build log is available from:
http://aws-logs.debian.net/2018/12/29/caffe_1.0.0+git20180821.99bd997-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the debian-science-maintainers
mailing list