[Python-modules-team] Bug#963459: python-transitions: 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
Sun Jun 21 21:11:13 BST 2020
Source: python-transitions
Version: 0.8.1-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200620 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
>
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package python-transitions
> dpkg-buildpackage: info: source version 0.8.1-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Philipp Huebner <debalance at debian.org>
> dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
> debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
> dh_auto_clean -O--buildsystem=pybuild
> pybuild --clean --test-pytest -i python{version} -p 3.8
> I: pybuild base:217: python3.8 setup.py clean
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_transitions/build' (and everything under it)
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.8' does not exist -- can't clean it
> rm -rf .pybuild/
> find . -name \*.pyc -exec rm {} \;
> dh_autoreconf_clean -O--buildsystem=pybuild
> dh_clean -O--buildsystem=pybuild
> rm -f debian/debhelper-build-stamp
> rm -rf debian/.debhelper/
> rm -f -- debian/python3-transitions.substvars debian/files
> rm -fr -- debian/python3-transitions/ debian/tmp/
> find . \( \( \
> \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
> \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
> -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
> -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
> -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
> \) -exec rm -f {} + \) -o \
> \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
> dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building python-transitions using existing ./python-transitions_0.8.1.orig.tar.gz
> dpkg-source: info: building python-transitions in python-transitions_0.8.1-1.debian.tar.xz
> dpkg-source: info: building python-transitions in python-transitions_0.8.1-1.dsc
> debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> pybuild --configure --test-pytest -i python{version} -p 3.8
> I: pybuild base:217: python3.8 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> pybuild --build --test-pytest -i python{version} -p 3.8
> I: pybuild base:217: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_transitions/build/transitions
> copying transitions/core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_transitions/build/transitions
> copying transitions/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_transitions/build/transitions
> copying transitions/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_transitions/build/transitions
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_transitions/build/transitions/extensions
> copying transitions/extensions/diagrams_graphviz.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_transitions/build/transitions/extensions
> copying transitions/extensions/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_transitions/build/transitions/extensions
> copying transitions/extensions/diagrams_pygraphviz.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_transitions/build/transitions/extensions
> copying transitions/extensions/locking.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_transitions/build/transitions/extensions
> copying transitions/extensions/factory.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_transitions/build/transitions/extensions
> copying transitions/extensions/nesting_legacy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_transitions/build/transitions/extensions
> copying transitions/extensions/diagrams.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_transitions/build/transitions/extensions
> copying transitions/extensions/markup.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_transitions/build/transitions/extensions
> copying transitions/extensions/asyncio.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_transitions/build/transitions/extensions
> copying transitions/extensions/states.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_transitions/build/transitions/extensions
> copying transitions/extensions/nesting.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_transitions/build/transitions/extensions
> running egg_info
> writing transitions.egg-info/PKG-INFO
> writing dependency_links to transitions.egg-info/dependency_links.txt
> writing requirements to transitions.egg-info/requires.txt
> writing top-level names to transitions.egg-info/top_level.txt
> reading manifest file 'transitions.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'MANIFEST'
> warning: no previously-included files matching '*.ipynb' found under directory 'examples/.ipynb_checkpoints'
> writing manifest file 'transitions.egg-info/SOURCES.txt'
> dh_auto_test -O--buildsystem=pybuild
> pybuild --test --test-pytest -i python{version} -p 3.8
> I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_transitions/build; python3.8 -m pytest tests
> ============================= test session starts ==============================
> platform linux -- Python 3.8.3, pytest-4.6.11, py-1.8.1, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, inifile: pytest.ini
> collected 1930 items
>
> tests/test_add_remove.py ... [ 0%]
> tests/test_async.py .................................................... [ 2%]
> ........................................................................ [ 6%]
> ........................................................................ [ 10%]
> ...................................................... [ 13%]
> tests/test_codestyle.py F
>
> =================================== FAILURES ===================================
> _______________________ TestCodeFormat.test_conformance ________________________
>
> self = <tests.test_codestyle.TestCodeFormat testMethod=test_conformance>
>
> def test_conformance(self):
> """Test that we conform to PEP-8."""
> style = pycodestyle.StyleGuide(quiet=False, ignore=['E501', 'W605'])
> if exists('transitions'): # when run from root directory (e.g. tox)
> style.input_dir('transitions')
> style.input_dir('tests')
> else: # when run from test directory (e.g. pycharm)
> style.input_dir('../transitions')
> style.input_dir('.')
> result = style.check_files()
> > self.assertEqual(result.total_errors, 0,
> "Found code style errors (and warnings).")
> E AssertionError: 1 != 0 : Found code style errors (and warnings).
>
> tests/test_codestyle.py:17: AssertionError
> ----------------------------- Captured stdout call -----------------------------
> tests/test_nesting.py:427:9: E306 expected 1 blank line before a nested definition, found 0
> =============================== warnings summary ===============================
> /usr/lib/python3/dist-packages/pygraphviz/agraph.py:20
> /usr/lib/python3/dist-packages/pygraphviz/agraph.py:20: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
> from collections import MutableMapping
>
> -- Docs: https://docs.pytest.org/en/latest/warnings.html
> =========================== short test summary info ============================
> FAILED tests/test_codestyle.py::TestCodeFormat::test_conformance - AssertionE...
> =============== 1 failed, 253 passed, 1 warnings in 3.86 seconds ===============
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_transitions/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/06/20/python-transitions_0.8.1-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