project-chip / connectedhomeip

Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://buildwithmatter.com
Apache License 2.0
7.45k stars 1.99k forks source link

[CERT-TEST-FAILURE] TC_MCORE_FS_1_3 - Error encountered due to the --secured-device-port argument not being implemented, preventing the fabric-admin interactive shell from starting. #34707

Closed Rajashreekalmane closed 2 months ago

Rajashreekalmane commented 2 months ago

Feature Area

Other

Test Case

TC_MCORE_FS_1_3

Reproduction steps

While executing the test case test_TC_MCORE_FS_1_3, the test failed due to the --secured-device-port argument not existing in the fabric-admin command. This issue caused the command to fail and the test to abort.

TH/TH_FSA - python controller commands used to build -

TH_SERVER - fabric admin Command used to build -

DUT/DUT_FSA - fabric-bridge-app

Command used to launch the DUT : ./fabric-bridge-app

Command used to run the python script : python3 TC_MCORE_FS_1_3.py --commissioning-method on-network --discriminator 3840 --passcode 20202021 --paa-trust-store-path ../../credentials/development/paa-root-certs/ --storage-path admin_storage.json --string-arg th_server_app_path:/home/ubuntu/Jul_Dut/connectedhomeip/out/fabric-admin/fabric-admin

[MatterTest] 08-01 12:24:00.594 ERROR Long dispatch time: 111 ms, for event type 2 [MatterTest] 08-01 12:24:00.596 INFO [Test] test_TC_MCORE_FS_1_3 [MatterTest] 08-01 12:24:00.597 INFO Starting test from /home/ubuntu/Jul_Dut/connectedhomeip/src/python_testing/TC_MCORE_FS_1_3.py: test_TC_MCORE_FS_1_3 - 4 steps [MatterTest] 08-01 12:24:00.598 INFO Test Step 0 : Commissioning DUT to TH, already done [MatterTest] 08-01 12:24:00.599 INFO Test Step 1 : DUT_FSA commissions TH_SED_DUT to DUT_FSAs fabric and generates a UniqueID [MatterTest] 08-01 12:24:00.600 INFO Found an existing secure session to [1:0000000012344321]! [MatterTest] 08-01 12:24:00.603 INFO 0 data version filters provided, 0 not relevant, 0 encoded, 0 skipped due to lack of space [MatterTest] 08-01 12:24:00.604 INFO <<< [E:61693i S:49875 M:93987509] (S) Msg TX to 1:0000000012344321 [4A96] [UDP:[fe80::a70c:61dc:df51:6945%eth0]:5540] --- Type 0001:02 (IM:ReadRequest) (B:51) [MatterTest] 08-01 12:24:00.606 INFO >>> [E:61693i S:49875 M:133921994 (Ack:93987509)] (S) Msg RX from 1:0000000012344321 [4A96] --- Type 0001:05 (IM:ReportData) (B:72) [MatterTest] 08-01 12:24:00.615 INFO <<< [E:61693i S:49875 M:93987510 (Ack:133921994)] (S) Msg TX to 1:0000000012344321 [4A96] [UDP:[fe80::a70c:61dc:df51:6945%eth0]:5540] --- Type 0000:10 (SecureChannel:StandaloneAck) (B:34) [MatterTest] 08-01 12:24:00.616 INFO Starting TH device for for DUT ecosystem [MatterTest] 08-01 12:24:00.619 INFO Started TH device for for DUT ecosystem [1722515040.816] [22137:22137] [-] InitArgs: Optional argument --secured-device-port does not exist. Usage: /home/ubuntu/Jul_Dut/connectedhomeip/out/fabric-admin/fabric-admin interactive start [--log-file-path] [--paa-trust-store-path] [--cd-trust-store-path] [--commissioner-name] [--commissioner-nodeid] [--use-max-sized-certs] [--only-allow-trusted-cd-keys] [--trace_file] [--trace_log] [--trace_decode] [--trace-to] [--ble-adapter] [--storage-directory] [--commissioner-vendor-id] [--advertise-operational]

Bug prevalence

Everytime

GitHub hash of the SDK that was being used

5d280dedd0bcea407f575aef11e67c8bb7f0a7a1

Platform

raspi

Anything else?

PFA log below TC_MCORE_FS_1_3.txt

Python Script reference : https://github.com/project-chip/connectedhomeip/blob/master/src/python_testing/TC_MCORE_FS_1_3.py

Rajashreekalmane commented 2 months ago

to validate this test case used the wrong command hence closing this issue