Source: hypercorn Version: 0.16.0-1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240615 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules binary > dh binary --with python3,sphinxdoc --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:129: Building wheel for python3.12 with "build" > module > I: pybuild base:311: python3.12 -m build --skip-dependency-check > --no-isolation --wheel --outdir > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hypercorn > * Building wheel... > Successfully built hypercorn-0.16.0-py3-none-any.whl > I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with > "installer" module > I: pybuild plugin_pyproject:129: Building wheel for python3.11 with "build" > module > I: pybuild base:311: python3.11 -m build --skip-dependency-check > --no-isolation --wheel --outdir > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hypercorn > * Building wheel... > Successfully built hypercorn-0.16.0-py3-none-any.whl > I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.11 with > "installer" module > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:311: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hypercorn/build; python3.12 -m pytest > --ignore=tests/test_app_wrappers.py > --ignore=tests/middleware/test_dispatcher.py > ============================= test session starts > ============================== > platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hypercorn/build > configfile: pyproject.toml > testpaths: tests > plugins: hypothesis-6.103.1, cov-5.0.0, asyncio-0.20.3, trio-0.8.0 > asyncio: mode=Mode.STRICT > collected 180 items > > tests/asyncio/test_keep_alive.py .... [ > 2%] > tests/asyncio/test_lifespan.py .... [ > 4%] > tests/asyncio/test_sanity.py .... [ > 6%] > tests/asyncio/test_task_group.py .. [ > 7%] > tests/asyncio/test_tcp_server.py .. [ > 8%] > tests/middleware/test_http_to_https.py ....... [ > 12%] > tests/middleware/test_proxy_fix.py .. [ > 13%] > tests/protocol/test_h11.py ...................... [ > 26%] > tests/protocol/test_h2.py ...... [ > 29%] > tests/protocol/test_http_stream.py ..................... [ > 41%] > tests/protocol/test_ws_stream.py ....................................... [ > 62%] > ... [ > 64%] > tests/test___main__.py ................ [ > 73%] > tests/test_config.py ............. [ > 80%] > tests/test_logging.py .............. [ > 88%] > tests/test_utils.py ........... [ > 94%] > tests/trio/test_keep_alive.py .... [ > 96%] > tests/trio/test_lifespan.py .F [ > 97%] > tests/trio/test_sanity.py .... > [100%] > > =================================== FAILURES > =================================== > _____________________________ test_startup_failure > _____________________________ > + Exception Group Traceback (most recent call last): > | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in > from_call > | result: Optional[TResult] = func() > | ^^^^^^ > | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in > <lambda> > | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in > __call__ > | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > | > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in > _hookexec > | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in > _multicall > | return outcome.get_result() > | ^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in > get_result > | raise exc.with_traceback(exc.__traceback__) > | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in > _multicall > | teardown.throw(outcome._exception) > | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line > 87, in pytest_runtest_call > | yield from thread_exception_runtest_hook() > | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line > 63, in thread_exception_runtest_hook > | yield > | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in > _multicall > | teardown.throw(outcome._exception) > | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", > line 90, in pytest_runtest_call > | yield from unraisable_exception_runtest_hook() > | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", > line 65, in unraisable_exception_runtest_hook > | yield > | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in > _multicall > | teardown.throw(outcome._exception) > | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in > pytest_runtest_call > | yield from self._runtest_for(item, "call") > | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in > _runtest_for > | yield > | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in > _multicall > | teardown.throw(outcome._exception) > | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in > pytest_runtest_call > | return (yield) > | ^^^^^ > | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in > _multicall > | teardown.throw(outcome._exception) > | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in > pytest_runtest_call > | return (yield) > | ^^^^^ > | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in > _multicall > | res = hook_impl.function(*args) > | ^^^^^^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in > pytest_runtest_call > | raise e > | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in > pytest_runtest_call > | item.runtest() > | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in > runtest > | self.ihook.pytest_pyfunc_call(pyfuncitem=self) > | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in > __call__ > | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > | > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in > _hookexec > | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in > _multicall > | return outcome.get_result() > | ^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in > get_result > | raise exc.with_traceback(exc.__traceback__) > | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in > _multicall > | res = hook_impl.function(*args) > | ^^^^^^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 162, in > pytest_pyfunc_call > | result = testfunction(**testargs) > | ^^^^^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, > in wrapper > | return run(partial(fn, **kwargs), clock=clock, > instruments=instruments) > | > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in > run > | raise runner.main_task_outcome.error > | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, > in _bootstrap_fixtures_and_run_test > | raise test_ctx.error_list[0] > | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, > in _fixture_manager > | async with trio.open_nursery() as nursery_fixture: > | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in > __aexit__ > | raise combined_error_from_nursery > | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) > +-+---------------- 1 ---------------- > | Exception Group Traceback (most recent call last): > | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line > 195, in _fixture_manager > | yield nursery_fixture > | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line > 250, in run > | await self._func(**resolved_kwargs) > | File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hypercorn/build/tests/trio/test_lifespan.py", > line 28, in test_startup_failure > | async with trio.open_nursery() as lifespan_nursery: > | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, > in __aexit__ > | raise combined_error_from_nursery > | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) > +-+---------------- 1 ---------------- > | Traceback (most recent call last): > | File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hypercorn/build/hypercorn/trio/lifespan.py", > line 34, in handle_lifespan > | await self.app( > | File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hypercorn/build/hypercorn/app_wrappers.py", > line 34, in __call__ > | await self.app(scope, receive, send) > | File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hypercorn/build/tests/helpers.py", > line 80, in lifespan_failure > | await send({"type": "lifespan.startup.failed", "message": > "Failure"}) > | File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hypercorn/build/hypercorn/trio/lifespan.py", > line 93, in asgi_send > | raise LifespanFailureError("startup", message.get("message", "")) > | hypercorn.utils.LifespanFailureError: Lifespan failure in startup. > 'Failure' > +------------------------------------ > =========================== short test summary info > ============================ > FAILED tests/trio/test_lifespan.py::test_startup_failure - ExceptionGroup: > Ex... > ======================== 1 failed, 179 passed in 1.40s > ========================= > E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_hypercorn/build; python3.12 -m pytest > --ignore=tests/test_app_wrappers.py > --ignore=tests/middleware/test_dispatcher.py > I: pybuild base:311: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hypercorn/build; python3.11 -m pytest > --ignore=tests/test_app_wrappers.py > --ignore=tests/middleware/test_dispatcher.py > ============================= test session starts > ============================== > platform linux -- Python 3.11.9, pytest-8.2.2, pluggy-1.5.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hypercorn/build > configfile: pyproject.toml > testpaths: tests > plugins: hypothesis-6.103.1, cov-5.0.0, asyncio-0.20.3, trio-0.8.0 > asyncio: mode=Mode.STRICT > collected 180 items > > tests/asyncio/test_keep_alive.py .... [ > 2%] > tests/asyncio/test_lifespan.py .... [ > 4%] > tests/asyncio/test_sanity.py .... [ > 6%] > tests/asyncio/test_task_group.py .. [ > 7%] > tests/asyncio/test_tcp_server.py .. [ > 8%] > tests/middleware/test_http_to_https.py ....... [ > 12%] > tests/middleware/test_proxy_fix.py .. [ > 13%] > tests/protocol/test_h11.py ...................... [ > 26%] > tests/protocol/test_h2.py ...... [ > 29%] > tests/protocol/test_http_stream.py ..................... [ > 41%] > tests/protocol/test_ws_stream.py ....................................... [ > 62%] > ... [ > 64%] > tests/test___main__.py ................ [ > 73%] > tests/test_config.py ............. [ > 80%] > tests/test_logging.py .............. [ > 88%] > tests/test_utils.py ........... [ > 94%] > tests/trio/test_keep_alive.py .... [ > 96%] > tests/trio/test_lifespan.py .F [ > 97%] > tests/trio/test_sanity.py .... > [100%] > > =================================== FAILURES > =================================== > _____________________________ test_startup_failure > _____________________________ > + Exception Group Traceback (most recent call last): > | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 341, in > from_call > | result: Optional[TResult] = func() > | ^^^^^^ > | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 241, in > <lambda> > | lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in > __call__ > | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > | > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in > _hookexec > | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in > _multicall > | return outcome.get_result() > | ^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in > get_result > | raise exc.with_traceback(exc.__traceback__) > | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in > _multicall > | teardown.throw(outcome._exception) > | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line > 87, in pytest_runtest_call > | yield from thread_exception_runtest_hook() > | File "/usr/lib/python3/dist-packages/_pytest/threadexception.py", line > 63, in thread_exception_runtest_hook > | yield > | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in > _multicall > | teardown.throw(outcome._exception) > | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", > line 90, in pytest_runtest_call > | yield from unraisable_exception_runtest_hook() > | File "/usr/lib/python3/dist-packages/_pytest/unraisableexception.py", > line 65, in unraisable_exception_runtest_hook > | yield > | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in > _multicall > | teardown.throw(outcome._exception) > | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 850, in > pytest_runtest_call > | yield from self._runtest_for(item, "call") > | File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 833, in > _runtest_for > | yield > | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in > _multicall > | teardown.throw(outcome._exception) > | File "/usr/lib/python3/dist-packages/_pytest/capture.py", line 878, in > pytest_runtest_call > | return (yield) > | ^^^^^ > | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 167, in > _multicall > | teardown.throw(outcome._exception) > | File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 257, in > pytest_runtest_call > | return (yield) > | ^^^^^ > | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in > _multicall > | res = hook_impl.function(*args) > | ^^^^^^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 183, in > pytest_runtest_call > | raise e > | File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 173, in > pytest_runtest_call > | item.runtest() > | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1632, in > runtest > | self.ihook.pytest_pyfunc_call(pyfuncitem=self) > | File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in > __call__ > | return self._hookexec(self.name, self._hookimpls.copy(), kwargs, > firstresult) > | > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in > _hookexec > | return self._inner_hookexec(hook_name, methods, kwargs, firstresult) > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 182, in > _multicall > | return outcome.get_result() > | ^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 100, in > get_result > | raise exc.with_traceback(exc.__traceback__) > | File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in > _multicall > | res = hook_impl.function(*args) > | ^^^^^^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/_pytest/python.py", line 162, in > pytest_pyfunc_call > | result = testfunction(**testargs) > | ^^^^^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 348, > in wrapper > | return run(partial(fn, **kwargs), clock=clock, > instruments=instruments) > | > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 2288, in > run > | raise runner.main_task_outcome.error > | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 426, > in _bootstrap_fixtures_and_run_test > | raise test_ctx.error_list[0] > | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 193, > in _fixture_manager > | async with trio.open_nursery() as nursery_fixture: > | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, in > __aexit__ > | raise combined_error_from_nursery > | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) > +-+---------------- 1 ---------------- > | Exception Group Traceback (most recent call last): > | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line > 195, in _fixture_manager > | yield nursery_fixture > | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line > 250, in run > | await self._func(**resolved_kwargs) > | File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hypercorn/build/tests/trio/test_lifespan.py", > line 28, in test_startup_failure > | async with trio.open_nursery() as lifespan_nursery: > | File "/usr/lib/python3/dist-packages/trio/_core/_run.py", line 954, > in __aexit__ > | raise combined_error_from_nursery > | ExceptionGroup: Exceptions from Trio nursery (1 sub-exception) > +-+---------------- 1 ---------------- > | Traceback (most recent call last): > | File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hypercorn/build/hypercorn/trio/lifespan.py", > line 34, in handle_lifespan > | await self.app( > | File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hypercorn/build/hypercorn/app_wrappers.py", > line 34, in __call__ > | await self.app(scope, receive, send) > | File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hypercorn/build/tests/helpers.py", > line 80, in lifespan_failure > | await send({"type": "lifespan.startup.failed", "message": > "Failure"}) > | File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hypercorn/build/hypercorn/trio/lifespan.py", > line 93, in asgi_send > | raise LifespanFailureError("startup", message.get("message", "")) > | hypercorn.utils.LifespanFailureError: Lifespan failure in startup. > 'Failure' > +------------------------------------ > =========================== short test summary info > ============================ > FAILED tests/trio/test_lifespan.py::test_startup_failure - ExceptionGroup: > Ex... > ======================== 1 failed, 179 passed in 1.75s > ========================= > E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_hypercorn/build; python3.11 -m pytest > --ignore=tests/test_app_wrappers.py > --ignore=tests/middleware/test_dispatcher.py > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 > 3.11" returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2024/06/15/hypercorn_0.16.0-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.