[Python-modules-team] Bug#951990: willow: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p "3.8 3.7" returned exit code 13

Lucas Nussbaum lucas at debian.org
Sun Feb 23 07:12:51 GMT 2020


Source: willow
Version: 1.1-4
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build
> I: pybuild base:217: /usr/bin/python3.8 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow
> copying willow/registry.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow
> copying willow/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow
> copying willow/image.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/utils
> copying willow/utils/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/utils
> copying willow/utils/deprecation.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/utils
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/plugins
> copying willow/plugins/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/plugins
> copying willow/plugins/opencv.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/plugins
> copying willow/plugins/pillow.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/plugins
> copying willow/plugins/wand.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/plugins
> running egg_info
> creating Willow.egg-info
> writing Willow.egg-info/PKG-INFO
> writing dependency_links to Willow.egg-info/dependency_links.txt
> writing top-level names to Willow.egg-info/top_level.txt
> writing manifest file 'Willow.egg-info/SOURCES.txt'
> reading manifest file 'Willow.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '__pycache__' found anywhere in distribution
> warning: no previously-included files matching '*.py[co]' found anywhere in distribution
> warning: no previously-included files matching '*.swp' found anywhere in distribution
> writing manifest file 'Willow.egg-info/SOURCES.txt'
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/data
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/data/cascades
> copying willow/data/cascades/haarcascade_frontalface_alt2.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/data/cascades
> I: pybuild base:217: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_willow/build/willow
> copying willow/registry.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_willow/build/willow
> copying willow/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_willow/build/willow
> copying willow/image.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_willow/build/willow
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_willow/build/willow/utils
> copying willow/utils/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_willow/build/willow/utils
> copying willow/utils/deprecation.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_willow/build/willow/utils
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_willow/build/willow/plugins
> copying willow/plugins/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_willow/build/willow/plugins
> copying willow/plugins/opencv.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_willow/build/willow/plugins
> copying willow/plugins/pillow.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_willow/build/willow/plugins
> copying willow/plugins/wand.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_willow/build/willow/plugins
> running egg_info
> writing Willow.egg-info/PKG-INFO
> writing dependency_links to Willow.egg-info/dependency_links.txt
> writing top-level names to Willow.egg-info/top_level.txt
> reading manifest file 'Willow.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '__pycache__' found anywhere in distribution
> warning: no previously-included files matching '*.py[co]' found anywhere in distribution
> warning: no previously-included files matching '*.swp' found anywhere in distribution
> writing manifest file 'Willow.egg-info/SOURCES.txt'
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_willow/build/willow/data
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_willow/build/willow/data/cascades
> copying willow/data/cascades/haarcascade_frontalface_alt2.xml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_willow/build/willow/data/cascades
> PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx -N -bhtml docs/ build/html # HTML generator
> Running Sphinx v1.8.5
> Initializing Spelling Checker
> making output directory...
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 10 source files that are out of date
> updating environment: 10 added, 0 changed, 0 removed
> reading sources... [ 10%] changelog
> reading sources... [ 20%] concepts
> reading sources... [ 30%] guide/extend
> reading sources... [ 40%] guide/index
> reading sources... [ 50%] guide/open
> reading sources... [ 60%] guide/operations
> reading sources... [ 70%] guide/save
> reading sources... [ 80%] index
> reading sources... [ 90%] installation
> reading sources... [100%] reference
> 
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [ 10%] changelog
> writing output... [ 20%] concepts
> writing output... [ 30%] guide/extend
> writing output... [ 40%] guide/index
> writing output... [ 50%] guide/open
> writing output... [ 60%] guide/operations
> writing output... [ 70%] guide/save
> writing output... [ 80%] index
> writing output... [ 90%] installation
> writing output... [100%] reference
> 
> generating indices... genindex
> writing additional pages... search
> copying static files... done
> copying extra files... done
> dumping search index in English (code: en) ... done
> dumping object inventory... done
> build succeeded.
> 
> The HTML pages are in build/html.
> /usr/lib/python3/dist-packages/sphinxcontrib/spelling/__init__.py:11: RemovedInSphinx20Warning: app.info() is now deprecated. Use sphinx.util.logging instead.
>   app.info('Initializing Spelling Checker')
> PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx -N -bman docs/ build/man # Manpage generator
> Running Sphinx v1.8.5
> Initializing Spelling Checker
> making output directory...
> building [mo]: targets for 0 po files that are out of date
> building [man]: all manpages
> updating environment: 10 added, 0 changed, 0 removed
> reading sources... [ 10%] changelog
> reading sources... [ 20%] concepts
> reading sources... [ 30%] guide/extend
> reading sources... [ 40%] guide/index
> reading sources... [ 50%] guide/open
> reading sources... [ 60%] guide/operations
> reading sources... [ 70%] guide/save
> reading sources... [ 80%] index
> reading sources... [ 90%] installation
> reading sources... [100%] reference
> 
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> writing... wagtail.1 { installation concepts guide/index guide/open guide/operations guide/save guide/extend reference changelog } 
> build succeeded.
> 
> The manual pages are in build/man.
> /usr/lib/python3/dist-packages/sphinxcontrib/spelling/__init__.py:11: RemovedInSphinx20Warning: app.info() is now deprecated. Use sphinx.util.logging instead.
>   app.info('Initializing Spelling Checker')
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build; python3.8 -m unittest discover -v 
> test_bmp (tests.test_image.TestImageFormats) ... ok
> test_tiff (tests.test_image.TestImageFormats) ... ok
> test_detects_photoshop3_jpeg (tests.test_image.TestImghdrJPEGPatch) ... ok
> test_junk (tests.test_image.TestImghdrJPEGPatch) ... ok
> test_opens_gif (tests.test_image.TestOpenImage) ... /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/image.py:131: RemovedInWillow05Warning: Image.original_format has been renamed to Image.format_name.
>   warnings.warn(
> ok
> test_opens_jpeg (tests.test_image.TestOpenImage) ... ok
> test_opens_png (tests.test_image.TestOpenImage) ... ok
> test_raises_error_on_invalid_header (tests.test_image.TestOpenImage) ... ok
> test_save_as_foo (tests.test_image.TestSaveImage) ... ok
> test_save_as_jpeg (tests.test_image.TestSaveImage) ... ok
> test_detect_faces (tests.test_opencv.TestOpenCVOperations) ... ERROR
> test_detect_features (tests.test_opencv.TestOpenCVOperations) ... ERROR
> test_get_size (tests.test_opencv.TestOpenCVOperations) ... ERROR
> test_has_alpha (tests.test_opencv.TestOpenCVOperations) ... ERROR
> test_has_animation (tests.test_opencv.TestOpenCVOperations) ... ERROR
> test_jpeg_with_orientation_1 (tests.test_pillow.TestPillowImageOrientation) ... ok
> test_jpeg_with_orientation_2 (tests.test_pillow.TestPillowImageOrientation) ... ok
> test_jpeg_with_orientation_3 (tests.test_pillow.TestPillowImageOrientation) ... ok
> test_jpeg_with_orientation_4 (tests.test_pillow.TestPillowImageOrientation) ... ok
> test_jpeg_with_orientation_5 (tests.test_pillow.TestPillowImageOrientation) ... ok
> test_jpeg_with_orientation_6 (tests.test_pillow.TestPillowImageOrientation) ... ok
> test_jpeg_with_orientation_7 (tests.test_pillow.TestPillowImageOrientation) ... ok
> test_jpeg_with_orientation_8 (tests.test_pillow.TestPillowImageOrientation) ... ok
> test_animated_gif (tests.test_pillow.TestPillowOperations) ... expected failure
> test_crop (tests.test_pillow.TestPillowOperations) ... ok
> test_get_pillow_image (tests.test_pillow.TestPillowOperations) ... ok
> test_get_size (tests.test_pillow.TestPillowOperations) ... ok
> test_has_alpha (tests.test_pillow.TestPillowOperations) ... ok
> test_has_animation (tests.test_pillow.TestPillowOperations) ... ok
> test_resize (tests.test_pillow.TestPillowOperations) ... ok
> test_resize_animated_gif (tests.test_pillow.TestPillowOperations) ... expected failure
> test_resize_transparent_gif (tests.test_pillow.TestPillowOperations) ... ok
> test_save_as_gif (tests.test_pillow.TestPillowOperations) ... ok
> test_save_as_gif_converts_back_to_supported_mode (tests.test_pillow.TestPillowOperations) ... /usr/lib/python3/dist-packages/PIL/Image.py:987: UserWarning: Couldn't allocate palette entry for transparency
>   warnings.warn("Couldn't allocate palette entry for transparency")
> ok
> test_save_as_jpeg (tests.test_pillow.TestPillowOperations) ... ok
> test_save_as_jpeg_optimised (tests.test_pillow.TestPillowOperations) ... ok
> test_save_as_jpeg_progressive (tests.test_pillow.TestPillowOperations) ... ok
> test_save_as_png (tests.test_pillow.TestPillowOperations) ... ok
> test_save_as_png_optimised (tests.test_pillow.TestPillowOperations) ... ok
> test_save_transparent_gif (tests.test_pillow.TestPillowOperations) ... ok
> test_set_background_color_rgb (tests.test_pillow.TestPillowOperations) ... ok
> test_set_background_color_rgb_color_argument_check (tests.test_pillow.TestPillowOperations) ... ok
> test_transparent_gif (tests.test_pillow.TestPillowOperations) ... ok
> test_find_all_paths_a_to_e (tests.test_registry.TestFindAllPaths) ... ok
> test_find_all_paths_e_to_b (tests.test_registry.TestFindAllPaths) ... ok
> test_find_operation_foo_from_a (tests.test_registry.TestFindOperation) ... ok
> test_find_operation_foo_from_a_all_unavailable (tests.test_registry.TestFindOperation) ... ok
> test_find_operation_foo_from_a_avoids_unavailable (tests.test_registry.TestFindOperation) ... ok
> test_find_operation_foo_from_b (tests.test_registry.TestFindOperation) ... ok
> test_find_operation_unknown_from_a (tests.test_registry.TestFindOperation) ... ok
> test_find_operation_unreachable_from_a (tests.test_registry.TestFindOperation) ... ok
> test_find_shortest_path (tests.test_registry.TestFindShortestPath) ... ok
> test_find_shortest_path_with_cost (tests.test_registry.TestFindShortestPath) ... ok
> test_get_converter (tests.test_registry.TestGetConverter) ... ok
> test_get_converter_nonexistant (tests.test_registry.TestGetConverter) ... ok
> test_get_converters_from (tests.test_registry.TestGetConvertersFrom) ... ok
> test_get_operation (tests.test_registry.TestGetOperation) ... ok
> test_get_operation_nonexistant (tests.test_registry.TestGetOperation) ... ok
> test_register_converter (tests.test_registry.TestRegisterConverter) ... ok
> test_register_converter_from_unregistered_image_class (tests.test_registry.TestRegisterConverter) ... expected failure
> test_register_converter_to_unregistered_image_class (tests.test_registry.TestRegisterConverter) ... expected failure
> test_register_image_class (tests.test_registry.TestRegisterImageClass) ... ok
> test_register_image_class_with_converter_from (tests.test_registry.TestRegisterImageClass) ... ok
> test_register_image_class_with_converter_from_multiple (tests.test_registry.TestRegisterImageClass) ... ok
> test_register_image_class_with_converter_from_multiple_lines (tests.test_registry.TestRegisterImageClass) ... ok
> test_register_image_class_with_converter_to (tests.test_registry.TestRegisterImageClass) ... ok
> test_register_image_class_with_multiple_operations (tests.test_registry.TestRegisterImageClass) ... ok
> test_register_image_class_with_operation (tests.test_registry.TestRegisterImageClass) ... ok
> test_register_operation (tests.test_registry.TestRegisterOperation) ... ok
> test_register_operation_against_unregistered_image_class (tests.test_registry.TestRegisterOperation) ... expected failure
> test_jpeg_with_orientation_1 (tests.test_wand.TestWandImageOrientation) ... ok
> test_jpeg_with_orientation_2 (tests.test_wand.TestWandImageOrientation) ... ok
> test_jpeg_with_orientation_3 (tests.test_wand.TestWandImageOrientation) ... ok
> test_jpeg_with_orientation_4 (tests.test_wand.TestWandImageOrientation) ... ok
> test_jpeg_with_orientation_5 (tests.test_wand.TestWandImageOrientation) ... ok
> test_jpeg_with_orientation_6 (tests.test_wand.TestWandImageOrientation) ... ok
> test_jpeg_with_orientation_7 (tests.test_wand.TestWandImageOrientation) ... ok
> test_jpeg_with_orientation_8 (tests.test_wand.TestWandImageOrientation) ... ok
> test_animated_gif (tests.test_wand.TestWandOperations) ... ok
> test_crop (tests.test_wand.TestWandOperations) ... ok
> test_get_size (tests.test_wand.TestWandOperations) ... ok
> test_get_wand_image (tests.test_wand.TestWandOperations) ... ok
> test_has_alpha (tests.test_wand.TestWandOperations) ... ok
> test_has_animation (tests.test_wand.TestWandOperations) ... ok
> test_resize (tests.test_wand.TestWandOperations) ... ok
> test_resize_animated_gif (tests.test_wand.TestWandOperations) ... ok
> test_resize_transparent_gif (tests.test_wand.TestWandOperations) ... ok
> test_save_as_gif (tests.test_wand.TestWandOperations) ... ok
> test_save_as_jpeg (tests.test_wand.TestWandOperations) ... ok
> test_save_as_jpeg_optimised (tests.test_wand.TestWandOperations) ... expected failure
> test_save_as_jpeg_progressive (tests.test_wand.TestWandOperations) ... ok
> test_save_as_png (tests.test_wand.TestWandOperations) ... ok
> test_save_as_png_optimised (tests.test_wand.TestWandOperations) ... expected failure
> test_set_background_color_rgb (tests.test_wand.TestWandOperations) ... ok
> test_set_background_color_rgb_color_argument_check (tests.test_wand.TestWandOperations) ... ok
> test_transparent_gif (tests.test_wand.TestWandOperations) ... ok
> 
> ======================================================================
> ERROR: test_detect_faces (tests.test_opencv.TestOpenCVOperations)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/plugins/opencv.py", line 10, in _cv2
>     import cv2
> ModuleNotFoundError: No module named 'cv2'
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/tests/test_opencv.py", line 16, in setUp
>     colour_image = OpenCVColorImage.from_buffer_rgb(buffer_rgb)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/plugins/opencv.py", line 58, in from_buffer_rgb
>     cv2 = _cv2()
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/plugins/opencv.py", line 12, in _cv2
>     from cv import cv2
> ModuleNotFoundError: No module named 'cv'
> 
> ======================================================================
> ERROR: test_detect_features (tests.test_opencv.TestOpenCVOperations)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/plugins/opencv.py", line 10, in _cv2
>     import cv2
> ModuleNotFoundError: No module named 'cv2'
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/tests/test_opencv.py", line 16, in setUp
>     colour_image = OpenCVColorImage.from_buffer_rgb(buffer_rgb)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/plugins/opencv.py", line 58, in from_buffer_rgb
>     cv2 = _cv2()
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/plugins/opencv.py", line 12, in _cv2
>     from cv import cv2
> ModuleNotFoundError: No module named 'cv'
> 
> ======================================================================
> ERROR: test_get_size (tests.test_opencv.TestOpenCVOperations)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/plugins/opencv.py", line 10, in _cv2
>     import cv2
> ModuleNotFoundError: No module named 'cv2'
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/tests/test_opencv.py", line 16, in setUp
>     colour_image = OpenCVColorImage.from_buffer_rgb(buffer_rgb)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/plugins/opencv.py", line 58, in from_buffer_rgb
>     cv2 = _cv2()
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/plugins/opencv.py", line 12, in _cv2
>     from cv import cv2
> ModuleNotFoundError: No module named 'cv'
> 
> ======================================================================
> ERROR: test_has_alpha (tests.test_opencv.TestOpenCVOperations)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/plugins/opencv.py", line 10, in _cv2
>     import cv2
> ModuleNotFoundError: No module named 'cv2'
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/tests/test_opencv.py", line 16, in setUp
>     colour_image = OpenCVColorImage.from_buffer_rgb(buffer_rgb)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/plugins/opencv.py", line 58, in from_buffer_rgb
>     cv2 = _cv2()
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/plugins/opencv.py", line 12, in _cv2
>     from cv import cv2
> ModuleNotFoundError: No module named 'cv'
> 
> ======================================================================
> ERROR: test_has_animation (tests.test_opencv.TestOpenCVOperations)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/plugins/opencv.py", line 10, in _cv2
>     import cv2
> ModuleNotFoundError: No module named 'cv2'
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/tests/test_opencv.py", line 16, in setUp
>     colour_image = OpenCVColorImage.from_buffer_rgb(buffer_rgb)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/plugins/opencv.py", line 58, in from_buffer_rgb
>     cv2 = _cv2()
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build/willow/plugins/opencv.py", line 12, in _cv2
>     from cv import cv2
> ModuleNotFoundError: No module named 'cv'
> 
> ----------------------------------------------------------------------
> Ran 96 tests in 1.041s
> 
> FAILED (errors=5, expected failures=7)
> E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_willow/build; python3.8 -m unittest discover -v 
> dh_auto_test: error: pybuild --test -i python{version} -p "3.8 3.7" returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/willow_1.1-4_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 Python-modules-team mailing list