Source: python-molotov Version: 1.6-2 Severity: serious Tags: buster sid User: debian...@lists.debian.org Usertags: qa-ftbfs-20190315 qa-ftbfs Justification: FTBFS in buster on amd64
Hi, During a rebuild of all packages in buster (in a buster chroot, not a sid chroot), your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > PYBUILD_SYSTEM=custom PYTHONPATH=. dh_auto_test > I: pybuild base:217: python3.7 -m pytest > ============================= test session starts > ============================== > platform linux -- Python 3.7.2+, pytest-3.10.1, py-1.7.0, pluggy-0.8.0 > rootdir: /<<PKGBUILDDIR>>, inifile: > collected 86 items > > molotov/tests/test_api.py ....... [ > 8%] > molotov/tests/test_fmwk.py .................. [ > 29%] > molotov/tests/test_listeners.py .. [ > 31%] > molotov/tests/test_quickstart.py ... [ > 34%] > molotov/tests/test_run.py .............................s. [ > 70%] > molotov/tests/test_session.py F..FF..FF.. [ > 83%] > molotov/tests/test_sharedconsole.py .. [ > 86%] > molotov/tests/test_sharedcounter.py .... [ > 90%] > molotov/tests/test_slave.py sss [ > 94%] > molotov/tests/test_util.py ..... > [100%] > > =================================== FAILURES > =================================== > __________________ TestLoggedClientSession.test_add_listener > ___________________ > > self = <molotov.tests.test_session.TestLoggedClientSession > testMethod=test_add_listener> > loop = <_UnixSelectorEventLoop running=False closed=True debug=True> > console = <molotov.sharedconsole.SharedConsole object at 0x7fa4528024a8> > results = {'WORKER': <SharedCounter 0>, 'REACHED': <SharedCounter 0>, > 'RATIO': <SharedCounter 0>, 'OK': <SharedCounter 0>, 'FAILED': <SharedCounter > 0>, 'MINUTE_OK': <SharedCounter 0>, 'MINUTE_FAILED': <SharedCounter 0>} > > @async_test > async def test_add_listener(self, loop, console, results): > class MyListener(BaseListener): > def __init__(self): > self.responses = [] > > def on_response_received(self, **options): > self.responses.append(options['response']) > > lis = MyListener() > async with self._get_session(loop, console, > verbose=2) as session: > session.eventer.add_listener(lis) > request = Request() > binary_body = b'' > > response = Response(body=binary_body) > > molotov/tests/test_session.py:32: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > method = 'GET', status = 200, body = b'' > > def Response(method='GET', status=200, body=b'***'): > if util.IS_AIOHTTP2: > response = LoggedClientResponse(method, URL('/')) > else: > > response = LoggedClientResponse(method, URL('/'), **_respkw()) > E TypeError: __init__() got an unexpected keyword argument > 'auto_decompress' > > molotov/tests/support.py:155: TypeError > _________________ TestLoggedClientSession.test_empty_response > __________________ > > self = <molotov.tests.test_session.TestLoggedClientSession > testMethod=test_empty_response> > loop = <_UnixSelectorEventLoop running=False closed=True debug=True> > console = <molotov.sharedconsole.SharedConsole object at 0x7fa452a9b630> > results = {'WORKER': <SharedCounter 0>, 'REACHED': <SharedCounter 0>, > 'RATIO': <SharedCounter 0>, 'OK': <SharedCounter 0>, 'FAILED': <SharedCounter > 0>, 'MINUTE_OK': <SharedCounter 0>, 'MINUTE_FAILED': <SharedCounter 0>} > > @async_test > async def test_empty_response(self, loop, console, results): > async with self._get_session(loop, console, > verbose=2) as session: > request = Request() > binary_body = b'' > > response = Response(body=binary_body) > > molotov/tests/test_session.py:46: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > method = 'GET', status = 200, body = b'' > > def Response(method='GET', status=200, body=b'***'): > if util.IS_AIOHTTP2: > response = LoggedClientResponse(method, URL('/')) > else: > > response = LoggedClientResponse(method, URL('/'), **_respkw()) > E TypeError: __init__() got an unexpected keyword argument > 'auto_decompress' > > molotov/tests/support.py:155: TypeError > ____________________ TestLoggedClientSession.test_encoding > _____________________ > > self = <molotov.tests.test_session.TestLoggedClientSession > testMethod=test_encoding> > loop = <_UnixSelectorEventLoop running=False closed=True debug=True> > console = <molotov.sharedconsole.SharedConsole object at 0x7fa45546f470> > results = {'WORKER': <SharedCounter 0>, 'REACHED': <SharedCounter 0>, > 'RATIO': <SharedCounter 0>, 'OK': <SharedCounter 0>, 'FAILED': <SharedCounter > 0>, 'MINUTE_OK': <SharedCounter 0>, 'MINUTE_FAILED': <SharedCounter 0>} > > @async_test > async def test_encoding(self, loop, console, results): > async with self._get_session(loop, console, > verbose=2) as session: > request = Request() > binary_body = b'MZ\x90\x00\x03\x00\x00\x00\x04\x00' > > response = Response(body=binary_body) > > molotov/tests/test_session.py:59: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > method = 'GET', status = 200, body = b'MZ\x90\x00\x03\x00\x00\x00\x04\x00' > > def Response(method='GET', status=200, body=b'***'): > if util.IS_AIOHTTP2: > response = LoggedClientResponse(method, URL('/')) > else: > > response = LoggedClientResponse(method, URL('/'), **_respkw()) > E TypeError: __init__() got an unexpected keyword argument > 'auto_decompress' > > molotov/tests/support.py:155: TypeError > ________________ TestLoggedClientSession.test_gzipped_response > _________________ > > self = <molotov.tests.test_session.TestLoggedClientSession > testMethod=test_gzipped_response> > loop = <_UnixSelectorEventLoop running=False closed=True debug=True> > console = <molotov.sharedconsole.SharedConsole object at 0x7fa4528237f0> > results = {'WORKER': <SharedCounter 0>, 'REACHED': <SharedCounter 0>, > 'RATIO': <SharedCounter 0>, 'OK': <SharedCounter 0>, 'FAILED': <SharedCounter > 0>, 'MINUTE_OK': <SharedCounter 0>, 'MINUTE_FAILED': <SharedCounter 0>} > > @async_test > async def test_gzipped_response(self, loop, console, results): > async with self._get_session(loop, console, > verbose=2) as session: > request = Request() > binary_body = gzip.compress(b'some gzipped data') > > response = Response(body=binary_body) > > molotov/tests/test_session.py:140: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > method = 'GET', status = 200 > body = > b'\x1f\x8b\x08\x00\x80\x81\x8c\\\x02\xff+\xce\xcfMUH\xaf\xca,(HMQHI,I\x04\x00\xd3\xcc\x81z\x11\x00\x00\x00' > > def Response(method='GET', status=200, body=b'***'): > if util.IS_AIOHTTP2: > response = LoggedClientResponse(method, URL('/')) > else: > > response = LoggedClientResponse(method, URL('/'), **_respkw()) > E TypeError: __init__() got an unexpected keyword argument > 'auto_decompress' > > molotov/tests/support.py:155: TypeError > ___________________ TestLoggedClientSession.test_not_verbose > ___________________ > > self = <molotov.tests.test_session.TestLoggedClientSession > testMethod=test_not_verbose> > loop = <_UnixSelectorEventLoop running=False closed=True debug=True> > console = <molotov.sharedconsole.SharedConsole object at 0x7fa4520ec438> > results = {'WORKER': <SharedCounter 0>, 'REACHED': <SharedCounter 0>, > 'RATIO': <SharedCounter 0>, 'OK': <SharedCounter 0>, 'FAILED': <SharedCounter > 0>, 'MINUTE_OK': <SharedCounter 0>, 'MINUTE_FAILED': <SharedCounter 0>} > > @async_test > async def test_not_verbose(self, loop, console, results): > async with self._get_session(loop, console, > verbose=1) as session: > req = ClientRequest('GET', URL('http://example.com')) > await session.send_event('sending_request', request=req) > > > response = Response(body='') > > molotov/tests/test_session.py:86: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > method = 'GET', status = 200, body = '' > > def Response(method='GET', status=200, body=b'***'): > if util.IS_AIOHTTP2: > response = LoggedClientResponse(method, URL('/')) > else: > > response = LoggedClientResponse(method, URL('/'), **_respkw()) > E TypeError: __init__() got an unexpected keyword argument > 'auto_decompress' > > molotov/tests/support.py:155: TypeError > =============================== warnings summary > =============================== > molotov/session.py:43 > /<<PKGBUILDDIR>>/molotov/session.py:43: DeprecationWarning: Inheritance > class LoggedClientSession from ClientSession is discouraged > class LoggedClientSession(ClientSession): > > molotov/tests/test_sharedconsole.py:17 > /<<PKGBUILDDIR>>/molotov/tests/test_sharedconsole.py:17: > DeprecationWarning: invalid escape sequence \( > TypeError\("unsupported operand type.*""" > > molotov/tests/test_run.py::TestRunner::test_redirect > /usr/lib/python3/dist-packages/aiomeasures/reporters/statsd_reporter.py:42: > DeprecationWarning: 'with (yield from lock)' is deprecated use 'async with > lock' instead > with (yield from self._connecting): > /<<PKGBUILDDIR>>/molotov/listeners.py:73: DeprecationWarning: unread_data() > is deprecated and will be removed in future releases (#3260) > response.content.unread_data(content) > /<<PKGBUILDDIR>>/molotov/listeners.py:73: DeprecationWarning: unread_data() > is deprecated and will be removed in future releases (#3260) > response.content.unread_data(content) > > molotov/tests/test_run.py::TestRunner::test_runner > /usr/lib/python3/dist-packages/aiomeasures/reporters/statsd_reporter.py:42: > DeprecationWarning: 'with (yield from lock)' is deprecated use 'async with > lock' instead > with (yield from self._connecting): > /usr/lib/python3/dist-packages/aiomeasures/reporters/statsd_reporter.py:42: > DeprecationWarning: 'with (yield from lock)' is deprecated use 'async with > lock' instead > with (yield from self._connecting): > > molotov/tests/test_run.py::TestRunner::test_slow_server_force_shutdown > /usr/lib/python3/dist-packages/aiomeasures/reporters/statsd_reporter.py:42: > DeprecationWarning: 'with (yield from lock)' is deprecated use 'async with > lock' instead > with (yield from self._connecting): > > molotov/tests/test_run.py::TestRunner::test_slow_server_graceful > /usr/lib/python3/dist-packages/aiomeasures/reporters/statsd_reporter.py:42: > DeprecationWarning: 'with (yield from lock)' is deprecated use 'async with > lock' instead > with (yield from self._connecting): > > molotov/tests/test_session.py::TestLoggedClientSession::test_request > /<<PKGBUILDDIR>>/molotov/listeners.py:73: DeprecationWarning: unread_data() > is deprecated and will be removed in future releases (#3260) > response.content.unread_data(content) > > -- Docs: https://docs.pytest.org/en/latest/warnings.html > ========= 5 failed, 77 passed, 4 skipped, 10 warnings in 68.82 seconds > ========= > E: pybuild pybuild:338: test: plugin custom failed with: exit code=1: > python3.7 -m pytest > dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.7 returned > exit code 13 The full build log is available from: http://aws-logs.debian.net/2019/03/15/python-molotov_1.6-2_testing.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! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.