Skip to content

Commission fails with Certs when using TH_CLI method #70

@Shadi-Silabs

Description

@Shadi-Silabs

Running below command:
th-cli run-tests -t TC_BINFO_2_1 --title TC_BINFO_2_1_wifi -p /home/ubuntu/pics/1.6/4338a_lighting/ep0 -c default_config_provisioned.json --endpoint 0

while I have default_config_provisioned.json as below:

{
  "network": {
    "fabric_id": 0,
    "thread": {
      "rcp_serial_path": "/dev/ttyACM0",
      "rcp_baudrate": 115200,
      "on_mesh_prefix": "fd11:22::/64",
      "network_interface": "eth0",
      "dataset": {
        "channel": 15,
        "panid": "0x1234",
        "extpanid": "1111111122222222",
        "networkkey": "00112233445566778899aabbccddeeff",
        "networkname": "DEMO"
      },
      "otbr_docker_image": null
    },
    "wifi": {
      "ssid": "Makdissi24",
      "password": "Safita_77"
    }
  },
  "dut_config": {
    "pairing_mode": "ble-wifi",
    "setup_code": "20202021",
    "discriminator": "1000",
    "chip_use_paa_certs": true,
    "trace_log": true
  },
  "test_parameters": {
    "paa-trust-store-path": "/var/paa-root-certs/",
    "storage-path": "admin_storage.json"
  }
}

According to the log file this is the command which is being executed:

python3 /root/python_testing/scripts/sdk/matter_testing_infrastructure/chip/testing/test_harness_client.py --commission --trace-to json:log --commissioning-method ble-wifi --wifi-ssid Makdissi24--wifi-passphrase Safita_77--discriminator 1000 --passcode 20202021 --paa-trust-store-path /var/paa-root-certs/ --storage-path admin_storage.json --endpoint 0

Note: I already copied my certs files to /var/paa-root-certs/.

Here are the full logs:

test_run_TC_BINFO_2_1_wifi.log

Noting that same test is passing with UI-Python with certs

This is running with Matte 1.6 TE2 (TH version: v2.15-beta2.2+spring2026)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions