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

Lucas Nussbaum lucas at debian.org
Tue Oct 27 16:24:57 GMT 2020


Source: celery-batches
Version: 0.2-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):
> dpkg-buildpackage
> -----------------
> 
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package celery-batches
> dpkg-buildpackage: info: source version 0.2-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Martin <debacle 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
> I: pybuild base:217: python3.9 setup.py clean 
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build' (and everything under it)
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.9' does not exist -- can't clean it
> I: pybuild base:217: python3.8 setup.py clean 
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/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
>    dh_autoreconf_clean -O--buildsystem=pybuild
>    dh_clean -O--buildsystem=pybuild
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building celery-batches using existing ./celery-batches_0.2.orig.tar.gz
> dpkg-source: info: building celery-batches in celery-batches_0.2-2.debian.tar.xz
> dpkg-source: info: building celery-batches in celery-batches_0.2-2.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
> 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/build/t
> copying t/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/t
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/celery_batches
> copying celery_batches/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/celery_batches
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/t/integration
> copying t/integration/test_batches.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/t/integration
> copying t/integration/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/t/integration
> copying t/integration/tasks.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/t/integration
> copying t/integration/conftest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/t/integration
> I: pybuild base:217: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/t
> copying t/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/t
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/celery_batches
> copying celery_batches/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/celery_batches
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/t/integration
> copying t/integration/test_batches.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/t/integration
> copying t/integration/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/t/integration
> copying t/integration/tasks.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/t/integration
> copying t/integration/conftest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/t/integration
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m unittest discover -v 
> celery_batches (unittest.loader._FailedTest) ... ERROR
> t.integration.test_batches (unittest.loader._FailedTest) ... ERROR
> 
> ======================================================================
> ERROR: celery_batches (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: celery_batches
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/unittest/loader.py", line 470, in _find_test_path
>     package = self._get_module_from_name(name)
>   File "/usr/lib/python3.9/unittest/loader.py", line 377, in _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/celery_batches/__init__.py", line 89, in <module>
>     from celery.five import Empty, Queue
> ModuleNotFoundError: No module named 'celery.five'
> 
> 
> ======================================================================
> ERROR: t.integration.test_batches (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: t.integration.test_batches
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/unittest/loader.py", line 436, in _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3.9/unittest/loader.py", line 377, in _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/t/integration/test_batches.py", line 11, in <module>
>     from .tasks import add, cumadd, Results
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/t/integration/tasks.py", line 8, in <module>
>     from celery_batches import Batches
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/celery_batches/__init__.py", line 89, in <module>
>     from celery.five import Empty, Queue
> ModuleNotFoundError: No module named 'celery.five'
> 
> 
> ----------------------------------------------------------------------
> Ran 2 tests in 0.000s
> 
> FAILED (errors=2)
> E: pybuild pybuild:352: 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 3.8" returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/10/27/celery-batches_0.2-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