Bug#1123104: ceph-iscsi: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13
Package: src:ceph-iscsi
Version: 3.9-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202512/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ceph-iscsi, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=pybuild
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
I: pybuild base:317: python3.14 setup.py clean
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.14' does not exist -- can't clean it
I: pybuild base:317: python3.13 setup.py clean
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
rm -rf .pytest_cache
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
debian/rules binary
dh binary --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:317: python3.14 setup.py config
running config
I: pybuild base:317: python3.13 setup.py config
running config
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:317: /usr/bin/python3.14 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/group.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/lio.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/gateway_setting.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/backstore.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/target.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/device_status.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/settings.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/alua.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/metrics.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/discovery.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/gateway_object.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/client.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/lun.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/common.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/gateway.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/ceph_iscsi_config
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/gwcli
copying gwcli/storage.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/gwcli
copying gwcli/node.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/gwcli
copying gwcli/ceph.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/gwcli
copying gwcli/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/gwcli
copying gwcli/hostgroup.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/gwcli
copying gwcli/client.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/gwcli
copying gwcli/gateway.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/gwcli
copying gwcli/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/gwcli
running build_scripts
creating build/scripts-3.14
copying and adjusting rbd-target-gw.py -> build/scripts-3.14
copying and adjusting gwcli.py -> build/scripts-3.14
copying and adjusting rbd-target-api.py -> build/scripts-3.14
changing mode of build/scripts-3.14/rbd-target-gw.py from 644 to 755
changing mode of build/scripts-3.14/gwcli.py from 644 to 755
changing mode of build/scripts-3.14/rbd-target-api.py from 644 to 755
I: pybuild base:317: /usr/bin/python3 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/group.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/lio.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/gateway_setting.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/backstore.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/target.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/device_status.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/settings.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/alua.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/metrics.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/discovery.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/gateway_object.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/client.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/lun.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/common.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/gateway.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/ceph_iscsi_config
copying ceph_iscsi_config/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/ceph_iscsi_config
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/gwcli
copying gwcli/storage.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/gwcli
copying gwcli/node.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/gwcli
copying gwcli/ceph.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/gwcli
copying gwcli/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/gwcli
copying gwcli/hostgroup.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/gwcli
copying gwcli/client.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/gwcli
copying gwcli/gateway.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/gwcli
copying gwcli/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/gwcli
running build_scripts
creating build/scripts-3.13
copying and adjusting rbd-target-gw.py -> build/scripts-3.13
copying and adjusting gwcli.py -> build/scripts-3.13
copying and adjusting rbd-target-api.py -> build/scripts-3.13
changing mode of build/scripts-3.13/rbd-target-gw.py from 644 to 755
changing mode of build/scripts-3.13/gwcli.py from 644 to 755
changing mode of build/scripts-3.13/rbd-target-api.py from 644 to 755
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build; python3.14 -m pytest --ignore=test/test_group.py test/
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.4.4
collected 0 items / 3 errors
==================================== ERRORS ====================================
_ ERROR collecting .pybuild/cpython3_3.14_python-ceph-iscsi/build/test/test_chap.py _
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/test/test_chap.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.14/importlib/__init__.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
test/test_chap.py:22: in <module>
from ceph_iscsi_config.client import CHAP # noqa: E402
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ceph_iscsi_config/client.py:7: in <module>
import rtslib_fb.root as lio_root
E ModuleNotFoundError: No module named 'rtslib_fb.root'; 'rtslib_fb' is not a package
_ ERROR collecting .pybuild/cpython3_3.14_python-ceph-iscsi/build/test/test_common.py _
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/test/test_common.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.14/importlib/__init__.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
test/test_common.py:20: in <module>
from ceph_iscsi_config.common import Config # noqa: E402
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ceph_iscsi_config/common.py:7: in <module>
from ceph_iscsi_config.backstore import USER_RBD
ceph_iscsi_config/backstore.py:2: in <module>
from rtslib_fb.utils import RTSLibError
E ModuleNotFoundError: No module named 'rtslib_fb.utils'; 'rtslib_fb' is not a package
_ ERROR collecting .pybuild/cpython3_3.14_python-ceph-iscsi/build/test/test_settings.py _
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build/test/test_settings.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.14/importlib/__init__.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
test/test_settings.py:7: in <module>
from ceph_iscsi_config.target import GWTarget
ceph_iscsi_config/target.py:3: in <module>
from rtslib_fb.target import Target, TPG, NetworkPortal, LUN
E ModuleNotFoundError: No module named 'rtslib_fb.target'; 'rtslib_fb' is not a package
=========================== short test summary info ============================
ERROR test/test_chap.py
ERROR test/test_common.py
ERROR test/test_settings.py
!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 3 errors in 0.13s ===============================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-ceph-iscsi/build; python3.14 -m pytest --ignore=test/test_group.py test/
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build; python3.13 -m pytest --ignore=test/test_group.py test/
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.4.4
collected 0 items / 3 errors
==================================== ERRORS ====================================
_ ERROR collecting .pybuild/cpython3_3.13_python-ceph-iscsi/build/test/test_chap.py _
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/test/test_chap.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
test/test_chap.py:22: in <module>
from ceph_iscsi_config.client import CHAP # noqa: E402
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ceph_iscsi_config/client.py:7: in <module>
import rtslib_fb.root as lio_root
E ModuleNotFoundError: No module named 'rtslib_fb.root'; 'rtslib_fb' is not a package
_ ERROR collecting .pybuild/cpython3_3.13_python-ceph-iscsi/build/test/test_common.py _
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/test/test_common.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
test/test_common.py:20: in <module>
from ceph_iscsi_config.common import Config # noqa: E402
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ceph_iscsi_config/common.py:7: in <module>
from ceph_iscsi_config.backstore import USER_RBD
ceph_iscsi_config/backstore.py:2: in <module>
from rtslib_fb.utils import RTSLibError
E ModuleNotFoundError: No module named 'rtslib_fb.utils'; 'rtslib_fb' is not a package
_ ERROR collecting .pybuild/cpython3_3.13_python-ceph-iscsi/build/test/test_settings.py _
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build/test/test_settings.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
test/test_settings.py:7: in <module>
from ceph_iscsi_config.target import GWTarget
ceph_iscsi_config/target.py:3: in <module>
from rtslib_fb.target import Target, TPG, NetworkPortal, LUN
E ModuleNotFoundError: No module named 'rtslib_fb.target'; 'rtslib_fb' is not a package
=========================== short test summary info ============================
ERROR test/test_chap.py
ERROR test/test_common.py
ERROR test/test_settings.py
!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 3 errors in 0.14s ===============================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-ceph-iscsi/build; python3.13 -m pytest --ignore=test/test_group.py test/
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Reply to: