Matter,Test harness,When testing the UI-python project with the test harness, may encounter a failure message indicating a timeout.

Hi. experts, I tested [TC-ACE-1.2] Subscriptions with Test harness, which is UI-Python. I execute it on Docker,./certification-tool/scripts/otbr/otbr _ start.sh; And write the parameters into the Test harness configuration, but the following error occurred when starting the test. Why? I tested the UI-Automated project successfully.

{
  "config": {
    "network": {
      "wifi": {
        "ssid": "testharness",
        "password": "wifi-password"
      },
      "thread": {
        "rcp_serial_path": "/dev/ttyACM0",
        "rcp_baudrate": 115200,
        "on_mesh_prefix": "fd15:35::/64",
        "network_interface": "eth0",
        "dataset": {
          "channel": "25",
          "panid": "0x2b35",
          "extpanid": "2b35dead5b35beef",
          "networkkey": "67892233445566778899aabbccdd5612",
          "networkname": "2b35"
        },
        "otbr_docker_image": null
      }
    },
    "dut_config": {
      "discriminator": "3210",
      "setup_code": "40634394",
      "pairing_mode": "ble-thread",
      "chip_timeout": null,
      "chip_use_paa_certs": true,
      "trace_log": true
    },
    "test_parameters": {
      "paa-trust-store-path": "/home/ubuntu/paa/",
      "thread-dataset-hex": "0e08000000000001000035060004001fffe00708fde12f5d1d157edd0410445d25ccc0c33e07290511d17cc612280c0402a0f7f8000300001901022b3502082b35dead5b35beef030432623335051067892233445566778899aabbccdd5612",
      "storage-path": "admin_storage.json"
    }
  },
  "pics": {
    "clusters": {
      "On/Off Cluster Test Plan": {
        "name": "On/Off Cluster Test Plan",
        "items": {
          "OO.S": {
            "number": "OO.S",
            "enabled": true
          },
          "OO.C": {
            "number": "OO.C",
            "enabled": false
          },
          "OO.S.A0000": {
            "number": "OO.S.A0000",
            "enabled": true
          },
          "OO.S.A4000": {
            "number": "OO.S.A4000",
            "enabled": true
          },
          "OO.S.A4001": {
            "number": "OO.S.A4001",
            "enabled": true
          },
          "OO.S.A4002": {
            "number": "OO.S.A4002",
            "enabled": true
          },
          "OO.S.A4003": {
            "number": "OO.S.A4003",
            "enabled": true
          },
          "OO.S.C00.Rsp": {
            "number": "OO.S.C00.Rsp",
            "enabled": true
          },
          "OO.S.C01.Rsp": {
            "number": "OO.S.C01.Rsp",
            "enabled": true
          },
          "OO.S.C02.Rsp": {
            "number": "OO.S.C02.Rsp",
            "enabled": true
          },
          "OO.S.C40.Rsp": {
            "number": "OO.S.C40.Rsp",
            "enabled": true
          },
          "OO.S.C41.Rsp": {
            "number": "OO.S.C41.Rsp",
            "enabled": true
          },
          "OO.S.C42.Rsp": {
            "number": "OO.S.C42.Rsp",
            "enabled": true
          },
          "OO.S.F00": {
            "number": "OO.S.F00",
            "enabled": true
          },
          "OO.S.F01": {
            "number": "OO.S.F01",
            "enabled": false
          },
          "OO.S.F02": {
            "number": "OO.S.F02",
            "enabled": false
          },
          "OO.M.ManuallyControlled": {
            "number": "OO.M.ManuallyControlled",
            "enabled": false
          },
          "OO.C.C00.Tx": {
            "number": "OO.C.C00.Tx",
            "enabled": false
          },
          "OO.C.C01.Tx": {
            "number": "OO.C.C01.Tx",
            "enabled": false
          },
          "OO.C.C02.Tx": {
            "number": "OO.C.C02.Tx",
            "enabled": false
          },
          "OO.C.C40.Tx": {
            "number": "OO.C.C40.Tx",
            "enabled": false
          },
          "OO.C.C41.Tx": {
            "number": "OO.C.C41.Tx",
            "enabled": false
          },
          "OO.C.C42.Tx": {
            "number": "OO.C.C42.Tx",
            "enabled": false
          }
        }
      }
    }
  }
}

Python Test Version: 50bcad170e6def6d56f2f5b34522a82aea9f3190
Setting up SDK container
th-sdk container started with configuration: {'privileged': True, 'detach': True, 'network': 'host', 'name': 'th-sdk', 'command': 'tail -f /dev/null', 'volumes': {'/var/run/dbus/system_bus_socket': {'bind': '/var/run/dbus/system_bus_socket', 'mode': 'rw'}, PosixPath('/var/tmp'): {'bind': '/logs', 'mode': 'rw'}, PosixPath('/var/paa-root-certs'): {'bind': '/paa-root-certs', 'mode': 'ro'}, PosixPath('/var/credentials/development'): {'bind': '/credentials/development', 'mode': 'ro'}, PosixPath('/home/ubuntu/certification-tool/backend/test_collections/matter/sdk_tests/sdk_checkout/python_testing'): {'bind': '/root/python_testing', 'mode': 'rw'}, PosixPath('/home/ubuntu/certification-tool/backend/test_collections/matter/sdk_tests/support/python_testing/models/rpc_client/test_harness_client.py'): {'bind': '/root/python_testing/scripts/sdk/test_harness_client.py', 'mode': 'rw'}}}
Create PICS file for DUT
Sending command to SDK container: /bin/sh -c "echo 'OO.S=1 OO.C=0 OO.S.A0000=1 OO.S.A4000=1 OO.S.A4001=1 OO.S.A4002=1 OO.S.A4003=1 OO.S.C00.Rsp=1 OO.S.C01.Rsp=1 OO.S.C02.Rsp=1 OO.S.C40.Rsp=1 OO.S.C41.Rsp=1 OO.S.C42.Rsp=1 OO.S.F00=1 OO.S.F01=0 OO.S.F02=0 OO.M.ManuallyControlled=0 OO.C.C00.Tx=0 OO.C.C01.Tx=0 OO.C.C02.Tx=0 OO.C.C40.Tx=0 OO.C.C41.Tx=0 OO.C.C42.Tx=0 PICS_SDK_CI_ONLY=0 PICS_SKIP_SAMPLE_APP=1 PICS_USER_PROMPT=1' > /var/tmp/pics"
User prompt: "Make sure the DUT is in Commissioning Mode"
User chose prompt option DONE
Commission DUT
Sending command to SDK container: python3 /root/python_testing/scripts/sdk/test_harness_client.py commission --trace-to json:log --discriminator 3210 --passcode 40634394 --commissioning-method ble-thread --paa-trust-store-path /home/ubuntu/paa/ --thread-dataset-hex 0e08000000000001000035060004001fffe00708fde12f5d1d157edd0410445d25ccc0c33e07290511d17cc612280c0402a0f7f8000300001901022b3502082b35dead5b35beef030432623335051067892233445566778899aabbccdd5612 --storage-path admin_storage.json
[1728989025.134762][13:13] CHIP:CTL: Setting attestation nonce to random value
[1728989025.137221][13:13] CHIP:CTL: Setting CSR nonce to random value
[1728989025.138888][13:13] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_kvs
[1728989025.139391][13:13] CHIP:DL: writing settings to file (/tmp/chip_kvs-x5wF7X)
[1728989025.139678][13:13] CHIP:DL: renamed tmp file to file (/tmp/chip_kvs)
[1728989025.139990][13:13] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_factory.ini
[1728989025.140307][13:13] CHIP:DL: writing settings to file (/tmp/chip_factory.ini-gZeC0v)
[1728989025.140536][13:13] CHIP:DL: renamed tmp file to file (/tmp/chip_factory.ini)

Related