[Python-modules-team] Bug#973099: python-boltons: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.9 3.8" returned exit code 13

Lucas Nussbaum lucas at debian.org
Tue Oct 27 17:10:56 GMT 2020


Source: python-boltons
Version: 19.1.0-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201027 ftbfs-bullseye

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 python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:217: python3.9 setup.py config 
> running config
> I: pybuild base:217: python3.8 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:217: /usr/bin/python3.9 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/funcutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/ecoutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/iterutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/strutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/timeutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/setutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/mboxutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/namedutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/tableutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/formatutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/ioutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/queueutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/easterutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/statsutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/debugutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/mathutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/dictutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/listutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/gcutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/urlutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/deprutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/jsonutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/tbutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/socketutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/cacheutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/excutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/typeutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> copying boltons/fileutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons
> running egg_info
> creating boltons.egg-info
> writing boltons.egg-info/PKG-INFO
> writing dependency_links to boltons.egg-info/dependency_links.txt
> writing top-level names to boltons.egg-info/top_level.txt
> writing manifest file 'boltons.egg-info/SOURCES.txt'
> reading manifest file 'boltons.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: manifest_maker: MANIFEST.in, line 7: 'recursive-include' expects <dir> <pattern1> <pattern2> ...
> 
> warning: manifest_maker: MANIFEST.in, line 8: 'recursive-include' expects <dir> <pattern1> <pattern2> ...
> 
> writing manifest file 'boltons.egg-info/SOURCES.txt'
> I: pybuild base:217: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/funcutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/ecoutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/iterutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/strutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/timeutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/setutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/mboxutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/namedutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/tableutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/formatutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/ioutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/queueutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/easterutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/statsutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/debugutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/mathutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/dictutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/listutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/gcutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/urlutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/deprutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/jsonutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/tbutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/socketutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/cacheutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/excutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/typeutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> copying boltons/fileutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_boltons/build/boltons
> running egg_info
> writing boltons.egg-info/PKG-INFO
> writing dependency_links to boltons.egg-info/dependency_links.txt
> writing top-level names to boltons.egg-info/top_level.txt
> reading manifest file 'boltons.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: manifest_maker: MANIFEST.in, line 7: 'recursive-include' expects <dir> <pattern1> <pattern2> ...
> 
> warning: manifest_maker: MANIFEST.in, line 8: 'recursive-include' expects <dir> <pattern1> <pattern2> ...
> 
> writing manifest file 'boltons.egg-info/SOURCES.txt'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build; python3.9 -m pytest tests
> ============================= test session starts ==============================
> platform linux -- Python 3.9.0+, pytest-4.6.11, py-1.9.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, inifile: pytest.ini
> collected 369 items
> 
> tests/test_cacheutils.py ...............                                 [  4%]
> tests/test_debugutils_trace.py ......                                    [  5%]
> tests/test_dictutils.py ......................F                          [ 11%]
> tests/test_ecoutils.py ..                                                [ 12%]
> tests/test_fileutils.py .                                                [ 12%]
> tests/test_formatutils.py .....                                          [ 14%]
> tests/test_funcutils.py ...                                              [ 14%]
> tests/test_funcutils_fb.py ............                                  [ 18%]
> tests/test_funcutils_fb_py3.py ...............                           [ 22%]
> tests/test_gcutils.py ..                                                 [ 22%]
> tests/test_ioutils.py .................................................. [ 36%]
> ........................                                                 [ 42%]
> tests/test_iterutils.py .................................                [ 51%]
> tests/test_jsonutils.py ..                                               [ 52%]
> tests/test_listutils.py ..                                               [ 52%]
> tests/test_mathutils.py ...........                                      [ 55%]
> tests/test_namedutils.py ...                                             [ 56%]
> tests/test_queueutils.py ..                                              [ 57%]
> tests/test_setutils.py ...                                               [ 57%]
> tests/test_socketutils.py ..........                                     [ 60%]
> tests/test_statsutils.py .                                               [ 60%]
> tests/test_statsutils_histogram.py ..                                    [ 61%]
> tests/test_strutils.py .............                                     [ 65%]
> tests/test_tableutils.py ...                                             [ 65%]
> tests/test_tbutils.py ..                                                 [ 66%]
> tests/test_tbutils_parsed_exc.py ..                                      [ 66%]
> tests/test_timeutils.py ...                                              [ 67%]
> tests/test_typeutils.py .                                                [ 68%]
> tests/test_urlutils.py ................................................. [ 81%]
> .....................................................................    [100%]
> 
> =================================== FAILURES ===================================
> _____________________________ test_frozendict_api ______________________________
> 
>     def test_frozendict_api():
>         # all the read-only methods that are fine
>         through_methods = ['__class__',
>                            '__cmp__',
>                            '__contains__',
>                            '__delattr__',
>                            '__dir__',
>                            '__eq__',
>                            '__format__',
>                            '__ge__',
>                            '__getattribute__',
>                            '__getitem__',
>                            '__gt__',
>                            '__init__',
>                            '__iter__',
>                            '__le__',
>                            '__len__',
>                            '__lt__',
>                            '__ne__',
>                            '__new__',
>                            '__reduce__',
>                            '__reversed__',
>                            '__setattr__',
>                            '__sizeof__',
>                            '__str__',
>                            'copy',
>                            'get',
>                            'has_key',
>                            'items',
>                            'iteritems',
>                            'iterkeys',
>                            'itervalues',
>                            'keys',
>                            'values',
>                            'viewitems',
>                            'viewkeys',
>                            'viewvalues']
>     
>         fd = FrozenDict()
>         ret = []
>         for attrname in dir(fd):
>             if attrname == '_hash':  # in the dir, even before it's set
>                 continue
>             attr = getattr(fd, attrname)
>             if not callable(attr):
>                 continue
>     
>             if getattr(FrozenDict, attrname) == getattr(dict, attrname, None) and attrname not in through_methods:
> >               assert attrname == False
> E               AssertionError: assert '__ior__' == False
> 
> tests/test_dictutils.py:462: AssertionError
> =============================== warnings summary ===============================
> boltons/ecoutils.py:377
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons/ecoutils.py:377: DeprecationWarning: invalid escape sequence \s
>     ret = re.sub('\n\s*', ' ', ret)
> 
> boltons/formatutils.py:56
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons/formatutils.py:56: DeprecationWarning: invalid escape sequence \[
>     '({[:!.\[}])')  # anon positional format arg
> 
> boltons/urlutils.py:396
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons/urlutils.py:396: DeprecationWarning: invalid escape sequence \_
>     """The URL is one of the most ubiquitous data structures in the
> 
> .pybuild/cpython3_3.9_boltons/build/tests/test_dictutils.py::test_types
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/tests/test_dictutils.py:94: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
>     assert isinstance(omd, collections.MutableMapping)
> 
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_basic
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_basic
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_basic
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_injected
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_injected
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_injected
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_update_dict
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_expected
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_expected
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_expected
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_expected
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb_py3.py::test_wraps_py3
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb_py3.py::test_wraps_py3
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb_py3.py::test_wraps_py3
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb_py3.py::test_remove_kwonly_arg
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons/funcutils.py:545: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
>     sig = inspect.formatargspec(self.args,
> 
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_basic
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_basic
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_basic
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_injected
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_injected
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_injected
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_update_dict
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_FunctionBuilder_invalid_body
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_FunctionBuilder_modify
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_FunctionBuilder_modify
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_FunctionBuilder_add_arg
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_FunctionBuilder_add_arg
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_FunctionBuilder_add_arg
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_FunctionBuilder_add_arg
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_expected
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_expected
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_expected
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb.py::test_wraps_expected
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb_py3.py::test_wraps_py3
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb_py3.py::test_wraps_py3
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb_py3.py::test_wraps_py3
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb_py3.py::test_remove_kwonly_arg
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb_py3.py::test_FunctionBuilder_add_arg_kwonly
> .pybuild/cpython3_3.9_boltons/build/tests/test_funcutils_fb_py3.py::test_FunctionBuilder_add_arg_kwonly
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build/boltons/funcutils.py:522: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
>     return inspect.formatargspec(self.args,
> 
> -- Docs: https://docs.pytest.org/en/latest/warnings.html
> ============== 1 failed, 368 passed, 43 warnings in 1.91 seconds ===============
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_boltons/build; python3.9 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.9 3.8" returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/10/27/python-boltons_19.1.0-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 Python-modules-team mailing list