Source: python-adb-shell
Version: 0.4.4-2
Severity: normal
User: debian-pyt...@lists.debian.org
Usertags: python3.13

This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.

To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.

What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html

Log snippet:

   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest -v
============================= test session starts ==============================
platform linux -- Python 3.13.0rc2, pytest-8.3.3, pluggy-1.5.0 -- 
/usr/bin/python3.13
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.3.0
collecting ... collected 180 items

tests/test_adb_device.py::TestAdbDevice::test_adb_connection_error PASSED [  0%]
tests/test_adb_device.py::TestAdbDevice::test_available PASSED           [  1%]
tests/test_adb_device.py::TestAdbDevice::test_close PASSED               [  1%]
tests/test_adb_device.py::TestAdbDevice::test_connect PASSED             [  2%]
tests/test_adb_device.py::TestAdbDevice::test_connect_no_keys PASSED     [  2%]
tests/test_adb_device.py::TestAdbDevice::test_connect_timeout PASSED     [  3%]
tests/test_adb_device.py::TestAdbDevice::test_connect_with_key PASSED    [  3%]
tests/test_adb_device.py::TestAdbDevice::test_connect_with_key_invalid_response 
PASSED [  4%]
tests/test_adb_device.py::TestAdbDevice::test_connect_with_new_key PASSED [  5%]
tests/test_adb_device.py::TestAdbDevice::test_connect_with_new_key_and_callback 
PASSED [  5%]
tests/test_adb_device.py::TestAdbDevice::test_exec_out PASSED            [  6%]
tests/test_adb_device.py::TestAdbDevice::test_filesync_read_adb_command_failure_exceptions
 PASSED [  6%]
tests/test_adb_device.py::TestAdbDevice::test_filesync_read_invalid_response_error
 PASSED [  7%]
tests/test_adb_device.py::TestAdbDevice::test_init_banner PASSED         [  7%]
tests/test_adb_device.py::TestAdbDevice::test_init_invalid_transport PASSED [  
8%]
tests/test_adb_device.py::TestAdbDevice::test_init_tcp PASSED            [  8%]
tests/test_adb_device.py::TestAdbDevice::test_issue29 PASSED             [  9%]
tests/test_adb_device.py::TestAdbDevice::test_list PASSED                [ 10%]
tests/test_adb_device.py::TestAdbDevice::test_list_empty_path PASSED     [ 10%]
tests/test_adb_device.py::TestAdbDevice::test_no_async_references PASSED [ 11%]
tests/test_adb_device.py::TestAdbDevice::test_pull_big_file PASSED       [ 11%]
tests/test_adb_device.py::TestAdbDevice::test_pull_bytesio PASSED        [ 12%]
tests/test_adb_device.py::TestAdbDevice::test_pull_empty_path PASSED     [ 12%]
tests/test_adb_device.py::TestAdbDevice::test_pull_file PASSED           [ 13%]
tests/test_adb_device.py::TestAdbDevice::test_pull_file_exception PASSED [ 13%]
tests/test_adb_device.py::TestAdbDevice::test_pull_non_existant_path PASSED [ 
14%]
tests/test_adb_device.py::TestAdbDevice::test_pull_non_existant_path_2 PASSED [ 
15%]
tests/test_adb_device.py::TestAdbDevice::test_push_big_file PASSED       [ 15%]
tests/test_adb_device.py::TestAdbDevice::test_push_bytesio PASSED        [ 16%]
tests/test_adb_device.py::TestAdbDevice::test_push_dir PASSED            [ 16%]
tests/test_adb_device.py::TestAdbDevice::test_push_empty_path PASSED     [ 17%]
tests/test_adb_device.py::TestAdbDevice::test_push_fail PASSED           [ 17%]
tests/test_adb_device.py::TestAdbDevice::test_push_file PASSED           [ 18%]
tests/test_adb_device.py::TestAdbDevice::test_push_file_exception PASSED [ 18%]
tests/test_adb_device.py::TestAdbDevice::test_push_file_mtime0 PASSED    [ 19%]
tests/test_adb_device.py::TestAdbDevice::test_reboot PASSED              [ 20%]
tests/test_adb_device.py::TestAdbDevice::test_root PASSED                [ 20%]
tests/test_adb_device.py::TestAdbDevice::test_shell_avoid_decode_error PASSED [ 
21%]
tests/test_adb_device.py::TestAdbDevice::test_shell_data_length_exceeds_max 
PASSED [ 21%]
tests/test_adb_device.py::TestAdbDevice::test_shell_dont_decode PASSED   [ 22%]
tests/test_adb_device.py::TestAdbDevice::test_shell_error_checksum PASSED [ 22%]
tests/test_adb_device.py::TestAdbDevice::test_shell_error_local_id_timeout 
PASSED [ 23%]
tests/test_adb_device.py::TestAdbDevice::test_shell_error_read_timeout_multiple_clse
 PASSED [ 23%]
tests/test_adb_device.py::TestAdbDevice::test_shell_error_timeout PASSED [ 24%]
tests/test_adb_device.py::TestAdbDevice::test_shell_error_transport_timeout 
PASSED [ 25%]
tests/test_adb_device.py::TestAdbDevice::test_shell_error_unknown_command 
PASSED [ 25%]
tests/test_adb_device.py::TestAdbDevice::test_shell_local_id2 PASSED     [ 26%]
tests/test_adb_device.py::TestAdbDevice::test_shell_local_id_wraparound PASSED 
[ 26%]
tests/test_adb_device.py::TestAdbDevice::test_shell_multibytes_sequence_exceeds_max
 PASSED [ 27%]
tests/test_adb_device.py::TestAdbDevice::test_shell_multiple_clse PASSED [ 27%]
tests/test_adb_device.py::TestAdbDevice::test_shell_multiple_streams PASSED [ 
28%]
tests/test_adb_device.py::TestAdbDevice::test_shell_multiple_streams2 PASSED [ 
28%]
tests/test_adb_device.py::TestAdbDevice::test_shell_no_return PASSED     [ 29%]
tests/test_adb_device.py::TestAdbDevice::test_shell_remote_id2 PASSED    [ 30%]
tests/test_adb_device.py::TestAdbDevice::test_shell_return_pass PASSED   [ 30%]
tests/test_adb_device.py::TestAdbDevice::test_shell_return_pass_with_unexpected_packet
 PASSED [ 31%]
tests/test_adb_device.py::TestAdbDevice::test_shell_with_multibytes_sequence_over_two_messages
 PASSED [ 31%]
tests/test_adb_device.py::TestAdbDevice::test_stat PASSED                [ 32%]
tests/test_adb_device.py::TestAdbDevice::test_stat_empty_path PASSED     [ 32%]
tests/test_adb_device.py::TestAdbDevice::test_stat_issue155 PASSED       [ 33%]
tests/test_adb_device.py::TestAdbDevice::test_streaming_shell_decode PASSED [ 
33%]
tests/test_adb_device.py::TestAdbDevice::test_streaming_shell_dont_decode 
PASSED [ 34%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_adb_connection_error 
PASSED [ 35%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_available PASSED [ 35%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_close PASSED    [ 36%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_connect PASSED  [ 36%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_connect_no_keys PASSED 
[ 37%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_connect_timeout PASSED 
[ 37%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_connect_with_key 
PASSED [ 38%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_connect_with_key_invalid_response
 PASSED [ 38%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_connect_with_new_key 
PASSED [ 39%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_connect_with_new_key_and_callback
 PASSED [ 40%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_exec_out PASSED [ 40%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_filesync_read_adb_command_failure_exceptions
 PASSED [ 41%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_filesync_read_invalid_response_error
 PASSED [ 41%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_init_banner PASSED [ 
42%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_init_invalid_transport 
PASSED [ 42%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_init_tcp PASSED [ 43%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_issue29 PASSED  [ 43%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_list FAILED     [ 44%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_list_empty_path PASSED 
[ 45%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_no_sync_references 
PASSED [ 45%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_pull_big_file FAILED [ 
46%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_pull_bytesio FAILED [ 
46%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_pull_empty_path PASSED 
[ 47%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_pull_file FAILED [ 47%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_pull_file_exception 
FAILED [ 48%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_pull_non_existant_path 
PASSED [ 48%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_pull_non_existant_path_2
 PASSED [ 49%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_big_file FAILED [ 
50%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_bytesio FAILED [ 
50%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_dir FAILED [ 51%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_empty_path PASSED 
[ 51%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_fail FAILED [ 52%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_file FAILED [ 52%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_file_exception 
FAILED [ 53%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_file_mtime0 
FAILED [ 53%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_reboot PASSED   [ 54%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_root PASSED     [ 55%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_avoid_decode_error
 PASSED [ 55%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_data_length_exceeds_max
 PASSED [ 56%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_dont_decode 
PASSED [ 56%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_error_checksum 
PASSED [ 57%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_error_local_id_timeout
 PASSED [ 57%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_error_read_timeout_multiple_clse
 PASSED [ 58%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_error_timeout 
PASSED [ 58%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_error_transport_timeout
 PASSED [ 59%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_error_unknown_command
 PASSED [ 60%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_local_id2 PASSED 
[ 60%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_local_id_wraparound
 PASSED [ 61%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_multibytes_sequence_exceeds_max
 PASSED [ 61%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_multiple_clse 
PASSED [ 62%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_multiple_streams 
PASSED [ 62%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_multiple_streams2
 PASSED [ 63%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_no_return PASSED 
[ 63%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_remote_id2 
PASSED [ 64%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_return_pass 
PASSED [ 65%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_return_pass_with_unexpected_packet
 PASSED [ 65%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_with_multibytes_sequence_over_two_messages
 PASSED [ 66%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_stat PASSED     [ 66%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_stat_empty_path PASSED 
[ 67%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_stat_issue155 PASSED [ 
67%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_streaming_shell_decode 
FAILED [ 68%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_streaming_shell_dont_decode
 FAILED [ 68%]
tests/test_adb_message.py::TestAdbMessage::test_checksum_bytearray PASSED [ 69%]
tests/test_adb_message.py::TestAdbMessage::test_checksum_bytes PASSED    [ 70%]
tests/test_adb_message.py::TestAdbMessage::test_checksum_unicode PASSED  [ 70%]
tests/test_adb_message.py::TestAdbMessage::test_constants PASSED         [ 71%]
tests/test_adb_message.py::TestAdbMessage::test_unpack_error PASSED      [ 71%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_AdbCommandFailureException
 PASSED [ 72%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_AdbConnectionError
 PASSED [ 72%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_AdbTimeoutError
 PASSED [ 73%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_DeviceAuthError
 PASSED [ 73%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_DevicePathInvalidError
 PASSED [ 74%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_InvalidChecksumError
 PASSED [ 75%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_InvalidCommandError
 PASSED [ 75%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_InvalidResponseError
 PASSED [ 76%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_InvalidTransportError
 PASSED [ 76%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_PushFailedError
 PASSED [ 77%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_TcpTimeoutException
 PASSED [ 77%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_UsbDeviceNotFoundError
 PASSED [ 78%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_UsbReadFailedError
 PASSED [ 78%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_UsbWriteFailedError
 PASSED [ 79%]
tests/test_exceptions.py::TestExceptionSerialization::test_usbreadfailederror_as_repr
 PASSED [ 80%]
tests/test_exceptions.py::TestExceptionSerialization::test_usbreadfailederror_as_str
 PASSED [ 80%]
tests/test_hidden_helpers.py::TestAdbPacketStore::test_clear PASSED      [ 81%]
tests/test_hidden_helpers.py::TestAdbPacketStore::test_clear_all PASSED  [ 81%]
tests/test_hidden_helpers.py::TestAdbPacketStore::test_contains PASSED   [ 82%]
tests/test_hidden_helpers.py::TestAdbPacketStore::test_find_allow_zeros PASSED 
[ 82%]
tests/test_hidden_helpers.py::TestAdbPacketStore::test_get PASSED        [ 83%]
tests/test_hidden_helpers.py::TestAdbPacketStore::test_get_clse PASSED   [ 83%]
tests/test_hidden_helpers.py::TestAdbPacketStore::test_init PASSED       [ 84%]
tests/test_hidden_helpers.py::TestAdbPacketStore::test_put PASSED        [ 85%]
tests/test_hidden_helpers.py::TestAdbTransactionInfo::test_args_match PASSED [ 
85%]
tests/test_keygen.py::TestKeygen::test_get_user_info PASSED              [ 86%]
tests/test_sign_cryptography.py::TestCryptographySigner::test_get_public_key 
PASSED [ 86%]
tests/test_sign_cryptography.py::TestCryptographySigner::test_sign PASSED [ 87%]
tests/test_sign_pycryptodome.py::TestPycryptodomeAuthSigner::test_get_public_key
 PASSED [ 87%]
tests/test_sign_pycryptodome.py::TestPycryptodomeAuthSigner::test_sign PASSED [ 
88%]
tests/test_sign_pythonrsa.py::TestPythonRSASigner::test_get_public_key PASSED [ 
88%]
tests/test_sign_pythonrsa.py::TestPythonRSASigner::test_sign PASSED      [ 89%]
tests/test_sign_pythonrsa.py::TestPythonRSASignerExceptions::test_index_error 
PASSED [ 90%]
tests/test_sign_pythonrsa.py::TestPythonRSASignerExceptions::test_value_error 
PASSED [ 90%]
tests/test_tcp_transport.py::TestTcpTransport::test_bulk_read PASSED     [ 91%]
tests/test_tcp_transport.py::TestTcpTransport::test_bulk_write PASSED    [ 91%]
tests/test_tcp_transport.py::TestTcpTransport::test_close_oserror PASSED [ 92%]
tests/test_tcp_transport.py::TestTcpTransport::test_connect_with_timeout PASSED 
[ 92%]
tests/test_tcp_transport_async.py::TestTcpTransportAsync::test_bulk_read PASSED 
[ 93%]
tests/test_tcp_transport_async.py::TestTcpTransportAsync::test_bulk_write 
PASSED [ 93%]
tests/test_tcp_transport_async.py::TestTcpTransportAsync::test_close PASSED [ 
94%]
tests/test_tcp_transport_async.py::TestTcpTransportAsync::test_close2 PASSED [ 
95%]
tests/test_tcp_transport_async.py::TestTcpTransportAsync::test_connect PASSED [ 
95%]
tests/test_tcp_transport_async.py::TestTcpTransportAsync::test_connect_close 
PASSED [ 96%]
tests/test_tcp_transport_async.py::TestTcpTransportAsync::test_connect_close_catch_oserror
 PASSED [ 96%]
tests/test_tcp_transport_async.py::TestTcpTransportAsync::test_connect_with_timeout
 PASSED [ 97%]
tests/test_usb_importerror.py::TestUsbImportError::test_import_error PASSED [ 
97%]
tests/test_usb_importerror.py::TestUsbImportError::test_import_successful 
PASSED [ 98%]
tests/test_usb_transport.py::TestUsbTransport::test_bulk_read PASSED     [ 98%]
tests/test_usb_transport.py::TestUsbTransport::test_bulk_write PASSED    [ 99%]
tests/test_usb_transport.py::TestUsbTransport::test_connect_with_timeout PASSED 
[100%]

=================================== FAILURES ===================================
_________________________ TestAdbDeviceAsync.test_list _________________________

args = (<tests.test_adb_device_async.TestAdbDeviceAsync testMethod=test_list>,)
kwargs = {}

    def sync_func(*args, **kwargs):
>       return _await(func(*args, **kwargs))

tests/async_wrapper.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

coro = <coroutine object TestAdbDeviceAsync.test_list at 0xffffb7742400>

    def _await(coro):
        """Create a new event loop, run the coroutine, then close the event 
loop."""
        loop = asyncio.new_event_loop()
    
        with warnings.catch_warnings(record=True) as warns:
            ret = loop.run_until_complete(coro)
            loop.close()
    
            if warns:
>               raise RuntimeError
E               RuntimeError

tests/async_wrapper.py:15: RuntimeError
----------------------------- Captured stdout call -----------------------------
bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
bulk_write(13): b'host::sbuild\x00'
bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
bulk_read(14): b'host::unknown\x00'
bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
bulk_write(6): b'sync:\x00'
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x0c\x00\x00\x00\xae\x02\x00\x00\xa8\xad\xab\xba'
bulk_write(12): bytearray(b'LIST\x04\x00\x00\x00/dir')
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00F\x00\x00\x00>\x07\x00\x00\xa8\xad\xab\xba'
bulk_read(70): 
b'DENT\x01\x00\x00\x00\x02\x00\x00\x00\x03\x00\x00\x00\x05\x00\x00\x00file1DENT\x04\x00\x00\x00\x05\x00\x00\x00\x06\x00\x00\x00\x05\x00\x00\x00file2DONE\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
------------------------------ Captured log call -------------------------------
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(13): 
b'host::sbuild\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(14): 
b'host::unknown\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(6): 
b'sync:\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x0c\x00\x00\x00\xae\x02\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(12): 
bytearray(b'LIST\x04\x00\x00\x00/dir')
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00F\x00\x00\x00>\x07\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(70): 
b'DENT\x01\x00\x00\x00\x02\x00\x00\x00\x03\x00\x00\x00\x05\x00\x00\x00file1DENT\x04\x00\x00\x00\x05\x00\x00\x00\x06\x00\x00\x00\x05\x00\x00\x00file2DONE\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
ERROR    asyncio:base_events.py:1858 Task was destroyed but it is pending!
task: <Task pending name='Task-19' coro=<<async_generator_athrow without 
__name__>()>>
____________________ TestAdbDeviceAsync.test_pull_big_file _____________________

args = (<tests.test_adb_device_async.TestAdbDeviceAsync 
testMethod=test_pull_big_file>,)
kwargs = {}

    def sync_func(*args, **kwargs):
>       return _await(func(*args, **kwargs))

tests/async_wrapper.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

coro = <coroutine object TestAdbDeviceAsync.test_pull_big_file at 
0xffffb67fa200>

    def _await(coro):
        """Create a new event loop, run the coroutine, then close the event 
loop."""
        loop = asyncio.new_event_loop()
    
        with warnings.catch_warnings(record=True) as warns:
            ret = loop.run_until_complete(coro)
            loop.close()
    
            if warns:
>               raise RuntimeError
E               RuntimeError

tests/async_wrapper.py:15: RuntimeError
----------------------------- Captured stdout call -----------------------------
bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
bulk_write(13): b'host::sbuild\x00'
bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
bulk_read(14): b'host::unknown\x00'
bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
bulk_write(6): b'sync:\x00'
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\r\x00\x00\x00\xfe\x02\x00\x00\xa8\xad\xab\xba'
bulk_write(13): bytearray(b'RECV\x05\x00\x00\x00/data')
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x10\x00\x18\x00X\x02\x80\x04\xa8\xad\xab\xba'
bulk_read(1572880): 
b'DATA\x00\x00\x18\x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
bulk_read(524304): 
b'00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
device_path = /data, current = 1572864, total_bytes = 2
bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
------------------------------ Captured log call -------------------------------
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(13): 
b'host::sbuild\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(14): 
b'host::unknown\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(6): 
b'sync:\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\r\x00\x00\x00\xfe\x02\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(13): 
bytearray(b'RECV\x05\x00\x00\x00/data')
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x10\x00\x18\x00X\x02\x80\x04\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1572880): 
b'DATA\x00\x00\x18\x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(524304): 
b'00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
ERROR    asyncio:base_events.py:1858 Task was destroyed but it is pending!
task: <Task pending name='Task-22' coro=<<async_generator_athrow without 
__name__>()>>
_____________________ TestAdbDeviceAsync.test_pull_bytesio _____________________

args = (<tests.test_adb_device_async.TestAdbDeviceAsync 
testMethod=test_pull_bytesio>,)
kwargs = {}

    def sync_func(*args, **kwargs):
>       return _await(func(*args, **kwargs))

tests/async_wrapper.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

coro = <coroutine object TestAdbDeviceAsync.test_pull_bytesio at 0xffffb67fa5c0>

    def _await(coro):
        """Create a new event loop, run the coroutine, then close the event 
loop."""
        loop = asyncio.new_event_loop()
    
        with warnings.catch_warnings(record=True) as warns:
            ret = loop.run_until_complete(coro)
            loop.close()
    
            if warns:
>               raise RuntimeError
E               RuntimeError

tests/async_wrapper.py:15: RuntimeError
----------------------------- Captured stdout call -----------------------------
bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
bulk_write(13): b'host::sbuild\x00'
bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
bulk_read(14): b'host::unknown\x00'
bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
bulk_write(6): b'sync:\x00'
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\r\x00\x00\x00\xfe\x02\x00\x00\xa8\xad\xab\xba'
bulk_write(13): bytearray(b'RECV\x05\x00\x00\x00/data')
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x001\x00\x00\x00G\x0e\x00\x00\xa8\xad\xab\xba'
bulk_read(49): b'DATA!\x00\x00\x00Ohayou sekai.\nGood morning 
world!DONE\x00\x00\x00\x00'
bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
------------------------------ Captured log call -------------------------------
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(13): 
b'host::sbuild\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(14): 
b'host::unknown\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(6): 
b'sync:\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\r\x00\x00\x00\xfe\x02\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(13): 
bytearray(b'RECV\x05\x00\x00\x00/data')
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x001\x00\x00\x00G\x0e\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(49): 
b'DATA!\x00\x00\x00Ohayou sekai.\nGood morning world!DONE\x00\x00\x00\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
ERROR    asyncio:base_events.py:1858 Task was destroyed but it is pending!
task: <Task pending name='Task-24' coro=<<async_generator_athrow without 
__name__>()>>
______________________ TestAdbDeviceAsync.test_pull_file _______________________

args = (<tests.test_adb_device_async.TestAdbDeviceAsync 
testMethod=test_pull_file>,)
kwargs = {}

    def sync_func(*args, **kwargs):
>       return _await(func(*args, **kwargs))

tests/async_wrapper.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

coro = <coroutine object TestAdbDeviceAsync.test_pull_file at 0xffffb67fae80>

    def _await(coro):
        """Create a new event loop, run the coroutine, then close the event 
loop."""
        loop = asyncio.new_event_loop()
    
        with warnings.catch_warnings(record=True) as warns:
            ret = loop.run_until_complete(coro)
            loop.close()
    
            if warns:
>               raise RuntimeError
E               RuntimeError

tests/async_wrapper.py:15: RuntimeError
----------------------------- Captured stdout call -----------------------------
bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
bulk_write(13): b'host::sbuild\x00'
bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
bulk_read(14): b'host::unknown\x00'
bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
bulk_write(6): b'sync:\x00'
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\r\x00\x00\x00\xfe\x02\x00\x00\xa8\xad\xab\xba'
bulk_write(13): bytearray(b'RECV\x05\x00\x00\x00/data')
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x001\x00\x00\x00G\x0e\x00\x00\xa8\xad\xab\xba'
bulk_read(49): b'DATA!\x00\x00\x00Ohayou sekai.\nGood morning 
world!DONE\x00\x00\x00\x00'
bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
device_path = /data, current = 33, total_bytes = 2
bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
------------------------------ Captured log call -------------------------------
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(13): 
b'host::sbuild\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(14): 
b'host::unknown\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(6): 
b'sync:\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\r\x00\x00\x00\xfe\x02\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(13): 
bytearray(b'RECV\x05\x00\x00\x00/data')
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x001\x00\x00\x00G\x0e\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(49): 
b'DATA!\x00\x00\x00Ohayou sekai.\nGood morning world!DONE\x00\x00\x00\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
ERROR    asyncio:base_events.py:1858 Task was destroyed but it is pending!
task: <Task pending name='Task-27' coro=<<async_generator_athrow without 
__name__>()>>
_________________ TestAdbDeviceAsync.test_pull_file_exception __________________

args = (<tests.test_adb_device_async.TestAdbDeviceAsync 
testMethod=test_pull_file_exception>,)
kwargs = {}

    def sync_func(*args, **kwargs):
>       return _await(func(*args, **kwargs))

tests/async_wrapper.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

coro = <coroutine object TestAdbDeviceAsync.test_pull_file_exception at 
0xffffb67fac00>

    def _await(coro):
        """Create a new event loop, run the coroutine, then close the event 
loop."""
        loop = asyncio.new_event_loop()
    
        with warnings.catch_warnings(record=True) as warns:
            ret = loop.run_until_complete(coro)
            loop.close()
    
            if warns:
>               raise RuntimeError
E               RuntimeError

tests/async_wrapper.py:15: RuntimeError
----------------------------- Captured stdout call -----------------------------
bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
bulk_write(13): b'host::sbuild\x00'
bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
bulk_read(14): b'host::unknown\x00'
bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
bulk_write(6): b'sync:\x00'
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\r\x00\x00\x00\xfe\x02\x00\x00\xa8\xad\xab\xba'
bulk_write(13): bytearray(b'RECV\x05\x00\x00\x00/data')
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x001\x00\x00\x00G\x0e\x00\x00\xa8\xad\xab\xba'
bulk_read(49): b'DATA!\x00\x00\x00Ohayou sekai.\nGood morning 
world!DONE\x00\x00\x00\x00'
bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
device_path = /data, current = 33, total_bytes = 2
bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
------------------------------ Captured log call -------------------------------
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(13): 
b'host::sbuild\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(14): 
b'host::unknown\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(6): 
b'sync:\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\r\x00\x00\x00\xfe\x02\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(13): 
bytearray(b'RECV\x05\x00\x00\x00/data')
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x001\x00\x00\x00G\x0e\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(49): 
b'DATA!\x00\x00\x00Ohayou sekai.\nGood morning world!DONE\x00\x00\x00\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
ERROR    asyncio:base_events.py:1858 Task was destroyed but it is pending!
task: <Task pending name='Task-29' coro=<<async_generator_athrow without 
__name__>()>>
____________________ TestAdbDeviceAsync.test_push_big_file _____________________

args = (<tests.test_adb_device_async.TestAdbDeviceAsync 
testMethod=test_push_big_file>,)
kwargs = {}

    def sync_func(*args, **kwargs):
>       return _await(func(*args, **kwargs))

tests/async_wrapper.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

coro = <coroutine object TestAdbDeviceAsync.test_push_big_file at 
0xffffb77168c0>

    def _await(coro):
        """Create a new event loop, run the coroutine, then close the event 
loop."""
        loop = asyncio.new_event_loop()
    
        with warnings.catch_warnings(record=True) as warns:
            ret = loop.run_until_complete(coro)
            loop.close()
    
            if warns:
>               raise RuntimeError
E               RuntimeError

tests/async_wrapper.py:15: RuntimeError
----------------------------- Captured stdout call -----------------------------
bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
bulk_write(13): b'host::sbuild\x00'
bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
bulk_read(14): b'host::unknown\x00'
bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
bulk_write(6): b'sync:\x00'
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
device_path = /data, current = 2048, total_bytes = 12345
bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x1b\x08\x00\x00M\x85\x01\x00\xa8\xad\xab\xba'
bulk_write(2075): 
bytearray(b'SEND\x0b\x00\x00\x00/data,33272DATA\x00\x08\x00\x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000')
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
device_path = /data, current = 2048, total_bytes = 12345
bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x08\x08\x00\x00"\x81\x01\x00\xa8\xad\xab\xba'
bulk_write(2056): 
bytearray(b'DATA\x00\x08\x00\x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000')
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
device_path = /data, current = 2048, total_bytes = 12345
device_path = /data, current = 1024, total_bytes = 12345
bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x18\x0c\x00\x00\xcaC\x02\x00\xa8\xad\xab\xba'
bulk_write(3096): 
bytearray(b'DATA\x00\x08\x00\x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000DATA\x00\x04\x00\x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000DONEd\x00\x00\x00')
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x08\x00\x00\x004\x01\x00\x00\xa8\xad\xab\xba'
bulk_read(8): b'OKAY\x00\x00\x00\x00'
bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
------------------------------ Captured log call -------------------------------
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(13): 
b'host::sbuild\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(14): 
b'host::unknown\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(6): 
b'sync:\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x1b\x08\x00\x00M\x85\x01\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(2075): 
bytearray(b'SEND\x0b\x00\x00\x00/data,33272DATA\x00\x08\x00\x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000')
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x08\x08\x00\x00"\x81\x01\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(2056): 
bytearray(b'DATA\x00\x08\x00\x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000')
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x18\x0c\x00\x00\xcaC\x02\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(3096): 
bytearray(b'DATA\x00\x08\x00\x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000DATA\x00\x04\x00\x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000DONEd\x00\x00\x00')
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x08\x00\x00\x004\x01\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(8): 
b'OKAY\x00\x00\x00\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
ERROR    asyncio:base_events.py:1858 Task was destroyed but it is pending!
task: <Task pending name='Task-33' coro=<<async_generator_athrow without 
__name__>()>>
_____________________ TestAdbDeviceAsync.test_push_bytesio _____________________

args = (<tests.test_adb_device_async.TestAdbDeviceAsync 
testMethod=test_push_bytesio>,)
kwargs = {}

    def sync_func(*args, **kwargs):
>       return _await(func(*args, **kwargs))

tests/async_wrapper.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

coro = <coroutine object TestAdbDeviceAsync.test_push_bytesio at 0xffffb7742400>

    def _await(coro):
        """Create a new event loop, run the coroutine, then close the event 
loop."""
        loop = asyncio.new_event_loop()
    
        with warnings.catch_warnings(record=True) as warns:
            ret = loop.run_until_complete(coro)
            loop.close()
    
            if warns:
>               raise RuntimeError
E               RuntimeError

tests/async_wrapper.py:15: RuntimeError
----------------------------- Captured stdout call -----------------------------
bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
bulk_write(13): b'host::sbuild\x00'
bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
bulk_read(14): b'host::unknown\x00'
bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
bulk_write(6): b'sync:\x00'
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00D\x00\x00\x00\xd6\x12\x00\x00\xa8\xad\xab\xba'
bulk_write(68): 
bytearray(b'SEND\x0b\x00\x00\x00/data,33272DATA!\x00\x00\x00Ohayou sekai.\nGood 
morning world!DONEd\x00\x00\x00')
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x08\x00\x00\x004\x01\x00\x00\xa8\xad\xab\xba'
bulk_read(8): b'OKAY\x00\x00\x00\x00'
bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
------------------------------ Captured log call -------------------------------
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(13): 
b'host::sbuild\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(14): 
b'host::unknown\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(6): 
b'sync:\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00D\x00\x00\x00\xd6\x12\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(68): 
bytearray(b'SEND\x0b\x00\x00\x00/data,33272DATA!\x00\x00\x00Ohayou sekai.\nGood 
morning world!DONEd\x00\x00\x00')
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x08\x00\x00\x004\x01\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(8): 
b'OKAY\x00\x00\x00\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
ERROR    asyncio:base_events.py:1858 Task was destroyed but it is pending!
task: <Task pending name='Task-35' coro=<<async_generator_athrow without 
__name__>()>>
_______________________ TestAdbDeviceAsync.test_push_dir _______________________

args = (<tests.test_adb_device_async.TestAdbDeviceAsync 
testMethod=test_push_dir>,)
kwargs = {}

    def sync_func(*args, **kwargs):
>       return _await(func(*args, **kwargs))

tests/async_wrapper.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

coro = <coroutine object TestAdbDeviceAsync.test_push_dir at 0xffffb7742820>

    def _await(coro):
        """Create a new event loop, run the coroutine, then close the event 
loop."""
        loop = asyncio.new_event_loop()
    
        with warnings.catch_warnings(record=True) as warns:
            ret = loop.run_until_complete(coro)
            loop.close()
    
            if warns:
>               raise RuntimeError
E               RuntimeError

tests/async_wrapper.py:15: RuntimeError
----------------------------- Captured stdout call -----------------------------
bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
bulk_write(13): b'host::sbuild\x00'
bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
bulk_read(14): b'host::unknown\x00'
bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x12\x00\x00\x00R\x06\x00\x00\xb0\xaf\xba\xb1'
bulk_write(18): b'shell:mkdir /data\x00'
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
bulk_write(24): 
b'OPEN\x02\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
bulk_write(6): b'sync:\x00'
bulk_read(24): 
b'OKAY\x02\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
bulk_write(24): 
b'WRTE\x02\x00\x00\x00\x02\x00\x00\x00O\x00\x00\x00\x00\x16\x00\x00\xa8\xad\xab\xba'
bulk_write(79): 
bytearray(b'SEND\x16\x00\x00\x00/data/TEST_FILE1,33272DATA!\x00\x00\x00Ohayou 
sekai.\nGood morning world!DONEd\x00\x00\x00')
bulk_read(24): 
b'OKAY\x02\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
bulk_read(24): 
b'WRTE\x02\x00\x00\x00\x02\x00\x00\x00\x08\x00\x00\x004\x01\x00\x00\xa8\xad\xab\xba'
bulk_read(8): b'OKAY\x00\x00\x00\x00'
bulk_write(24): 
b'OKAY\x02\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_write(24): 
b'CLSE\x02\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
bulk_read(24): 
b'CLSE\x02\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
bulk_write(24): 
b'OPEN\x03\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
bulk_write(6): b'sync:\x00'
bulk_read(24): 
b'OKAY\x03\x00\x00\x00\x03\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
bulk_write(24): 
b'WRTE\x03\x00\x00\x00\x03\x00\x00\x00O\x00\x00\x00\x01\x16\x00\x00\xa8\xad\xab\xba'
bulk_write(79): 
bytearray(b'SEND\x16\x00\x00\x00/data/TEST_FILE2,33272DATA!\x00\x00\x00Ohayou 
sekai.\nGood morning world!DONEd\x00\x00\x00')
bulk_read(24): 
b'OKAY\x03\x00\x00\x00\x03\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
bulk_read(24): 
b'WRTE\x03\x00\x00\x00\x03\x00\x00\x00\x08\x00\x00\x004\x01\x00\x00\xa8\xad\xab\xba'
bulk_read(8): b'OKAY\x00\x00\x00\x00'
bulk_write(24): 
b'OKAY\x03\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_write(24): 
b'CLSE\x03\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
bulk_read(24): 
b'CLSE\x03\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
------------------------------ Captured log call -------------------------------
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(13): 
b'host::sbuild\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(14): 
b'host::unknown\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x12\x00\x00\x00R\x06\x00\x00\xb0\xaf\xba\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(18): 
b'shell:mkdir /data\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OPEN\x02\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(6): 
b'sync:\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x02\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'WRTE\x02\x00\x00\x00\x02\x00\x00\x00O\x00\x00\x00\x00\x16\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(79): 
bytearray(b'SEND\x16\x00\x00\x00/data/TEST_FILE1,33272DATA!\x00\x00\x00Ohayou 
sekai.\nGood morning world!DONEd\x00\x00\x00')
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x02\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'WRTE\x02\x00\x00\x00\x02\x00\x00\x00\x08\x00\x00\x004\x01\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(8): 
b'OKAY\x00\x00\x00\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OKAY\x02\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CLSE\x02\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CLSE\x02\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OPEN\x03\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(6): 
b'sync:\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x03\x00\x00\x00\x03\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'WRTE\x03\x00\x00\x00\x03\x00\x00\x00O\x00\x00\x00\x01\x16\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(79): 
bytearray(b'SEND\x16\x00\x00\x00/data/TEST_FILE2,33272DATA!\x00\x00\x00Ohayou 
sekai.\nGood morning world!DONEd\x00\x00\x00')
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x03\x00\x00\x00\x03\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'WRTE\x03\x00\x00\x00\x03\x00\x00\x00\x08\x00\x00\x004\x01\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(8): 
b'OKAY\x00\x00\x00\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OKAY\x03\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CLSE\x03\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CLSE\x03\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
ERROR    asyncio:base_events.py:1858 Task was destroyed but it is pending!
task: <Task pending name='Task-37' coro=<<async_generator_athrow without 
__name__>()>>
ERROR    asyncio:base_events.py:1858 Task was destroyed but it is pending!
task: <Task pending name='Task-38' coro=<<async_generator_athrow without 
__name__>()>>
______________________ TestAdbDeviceAsync.test_push_fail _______________________

args = (<tests.test_adb_device_async.TestAdbDeviceAsync 
testMethod=test_push_fail>,)
kwargs = {}

    def sync_func(*args, **kwargs):
>       return _await(func(*args, **kwargs))

tests/async_wrapper.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

coro = <coroutine object TestAdbDeviceAsync.test_push_fail at 0xffffb67fb380>

    def _await(coro):
        """Create a new event loop, run the coroutine, then close the event 
loop."""
        loop = asyncio.new_event_loop()
    
        with warnings.catch_warnings(record=True) as warns:
            ret = loop.run_until_complete(coro)
            loop.close()
    
            if warns:
>               raise RuntimeError
E               RuntimeError

tests/async_wrapper.py:15: RuntimeError
----------------------------- Captured stdout call -----------------------------
bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
bulk_write(13): b'host::sbuild\x00'
bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
bulk_read(14): b'host::unknown\x00'
bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
bulk_write(6): b'sync:\x00'
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00D\x00\x00\x00\xd6\x12\x00\x00\xa8\xad\xab\xba'
bulk_write(68): 
bytearray(b'SEND\x0b\x00\x00\x00/data,33272DATA!\x00\x00\x00Ohayou sekai.\nGood 
morning world!DONEd\x00\x00\x00')
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x08\x00\x00\x00\x1c\x01\x00\x00\xa8\xad\xab\xba'
bulk_read(8): b'FAIL\x00\x00\x00\x00'
bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
------------------------------ Captured log call -------------------------------
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(13): 
b'host::sbuild\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(14): 
b'host::unknown\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(6): 
b'sync:\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00D\x00\x00\x00\xd6\x12\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(68): 
bytearray(b'SEND\x0b\x00\x00\x00/data,33272DATA!\x00\x00\x00Ohayou sekai.\nGood 
morning world!DONEd\x00\x00\x00')
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x08\x00\x00\x00\x1c\x01\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(8): 
b'FAIL\x00\x00\x00\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
ERROR    asyncio:base_events.py:1858 Task was destroyed but it is pending!
task: <Task pending name='Task-41' coro=<<async_generator_athrow without 
__name__>()>>
______________________ TestAdbDeviceAsync.test_push_file _______________________

args = (<tests.test_adb_device_async.TestAdbDeviceAsync 
testMethod=test_push_file>,)
kwargs = {}

    def sync_func(*args, **kwargs):
>       return _await(func(*args, **kwargs))

tests/async_wrapper.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

coro = <coroutine object TestAdbDeviceAsync.test_push_file at 0xffffb680da80>

    def _await(coro):
        """Create a new event loop, run the coroutine, then close the event 
loop."""
        loop = asyncio.new_event_loop()
    
        with warnings.catch_warnings(record=True) as warns:
            ret = loop.run_until_complete(coro)
            loop.close()
    
            if warns:
>               raise RuntimeError
E               RuntimeError

tests/async_wrapper.py:15: RuntimeError
----------------------------- Captured stdout call -----------------------------
bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
bulk_write(13): b'host::sbuild\x00'
bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
bulk_read(14): b'host::unknown\x00'
bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
bulk_write(6): b'sync:\x00'
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
device_path = /data, current = 33, total_bytes = 12345
bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00D\x00\x00\x00\xd6\x12\x00\x00\xa8\xad\xab\xba'
bulk_write(68): 
bytearray(b'SEND\x0b\x00\x00\x00/data,33272DATA!\x00\x00\x00Ohayou sekai.\nGood 
morning world!DONEd\x00\x00\x00')
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x08\x00\x00\x004\x01\x00\x00\xa8\xad\xab\xba'
bulk_read(8): b'OKAY\x00\x00\x00\x00'
bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
------------------------------ Captured log call -------------------------------
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(13): 
b'host::sbuild\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(14): 
b'host::unknown\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(6): 
b'sync:\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00D\x00\x00\x00\xd6\x12\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(68): 
bytearray(b'SEND\x0b\x00\x00\x00/data,33272DATA!\x00\x00\x00Ohayou sekai.\nGood 
morning world!DONEd\x00\x00\x00')
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x08\x00\x00\x004\x01\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(8): 
b'OKAY\x00\x00\x00\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
ERROR    asyncio:base_events.py:1858 Task was destroyed but it is pending!
task: <Task pending name='Task-43' coro=<<async_generator_athrow without 
__name__>()>>
_________________ TestAdbDeviceAsync.test_push_file_exception __________________

args = (<tests.test_adb_device_async.TestAdbDeviceAsync 
testMethod=test_push_file_exception>,)
kwargs = {}

    def sync_func(*args, **kwargs):
>       return _await(func(*args, **kwargs))

tests/async_wrapper.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

coro = <coroutine object TestAdbDeviceAsync.test_push_file_exception at 
0xffffb680dbd0>

    def _await(coro):
        """Create a new event loop, run the coroutine, then close the event 
loop."""
        loop = asyncio.new_event_loop()
    
        with warnings.catch_warnings(record=True) as warns:
            ret = loop.run_until_complete(coro)
            loop.close()
    
            if warns:
>               raise RuntimeError
E               RuntimeError

tests/async_wrapper.py:15: RuntimeError
----------------------------- Captured stdout call -----------------------------
bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
bulk_write(13): b'host::sbuild\x00'
bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
bulk_read(14): b'host::unknown\x00'
bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
bulk_write(6): b'sync:\x00'
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
device_path = /data, current = 33, total_bytes = 12345
bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00D\x00\x00\x00\xd6\x12\x00\x00\xa8\xad\xab\xba'
bulk_write(68): 
bytearray(b'SEND\x0b\x00\x00\x00/data,33272DATA!\x00\x00\x00Ohayou sekai.\nGood 
morning world!DONEd\x00\x00\x00')
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x08\x00\x00\x004\x01\x00\x00\xa8\xad\xab\xba'
bulk_read(8): b'OKAY\x00\x00\x00\x00'
bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
------------------------------ Captured log call -------------------------------
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(13): 
b'host::sbuild\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(14): 
b'host::unknown\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(6): 
b'sync:\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00D\x00\x00\x00\xd6\x12\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(68): 
bytearray(b'SEND\x0b\x00\x00\x00/data,33272DATA!\x00\x00\x00Ohayou sekai.\nGood 
morning world!DONEd\x00\x00\x00')
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x08\x00\x00\x004\x01\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(8): 
b'OKAY\x00\x00\x00\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
ERROR    asyncio:base_events.py:1858 Task was destroyed but it is pending!
task: <Task pending name='Task-45' coro=<<async_generator_athrow without 
__name__>()>>
___________________ TestAdbDeviceAsync.test_push_file_mtime0 ___________________

args = (<tests.test_adb_device_async.TestAdbDeviceAsync 
testMethod=test_push_file_mtime0>,)
kwargs = {}

    def sync_func(*args, **kwargs):
>       return _await(func(*args, **kwargs))

tests/async_wrapper.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

coro = <coroutine object TestAdbDeviceAsync.test_push_file_mtime0 at 
0xffffb680de70>

    def _await(coro):
        """Create a new event loop, run the coroutine, then close the event 
loop."""
        loop = asyncio.new_event_loop()
    
        with warnings.catch_warnings(record=True) as warns:
            ret = loop.run_until_complete(coro)
            loop.close()
    
            if warns:
>               raise RuntimeError
E               RuntimeError

tests/async_wrapper.py:15: RuntimeError
----------------------------- Captured stdout call -----------------------------
bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
bulk_write(13): b'host::sbuild\x00'
bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
bulk_read(14): b'host::unknown\x00'
bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
bulk_write(6): b'sync:\x00'
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00D\x00\x00\x00r\x12\x00\x00\xa8\xad\xab\xba'
bulk_write(68): 
bytearray(b'SEND\x0b\x00\x00\x00/data,33272DATA!\x00\x00\x00Ohayou sekai.\nGood 
morning world!DONE\x00\x00\x00\x00')
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x08\x00\x00\x004\x01\x00\x00\xa8\xad\xab\xba'
bulk_read(8): b'OKAY\x00\x00\x00\x00'
bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
------------------------------ Captured log call -------------------------------
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(13): 
b'host::sbuild\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(14): 
b'host::unknown\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\xf7\x01\x00\x00\xb0\xaf\xba\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(6): 
b'sync:\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00D\x00\x00\x00r\x12\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(68): 
bytearray(b'SEND\x0b\x00\x00\x00/data,33272DATA!\x00\x00\x00Ohayou sekai.\nGood 
morning world!DONE\x00\x00\x00\x00')
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x08\x00\x00\x004\x01\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(8): 
b'OKAY\x00\x00\x00\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CLSE\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
ERROR    asyncio:base_events.py:1858 Task was destroyed but it is pending!
task: <Task pending name='Task-47' coro=<<async_generator_athrow without 
__name__>()>>
________________ TestAdbDeviceAsync.test_streaming_shell_decode ________________

args = (<tests.test_adb_device_async.TestAdbDeviceAsync 
testMethod=test_streaming_shell_decode>,)
kwargs = {}

    def sync_func(*args, **kwargs):
>       return _await(func(*args, **kwargs))

tests/async_wrapper.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

coro = <coroutine object TestAdbDeviceAsync.test_streaming_shell_decode at 
0xffffb6674590>

    def _await(coro):
        """Create a new event loop, run the coroutine, then close the event 
loop."""
        loop = asyncio.new_event_loop()
    
        with warnings.catch_warnings(record=True) as warns:
            ret = loop.run_until_complete(coro)
            loop.close()
    
            if warns:
>               raise RuntimeError
E               RuntimeError

tests/async_wrapper.py:15: RuntimeError
----------------------------- Captured stdout call -----------------------------
bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
bulk_write(13): b'host::sbuild\x00'
bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
bulk_read(14): b'host::unknown\x00'
bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00\x92\x03\x00\x00\xb0\xaf\xba\xb1'
bulk_write(11): b'shell:TEST\x00'
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc6\x00\x00\x00\xa8\xad\xab\xba'
bulk_read(3): b'ABC'
bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\x96\x00\x00\x00\xa8\xad\xab\xba'
bulk_read(3): b'123'
bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
------------------------------ Captured log call -------------------------------
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(13): 
b'host::sbuild\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(14): 
b'host::unknown\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00\x92\x03\x00\x00\xb0\xaf\xba\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(11): 
b'shell:TEST\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc6\x00\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(3): b'ABC'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\x96\x00\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(3): b'123'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
ERROR    asyncio:base_events.py:1858 Task was destroyed but it is pending!
task: <Task pending name='Task-74' coro=<<async_generator_athrow without 
__name__>()>>
_____________ TestAdbDeviceAsync.test_streaming_shell_dont_decode ______________

args = (<tests.test_adb_device_async.TestAdbDeviceAsync 
testMethod=test_streaming_shell_dont_decode>,)
kwargs = {}

    def sync_func(*args, **kwargs):
>       return _await(func(*args, **kwargs))

tests/async_wrapper.py:22: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

coro = <coroutine object TestAdbDeviceAsync.test_streaming_shell_dont_decode at 
0xffffb6676350>

    def _await(coro):
        """Create a new event loop, run the coroutine, then close the event 
loop."""
        loop = asyncio.new_event_loop()
    
        with warnings.catch_warnings(record=True) as warns:
            ret = loop.run_until_complete(coro)
            loop.close()
    
            if warns:
>               raise RuntimeError
E               RuntimeError

tests/async_wrapper.py:15: RuntimeError
----------------------------- Captured stdout call -----------------------------
bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
bulk_write(13): b'host::sbuild\x00'
bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
bulk_read(14): b'host::unknown\x00'
bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00\x92\x03\x00\x00\xb0\xaf\xba\xb1'
bulk_write(11): b'shell:TEST\x00'
bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(1): b'\x00'
bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc6\x00\x00\x00\xa8\xad\xab\xba'
bulk_read(3): b'ABC'
bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\x96\x00\x00\x00\xa8\xad\xab\xba'
bulk_read(3): b'123'
bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
------------------------------ Captured log call -------------------------------
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'CNXN\x00\x00\x00\x01\x00\x00\x10\x00\r\x00\x00\x00\xb5\x04\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(13): 
b'host::sbuild\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'CNXN\x01\x00\x00\x00\x00\x10\x00\x00\x0e\x00\x00\x00B\x05\x00\x00\xbc\xb1\xa7\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(14): 
b'host::unknown\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00\x92\x03\x00\x00\xb0\xaf\xba\xb1'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:560 bulk_write(11): 
b'shell:TEST\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(1): 
b'\x00'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc6\x00\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(3): b'ABC'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(24): 
b'WRTE\x01\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\x96\x00\x00\x00\xa8\xad\xab\xba'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:482 bulk_read(3): b'123'
DEBUG    adb_shell.adb_device_async:adb_device_async.py:556 bulk_write(24): 
b'OKAY\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
ERROR    asyncio:base_events.py:1858 Task was destroyed but it is pending!
task: <Task pending name='Task-76' coro=<<async_generator_athrow without 
__name__>()>>
=============================== warnings summary ===============================
../../../../../../usr/lib/python3.13/unittest/case.py:420
  /usr/lib/python3.13/unittest/case.py:420: FutureWarning: functools.partial 
will be a method descriptor in future Python versions; wrap it in 
staticmethod() if you want to preserve the old behavior
    testMethod = getattr(self, methodName)

../../../../../../usr/lib/python3/dist-packages/_pytest/python.py:1618
  /usr/lib/python3/dist-packages/_pytest/python.py:1618: FutureWarning: 
functools.partial will be a method descriptor in future Python versions; wrap 
it in staticmethod() if you want to preserve the old behavior
    return getattr(parent_obj, self.originalname)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_adb_device_async.py::TestAdbDeviceAsync::test_list - Runtim...
FAILED tests/test_adb_device_async.py::TestAdbDeviceAsync::test_pull_big_file
FAILED tests/test_adb_device_async.py::TestAdbDeviceAsync::test_pull_bytesio
FAILED tests/test_adb_device_async.py::TestAdbDeviceAsync::test_pull_file - R...
FAILED 
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_pull_file_exception
FAILED tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_big_file
FAILED tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_bytesio
FAILED tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_dir - Ru...
FAILED tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_fail - R...
FAILED tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_file - R...
FAILED 
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_file_exception
FAILED tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_file_mtime0
FAILED 
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_streaming_shell_decode
FAILED 
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_streaming_shell_dont_decode
================= 14 failed, 166 passed, 2 warnings in 11.56s ==================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest -v
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; 
python3.12 -m pytest -v
============================= test session starts ==============================
platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0 -- 
/usr/bin/python3.12
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.3.0
collecting ... collected 180 items

tests/test_adb_device.py::TestAdbDevice::test_adb_connection_error PASSED [  0%]
tests/test_adb_device.py::TestAdbDevice::test_available PASSED           [  1%]
tests/test_adb_device.py::TestAdbDevice::test_close PASSED               [  1%]
tests/test_adb_device.py::TestAdbDevice::test_connect PASSED             [  2%]
tests/test_adb_device.py::TestAdbDevice::test_connect_no_keys PASSED     [  2%]
tests/test_adb_device.py::TestAdbDevice::test_connect_timeout PASSED     [  3%]
tests/test_adb_device.py::TestAdbDevice::test_connect_with_key PASSED    [  3%]
tests/test_adb_device.py::TestAdbDevice::test_connect_with_key_invalid_response 
PASSED [  4%]
tests/test_adb_device.py::TestAdbDevice::test_connect_with_new_key PASSED [  5%]
tests/test_adb_device.py::TestAdbDevice::test_connect_with_new_key_and_callback 
PASSED [  5%]
tests/test_adb_device.py::TestAdbDevice::test_exec_out PASSED            [  6%]
tests/test_adb_device.py::TestAdbDevice::test_filesync_read_adb_command_failure_exceptions
 PASSED [  6%]
tests/test_adb_device.py::TestAdbDevice::test_filesync_read_invalid_response_error
 PASSED [  7%]
tests/test_adb_device.py::TestAdbDevice::test_init_banner PASSED         [  7%]
tests/test_adb_device.py::TestAdbDevice::test_init_invalid_transport PASSED [  
8%]
tests/test_adb_device.py::TestAdbDevice::test_init_tcp PASSED            [  8%]
tests/test_adb_device.py::TestAdbDevice::test_issue29 PASSED             [  9%]
tests/test_adb_device.py::TestAdbDevice::test_list PASSED                [ 10%]
tests/test_adb_device.py::TestAdbDevice::test_list_empty_path PASSED     [ 10%]
tests/test_adb_device.py::TestAdbDevice::test_no_async_references PASSED [ 11%]
tests/test_adb_device.py::TestAdbDevice::test_pull_big_file PASSED       [ 11%]
tests/test_adb_device.py::TestAdbDevice::test_pull_bytesio PASSED        [ 12%]
tests/test_adb_device.py::TestAdbDevice::test_pull_empty_path PASSED     [ 12%]
tests/test_adb_device.py::TestAdbDevice::test_pull_file PASSED           [ 13%]
tests/test_adb_device.py::TestAdbDevice::test_pull_file_exception PASSED [ 13%]
tests/test_adb_device.py::TestAdbDevice::test_pull_non_existant_path PASSED [ 
14%]
tests/test_adb_device.py::TestAdbDevice::test_pull_non_existant_path_2 PASSED [ 
15%]
tests/test_adb_device.py::TestAdbDevice::test_push_big_file PASSED       [ 15%]
tests/test_adb_device.py::TestAdbDevice::test_push_bytesio PASSED        [ 16%]
tests/test_adb_device.py::TestAdbDevice::test_push_dir PASSED            [ 16%]
tests/test_adb_device.py::TestAdbDevice::test_push_empty_path PASSED     [ 17%]
tests/test_adb_device.py::TestAdbDevice::test_push_fail PASSED           [ 17%]
tests/test_adb_device.py::TestAdbDevice::test_push_file PASSED           [ 18%]
tests/test_adb_device.py::TestAdbDevice::test_push_file_exception PASSED [ 18%]
tests/test_adb_device.py::TestAdbDevice::test_push_file_mtime0 PASSED    [ 19%]
tests/test_adb_device.py::TestAdbDevice::test_reboot PASSED              [ 20%]
tests/test_adb_device.py::TestAdbDevice::test_root PASSED                [ 20%]
tests/test_adb_device.py::TestAdbDevice::test_shell_avoid_decode_error PASSED [ 
21%]
tests/test_adb_device.py::TestAdbDevice::test_shell_data_length_exceeds_max 
PASSED [ 21%]
tests/test_adb_device.py::TestAdbDevice::test_shell_dont_decode PASSED   [ 22%]
tests/test_adb_device.py::TestAdbDevice::test_shell_error_checksum PASSED [ 22%]
tests/test_adb_device.py::TestAdbDevice::test_shell_error_local_id_timeout 
PASSED [ 23%]
tests/test_adb_device.py::TestAdbDevice::test_shell_error_read_timeout_multiple_clse
 PASSED [ 23%]
tests/test_adb_device.py::TestAdbDevice::test_shell_error_timeout PASSED [ 24%]
tests/test_adb_device.py::TestAdbDevice::test_shell_error_transport_timeout 
PASSED [ 25%]
tests/test_adb_device.py::TestAdbDevice::test_shell_error_unknown_command 
PASSED [ 25%]
tests/test_adb_device.py::TestAdbDevice::test_shell_local_id2 PASSED     [ 26%]
tests/test_adb_device.py::TestAdbDevice::test_shell_local_id_wraparound PASSED 
[ 26%]
tests/test_adb_device.py::TestAdbDevice::test_shell_multibytes_sequence_exceeds_max
 PASSED [ 27%]
tests/test_adb_device.py::TestAdbDevice::test_shell_multiple_clse PASSED [ 27%]
tests/test_adb_device.py::TestAdbDevice::test_shell_multiple_streams PASSED [ 
28%]
tests/test_adb_device.py::TestAdbDevice::test_shell_multiple_streams2 PASSED [ 
28%]
tests/test_adb_device.py::TestAdbDevice::test_shell_no_return PASSED     [ 29%]
tests/test_adb_device.py::TestAdbDevice::test_shell_remote_id2 PASSED    [ 30%]
tests/test_adb_device.py::TestAdbDevice::test_shell_return_pass PASSED   [ 30%]
tests/test_adb_device.py::TestAdbDevice::test_shell_return_pass_with_unexpected_packet
 PASSED [ 31%]
tests/test_adb_device.py::TestAdbDevice::test_shell_with_multibytes_sequence_over_two_messages
 PASSED [ 31%]
tests/test_adb_device.py::TestAdbDevice::test_stat PASSED                [ 32%]
tests/test_adb_device.py::TestAdbDevice::test_stat_empty_path PASSED     [ 32%]
tests/test_adb_device.py::TestAdbDevice::test_stat_issue155 PASSED       [ 33%]
tests/test_adb_device.py::TestAdbDevice::test_streaming_shell_decode PASSED [ 
33%]
tests/test_adb_device.py::TestAdbDevice::test_streaming_shell_dont_decode 
PASSED [ 34%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_adb_connection_error 
PASSED [ 35%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_available PASSED [ 35%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_close PASSED    [ 36%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_connect PASSED  [ 36%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_connect_no_keys PASSED 
[ 37%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_connect_timeout PASSED 
[ 37%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_connect_with_key 
PASSED [ 38%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_connect_with_key_invalid_response
 PASSED [ 38%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_connect_with_new_key 
PASSED [ 39%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_connect_with_new_key_and_callback
 PASSED [ 40%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_exec_out PASSED [ 40%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_filesync_read_adb_command_failure_exceptions
 PASSED [ 41%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_filesync_read_invalid_response_error
 PASSED [ 41%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_init_banner PASSED [ 
42%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_init_invalid_transport 
PASSED [ 42%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_init_tcp PASSED [ 43%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_issue29 PASSED  [ 43%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_list PASSED     [ 44%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_list_empty_path PASSED 
[ 45%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_no_sync_references 
PASSED [ 45%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_pull_big_file PASSED [ 
46%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_pull_bytesio PASSED [ 
46%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_pull_empty_path PASSED 
[ 47%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_pull_file PASSED [ 47%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_pull_file_exception 
PASSED [ 48%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_pull_non_existant_path 
PASSED [ 48%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_pull_non_existant_path_2
 PASSED [ 49%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_big_file PASSED [ 
50%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_bytesio PASSED [ 
50%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_dir PASSED [ 51%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_empty_path PASSED 
[ 51%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_fail PASSED [ 52%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_file PASSED [ 52%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_file_exception 
PASSED [ 53%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_push_file_mtime0 
PASSED [ 53%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_reboot PASSED   [ 54%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_root PASSED     [ 55%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_avoid_decode_error
 PASSED [ 55%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_data_length_exceeds_max
 PASSED [ 56%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_dont_decode 
PASSED [ 56%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_error_checksum 
PASSED [ 57%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_error_local_id_timeout
 PASSED [ 57%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_error_read_timeout_multiple_clse
 PASSED [ 58%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_error_timeout 
PASSED [ 58%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_error_transport_timeout
 PASSED [ 59%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_error_unknown_command
 PASSED [ 60%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_local_id2 PASSED 
[ 60%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_local_id_wraparound
 PASSED [ 61%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_multibytes_sequence_exceeds_max
 PASSED [ 61%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_multiple_clse 
PASSED [ 62%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_multiple_streams 
PASSED [ 62%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_multiple_streams2
 PASSED [ 63%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_no_return PASSED 
[ 63%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_remote_id2 
PASSED [ 64%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_return_pass 
PASSED [ 65%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_return_pass_with_unexpected_packet
 PASSED [ 65%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_shell_with_multibytes_sequence_over_two_messages
 PASSED [ 66%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_stat PASSED     [ 66%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_stat_empty_path PASSED 
[ 67%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_stat_issue155 PASSED [ 
67%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_streaming_shell_decode 
PASSED [ 68%]
tests/test_adb_device_async.py::TestAdbDeviceAsync::test_streaming_shell_dont_decode
 PASSED [ 68%]
tests/test_adb_message.py::TestAdbMessage::test_checksum_bytearray PASSED [ 69%]
tests/test_adb_message.py::TestAdbMessage::test_checksum_bytes PASSED    [ 70%]
tests/test_adb_message.py::TestAdbMessage::test_checksum_unicode PASSED  [ 70%]
tests/test_adb_message.py::TestAdbMessage::test_constants PASSED         [ 71%]
tests/test_adb_message.py::TestAdbMessage::test_unpack_error PASSED      [ 71%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_AdbCommandFailureException
 PASSED [ 72%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_AdbConnectionError
 PASSED [ 72%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_AdbTimeoutError
 PASSED [ 73%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_DeviceAuthError
 PASSED [ 73%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_DevicePathInvalidError
 PASSED [ 74%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_InvalidChecksumError
 PASSED [ 75%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_InvalidCommandError
 PASSED [ 75%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_InvalidResponseError
 PASSED [ 76%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_InvalidTransportError
 PASSED [ 76%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_PushFailedError
 PASSED [ 77%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_TcpTimeoutException
 PASSED [ 77%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_UsbDeviceNotFoundError
 PASSED [ 78%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_UsbReadFailedError
 PASSED [ 78%]
tests/test_exceptions.py::TestExceptionSerialization::test_serialize_UsbWriteFailedError
 PASSED [ 79%]
tests/test_exceptions.py::TestExceptionSerialization::test_usbreadfailederror_as_repr
 PASSED [ 80%]
tests/test_exceptions.py::TestExceptionSerialization::test_usbreadfailederror_as_str
 PASSED [ 80%]
tests/test_hidden_helpers.py::TestAdbPacketStore::test_clear PASSED      [ 81%]
tests/test_hidden_helpers.py::TestAdbPacketStore::test_clear_all PASSED  [ 81%]
tests/test_hidden_helpers.py::TestAdbPacketStore::test_contains PASSED   [ 82%]
tests/test_hidden_helpers.py::TestAdbPacketStore::test_find_allow_zeros PASSED 
[ 82%]
tests/test_hidden_helpers.py::TestAdbPacketStore::test_get PASSED        [ 83%]
tests/test_hidden_helpers.py::TestAdbPacketStore::test_get_clse PASSED   [ 83%]
tests/test_hidden_helpers.py::TestAdbPacketStore::test_init PASSED       [ 84%]
tests/test_hidden_helpers.py::TestAdbPacketStore::test_put PASSED        [ 85%]
tests/test_hidden_helpers.py::TestAdbTransactionInfo::test_args_match PASSED [ 
85%]
tests/test_keygen.py::TestKeygen::test_get_user_info PASSED              [ 86%]
tests/test_sign_cryptography.py::TestCryptographySigner::test_get_public_key 
PASSED [ 86%]
tests/test_sign_cryptography.py::TestCryptographySigner::test_sign PASSED [ 87%]
tests/test_sign_pycryptodome.py::TestPycryptodomeAuthSigner::test_get_public_key
 PASSED [ 87%]
tests/test_sign_pycryptodome.py::TestPycryptodomeAuthSigner::test_sign PASSED [ 
88%]
tests/test_sign_pythonrsa.py::TestPythonRSASigner::test_get_public_key PASSED [ 
88%]
tests/test_sign_pythonrsa.py::TestPythonRSASigner::test_sign PASSED      [ 89%]
tests/test_sign_pythonrsa.py::TestPythonRSASignerExceptions::test_index_error 
PASSED [ 90%]
tests/test_sign_pythonrsa.py::TestPythonRSASignerExceptions::test_value_error 
PASSED [ 90%]
tests/test_tcp_transport.py::TestTcpTransport::test_bulk_read PASSED     [ 91%]
tests/test_tcp_transport.py::TestTcpTransport::test_bulk_write PASSED    [ 91%]
tests/test_tcp_transport.py::TestTcpTransport::test_close_oserror PASSED [ 92%]
tests/test_tcp_transport.py::TestTcpTransport::test_connect_with_timeout PASSED 
[ 92%]
tests/test_tcp_transport_async.py::TestTcpTransportAsync::test_bulk_read PASSED 
[ 93%]
tests/test_tcp_transport_async.py::TestTcpTransportAsync::test_bulk_write 
PASSED [ 93%]
tests/test_tcp_transport_async.py::TestTcpTransportAsync::test_close PASSED [ 
94%]
tests/test_tcp_transport_async.py::TestTcpTransportAsync::test_close2 PASSED [ 
95%]
tests/test_tcp_transport_async.py::TestTcpTransportAsync::test_connect PASSED [ 
95%]
tests/test_tcp_transport_async.py::TestTcpTransportAsync::test_connect_close 
PASSED [ 96%]
tests/test_tcp_transport_async.py::TestTcpTransportAsync::test_connect_close_catch_oserror
 PASSED [ 96%]
tests/test_tcp_transport_async.py::TestTcpTransportAsync::test_connect_with_timeout
 PASSED [ 97%]
tests/test_usb_importerror.py::TestUsbImportError::test_import_error PASSED [ 
97%]
tests/test_usb_importerror.py::TestUsbImportError::test_import_successful 
PASSED [ 98%]
tests/test_usb_transport.py::TestUsbTransport::test_bulk_read PASSED     [ 98%]
tests/test_usb_transport.py::TestUsbTransport::test_bulk_write PASSED    [ 99%]
tests/test_usb_transport.py::TestUsbTransport::test_connect_with_timeout PASSED 
[100%]

============================= 180 passed in 12.20s =============================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 
3.12" returned exit code 13
make: *** [debian/rules:9: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-18T21:14:03Z

If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/779695/

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano


Reply via email to