Source: aiohttp-wsgi
Version: 0.8.2-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20211220 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules build
> dh build --with python3,sphinxdoc --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:237: python3.10 setup.py config
> running config
> I: pybuild base:237: python3.9 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:237: /usr/bin/python3.10 setup.py build
> running build
> running build_py
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_aiohttp-wsgi/build/aiohttp_wsgi
> copying aiohttp_wsgi/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_aiohttp-wsgi/build/aiohttp_wsgi
> copying aiohttp_wsgi/__main__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_aiohttp-wsgi/build/aiohttp_wsgi
> copying aiohttp_wsgi/wsgi.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_aiohttp-wsgi/build/aiohttp_wsgi
> copying aiohttp_wsgi/utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_aiohttp-wsgi/build/aiohttp_wsgi
> I: pybuild base:237: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aiohttp-wsgi/build/aiohttp_wsgi
> copying aiohttp_wsgi/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aiohttp-wsgi/build/aiohttp_wsgi
> copying aiohttp_wsgi/__main__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aiohttp-wsgi/build/aiohttp_wsgi
> copying aiohttp_wsgi/wsgi.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aiohttp-wsgi/build/aiohttp_wsgi
> copying aiohttp_wsgi/utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aiohttp-wsgi/build/aiohttp_wsgi
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:237: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_aiohttp-wsgi/build; python3.10 -m
> unittest discover -v
> testEnviron (tests.test_environ.EnvironTest) ...
> /usr/lib/python3/dist-packages/aiohttp/connector.py:771: DeprecationWarning:
> The object should be created within an async function
> super().__init__(
> /usr/lib/python3/dist-packages/aiohttp/connector.py:782: DeprecationWarning:
> The object should be created within an async function
> resolver = DefaultResolver(loop=self._loop)
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_aiohttp-wsgi/build/tests/base.py:67:
> DeprecationWarning: The object should be created within an async function
> session = aiohttp.ClientSession(connector=connector, loop=loop)
> /usr/lib/python3/dist-packages/aiohttp/cookiejar.py:67: DeprecationWarning:
> The object should be created within an async function
> super().__init__(loop=loop)
> Error handling request
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/aiohttp/web_protocol.py", line 435, in
> _handle_request
> resp = await request_handler(request)
> File "/usr/lib/python3/dist-packages/aiohttp/web_app.py", line 504, in
> _handle
> resp = await handler(request)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_aiohttp-wsgi/build/aiohttp_wsgi/wsgi.py",
> line 262, in handle_request
> status, reason, headers, body = await self._loop.run_in_executor(
> File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
> result = self.fn(*self.args, **self.kwargs)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_aiohttp-wsgi/build/aiohttp_wsgi/wsgi.py",
> line 127, in _run_application
> body_iterable = application(environ, start_response)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_aiohttp-wsgi/build/tests/test_environ.py",
> line 11, in do_environ_application
> func(environ)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_aiohttp-wsgi/build/tests/test_environ.py",
> line 21, in assert_environ
> assert environ["CONTENT_TYPE"] == ""
> AssertionError
> /usr/lib/python3/dist-packages/aiohttp/connector.py:91: DeprecationWarning:
> Connector.close() is a coroutine, please use await connector.close()
> warnings.warn(
> FAIL
> testEnvironPost (tests.test_environ.EnvironTest) ... ok
> testEnvironRootSubdir (tests.test_environ.EnvironTest) ... ok
> testEnvironRootSubdirSlash (tests.test_environ.EnvironTest) ... ok
> testEnvironRootSubdirTrailing (tests.test_environ.EnvironTest) ... ok
> testEnvironSubdir (tests.test_environ.EnvironTest) ... ok
> testEnvironUnixSocket (tests.test_environ.EnvironTest) ...
> /usr/lib/python3/dist-packages/aiohttp/connector.py:1359: DeprecationWarning:
> The object should be created within an async function
> super().__init__(
> ok
> testEnvironUrlScheme (tests.test_environ.EnvironTest) ... ok
> testQuotedPathInfo (tests.test_environ.EnvironTest) ... ok
> testErrorHandling (tests.test_errors.ErrorsTest) ... ok
> testInbufOverflow (tests.test_inbuf_overflow.InbufOverflowTest) ... ok
> testInbufOverflowStreaming (tests.test_inbuf_overflow.InbufOverflowTest) ...
> ok
> testMaxRequestBodySize
> (tests.test_max_request_body_size.MaxRequestBodySizeTest) ... ok
> testMaxRequestBodySizeStreaming
> (tests.test_max_request_body_size.MaxRequestBodySizeTest) ... ok
> testStartResponse (tests.test_start_response.StartResponseTest) ... ok
> testStreamingResponse (tests.test_start_response.StartResponseTest) ... ok
> testStreamingResponseWrite (tests.test_start_response.StartResponseTest) ...
> ok
> testStaticHit (tests.test_static.StaticTest) ... ok
> testStaticHitCors (tests.test_static.StaticTest) ... ok
> testStaticHitMissing (tests.test_static.StaticTest) ... ok
> testStaticMiss (tests.test_static.StaticTest) ... ok
> testValidWsgi (tests.test_wsgi.EnvironTest) ... ok
>
> ======================================================================
> FAIL: testEnviron (tests.test_environ.EnvironTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_aiohttp-wsgi/build/tests/test_environ.py",
> line 97, in testEnviron
> client.assert_response(headers={
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_aiohttp-wsgi/build/tests/base.py",
> line 34, in assert_response
> self._test_case.assertEqual(response.status, 200)
> AssertionError: 500 != 200
>
> ----------------------------------------------------------------------
> Ran 22 tests in 0.048s
>
> FAILED (failures=1)
> E: pybuild pybuild:355: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_aiohttp-wsgi/build; python3.10 -m
> unittest discover -v
> I: pybuild base:237: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aiohttp-wsgi/build; python3.9 -m
> unittest discover -v
> testEnviron (tests.test_environ.EnvironTest) ...
> /usr/lib/python3/dist-packages/aiohttp/connector.py:771: DeprecationWarning:
> The object should be created within an async function
> super().__init__(
> /usr/lib/python3/dist-packages/aiohttp/connector.py:782: DeprecationWarning:
> The object should be created within an async function
> resolver = DefaultResolver(loop=self._loop)
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aiohttp-wsgi/build/tests/base.py:67:
> DeprecationWarning: The object should be created within an async function
> session = aiohttp.ClientSession(connector=connector, loop=loop)
> /usr/lib/python3/dist-packages/aiohttp/cookiejar.py:67: DeprecationWarning:
> The object should be created within an async function
> super().__init__(loop=loop)
> Error handling request
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/aiohttp/web_protocol.py", line 435, in
> _handle_request
> resp = await request_handler(request)
> File "/usr/lib/python3/dist-packages/aiohttp/web_app.py", line 504, in
> _handle
> resp = await handler(request)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aiohttp-wsgi/build/aiohttp_wsgi/wsgi.py",
> line 262, in handle_request
> status, reason, headers, body = await self._loop.run_in_executor(
> File "/usr/lib/python3.9/concurrent/futures/thread.py", line 58, in run
> result = self.fn(*self.args, **self.kwargs)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aiohttp-wsgi/build/aiohttp_wsgi/wsgi.py",
> line 127, in _run_application
> body_iterable = application(environ, start_response)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aiohttp-wsgi/build/tests/test_environ.py",
> line 11, in do_environ_application
> func(environ)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aiohttp-wsgi/build/tests/test_environ.py",
> line 21, in assert_environ
> assert environ["CONTENT_TYPE"] == ""
> AssertionError
> /usr/lib/python3/dist-packages/aiohttp/connector.py:91: DeprecationWarning:
> Connector.close() is a coroutine, please use await connector.close()
> warnings.warn(
> FAIL
> testEnvironPost (tests.test_environ.EnvironTest) ... ok
> testEnvironRootSubdir (tests.test_environ.EnvironTest) ... ok
> testEnvironRootSubdirSlash (tests.test_environ.EnvironTest) ... ok
> testEnvironRootSubdirTrailing (tests.test_environ.EnvironTest) ... ok
> testEnvironSubdir (tests.test_environ.EnvironTest) ... ok
> testEnvironUnixSocket (tests.test_environ.EnvironTest) ...
> /usr/lib/python3/dist-packages/aiohttp/connector.py:1359: DeprecationWarning:
> The object should be created within an async function
> super().__init__(
> ok
> testEnvironUrlScheme (tests.test_environ.EnvironTest) ... ok
> testQuotedPathInfo (tests.test_environ.EnvironTest) ... ok
> testErrorHandling (tests.test_errors.ErrorsTest) ... ok
> testInbufOverflow (tests.test_inbuf_overflow.InbufOverflowTest) ... ok
> testInbufOverflowStreaming (tests.test_inbuf_overflow.InbufOverflowTest) ...
> ok
> testMaxRequestBodySize
> (tests.test_max_request_body_size.MaxRequestBodySizeTest) ... ok
> testMaxRequestBodySizeStreaming
> (tests.test_max_request_body_size.MaxRequestBodySizeTest) ... ok
> testStartResponse (tests.test_start_response.StartResponseTest) ... ok
> testStreamingResponse (tests.test_start_response.StartResponseTest) ... ok
> testStreamingResponseWrite (tests.test_start_response.StartResponseTest) ...
> ok
> testStaticHit (tests.test_static.StaticTest) ... ok
> testStaticHitCors (tests.test_static.StaticTest) ... ok
> testStaticHitMissing (tests.test_static.StaticTest) ... ok
> testStaticMiss (tests.test_static.StaticTest) ... ok
> testValidWsgi (tests.test_wsgi.EnvironTest) ... ok
>
> ======================================================================
> FAIL: testEnviron (tests.test_environ.EnvironTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aiohttp-wsgi/build/tests/test_environ.py",
> line 97, in testEnviron
> client.assert_response(headers={
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aiohttp-wsgi/build/tests/base.py",
> line 34, in assert_response
> self._test_case.assertEqual(response.status, 200)
> AssertionError: 500 != 200
>
> ----------------------------------------------------------------------
> Ran 22 tests in 0.050s
>
> FAILED (failures=1)
> E: pybuild pybuild:355: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_aiohttp-wsgi/build; python3.9 -m
> unittest discover -v
> dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.9" returned
> exit code 13
The full build log is available from:
http://qa-logs.debian.net/2021/12/20/aiohttp-wsgi_0.8.2-3_unstable.log
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 marking 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.