Source: ironic-inspector
Version: 11.7.0-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
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;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240226&fusertaguser=lu...@debian.org&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.

Reply via email to