Package: src:pyenphase Version: 2.4.9-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:pyenphase, 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 debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_build override_dh_auto_build --buildsystem=pybuild [... snipped ...] tests/test_pre_v7_endpoints.py:1105: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/common.py:127: in get_mock_envoy await envoy.setup() pyenphase/envoy.py:215: in setup await self._firmware.setup() pyenphase/firmware.py:123: in setup status_code, content = await self._get_info() ^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/tenacity/asyncio/__init__.py:193: in async_wrapped return await copy(fn, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/tenacity/asyncio/__init__.py:112: in __call__ do = await self.iter(retry_state=retry_state) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/tenacity/asyncio/__init__.py:157: in iter result = await action(retry_state) ^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/tenacity/_utils.py:111: in inner return call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3/dist-packages/tenacity/__init__.py:393: in <lambda> self._add_action_func(lambda rs: rs.outcome.result()) ^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.13/concurrent/futures/_base.py:449: in result return self.__get_result() ^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.13/concurrent/futures/_base.py:401: in __get_result raise self._exception /usr/lib/python3/dist-packages/tenacity/asyncio/__init__.py:116: in __call__ result = await fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ pyenphase/firmware.py:81: in _get_info resp = await self._client.get(self._url, timeout=LOCAL_TIMEOUT) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ <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 0x7f5ef6a6c4d0> url = URL('https://127.0.0.1/info'), method = 'get', request_headers = {} status = 200 body = b"<?xml version='1.0' encoding='UTF-8'?>\n<envoy_info>\n <time>1691342592</time>\n <device>\n <sn>121430030548</s...'>\n <build>802</build>\n <version>01.02.00</version>\n <pn>500-00001-r01</pn>\n </package>\n</envoy_info>\n" 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 ------------------------------ Captured log call ------------------------------- DEBUG pyenphase.firmware:firmware.py:79 Requesting https://127.0.0.1/info with timeout ClientTimeout(total=45.0, connect=10.0, sock_read=45.0, sock_connect=None, ceil_threshold=5) --------------------------- snapshot report summary ---------------------------- 102 snapshots unused. Re-run pytest with --snapshot-update to delete unused snapshots. =========================== short test summary info ============================ FAILED tests/test_acb.py::test_with_4_2_27_firmware - TypeError: ClientRespon... FAILED tests/test_acb.py::test_with_7_x_firmware[4.10.35] - TypeError: Client... FAILED tests/test_acb.py::test_with_7_x_firmware[7.3.130] - TypeError: Client... FAILED tests/test_acb.py::test_with_7_x_firmware[7.3.130_no_consumption] - Ty... FAILED tests/test_acb.py::test_with_7_x_firmware[7.3.517] - TypeError: Client... FAILED tests/test_acb.py::test_with_7_x_firmware[7.3.517_legacy_savings_mode] FAILED tests/test_acb.py::test_with_7_x_firmware[7.3.517_system_2] - TypeErro... FAILED tests/test_acb.py::test_with_7_x_firmware[7.6.175_with_cts] - TypeErro... FAILED tests/test_acb.py::test_with_7_x_firmware[7.6.175_with_cts_3phase] - T... FAILED tests/test_acb.py::test_with_7_x_firmware[7.3.466_with_cts_3phase] - T... FAILED tests/test_acb.py::test_with_7_x_firmware[7.6.185_with_cts_and_battery_3t] FAILED tests/test_acb.py::test_with_7_x_firmware[8.1.41] - TypeError: ClientR... FAILED tests/test_acb.py::test_with_7_x_firmware[8.2.127_with_3cts_and_battery_split] FAILED tests/test_acb.py::test_with_7_x_firmware[8.2.127_with_generator_running] FAILED tests/test_acb.py::test_with_7_x_firmware[8.2.4382_ACB] - TypeError: C... FAILED tests/test_auth.py::test_wrong_auth_order_with_7_6_175_standard - Type... FAILED tests/test_auth.py::test_with_3_9_36_firmware_bad_auth - TypeError: Cl... FAILED tests/test_auth.py::test_production_with_3_9_36_firmware_bad_auth - Ty... FAILED tests/test_auth.py::test_known_users_with_3_9_36_firmware[installer-] FAILED tests/test_auth.py::test_known_users_with_3_9_36_firmware[envoy-] - Ty... FAILED tests/test_auth.py::test_unknown_user_with_3_9_36_firmware - TypeError... FAILED tests/test_auth.py::test_blank_passwords_with_7_6_175_standard[installer-] FAILED tests/test_auth.py::test_blank_passwords_with_7_6_175_standard[envoy-] FAILED tests/test_auth.py::test_blank_passwords_with_7_6_175_standard[unknown-] FAILED tests/test_auth.py::test_no_token_obtained_with_7_6_175_standard - Typ... FAILED tests/test_auth.py::test_jwt_failure_with_7_6_175_standard - TypeError... FAILED tests/test_auth.py::test_no_remote_login_with_7_6_175_standard - TypeE... FAILED tests/test_auth.py::test_no_remote_token_with_7_6_175_standard - TypeE... FAILED tests/test_auth.py::test_enlighten_json_error_with_7_6_175_standard - ... FAILED tests/test_auth.py::test_enlighten_json_missing_is_consumer_with_7_6_175_standard FAILED tests/test_auth.py::test_enlighten_json_missing_session_id_with_7_6_175_standard FAILED tests/test_auth.py::test_token_with_7_6_175_standard - TypeError: Clie... FAILED tests/test_auth.py::test_remote_login_response_with_7_6_175_standard FAILED tests/test_auth.py::test_device_data_with_8_2_4345_with_device_data - ... FAILED tests/test_ct_meters.py::test_pr111_with_7_3_466_metered_disabled_cts FAILED tests/test_ct_meters.py::test_pr111_with_7_6_175_with_cts - TypeError:... FAILED tests/test_ct_meters.py::test_pr111_with_7_6_175_standard - TypeError:... FAILED tests/test_ct_meters.py::test_ct_data_structures_with_7_3_466_with_cts_3phase FAILED tests/test_ct_meters.py::test_ct_data_structures_with_7_6_175_with_cts_3phase FAILED tests/test_ct_meters.py::test_ct_data_structures_with_7_6_175_with_total_cts_3phase FAILED tests/test_ct_meters.py::test_ct_storage_with_8_2_127_with_3cts_and_battery_split FAILED tests/test_ct_meters.py::test_ct_storage_data_without_meter_entry_with_8_2_127_with_3cts_and_battery_split FAILED tests/test_ct_meters.py::test_yet_unknown_ct_with_8_2_127_with_3cts_and_battery_split FAILED tests/test_ct_meters.py::test_current_transformers[4.10.35] - TypeErro... FAILED tests/test_ct_meters.py::test_current_transformers[7.3.130_no_consumption] FAILED tests/test_ct_meters.py::test_current_transformers[7.3.466_with_cts_3phase] FAILED tests/test_ct_meters.py::test_current_transformers[7.3.517_system_2] FAILED tests/test_ct_meters.py::test_current_transformers[7.6.175_with_cts] FAILED tests/test_ct_meters.py::test_current_transformers[7.6.175_with_cts_3phase] FAILED tests/test_ct_meters.py::test_current_transformers[7.6.185_with_cts_and_battery_3t] FAILED tests/test_ct_meters.py::test_current_transformers[8.2.127_with_3cts_and_battery_split] FAILED tests/test_ct_meters.py::test_current_transformers[8.2.127_with_generator_running] FAILED tests/test_ct_meters.py::test_current_transformers[8.2.4286_with_3cts_and_battery_split] FAILED tests/test_ct_meters.py::test_current_transformers[8.2.4345_with_device_data] FAILED tests/test_ct_meters.py::test_current_transformers[8.3.1598_collar] - ... FAILED tests/test_ct_meters.py::test_without_current_transformers[5.0.62] - T... FAILED tests/test_ct_meters.py::test_without_current_transformers[7.3.130] - ... FAILED tests/test_ct_meters.py::test_without_current_transformers[7.3.466_metered_disabled_cts] FAILED tests/test_ct_meters.py::test_without_current_transformers[7.3.517] - ... FAILED tests/test_ct_meters.py::test_without_current_transformers[7.3.517_legacy_savings_mode] FAILED tests/test_ct_meters.py::test_without_current_transformers[7.6.114_without_cts] FAILED tests/test_ct_meters.py::test_without_current_transformers[7.6.175] - ... FAILED tests/test_ct_meters.py::test_without_current_transformers[7.6.175_standard] FAILED tests/test_ct_meters.py::test_without_current_transformers[7.6.175_total] FAILED tests/test_ct_meters.py::test_without_current_transformers[8.1.41] - T... FAILED tests/test_ct_meters.py::test_without_current_transformers[8.2.4264_metered_noct] FAILED tests/test_drycontacts.py::test_dry_contact_type[8.3.5167_3rd-pv] - Ty... FAILED tests/test_drycontacts.py::test_dry_contact_type[8.2.127_with_generator_running] FAILED tests/test_endpoints.py::test_with_7_x_firmware[5.0.62] - TypeError: C... FAILED tests/test_endpoints.py::test_with_7_x_firmware[4.10.35] - TypeError: ... FAILED tests/test_endpoints.py::test_with_7_x_firmware[7.3.130] - TypeError: ... FAILED tests/test_endpoints.py::test_with_7_x_firmware[7.3.130_no_consumption] FAILED tests/test_endpoints.py::test_with_7_x_firmware[7.3.517] - TypeError: ... FAILED tests/test_endpoints.py::test_with_7_x_firmware[7.3.517_legacy_savings_mode] FAILED tests/test_endpoints.py::test_with_7_x_firmware[7.3.517_system_2] - Ty... FAILED tests/test_endpoints.py::test_with_7_x_firmware[7.3.466_metered_disabled_cts] FAILED tests/test_endpoints.py::test_with_7_x_firmware[7.6.114_without_cts] FAILED tests/test_endpoints.py::test_with_7_x_firmware[7.6.175] - TypeError: ... FAILED tests/test_endpoints.py::test_with_7_x_firmware[7.6.175_total] - TypeE... FAILED tests/test_endpoints.py::test_with_7_x_firmware[7.6.175_standard] - Ty... FAILED tests/test_endpoints.py::test_with_7_x_firmware[7.6.175_with_cts] - Ty... FAILED tests/test_endpoints.py::test_with_7_x_firmware[7.6.175_with_cts_3phase] FAILED tests/test_endpoints.py::test_with_7_x_firmware[7.3.466_with_cts_3phase] FAILED tests/test_endpoints.py::test_with_7_x_firmware[7.6.185_with_cts_and_battery_3t] FAILED tests/test_endpoints.py::test_with_7_x_firmware[8.1.41] - TypeError: C... FAILED tests/test_endpoints.py::test_with_7_x_firmware[8.2.127_with_3cts_and_battery_split] FAILED tests/test_endpoints.py::test_with_7_x_firmware[8.2.127_with_generator_running] FAILED tests/test_endpoints.py::test_with_7_x_firmware[8.2.4286_with_3cts_and_battery_split] FAILED tests/test_endpoints.py::test_with_7_x_firmware[8.2.4264_metered_noct] FAILED tests/test_endpoints.py::test_with_7_x_firmware[8.2.4345_with_device_data] FAILED tests/test_ensemble.py::test_with_7_x_firmware[5.0.62] - TypeError: Cl... FAILED tests/test_ensemble.py::test_with_7_x_firmware[4.10.35] - TypeError: C... FAILED tests/test_ensemble.py::test_with_7_x_firmware[7.3.130] - TypeError: C... FAILED tests/test_ensemble.py::test_with_7_x_firmware[7.3.130_no_consumption] FAILED tests/test_ensemble.py::test_with_7_x_firmware[7.3.517] - TypeError: C... FAILED tests/test_ensemble.py::test_with_7_x_firmware[7.3.517_legacy_savings_mode] FAILED tests/test_ensemble.py::test_with_7_x_firmware[7.3.517_system_2] - Typ... FAILED tests/test_ensemble.py::test_with_7_x_firmware[7.3.466_metered_disabled_cts] FAILED tests/test_ensemble.py::test_with_7_x_firmware[7.6.114_without_cts] - ... FAILED tests/test_ensemble.py::test_with_7_x_firmware[7.6.175] - TypeError: C... FAILED tests/test_ensemble.py::test_with_7_x_firmware[7.6.175_total] - TypeEr... FAILED tests/test_ensemble.py::test_with_7_x_firmware[7.6.175_standard] - Typ... FAILED tests/test_ensemble.py::test_with_7_x_firmware[7.6.175_with_cts] - Typ... FAILED tests/test_ensemble.py::test_with_7_x_firmware[7.6.175_with_cts_3phase] FAILED tests/test_ensemble.py::test_with_7_x_firmware[7.3.466_with_cts_3phase] FAILED tests/test_ensemble.py::test_with_7_x_firmware[7.6.185_with_cts_and_battery_3t] FAILED tests/test_ensemble.py::test_with_7_x_firmware[8.1.41] - TypeError: Cl... FAILED tests/test_ensemble.py::test_with_7_x_firmware[8.2.127_with_3cts_and_battery_split] FAILED tests/test_ensemble.py::test_with_7_x_firmware[8.2.127_with_generator_running] FAILED tests/test_ensemble.py::test_with_7_x_firmware[8.2.4286_with_3cts_and_battery_split] FAILED tests/test_ensemble.py::test_with_7_x_firmware[8.2.4264_metered_noct] FAILED tests/test_ensemble.py::test_with_7_x_firmware[8.2.4345_with_device_data] FAILED tests/test_ensemble.py::test_with_7_x_firmware[8.3.1598_collar] - Type... FAILED tests/test_firmware.py::test_firmware_with_7_6_175_standard - TypeErro... FAILED tests/test_firmware.py::test_firmware_no_sn_with_7_6_175_standard - Ty... FAILED tests/test_firmware.py::test_firmware_no_pn_with_7_6_175_standard - Ty... FAILED tests/test_firmware.py::test_firmware_no_fw_with_7_6_175_standard - Ty... FAILED tests/test_firmware.py::test_firmware_no_device_with_7_6_175_standard FAILED tests/test_firmware.py::test_firmware_no_200__with_7_6_175_standard - ... FAILED tests/test_firmware.py::test_firmware_metered_with_7_6_175_standard - ... FAILED tests/test_firmware.py::test_firmware_not_metered_with_7_6_175_standard FAILED tests/test_firmware.py::test_firmware_missing_metered_with_7_6_175_standard FAILED tests/test_home.py::test_interface_settings_with_7_6_175 - TypeError: ... FAILED tests/test_home.py::test_home_endpoint_errors_with_7_6_175 - TypeError... FAILED tests/test_home.py::test_home_endpoint_non_json_response - TypeError: ... FAILED tests/test_net_consumption.py::test_with_4_2_27_firmware - TypeError: ... FAILED tests/test_net_consumption.py::test_with_7_x_firmware[5.0.62] - TypeEr... FAILED tests/test_net_consumption.py::test_with_7_x_firmware[4.10.35] - TypeE... FAILED tests/test_net_consumption.py::test_with_7_x_firmware[7.3.130] - TypeE... FAILED tests/test_net_consumption.py::test_with_7_x_firmware[7.3.130_no_consumption] FAILED tests/test_net_consumption.py::test_with_7_x_firmware[7.3.517] - TypeE... FAILED tests/test_net_consumption.py::test_with_7_x_firmware[7.3.517_legacy_savings_mode] FAILED tests/test_net_consumption.py::test_with_7_x_firmware[7.3.517_system_2] FAILED tests/test_net_consumption.py::test_with_7_x_firmware[7.3.466_metered_disabled_cts] FAILED tests/test_net_consumption.py::test_with_7_x_firmware[7.6.114_without_cts] FAILED tests/test_net_consumption.py::test_with_7_x_firmware[7.6.175] - TypeE... FAILED tests/test_net_consumption.py::test_with_7_x_firmware[7.6.175_total] FAILED tests/test_net_consumption.py::test_with_7_x_firmware[7.6.175_standard] FAILED tests/test_net_consumption.py::test_with_7_x_firmware[7.6.175_with_cts] FAILED tests/test_net_consumption.py::test_with_7_x_firmware[7.6.175_with_cts_3phase] FAILED tests/test_net_consumption.py::test_with_7_x_firmware[7.3.466_with_cts_3phase] FAILED tests/test_net_consumption.py::test_with_7_x_firmware[7.6.185_with_cts_and_battery_3t] FAILED tests/test_net_consumption.py::test_with_7_x_firmware[8.1.41] - TypeEr... FAILED tests/test_net_consumption.py::test_with_7_x_firmware[8.2.127_with_3cts_and_battery_split] FAILED tests/test_net_consumption.py::test_with_7_x_firmware[8.2.127_with_generator_running] FAILED tests/test_net_consumption.py::test_with_7_x_firmware[8.2.4345_with_device_data] FAILED tests/test_post_v7_endpoints.py::test_metered_noct[8.2.4264_metered_noct] FAILED tests/test_post_v7_endpoints.py::test_metered_noct[7.6.114_without_cts] FAILED tests/test_post_v7_endpoints.py::test_metered_noct[7.3.466_metered_disabled_cts] FAILED tests/test_post_v7_endpoints.py::test_multiple_inverter_sources - Type... FAILED tests/test_post_v7_endpoints.py::test_client_session_close[8.2.4264_metered_noct] FAILED tests/test_post_v7_endpoints.py::test_client_session_close[7.6.114_without_cts] FAILED tests/test_post_v7_endpoints.py::test_client_session_close[7.3.466_metered_disabled_cts] FAILED tests/test_post_v7_endpoints.py::test_early_v7_with_all_401[7.3.130_no_consumption] FAILED tests/test_pre_v7_endpoints.py::test_with_4_2_27_firmware - TypeError:... FAILED tests/test_pre_v7_endpoints.py::test_with_4_2_33_firmware_no_cons_ct FAILED tests/test_pre_v7_endpoints.py::test_with_5_0_49_firmware - TypeError:... FAILED tests/test_pre_v7_endpoints.py::test_with_3_7_0_firmware - TypeError: ... FAILED tests/test_pre_v7_endpoints.py::test_with_3_9_36_firmware_bad_auth - T... FAILED tests/test_pre_v7_endpoints.py::test_with_3_9_36_firmware_no_inverters FAILED tests/test_pre_v7_endpoints.py::test_with_3_9_36_firmware - TypeError:... FAILED tests/test_pre_v7_endpoints.py::test_with_3_9_36_firmware_with_production_401 FAILED tests/test_pre_v7_endpoints.py::test_with_3_9_36_firmware_with_production_and_production_json_401 FAILED tests/test_pre_v7_endpoints.py::test_with_3_8_10_firmware_with_meters_401 FAILED tests/test_pre_v7_endpoints.py::test_with_3_17_3_firmware - TypeError:... FAILED tests/test_pre_v7_endpoints.py::test_with_3_17_3_firmware_zero_production ======================== 166 failed, 1 passed in 12.91s ======================== E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest --no-cov --ignore="tests/test_retries.py" 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 --------------------------------------------------------------------------------

