Bug#851023: mapbox-vector-tile: FTBFS: dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13

Lucas Nussbaum lucas at debian.org
Wed Jan 11 18:49:57 UTC 2017


Source: mapbox-vector-tile
Version: 0.5.0+ds-3
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170111 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
>  debian/rules build
> dh build \
> 	--with python2,python3 \
> 	--buildsystem=pybuild \
> 	--parallel
>    dh_testdir -O--buildsystem=pybuild -O--parallel
>    dh_update_autotools_config -O--buildsystem=pybuild -O--parallel
>    dh_auto_configure -O--buildsystem=pybuild -O--parallel
> I: pybuild base:184: python2.7 setup.py config 
> running config
> I: pybuild base:184: python3.5 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild -O--parallel
> I: pybuild base:184: /usr/bin/python setup.py build 
> running build
> running build_py
> creating /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_2.7/build/tests
> copying tests/test_encoder.py -> /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_2.7/build/tests
> copying tests/__init__.py -> /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_2.7/build/tests
> copying tests/test_decoder.py -> /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_2.7/build/tests
> creating /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_2.7/build/mapbox_vector_tile
> copying mapbox_vector_tile/decoder.py -> /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_2.7/build/mapbox_vector_tile
> copying mapbox_vector_tile/encoder.py -> /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_2.7/build/mapbox_vector_tile
> copying mapbox_vector_tile/compat.py -> /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_2.7/build/mapbox_vector_tile
> copying mapbox_vector_tile/__init__.py -> /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_2.7/build/mapbox_vector_tile
> creating /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_2.7/build/mapbox_vector_tile/Mapbox
> copying mapbox_vector_tile/Mapbox/vector_tile_p3_pb2.py -> /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_2.7/build/mapbox_vector_tile/Mapbox
> copying mapbox_vector_tile/Mapbox/__init__.py -> /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_2.7/build/mapbox_vector_tile/Mapbox
> copying mapbox_vector_tile/Mapbox/vector_tile_pb2.py -> /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_2.7/build/mapbox_vector_tile/Mapbox
> running egg_info
> creating mapbox_vector_tile.egg-info
> writing requirements to mapbox_vector_tile.egg-info/requires.txt
> writing mapbox_vector_tile.egg-info/PKG-INFO
> writing top-level names to mapbox_vector_tile.egg-info/top_level.txt
> writing dependency_links to mapbox_vector_tile.egg-info/dependency_links.txt
> writing manifest file 'mapbox_vector_tile.egg-info/SOURCES.txt'
> reading manifest file 'mapbox_vector_tile.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'mapbox_vector_tile.egg-info/SOURCES.txt'
> I: pybuild base:184: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_3.5/build/tests
> copying tests/test_encoder.py -> /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_3.5/build/tests
> copying tests/__init__.py -> /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_3.5/build/tests
> copying tests/test_decoder.py -> /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_3.5/build/tests
> creating /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_3.5/build/mapbox_vector_tile
> copying mapbox_vector_tile/decoder.py -> /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_3.5/build/mapbox_vector_tile
> copying mapbox_vector_tile/encoder.py -> /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_3.5/build/mapbox_vector_tile
> copying mapbox_vector_tile/compat.py -> /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_3.5/build/mapbox_vector_tile
> copying mapbox_vector_tile/__init__.py -> /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_3.5/build/mapbox_vector_tile
> creating /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_3.5/build/mapbox_vector_tile/Mapbox
> copying mapbox_vector_tile/Mapbox/vector_tile_p3_pb2.py -> /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_3.5/build/mapbox_vector_tile/Mapbox
> copying mapbox_vector_tile/Mapbox/__init__.py -> /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_3.5/build/mapbox_vector_tile/Mapbox
> copying mapbox_vector_tile/Mapbox/vector_tile_pb2.py -> /<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/.pybuild/pythonX.Y_3.5/build/mapbox_vector_tile/Mapbox
> running egg_info
> writing mapbox_vector_tile.egg-info/PKG-INFO
> writing requirements to mapbox_vector_tile.egg-info/requires.txt
> writing dependency_links to mapbox_vector_tile.egg-info/dependency_links.txt
> writing top-level names to mapbox_vector_tile.egg-info/top_level.txt
> reading manifest file 'mapbox_vector_tile.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'mapbox_vector_tile.egg-info/SOURCES.txt'
>    dh_auto_test -O--buildsystem=pybuild -O--parallel
> I: pybuild base:184: python2.7 setup.py test 
> running test
> running egg_info
> writing requirements to mapbox_vector_tile.egg-info/requires.txt
> writing mapbox_vector_tile.egg-info/PKG-INFO
> writing top-level names to mapbox_vector_tile.egg-info/top_level.txt
> writing dependency_links to mapbox_vector_tile.egg-info/dependency_links.txt
> reading manifest file 'mapbox_vector_tile.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'mapbox_vector_tile.egg-info/SOURCES.txt'
> running build_ext
> running test
> running egg_info
> writing requirements to mapbox_vector_tile.egg-info/requires.txt
> writing mapbox_vector_tile.egg-info/PKG-INFO
> writing top-level names to mapbox_vector_tile.egg-info/top_level.txt
> writing dependency_links to mapbox_vector_tile.egg-info/dependency_links.txt
> reading manifest file 'mapbox_vector_tile.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'mapbox_vector_tile.egg-info/SOURCES.txt'
> running build_ext
> test_custom_extent (test_encoder.ExtentTest) ... ParseException: Unknown WKB type 79
> ok
> test_bowtie_self_crossing (test_encoder.InvalidGeometryTest) ... Self-intersection at or near point 1 1
> Self-intersection at or near point 1 1
> ok
> test_bowtie_self_touching (test_encoder.InvalidGeometryTest) ... Ring Self-intersection at or near point 1 1
> Ring Self-intersection at or near point 1 1
> ok
> test_geometry_collection_raises (test_encoder.InvalidGeometryTest) ... ok
> test_invalid_geometry_ignore (test_encoder.InvalidGeometryTest) ... Self-intersection at or near point 15 10
> Self-intersection at or near point 15 10
> ok
> test_invalid_geometry_make_valid (test_encoder.InvalidGeometryTest) ... Self-intersection at or near point 15 10
> Self-intersection at or near point 15 10
> ok
> test_invalid_geometry_raise (test_encoder.InvalidGeometryTest) ... Self-intersection at or near point 15 10
> Self-intersection at or near point 15 10
> ok
> test_quantize_makes_mutlipolygon_invalid (test_encoder.InvalidGeometryTest) ... Too few points in geometry component at or near point 2255 0
> ok
> test_validate_generates_rounding_error (test_encoder.InvalidGeometryTest) ... Self-intersection at or near point 0.5 0.5
> Self-intersection at or near point 0.5 0.5
> ok
> test_example_multi_polygon (test_encoder.LowLevelEncodingTestCase) ... ParseException: Unknown WKB type 85
> ok
> test_example_multi_polygon_y_up (test_encoder.LowLevelEncodingTestCase) ... ParseException: Unknown WKB type 85
> ok
> test_issue_57 (test_encoder.LowLevelEncodingTestCase) ... ParseException: Unknown WKB type 79
> ok
> test_quantize (test_encoder.QuantizeTest) ... ParseException: Unknown WKB type 79
> ok
> test_quantize_and_y_coord_down (test_encoder.QuantizeTest) ... ParseException: Unknown WKB type 79
> ok
> test_y_coord_down (test_encoder.QuantizeTest) ... ParseException: Unknown WKB type 79
> ok
> test_custom_rounding_function (test_encoder.RoundTest) ... ParseException: Unknown WKB type 79
> ok
> test_encode_feature_with_id (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 79
> ok
> test_encode_float_little_endian (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 73
> ok
> test_encode_multilinestring (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 85
> ok
> test_encode_multiple_values_test (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 79
> ParseException: Unknown WKB type 79
> ok
> test_encode_multipolygon_normal_winding_order (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 85
> ok
> test_encode_multipolygon_normal_winding_order_zero_area (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 85
> Self-intersection at or near point 40 20
> Self-intersection at or near point 40 23
> ok
> test_encode_multipolygon_reverse_winding_order (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 85
> Self-intersection at or near point 2 0
> Self-intersection at or near point 2 0
> ok
> test_encode_polygon_reverse_winding_order (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 79
> ok
> test_encode_property_bool (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 79
> ok
> test_encode_property_list (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 79
> ok
> test_encode_property_long (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 79
> ok
> test_encode_property_null (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 79
> ok
> test_encode_rounding_floats (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 73
> ok
> test_encode_unicode_property (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 73
> ok
> test_encode_unicode_property_key (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 73
> ok
> test_encoder (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 79
> ok
> test_encoder_ensure_winding_after_quantization (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 79
> ok
> test_encoder_quantize_before_orient (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 79
> ok
> test_encoder_winding_order_multipolygon (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 85
> ok
> test_encoder_winding_order_polygon (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 79
> ok
> test_encoder_winding_order_polygon_reverse (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 79
> ok
> test_with_invalid_geometry (test_encoder.TestDifferentGeomFormats) ... ParseException: Unexpected EOF parsing WKB
> ParseException: Unknown type: 'XYZ'
> ok
> test_with_shapely (test_encoder.TestDifferentGeomFormats) ... ok
> test_with_wkb (test_encoder.TestDifferentGeomFormats) ... ok
> test_with_wkt (test_encoder.TestDifferentGeomFormats) ... ParseException: Unknown WKB type 73
> ok
> test_decode_polygon_no_cmd_seg_end (test_decoder.BaseTestCase) ... ok
> test_decoder (test_decoder.BaseTestCase) ... ok
> test_nondefault_extent (test_decoder.BaseTestCase) ... ok
> 
> ----------------------------------------------------------------------
> Ran 44 tests in 0.049s
> 
> OK
> test_encoder (unittest.loader.ModuleImportFailure) ... ERROR
> test_decoder (unittest.loader.ModuleImportFailure) ... ERROR
> 
> ======================================================================
> ERROR: test_encoder (unittest.loader.ModuleImportFailure)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_encoder
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/unittest/loader.py", line 254, in _find_tests
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python2.7/unittest/loader.py", line 232, in _get_module_from_name
>     __import__(name)
>   File "/<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/tests/test_encoder.py", line 7, in <module>
>     import mapbox_vector_tile
>   File "/<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/mapbox_vector_tile/__init__.py", line 1, in <module>
>     from . import encoder
>   File "/<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/mapbox_vector_tile/encoder.py", line 15, in <module>
>     from .compat import PY3, vector_tile, apply_map
>   File "/<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/mapbox_vector_tile/compat.py", line 10, in <module>
>     from .Mapbox import vector_tile_pb2
>   File "/<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/mapbox_vector_tile/Mapbox/vector_tile_pb2.py", line 7, in <module>
>     from google.protobuf import descriptor_pb2
>   File "/usr/lib/python2.7/dist-packages/google/protobuf/descriptor_pb2.py", line 1666, in <module>
>     __module__ = 'google.protobuf.descriptor_pb2'
> TypeError: A Message class can only inherit from Message
> 
> 
> ======================================================================
> ERROR: test_decoder (unittest.loader.ModuleImportFailure)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: test_decoder
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/unittest/loader.py", line 254, in _find_tests
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python2.7/unittest/loader.py", line 232, in _get_module_from_name
>     __import__(name)
>   File "/<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/tests/test_decoder.py", line 8, in <module>
>     import mapbox_vector_tile
>   File "/<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/mapbox_vector_tile/__init__.py", line 1, in <module>
>     from . import encoder
>   File "/<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/mapbox_vector_tile/encoder.py", line 15, in <module>
>     from .compat import PY3, vector_tile, apply_map
>   File "/<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/mapbox_vector_tile/compat.py", line 10, in <module>
>     from .Mapbox import vector_tile_pb2
>   File "/<<BUILDDIR>>/mapbox-vector-tile-0.5.0+ds/mapbox_vector_tile/Mapbox/vector_tile_pb2.py", line 7, in <module>
>     from google.protobuf import descriptor_pb2
>   File "/usr/lib/python2.7/dist-packages/google/protobuf/descriptor_pb2.py", line 1666, in <module>
>     __module__ = 'google.protobuf.descriptor_pb2'
> TypeError: A Message class can only inherit from Message
> 
> 
> ----------------------------------------------------------------------
> Ran 2 tests in 0.000s
> 
> FAILED (errors=2)
> Test failed: <unittest.runner.TextTestResult run=2 errors=2 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=2 errors=2 failures=0>
> E: pybuild pybuild:276: test: plugin distutils failed with: exit code=1: python2.7 setup.py test 
> dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13

The full build log is available from:
   http://aws-logs.debian.net/2017/01/11/mapbox-vector-tile_0.5.0+ds-3_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 Pkg-grass-devel mailing list