Your message dated Thu, 16 Aug 2018 11:46:29 +0200
with message-id
<CAOO6c=wtf6jhx1yex0nrkh+zttae-kwxpueaioqqe5v7mag...@mail.gmail.com>
and subject line Fixed with new upstream version
has caused the Debian Bug report #867028,
regarding uvloop FTBFS on armel/armhf:
Test_UV_UnixSSL.test_create_unix_server_ssl_1 fails
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
867028: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867028
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: uvloop
Version: 0.8.0+ds1-1
Severity: serious
https://buildd.debian.org/status/package.php?p=uvloop
...
============================= test session starts ==============================
platform linux -- Python 3.5.3, pytest-3.0.6, py-1.4.32, pluggy-0.4.0
rootdir: /«BUILDDIR»/uvloop-0.8.0+ds1, inifile:
collected 414 items
tests/test_aiohttp.py ..
tests/test_base.py ..........................sss........................sss...
tests/test_cython.py .
tests/test_dns.py ....................s..............................
tests/test_executors.py ....
tests/test_futures.py
.....................................................................................
tests/test_pipes.py ..........
tests/test_process.py ..............................................
tests/test_signals.py ..............
tests/test_sockets.py .........
tests/test_tasks.py
................................................................
tests/test_tcp.py ......................................
tests/test_testbase.py ...
tests/test_udp.py .....
tests/test_unix.py
....................F/«BUILDDIR»/uvloop-0.8.0+ds1/.pybuild/pythonX.Y-dbg_3.5/build/uvloop/_testbase.py:81:
ResourceWarning: unclosed resource <TCPTransport closed=False reading=True
0xb2c4a038>
self.loop.close()
/usr/lib/python3.5/asyncio/sslproto.py:334: ResourceWarning: unclosed transport
<asyncio.sslproto._SSLProtocolTransport object at 0xb2c25c78>
warnings.warn("unclosed transport %r" % self, ResourceWarning)
/usr/lib/python3.5/asyncio/selector_events.py:630: ResourceWarning: unclosed
transport <_SelectorSocketTransport fd=31>
warnings.warn("unclosed transport %r" % self, ResourceWarning)
/usr/lib/python3.5/asyncio/selector_events.py:630: ResourceWarning: unclosed
transport <_SelectorSocketTransport fd=32>
warnings.warn("unclosed transport %r" % self, ResourceWarning)
/usr/lib/python3.5/asyncio/selector_events.py:630: ResourceWarning: unclosed
transport <_SelectorSocketTransport fd=10>
warnings.warn("unclosed transport %r" % self, ResourceWarning)
/usr/lib/python3.5/asyncio/selector_events.py:630: ResourceWarning: unclosed
transport <_SelectorSocketTransport fd=12>
warnings.warn("unclosed transport %r" % self, ResourceWarning)
/usr/lib/python3.5/asyncio/selector_events.py:630: ResourceWarning: unclosed
transport <_SelectorSocketTransport fd=26>
warnings.warn("unclosed transport %r" % self, ResourceWarning)
/usr/lib/python3.5/asyncio/selector_events.py:630: ResourceWarning: unclosed
transport <_SelectorSocketTransport fd=27>
warnings.warn("unclosed transport %r" % self, ResourceWarning)
/usr/lib/python3.5/asyncio/selector_events.py:630: ResourceWarning: unclosed
transport <_SelectorSocketTransport fd=28>
warnings.warn("unclosed transport %r" % self, ResourceWarning)
/usr/lib/python3.5/asyncio/selector_events.py:630: ResourceWarning: unclosed
transport <_SelectorSocketTransport fd=29>
warnings.warn("unclosed transport %r" % self, ResourceWarning)
/usr/lib/python3.5/asyncio/selector_events.py:630: ResourceWarning: unclosed
transport <_SelectorSocketTransport fd=30>
warnings.warn("unclosed transport %r" % self, ResourceWarning)
/«BUILDDIR»/uvloop-0.8.0+ds1/.pybuild/pythonX.Y-dbg_3.5/build/uvloop/_testbase.py:81:
ResourceWarning: unclosed resource <UnixTransport closed=False reading=True
0xb2c29c38>
self.loop.close()
_GatheringFuture exception was never retrieved
future: <_GatheringFuture finished exception=CancelledError()>
concurrent.futures._base.CancelledError
..
=================================== FAILURES ===================================
________________ Test_UV_UnixSSL.test_create_unix_server_ssl_1 _________________
self = <test_unix.Test_UV_UnixSSL testMethod=test_create_unix_server_ssl_1>
def test_create_unix_server_ssl_1(self):
CNT = 0 # number of clients that were successful
TOTAL_CNT = 25 # total number of clients that test will create
TIMEOUT = 5.0 # timeout for this test
A_DATA = b'A' * 1024 * 1024
B_DATA = b'B' * 1024 * 1024
sslctx = self._create_server_ssl_context(self.ONLYCERT, self.ONLYKEY)
client_sslctx = self._create_client_ssl_context()
clients = []
async def handle_client(reader, writer):
nonlocal CNT
data = await reader.readexactly(len(A_DATA))
self.assertEqual(data, A_DATA)
writer.write(b'OK')
data = await reader.readexactly(len(B_DATA))
self.assertEqual(data, B_DATA)
writer.writelines([b'SP', bytearray(b'A'), memoryview(b'M')])
await writer.drain()
writer.close()
CNT += 1
async def test_client(addr):
fut = asyncio.Future(loop=self.loop)
def prog():
try:
yield tb.starttls(client_sslctx)
yield tb.connect(addr)
yield tb.write(A_DATA)
data = yield tb.read(2)
self.assertEqual(data, b'OK')
yield tb.write(B_DATA)
data = yield tb.read(4)
self.assertEqual(data, b'SPAM')
yield tb.close()
except Exception as ex:
self.loop.call_soon_threadsafe(fut.set_exception, ex)
else:
self.loop.call_soon_threadsafe(fut.set_result, None)
client = tb.tcp_client(prog, family=socket.AF_UNIX)
client.start()
clients.append(client)
await fut
async def start_server():
with tempfile.TemporaryDirectory() as td:
sock_name = os.path.join(td, 'sock')
srv = await asyncio.start_unix_server(
handle_client,
sock_name,
ssl=sslctx,
loop=self.loop)
try:
tasks = []
for _ in range(TOTAL_CNT):
tasks.append(test_client(sock_name))
await asyncio.wait_for(
asyncio.gather(*tasks, loop=self.loop),
TIMEOUT, loop=self.loop)
finally:
self.loop.call_soon(srv.close)
await srv.wait_closed()
try:
with self._silence_eof_received_warning():
> self.loop.run_until_complete(start_server())
tests/test_unix.py:506:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
uvloop/loop.pyx:1203: in uvloop.loop.Loop.run_until_complete
(uvloop/loop.c:25632)
return future.result()
uvloop/future.pyx:146: in uvloop.loop.BaseFuture.result (uvloop/loop.c:109361)
return self._result_impl()
uvloop/future.pyx:101: in uvloop.loop.BaseFuture._result_impl
(uvloop/loop.c:108900)
raise self._exception
uvloop/future.pyx:372: in uvloop.loop.BaseTask._fast_step (uvloop/loop.c:112669)
result = meth(None)
tests/test_unix.py:498: in start_server
TIMEOUT, loop=self.loop)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
fut = <_GatheringFuture finished exception=CancelledError()>, timeout = 5.0
@coroutine
def wait_for(fut, timeout, *, loop=None):
"""Wait for the single Future or coroutine to complete, with timeout.
Coroutine will be wrapped in Task.
Returns result of the Future or coroutine. When a timeout occurs,
it cancels the task and raises TimeoutError. To avoid the task
cancellation, wrap it in shield().
If the wait is cancelled, the task is also cancelled.
This function is a coroutine.
"""
if loop is None:
loop = events.get_event_loop()
if timeout is None:
return (yield from fut)
waiter = loop.create_future()
timeout_handle = loop.call_later(timeout, _release_waiter, waiter)
cb = functools.partial(_release_waiter, waiter)
fut = ensure_future(fut, loop=loop)
fut.add_done_callback(cb)
try:
# wait until the future completes or the timeout
try:
yield from waiter
except futures.CancelledError:
fut.remove_done_callback(cb)
fut.cancel()
raise
if fut.done():
return fut.result()
else:
fut.remove_done_callback(cb)
fut.cancel()
> raise futures.TimeoutError()
E concurrent.futures._base.TimeoutError
/usr/lib/python3.5/asyncio/tasks.py:404: TimeoutError
============== 1 failed, 406 passed, 7 skipped in 282.06 seconds ===============
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd
/«BUILDDIR»/uvloop-0.8.0+ds1/.pybuild/pythonX.Y-dbg_3.5/build; python3.5-dbg -m
pytest -s tests
dh_auto_test: pybuild --test --test-pytest -i python{version}-dbg -p 3.5
returned exit code 13
debian/rules:8: recipe for target 'build-arch' failed
make: *** [build-arch] Error 25
--- End Message ---
--- Begin Message ---
Version: 0.11.2+ds1-1
This looks fixed with new upstream version of uvloop.
--
Best regards
Ondřej Nový
Email: n...@ondrej.org
PGP: 3D98 3C52 EB85 980C 46A5 6090 3573 1255 9D1E 064B
--- End Message ---