Skip to content

Avoid buffer copy on read #3547

Avoid buffer copy on read

Avoid buffer copy on read #3547

Triggered via pull request January 29, 2025 03:28
Status Failure
Total duration 1m 42s
Artifacts

ci.yml

on: pull_request
Matrix: ci
Fit to window
Zoom out
Zoom in

Annotations

105 errors
py 3.13 on macos-latest (skip_cython)
await waiter
py 3.13 on macos-latest (skip_cython)
await self._async_create_endpoints()
py 3.13 on macos-latest (skip_cython)
transport, protocol = await loop.create_datagram_endpoint( # type: ignore[type-var]
py 3.13 on macos-latest (skip_cython)
transport.close()
py 3.13 on macos-latest (skip_cython)
self._loop.call_soon(self._call_connection_lost, None)
py 3.13 on macos-latest (skip_cython)
self._check_closed()
py 3.13 on macos-latest (skip_cython)
raise RuntimeError('Event loop is closed')
py 3.12 on macos-latest (skip_cython)
await waiter
py 3.12 on macos-latest (skip_cython)
await self._async_create_endpoints()
py 3.12 on macos-latest (skip_cython)
transport, protocol = await loop.create_datagram_endpoint( # type: ignore[type-var]
py 3.12 on macos-latest (skip_cython)
transport.close()
py 3.12 on macos-latest (skip_cython)
self._loop.call_soon(self._call_connection_lost, None)
py 3.12 on macos-latest (skip_cython)
self._check_closed()
py 3.12 on macos-latest (skip_cython)
raise RuntimeError('Event loop is closed')
py 3.10 on ubuntu-latest (skip_cython)
await waiter
py 3.10 on ubuntu-latest (skip_cython)
await self._async_create_endpoints()
py 3.10 on ubuntu-latest (skip_cython)
transport, protocol = await loop.create_datagram_endpoint( # type: ignore[type-var]
py 3.10 on ubuntu-latest (skip_cython)
transport.close()
py 3.10 on ubuntu-latest (skip_cython)
self._loop.call_soon(self._call_connection_lost, None)
py 3.10 on ubuntu-latest (skip_cython)
self._check_closed()
py 3.10 on ubuntu-latest (skip_cython)
raise RuntimeError('Event loop is closed')
py 3.11 on ubuntu-latest (skip_cython)
await waiter
py 3.11 on ubuntu-latest (skip_cython)
await self._async_create_endpoints()
py 3.11 on ubuntu-latest (skip_cython)
transport, protocol = await loop.create_datagram_endpoint( # type: ignore[type-var]
py 3.11 on ubuntu-latest (skip_cython)
transport.close()
py 3.11 on ubuntu-latest (skip_cython)
self._loop.call_soon(self._call_connection_lost, None)
py 3.11 on ubuntu-latest (skip_cython)
self._check_closed()
py 3.11 on ubuntu-latest (skip_cython)
raise RuntimeError('Event loop is closed')
py 3.9 on ubuntu-latest (skip_cython)
await waiter
py 3.9 on ubuntu-latest (skip_cython)
await self._async_create_endpoints()
py 3.9 on ubuntu-latest (skip_cython)
transport, protocol = await loop.create_datagram_endpoint( # type: ignore[type-var]
py 3.9 on ubuntu-latest (skip_cython)
transport.close()
py 3.9 on ubuntu-latest (skip_cython)
self._loop.call_soon(self._call_connection_lost, None)
py 3.9 on ubuntu-latest (skip_cython)
self._check_closed()
py 3.9 on ubuntu-latest (skip_cython)
raise RuntimeError('Event loop is closed')
py 3.12 on ubuntu-latest (skip_cython): aioesphomeapi/_frame_helper/base.py#L126
Incompatible return value type (got "bytes", expected "Optional[memoryview[int]]") [return-value]
py 3.12 on ubuntu-latest (skip_cython): aioesphomeapi/_frame_helper/plain_text.py#L93
Argument 2 to "process_packet" of "APIConnection" has incompatible type "Union[bytes, memoryview[int]]"; expected "memoryview[int]" [arg-type]
py 3.12 on ubuntu-latest (skip_cython): aioesphomeapi/_frame_helper/noise.py#L364
Argument 2 to "process_packet" of "APIConnection" has incompatible type "bytes"; expected "memoryview[int]" [arg-type]
py 3.12 on ubuntu-latest (skip_cython)
Process completed with exit code 1.
py 3.13 on ubuntu-latest (skip_cython)
await waiter
py 3.13 on ubuntu-latest (skip_cython)
await self._async_create_endpoints()
py 3.13 on ubuntu-latest (skip_cython)
transport, protocol = await loop.create_datagram_endpoint( # type: ignore[type-var]
py 3.13 on ubuntu-latest (skip_cython)
transport.close()
py 3.13 on ubuntu-latest (skip_cython)
self._loop.call_soon(self._call_connection_lost, None)
py 3.13 on ubuntu-latest (skip_cython)
self._check_closed()
py 3.13 on ubuntu-latest (skip_cython)
raise RuntimeError('Event loop is closed')
py 3.11 on ubuntu-latest (use_cython)
result: TResult | None = func()
py 3.11 on ubuntu-latest (use_cython)
lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
py 3.11 on ubuntu-latest (use_cython)
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
py 3.11 on ubuntu-latest (use_cython)
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
py 3.11 on ubuntu-latest (use_cython)
return outcome.get_result()
py 3.11 on ubuntu-latest (use_cython)
raise exc.with_traceback(exc.__traceback__)
py 3.11 on ubuntu-latest (use_cython)
teardown.throw(outcome._exception)
py 3.11 on ubuntu-latest (use_cython)
yield from thread_exception_runtest_hook()
py 3.11 on ubuntu-latest (use_cython)
yield
py 3.11 on ubuntu-latest (use_cython)
teardown.throw(outcome._exception)
py 3.10 on ubuntu-latest (use_cython)
result: TResult | None = func()
py 3.10 on ubuntu-latest (use_cython)
lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
py 3.10 on ubuntu-latest (use_cython)
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
py 3.10 on ubuntu-latest (use_cython)
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
py 3.10 on ubuntu-latest (use_cython)
return outcome.get_result()
py 3.10 on ubuntu-latest (use_cython)
raise exc.with_traceback(exc.__traceback__)
py 3.10 on ubuntu-latest (use_cython)
teardown.throw(outcome._exception)
py 3.10 on ubuntu-latest (use_cython)
yield from thread_exception_runtest_hook()
py 3.10 on ubuntu-latest (use_cython)
yield
py 3.10 on ubuntu-latest (use_cython)
teardown.throw(outcome._exception)
py 3.9 on ubuntu-latest (use_cython)
result: TResult | None = func()
py 3.9 on ubuntu-latest (use_cython)
lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
py 3.9 on ubuntu-latest (use_cython)
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
py 3.9 on ubuntu-latest (use_cython)
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
py 3.9 on ubuntu-latest (use_cython)
return outcome.get_result()
py 3.9 on ubuntu-latest (use_cython)
raise exc.with_traceback(exc.__traceback__)
py 3.9 on ubuntu-latest (use_cython)
teardown.throw(outcome._exception)
py 3.9 on ubuntu-latest (use_cython)
yield from thread_exception_runtest_hook()
py 3.9 on ubuntu-latest (use_cython)
yield
py 3.9 on ubuntu-latest (use_cython)
teardown.throw(outcome._exception)
py 3.13 on ubuntu-latest (use_cython)
result: TResult | None = func()
py 3.13 on ubuntu-latest (use_cython)
lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
py 3.13 on ubuntu-latest (use_cython)
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
py 3.13 on ubuntu-latest (use_cython)
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
py 3.13 on ubuntu-latest (use_cython)
return outcome.get_result()
py 3.13 on ubuntu-latest (use_cython)
raise exc.with_traceback(exc.__traceback__)
py 3.13 on ubuntu-latest (use_cython)
teardown.throw(outcome._exception)
py 3.13 on ubuntu-latest (use_cython)
yield from thread_exception_runtest_hook()
py 3.13 on ubuntu-latest (use_cython)
yield
py 3.13 on ubuntu-latest (use_cython)
teardown.throw(outcome._exception)
py 3.12 on ubuntu-latest (use_cython)
result: TResult | None = func()
py 3.12 on ubuntu-latest (use_cython)
lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
py 3.12 on ubuntu-latest (use_cython)
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
py 3.12 on ubuntu-latest (use_cython)
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
py 3.12 on ubuntu-latest (use_cython)
return outcome.get_result()
py 3.12 on ubuntu-latest (use_cython)
raise exc.with_traceback(exc.__traceback__)
py 3.12 on ubuntu-latest (use_cython)
teardown.throw(outcome._exception)
py 3.12 on ubuntu-latest (use_cython)
yield from thread_exception_runtest_hook()
py 3.12 on ubuntu-latest (use_cython)
yield
py 3.12 on ubuntu-latest (use_cython)
teardown.throw(outcome._exception)
py 3.12 on windows-latest (skip_cython)
await waiter
py 3.12 on windows-latest (skip_cython)
await self._async_create_endpoints()
py 3.12 on windows-latest (skip_cython)
transport, protocol = await loop.create_datagram_endpoint( # type: ignore[type-var]
py 3.12 on windows-latest (skip_cython)
transport.close()
py 3.12 on windows-latest (skip_cython)
self._loop.call_soon(self._call_connection_lost, None)
py 3.12 on windows-latest (skip_cython)
self._check_closed()
py 3.12 on windows-latest (skip_cython)
raise RuntimeError('Event loop is closed')
Run benchmarks
Error: failed to execute the benchmark process
Run benchmarks
Process completed with exit code 1.