connectedhomeip icon indicating copy to clipboard operation
connectedhomeip copied to clipboard

Facing pairing issues for ECM test of Multi Fabrics testcases

Open ghost opened this issue 2 years ago • 9 comments

Summary: Facing Pairing issue for ECM tests. if commissioning window is opened for 1st Commissioner ,if we try to open commissioning process with DUT_CE for 2 nd Commissioner showing FAILURE response and its blocking following tests TC-MF-1.5 TC-MF-1.13

Testplan screenshot: image image

Execution screenshot: image

ghost avatar Apr 23 '22 06:04 ghost

This issue was created by me using a account that i had to delete due to access issues, I will continue to follow these issues with my current id.

manjunath-grl avatar May 11 '22 06:05 manjunath-grl

Added diff: https://github.com/project-chip/connectedhomeip/compare/master...manjunath-grl:connectedhomeip:Commissioning_error

manjunath-grl avatar Jul 26 '22 12:07 manjunath-grl

@manjunath-grl does this happen while testing manually as well ?

raju-apple avatar Jul 26 '22 14:07 raju-apple

@raju-apple discussed with QA team they are not facing this issue and they are following the testplan no Preconditions are there and script is also as per testplan but in " step 13: TH_CR2 starts a commissioning process with DUT_CE " we are getting failure response when executed. YAML script TC_CADMIN_1_5.

manjunath-grl avatar Jul 26 '22 14:07 manjunath-grl

@krypton36 can you please check this issue out when you get a chance ?

raju-apple avatar Jul 26 '22 23:07 raju-apple

The PAKEVerifier and the setup PIN code do not match. The setup qr parses to the following (20202021): Screenshot 2022-07-27 at 1 06 21 PM

The PAKEVerifier is using the following (47514138): Screenshot 2022-07-27 at 1 06 38 PM

This corresponds to the error message: Failed to verify peer's MAC. This can happen when setup code is incorrect.

Please make sure that the PAKEVerifier for ECM and the SetupQRCode pin code match.

krypton36 avatar Jul 27 '22 20:07 krypton36

@krypton36 can you please tell the steps how to generate PAKEVerifier using setup PIN code.

manjunath-grl avatar Jul 28 '22 06:07 manjunath-grl

gn gen out/host ninja -v -C out/host spake2p ./out/host/spake2p gen-verifier -p 20202021 -i 1000 -l 16 -s $(echo -n "SPAKE2P Key Salt" | od -A n -t x1 | xxd -r -p | base64) -o pake_verifier.txt

krypton36 avatar Aug 01 '22 20:08 krypton36

@raju-apple can you please close the ticket its resolved.

manjunath-grl avatar Aug 10 '22 08:08 manjunath-grl

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar Feb 11 '23 18:02 stale[bot]

This stale issue has been automatically closed. Thank you for your contributions.

stale[bot] avatar Feb 19 '23 07:02 stale[bot]