New paste Repaste Download
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-8.4.1, pluggy-1.6.0 -- /root/builds/osaKnfEQQ/0/sine-bureau/link/venv/bin/python3
cachedir: .pytest_cache
rootdir: /root/builds/osaKnfEQQ/0/sine-bureau/link
plugins: order-1.3.0
collecting ... collected 5 items
test/functional/simple_test.py::test_program_2_devices[006000314234500d20323657] PASSED [ 20%]
test/functional/simple_test.py::test_program_2_devices[005400404234500d20323657] PASSED [ 40%]
test/functional/stress_test.py::test_init_attenutor PASSED               [ 60%]
test/functional/simple_test.py::test_connect_links FAILED                [ 80%]
test/functional/simple_test.py::test_validate_fw_version FAILED          [100%]
=================================== FAILURES ===================================
______________________________ test_connect_links ______________________________
     [0m [37m@pytest [39;49;00m.mark.order( [94m2 [39;49;00m) [90m [39;49;00m
     [94mdef [39;49;00m [90m  [39;49;00m [92mtest_connect_links [39;49;00m(): [90m [39;49;00m
        [90m# 0. Get Device IDs [39;49;00m [90m [39;49;00m
       device_1 = discover_device(device_id_1) [90m [39;49;00m
       device_2 = discover_device(device_id_2) [90m [39;49;00m
        [94massert [39;49;00m device_1,  [33mf [39;49;00m [33m" [39;49;00m [33mDevice with ID  [39;49;00m [33m{ [39;49;00mdevice_id_1 [33m} [39;49;00m [33m not found [39;49;00m [33m" [39;49;00m [90m [39;49;00m
        [94massert [39;49;00m device_2,  [33mf [39;49;00m [33m" [39;49;00m [33mDevice with ID  [39;49;00m [33m{ [39;49;00mdevice_id_2 [33m} [39;49;00m [33m not found [39;49;00m [33m" [39;49;00m [90m [39;49;00m
     [90m [39;49;00m
        [90m# 1. Reset the devices [39;49;00m [90m [39;49;00m
       reset_device_settings(device_1) [90m [39;49;00m
       reset_device_settings(device_2) [90m [39;49;00m
     [90m [39;49;00m
        [90m# 2. Make 1 device as slave another is master by default [39;49;00m [90m [39;49;00m
        [90m# Wait for device renumeration. Don't have idea how to do it in a better way (TBD?) [39;49;00m [90m [39;49;00m
       time.sleep( [94m1 [39;49;00m) [90m [39;49;00m
       device_1 = discover_device(device_id_1) [90m [39;49;00m
       device_2 = discover_device(device_id_2) [90m [39;49;00m
     [90m [39;49;00m
        [90m# 3. Cover negative scenario rssi should equal -127 in no connection [39;49;00m [90m [39;49;00m
       rssi = get_rssi(device_1) [90m [39;49;00m
        [96mprint [39;49;00m( [33mf [39;49;00m [33m" [39;49;00m [33mRSSI:  [39;49;00m [33m{ [39;49;00mrssi [33m} [39;49;00m [33m" [39;49;00m) [90m [39;49;00m
        [94massert [39;49;00m - [94m127 [39;49;00m == rssi,  [33mf [39;49;00m [33m" [39;49;00m [33mDevice  [39;49;00m [33m{ [39;49;00mdevice_id_1 [33m} [39;49;00m [33m: Actual RSSI is:  [39;49;00m [33m{ [39;49;00mrssi [33m} [39;49;00m [33m. Expected is -127. [39;49;00m [33m" [39;49;00m [90m [39;49;00m
     [90m [39;49;00m
       rssi = get_rssi(device_2) [90m [39;49;00m
        [96mprint [39;49;00m( [33mf [39;49;00m [33m" [39;49;00m [33mRSSI:  [39;49;00m [33m{ [39;49;00mrssi [33m} [39;49;00m [33m" [39;49;00m) [90m [39;49;00m
        [94massert [39;49;00m - [94m127 [39;49;00m == rssi,  [33mf [39;49;00m [33m" [39;49;00m [33mDevice  [39;49;00m [33m{ [39;49;00mdevice_id_2 [33m} [39;49;00m [33m: Actual RSSI is:  [39;49;00m [33m{ [39;49;00mrssi [33m} [39;49;00m [33m. Expected is -127. [39;49;00m [33m" [39;49;00m [90m [39;49;00m
     [90m [39;49;00m
        [94massert [39;49;00m get_local_quality(device_1) ==  [94m0 [39;49;00m [90m [39;49;00m
        [94massert [39;49;00m get_local_quality(device_2) ==  [94m0 [39;49;00m [90m [39;49;00m
     [90m [39;49;00m
       change_master_to_slave(device_1) [90m [39;49;00m
     [90m [39;49;00m
        [90m# 4. Connect devices [39;49;00m [90m [39;49;00m
       connect_two_devices(device_1, device_2) [90m [39;49;00m
     [90m [39;49;00m
        [90m# 5. Make sure the connection is established [39;49;00m [90m [39;49;00m
       count =  [94m0 [39;49;00m [90m [39;49;00m
        [94mwhile [39;49;00m get_rssi(device_1) == - [94m127 [39;49;00m  [95mor [39;49;00m get_rssi(device_2) == - [94m127 [39;49;00m  [95mand [39;49;00m count <  [94m20 [39;49;00m: [90m [39;49;00m
           [96mprint [39;49;00m( [33m" [39;49;00m [33mWaiting for connection to be established... [39;49;00m [33m" [39;49;00m) [90m [39;49;00m
          time.sleep( [94m0.2 [39;49;00m) [90m [39;49;00m
          count +=  [94m1 [39;49;00m [90m [39;49;00m
           [94mif [39;49;00m count ==  [94m20 [39;49;00m: [90m [39;49;00m
              [94massert [39;49;00m  [94mFalse [39;49;00m,  [33mf [39;49;00m [33m" [39;49;00m [33mConnection between devices  [39;49;00m [33m{ [39;49;00mdevice_id_1 [33m} [39;49;00m [33m and  [39;49;00m [33m{ [39;49;00mdevice_id_2 [33m} [39;49;00m [33m is not established. [39;49;00m [33m" [39;49;00m [90m [39;49;00m
     [90m [39;49;00m
       rssi = get_rssi(device_1) [90m [39;49;00m
        [96mprint [39;49;00m( [33mf [39;49;00m [33m" [39;49;00m [33mRSSI:  [39;49;00m [33m{ [39;49;00mrssi [33m} [39;49;00m [33m" [39;49;00m) [90m [39;49;00m
        [94massert [39;49;00m - [94m1 [39;49;00m >= rssi > - [94m120 [39;49;00m,  [33mf [39;49;00m [33m" [39;49;00m [33mDevice  [39;49;00m [33m{ [39;49;00mdevice_id_1 [33m} [39;49;00m [33m: Actual RSSI is:  [39;49;00m [33m{ [39;49;00mrssi [33m} [39;49;00m [33m. Expected in range (-120, -1). Otherwise, the connection is not established. [39;49;00m [33m" [39;49;00m [90m [39;49;00m
     [90m [39;49;00m
       rssi = get_rssi(device_2) [90m [39;49;00m
        [96mprint [39;49;00m( [33mf [39;49;00m [33m" [39;49;00m [33mRSSI:  [39;49;00m [33m{ [39;49;00mrssi [33m} [39;49;00m [33m" [39;49;00m) [90m [39;49;00m
        [94massert [39;49;00m - [94m1 [39;49;00m >= rssi > - [94m120 [39;49;00m,  [33mf [39;49;00m [33m" [39;49;00m [33mDevice  [39;49;00m [33m{ [39;49;00mdevice_id_2 [33m} [39;49;00m [33m: Actual RSSI is:  [39;49;00m [33m{ [39;49;00mrssi [33m} [39;49;00m [33m. Expected in range (-120, -1). Otherwise, the connection is not established. [39;49;00m [33m" [39;49;00m [90m [39;49;00m
     [90m [39;49;00m
        [90m# Check for Connection Quality [39;49;00m [90m [39;49;00m
       count =  [94m0 [39;49;00m [90m [39;49;00m
        [94mwhile [39;49;00m get_local_quality(device_1) <  [94m99 [39;49;00m  [95mand [39;49;00m count <  [94m30 [39;49;00m: [90m [39;49;00m
           [96mprint [39;49;00m( [33mf [39;49;00m [33m" [39;49;00m [33mWaiting for connection to be qualified... Retry:  [39;49;00m [33m{ [39;49;00mcount+ [94m1 [39;49;00m [33m} [39;49;00m [33m" [39;49;00m) [90m [39;49;00m
          time.sleep( [94m0.2 [39;49;00m) [90m [39;49;00m
          count +=  [94m1 [39;49;00m [90m [39;49;00m
           [94mif [39;49;00m count ==  [94m30 [39;49;00m: [90m [39;49;00m
>             [94massert [39;49;00m  [94mFalse [39;49;00m,  [33mf [39;49;00m [33m" [39;49;00m [33mConnection quality for device  [39;49;00m [33m{ [39;49;00mdevice_id_1 [33m} [39;49;00m [33m is not established. [39;49;00m [33m" [39;49;00m [90m [39;49;00m
E            AssertionError: Connection quality for device 006000314234500d20323657 is not established.
E            assert False
test/functional/simple_test.py:82: AssertionError
----------------------------- Captured stdout call -----------------------------
RSSI: -127
RSSI: -127
Waiting for connection to be established...
Waiting for connection to be established...
Waiting for connection to be established...
Waiting for connection to be established...
Waiting for connection to be established...
RSSI: -35
RSSI: -38
Waiting for connection to be qualified... Retry: 1
Waiting for connection to be qualified... Retry: 2
Waiting for connection to be qualified... Retry: 3
Waiting for connection to be qualified... Retry: 4
Waiting for connection to be qualified... Retry: 5
Waiting for connection to be qualified... Retry: 6
Waiting for connection to be qualified... Retry: 7
Waiting for connection to be qualified... Retry: 8
Waiting for connection to be qualified... Retry: 9
Waiting for connection to be qualified... Retry: 10
Waiting for connection to be qualified... Retry: 11
Waiting for connection to be qualified... Retry: 12
Waiting for connection to be qualified... Retry: 13
Waiting for connection to be qualified... Retry: 14
Waiting for connection to be qualified... Retry: 15
Waiting for connection to be qualified... Retry: 16
Waiting for connection to be qualified... Retry: 17
Waiting for connection to be qualified... Retry: 18
Waiting for connection to be qualified... Retry: 19
Waiting for connection to be qualified... Retry: 20
Waiting for connection to be qualified... Retry: 21
Waiting for connection to be qualified... Retry: 22
Waiting for connection to be qualified... Retry: 23
Waiting for connection to be qualified... Retry: 24
Waiting for connection to be qualified... Retry: 25
Waiting for connection to be qualified... Retry: 26
Waiting for connection to be qualified... Retry: 27
Waiting for connection to be qualified... Retry: 28
Waiting for connection to be qualified... Retry: 29
Waiting for connection to be qualified... Retry: 30
___________________________ test_validate_fw_version ___________________________
     [0m [37m@pytest [39;49;00m.mark.order( [94m3 [39;49;00m) [90m [39;49;00m
     [94mdef [39;49;00m [90m  [39;49;00m [92mtest_validate_fw_version [39;49;00m(): [90m [39;49;00m
        [90m# Validate firmware version [39;49;00m [90m [39;49;00m
        [90m# 1. Get FW Version from each of devices [39;49;00m [90m [39;49;00m
        [90m# 2. Compare FW Version with expected value [39;49;00m [90m [39;49;00m
       device_1 = discover_device(device_id_1) [90m [39;49;00m
       device_2 = discover_device(device_id_2) [90m [39;49;00m
     [90m [39;49;00m
       timestamp_bootloader = get_time_stamp( [33m' [39;49;00m [33mbootloader-update [39;49;00m [33m' [39;49;00m) [90m [39;49;00m
       timestamp_firmware = get_time_stamp( [33m' [39;49;00m [33mlab [39;49;00m [33m' [39;49;00m) [90m [39;49;00m
     [90m [39;49;00m
>      bootloader_version, firmware_version, hardware_version = get_fw_version(device_1) [90m [39;49;00m
                                                                ^^^^^^^^^^^^^^^^^^^^^^^^ [90m [39;49;00m
test/functional/simple_test.py:107:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/functional/common.py:132: in get_fw_version
     [0mbootloader_version = link_send_command(device, write_cmd=viGetBuildInfo, index=BT_VER_INDEX) [90m [39;49;00m
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [90m [39;49;00m
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
device = <DEVICE ID 1939:1945 on Bus 005 Address 032>, write_cmd = 70
read_cmd = None, index = 0, kwargs = {}
req_obj = header {
  type: viGetBuildInfo
}
, req_bin = b'F\x00\x00', count = 5
     [0m [94mdef [39;49;00m [90m  [39;49;00m [92mlink_send_command [39;49;00m(device, write_cmd, read_cmd= [94mNone [39;49;00m, index= [94mNone [39;49;00m, **kwargs): [90m [39;49;00m
        clear_input_buffer(device) [90m [39;49;00m
        req_obj = Object() [90m [39;49;00m
        req_obj.header.type = write_cmd [90m [39;49;00m
         [94mif [39;49;00m kwargs: [90m [39;49;00m
             [94mif [39;49;00m  [96mlen [39;49;00m(kwargs) !=  [94m1 [39;49;00m: [90m [39;49;00m
                 [94mraise [39;49;00m  [96mValueError [39;49;00m( [33m" [39;49;00m [33mOnly one payload argument is allowed for oneof [39;49;00m [33m" [39;49;00m) [90m [39;49;00m
            field, value =  [96mnext [39;49;00m( [96miter [39;49;00m(kwargs.items())) [90m [39;49;00m
            req_obj. [92m__getattribute__ [39;49;00m(field).CopyFrom(value) [90m [39;49;00m
         [94mif [39;49;00m index: [90m [39;49;00m
            req_obj.header.obj_index = index [90m [39;49;00m
        req_bin = wire.proto_to_link(req_obj.SerializeToString()) [90m [39;49;00m
     [90m [39;49;00m
        count =  [94m0 [39;49;00m [90m [39;49;00m
         [94mwhile [39;49;00m count <  [94m5 [39;49;00m: [90m [39;49;00m
             [94mtry [39;49;00m: [90m [39;49;00m
                device.write( [94m0x01 [39;49;00m, req_bin) [90m [39;49;00m
                 [94mbreak [39;49;00m [90m [39;49;00m
             [94mexcept [39;49;00m  [96mException [39;49;00m  [94mas [39;49;00m e: [90m [39;49;00m
                 [96mprint [39;49;00m( [33mf [39;49;00m [33m" [39;49;00m [33mWrite failed:  [39;49;00m [33m{ [39;49;00me [33m} [39;49;00m [33m, retrying...  [39;49;00m [33m{ [39;49;00mcount [33m} [39;49;00m [33m" [39;49;00m) [90m [39;49;00m
                count +=  [94m1 [39;49;00m [90m [39;49;00m
                time.sleep( [94m0.2 [39;49;00m) [90m [39;49;00m
         [94melse [39;49;00m: [90m [39;49;00m
>            [94mraise [39;49;00m  [96mRuntimeError [39;49;00m( [33mf [39;49;00m [33m" [39;49;00m [33mFailed to write command after  [39;49;00m [33m{ [39;49;00mcount [33m} [39;49;00m [33m attempts [39;49;00m [33m" [39;49;00m) [90m [39;49;00m
E           RuntimeError: Failed to write command after 5 attempts
test/functional/link_protocol_usb_parser.py:41: RuntimeError
----------------------------- Captured stdout call -----------------------------
Write failed: [Errno 16] Resource busy, retrying... 0
Write failed: [Errno 16] Resource busy, retrying... 1
Write failed: [Errno 16] Resource busy, retrying... 2
Write failed: [Errno 16] Resource busy, retrying... 3
Write failed: [Errno 16] Resource busy, retrying... 4
=============================== warnings summary ===============================
test/functional/tools/att/AdauraAttenuator.py:13
  /root/builds/osaKnfEQQ/0/sine-bureau/link/test/functional/tools/att/AdauraAttenuator.py:13: DeprecationWarning: 'telnetlib' is deprecated and slated for removal in Python 3.13
    from telnetlib import Telnet
test/functional/simple_test.py::test_program_2_devices[006000314234500d20323657]
test/functional/simple_test.py::test_program_2_devices[006000314234500d20323657]
test/functional/simple_test.py::test_program_2_devices[005400404234500d20323657]
test/functional/simple_test.py::test_program_2_devices[005400404234500d20323657]
  <frozen _collections_abc>:813: DeprecationWarning: Will be removed in 1.0. Access properties with Device.properties.
test/functional/simple_test.py: 16 warnings
  <frozen _collections_abc>:807: DeprecationWarning: Will be removed in 1.0. Access properties with Device.properties.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
==================================== PASSES ====================================
_______________ test_program_2_devices[006000314234500d20323657] _______________
----------------------------- Captured stdout call -----------------------------
Device found: DEVICE ID 1939:1945 on Bus 005 Address 022 =================
bLength                :   0x12 (18 bytes)
bDescriptorType        :    0x1 Device
bcdUSB                 :  0x210 USB 2.1
bDeviceClass           :   0xef Miscellaneous
bDeviceSubClass        :    0x2
bDeviceProtocol        :    0x1
bMaxPacketSize0        :   0x40 (64 bytes)
idVendor               : 0x1939
idProduct              : 0x1945
bcdDevice              :    0x1 Device 0.01
iManufacturer          :    0x1 sine.engineering
iProduct               :    0x2 sine.link
iSerialNumber          :    0x6   0/006000314234500d20323657
bNumConfigurations     :    0x1
  CONFIGURATION 1: 400 mA ==================================
   bLength              :    0x9 (9 bytes)
   bDescriptorType      :    0x2 Configuration
   wTotalLength         :   0xa4 (164 bytes)
   bNumInterfaces       :    0x5
   bConfigurationValue  :    0x1
   iConfiguration       :    0x0
   bmAttributes         :   0x80 Bus Powered
   bMaxPower            :   0xc8 (400 mA)
    INTERFACE 0: Vendor Specific ===========================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x0
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x2
     bInterfaceClass    :   0xff Vendor Specific
     bInterfaceSubClass :    0x0
     bInterfaceProtocol :    0x0
     iInterface         :    0x3 sine.link BULK
      ENDPOINT 0x1: Bulk OUT ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :    0x1 OUT
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
      ENDPOINT 0x82: Bulk IN ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x82 IN
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
    INTERFACE 1: CDC Communication =========================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x1
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x1
     bInterfaceClass    :    0x2 CDC Communication
     bInterfaceSubClass :    0x2
     bInterfaceProtocol :    0x0
     iInterface         :    0x4 sine.link CDC1
      ENDPOINT 0x83: Interrupt IN ==========================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x83 IN
       bmAttributes     :    0x3 Interrupt
       wMaxPacketSize   :    0x8 (8 bytes)
       bInterval        :   0x10
    INTERFACE 2: CDC Data ==================================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x2
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x2
     bInterfaceClass    :    0xa CDC Data
     bInterfaceSubClass :    0x0
     bInterfaceProtocol :    0x0
     iInterface         :    0x0
      ENDPOINT 0x4: Bulk OUT ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :    0x4 OUT
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
      ENDPOINT 0x84: Bulk IN ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x84 IN
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
    INTERFACE 3: CDC Communication =========================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x3
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x1
     bInterfaceClass    :    0x2 CDC Communication
     bInterfaceSubClass :    0x2
     bInterfaceProtocol :    0x0
     iInterface         :    0x5 sine.link CDC2
      ENDPOINT 0x85: Interrupt IN ==========================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x85 IN
       bmAttributes     :    0x3 Interrupt
       wMaxPacketSize   :    0x8 (8 bytes)
       bInterval        :   0x10
    INTERFACE 4: CDC Data ==================================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x4
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x2
     bInterfaceClass    :    0xa CDC Data
     bInterfaceSubClass :    0x0
     bInterfaceProtocol :    0x0
     iInterface         :    0x0
      ENDPOINT 0x6: Bulk OUT ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :    0x6 OUT
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
      ENDPOINT 0x86: Bulk IN ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x86 IN
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
rebooting device...
waiting for the bootloader...
New device detected: node=/dev/sda vendor=dead model=4002 serial=1234567890
Device is mounted at: /media/byaremkiv/C926-4671
Removable storage detected: /media/byaremkiv/C926-4671
Firmware successfully copied to: /media/byaremkiv/C926-4671/RadioLink.encbin
Retrying to find device...
Device found: DEVICE ID 1939:1945 on Bus 005 Address 025 =================
bLength                :   0x12 (18 bytes)
bDescriptorType        :    0x1 Device
bcdUSB                 :  0x210 USB 2.1
bDeviceClass           :   0xef Miscellaneous
bDeviceSubClass        :    0x2
bDeviceProtocol        :    0x1
bMaxPacketSize0        :   0x40 (64 bytes)
idVendor               : 0x1939
idProduct              : 0x1945
bcdDevice              :    0x1 Device 0.01
iManufacturer          :    0x1 sine.engineering
iProduct               :    0x2 sine.link
iSerialNumber          :    0x6   0/006000314234500d20323657
bNumConfigurations     :    0x1
  CONFIGURATION 1: 400 mA ==================================
   bLength              :    0x9 (9 bytes)
   bDescriptorType      :    0x2 Configuration
   wTotalLength         :   0xa4 (164 bytes)
   bNumInterfaces       :    0x5
   bConfigurationValue  :    0x1
   iConfiguration       :    0x0
   bmAttributes         :   0x80 Bus Powered
   bMaxPower            :   0xc8 (400 mA)
    INTERFACE 0: Vendor Specific ===========================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x0
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x2
     bInterfaceClass    :   0xff Vendor Specific
     bInterfaceSubClass :    0x0
     bInterfaceProtocol :    0x0
     iInterface         :    0x3 sine.link BULK
      ENDPOINT 0x1: Bulk OUT ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :    0x1 OUT
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
      ENDPOINT 0x82: Bulk IN ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x82 IN
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
    INTERFACE 1: CDC Communication =========================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x1
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x1
     bInterfaceClass    :    0x2 CDC Communication
     bInterfaceSubClass :    0x2
     bInterfaceProtocol :    0x0
     iInterface         :    0x4 sine.link CDC1
      ENDPOINT 0x83: Interrupt IN ==========================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x83 IN
       bmAttributes     :    0x3 Interrupt
       wMaxPacketSize   :    0x8 (8 bytes)
       bInterval        :   0x10
    INTERFACE 2: CDC Data ==================================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x2
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x2
     bInterfaceClass    :    0xa CDC Data
     bInterfaceSubClass :    0x0
     bInterfaceProtocol :    0x0
     iInterface         :    0x0
      ENDPOINT 0x4: Bulk OUT ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :    0x4 OUT
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
      ENDPOINT 0x84: Bulk IN ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x84 IN
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
    INTERFACE 3: CDC Communication =========================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x3
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x1
     bInterfaceClass    :    0x2 CDC Communication
     bInterfaceSubClass :    0x2
     bInterfaceProtocol :    0x0
     iInterface         :    0x5 sine.link CDC2
      ENDPOINT 0x85: Interrupt IN ==========================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x85 IN
       bmAttributes     :    0x3 Interrupt
       wMaxPacketSize   :    0x8 (8 bytes)
       bInterval        :   0x10
    INTERFACE 4: CDC Data ==================================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x4
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x2
     bInterfaceClass    :    0xa CDC Data
     bInterfaceSubClass :    0x0
     bInterfaceProtocol :    0x0
     iInterface         :    0x0
      ENDPOINT 0x6: Bulk OUT ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :    0x6 OUT
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
      ENDPOINT 0x86: Bulk IN ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x86 IN
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
rebooting device...
waiting for the bootloader...
New device detected: node=/dev/sda vendor=dead model=4002 serial=1234567890
Device is mounted at: /media/byaremkiv/C926-4671
Removable storage detected: /media/byaremkiv/C926-4671
Firmware successfully copied to: /media/byaremkiv/C926-4671/RadioLink.encbin
_______________ test_program_2_devices[005400404234500d20323657] _______________
----------------------------- Captured stdout call -----------------------------
Device found: DEVICE ID 1939:1945 on Bus 005 Address 023 =================
bLength                :   0x12 (18 bytes)
bDescriptorType        :    0x1 Device
bcdUSB                 :  0x210 USB 2.1
bDeviceClass           :   0xef Miscellaneous
bDeviceSubClass        :    0x2
bDeviceProtocol        :    0x1
bMaxPacketSize0        :   0x40 (64 bytes)
idVendor               : 0x1939
idProduct              : 0x1945
bcdDevice              :    0x1 Device 0.01
iManufacturer          :    0x1 sine.engineering
iProduct               :    0x2 sine.link
iSerialNumber          :    0x6   0/005400404234500d20323657
bNumConfigurations     :    0x1
  CONFIGURATION 1: 400 mA ==================================
   bLength              :    0x9 (9 bytes)
   bDescriptorType      :    0x2 Configuration
   wTotalLength         :   0xa4 (164 bytes)
   bNumInterfaces       :    0x5
   bConfigurationValue  :    0x1
   iConfiguration       :    0x0
   bmAttributes         :   0x80 Bus Powered
   bMaxPower            :   0xc8 (400 mA)
    INTERFACE 0: Vendor Specific ===========================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x0
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x2
     bInterfaceClass    :   0xff Vendor Specific
     bInterfaceSubClass :    0x0
     bInterfaceProtocol :    0x0
     iInterface         :    0x3 sine.link BULK
      ENDPOINT 0x1: Bulk OUT ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :    0x1 OUT
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
      ENDPOINT 0x82: Bulk IN ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x82 IN
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
    INTERFACE 1: CDC Communication =========================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x1
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x1
     bInterfaceClass    :    0x2 CDC Communication
     bInterfaceSubClass :    0x2
     bInterfaceProtocol :    0x0
     iInterface         :    0x4 sine.link CDC1
      ENDPOINT 0x83: Interrupt IN ==========================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x83 IN
       bmAttributes     :    0x3 Interrupt
       wMaxPacketSize   :    0x8 (8 bytes)
       bInterval        :   0x10
    INTERFACE 2: CDC Data ==================================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x2
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x2
     bInterfaceClass    :    0xa CDC Data
     bInterfaceSubClass :    0x0
     bInterfaceProtocol :    0x0
     iInterface         :    0x0
      ENDPOINT 0x4: Bulk OUT ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :    0x4 OUT
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
      ENDPOINT 0x84: Bulk IN ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x84 IN
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
    INTERFACE 3: CDC Communication =========================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x3
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x1
     bInterfaceClass    :    0x2 CDC Communication
     bInterfaceSubClass :    0x2
     bInterfaceProtocol :    0x0
     iInterface         :    0x5 sine.link CDC2
      ENDPOINT 0x85: Interrupt IN ==========================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x85 IN
       bmAttributes     :    0x3 Interrupt
       wMaxPacketSize   :    0x8 (8 bytes)
       bInterval        :   0x10
    INTERFACE 4: CDC Data ==================================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x4
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x2
     bInterfaceClass    :    0xa CDC Data
     bInterfaceSubClass :    0x0
     bInterfaceProtocol :    0x0
     iInterface         :    0x0
      ENDPOINT 0x6: Bulk OUT ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :    0x6 OUT
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
      ENDPOINT 0x86: Bulk IN ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x86 IN
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
rebooting device...
waiting for the bootloader...
New device detected: node=/dev/sda vendor=dead model=4002 serial=1234567890
Device is mounted at: /media/byaremkiv/C926-4671
Removable storage detected: /media/byaremkiv/C926-4671
Firmware successfully copied to: /media/byaremkiv/C926-4671/RadioLink.encbin
Retrying to find device...
Device found: DEVICE ID 1939:1945 on Bus 005 Address 029 =================
bLength                :   0x12 (18 bytes)
bDescriptorType        :    0x1 Device
bcdUSB                 :  0x210 USB 2.1
bDeviceClass           :   0xef Miscellaneous
bDeviceSubClass        :    0x2
bDeviceProtocol        :    0x1
bMaxPacketSize0        :   0x40 (64 bytes)
idVendor               : 0x1939
idProduct              : 0x1945
bcdDevice              :    0x1 Device 0.01
iManufacturer          :    0x1 sine.engineering
iProduct               :    0x2 sine.link
iSerialNumber          :    0x6   0/005400404234500d20323657
bNumConfigurations     :    0x1
  CONFIGURATION 1: 400 mA ==================================
   bLength              :    0x9 (9 bytes)
   bDescriptorType      :    0x2 Configuration
   wTotalLength         :   0xa4 (164 bytes)
   bNumInterfaces       :    0x5
   bConfigurationValue  :    0x1
   iConfiguration       :    0x0
   bmAttributes         :   0x80 Bus Powered
   bMaxPower            :   0xc8 (400 mA)
    INTERFACE 0: Vendor Specific ===========================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x0
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x2
     bInterfaceClass    :   0xff Vendor Specific
     bInterfaceSubClass :    0x0
     bInterfaceProtocol :    0x0
     iInterface         :    0x3 sine.link BULK
      ENDPOINT 0x1: Bulk OUT ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :    0x1 OUT
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
      ENDPOINT 0x82: Bulk IN ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x82 IN
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
    INTERFACE 1: CDC Communication =========================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x1
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x1
     bInterfaceClass    :    0x2 CDC Communication
     bInterfaceSubClass :    0x2
     bInterfaceProtocol :    0x0
     iInterface         :    0x4 sine.link CDC1
      ENDPOINT 0x83: Interrupt IN ==========================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x83 IN
       bmAttributes     :    0x3 Interrupt
       wMaxPacketSize   :    0x8 (8 bytes)
       bInterval        :   0x10
    INTERFACE 2: CDC Data ==================================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x2
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x2
     bInterfaceClass    :    0xa CDC Data
     bInterfaceSubClass :    0x0
     bInterfaceProtocol :    0x0
     iInterface         :    0x0
      ENDPOINT 0x4: Bulk OUT ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :    0x4 OUT
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
      ENDPOINT 0x84: Bulk IN ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x84 IN
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
    INTERFACE 3: CDC Communication =========================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x3
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x1
     bInterfaceClass    :    0x2 CDC Communication
     bInterfaceSubClass :    0x2
     bInterfaceProtocol :    0x0
     iInterface         :    0x5 sine.link CDC2
      ENDPOINT 0x85: Interrupt IN ==========================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x85 IN
       bmAttributes     :    0x3 Interrupt
       wMaxPacketSize   :    0x8 (8 bytes)
       bInterval        :   0x10
    INTERFACE 4: CDC Data ==================================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x4
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x2
     bInterfaceClass    :    0xa CDC Data
     bInterfaceSubClass :    0x0
     bInterfaceProtocol :    0x0
     iInterface         :    0x0
      ENDPOINT 0x6: Bulk OUT ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :    0x6 OUT
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
      ENDPOINT 0x86: Bulk IN ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x86 IN
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
rebooting device...
waiting for the bootloader...
New device detected: node=/dev/sda vendor=dead model=4002 serial=1234567890
Device is mounted at: /media/byaremkiv/C926-4671
Removable storage detected: /media/byaremkiv/C926-4671
Firmware successfully copied to: /media/byaremkiv/C926-4671/RadioLink.encbin
- generated xml file: /root/builds/osaKnfEQQ/0/sine-bureau/link/output/test_report.xml -
==================  [31m [1m2 failed [0m,  [32m3 passed [0m,  [33m21 warnings [0m [31m in 53.82s [0m [31m ===================
Filename: None. Size: 37kb. View raw, , hex, or download this file.

This paste expires on 2025-07-09 16:50:26.772556. Pasted through deprecated-web.