#1150161 ironic: FTBFS: FAIL: ironic.tests.unit.drivers.modules.redfish.test_firmware.RedfishFirmwareTestCase.test_final_update_with_reboot_flag_triggers_reboot

Package:
src:ironic
Source:
src:ironic
Submitter:
Santiago Vila
Date:
2026-10-06 14:41:04 UTC
Severity:
normal
Tags:
#1150161#5
Date:
2026-10-06 11:15:08 UTC
From:
To:
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/202610/

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:ironic, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
  warnings.warn(
ironic.tests.unit.drivers.modules.redfish.test_firmware.RedfishFirmwareTestCase.test_final_update_with_reboot_flag_triggers_reboot
ironic.tests.unit.drivers.modules.redfish.test_firmware.RedfishFirmwareTestCase.test_final_update_with_reboot_flag_triggers_reboot ... FAIL

======================================================================
FAIL: ironic.tests.unit.drivers.modules.redfish.test_firmware.RedfishFirmwareTestCase.test_final_update_with_reboot_flag_triggers_reboot
ironic.tests.unit.drivers.modules.redfish.test_firmware.RedfishFirmwareTestCase.test_final_update_with_reboot_flag_triggers_reboot
----------------------------------------------------------------------
testtools.testresult.real._StringException
---------------------------------------------------------------------- Ran 8211 tests in 164.814s FAILED (failures=1, skipped=17) + echo ======> STESTR TEST SUITE FAILED FOR python3.14: displaying pip3 freeze output... ======> STESTR TEST SUITE FAILED FOR python3.14: displaying pip3 freeze output... + [ -x /usr/bin/pip3 ] + pip3 freeze WARNING: The directory '/sbuild-nonexistent/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. alabaster==1.0.0 alembic==1.18.4 amqp==5.3.1 attrs==26.1.0 autocommand==2.2.2 automaton==3.5.0 autopage==0.6.0 babel==2.18.0 bashate==2.1.0 bcrypt==5.0.0 beautifulsoup4==4.15.0 blinker==1.9.0 build==1.5.1 CacheControl==0.14.4 cachetools==7.0.1 cairocffi==1.7.1 CairoSVG==2.9.1 certifi==2026.7.22 cffi==2.1.1 chardet==5.2.0 charset-normalizer==3.4.7 cheroot==11.1.2+ds1 cliff==4.16.0 cmd2==4.2.0+ds confluent-kafka==2.12.2 construct==2.10.68 cotyledon==2.2.0 coverage==7.16.1 cryptography==49.0.0 cssselect2==0.10.1 ddt==1.7.2 debtcollector==3.1.0 decorator==5.3.1 defusedxml==0.7.1 Deprecated==3.0.0 deprecation==2.1.0 dnspython==2.8.0 doc8==0.10.1 docutils==0.23 dogpile.cache==1.5.0 dulwich==1.2.12 etcd3==0.12.0 etcd3gw==2.7.0 eventlet==0.41.2 fasteners==0.20 fixtures==4.3.0 flake8==7.3.0 futurist==3.5.0 gevent==25.9.1 greenlet==3.3.2 grpcio==1.51.1 hacking==8.1.0 idna==3.20 ifaddr==0.2.0 imagesize==2.0.1 installer==1.0.1 ironic==39.0.0 iso8601==2.1.0 jaraco.context==6.0.1 jaraco.functools==4.1.0 Jinja2==3.1.6 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.26.0 jsonschema-specifications==2025.9.1 jwcrypto==1.5.6 kazoo==2.11.0.dev0 keystoneauth1==5.17.0 keystonemiddleware==13.0.1 kombu==5.6.2 lark==1.3.1 legacy-cgi==2.6.4 linkify-it-py==2.1.0 lxml==6.1.3 Mako==1.3.10.dev0 markdown-it-py==4.2.0 MarkupSafe==3.0.3 mccabe==0.7.0 mdurl==0.1.2 microversion_parse==2.0.0 monotonic==1.6 more-itertools==11.1.0 msgpack==1.2.1 mysqlclient==1.4.6 netaddr==1.3.0 numpy==2.4.6 oauthlib==3.3.1 openstackdocstheme==3.2.0 openstacksdk==4.20.0 os-api-ref==3.1.0 os-client-config==2.3.0 os-service-types==1.9.0 os-traits==3.9.0 osc-lib==4.7.0 oslo.cache==4.3.0 oslo.concurrency==7.6.1 oslo.config==10.7.0 oslo.context==6.5.0 oslo.db==18.1.1 oslo.i18n==6.9.0 oslo.log==8.3.2 oslo.messaging==18.3.0 oslo.metrics==0.17.0 oslo.middleware==8.2.0 oslo.policy==6.0.1 oslo.reports==3.9.0 oslo.serialization==5.11.0 oslo.service==4.8.0 oslo.upgradecheck==2.8.0 oslo.utils==10.2.0 oslo.versionedobjects==3.12.0 oslosphinx==4.18.0 oslotest==6.1.1 osprofiler==4.3.0 packaging==26.2 Paste==3.10.1 PasteDeploy==3.1.0 pbr==7.1.1 pecan==1.8.0 pillow==12.3.0 platformdirs==4.11.9 prettytable==3.18.0 prometheus_client==0.21.1 prompt_toolkit==3.0.53 protobuf==4.21.12 psutil==7.2.2 psycopg2==2.9.13 pure-sasl==0.6.2 pyasn1==0.6.4 pyasn1_modules==0.4.1 pyasyncore==1.0.2 pycadf==4.0.1 pycdlib==1.14.0 pycodestyle==2.14.0 pycparser==3.0 pyflakes==3.4.0 pyghmi==1.6.13 Pygments==2.20.0 PyJWT==2.15.1 pykerberos==1.1.14 pymemcache==4.0.0 PyMySQL==1.2.0 pyOpenSSL==26.4.0 pyparsing==3.3.3 pyperclip==1.11.0 pyproject_hooks==1.3.3 pysnmp==7.1.22 python-apt==3.1.0+b1 python-binary-memcached==0.31.4 python-dateutil==2.9.0 python-debian==1.1.1 python-debianbts==4.1.1 python-dracclient==4.0.0 python-glanceclient==4.13.0 python-ironic-inspector-client==5.4.0 python-keystoneclient==6.0.0 python-memcached==1.60 python-scciclient==0.17.0 python-subunit==1.4.6 PyYAML==6.0.3 pyzmq==27.1.0 redis==6.4.0 referencing==0.37.0 reportbug==13.2.0+nmu1 repoze-lru==0.8 requests==2.34.2 restructuredtext_lint==1.3.2 rfc3986==2.0.0 rich==15.0.0 rich-argparse==1.8.0 roman-numerals==4.1.0 Routes==2.5.1 rpds-py==0.30.0 setproctitle==1.3.7 setuptools==84.0.0 simplegeneric==0.8.1 six==1.17.0 snowballstemmer==3.1.1 soupsieve==2.8.4 Sphinx==9.1.0 sphinxcontrib-apidoc==0.6.0 sphinxcontrib-httpdomain==2.0.0 sphinxcontrib-pecanwsme==0.11.0 sphinxcontrib-svg2pdfconverter==2.1.0 SQLAlchemy==2.0.52 statsd==4.0.1 stestr==4.2.1 stevedore==5.9.1 sushy==5.13.0 Tempita==0.6.0 tenacity==9.1.4 testresources==2.1.2 testscenarios==0.6.2 testtools==2.9.1 tinycss2==1.5.1 tomlkit==0.13.3 tooz==9.1.0 typing_extensions==4.16.0 uc-micro-py==2.0.0 uhashring==2.5 urllib3==2.8.0 vine==5.1.0 voluptuous==0.16.0 waitress==3.0.2 warlock==2.1.0 wcwidth==0.8.3 webencodings==0.5.1 WebOb==1.8.11 websockify==0.13.0 WebTest==3.0.7 wheel==0.47.0 wrapt==2.3.0 xcffib==1.5.0 yappi==1.7.6 zake==0.2.2 zeroconf==0.151.5 zipp==3.23.0 zope.event==6.2 zope.interface==8.6 + exit 1 make[1]: *** [debian/rules:38: override_dh_install] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:6: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------
#1150161#8
Date:
2026-10-06 13:44:27 UTC
From:
To:
Hello,

Bug #1150161 in ironic reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/openstack-team/services/ironic/-/commit/c292a326f6f34b2fc448c0becc0a38449274d1af
------------------------------------------------------------------------
Fixed FTBFS: mocked cache_firmware_components() in two more redfish
firmware unit tests (test_final_update_with_reboot_flag_triggers_reboot
and test_final_update_without_reboot_flag_no_reboot), avoiding real HTTP
connections to the fake BMC address https://example.com, which can hang
past the 60 seconds per-test SIGALRM timeout in restricted-network build
environments (Closes: #1150161):
- fix-redfish-firmware-tests-hanging-on-network.patch
Thanks Santiago Vila for the bug report.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1150161

#1150161#15
Date:
2026-10-06 14:38:34 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ironic, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1150161@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <zigo@debian.org> (supplier of updated ironic package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 06 Oct 2026 15:30:35 +0200
Source: ironic
Architecture: source
Version: 1:39.0.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
Changed-By: Thomas Goirand <zigo@debian.org>
Closes: 1150161
Changes:
 ironic (1:39.0.0-4) unstable; urgency=medium
 .
   * Fixed FTBFS: mocked cache_firmware_components() in two more redfish
     firmware unit tests (test_final_update_with_reboot_flag_triggers_reboot
     and test_final_update_without_reboot_flag_no_reboot), avoiding real HTTP
     connections to the fake BMC address https://example.com, which can hang
     past the 60 seconds per-test SIGALRM timeout in restricted-network build
     environments (Closes: #1150161):
     - fix-redfish-firmware-tests-hanging-on-network.patch
     Thanks Santiago Vila for the bug report.
Checksums-Sha1:
 2bd8c1619c801e3d7d6dfea06e6951f9f49272c9 4101 ironic_39.0.0-4.dsc
 76e09bb2e5fe17b75722d62eb1a116d7aab63596 21940 ironic_39.0.0-4.debian.tar.xz
 ab9d57306bda565ed5ae6411ed44576527a54ff4 22673 ironic_39.0.0-4_amd64.buildinfo
Checksums-Sha256:
 f81bcee08bc0607715a18d94f27807a82f179f87e426054d6fc78a23263cacd0 4101 ironic_39.0.0-4.dsc
 66e647c2b152bc094705ead42f78c83061c15cfa44f407ea35938c545829a319 21940 ironic_39.0.0-4.debian.tar.xz
 b0428dfc36e3170523907fa43dd13eb8a46e5fd6b14f1f6bbc0d7017f2288e1c 22673 ironic_39.0.0-4_amd64.buildinfo
Files:
 4a708c211689b2f6ff2f9441e6d43084 4101 net optional ironic_39.0.0-4.dsc
 68ba5b47b624f49f6f83368bd47fbb96 21940 net optional ironic_39.0.0-4.debian.tar.xz
 66b5e3f6beae9c2ab145bf25455598a1 22673 net optional ironic_39.0.0-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmrE+ykACgkQ1BatFaxr
Q/6dhw/+K97pIK+XMfTP0ZmHsCVZXuAEgSWkZw+rjCleF/zATTubpP/zBQaQHQHz
SO3Tj6NUZ9ajUz2ZVqMgDqbxZc3eF+Nr23s3jH7Yx+ne8rh9W7K/tTzry8pZSCL+
icBja0aZ6GyTIzG8GqmO+3s4jafvPNbDLoBLwOQj9qGL4g+bNaiccVkoNImHUZ9o
mGyXlAj2VFNETDrHxXIpF1dMCGfUUCqR83cqhNy1ugbvtbC0Qh1tfJUUR0ohHVPP
CSLMYRiG2F+oukJdKwM3FInn05IfRPJjXW6De+3AzR7q454MFq38N4m3EpetZprW
7jLfdEv6BQjU5V1IxoUxSk6zXFHshJQmZAUbkBV+MZnaiO1GlRBTWcI4e27oTiyn
eZj3GISFO8yXMB3gz8hFHrp5UW8ErJTkfCm1YiMkno0ucjgmpAHEqEDRwRKq5aE3
51tionbn2vV+0xAXW3cHvni1rKNFtMM39+W9sWAmyc4fGi6Ep/r2KHx2M00ewnRD
t7Lw+TqmsvPEaeJp8nuA2YJgFHsih1c7ndVTECQIsGBLjwlpwNjMG1ch7kvJQzCb
B/sZ3D09QCx1b7bf7RQGxKxXk5vRXkllIKoogynlblE21ze1gFW6do5heV4/nGxd
YCfV2vuGkD4Prl0aZLKbmseW9uaCEZyKblH/0Vu7Yg1RE6h2swg=
=TzCm
-----END PGP SIGNATURE-----