[Python-modules-team] Bug#851014: python-xmp-toolkit: 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:51:41 UTC 2017


Source: python-xmp-toolkit
Version: 2.0.1+git20140309.5437b0a-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,sphinxdoc --buildsystem=pybuild
>    dh_testdir -O--buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> 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
> I: pybuild base:184: /usr/bin/python setup.py build 
> running build
> running build_py
> creating /<<BUILDDIR>>/python-xmp-toolkit-2.0.1+git20140309.5437b0a/.pybuild/pythonX.Y_2.7/build/libxmp
> copying libxmp/utils.py -> /<<BUILDDIR>>/python-xmp-toolkit-2.0.1+git20140309.5437b0a/.pybuild/pythonX.Y_2.7/build/libxmp
> copying libxmp/files.py -> /<<BUILDDIR>>/python-xmp-toolkit-2.0.1+git20140309.5437b0a/.pybuild/pythonX.Y_2.7/build/libxmp
> copying libxmp/exempi.py -> /<<BUILDDIR>>/python-xmp-toolkit-2.0.1+git20140309.5437b0a/.pybuild/pythonX.Y_2.7/build/libxmp
> copying libxmp/core.py -> /<<BUILDDIR>>/python-xmp-toolkit-2.0.1+git20140309.5437b0a/.pybuild/pythonX.Y_2.7/build/libxmp
> copying libxmp/__init__.py -> /<<BUILDDIR>>/python-xmp-toolkit-2.0.1+git20140309.5437b0a/.pybuild/pythonX.Y_2.7/build/libxmp
> copying libxmp/consts.py -> /<<BUILDDIR>>/python-xmp-toolkit-2.0.1+git20140309.5437b0a/.pybuild/pythonX.Y_2.7/build/libxmp
> copying libxmp/version.py -> /<<BUILDDIR>>/python-xmp-toolkit-2.0.1+git20140309.5437b0a/.pybuild/pythonX.Y_2.7/build/libxmp
> I: pybuild base:184: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<BUILDDIR>>/python-xmp-toolkit-2.0.1+git20140309.5437b0a/.pybuild/pythonX.Y_3.5/build/libxmp
> copying libxmp/utils.py -> /<<BUILDDIR>>/python-xmp-toolkit-2.0.1+git20140309.5437b0a/.pybuild/pythonX.Y_3.5/build/libxmp
> copying libxmp/files.py -> /<<BUILDDIR>>/python-xmp-toolkit-2.0.1+git20140309.5437b0a/.pybuild/pythonX.Y_3.5/build/libxmp
> copying libxmp/exempi.py -> /<<BUILDDIR>>/python-xmp-toolkit-2.0.1+git20140309.5437b0a/.pybuild/pythonX.Y_3.5/build/libxmp
> copying libxmp/core.py -> /<<BUILDDIR>>/python-xmp-toolkit-2.0.1+git20140309.5437b0a/.pybuild/pythonX.Y_3.5/build/libxmp
> copying libxmp/__init__.py -> /<<BUILDDIR>>/python-xmp-toolkit-2.0.1+git20140309.5437b0a/.pybuild/pythonX.Y_3.5/build/libxmp
> copying libxmp/consts.py -> /<<BUILDDIR>>/python-xmp-toolkit-2.0.1+git20140309.5437b0a/.pybuild/pythonX.Y_3.5/build/libxmp
> copying libxmp/version.py -> /<<BUILDDIR>>/python-xmp-toolkit-2.0.1+git20140309.5437b0a/.pybuild/pythonX.Y_3.5/build/libxmp
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:184: python2.7 setup.py test 
> running test
> running egg_info
> creating python_xmp_toolkit.egg-info
> writing requirements to python_xmp_toolkit.egg-info/requires.txt
> writing python_xmp_toolkit.egg-info/PKG-INFO
> writing top-level names to python_xmp_toolkit.egg-info/top_level.txt
> writing dependency_links to python_xmp_toolkit.egg-info/dependency_links.txt
> writing manifest file 'python_xmp_toolkit.egg-info/SOURCES.txt'
> reading manifest file 'python_xmp_toolkit.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'python_xmp_toolkit.egg-info/SOURCES.txt'
> running build_ext
> test_jpeg (test.test_roundtrip.TestRoundTrip)
> Create XMP from scratch to store in a jpeg. ... ok
> test_sturm_und_drang (test.test_roundtrip.TestRoundTrip)
> Should be able to write a property which includes umlauts. ... ok
> test_tiff (test.test_roundtrip.TestRoundTrip)
> Write to a TIFF that does not already have the XMP tag. ... ok
> test_3 (test.test_exempi.TestExempi)
> Corresponds to test3.cpp ... ok
> test_bad_formats (test.test_exempi.TestExempi)
> Verify check_file_format on PDF, Adobe Illustrator, XMP. ... skipped 'Issue 26'
> test_bgo (test.test_exempi.TestExempi)
> Corresponds to test-bgo.cpp ... ok
> test_exempi_core (test.test_exempi.TestExempi)
> According to test-exempi-core.cpp ... ok
> test_formats (test.test_exempi.TestExempi)
> Verify that check_file_format function works as expected. ... ok
> test_serialize (test.test_exempi.TestExempi)
> Corresponds to test-serialize.cpp ... ok
> test_tiff_leak (test.test_exempi.TestExempi)
> Corresponds to test-tiff-leak.cpp ... ok
> test_write_new_date_property (test.test_exempi.TestExempi) ... ok
> test_write_new_property (test.test_exempi.TestExempi)
> Corresponds to test-write-new-property.cpp ... ok
> test_xmp_files (test.test_exempi.TestExempi)
> Corresponds to test_xmp_files.cpp ... ok
> test_xmpfiles_write (test.test_exempi.TestExempi)
> According to test-xmpfiles-write.cpp ... ok
> test_init (test.test_exempi.TestInit)
> TODO:  fill in the docstring ... ok
> test_iter_skip_subtree (test.test_exempi.TestIteration)
> Alter the iteration midstream. ... ok
> test_namespaces (test.test_exempi.TestIteration)
> Iterate through the namespaces. ... skipped 'Issue 27'
> test_no_namespace_single_prop_leaf_nodes (test.test_exempi.TestIteration)
> Get all the leaf nodes from a single property. ... skipped 'Issue 28.'
> test_single_namespace_leaf_nodes (test.test_exempi.TestIteration)
> Get all the leaf nodes from a single namespace. ... ok
> test_single_namespace_leaf_nodes_omit_qualifiers (test.test_exempi.TestIteration)
> Get all the leaf nodes (no qualifiers) from a single namespace. ... ok
> test_single_namespace_properties (test.test_exempi.TestIteration)
> Get all the properties from a single namespace. ... ok
> test_single_namespace_single_path_children (test.test_exempi.TestIteration)
> Get just child nodes from a single path, single namespace. ... ok
> test_single_namespace_single_path_leaf_names (test.test_exempi.TestIteration)
> Get just leaf names from a single path, single namespace. ... FAIL
> test_single_namespace_single_path_leaf_nodes (test.test_exempi.TestIteration)
> Get all the leaf nodes from a single path, single namespace. ... ok
> test_file_not_there_check_file_format (test.test_exempi.TestPythonXmpToolkit) ... ok
> test_file_not_there_open_new (test.test_exempi.TestPythonXmpToolkit) ... ok
> test_can_put_xmp (test.test_files.XMPFilesTestCase) ... ok
> test_close_file (test.test_files.XMPFilesTestCase) ... ok
> test_exempi_bad_combinations (test.test_files.XMPFilesTestCase) ... ok
> test_get_xmp (test.test_files.XMPFilesTestCase) ... ok
> test_init_del (test.test_files.XMPFilesTestCase) ... ok
> test_open_file (test.test_files.XMPFilesTestCase) ... ok
> test_open_file_with_options (test.test_files.XMPFilesTestCase)
> Try all open options ... ok
> test_open_open_limitscanning (test.test_files.XMPFilesTestCase)
> Verify this library failure. ... ok
> test_open_use_smarthandler (test.test_files.XMPFilesTestCase)
> Verify this library failure. ... ok
> test_print_bom (test.test_files.XMPFilesTestCase)
> Should be able to print XMP packets despite BOM. ... ok
> test_repr (test.test_files.XMPFilesTestCase)
> Test __repr__ and __str__ on XMPFiles objects. ... ok
> test_test_files (test.test_files.XMPFilesTestCase) ... ok
> test_tiff_smarthandler (test.test_files.XMPFilesTestCase)
> Verify action of TIFF smarthandler when tag length > 255 ... ok
> test_write_in_readonly (test.test_files.XMPFilesTestCase)
> If not "open_forupdate = True", should raise exception ... XMPFiles::PutXMP - Not open for update
> ok
> test_delete_property (test.test_core_unit.NegativeTestCases) ... ok
> test_delete_property_bad_schema (test.test_core_unit.NegativeTestCases) ... Unregistered schema namespace URI
> ok
> test_2bytes_codepoint (test.test_core_unit.UnicodeTestCase) ... ok
> test_get_localized_text (test.test_core_unit.UnicodeTestCase) ... ok
> test_libxmp_version (test.test_core_unit.UnicodeTestCase)
> Verify that the version attribute is accessible. ... ok
> test_parse_from_str_3_bytes_per_codepoint (test.test_core_unit.UnicodeTestCase) ... ok
> test_xmpmeta_repr (test.test_core_unit.UnicodeTestCase)
> Should be a str in both 2.x and 3.x ... ok
> test_xmpmeta_str (test.test_core_unit.UnicodeTestCase)
> In 2.7, str must return a byte string.  In 3.x, it is a str. ... ok
> test_xmpmeta_unicode_27 (test.test_core_unit.UnicodeTestCase)
> In 2.7, unicode(xmp) should return a unicode object. ... ok
> test_file_to_dict (test.test_core_unit.UtilsTestCase) ... ok
> test_file_to_dict_nofile (test.test_core_unit.UtilsTestCase) ... ok
> test_file_to_dict_noxmp (test.test_core_unit.UtilsTestCase) ... ok
> test_object_to_dict (test.test_core_unit.UtilsTestCase) ... ok
> test_object_to_dict_noxmp (test.test_core_unit.UtilsTestCase) ... ok
> test_clone (test.test_core_unit.XMPMetaTestCase) ... ok
> test_count_array_items (test.test_core_unit.XMPMetaTestCase)
> Tests XMPMeta method count_array_items. ... ok
> test_does_array_item_exist (test.test_core_unit.XMPMetaTestCase)
> Tests XMPMeta method does_array_item_exist.  Issue #03 ... ok
> test_does_property_exist (test.test_core_unit.XMPMetaTestCase) ... ok
> test_exempi_core (test.test_core_unit.XMPMetaTestCase)
> Corresponds to test_exempi.TestExempi.test_exempi_core ... ok
> test_get_localized_text (test.test_core_unit.XMPMetaTestCase) ... ok
> test_get_xmp (test.test_core_unit.XMPMetaTestCase) ... ok
> test_init_del (test.test_core_unit.XMPMetaTestCase) ... ok
> test_parse_str (test.test_core_unit.XMPMetaTestCase) ... ok
> test_serialize_and_format (test.test_core_unit.XMPMetaTestCase) ... Inconsistent options for read-only packet
> Inconsistent options for non-packet serialize
> Inconsistent options for exact size serialize
> ok
> test_serialize_str (test.test_core_unit.XMPMetaTestCase) ... Inconsistent options for read-only packet
> Inconsistent options for non-packet serialize
> Inconsistent options for exact size serialize
> ok
> test_serialize_unicode (test.test_core_unit.XMPMetaTestCase) ... Inconsistent options for read-only packet
> Inconsistent options for non-packet serialize
> Inconsistent options for exact size serialize
> ok
> test_shorthand_rdf (test.test_core_unit.XMPMetaTestCase) ... ok
> test_skip (test.test_core_unit.XMPMetaTestCase)
> Verify usage of XMPMeta skip method. ... ok
> test_test_files (test.test_core_unit.XMPMetaTestCase) ... ok
> test_text_property_450 (test.test_core_unit.XMPMetaTestCase) ... ok
> test_text_property_450_file (test.test_core_unit.XMPMetaTestCase) ... ok
> test_write_new_property (test.test_core_unit.XMPMetaTestCase)
> Corresponds to test-write-new-property.cpp ... ok
> test_write_new_struct_in_array (test.test_core_unit.XMPMetaTestCase) ... ok
> 
> ======================================================================
> FAIL: test_single_namespace_single_path_leaf_names (test.test_exempi.TestIteration)
> Get just leaf names from a single path, single namespace.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<BUILDDIR>>/python-xmp-toolkit-2.0.1+git20140309.5437b0a/test/test_exempi.py", line 546, in test_single_namespace_single_path_leaf_names
>     self.assertEqual(schemas, [NS_DC, NS_DC, NS_DC])
> AssertionError: Lists differ: [u'http://purl.org/dc/elements... != ['http://purl.org/dc/elements/...
> 
> First differing element 1:
> u''
> 'http://purl.org/dc/elements/1.1/'
> 
> - [u'http://purl.org/dc/elements/1.1/',
> ?  -
> 
> + ['http://purl.org/dc/elements/1.1/',
> -  u'',
> -  u'http://www.w3.org/XML/1998/namespace']
> +  'http://purl.org/dc/elements/1.1/',
> +  'http://purl.org/dc/elements/1.1/']
> 
> ----------------------------------------------------------------------
> Ran 73 tests in 3.210s
> 
> FAILED (failures=1, skipped=3)
> Test failed: <unittest.runner.TextTestResult run=73 errors=0 failures=1>
> error: Test failed: <unittest.runner.TextTestResult run=73 errors=0 failures=1>
> 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/python-xmp-toolkit_2.0.1+git20140309.5437b0a-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 Python-modules-team mailing list