Source: python-aioopenssl Version: 0.4.1-2 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20200321 ftbfs-bullseye
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[3]: Entering directory '/<<PKGBUILDDIR>>/docs' > /usr/share/sphinx/scripts/python3/sphinx-build -b html -d > sphinx-data/build/doctrees . sphinx-data/build/html > Running Sphinx v1.8.5 > making output directory... > loading intersphinx inventory from https://docs.python.org/3/objects.inv... > WARNING: failed to reach any of the inventories with the following issues: > intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable > due to <class 'requests.exceptions.ProxyError'>: > HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded > with url: /3/objects.inv (Caused by ProxyError('Cannot connect to proxy.', > NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at > 0x7f94ef4ed5b0>: Failed to establish a new connection: [Errno 111] Connection > refused'))) > loading intersphinx inventory from > https://pyopenssl.readthedocs.org/en/latest/objects.inv... > WARNING: failed to reach any of the inventories with the following issues: > intersphinx inventory > 'https://pyopenssl.readthedocs.org/en/latest/objects.inv' not fetchable due > to <class 'requests.exceptions.ProxyError'>: > HTTPSConnectionPool(host='pyopenssl.readthedocs.org', port=443): Max retries > exceeded with url: /en/latest/objects.inv (Caused by ProxyError('Cannot > connect to proxy.', > NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at > 0x7f94ef51fb20>: Failed to establish a new connection: [Errno 111] Connection > refused'))) > building [mo]: targets for 0 po files that are out of date > building [html]: targets for 1 source files that are out of date > updating environment: 1 added, 0 changed, 0 removed > reading sources... [100%] index > > looking for now-outdated files... none found > pickling environment... done > checking consistency... done > preparing documents... done > writing output... [100%] index > > generating indices... genindex py-modindex > highlighting module code... [100%] aioopenssl > > writing additional pages... search > copying static files... WARNING: html_static_path entry > '/<<PKGBUILDDIR>>/docs/sphinx-data/static' does not exist > done > copying extra files... done > dumping search index in English (code: en) ... done > dumping object inventory... done > build succeeded, 3 warnings. > > The HTML pages are in sphinx-data/build/html. > > Build finished. The HTML pages are in sphinx-data/build/html. > make[3]: Leaving directory '/<<PKGBUILDDIR>>/docs' > make[2]: Leaving directory '/<<PKGBUILDDIR>>' > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build; > python3.8 -m unittest discover -v > test_abort (tests.test_e2e.TestSSLConnection) ... > /usr/lib/python3.8/asyncio/sslproto.py:321: ResourceWarning: unclosed > transport <asyncio.sslproto._SSLProtocolTransport object at 0x7f044ed3f820> > _warn(f"unclosed transport {self!r}", ResourceWarning, source=self) > ResourceWarning: Enable tracemalloc to get the object allocation traceback > ok > test_close_during_handshake (tests.test_e2e.TestSSLConnection) ... > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py:542: > DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, > use "async def" instead > def post_handshake_callback(transport): > Exception in callback STARTTLSTransport._tls_post_handshake_done(<Task > finishe...> result=None>) > handle: <Handle STARTTLSTransport._tls_post_handshake_done(<Task finishe...> > result=None>)> > Traceback (most recent call last): > File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run > self._context.run(self._callback, *self._args) > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/aioopenssl/__init__.py", > line 382, in _tls_post_handshake_done > self._tls_post_handshake(None) > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/aioopenssl/__init__.py", > line 397, in _tls_post_handshake > self._loop.add_reader(self._raw_fd, self._read_ready) > AttributeError: 'NoneType' object has no attribute 'add_reader' > ok > test_data_is_sent_after_handshake (tests.test_e2e.TestSSLConnection) ... > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py:471: > DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, > use "async def" instead > def post_handshake_callback(transport): > ok > test_local_addr (tests.test_e2e.TestSSLConnection) ... ok > test_no_data_is_received_after_handshake (tests.test_e2e.TestSSLConnection) > ... /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py:505: > DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, > use "async def" instead > def post_handshake_callback(transport): > ERROR > test_no_data_is_received_if_handshake_crashes > (tests.test_e2e.TestSSLConnection) ... > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py:441: > DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, > use "async def" instead > def post_handshake_callback(transport): > ERROR > test_no_data_is_sent_if_handshake_crashes (tests.test_e2e.TestSSLConnection) > ... /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py:395: > DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, > use "async def" instead > def post_handshake_callback(transport): > Fatal error on post-handshake callback > protocol: <asyncio.streams.StreamReaderProtocol object at 0x7f044e4a5e20> > transport: <aioopenssl.STARTTLSTransport object at 0x7f044e467600> > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/aioopenssl/__init__.py", > line 375, in _tls_post_handshake_done > task.result() > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 443, in post_handshake_callback > raise FooException() > tests.test_e2e.TestSSLConnection.test_no_data_is_received_if_handshake_crashes.<locals>.FooException > Fatal error on post-handshake callback > protocol: <asyncio.streams.StreamReaderProtocol object at 0x7f044e469610> > transport: <aioopenssl.STARTTLSTransport object at 0x7f044e46ba40> > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/aioopenssl/__init__.py", > line 375, in _tls_post_handshake_done > task.result() > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 397, in post_handshake_callback > raise FooException() > tests.test_e2e.TestSSLConnection.test_no_data_is_sent_if_handshake_crashes.<locals>.FooException > ERROR > test_post_handshake_exception_is_propagated > (tests.test_e2e.TestSSLConnection) ... > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py:371: > DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, > use "async def" instead > def post_handshake_callback(transport): > /usr/lib/python3.8/asyncio/sslproto.py:321: ResourceWarning: unclosed > transport <asyncio.sslproto._SSLProtocolTransport object at 0x7f044e466d00> > _warn(f"unclosed transport {self!r}", ResourceWarning, source=self) > ResourceWarning: Enable tracemalloc to get the object allocation traceback > Task exception was never retrieved > future: <Task finished name='Task-55' coro=<STARTTLSTransport.starttls() > done, defined at > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/aioopenssl/__init__.py:648> > exception=FooException()> > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/aioopenssl/__init__.py", > line 683, in starttls > yield from self._waiter > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/aioopenssl/__init__.py", > line 375, in _tls_post_handshake_done > task.result() > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 443, in post_handshake_callback > raise FooException() > tests.test_e2e.TestSSLConnection.test_no_data_is_received_if_handshake_crashes.<locals>.FooException > /usr/lib/python3.8/asyncio/sslproto.py:321: ResourceWarning: unclosed > transport <asyncio.sslproto._SSLProtocolTransport object at 0x7f044e3ec160> > _warn(f"unclosed transport {self!r}", ResourceWarning, source=self) > ResourceWarning: Enable tracemalloc to get the object allocation traceback > Fatal error on post-handshake callback > protocol: <asyncio.streams.StreamReaderProtocol object at 0x7f044e469d90> > transport: <aioopenssl.STARTTLSTransport object at 0x7f044e3f1d00> > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/aioopenssl/__init__.py", > line 375, in _tls_post_handshake_done > task.result() > File "/usr/lib/python3.8/asyncio/coroutines.py", line 124, in coro > res = func(*args, **kw) > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 372, in post_handshake_callback > raise FooException() > tests.test_e2e.TestSSLConnection.test_post_handshake_exception_is_propagated.<locals>.FooException > ok > test_recv_large_data (tests.test_e2e.TestSSLConnection) ... ERROR > test_renegotiation (tests.test_e2e.TestSSLConnection) ... ERROR > test_send_and_receive_data (tests.test_e2e.TestSSLConnection) ... ERROR > test_send_large_data (tests.test_e2e.TestSSLConnection) ... ERROR > test_send_recv_large_data (tests.test_e2e.TestSSLConnection) ... ERROR > test_starttls (tests.test_e2e.TestSSLConnection) ... ERROR > test_connect_send_recv_close (tests.test_e2e.TestSSLConnectionThreadServer) > ... ERROR > test_renegotiate (tests.test_e2e.TestSSLConnectionThreadServer) ... ERROR > test_send_after_want_read_passes_cached_bytes (tests.test_utils.TestSendWrap) > ... ok > test_send_after_want_read_rejects_subsequent_call_if_different_buffer > (tests.test_utils.TestSendWrap) ... /usr/lib/python3.8/unittest/mock.py:2098: > ResourceWarning: unclosed <socket.socket fd=28, family=AddressFamily.AF_INET, > type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 12346), > raddr=('127.0.0.1', 49500)> > self.name = name > ResourceWarning: Enable tracemalloc to get the object allocation traceback > ok > test_send_after_want_read_works_normally (tests.test_utils.TestSendWrap) ... > ok > test_send_after_want_send_passes_cached_bytes (tests.test_utils.TestSendWrap) > ... ok > test_send_after_want_send_rejects_subsequent_call_if_different_buffer > (tests.test_utils.TestSendWrap) ... ok > test_send_after_want_send_works_normally (tests.test_utils.TestSendWrap) ... > ok > test_send_calls_send (tests.test_utils.TestSendWrap) ... ok > test_send_propagates_exceptions_from_send (tests.test_utils.TestSendWrap) ... > ok > test_send_propagates_want_read_from_send (tests.test_utils.TestSendWrap) ... > ok > test_send_propagates_want_send_from_send (tests.test_utils.TestSendWrap) ... > ok > test_send_with_several_want_read_send_errors (tests.test_utils.TestSendWrap) > ... ok > > ====================================================================== > ERROR: test_no_data_is_received_after_handshake > (tests.test_e2e.TestSSLConnection) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 25, in wrapper > return loop.run_until_complete( > File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in > run_until_complete > return future.result() > File "/usr/lib/python3.8/asyncio/tasks.py", line 483, in wait_for > return fut.result() > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 526, in test_no_data_is_received_after_handshake > c_reader.readexactly(5), > AttributeError: 'NoneType' object has no attribute 'readexactly' > > ====================================================================== > ERROR: test_no_data_is_received_if_handshake_crashes > (tests.test_e2e.TestSSLConnection) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 25, in wrapper > return loop.run_until_complete( > File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in > run_until_complete > return future.result() > File "/usr/lib/python3.8/asyncio/tasks.py", line 483, in wait_for > return fut.result() > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 462, in test_no_data_is_received_if_handshake_crashes > yield from c_reader.readexactly(5) > AttributeError: 'NoneType' object has no attribute 'readexactly' > > ====================================================================== > ERROR: test_no_data_is_sent_if_handshake_crashes > (tests.test_e2e.TestSSLConnection) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 25, in wrapper > return loop.run_until_complete( > File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in > run_until_complete > return future.result() > File "/usr/lib/python3.8/asyncio/tasks.py", line 483, in wait_for > return fut.result() > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 428, in test_no_data_is_sent_if_handshake_crashes > self.assertTrue(type(exc) is asyncio.streams.IncompleteReadError or > AttributeError: module 'asyncio.streams' has no attribute > 'IncompleteReadError' > > ====================================================================== > ERROR: test_recv_large_data (tests.test_e2e.TestSSLConnection) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 25, in wrapper > return loop.run_until_complete( > File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in > run_until_complete > return future.result() > File "/usr/lib/python3.8/asyncio/tasks.py", line 483, in wait_for > return fut.result() > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 180, in test_recv_large_data > c_reader.readexactly(len(data)), > AttributeError: 'NoneType' object has no attribute 'readexactly' > > ====================================================================== > ERROR: test_renegotiation (tests.test_e2e.TestSSLConnection) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 25, in wrapper > return loop.run_until_complete( > File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in > run_until_complete > return future.result() > File "/usr/lib/python3.8/asyncio/tasks.py", line 483, in wait_for > return fut.result() > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 348, in test_renegotiation > c_reader.readexactly(5), > AttributeError: 'NoneType' object has no attribute 'readexactly' > > ====================================================================== > ERROR: test_send_and_receive_data (tests.test_e2e.TestSSLConnection) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 25, in wrapper > return loop.run_until_complete( > File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in > run_until_complete > return future.result() > File "/usr/lib/python3.8/asyncio/tasks.py", line 483, in wait_for > return fut.result() > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 106, in test_send_and_receive_data > c_reader.readexactly(5), > AttributeError: 'NoneType' object has no attribute 'readexactly' > > ====================================================================== > ERROR: test_send_large_data (tests.test_e2e.TestSSLConnection) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 25, in wrapper > return loop.run_until_complete( > File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in > run_until_complete > return future.result() > File "/usr/lib/python3.8/asyncio/tasks.py", line 483, in wait_for > return fut.result() > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 143, in test_send_large_data > c_reader.readexactly(6), > AttributeError: 'NoneType' object has no attribute 'readexactly' > > ====================================================================== > ERROR: test_send_recv_large_data (tests.test_e2e.TestSSLConnection) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 25, in wrapper > return loop.run_until_complete( > File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in > run_until_complete > return future.result() > File "/usr/lib/python3.8/asyncio/tasks.py", line 483, in wait_for > return fut.result() > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 218, in test_send_recv_large_data > c_reader.readexactly(len(data1)), > AttributeError: 'NoneType' object has no attribute 'readexactly' > > ====================================================================== > ERROR: test_starttls (tests.test_e2e.TestSSLConnection) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 25, in wrapper > return loop.run_until_complete( > File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in > run_until_complete > return future.result() > File "/usr/lib/python3.8/asyncio/tasks.py", line 483, in wait_for > return fut.result() > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 307, in test_starttls > c_reader.readexactly(5), > AttributeError: 'NoneType' object has no attribute 'readexactly' > > ====================================================================== > ERROR: test_connect_send_recv_close > (tests.test_e2e.TestSSLConnectionThreadServer) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 25, in wrapper > return loop.run_until_complete( > File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in > run_until_complete > return future.result() > File "/usr/lib/python3.8/asyncio/tasks.py", line 483, in wait_for > return fut.result() > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 719, in test_connect_send_recv_close > c_reader.readexactly(5), > AttributeError: 'NoneType' object has no attribute 'readexactly' > > ====================================================================== > ERROR: test_renegotiate (tests.test_e2e.TestSSLConnectionThreadServer) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 25, in wrapper > return loop.run_until_complete( > File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in > run_until_complete > return future.result() > File "/usr/lib/python3.8/asyncio/tasks.py", line 483, in wait_for > return fut.result() > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/tests/test_e2e.py", line > 763, in test_renegotiate > c_reader.readexactly(5), > AttributeError: 'NoneType' object has no attribute 'readexactly' > > ---------------------------------------------------------------------- > Ran 27 tests in 2.290s > > FAILED (errors=11) > E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build; python3.8 -m unittest discover > -v > dh_auto_test: error: pybuild --test -i python{version} -p 3.8 returned exit > code 13 The full build log is available from: http://qa-logs.debian.net/2020/03/21/python-aioopenssl_0.4.1-2_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! 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.