[Python-modules-team] Bug#980632: cloud-sptheme: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit code 13

Lucas Nussbaum lucas at debian.org
Wed Jan 20 20:36:10 GMT 2021


Source: cloud-sptheme
Version: 1.9.4-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210120 ftbfs-bullseye

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:232: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme
> copying cloud_sptheme/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme
> copying cloud_sptheme/make_helper.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme
> copying cloud_sptheme/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/tests
> copying cloud_sptheme/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/tests
> copying cloud_sptheme/tests/test_ext_relbar_toc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/tests
> copying cloud_sptheme/tests/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/ext
> copying cloud_sptheme/ext/autoattribute_search_bases.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/ext
> copying cloud_sptheme/ext/relbar_toc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/ext
> copying cloud_sptheme/ext/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/ext
> copying cloud_sptheme/ext/docfield_markup.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/ext
> copying cloud_sptheme/ext/index_styling.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/ext
> copying cloud_sptheme/ext/table_styling.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/ext
> copying cloud_sptheme/ext/auto_redirect.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/ext
> copying cloud_sptheme/ext/perpage.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/ext
> copying cloud_sptheme/ext/role_index.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/ext
> copying cloud_sptheme/ext/relbar_links.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/ext
> copying cloud_sptheme/ext/issue_tracker.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/ext
> copying cloud_sptheme/ext/autodoc_sections.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/ext
> copying cloud_sptheme/ext/page_only.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/ext
> copying cloud_sptheme/ext/escaped_samp_literals.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/ext
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/ext/static
> copying cloud_sptheme/ext/static/table_styling.css -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/ext/static
> copying cloud_sptheme/ext/static/auto_redirect.css -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/ext/static
> copying cloud_sptheme/ext/static/auto_redirect.html_t -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/cloud_sptheme/ext/static
> python3 -m sphinx /<<PKGBUILDDIR>>/docs /<<PKGBUILDDIR>>/html
> Running Sphinx v3.4.3
> making output directory... done
> /<<PKGBUILDDIR>>/cloud_sptheme/utils.py:143: RemovedInSphinx40Warning: The app.add_stylesheet() is deprecated. Please use app.add_css_file() instead.
>   builder.app.add_stylesheet(name)
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 21 source files that are out of date
> updating environment: [new config] 21 added, 0 changed, 0 removed
> reading sources... [  4%] cloud_theme
> reading sources... [  9%] cloud_theme_test
> reading sources... [ 14%] contents
> reading sources... [ 19%] copyright
> reading sources... [ 23%] history
> reading sources... [ 28%] index
> reading sources... [ 33%] install
> reading sources... [ 38%] lib/cloud_sptheme
> reading sources... [ 42%] lib/cloud_sptheme.ext.auto_redirect
> /usr/lib/python3.9/importlib/__init__.py:127: RemovedInSphinx40Warning: The alias 'sphinx.util.pycompat.htmlescape' is deprecated, use 'html.escape' instead. Check CHANGES for Sphinx API modifications.
>   return _bootstrap._gcd_import(name[level:], package, level)
> reading sources... [ 47%] lib/cloud_sptheme.ext.autoattribute_search_bases
> reading sources... [ 52%] lib/cloud_sptheme.ext.autodoc_sections
> reading sources... [ 57%] lib/cloud_sptheme.ext.docfield_markup
> reading sources... [ 61%] lib/cloud_sptheme.ext.escaped_samp_literals
> reading sources... [ 66%] lib/cloud_sptheme.ext.index_styling
> reading sources... [ 71%] lib/cloud_sptheme.ext.issue_tracker
> reading sources... [ 76%] lib/cloud_sptheme.ext.page_only
> reading sources... [ 80%] lib/cloud_sptheme.ext.relbar_links
> reading sources... [ 85%] lib/cloud_sptheme.ext.relbar_toc
> reading sources... [ 90%] lib/cloud_sptheme.ext.role_index
> reading sources... [ 95%] lib/cloud_sptheme.ext.table_styling
> reading sources... [100%] lib/index
> 
> /<<PKGBUILDDIR>>/docs/lib/cloud_sptheme.ext.relbar_toc.rst:5: WARNING: duplicate object description of cloud_sptheme.ext.relbar_toc, other instance in lib/cloud_sptheme.ext.relbar_links, use :noindex: for one of them
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [  4%] cloud_theme
> writing output... [  9%] cloud_theme_test
> writing output... [ 14%] contents
> writing output... [ 19%] copyright
> writing output... [ 23%] history
> writing output... [ 28%] index
> writing output... [ 33%] install
> writing output... [ 38%] lib/cloud_sptheme
> writing output... [ 42%] lib/cloud_sptheme.ext.auto_redirect
> writing output... [ 47%] lib/cloud_sptheme.ext.autoattribute_search_bases
> writing output... [ 52%] lib/cloud_sptheme.ext.autodoc_sections
> writing output... [ 57%] lib/cloud_sptheme.ext.docfield_markup
> writing output... [ 61%] lib/cloud_sptheme.ext.escaped_samp_literals
> writing output... [ 66%] lib/cloud_sptheme.ext.index_styling
> writing output... [ 71%] lib/cloud_sptheme.ext.issue_tracker
> writing output... [ 76%] lib/cloud_sptheme.ext.page_only
> writing output... [ 80%] lib/cloud_sptheme.ext.relbar_links
> writing output... [ 85%] lib/cloud_sptheme.ext.relbar_toc
> writing output... [ 90%] lib/cloud_sptheme.ext.role_index
> writing output... [ 95%] lib/cloud_sptheme.ext.table_styling
> writing output... [100%] lib/index
> 
> generating indices... genindex py-modindex done
> writing additional pages... search done
> copying static files... done
> copying extra files... done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 1 warning.
> 
> The HTML pages are in html.
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m unittest discover -v 
> test_insert_custom (cloud_sptheme.tests.test_ext_relbar_toc.UtilsTestCase)
> test insert hooks -- with custom links ... ERROR
> test_insert_default (cloud_sptheme.tests.test_ext_relbar_toc.UtilsTestCase)
> test insert hooks -- with default links ... ERROR
> test_insert_no_links (cloud_sptheme.tests.test_ext_relbar_toc.UtilsTestCase)
> test insert hooks -- with no links present (e.g. json builder) ... ERROR
> test_parse_entry (cloud_sptheme.tests.test_ext_relbar_toc.UtilsTestCase)
> test parse_entry() helper ... ERROR
> 
> ======================================================================
> ERROR: test_insert_custom (cloud_sptheme.tests.test_ext_relbar_toc.UtilsTestCase)
> test insert hooks -- with custom links
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/mock/mock.py", line 1545, in __exit__
>     return exit_stack.__exit__(*exc_info)
>   File "/usr/lib/python3.9/contextlib.py", line 471, in __exit__
>     received_exc = exc_details[0] is not None
> IndexError: tuple index out of range
> 
> ======================================================================
> ERROR: test_insert_default (cloud_sptheme.tests.test_ext_relbar_toc.UtilsTestCase)
> test insert hooks -- with default links
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/mock/mock.py", line 1545, in __exit__
>     return exit_stack.__exit__(*exc_info)
>   File "/usr/lib/python3.9/contextlib.py", line 471, in __exit__
>     received_exc = exc_details[0] is not None
> IndexError: tuple index out of range
> 
> ======================================================================
> ERROR: test_insert_no_links (cloud_sptheme.tests.test_ext_relbar_toc.UtilsTestCase)
> test insert hooks -- with no links present (e.g. json builder)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/mock/mock.py", line 1545, in __exit__
>     return exit_stack.__exit__(*exc_info)
>   File "/usr/lib/python3.9/contextlib.py", line 471, in __exit__
>     received_exc = exc_details[0] is not None
> IndexError: tuple index out of range
> 
> ======================================================================
> ERROR: test_parse_entry (cloud_sptheme.tests.test_ext_relbar_toc.UtilsTestCase)
> test parse_entry() helper
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/mock/mock.py", line 1545, in __exit__
>     return exit_stack.__exit__(*exc_info)
>   File "/usr/lib/python3.9/contextlib.py", line 471, in __exit__
>     received_exc = exc_details[0] is not None
> IndexError: tuple index out of range
> 
> ----------------------------------------------------------------------
> Ran 4 tests in 0.003s
> 
> FAILED (errors=4)
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m unittest discover -v 
> dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2021/01/20/cloud-sptheme_1.9.4-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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

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