Bug#1002212: python-pyorick: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.9" returned exit code 13
Lucas Nussbaum
lucas at debian.org
Tue Dec 21 16:00:25 GMT 2021
Source: python-pyorick
Version: 1.4-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm
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: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> I: pybuild base:237: python3.10 setup.py config
> running config
> I: pybuild base:237: python3.9 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> I: pybuild base:237: /usr/bin/python3.10 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyorick/build/pyorick
> copying pyorick/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyorick/build/pyorick
> copying pyorick/test_pyorick.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyorick/build/pyorick
> copying pyorick/pyorick.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyorick/build/pyorick
> copying pyorick/pyorick.i0 -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyorick/build/pyorick
> I: pybuild base:237: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyorick/build/pyorick
> copying pyorick/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyorick/build/pyorick
> copying pyorick/test_pyorick.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyorick/build/pyorick
> copying pyorick/pyorick.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyorick/build/pyorick
> copying pyorick/pyorick.i0 -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyorick/build/pyorick
> dh_auto_test -O--buildsystem=pybuild
> dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyorick/build; python3.10 -m unittest discover -v
> pyorick (unittest.loader._FailedTest) ... ERROR
>
> ======================================================================
> ERROR: pyorick (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: pyorick
> Traceback (most recent call last):
> File "/usr/lib/python3.10/unittest/loader.py", line 470, in _find_test_path
> package = self._get_module_from_name(name)
> File "/usr/lib/python3.10/unittest/loader.py", line 377, in _get_module_from_name
> __import__(name)
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyorick/build/pyorick/__init__.py", line 190, in <module>
> from .pyorick import *
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyorick/build/pyorick/pyorick.py", line 29, in <module>
> from collections import Sequence, Mapping
> ImportError: cannot import name 'Sequence' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
>
>
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
>
> FAILED (errors=1)
> E: pybuild pybuild:355: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyorick/build; python3.10 -m unittest discover -v
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyorick/build; python3.9 -m unittest discover -v
> test_active (pyorick.test_pyorick.TestCodec)
> Check codec for active messages. ... /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyorick/build/pyorick/pyorick.py:1304: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
> s = a.tostring().decode('iso_8859_1')
> ok
> test_arrays (pyorick.test_pyorick.TestCodec)
> Check that array types can be encoded and decoded. ... ok
> test_bad (pyorick.test_pyorick.TestCodec)
> Check that unencodable types cannot be encoded. ... /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyorick/build/pyorick/pyorick.py:1497: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
> return pickle.loads(chars[ypickling_nprefix:].tostring())
> ok
> test_groups (pyorick.test_pyorick.TestCodec)
> Check that group types can be encoded and decoded. ... ok
> test_reader (pyorick.test_pyorick.TestCodec)
> Check codec readers. ... ok
> test_scalars (pyorick.test_pyorick.TestCodec)
> Check that scalar types can be encoded and decoded. ... ok
> test_strings (pyorick.test_pyorick.TestCodec)
> Check that string types can be encoded and decoded. ... ok
> test_active (pyorick.test_pyorick.TestProcess)
> Check that all requests can be sent and received. ... /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyorick/build/pyorick/pyorick.py:1641: ResourceWarning: unclosed file <_io.BufferedReader name=9>
> self.proc = None
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_arrays (pyorick.test_pyorick.TestProcess)
> Check that array types can be sent and received. ... /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyorick/build/pyorick/pyorick.py:1641: ResourceWarning: unclosed file <_io.BufferedReader name=9>
> self.proc = None
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_basic (pyorick.test_pyorick.TestProcess)
> Check variety of simple yorick interface features. ... /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyorick/build/pyorick/pyorick.py:1304: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
> s = a.tostring().decode('iso_8859_1')
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyorick/build/pyorick/pyorick.py:1641: ResourceWarning: unclosed file <_io.BufferedReader name=9>
> self.proc = None
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_groups (pyorick.test_pyorick.TestProcess)
> Check that group types can be sent and received. ... /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyorick/build/pyorick/pyorick.py:1304: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
> s = a.tostring().decode('iso_8859_1')
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyorick/build/pyorick/pyorick.py:1641: ResourceWarning: unclosed file <_io.BufferedReader name=9>
> self.proc = None
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_hold (pyorick.test_pyorick.TestProcess)
> Check that all requests can be sent and received. ... /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyorick/build/pyorick/pyorick.py:1641: ResourceWarning: unclosed file <_io.BufferedReader name=9>
> self.proc = None
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_recurse (pyorick.test_pyorick.TestProcess)
> Check that a yorick reply can contain python requests. ... /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyorick/build/pyorick/pyorick.py:1304: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
> s = a.tostring().decode('iso_8859_1')
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyorick/build/pyorick/pyorick.py:1641: ResourceWarning: unclosed file <_io.BufferedReader name=9>
> self.proc = None
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_scalars (pyorick.test_pyorick.TestProcess)
> Check that scalar types can be sent and received. ... /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyorick/build/pyorick/pyorick.py:1304: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
> s = a.tostring().decode('iso_8859_1')
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyorick/build/pyorick/pyorick.py:1641: ResourceWarning: unclosed file <_io.BufferedReader name=9>
> self.proc = None
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_strings (pyorick.test_pyorick.TestProcess)
> Check that string types can be sent and received. ... /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyorick/build/pyorick/pyorick.py:1304: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
> s = a.tostring().decode('iso_8859_1')
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyorick/build/pyorick/pyorick.py:1641: ResourceWarning: unclosed file <_io.BufferedReader name=9>
> self.proc = None
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
>
> ----------------------------------------------------------------------
> Ran 15 tests in 0.155s
>
> OK
> doing 0
> doing 1
> doing 2
> doing 3
> dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.9" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2021/12/20/python-pyorick_1.4-3_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 mine
so that we can identify if something relevant changed in the meantime.
More information about the debian-science-maintainers
mailing list