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

Lucas Nussbaum lucas at debian.org
Mon Aug 3 10:06:02 BST 2020


Source: python-textile
Version: 1:4.0.1-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200802 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.8 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:217: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/textile
> copying textile/core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/textile
> copying textile/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/textile
> copying textile/__main__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/textile
> copying textile/regex_strings.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/textile
> copying textile/textilefactory.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/textile
> copying textile/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/textile
> copying textile/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/textile
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/textile/objects
> copying textile/objects/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/textile/objects
> copying textile/objects/table.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/textile/objects
> copying textile/objects/block.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/textile/objects
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/textile/tools
> copying textile/tools/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/textile/tools
> copying textile/tools/imagesize.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/textile/tools
> copying textile/tools/sanitizer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/textile/tools
> running egg_info
> creating textile.egg-info
> writing textile.egg-info/PKG-INFO
> writing dependency_links to textile.egg-info/dependency_links.txt
> writing entry points to textile.egg-info/entry_points.txt
> writing requirements to textile.egg-info/requires.txt
> writing top-level names to textile.egg-info/top_level.txt
> writing manifest file 'textile.egg-info/SOURCES.txt'
> reading manifest file 'textile.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'textile.egg-info/SOURCES.txt'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build; python3.8 -m pytest tests
> ============================= test session starts ==============================
> platform linux -- Python 3.8.5, pytest-4.6.11, py-1.8.1, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, inifile: pytest.ini, testpaths: tests
> plugins: cov-2.8.1
> collected 205 items / 1 skipped / 204 selected
> 
> tests/test_attributes.py .                                               [  0%]
> tests/test_block.py ......                                               [  3%]
> tests/test_cli.py ..                                                     [  4%]
> tests/test_footnoteRef.py .                                              [  4%]
> tests/test_getRefs.py .                                                  [  5%]
> tests/test_github_issues.py ..........................                   [ 18%]
> tests/test_glyphs.py .                                                   [ 18%]
> tests/test_image.py .                                                    [ 19%]
> tests/test_imagesize.py s                                                [ 19%]
> tests/test_lists.py .                                                    [ 20%]
> tests/test_retrieve.py .                                                 [ 20%]
> tests/test_span.py .                                                     [ 20%]
> tests/test_subclassing.py .                                              [ 21%]
> tests/test_table.py .                                                    [ 21%]
> tests/test_textile.py .......s...........                                [ 31%]
> tests/test_textilefactory.py .                                           [ 31%]
> tests/test_urls.py ...                                                   [ 33%]
> tests/test_utils.py ....                                                 [ 35%]
> tests/test_values.py ................................................... [ 60%]
> ........................................................................ [ 95%]
> ..........                                                               [100%]
> INTERNALERROR> Traceback (most recent call last):
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/coverage/sqldata.py", line 1048, in execute
> INTERNALERROR>     return self.con.execute(sql, parameters)
> INTERNALERROR> sqlite3.IntegrityError: UNIQUE constraint failed: meta.key
> INTERNALERROR> 
> INTERNALERROR> During handling of the above exception, another exception occurred:
> INTERNALERROR> 
> INTERNALERROR> Traceback (most recent call last):
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 206, in wrap_session
> INTERNALERROR>     session.exitstatus = doit(config, session) or 0
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 250, in _main
> INTERNALERROR>     config.hook.pytest_runtestloop(session=session)
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 286, in __call__
> INTERNALERROR>     return self._hookexec(self, self.get_hookimpls(), kwargs)
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 92, in _hookexec
> INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", line 83, in <lambda>
> INTERNALERROR>     self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", line 203, in _multicall
> INTERNALERROR>     gen.send(outcome)
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pytest_cov/plugin.py", line 254, in pytest_runtestloop
> INTERNALERROR>     self.cov_controller.finish()
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pytest_cov/engine.py", line 197, in finish
> INTERNALERROR>     self.cov.stop()
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/coverage/control.py", line 649, in save
> INTERNALERROR>     data = self.get_data()
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/coverage/control.py", line 703, in get_data
> INTERNALERROR>     if self._collector and self._collector.flush_data():
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/coverage/collector.py", line 425, in flush_data
> INTERNALERROR>     self.covdata.add_lines(self.mapped_file_dict(self.data))
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/coverage/sqldata.py", line 437, in add_lines
> INTERNALERROR>     self._choose_lines_or_arcs(lines=True)
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/coverage/sqldata.py", line 495, in _choose_lines_or_arcs
> INTERNALERROR>     con.execute(
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/coverage/sqldata.py", line 1065, in execute
> INTERNALERROR>     raise CoverageException("Couldn't use data file {!r}: {}".format(self.filename, msg))
> INTERNALERROR> coverage.misc.CoverageException: Couldn't use data file '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/.coverage': UNIQUE constraint failed: meta.key
> 
> ============== 203 passed, 3 skipped, 4 warnings in 2.32 seconds ===============
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=3: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build; python3.8 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.8 returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/08/02/python-textile_4.0.1-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