project-chip / matter-test-scripts

Test scripts related to Matter Certification
https://csa-iot.org/
Apache License 2.0
9 stars 3 forks source link

[Bug] [TC-SWTCH-2.5] fails due to missing --app-pid on physical device #346

Closed adamb-q closed 2 months ago

adamb-q commented 2 months ago

Describe the bug

The test is failing with an error: The --app-pid flag must be set when usage of button simulation named pipe is required (e.g. CI), but the actual device is physical.

[TC-SWTCH-2.5]_[eWg0ZwBp]_TH_log.log

Steps to reproduce the behavior

No response

Expected behavior

No response

Log files

No response

PICS file

No response

Screenshots

No response

Environment

Version: v2.11-beta2+fall2024 Sha: bbeda31

Additional Information

No response

rquidute commented 2 months ago

Hi @cecille Could you please take a look on this?

cecille commented 2 months ago

Are you attempting to use the button simulator on a physical device?

Does your pics file have PICS_SDK_CI_ONLY set?

adamb-q commented 2 months ago

I was not passing any PICS to the test, I used the command provided in excel instructions: python3 TC_SWTCH.py --commissioning-method on-network --discriminator 3840 --passcode 20202021 --storage-path admin_storage.json --paa-trust-store-path /credentials/development/paa-root-certs/ --tests test_TC_SWTCH_2_5 I was using physical device, and skipped app_id and use_button_simulator:true params, like it was suggested on slack

cecille commented 2 months ago

fixed by https://github.com/project-chip/connectedhomeip/pull/34986