#1149372 ironic: FTBFS due to failed test

Package:
src:ironic
Source:
src:ironic
Submitter:
Margarita Manterola
Date:
2026-10-05 23:05:02 UTC
Severity:
normal
Tags:
#1149372#5
Date:
2026-09-29 17:40:04 UTC
From:
To:
Hi!

While rebuilding the python related packages against the Python 3.15rc2
version we found that ironic fails to build from source:
https://debusine.debian.net/debian/r-python-python3.15/artifact/4856240/

While we ran into this error during the rebuild against Python 3.15, the
reproducible builds infrastructure is also running into this issue:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ironic.html

Thus, this is not a new problem and it should be solved right away.
Setting the severity to Serious.

 From the log, the error seems to be:

Openstack-Request-Id: req-6c4902c5-5ff9-439a-b797-9f860189f37f
X-Openstack-Ironic-Api-Maximum-Version: 1.115
X-Openstack-Ironic-Api-Minimum-Version: 1.1
X-Openstack-Ironic-Api-Version: 1.115
X-Openstack-Request-Id: req-6c4902c5-5ff9-439a-b797-9f860189f37f
{"error_message": "{\"faultcode\": \"Client\", \"faultstring\": \"Access
was denied to the following resource: baremetal:runbook:delete\",
\"debuginfo\": null}"}
ironic.tests.unit.drivers.modules.redfish.test_firmware.RedfishFirmwareTestCase.test_continue_updates_last
ironic.tests.unit.drivers.modules.redfish.test_firmware.RedfishFirmwareTestCase.test_continue_updates_last
... FAIL

======================================================================
FAIL:
ironic.tests.unit.drivers.modules.redfish.test_firmware.RedfishFirmwareTestCase.test_continue_updates_last
ironic.tests.unit.drivers.modules.redfish.test_firmware.RedfishFirmwareTestCase.test_continue_updates_last
----------------------------------------------------------------------
testtools.testresult.real._StringException
----------------------------------------------------------------------
Ran 9302 tests in 326.382s

FAILED (failures=1, skipped=17)

#1149372#8
Date:
2026-10-05 22:26:21 UTC
From:
To:
Hello,

Bug #1149372 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/0f941db162f3b72b1d891c491a778e34b990e3ae
------------------------------------------------------------------------
Fixed FTBFS: mocked cache_firmware_components() in the redfish firmware
unit tests, 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, killing the stestr
worker (Closes: #1149372):
- fix-redfish-firmware-tests-hanging-on-network.patch
Thanks Margarita Manterola for the bug report.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1149372

#1149372#15
Date:
2026-10-05 23:03:03 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 1149372@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 00:07:31 +0200
Source: ironic
Architecture: source
Version: 1:39.0.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <team+openstack@tracker.debian.org>
Changed-By: Thomas Goirand <zigo@debian.org>
Closes: 1149372
Changes:
 ironic (1:39.0.0-3) unstable; urgency=medium
 .
   * Fixed FTBFS: mocked cache_firmware_components() in the redfish firmware
     unit tests, 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, killing the stestr
     worker (Closes: #1149372):
     - fix-redfish-firmware-tests-hanging-on-network.patch
     Thanks Margarita Manterola for the bug report.
Checksums-Sha1:
 a5515b8d6539f0eea875b588bd528ab6869cd909 4101 ironic_39.0.0-3.dsc
 8aa2dc8c7e3719b4e80a53fcc0156e75026443c5 21528 ironic_39.0.0-3.debian.tar.xz
 0bb641c871e104cc2d8dd399486ea93c8649a126 22188 ironic_39.0.0-3_amd64.buildinfo
Checksums-Sha256:
 90f9bd8d30fc8ee9b605c2ed78224a3fe8f55ac6a5793088d24c25b4b17ded77 4101 ironic_39.0.0-3.dsc
 c0771715b9543f68c9b010f0eb8cc935caa7c826648a47e3097265f7f25b4372 21528 ironic_39.0.0-3.debian.tar.xz
 1a5460307d2515c6714418c4b60f1ade4794d20a039e0f5d443d3a2e7e58ffa1 22188 ironic_39.0.0-3_amd64.buildinfo
Files:
 df0dd04764bf03dc268748139742406f 4101 net optional ironic_39.0.0-3.dsc
 c419d72a0e111179f919f74860af61d6 21528 net optional ironic_39.0.0-3.debian.tar.xz
 24c56fa3c0cd6b8b2f0d1f5eb2c344c8 22188 net optional ironic_39.0.0-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmrEJA4ACgkQ1BatFaxr
Q/4dag//XdB+4ylttDpJ47Ppsapetwt12RC7E9cfSeij8HM+LAQF53b2M8hY8zgb
8XQpyjSmJc8ipm1QO60LIqREqrVnxCK3A/E5BGiQF6ryYZOVmHr4NBmCtzebgT8M
H0RKdHYrrs9iHVzgyeHEVunInHjBOTkTxZjhx7bIdT/UvTrYu0pQqq477VXS/65K
eMdWgqpM5xMP/sCQouFaIU2f1R6eD8mh+0U0xeVf5xj3HfLpfgkJG7SEMX66MmJk
JybWsvtpE9ajIg1vU47kNyXfuMgzErnSI95/sswA+dPZAFV0KNYJBeOxQ/CqmsC1
7woMmMUVC1GH7/g70ROETGcDTsptk7WVl7qfLRGSFdmLo3pPvoRRzLJ00TX0xCqc
Ckris2VlQ/RGNSwL4mF2rMD+hfc+kQpe6BJD8zdprvdUS5LRHQXBUDy5L4BG+wrH
MC559KHTg/c+dSFwOKxpg5gzebgeqtpMsWpPT0ZGfyMmYE093n1aNHafta2P3Deg
hmwPn7QUWDXtN76d1TEkWvHHIkLy1uqCT4WB1ZJlGIrsvBEg7NYot9SFc5GIKziu
ancSx2e12KGyMv8PtAiSZOh8taGgKj1qbgT6nWHMtlMhrvNL/fccyjOQKHyTCuKL
GE0zICAkIqFZV1RelJUGPEm5Z6crCUzkTypZEkla1MaRRCZrjo0=
=v+1g
-----END PGP SIGNATURE-----