Package: src:ironic Version: 1:11.1.0-3 Severity: serious Tags: ftbfs Dear maintainer:
I tried to build this package in buster but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions pyversions: missing debian/pyversions file, fall back to supported versions py3versions: no X-Python3-Version in control file, using supported versions dh build-indep --buildsystem=python_distutils --with python3,sphinxdoc,systemd dh_update_autotools_config -i -O--buildsystem=python_distutils dh_autoreconf -i -O--buildsystem=python_distutils dh_auto_configure -i -O--buildsystem=python_distutils dh_auto_configure: Please use the third-party "pybuild" build system instead of python-distutils dh_auto_configure: This feature will be removed in compat 12. debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions pyversions: missing debian/pyversions file, fall back to supported versions [... snipped ...] + PKGOS_USE_PY3=yes + PKGOS_TEST_PARALLEL=yes + PYTHONS=disabled + PYTHON3S=disabled + TEST_PARALLEL_OPT=--parallel + PKGOS_USE_PY2=no + shift + [ no = yes ] + [ yes = yes ] + py3versions -vr + PYTHON3S=3.7 3.6 + [ yes = no ] + [ disabled = disabled ] + continue + [ 3.7 = disabled ] + cut -d. -f1 + echo 3.7 + PYMAJOR=3 + echo ===> Testing with python (python3) ===> Testing with python (python3) + [ 3 = 3 ] + pwd + [ -d /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages ] + [ -z ] + pwd + export PYTHONPATH=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages + [ -e .stestr.conf ] + rm -rf .stestr + subunit2pyunit + PYTHON=python3.7 python3-stestr run --subunit ironic\.tests\.unit\.(?!(.*api\.controllers\.v1\.test_chassis\.TestPost\.test_create_chassis_unicode_description.*)) ========================= Failures during discovery ========================= b'--- stdout ---\n2018-09-27 16:06:32.223 18596 INFO keyring.backend [-] Loading KWallet\x1b[00m\n2018-09-27 16:06:32.239 18596 INFO keyring.backend [-] Loading SecretService\x1b[00m\n2018-09-27 16:06:32.245 18596 INFO keyring.backend [-] Loading Windows\x1b[00m\n2018-09-27 16:06:32.247 18596 INFO keyring.backend [-] Loading macOS\x1b[00m\n--- import errors ---\nFailed to import test module: ironic.tests.unit.drivers.modules.irmc.test_bios\nTraceback (most recent call last):\n File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 456, in _find_test_path\n module = self._get_module_from_name(name)\n File "/usr/lib/python3/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name\n __import__(name)\n File "/<<PKGBUILDDIR>>/ironic/tests/unit/drivers/modules/irmc/test_bios.py", line 29, in <module>\n class IRMCBIOSTestCase(test_common.BaseIRMCTest):\n File "/<<PKGBUILDDIR>>/ironic/tests/unit/drivers/modules/irmc/test_bios.py", line 41, in IRMCBIOSTestC ase\n @mock.patch.object(irmc_bios.irmc.elcm, \'set_bios_configuration\',\nAttributeError: \'NoneType\' object has no attribute \'elcm\'\n' ================================================================================ The above traceback was encountered during test discovery which imports all the found test modules in the specified test_path. ---------------------------------------------------------------------- Ran 0 tests in 9.345s OK + python3-stestr slowest make[1]: *** [debian/rules:31: override_dh_install] Error 3 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:6: binary-indep] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2 -------------------------------------------------------------------------------- The build was made in my autobuilder with "dpkg-buildpackage -A" but it also fails here: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ironic.html where you can get a full build log if you need it. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.