Package: src:litestar Version: 2.16.0-1 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build. Below you will find how the build ends (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202509/ 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 could not 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:litestar, 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 debian/rules override_dh_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_clean rm -rf .mypy_cache make[1]: Leaving directory '/<<PKGBUILDDIR>>' 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 [... snipped ...] | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall | teardown.throw(exception) | ~~~~~~~~~~~~~~^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall | teardown.throw(exception) | ~~~~~~~~~~~~~~^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper | return result.get_result() | ~~~~~~~~~~~~~~~~~^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 103, in get_result | raise exc.with_traceback(tb) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper | res = yield | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall | teardown.throw(exception) | ~~~~~~~~~~~~~~^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper | return result.get_result() | ~~~~~~~~~~~~~~~~~^^ | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 103, in get_result | raise exc.with_traceback(tb) | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper | res = yield | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall | teardown.throw(exception) | ~~~~~~~~~~~~~~^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 263, in pytest_runtest_call | return (yield) | ^^^^^ | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 121, in _multicall | res = hook_impl.function(*args) | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 158, in pytest_runtest_call | collect_unraisable(item.config) | ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 81, in collect_unraisable | raise ExceptionGroup("multiple unraisable exception warnings", errors) | ExceptionGroup: multiple unraisable exception warnings (3 sub-exceptions) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/usr/lib/python3.13/asyncio/base_events.py", line 764, in __del__ | _warn(f"unclosed event loop {self!r}", ResourceWarning, source=self) | ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False> | | The above exception was the direct cause of the following exception: | | Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 67, in collect_unraisable | warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) | ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function BaseEventLoop.__del__ at 0x7fcb855c3ec0> | Enable tracemalloc to get traceback where the object was allocated. | See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. +---------------- 2 ---------------- | Traceback (most recent call last): | File "/usr/lib/python3.13/asyncio/base_events.py", line 764, in __del__ | _warn(f"unclosed event loop {self!r}", ResourceWarning, source=self) | ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False> | | The above exception was the direct cause of the following exception: | | Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 67, in collect_unraisable | warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) | ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function BaseEventLoop.__del__ at 0x7fcb855c3ec0> | Enable tracemalloc to get traceback where the object was allocated. | See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. +---------------- 3 ---------------- | Traceback (most recent call last): | File "/usr/lib/python3.13/asyncio/base_events.py", line 764, in __del__ | _warn(f"unclosed event loop {self!r}", ResourceWarning, source=self) | ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False> | | The above exception was the direct cause of the following exception: | | Traceback (most recent call last): | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", line 67, in collect_unraisable | warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) | ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function BaseEventLoop.__del__ at 0x7fcb855c3ec0> | Enable tracemalloc to get traceback where the object was allocated. | See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. +------------------------------------ _______________________ test_connection_base_properties ________________________ self = <_UnixSelectorEventLoop running=False closed=False debug=False> _warn = <built-in function warn> def __del__(self, _warn=warnings.warn): if not self.is_closed(): > _warn(f"unclosed event loop {self!r}", ResourceWarning, source=self) E ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False> /usr/lib/python3.13/asyncio/base_events.py:764: ResourceWarning The above exception was the direct cause of the following exception: > lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ ) E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function BaseEventLoop.__del__ at 0x7fcb855c3ec0> E Enable tracemalloc to get traceback where the object was allocated. E See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. /usr/lib/python3/dist-packages/flaky/flaky_pytest_plugin.py:146: PytestUnraisableExceptionWarning __________________ test_current_url_abs_path_set_other_domain __________________ self = <_UnixSelectorEventLoop running=False closed=False debug=False> _warn = <built-in function warn> def __del__(self, _warn=warnings.warn): if not self.is_closed(): > _warn(f"unclosed event loop {self!r}", ResourceWarning, source=self) E ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False> /usr/lib/python3.13/asyncio/base_events.py:764: ResourceWarning The above exception was the direct cause of the following exception: > lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ ) E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function BaseEventLoop.__del__ at 0x7fcb855c3ec0> E Enable tracemalloc to get traceback where the object was allocated. E See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. /usr/lib/python3/dist-packages/flaky/flaky_pytest_plugin.py:146: PytestUnraisableExceptionWarning ----------------------------- Captured stderr call ----------------------------- INFO - 2025-09-04 20:44:22,208 - httpx - _client - HTTP Request: GET http://testserver.local/ "HTTP/1.1 200 OK" ------------------------------ Captured log call ------------------------------- INFO httpx:_client.py:1025 HTTP Request: GET http://testserver.local/ "HTTP/1.1 200 OK" =============================== warnings summary =============================== tests/unit/test_concurrency.py::test_trio_uses_limiter /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=22, family=1, type=1, proto=0> Traceback (most recent call last): File "/usr/lib/python3.13/unittest/mock.py", line 2247, in __init__ def __init__(self, name, parent): ResourceWarning: unclosed <socket.socket fd=22, family=1, type=1, proto=0> Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) tests/unit/test_concurrency.py::test_trio_uses_limiter /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=21, family=1, type=1, proto=0> Traceback (most recent call last): File "/usr/lib/python3.13/unittest/mock.py", line 2247, in __init__ def __init__(self, name, parent): ResourceWarning: unclosed <socket.socket fd=21, family=1, type=1, proto=0> Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) tests/unit/test_concurrency.py::test_trio_uses_limiter /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=19, family=1, type=1, proto=0> Traceback (most recent call last): File "/usr/lib/python3.13/unittest/mock.py", line 2247, in __init__ def __init__(self, name, parent): ResourceWarning: unclosed <socket.socket fd=19, family=1, type=1, proto=0> Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) tests/unit/test_concurrency.py::test_trio_uses_limiter /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=18, family=1, type=1, proto=0> Traceback (most recent call last): File "/usr/lib/python3.13/unittest/mock.py", line 2247, in __init__ def __init__(self, name, parent): ResourceWarning: unclosed <socket.socket fd=18, family=1, type=1, proto=0> Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) tests/unit/test_concurrency.py::test_trio_uses_limiter /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=16, family=1, type=1, proto=0> Traceback (most recent call last): File "/usr/lib/python3.13/unittest/mock.py", line 2247, in __init__ def __init__(self, name, parent): ResourceWarning: unclosed <socket.socket fd=16, family=1, type=1, proto=0> Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) tests/unit/test_concurrency.py::test_trio_uses_limiter /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=15, family=1, type=1, proto=0> Traceback (most recent call last): File "/usr/lib/python3.13/unittest/mock.py", line 2247, in __init__ def __init__(self, name, parent): ResourceWarning: unclosed <socket.socket fd=15, family=1, type=1, proto=0> Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) tests/unit/test_connection/test_base.py::test_connection_base_properties /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=18, family=1, type=1, proto=0> Traceback (most recent call last): File "/usr/lib/python3.13/typing.py", line 463, in _eval_type def _eval_type(t, globalns, localns, type_params=_sentinel, *, recursive_guard=frozenset()): ResourceWarning: unclosed <socket.socket fd=18, family=1, type=1, proto=0> Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) tests/unit/test_connection/test_base.py::test_connection_base_properties /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=16, family=1, type=1, proto=0> Traceback (most recent call last): File "/usr/lib/python3.13/typing.py", line 463, in _eval_type def _eval_type(t, globalns, localns, type_params=_sentinel, *, recursive_guard=frozenset()): ResourceWarning: unclosed <socket.socket fd=16, family=1, type=1, proto=0> Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) tests/unit/test_contrib/test_htmx/test_htmx_request.py::test_current_url_abs_path_set_other_domain /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=13, family=1, type=1, proto=0> Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_litestar/build/litestar/_asgi/routing_trie/mapping.py", line 116, in add_route_to_trie current_node.child_keys = set(current_node.children.keys()) ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ResourceWarning: unclosed <socket.socket fd=13, family=1, type=1, proto=0> Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) tests/unit/test_contrib/test_htmx/test_htmx_request.py::test_current_url_abs_path_set_other_domain /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:67: PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=12, family=1, type=1, proto=0> Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_litestar/build/litestar/_asgi/routing_trie/mapping.py", line 116, in add_route_to_trie current_node.child_keys = set(current_node.children.keys()) ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ResourceWarning: unclosed <socket.socket fd=12, family=1, type=1, proto=0> Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/unit/test_concurrency.py::test_trio_uses_limiter - ExceptionGrou... FAILED tests/unit/test_connection/test_base.py::test_connection_base_properties FAILED tests/unit/test_contrib/test_htmx/test_htmx_request.py::test_current_url_abs_path_set_other_domain = 3 failed, 4672 passed, 3 skipped, 23 deselected, 1 xfailed, 10 warnings in 68.73s (0:01:08) = E: pybuild pybuild:389: test: plugin pyproject failed with: [too-long-redacted] rtal and not test_with_stores ' dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13 make: *** [debian/rules:33: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

