Package: src:python-aiopvapi
Version: 3.1.1-2
Severity: serious
Tags: ftbfs forky sid

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/202512/

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

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh clean --buildsystem=pybuild --with python3
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh binary --buildsystem=pybuild --with python3
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild

[... snipped ...]

tests/test_apiresource.py:24: in setUp
    super().setUp()
tests/fake_server.py:368: in setUp
    self.loop = asyncio.get_event_loop()
                ^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 
0x7f34164e9010>

    def get_event_loop(self):
        """Get the event loop for the current context.
    
        Returns an instance of EventLoop or raises an exception.
        """
        if self._local._loop is None:
>           raise RuntimeError('There is no current event loop in thread %r.'
                               % threading.current_thread().name)
E           RuntimeError: There is no current event loop in thread 'MainThread'.

/usr/lib/python3.14/asyncio/events.py:715: RuntimeError
________________________ TestShade_V3.test_id_property _________________________

self = <tests.test_shade.TestShade_V3 testMethod=test_id_property>

    def setUp(self):
>       super().setUp()

tests/test_apiresource.py:24: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/fake_server.py:368: in setUp
    self.loop = asyncio.get_event_loop()
                ^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 
0x7f34164e9010>

    def get_event_loop(self):
        """Get the event loop for the current context.
    
        Returns an instance of EventLoop or raises an exception.
        """
        if self._local._loop is None:
>           raise RuntimeError('There is no current event loop in thread %r.'
                               % threading.current_thread().name)
E           RuntimeError: There is no current event loop in thread 'MainThread'.

/usr/lib/python3.14/asyncio/events.py:715: RuntimeError
_______________________ TestShade_V3.test_name_property ________________________
tests/test_apiresource.py:24: in setUp
    super().setUp()
tests/fake_server.py:368: in setUp
    self.loop = asyncio.get_event_loop()
                ^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 
0x7f34164e9010>

    def get_event_loop(self):
        """Get the event loop for the current context.
    
        Returns an instance of EventLoop or raises an exception.
        """
        if self._local._loop is None:
>           raise RuntimeError('There is no current event loop in thread %r.'
                               % threading.current_thread().name)
E           RuntimeError: There is no current event loop in thread 'MainThread'.

/usr/lib/python3.14/asyncio/events.py:715: RuntimeError
_____________________ TestShade_V3.test_raw_data_property ______________________

self = <tests.test_shade.TestShade_V3 testMethod=test_raw_data_property>

    def setUp(self):
>       super().setUp()

tests/test_apiresource.py:24: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/fake_server.py:368: in setUp
    self.loop = asyncio.get_event_loop()
                ^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 
0x7f34164e9010>

    def get_event_loop(self):
        """Get the event loop for the current context.
    
        Returns an instance of EventLoop or raises an exception.
        """
        if self._local._loop is None:
>           raise RuntimeError('There is no current event loop in thread %r.'
                               % threading.current_thread().name)
E           RuntimeError: There is no current event loop in thread 'MainThread'.

/usr/lib/python3.14/asyncio/events.py:715: RuntimeError
_________________________ TestShades.test_get_instance _________________________
tests/fake_server.py:368: in setUp
    self.loop = asyncio.get_event_loop()
                ^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 
0x7f34164e9010>

    def get_event_loop(self):
        """Get the event loop for the current context.
    
        Returns an instance of EventLoop or raises an exception.
        """
        if self._local._loop is None:
>           raise RuntimeError('There is no current event loop in thread %r.'
                               % threading.current_thread().name)
E           RuntimeError: There is no current event loop in thread 'MainThread'.

/usr/lib/python3.14/asyncio/events.py:715: RuntimeError
______________________ TestShades.test_get_resources_200 _______________________
tests/fake_server.py:368: in setUp
    self.loop = asyncio.get_event_loop()
                ^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 
0x7f34164e9010>

    def get_event_loop(self):
        """Get the event loop for the current context.
    
        Returns an instance of EventLoop or raises an exception.
        """
        if self._local._loop is None:
>           raise RuntimeError('There is no current event loop in thread %r.'
                               % threading.current_thread().name)
E           RuntimeError: There is no current event loop in thread 'MainThread'.

/usr/lib/python3.14/asyncio/events.py:715: RuntimeError
=========================== short test summary info ============================
FAILED tests/test_aiorequest.py::TestAioRequest::test_get_invalid_json - Runt...
FAILED tests/test_aiorequest.py::TestAioRequest::test_get_status_200 - Runtim...
FAILED tests/test_aiorequest.py::TestAioRequest::test_get_timeout - RuntimeEr...
FAILED tests/test_aiorequest.py::TestAioRequest::test_get_wrong_status - Runt...
FAILED tests/test_aiorequest.py::TestAioRequest::test_post_status_200 - Runti...
FAILED tests/test_aiorequest.py::TestAioRequest::test_post_status_201 - Runti...
FAILED tests/test_apiresource.py::TestApiResource::test_full_path - RuntimeEr...
FAILED tests/test_apiresource.py::TestApiResource::test_id_property - Runtime...
FAILED tests/test_apiresource.py::TestApiResource::test_name_property - Runti...
FAILED tests/test_apiresource.py::TestApiResource::test_raw_data_property - R...
FAILED tests/test_apiresource.py::TestApiResource_V3::test_full_path - Runtim...
FAILED tests/test_apiresource.py::TestApiResource_V3::test_id_property - Runt...
FAILED tests/test_apiresource.py::TestApiResource_V3::test_name_property - Ru...
FAILED tests/test_apiresource.py::TestApiResource_V3::test_raw_data_property
FAILED tests/test_hub.py::TestHub_v2::test_hub_init - RuntimeError: There is ...
FAILED tests/test_hub.py::TestHub_v3::test_hub_init - RuntimeError: There is ...
FAILED tests/test_room.py::TestApiResource::test_full_path - RuntimeError: Th...
FAILED tests/test_room.py::TestApiResource::test_id_property - RuntimeError: ...
FAILED tests/test_room.py::TestApiResource::test_name_property - RuntimeError...
FAILED tests/test_room.py::TestApiResource::test_raw_data_property - RuntimeE...
FAILED tests/test_room.py::TestRoom::test_delete_room_fail - RuntimeError: Th...
FAILED tests/test_room.py::TestRoom::test_delete_room_success - RuntimeError:...
FAILED tests/test_room.py::TestRoom::test_full_path - RuntimeError: There is ...
FAILED tests/test_room.py::TestRoom::test_id_property - RuntimeError: There i...
FAILED tests/test_room.py::TestRoom::test_name_property - RuntimeError: There...
FAILED tests/test_room.py::TestRoom::test_raw_data_property - RuntimeError: T...
FAILED tests/test_rooms.py::TestRooms::test_create_room_201 - RuntimeError: T...
FAILED tests/test_rooms.py::TestRooms::test_get_instance - RuntimeError: Ther...
FAILED tests/test_rooms.py::TestRooms::test_get_resources_200 - RuntimeError:...
FAILED tests/test_scene.py::TestApiResource::test_full_path - RuntimeError: T...
FAILED tests/test_scene.py::TestApiResource::test_id_property - RuntimeError:...
FAILED tests/test_scene.py::TestApiResource::test_name_property - RuntimeErro...
FAILED tests/test_scene.py::TestApiResource::test_raw_data_property - Runtime...
FAILED tests/test_scene.py::TestScene::test_activate_200 - RuntimeError: Ther...
FAILED tests/test_scene.py::TestScene::test_activate_404 - RuntimeError: Ther...
FAILED tests/test_scene.py::TestScene::test_full_path - RuntimeError: There i...
FAILED tests/test_scene.py::TestScene::test_id_property - RuntimeError: There...
FAILED tests/test_scene.py::TestScene::test_name_property - RuntimeError: The...
FAILED tests/test_scene.py::TestScene::test_raw_data_property - RuntimeError:...
FAILED tests/test_scene.py::TestScene::test_room_id_property - RuntimeError: ...
FAILED tests/test_scenes.py::TestScenes::test_create_scene_201 - RuntimeError...
FAILED tests/test_scenes.py::TestScenes::test_get_instance - RuntimeError: Th...
FAILED tests/test_scenes.py::TestScenes::test_get_resources_200 - RuntimeErro...
FAILED tests/test_shade.py::TestApiResource::test_full_path - RuntimeError: T...
FAILED tests/test_shade.py::TestApiResource::test_id_property - RuntimeError:...
FAILED tests/test_shade.py::TestApiResource::test_name_property - RuntimeErro...
FAILED tests/test_shade.py::TestApiResource::test_raw_data_property - Runtime...
FAILED tests/test_shade.py::TestShade::test_add_shade_to_room - RuntimeError:...
FAILED tests/test_shade.py::TestShade::test_convert_g2 - RuntimeError: There ...
FAILED tests/test_shade.py::TestShade::test_full_path - RuntimeError: There i...
FAILED tests/test_shade.py::TestShade::test_id_property - RuntimeError: There...
FAILED tests/test_shade.py::TestShade::test_name_property - RuntimeError: The...
FAILED tests/test_shade.py::TestShade::test_raw_data_property - RuntimeError:...
FAILED tests/test_shade.py::TestShade_V3::test_add_shade_to_room - RuntimeErr...
FAILED tests/test_shade.py::TestShade_V3::test_full_path - RuntimeError: Ther...
FAILED tests/test_shade.py::TestShade_V3::test_id_property - RuntimeError: Th...
FAILED tests/test_shade.py::TestShade_V3::test_name_property - RuntimeError: ...
FAILED tests/test_shade.py::TestShade_V3::test_raw_data_property - RuntimeErr...
FAILED tests/test_shades.py::TestShades::test_get_instance - RuntimeError: Th...
FAILED tests/test_shades.py::TestShades::test_get_resources_200 - RuntimeErro...
========================= 60 failed, 3 passed in 0.65s =========================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest -v --ignore 
tests/test_scene_members.py tests
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest -v --ignore tests/test_scene_members.py tests
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 -- 
/usr/bin/python3.13
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>
plugins: cov-5.0.0, typeguard-4.4.4
collecting ... collected 63 items

tests/test_aiorequest.py::TestAioRequest::test_get_invalid_json PASSED   [  1%]
tests/test_aiorequest.py::TestAioRequest::test_get_status_200 PASSED     [  3%]
tests/test_aiorequest.py::TestAioRequest::test_get_timeout PASSED        [  4%]
tests/test_aiorequest.py::TestAioRequest::test_get_wrong_status PASSED   [  6%]
tests/test_aiorequest.py::TestAioRequest::test_post_status_200 PASSED    [  7%]
tests/test_aiorequest.py::TestAioRequest::test_post_status_201 PASSED    [  9%]
tests/test_apiresource.py::TestApiResource::test_full_path PASSED        [ 11%]
tests/test_apiresource.py::TestApiResource::test_id_property PASSED      [ 12%]
tests/test_apiresource.py::TestApiResource::test_name_property PASSED    [ 14%]
tests/test_apiresource.py::TestApiResource::test_raw_data_property PASSED [ 15%]
tests/test_apiresource.py::TestApiResource_V3::test_full_path PASSED     [ 17%]
tests/test_apiresource.py::TestApiResource_V3::test_id_property PASSED   [ 19%]
tests/test_apiresource.py::TestApiResource_V3::test_name_property PASSED [ 20%]
tests/test_apiresource.py::TestApiResource_V3::test_raw_data_property PASSED [ 
22%]
tests/test_apiresource.py::test_clean_names PASSED                       [ 23%]
tests/test_hub.py::test_version PASSED                                   [ 25%]
tests/test_hub.py::TestHub_v2::test_hub_init PASSED                      [ 26%]
tests/test_hub.py::TestHub_v3::test_hub_init PASSED                      [ 28%]
tests/test_room.py::TestApiResource::test_full_path PASSED               [ 30%]
tests/test_room.py::TestApiResource::test_id_property PASSED             [ 31%]
tests/test_room.py::TestApiResource::test_name_property PASSED           [ 33%]
tests/test_room.py::TestApiResource::test_raw_data_property PASSED       [ 34%]
tests/test_room.py::TestRoom::test_delete_room_fail PASSED               [ 36%]
tests/test_room.py::TestRoom::test_delete_room_success PASSED            [ 38%]
tests/test_room.py::TestRoom::test_full_path PASSED                      [ 39%]
tests/test_room.py::TestRoom::test_id_property PASSED                    [ 41%]
tests/test_room.py::TestRoom::test_name_property PASSED                  [ 42%]
tests/test_room.py::TestRoom::test_raw_data_property PASSED              [ 44%]
tests/test_rooms.py::TestRooms::test_create_room_201 PASSED              [ 46%]
tests/test_rooms.py::TestRooms::test_get_instance PASSED                 [ 47%]
tests/test_rooms.py::TestRooms::test_get_resources_200 PASSED            [ 49%]
tests/test_scene.py::TestApiResource::test_full_path PASSED              [ 50%]
tests/test_scene.py::TestApiResource::test_id_property PASSED            [ 52%]
tests/test_scene.py::TestApiResource::test_name_property PASSED          [ 53%]
tests/test_scene.py::TestApiResource::test_raw_data_property PASSED      [ 55%]
tests/test_scene.py::TestScene::test_activate_200 PASSED                 [ 57%]
tests/test_scene.py::TestScene::test_activate_404 PASSED                 [ 58%]
tests/test_scene.py::TestScene::test_full_path PASSED                    [ 60%]
tests/test_scene.py::TestScene::test_id_property PASSED                  [ 61%]
tests/test_scene.py::TestScene::test_name_property PASSED                [ 63%]
tests/test_scene.py::TestScene::test_raw_data_property PASSED            [ 65%]
tests/test_scene.py::TestScene::test_room_id_property PASSED             [ 66%]
tests/test_scenes.py::TestScenes::test_create_scene_201 PASSED           [ 68%]
tests/test_scenes.py::TestScenes::test_get_instance PASSED               [ 69%]
tests/test_scenes.py::TestScenes::test_get_resources_200 PASSED          [ 71%]
tests/test_shade.py::TestApiResource::test_full_path PASSED              [ 73%]
tests/test_shade.py::TestApiResource::test_id_property PASSED            [ 74%]
tests/test_shade.py::TestApiResource::test_name_property PASSED          [ 76%]
tests/test_shade.py::TestApiResource::test_raw_data_property PASSED      [ 77%]
tests/test_shade.py::TestShade::test_add_shade_to_room PASSED            [ 79%]
tests/test_shade.py::TestShade::test_convert_g2 PASSED                   [ 80%]
tests/test_shade.py::TestShade::test_full_path PASSED                    [ 82%]
tests/test_shade.py::TestShade::test_id_property PASSED                  [ 84%]
tests/test_shade.py::TestShade::test_name_property PASSED                [ 85%]
tests/test_shade.py::TestShade::test_raw_data_property PASSED            [ 87%]
tests/test_shade.py::TestShade_V3::test_add_shade_to_room PASSED         [ 88%]
tests/test_shade.py::TestShade_V3::test_full_path PASSED                 [ 90%]
tests/test_shade.py::TestShade_V3::test_id_property PASSED               [ 92%]
tests/test_shade.py::TestShade_V3::test_name_property PASSED             [ 93%]
tests/test_shade.py::TestShade_V3::test_raw_data_property PASSED         [ 95%]
tests/test_shades.py::TestShades::test_get_instance PASSED               [ 96%]
tests/test_shades.py::TestShades::test_get_resources_200 PASSED          [ 98%]
tests/test_tools.py::TestTools::test_get_base_path PASSED                [100%]

=============================== warnings summary ===============================
.pybuild/cpython3_3.13/build/tests/test_aiorequest.py::TestAioRequest::test_get_invalid_json
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/fake_server.py:368: 
DeprecationWarning: There is no current event loop
    self.loop = asyncio.get_event_loop()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================== 63 passed, 1 warning in 2.22s =========================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to