project-chip / certification-tool

A test harness and tooling designed to simplify development, testing, and certification for devices, guided by the Connectivity Standards Alliance.
https://csa-iot.org/
Apache License 2.0
42 stars 24 forks source link

[Bug] [TC-SC-7.1] Not able to commission with QR-Code from TH. #348

Closed yinyihu-silabs closed 2 months ago

yinyihu-silabs commented 3 months ago

Describe the bug

TC-SC-7.1: I’m able to run from Python Docker but UI-Python is failing. From UI-Python I’m getting this error: Didn't find any CertificateAuthorities in storage -- creating a new CertificateAuthority + FabricAdmin... from Docker I use --bool-arg post_cert_test:true --qr-code MT:0MZJ1KQS02-10648G00 to the command. from UI: I have these test parameters

    "test_parameters": {
      "timeout": 10000,
      "thread-dataset-hex": "000300001902085b35dead5b35beef051000112233445566778899aabbccddeeff01025b35",
      "bool-arg": "post_cert_test:true",
      "qr-code": "MT:0MZJ1KQS02-10648G00"
    }

Test works when running direction from Python Docker, fail in UI-Python. TC-SC-7.1-UI-Python.log TC_SC_7_1-PythonDocker.log

TH only supports pairing method of onnetwork, ble-thread, and ble-wifi and this test will require support for code, code-thread, and code-wifi

Steps to reproduce the behavior

No response

Expected behavior

No response

Log files

No response

PICS file

No response

Screenshots

No response

Environment

TH Version: v2.11-beta2+fall2024

Additional Information

No response

raju-apple commented 3 months ago

@yinyihu-silabs can you help validating the fix to check to see if this fixes your issue ? @rquidute will provide the branch details to try it out. Thanks !

rquidute commented 3 months ago

Hi @yinyihu-silabs could you please update your code by using the command bellow at certification-tool folder?

Please let us know if this fixes the issue.