Your message dated Thu, 28 Mar 2024 10:49:30 +0000
with message-id <[email protected]>
and subject line Bug#1064814: fixed in ironic-inspector 12.1.0-2
has caused the Debian Bug report #1064814,
regarding ironic-inspector: FTBFS: AttributeError: 'Flask' object has no
attribute 'before_first_request'. Did you mean: '_got_first_request'?
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1064814: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064814
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ironic-inspector
Version: 11.7.0-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20240226 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> =========================
> Failures during discovery
> =========================
> --- import errors ---
> Failed to import test module: ironic_inspector.test.unit.test_acl
> Traceback (most recent call last):
> File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
> module = self._get_module_from_name(name)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/unittest/loader.py", line 337, in
> _get_module_from_name
> __import__(name)
> File "/<<PKGBUILDDIR>>/ironic_inspector/test/unit/test_acl.py", line 29, in
> <module>
> from ironic_inspector import main
> File "/<<PKGBUILDDIR>>/ironic_inspector/main.py", line 199, in <module>
> @_app.before_first_request
> ^^^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'Flask' object has no attribute 'before_first_request'. Did
> you mean: '_got_first_request'?
>
> Failed to import test module: ironic_inspector.test.unit.test_main
> Traceback (most recent call last):
> File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
> module = self._get_module_from_name(name)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/unittest/loader.py", line 337, in
> _get_module_from_name
> __import__(name)
> File "/<<PKGBUILDDIR>>/ironic_inspector/test/unit/test_main.py", line 32,
> in <module>
> from ironic_inspector import main
> File "/<<PKGBUILDDIR>>/ironic_inspector/main.py", line 199, in <module>
> @_app.before_first_request
> ^^^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'Flask' object has no attribute 'before_first_request'. Did
> you mean: '_got_first_request'?
>
> Failed to import test module: ironic_inspector.test.unit.test_wsgi_service
> Traceback (most recent call last):
> File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
> module = self._get_module_from_name(name)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/unittest/loader.py", line 337, in
> _get_module_from_name
> __import__(name)
> File "/<<PKGBUILDDIR>>/ironic_inspector/test/unit/test_wsgi_service.py",
> line 18, in <module>
> from ironic_inspector import main
> File "/<<PKGBUILDDIR>>/ironic_inspector/main.py", line 199, in <module>
> @_app.before_first_request
> ^^^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'Flask' object has no attribute 'before_first_request'. Did
> you mean: '_got_first_request'?
>
> ================================================================================
> The above traceback was encountered during test discovery which imports all
> the found test modules in the specified test_path.
>
> ----------------------------------------------------------------------
> Ran 0 tests in 4.545s
>
> OK
> + stestr slowest
> make[1]: *** [debian/rules:34: override_dh_install] Error 3
The full build log is available from:
http://qa-logs.debian.net/2024/02/26/ironic-inspector_11.7.0-4_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240226;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240226&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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 mark 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.
--- End Message ---
--- Begin Message ---
Source: ironic-inspector
Source-Version: 12.1.0-2
Done: Thomas Goirand <[email protected]>
We believe that the bug you reported is fixed in the latest version of
ironic-inspector, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Goirand <[email protected]> (supplier of updated ironic-inspector 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 28 Mar 2024 11:30:30 +0100
Source: ironic-inspector
Architecture: source
Version: 12.1.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 1064814
Changes:
ironic-inspector (12.1.0-2) unstable; urgency=medium
.
* Uploading to unstable, fixing FTBFS (Closes: #1064814).
Checksums-Sha1:
72a19b52de2b6c2b2b39275d7b4d2b61386b355b 3195 ironic-inspector_12.1.0-2.dsc
4be41170ceb1e5cd5e5b837eec12bf864f5302f3 9004
ironic-inspector_12.1.0-2.debian.tar.xz
aeca40b1011268d82a5b94a9d4e7951aea0afcc8 21004
ironic-inspector_12.1.0-2_amd64.buildinfo
Checksums-Sha256:
ac9b870bac1868deb275771ba9bbeda8eefc41a735db66346451e7bebca144c2 3195
ironic-inspector_12.1.0-2.dsc
679e848ddc536dac553d1254cf94e7ed0c9add59a542d1d90b321ee6b2045f93 9004
ironic-inspector_12.1.0-2.debian.tar.xz
ff524cf15e09fe0f5b21e09e105d09295e2188ec2264161ef2b345b8f8bf75e6 21004
ironic-inspector_12.1.0-2_amd64.buildinfo
Files:
de7f7e0a8853a70074bf503f251660e6 3195 python optional
ironic-inspector_12.1.0-2.dsc
6d0e9c89057ab531dabebdab81f2ec9d 9004 python optional
ironic-inspector_12.1.0-2.debian.tar.xz
a46f2c17ff7b296e1c45db4eb219c277 21004 python optional
ironic-inspector_12.1.0-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmYFR8oACgkQ1BatFaxr
Q/5Qjg//WIyMuRlknKZyWqR+mpXWlgCow7dBkFc/8oZW+J5hllhOn91GiVli10+D
g3NNCoQDeaMSCS182HTMKKW4Ia4sgGngqFX22pSzHdF+1BXYAJeNUGak9rwKcGVo
zy2+j1g5mbLqUdtQ8EucALPKSLsUx041KJ8SX/Cx7HZQiws2A8fUEq9SsYth8+dl
ku+vasv7m+oUsUHkqo6aYOmy5XFuLX9LtQ+8ZXNBcxp1/0bk8LNU6nTw83KmQkLo
Lesnky1itb0raBwNBXnobxjvRSzS2j8CVIgFISQuRvaRQIgRVqCE3fkroOSYe0//
00gfXNBVqV562t+ldYd5Fz0tyaV/WLytvZaoSOV9SdRr3GuBPobZ1RtYdg0qK9B0
uyALpSo5+bJjGlFW6G3eJFQW3DDc2MHwjVFnReka1yX4O2tBH10cujRTlfTkwzeM
k1szMTSS2+net4vRiDLntpq4ieRBq3WJqUhjdLbw8MKCWiTMCK4Lw3JJ+xTeiz4j
tvz8PXkC4tPl3YEoNqbnc3zUXp5kqlorFXW8itt3Mz3zWzefAbzL7XFcx0qRQ0Hc
XysAi3cEh1TROTFmsmEzh+9hqqU21Ohj88oaLKosM0WRwDxWbBVRyPIcoj/znKFo
R5wv7MFkE00Isa6K3AkdLUulDGtbJnjRxo5wzO0tWy4uudLE7BE=
=uzrO
-----END PGP SIGNATURE-----
pgp7aCVq7XGfv.pgp
Description: PGP signature
--- End Message ---