Package: src:python-aiohasupervisor
Version: 0.4.3-1
Severity: serious
Tags: ftbfs forky sid
User: [email protected]
Usertags: aiohttp-3.14

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

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

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" 
module
I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14  

[... snipped ...]

supervisor_client = <aiohasupervisor.root.SupervisorClient object at 
0x7fc9fa61a150>

    async def test_supervisor_repair(
        responses: aioresponses, supervisor_client: SupervisorClient
    ) -> None:
        """Test supervisor repair API."""
        responses.post(f"{SUPERVISOR_URL}/supervisor/repair", status=200)
>       assert await supervisor_client.supervisor.repair() is None
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/test_supervisor.py:162: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
aiohasupervisor/supervisor.py:63: in repair
    await self._client.post("supervisor/repair")
aiohasupervisor/client.py:189: in post
    return await self._request(
aiohasupervisor/client.py:127: in _request
    response = await self.session.request(
<string>:3: in _request
    ???
/usr/lib/python3.13/unittest/mock.py:2332: in _execute_mock_call
    result = await effect(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/aioresponses/core.py:512: in _request_mock
    response = await self.match(method, url, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/aioresponses/core.py:456: in match
    response_or_exc = await matcher.build_response(
/usr/lib/python3/dist-packages/aioresponses/core.py:202: in build_response
    resp = self._build_response(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <aioresponses.core.RequestMatch object at 0x7fc9fa61b1d0>
url = URL('http://homeassistant.local/supervisor/repair'), method = 'post'
request_headers = {'Accept': 'application/json, text/plain, */*', 
'Authorization': 'Bearer abc123', 'User-Agent': 'AioHASupervisor/0.0.0'}
status = 200, body = b'', content_type = 'application/json', payload = None
headers = None, response_class = <class 'aiohttp.client_reqrep.ClientResponse'>
reason = 'OK'

    def _build_response(self, url: 'Union[URL, str]',
                        method: str = hdrs.METH_GET,
                        request_headers: Optional[Dict] = None,
                        status: int = 200,
                        body: Union[str, bytes] = '',
                        content_type: str = 'application/json',
                        payload: Optional[Dict] = None,
                        headers: Optional[Dict] = None,
                        response_class: Optional[Type[ClientResponse]] = None,
                        reason: Optional[str] = None) -> ClientResponse:
        if response_class is None:
            response_class = ClientResponse
        if payload is not None:
            body = json.dumps(payload)
        if not isinstance(body, bytes):
            body = str.encode(body)
        if request_headers is None:
            request_headers = {}
        loop = Mock()
        loop.get_debug = Mock()
        loop.get_debug.return_value = True
        kwargs = {}  # type: Dict[str, Any]
        kwargs['request_info'] = RequestInfo(
            url=url,
            method=method,
            headers=CIMultiDictProxy(CIMultiDict(**request_headers)),
        )
        kwargs['writer'] = None
        kwargs['continue100'] = None
        kwargs['timer'] = TimerNoop()
        kwargs['traces'] = []
        kwargs['loop'] = loop
        kwargs['session'] = None
    
        # We need to initialize headers manually
        _headers = CIMultiDict({hdrs.CONTENT_TYPE: content_type})
        if headers:
            _headers.update(headers)
        raw_headers = self._build_raw_headers(_headers)
>       resp = response_class(method, url, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       TypeError: ClientResponse.__init__() missing 1 required keyword-only 
argument: 'stream_writer'

/usr/lib/python3/dist-packages/aioresponses/core.py:171: TypeError
=========================== short test summary info ============================
FAILED tests/test_addons.py::test_addons_list - TypeError: ClientResponse.__i...
FAILED tests/test_addons.py::test_addons_info - TypeError: ClientResponse.__i...
FAILED tests/test_addons.py::test_addons_uninstall - TypeError: ClientRespons...
FAILED tests/test_addons.py::test_addons_start - TypeError: ClientResponse.__...
FAILED tests/test_addons.py::test_addons_stop - TypeError: ClientResponse.__i...
FAILED tests/test_addons.py::test_addons_restart - TypeError: ClientResponse....
FAILED tests/test_addons.py::test_addons_options - TypeError: ClientResponse....
FAILED tests/test_addons.py::test_addons_config_validate - TypeError: ClientR...
FAILED tests/test_addons.py::test_addons_config - TypeError: ClientResponse._...
FAILED tests/test_addons.py::test_addons_rebuild - TypeError: ClientResponse....
FAILED tests/test_addons.py::test_addons_rebuild_with_force - TypeError: Clie...
FAILED tests/test_addons.py::test_addons_stdin - TypeError: ClientResponse.__...
FAILED tests/test_addons.py::test_addons_security - TypeError: ClientResponse...
FAILED tests/test_addons.py::test_addons_stats - TypeError: ClientResponse.__...
FAILED tests/test_backups.py::test_backups_list - TypeError: ClientResponse._...
FAILED tests/test_backups.py::test_backups_info - TypeError: ClientResponse._...
FAILED tests/test_backups.py::test_backups_options - TypeError: ClientRespons...
FAILED tests/test_backups.py::test_backups_reload - TypeError: ClientResponse...
FAILED tests/test_backups.py::test_backups_freeze[None] - TypeError: ClientRe...
FAILED tests/test_backups.py::test_backups_freeze[options1] - TypeError: Clie...
FAILED tests/test_backups.py::test_backups_thaw - TypeError: ClientResponse._...
FAILED tests/test_backups.py::test_backups_full_backup[options0-None-True] - ...
FAILED tests/test_backups.py::test_backups_full_backup[options1-9ecf0028-False]
FAILED tests/test_backups.py::test_backups_full_backup[options2-9ecf0028-False]
FAILED tests/test_backups.py::test_backups_full_backup[options3-9ecf0028-False]
FAILED tests/test_backups.py::test_backups_full_backup[options4-9ecf0028-False]
FAILED tests/test_backups.py::test_backups_full_backup[options5-9ecf0028-False]
FAILED tests/test_backups.py::test_backups_full_backup[options6-9ecf0028-False]
FAILED tests/test_backups.py::test_backups_full_backup[None-9ecf0028-False]
FAILED tests/test_backups.py::test_backups_partial_backup[options0-None-True]
FAILED 
tests/test_backups.py::test_backups_partial_backup[options1-9ecf0028-False]
FAILED 
tests/test_backups.py::test_backups_partial_backup[options2-9ecf0028-False]
FAILED 
tests/test_backups.py::test_backups_partial_backup[options3-9ecf0028-False]
FAILED 
tests/test_backups.py::test_backups_partial_backup[options4-9ecf0028-False]
FAILED 
tests/test_backups.py::test_backups_partial_backup[options5-9ecf0028-False]
FAILED 
tests/test_backups.py::test_backups_partial_backup[options6-9ecf0028-False]
FAILED 
tests/test_backups.py::test_backups_partial_backup[options7-9ecf0028-False]
FAILED 
tests/test_backups.py::test_backups_partial_backup[options8-9ecf0028-False]
FAILED tests/test_backups.py::test_backup_info - TypeError: ClientResponse.__...
FAILED tests/test_backups.py::test_backup_info_no_homeassistant - TypeError: ...
FAILED tests/test_backups.py::test_backup_info_with_extra - TypeError: Client...
FAILED tests/test_backups.py::test_backup_info_with_multiple_locations - Type...
FAILED tests/test_backups.py::test_remove_backup[None] - TypeError: ClientRes...
FAILED tests/test_backups.py::test_remove_backup[options1] - TypeError: Clien...
FAILED tests/test_backups.py::test_full_restore[None-False] - TypeError: Clie...
FAILED tests/test_backups.py::test_full_restore[options1-False] - TypeError: ...
FAILED tests/test_backups.py::test_full_restore[options2-True] - TypeError: C...
FAILED tests/test_backups.py::test_full_restore[options3-False] - TypeError: ...
FAILED tests/test_backups.py::test_partial_restore[options0-False] - TypeErro...
FAILED tests/test_backups.py::test_partial_restore[options1-False] - TypeErro...
FAILED tests/test_backups.py::test_partial_restore[options2-False] - TypeErro...
FAILED tests/test_backups.py::test_partial_restore[options3-True] - TypeError...
FAILED tests/test_backups.py::test_partial_restore[options4-False] - TypeErro...
FAILED tests/test_backups.py::test_upload_backup[None-] - TypeError: ClientRe...
FAILED 
tests/test_backups.py::test_upload_backup[options1-?location=.local&location=test]
FAILED tests/test_backups.py::test_upload_backup[options2-?filename=backup.tar]
FAILED tests/test_backups.py::test_download_backup[None-] - TypeError: Client...
FAILED tests/test_backups.py::test_download_backup[options1-?location=test]
FAILED tests/test_backups.py::test_download_backup[options2-?location=] - Typ...
FAILED tests/test_backups.py::test_backups_list_location_attributes - TypeErr...
FAILED tests/test_backups.py::test_backup_info_location_attributes - TypeErro...
FAILED tests/test_discovery.py::test_discovery_list - TypeError: ClientRespon...
FAILED tests/test_discovery.py::test_get_discovery - TypeError: ClientRespons...
FAILED tests/test_discovery.py::test_delete_discovery - TypeError: ClientResp...
FAILED tests/test_discovery.py::test_set_discovery - TypeError: ClientRespons...
FAILED tests/test_homeassistant.py::test_homeassistant_stats - TypeError: Cli...
FAILED tests/test_homeassistant.py::test_homeassistant_options - TypeError: C...
FAILED tests/test_homeassistant.py::test_homeassistant_update[None] - TypeErr...
FAILED tests/test_homeassistant.py::test_homeassistant_update[options1] - Typ...
FAILED tests/test_homeassistant.py::test_homeassistant_restart[None] - TypeEr...
FAILED tests/test_homeassistant.py::test_homeassistant_restart[options1] - Ty...
FAILED tests/test_homeassistant.py::test_homeassistant_stop[None] - TypeError...
FAILED tests/test_homeassistant.py::test_homeassistant_stop[options1] - TypeE...
FAILED tests/test_homeassistant.py::test_homeassistant_start - TypeError: Cli...
FAILED tests/test_homeassistant.py::test_homeassistant_check_config - TypeErr...
FAILED tests/test_homeassistant.py::test_homeassistant_rebuild[None] - TypeEr...
FAILED tests/test_homeassistant.py::test_homeassistant_rebuild[options1] - Ty...
FAILED tests/test_host.py::test_host_info - TypeError: ClientResponse.__init_...
FAILED tests/test_host.py::test_host_reboot[None] - TypeError: ClientResponse...
FAILED tests/test_host.py::test_host_reboot[options1] - TypeError: ClientResp...
FAILED tests/test_host.py::test_host_shutdown[None] - TypeError: ClientRespon...
FAILED tests/test_host.py::test_host_shutdown[options1] - TypeError: ClientRe...
FAILED tests/test_host.py::test_host_reload - TypeError: ClientResponse.__ini...
FAILED tests/test_host.py::test_host_options - TypeError: ClientResponse.__in...
FAILED tests/test_host.py::test_host_services - TypeError: ClientResponse.__i...
FAILED tests/test_host.py::test_host_disk_usage - TypeError: ClientResponse._...
FAILED tests/test_host.py::test_host_disk_usage_with_custom_depth - TypeError...
FAILED tests/test_ingress.py::test_panels - TypeError: ClientResponse.__init_...
FAILED tests/test_ingress.py::test_create_session[None-None] - TypeError: Cli...
FAILED tests/test_ingress.py::test_create_session[options1-expected_body1] - ...
FAILED tests/test_ingress.py::test_validate_session - TypeError: ClientRespon...
FAILED tests/test_jobs.py::test_jobs_info - TypeError: ClientResponse.__init_...
FAILED tests/test_jobs.py::test_jobs_set_options - TypeError: ClientResponse....
FAILED tests/test_jobs.py::test_jobs_reset - TypeError: ClientResponse.__init...
FAILED tests/test_jobs.py::test_jobs_get_job - TypeError: ClientResponse.__in...
FAILED tests/test_jobs.py::test_jobs_get_job_extra - TypeError: ClientRespons...
FAILED tests/test_jobs.py::test_jobs_delete_job - TypeError: ClientResponse._...
FAILED tests/test_jobs.py::test_jobs_info_backward_compatibility_no_stage - T...
FAILED tests/test_mounts.py::test_mounts_info - TypeError: ClientResponse.__i...
FAILED tests/test_mounts.py::test_mounts_options[test] - TypeError: ClientRes...
FAILED tests/test_mounts.py::test_mounts_options[None] - TypeError: ClientRes...
FAILED tests/test_mounts.py::test_create_mount[mount_config0] - TypeError: Cl...
FAILED tests/test_mounts.py::test_create_mount[mount_config1] - TypeError: Cl...
FAILED tests/test_mounts.py::test_create_mount[mount_config2] - TypeError: Cl...
FAILED tests/test_mounts.py::test_create_mount[mount_config3] - TypeError: Cl...
FAILED tests/test_mounts.py::test_update_mount[mount_config0] - TypeError: Cl...
FAILED tests/test_mounts.py::test_update_mount[mount_config1] - TypeError: Cl...
FAILED tests/test_mounts.py::test_update_mount[mount_config2] - TypeError: Cl...
FAILED tests/test_mounts.py::test_update_mount[mount_config3] - TypeError: Cl...
FAILED tests/test_mounts.py::test_delete_mount - TypeError: ClientResponse.__...
FAILED tests/test_mounts.py::test_reload_mount - TypeError: ClientResponse.__...
FAILED tests/test_network.py::test_network_info - TypeError: ClientResponse._...
FAILED tests/test_network.py::test_network_reload - TypeError: ClientResponse...
FAILED tests/test_network.py::test_network_interface_info - TypeError: Client...
FAILED tests/test_network.py::test_network_update_interface - TypeError: Clie...
FAILED tests/test_network.py::test_network_access_points - TypeError: ClientR...
FAILED tests/test_network.py::test_network_save_vlan[None] - TypeError: Clien...
FAILED tests/test_network.py::test_network_save_vlan[config1] - TypeError: Cl...
FAILED tests/test_network.py::test_network_save_vlan[config2] - TypeError: Cl...
FAILED tests/test_os.py::test_os_info - TypeError: ClientResponse.__init__() ...
FAILED tests/test_os.py::test_os_update[None] - TypeError: ClientResponse.__i...
FAILED tests/test_os.py::test_os_update[options1] - TypeError: ClientResponse...
FAILED tests/test_os.py::test_os_swap_info - TypeError: ClientResponse.__init...
FAILED tests/test_os.py::test_os_set_swap_options - TypeError: ClientResponse...
FAILED tests/test_os.py::test_os_config_sync - TypeError: ClientResponse.__in...
FAILED tests/test_os.py::test_os_migrate_data - TypeError: ClientResponse.__i...
FAILED tests/test_os.py::test_os_list_data_disks - TypeError: ClientResponse....
FAILED tests/test_os.py::test_os_wipe_data - TypeError: ClientResponse.__init...
FAILED tests/test_os.py::test_os_set_boot_slot - TypeError: ClientResponse.__...
FAILED tests/test_os.py::test_os_green_info - TypeError: ClientResponse.__ini...
FAILED tests/test_os.py::test_os_green_options - TypeError: ClientResponse.__...
FAILED tests/test_os.py::test_os_yellow_info - TypeError: ClientResponse.__in...
FAILED tests/test_os.py::test_os_yellow_options - TypeError: ClientResponse._...
FAILED tests/test_resolution.py::test_resolution_info - TypeError: ClientResp...
FAILED tests/test_resolution.py::test_resolution_check_options - TypeError: C...
FAILED tests/test_resolution.py::test_resolution_run_check - TypeError: Clien...
FAILED tests/test_resolution.py::test_resolution_apply_suggestion - TypeError...
FAILED tests/test_resolution.py::test_resolution_dismiss_suggestion - TypeErr...
FAILED tests/test_resolution.py::test_resolution_dismiss_issue - TypeError: C...
FAILED tests/test_resolution.py::test_resolution_suggestions_for_issue - Type...
FAILED tests/test_resolution.py::test_resolution_healthcheck - TypeError: Cli...
FAILED tests/test_root.py::test_using_own_session - TypeError: ClientResponse...
FAILED tests/test_root.py::test_using_new_session - TypeError: ClientResponse...
FAILED tests/test_root.py::test_info - TypeError: ClientResponse.__init__() m...
FAILED tests/test_root.py::test_available_updates - TypeError: ClientResponse...
FAILED tests/test_root.py::test_reload_updates - TypeError: ClientResponse.__...
FAILED tests/test_root.py::test_refresh_updates - TypeError: ClientResponse._...
FAILED tests/test_root.py::test_error_handling[400-Bad 
input-SupervisorBadRequestError]
FAILED 
tests/test_root.py::test_error_handling[401-None-SupervisorAuthenticationError]
FAILED tests/test_root.py::test_error_handling[403-Not 
allowed-SupervisorForbiddenError]
FAILED tests/test_root.py::test_error_handling[404-Not 
found-SupervisorNotFoundError]
FAILED tests/test_root.py::test_error_handling[503-DB migration in 
progress-SupervisorServiceUnavailableError]
FAILED tests/test_root.py::test_error_handling[500-Unknown 
error-SupervisorError]
FAILED tests/test_store.py::test_store_info - TypeError: ClientResponse.__ini...
FAILED tests/test_store.py::test_store_addons_list - TypeError: ClientRespons...
FAILED tests/test_store.py::test_store_repositories_list - TypeError: ClientR...
FAILED tests/test_store.py::test_store_addon_info - TypeError: ClientResponse...
FAILED tests/test_store.py::test_store_addon_changelog - TypeError: ClientRes...
FAILED tests/test_store.py::test_store_addon_documentation - TypeError: Clien...
FAILED tests/test_store.py::test_store_addon_install[None-False] - TypeError:...
FAILED tests/test_store.py::test_store_addon_install[options1-False] - TypeEr...
FAILED tests/test_store.py::test_store_addon_install[options2-False] - TypeEr...
FAILED tests/test_store.py::test_store_addon_install[options3-True] - TypeErr...
FAILED tests/test_store.py::test_store_addon_update[None-False] - TypeError: ...
FAILED tests/test_store.py::test_store_addon_update[options1-False] - TypeErr...
FAILED tests/test_store.py::test_store_addon_update[options2-False] - TypeErr...
FAILED tests/test_store.py::test_store_addon_update[options3-False] - TypeErr...
FAILED tests/test_store.py::test_store_addon_update[options4-True] - TypeErro...
FAILED tests/test_store.py::test_store_addon_availability - TypeError: Client...
FAILED 
tests/test_store.py::test_store_addon_availability_error[store_addon_availability_error_architecture.json-addon_not_supported_architecture_error-AddonNotSupportedArchitectureError]
FAILED 
tests/test_store.py::test_store_addon_availability_error[store_addon_availability_error_machine.json-addon_not_supported_machine_type_error-AddonNotSupportedMachineTypeError]
FAILED 
tests/test_store.py::test_store_addon_availability_error[store_addon_availability_error_home_assistant.json-addon_not_supported_home_assistant_version_error-AddonNotSupportedHomeAssistantVersionError]
FAILED 
tests/test_store.py::test_store_addon_availability_error[store_addon_availability_error_other.json-None-SupervisorBadRequestError]
FAILED tests/test_store.py::test_store_reload - TypeError: ClientResponse.__i...
FAILED tests/test_store.py::test_store_repository_info - TypeError: ClientRes...
FAILED tests/test_store.py::test_store_add_repository - TypeError: ClientResp...
FAILED tests/test_store.py::test_store_remove_repository - TypeError: ClientR...
FAILED tests/test_store.py::test_store_repair_repository - TypeError: ClientR...
FAILED tests/test_supervisor.py::test_supervisor_ping - TypeError: ClientResp...
FAILED tests/test_supervisor.py::test_supervisor_info - TypeError: ClientResp...
FAILED 
tests/test_supervisor.py::test_supervisor_info_optional_fields_none[version_latest]
FAILED tests/test_supervisor.py::test_supervisor_info_optional_fields_none[arch]
FAILED tests/test_supervisor.py::test_supervisor_stats - TypeError: ClientRes...
FAILED tests/test_supervisor.py::test_supervisor_update[None] - TypeError: Cl...
FAILED tests/test_supervisor.py::test_supervisor_update[options1] - TypeError...
FAILED tests/test_supervisor.py::test_supervisor_reload - TypeError: ClientRe...
FAILED tests/test_supervisor.py::test_supervisor_restart - TypeError: ClientR...
FAILED tests/test_supervisor.py::test_supervisor_options - TypeError: ClientR...
FAILED tests/test_supervisor.py::test_supervisor_repair - TypeError: ClientRe...
================= 189 failed, 25 passed, 1 deselected in 7.49s =================
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest -k "not 
test_homeassistant_info" -W "ignore:'asyncio.iscoroutinefunction' is 
deprecated:DeprecationWarning"
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" --parallel=2 returned exit code 13
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to