[Python-modules-team] Bug#973056: sphinx-tabs: 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:13:26 GMT 2020
Source: sphinx-tabs
Version: 1.2.1+ds-1
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):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> python3 -m sphinx -b html -d docs/.build/.doctrees -N docs docs/.build/html
> Running Sphinx v3.2.1
> making output directory... done
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 1 source files that are out of date
> updating environment: [new config] 1 added, 0 changed, 0 removed
> reading sources... [100%] index
>
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [100%] index
>
> generating indices... genindexdone
> writing additional pages... searchdone
> 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 docs/.build/html.
> Copying tabs assets
> dh_auto_build
> I: pybuild base:217: /usr/bin/python3.9 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build/sphinx_tabs
> copying sphinx_tabs/tabs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build/sphinx_tabs
> copying sphinx_tabs/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build/sphinx_tabs
> running egg_info
> writing sphinx_tabs.egg-info/PKG-INFO
> writing dependency_links to sphinx_tabs.egg-info/dependency_links.txt
> writing requirements to sphinx_tabs.egg-info/requires.txt
> writing top-level names to sphinx_tabs.egg-info/top_level.txt
> reading manifest file 'sphinx_tabs.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files found matching 'docs'
> warning: no previously-included files matching '*' found under directory 'docs'
> warning: no previously-included files found matching 'test'
> warning: no previously-included files found matching 'images'
> warning: no previously-included files matching '*' found under directory 'images'
> warning: no previously-included files found matching '.pre-commit-config.yaml'
> warning: no previously-included files found matching '.readthedocs.yml'
> warning: no previously-included files found matching 'pylint.cfg'
> warning: no previously-included files found matching 'tox.ini'
> warning: no previously-included files found matching 'codecov.yml'
> writing manifest file 'sphinx_tabs.egg-info/SOURCES.txt'
> copying sphinx_tabs/tabs.css -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build/sphinx_tabs
> copying sphinx_tabs/tabs.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build/sphinx_tabs
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build/sphinx_tabs/semantic-ui-2.4.1
> copying sphinx_tabs/semantic-ui-2.4.1/LICENSE.md -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build/sphinx_tabs/semantic-ui-2.4.1
> copying sphinx_tabs/semantic-ui-2.4.1/menu.min.css -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build/sphinx_tabs/semantic-ui-2.4.1
> copying sphinx_tabs/semantic-ui-2.4.1/segment.min.css -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build/sphinx_tabs/semantic-ui-2.4.1
> copying sphinx_tabs/semantic-ui-2.4.1/tab.min.css -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build/sphinx_tabs/semantic-ui-2.4.1
> copying sphinx_tabs/semantic-ui-2.4.1/tab.min.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build/sphinx_tabs/semantic-ui-2.4.1
> I: pybuild base:217: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_sphinx-tabs/build/sphinx_tabs
> copying sphinx_tabs/tabs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_sphinx-tabs/build/sphinx_tabs
> copying sphinx_tabs/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_sphinx-tabs/build/sphinx_tabs
> running egg_info
> writing sphinx_tabs.egg-info/PKG-INFO
> writing dependency_links to sphinx_tabs.egg-info/dependency_links.txt
> writing requirements to sphinx_tabs.egg-info/requires.txt
> writing top-level names to sphinx_tabs.egg-info/top_level.txt
> reading manifest file 'sphinx_tabs.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files found matching 'docs'
> warning: no previously-included files matching '*' found under directory 'docs'
> warning: no previously-included files found matching 'test'
> warning: no previously-included files found matching 'images'
> warning: no previously-included files matching '*' found under directory 'images'
> warning: no previously-included files found matching '.pre-commit-config.yaml'
> warning: no previously-included files found matching '.readthedocs.yml'
> warning: no previously-included files found matching 'pylint.cfg'
> warning: no previously-included files found matching 'tox.ini'
> warning: no previously-included files found matching 'codecov.yml'
> writing manifest file 'sphinx_tabs.egg-info/SOURCES.txt'
> copying sphinx_tabs/tabs.css -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_sphinx-tabs/build/sphinx_tabs
> copying sphinx_tabs/tabs.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_sphinx-tabs/build/sphinx_tabs
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_sphinx-tabs/build/sphinx_tabs/semantic-ui-2.4.1
> copying sphinx_tabs/semantic-ui-2.4.1/LICENSE.md -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_sphinx-tabs/build/sphinx_tabs/semantic-ui-2.4.1
> copying sphinx_tabs/semantic-ui-2.4.1/menu.min.css -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_sphinx-tabs/build/sphinx_tabs/semantic-ui-2.4.1
> copying sphinx_tabs/semantic-ui-2.4.1/segment.min.css -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_sphinx-tabs/build/sphinx_tabs/semantic-ui-2.4.1
> copying sphinx_tabs/semantic-ui-2.4.1/tab.min.css -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_sphinx-tabs/build/sphinx_tabs/semantic-ui-2.4.1
> copying sphinx_tabs/semantic-ui-2.4.1/tab.min.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_sphinx-tabs/build/sphinx_tabs/semantic-ui-2.4.1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build; python3.9 -m pytest test
> ============================= test session starts ==============================
> platform linux -- Python 3.9.0+, pytest-4.6.11, py-1.9.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>
> plugins: cov-2.8.1
> collected 5 items
>
> test/test_basic.py . [ 20%]
> test/test_conditionalassets.py . [ 40%]
> test/test_linenos.py F [ 60%]
> test/test_nestedmarkup.py . [ 80%]
> test/test_notabs.py . [100%]
>
> =================================== FAILURES ===================================
> _________________________ LinenosTest.test_build_html __________________________
>
> self = <test.test_linenos.LinenosTest testMethod=test_build_html>
> app = <TestApp buildername='html'>
> status = <_io.StringIO object at 0x7f38751498b0>
> warning = <_io.StringIO object at 0x7f3875149820>
>
> @with_app(
> buildername="html", srcdir=pkg_resources.resource_filename(__name__, "linenos")
> )
> def test_build_html(self, app, status, warning): # pylint: disable=unused-argument
> app.builder.build_all()
> actual = self.get_result(app, "index")
> expected = self.get_expectation("linenos", "index")
> self.assertHasTabsAssets(actual)
> > self.assertXMLEqual(expected, actual)
>
> test/test_linenos.py:16:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> test/testcase.py:96: in assertXMLEqual
> self.fail("XML does not match")
> E AssertionError: XML does not match
> ====================== 1 failed, 4 passed in 1.17 seconds ======================
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_sphinx-tabs/build; python3.9 -m pytest test
> 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/sphinx-tabs_1.2.1+ds-1_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