Package: src:python-firebase-messaging Version: 0.4.4-3 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-firebase-messaging, 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_python-firebase-messaging [... snipped ...] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 512, in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 456, in match response_or_exc = await matcher.build_response( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ url, allow_redirects=allow_redirects, **kwargs ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 202, in build_response resp = self._build_response( url=url, ...<7 lines>... response_class=result.response_class, reason=result.reason) File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 171, in _build_response resp = response_class(method, url, **kwargs) TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' WARNING firebase_messaging.fcmregister:fcmregister.py:163 Error during gcm checkin post attempt 2 out of 3 Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-firebase-messaging/build/firebase_messaging/fcmregister.py", line 136, in gcm_check_in async with self._session.post( ~~~~~~~~~~~~~~~~~~^ url=GCM_CHECKIN_URL, ^^^^^^^^^^^^^^^^^^^^ ...<2 lines>... timeout=self.CLIENT_TIMEOUT, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) as resp: ^ File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 1683, in __aenter__ self._resp: _RetType_co = await self._coro ^^^^^^^^^^^^^^^^ File "<string>", line 3, in _request File "/usr/lib/python3.13/unittest/mock.py", line 2332, in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 512, in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 456, in match response_or_exc = await matcher.build_response( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ url, allow_redirects=allow_redirects, **kwargs ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 202, in build_response resp = self._build_response( url=url, ...<7 lines>... response_class=result.response_class, reason=result.reason) File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 171, in _build_response resp = response_class(method, url, **kwargs) TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' WARNING firebase_messaging.fcmregister:fcmregister.py:163 Error during gcm checkin post attempt 3 out of 3 Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-firebase-messaging/build/firebase_messaging/fcmregister.py", line 136, in gcm_check_in async with self._session.post( ~~~~~~~~~~~~~~~~~~^ url=GCM_CHECKIN_URL, ^^^^^^^^^^^^^^^^^^^^ ...<2 lines>... timeout=self.CLIENT_TIMEOUT, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) as resp: ^ File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 1683, in __aenter__ self._resp: _RetType_co = await self._coro ^^^^^^^^^^^^^^^^ File "<string>", line 3, in _request File "/usr/lib/python3.13/unittest/mock.py", line 2332, in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 512, in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 456, in match response_or_exc = await matcher.build_response( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ url, allow_redirects=allow_redirects, **kwargs ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 202, in build_response resp = self._build_response( url=url, ...<7 lines>... response_class=result.response_class, reason=result.reason) File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 171, in _build_response resp = response_class(method, url, **kwargs) TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' ERROR firebase_messaging.fcmregister:fcmregister.py:172 Unable to checkin to gcm after 3 retries _____________________________ test_heartbeat_send ______________________________ logged_in_push_client = <function logged_in_push_client.<locals>._logged_in_push_client at 0x7f878d162700> fake_mcs_endpoint = <tests.fakes.FakeMcsEndpoint object at 0x7f878d1d1650> mocker = <pytest_mock.plugin.MockerFixture object at 0x7f878d1d1c50> caplog = <_pytest.logging.LogCaptureFixture object at 0x7f878d1d1f50> async def test_heartbeat_send(logged_in_push_client, fake_mcs_endpoint, mocker, caplog): > pr: FcmPushClient = await logged_in_push_client(None, None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_fcmpushclient.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/conftest.py:79: in _logged_in_push_client await pr.checkin_or_register() firebase_messaging/fcmpushclient.py:738: in checkin_or_register self.credentials = await self.register.checkin_or_register() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ firebase_messaging/fcmregister.py:458: in checkin_or_register self.credentials = await self.register() ^^^^^^^^^^^^^^^^^^^^^ firebase_messaging/fcmregister.py:477: in register gcm_data = await self.gcm_check_in_and_register() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <firebase_messaging.fcmregister.FcmRegister object at 0x7f878d1d2350> async def gcm_check_in_and_register( self, ) -> dict[str, Any] | None: options = await self.gcm_check_in() if not options: > raise RuntimeError("Unable to register and check in to gcm") E RuntimeError: Unable to register and check in to gcm firebase_messaging/fcmregister.py:108: RuntimeError ------------------------------ Captured log call ------------------------------- WARNING firebase_messaging.fcmregister:fcmregister.py:163 Error during gcm checkin post attempt 1 out of 3 Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-firebase-messaging/build/firebase_messaging/fcmregister.py", line 136, in gcm_check_in async with self._session.post( ~~~~~~~~~~~~~~~~~~^ url=GCM_CHECKIN_URL, ^^^^^^^^^^^^^^^^^^^^ ...<2 lines>... timeout=self.CLIENT_TIMEOUT, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) as resp: ^ File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 1683, in __aenter__ self._resp: _RetType_co = await self._coro ^^^^^^^^^^^^^^^^ File "<string>", line 3, in _request File "/usr/lib/python3.13/unittest/mock.py", line 2332, in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 512, in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 456, in match response_or_exc = await matcher.build_response( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ url, allow_redirects=allow_redirects, **kwargs ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 202, in build_response resp = self._build_response( url=url, ...<7 lines>... response_class=result.response_class, reason=result.reason) File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 171, in _build_response resp = response_class(method, url, **kwargs) TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' WARNING firebase_messaging.fcmregister:fcmregister.py:163 Error during gcm checkin post attempt 2 out of 3 Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-firebase-messaging/build/firebase_messaging/fcmregister.py", line 136, in gcm_check_in async with self._session.post( ~~~~~~~~~~~~~~~~~~^ url=GCM_CHECKIN_URL, ^^^^^^^^^^^^^^^^^^^^ ...<2 lines>... timeout=self.CLIENT_TIMEOUT, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) as resp: ^ File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 1683, in __aenter__ self._resp: _RetType_co = await self._coro ^^^^^^^^^^^^^^^^ File "<string>", line 3, in _request File "/usr/lib/python3.13/unittest/mock.py", line 2332, in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 512, in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 456, in match response_or_exc = await matcher.build_response( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ url, allow_redirects=allow_redirects, **kwargs ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 202, in build_response resp = self._build_response( url=url, ...<7 lines>... response_class=result.response_class, reason=result.reason) File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 171, in _build_response resp = response_class(method, url, **kwargs) TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' WARNING firebase_messaging.fcmregister:fcmregister.py:163 Error during gcm checkin post attempt 3 out of 3 Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-firebase-messaging/build/firebase_messaging/fcmregister.py", line 136, in gcm_check_in async with self._session.post( ~~~~~~~~~~~~~~~~~~^ url=GCM_CHECKIN_URL, ^^^^^^^^^^^^^^^^^^^^ ...<2 lines>... timeout=self.CLIENT_TIMEOUT, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) as resp: ^ File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 1683, in __aenter__ self._resp: _RetType_co = await self._coro ^^^^^^^^^^^^^^^^ File "<string>", line 3, in _request File "/usr/lib/python3.13/unittest/mock.py", line 2332, in _execute_mock_call result = await effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 512, in _request_mock response = await self.match(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 456, in match response_or_exc = await matcher.build_response( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ url, allow_redirects=allow_redirects, **kwargs ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 202, in build_response resp = self._build_response( url=url, ...<7 lines>... response_class=result.response_class, reason=result.reason) File "/usr/lib/python3/dist-packages/aioresponses/core.py", line 171, in _build_response resp = response_class(method, url, **kwargs) TypeError: ClientResponse.__init__() missing 1 required keyword-only argument: 'stream_writer' ERROR firebase_messaging.fcmregister:fcmregister.py:172 Unable to checkin to gcm after 3 retriesUnclosed client session client_session: <aiohttp.client.ClientSession object at 0x7f878d125450> Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x7f878d178e10> Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x7f878d127110> =============================== warnings summary =============================== ../../../../../../usr/lib/python3/dist-packages/google/protobuf/internal/well_known_types.py:91 /usr/lib/python3/dist-packages/google/protobuf/internal/well_known_types.py:91: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). _EPOCH_DATETIME_NAIVE = datetime.datetime.utcfromtimestamp(0) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_fcmpushclient.py::test_register - RuntimeError: Unable to r... FAILED tests/test_fcmpushclient.py::test_login - RuntimeError: Unable to regi... FAILED tests/test_fcmpushclient.py::test_data_message_receive - RuntimeError:... FAILED tests/test_fcmpushclient.py::test_connection_reset - RuntimeError: Una... FAILED tests/test_fcmpushclient.py::test_terminate[1] - RuntimeError: Unable ... FAILED tests/test_fcmpushclient.py::test_terminate[2] - RuntimeError: Unable ... FAILED tests/test_fcmpushclient.py::test_terminate[3] - RuntimeError: Unable ... FAILED tests/test_fcmpushclient.py::test_terminate[6] - RuntimeError: Unable ... FAILED tests/test_fcmpushclient.py::test_heartbeat_receive - RuntimeError: Un... FAILED tests/test_fcmpushclient.py::test_heartbeat_send - RuntimeError: Unabl... =================== 10 failed, 1 passed, 1 warning in 33.32s =================== E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-firebase-messaging/build; python3.13 -m pytest tests 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:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

