From 3ba32f75b871d75a20b2a3c7bfedb77dfdd77633 Mon Sep 17 00:00:00 2001 From: Justin Wood Date: Fri, 9 Sep 2022 23:53:45 -0700 Subject: [PATCH] Modified script Sep 06 (#22520) * Modified script Sep 06 (#22410) * Modified Manual and automation script Test_TC_CC_4_5 Test_TC_CC_5_4 Test_TC_CC_7_5 Test_TC_DRLK_2_2 Test_TC_G_3_2 Test_TC_IDM_4_1 Test_TC_LTIME_1_1 Test_TC_LUNIT_1_1 Test_TC_LVL_2_3 Test_TC_LVL_8_1 Test_TC_OPCREDS_3_3 Test_TC_SC_4_7 Test_TC_ULABEL_3_1 Test_TC_OO_1_1 Test_TC_DGTHREAD_1_1 Test_TC_DGTHREAD_2_1 * Auto generated files * Restyled by whitespace * Modified DGTHREAD.S.F.00 PICS * Auto generated files * Modified CC scripts * Auto generated files * Modified scripts Sep 7 Test_TC_BIND_2_3.yaml Test_TC_CADMIN_1_1.yaml Test_TC_CADMIN_1_2.yaml Test_TC_CADMIN_1_7.yaml Test_TC_CADMIN_1_8.yaml Test_TC_CADMIN_1_9.yaml Test_TC_CADMIN_1_10.yaml Test_TC_CADMIN_1_11.yaml Test_TC_CADMIN_1_12.yaml Test_TC_CADMIN_1_13.yaml Test_TC_CADMIN_1_14.yaml Test_TC_CADMIN_1_15.yaml Test_TC_CADMIN_1_16.yaml Test_TC_CADMIN_1_17.yaml Test_TC_CADMIN_1_18.yaml Test_TC_CNET_1_3.yaml Test_TC_CNET_4_1.yaml Test_TC_CNET_4_2.yaml Test_TC_CNET_4_3.yaml Test_TC_CNET_4_10.yaml Test_TC_CNET_4_11.yaml Test_TC_CNET_4_12.yaml Test_TC_CNET_4_15.yaml Test_TC_CNET_4_16.yaml Test_TC_CNET_4_17.yaml Test_TC_CNET_4_18.yaml Test_TC_CNET_4_19.yaml Test_TC_CNET_4_20.yaml Test_TC_CNET_4_21.yaml Test_TC_DA_1_1.yaml Test_TC_DA_1_4.yaml Test_TC_DA_1_6.yaml Test_TC_DA_1_7.yaml Test_TC_DD_1_5.yaml Test_TC_DD_1_8.yaml Test_TC_DD_1_9.yaml Test_TC_DD_1_13.yaml Test_TC_DD_2_1.yaml Test_TC_DD_3_1.yaml Test_TC_DD_3_5.yaml Test_TC_DD_3_8.yaml Test_TC_DD_3_9.yaml Test_TC_DD_3_17.yaml Test_TC_DD_3_19.yaml Test_TC_DGGEN_3_1.yaml Test_TC_DGTHREAD_3_1.yaml Test_TC_DGTHREAD_3_2.yaml Test_TC_DGTHREAD_3_3.yaml Test_TC_DGTHREAD_3_4.yaml Test_TC_DGWIFI_3_1.yaml Test_TC_DGWIFI_3_2.yaml Test_TC_IDM_6_1.yaml Test_TC_IDM_6_2.yaml Test_TC_IDM_8_1.yaml Test_TC_OCC_2_4.yaml Test_TC_OPCREDS_3_1.yaml Test_TC_OPCREDS_3_4.yaml Test_TC_OPCREDS_3_5.yaml Test_TC_PS_2_2.yaml Test_TC_PSCFG_2_2.yaml Test_TC_ULABEL_3_1.yaml Test_TC_WNCV_5_1.yaml Test_TC_WNCV_7_1.yaml * Auto generated files * Restyled by whitespace * Modified DGGEN-2.2 Manual script * Modified CC and DRLK-2.9 script * Auto generated files * Fixed issue #2216 and #2219 * Auto generated files Co-authored-by: Restyled.io * ZAP restyle Co-authored-by: manjunath-grl <102359958+manjunath-grl@users.noreply.github.com> Co-authored-by: Restyled.io Co-authored-by: raju-apple <84206864+raju-apple@users.noreply.github.com> --- src/app/tests/suites/certification/PICS.yaml | 9 +- .../certification/Test_TC_BIND_2_3.yaml | 43 +- .../certification/Test_TC_CADMIN_1_1.yaml | 241 +++--- .../certification/Test_TC_CADMIN_1_10.yaml | 57 -- .../certification/Test_TC_CADMIN_1_11.yaml | 2 +- .../certification/Test_TC_CADMIN_1_12.yaml | 236 ++++-- .../certification/Test_TC_CADMIN_1_13.yaml | 108 ++- .../certification/Test_TC_CADMIN_1_14.yaml | 322 ++++---- .../certification/Test_TC_CADMIN_1_15.yaml | 7 +- .../certification/Test_TC_CADMIN_1_16.yaml | 7 +- .../certification/Test_TC_CADMIN_1_17.yaml | 420 ++++++---- .../certification/Test_TC_CADMIN_1_18.yaml | 433 ++++++---- .../certification/Test_TC_CADMIN_1_2.yaml | 289 ++++--- .../certification/Test_TC_CADMIN_1_7.yaml | 83 +- .../certification/Test_TC_CADMIN_1_8.yaml | 88 +- .../certification/Test_TC_CADMIN_1_9.yaml | 65 -- .../suites/certification/Test_TC_CC_3_1.yaml | 14 +- .../suites/certification/Test_TC_CC_3_2.yaml | 10 +- .../suites/certification/Test_TC_CC_3_3.yaml | 6 +- .../suites/certification/Test_TC_CC_4_1.yaml | 2 +- .../suites/certification/Test_TC_CC_4_2.yaml | 6 +- .../suites/certification/Test_TC_CC_4_3.yaml | 10 +- .../suites/certification/Test_TC_CC_4_4.yaml | 12 +- .../suites/certification/Test_TC_CC_4_5.yaml | 38 +- .../suites/certification/Test_TC_CC_5_1.yaml | 12 +- .../suites/certification/Test_TC_CC_5_2.yaml | 32 +- .../suites/certification/Test_TC_CC_5_4.yaml | 9 + .../suites/certification/Test_TC_CC_6_1.yaml | 12 +- .../suites/certification/Test_TC_CC_7_1.yaml | 14 +- .../suites/certification/Test_TC_CC_7_2.yaml | 4 +- .../suites/certification/Test_TC_CC_7_3.yaml | 8 +- .../suites/certification/Test_TC_CC_7_4.yaml | 8 +- .../suites/certification/Test_TC_CC_7_5.yaml | 9 + .../certification/Test_TC_CNET_1_3.yaml | 7 +- .../certification/Test_TC_CNET_4_1.yaml | 6 +- .../certification/Test_TC_CNET_4_10.yaml | 2 +- .../certification/Test_TC_CNET_4_11.yaml | 6 +- .../certification/Test_TC_CNET_4_12.yaml | 10 +- .../certification/Test_TC_CNET_4_15.yaml | 10 +- .../certification/Test_TC_CNET_4_16.yaml | 10 +- .../certification/Test_TC_CNET_4_17.yaml | 2 +- .../certification/Test_TC_CNET_4_18.yaml | 2 +- .../certification/Test_TC_CNET_4_19.yaml | 2 +- .../certification/Test_TC_CNET_4_2.yaml | 4 +- .../certification/Test_TC_CNET_4_20.yaml | 2 +- .../certification/Test_TC_CNET_4_21.yaml | 2 +- .../certification/Test_TC_CNET_4_3.yaml | 6 +- .../suites/certification/Test_TC_DA_1_1.yaml | 128 +-- .../suites/certification/Test_TC_DA_1_4.yaml | 594 +++++++------ .../suites/certification/Test_TC_DA_1_6.yaml | 10 +- .../suites/certification/Test_TC_DA_1_7.yaml | 218 +---- .../suites/certification/Test_TC_DD_1_13.yaml | 12 +- .../suites/certification/Test_TC_DD_1_5.yaml | 5 - .../suites/certification/Test_TC_DD_1_8.yaml | 10 - .../suites/certification/Test_TC_DD_1_9.yaml | 30 +- .../suites/certification/Test_TC_DD_2_1.yaml | 24 +- .../suites/certification/Test_TC_DD_3_1.yaml | 177 +--- .../suites/certification/Test_TC_DD_3_17.yaml | 10 - .../suites/certification/Test_TC_DD_3_19.yaml | 8 +- .../suites/certification/Test_TC_DD_3_5.yaml | 70 +- .../suites/certification/Test_TC_DD_3_8.yaml | 5 - .../suites/certification/Test_TC_DD_3_9.yaml | 15 +- .../certification/Test_TC_DGGEN_2_2.yaml | 10 +- .../certification/Test_TC_DGGEN_3_1.yaml | 2 +- .../certification/Test_TC_DGTHREAD_1_1.yaml | 52 +- .../certification/Test_TC_DGTHREAD_2_1.yaml | 4 +- .../certification/Test_TC_DGTHREAD_3_1.yaml | 2 +- .../certification/Test_TC_DGTHREAD_3_2.yaml | 2 +- .../certification/Test_TC_DGTHREAD_3_3.yaml | 2 +- .../certification/Test_TC_DGTHREAD_3_4.yaml | 2 +- .../certification/Test_TC_DGWIFI_1_1.yaml | 20 +- .../certification/Test_TC_DGWIFI_3_1.yaml | 2 +- .../certification/Test_TC_DGWIFI_3_2.yaml | 2 +- .../certification/Test_TC_DRLK_2_2.yaml | 54 +- .../certification/Test_TC_DRLK_2_9.yaml | 43 +- .../suites/certification/Test_TC_G_3_2.yaml | 16 +- .../suites/certification/Test_TC_IDM_4_1.yaml | 3 +- .../suites/certification/Test_TC_IDM_6_1.yaml | 3 +- .../suites/certification/Test_TC_IDM_6_2.yaml | 6 +- .../suites/certification/Test_TC_IDM_8_1.yaml | 17 +- .../certification/Test_TC_LTIME_1_1.yaml | 2 +- .../certification/Test_TC_LUNIT_1_1.yaml | 2 +- .../suites/certification/Test_TC_LVL_2_3.yaml | 2 +- .../suites/certification/Test_TC_LVL_8_1.yaml | 5 + .../suites/certification/Test_TC_OCC_2_4.yaml | 2 +- .../suites/certification/Test_TC_OO_1_1.yaml | 2 +- .../certification/Test_TC_OPCREDS_3_1.yaml | 142 ++-- .../certification/Test_TC_OPCREDS_3_3.yaml | 50 +- .../certification/Test_TC_OPCREDS_3_4.yaml | 40 +- .../certification/Test_TC_OPCREDS_3_5.yaml | 26 +- .../certification/Test_TC_PSCFG_2_2.yaml | 2 +- .../suites/certification/Test_TC_PS_2_2.yaml | 8 +- .../suites/certification/Test_TC_SC_4_7.yaml | 1 + .../certification/Test_TC_ULABEL_3_1.yaml | 9 +- .../certification/Test_TC_WNCV_5_1.yaml | 6 +- .../certification/Test_TC_WNCV_7_1.yaml | 4 +- .../tests/suites/certification/ci-pics-values | 7 +- .../chip-tool/zap-generated/test/Commands.h | 778 ++++++++---------- .../zap-generated/test/Commands.h | 520 +++++++----- 99 files changed, 2875 insertions(+), 2978 deletions(-) diff --git a/src/app/tests/suites/certification/PICS.yaml b/src/app/tests/suites/certification/PICS.yaml index 917e3f31ef013a..b306ddbe24bb4b 100644 --- a/src/app/tests/suites/certification/PICS.yaml +++ b/src/app/tests/suites/certification/PICS.yaml @@ -3077,9 +3077,6 @@ PICS: - label: "Is the device a barrier access device?" id: MCORE.DD.DEV_BARRIER - - label: "Does the device have a vendor specific information element (IE)?" - id: MCORE.DD.IE - - label: "Does the device or device packaging have a QR code based onboarding payload?" @@ -3724,10 +3721,10 @@ PICS: id: DGTHREAD.S.A0039 - label: "Does the DUT-server support the Delay attribute?" - id: DGTHREAD.S.A003a + id: DGTHREAD.S.A003A - label: "Does the DUT-server support the SecurityPolicy attribute?" - id: DGTHREAD.S.A003b + id: DGTHREAD.S.A003B - label: "Does the DUT-server support the ChannelPage0Mask attribute?" id: DGTHREAD.S.A003c @@ -5568,4 +5565,4 @@ PICS: id: MCORE.IDM.C.SubscribeRequest.MultipleAttributes - label: "Does the device support the Factory Reset Method?" - id: MCORE.UI.FACTORYRESET + id: PICS_MCORE_UI_FACTORYRESET diff --git a/src/app/tests/suites/certification/Test_TC_BIND_2_3.yaml b/src/app/tests/suites/certification/Test_TC_BIND_2_3.yaml index 29ad2f893085a4..4425224b2579f5 100644 --- a/src/app/tests/suites/certification/Test_TC_BIND_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_BIND_2_3.yaml @@ -226,6 +226,29 @@ tests: "TH1 writes Binding entry into DUT with Entry 1: Group = The Group ID in the AddGroup command sent from TH1 to TH2" verification: | + Before write the binding entries run the ACL Commands: + + Run this cmmd for [ nRF52840-DK ]Thread device in chip-tool: + + ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null },{"fabricIndex": 1, "privilege": 4, "authMode": 3, "subjects": [1], "targets": null }]" 74 0 + + On TH1(Chip-tool), Verify the success response for Acl: + + [1659075680.943991][2687:2692] CHIP:DMG: StatusIB = + [1659075680.944052][2687:2692] CHIP:DMG: { + [1659075680.944116][2687:2692] CHIP:DMG: status = 0x00 (SUCCESS), + + Run this cmmd for lighting app in chip-tool: + + ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null },{"fabricIndex": 1, "privilege": 4, "authMode": 3, "subjects": [1], "targets": null }]" 2 0 + + On TH1(Chip-tool), Verify the success response for Acl: + + [1659075680.943991][2687:2692] CHIP:DMG: StatusIB = + [1659075680.944052][2687:2692] CHIP:DMG: { + [1659075680.944116][2687:2692] CHIP:DMG: status = 0x00 (SUCCESS), + + Run this cmmd for [ nRF52840-DK ]Thread device in chip-tool: ./chip-tool binding write binding "[{"group" : "0x0001"}]" 74 1 @@ -248,26 +271,6 @@ tests: entries" PICS: OO.C.C01.Tx verification: | - Run this cmmd for [ nRF52840-DK ]Thread device in chip-tool: - - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null },{"fabricIndex": 1, "privilege": 4, "authMode": 3, "subjects": [1], "targets": null }]" 74 0 - - On TH1(Chip-tool), Verify the success response for Acl: - - [1659075680.943991][2687:2692] CHIP:DMG: StatusIB = - [1659075680.944052][2687:2692] CHIP:DMG: { - [1659075680.944116][2687:2692] CHIP:DMG: status = 0x00 (SUCCESS), - - Run this cmmd for lighting app in chip-tool: - - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects": [112233], "targets": null },{"fabricIndex": 1, "privilege": 4, "authMode": 3, "subjects": [1], "targets": null }]" 2 0 - - On TH1(Chip-tool), Verify the success response for Acl: - - [1659075680.943991][2687:2692] CHIP:DMG: StatusIB = - [1659075680.944052][2687:2692] CHIP:DMG: { - [1659075680.944116][2687:2692] CHIP:DMG: status = 0x00 (SUCCESS), - Press button no.2 on nrf52840 DK thread board disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_1.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_1.yaml index 6bfdea56d5dde6..e89160b7568c9d 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_1.yaml @@ -54,25 +54,12 @@ tests: ./chip-tool pairing open-commissioning-window 1 1 400 2000 3841 - Verify Manual pairing code On TH_CR1(CHIP-TOOL) Log - CHIP:IN: Sending encrypted msg 0xaaaad3464d10 with MessageCounter:0 to 0x0000000000000001 at monotonic time: 5805157 msec - [1635691999.946536][3822:3827] CHIP:DMG: ICR moving to [CommandSen] - [1635691999.946586][3822:3827] CHIP:CTL: Manual pairing code: [35407541839] - [1635691999.946650][3822:3827] CHIP:CTL: SetupQRCode: [MT:00000CQM00G6V851H10] - [1635691999.946802][3822:3827] CHIP:EM: Sending Standalone Ack for MessageCounter:3234931243 on exchange 35324i + Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: - - On TH_CE(All-cluster-app) log - - CHIP minimal mDNS started advertising. - [1635687658.683388][3792:3792] CHIP:DIS: Failed to find a valid admin pairing. Node ID unknown - [1635687658.683427][3792:3792] CHIP:DIS: Start dns-sd server - no current nodeId - [1635687658.683456][3792:3792] CHIP:DL: MAC is not known, using a default. - [1635687658.683522][3792:3792] CHIP:DIS: Advertise commission parameter vendorID=9050 productID=65279 discriminator=3840/00 - [1635687658.683597][3792:3792] CHIP:DIS: CHIP minimal mDNS configured as "Commissionable node device". - [1635687658.684345][3792:3792] CHIP:DIS: Broadcasting mDns reply for query from 192.168.0.225 - [1635687658.687201][3792:3792] CHIP:DIS: Broadcasting mDns reply for query from 192.168.0.225 + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: "TH_CR1 sends command to TH_CE to read the list of Fabrics" @@ -86,17 +73,39 @@ tests: Verify 1 entry in the Fabrics list attributeOn TH_CR1(CHIP-TOOL) Log - CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 3621507058 - [1649245801.244173][10091:10096] CHIP:TOO: Fabrics: 1 entries - [1649245801.244305][10091:10096] CHIP:TOO: [1]: { - [1649245801.244348][10091:10096] CHIP:TOO: RootPublicKey: 045541017FCEFD0D83963C9ED7F21380C6B789EB989B5D20DC318FAE92D60D0F685666505E9C4F86C49ADC71AB3A8B9B44FD43214CF9BE2B6D47DE01F28FE1544F - [1649245801.244400][10091:10096] CHIP:TOO: VendorId: 65521 - [1649245801.244431][10091:10096] CHIP:TOO: FabricId: 1 - [1649245801.244461][10091:10096] CHIP:TOO: NodeId: 1 - [1649245801.244491][10091:10096] CHIP:TOO: Label: - [1649245801.244521][10091:10096] CHIP:TOO: FabricIndex: 1 - [1649245801.244552][10091:10096] CHIP:TOO: } - [1649245801.244671][10091:10096] CHIP:EM: Sending Standalone Ack for MessageCounter:8407998 on exchange 12989i + Verify TH_CE reports 1 entry in fabrics list + + + [1661486369.837260][7071:7071] CHIP:DMG: AttributeReportIB = + [1661486369.837292][7071:7071] CHIP:DMG: { + [1661486369.837317][7071:7071] CHIP:DMG: AttributeDataIB = + [1661486369.837343][7071:7071] CHIP:DMG: { + [1661486369.837371][7071:7071] CHIP:DMG: DataVersion = 0x8d915768, + [1661486369.837398][7071:7071] CHIP:DMG: AttributePathIB = + [1661486369.837426][7071:7071] CHIP:DMG: { + [1661486369.837455][7071:7071] CHIP:DMG: Endpoint = 0x0, + [1661486369.837485][7071:7071] CHIP:DMG: Cluster = 0x3e, + [1661486369.837515][7071:7071] CHIP:DMG: Attribute = 0x0000_0001, + [1661486369.837544][7071:7071] CHIP:DMG: ListIndex = Null, + [1661486369.837572][7071:7071] CHIP:DMG: } + [1661486369.837601][7071:7071] CHIP:DMG: + [1661486369.837629][7071:7071] CHIP:DMG: Data = + [1661486369.837656][7071:7071] CHIP:DMG: { + [1661486369.837685][7071:7071] CHIP:DMG: 0x1 = [ + [1661486369.837731][7071:7071] CHIP:DMG: 0x4, 0xb5, 0xc1, 0xfd, 0xdd, 0x6a, 0xdd, 0xc3, 0xa1, 0x3d, 0xee, 0x39, 0xa2, 0xe, 0x66, 0x7, 0xa2, 0x3a, 0x6d, 0x4a, 0x86, 0x57, 0x36, 0xf7, 0x1f, 0x20, 0x7c, 0x9d, 0xe8, 0x8, 0xa, 0xd5, 0xf2, 0x9c, 0x9d, 0x1b, 0x14, 0x5f, 0xbc, 0x60, 0xb9, 0xe7, 0xee, 0xb3, 0x4c, 0x2, 0xf4, 0x7b, 0x21, 0xdb, 0x74, 0x4e, 0xb1, 0x65, 0x22, 0xd3, 0xe0, 0x32, 0xbd, 0xbe, 0xde, 0x43, 0xfe, 0x26, 0xd6, + [1661486369.837769][7071:7071] CHIP:DMG: ] (65 bytes) + [1661486369.837799][7071:7071] CHIP:DMG: 0x2 = 65521, + [1661486369.837830][7071:7071] CHIP:DMG: 0x3 = 1, + [1661486369.837861][7071:7071] CHIP:DMG: 0x4 = 1, + [1661486369.837893][7071:7071] CHIP:DMG: 0x5 = "" (0 chars), + [1661486369.837923][7071:7071] CHIP:DMG: 0xfe = 1, + [1661486369.837953][7071:7071] CHIP:DMG: }, + [1661486369.837979][7071:7071] CHIP:DMG: }, + [1661486369.838010][7071:7071] CHIP:DMG: + [1661486369.838034][7071:7071] CHIP:DMG: }, + [1661486369.838064][7071:7071] CHIP:DMG: + [1661486369.838084][7071:7071] CHIP:DMG: ], + [1661486369.838116][7071:7071] CHIP:DMG: disabled: true - label: "DUT_CR2 starts a commissioning process with TH_CE" @@ -109,9 +118,8 @@ tests: Below is the example when using chip tool as controller (considering 35998938564 as the manual code generated by 1st controller) ./chip-tool pairing code 2 35998938564 --commissioner-name beta - Verify whether you got below message in the log of DUT_CR2(CHIP-TOOL) - - Device commissioning completed with success + Verify TH_CE logs for + Commissioning completed successfully disabled: true - label: "Verify TH_CE is now discoverable over DNS-SD with two SRV Records" @@ -201,26 +209,65 @@ tests: ./chip-tool operationalcredentials read fabrics 2 0 --fabric-filtered 0 --commissioner-name beta - Verify 2 entries in the Fabrics list attribute On DUT_CR2(chip-tool) Log - - CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 3621507063 - [1649245825.315152][10098:10103] CHIP:TOO: Fabrics: 2 entries - [1649245825.315316][10098:10103] CHIP:TOO: [1]: { - [1649245825.315370][10098:10103] CHIP:TOO: RootPublicKey: 045541017FCEFD0D83963C9ED7F21380C6B789EB989B5D20DC318FAE92D60D0F685666505E9C4F86C49ADC71AB3A8B9B44FD43214CF9BE2B6D47DE01F28FE1544F - [1649245825.315436][10098:10103] CHIP:TOO: VendorId: 65521 - [1649245825.315479][10098:10103] CHIP:TOO: FabricId: 1 - [1649245825.315518][10098:10103] CHIP:TOO: NodeId: 1 - [1649245825.315557][10098:10103] CHIP:TOO: Label: - [1649245825.315596][10098:10103] CHIP:TOO: FabricIndex: 1 - [1649245825.315637][10098:10103] CHIP:TOO: } - [1649245825.315697][10098:10103] CHIP:TOO: [2]: { - [1649245825.315747][10098:10103] CHIP:TOO: RootPublicKey: 047D75BF7D91FCFFB29DAD375D09790FEBE9205227C44D4FF8EB70ADAD02E416E08269B9F77E86FE14270525B64C41417CEA3E9FDE0552AE8DF05F8D98B6B6E2E2 - [1649245825.315789][10098:10103] CHIP:TOO: VendorId: 65521 - [1649245825.315830][10098:10103] CHIP:TOO: FabricId: 1 - [1649245825.315870][10098:10103] CHIP:TOO: NodeId: 2 - [1649245825.315908][10098:10103] CHIP:TOO: Label: - [1649245825.315947][10098:10103] CHIP:TOO: FabricIndex: 2 - [1649245825.315986][10098:10103] CHIP:TOO: } + Verify 2 entries in TH_CE log + + + [1661481567.477399][6453:6453] CHIP:DMG: AttributeReportIB = + [1661481567.477428][6453:6453] CHIP:DMG: { + [1661481567.477450][6453:6453] CHIP:DMG: AttributeDataIB = + [1661481567.477475][6453:6453] CHIP:DMG: { + [1661481567.477503][6453:6453] CHIP:DMG: DataVersion = 0x482f8cf0, + [1661481567.477530][6453:6453] CHIP:DMG: AttributePathIB = + [1661481567.477558][6453:6453] CHIP:DMG: { + [1661481567.477586][6453:6453] CHIP:DMG: Endpoint = 0x0, + [1661481567.477616][6453:6453] CHIP:DMG: Cluster = 0x3e, + [1661481567.477649][6453:6453] CHIP:DMG: Attribute = 0x0000_0001, + [1661481567.477678][6453:6453] CHIP:DMG: ListIndex = Null, + [1661481567.477706][6453:6453] CHIP:DMG: } + [1661481567.477735][6453:6453] CHIP:DMG: + [1661481567.477762][6453:6453] CHIP:DMG: Data = + [1661481567.477791][6453:6453] CHIP:DMG: { + [1661481567.477823][6453:6453] CHIP:DMG: 0x1 = [ + [1661481567.477871][6453:6453] CHIP:DMG: 0x4, 0xb5, 0xc1, 0xfd, 0xdd, 0x6a, 0xdd, 0xc3, 0xa1, 0x3d, 0xee, 0x39, 0xa2, 0xe, 0x66, 0x7, 0xa2, 0x3a, 0x6d, 0x4a, 0x86, 0x57, 0x36, 0xf7, 0x1f, 0x20, 0x7c, 0x9d, 0xe8, 0x8, 0xa, 0xd5, 0xf2, 0x9c, 0x9d, 0x1b, 0x14, 0x5f, 0xbc, 0x60, 0xb9, 0xe7, 0xee, 0xb3, 0x4c, 0x2, 0xf4, 0x7b, 0x21, 0xdb, 0x74, 0x4e, 0xb1, 0x65, 0x22, 0xd3, 0xe0, 0x32, 0xbd, 0xbe, 0xde, 0x43, 0xfe, 0x26, 0xd6, + [1661481567.477909][6453:6453] CHIP:DMG: ] (65 bytes) + [1661481567.477942][6453:6453] CHIP:DMG: 0x2 = 65521, + [1661481567.477974][6453:6453] CHIP:DMG: 0x3 = 1, + [1661481567.478007][6453:6453] CHIP:DMG: 0x4 = 1, + [1661481567.478096][6453:6453] CHIP:DMG: 0x5 = "" (0 chars), + [1661481567.478129][6453:6453] CHIP:DMG: 0xfe = 1, + [1661481567.478160][6453:6453] CHIP:DMG: }, + [1661481567.478187][6453:6453] CHIP:DMG: }, + [1661481567.478217][6453:6453] CHIP:DMG: + [1661481567.478241][6453:6453] CHIP:DMG: }, + [1661481567.478278][6453:6453] CHIP:DMG: + [1661481567.478298][6453:6453] CHIP:DMG: AttributeReportIB = + [1661481567.478330][6453:6453] CHIP:DMG: { + [1661481567.478354][6453:6453] CHIP:DMG: AttributeDataIB = + [1661481567.478380][6453:6453] CHIP:DMG: { + [1661481567.478406][6453:6453] CHIP:DMG: DataVersion = 0x482f8cf0, + [1661481567.478433][6453:6453] CHIP:DMG: AttributePathIB = + [1661481567.478461][6453:6453] CHIP:DMG: { + [1661481567.478489][6453:6453] CHIP:DMG: Endpoint = 0x0, + [1661481567.478522][6453:6453] CHIP:DMG: Cluster = 0x3e, + [1661481567.478554][6453:6453] CHIP:DMG: Attribute = 0x0000_0001, + [1661481567.478584][6453:6453] CHIP:DMG: ListIndex = Null, + [1661481567.478612][6453:6453] CHIP:DMG: } + [1661481567.478643][6453:6453] CHIP:DMG: + [1661481567.478672][6453:6453] CHIP:DMG: Data = + [1661481567.478702][6453:6453] CHIP:DMG: { + [1661481567.478732][6453:6453] CHIP:DMG: 0x1 = [ + [1661481567.478777][6453:6453] CHIP:DMG: 0x4, 0x7b, 0x5b, 0x9a, 0x2a, 0xd1, 0x4e, 0x1e, 0x8d, 0xf4, 0xca, 0xea, 0xde, 0x1c, 0xbe, 0xa7, 0xf6, 0xd4, 0xa1, 0xe8, 0xf0, 0x20, 0x9f, 0x6c, 0x38, 0x30, 0x31, 0x88, 0xb5, 0x89, 0x69, 0xd4, 0x7, 0x17, 0x16, 0x85, 0x25, 0x55, 0x8f, 0x5b, 0xed, 0x58, 0x68, 0x27, 0xde, 0x5e, 0xf6, 0xf9, 0xf8, 0x99, 0x54, 0x92, 0x8e, 0x33, 0xa6, 0xf4, 0xb0, 0x5a, 0xc1, 0xa6, 0x1a, 0xf5, 0x2, 0xb4, 0x4f, + [1661481567.478815][6453:6453] CHIP:DMG: ] (65 bytes) + [1661481567.478848][6453:6453] CHIP:DMG: 0x2 = 65521, + [1661481567.478877][6453:6453] CHIP:DMG: 0x3 = 2, + [1661481567.478907][6453:6453] CHIP:DMG: 0x4 = 1, + [1661481567.478938][6453:6453] CHIP:DMG: 0x5 = "" (0 chars), + [1661481567.478968][6453:6453] CHIP:DMG: 0xfe = 2, + [1661481567.478999][6453:6453] CHIP:DMG: }, + [1661481567.479026][6453:6453] CHIP:DMG: }, + [1661481567.479056][6453:6453] CHIP:DMG: + [1661481567.479079][6453:6453] CHIP:DMG: }, + [1661481567.479107][6453:6453] CHIP:DMG: disabled: true - label: @@ -285,6 +332,26 @@ tests: On DUT_CR2 send the below command + ./chip-tool basic read node-label 2 0 --commissioner-name beta + + Verify the Read request On TH_CE(all-clusters-app) Log + + [1660902253.379018][3045:3045] CHIP:EM: Handling via exchange: 3197r, Delegate: 0xaaaaadbeffc0 + [1660902253.379122][3045:3045] CHIP:IM: Received Read request + [1660902253.379306][3045:3045] CHIP:DMG: ReadRequestMessage = + [1660902253.379373][3045:3045] CHIP:DMG: { + [1660902253.379430][3045:3045] CHIP:DMG: AttributePathIBs = + [1660902253.379496][3045:3045] CHIP:DMG: [ + [1660902253.379557][3045:3045] CHIP:DMG: AttributePathIB = + [1660902253.379634][3045:3045] CHIP:DMG: { + [1660902253.379703][3045:3045] CHIP:DMG: Endpoint = 0x0, + [1660902253.379782][3045:3045] CHIP:DMG: Cluster = 0x28, + [1660902253.379871][3045:3045] CHIP:DMG: Attribute = 0x0000_0005, + [1660902253.379935][3045:3045] CHIP:DMG: } + [1660902253.380141][3045:3045] CHIP:DMG: + [1660902253.380208][3045:3045] CHIP:DMG: ], + + ./chip-tool basic write node-label te5new 2 0 --commissioner-name beta Verify the Write request On TH_CE(all-clusters-app) Log @@ -310,21 +377,12 @@ tests: [1660900144.091560][3045:3045] CHIP:DMG: Data = "te5new" (6 chars), [1660900144.091655][3045:3045] CHIP:DMG: }, - Verify the success response in the DUT_CR2(Chip-tool) log - - - [1649245940.789388][10110:10115] CHIP:DMG: - [1649245940.789454][10110:10115] CHIP:DMG: StatusIB = - [1649245940.789519][10110:10115] CHIP:DMG: { - [1649245940.789588][10110:10115] CHIP:DMG: status = 0x00 (SUCCESS), - [1649245940.789654][10110:10115] CHIP:DMG: }, - Verify read attribute returns the updated value written ./chip-tool basic read node-label 2 0 --commissioner-name beta - Verify the Write request On TH_CE(all-clusters-app) Log + Verify the Read request On TH_CE(all-clusters-app) Log [1660900360.861128][3045:3045] CHIP:EM: Handling via exchange: 17574r, Delegate: 0xaaaaadbeffc0 [1660900360.861223][3045:3045] CHIP:IM: Received Read request @@ -340,12 +398,6 @@ tests: [1660900360.862012][3045:3045] CHIP:DMG: } [1660900360.862088][3045:3045] CHIP:DMG: [1660900360.862158][3045:3045] CHIP:DMG: ], - - Verify the success response in the DUT_CR2(Chip-tool) log - - CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0005 DataVersion: 3061847068 - [1649245950.006849][10116:10121] CHIP:TOO: NodeLabel: te5new - [1649245950.007024][10116:10121] CHIP:EM: Sending Standalone Ack for MessageCounter:12495101 on exchange 24816i disabled: true - label: "Turn off TH_CR1" @@ -363,21 +415,13 @@ tests: On DUT_CR2 send the below command - ./chip-tool pairing open-commissioning-window 2 1 300 1000 3841 --commissioner-name + ./chip-tool pairing open-commissioning-window 2 1 300 1000 3841 --commissioner-name beta Verify the Commissioning window is opened in TH_CE(all-clusters-app) Log [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] - - Verify the Manual pairing code On DUT_CR2(chip-tool) Log - - CHIP: [IN] Prepared encrypted message 0x124012e80 to 0x0000000000000001 of type 0x8 and protocolId (0, 1) on exchange 50829i with MessageCounter:0. - [1635693418549] [30519:4583024] CHIP: [IN] Sending encrypted msg 0x124012e80 with MessageCounter:0 to 0x0000000000000001 at monotonic time: 5995099243 msec - [1635693418549] [30519:4583024] CHIP: [DMG] ICR moving to [CommandSen] - [1635693418549] [30519:4583024] CHIP: [CTL] Manual pairing code: [34995354639] - [1635693418550] [30519:4583024] CHIP: [CTL] SetupQRCode: [MT:00000CQM00YND84XX10] disabled: true - label: @@ -391,20 +435,11 @@ tests: ./chip-tool administratorcommissioning revoke-commissioning 2 0 --timedInteractionTimeoutMs 1000 --commissioner-name beta - Verify the Commissioning window is closed in TH_CE(all-clusters-app) Log - - [1660901039.590891][3045:3045] CHIP:DMG: AccessControl: allowed - [1660901039.590962][3045:3045] CHIP:DMG: Received command for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0002 - [1660901039.591036][3045:3045] CHIP:ZCL: Received command to close commissioning window - [1660901039.591094][3045:3045] CHIP:SVR: Closing pairing window - [1660901039.591169][3045:3045] CHIP:IN: SecureSession[0xaaaab010d400]: Released - Type:1 LSID:14411 - - Verify the success response On DUT_CR2(chip-tool) Log - [1648115245106] [6681:3894448] CHIP: [DMG] StatusIB = - [1648115245106] [6681:3894448] CHIP: [DMG] { - [1648115245106] [6681:3894448] CHIP: [DMG] status = 0x0, - [1648115245106] [6681:3894448] CHIP: [DMG] }, + Verify the Commissioning window is closed in TH_CE(all-clusters-app) Log + [1661485834.635244][6993:6993] CHIP:DIS: mDNS service published: _matter._tcp + [1661485834.635293][6993:6993] CHIP:ZCL: Commissioning window is now closed + [1661485834.635328][6993:6993] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: @@ -462,7 +497,7 @@ tests: ./chip-tool basic read node-label 2 0 --commissioner-name beta - Verify the Write request On TH_CE(all-clusters-app) Log + Verify the Read request On TH_CE(all-clusters-app) Log [1660902253.379018][3045:3045] CHIP:EM: Handling via exchange: 3197r, Delegate: 0xaaaaadbeffc0 [1660902253.379122][3045:3045] CHIP:IM: Received Read request @@ -496,14 +531,6 @@ tests: [1660902413.357922][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp [1660902413.358025][3045:3045] CHIP:ZCL: Commissioning window is now open [1660902413.358116][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] - - Verify Manual pairing code On DUT_CR2(chip-tool) Log - - [1635693418549] [30519:4583024] CHIP: [IN] Sending encrypted msg 0x124012e80 with MessageCounter:0 to 0x0000000000000001 at monotonic time: 5995099243 msec - [1635693418549] [30519:4583024] CHIP: [DMG] ICR moving to [CommandSen] - [1635693418549] [30519:4583024] CHIP: [CTL] Manual pairing code: [34995354639] - [1635693418550] [30519:4583024] CHIP: [CTL] SetupQRCode: [MT:00000CQM00YND84XX10] - [1635693418550] [30519:4583024] CHIP: [EM] Sending Standalone Ack for MessageCounter:3441918415 on exchange disabled: true - label: @@ -528,15 +555,6 @@ tests: [1660902623.744448][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp [1660902623.744550][3045:3045] CHIP:ZCL: Commissioning window is now open [1660902623.744634][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] - - Verify Manual pairing code On DUT_CR2(chip-tool) Log - - [1635693418549] [30519:4583024] CHIP: [DMG] ICR moving to [CommandSen] - [1635693418549] [30519:4583024] CHIP: [CTL] Manual pairing code: [34995354639] - [1635693418550] [30519:4583024] CHIP: [CTL] SetupQRCode: [MT:00000CQM00YND84XX10] - [1635693418550] [30519:4583024] CHIP: [EM] Sending Standalone Ack for MessageCounter:3441918415 on exchange 50828i - [1635693418550] [30519:4583024] CHIP: [IN] Prepared plaintext message 0x16b92d198 to 0x0000000000000000 of type 0x10 and protocolId (0, 0) on exchange 50828i with MessageCounter:3727034150. - [1635693418550] [30519:4583024] CHIP: [IN] Sending plaintext msg 0x16b92d198 with Mes disabled: true - label: @@ -557,13 +575,4 @@ tests: [1660902716.613274][3045:3045] CHIP:ZCL: OpCreds: Failed AddNOC request (err=../../examples/all-clusters-app/linux/third_party/connectedhomeip/src/credentials/FabricTable.cpp:1692: CHIP Error 0x0000007E: Trying to add a NOC for a fabric that already exists) with OperationalCert error 9 [1660902716.613394][3045:3045] CHIP:DMG: Decreasing reference count for CommandHandler, remaining 0 [1660902716.613497][3045:3045] CHIP:EM: Piggybacking Ack for MessageCounter:176866087 on exchange: 56605r - - Verify that the commissioning process fails as TH_CE was already commissioned by TH_CR1 in step 1 - - Trying to add a NOC for a fabric that already exists On TH_CR1(chip-tool) Log - - [1651786200275] [36301:315544] CHIP: [DMG] Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 - [1651786200275] [36301:315544] CHIP: [CTL] Device returned status 9 on receiving the NOC - [1651786200275] [36301:315544] CHIP: [CTL] Add NOC failed with error ../../src/controller/CHIPDeviceController.cpp:1187: CHIP Error 0x0000007E: Trying to add a NOC for a fabric that already exists - [1651786200275] [36301:315544] CHIP: [CTL] Error on commissioning step "SendNOC": "../../src/controller/CHIPDeviceController.cpp:1187: CHIP Error 0x0000007E: Trying to add a NOC for a fabric that already exists" disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml index f70e43457d47fa..0650c984e995a9 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml @@ -71,63 +71,6 @@ tests: - name: "nodeId" value: nodeId - - label: - "Open commissioning window exactly like we plan to later to verify - that `correctPayload` can in fact commision the device." - cluster: "AdministratorCommissioning" - command: "OpenBasicCommissioningWindow" - PICS: CADMIN.S.C01.Rsp - timedInteractionTimeoutMs: 10000 - arguments: - values: - - name: "CommissioningTimeout" - value: 900 - - - label: - "Temporarily commission device with `correctPayload` just like we will - try to later" - identity: "beta" - cluster: "CommissionerCommands" - command: "PairWithCode" - # Only run this if we ran the previous step. - PICS: CADMIN.S && CADMIN.S.C01.Rsp - arguments: - values: - - name: "nodeId" - value: nodeId2 - - name: "payload" - value: correctPayload - - - label: "Wait for a CASE session" - identity: "beta" - cluster: "DelayCommands" - command: "WaitForCommissionee" - PICS: CADMIN.S - arguments: - values: - - name: "nodeId" - value: nodeId2 - - - label: "Read FabricIndex of beta so we can delete the temp fabric" - identity: "beta" - cluster: "Operational Credentials" - command: "readAttribute" - attribute: "CurrentFabricIndex" - # Only run this if we commissioned the device. - PICS: CADMIN.S.C01.Rsp - response: - saveAs: tempFabricIndex - - - label: "Remove the temp fabric" - cluster: "Operational Credentials" - command: "RemoveFabric" - # Only run this if we commissioned the device. - PICS: CADMIN.S.C01.Rsp - arguments: - values: - - name: "FabricIndex" - value: tempFabricIndex - - label: "TH_CR1 opens a commissioning window on DUT_CE" cluster: "AdministratorCommissioning" command: "OpenBasicCommissioningWindow" diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_11.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_11.yaml index 9f820a377fbfea..dc14a5d8cd358b 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_11.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_11.yaml @@ -137,7 +137,7 @@ tests: - name: "nodeId" value: nodeId2 - name: "payload" - value: payload --commissioner-name beta + value: payload - label: "DUT_CE is commissioned to TH_CR2" PICS: CADMIN.S diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_12.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_12.yaml index e846b0783df6c3..c1e46edfc3815f 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_12.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_12.yaml @@ -60,25 +60,18 @@ tests: Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: - [1660904553.796857][3537:3537] CHIP:DMG: Received command for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0000 - [1660904553.796951][3537:3537] CHIP:ZCL: Received command to open commissioning window - [1660904553.797255][3537:3537] CHIP:IN: SecureSession[0xaaab142ef7f0]: Allocated Type:1 LSID:34523 + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] - Verify Manual pairing code on DUT_CR1(chip-tool) Log - 0x0000000000000001 at monotonic time: 16129075 msec - [1635874557.417449][4549:4554] CHIP:DMG: ICR moving to [CommandSen] - [1635874557.417505][4549:4554] CHIP:CTL: Manual pairing code: [35484132896] - [1635874557.417577][4549:4554] CHIP:CTL: SetupQRCode: [MT:00000CQM00AT-F5A510] + On TH_CR3 send the below command - - On TH_CR2 send the below command - - ./chip-tool pairing code 1 35484132896 --commissioner-name gamma + ./chip-tool pairing code 3 35484132896 --commissioner-name gamma Verify you got below message on TH_CE(all-clusters-app) log - Device commissioning completed with success + Commissioning completed successfully disabled: true - label: @@ -94,20 +87,21 @@ tests: ./chip-tool pairing open-commissioning-window 1 1 300 1000 3840 - Verify Manual pairing code on TH_CR2(chip-tool) Log + Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: + + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] + - 0x0000000000000001 at monotonic time: 16129075 msec - [1635874557.417449][4549:4554] CHIP:DMG: ICR moving to [CommandSen] - [1635874557.417505][4549:4554] CHIP:CTL: Manual pairing code: [35484132896] - [1635874557.417577][4549:4554] CHIP:CTL: SetupQRCode: [MT:00000CQM00AT-F5A510] - On 2nd controller using chip tool connect using manual code + On TH_CR2 send the below command - ./chip-tool pairing code 2 35484132896 --commissioner-name beta + ./chip-tool pairing code 1 35484132896 --commissioner-name beta - Verify you got below message on TH1(all-clusters-app) log - Device commissioning completed with success + Verify you got below message on TH_CE(all-clusters-app) log + Commissioning completed successfully disabled: true - label: @@ -122,18 +116,11 @@ tests: ./chip-tool pairing open-commissioning-window 1 1 300 1000 3840 - Verify Manual pairing code on DUT_CR1(CHIP-TOOL) Log - - [1635874557.409509][4549:4554] CHIP:SC: Success status report received. Session was established - [1635874557.409553][4549:4554] CHIP:IN: New secure session created for device 0x0000000000000001, key 76!! - [1635874557.409649][4549:4554] CHIP:CTL: OpenCommissioningWindow for device ID 1 - [1635874557.416929][4549:4554] CHIP:DMG: ICR moving to [AddingComm] - [1635874557.417092][4549:4554] CHIP:DMG: ICR moving to [AddedComma] - [1635874557.417215][4549:4554] CHIP:IN: Prepared encrypted message 0xaaaac5947d10 to 0x0000000000000001 of type 0x8 and protocolId (0, 1) on exchange 5541i with MessageCounter:0. - [1635874557.417271][4549:4554] CHIP:IN: Sending encrypted msg 0xaaaac5947d10 with MessageCounter:0 to 0x0000000000000001 at monotonic time: 16129075 msec - [1635874557.417449][4549:4554] CHIP:DMG: ICR moving to [CommandSen] - [1635874557.417505][4549:4554] CHIP:CTL: Manual pairing code: [35484132896] - [1635874557.417577][4549:4554] CHIP:CTL: SetupQRCode: [MT:00000CQM00AT-F5A510] + Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: + + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: @@ -148,11 +135,35 @@ tests: ./chip-tool administratorcommissioning read window-status 1 0 - Verify on DUT_CR1(CHIP-TOOL) log successfully reads the WindowStatus - - [1658838248.887888][9273:9278] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003C Attribute 0x0000_0000 DataVersion: 2423106591 - [1658838248.887959][9273:9278] CHIP:TOO: WindowStatus: 1 - [1658838248.888038][9273:9278] CHIP:EM: Sending Standalone Ack for MessageCounter:253317720 on exchange 63644i + Verify TH_CE successfully reads windowstatus + + [1661482777.283822][6453:6453] CHIP:DMG: ReportDataMessage = + [1661482777.283855][6453:6453] CHIP:DMG: { + [1661482777.283882][6453:6453] CHIP:DMG: AttributeReportIBs = + [1661482777.283921][6453:6453] CHIP:DMG: [ + [1661482777.283951][6453:6453] CHIP:DMG: AttributeReportIB = + [1661482777.283995][6453:6453] CHIP:DMG: { + [1661482777.284036][6453:6453] CHIP:DMG: AttributeDataIB = + [1661482777.284080][6453:6453] CHIP:DMG: { + [1661482777.284122][6453:6453] CHIP:DMG: DataVersion = 0xd3f3fc78, + [1661482777.284289][6453:6453] CHIP:DMG: AttributePathIB = + [1661482777.284337][6453:6453] CHIP:DMG: { + [1661482777.284385][6453:6453] CHIP:DMG: Endpoint = 0x0, + [1661482777.284430][6453:6453] CHIP:DMG: Cluster = 0x3c, + [1661482777.284479][6453:6453] CHIP:DMG: Attribute = 0x0000_0000, + [1661482777.284522][6453:6453] CHIP:DMG: } + [1661482777.284567][6453:6453] CHIP:DMG: + [1661482777.284612][6453:6453] CHIP:DMG: Data = 1, + [1661482777.284655][6453:6453] CHIP:DMG: }, + [1661482777.284699][6453:6453] CHIP:DMG: + [1661482777.284733][6453:6453] CHIP:DMG: }, + [1661482777.284773][6453:6453] CHIP:DMG: + [1661482777.284803][6453:6453] CHIP:DMG: ], + [1661482777.284841][6453:6453] CHIP:DMG: + [1661482777.284872][6453:6453] CHIP:DMG: SuppressResponse = true, + [1661482777.284905][6453:6453] CHIP:DMG: InteractionModelRevision = 1 + [1661482777.284934][6453:6453] CHIP:DMG: } + [1661482777.284962][6453:6453] CHIP:DMG: disabled: true - label: @@ -203,17 +214,12 @@ tests: ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000 - Verify success response On DUT_CR1(CHIP-TOOL) Log + Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: - [1650278416.249347][11064:11069] CHIP:DMG: }, - [1650278416.249430][11064:11069] CHIP:DMG: - [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = - [1650278416.249581][11064:11069] CHIP:DMG: { - [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), - [1650278416.249738][11064:11069] CHIP:DMG: }, - [1650278416.249823][11064:11069] CHIP:DMG: - [1650278416.249889][11064:11069] CHIP:DMG: }, + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: @@ -228,12 +234,31 @@ tests: ./chip-tool administratorcommissioning read window-status 1 0 - Verify on DUT_CR1(CHIP-TOOL) log successfully reads the WindowStatus - - - [1658838248.887888][9273:9278] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003C Attribute 0x0000_0000 DataVersion: 2423106591 - [1658838248.887959][9273:9278] CHIP:TOO: WindowStatus: 1 - [1658838248.888038][9273:9278] CHIP:EM: Sending Standalone Ack for MessageCounter:253317720 on exchange 63644i + Verify TH_CE successfully reads windowstatus + + [1661483425.923623][6917:6917] CHIP:DMG: ReportDataMessage = + [1661483425.923649][6917:6917] CHIP:DMG: { + [1661483425.923667][6917:6917] CHIP:DMG: AttributeReportIBs = + [1661483425.923698][6917:6917] CHIP:DMG: [ + [1661483425.923722][6917:6917] CHIP:DMG: AttributeReportIB = + [1661483425.923752][6917:6917] CHIP:DMG: { + [1661483425.923777][6917:6917] CHIP:DMG: AttributeDataIB = + [1661483425.923805][6917:6917] CHIP:DMG: { + [1661483425.923834][6917:6917] CHIP:DMG: DataVersion = 0x2b727529, + [1661483425.923862][6917:6917] CHIP:DMG: AttributePathIB = + [1661483425.923891][6917:6917] CHIP:DMG: { + [1661483425.923921][6917:6917] CHIP:DMG: Endpoint = 0x0, + [1661483425.923951][6917:6917] CHIP:DMG: Cluster = 0x3c, + [1661483425.923981][6917:6917] CHIP:DMG: Attribute = 0x0000_0000, + [1661483425.924009][6917:6917] CHIP:DMG: } + [1661483425.924040][6917:6917] CHIP:DMG: + [1661483425.924070][6917:6917] CHIP:DMG: Data = 2, + [1661483425.924097][6917:6917] CHIP:DMG: }, + [1661483425.924126][6917:6917] CHIP:DMG: + [1661483425.924169][6917:6917] CHIP:DMG: }, + [1661483425.924197][6917:6917] CHIP:DMG: + [1661483425.924218][6917:6917] CHIP:DMG: ], + [1661483425.924244][6917:6917] CHIP:DMG: disabled: true - label: @@ -278,17 +303,12 @@ tests: ./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000 - Verify success response On DUT_CR1(CHIP-TOOL) Log + Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: - [1650278416.249347][11064:11069] CHIP:DMG: }, - [1650278416.249430][11064:11069] CHIP:DMG: - [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = - [1650278416.249581][11064:11069] CHIP:DMG: { - [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), - [1650278416.249738][11064:11069] CHIP:DMG: }, - [1650278416.249823][11064:11069] CHIP:DMG: - [1650278416.249889][11064:11069] CHIP:DMG: }, + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: @@ -326,12 +346,31 @@ tests: Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers ./chip-tool administratorcommissioning read window-status 1 0 - - Verify on DUT_CR1(CHIP-TOOL) log successfully reads the WindowStatus - - [1658838248.887888][9273:9278] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003C Attribute 0x0000_0000 DataVersion: 2423106591 - [1658838248.887959][9273:9278] CHIP:TOO: WindowStatus: 1 - [1658838248.888038][9273:9278] CHIP:EM: Sending Standalone Ack for MessageCounter:253317720 on exchange 63644i + Verify TH_CE successfully reads windowstatus + + [1661483425.923623][6917:6917] CHIP:DMG: ReportDataMessage = + [1661483425.923649][6917:6917] CHIP:DMG: { + [1661483425.923667][6917:6917] CHIP:DMG: AttributeReportIBs = + [1661483425.923698][6917:6917] CHIP:DMG: [ + [1661483425.923722][6917:6917] CHIP:DMG: AttributeReportIB = + [1661483425.923752][6917:6917] CHIP:DMG: { + [1661483425.923777][6917:6917] CHIP:DMG: AttributeDataIB = + [1661483425.923805][6917:6917] CHIP:DMG: { + [1661483425.923834][6917:6917] CHIP:DMG: DataVersion = 0x2b727529, + [1661483425.923862][6917:6917] CHIP:DMG: AttributePathIB = + [1661483425.923891][6917:6917] CHIP:DMG: { + [1661483425.923921][6917:6917] CHIP:DMG: Endpoint = 0x0, + [1661483425.923951][6917:6917] CHIP:DMG: Cluster = 0x3c, + [1661483425.923981][6917:6917] CHIP:DMG: Attribute = 0x0000_0000, + [1661483425.924009][6917:6917] CHIP:DMG: } + [1661483425.924040][6917:6917] CHIP:DMG: + [1661483425.924070][6917:6917] CHIP:DMG: Data = 2, + [1661483425.924097][6917:6917] CHIP:DMG: }, + [1661483425.924126][6917:6917] CHIP:DMG: + [1661483425.924169][6917:6917] CHIP:DMG: }, + [1661483425.924197][6917:6917] CHIP:DMG: + [1661483425.924218][6917:6917] CHIP:DMG: ], + [1661483425.924244][6917:6917] CHIP:DMG: disabled: true - label: "DUT_CR1 sends command to TH_CE to read AdminFabricIndex attribute" @@ -343,11 +382,30 @@ tests: ./chip-tool administratorcommissioning read admin-fabric-index 1 0 - Verify on DUT_CR1(CHIP-TOOL) log successfully reads the AdminFabricIndex - - [1658838491.852418][9309:9314] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003C Attribute 0x0000_0001 DataVersion: 2423106591 - [1658838491.852516][9309:9314] CHIP:TOO: AdminFabricIndex: 1 - [1658838491.852595][9309:9314] CHIP:EM: Sending Standalone Ack for MessageCounter:72459812 on exchange 35132i + Verify TH_CE successfully reads AdminFabricIndex + + [1661483686.785602][6930:6930] CHIP:DMG: ReportDataMessage = + [1661483686.785626][6930:6930] CHIP:DMG: { + [1661483686.785644][6930:6930] CHIP:DMG: AttributeReportIBs = + [1661483686.785670][6930:6930] CHIP:DMG: [ + [1661483686.785691][6930:6930] CHIP:DMG: AttributeReportIB = + [1661483686.785724][6930:6930] CHIP:DMG: { + [1661483686.785747][6930:6930] CHIP:DMG: AttributeDataIB = + [1661483686.785774][6930:6930] CHIP:DMG: { + [1661483686.785803][6930:6930] CHIP:DMG: DataVersion = 0x5698b43f, + [1661483686.785828][6930:6930] CHIP:DMG: AttributePathIB = + [1661483686.785860][6930:6930] CHIP:DMG: { + [1661483686.785889][6930:6930] CHIP:DMG: Endpoint = 0x0, + [1661483686.785922][6930:6930] CHIP:DMG: Cluster = 0x3c, + [1661483686.785956][6930:6930] CHIP:DMG: Attribute = 0x0000_0001, + [1661483686.785982][6930:6930] CHIP:DMG: } + [1661483686.786015][6930:6930] CHIP:DMG: + [1661483686.786044][6930:6930] CHIP:DMG: Data = 1, + [1661483686.786074][6930:6930] CHIP:DMG: }, + [1661483686.786100][6930:6930] CHIP:DMG: + [1661483686.786121][6930:6930] CHIP:DMG: }, + [1661483686.786147][6930:6930] CHIP:DMG: + [1661483686.786167][6930:6930] CHIP:DMG: ], disabled: true - label: "DUT_CR1 sends command to TH_CE to read AdminVendorId attribute" @@ -359,9 +417,29 @@ tests: ./chip-tool administratorcommissioning read admin-vendor-id 1 0 - Verify on DUT_CR1(CHIP-TOOL) log successfully reads the AdminVendorId - - [1658838521.588942][9317:9322] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003C Attribute 0x0000_0002 DataVersion: 2423106591 - [1658838521.589005][9317:9322] CHIP:TOO: AdminVendorId: 0 - [1658838521.589079][9317:9322] CHIP:EM: Sending Standalone Ack for MessageCounter:217165763 on exchange 55683i + Verify TH_CE successfully reads AdminVendorId + + [1661483751.977612][6930:6930] CHIP:DMG: ReportDataMessage = + [1661483751.977646][6930:6930] CHIP:DMG: { + [1661483751.977673][6930:6930] CHIP:DMG: AttributeReportIBs = + [1661483751.977715][6930:6930] CHIP:DMG: [ + [1661483751.977746][6930:6930] CHIP:DMG: AttributeReportIB = + [1661483751.977786][6930:6930] CHIP:DMG: { + [1661483751.977818][6930:6930] CHIP:DMG: AttributeDataIB = + [1661483751.977854][6930:6930] CHIP:DMG: { + [1661483751.977895][6930:6930] CHIP:DMG: DataVersion = 0x5698b43f, + [1661483751.977936][6930:6930] CHIP:DMG: AttributePathIB = + [1661483751.977982][6930:6930] CHIP:DMG: { + [1661483751.978029][6930:6930] CHIP:DMG: Endpoint = 0x0, + [1661483751.978075][6930:6930] CHIP:DMG: Cluster = 0x3c, + [1661483751.978120][6930:6930] CHIP:DMG: Attribute = 0x0000_0002, + [1661483751.978165][6930:6930] CHIP:DMG: } + [1661483751.978210][6930:6930] CHIP:DMG: + [1661483751.978259][6930:6930] CHIP:DMG: Data = 65521, + [1661483751.978299][6930:6930] CHIP:DMG: }, + [1661483751.978344][6930:6930] CHIP:DMG: + [1661483751.978379][6930:6930] CHIP:DMG: }, + [1661483751.978420][6930:6930] CHIP:DMG: + [1661483751.978450][6930:6930] CHIP:DMG: ], + [1661483751.978488][6930:6930] CHIP:DMG: disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml index 79c0171de6bf29..259282d72f511e 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml @@ -95,23 +95,95 @@ tests: response: value: 2 - - label: "TH_CR1 reads AdminFabricIndex attribute from DUT_CE" - cluster: "AdministratorCommissioning" - command: "readAttribute" - attribute: "AdminFabricIndex" - PICS: CADMIN.S.A0001 - response: - constraints: - notValue: null + #Need YAML support to save FabricId value from Fabrics list attribute + #Issue https://github.com/project-chip/connectedhomeip/issues/13029 + - label: + "TH_CR1 reads AdminFabricIndex attribute from DUT_CE and Verify TH_CR1 + reads the AdminFabricIndex value successfully and verify the value to + be the same as the Fabric Index of the Fabrics attribute list entry in + TH_CR1" + PICS: CADMIN.S.A0001 && PICS_USER_PROMPT + verification: | + On TH_CR1 send the below command + + ./chip-tool administratorcommissioning read admin-fabric-index 1 0 + + Verify on TH_CR1(chip-tool) log successfully reads the AdminFabricIndex + + [1658838491.852418][9309:9314] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003C Attribute 0x0000_0001 DataVersion: 2423106591 + [1658838491.852516][9309:9314] CHIP:TOO: AdminFabricIndex: 1 + [1658838491.852595][9309:9314] CHIP:EM: Sending Standalone Ack for MessageCounter:72459812 on exchange 35132i - - label: "TH_CR1 reads AdminVendorId attribute from DUT_CE" - cluster: "AdministratorCommissioning" - command: "readAttribute" - attribute: "AdminVendorId" - PICS: CADMIN.S.A0002 - response: - constraints: - notValue: null + + Verify the AdminFabricIndex value above matches with the Fabric Index in the Fabrics list of TH_CR1 + + ./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 + + Verify 1 entry in the Fabrics list attributeOn TH_CR1(chip-tool) Log + + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 3621507058 + [1649245801.244173][10091:10096] CHIP:TOO: Fabrics: 1 entries + [1649245801.244305][10091:10096] CHIP:TOO: [1]: { + [1649245801.244348][10091:10096] CHIP:TOO: RootPublicKey: 045541017FCEFD0D83963C9ED7F21380C6B789EB989B5D20DC318FAE92D60D0F685666505E9C4F86C49ADC71AB3A8B9B44FD43214CF9BE2B6D47DE01F28FE1544F + [1649245801.244400][10091:10096] CHIP:TOO: VendorId: 65521 + [1649245801.244431][10091:10096] CHIP:TOO: FabricId: 1 + [1649245801.244461][10091:10096] CHIP:TOO: NodeId: 1 + [1649245801.244491][10091:10096] CHIP:TOO: Label: + [1649245801.244521][10091:10096] CHIP:TOO: FabricIndex: 1 + [1649245801.244552][10091:10096] CHIP:TOO: } + [1649245801.244671][10091:10096] CHIP:EM: Sending Standalone Ack for MessageCounter:8407998 on exchange 12989i + cluster: "LogCommands" + command: "UserPrompt" + arguments: + values: + - name: "message" + value: "Please enter 'y' for success" + - name: "expectedValue" + value: "y" + + #Issue https://github.com/project-chip/connectedhomeip/issues/13029 + - label: + "TH_CR1 reads AdminVendorId attribute from DUT_CE and Verify TH_CR1 + reads the AdminVendorId value successfully and verify this value to be + the same as the Vendor ID field of Fabrics attribute list entry in + TH_CR1" + PICS: CADMIN.S.A0002 && PICS_USER_PROMPT + verification: | + On TH_CR1 send the below command + + ./chip-tool administratorcommissioning read admin-vendor-id 1 0 + + Verify on TH_CR1(chip-tool) log successfully reads the AdminVendorId + + [1659096764.946339][11666:11671] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003C Attribute 0x0000_0002 DataVersion: 1299585105 + [1659096764.946483][11666:11671] CHIP:TOO: AdminVendorId: 65521 + [1659096764.946718][11666:11671] CHIP:EM: Sending Standalone Ack for MessageCounter:83111931 on exchange 26316i + + Verify the AdminVendorId value above matches with the VendorId in the Fabrics list of TH_CR1 + + ./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 + + Verify 1 entry in the Fabrics list attributeOn TH_CR1(chip-tool) Log + + CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 3621507058 + [1649245801.244173][10091:10096] CHIP:TOO: Fabrics: 1 entries + [1649245801.244305][10091:10096] CHIP:TOO: [1]: { + [1649245801.244348][10091:10096] CHIP:TOO: RootPublicKey: 045541017FCEFD0D83963C9ED7F21380C6B789EB989B5D20DC318FAE92D60D0F685666505E9C4F86C49ADC71AB3A8B9B44FD43214CF9BE2B6D47DE01F28FE1544F + [1649245801.244400][10091:10096] CHIP:TOO: VendorId: 65521 + [1649245801.244431][10091:10096] CHIP:TOO: FabricId: 1 + [1649245801.244461][10091:10096] CHIP:TOO: NodeId: 1 + [1649245801.244491][10091:10096] CHIP:TOO: Label: + [1649245801.244521][10091:10096] CHIP:TOO: FabricIndex: 1 + [1649245801.244552][10091:10096] CHIP:TOO: } + [1649245801.244671][10091:10096] CHIP:EM: Sending Standalone Ack for MessageCounter:8407998 on exchange 12989i + cluster: "LogCommands" + command: "UserPrompt" + arguments: + values: + - name: "message" + value: "Please enter 'y' for success" + - name: "expectedValue" + value: "y" - label: "TH_CR3 starts a commissioning process with DUT_CE" identity: "gamma" @@ -218,7 +290,7 @@ tests: constraints: type: list - - label: "Wait for the expiration of PIXIT_COMM_WIN seconds" + - label: "Wait for the expiration of PIXIT.CADMIN.CwDuration seconds" cluster: "DelayCommands" command: "WaitForMs" arguments: @@ -339,7 +411,7 @@ tests: response: error: FAILURE - - label: "Wait for the expiration of PIXIT_COMM_WIN seconds" + - label: "Wait for the expiration of PIXIT.CADMIN.CwDuration seconds" cluster: "DelayCommands" command: "WaitForMs" arguments: diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_14.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_14.yaml index 621aa56f0f62f9..ea68982b4244f8 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_14.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_14.yaml @@ -58,47 +58,19 @@ tests: ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000 - Verify success response On TH_CE(all-clusters-app) Log + Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: - CHIP:DMG: InvokeResponseMessage = - [1650278416.248379][11064:11069] CHIP:DMG: { - [1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false, - [1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs = - [1650278416.248570][11064:11069] CHIP:DMG: [ - [1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB = - [1650278416.248718][11064:11069] CHIP:DMG: { - [1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB = - [1650278416.248860][11064:11069] CHIP:DMG: { - [1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB = - [1650278416.249011][11064:11069] CHIP:DMG: { - [1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0, - [1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c, - [1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1, - [1650278416.249347][11064:11069] CHIP:DMG: }, - [1650278416.249430][11064:11069] CHIP:DMG: - [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = - [1650278416.249581][11064:11069] CHIP:DMG: { - [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), - [1650278416.249738][11064:11069] CHIP:DMG: }, - [1650278416.249823][11064:11069] CHIP:DMG: - [1650278416.249889][11064:11069] CHIP:DMG: }, - [1650278416.249969][11064:11069] CHIP:DMG: - [1650278416.250035][11064:11069] CHIP:DMG: }, - [1650278416.250113][11064:11069] CHIP:DMG: - [1650278416.250169][11064:11069] CHIP:DMG: ], - [1650278416.250241][11064:11069] CHIP:DMG: - [1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1 - [1650278416.250355][11064:11069] CHIP:DMG: }, - [1650278416.250535][11064:11069] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 - [1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe] - - - - On DUT_CR2, using chip tool connect to the accessory + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] + + + + On TH_CR3, using chip tool connect to the accessory ./chip-tool pairing onnetwork 1 20202021 --commissioner-name gamma Verify you got below message on TH_CE (all-clusters-app) log - Device commissioning completed with success + Commissioning completed successfully disabled: true - label: @@ -114,52 +86,22 @@ tests: ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000 - Verify success response On TH_CE (all-clusters-app) Log + Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: - CHIP:DMG: InvokeResponseMessage = - [1650278416.248379][11064:11069] CHIP:DMG: { - [1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false, - [1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs = - [1650278416.248570][11064:11069] CHIP:DMG: [ - [1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB = - [1650278416.248718][11064:11069] CHIP:DMG: { - [1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB = - [1650278416.248860][11064:11069] CHIP:DMG: { - [1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB = - [1650278416.249011][11064:11069] CHIP:DMG: { - [1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0, - [1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c, - [1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1, - [1650278416.249347][11064:11069] CHIP:DMG: }, - [1650278416.249430][11064:11069] CHIP:DMG: - [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = - [1650278416.249581][11064:11069] CHIP:DMG: { - [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), - [1650278416.249738][11064:11069] CHIP:DMG: }, - [1650278416.249823][11064:11069] CHIP:DMG: - [1650278416.249889][11064:11069] CHIP:DMG: }, - [1650278416.249969][11064:11069] CHIP:DMG: - [1650278416.250035][11064:11069] CHIP:DMG: }, - [1650278416.250113][11064:11069] CHIP:DMG: - [1650278416.250169][11064:11069] CHIP:DMG: ], - [1650278416.250241][11064:11069] CHIP:DMG: - [1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1 - [1650278416.250355][11064:11069] CHIP:DMG: }, - [1650278416.250535][11064:11069] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 - [1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe] + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] - On TH_CR2 , using chip tool connect to the accessory - - Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers + On TH_CR2 , using chip tool connect to the accessory ./chip-tool pairing onnetwork 1 20202021 --commissioner-name beta Verify you got below message on TH_CE (all-clusters-app) log - Device commissioning completed with success + Commissioning completed successfully disabled: true - label: @@ -174,39 +116,12 @@ tests: ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000 - Verify success response On TH_CE (all-clusters-app) Log + Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: - CHIP:DMG: InvokeResponseMessage = - [1650278416.248379][11064:11069] CHIP:DMG: { - [1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false, - [1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs = - [1650278416.248570][11064:11069] CHIP:DMG: [ - [1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB = - [1650278416.248718][11064:11069] CHIP:DMG: { - [1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB = - [1650278416.248860][11064:11069] CHIP:DMG: { - [1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB = - [1650278416.249011][11064:11069] CHIP:DMG: { - [1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0, - [1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c, - [1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1, - [1650278416.249347][11064:11069] CHIP:DMG: }, - [1650278416.249430][11064:11069] CHIP:DMG: - [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = - [1650278416.249581][11064:11069] CHIP:DMG: { - [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), - [1650278416.249738][11064:11069] CHIP:DMG: }, - [1650278416.249823][11064:11069] CHIP:DMG: - [1650278416.249889][11064:11069] CHIP:DMG: }, - [1650278416.249969][11064:11069] CHIP:DMG: - [1650278416.250035][11064:11069] CHIP:DMG: }, - [1650278416.250113][11064:11069] CHIP:DMG: - [1650278416.250169][11064:11069] CHIP:DMG: ], - [1650278416.250241][11064:11069] CHIP:DMG: - [1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1 - [1650278416.250355][11064:11069] CHIP:DMG: }, - [1650278416.250535][11064:11069] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 - [1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe] + + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: @@ -221,11 +136,31 @@ tests: ./chip-tool administratorcommissioning read window-status 1 0 - Verify on TH_CE (all-clusters-app) log successfully reads the WindowStatus - - CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003C Attribute 0x0000_0000 DataVersion: 2849200592 - [1651137648.760469][14047:14052] CHIP:TOO: WindowStatus: 0 - [1651137648.760534][14047:14052] CHIP:EM: Sending Standalone Ack for MessageCounter:5527412 on exchange 14590i" + Verify TH_CE successfully reads windowstatus + + [1661483425.923623][6917:6917] CHIP:DMG: ReportDataMessage = + [1661483425.923649][6917:6917] CHIP:DMG: { + [1661483425.923667][6917:6917] CHIP:DMG: AttributeReportIBs = + [1661483425.923698][6917:6917] CHIP:DMG: [ + [1661483425.923722][6917:6917] CHIP:DMG: AttributeReportIB = + [1661483425.923752][6917:6917] CHIP:DMG: { + [1661483425.923777][6917:6917] CHIP:DMG: AttributeDataIB = + [1661483425.923805][6917:6917] CHIP:DMG: { + [1661483425.923834][6917:6917] CHIP:DMG: DataVersion = 0x2b727529, + [1661483425.923862][6917:6917] CHIP:DMG: AttributePathIB = + [1661483425.923891][6917:6917] CHIP:DMG: { + [1661483425.923921][6917:6917] CHIP:DMG: Endpoint = 0x0, + [1661483425.923951][6917:6917] CHIP:DMG: Cluster = 0x3c, + [1661483425.923981][6917:6917] CHIP:DMG: Attribute = 0x0000_0000, + [1661483425.924009][6917:6917] CHIP:DMG: } + [1661483425.924040][6917:6917] CHIP:DMG: + [1661483425.924070][6917:6917] CHIP:DMG: Data = 2, + [1661483425.924097][6917:6917] CHIP:DMG: }, + [1661483425.924126][6917:6917] CHIP:DMG: + [1661483425.924169][6917:6917] CHIP:DMG: }, + [1661483425.924197][6917:6917] CHIP:DMG: + [1661483425.924218][6917:6917] CHIP:DMG: ], + [1661483425.924244][6917:6917] CHIP:DMG: disabled: true - label: @@ -298,19 +233,11 @@ tests: ./chip-tool pairing open-commissioning-window 1 1 180 1000 3840 - Verify Manual pairing code on TH_CE (all-clusters-app) Log - - [1635925713.966786][9695:9700] CHIP:SC: Success status report received. Session was established - [1635925713.966839][9695:9700] CHIP:IN: New secure session created for device 0x0000000000000001, key 33!! - [1635925713.966938][9695:9700] CHIP:CTL: OpenCommissioningWindow for device ID 1 - [1635925713.972601][9695:9700] CHIP:DMG: ICR moving to [AddingComm] - [1635925713.972705][9695:9700] CHIP:DMG: ICR moving to [AddedComma] - [1635925713.972815][9695:9700] CHIP:IN: Prepared encrypted message 0xaaaad9b57d10 to 0x0000000000000001 of type 0x8 and protocolId (0, 1) on exchange 31056i with MessageCounter:0. - [1635925713.972876][9695:9700] CHIP:IN: Sending encrypted msg 0xaaaad9b57d10 with MessageCounter:0 to 0x0000000000000001 at monotonic time: 13449459 msec - [1635925713.973006][9695:9700] CHIP:DMG: ICR moving to [CommandSen] - [1635925713.973061][9695:9700] CHIP:CTL: Manual pairing code: [36217551633] - [1635925713.973120][9695:9700] CHIP:CTL: SetupQRCode: [MT:00000CQM00A7F87ZT10] - [1635925713.973178][9695:9700] CHIP:EM: Sending Standalone Ack for MessageCounter:1964916542 on exchange 31055i + Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: + + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: @@ -324,12 +251,35 @@ tests: Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers ./chip-tool administratorcommissioning read window-status 1 0 - - Verify on TH_CE (all-clusters-app) log successfully reads the WindowStatus - - CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003C Attribute 0x0000_0000 DataVersion: 2849200592 - [1651137648.760469][14047:14052] CHIP:TOO: WindowStatus: 0 - [1651137648.760534][14047:14052] CHIP:EM: Sending Standalone Ack for MessageCounter:5527412 on exchange 14590i" + Verify TH_CE successfully reads windowstatus + + [1661482777.283822][6453:6453] CHIP:DMG: ReportDataMessage = + [1661482777.283855][6453:6453] CHIP:DMG: { + [1661482777.283882][6453:6453] CHIP:DMG: AttributeReportIBs = + [1661482777.283921][6453:6453] CHIP:DMG: [ + [1661482777.283951][6453:6453] CHIP:DMG: AttributeReportIB = + [1661482777.283995][6453:6453] CHIP:DMG: { + [1661482777.284036][6453:6453] CHIP:DMG: AttributeDataIB = + [1661482777.284080][6453:6453] CHIP:DMG: { + [1661482777.284122][6453:6453] CHIP:DMG: DataVersion = 0xd3f3fc78, + [1661482777.284289][6453:6453] CHIP:DMG: AttributePathIB = + [1661482777.284337][6453:6453] CHIP:DMG: { + [1661482777.284385][6453:6453] CHIP:DMG: Endpoint = 0x0, + [1661482777.284430][6453:6453] CHIP:DMG: Cluster = 0x3c, + [1661482777.284479][6453:6453] CHIP:DMG: Attribute = 0x0000_0000, + [1661482777.284522][6453:6453] CHIP:DMG: } + [1661482777.284567][6453:6453] CHIP:DMG: + [1661482777.284612][6453:6453] CHIP:DMG: Data = 1, + [1661482777.284655][6453:6453] CHIP:DMG: }, + [1661482777.284699][6453:6453] CHIP:DMG: + [1661482777.284733][6453:6453] CHIP:DMG: }, + [1661482777.284773][6453:6453] CHIP:DMG: + [1661482777.284803][6453:6453] CHIP:DMG: ], + [1661482777.284841][6453:6453] CHIP:DMG: + [1661482777.284872][6453:6453] CHIP:DMG: SuppressResponse = true, + [1661482777.284905][6453:6453] CHIP:DMG: InteractionModelRevision = 1 + [1661482777.284934][6453:6453] CHIP:DMG: } + [1661482777.284962][6453:6453] CHIP:DMG: disabled: true - label: @@ -401,19 +351,11 @@ tests: ./chip-tool pairing open-commissioning-window 1 1 180 1000 3840 - Verify Manual pairing code on TH_CE (all-clusters-app) Log - - [1635925713.966786][9695:9700] CHIP:SC: Success status report received. Session was established - [1635925713.966839][9695:9700] CHIP:IN: New secure session created for device 0x0000000000000001, key 33!! - [1635925713.966938][9695:9700] CHIP:CTL: OpenCommissioningWindow for device ID 1 - [1635925713.972601][9695:9700] CHIP:DMG: ICR moving to [AddingComm] - [1635925713.972705][9695:9700] CHIP:DMG: ICR moving to [AddedComma] - [1635925713.972815][9695:9700] CHIP:IN: Prepared encrypted message 0xaaaad9b57d10 to 0x0000000000000001 of type 0x8 and protocolId (0, 1) on exchange 31056i with MessageCounter:0. - [1635925713.972876][9695:9700] CHIP:IN: Sending encrypted msg 0xaaaad9b57d10 with MessageCounter:0 to 0x0000000000000001 at monotonic time: 13449459 msec - [1635925713.973006][9695:9700] CHIP:DMG: ICR moving to [CommandSen] - [1635925713.973061][9695:9700] CHIP:CTL: Manual pairing code: [36217551633] - [1635925713.973120][9695:9700] CHIP:CTL: SetupQRCode: [MT:00000CQM00A7F87ZT10] - [1635925713.973178][9695:9700] CHIP:EM: Sending Standalone Ack for MessageCounter:1964916542 on exchange 31055i + Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: + + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: @@ -481,12 +423,35 @@ tests: Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers ./chip-tool administratorcommissioning read window-status 1 0 - - Verify on TH_CE(all-clusters-app) log successfully reads the WindowStatus - - CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003C Attribute 0x0000_0000 DataVersion: 2849200592 - [1651137648.760469][14047:14052] CHIP:TOO: WindowStatus: 0 - [1651137648.760534][14047:14052] CHIP:EM: Sending Standalone Ack for MessageCounter:5527412 on exchange 14590i" + Verify TH_CE successfully reads windowstatus + + [1661482777.283822][6453:6453] CHIP:DMG: ReportDataMessage = + [1661482777.283855][6453:6453] CHIP:DMG: { + [1661482777.283882][6453:6453] CHIP:DMG: AttributeReportIBs = + [1661482777.283921][6453:6453] CHIP:DMG: [ + [1661482777.283951][6453:6453] CHIP:DMG: AttributeReportIB = + [1661482777.283995][6453:6453] CHIP:DMG: { + [1661482777.284036][6453:6453] CHIP:DMG: AttributeDataIB = + [1661482777.284080][6453:6453] CHIP:DMG: { + [1661482777.284122][6453:6453] CHIP:DMG: DataVersion = 0xd3f3fc78, + [1661482777.284289][6453:6453] CHIP:DMG: AttributePathIB = + [1661482777.284337][6453:6453] CHIP:DMG: { + [1661482777.284385][6453:6453] CHIP:DMG: Endpoint = 0x0, + [1661482777.284430][6453:6453] CHIP:DMG: Cluster = 0x3c, + [1661482777.284479][6453:6453] CHIP:DMG: Attribute = 0x0000_0000, + [1661482777.284522][6453:6453] CHIP:DMG: } + [1661482777.284567][6453:6453] CHIP:DMG: + [1661482777.284612][6453:6453] CHIP:DMG: Data = 0, + [1661482777.284655][6453:6453] CHIP:DMG: }, + [1661482777.284699][6453:6453] CHIP:DMG: + [1661482777.284733][6453:6453] CHIP:DMG: }, + [1661482777.284773][6453:6453] CHIP:DMG: + [1661482777.284803][6453:6453] CHIP:DMG: ], + [1661482777.284841][6453:6453] CHIP:DMG: + [1661482777.284872][6453:6453] CHIP:DMG: SuppressResponse = true, + [1661482777.284905][6453:6453] CHIP:DMG: InteractionModelRevision = 1 + [1661482777.284934][6453:6453] CHIP:DMG: } + [1661482777.284962][6453:6453] CHIP:DMG: disabled: true - label: "DUT_CR1 sends command to TH_CE to read AdminFabricIndex attribute" @@ -498,12 +463,31 @@ tests: ./chip-tool administratorcommissioning read admin-fabric-index 1 0 - Verify on TH_CE(all-clusters-app) log successfully reads the AdminFabricIndex - - [1659097193.389295][11728:11733] CHIP:DMG: } - [1659097193.389588][11728:11733] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003C Attribute 0x0000_0001 DataVersion: 1299585105 - [1659097193.389731][11728:11733] CHIP:TOO: AdminFabricIndex: 0 - [1659097193.389913][11728:11733] CHIP:EM: Sending Standalone Ack for MessageCounter:195671426 on exchange 34244i + Verify on TH_CE(all-clusters-app) successfully reads the AdminFabricIndex + + [1661484456.069189][6930:6930] CHIP:DMG: ReportDataMessage = + [1661484456.069213][6930:6930] CHIP:DMG: { + [1661484456.069232][6930:6930] CHIP:DMG: AttributeReportIBs = + [1661484456.069259][6930:6930] CHIP:DMG: [ + [1661484456.069280][6930:6930] CHIP:DMG: AttributeReportIB = + [1661484456.069314][6930:6930] CHIP:DMG: { + [1661484456.069339][6930:6930] CHIP:DMG: AttributeDataIB = + [1661484456.069366][6930:6930] CHIP:DMG: { + [1661484456.069395][6930:6930] CHIP:DMG: DataVersion = 0x5698b43f, + [1661484456.069427][6930:6930] CHIP:DMG: AttributePathIB = + [1661484456.069459][6930:6930] CHIP:DMG: { + [1661484456.069492][6930:6930] CHIP:DMG: Endpoint = 0x0, + [1661484456.069524][6930:6930] CHIP:DMG: Cluster = 0x3c, + [1661484456.069629][6930:6930] CHIP:DMG: Attribute = 0x0000_0001, + [1661484456.069661][6930:6930] CHIP:DMG: } + [1661484456.069695][6930:6930] CHIP:DMG: + [1661484456.069729][6930:6930] CHIP:DMG: Data = NULL + [1661484456.069757][6930:6930] CHIP:DMG: }, + [1661484456.069790][6930:6930] CHIP:DMG: + [1661484456.069815][6930:6930] CHIP:DMG: }, + [1661484456.069844][6930:6930] CHIP:DMG: + [1661484456.069865][6930:6930] CHIP:DMG: ], + [1661484456.069892][6930:6930] CHIP:DMG: disabled: true - label: "DUT_CR1 sends command to TH_CE to read AdminVendorId attribute" @@ -513,11 +497,31 @@ tests: Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers - ./chip-tool administratorcommissioning read admin-vendor-id 1 0 + Verify on TH_CE(all-clusters-app) successfully reads the AdminVendorId - Verify on TH_CE(all-clusters-app) log successfully reads the AdminVendorId + ./chip-tool administratorcommissioning read admin-vendor-id 1 0 - [1658838521.588942][9317:9322] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003C Attribute 0x0000_0002 DataVersion: 2423106591 - [1658838521.589005][9317:9322] CHIP:TOO: AdminVendorId: 0 - [1658838521.589079][9317:9322] CHIP:EM: Sending Standalone Ack for MessageCounter:217165763 on exchange 55683i + [1661484515.721772][6930:6930] CHIP:DMG: ReportDataMessage = + [1661484515.721809][6930:6930] CHIP:DMG: { + [1661484515.721838][6930:6930] CHIP:DMG: AttributeReportIBs = + [1661484515.721880][6930:6930] CHIP:DMG: [ + [1661484515.721913][6930:6930] CHIP:DMG: AttributeReportIB = + [1661484515.721965][6930:6930] CHIP:DMG: { + [1661484515.722006][6930:6930] CHIP:DMG: AttributeDataIB = + [1661484515.722051][6930:6930] CHIP:DMG: { + [1661484515.722100][6930:6930] CHIP:DMG: DataVersion = 0x5698b43f, + [1661484515.722146][6930:6930] CHIP:DMG: AttributePathIB = + [1661484515.722191][6930:6930] CHIP:DMG: { + [1661484515.722242][6930:6930] CHIP:DMG: Endpoint = 0x0, + [1661484515.722292][6930:6930] CHIP:DMG: Cluster = 0x3c, + [1661484515.722344][6930:6930] CHIP:DMG: Attribute = 0x0000_0002, + [1661484515.722394][6930:6930] CHIP:DMG: } + [1661484515.722443][6930:6930] CHIP:DMG: + [1661484515.722494][6930:6930] CHIP:DMG: Data = NULL + [1661484515.722542][6930:6930] CHIP:DMG: }, + [1661484515.722589][6930:6930] CHIP:DMG: + [1661484515.722626][6930:6930] CHIP:DMG: }, + [1661484515.722673][6930:6930] CHIP:DMG: + [1661484515.722705][6930:6930] CHIP:DMG: ], + [1661484515.722746][6930:6930] CHIP:DMG: disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_15.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_15.yaml index 17191702192c60..b7a840314e02aa 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_15.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_15.yaml @@ -197,12 +197,11 @@ tests: attribute of DUT_CE" PICS: BINFO.S.A0005 && PICS_USER_PROMPT verification: | - Using your 2nd controller read attribute + Using TH_CR2 read attribute - Below is the example while using chip tool on second controller, - ./chip-tool basic read node-label 2 0 + ./chip-tool basic read node-label 2 0 --commissioner-name beta - Received error (protocol code 2) during pairing process. ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter + Received error (protocol code 2) during pairing process. ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter [1651819620.929567][4359:4364] CHIP:CTL: OperationalDeviceProxy[B8070CD13C99D367:0000000000000002]: State change 3 --> 2 [1651819620.929700][4359:4364] CHIP:-: ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter at ../../commands/clusters/ModelCommand.cpp:53 cluster: "LogCommands" diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_16.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_16.yaml index ba7744562b2518..92f1e4c650b870 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_16.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_16.yaml @@ -182,12 +182,11 @@ tests: attribute of DUT_CE" PICS: BINFO.S.A0005 && PICS_USER_PROMPT verification: | - Using your 2nd controller read attribute + Using TH_CR2 read attribute - Below is the example while using chip tool on second controller, - ./chip-tool basic read node-label 2 0 + ./chip-tool basic read node-label 2 0 --commissioner-name beta - Received error (protocol code 2) during pairing process. ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter + Received error (protocol code 2) during pairing process. ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter [1651819620.929567][4359:4364] CHIP:CTL: OperationalDeviceProxy[B8070CD13C99D367:0000000000000002]: State change 3 --> 2 [1651819620.929700][4359:4364] CHIP:-: ../../third_party/connectedhomeip/src/protocols/secure_channel/CASESession.cpp:1551: CHIP Error 0x00000054: Invalid CASE parameter at ../../commands/clusters/ModelCommand.cpp:53 cluster: "LogCommands" diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_17.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_17.yaml index 1af00f85f5c868..c62bac9c96d359 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_17.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_17.yaml @@ -55,33 +55,11 @@ tests: ./chip-tool pairing open-commissioning-window 1 1 300 1000 3840 - Verify Manual pairing code on TH_CE (all-clusters-app) Log + Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: - [1635925713.966786][9695:9700] CHIP:SC: Success status report received. Session was established - [1635925713.966839][9695:9700] CHIP:IN: New secure session created for device 0x0000000000000001, key 33!! - [1635925713.966938][9695:9700] CHIP:CTL: OpenCommissioningWindow for device ID 1 - [1635925713.972601][9695:9700] CHIP:DMG: ICR moving to [AddingComm] - [1635925713.972705][9695:9700] CHIP:DMG: ICR moving to [AddedComma] - [1635925713.972815][9695:9700] CHIP:IN: Prepared encrypted message 0xaaaad9b57d10 to 0x0000000000000001 of type 0x8 and protocolId (0, 1) on exchange 31056i with MessageCounter:0. - [1635925713.972876][9695:9700] CHIP:IN: Sending encrypted msg 0xaaaad9b57d10 with MessageCounter:0 to 0x0000000000000001 at monotonic time: 13449459 msec - [1635925713.973006][9695:9700] CHIP:DMG: ICR moving to [CommandSen] - [1635925713.973061][9695:9700] CHIP:CTL: Manual pairing code: [35484132896] - [1635925713.973120][9695:9700] CHIP:CTL: SetupQRCode: [MT:00000CQM00A7F87ZT10] - [1635925713.973178][9695:9700] CHIP:EM: Sending Standalone Ack for MessageCounter:1964916542 on exchange 31055i - - - - - ./chip-tool payload parse-setup-payload 35484132896 - - CHIP:SPL: Parsing decimalRepresentation: 35484132896 - [1635692029.655951][3830:3830] CHIP:SPL: CommissioningFlow: 0 - [1635692029.655974][3830:3830] CHIP:SPL: VendorID: 0 - [1635692029.655994][3830:3830] CHIP:SPL: Version: 0 - [1635692029.656013][3830:3830] CHIP:SPL: ProductID: 0 - [1635692029.656032][3830:3830] CHIP:SPL: Discriminator: 3840 - [1635692029.656051][3830:3830] CHIP:SPL: SetUpPINCode: 68539195 - [1635692029.656070][3830:3830] CHIP:SPL: RendezvousInformation: 0 + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: "TH_CR2 starts a commissioning process with TH_CE" @@ -95,7 +73,7 @@ tests: ./chip-tool pairing code 1 35484132896 --commissioner-name beta Verify you got below message on TH_CE(all-clusters-app) log - Device commissioning completed with success + Commissioning completed successfully disabled: true - label: @@ -103,39 +81,17 @@ tests: commissioning timeout of PIXIT.CADMIN.CwDuration seconds using ECM" PICS: CADMIN.C.C00.Tx verification: | - On TH_CR1 (chip tool), open commissioning window using ECM + On DUT_CR1, open commissioning window using ECM Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers ./chip-tool pairing open-commissioning-window 1 1 300 1000 3840 - Verify Manual pairing code on TH_CE(all-clusters-app) Log - - [1635925713.966786][9695:9700] CHIP:SC: Success status report received. Session was established - [1635925713.966839][9695:9700] CHIP:IN: New secure session created for device 0x0000000000000001, key 33!! - [1635925713.966938][9695:9700] CHIP:CTL: OpenCommissioningWindow for device ID 1 - [1635925713.972601][9695:9700] CHIP:DMG: ICR moving to [AddingComm] - [1635925713.972705][9695:9700] CHIP:DMG: ICR moving to [AddedComma] - [1635925713.972815][9695:9700] CHIP:IN: Prepared encrypted message 0xaaaad9b57d10 to 0x0000000000000001 of type 0x8 and protocolId (0, 1) on exchange 31056i with MessageCounter:0. - [1635925713.972876][9695:9700] CHIP:IN: Sending encrypted msg 0xaaaad9b57d10 with MessageCounter:0 to 0x0000000000000001 at monotonic time: 13449459 msec - [1635925713.973006][9695:9700] CHIP:DMG: ICR moving to [CommandSen] - [1635925713.973061][9695:9700] CHIP:CTL: Manual pairing code: [35484132896] - [1635925713.973120][9695:9700] CHIP:CTL: SetupQRCode: [MT:00000CQM00A7F87ZT10] - [1635925713.973178][9695:9700] CHIP:EM: Sending Standalone Ack for MessageCounter:1964916542 on exchange 31055i + Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: - - - - ./chip-tool payload parse-setup-payload 35484132896 - - CHIP:SPL: Parsing decimalRepresentation: 35484132896 - [1635692029.655951][3830:3830] CHIP:SPL: CommissioningFlow: 0 - [1635692029.655974][3830:3830] CHIP:SPL: VendorID: 0 - [1635692029.655994][3830:3830] CHIP:SPL: Version: 0 - [1635692029.656013][3830:3830] CHIP:SPL: ProductID: 0 - [1635692029.656032][3830:3830] CHIP:SPL: Discriminator: 3840 - [1635692029.656051][3830:3830] CHIP:SPL: SetUpPINCode: 68539195 - [1635692029.656070][3830:3830] CHIP:SPL: RendezvousInformation: 0 + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: "TH_CR3 starts a commissioning process with TH_CE" @@ -148,7 +104,7 @@ tests: ./chip-tool pairing code 1 35484132896 --commissioner-name gamma Verify you got below message on TH_CE(all-clusters-app) log - Device commissioning completed with success + Commissioning completed successfully disabled: true - label: "DUT_CR1 sends command to TH_CE to read the list of Fabrics" @@ -162,33 +118,96 @@ tests: ./chip-tool operationalcredentials read fabrics 1234 0 --fabric-filtered 0 --commissioner-name beta - CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2455995193 - CHIP:TOO: Fabrics: 3 entries - CHIP:TOO: [1]: { - CHIP:TOO: RootPublicKey: 04656F56DBDB677DC957028DFC0ED76709C72753C9194B117A483BDC07386BFD9529B68EB4448FBBA3964EFF37A56A8F461D348B0DAF3B56A75F3B94BF8209D36F - CHIP:TOO: VendorId: 65521 - CHIP:TOO: FabricId: 1 - CHIP:TOO: NodeId: 1 - CHIP:TOO: Label: - CHIP:TOO: FabricIndex: 1 - CHIP:TOO: } - CHIP:TOO: [2]: { - CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 - CHIP:TOO: VendorId: 65521 - CHIP:TOO: FabricId: 1 - CHIP:TOO: NodeId: 2 - CHIP:TOO: Label: - CHIP:TOO: FabricIndex: 2 - CHIP:TOO: } - CHIP:TOO: [3]: { - CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 - CHIP:TOO: VendorId: 65521 - CHIP:TOO: FabricId: 1 - CHIP:TOO: NodeId: 3 - CHIP:TOO: Label: - CHIP:TOO: FabricIndex: 3 - CHIP:TOO: } - CHIP:EM: Sending Standalone Ack for MessageCounter:9143157 on exchange 1147i + [1661484795.149040][6993:6993] CHIP:DMG: + [1661484795.149076][6993:6993] CHIP:DMG: AttributeReportIB = + [1661484795.149131][6993:6993] CHIP:DMG: { + [1661484795.149172][6993:6993] CHIP:DMG: AttributeDataIB = + [1661484795.149219][6993:6993] CHIP:DMG: { + [1661484795.149268][6993:6993] CHIP:DMG: DataVersion = 0x8c37955, + [1661484795.149318][6993:6993] CHIP:DMG: AttributePathIB = + [1661484795.149370][6993:6993] CHIP:DMG: { + [1661484795.149421][6993:6993] CHIP:DMG: Endpoint = 0x0, + [1661484795.149479][6993:6993] CHIP:DMG: Cluster = 0x3e, + [1661484795.149538][6993:6993] CHIP:DMG: Attribute = 0x0000_0001, + [1661484795.149590][6993:6993] CHIP:DMG: ListIndex = Null, + [1661484795.149639][6993:6993] CHIP:DMG: } + [1661484795.149695][6993:6993] CHIP:DMG: + [1661484795.149747][6993:6993] CHIP:DMG: Data = + [1661484795.149796][6993:6993] CHIP:DMG: { + [1661484795.149851][6993:6993] CHIP:DMG: 0x1 = [ + [1661484795.149932][6993:6993] CHIP:DMG: 0x4, 0xb5, 0xc1, 0xfd, 0xdd, 0x6a, 0xdd, 0xc3, 0xa1, 0x3d, 0xee, 0x39, 0xa2, 0xe, 0x66, 0x7, 0xa2, 0x3a, 0x6d, 0x4a, 0x86, 0x57, 0x36, 0xf7, 0x1f, 0x20, 0x7c, 0x9d, 0xe8, 0x8, 0xa, 0xd5, 0xf2, 0x9c, 0x9d, 0x1b, 0x14, 0x5f, 0xbc, 0x60, 0xb9, 0xe7, 0xee, 0xb3, 0x4c, 0x2, 0xf4, 0x7b, 0x21, 0xdb, 0x74, 0x4e, 0xb1, 0x65, 0x22, 0xd3, 0xe0, 0x32, 0xbd, 0xbe, 0xde, 0x43, 0xfe, 0x26, 0xd6, + [1661484795.149997][6993:6993] CHIP:DMG: ] (65 bytes) + [1661484795.150055][6993:6993] CHIP:DMG: 0x2 = 65521, + [1661484795.150109][6993:6993] CHIP:DMG: 0x3 = 1, + [1661484795.150167][6993:6993] CHIP:DMG: 0x4 = 1, + [1661484795.150223][6993:6993] CHIP:DMG: 0x5 = "" (0 chars), + [1661484795.150277][6993:6993] CHIP:DMG: 0xfe = 1, + [1661484795.150329][6993:6993] CHIP:DMG: }, + [1661484795.150380][6993:6993] CHIP:DMG: }, + [1661484795.150432][6993:6993] CHIP:DMG: + [1661484795.150470][6993:6993] CHIP:DMG: }, + [1661484795.150534][6993:6993] CHIP:DMG: + [1661484795.150571][6993:6993] CHIP:DMG: AttributeReportIB = + [1661484795.150627][6993:6993] CHIP:DMG: { + [1661484795.150668][6993:6993] CHIP:DMG: AttributeDataIB = + [1661484795.150719][6993:6993] CHIP:DMG: { + [1661484795.150771][6993:6993] CHIP:DMG: DataVersion = 0x8c37955, + [1661484795.150824][6993:6993] CHIP:DMG: AttributePathIB = + [1661484795.150874][6993:6993] CHIP:DMG: { + [1661484795.150928][6993:6993] CHIP:DMG: Endpoint = 0x0, + [1661484795.150981][6993:6993] CHIP:DMG: Cluster = 0x3e, + [1661484795.151034][6993:6993] CHIP:DMG: Attribute = 0x0000_0001, + [1661484795.151090][6993:6993] CHIP:DMG: ListIndex = Null, + [1661484795.151140][6993:6993] CHIP:DMG: } + [1661484795.151192][6993:6993] CHIP:DMG: + [1661484795.151241][6993:6993] CHIP:DMG: Data = + [1661484795.151290][6993:6993] CHIP:DMG: { + [1661484795.151344][6993:6993] CHIP:DMG: 0x1 = [ + [1661484795.151425][6993:6993] CHIP:DMG: 0x4, 0x7b, 0x5b, 0x9a, 0x2a, 0xd1, 0x4e, 0x1e, 0x8d, 0xf4, 0xca, 0xea, 0xde, 0x1c, 0xbe, 0xa7, 0xf6, 0xd4, 0xa1, 0xe8, 0xf0, 0x20, 0x9f, 0x6c, 0x38, 0x30, 0x31, 0x88, 0xb5, 0x89, 0x69, 0xd4, 0x7, 0x17, 0x16, 0x85, 0x25, 0x55, 0x8f, 0x5b, 0xed, 0x58, 0x68, 0x27, 0xde, 0x5e, 0xf6, 0xf9, 0xf8, 0x99, 0x54, 0x92, 0x8e, 0x33, 0xa6, 0xf4, 0xb0, 0x5a, 0xc1, 0xa6, 0x1a, 0xf5, 0x2, 0xb4, 0x4f, + [1661484795.151495][6993:6993] CHIP:DMG: ] (65 bytes) + [1661484795.151548][6993:6993] CHIP:DMG: 0x2 = 65521, + [1661484795.151603][6993:6993] CHIP:DMG: 0x3 = 2, + [1661484795.151656][6993:6993] CHIP:DMG: 0x4 = 1, + [1661484795.151714][6993:6993] CHIP:DMG: 0x5 = "" (0 chars), + [1661484795.151772][6993:6993] CHIP:DMG: 0xfe = 2, + [1661484795.151825][6993:6993] CHIP:DMG: }, + [1661484795.151873][6993:6993] CHIP:DMG: }, + [1661484795.151929][6993:6993] CHIP:DMG: + [1661484795.151971][6993:6993] CHIP:DMG: }, + [1661484795.152036][6993:6993] CHIP:DMG: + [1661484795.152073][6993:6993] CHIP:DMG: AttributeReportIB = + [1661484795.152127][6993:6993] CHIP:DMG: { + [1661484795.152182][6993:6993] CHIP:DMG: AttributeDataIB = + [1661484795.152229][6993:6993] CHIP:DMG: { + [1661484795.152281][6993:6993] CHIP:DMG: DataVersion = 0x8c37955, + [1661484795.152330][6993:6993] CHIP:DMG: AttributePathIB = + [1661484795.152374][6993:6993] CHIP:DMG: { + [1661484795.152415][6993:6993] CHIP:DMG: Endpoint = 0x0, + [1661484795.152464][6993:6993] CHIP:DMG: Cluster = 0x3e, + [1661484795.152522][6993:6993] CHIP:DMG: Attribute = 0x0000_0001, + [1661484795.152579][6993:6993] CHIP:DMG: ListIndex = Null, + [1661484795.152629][6993:6993] CHIP:DMG: } + [1661484795.152681][6993:6993] CHIP:DMG: + [1661484795.152733][6993:6993] CHIP:DMG: Data = + [1661484795.152786][6993:6993] CHIP:DMG: { + [1661484795.152839][6993:6993] CHIP:DMG: 0x1 = [ + [1661484795.152925][6993:6993] CHIP:DMG: 0x4, 0x14, 0x2a, 0x75, 0x60, 0x97, 0xf8, 0x6d, 0x97, 0xe, 0xcb, 0x79, 0x70, 0x9b, 0xe4, 0xf2, 0x97, 0x3a, 0xe2, 0xf5, 0xe0, 0xff, 0x4, 0x4, 0xf2, 0xc9, 0x13, 0xf6, 0xd6, 0x0, 0x9c, 0x94, 0xca, 0xd7, 0xd1, 0x81, 0xfd, 0x77, 0xf1, 0x5b, 0x13, 0xc7, 0x78, 0x74, 0x30, 0x28, 0x9f, 0x18, 0x73, 0x45, 0xe, 0xde, 0xb8, 0xba, 0x88, 0x8d, 0x90, 0x43, 0x58, 0x35, 0x2c, 0xb1, 0x5a, 0xe7, 0xe, + [1661484795.152991][6993:6993] CHIP:DMG: ] (65 bytes) + [1661484795.153049][6993:6993] CHIP:DMG: 0x2 = 65521, + [1661484795.153107][6993:6993] CHIP:DMG: 0x3 = 3, + [1661484795.153160][6993:6993] CHIP:DMG: 0x4 = 1, + [1661484795.153217][6993:6993] CHIP:DMG: 0x5 = "" (0 chars), + [1661484795.153270][6993:6993] CHIP:DMG: 0xfe = 3, + [1661484795.153326][6993:6993] CHIP:DMG: }, + [1661484795.153374][6993:6993] CHIP:DMG: }, + [1661484795.153434][6993:6993] CHIP:DMG: + [1661484795.153475][6993:6993] CHIP:DMG: }, + [1661484795.153529][6993:6993] CHIP:DMG: + [1661484795.153565][6993:6993] CHIP:DMG: ], + [1661484795.153642][6993:6993] CHIP:DMG: + [1661484795.153679][6993:6993] CHIP:DMG: SuppressResponse = true, + [1661484795.153717][6993:6993] CHIP:DMG: InteractionModelRevision = 1 + [1661484795.153752][6993:6993] CHIP:DMG: } disabled: true - label: "DUT_CR1 sends RemoveFabric with FabricIndex = 2 command to TH_CE" @@ -250,25 +269,88 @@ tests: Verify TH_CE receives and processes the command successfully on TH_CE (all-clusters-app) log - CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2455995219 - [1647863260.286772][9294:9299] CHIP:TOO: Fabrics: 2 entries - [1647863260.286908][9294:9299] CHIP:TOO: [1]: { - [1647863260.286947][9294:9299] CHIP:TOO: RootPublicKey: 04656F56DBDB677DC957028DFC0ED76709C72753C9194B117A483BDC07386BFD9529B68EB4448FBBA3964EFF37A56A8F461D348B0DAF3B56A75F3B94BF8209D36F - [1647863260.286995][9294:9299] CHIP:TOO: VendorId: 65521 - [1647863260.287026][9294:9299] CHIP:TOO: FabricId: 1 - [1647863260.287055][9294:9299] CHIP:TOO: NodeId: 1 - [1647863260.287084][9294:9299] CHIP:TOO: Label: - [1647863260.287113][9294:9299] CHIP:TOO: FabricIndex: 1 - [1647863260.287144][9294:9299] CHIP:TOO: } - [1647863260.287185][9294:9299] CHIP:TOO: [2]: { - [1647863260.287221][9294:9299] CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 - [1647863260.287253][9294:9299] CHIP:TOO: VendorId: 65521 - [1647863260.287282][9294:9299] CHIP:TOO: FabricId: 1 - [1647863260.287310][9294:9299] CHIP:TOO: NodeId: 3 - [1647863260.287339][9294:9299] CHIP:TOO: Label: - [1647863260.287368][9294:9299] CHIP:TOO: FabricIndex: 3 - [1647863260.287396][9294:9299] CHIP:TOO: } - [1647863260.287515][9294:9299] CHIP:EM: Sending Standalone Ack for MessageCounter:11301761 on exchange 13180i + + [1661485083.682189][6993:6993] CHIP:DMG: ReportDataMessage = + [1661485083.682233][6993:6993] CHIP:DMG: { + [1661485083.682269][6993:6993] CHIP:DMG: AttributeReportIBs = + [1661485083.682319][6993:6993] CHIP:DMG: [ + [1661485083.682360][6993:6993] CHIP:DMG: AttributeReportIB = + [1661485083.682417][6993:6993] CHIP:DMG: { + [1661485083.682464][6993:6993] CHIP:DMG: AttributeDataIB = + [1661485083.682518][6993:6993] CHIP:DMG: { + [1661485083.682575][6993:6993] CHIP:DMG: DataVersion = 0x8c37957, + [1661485083.682629][6993:6993] CHIP:DMG: AttributePathIB = + [1661485083.682687][6993:6993] CHIP:DMG: { + [1661485083.682749][6993:6993] CHIP:DMG: Endpoint = 0x0, + [1661485083.682810][6993:6993] CHIP:DMG: Cluster = 0x3e, + [1661485083.682873][6993:6993] CHIP:DMG: Attribute = 0x0000_0001, + [1661485083.682934][6993:6993] CHIP:DMG: } + [1661485083.682997][6993:6993] CHIP:DMG: + [1661485083.683058][6993:6993] CHIP:DMG: Data = [ + [1661485083.683117][6993:6993] CHIP:DMG: + [1661485083.683177][6993:6993] CHIP:DMG: ], + [1661485083.683235][6993:6993] CHIP:DMG: }, + [1661485083.683296][6993:6993] CHIP:DMG: + [1661485083.683344][6993:6993] CHIP:DMG: }, + [1661485083.683413][6993:6993] CHIP:DMG: + [1661485083.683454][6993:6993] CHIP:DMG: AttributeReportIB = + [1661485083.683509][6993:6993] CHIP:DMG: { + [1661485083.683552][6993:6993] CHIP:DMG: AttributeDataIB = + [1661485083.683608][6993:6993] CHIP:DMG: { + [1661485083.683664][6993:6993] CHIP:DMG: DataVersion = 0x8c37957, + [1661485083.683718][6993:6993] CHIP:DMG: AttributePathIB = + [1661485083.683775][6993:6993] CHIP:DMG: { + [1661485083.683834][6993:6993] CHIP:DMG: Endpoint = 0x0, + [1661485083.683901][6993:6993] CHIP:DMG: Cluster = 0x3e, + [1661485083.683967][6993:6993] CHIP:DMG: Attribute = 0x0000_0001, + [1661485083.684032][6993:6993] CHIP:DMG: ListIndex = Null, + [1661485083.684089][6993:6993] CHIP:DMG: } + [1661485083.684176][6993:6993] CHIP:DMG: + [1661485083.684234][6993:6993] CHIP:DMG: Data = + [1661485083.684294][6993:6993] CHIP:DMG: { + [1661485083.684354][6993:6993] CHIP:DMG: 0x1 = [ + [1661485083.684450][6993:6993] CHIP:DMG: 0x4, 0xb5, 0xc1, 0xfd, 0xdd, 0x6a, 0xdd, 0xc3, 0xa1, 0x3d, 0xee, 0x39, 0xa2, 0xe, 0x66, 0x7, 0xa2, 0x3a, 0x6d, 0x4a, 0x86, 0x57, 0x36, 0xf7, 0x1f, 0x20, 0x7c, 0x9d, 0xe8, 0x8, 0xa, 0xd5, 0xf2, 0x9c, 0x9d, 0x1b, 0x14, 0x5f, 0xbc, 0x60, 0xb9, 0xe7, 0xee, 0xb3, 0x4c, 0x2, 0xf4, 0x7b, 0x21, 0xdb, 0x74, 0x4e, 0xb1, 0x65, 0x22, 0xd3, 0xe0, 0x32, 0xbd, 0xbe, 0xde, 0x43, 0xfe, 0x26, 0xd6, + [1661485083.684529][6993:6993] CHIP:DMG: ] (65 bytes) + [1661485083.684594][6993:6993] CHIP:DMG: 0x2 = 65521, + [1661485083.684659][6993:6993] CHIP:DMG: 0x3 = 1, + [1661485083.684719][6993:6993] CHIP:DMG: 0x4 = 1, + [1661485083.684786][6993:6993] CHIP:DMG: 0x5 = "" (0 chars), + [1661485083.684847][6993:6993] CHIP:DMG: 0xfe = 1, + [1661485083.684910][6993:6993] CHIP:DMG: }, + [1661485083.684963][6993:6993] CHIP:DMG: }, + [1661485083.685023][6993:6993] CHIP:DMG: + [1661485083.685069][6993:6993] CHIP:DMG: }, + [1661485083.685142][6993:6993] CHIP:DMG: + [1661485083.685183][6993:6993] CHIP:DMG: AttributeReportIB = + [1661485083.685244][6993:6993] CHIP:DMG: { + [1661485083.685292][6993:6993] CHIP:DMG: AttributeDataIB = + [1661485083.685348][6993:6993] CHIP:DMG: { + [1661485083.685401][6993:6993] CHIP:DMG: DataVersion = 0x8c37957, + [1661485083.685455][6993:6993] CHIP:DMG: AttributePathIB = + [1661485083.685505][6993:6993] CHIP:DMG: { + [1661485083.685561][6993:6993] CHIP:DMG: Endpoint = 0x0, + [1661485083.685625][6993:6993] CHIP:DMG: Cluster = 0x3e, + [1661485083.685689][6993:6993] CHIP:DMG: Attribute = 0x0000_0001, + [1661485083.685748][6993:6993] CHIP:DMG: ListIndex = Null, + [1661485083.685807][6993:6993] CHIP:DMG: } + [1661485083.685870][6993:6993] CHIP:DMG: + [1661485083.685925][6993:6993] CHIP:DMG: Data = + [1661485083.685983][6993:6993] CHIP:DMG: { + [1661485083.686043][6993:6993] CHIP:DMG: 0x1 = [ + [1661485083.686133][6993:6993] CHIP:DMG: 0x4, 0x14, 0x2a, 0x75, 0x60, 0x97, 0xf8, 0x6d, 0x97, 0xe, 0xcb, 0x79, 0x70, 0x9b, 0xe4, 0xf2, 0x97, 0x3a, 0xe2, 0xf5, 0xe0, 0xff, 0x4, 0x4, 0xf2, 0xc9, 0x13, 0xf6, 0xd6, 0x0, 0x9c, 0x94, 0xca, 0xd7, 0xd1, 0x81, 0xfd, 0x77, 0xf1, 0x5b, 0x13, 0xc7, 0x78, 0x74, 0x30, 0x28, 0x9f, 0x18, 0x73, 0x45, 0xe, 0xde, 0xb8, 0xba, 0x88, 0x8d, 0x90, 0x43, 0x58, 0x35, 0x2c, 0xb1, 0x5a, 0xe7, 0xe, + [1661485083.686200][6993:6993] CHIP:DMG: ] (65 bytes) + [1661485083.686250][6993:6993] CHIP:DMG: 0x2 = 65521, + [1661485083.686309][6993:6993] CHIP:DMG: 0x3 = 3, + [1661485083.686373][6993:6993] CHIP:DMG: 0x4 = 1, + [1661485083.686439][6993:6993] CHIP:DMG: 0x5 = "" (0 chars), + [1661485083.686504][6993:6993] CHIP:DMG: 0xfe = 3, + [1661485083.686562][6993:6993] CHIP:DMG: }, + [1661485083.686615][6993:6993] CHIP:DMG: }, + [1661485083.686675][6993:6993] CHIP:DMG: + [1661485083.686721][6993:6993] CHIP:DMG: }, + [1661485083.686780][6993:6993] CHIP:DMG: + [1661485083.686820][6993:6993] CHIP:DMG: ], + [1661485083.686893][6993:6993] CHIP:DMG: disabled: true - label: @@ -306,20 +388,12 @@ tests: ./chip-tool pairing open-commissioning-window 1 1 300 1000 3840 - Verify Manual pairing code on DUT_CR1(chip-tool) Log + Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: - [1635925713.966786][9695:9700] CHIP:SC: Success status report received. Session was established - [1635925713.966839][9695:9700] CHIP:IN: New secure session created for device 0x0000000000000001, key 33!! - [1635925713.966938][9695:9700] CHIP:CTL: OpenCommissioningWindow for device ID 1 - [1635925713.972601][9695:9700] CHIP:DMG: ICR moving to [AddingComm] - [1635925713.972705][9695:9700] CHIP:DMG: ICR moving to [AddedComma] - [1635925713.972815][9695:9700] CHIP:IN: Prepared encrypted message 0xaaaad9b57d10 to 0x0000000000000001 of type 0x8 and protocolId (0, 1) on exchange 31056i with MessageCounter:0. - [1635925713.972876][9695:9700] CHIP:IN: Sending encrypted msg 0xaaaad9b57d10 with MessageCounter:0 to 0x0000000000000001 at monotonic time: 13449459 msec - [1635925713.973006][9695:9700] CHIP:DMG: ICR moving to [CommandSen] - [1635925713.973061][9695:9700] CHIP:CTL: Manual pairing code: [36217551633] - [1635925713.973120][9695:9700] CHIP:CTL: SetupQRCode: [MT:00000CQM00A7F87ZT10] - [1635925713.973178][9695:9700] CHIP:EM: Sending Standalone Ack for MessageCounter:1964916542 on exchange 31055i + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: "TH_CR2 starts a commissioning process with TH_CE" @@ -333,7 +407,7 @@ tests: ./chip-tool pairing code 1 36217551633 --commissioner-name beta Verify you got below message on TH_CE (all-clusters-app) log - Device commissioning completed with success + Commissioning completed successfully disabled: true - label: @@ -348,31 +422,95 @@ tests: Verify TH_CE receives and processes the command successfully on TH_CE (all-clusters-app) log - CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2455995246 - [1647863342.980899][9309:9314] CHIP:TOO: Fabrics: 3 entries - [1647863342.981158][9309:9314] CHIP:TOO: [1]: { - [1647863342.981231][9309:9314] CHIP:TOO: RootPublicKey: 04656F56DBDB677DC957028DFC0ED76709C72753C9194B117A483BDC07386BFD9529B68EB4448FBBA3964EFF37A56A8F461D348B0DAF3B56A75F3B94BF8209D36F - [1647863342.981322][9309:9314] CHIP:TOO: VendorId: 65521 - [1647863342.981380][9309:9314] CHIP:TOO: FabricId: 1 - [1647863342.981434][9309:9314] CHIP:TOO: NodeId: 1 - [1647863342.981486][9309:9314] CHIP:TOO: Label: - [1647863342.981539][9309:9314] CHIP:TOO: FabricIndex: 1 - [1647863342.981594][9309:9314] CHIP:TOO: } - [1647863342.981671][9309:9314] CHIP:TOO: [2]: { - [1647863342.981737][9309:9314] CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 - [1647863342.981796][9309:9314] CHIP:TOO: VendorId: 65521 - [1647863342.981849][9309:9314] CHIP:TOO: FabricId: 1 - [1647863342.981901][9309:9314] CHIP:TOO: NodeId: 3 - [1647863342.981952][9309:9314] CHIP:TOO: Label: - [1647863342.982005][9309:9314] CHIP:TOO: FabricIndex: 3 - [1647863342.982057][9309:9314] CHIP:TOO: } - [1647863342.982131][9309:9314] CHIP:TOO: [3]: { - [1647863342.982195][9309:9314] CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 - [1647863342.982252][9309:9314] CHIP:TOO: VendorId: 65521 - [1647863342.982305][9309:9314] CHIP:TOO: FabricId: 1 - [1647863342.982357][9309:9314] CHIP:TOO: NodeId: 2 - [1647863342.982409][9309:9314] CHIP:TOO: Label: - [1647863342.982460][9309:9314] CHIP:TOO: FabricIndex: 4 - [1647863342.982512][9309:9314] CHIP:TOO: } - [1647863342.982738][9309:9314] CHIP:EM: Sending Standalone Ack for MessageCounter:5772016 on exchange 3310i + [1661485246.217535][6993:6993] CHIP:DMG: + [1661485246.217572][6993:6993] CHIP:DMG: AttributeReportIB = + [1661485246.217627][6993:6993] CHIP:DMG: { + [1661485246.217666][6993:6993] CHIP:DMG: AttributeDataIB = + [1661485246.217704][6993:6993] CHIP:DMG: { + [1661485246.217748][6993:6993] CHIP:DMG: DataVersion = 0x8c3795b, + [1661485246.217787][6993:6993] CHIP:DMG: AttributePathIB = + [1661485246.217840][6993:6993] CHIP:DMG: { + [1661485246.217891][6993:6993] CHIP:DMG: Endpoint = 0x0, + [1661485246.217944][6993:6993] CHIP:DMG: Cluster = 0x3e, + [1661485246.218001][6993:6993] CHIP:DMG: Attribute = 0x0000_0001, + [1661485246.218058][6993:6993] CHIP:DMG: ListIndex = Null, + [1661485246.218107][6993:6993] CHIP:DMG: } + [1661485246.218164][6993:6993] CHIP:DMG: + [1661485246.218213][6993:6993] CHIP:DMG: Data = + [1661485246.218262][6993:6993] CHIP:DMG: { + [1661485246.218316][6993:6993] CHIP:DMG: 0x1 = [ + [1661485246.218402][6993:6993] CHIP:DMG: 0x4, 0xb5, 0xc1, 0xfd, 0xdd, 0x6a, 0xdd, 0xc3, 0xa1, 0x3d, 0xee, 0x39, 0xa2, 0xe, 0x66, 0x7, 0xa2, 0x3a, 0x6d, 0x4a, 0x86, 0x57, 0x36, 0xf7, 0x1f, 0x20, 0x7c, 0x9d, 0xe8, 0x8, 0xa, 0xd5, 0xf2, 0x9c, 0x9d, 0x1b, 0x14, 0x5f, 0xbc, 0x60, 0xb9, 0xe7, 0xee, 0xb3, 0x4c, 0x2, 0xf4, 0x7b, 0x21, 0xdb, 0x74, 0x4e, 0xb1, 0x65, 0x22, 0xd3, 0xe0, 0x32, 0xbd, 0xbe, 0xde, 0x43, 0xfe, 0x26, 0xd6, + [1661485246.218471][6993:6993] CHIP:DMG: ] (65 bytes) + [1661485246.218530][6993:6993] CHIP:DMG: 0x2 = 65521, + [1661485246.218586][6993:6993] CHIP:DMG: 0x3 = 1, + [1661485246.218639][6993:6993] CHIP:DMG: 0x4 = 1, + [1661485246.218697][6993:6993] CHIP:DMG: 0x5 = "" (0 chars), + [1661485246.218754][6993:6993] CHIP:DMG: 0xfe = 1, + [1661485246.218807][6993:6993] CHIP:DMG: }, + [1661485246.218858][6993:6993] CHIP:DMG: }, + [1661485246.218919][6993:6993] CHIP:DMG: + [1661485246.218966][6993:6993] CHIP:DMG: }, + [1661485246.219032][6993:6993] CHIP:DMG: + [1661485246.219068][6993:6993] CHIP:DMG: AttributeReportIB = + [1661485246.219123][6993:6993] CHIP:DMG: { + [1661485246.219164][6993:6993] CHIP:DMG: AttributeDataIB = + [1661485246.219211][6993:6993] CHIP:DMG: { + [1661485246.219258][6993:6993] CHIP:DMG: DataVersion = 0x8c3795b, + [1661485246.219306][6993:6993] CHIP:DMG: AttributePathIB = + [1661485246.219359][6993:6993] CHIP:DMG: { + [1661485246.219414][6993:6993] CHIP:DMG: Endpoint = 0x0, + [1661485246.219472][6993:6993] CHIP:DMG: Cluster = 0x3e, + [1661485246.219525][6993:6993] CHIP:DMG: Attribute = 0x0000_0001, + [1661485246.219581][6993:6993] CHIP:DMG: ListIndex = Null, + [1661485246.219633][6993:6993] CHIP:DMG: } + [1661485246.219689][6993:6993] CHIP:DMG: + [1661485246.219742][6993:6993] CHIP:DMG: Data = + [1661485246.219795][6993:6993] CHIP:DMG: { + [1661485246.219849][6993:6993] CHIP:DMG: 0x1 = [ + [1661485246.219931][6993:6993] CHIP:DMG: 0x4, 0x7b, 0x5b, 0x9a, 0x2a, 0xd1, 0x4e, 0x1e, 0x8d, 0xf4, 0xca, 0xea, 0xde, 0x1c, 0xbe, 0xa7, 0xf6, 0xd4, 0xa1, 0xe8, 0xf0, 0x20, 0x9f, 0x6c, 0x38, 0x30, 0x31, 0x88, 0xb5, 0x89, 0x69, 0xd4, 0x7, 0x17, 0x16, 0x85, 0x25, 0x55, 0x8f, 0x5b, 0xed, 0x58, 0x68, 0x27, 0xde, 0x5e, 0xf6, 0xf9, 0xf8, 0x99, 0x54, 0x92, 0x8e, 0x33, 0xa6, 0xf4, 0xb0, 0x5a, 0xc1, 0xa6, 0x1a, 0xf5, 0x2, 0xb4, 0x4f, + [1661485246.220001][6993:6993] CHIP:DMG: ] (65 bytes) + [1661485246.220056][6993:6993] CHIP:DMG: 0x2 = 65521, + [1661485246.220109][6993:6993] CHIP:DMG: 0x3 = 2, + [1661485246.220197][6993:6993] CHIP:DMG: 0x4 = 1, + [1661485246.220253][6993:6993] CHIP:DMG: 0x5 = "" (0 chars), + [1661485246.220307][6993:6993] CHIP:DMG: 0xfe = 4, + [1661485246.220361][6993:6993] CHIP:DMG: }, + [1661485246.220407][6993:6993] CHIP:DMG: }, + [1661485246.220464][6993:6993] CHIP:DMG: + [1661485246.220505][6993:6993] CHIP:DMG: }, + [1661485246.220570][6993:6993] CHIP:DMG: + [1661485246.220607][6993:6993] CHIP:DMG: AttributeReportIB = + [1661485246.220659][6993:6993] CHIP:DMG: { + [1661485246.220698][6993:6993] CHIP:DMG: AttributeDataIB = + [1661485246.220743][6993:6993] CHIP:DMG: { + [1661485246.220792][6993:6993] CHIP:DMG: DataVersion = 0x8c3795b, + [1661485246.220843][6993:6993] CHIP:DMG: AttributePathIB = + [1661485246.220892][6993:6993] CHIP:DMG: { + [1661485246.220943][6993:6993] CHIP:DMG: Endpoint = 0x0, + [1661485246.220996][6993:6993] CHIP:DMG: Cluster = 0x3e, + [1661485246.221049][6993:6993] CHIP:DMG: Attribute = 0x0000_0001, + [1661485246.221101][6993:6993] CHIP:DMG: ListIndex = Null, + [1661485246.221154][6993:6993] CHIP:DMG: } + [1661485246.221205][6993:6993] CHIP:DMG: + [1661485246.221257][6993:6993] CHIP:DMG: Data = + [1661485246.221307][6993:6993] CHIP:DMG: { + [1661485246.221359][6993:6993] CHIP:DMG: 0x1 = [ + [1661485246.221441][6993:6993] CHIP:DMG: 0x4, 0x14, 0x2a, 0x75, 0x60, 0x97, 0xf8, 0x6d, 0x97, 0xe, 0xcb, 0x79, 0x70, 0x9b, 0xe4, 0xf2, 0x97, 0x3a, 0xe2, 0xf5, 0xe0, 0xff, 0x4, 0x4, 0xf2, 0xc9, 0x13, 0xf6, 0xd6, 0x0, 0x9c, 0x94, 0xca, 0xd7, 0xd1, 0x81, 0xfd, 0x77, 0xf1, 0x5b, 0x13, 0xc7, 0x78, 0x74, 0x30, 0x28, 0x9f, 0x18, 0x73, 0x45, 0xe, 0xde, 0xb8, 0xba, 0x88, 0x8d, 0x90, 0x43, 0x58, 0x35, 0x2c, 0xb1, 0x5a, 0xe7, 0xe, + [1661485246.221511][6993:6993] CHIP:DMG: ] (65 bytes) + [1661485246.221569][6993:6993] CHIP:DMG: 0x2 = 65521, + [1661485246.221628][6993:6993] CHIP:DMG: 0x3 = 3, + [1661485246.221681][6993:6993] CHIP:DMG: 0x4 = 1, + [1661485246.221740][6993:6993] CHIP:DMG: 0x5 = "" (0 chars), + [1661485246.221795][6993:6993] CHIP:DMG: 0xfe = 3, + [1661485246.221847][6993:6993] CHIP:DMG: }, + [1661485246.221895][6993:6993] CHIP:DMG: }, + [1661485246.221949][6993:6993] CHIP:DMG: + [1661485246.221990][6993:6993] CHIP:DMG: }, + [1661485246.222040][6993:6993] CHIP:DMG: + [1661485246.222075][6993:6993] CHIP:DMG: ], + [1661485246.222156][6993:6993] CHIP:DMG: + [1661485246.222193][6993:6993] CHIP:DMG: SuppressResponse = true, + [1661485246.222230][6993:6993] CHIP:DMG: InteractionModelRevision = 1 + [1661485246.222265][6993:6993] CHIP:DMG: } + [1661485246.222297][6993:6993] CHIP:DMG: disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_18.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_18.yaml index c627a7a0806fe0..d6ed7f4a529bd7 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_18.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_18.yaml @@ -56,38 +56,11 @@ tests: ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000 - Verify success response On TH-CE(all-clusters-app) Log - - CHIP: [DMG] InvokeResponseMessage = - [1648116114630] [6871:3898916] CHIP: [DMG] { - [1648116114630] [6871:3898916] CHIP: [DMG] suppressResponse = false, - [1648116114630] [6871:3898916] CHIP: [DMG] InvokeResponseIBs = - [1648116114630] [6871:3898916] CHIP: [DMG] [ - [1648116114630] [6871:3898916] CHIP: [DMG] InvokeResponseIB = - [1648116114630] [6871:3898916] CHIP: [DMG] { - [1648116114630] [6871:3898916] CHIP: [DMG] CommandStatusIB = - [1648116114630] [6871:3898916] CHIP: [DMG] { - [1648116114630] [6871:3898916] CHIP: [DMG] CommandPathIB = - [1648116114630] [6871:3898916] CHIP: [DMG] { - [1648116114630] [6871:3898916] CHIP: [DMG] EndpointId = 0x0, - [1648116114630] [6871:3898916] CHIP: [DMG] ClusterId = 0x3c, - [1648116114630] [6871:3898916] CHIP: [DMG] CommandId = 0x1, - [1648116114630] [6871:3898916] CHIP: [DMG] }, - [1648116114630] [6871:3898916] CHIP: [DMG] - [1648116114630] [6871:3898916] CHIP: [DMG] StatusIB = - [1648116114631] [6871:3898916] CHIP: [DMG] { - [1648116114631] [6871:3898916] CHIP: [DMG] status = 0x0, - [1648116114631] [6871:3898916] CHIP: [DMG] }, - [1648116114631] [6871:3898916] CHIP: [DMG] - [1648116114631] [6871:3898916] CHIP: [DMG] }, - [1648116114631] [6871:3898916] CHIP: [DMG] - [1648116114631] [6871:3898916] CHIP: [DMG] }, - [1648116114631] [6871:3898916] CHIP: [DMG] - [1648116114631] [6871:3898916] CHIP: [DMG] ], - [1648116114631] [6871:3898916] CHIP: [DMG] - [1648116114631] [6871:3898916] CHIP: [DMG] InteractionModelRevision = 1 - [1648116114631] [6871:3898916] CHIP: [DMG] }, - [1648116114631] [6871:3898916] CHIP: [DMG] Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 + Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: + + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: "TH_CR2 starts a commissioning process with TH_CE" @@ -102,7 +75,7 @@ tests: Verify you got below message on TH_CE (all-clusters-app) log - Device commissioning completed with success + Commissioning completed successfully disabled: true - label: @@ -117,38 +90,12 @@ tests: ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000 - Verify success response On TH_CE (all-clusters-app) Log - - CHIP: [DMG] InvokeResponseMessage = - [1648116114630] [6871:3898916] CHIP: [DMG] { - [1648116114630] [6871:3898916] CHIP: [DMG] suppressResponse = false, - [1648116114630] [6871:3898916] CHIP: [DMG] InvokeResponseIBs = - [1648116114630] [6871:3898916] CHIP: [DMG] [ - [1648116114630] [6871:3898916] CHIP: [DMG] InvokeResponseIB = - [1648116114630] [6871:3898916] CHIP: [DMG] { - [1648116114630] [6871:3898916] CHIP: [DMG] CommandStatusIB = - [1648116114630] [6871:3898916] CHIP: [DMG] { - [1648116114630] [6871:3898916] CHIP: [DMG] CommandPathIB = - [1648116114630] [6871:3898916] CHIP: [DMG] { - [1648116114630] [6871:3898916] CHIP: [DMG] EndpointId = 0x0, - [1648116114630] [6871:3898916] CHIP: [DMG] ClusterId = 0x3c, - [1648116114630] [6871:3898916] CHIP: [DMG] CommandId = 0x1, - [1648116114630] [6871:3898916] CHIP: [DMG] }, - [1648116114630] [6871:3898916] CHIP: [DMG] - [1648116114630] [6871:3898916] CHIP: [DMG] StatusIB = - [1648116114631] [6871:3898916] CHIP: [DMG] { - [1648116114631] [6871:3898916] CHIP: [DMG] status = 0x0, - [1648116114631] [6871:3898916] CHIP: [DMG] }, - [1648116114631] [6871:3898916] CHIP: [DMG] - [1648116114631] [6871:3898916] CHIP: [DMG] }, - [1648116114631] [6871:3898916] CHIP: [DMG] - [1648116114631] [6871:3898916] CHIP: [DMG] }, - [1648116114631] [6871:3898916] CHIP: [DMG] - [1648116114631] [6871:3898916] CHIP: [DMG] ], - [1648116114631] [6871:3898916] CHIP: [DMG] - [1648116114631] [6871:3898916] CHIP: [DMG] InteractionModelRevision = 1 - [1648116114631] [6871:3898916] CHIP: [DMG] }, - [1648116114631] [6871:3898916] CHIP: [DMG] Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 + + Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: + + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: "TH_CR3 starts a commissioning process with TH_CE" @@ -177,34 +124,97 @@ tests: Verify TH_CE receives and processes the command successfully on TH_CE (all-clusters-app) log - CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2455995193 - CHIP:TOO: Fabrics: 3 entries - CHIP:TOO: [1]: { - CHIP:TOO: RootPublicKey: 04656F56DBDB677DC957028DFC0ED76709C72753C9194B117A483BDC07386BFD9529B68EB4448FBBA3964EFF37A56A8F461D348B0DAF3B56A75F3B94BF8209D36F - CHIP:TOO: VendorId: 65521 - CHIP:TOO: FabricId: 1 - CHIP:TOO: NodeId: 1 - CHIP:TOO: Label: - CHIP:TOO: FabricIndex: 1 - CHIP:TOO: } - CHIP:TOO: [2]: { - CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 - CHIP:TOO: VendorId: 65521 - CHIP:TOO: FabricId: 1 - CHIP:TOO: NodeId: 2 - CHIP:TOO: Label: - CHIP:TOO: FabricIndex: 2 - CHIP:TOO: } - CHIP:TOO: [3]: { - CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 - CHIP:TOO: VendorId: 65521 - CHIP:TOO: FabricId: 1 - CHIP:TOO: NodeId: 3 - CHIP:TOO: Label: - CHIP:TOO: FabricIndex: 3 - CHIP:TOO: } - CHIP:EM: Sending Standalone Ack for MessageCounter:9143157 on exchange 1147i - " + + [1661484795.149040][6993:6993] CHIP:DMG: + [1661484795.149076][6993:6993] CHIP:DMG: AttributeReportIB = + [1661484795.149131][6993:6993] CHIP:DMG: { + [1661484795.149172][6993:6993] CHIP:DMG: AttributeDataIB = + [1661484795.149219][6993:6993] CHIP:DMG: { + [1661484795.149268][6993:6993] CHIP:DMG: DataVersion = 0x8c37955, + [1661484795.149318][6993:6993] CHIP:DMG: AttributePathIB = + [1661484795.149370][6993:6993] CHIP:DMG: { + [1661484795.149421][6993:6993] CHIP:DMG: Endpoint = 0x0, + [1661484795.149479][6993:6993] CHIP:DMG: Cluster = 0x3e, + [1661484795.149538][6993:6993] CHIP:DMG: Attribute = 0x0000_0001, + [1661484795.149590][6993:6993] CHIP:DMG: ListIndex = Null, + [1661484795.149639][6993:6993] CHIP:DMG: } + [1661484795.149695][6993:6993] CHIP:DMG: + [1661484795.149747][6993:6993] CHIP:DMG: Data = + [1661484795.149796][6993:6993] CHIP:DMG: { + [1661484795.149851][6993:6993] CHIP:DMG: 0x1 = [ + [1661484795.149932][6993:6993] CHIP:DMG: 0x4, 0xb5, 0xc1, 0xfd, 0xdd, 0x6a, 0xdd, 0xc3, 0xa1, 0x3d, 0xee, 0x39, 0xa2, 0xe, 0x66, 0x7, 0xa2, 0x3a, 0x6d, 0x4a, 0x86, 0x57, 0x36, 0xf7, 0x1f, 0x20, 0x7c, 0x9d, 0xe8, 0x8, 0xa, 0xd5, 0xf2, 0x9c, 0x9d, 0x1b, 0x14, 0x5f, 0xbc, 0x60, 0xb9, 0xe7, 0xee, 0xb3, 0x4c, 0x2, 0xf4, 0x7b, 0x21, 0xdb, 0x74, 0x4e, 0xb1, 0x65, 0x22, 0xd3, 0xe0, 0x32, 0xbd, 0xbe, 0xde, 0x43, 0xfe, 0x26, 0xd6, + [1661484795.149997][6993:6993] CHIP:DMG: ] (65 bytes) + [1661484795.150055][6993:6993] CHIP:DMG: 0x2 = 65521, + [1661484795.150109][6993:6993] CHIP:DMG: 0x3 = 1, + [1661484795.150167][6993:6993] CHIP:DMG: 0x4 = 1, + [1661484795.150223][6993:6993] CHIP:DMG: 0x5 = "" (0 chars), + [1661484795.150277][6993:6993] CHIP:DMG: 0xfe = 1, + [1661484795.150329][6993:6993] CHIP:DMG: }, + [1661484795.150380][6993:6993] CHIP:DMG: }, + [1661484795.150432][6993:6993] CHIP:DMG: + [1661484795.150470][6993:6993] CHIP:DMG: }, + [1661484795.150534][6993:6993] CHIP:DMG: + [1661484795.150571][6993:6993] CHIP:DMG: AttributeReportIB = + [1661484795.150627][6993:6993] CHIP:DMG: { + [1661484795.150668][6993:6993] CHIP:DMG: AttributeDataIB = + [1661484795.150719][6993:6993] CHIP:DMG: { + [1661484795.150771][6993:6993] CHIP:DMG: DataVersion = 0x8c37955, + [1661484795.150824][6993:6993] CHIP:DMG: AttributePathIB = + [1661484795.150874][6993:6993] CHIP:DMG: { + [1661484795.150928][6993:6993] CHIP:DMG: Endpoint = 0x0, + [1661484795.150981][6993:6993] CHIP:DMG: Cluster = 0x3e, + [1661484795.151034][6993:6993] CHIP:DMG: Attribute = 0x0000_0001, + [1661484795.151090][6993:6993] CHIP:DMG: ListIndex = Null, + [1661484795.151140][6993:6993] CHIP:DMG: } + [1661484795.151192][6993:6993] CHIP:DMG: + [1661484795.151241][6993:6993] CHIP:DMG: Data = + [1661484795.151290][6993:6993] CHIP:DMG: { + [1661484795.151344][6993:6993] CHIP:DMG: 0x1 = [ + [1661484795.151425][6993:6993] CHIP:DMG: 0x4, 0x7b, 0x5b, 0x9a, 0x2a, 0xd1, 0x4e, 0x1e, 0x8d, 0xf4, 0xca, 0xea, 0xde, 0x1c, 0xbe, 0xa7, 0xf6, 0xd4, 0xa1, 0xe8, 0xf0, 0x20, 0x9f, 0x6c, 0x38, 0x30, 0x31, 0x88, 0xb5, 0x89, 0x69, 0xd4, 0x7, 0x17, 0x16, 0x85, 0x25, 0x55, 0x8f, 0x5b, 0xed, 0x58, 0x68, 0x27, 0xde, 0x5e, 0xf6, 0xf9, 0xf8, 0x99, 0x54, 0x92, 0x8e, 0x33, 0xa6, 0xf4, 0xb0, 0x5a, 0xc1, 0xa6, 0x1a, 0xf5, 0x2, 0xb4, 0x4f, + [1661484795.151495][6993:6993] CHIP:DMG: ] (65 bytes) + [1661484795.151548][6993:6993] CHIP:DMG: 0x2 = 65521, + [1661484795.151603][6993:6993] CHIP:DMG: 0x3 = 2, + [1661484795.151656][6993:6993] CHIP:DMG: 0x4 = 1, + [1661484795.151714][6993:6993] CHIP:DMG: 0x5 = "" (0 chars), + [1661484795.151772][6993:6993] CHIP:DMG: 0xfe = 2, + [1661484795.151825][6993:6993] CHIP:DMG: }, + [1661484795.151873][6993:6993] CHIP:DMG: }, + [1661484795.151929][6993:6993] CHIP:DMG: + [1661484795.151971][6993:6993] CHIP:DMG: }, + [1661484795.152036][6993:6993] CHIP:DMG: + [1661484795.152073][6993:6993] CHIP:DMG: AttributeReportIB = + [1661484795.152127][6993:6993] CHIP:DMG: { + [1661484795.152182][6993:6993] CHIP:DMG: AttributeDataIB = + [1661484795.152229][6993:6993] CHIP:DMG: { + [1661484795.152281][6993:6993] CHIP:DMG: DataVersion = 0x8c37955, + [1661484795.152330][6993:6993] CHIP:DMG: AttributePathIB = + [1661484795.152374][6993:6993] CHIP:DMG: { + [1661484795.152415][6993:6993] CHIP:DMG: Endpoint = 0x0, + [1661484795.152464][6993:6993] CHIP:DMG: Cluster = 0x3e, + [1661484795.152522][6993:6993] CHIP:DMG: Attribute = 0x0000_0001, + [1661484795.152579][6993:6993] CHIP:DMG: ListIndex = Null, + [1661484795.152629][6993:6993] CHIP:DMG: } + [1661484795.152681][6993:6993] CHIP:DMG: + [1661484795.152733][6993:6993] CHIP:DMG: Data = + [1661484795.152786][6993:6993] CHIP:DMG: { + [1661484795.152839][6993:6993] CHIP:DMG: 0x1 = [ + [1661484795.152925][6993:6993] CHIP:DMG: 0x4, 0x14, 0x2a, 0x75, 0x60, 0x97, 0xf8, 0x6d, 0x97, 0xe, 0xcb, 0x79, 0x70, 0x9b, 0xe4, 0xf2, 0x97, 0x3a, 0xe2, 0xf5, 0xe0, 0xff, 0x4, 0x4, 0xf2, 0xc9, 0x13, 0xf6, 0xd6, 0x0, 0x9c, 0x94, 0xca, 0xd7, 0xd1, 0x81, 0xfd, 0x77, 0xf1, 0x5b, 0x13, 0xc7, 0x78, 0x74, 0x30, 0x28, 0x9f, 0x18, 0x73, 0x45, 0xe, 0xde, 0xb8, 0xba, 0x88, 0x8d, 0x90, 0x43, 0x58, 0x35, 0x2c, 0xb1, 0x5a, 0xe7, 0xe, + [1661484795.152991][6993:6993] CHIP:DMG: ] (65 bytes) + [1661484795.153049][6993:6993] CHIP:DMG: 0x2 = 65521, + [1661484795.153107][6993:6993] CHIP:DMG: 0x3 = 3, + [1661484795.153160][6993:6993] CHIP:DMG: 0x4 = 1, + [1661484795.153217][6993:6993] CHIP:DMG: 0x5 = "" (0 chars), + [1661484795.153270][6993:6993] CHIP:DMG: 0xfe = 3, + [1661484795.153326][6993:6993] CHIP:DMG: }, + [1661484795.153374][6993:6993] CHIP:DMG: }, + [1661484795.153434][6993:6993] CHIP:DMG: + [1661484795.153475][6993:6993] CHIP:DMG: }, + [1661484795.153529][6993:6993] CHIP:DMG: + [1661484795.153565][6993:6993] CHIP:DMG: ], + [1661484795.153642][6993:6993] CHIP:DMG: + [1661484795.153679][6993:6993] CHIP:DMG: SuppressResponse = true, + [1661484795.153717][6993:6993] CHIP:DMG: InteractionModelRevision = 1 + [1661484795.153752][6993:6993] CHIP:DMG: } disabled: true - label: "DUT_CR1 sends RemoveFabric with FabricIndex = 2command to TH_CE" @@ -262,25 +272,64 @@ tests: ./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 - CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2455995219 - [1647863260.286772][9294:9299] CHIP:TOO: Fabrics: 2 entries - [1647863260.286908][9294:9299] CHIP:TOO: [1]: { - [1647863260.286947][9294:9299] CHIP:TOO: RootPublicKey: 04656F56DBDB677DC957028DFC0ED76709C72753C9194B117A483BDC07386BFD9529B68EB4448FBBA3964EFF37A56A8F461D348B0DAF3B56A75F3B94BF8209D36F - [1647863260.286995][9294:9299] CHIP:TOO: VendorId: 65521 - [1647863260.287026][9294:9299] CHIP:TOO: FabricId: 1 - [1647863260.287055][9294:9299] CHIP:TOO: NodeId: 1 - [1647863260.287084][9294:9299] CHIP:TOO: Label: - [1647863260.287113][9294:9299] CHIP:TOO: FabricIndex: 1 - [1647863260.287144][9294:9299] CHIP:TOO: } - [1647863260.287185][9294:9299] CHIP:TOO: [2]: { - [1647863260.287221][9294:9299] CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 - [1647863260.287253][9294:9299] CHIP:TOO: VendorId: 65521 - [1647863260.287282][9294:9299] CHIP:TOO: FabricId: 1 - [1647863260.287310][9294:9299] CHIP:TOO: NodeId: 3 - [1647863260.287339][9294:9299] CHIP:TOO: Label: - [1647863260.287368][9294:9299] CHIP:TOO: FabricIndex: 3 - [1647863260.287396][9294:9299] CHIP:TOO: } - [1647863260.287515][9294:9299] CHIP:EM: Sending Standalone Ack for MessageCounter:11301761 on exchange 13180i + [1661485083.683454][6993:6993] CHIP:DMG: AttributeReportIB = + [1661485083.683509][6993:6993] CHIP:DMG: { + [1661485083.683552][6993:6993] CHIP:DMG: AttributeDataIB = + [1661485083.683608][6993:6993] CHIP:DMG: { + [1661485083.683664][6993:6993] CHIP:DMG: DataVersion = 0x8c37957, + [1661485083.683718][6993:6993] CHIP:DMG: AttributePathIB = + [1661485083.683775][6993:6993] CHIP:DMG: { + [1661485083.683834][6993:6993] CHIP:DMG: Endpoint = 0x0, + [1661485083.683901][6993:6993] CHIP:DMG: Cluster = 0x3e, + [1661485083.683967][6993:6993] CHIP:DMG: Attribute = 0x0000_0001, + [1661485083.684032][6993:6993] CHIP:DMG: ListIndex = Null, + [1661485083.684089][6993:6993] CHIP:DMG: } + [1661485083.684176][6993:6993] CHIP:DMG: + [1661485083.684234][6993:6993] CHIP:DMG: Data = + [1661485083.684294][6993:6993] CHIP:DMG: { + [1661485083.684354][6993:6993] CHIP:DMG: 0x1 = [ + [1661485083.684450][6993:6993] CHIP:DMG: 0x4, 0xb5, 0xc1, 0xfd, 0xdd, 0x6a, 0xdd, 0xc3, 0xa1, 0x3d, 0xee, 0x39, 0xa2, 0xe, 0x66, 0x7, 0xa2, 0x3a, 0x6d, 0x4a, 0x86, 0x57, 0x36, 0xf7, 0x1f, 0x20, 0x7c, 0x9d, 0xe8, 0x8, 0xa, 0xd5, 0xf2, 0x9c, 0x9d, 0x1b, 0x14, 0x5f, 0xbc, 0x60, 0xb9, 0xe7, 0xee, 0xb3, 0x4c, 0x2, 0xf4, 0x7b, 0x21, 0xdb, 0x74, 0x4e, 0xb1, 0x65, 0x22, 0xd3, 0xe0, 0x32, 0xbd, 0xbe, 0xde, 0x43, 0xfe, 0x26, 0xd6, + [1661485083.684529][6993:6993] CHIP:DMG: ] (65 bytes) + [1661485083.684594][6993:6993] CHIP:DMG: 0x2 = 65521, + [1661485083.684659][6993:6993] CHIP:DMG: 0x3 = 1, + [1661485083.684719][6993:6993] CHIP:DMG: 0x4 = 1, + [1661485083.684786][6993:6993] CHIP:DMG: 0x5 = "" (0 chars), + [1661485083.684847][6993:6993] CHIP:DMG: 0xfe = 1, + [1661485083.684910][6993:6993] CHIP:DMG: }, + [1661485083.684963][6993:6993] CHIP:DMG: }, + [1661485083.685023][6993:6993] CHIP:DMG: + [1661485083.685069][6993:6993] CHIP:DMG: }, + [1661485083.685142][6993:6993] CHIP:DMG: + [1661485083.685183][6993:6993] CHIP:DMG: AttributeReportIB = + [1661485083.685244][6993:6993] CHIP:DMG: { + [1661485083.685292][6993:6993] CHIP:DMG: AttributeDataIB = + [1661485083.685348][6993:6993] CHIP:DMG: { + [1661485083.685401][6993:6993] CHIP:DMG: DataVersion = 0x8c37957, + [1661485083.685455][6993:6993] CHIP:DMG: AttributePathIB = + [1661485083.685505][6993:6993] CHIP:DMG: { + [1661485083.685561][6993:6993] CHIP:DMG: Endpoint = 0x0, + [1661485083.685625][6993:6993] CHIP:DMG: Cluster = 0x3e, + [1661485083.685689][6993:6993] CHIP:DMG: Attribute = 0x0000_0001, + [1661485083.685748][6993:6993] CHIP:DMG: ListIndex = Null, + [1661485083.685807][6993:6993] CHIP:DMG: } + [1661485083.685870][6993:6993] CHIP:DMG: + [1661485083.685925][6993:6993] CHIP:DMG: Data = + [1661485083.685983][6993:6993] CHIP:DMG: { + [1661485083.686043][6993:6993] CHIP:DMG: 0x1 = [ + [1661485083.686133][6993:6993] CHIP:DMG: 0x4, 0x14, 0x2a, 0x75, 0x60, 0x97, 0xf8, 0x6d, 0x97, 0xe, 0xcb, 0x79, 0x70, 0x9b, 0xe4, 0xf2, 0x97, 0x3a, 0xe2, 0xf5, 0xe0, 0xff, 0x4, 0x4, 0xf2, 0xc9, 0x13, 0xf6, 0xd6, 0x0, 0x9c, 0x94, 0xca, 0xd7, 0xd1, 0x81, 0xfd, 0x77, 0xf1, 0x5b, 0x13, 0xc7, 0x78, 0x74, 0x30, 0x28, 0x9f, 0x18, 0x73, 0x45, 0xe, 0xde, 0xb8, 0xba, 0x88, 0x8d, 0x90, 0x43, 0x58, 0x35, 0x2c, 0xb1, 0x5a, 0xe7, 0xe, + [1661485083.686200][6993:6993] CHIP:DMG: ] (65 bytes) + [1661485083.686250][6993:6993] CHIP:DMG: 0x2 = 65521, + [1661485083.686309][6993:6993] CHIP:DMG: 0x3 = 3, + [1661485083.686373][6993:6993] CHIP:DMG: 0x4 = 1, + [1661485083.686439][6993:6993] CHIP:DMG: 0x5 = "" (0 chars), + [1661485083.686504][6993:6993] CHIP:DMG: 0xfe = 3, + [1661485083.686562][6993:6993] CHIP:DMG: }, + [1661485083.686615][6993:6993] CHIP:DMG: }, + [1661485083.686675][6993:6993] CHIP:DMG: + [1661485083.686721][6993:6993] CHIP:DMG: }, + [1661485083.686780][6993:6993] CHIP:DMG: + [1661485083.686820][6993:6993] CHIP:DMG: ], + [1661485083.686893][6993:6993] CHIP:DMG: disabled: true - label: @@ -319,39 +368,12 @@ tests: For BCM, ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000 - Verify success response On TH_CE (all-clusters-app) Log - - CHIP:DMG: InvokeResponseMessage = - [1650278416.248379][11064:11069] CHIP:DMG: { - [1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false, - [1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs = - [1650278416.248570][11064:11069] CHIP:DMG: [ - [1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB = - [1650278416.248718][11064:11069] CHIP:DMG: { - [1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB = - [1650278416.248860][11064:11069] CHIP:DMG: { - [1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB = - [1650278416.249011][11064:11069] CHIP:DMG: { - [1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0, - [1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c, - [1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1, - [1650278416.249347][11064:11069] CHIP:DMG: }, - [1650278416.249430][11064:11069] CHIP:DMG: - [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = - [1650278416.249581][11064:11069] CHIP:DMG: { - [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), - [1650278416.249738][11064:11069] CHIP:DMG: }, - [1650278416.249823][11064:11069] CHIP:DMG: - [1650278416.249889][11064:11069] CHIP:DMG: }, - [1650278416.249969][11064:11069] CHIP:DMG: - [1650278416.250035][11064:11069] CHIP:DMG: }, - [1650278416.250113][11064:11069] CHIP:DMG: - [1650278416.250169][11064:11069] CHIP:DMG: ], - [1650278416.250241][11064:11069] CHIP:DMG: - [1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1 - [1650278416.250355][11064:11069] CHIP:DMG: }, - [1650278416.250535][11064:11069] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 - [1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe] + + Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: + + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: "TH_CR2 starts a commissioning process with TH_CE" @@ -365,7 +387,7 @@ tests: ./chip-tool pairing onnetwork 2 20202021 --commissioner-name beta Verify you got below message on TH_CE (all-clusters-app) log - Device commissioning completed with success + Commissioning completed successfully disabled: true - label: "TH_CR2 sends command to TH_CE to read the list of Fabrics" @@ -379,31 +401,96 @@ tests: Verify TH_CE receives and processes the command successfully on TH_CE (all-clusters-app) log - CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2455995246 - [1647863342.980899][9309:9314] CHIP:TOO: Fabrics: 3 entries - [1647863342.981158][9309:9314] CHIP:TOO: [1]: { - [1647863342.981231][9309:9314] CHIP:TOO: RootPublicKey: 04656F56DBDB677DC957028DFC0ED76709C72753C9194B117A483BDC07386BFD9529B68EB4448FBBA3964EFF37A56A8F461D348B0DAF3B56A75F3B94BF8209D36F - [1647863342.981322][9309:9314] CHIP:TOO: VendorId: 65521 - [1647863342.981380][9309:9314] CHIP:TOO: FabricId: 1 - [1647863342.981434][9309:9314] CHIP:TOO: NodeId: 1 - [1647863342.981486][9309:9314] CHIP:TOO: Label: - [1647863342.981539][9309:9314] CHIP:TOO: FabricIndex: 1 - [1647863342.981594][9309:9314] CHIP:TOO: } - [1647863342.981671][9309:9314] CHIP:TOO: [2]: { - [1647863342.981737][9309:9314] CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 - [1647863342.981796][9309:9314] CHIP:TOO: VendorId: 65521 - [1647863342.981849][9309:9314] CHIP:TOO: FabricId: 1 - [1647863342.981901][9309:9314] CHIP:TOO: NodeId: 3 - [1647863342.981952][9309:9314] CHIP:TOO: Label: - [1647863342.982005][9309:9314] CHIP:TOO: FabricIndex: 3 - [1647863342.982057][9309:9314] CHIP:TOO: } - [1647863342.982131][9309:9314] CHIP:TOO: [3]: { - [1647863342.982195][9309:9314] CHIP:TOO: RootPublicKey: 04F8F28D5D70A4510E0F72FBBA31369796C4206FF95D97B77C1BDFD0438A3BE43510631A1B915BE189323F4CC0E015480192654D8170F8F230C7713898962958B7 - [1647863342.982252][9309:9314] CHIP:TOO: VendorId: 65521 - [1647863342.982305][9309:9314] CHIP:TOO: FabricId: 1 - [1647863342.982357][9309:9314] CHIP:TOO: NodeId: 2 - [1647863342.982409][9309:9314] CHIP:TOO: Label: - [1647863342.982460][9309:9314] CHIP:TOO: FabricIndex: 4 - [1647863342.982512][9309:9314] CHIP:TOO: } - [1647863342.982738][9309:9314] CHIP:EM: Sending Standalone Ack for MessageCounter:5772016 on exchange 3310i + + [1661485246.217535][6993:6993] CHIP:DMG: + [1661485246.217572][6993:6993] CHIP:DMG: AttributeReportIB = + [1661485246.217627][6993:6993] CHIP:DMG: { + [1661485246.217666][6993:6993] CHIP:DMG: AttributeDataIB = + [1661485246.217704][6993:6993] CHIP:DMG: { + [1661485246.217748][6993:6993] CHIP:DMG: DataVersion = 0x8c3795b, + [1661485246.217787][6993:6993] CHIP:DMG: AttributePathIB = + [1661485246.217840][6993:6993] CHIP:DMG: { + [1661485246.217891][6993:6993] CHIP:DMG: Endpoint = 0x0, + [1661485246.217944][6993:6993] CHIP:DMG: Cluster = 0x3e, + [1661485246.218001][6993:6993] CHIP:DMG: Attribute = 0x0000_0001, + [1661485246.218058][6993:6993] CHIP:DMG: ListIndex = Null, + [1661485246.218107][6993:6993] CHIP:DMG: } + [1661485246.218164][6993:6993] CHIP:DMG: + [1661485246.218213][6993:6993] CHIP:DMG: Data = + [1661485246.218262][6993:6993] CHIP:DMG: { + [1661485246.218316][6993:6993] CHIP:DMG: 0x1 = [ + [1661485246.218402][6993:6993] CHIP:DMG: 0x4, 0xb5, 0xc1, 0xfd, 0xdd, 0x6a, 0xdd, 0xc3, 0xa1, 0x3d, 0xee, 0x39, 0xa2, 0xe, 0x66, 0x7, 0xa2, 0x3a, 0x6d, 0x4a, 0x86, 0x57, 0x36, 0xf7, 0x1f, 0x20, 0x7c, 0x9d, 0xe8, 0x8, 0xa, 0xd5, 0xf2, 0x9c, 0x9d, 0x1b, 0x14, 0x5f, 0xbc, 0x60, 0xb9, 0xe7, 0xee, 0xb3, 0x4c, 0x2, 0xf4, 0x7b, 0x21, 0xdb, 0x74, 0x4e, 0xb1, 0x65, 0x22, 0xd3, 0xe0, 0x32, 0xbd, 0xbe, 0xde, 0x43, 0xfe, 0x26, 0xd6, + [1661485246.218471][6993:6993] CHIP:DMG: ] (65 bytes) + [1661485246.218530][6993:6993] CHIP:DMG: 0x2 = 65521, + [1661485246.218586][6993:6993] CHIP:DMG: 0x3 = 1, + [1661485246.218639][6993:6993] CHIP:DMG: 0x4 = 1, + [1661485246.218697][6993:6993] CHIP:DMG: 0x5 = "" (0 chars), + [1661485246.218754][6993:6993] CHIP:DMG: 0xfe = 1, + [1661485246.218807][6993:6993] CHIP:DMG: }, + [1661485246.218858][6993:6993] CHIP:DMG: }, + [1661485246.218919][6993:6993] CHIP:DMG: + [1661485246.218966][6993:6993] CHIP:DMG: }, + [1661485246.219032][6993:6993] CHIP:DMG: + [1661485246.219068][6993:6993] CHIP:DMG: AttributeReportIB = + [1661485246.219123][6993:6993] CHIP:DMG: { + [1661485246.219164][6993:6993] CHIP:DMG: AttributeDataIB = + [1661485246.219211][6993:6993] CHIP:DMG: { + [1661485246.219258][6993:6993] CHIP:DMG: DataVersion = 0x8c3795b, + [1661485246.219306][6993:6993] CHIP:DMG: AttributePathIB = + [1661485246.219359][6993:6993] CHIP:DMG: { + [1661485246.219414][6993:6993] CHIP:DMG: Endpoint = 0x0, + [1661485246.219472][6993:6993] CHIP:DMG: Cluster = 0x3e, + [1661485246.219525][6993:6993] CHIP:DMG: Attribute = 0x0000_0001, + [1661485246.219581][6993:6993] CHIP:DMG: ListIndex = Null, + [1661485246.219633][6993:6993] CHIP:DMG: } + [1661485246.219689][6993:6993] CHIP:DMG: + [1661485246.219742][6993:6993] CHIP:DMG: Data = + [1661485246.219795][6993:6993] CHIP:DMG: { + [1661485246.219849][6993:6993] CHIP:DMG: 0x1 = [ + [1661485246.219931][6993:6993] CHIP:DMG: 0x4, 0x7b, 0x5b, 0x9a, 0x2a, 0xd1, 0x4e, 0x1e, 0x8d, 0xf4, 0xca, 0xea, 0xde, 0x1c, 0xbe, 0xa7, 0xf6, 0xd4, 0xa1, 0xe8, 0xf0, 0x20, 0x9f, 0x6c, 0x38, 0x30, 0x31, 0x88, 0xb5, 0x89, 0x69, 0xd4, 0x7, 0x17, 0x16, 0x85, 0x25, 0x55, 0x8f, 0x5b, 0xed, 0x58, 0x68, 0x27, 0xde, 0x5e, 0xf6, 0xf9, 0xf8, 0x99, 0x54, 0x92, 0x8e, 0x33, 0xa6, 0xf4, 0xb0, 0x5a, 0xc1, 0xa6, 0x1a, 0xf5, 0x2, 0xb4, 0x4f, + [1661485246.220001][6993:6993] CHIP:DMG: ] (65 bytes) + [1661485246.220056][6993:6993] CHIP:DMG: 0x2 = 65521, + [1661485246.220109][6993:6993] CHIP:DMG: 0x3 = 2, + [1661485246.220197][6993:6993] CHIP:DMG: 0x4 = 1, + [1661485246.220253][6993:6993] CHIP:DMG: 0x5 = "" (0 chars), + [1661485246.220307][6993:6993] CHIP:DMG: 0xfe = 4, + [1661485246.220361][6993:6993] CHIP:DMG: }, + [1661485246.220407][6993:6993] CHIP:DMG: }, + [1661485246.220464][6993:6993] CHIP:DMG: + [1661485246.220505][6993:6993] CHIP:DMG: }, + [1661485246.220570][6993:6993] CHIP:DMG: + [1661485246.220607][6993:6993] CHIP:DMG: AttributeReportIB = + [1661485246.220659][6993:6993] CHIP:DMG: { + [1661485246.220698][6993:6993] CHIP:DMG: AttributeDataIB = + [1661485246.220743][6993:6993] CHIP:DMG: { + [1661485246.220792][6993:6993] CHIP:DMG: DataVersion = 0x8c3795b, + [1661485246.220843][6993:6993] CHIP:DMG: AttributePathIB = + [1661485246.220892][6993:6993] CHIP:DMG: { + [1661485246.220943][6993:6993] CHIP:DMG: Endpoint = 0x0, + [1661485246.220996][6993:6993] CHIP:DMG: Cluster = 0x3e, + [1661485246.221049][6993:6993] CHIP:DMG: Attribute = 0x0000_0001, + [1661485246.221101][6993:6993] CHIP:DMG: ListIndex = Null, + [1661485246.221154][6993:6993] CHIP:DMG: } + [1661485246.221205][6993:6993] CHIP:DMG: + [1661485246.221257][6993:6993] CHIP:DMG: Data = + [1661485246.221307][6993:6993] CHIP:DMG: { + [1661485246.221359][6993:6993] CHIP:DMG: 0x1 = [ + [1661485246.221441][6993:6993] CHIP:DMG: 0x4, 0x14, 0x2a, 0x75, 0x60, 0x97, 0xf8, 0x6d, 0x97, 0xe, 0xcb, 0x79, 0x70, 0x9b, 0xe4, 0xf2, 0x97, 0x3a, 0xe2, 0xf5, 0xe0, 0xff, 0x4, 0x4, 0xf2, 0xc9, 0x13, 0xf6, 0xd6, 0x0, 0x9c, 0x94, 0xca, 0xd7, 0xd1, 0x81, 0xfd, 0x77, 0xf1, 0x5b, 0x13, 0xc7, 0x78, 0x74, 0x30, 0x28, 0x9f, 0x18, 0x73, 0x45, 0xe, 0xde, 0xb8, 0xba, 0x88, 0x8d, 0x90, 0x43, 0x58, 0x35, 0x2c, 0xb1, 0x5a, 0xe7, 0xe, + [1661485246.221511][6993:6993] CHIP:DMG: ] (65 bytes) + [1661485246.221569][6993:6993] CHIP:DMG: 0x2 = 65521, + [1661485246.221628][6993:6993] CHIP:DMG: 0x3 = 3, + [1661485246.221681][6993:6993] CHIP:DMG: 0x4 = 1, + [1661485246.221740][6993:6993] CHIP:DMG: 0x5 = "" (0 chars), + [1661485246.221795][6993:6993] CHIP:DMG: 0xfe = 3, + [1661485246.221847][6993:6993] CHIP:DMG: }, + [1661485246.221895][6993:6993] CHIP:DMG: }, + [1661485246.221949][6993:6993] CHIP:DMG: + [1661485246.221990][6993:6993] CHIP:DMG: }, + [1661485246.222040][6993:6993] CHIP:DMG: + [1661485246.222075][6993:6993] CHIP:DMG: ], + [1661485246.222156][6993:6993] CHIP:DMG: + [1661485246.222193][6993:6993] CHIP:DMG: SuppressResponse = true, + [1661485246.222230][6993:6993] CHIP:DMG: InteractionModelRevision = 1 + [1661485246.222265][6993:6993] CHIP:DMG: } + [1661485246.222297][6993:6993] CHIP:DMG: disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_2.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_2.yaml index 2ee488565564ac..7b9b854b37ec6a 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_2.yaml @@ -54,40 +54,11 @@ tests: ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000 - Verify Success response On TH_CR1(CHIP-TOOL) Log - - - CHIP:DMG: InvokeResponseMessage = - [1650278416.248379][11064:11069] CHIP:DMG: { - [1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false, - [1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs = - [1650278416.248570][11064:11069] CHIP:DMG: [ - [1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB = - [1650278416.248718][11064:11069] CHIP:DMG: { - [1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB = - [1650278416.248860][11064:11069] CHIP:DMG: { - [1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB = - [1650278416.249011][11064:11069] CHIP:DMG: { - [1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0, - [1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c, - [1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1, - [1650278416.249347][11064:11069] CHIP:DMG: }, - [1650278416.249430][11064:11069] CHIP:DMG: - [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = - [1650278416.249581][11064:11069] CHIP:DMG: { - [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), - [1650278416.249738][11064:11069] CHIP:DMG: }, - [1650278416.249823][11064:11069] CHIP:DMG: - [1650278416.249889][11064:11069] CHIP:DMG: }, - [1650278416.249969][11064:11069] CHIP:DMG: - [1650278416.250035][11064:11069] CHIP:DMG: }, - [1650278416.250113][11064:11069] CHIP:DMG: - [1650278416.250169][11064:11069] CHIP:DMG: ], - [1650278416.250241][11064:11069] CHIP:DMG: - [1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1 - [1650278416.250355][11064:11069] CHIP:DMG: }, - [1650278416.250535][11064:11069] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0 - [1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe] + Verify the Commissioning window is opened in TH_CE(all-clusters-app) Log + + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: "TH_CR1 sends command to TH_CE to read the list of Fabrics" @@ -99,21 +70,40 @@ tests: ./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 - On TH1(all-clusters-app) Log - - Verify 1 entry in the Fabrics list attributeOn TH_CR1(CHIP-TOOL) Log - - CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 3621507058 - [1649245801.244173][10091:10096] CHIP:TOO: Fabrics: 1 entries - [1649245801.244305][10091:10096] CHIP:TOO: [1]: { - [1649245801.244348][10091:10096] CHIP:TOO: RootPublicKey: 045541017FCEFD0D83963C9ED7F21380C6B789EB989B5D20DC318FAE92D60D0F685666505E9C4F86C49ADC71AB3A8B9B44FD43214CF9BE2B6D47DE01F28FE1544F - [1649245801.244400][10091:10096] CHIP:TOO: VendorId: 65521 - [1649245801.244431][10091:10096] CHIP:TOO: FabricId: 1 - [1649245801.244461][10091:10096] CHIP:TOO: NodeId: 1 - [1649245801.244491][10091:10096] CHIP:TOO: Label: - [1649245801.244521][10091:10096] CHIP:TOO: FabricIndex: 1 - [1649245801.244552][10091:10096] CHIP:TOO: } - [1649245801.244671][10091:10096] CHIP:EM: Sending Standalone Ack for MessageCounter:8407998 on exchange 12989i + + Verify TH_CE reports 1 entry in fabrics list + + + [1661486369.837260][7071:7071] CHIP:DMG: AttributeReportIB = + [1661486369.837292][7071:7071] CHIP:DMG: { + [1661486369.837317][7071:7071] CHIP:DMG: AttributeDataIB = + [1661486369.837343][7071:7071] CHIP:DMG: { + [1661486369.837371][7071:7071] CHIP:DMG: DataVersion = 0x8d915768, + [1661486369.837398][7071:7071] CHIP:DMG: AttributePathIB = + [1661486369.837426][7071:7071] CHIP:DMG: { + [1661486369.837455][7071:7071] CHIP:DMG: Endpoint = 0x0, + [1661486369.837485][7071:7071] CHIP:DMG: Cluster = 0x3e, + [1661486369.837515][7071:7071] CHIP:DMG: Attribute = 0x0000_0001, + [1661486369.837544][7071:7071] CHIP:DMG: ListIndex = Null, + [1661486369.837572][7071:7071] CHIP:DMG: } + [1661486369.837601][7071:7071] CHIP:DMG: + [1661486369.837629][7071:7071] CHIP:DMG: Data = + [1661486369.837656][7071:7071] CHIP:DMG: { + [1661486369.837685][7071:7071] CHIP:DMG: 0x1 = [ + [1661486369.837731][7071:7071] CHIP:DMG: 0x4, 0xb5, 0xc1, 0xfd, 0xdd, 0x6a, 0xdd, 0xc3, 0xa1, 0x3d, 0xee, 0x39, 0xa2, 0xe, 0x66, 0x7, 0xa2, 0x3a, 0x6d, 0x4a, 0x86, 0x57, 0x36, 0xf7, 0x1f, 0x20, 0x7c, 0x9d, 0xe8, 0x8, 0xa, 0xd5, 0xf2, 0x9c, 0x9d, 0x1b, 0x14, 0x5f, 0xbc, 0x60, 0xb9, 0xe7, 0xee, 0xb3, 0x4c, 0x2, 0xf4, 0x7b, 0x21, 0xdb, 0x74, 0x4e, 0xb1, 0x65, 0x22, 0xd3, 0xe0, 0x32, 0xbd, 0xbe, 0xde, 0x43, 0xfe, 0x26, 0xd6, + [1661486369.837769][7071:7071] CHIP:DMG: ] (65 bytes) + [1661486369.837799][7071:7071] CHIP:DMG: 0x2 = 65521, + [1661486369.837830][7071:7071] CHIP:DMG: 0x3 = 1, + [1661486369.837861][7071:7071] CHIP:DMG: 0x4 = 1, + [1661486369.837893][7071:7071] CHIP:DMG: 0x5 = "" (0 chars), + [1661486369.837923][7071:7071] CHIP:DMG: 0xfe = 1, + [1661486369.837953][7071:7071] CHIP:DMG: }, + [1661486369.837979][7071:7071] CHIP:DMG: }, + [1661486369.838010][7071:7071] CHIP:DMG: + [1661486369.838034][7071:7071] CHIP:DMG: }, + [1661486369.838064][7071:7071] CHIP:DMG: + [1661486369.838084][7071:7071] CHIP:DMG: ], + [1661486369.838116][7071:7071] CHIP:DMG: disabled: true - label: "DUT_CR2 starts a commissioning process with TH_CE" @@ -125,9 +115,8 @@ tests: ./chip-tool pairing onnetwork 2 20202021 --commissioner-name beta - Verify whether you got below message in the log of DUT_CR2(CHIP-TOOL) - - Device commissioning completed with success + Verify TH_CE logs for + Commissioning completed successfully disabled: true - label: "Verify TH_CE is now discoverable over DNS-SD with two SRV Records" @@ -213,28 +202,65 @@ tests: ./chip-tool operationalcredentials read fabrics 2 0 --fabric-filtered 0 --commissioner-name beta - Verify 2 entries in the Fabrics list attribute On DUT_CR2(chip-tool) Log - - - CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 3229397217 - [1650277071.834099][40790:40795] CHIP:TOO: Fabrics: 2 entries - [1650277071.834120][40790:40795] CHIP:TOO: [1]: { - [1650277071.834126][40790:40795] CHIP:TOO: RootPublicKey: 0426F120BC098B3BDBA37807F6C2F7F396F5CD89F81F4AF4C80C1089B9B856F1FCDC10AA8A0CF30F629FA9E13E131330C3C53D917C3048456D73E943DB63910823 - [1650277071.834134][40790:40795] CHIP:TOO: VendorId: 65521 - [1650277071.834137][40790:40795] CHIP:TOO: FabricId: 1 - [1650277071.834141][40790:40795] CHIP:TOO: NodeId: 1 - [1650277071.834147][40790:40795] CHIP:TOO: Label: - [1650277071.834151][40790:40795] CHIP:TOO: FabricIndex: 1 - [1650277071.834155][40790:40795] CHIP:TOO: } - [1650277071.834161][40790:40795] CHIP:TOO: [2]: { - [1650277071.834165][40790:40795] CHIP:TOO: RootPublicKey: 045B7C9F80F17A0D5B2EA727562424A0AC978C2F4A7BBE659C9076978A6630771166AB1506D714279AFDF2A3B33A643025E0194A376A520B1F6773DB2E4993B5CF - [1650277071.834169][40790:40795] CHIP:TOO: VendorId: 65521 - [1650277071.834173][40790:40795] CHIP:TOO: FabricId: 1 - [1650277071.834176][40790:40795] CHIP:TOO: NodeId: 2 - [1650277071.834179][40790:40795] CHIP:TOO: Label: - [1650277071.834182][40790:40795] CHIP:TOO: FabricIndex: 2 - [1650277071.834186][40790:40795] CHIP:TOO: } - [1650277071.834215][40790:40795] CHIP:EM: Sending Standalone Ack for MessageCounter:15057119 on exchange 50631i + Verify 2 entries in TH_CE log + + + [1661481567.477399][6453:6453] CHIP:DMG: AttributeReportIB = + [1661481567.477428][6453:6453] CHIP:DMG: { + [1661481567.477450][6453:6453] CHIP:DMG: AttributeDataIB = + [1661481567.477475][6453:6453] CHIP:DMG: { + [1661481567.477503][6453:6453] CHIP:DMG: DataVersion = 0x482f8cf0, + [1661481567.477530][6453:6453] CHIP:DMG: AttributePathIB = + [1661481567.477558][6453:6453] CHIP:DMG: { + [1661481567.477586][6453:6453] CHIP:DMG: Endpoint = 0x0, + [1661481567.477616][6453:6453] CHIP:DMG: Cluster = 0x3e, + [1661481567.477649][6453:6453] CHIP:DMG: Attribute = 0x0000_0001, + [1661481567.477678][6453:6453] CHIP:DMG: ListIndex = Null, + [1661481567.477706][6453:6453] CHIP:DMG: } + [1661481567.477735][6453:6453] CHIP:DMG: + [1661481567.477762][6453:6453] CHIP:DMG: Data = + [1661481567.477791][6453:6453] CHIP:DMG: { + [1661481567.477823][6453:6453] CHIP:DMG: 0x1 = [ + [1661481567.477871][6453:6453] CHIP:DMG: 0x4, 0xb5, 0xc1, 0xfd, 0xdd, 0x6a, 0xdd, 0xc3, 0xa1, 0x3d, 0xee, 0x39, 0xa2, 0xe, 0x66, 0x7, 0xa2, 0x3a, 0x6d, 0x4a, 0x86, 0x57, 0x36, 0xf7, 0x1f, 0x20, 0x7c, 0x9d, 0xe8, 0x8, 0xa, 0xd5, 0xf2, 0x9c, 0x9d, 0x1b, 0x14, 0x5f, 0xbc, 0x60, 0xb9, 0xe7, 0xee, 0xb3, 0x4c, 0x2, 0xf4, 0x7b, 0x21, 0xdb, 0x74, 0x4e, 0xb1, 0x65, 0x22, 0xd3, 0xe0, 0x32, 0xbd, 0xbe, 0xde, 0x43, 0xfe, 0x26, 0xd6, + [1661481567.477909][6453:6453] CHIP:DMG: ] (65 bytes) + [1661481567.477942][6453:6453] CHIP:DMG: 0x2 = 65521, + [1661481567.477974][6453:6453] CHIP:DMG: 0x3 = 1, + [1661481567.478007][6453:6453] CHIP:DMG: 0x4 = 1, + [1661481567.478096][6453:6453] CHIP:DMG: 0x5 = "" (0 chars), + [1661481567.478129][6453:6453] CHIP:DMG: 0xfe = 1, + [1661481567.478160][6453:6453] CHIP:DMG: }, + [1661481567.478187][6453:6453] CHIP:DMG: }, + [1661481567.478217][6453:6453] CHIP:DMG: + [1661481567.478241][6453:6453] CHIP:DMG: }, + [1661481567.478278][6453:6453] CHIP:DMG: + [1661481567.478298][6453:6453] CHIP:DMG: AttributeReportIB = + [1661481567.478330][6453:6453] CHIP:DMG: { + [1661481567.478354][6453:6453] CHIP:DMG: AttributeDataIB = + [1661481567.478380][6453:6453] CHIP:DMG: { + [1661481567.478406][6453:6453] CHIP:DMG: DataVersion = 0x482f8cf0, + [1661481567.478433][6453:6453] CHIP:DMG: AttributePathIB = + [1661481567.478461][6453:6453] CHIP:DMG: { + [1661481567.478489][6453:6453] CHIP:DMG: Endpoint = 0x0, + [1661481567.478522][6453:6453] CHIP:DMG: Cluster = 0x3e, + [1661481567.478554][6453:6453] CHIP:DMG: Attribute = 0x0000_0001, + [1661481567.478584][6453:6453] CHIP:DMG: ListIndex = Null, + [1661481567.478612][6453:6453] CHIP:DMG: } + [1661481567.478643][6453:6453] CHIP:DMG: + [1661481567.478672][6453:6453] CHIP:DMG: Data = + [1661481567.478702][6453:6453] CHIP:DMG: { + [1661481567.478732][6453:6453] CHIP:DMG: 0x1 = [ + [1661481567.478777][6453:6453] CHIP:DMG: 0x4, 0x7b, 0x5b, 0x9a, 0x2a, 0xd1, 0x4e, 0x1e, 0x8d, 0xf4, 0xca, 0xea, 0xde, 0x1c, 0xbe, 0xa7, 0xf6, 0xd4, 0xa1, 0xe8, 0xf0, 0x20, 0x9f, 0x6c, 0x38, 0x30, 0x31, 0x88, 0xb5, 0x89, 0x69, 0xd4, 0x7, 0x17, 0x16, 0x85, 0x25, 0x55, 0x8f, 0x5b, 0xed, 0x58, 0x68, 0x27, 0xde, 0x5e, 0xf6, 0xf9, 0xf8, 0x99, 0x54, 0x92, 0x8e, 0x33, 0xa6, 0xf4, 0xb0, 0x5a, 0xc1, 0xa6, 0x1a, 0xf5, 0x2, 0xb4, 0x4f, + [1661481567.478815][6453:6453] CHIP:DMG: ] (65 bytes) + [1661481567.478848][6453:6453] CHIP:DMG: 0x2 = 65521, + [1661481567.478877][6453:6453] CHIP:DMG: 0x3 = 2, + [1661481567.478907][6453:6453] CHIP:DMG: 0x4 = 1, + [1661481567.478938][6453:6453] CHIP:DMG: 0x5 = "" (0 chars), + [1661481567.478968][6453:6453] CHIP:DMG: 0xfe = 2, + [1661481567.478999][6453:6453] CHIP:DMG: }, + [1661481567.479026][6453:6453] CHIP:DMG: }, + [1661481567.479056][6453:6453] CHIP:DMG: + [1661481567.479079][6453:6453] CHIP:DMG: }, + [1661481567.479107][6453:6453] CHIP:DMG: disabled: true - label: @@ -292,47 +318,75 @@ tests: On DUT_CR2 send the below command + + ./chip-tool basic read node-label 2 0 --commissioner-name beta + + Verify the Read request On TH_CE(all-clusters-app) Log + + [1660902253.379018][3045:3045] CHIP:EM: Handling via exchange: 3197r, Delegate: 0xaaaaadbeffc0 + [1660902253.379122][3045:3045] CHIP:IM: Received Read request + [1660902253.379306][3045:3045] CHIP:DMG: ReadRequestMessage = + [1660902253.379373][3045:3045] CHIP:DMG: { + [1660902253.379430][3045:3045] CHIP:DMG: AttributePathIBs = + [1660902253.379496][3045:3045] CHIP:DMG: [ + [1660902253.379557][3045:3045] CHIP:DMG: AttributePathIB = + [1660902253.379634][3045:3045] CHIP:DMG: { + [1660902253.379703][3045:3045] CHIP:DMG: Endpoint = 0x0, + [1660902253.379782][3045:3045] CHIP:DMG: Cluster = 0x28, + [1660902253.379871][3045:3045] CHIP:DMG: Attribute = 0x0000_0005, + [1660902253.379935][3045:3045] CHIP:DMG: } + [1660902253.380141][3045:3045] CHIP:DMG: + [1660902253.380208][3045:3045] CHIP:DMG: ], + + + ./chip-tool basic write node-label te5new 2 0 --commissioner-name beta - Verify the success response On DUT_CR2(Chip-tool) Log - - - CHIP:DMG: WriteResponseMessage = - [1649245940.788522][10110:10115] CHIP:DMG: { - [1649245940.788577][10110:10115] CHIP:DMG: AttributeStatusIBs = - [1649245940.788653][10110:10115] CHIP:DMG: [ - [1649245940.788713][10110:10115] CHIP:DMG: AttributeStatusIB = - [1649245940.788787][10110:10115] CHIP:DMG: { - [1649245940.788852][10110:10115] CHIP:DMG: AttributePathIB = - [1649245940.788931][10110:10115] CHIP:DMG: { - [1649245940.789009][10110:10115] CHIP:DMG: Endpoint = 0x0, - [1649245940.789143][10110:10115] CHIP:DMG: Cluster = 0x28, - [1649245940.789228][10110:10115] CHIP:DMG: Attribute = 0x0000_0005, - [1649245940.789313][10110:10115] CHIP:DMG: } - [1649245940.789388][10110:10115] CHIP:DMG: - [1649245940.789454][10110:10115] CHIP:DMG: StatusIB = - [1649245940.789519][10110:10115] CHIP:DMG: { - [1649245940.789588][10110:10115] CHIP:DMG: status = 0x00 (SUCCESS), - [1649245940.789654][10110:10115] CHIP:DMG: }, - [1649245940.789719][10110:10115] CHIP:DMG: - [1649245940.789778][10110:10115] CHIP:DMG: }, - [1649245940.789841][10110:10115] CHIP:DMG: - [1649245940.789885][10110:10115] CHIP:DMG: ], - [1649245940.789941][10110:10115] CHIP:DMG: - [1649245940.789984][10110:10115] CHIP:DMG: InteractionModelRevision = 1 - [1649245940.790033][10110:10115] CHIP:DMG: } - [1649245940.790167][10110:10115] CHIP:DMG: WriteClient moving to [AwaitingDe] - - Verify read attribute returns the updated value written - ./chip-tool basic read node-label 2 0 --commissioner-name beta + Verify the Write request On TH_CE(all-clusters-app) Log + + [1660902144.913634][3045:3045] CHIP:EM: Handling via exchange: 22257r, Delegate: 0xaaaaadbeffc0 + [1660902144.913728][3045:3045] CHIP:IM: Received Write request + [1660902144.913785][3045:3045] CHIP:DMG: IM WH moving to [Initialized] + [1660902144.913912][3045:3045] CHIP:DMG: WriteRequestMessage = + [1660902144.913977][3045:3045] CHIP:DMG: { + [1660902144.914038][3045:3045] CHIP:DMG: suppressResponse = false, + [1660902144.914106][3045:3045] CHIP:DMG: timedRequest = false, + [1660902144.914168][3045:3045] CHIP:DMG: AttributeDataIBs = + [1660902144.914244][3045:3045] CHIP:DMG: [ + [1660902144.914305][3045:3045] CHIP:DMG: AttributeDataIB = + [1660902144.914375][3045:3045] CHIP:DMG: { + [1660902144.914440][3045:3045] CHIP:DMG: AttributePathIB = + [1660902144.914522][3045:3045] CHIP:DMG: { + [1660902144.914602][3045:3045] CHIP:DMG: Endpoint = 0x0, + [1660902144.914691][3045:3045] CHIP:DMG: Cluster = 0x28, + [1660902144.914940][3045:3045] CHIP:DMG: Attribute = 0x0000_0005, + [1660902144.915025][3045:3045] CHIP:DMG: } + [1660902144.915109][3045:3045] CHIP:DMG: + [1660902144.915208][3045:3045] CHIP:DMG: Data = "te5new" (6 chars), + [1660902144.915292][3045:3045] CHIP:DMG: }, + [1660902144.915374][3045:3045] CHIP:DMG: - Verify the NodeLabel response On DUT_CR2(Chip-tool) Log - CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0005 DataVersion: 3061847068 - [1649245950.006849][10116:10121] CHIP:TOO: NodeLabel: te5new - [1649245950.007024][10116:10121] CHIP:EM: Sending Standalone Ack for MessageCounter:12495101 on exchange 24816i + ./chip-tool basic read node-label 2 0 --commissioner-name beta + + Verify the Read request On TH_CE(all-clusters-app) Log + + [1660902253.379018][3045:3045] CHIP:EM: Handling via exchange: 3197r, Delegate: 0xaaaaadbeffc0 + [1660902253.379122][3045:3045] CHIP:IM: Received Read request + [1660902253.379306][3045:3045] CHIP:DMG: ReadRequestMessage = + [1660902253.379373][3045:3045] CHIP:DMG: { + [1660902253.379430][3045:3045] CHIP:DMG: AttributePathIBs = + [1660902253.379496][3045:3045] CHIP:DMG: [ + [1660902253.379557][3045:3045] CHIP:DMG: AttributePathIB = + [1660902253.379634][3045:3045] CHIP:DMG: { + [1660902253.379703][3045:3045] CHIP:DMG: Endpoint = 0x0, + [1660902253.379782][3045:3045] CHIP:DMG: Cluster = 0x28, + [1660902253.379871][3045:3045] CHIP:DMG: Attribute = 0x0000_0005, + [1660902253.379935][3045:3045] CHIP:DMG: } + [1660902253.380141][3045:3045] CHIP:DMG: + [1660902253.380208][3045:3045] CHIP:DMG: ], disabled: true - label: "Turn off TH_CR1" @@ -371,11 +425,9 @@ tests: ./chip-tool administratorcommissioning revoke-commissioning 2 0 --timedInteractionTimeoutMs 1000 --commissioner-name beta Verify the Commissioning window is closed in TH_CE(all-clusters-app) Log - - [1660901039.590962][3045:3045] CHIP:DMG: Received command for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0002 - [1660901039.591036][3045:3045] CHIP:ZCL: Received command to close commissioning window - [1660901039.591094][3045:3045] CHIP:SVR: Closing pairing window - [1660901039.591169][3045:3045] CHIP:IN: SecureSession[0xaaaab010d400]: Released - Type:1 LSID:14411 + [1661485834.635244][6993:6993] CHIP:DIS: mDNS service published: _matter._tcp + [1661485834.635293][6993:6993] CHIP:ZCL: Commissioning window is now closed + [1661485834.635328][6993:6993] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: @@ -422,7 +474,7 @@ tests: ./chip-tool basic read node-label 2 0 --commissioner-name beta - Verify the Write request On TH_CE(all-clusters-app) Log + Verify the Read request On TH_CE(all-clusters-app) Log [1660902253.379018][3045:3045] CHIP:EM: Handling via exchange: 3197r, Delegate: 0xaaaaadbeffc0 [1660902253.379122][3045:3045] CHIP:IM: Received Read request @@ -494,11 +546,4 @@ tests: [1660902716.613274][3045:3045] CHIP:ZCL: OpCreds: Failed AddNOC request (err=../../examples/all-clusters-app/linux/third_party/connectedhomeip/src/credentials/FabricTable.cpp:1692: CHIP Error 0x0000007E: Trying to add a NOC for a fabric that already exists) with OperationalCert error 9 [1660902716.613394][3045:3045] CHIP:DMG: Decreasing reference count for CommandHandler, remaining 0 [1660902716.613497][3045:3045] CHIP:EM: Piggybacking Ack for MessageCounter:176866087 on exchange: 56605r - - Trying to add a NOC for a fabric that already exists On TH_CR1(chip-tool) Log - - [1651786200275] [36301:315544] CHIP: [DMG] Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 - [1651786200275] [36301:315544] CHIP: [CTL] Device returned status 9 on receiving the NOC - [1651786200275] [36301:315544] CHIP: [CTL] Add NOC failed with error ../../src/controller/CHIPDeviceController.cpp:1187: CHIP Error 0x0000007E: Trying to add a NOC for a fabric that already exists - [1651786200275] [36301:315544] CHIP: [CTL] Error on commissioning step "SendNOC": "../../src/controller/CHIPDeviceController.cpp:1187: CHIP Error 0x0000007E: Trying to add a NOC for a fabric that already exists" disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_7.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_7.yaml index 51584addb07c21..f057ea57c34799 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_7.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_7.yaml @@ -52,21 +52,14 @@ tests: Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command with their all-cluster-app and for the second and third commissioners. - Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: - - [1660904553.796857][3537:3537] CHIP:DMG: Received command for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0000 - [1660904553.796951][3537:3537] CHIP:ZCL: Received command to open commissioning window - [1660904553.797255][3537:3537] CHIP:IN: SecureSession[0xaaab142ef7f0]: Allocated Type:1 LSID:34523 ./chip-tool pairing open-commissioning-window 1 1 300 1000 3840 - Verify the Manual pairing code on the DUT_CR1(chip-tool) Log: + Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: - 0x0000000000000001 at monotonic time: 12630575 msec - [1635871058.916549][4273:4278] CHIP:DMG: ICR moving to [CommandSen] - [1635871058.916607][4273:4278] CHIP:CTL: Manual pairing code: [36366524220] - [1635871058.916679][4273:4278] CHIP:CTL: SetupQRCode: [MT:00000CQM0088GL3XV00] - [1635871058.916745][4273:4278] CHIP:EM: Sending Standalone Ack for MessageCounter:2599714279 on exchange 21936i + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: @@ -120,21 +113,13 @@ tests: Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers - ./chip-tool pairing open-commissioning-window 2 1 300 1000 3840 --commissioner-name beta + ./chip-tool pairing open-commissioning-window 1 1 300 1000 3840 Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: - [1660904553.796857][3537:3537] CHIP:DMG: Received command for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0000 - [1660904553.796951][3537:3537] CHIP:ZCL: Received command to open commissioning window - [1660904553.797255][3537:3537] CHIP:IN: SecureSession[0xaaab142ef7f0]: Allocated Type:1 LSID:34523 - - Verify the Manual pairing code on the DUT_CR1(chip-tool) Log: - - 0x0000000000000001 at monotonic time: 12630575 msec - [1635871058.916549][4273:4278] CHIP:DMG: ICR moving to [CommandSen] - [1635871058.916607][4273:4278] CHIP:CTL: Manual pairing code: [36366524220] - [1635871058.916679][4273:4278] CHIP:CTL: SetupQRCode: [MT:00000CQM0088GL3XV00] - [1635871058.916745][4273:4278] CHIP:EM: Sending Standalone Ack for MessageCounter:2599714279 on exchange 21936i + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: "DUT_CR1 sends command to TH_CE to revoke the commissioning window" @@ -146,24 +131,11 @@ tests: ./chip-tool administratorcommissioning revoke-commissioning 1 0 --timedInteractionTimeoutMs 1000 - Verify success response On DUT_CR1(CHIP-TOOL) Log - - - [1650278416.249347][11064:11069] CHIP:DMG: }, - [1650278416.249430][11064:11069] CHIP:DMG: - [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = - [1650278416.249581][11064:11069] CHIP:DMG: { - [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), - [1650278416.249738][11064:11069] CHIP:DMG: }, - - [1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe] Verify the Commissioning window is closed in TH_CE(all-clusters-app) Log - - [1660901039.590962][3045:3045] CHIP:DMG: Received command for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0002 - [1660901039.591036][3045:3045] CHIP:ZCL: Received command to close commissioning window - [1660901039.591094][3045:3045] CHIP:SVR: Closing pairing window - [1660901039.591169][3045:3045] CHIP:IN: SecureSession[0xaaaab010d400]: Released - Type:1 LSID:14411 + [1661485834.635244][6993:6993] CHIP:DIS: mDNS service published: _matter._tcp + [1661485834.635293][6993:6993] CHIP:ZCL: Commissioning window is now closed + [1661485834.635328][6993:6993] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: "TH_CR2 starts a commissioning process with TH_CE" @@ -191,24 +163,12 @@ tests: ./chip-tool administratorcommissioning revoke-commissioning 1 0 --timedInteractionTimeoutMs 1000 - Verify the Commissioning window is closed in TH_CE(all-clusters-app) Log - - [1660901039.590962][3045:3045] CHIP:DMG: Received command for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0002 - [1660901039.591036][3045:3045] CHIP:ZCL: Received command to close commissioning window - [1660901039.591094][3045:3045] CHIP:SVR: Closing pairing window - [1660901039.591169][3045:3045] CHIP:IN: SecureSession[0xaaaab010d400]: Released - Type:1 LSID:14411 - - Verify cluster-status code 3 On DUT_CR1(chip-tool) Log + Verify the Commissioning window is closed in TH_CE(all-clusters-app) Log - [1650524034.112345][15422:15427] CHIP:DMG: }, - [1650524034.112456][15422:15427] CHIP:DMG: - [1650524034.112543][15422:15427] CHIP:DMG: StatusIB = - [1650524034.112632][15422:15427] CHIP:DMG: { - [1650524034.112727][15422:15427] CHIP:DMG: status = 0x01 (FAILURE), - [1650524034.112825][15422:15427] CHIP:DMG: cluster-status = 0x3, - [1650524034.112914][15422:15427] CHIP:DMG: }, - [1650524034.113005][15422:15427] CHIP:DMG: + [1661485921.687243][6993:6993] CHIP:ZCL: Received command to close commissioning window + [1661485921.687265][6993:6993] CHIP:ZCL: Commissioning window is currently not open + [1661485921.687298][6993:6993] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: @@ -219,7 +179,7 @@ tests: On DUT_CR1 send the below command Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers - ./chip-tool basic write node-label te5new 2 0 --commissioner-name beta + ./chip-tool basic write node-label te5new 1 0 Verify Write request on TH_CE(all-clusters-app) Log @@ -244,8 +204,7 @@ tests: [1660894021.902912][2871:2871] CHIP:DMG: Data = "te5new" (6 chars), [1660894021.902985][2871:2871] CHIP:DMG: }, - ./chip-tool basic read node-label 2 0 --commissioner-name beta - + ./chip-tool basic read node-label 1 0 Verify read request on TH_CE(all-clusters-app) Log @@ -280,14 +239,6 @@ tests: [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] - - Verify Manual pairing code on DUT_CR1(chip-tool) Log - - - [1635871373.781269][4322:4328] CHIP:DMG: ICR moving to [CommandSen] - [1635871373.781329][4322:4328] CHIP:CTL: Manual pairing code: [35256543344] - [1635871373.781482][4322:4328] CHIP:CTL: SetupQRCode: [MT:00000CQM00CIWV01J10] - [1635871373.781558][4322:4328] CHIP:EM: Sending Standalone Ack for MessageCounter:2599714291 on exchange 62088i disabled: true - label: "TH_CR2 starts a commissioning process with TH_CE" diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_8.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_8.yaml index 242b9b19e7b367..f6e9305e1e9a14 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_8.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_8.yaml @@ -52,24 +52,14 @@ tests: Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers - ./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000 + ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000 Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: - [1660904553.796857][3537:3537] CHIP:DMG: Received command for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0000 - [1660904553.796951][3537:3537] CHIP:ZCL: Received command to open commissioning window - [1660904553.797255][3537:3537] CHIP:IN: SecureSession[0xaaab142ef7f0]: Allocated Type:1 LSID:34523 - - Verify success response On DUT_CR1(chip-tool) Log - - - [1650278416.249430][11064:11069] CHIP:DMG: - [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = - [1650278416.249581][11064:11069] CHIP:DMG: { - [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), - [1650278416.249738][11064:11069] CHIP:DMG: }, - [1650278416.249823][11064:11069] CHIP:DMG: + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: @@ -126,19 +116,9 @@ tests: Verify the Open commisioning window on the TH_CE(all-cluster-app) Log: - [1660904553.796857][3537:3537] CHIP:DMG: Received command for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0000 - [1660904553.796951][3537:3537] CHIP:ZCL: Received command to open commissioning window - [1660904553.797255][3537:3537] CHIP:IN: SecureSession[0xaaab142ef7f0]: Allocated Type:1 LSID:34523 - - Verify success response On TH1(all-clusters-app) Log - - [1650278416.249347][11064:11069] CHIP:DMG: }, - [1650278416.249430][11064:11069] CHIP:DMG: - [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = - [1650278416.249581][11064:11069] CHIP:DMG: { - [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), - [1650278416.249738][11064:11069] CHIP:DMG: }, - [1650278416.249823][11064:11069] CHIP:DMG: + [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp + [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open + [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: "DUT_CR1 sends command to TH_CE to revoke the commissioning window" @@ -150,21 +130,11 @@ tests: /chip-tool administratorcommissioning revoke-commissioning 1 0 --timedInteractionTimeoutMs 1000 - Verify success response On DUT_CR1(CHIP-TOOL) Log - - [1650278416.249347][11064:11069] CHIP:DMG: }, - [1650278416.249430][11064:11069] CHIP:DMG: - [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = - [1650278416.249581][11064:11069] CHIP:DMG: { - [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), - [1650278416.249738][11064:11069] CHIP:DMG: }, Verify the Commissioning window is closed in TH_CE(all-clusters-app) Log - - [1660901039.590962][3045:3045] CHIP:DMG: Received command for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0002 - [1660901039.591036][3045:3045] CHIP:ZCL: Received command to close commissioning window - [1660901039.591094][3045:3045] CHIP:SVR: Closing pairing window - [1660901039.591169][3045:3045] CHIP:IN: SecureSession[0xaaaab010d400]: Released - Type:1 LSID:14411 + [1661485834.635244][6993:6993] CHIP:DIS: mDNS service published: _matter._tcp + [1661485834.635293][6993:6993] CHIP:ZCL: Commissioning window is now closed + [1661485834.635328][6993:6993] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: "TH_CR2 starts a commissioning process with TH_CE" @@ -192,27 +162,12 @@ tests: /chip-tool administratorcommissioning revoke-commissioning 1 0 --timedInteractionTimeoutMs 1000 - Verify success response On TH1(all-clusters-app) Log - Verify the Commissioning window is closed in TH_CE(all-clusters-app) Log - [1660901039.590962][3045:3045] CHIP:DMG: Received command for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0002 - [1660901039.591036][3045:3045] CHIP:ZCL: Received command to close commissioning window - [1660901039.591094][3045:3045] CHIP:SVR: Closing pairing window - [1660901039.591169][3045:3045] CHIP:IN: SecureSession[0xaaaab010d400]: Released - Type:1 LSID:14411 - - Verify cluster-status code 3 On DUT_CR1(CHIP-TOOL) Log - - - [1650524034.112345][15422:15427] CHIP:DMG: }, - [1650524034.112456][15422:15427] CHIP:DMG: - [1650524034.112543][15422:15427] CHIP:DMG: StatusIB = - [1650524034.112632][15422:15427] CHIP:DMG: { - [1650524034.112727][15422:15427] CHIP:DMG: status = 0x01 (FAILURE), - [1650524034.112825][15422:15427] CHIP:DMG: cluster-status = 0x3, - [1650524034.112914][15422:15427] CHIP:DMG: }, - [1650524034.113005][15422:15427] CHIP:DMG: + [1661485921.687243][6993:6993] CHIP:ZCL: Received command to close commissioning window + [1661485921.687265][6993:6993] CHIP:ZCL: Commissioning window is currently not open + [1661485921.687298][6993:6993] CHIP:DMG: Command handler moving to [ Preparing] disabled: true - label: @@ -224,7 +179,7 @@ tests: Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers - ./chip-tool basic write node-label te5new 2 0 --commissioner-name beta + ./chip-tool basic write node-label te5new 1 0 Verify Write request on TH_CE(all-clusters-app) Log @@ -249,7 +204,7 @@ tests: [1660894021.902912][2871:2871] CHIP:DMG: Data = "te5new" (6 chars), [1660894021.902985][2871:2871] CHIP:DMG: }, - ./chip-tool basic read node-label 2 0 --commissioner-name beta + ./chip-tool basic read node-label 1 0 Verify read request on TH_CE(all-clusters-app) Log @@ -279,24 +234,13 @@ tests: Below are the example command for using single RPI as multiple controller. Vendor should have the provision to use the equivalent command in their DUT or use multiple commissioners/controllers - ./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000 + ./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000 Verify the Commissioning window is opened in TH_CE(all-clusters-app) Log [1660901022.112296][3045:3045] CHIP:DIS: mDNS service published: _matterc._udp [1660901022.112389][3045:3045] CHIP:ZCL: Commissioning window is now open [1660901022.112474][3045:3045] CHIP:DMG: Command handler moving to [ Preparing] - - Verify Manual pairing code on DUT_CR1(chip-tool) Log - - - [1650278416.249347][11064:11069] CHIP:DMG: }, - [1650278416.249430][11064:11069] CHIP:DMG: - [1650278416.249501][11064:11069] CHIP:DMG: StatusIB = - [1650278416.249581][11064:11069] CHIP:DMG: { - [1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS), - [1650278416.249738][11064:11069] CHIP:DMG: }, - [1650278416.249823][11064:11069] CHIP:DMG: disabled: true - label: "TH_CR2 starts a commissioning process with TH_CE" diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml index 20e868f55f1091..f94bc01492c435 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml @@ -73,71 +73,6 @@ tests: - name: "nodeId" value: nodeId - - label: - "Open commissioning window exactly like we plan to later to verify - that `correctPayload` can in fact commision the device." - cluster: "AdministratorCommissioning" - command: "OpenCommissioningWindow" - timedInteractionTimeoutMs: 10000 - PICS: CADMIN.S.C00.Rsp - arguments: - values: - - name: "CommissioningTimeout" - value: 900 - - name: "PAKEVerifier" - value: PakeVerifier - - name: "discriminator" - value: discriminator - - name: "iterations" - value: 1000 - - name: "salt" - value: "SPAKE2P Key Salt" - - - label: - "Temporarily commission device with `correctPayload` just like we will - try to later" - identity: "beta" - cluster: "CommissionerCommands" - command: "PairWithCode" - # Only run this if we ran the previous step. - PICS: CADMIN.S && CADMIN.S.C00.Rsp - arguments: - values: - - name: "nodeId" - value: nodeId2 - - name: "payload" - value: correctPayload - - - label: "Wait for a CASE session" - identity: "beta" - cluster: "DelayCommands" - command: "WaitForCommissionee" - PICS: CADMIN.S - arguments: - values: - - name: "nodeId" - value: nodeId2 - - - label: "Read FabricIndex of beta so we can delete the temp fabric" - identity: "beta" - cluster: "Operational Credentials" - command: "readAttribute" - attribute: "CurrentFabricIndex" - # Only run this if we commissioned the device. - PICS: CADMIN.S.C00.Rsp - response: - saveAs: tempFabricIndex - - - label: "Remove the temp fabric" - cluster: "Operational Credentials" - command: "RemoveFabric" - # Only run this if we commissioned the device. - PICS: CADMIN.S.C00.Rsp - arguments: - values: - - name: "FabricIndex" - value: tempFabricIndex - - label: "TH_CR1 opens a new commissioning window on DUT_CE" cluster: "AdministratorCommissioning" command: "OpenCommissioningWindow" diff --git a/src/app/tests/suites/certification/Test_TC_CC_3_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_3_1.yaml index 400a1ffa795fc3..75d1d44691c3d7 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_3_1.yaml @@ -103,7 +103,7 @@ tests: response: constraints: minValue: 68 - maxValue: 98 + maxValue: 92 - label: "Wait 10s" cluster: "DelayCommands" @@ -137,7 +137,7 @@ tests: response: constraints: minValue: 102 - maxValue: 120 + maxValue: 138 - label: "Wait 5s" cluster: "DelayCommands" @@ -255,8 +255,8 @@ tests: attribute: "CurrentHue" response: constraints: - minValue: 135 - maxValue: 150 + minValue: 115 + maxValue: 155 - label: "Wait 5s" cluster: "DelayCommands" @@ -365,8 +365,8 @@ tests: attribute: "CurrentHue" response: constraints: - minValue: 105 - maxValue: 120 + minValue: 102 + maxValue: 138 - label: "Wait 5s" cluster: "DelayCommands" @@ -475,7 +475,7 @@ tests: attribute: "CurrentHue" response: constraints: - minValue: 60 + minValue: 48 maxValue: 72 - label: "Wait 5s" diff --git a/src/app/tests/suites/certification/Test_TC_CC_3_2.yaml b/src/app/tests/suites/certification/Test_TC_CC_3_2.yaml index 0c5118e3a2a2bd..c9fb35fb24cf44 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_3_2.yaml @@ -116,8 +116,8 @@ tests: attribute: "CurrentHue" response: constraints: - minValue: 35 - maxValue: 55 + minValue: 38 + maxValue: 52 - label: "Wait 10s" cluster: "DelayCommands" @@ -241,8 +241,8 @@ tests: attribute: "CurrentHue" response: constraints: - minValue: 180 - maxValue: 240 + minValue: 183 + maxValue: 247 - label: "Wait 10s" cluster: "DelayCommands" @@ -276,7 +276,7 @@ tests: saveAs: CurrentHueValueStep3f constraints: minValue: 140 - maxValue: 180 + maxValue: 190 - label: "Wait 2s" cluster: "DelayCommands" diff --git a/src/app/tests/suites/certification/Test_TC_CC_3_3.yaml b/src/app/tests/suites/certification/Test_TC_CC_3_3.yaml index 72ebaf5903ab55..a629f3cd548063 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_3_3.yaml @@ -101,8 +101,8 @@ tests: attribute: "CurrentHue" response: constraints: - minValue: 210 - maxValue: 250 + minValue: 195 + maxValue: 254 - label: "Wait 10s" cluster: "DelayCommands" @@ -211,7 +211,7 @@ tests: attribute: "CurrentHue" response: constraints: - minValue: 210 + minValue: 208 maxValue: 255 - label: "Wait 5s" diff --git a/src/app/tests/suites/certification/Test_TC_CC_4_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_4_1.yaml index dbcdf3d3ac08f5..a1b9b8447ab27e 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_4_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_4_1.yaml @@ -135,7 +135,7 @@ tests: response: constraints: minValue: 102 - maxValue: 120 + maxValue: 138 - label: "Wait 5s" cluster: "DelayCommands" diff --git a/src/app/tests/suites/certification/Test_TC_CC_4_2.yaml b/src/app/tests/suites/certification/Test_TC_CC_4_2.yaml index dac5d1046f034b..6900437b6e6ec8 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_4_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_4_2.yaml @@ -114,7 +114,7 @@ tests: attribute: "CurrentSaturation" response: constraints: - minValue: 215 + minValue: 212 maxValue: 254 - label: "Wait 5s" @@ -186,8 +186,8 @@ tests: attribute: "CurrentSaturation" response: constraints: - minValue: 60 - maxValue: 80 + minValue: 59 + maxValue: 81 - label: "Wait 10s" cluster: "DelayCommands" diff --git a/src/app/tests/suites/certification/Test_TC_CC_4_3.yaml b/src/app/tests/suites/certification/Test_TC_CC_4_3.yaml index ee0de99c49a480..3d9c2a1db5555d 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_4_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_4_3.yaml @@ -99,8 +99,8 @@ tests: attribute: "CurrentSaturation" response: constraints: - minValue: 205 - maxValue: 235 + minValue: 187 + maxValue: 253 - label: "Wait 10s" cluster: "DelayCommands" @@ -116,8 +116,8 @@ tests: attribute: "CurrentSaturation" response: constraints: - minValue: 205 - maxValue: 240 + minValue: 204 + maxValue: 254 - label: "Wait 5s" cluster: "DelayCommands" @@ -240,7 +240,7 @@ tests: attribute: "CurrentSaturation" response: constraints: - minValue: 10 + minValue: 5 maxValue: 15 - label: "Wait 5s" diff --git a/src/app/tests/suites/certification/Test_TC_CC_4_4.yaml b/src/app/tests/suites/certification/Test_TC_CC_4_4.yaml index 5714a4126a13f4..2dea359fe06579 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_4_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_4_4.yaml @@ -116,8 +116,8 @@ tests: attribute: "CurrentHue" response: constraints: - minValue: 165 - maxValue: 195 + minValue: 160 + maxValue: 200 - label: "TH reads CurrentSaturation attribute from DUT" PICS: CC.S.F00 && CC.S.A0001 @@ -125,8 +125,8 @@ tests: attribute: "CurrentSaturation" response: constraints: - minValue: 55 - maxValue: 75 + minValue: 50 + maxValue: 80 - label: "Wait 10s" cluster: "DelayCommands" @@ -142,7 +142,7 @@ tests: attribute: "CurrentHue" response: constraints: - minValue: 160 + minValue: 135 maxValue: 185 - label: "TH reads CurrentSaturation attribute from DUT" @@ -153,7 +153,7 @@ tests: constraints: type: int8u minValue: 68 - maxValue: 80 + maxValue: 92 - label: "Wait 5s" cluster: "DelayCommands" diff --git a/src/app/tests/suites/certification/Test_TC_CC_4_5.yaml b/src/app/tests/suites/certification/Test_TC_CC_4_5.yaml index 872bda684bba60..f50ceb4342d9ec 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_4_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_4_5.yaml @@ -29,12 +29,22 @@ tests: For DUT as client test cases, Chip-tool command used below are an example to verify the functionality. For certification test, we expect DUT should have a capability or way to run the equivalent command. disabled: true + - label: "Pre-Condition" + verification: | + 1. Commission DUT to TH + + 2. Set DUT OnOff to On + + 3. DUT supports CC.C.F00(HS) + disabled: true + - label: "DUT sends MoveToSaturation command to TH" PICS: CC.C.C03.Rsp verification: | ./chip-tool colorcontrol move-to-saturation 200 300 0 0 1 1 - Verify in TH(all-clusters-app) Log: + + Verify success response in TH(all-clusters-app) Log: [1657911500.672151][2977:2977] CHIP:DMG: InvokeRequestMessage = [1657911500.672204][2977:2977] CHIP:DMG: { @@ -76,8 +86,9 @@ tests: verification: | ./chip-tool colorcontrol read current-saturation 1 1 - Verify in TH(all-clusters-app) Log: + + Verify response contains an CurrentSaturation value in TH(all-clusters-app) Logs: [1657911521.672771][2977:2977] CHIP:IM: Received Read request [1657911521.672849][2977:2977] CHIP:DMG: ReadRequestMessage = [1657911521.672876][2977:2977] CHIP:DMG: { @@ -109,7 +120,8 @@ tests: verification: | ./chip-tool colorcontrol move-saturation 1 10 0 0 1 1 - Verify in TH(all-clusters-app) Log: + + Verify success response in TH(all-clusters-app) Log: [1657911543.960120][2977:2977] CHIP:DMG: InvokeRequestMessage = @@ -151,7 +163,8 @@ tests: verification: | ./chip-tool colorcontrol read current-saturation 1 1 - Verify in TH(all-clusters-app) Log: + + Verify response contains an CurrentSaturation value in TH(all-clusters-app) Logs: [1657911563.694872][2977:2977] CHIP:IM: Received Read request [1657911563.694955][2977:2977] CHIP:DMG: ReadRequestMessage = @@ -184,7 +197,7 @@ tests: verification: | ./chip-tool colorcontrol step-saturation 1 10 200 0 0 1 1 - Verify in TH(all-clusters-app) Log: + Verify success response in TH(all-clusters-app) Log: [1657911581.077515][2977:2977] CHIP:DMG: InvokeRequestMessage = [1657911581.077553][2977:2977] CHIP:DMG: { @@ -227,7 +240,7 @@ tests: verification: | ./chip-tool colorcontrol read current-saturation 1 1 - Verify in TH(all-clusters-app) Log: + Verify response contains an CurrentSaturation value in TH(all-clusters-app) Logs: [1657911602.223413][2977:2977] CHIP:IM: Received Read request [1657911602.223554][2977:2977] CHIP:DMG: ReadRequestMessage = [1657911602.223609][2977:2977] CHIP:DMG: { @@ -259,7 +272,8 @@ tests: verification: | ./chip-tool colorcontrol move-to-hue-and-saturation 100 200 200 0 0 1 1 - Verify in TH(all-clusters-app) Log: + + Verify success response in TH(all-clusters-app) Log: [1657911631.586168][2977:2977] CHIP:DMG: InvokeRequestMessage = [1657911631.586198][2977:2977] CHIP:DMG: { @@ -301,7 +315,8 @@ tests: PICS: CC.C.C06.Rsp && CC.C.A0000 && CC.C.A0001 verification: | ./chip-tool colorcontrol read current-hue 1 1 - Verify in TH(all-clusters-app) Log: + + Verify response contains an CurrentHue value in TH(all-clusters-app) Logs: [1657911655.180421][2977:2977] CHIP:IM: Received Read request [1657911655.180507][2977:2977] CHIP:DMG: ReadRequestMessage = @@ -331,7 +346,7 @@ tests: "./chip-tool colorcontrol read current-saturation 1 1 - Verify in TH(all-clusters-app) Log: + Verify response contains an CurrentSaturation value in TH(all-clusters-app) Logs: [1657911674.594218][2977:2977] CHIP:IM: Received Read request [1657911674.594301][2977:2977] CHIP:DMG: ReadRequestMessage = @@ -366,7 +381,8 @@ tests: verification: | ./chip-tool colorcontrol stop-move-step 0 0 1 1 - Verify in TH(all-clusters-app) Log: + + Verify success response in TH(all-clusters-app) Log: [1657911698.270231][2977:2977] CHIP:DMG: InvokeRequestMessage = [1657911698.270280][2977:2977] CHIP:DMG: { [1657911698.270321][2977:2977] CHIP:DMG: suppressResponse = false, @@ -404,7 +420,7 @@ tests: verification: | ./chip-tool colorcontrol read current-saturation 1 1 - Verify in TH(all-clusters-app) Log: + Verify response contains an CurrentSaturation value in TH(all-clusters-app) Logs: [1657911602.223413][2977:2977] CHIP:IM: Received Read request [1657911602.223554][2977:2977] CHIP:DMG: ReadRequestMessage = [1657911602.223609][2977:2977] CHIP:DMG: { diff --git a/src/app/tests/suites/certification/Test_TC_CC_5_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_5_1.yaml index 8eee37f9bf79f8..c0a4a743fc8d51 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_5_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_5_1.yaml @@ -115,8 +115,8 @@ tests: attribute: "CurrentX" response: constraints: - minValue: 19500 - maxValue: 26400 + minValue: 13107 + maxValue: 32768 - label: "TH reads CurrentY attribute from DUT" PICS: CC.S.F03 && CC.S.A0004 && CC.S.C07.Rsp @@ -124,8 +124,8 @@ tests: attribute: "CurrentY" response: constraints: - minValue: 13900 - maxValue: 18900 + minValue: 13107 + maxValue: 19660 - label: "Wait 10s" cluster: "DelayCommands" @@ -141,7 +141,7 @@ tests: attribute: "CurrentX" response: constraints: - minValue: 13107 + minValue: 11141 maxValue: 15073 - label: "TH reads CurrentY attribute from DUT" @@ -150,7 +150,7 @@ tests: attribute: "CurrentY" response: constraints: - minValue: 13107 + minValue: 11141 maxValue: 15073 - label: "Wait 5s" diff --git a/src/app/tests/suites/certification/Test_TC_CC_5_2.yaml b/src/app/tests/suites/certification/Test_TC_CC_5_2.yaml index 260b9d9b49b020..6b5f1ae7dd2745 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_5_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_5_2.yaml @@ -97,8 +97,8 @@ tests: attribute: "CurrentX" response: constraints: - minValue: 31500 - maxValue: 32500 + minValue: 27200 + maxValue: 36800 - label: "TH reads CurrentY attribute from DUT" command: "readAttribute" @@ -106,8 +106,8 @@ tests: attribute: "CurrentY" response: constraints: - minValue: 26500 - maxValue: 27500 + minValue: 22900 + maxValue: 31100 - label: "Wait 10s" cluster: "DelayCommands" @@ -123,8 +123,8 @@ tests: attribute: "CurrentX" response: constraints: - minValue: 30500 - maxValue: 31500 + minValue: 26350 + maxValue: 35650 - label: "TH reads CurrentY attribute from DUT" command: "readAttribute" @@ -132,8 +132,8 @@ tests: attribute: "CurrentY" response: constraints: - minValue: 27500 - maxValue: 28500 + minValue: 23800 + maxValue: 32200 - label: "Wait 10s" cluster: "DelayCommands" @@ -150,8 +150,8 @@ tests: response: saveAs: CurrentXValue constraints: - minValue: 29500 - maxValue: 30500 + minValue: 25500 + maxValue: 34500 - label: "TH reads CurrentY attribute from DUT" command: "readAttribute" @@ -160,8 +160,8 @@ tests: response: saveAs: CurrentYValue constraints: - minValue: 28500 - maxValue: 29500 + minValue: 24650 + maxValue: 33350 - label: "TH sends StopMoveStep command to DUT" PICS: CC.S.F03 && CC.S.C47.Rsp @@ -180,8 +180,8 @@ tests: attribute: "CurrentX" response: constraints: - minValue: 29500 - maxValue: 30500 + minValue: 25500 + maxValue: 34500 #Checking range as exactly delay might not be achieved due to attribute reads - label: "TH reads CurrentY attribute from DUT" @@ -190,8 +190,8 @@ tests: attribute: "CurrentY" response: constraints: - minValue: 28500 - maxValue: 29500 + minValue: 24650 + maxValue: 33350 - label: "TH reads ColorMode attribute from DUT" PICS: CC.S.F00 && CC.S.A0008 diff --git a/src/app/tests/suites/certification/Test_TC_CC_5_4.yaml b/src/app/tests/suites/certification/Test_TC_CC_5_4.yaml index f9b24fd63fb975..3616dce7a1667f 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_5_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_5_4.yaml @@ -29,6 +29,15 @@ tests: For DUT as client test cases, Chip-tool command used below are an example to verify the functionality. For certification test, we expect DUT should have a capability or way to run the equivalent command. disabled: true + - label: "Pre-Condition" + verification: | + 1. Commission DUT to TH + + 2. Set DUT OnOff to On + + 3. DUT supports CC.C.F03(XY) + disabled: true + - label: "DUT sends MoveToColor command to TH" PICS: CC.C.C07.Rsp verification: | diff --git a/src/app/tests/suites/certification/Test_TC_CC_6_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_6_1.yaml index 0f33e1f4b76e8f..3d0d0b5b8a172d 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_6_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_6_1.yaml @@ -131,8 +131,8 @@ tests: attribute: "ColorTemperature" response: constraints: - minValue: 275 - maxValue: 305 + minValue: 246 + maxValue: 334 - label: "Wait 10s" cluster: "DelayCommands" @@ -148,8 +148,8 @@ tests: attribute: "ColorTemperature" response: constraints: - minValue: 255 - maxValue: 285 + minValue: 230 + maxValue: 310 - label: "Wait 10s" cluster: "DelayCommands" @@ -165,8 +165,8 @@ tests: attribute: "ColorTemperature" response: constraints: - minValue: 250 - maxValue: 280 + minValue: 212 + maxValue: 288 - label: "Wait 5s" cluster: "DelayCommands" diff --git a/src/app/tests/suites/certification/Test_TC_CC_7_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_7_1.yaml index 7ea4d26afc92f9..37fe8950d16cfb 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_7_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_7_1.yaml @@ -136,8 +136,8 @@ tests: attribute: "EnhancedCurrentHue" response: constraints: - minValue: 11000 - maxValue: 12700 + minValue: 10200 + maxValue: 13800 - label: "Wait 5s" cluster: "DelayCommands" @@ -247,7 +247,7 @@ tests: response: constraints: minValue: 50700 - maxValue: 54000 + maxValue: 62100 - label: "Wait 5s" cluster: "DelayCommands" @@ -356,8 +356,8 @@ tests: attribute: "EnhancedCurrentHue" response: constraints: - minValue: 11000 - maxValue: 12700 + minValue: 10200 + maxValue: 13800 - label: "Wait 5s" cluster: "DelayCommands" @@ -466,8 +466,8 @@ tests: attribute: "EnhancedCurrentHue" response: constraints: - minValue: 6000 - maxValue: 7000 + minValue: 5100 + maxValue: 6900 - label: "Wait 5s" cluster: "DelayCommands" diff --git a/src/app/tests/suites/certification/Test_TC_CC_7_2.yaml b/src/app/tests/suites/certification/Test_TC_CC_7_2.yaml index 9e8234d2392efd..5bfaf14f00d2dd 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_7_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_7_2.yaml @@ -149,7 +149,7 @@ tests: attribute: "EnhancedCurrentHue" response: constraints: - minValue: 30000 + minValue: 29750 maxValue: 40250 - label: "Wait 2s" @@ -167,7 +167,7 @@ tests: attribute: "EnhancedCurrentHue" response: constraints: - minValue: 30000 + minValue: 29750 maxValue: 40250 - label: diff --git a/src/app/tests/suites/certification/Test_TC_CC_7_3.yaml b/src/app/tests/suites/certification/Test_TC_CC_7_3.yaml index 7700545fb42f2b..78346f32187569 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_7_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_7_3.yaml @@ -135,8 +135,8 @@ tests: attribute: "EnhancedCurrentHue" response: constraints: - minValue: 9350 - maxValue: 12000 + minValue: 10200 + maxValue: 13800 - label: "Wait 5s" cluster: "DelayCommands" @@ -245,8 +245,8 @@ tests: attribute: "EnhancedCurrentHue" response: constraints: - minValue: 6000 - maxValue: 7000 + minValue: 5100 + maxValue: 6900 - label: "Wait 5s" cluster: "DelayCommands" diff --git a/src/app/tests/suites/certification/Test_TC_CC_7_4.yaml b/src/app/tests/suites/certification/Test_TC_CC_7_4.yaml index 6b22c9a9c40bae..2737e0c1125a9a 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_7_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_7_4.yaml @@ -127,8 +127,8 @@ tests: attribute: "CurrentSaturation" response: constraints: - minValue: 56 - maxValue: 74 + minValue: 50 + maxValue: 80 - label: "Wait 10s" cluster: "DelayCommands" @@ -145,7 +145,7 @@ tests: response: constraints: type: int16u - minValue: 16000 + minValue: 13600 maxValue: 18400 - label: "TH reads CurrentSaturation attribute from DUT" @@ -155,7 +155,7 @@ tests: response: constraints: minValue: 68 - maxValue: 80 + maxValue: 92 - label: "Wait 5s" cluster: "DelayCommands" diff --git a/src/app/tests/suites/certification/Test_TC_CC_7_5.yaml b/src/app/tests/suites/certification/Test_TC_CC_7_5.yaml index 8cccb5a8a4e54d..ef66c12d3ea3fa 100644 --- a/src/app/tests/suites/certification/Test_TC_CC_7_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_CC_7_5.yaml @@ -29,6 +29,15 @@ tests: For DUT as client test cases, Chip-tool command used below are an example to verify the functionality. For certification test, we expect DUT should have a capability or way to run the equivalent command. disabled: true + - label: "Pre-Condition" + verification: | + 1. Commission DUT to TH + + 2. Set DUT OnOff to On + + 3. DUT supports CC.C.F01(EHUE) + disabled: true + - label: "DUT sends EnhancedMoveToHue command to TH" PICS: CC.C.C40.Rsp verification: | diff --git a/src/app/tests/suites/certification/Test_TC_CNET_1_3.yaml b/src/app/tests/suites/certification/Test_TC_CNET_1_3.yaml index ec94f45a29f012..3c5936b993798d 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_1_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_1_3.yaml @@ -223,9 +223,8 @@ tests: [1650370342.693995][7450:7455] CHIP:EM: Sending Standalone Ack for MessageCounter:2345375 on exchange 25146i disabled: true - - label: - "NOTE: Repeat the test case by Commission DUT to TH on the Thread and - Ethernet setups" + - label: "NOTE" verification: | - verification step to be updated. + Repeat the test case by Commission DUT to TH on the Thread and + Ethernet setups disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_1.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_1.yaml index 2ffcf9b0feb7ca..8316b094da261c 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_1.yaml @@ -27,12 +27,12 @@ config: tests: - label: "Factory reset the DUT" verification: | - verification step to be updated. + disabled: true - label: "Commission TH and DUT over BLE to setup the Wi-Fi" verification: | - verification step to be updated. + disabled: true - label: @@ -100,7 +100,7 @@ tests: "TH saves the MaxNetworks attribute value as MaxNetworksValue for future use" verification: | - verification step to be updated. + disabled: true - label: "TH reads the Networks attribute list from the DUT" diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_10.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_10.yaml index 14d14e984e926a..c79d8b63b3675f 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_10.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_10.yaml @@ -66,7 +66,7 @@ tests: value PIXIT.CNET.THRE AD_1ST_OPERATI ONALDATASET and saves it as Userth_netidx" verification: | - verification step to be updated. + disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_11.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_11.yaml index c96b2cd8d500c4..dc946e5a1d2290 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_11.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_11.yaml @@ -18,7 +18,7 @@ name: [DUT-Server] PICS: - - CNET.S.S.F00 + - CNET.S.F00 config: nodeId: 0x12344321 @@ -117,7 +117,7 @@ tests: "TH finds the index of the Networks list entry with NetworkID for PIXIT.CNET.WIFI_ 1ST_ACCESSPOINT _SSID and saves it as Userwifi_netidx" verification: | - verification step to be updated. + disabled: true - label: @@ -366,7 +366,7 @@ tests: "TH changes its WiFi connection to PIXIT.CNET.WIFI_ 2ND_ACCESSPOIN T_SSID" verification: | - verification step to be updated. + disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_12.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_12.yaml index 63861455bce4fd..88049276ae725b 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_12.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_12.yaml @@ -28,19 +28,19 @@ config: tests: - label: "Commission TH and DUT on Thread setup" verification: | - verification step to be updated. + disabled: true - label: "The cluster Identifier 49 (0x0031) is present in the ServerList attribute" verification: | - verification step to be updated. + disabled: true - label: "The FeatureMap attribute value is 2" verification: | - verification step to be updated. + disabled: true - label: @@ -82,7 +82,7 @@ tests: "TH saves the index of the Networks list entry from step 2 as Userth_netidx" verification: | - verification step to be updated. + disabled: true - label: @@ -170,7 +170,7 @@ tests: "TH discovers and connects to DUT on the PIXIT.CNET.THRE AD_2ND_OPERATI ONALDATASET operational network" verification: | - verification step to be updated. + disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_15.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_15.yaml index 4c97f68359c397..69655eaf265ec9 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_15.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_15.yaml @@ -28,31 +28,31 @@ config: tests: - label: "Factory Reset the DUT" verification: | - verification step to be updated. + disabled: true - label: "Commission TH and DUT over BLE to setup the Wi-Fi" verification: | - verification step to be updated. + disabled: true - label: "The cluster Identifier 49 (0x0031) is present in the ServerList attribute" verification: | - verification step to be updated. + disabled: true - label: "The FeatureMap attribute value is 1" verification: | - verification step to be updated. + disabled: true - label: "MaxNetworks attribute value is at least 1 which is saved as MaxNetworksValue for future use" verification: | - verification step to be updated. + disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_16.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_16.yaml index c8de75528e18e3..fc8874e97d57bf 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_16.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_16.yaml @@ -28,31 +28,31 @@ config: tests: - label: "Factory Reset the DUT" verification: | - verification step to be updated. + disabled: true - label: "Commission TH and DUT to setup the Thread" verification: | - verification step to be updated. + disabled: true - label: "The cluster Identifier 49 (0x0031) is present in the ServerList attribute" verification: | - verification step to be updated. + disabled: true - label: "The FeatureMap attribute value is 2" verification: | - verification step to be updated. + disabled: true - label: "MaxNetworks attribute value is at least 1 which is saved as MaxNetworksValue for future use" verification: | - verification step to be updated. + disabled: true - label: "TH sends ArmFailSafe command to the DUT" diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_17.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_17.yaml index ea25d1506d0157..6ee0bd0cb910f7 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_17.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_17.yaml @@ -33,7 +33,7 @@ tests: - label: "Commission TH and DUT over BLE to setup the Wi-Fi" verification: | - verification step to be updated. + disabled: true - label: "DUT reads the MaxNetworks attribute from the TH" diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_18.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_18.yaml index e43c2b5422c02b..bb52c4a6dbb41e 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_18.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_18.yaml @@ -33,7 +33,7 @@ tests: - label: "Commission TH and DUT on Thread setup" verification: | - verification step to be updated. + disabled: true - label: "DUT reads the MaxNetworks attribute from the TH" diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_19.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_19.yaml index c6986de08c4b45..9c4cf9f517a729 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_19.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_19.yaml @@ -33,7 +33,7 @@ tests: - label: "Commission TH and DUT on Ethernet setup" verification: | - verification step to be updated. + disabled: true - label: "DUT reads the MaxNetworks attribute from the TH" diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_2.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_2.yaml index c60e429d5b53b4..d1f001c157f52f 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_2.yaml @@ -28,12 +28,12 @@ config: tests: - label: "Factory reset the DUT" verification: | - verification step to be updated. + disabled: true - label: "Commmission TH and DUT on Thread setup" verification: | - verification step to be updated. + disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_20.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_20.yaml index 286ad3a2b050a4..12fa0286fb9d5f 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_20.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_20.yaml @@ -32,7 +32,7 @@ tests: - label: "Commission TH and DUT over BLE to setup the Wi-Fi" verification: | - verification step to be updated. + disabled: true - label: "DUT sends the ScanNetwork command to the TH" diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_21.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_21.yaml index 8bb383b44f2388..d1f7dd4fc90ae0 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_21.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_21.yaml @@ -33,7 +33,7 @@ tests: - label: "Commission TH and DUT on Thread setup" verification: | - verification step to be updated. + disabled: true - label: "DUT sends the ScanNetwork command to the TH" diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_3.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_3.yaml index d7ba1f328f64e5..86ebd9f2c22b7e 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_3.yaml @@ -28,12 +28,12 @@ config: tests: - label: "Factory reset the DUT" verification: | - verification step to be updated. + disabled: true - label: "Commmission TH and DUT on Ethernet setup" verification: | - verification step to be updated. + disabled: true - label: @@ -130,7 +130,7 @@ tests: - label: "TH reads InterfaceEnabled attribute from the DUT" PICS: CNET.S.A0004 verification: | - verification step to be updated. + disabled: true - label: "TH reads LastNetworkingStatus attribute from the DUT" diff --git a/src/app/tests/suites/certification/Test_TC_DA_1_1.yaml b/src/app/tests/suites/certification/Test_TC_DA_1_1.yaml index 543111e93f45ce..1b59e9c270242c 100644 --- a/src/app/tests/suites/certification/Test_TC_DA_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DA_1_1.yaml @@ -42,61 +42,60 @@ tests: Node Operational Credentials cluster and saves the returned list as noc_th1" verification: | - ./chip-tool operationalcredentials read nocs 1 0 - - Verify there is single entry and Fabric ID matches FabricID of TH1 on TH(chip-tool) log: - - [1658392350.745452][3254:3259] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 1660110003 - [1658392350.748972][3254:3259] CHIP:TOO: NOCs: 1 entries - [1658392350.749041][3254:3259] CHIP:TOO: [1]: { - [1658392350.749086][3254:3259] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411011824070124080130094104C983D16057AA6B80F551CE7686F96EA2D2C0787A2C22B1D746B13A85C67A2BEAAF9485C72F12F770D59FC0E1FF59D21EF988209249C07B229F84CFD4F51E9611370A3501280118240201360304020401183004142BC90AF48A63F83F7E8F2BAFB6703795028429BB3005149B9F5879F33019C19B6796BD02FD13D044E2AA2818300B4061D02714DC750BE3524C8DE04AFC971CC1B25AE98C366809D1257052B91DA6B252A3CF035DD55980B4E3C865FD933B2F19151379122A50599E8A869A0EC29AD318 - [1658392350.749133][3254:3259] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104AD24B19A35BD1B1808EFF5F46C6D3AC98B57FF0F55BC5AF7BB6B09905A1B66AD1DFBC2511EBF4DC40033A4676EF056A498F599DA98507A14F82490D6EE0B22C5370A35012901182402603004149B9F5879F33019C19B6796BD02FD13D044E2AA283005141590E75A2828F170F5670E51629ACFF8E4D37B9218300B40FACB9C9CD92EB1C595C21C17371E15D1E2F7F58CF3E9A17636CDEDAF1EF18D6F88CB0C3D45682FDEBEA58F5926DCC72872DB545B77F4961292B849D05AA659AF18 - [1658392350.749168][3254:3259] CHIP:TOO: FabricIndex: 1 - [1658392350.749194][3254:3259] CHIP:TOO: } + ./chip-tool operationalcredentials read nocs 1 0 --fabric-filtered 0 + On TH1, Verify that there is a single entry in the list + [1662389708.822977][17489:17494] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 4085201480 + [1662389708.823012][17489:17494] CHIP:TOO: NOCs: 1 entries + [1662389708.823044][17489:17494] CHIP:TOO: [1]: { + [1662389708.823063][17489:17494] CHIP:TOO: Noc: 1530010101240201370324130218260480228127260580254D3A370624150124110118240701240801300941048CC01B0EB2EEA552BDC8228991495A660370D9277C576331DDAE833D8D000715089DFD029D007479F57ABAE8B4B5C8A7F274BBD5D6B4267373C31E3557DB8C74370A3501280118240201360304020401183004143F84722733340A0CB94617B29C43DA6C819AE64C300514BAA52DBC890552A4481A4F745C9DF5AF7601E8E618300B4072AB61952DEEC3F1739804427836A373D04427EE7949A72196F19E1C18E17E092D374504E46952E706765152C7E54DCAD6154BD76E616A2B43B47854585F764118 + [1662389708.823085][17489:17494] CHIP:TOO: Icac: 1530010101240201370324140118260480228127260580254D3A370624130218240701240801300941044325A17033FD51861CFEBB729726700328EDE828DF629F87D44E53CB7E468AB4B068B46D63BB64E1EAE4835B6802FFCBB5623F077D804C20CE49DEBCFABEFD6E370A3501290118240260300414BAA52DBC890552A4481A4F745C9DF5AF7601E8E6300514CED34BC18F366962FA942D22B53D7343EAA925EE18300B40B1C285C7B7488A246913F09C1103A3BBEE5EB3EBEE3F6D95CE6487820CDE2428FA0D2B2F14D9D2D8235DD370B19726C0842907D3018F1130E5AD3B3C88F7E64A18 + [1662389708.823097][17489:17494] CHIP:TOO: FabricIndex: 1 + [1662389708.823105][17489:17494] CHIP:TOO: } + [1662389708.823154][17489:17494] CHIP:EM: Sending Standalone Ack for MessageCounter:21612502 on exchange 46583i disabled: true - label: "TH1 does a non-fabric-filtered read of the Fabrics attribute from the Node Operational Credentials cluster" verification: | - ./chip-tool operationalcredentials read fabrics 1 0 - - Verify that there is a single entry in the list TH (chip-tool) Log - - [1655471672.386120][13377:13382] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2667297992 - [1655471672.386213][13377:13382] CHIP:TOO: Fabrics: 1 entries - [1655471672.386291][13377:13382] CHIP:TOO: [1]: { - [1655471672.386339][13377:13382] CHIP:TOO: RootPublicKey: 04FB421853FB8AE6AEA281845DE7C8689E7C24AD3283A3536E09BA2FAAE88F6EA4C08DC055A965D8FE0A8060A7F9F45E509B7A4C9092FB3D8D2E253B057899F5AB - [1655471672.386378][13377:13382] CHIP:TOO: VendorId: 65521 - [1655471672.386412][13377:13382] CHIP:TOO: FabricId: 1 - [1655471672.386445][13377:13382] CHIP:TOO: NodeId: 1 - [1655471672.386675][13377:13382] CHIP:TOO: Label: - [1655471672.386716][13377:13382] CHIP:TOO: FabricIndex: 1 - [1655471672.386750][13377:13382] CHIP:TOO: } + ./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0 + + On TH1(chip-tool), Verify that there is a single entry in the list and the FabricID for that entry matches the FabricID for TH1 + [1662387410.014702][16876:16881] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 4085201476 + [1662387410.014732][16876:16881] CHIP:TOO: Fabrics: 1 entries + [1662387410.014758][16876:16881] CHIP:TOO: [1]: { + [1662387410.014773][16876:16881] CHIP:TOO: RootPublicKey: 04FA78EE3C3FF4D5B4F100C395FDE8C4FB44A2CD7F831FB286BC0DA3B00804CC4AF477696B4C2ED482368A5E7ECEA3081184EAE5715531A71DD7D4DC157AECB1FB + [1662387410.014782][16876:16881] CHIP:TOO: VendorId: 65521 + [1662387410.014790][16876:16881] CHIP:TOO: FabricId: 1 + [1662387410.014796][16876:16881] CHIP:TOO: NodeId: 1 + [1662387410.014803][16876:16881] CHIP:TOO: Label: + [1662387410.014810][16876:16881] CHIP:TOO: FabricIndex: 1 + [1662387410.014817][16876:16881] CHIP:TOO: } + [1662387410.014869][16876:16881] CHIP:EM: Sending Standalone Ack for MessageCounter:194332495 on exchange 18746i disabled: true - label: - "Factory reset DUT Perform the device discovery flow checks as covered - in TC-DD-2.2" - PICS: MCORE.UI.FACTORYRESET + "Factory reset DUT and perform the necessary actions to put the DUT + into a commissionable state" + PICS: PICS_MCORE_UI_FACTORYRESET verification: | - 1. TH starts matter announcement procedure using BLE transport : verify this by sending - "./chip-tool discover commissionables" after launching all-clusters-app on DUT + To perform Factory reset on DUT follow the below commands in RPI, And use equivalent command on the respective DUT + sudo rm -rf /tmp/chip_* + + After factory reset put the DUT into commissionable state and verify commissionable state. + This step is same in couple of other cases (like DD) so use the same verification method here too i.e. if your DUT is discoverable over mDNS then use "chiptool discover commissionables" to discover mDNS adv and provision the device using "chip-tool pairing code node-id payload". + otherwise if your DUT is advertising over BLE , pls use the "/chip-tool pairing ble-wifi 1 zigbeehome matter123 20202021 3841 --trace_decode 1" command to discover and provision the device (BTW the SSID , passwd, descriminator ..etc are configurable parameters for your DUT) - 2. DUT must find TH and provide onboarding data to for validation. - Pass Criteria: DUT is able to report the Onboarding payload as set on TH : Verify this by commissioning DUT with TH - 1. TH starts matter announcement procedure using BLE transport : verify this by sending "./chip-tool discover commissionables" after launching all-clusters-app on DUT - 2. DUT must find TH and provide onboarding data to for validation. Pass Criteria: DUT is able to report the Onboarding payload as set on TH : Verify this by commissioning DUT with TH by passing "./chip-tool pairing ble-wifi 1 zigbeehome matter123 20202021 3841 --trace_decode 1" + Using RPI, executed the below command to verify this step, Pls use equivalent command on the respective DUT + ./chip-all-clusters-app disabled: true - label: "Commission DUT to TH2s Fabric" verification: | - sudo ./chip-all-clusters-app --wifi - - ./chip-tool pairing ble-wifi 2 zigbeehome matter123 20202021 3841 --trace_decode 1 - - Verify in TH2 log: + Once DUT reach the commissionable state as explaiend in step 3, send below mentioned command on TH2 to commission the DUT. And use equivalent command on the respective DUT (Refer step 3) + ./chip-tool pairing onnetwork 2 20202021 --commissioner-name beta + Verify the commissioning completed with success on TH2(chip-tool) from DUT [1650455358.501816][4366:4371] CHIP:TOO: Device commissioning completed with success disabled: true @@ -104,38 +103,41 @@ tests: "TH2 does a non-fabric-filtered read of Fabrics attribute list from DUT" verification: | - ./chip-tool operationalcredentials read fabrics 2 0 --commissioner-name beta - - Verify there is single entry and FabricID matches the FabricID of TH2 on TH2 (chip-tool) log - - [1655471672.386120][13377:13382] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2667297992 - [1655471672.386213][13377:13382] CHIP:TOO: Fabrics: 1 entries - [1655471672.386291][13377:13382] CHIP:TOO: [1]: { - [1655471672.386339][13377:13382] CHIP:TOO: RootPublicKey: 04FB421853FB8AE6AEA281845DE7C8689E7C24AD3283A3536E09BA2FAAE88F6EA4C08DC055A965D8FE0A8060A7F9F45E509B7A4C9092FB3D8D2E253B057899F5AB - [1655471672.386378][13377:13382] CHIP:TOO: VendorId: 65521 - [1655471672.386412][13377:13382] CHIP:TOO: FabricId: 1 - [1655471672.386445][13377:13382] CHIP:TOO: NodeId: 2 - [1655471672.386675][13377:13382] CHIP:TOO: Label: - [1655471672.386716][13377:13382] CHIP:TOO: FabricIndex: 2 - [1655471672.386750][13377:13382] CHIP:TOO: } + ./chip-tool operationalcredentials read fabrics 2 0 --commissioner-name beta --fabric-filtered 0 + + On TH2(chip-tool) Verify that there is only one entry in the "Fabrics" List and Verify that the FabricID is the same as the TH2’s Fabric ID and Verify that the entry saved in Step 2 for TH1" Fabric does not appear in the list + + + [1662390246.660954][17644:17649] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 2805160061 + [1662390246.660984][17644:17649] CHIP:TOO: Fabrics: 1 entries + [1662390246.661011][17644:17649] CHIP:TOO: [1]: { + [1662390246.661026][17644:17649] CHIP:TOO: RootPublicKey: 043F15634C9278EFB024A094A2F1108C9FF29FB0AB9A67F1707D0E2FDAD1BF30A133B0443FA5BEBE28252E82BF88ABB914136C0624F2A175FBE320DE376F12DF8A + [1662390246.661036][17644:17649] CHIP:TOO: VendorId: 65521 + [1662390246.661044][17644:17649] CHIP:TOO: FabricId: 2 + [1662390246.661051][17644:17649] CHIP:TOO: NodeId: 2 + [1662390246.661058][17644:17649] CHIP:TOO: Label: + [1662390246.661066][17644:17649] CHIP:TOO: FabricIndex: 2 + [1662390246.661074][17644:17649] CHIP:TOO: } + [1662390246.661123][17644:17649] CHIP:EM: Sending Standalone Ack for MessageCounter:28113052 on exchange 4807i disabled: true - label: "TH2 does a non-fabric-filtered read of NOCs attribute list from DUT" verification: | - ./chip-tool operationalcredentials read nocs 2 0 --commissioner-name beta + ./chip-tool operationalcredentials read nocs 2 0 --commissioner-name beta --fabric-filtered 0 - Verify there is single entry on TH2 (chip-tool) log + On TH2(chip-tool) Verify that there is only one entry in the "NOCs" List and the NOC for that entry is different than the NOC entry in noc_th1 - [1655471146.098327][13302:13307] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 2667297991 - [1655471146.098416][13302:13307] CHIP:TOO: NOCs: 1 entries - [1655471146.098486][13302:13307] CHIP:TOO: [1]: { - [1655471146.098537][13302:13307] CHIP:TOO: Noc: 1530010101240201370324130118260480228127260580254D3A37062415012411011824070124080130094104D5FA104FF03F9118BDC2A072D50DB3BED32C47F138439FBF05753D02D01AEC10F350CB77EA22844A83FF0FEF6CFA764F5B1FD48E487F3EC82A201D376F56DCC8370A350128011824020136030402040118300414BD61F9405A7A15EFA38F8B6833AB9027876482E1300514B5AED0B2C2CDBB9D4D0124755B56278B081FD4AD18300B40441AA0EE6ACE43EEA2A52321821D8B260AAFFEBD394C2FD11E83008C5AD2DF5EA58FAFA14A3EF7BAFDE190591298311D7DE6A257819D98D0E9FE239A635684B418 - [1655471146.098591][13302:13307] CHIP:TOO: Icac: 1530010100240201370324140018260480228127260580254D3A37062413011824070124080130094104B267483D9981A2C15E7DE8C63298FEB6DC19EAA9AEA41D9D659CD3BBBD25B943B3186716C82B297091D64B1620E8FB2C6FD095F509684E074C5B479E583CE295370A3501290118240260300414B5AED0B2C2CDBB9D4D0124755B56278B081FD4AD3005146EDE812590A5E6E4463798EB06AC3BD5284DFAAE18300B404A48E0B45704A98739C0C656B0F1A4252AEED8E1EBA5FD1032C79A4B26BF8A314EFDD7C835947DEB4B3E9F6D0BF2A561CEE54B45F311773301D4B5CFFF2F76D918 - [1655471146.098630][13302:13307] CHIP:TOO: FabricIndex: 2 - [1655471146.098660][13302:13307] CHIP:TOO: } + [1662390133.555554][17626:17631] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0000 DataVersion: 2805160061 + [1662390133.555588][17626:17631] CHIP:TOO: NOCs: 1 entries + [1662390133.555611][17626:17631] CHIP:TOO: [1]: { + [1662390133.555628][17626:17631] CHIP:TOO: Noc: 1530010101240201370324130218260480228127260580254D3A370624150124110118240701240801300941044D425C2D460D0FE0320BF89A23A986625C328AB31E0A9777B8757766D7695206A1CAA25A190399B5DB4ABE7279B92F2511876835828E04E182433909C31DADD2370A350128011824020136030402040118300414BE030B50E064E6EEBD870149816A89D411A62871300514CFD5CCEC2628AB8F23C8548A67B94A8ED970189218300B403F2FD3CE0512D3ADBF2CEAE862C3C279A10817CE935838247F19BA9CF38E25A8F28E6700312B4FA7BFF3E7179F5EC6E5829B940EDEB4AED9AC0B98CD9875006318 + [1662390133.555656][17626:17631] CHIP:TOO: Icac: 1530010101240201370324140118260480228127260580254D3A370624130218240701240801300941044D2A729D4AE36878D1944A3DE7ED797E4107B01BBBB4E05F525E5A8C3FC20D404B15F4121A12E867206CC5404735EA4768B891C2F6DDF99D3464812CC1B70243370A3501290118240260300414CFD5CCEC2628AB8F23C8548A67B94A8ED9701892300514862C638AD0F2DC03D5B19F66B75ABC8BA7FD5FA618300B40B6E857E49C1AE43BFCCA1F322D20299DC25391DE17C05CA5AB68B50D29E7F2C17F9BBB6A1E273A6B5791A333B31A5203395E9A7EE1D633D191B51B72B6DB0E3118 + [1662390133.555667][17626:17631] CHIP:TOO: FabricIndex: 1 + [1662390133.555674][17626:17631] CHIP:TOO: } + [1662390133.555714][17626:17631] CHIP:EM: Sending Standalone Ack for MessageCounter:45776480 on exchange 57400i - " + Note Verify the NOC entry of TH1 and NOC entry of TH2 are different in TH disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DA_1_4.yaml b/src/app/tests/suites/certification/Test_TC_DA_1_4.yaml index a4606fa7781765..1162ec1d4226af 100644 --- a/src/app/tests/suites/certification/Test_TC_DA_1_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_DA_1_4.yaml @@ -40,47 +40,110 @@ tests: - label: "Start the commissioning process of TH1 on DUT" verification: | - sudo ./chip-all-clusters-app --wifi + To perform Factory reset on TH1(all-clusters-app) follow the below commands in RPI platform , Pls use equivalent command on the respective platform + sudo rm -rf /tmp/chip_* + + execute the below mentioned command to put TH(all-clusters-app) into a commissionable state, Pls use equivalent command on the respective DUT + ./chip-all-clusters-app --trace_decode 1 - ./chip-tool pairing ble-wifi 1 zigbeehome matter123 20202021 3841 --trace_decode 1 + Once TH(All-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool) Pls use equivalent command on the respective DUT - [1650455358.501816][4366:4371] CHIP:TOO: Device commissioning completed with success + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 disabled: true - label: "DUT generates 32-byte AttestationNonce" verification: | - DUT generates 32-byte AttestationNonce on TH(all-clusters-app) log - - [1660832898.375011][2480:2485] CHIP:DMG: } - [1660832898.375071][2480:2485] CHIP:DMG: Device Type Id = 22 - [1660832898.375136][2480:2485] CHIP:DMG: Certificate Id (19) = ZIG20142ZB330003-24 - [1660832898.375198][2480:2485] CHIP:DMG: Security Level = 0 - [1660832898.375257][2480:2485] CHIP:DMG: Security Information = 0 - [1660832898.375315][2480:2485] CHIP:DMG: Version Number = 9876 - [1660832898.375374][2480:2485] CHIP:DMG: Certification Type = 0 - [1660832898.375431][2480:2485] CHIP:DMG: } - [1660832898.375496][2480:2485] CHIP:DMG: Attestation Nonce (32) = 79C7156A8580C653945226CD5B5994EF4EC3D79CEAE6D32325CA2EA24B5201CB - [1660832898.375552][2480:2485] CHIP:DMG: Timestamp = 0 - [1660832898.375605][2480:2485] CHIP:DMG: } - [1660832898.375655][2480:2485] CHIP:DMG: + During provision, DUT sends AttestationRequest Command with AttestationNonce + + + [1662449060.839956][31006:31006] CHIP:DMG: } + [1662449060.839959][31006:31006] CHIP:DMG: Device Type Id = 22 + [1662449060.839963][31006:31006] CHIP:DMG: Certificate Id (19) = ZIG20142ZB330003-24 + [1662449060.839967][31006:31006] CHIP:DMG: Security Level = 0 + [1662449060.839970][31006:31006] CHIP:DMG: Security Information = 0 + [1662449060.839973][31006:31006] CHIP:DMG: Version Number = 9876 + [1662449060.839976][31006:31006] CHIP:DMG: Certification Type = 0 + [1662449060.839979][31006:31006] CHIP:DMG: } + [1662449060.839984][31006:31006] CHIP:DMG: Attestation Nonce (32) = 0DCBD6B7CE5AC2B7972D5350E2709C659E2222862BE8F204FE1E3D709FD959AD + [1662449060.839987][31006:31006] CHIP:DMG: Timestamp = 0 + [1662449060.839990][31006:31006] CHIP:DMG: } + [1662449060.839993][31006:31006] CHIP:DMG: disabled: true - label: "DUT sends AttestationRequest Command with AttestationNonce as field to the TH1." verification: | - DUT sends AttestationRequest Command with AttestationNonce as field to the TH1, verify attestation response is received on TH(all-clusters-app) log - - ./chip-tool operationalcredentials attestation-request hex:79C7156A8580C653945226CD5B5994EF4EC3D79CEAE6D32325CA2EA24B5201CB 1 0 - - - Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0001 - [1660833399.901252][2506:2511] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0001 - [1660833399.901498][2506:2511] CHIP:TOO: AttestationResponse: { - [1660833399.901607][2506:2511] CHIP:TOO: attestationElements: 1531011D023082021906092A864886F70D010702A082020A30820206020103310D300B06096086480165030402013082017106092A864886F70D010701A08201620482015E152400012501F1FF3602050080050180050280050380050480050580050680050780050880050980050A80050B80050C80050D80050E80050F80051080051180051280051380051480051580051680051780051880051980051A80051B80051C80051D80051E80051F80052080052180052280052380052480052580052680052780052880052980052A80052B80052C80052D80052E80052F80053080053180053280053380053480053580053680053780053880053980053A80053B80053C80053D80053E80053F80054080054180054280054380054480054580054680054780054880054980054A80054B80054C80054D80054E80054F80055080055180055280055380055480055580055680055780055880055980055A80055B80055C80055D80055E80055F80056080056180056280056380182403162C04135A494732303134325A423333303030332D3234240500240600250794 - [1660833399.901733][2506:2511] CHIP:TOO: ...................: 2624080018317D307B020103801462FA823359ACFAA9963E1CFA140ADDF504F37160300B0609608648016503040201300A06082A8648CE3D04030204473045022024E5D1F47A7D7B0D206A26EF699B7C9757B72D469089DE3192E678C745E7F60C022100F8AA2FA711FCB79B97E397CEDA667BAE464E2BD3FFDFC3CCED7AA8CA5F4C1A7C30022079C7156A8580C653945226CD5B5994EF4EC3D79CEAE6D32325CA2EA24B5201CB24030018 - [1660833399.901816][2506:2511] CHIP:TOO: signature: 920E22FE88765058D28A248636828BDBD612D24FFA4B27A06FFFB5D76061E0D0EE7FBCED7030026624A012B32F11596FB87CE147323B13F55A3654F27ED59FB3 - [1660833399.901881][2506:2511] CHIP:TOO: } + During provision, DUT sends AttestationRequest Command with AttestationNonce as field to the TH. verify the below log in TH(all-clusters-app). As the current TH ref app (all-clusters-app) doesnot decode the received request message, nonce value has been shown from the TH ref app response message , as TH ref app use the same nonce value in the response message + + [1662449060.840902][31013:31018] CHIP:DMG: Product Id = 32863 + [1662449060.840904][31013:31018] CHIP:DMG: Product Id = 32864 + [1662449060.840905][31013:31018] CHIP:DMG: Product Id = 32865 + [1662449060.840907][31013:31018] CHIP:DMG: Product Id = 32866 + [1662449060.840909][31013:31018] CHIP:DMG: Product Id = 32867 + [1662449060.840911][31013:31018] CHIP:DMG: } + [1662449060.840913][31013:31018] CHIP:DMG: Device Type Id = 22 + [1662449060.840916][31013:31018] CHIP:DMG: Certificate Id (19) = ZIG20142ZB330003-24 + [1662449060.840918][31013:31018] CHIP:DMG: Security Level = 0 + [1662449060.840921][31013:31018] CHIP:DMG: Security Information = 0 + [1662449060.840923][31013:31018] CHIP:DMG: Version Number = 9876 + [1662449060.840925][31013:31018] CHIP:DMG: Certification Type = 0 + [1662449060.840927][31013:31018] CHIP:DMG: } + [1662449060.840930][31013:31018] CHIP:DMG: Attestation Nonce (32) = 0DCBD6B7CE5AC2B7972D5350E2709C659E2222862BE8F204FE1E3D709FD959AD + [1662449060.840932][31013:31018] CHIP:DMG: Timestamp = 0 + [1662449060.840934][31013:31018] CHIP:DMG: } + [1662449060.840935][31013:31018] CHIP:DMG: + [1662449060.840938][31013:31018] CHIP:DMG: + [1662449060.840943][31013:31018] CHIP:DMG: Additional Fields = + [1662449060.840945][31013:31018] CHIP:DMG: { + [1662449060.840948][31013:31018] CHIP:DMG: peer_address = UDP:[fe80::b7b8:ff3e:9ace:3e12%wlp0s20f3]:5540 + [1662449060.840950][31013:31018] CHIP:DMG: } + [1662449060.840951][31013:31018] CHIP:DMG: + [1662449060.840955][31013:31018] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:160787812 on exchange 51916i + [1662449060.840959][31013:31018] CHIP:EM: Found matching exchange: 51916i, Delegate: 0x7fd35c0219d8 + [1662449060.840962][31013:31018] CHIP:EM: CHIP MessageCounter:39600912 not in RetransTable on exchange 51916i + [1662449060.840969][31013:31018] CHIP:DMG: ICR moving to [ResponseRe] + [1662449060.840974][31013:31018] CHIP:DMG: InvokeResponseMessage = + [1662449060.840976][31013:31018] CHIP:DMG: { + [1662449060.840979][31013:31018] CHIP:DMG: suppressResponse = false, + [1662449060.840981][31013:31018] CHIP:DMG: InvokeResponseIBs = + [1662449060.840984][31013:31018] CHIP:DMG: [ + [1662449060.840986][31013:31018] CHIP:DMG: InvokeResponseIB = + [1662449060.840990][31013:31018] CHIP:DMG: { + [1662449060.840992][31013:31018] CHIP:DMG: CommandDataIB = + [1662449060.840994][31013:31018] CHIP:DMG: { + [1662449060.840996][31013:31018] CHIP:DMG: CommandPathIB = + [1662449060.840999][31013:31018] CHIP:DMG: { + [1662449060.841001][31013:31018] CHIP:DMG: EndpointId = 0x0, + [1662449060.841004][31013:31018] CHIP:DMG: ClusterId = 0x3e, + [1662449060.841006][31013:31018] CHIP:DMG: CommandId = 0x1, + [1662449060.841008][31013:31018] CHIP:DMG: }, + [1662449060.841011][31013:31018] CHIP:DMG: + [1662449060.841013][31013:31018] CHIP:DMG: CommandFields = + [1662449060.841016][31013:31018] CHIP:DMG: { + [1662449060.841018][31013:31018] CHIP:DMG: 0x0 = [ + [1662449060.841037][31013:31018] CHIP:DMG: 0x15, 0x31, 0x1, 0x1d, 0x2, 0x30, 0x82, 0x2, 0x19, 0x6, 0x9, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0xd, 0x1, 0x7, 0x2, 0xa0, 0x82, 0x2, 0xa, 0x30, 0x82, 0x2, 0x6, 0x2, 0x1, 0x3, 0x31, 0xd, 0x30, 0xb, 0x6, 0x9, 0x60, 0x86, 0x48, 0x1, 0x65, 0x3, 0x4, 0x2, 0x1, 0x30, 0x82, 0x1, 0x71, 0x6, 0x9, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0xd, 0x1, 0x7, 0x1, 0xa0, 0x82, 0x1, 0x62, 0x4, 0x82, 0x1, 0x5e, 0x15, 0x24, 0x0, 0x1, 0x25, 0x1, 0xf1, 0xff, 0x36, 0x2, 0x5, 0x0, 0x80, 0x5, 0x1, 0x80, 0x5, 0x2, 0x80, 0x5, 0x3, 0x80, 0x5, 0x4, 0x80, 0x5, 0x5, 0x80, 0x5, 0x6, 0x80, 0x5, 0x7, 0x80, 0x5, 0x8, 0x80, 0x5, 0x9, 0x80, 0x5, 0xa, 0x80, 0x5, 0xb, 0x80, 0x5, 0xc, 0x80, 0x5, 0xd, 0x80, 0x5, 0xe, 0x80, 0x5, 0xf, 0x80, 0x5, 0x10, 0x80, 0x5, 0x11, 0x80, 0x5, 0x12, 0x80, 0x5, 0x13, 0x80, 0x5, 0x14, 0x80, 0x5, 0x15, 0x80, 0x5, 0x16, 0x80, 0x5, 0x17, 0x80, 0x5, 0x18, 0x80, 0x5, 0x19, 0x80, 0x5, 0x1a, 0x80, 0x5, 0x1b, 0x80, 0x5, 0x1c, 0x80, 0x5, 0x1d, 0x80, 0x5, 0x1e, 0x80, 0x5, 0x1f, 0x80, 0x5, 0x20, 0x80, 0x5, 0x21, 0x80, 0x5, 0x22, 0x80, 0x5, 0x23, 0x80, 0x5, 0x24, 0x80, 0x5, 0x25, 0x80, 0x5, 0x26, 0x80, 0x5, 0x27, 0x80, 0x5, 0x28, 0x80, 0x5, 0x29, 0x80, 0x5, 0x2a, 0x80, 0x5, 0x2b, 0x80, 0x5, 0x2c, 0x80, 0x5, 0x2d, 0x80, 0x5, 0x2e, 0x80, 0x5, 0x2f, 0x80, 0x5, 0x30, 0x80, 0x5, 0x31, 0x80, 0x5, 0x32, 0x80, 0x5, 0x33, 0x80, 0x5, 0x34, 0x80, 0x5, 0x35, 0x80, 0x5, 0x36, 0x80, 0x5, 0x37, 0x80, 0x5, 0x38, 0x80, 0x5, 0x39, 0x80, 0x5, 0x3a, 0x80, 0x5, 0x3b, 0x80, 0x5, 0x3c, 0x80, 0x5, 0x3d, 0x80, 0x5, 0x3e, 0x80, 0x5, 0x3f, 0x80, 0x5, 0x40, 0x80, 0x5, 0x41, 0x80, 0x5, 0x42, 0x80, 0x5, 0x43, 0x80, 0x5, 0x44, 0x80, 0x5, 0x45, 0x80, 0x5, 0x46, 0x80, 0x5, 0x47, 0x80, 0x5, 0x48, 0x80, 0x5, 0x49, 0x80, 0x5, 0x4a, 0x80, 0x5, 0 + [1662449060.841046][31013:31018] CHIP:DMG: ] (585 bytes) + [1662449060.841048][31013:31018] CHIP:DMG: 0x1 = [ + [1662449060.841053][31013:31018] CHIP:DMG: 0x97, 0x2, 0x34, 0x3f, 0x85, 0xad, 0xe8, 0xd0, 0x4, 0x0, 0xfa, 0x8b, 0x3e, 0x91, 0xed, 0x34, 0x77, 0x3, 0x55, 0x89, 0xd5, 0xe, 0xe0, 0x9d, 0x32, 0x5d, 0x9f, 0x30, 0x20, 0x12, 0xf0, 0x25, 0x63, 0x62, 0xc7, 0x47, 0x7e, 0xd1, 0x9f, 0x89, 0x30, 0x84, 0x49, 0x7c, 0xbd, 0xc, 0xab, 0x38, 0xfe, 0xb5, 0x31, 0x24, 0x8e, 0x28, 0xc7, 0x7e, 0x1, 0xab, 0x34, 0x18, 0xe5, 0x78, 0x9c, 0x97, + [1662449060.841058][31013:31018] CHIP:DMG: ] (64 bytes) + [1662449060.841060][31013:31018] CHIP:DMG: }, + [1662449060.841062][31013:31018] CHIP:DMG: }, + [1662449060.841065][31013:31018] CHIP:DMG: + [1662449060.841067][31013:31018] CHIP:DMG: }, + [1662449060.841070][31013:31018] CHIP:DMG: + [1662449060.841072][31013:31018] CHIP:DMG: ], + [1662449060.841076][31013:31018] CHIP:DMG: + [1662449060.841078][31013:31018] CHIP:DMG: InteractionModelRevision = 1 + [1662449060.841080][31013:31018] CHIP:DMG: }, + [1662449060.841088][31013:31018] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0001 + [1662449060.841093][31013:31018] CHIP:CTL: Received Attestation Information from the device + [1662449060.841103][31013:31018] CHIP:CTL: Successfully finished commissioning step "SendAttestationRequest" + [1662449060.841111][31013:31018] CHIP:CTL: Commissioning stage next step: "SendAttestationRequest" -> "AttestationVerification" + [1662449060.841115][31013:31018] CHIP:CTL: Performing next commissioning step "AttestationVerification" + [1662449060.841117][31013:31018] CHIP:CTL: Verifying attestation + [1662449060.841974][31013:31018] CHIP:CTL: Successfully validated "Attestation Information" command received from the device. + [1662449060.841981][31013:31018] CHIP:CTL: Successfully finished commissioning step "AttestationVerification" disabled: true - label: @@ -88,73 +151,25 @@ tests: by setting the following error condition: Commissionee is not yet certified" verification: | - To Execute this step follow the following - - 1. To generate the CD use the below command - ./out/debug/chip-cert gen-cd -C credentials/test/certification-declaration/Chip-Test-CD-Signing-Cert.pem -K credentials/test/certification-declaration/Chip-Test-CD-Signing-Key.pem --out dec_message.txt -f 1 -V FFF1 -p 8000 -p 8001 -p 8002 -p 8003 -p 8004 -p 8005 -p 8006 -p 8007 -p 8008 -p 8009 -p 800A -p 800B -p 800C -p 800D -p 800E -p 800F -p 8010 -p 8011 -p 8012 -p 8013 -p 8014 -p 8015 -p 8016 -p 8017 -p 8018 -p 8019 -p 801A -p 801B -p 801C -p 801D -p 801E -p 801F -p 8020 -p 8021 -p 8022 -p 8023 -p 8024 -p 8025 -p 8026 -p 8027 -p 8028 -p 8029 -p 802A -p 802B -p 802C -p 802D -p 802E -p 802F -p 8030 -p 8031 -p 8032 -p 8033 -p 8034 -p 8035 -p 8036 -p 8037 -p 8038 -p 8039 -p 803A -p 803B -p 803C -p 803D -p 803E -p 803F -p 8040 -p 8041 -p 8042 -p 8043 -p 8044 -p 8045 -p 8046 -p 8047 -p 8048 -p 8049 -p 804A -p 804B -p 804C -p 804D -p 804E -p 804F -p 8050 -p 8051 -p 8052 -p 8053 -p 8054 -p 8055 -p 8056 -p 8057 -p 8058 -p 8059 -p 805A -p 805B -p 805C -p 805D -p 805E -p 805F -p 8060 -p 8061 -p 8062 -p 8063 -d 0016 -c "ZIG20142ZB330003-24" -l 0 -i 0 -n 2694 -t 0 - - 2. Use the below command to see the generated CD - xxd -p -c 1024 dec_message.txt - 3082021906092a864886f70d010702a082020a30820206020103310d300b06096086480165030402013082017106092a864886f70d010701a08201620482015e152400012501f1ff3602050080050180050280050380050480050580050680050780050880050980050a80050b80050c80050d80050e80050f80051080051180051280051380051480051580051680051780051880051980051a80051b80051c80051d80051e80051f80052080052180052280052380052480052580052680052780052880052980052a80052b80052c80052d80052e80052f80053080053180053280053380053480053580053680053780053880053980053a80053b80053c80053d80053e80053f80054080054180054280054380054480054580054680054780054880054980054a80054b80054c80054d80054e80054f80055080055180055280055380055480055580055680055780055880055980055a80055b80055c80055d80055e80055f80056080056180056280056380182403162c04135a494732303134325a423333303030332d32342405002406002507942624080018317d307b0201038014fa92cf095efa42e11430651632fefe1b2c77a7c8300b0609608648016503040201300a06082a8648ce3d04030204473045022100e18616664a44b34b0d79ec61d58bdb19e2c3ac271f1867afdb567c7528ee01ce02201abc5baac73c7efb8034284e4234df1a23bc3e6801504b8bcee07ce57eb5f294 - - 3. Copy the result from step 2 in json file and transfer the json file to Raspi That will be running chip-all-clusters-app - - 4. Commission TH to DUT using the above generated CD by using dac_provider parameter - - ------>sudo ./chip-all-clusters-app --dac_provide /dec_message.json - - [1658320787.328879][4550:4550] CHIP:SVR: Failsafe timer expired - [1658320787.328962][4550:4550] CHIP:IN: SecureSession[0xaaaadef5bb00]: MarkForEviction Type:1 LSID:30683 - [1658320787.329015][4550:4550] CHIP:SC: SecureSession[0xaaaadef5bb00]: Moving from state "kActive" --> "kPendingEviction" - [1658320787.329073][4550:4550] CHIP:IN: SecureSession[0xaaaadef5bb00]: Released - Type:1 LSID:30683 - [1658320787.329147][4550:4550] CHIP:SVR: Commissioning failed (attempt 1): ../../third_party/connectedhomeip/src/app/server/CommissioningWindowManager.cpp:71: CHIP Error 0x00000032: Timeout - - - - --->./chip-tool pairing ble-wifi 1 zigbee-thread matter123 20202021 3840 --trace_decode 1 - - [1658320787.287039][4152:4157] CHIP:CTL: Verifying attestation - [1658320787.292504][4152:4157] CHIP:CTL: Failed in verifying "Attestation Information" command received from the device: err 601. Look at AttestationVerificationResult enum to understand the errors - [1658320787.292594][4152:4157] CHIP:CTL: Error on commissioning step "AttestationVerification": "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1011: CHIP Error 0x000000AC: Internal error" - [1658320787.292627][4152:4157] CHIP:CTL: Failed to perform commissioning step 8 - [1658320787.292662][4152:4157] CHIP:CTL: Going from commissioning step "AttestationVerification" with lastErr = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1011: CHIP Error 0x000000AC: Internal error" -> "Cleanup" - [1658320787.292707][4152:4157] CHIP:CTL: Performing next commissioning step "Cleanup" with completion status = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1011: CHIP Error 0x000000AC: Internal error" - [1658320787.292739][4152:4157] CHIP:CTL: Expiring failsafe on proxy 0xffff7c000b60 + "The all-cluster-app in the sample application is not a certified commissionee (Certification Declaration has certification_type 0). Launch all-cluster-app on TH raspi and provision the app using the DUT + " disabled: true - - label: "" + - label: + "Verify that DUT notifies a warning stating that Commissionee is not a + fully trusted device.Verify that the warning contains the information + about the reason for error condition If the warning message indicates + that Commissioning is allowed then confirm that CSRRequest Command is + sent from DUT to TH1" PICS: MCORE.DA.ATTEST_WARNING verification: | - ------>sudo ./chip-all-clusters-app --dac_provide /dec_message.json - - [1658320787.328879][4550:4550] CHIP:SVR: Failsafe timer expired - [1658320787.328962][4550:4550] CHIP:IN: SecureSession[0xaaaadef5bb00]: MarkForEviction Type:1 LSID:30683 - [1658320787.329015][4550:4550] CHIP:SC: SecureSession[0xaaaadef5bb00]: Moving from state "kActive" --> "kPendingEviction" - [1658320787.329073][4550:4550] CHIP:IN: SecureSession[0xaaaadef5bb00]: Released - Type:1 LSID:30683 - [1658320787.329147][4550:4550] CHIP:SVR: Commissioning failed (attempt 1): ../../third_party/connectedhomeip/src/app/server/CommissioningWindowManager.cpp:71: CHIP Error 0x00000032: Timeout - - - - --->./chip-tool pairing ble-wifi 1 zigbee-thread matter123 20202021 3840 --trace_decode 1 - - [1658320787.287039][4152:4157] CHIP:CTL: Verifying attestation - [1658320787.292504][4152:4157] CHIP:CTL: Failed in verifying "Attestation Information" command received from the device: err 601. Look at AttestationVerificationResult enum to understand the errors - [1658320787.292594][4152:4157] CHIP:CTL: Error on commissioning step "AttestationVerification": "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1011: CHIP Error 0x000000AC: Internal error" - [1658320787.292627][4152:4157] CHIP:CTL: Failed to perform commissioning step 8 - [1658320787.292662][4152:4157] CHIP:CTL: Going from commissioning step "AttestationVerification" with lastErr = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1011: CHIP Error 0x000000AC: Internal error" -> "Cleanup" - [1658320787.292707][4152:4157] CHIP:CTL: Performing next commissioning step "Cleanup" with completion status = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1011: CHIP Error 0x000000AC: Internal error" - [1658320787.292739][4152:4157] CHIP:CTL: Expiring failsafe on proxy 0xffff7c000b60 + Verify if DUT reports any warning stating that the commissionee is not a fully trusted device. However per Matter spec, Commissioners SHOULD warn the user (its not a SHALL requirement) and commissioners choose their implementation and May give the user a choice to authorize or deny commissioning disabled: true - label: "Factory Reset TH1 so that it is commissionable again" verification: | + To perform Factory reset on TH1(all-clusters-app) follow the below step in RPI platform , Pls use equivalent command on the respective platform sudo rm -rf /tmp/chip_* - sudo ./chip-all-clusters-app --wifi - - DUT as commissioner side: - ./chip-tool pairing ble-wifi 1 zigbeehome matter123 20202021 3841 --trace_decode 1 - - [1650455358.501816][4366:4371] CHIP:TOO: Device commissioning completed with success" disabled: true - label: @@ -165,116 +180,101 @@ tests: Commissionee provides DAC with validity period that is not in range of PAA/PAI" verification: | - To Execute ths step for error condition 1 follow the following + For each error scenario Factory reset on TH1(all-clusters-app) as explained in step 6 - 1. To generate the CD use the below command - ./out/debug/chip-cert gen-cd -C credentials/development/commissioner_dut/struct_dac_sig_algo_ecdsa_with_sha1/dac-Cert.pem -K credentials/development/commissioner_dut/struct_dac_sig_algo_ecdsa_with_sha1/dac-Key.pem --out dec_message_3 -f 1 -V FFF1 -p 8000 -p 8001 -p 8002 -p 8003 -p 8004 -p 8005 -p 8006 -p 8007 -p 8008 -p 8009 -p 800A -p 800B -p 800C -p 800D -p 800E -p 800F -p 8010 -p 8011 -p 8012 -p 8013 -p 8014 -p 8015 -p 8016 -p 8017 -p 8018 -p 8019 -p 801A -p 801B -p 801C -p 801D -p 801E -p 801F -p 8020 -p 8021 -p 8022 -p 8023 -p 8024 -p 8025 -p 8026 -p 8027 -p 8028 -p 8029 -p 802A -p 802B -p 802C -p 802D -p 802E -p 802F -p 8030 -p 8031 -p 8032 -p 8033 -p 8034 -p 8035 -p 8036 -p 8037 -p 8038 -p 8039 -p 803A -p 803B -p 803C -p 803D -p 803E -p 803F -p 8040 -p 8041 -p 8042 -p 8043 -p 8044 -p 8045 -p 8046 -p 8047 -p 8048 -p 8049 -p 804A -p 804B -p 804C -p 804D -p 804E -p 804F -p 8050 -p 8051 -p 8052 -p 8053 -p 8054 -p 8055 -p 8056 -p 8057 -p 8058 -p 8059 -p 805A -p 805B -p 805C -p 805D -p 805E -p 805F -p 8060 -p 8061 -p 8062 -p 8063 -d 0016 -c "ZIG20142ZB330003-24" -l 0 -i 0 -n 2694 -t 0 + 1. For error scenario 1 i.e. Commissionee’s PAA is not in the Commissioner’s trusted set. - 2. Use the below command to see the generated CD - xxd -p -c 1024 dec_message_3 - 3082021806092a864886f70d010702a082020930820205020103310d300b06096086480165030402013082017106092a864886f70d010701a08201620482015e152400012501f1ff3602050080050180050280050380050480050580050680050780050880050980050a80050b80050c80050d80050e80050f80051080051180051280051380051480051580051680051780051880051980051a80051b80051c80051d80051e80051f80052080052180052280052380052480052580052680052780052880052980052a80052b80052c80052d80052e80052f80053080053180053280053380053480053580053680053780053880053980053a80053b80053c80053d80053e80053f80054080054180054280054380054480054580054680054780054880054980054a80054b80054c80054d80054e80054f80055080055180055280055380055480055580055680055780055880055980055a80055b80055c80055d80055e80055f80056080056180056280056380182403162c04135a494732303134325a423333303030332d32342405002406002507942624080018317c307a02010380146f4b2077c703a3d97e2c7d0f7c309c9db12abbb3300b0609608648016503040201300a06082a8648ce3d04030204463044022065ce44afabe7ad98eba7f382825be984fd4da28a5b00904acaf9f904e12bfd93022037b92fc4343578c5305d0ef0fb85dd2105f8b665bfe97687e24834d7a27c5096 + execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 - 3. Copy the result from step 2 in json file and transfer the json file to Raspi That will be running chip-all-clusters-app + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 --paa-trust-store-path ~/Aug30_cntr/connectedhomeip/credentials/development/attestation - 4. Commission TH to DUT using the above generated CD by using dac_provider parameter + If the DUT(chip-tool) has to provision to verify the logs:- verify the below mentioned same behaviour log on the DUT (chip-tool): + [1662455580.725445][31980:31985] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0001 + [1662455580.725450][31980:31985] CHIP:CTL: Received Attestation Information from the device + [1662455580.725454][31980:31985] CHIP:CTL: Successfully finished commissioning step "SendAttestationRequest" + [1662455580.725461][31980:31985] CHIP:CTL: Commissioning stage next step: "SendAttestationRequest" -> "AttestationVerification" + [1662455580.725465][31980:31985] CHIP:CTL: Performing next commissioning step "AttestationVerification" + [1662455580.725468][31980:31985] CHIP:CTL: Verifying attestation + [1662455580.725944][31980:31985] CHIP:CTL: Failed in verifying "Attestation Information" command received from the device: err 101. Look at AttestationVerificationResult enum to understand the errors + [1662455580.725956][31980:31985] CHIP:CTL: Error on commissioning step "AttestationVerification": "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1027: CHIP Error 0x000000AC: Internal error" + [1662455580.725958][31980:31985] CHIP:CTL: Failed to perform commissioning step 8 + [1662455580.725961][31980:31985] CHIP:CTL: Going from commissioning step "AttestationVerification" with lastErr = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1027: CHIP Error 0x000000AC: Internal error" -> "Cleanup" + [1662455580.725966][31980:31985] CHIP:CTL: Performing next commissioning step "Cleanup" with completion status = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1027: CHIP Error 0x000000AC: Internal error" + [1662455580.725979][31980:31985] CHIP:CTL: Expiring failsafe on proxy 0x7fe3b40236a0 - sudo rm -rf /tmp/chip_* - ./all-cluster-app --wifi --dac_provider /dec_3.json - - [1658320256.356438][4486:4486] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 - [1658320256.356502][4486:4486] CHIP:SVR: Failsafe timer expired - [1658320256.356555][4486:4486] CHIP:IN: SecureSession[0xaaaaf9556b00]: MarkForEviction Type:1 LSID:62352 - [1658320256.356611][4486:4486] CHIP:SC: SecureSession[0xaaaaf9556b00]: Moving from state "kActive" --> "kPendingEviction" - [1658320256.356675][4486:4486] CHIP:IN: SecureSession[0xaaaaf9556b00]: Released - Type:1 LSID:62352 - [1658320256.356758][4486:4486] CHIP:SVR: Commissioning failed (attempt 1): ../../third_party/connectedhomeip/src/app/server/CommissioningWindowManager.cpp:71: CHIP Error 0x00000032: Timeout - --->./chip-tool pairing ble-wifi 1 zigbee-thread matter123 20202021 3840 --trace_decode 1 - [1658320256.309769][4098:4103] CHIP:CTL: Commissioning stage next step: "SendAttestationRequest" -> "AttestationVerification" - [1658320256.309810][4098:4103] CHIP:CTL: Performing next commissioning step "AttestationVerification" - [1658320256.309839][4098:4103] CHIP:CTL: Verifying attestation - [1658320256.315382][4098:4103] CHIP:CTL: Failed in verifying "Attestation Information" command received from the device: err 601. Look at AttestationVerificationResult enum to understand the errors - [1658320256.315464][4098:4103] CHIP:CTL: Error on commissioning step "AttestationVerification": "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1011: CHIP Error 0x000000AC: Internal error" - [1658320256.315499][4098:4103] CHIP:CTL: Failed to perform commissioning step 8 - [1658320256.315534][4098:4103] CHIP:CTL: Going from commissioning step "AttestationVerification" with lastErr = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1011: CHIP Error 0x000000AC: Internal error" -> "Cleanup" - [1658320256.315578][4098:4103] CHIP:CTL: Performing next commissioning step "Cleanup" with completion status = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1011: CHIP Error 0x000000AC: Internal error" - [1658320256.315610][4098:4103] CHIP:CTL: Expiring failsafe on proxy 0xffff6c000b60 - [1658320256.315707][4098:4103] CHIP:DMG: ICR moving to [AddingComm] - [1658320256.315748][4098:4103] CHIP:DMG: ICR moving to [AddedComma] + 2. To Execute this step for error condition 2 Commissionee provides an invalid DAC and PAI chain , follow the below steps, + All sample error scenario certificates has generated and present in ~/connectedhomeip/credentials/development/commissioner_dut/ - Similarly for condition 2 follow below steps + Commissionee provides an invalid DAC and PAI - Use the folder - connectedhomeip/credentials/development/commissioner_dut/struct_dac_sig_algo_ecdsa_with_sha1 & use the sample json test_case_vector.json - 1. To generate the CD use the below command - ./out/debug/chip-cert gen-cd -E vid-mismatch -C credentials/development/commissioner_dut/struct_dac_sig_algo_ecdsa_with_sha1/dac-Cert.der -K credentials/development/commissioner_dut/struct_dac_sig_algo_ecdsa_with_sha1/dac-Key.der --out dec_message_6.txt -f 1 -V FFF1 -p 8000 -p 8001 -p 8002 -p 8003 -p 8004 -p 8005 -p 8006 -p 8007 -p 8008 -p 8009 -p 800A -p 800B -p 800C -p 800D -p 800E -p 800F -p 8010 -p 8011 -p 8012 -p 8013 -p 8014 -p 8015 -p 8016 -p 8017 -p 8018 -p 8019 -p 801A -p 801B -p 801C -p 801D -p 801E -p 801F -p 8020 -p 8021 -p 8022 -p 8023 -p 8024 -p 8025 -p 8026 -p 8027 -p 8028 -p 8029 -p 802A -p 802B -p 802C -p 802D -p 802E -p 802F -p 8030 -p 8031 -p 8032 -p 8033 -p 8034 -p 8035 -p 8036 -p 8037 -p 8038 -p 8039 -p 803A -p 803B -p 803C -p 803D -p 803E -p 803F -p 8040 -p 8041 -p 8042 -p 8043 -p 8044 -p 8045 -p 8046 -p 8047 -p 8048 -p 8049 -p 804A -p 804B -p 804C -p 804D -p 804E -p 804F -p 8050 -p 8051 -p 8052 -p 8053 -p 8054 -p 8055 -p 8056 -p 8057 -p 8058 -p 8059 -p 805A -p 805B -p 805C -p 805D -p 805E -p 805F -p 8060 -p 8061 -p 8062 -p 8063 -d 0016 -c "ZIG20142ZB330003-24" -l 0 -i 0 -n 2694 -t 0 - 2. Use the below command to see the generated CD - xxd -p -c 1024 dec_message_6.txt - 3082021906092a864886f70d010702a082020a30820206020103310d300b06096086480165030402013082017106092a864886f70d010701a08201620482015e152400012501f1ff3602050080050180050280050380050480050580050680050780050880050980050a80050b80050c80050d80050e80050f80051080051180051280051380051480051580051680051780051880051980051a80051b80051c80051d80051e80051f80052080052180052280052380052480052580052680052780052880052980052a80052b80052c80052d80052e80052f80053080053180053280053380053480053580053680053780053880053980053a80053b80053c80053d80053e80053f80054080054180054280054380054480054580054680054780054880054980054a80054b80054c80054d80054e80054f80055080055180055280055380055480055580055680055780055880055980055a80055b80055c80055d80055e80055f80056080056180056280056380182403162c04135a494732303134325a423333303030332d32342405002406002507942624080018317d307b02010380146f4b2077c703a3d97e2c7d0f7c309c9db12abbb3300b0609608648016503040201300a06082a8648ce3d040302044730450221009bc4c8759ff98a68fb1b42f2d7b2300a856f7830982a4876ff54855dcc25e773022060c17079368bc8e33171c52d9c73a09d690614c28303c119d1bdc1f9b4be869e + execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider ~/Aug30_cntr/connectedhomeip/credentials/development/commissioner_dut/struct_dac_sig_algo_ecdsa_with_sha1/test_case_vector.json - 3. Copy the result from step 2 in json file and transfer the json file to Raspi That will be running chip-all-clusters-app + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 - 4. Commission TH to DUT using the above generated CD by using dac_provider parameter - - sudo rm -rf /tmp/chip_* - ./all-cluster-app --wifi --dac_provider /dec_3.json + If the DUT(chip-tool) has to provision to verify the logs:- verify the below mentioned same behaviour log on the DUT (chip-tool): + [1662456484.492166][32193:32198] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0001 + [1662456484.492170][32193:32198] CHIP:CTL: Received Attestation Information from the device + [1662456484.492173][32193:32198] CHIP:CTL: Successfully finished commissioning step "SendAttestationRequest" + [1662456484.492179][32193:32198] CHIP:CTL: Commissioning stage next step: "SendAttestationRequest" -> "AttestationVerification" + [1662456484.492181][32193:32198] CHIP:CTL: Performing next commissioning step "AttestationVerification" + [1662456484.492183][32193:32198] CHIP:CTL: Verifying attestation + [1662456484.492990][32193:32198] CHIP:CTL: Failed in verifying "Attestation Information" command received from the device: err 605. Look at AttestationVerificationResult enum to understand the errors + [1662456484.493000][32193:32198] CHIP:CTL: Error on commissioning step "AttestationVerification": "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1027: CHIP Error 0x000000AC: Internal error" + [1662456484.493005][32193:32198] CHIP:CTL: Failed to perform commissioning step 8 + [1662456484.493007][32193:32198] CHIP:CTL: Going from commissioning step "AttestationVerification" with lastErr = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1027: CHIP Error 0x000000AC: Internal error" -> "Cleanup" + [1662456484.493011][32193:32198] CHIP:CTL: Performing next commissioning step "Cleanup" with completion status = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1027: CHIP Error 0x000000AC: Internal error" + [1662456484.493013][32193:32198] CHIP:CTL: Expiring failsafe on proxy 0x7fd0a40236a0 + [1662456484.493022][32193:32198] CHIP:DMG: ICR moving to [AddingComm] + [1662456484.493026][32193:32198] CHIP:DMG: ICR moving to [AddedComma] + [1662456484.493070][32193:32198] CHIP:IN: Prepared secure message 0x7fd0a4031c78 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 58630i with MessageCounter:1810755. + [1662456484.493076][32193:32198] CHIP:IN: Sending encrypted msg 0x7fd0a4031c78 with MessageCounter:1810755 to 0xFFFFFFFB00000000 (0) at monotonic time: 00000000039222AD msec + [1662456484.493127][32193:32198] CHIP:DMG: >> to UDP:[fe80::b7b8:ff3e:9ace:3e12%wlp0s20f3]:5540 | 1810755 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 29920 / Exchange = 58630] + [1662456484.493132][32193:32198] CHIP:DMG: Header Flags = - [1660836160.681814][4884:4884] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 - [1660836160.681873][4884:4884] CHIP:SVR: Failsafe timer expired - [1660836160.681923][4884:4884] CHIP:IN: SecureSession[0xaaaad5440e10]: MarkForEviction Type:1 LSID:22448 - [1660836160.681975][4884:4884] CHIP:SC: SecureSession[0xaaaad5440e10]: Moving from state "kActive" --> "kPendingEviction" - [1660836160.682126][4884:4884] CHIP:IN: SecureSession[0xaaaad5440e10]: Released - Type:1 LSID:22448 - [1660836160.682202][4884:4884] CHIP:SVR: Commissioning failed (attempt 1): ../../third_party/connectedhomeip/src/app/server/CommissioningWindowManager.cpp:73: CHIP Error 0x00000032: Timeout - --->./chip-tool pairing ble-wifi 1 zigbee-thread matter123 20202021 3840 --trace_decode 1 + 3. Similarly for condition 3 Commissionee provides DAC with validity period that is not in range of PAA/PAI follow below steps - [1660836160.627772][2653:2658] CHIP:CTL: Performing next commissioning step "AttestationVerification" - [1660836160.627826][2653:2658] CHIP:CTL: Verifying attestation - [1660836160.686379][2653:2658] CHIP:CTL: Failed in verifying "Attestation Information" command received from the device: err 601. Look at AttestationVerificationResult enum to understand the errors - [1660836160.686579][2653:2658] CHIP:CTL: Error on commissioning step "AttestationVerification": "../../src/controller/CHIPDeviceController.cpp:1018: CHIP Error 0x000000AC: Internal error" - [1660836160.686648][2653:2658] CHIP:CTL: Failed to perform commissioning step 8 - [1660836160.686714][2653:2658] CHIP:CTL: Going from commissioning step "AttestationVerification" with lastErr = "../../src/controller/CHIPDeviceController.cpp:1018: CHIP Error 0x000000AC: Internal error" -> "Cleanup" - [1660836160.686806][2653:2658] CHIP:CTL: Performing next commissioning step "Cleanup" with completion status = "../../src/controller/CHIPDeviceController.cpp:1018: CHIP Error 0x000000AC: Internal error" - [1660836160.686869][2653:2658] CHIP:CTL: Expiring failsafe on proxy 0xffffa4032330 + Commissionee provides DAC with validity period that is not in range of PAA/PAI + Use the folder - connectedhomeip/credentials/development/commissioner_dut/struct_dac_valid_in_past & use the sample json test_case_vector.json + Commission TH to DUT by using --dac_provider parameter - Similarly for condition 3 follow below steps + execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider ~/Aug30_cntr/connectedhomeip/credentials/development/commissioner_dut/struct_dac_valid_in_past/test_case_vector.json - 1. To generate the CD use the below command - ./out/debug/chip-cert gen-att-cert --type a --subject-cn "Matter Development PAA 01" --valid-from "2020-10-15 14:23:43" --lifetime 7305 --out-key Chip-PAA-Key.pem --out Chip-PAA-Cert.pem + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 - 2. Use the below command to see the generated CD - xxd -p -c 1024 Chip-PAA-Cert.pem - 2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d49494270444343415571674177494241674949636769574a6f6e394f653477436759494b6f5a497a6a3045417749774a4445694d434147413155454177775a0a54574630644756794945526c646d5673623342745a57353049464242515341774d544165467730794d4445774d5455784e44497a4e444e61467730304d4445770a4d5455784e44497a4e444a614d435178496a416742674e5642414d4d475531686448526c636942455a585a6c624739776257567564434251515545674d4445770a5754415442676371686b6a4f5051494242676771686b6a4f50514d4242774e4341415461314478507a5873473870372f6d755231686f5631783042797072516a0a58672b77536e742b5a6c45542b78424745373252624b4c6c474f2f54694d427776354972633534664d316e697067483546435078536258736f3259775a4441530a42674e5648524d4241663845434441474151482f416745424d41344741315564447745422f77514541774942426a416442674e564851344546675155307551580a4a6b4c73533667487174717875384a6e5a69487946343077487759445652306a42426777466f4155307551584a6b4c73533667487174717875384a6e5a6948790a46343077436759494b6f5a497a6a30454177494453414177525149674a703546485a545739617958334e575777774870543933677434614f7679424c555937500a74423875397038434951446c4e38375755324c6b6c68313339377a63517942565351345833634e6d4d426f336b5a4853584f475843673d3d0a2d2d2d2d2d454e442043455254494649434154452d2d2d2d2d0 - 3. Copy the result from step 2 in json file and transfer the json file to Raspi That will be running chip-all-clusters-app - - 4. Commission TH to DUT using the above generated CD by using dac_provider parameter - - sudo rm -rf /tmp/chip_* - ./all-cluster-app --wifi --dac_provider /dec_7.json - - [1660894197.335249][5005:5005] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 - [1660894197.335308][5005:5005] CHIP:SVR: Failsafe timer expired - [1660894197.335357][5005:5005] CHIP:IN: SecureSession[0xaaaae7002e10]: MarkForEviction Type:1 LSID:31514 - [1660894197.335430][5005:5005] CHIP:SC: SecureSession[0xaaaae7002e10]: Moving from state "kActive" --> "kPendingEviction" - [1660894197.335607][5005:5005] CHIP:IN: SecureSession[0xaaaae7002e10]: Released - Type:1 LSID:31514 - [1660894197.335686][5005:5005] CHIP:SVR: Commissioning failed (attempt 1): ../../third_party/connectedhomeip/src/app/server/CommissioningWindowManager.cpp:73: CHIP Error 0x00000032: Timeout - - - --->./chip-tool pairing ble-wifi 1 zigbee-thread matter123 20202021 3840 --trace_decode 1 - - [1660894197.296303][4561:4566] CHIP:CTL: Performing next commissioning step "AttestationVerification" - [1660894197.296356][4561:4566] CHIP:CTL: Verifying attestation - [1660894197.350259][4561:4566] CHIP:CTL: Failed in verifying "Attestation Information" command received from the device: err 600. Look at AttestationVerificationResult enum to understand the errors - [1660894197.350444][4561:4566] CHIP:CTL: Error on commissioning step "AttestationVerification": "../../src/controller/CHIPDeviceController.cpp:1018: CHIP Error 0x000000AC: Internal error" - [1660894197.350508][4561:4566] CHIP:CTL: Failed to perform commissioning step 8 - [1660894197.350574][4561:4566] CHIP:CTL: Going from commissioning step "AttestationVerification" with lastErr = "../../src/controller/CHIPDeviceController.cpp:1018: CHIP Error 0x000000AC: Internal error" -> "Cleanup" - [1660894197.350659][4561:4566] CHIP:CTL: Performing next commissioning step "Cleanup" with completion status = "../../src/controller/CHIPDeviceController.cpp:1018: CHIP Error 0x000000AC: Internal error" - [1660894197.350718][4561:4566] CHIP:CTL: Expiring failsafe on proxy 0xffff6c032330 + If the DUT(chip-tool) has to provision to verify the logs:- verify the below mentioned same behaviour log on the DUT (chip-tool): + [1662459474.547436][32792:32797] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0001 + [1662459474.547441][32792:32797] CHIP:CTL: Received Attestation Information from the device + [1662459474.547445][32792:32797] CHIP:CTL: Successfully finished commissioning step "SendAttestationRequest" + [1662459474.547452][32792:32797] CHIP:CTL: Commissioning stage next step: "SendAttestationRequest" -> "AttestationVerification" + [1662459474.547456][32792:32797] CHIP:CTL: Performing next commissioning step "AttestationVerification" + [1662459474.547458][32792:32797] CHIP:CTL: Verifying attestation + [1662459474.548034][32792:32797] CHIP:CTL: Failed in verifying "Attestation Information" command received from the device: err 301. Look at AttestationVerificationResult enum to understand the errors + [1662459474.548043][32792:32797] CHIP:CTL: Error on commissioning step "AttestationVerification": "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1027: CHIP Error 0x000000AC: Internal error" + [1662459474.548047][32792:32797] CHIP:CTL: Failed to perform commissioning step 8 + [1662459474.548051][32792:32797] CHIP:CTL: Going from commissioning step "AttestationVerification" with lastErr = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1027: CHIP Error 0x000000AC: Internal error" -> "Cleanup" + [1662459474.548055][32792:32797] CHIP:CTL: Performing next commissioning step "Cleanup" with completion status = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1027: CHIP Error 0x000000AC: Internal error" + [1662459474.548059][32792:32797] CHIP:CTL: Expiring failsafe on proxy 0x7f71200236a0 + [1662459474.548073][32792:32797] CHIP:DMG: ICR moving to [AddingComm] + [1662459474.548077][32792:32797] CHIP:DMG: ICR moving to [AddedComma] + [1662459474.548122][32792:32797] CHIP:IN: Prepared secure message 0x7f7120031f38 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 51350i with MessageCounter:196537634. + [1662459474.548128][32792:32797] CHIP:IN: Sending encrypted msg 0x7f7120031f38 with MessageCounter:196537634 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000003BFC294 msec + [1662459474.548181][32792:32797] CHIP:DMG: >> to UDP:[fe80::b7b8:ff3e:9ace:3e12%wlp0s20f3]:5540 | 196537634 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 10880 / Exchange = 51350] disabled: true - label: @@ -287,144 +287,120 @@ tests: Product ID (PID) the DAC is not present in the product_id_array field in the Certification Declaration" verification: | - To Execute ths step for error condition 1 follow the following steps - - 1. To generate the CD use the below command - ./out/debug/chip-cert gen-cd -I -E dac-origin-vid-present -C credentials/test/certification-declaration/Chip-Test-CD-Signing-Cert.pem -K credentials/test/certification-declaration/Chip-Test-CD-Signing-Key.pem --out cd_vid_present_pid_missing.txt -o 0x8000 -r 0xFFF1 -f 1 -V FFF1 -p 8000 -p 8001 -p 8002 -p 8003 -p 8004 -p 8005 -p 8006 -p 8007 -p 8008 -p 8009 -p 800A -p 800B -p 800C -p 800D -p 800E -p 800F -p 8010 -p 8011 -p 8012 -p 8013 -p 8014 -p 8015 -p 8016 -p 8017 -p 8018 -p 8019 -p 801A -p 801B -p 801C -p 801D -p 801E -p 801F -p 8020 -p 8021 -p 8022 -p 8023 -p 8024 -p 8025 -p 8026 -p 8027 -p 8028 -p 8029 -p 802A -p 802B -p 802C -p 802D -p 802E -p 802F -p 8030 -p 8031 -p 8032 -p 8033 -p 8034 -p 8035 -p 8036 -p 8037 -p 8038 -p 8039 -p 803A -p 803B -p 803C -p 803D -p 803E -p 803F -p 8040 -p 8041 -p 8042 -p 8043 -p 8044 -p 8045 -p 8046 -p 8047 -p 8048 -p 8049 -p 804A -p 804B -p 804C -p 804D -p 804E -p 804F -p 8050 -p 8051 -p 8052 -p 8053 -p 8054 -p 8055 -p 8056 -p 8057 -p 8058 -p 8059 -p 805A -p 805B -p 805C -p 805D -p 805E -p 805F -p 8060 -p 8061 -p 8062 -p 8063 -d 0016 -c "ZIG20142ZB330003-24" -l 0 -i 0 -n 2694 -t 0 - - 2. Use the below command to see the generated CD - xxd -p -c 1024 cd_vid_present_pid_missing.txt - 3082010506092a864886f70d010702a081f73081f4020103310d300b0609608648016503040201306106092a864886f70d010701a0540452152000012501f1ff3602050080182403162c04135a494732303134325a423333303030332d32342405002406002507942624080025090080360b10140b44cabbc5016577aa8b44ffb90fcca140fe66201818317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d0403020447304502205adea20956fcdce1213f2878da4a5f4a35907eaafa70efe367edc9cec23eb2f80221009b2482360c8713ccd2738150874f9b811ec2149c3ec1f579357219985ecc765a - - 3. Copy the result from step 2 in json file and transfer the json file to Raspi That will be running chip-all-clusters-app - - 4. Commission TH to DUT using the above generated CD by using dac_provider parameter - - sudo rm -rf /tmp/chip_* - sudo ./chip-all-clusters-app --dac_provider /cd.json - - [1658320561.405436][4521:4521] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 - [1658320561.405489][4521:4521] CHIP:SVR: Failsafe timer expired - [1658320561.405546][4521:4521] CHIP:IN: SecureSession[0xaaaaec7c9e10]: MarkForEviction Type:1 LSID:27478 - [1658320561.405600][4521:4521] CHIP:SC: SecureSession[0xaaaaec7c9e10]: Moving from state "kActive" --> "kPendingEviction" - [1658320561.405663][4521:4521] CHIP:IN: SecureSession[0xaaaaec7c9e10]: Released - Type:1 LSID:27478 - [1658320561.405748][4521:4521] CHIP:SVR: Commissioning failed (attempt 1): ../../third_party/connectedhomeip/src/app/server/CommissioningWindowManager.cpp:71: CHIP Error 0x00000032: Timeout - [1658320561.405815][4521:4521] CHIP:IN: Clearing BLE pending packets. - - - --->./chip-tool pairing ble-wifi 1 zigbee-thread matter123 20202021 3840 --trace_decode 1 - - [1658320561.366298][4126:4132] CHIP:CTL: Failed in verifying "Attestation Information" command received from the device: err 603. Look at AttestationVerificationResult enum to understand the errors - [1658320561.366382][4126:4132] CHIP:CTL: Error on commissioning step "AttestationVerification": "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1011: CHIP Error 0x000000AC: Internal error" - [1658320561.366413][4126:4132] CHIP:CTL: Failed to perform commissioning step 8 - [1658320561.366481][4126:4132] CHIP:CTL: Going from commissioning step "AttestationVerification" with lastErr = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1011: CHIP Error 0x000000AC: Internal error" -> "Cleanup" - [1658320561.366524][4126:4132] CHIP:CTL: Performing next commissioning step "Cleanup" with completion status = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1011: CHIP Error 0x000000AC: Internal error" - [1658320561.366554][4126:4132] CHIP:CTL: Expiring failsafe on proxy 0xffff84000b60 - - - Similarly for 2nd error condition follow the below steps - - 1. To generate the CD use the below command - ./out/debug/chip-cert gen-cd -E vid-mismatch -C credentials/development/commissioner_dut/struct_cd_vid_mismatch/dac-Cert.der -K credentials/development/commissioner_dut/struct_cd_vid_mismatch/dac-Key.der --out dec_message_3.txt -f 1 -V FFF5 -p 8000 -p 8001 -p 8002 -p 8003 -p 8004 -p 8005 -p 8006 -p 8007 -p 8008 -p 8009 -p 800A -p 800B -p 800C -p 800D -p 800E -p 800F -p 8010 -p 8011 -p 8012 -p 8013 -p 8014 -p 8015 -p 8016 -p 8017 -p 8018 -p 8019 -p 801A -p 801B -p 801C -p 801D -p 801E -p 801F -p 8020 -p 8021 -p 8022 -p 8023 -p 8024 -p 8025 -p 8026 -p 8027 -p 8028 -p 8029 -p 802A -p 802B -p 802C -p 802D -p 802E -p 802F -p 8030 -p 8031 -p 8032 -p 8033 -p 8034 -p 8035 -p 8036 -p 8037 -p 8038 -p 8039 -p 803A -p 803B -p 803C -p 803D -p 803E -p 803F -p 8040 -p 8041 -p 8042 -p 8043 -p 8044 -p 8045 -p 8046 -p 8047 -p 8048 -p 8049 -p 804A -p 804B -p 804C -p 804D -p 804E -p 804F -p 8050 -p 8051 -p 8052 -p 8053 -p 8054 -p 8055 -p 8056 -p 8057 -p 8058 -p 8059 -p 805A -p 805B -p 805C -p 805D -p 805E -p 805F -p 8060 -p 8061 -p 8062 -p 8063 -d 0016 -c "ZIG20142ZB330003-24" -l 0 -i 0 -n 2694 -t 0 - - - 2. Use the below command to see the generated CD - xxd -p -c 1024 dec_message_3.txt - 3082021906092a864886f70d010702a082020a30820206020103310d300b06096086480165030402013082017106092a864886f70d010701a08201620482015e152400012501f5ff3602050080050180050280050380050480050580050680050780050880050980050a80050b80050c80050d80050e80050f80051080051180051280051380051480051580051680051780051880051980051a80051b80051c80051d80051e80051f80052080052180052280052380052480052580052680052780052880052980052a80052b80052c80052d80052e80052f80053080053180053280053380053480053580053680053780053880053980053a80053b80053c80053d80053e80053f80054080054180054280054380054480054580054680054780054880054980054a80054b80054c80054d80054e80054f80055080055180055280055380055480055580055680055780055880055980055a80055b80055c80055d80055e80055f80056080056180056280056380182403162c04135a494732303134325a423333303030332d32342405002406002507942624080018317d307b02010380140b36c601086c7232d905bd8b1eb2ce75d9aa8eee300b0609608648016503040201300a06082a8648ce3d04030204473045022100afdf19ccdf9ebb227554c11b066d70d648d030cf49c9b16bfbb82f922af325da02201ea59fcb3fb51b99f40283b736486c141f4f136fec63983d72811b5804221d9f - - 3. Copy the result from step 2 in json file and transfer the json file to Raspi That will be running chip-all-clusters-app - - 4. Commission TH to DUT using the above generated CD by using dac_provider parameter - - ./chip-all-clusters-app --dac_provider dec.json - - [1660834197.222084][4765:4765] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 - [1660834197.222142][4765:4765] CHIP:SVR: Failsafe timer expired - [1660834197.222191][4765:4765] CHIP:IN: SecureSession[0xaaaad7a03e10]: MarkForEviction Type:1 LSID:52084 - [1660834197.222242][4765:4765] CHIP:SC: SecureSession[0xaaaad7a03e10]: Moving from state "kActive" --> "kPendingEviction" - [1660834197.222392][4765:4765] CHIP:IN: SecureSession[0xaaaad7a03e10]: Released - Type:1 LSID:52084 - [1660834197.222468][4765:4765] CHIP:SVR: Commissioning failed (attempt 1): ../../third_party/connectedhomeip/src/app/server/CommissioningWindowManager.cpp:73: CHIP Error 0x00000032: Timeout - - ./chip-tool pairing ethernet 1 20202021 3840 fe80::e65f:1ff:fe0f:2753 5540 --trace_decode 1 - - [1660834197.161864][2546:2551] CHIP:CTL: Performing next commissioning step "AttestationVerification" - [1660834197.161918][2546:2551] CHIP:CTL: Verifying attestation - [1660834197.217691][2546:2551] CHIP:CTL: Failed in verifying "Attestation Information" command received from the device: err 601. Look at AttestationVerificationResult enum to understand the errors - [1660834197.218073][2546:2551] CHIP:CTL: Error on commissioning step "AttestationVerification": "../../src/controller/CHIPDeviceController.cpp:1018: CHIP Error 0x000000AC: Internal error" - [1660834197.218139][2546:2551] CHIP:CTL: Failed to perform commissioning step 8 - [1660834197.218207][2546:2551] CHIP:CTL: Going from commissioning step "AttestationVerification" with lastErr = "../../src/controller/CHIPDeviceController.cpp:1018: CHIP Error 0x000000AC: Internal error" -> "Cleanup" - [1660834197.218295][2546:2551] CHIP:CTL: Performing next commissioning step "Cleanup" with completion status = "../../src/controller/CHIPDeviceController.cpp:1018: CHIP Error 0x000000AC: Internal error" - [1660834197.218358][2546:2551] CHIP:CTL: Expiring failsafe on proxy 0xffff80032330 - - - Similary for 3rd error condition follow the below steps - - 1. To generate the CD use the below command - ./out/debug/chip-cert gen-cd -E vid-mismatch -C credentials/development/commissioner_dut/struct_cd_vid_mismatch/dac-Cert.der -K credentials/development/commissioner_dut/struct_cd_vid_mismatch/dac-Key.der --out dec_message_3.txt -f 1 -V FFF5 -p 8000 -p 8001 -p 8002 -p 8003 -p 8004 -p 8005 -p 8006 -p 8007 -p 8008 -p 8009 -p 800A -p 800B -p 800C -p 800D -p 800E -p 800F -p 8010 -p 8011 -p 8012 -p 8013 -p 8014 -p 8015 -p 8016 -p 8017 -p 8018 -p 8019 -p 801A -p 801B -p 801C -p 801D -p 801E -p 801F -p 8020 -p 8021 -p 8022 -p 8023 -p 8024 -p 8025 -p 8026 -p 8027 -p 8028 -p 8029 -p 802A -p 802B -p 802C -p 802D -p 802E -p 802F -p 8030 -p 8031 -p 8032 -p 8033 -p 8034 -p 8035 -p 8036 -p 8037 -p 8038 -p 8039 -p 803A -p 803B -p 803C -p 803D -p 803E -p 803F -p 8040 -p 8041 -p 8042 -p 8043 -p 8044 -p 8045 -p 8046 -p 8047 -p 8048 -p 8049 -p 804A -p 804B -p 804C -p 804D -p 804E -p 804F -p 8050 -p 8051 -p 8052 -p 8053 -p 8054 -p 8055 -p 8056 -p 8057 -p 8058 -p 8059 -p 805A -p 805B -p 805C -p 805D -p 805E -p 805F -p 8060 -p 8061 -p 8062 -p 8063 -d 0016 -c "ZIG20142ZB330003-24" -l 0 -i 0 -n 2694 -t 0 - - - 2. Use the below command to see the generated CD - xxd -p -c 1024 dec_message_3.txt - 3082021906092a864886f70d010702a082020a30820206020103310d300b06096086480165030402013082017106092a864886f70d010701a08201620482015e152400012501f5ff3602050080050180050280050380050480050580050680050780050880050980050a80050b80050c80050d80050e80050f80051080051180051280051380051480051580051680051780051880051980051a80051b80051c80051d80051e80051f80052080052180052280052380052480052580052680052780052880052980052a80052b80052c80052d80052e80052f80053080053180053280053380053480053580053680053780053880053980053a80053b80053c80053d80053e80053f80054080054180054280054380054480054580054680054780054880054980054a80054b80054c80054d80054e80054f80055080055180055280055380055480055580055680055780055880055980055a80055b80055c80055d80055e80055f80056080056180056280056380182403162c04135a494732303134325a423333303030332d32342405002406002507942624080018317d307b02010380140b36c601086c7232d905bd8b1eb2ce75d9aa8eee300b0609608648016503040201300a06082a8648ce3d04030204473045022100afdf19ccdf9ebb227554c11b066d70d648d030cf49c9b16bfbb82f922af325da02201ea59fcb3fb51b99f40283b736486c141f4f136fec63983d72811b5804221d9f - - 3. Copy the result from step 2 in json file and transfer the json file to Raspi That will be running chip-all-clusters-app - - 4. Commission TH to DUT using the above generated CD by using dac_provider parameter - - ./chip-all-clusters-app --dac_provider dec.json - - [1660834197.222084][4765:4765] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 - [1660834197.222142][4765:4765] CHIP:SVR: Failsafe timer expired - [1660834197.222191][4765:4765] CHIP:IN: SecureSession[0xaaaad7a03e10]: MarkForEviction Type:1 LSID:52084 - [1660834197.222242][4765:4765] CHIP:SC: SecureSession[0xaaaad7a03e10]: Moving from state "kActive" --> "kPendingEviction" - [1660834197.222392][4765:4765] CHIP:IN: SecureSession[0xaaaad7a03e10]: Released - Type:1 LSID:52084 - [1660834197.222468][4765:4765] CHIP:SVR: Commissioning failed (attempt 1): ../../third_party/connectedhomeip/src/app/server/CommissioningWindowManager.cpp:73: CHIP Error 0x00000032: Timeout - - ./chip-tool pairing ethernet 1 20202021 3840 fe80::e65f:1ff:fe0f:2753 5540 --trace_decode 1 - - [1660834197.161864][2546:2551] CHIP:CTL: Performing next commissioning step "AttestationVerification" - [1660834197.161918][2546:2551] CHIP:CTL: Verifying attestation - [1660834197.217691][2546:2551] CHIP:CTL: Failed in verifying "Attestation Information" command received from the device: err 601. Look at AttestationVerificationResult enum to understand the errors - [1660834197.218073][2546:2551] CHIP:CTL: Error on commissioning step "AttestationVerification": "../../src/controller/CHIPDeviceController.cpp:1018: CHIP Error 0x000000AC: Internal error" - [1660834197.218139][2546:2551] CHIP:CTL: Failed to perform commissioning step 8 - [1660834197.218207][2546:2551] CHIP:CTL: Going from commissioning step "AttestationVerification" with lastErr = "../../src/controller/CHIPDeviceController.cpp:1018: CHIP Error 0x000000AC: Internal error" -> "Cleanup" - [1660834197.218295][2546:2551] CHIP:CTL: Performing next commissioning step "Cleanup" with completion status = "../../src/controller/CHIPDeviceController.cpp:1018: CHIP Error 0x000000AC: Internal error" - [1660834197.218358][2546:2551] CHIP:CTL: Expiring failsafe on proxy 0xffff80032330 - - - Similary for 4th error condition follow the below steps - - 1. To generate the CD use the below command - ./out/debug/chip-cert gen-cd -E vid-mismatch -C credentials/development/commissioner_dut/struct_cd_pid_array_missing/dac-Cert.der -K credentials/development/commissioner_dut/struct_cd_pid_array_missing/dac-Key.der --out dec_message_5.txt -f 1 -V FFF1 -p 8000 -p 8001 -p 8002 -p 8003 -p 8004 -p 8005 -p 8006 -p 8007 -p 8008 -p 8009 -p 800A -p 800B -p 800C -p 800D -p 800E -p 800F -p 8010 -p 8011 -p 8012 -p 8013 -p 8014 -p 8015 -p 8016 -p 8017 -p 8018 -p 8019 -p 801A -p 801B -p 801C -p 801D -p 801E -p 801F -p 8020 -p 8021 -p 8022 -p 8023 -p 8024 -p 8025 -p 8026 -p 8027 -p 8028 -p 8029 -p 802A -p 802B -p 802C -p 802D -p 802E -p 802F -p 8030 -p 8031 -p 8032 -p 8033 -p 8034 -p 8035 -p 8036 -p 8037 -p 8038 -p 8039 -p 803A -p 803B -p 803C -p 803D -p 803E -p 803F -p 8040 -p 8041 -p 8042 -p 8043 -p 8044 -p 8045 -p 8046 -p 8047 -p 8048 -p 8049 -p 804A -p 804B -p 804C -p 804D -p 804E -p 804F -p 8050 -p 8051 -p 8052 -p 8053 -p 8054 -p 8055 -p 8056 -p 8057 -p 8058 -p 8059 -p 805A -p 805B -p 805C -p 805D -p 805E -p 805F -p 8060 -p 8061 -p 8062 -p 8063 -d 0016 -c "ZIG20142ZB330003-24" -l 0 -i 0 -n 2694 -t 0 - - - 2. Use the below command to see the generated CD - xxd -p -c 1024 dec_message_5.txt - 3082021906092a864886f70d010702a082020a30820206020103310d300b06096086480165030402013082017106092a864886f70d010701a08201620482015e152400012501f1ff3602050080050180050280050380050480050580050680050780050880050980050a80050b80050c80050d80050e80050f80051080051180051280051380051480051580051680051780051880051980051a80051b80051c80051d80051e80051f80052080052180052280052380052480052580052680052780052880052980052a80052b80052c80052d80052e80052f80053080053180053280053380053480053580053680053780053880053980053a80053b80053c80053d80053e80053f80054080054180054280054380054480054580054680054780054880054980054a80054b80054c80054d80054e80054f80055080055180055280055380055480055580055680055780055880055980055a80055b80055c80055d80055e80055f80056080056180056280056380182403162c04135a494732303134325a423333303030332d32342405002406002507942624080018317d307b0201038014e84b969e3104277c0a25ec2fd2e014cf6cabbc50300b0609608648016503040201300a06082a8648ce3d04030204473045022005a46eb5d9ba996c44abcad5498a65898a8a7711bc91b25b24949b154949b046022100873aaac936ef14cf795c59629603d6d9ffa193f3e6d13082b47b0d018b21d60f - - 3. Copy the result from step 2 in json file and transfer the json file to Raspi That will be running chip-all-clusters-app - - 4. Commission TH to DUT using the above generated CD by using dac_provider parameter - - ./chip-all-clusters-app --dac_provider dec_1.json + For each error scenario Factory reset on TH1(all-clusters-app) as explained in step 6 - [1660834938.999182][4811:4811] CHIP:DL: HandlePlatformSpecificBLEEvent 32782 - [1660834938.999232][4811:4811] CHIP:SVR: Failsafe timer expired - [1660834938.999276][4811:4811] CHIP:IN: SecureSession[0xaaaae51efe10]: MarkForEviction Type:1 LSID:59289 - [1660834938.999321][4811:4811] CHIP:SC: SecureSession[0xaaaae51efe10]: Moving from state "kActive" --> "kPendingEviction" - [1660834938.999452][4811:4811] CHIP:IN: SecureSession[0xaaaae51efe10]: Released - Type:1 LSID:59289 - [1660834938.999519][4811:4811] CHIP:SVR: Commissioning failed (attempt 1): ../../third_party/connectedhomeip/src/app/server/CommissioningWindowManager.cpp:73: CHIP Error 0x00000032: Timeout + 1. To Execute ths step for error condition 1 Certification Declaration has only one of the following fields dac_origin_vendor_id dac_origin_product_id follow the below steps + All sample error scenario certificate has generated and presented in ~/connectedhomeip/credentials/development/commissioner_dut/ + Use the appropriate folder to test different scenarios. - ./chip-tool pairing ethernet 1 20202021 3840 fe80::e65f:1ff:fe0f:2753 5540 --trace_decode 1 + execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider ~/Aug30_cntr/connectedhomeip/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_missing_pid_present/test_case_vector.json - [1660834938.937220][2589:2594] CHIP:CTL: Commissioning stage next step: "SendAttestationRequest" -> "AttestationVerification" - [1660834938.937294][2589:2594] CHIP:CTL: Performing next commissioning step "AttestationVerification" - [1660834938.937346][2589:2594] CHIP:CTL: Verifying attestation - [1660834938.995809][2589:2594] CHIP:CTL: Failed in verifying "Attestation Information" command received from the device: err 601. Look at AttestationVerificationResult enum to understand the errors - [1660834938.996010][2589:2594] CHIP:CTL: Error on commissioning step "AttestationVerification": "../../src/controller/CHIPDeviceController.cpp:1018: CHIP Error 0x000000AC: Internal error" - [1660834938.996077][2589:2594] CHIP:CTL: Failed to perform commissioning step 8 - [1660834938.996145][2589:2594] CHIP:CTL: Going from commissioning step "AttestationVerification" with lastErr = "../../src/controller/CHIPDeviceController.cpp:1018: CHIP Error 0x000000AC: Internal error" -> "Cleanup" - [1660834938.996234][2589:2594] CHIP:CTL: Performing next commissioning step "Cleanup" with completion status = "../../src/controller/CHIPDeviceController.cpp:1018: CHIP Error 0x000000AC: Internal error" - [1660834938.996293][2589:2594] CHIP:CTL: Expiring failsafe on proxy 0xffff84032330 + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + + If the DUT(chip-tool) has to provision to verify the logs:- verify the below mentioned same behaviour log on the DUT (chip-tool): + [1662459904.540345][32873:32878] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0001 + [1662459904.540349][32873:32878] CHIP:CTL: Received Attestation Information from the device + [1662459904.540352][32873:32878] CHIP:CTL: Successfully finished commissioning step "SendAttestationRequest" + [1662459904.540358][32873:32878] CHIP:CTL: Commissioning stage next step: "SendAttestationRequest" -> "AttestationVerification" + [1662459904.540361][32873:32878] CHIP:CTL: Performing next commissioning step "AttestationVerification" + [1662459904.540363][32873:32878] CHIP:CTL: Verifying attestation + [1662459904.541210][32873:32878] CHIP:CTL: Failed in verifying "Attestation Information" command received from the device: err 603. Look at AttestationVerificationResult enum to understand the errors + [1662459904.541219][32873:32878] CHIP:CTL: Error on commissioning step "AttestationVerification": "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1027: CHIP Error 0x000000AC: Internal error" + [1662459904.541221][32873:32878] CHIP:CTL: Failed to perform commissioning step 8 + [1662459904.541223][32873:32878] CHIP:CTL: Going from commissioning step "AttestationVerification" with lastErr = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1027: CHIP Error 0x000000AC: Internal error" -> "Cleanup" + [1662459904.541229][32873:32878] CHIP:CTL: Performing next commissioning step "Cleanup" with completion status = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1027: CHIP Error 0x000000AC: Internal error" + [1662459904.541231][32873:32878] CHIP:CTL: Expiring failsafe on proxy 0x7f1b8c023460 + [1662459904.541240][32873:32878] CHIP:DMG: ICR moving to [AddingComm] + [1662459904.541244][32873:32878] CHIP:DMG: ICR moving to [AddedComma] + [1662459904.541289][32873:32878] CHIP:IN: Prepared secure message 0x7f1b8c02d208 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 3056i with MessageCounter:44223388. + [1662459904.541294][32873:32878] CHIP:IN: Sending encrypted msg 0x7f1b8c02d208 with MessageCounter:44223388 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000003C6523D msec + [1662459904.541346][32873:32878] CHIP:DMG: >> to UDP:[fe80::b7b8:ff3e:9ace:3e12%wlp0s20f3]:5540 | 44223388 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 16788 / Exchange = 3056] + + + + 2. Similarly for 2nd error condition i.e. vendor_id field in the Certification Declaration does not match with the VendorID attribute found in the Basic Information cluster , follow the below steps + + All sample error scenario certificate has generated and present in ~/connectedhomeip/credentials/development/commissioner_dut/ + Use the appropriate folder to test different scenario. + + vendor_id field in the Certification Declaration does not match with the VendorID attribute found in the Basic Information cluster + connectedhomeip/credentials/development/commissioner_dut/struct_cd_vid_mismatch + & use the sample json test_case_vector.json + + execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider ~/Aug30_cntr/connectedhomeip/credentials/development/commissioner_dut/struct_cd_vid_mismatch/test_case_vector.json + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + If the DUT(chip-tool) has to provision to verify the logs:- verify the below mentioned same behaviour log on the DUT (chip-tool): + [1662460172.864493][32929:32934] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0001 + [1662460172.864502][32929:32934] CHIP:CTL: Received Attestation Information from the device + [1662460172.864510][32929:32934] CHIP:CTL: Successfully finished commissioning step "SendAttestationRequest" + [1662460172.864522][32929:32934] CHIP:CTL: Commissioning stage next step: "SendAttestationRequest" -> "AttestationVerification" + [1662460172.864526][32929:32934] CHIP:CTL: Performing next commissioning step "AttestationVerification" + [1662460172.864528][32929:32934] CHIP:CTL: Verifying attestation + [1662460172.865422][32929:32934] CHIP:CTL: Failed in verifying "Attestation Information" command received from the device: err 603. Look at AttestationVerificationResult enum to understand the errors + [1662460172.865435][32929:32934] CHIP:CTL: Error on commissioning step "AttestationVerification": "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1027: CHIP Error 0x000000AC: Internal error" + [1662460172.865439][32929:32934] CHIP:CTL: Failed to perform commissioning step 8 + [1662460172.865442][32929:32934] CHIP:CTL: Going from commissioning step "AttestationVerification" with lastErr = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1027: CHIP Error 0x000000AC: Internal error" -> "Cleanup" + [1662460172.865447][32929:32934] CHIP:CTL: Performing next commissioning step "Cleanup" with completion status = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1027: CHIP Error 0x000000AC: Internal error" + [1662460172.865449][32929:32934] CHIP:CTL: Expiring failsafe on proxy 0x7fa380023460 + + + + + 3. Similary for 3rd error condition follow the below steps + All sample error scenario certificate has generated and present in ~/connectedhomeip/credentials/development/commissioner_dut/ + Use the appropriate folder to test different scenario. + + vendor_id field in the Certification Declaration does not match with the VendorID attribute found in the Basic Information cluster + connectedhomeip/credentials/development/commissioner_dut/struct_cd_vid_mismatch + & use the sample json test_case_vector.json + + execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider ~/Aug30_cntr/connectedhomeip/credentials/development/commissioner_dut/struct_cd_vid_mismatch/test_case_vector.json + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + If the DUT(chip-tool) has to provision to verify the logs:- verify the below mentioned same behaviour log on the DUT (chip-tool): + [1662460606.271896][33030:33035] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0001 + [1662460606.271904][33030:33035] CHIP:CTL: Received Attestation Information from the device + [1662460606.271914][33030:33035] CHIP:CTL: Successfully finished commissioning step "SendAttestationRequest" + [1662460606.271930][33030:33035] CHIP:CTL: Commissioning stage next step: "SendAttestationRequest" -> "AttestationVerification" + [1662460606.271938][33030:33035] CHIP:CTL: Performing next commissioning step "AttestationVerification" + [1662460606.271942][33030:33035] CHIP:CTL: Verifying attestation + [1662460606.272912][33030:33035] CHIP:CTL: Failed in verifying "Attestation Information" command received from the device: err 603. Look at AttestationVerificationResult enum to understand the errors + [1662460606.272924][33030:33035] CHIP:CTL: Error on commissioning step "AttestationVerification": "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1027: CHIP Error 0x000000AC: Internal error" + [1662460606.272927][33030:33035] CHIP:CTL: Failed to perform commissioning step 8 + [1662460606.272932][33030:33035] CHIP:CTL: Going from commissioning step "AttestationVerification" with lastErr = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1027: CHIP Error 0x000000AC: Internal error" -> "Cleanup" + + + + 4. Similary for 4th error condition follow the below steps + + All sample error scenario certificate has generated and present in ~/connectedhomeip/credentials/development/commissioner_dut/ + Use the appropriate folder to test different scenario. + + The Vendor ID in the DAC does not match the vendor_id field in the Certification Declaration. + connectedhomeip/credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch + & use the sample json test_case_vector.json + + Commission TH to DUT by using --dac_provider parameter + + execute the below mentioned command to put TH(all-cluster-app) into a commissionable state, Pls use equivalent command on the respective Platform + ./chip-all-clusters-app --trace_decode 1 --dac_provider ~/Aug30_cntr/connectedhomeip/credentials/development/commissioner_dut/struct_cd_pid_array_count10_mismatch/test_case_vector.json + + Once TH(all-clusters-app) reach the commissionable state pls send below mentioned command on DUT(chip-tool). Pls use equivalent command on the respective platform + ./chip-tool pairing onnetwork 1 20202021 --trace_decode 1 + If the DUT(chip-tool) has to provision to verify the logs:- verify the below mentioned same behaviour log on the DUT (chip-tool): + [1662460943.774883][33107:33112] CHIP:CTL: Commissioning stage next step: "SendAttestationRequest" -> "AttestationVerification" + [1662460943.774887][33107:33112] CHIP:CTL: Performing next commissioning step "AttestationVerification" + [1662460943.774889][33107:33112] CHIP:CTL: Verifying attestation + [1662460943.775749][33107:33112] CHIP:CTL: Failed in verifying "Attestation Information" command received from the device: err 603. Look at AttestationVerificationResult enum to understand the errors + [1662460943.775757][33107:33112] CHIP:CTL: Error on commissioning step "AttestationVerification": "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1027: CHIP Error 0x000000AC: Internal error" + [1662460943.775760][33107:33112] CHIP:CTL: Failed to perform commissioning step 8 + [1662460943.775763][33107:33112] CHIP:CTL: Going from commissioning step "AttestationVerification" with lastErr = "../../third_party/connectedhomeip/src/controller/CHIPDeviceController.cpp:1027: CHIP Error 0x000000AC: Internal error" -> "Cleanup disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DA_1_6.yaml b/src/app/tests/suites/certification/Test_TC_DA_1_6.yaml index 16dee77a88b348..2f721a080b2795 100644 --- a/src/app/tests/suites/certification/Test_TC_DA_1_6.yaml +++ b/src/app/tests/suites/certification/Test_TC_DA_1_6.yaml @@ -313,7 +313,7 @@ tests: "TH1 generates Invalid NOCSR Information and sends the CSRResponse Command. Refer Steps 6.1 to 6.8" verification: | - verification step to be updated. + disabled: true - label: "Factory Reset DUT so that it is commissionable again" @@ -332,22 +332,22 @@ tests: "Repeat Step1 to Step 4 multiple times. For each time in Step 3 TH1 generates the following error:" verification: | - verification step to be updated. + disabled: true - label: "CSRNonce is OCTET string of length > 32" verification: | - verification step to be updated. + disabled: true - label: "CSRNonce value does not match the value CSR Nonce field in the corresponding CSRRequest Command" verification: | - verification step to be updated. + disabled: true - label: "NOCSRElement size is greater than RESP_MAX" verification: | - verification step to be updated. + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DA_1_7.yaml b/src/app/tests/suites/certification/Test_TC_DA_1_7.yaml index 124b0f9e0134ea..3fe14d11fc219c 100644 --- a/src/app/tests/suites/certification/Test_TC_DA_1_7.yaml +++ b/src/app/tests/suites/certification/Test_TC_DA_1_7.yaml @@ -269,221 +269,5 @@ tests: TH side: ./chip-tool pairing ble-wifi 1 zigbeehome matter123 20202021 3844 --trace_decode 1 - [1650455358.501816][4366:4371] CHIP:TOO: Device commissioning completed with success" - - - Verify in TH(chip-tool) log: - - ./chip-tool operationalcredentials certificate-chain-request 1 1 0 --trace_decode 1 - [1657774717.721972][7956:7961] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0003 - [1657774717.722019][7956:7961] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0003 - [1657774717.722135][7956:7961] CHIP:TOO: CertificateChainResponse: { - [1657774717.722181][7956:7961] CHIP:TOO: certificate: 308201E73082018EA003020102020869CDF10DE9E54ED1300A06082A8648CE3D040302303D3125302306035504030C1C4D6174746572204465762050414920307846464631206E6F2050494431143012060A2B0601040182A27C02010C04464646313020170D3232303230353030303030305A180F39393939313233313233353935395A30533125302306035504030C1C4D61747465722044657620444143203078464646312F30783830303131143012060A2B0601040182A27C02010C044646463131143012060A2B0601040182A27C02020C04383030313059301306072A8648CE3D020106082A8648CE3D03010703420004463AC69342910A0E5588FC6FF56BB63E62ECCECB148F7D4EB03EE552601415767D16A5C663F793E49123260B8297A7CD7E7CFC7B316B39D98E90D29377738E82A360305E300C0603551D130101FF04023000300E0603551D0F0101FF040403020780301D0603551D0E0416041488DDE7B300382932CFF734C04624810F44168A6F301F0603551D2304183016801463540E47F64B1C38D13884A462D16C195D8FFB3C300A06082A8648CE3D040302 - [1657774717.722269][7956:7961] CHIP:TOO: ...........: 034700304402200127A27B4B44610EE2FCDC4D2B7885563660BC0F76F17219ED6A08DFB2B3C1CD02206B59E0AF45F3EB2A85B919D35731528C6028C415239545E108E4E54E70971353 - [1657774717.722297][7956:7961] CHIP:TOO: } - - - - ./chip-tool operationalcredentials certificate-chain-request 2 1 0 --trace_decode 1 - - [1657774756.281112][7964:7969] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0003 - [1657774756.281164][7964:7969] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Command 0x0000_0003 - [1657774756.281236][7964:7969] CHIP:TOO: CertificateChainResponse: { - [1657774756.281289][7964:7969] CHIP:TOO: certificate: 308201CB30820171A003020102020856AD8222AD945B64300A06082A8648CE3D04030230303118301606035504030C0F4D617474657220546573742050414131143012060A2B0601040182A27C02010C04464646313020170D3232303230353030303030305A180F39393939313233313233353935395A303D3125302306035504030C1C4D6174746572204465762050414920307846464631206E6F2050494431143012060A2B0601040182A27C02010C04464646313059301306072A8648CE3D020106082A8648CE3D03010703420004419A9315C2173E0C8C876D03CCFC944852647F7FEC5E5082F4059928ECA894C594151309AC631E4CB03392AF684B0BAFB7E65B3B8162C2F52BF931B8E77AAA82A366306430120603551D130101FF040830060101FF020100300E0603551D0F0101FF040403020106301D0603551D0E0416041463540E47F64B1C38D13884A462D16C195D8FFB3C301F0603551D230418301680146AFD22771F511FECBF1641976710DCDC31A1717E300A06082A8648CE3D0403020348003045022100B2EF27F49AE9B50FB91EEAC94C4D0BDBB8D7929C6C - [1657774756.281357][7964:7969] CHIP:TOO: ...........: B88FACE529368D12054C0C0220655DC92B86BD909882A6C62177B825D7D05EDBE7C22F9FEA71220E7EA703F891 - [1657774756.281388][7964:7969] CHIP:TOO: } - - - During commissioning we will get PAI certificate, see on TH(chip-tool) log: - - [1659415376.883870][2666:2671] CHIP:CTL: Performing next commissioning step "SendPAICertificateRequest" - [1659415376.883925][2666:2671] CHIP:CTL: Sending request for PAI certificate - [1659415376.884015][2666:2671] CHIP:CTL: Sending Certificate Chain request to 0xffffa0000b60 device - [1659415376.884167][2666:2671] CHIP:DMG: ICR moving to [AddingComm] - [1659415376.884302][2666:2671] CHIP:DMG: ICR moving to [AddedComma] - [1659415376.884867][2666:2671] CHIP:IN: Prepared secure message 0xffffb37ec8d8 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 61632i with MessageCounter:72933899. - [1659415376.884965][2666:2671] CHIP:IN: Sending encrypted msg 0xffffb37ec8d8 with MessageCounter:72933899 to 0xFFFFFFFB00000000 (0) at monotonic time: 0000000000161D55 msec - [1659415376.885796][2666:2671] CHIP:DMG: >> to BLE | 72933899 | [Interaction Model (1) / InvokeCommandRequest (0x08) / Session = 384 / Exchange = 61632] - [1659415376.885890][2666:2671] CHIP:DMG: Header Flags = - [1659415376.885944][2666:2671] CHIP:DMG: { - [1659415376.886028][2666:2671] CHIP:DMG: Exchange (0x01) = - [1659415376.886081][2666:2671] CHIP:DMG: { - [1659415376.886154][2666:2671] CHIP:DMG: Initiator = true - [1659415376.886206][2666:2671] CHIP:DMG: } - [1659415376.886296][2666:2671] CHIP:DMG: } - [1659415376.886350][2666:2671] CHIP:DMG: - [1659415376.886438][2666:2671] CHIP:DMG: Encrypted Payload (62 bytes) = - [1659415376.886492][2666:2671] CHIP:DMG: { - [1659415376.886542][2666:2671] CHIP:DMG: data = 008001000be258046e751fb56b97dabcc7ee6b6611ede33a66461e188834bb1fe5b6332edb4a3896d32bce2eb59dee722e070c4426af77c82dfca14619bb - [1659415376.886616][2666:2671] CHIP:DMG: buffer_ptr = 281473366182720 - [1659415376.886666][2666:2671] CHIP:DMG: } - [1659415376.886714][2666:2671] CHIP:DMG: - [1659415376.886900][2666:2671] CHIP:DMG: InvokeRequestMessage = - [1659415376.886962][2666:2671] CHIP:DMG: { - [1659415376.887039][2666:2671] CHIP:DMG: suppressResponse = false, - [1659415376.887103][2666:2671] CHIP:DMG: timedRequest = false, - [1659415376.887162][2666:2671] CHIP:DMG: InvokeRequests = - [1659415376.887234][2666:2671] CHIP:DMG: [ - [1659415376.887312][2666:2671] CHIP:DMG: CommandDataIB = - [1659415376.887380][2666:2671] CHIP:DMG: { - [1659415376.887442][2666:2671] CHIP:DMG: CommandPathIB = - [1659415376.887538][2666:2671] CHIP:DMG: { - [1659415376.887633][2666:2671] CHIP:DMG: EndpointId = 0x0, - [1659415376.887874][2666:2671] CHIP:DMG: ClusterId = 0x3e, - [1659415376.888039][2666:2671] CHIP:DMG: CommandId = 0x2, - [1659415376.888125][2666:2671] CHIP:DMG: }, - [1659415376.888225][2666:2671] CHIP:DMG: - [1659415376.888289][2666:2671] CHIP:DMG: CommandFields = - [1659415376.888384][2666:2671] CHIP:DMG: { - [1659415376.888478][2666:2671] CHIP:DMG: 0x0 = 2, - [1659415376.888560][2666:2671] CHIP:DMG: }, - [1659415376.888655][2666:2671] CHIP:DMG: }, - [1659415376.888728][2666:2671] CHIP:DMG: - [1659415376.888806][2666:2671] CHIP:DMG: ], - [1659415376.888877][2666:2671] CHIP:DMG: - [1659415376.888955][2666:2671] CHIP:DMG: InteractionModelRevision = 1 - [1659415376.889012][2666:2671] CHIP:DMG: }, - [1659415376.889086][2666:2671] CHIP:DMG: - [1659415376.889368][2666:2671] CHIP:DMG: ICR moving to [CommandSen] - [1659415376.889523][2666:2671] CHIP:DMG: ICR moving to [AwaitingDe] - [1659415376.972895][2666:2671] CHIP:DL: HandlePlatformSpecificBLEEvent 16387 - [1659415377.021227][2666:2669] CHIP:DL: Indication received, conn = 0xffffa803b9b0 - [1659415377.021488][2666:2671] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1659415377.122119][2666:2669] CHIP:DL: Indication received, conn = 0xffffa803b9b0 - [1659415377.122505][2666:2671] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1659415377.217641][2666:2669] CHIP:DL: Indication received, conn = 0xffffa803b9b0 - [1659415377.217905][2666:2671] CHIP:DL: HandlePlatformSpecificBLEEvent 16389 - [1659415377.219135][2666:2671] CHIP:DMG: << from BLE | 199585160 | [Interaction Model (1) / InvokeCommandResponse (0x09) / Session = 46479 / Exchange = 61632] - [1659415377.219238][2666:2671] CHIP:DMG: Header Flags = - [1659415377.219295][2666:2671] CHIP:DMG: { - [1659415377.219391][2666:2671] CHIP:DMG: } - [1659415377.219446][2666:2671] CHIP:DMG: - [1659415377.219518][2666:2671] CHIP:DMG: Encrypted Payload (527 bytes) = - [1659415377.219573][2666:2671] CHIP:DMG: { - [1659415377.219626][2666:2671] CHIP:DMG: data = 008fb500886de50b9dd1c80f8f48187dc9457d6066ed57c1f15550aefb6a675573c3fcff99cc266b26bdbd97c5ac460ff50e513fd8ef02f39294c2e79b507b0d7b6342caea806048b1c64804aae7bb9d4cdb04d4c7c4d345788e332256c05e7ea38eddd7693e4a39cdfe625688f0101cf16af6f5281049b25e47e6931b06c832d9a014a8248d7cfe31d8b75ebb7805b511293591caa108030939b43b951ad2a164692b051201f9c777e769b9632f05b94bc1990718ec3d2e0fa0161da28ec39bc51017c519e994e9fbbc68693e86ae9fa72618a5a0bc9a133e919bf61ca0805a90a09807c5c4b88329bd1d99149788c5464650dc3b7223e11f4d5a487c0b589453f725b035b543b0159801bee756dcd835832af45402931d73f4977371c90a3fd406905b278fefccf607e0699cac0b082d062b563f17d6e9438720a885f6b5d0dd035d652fd9b88790b1e79995030977f4423139eff3d2e36915065474ea1996705bd63b40395344e402c191e54c1c136c4daa31040ea09cc39c5804dd4203763d05e30d2cfd50ed84e12fd01ecf9c49a4bf7fe73c13416af1cc8bed4f5f2e8919f5724d698990115f97c08f43f9dd463883b53d09e6f888ac8a8d8ba91bd65b242ae049cccd4af6fdcfa402877ba10fb560008d07054deb1e9f1a39fd9110930e1e620fc64f999255a52f8064dc1c83fe6aa35de56c44850e932c82919c1f1af174afa75f3ef77c8b08fcace33883 - [1659415377.219729][2666:2671] CHIP:DMG: buffer_ptr = 281473366176768 - [1659415377.219780][2666:2671] CHIP:DMG: } - [1659415377.219830][2666:2671] CHIP:DMG: - [1659415377.220104][2666:2671] CHIP:DMG: DAC/PAI (463) = - [1659415377.220220][2666:2671] CHIP:DMG: { - -----BEGIN CERTIFICATE----- - MIIByzCCAXGgAwIBAgIIVq2CIq2UW2QwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP - TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjAyMDUw - MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowPTElMCMGA1UEAwwcTWF0dGVyIERldiBQ - QUkgMHhGRkYxIG5vIFBJRDEUMBIGCisGAQQBgqJ8AgEMBEZGRjEwWTATBgcqhkjO - PQIBBggqhkjOPQMBBwNCAARBmpMVwhc+DIyHbQPM/JRIUmR/f+xeUIL0BZko7KiU - xZQVEwmsYx5MsDOSr2hLC6+35ls7gWLC9Sv5MbjneqqCo2YwZDASBgNVHRMBAf8E - CDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUY1QOR/ZLHDjROISk - YtFsGV2P+zwwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGhcX4wCgYIKoZI - zj0EAwIDSAAwRQIhALLvJ/Sa6bUPuR7qyUxNC9u415KcbLiPrOUpNo0SBUwMAiBl - Xckrhr2QmIKmxiF3uCXX0F7b58Ivn+pxIg5+pwP4kQ== - -----END CERTIFICATE----- - [1659415377.220439][2666:2671] CHIP:DMG: } - [1659415377.220490][2666:2671] CHIP:DMG: - [1659415377.220553][2666:2671] CHIP:DMG: - [1659415377.220635][2666:2671] CHIP:DMG: Additional Fields = - [1659415377.220689][2666:2671] CHIP:DMG: { - [1659415377.220748][2666:2671] CHIP:DMG: peer_address = BLE - [1659415377.220801][2666:2671] CHIP:DMG: } - [1659415377.220850][2666:2671] CHIP:DMG: - [1659415377.220914][2666:2671] CHIP:EM: Received message of type 0x9 with protocolId (0, 1) and MessageCounter:199585160 on exchange 61632i - [1659415377.220977][2666:2671] CHIP:EM: Found matching exchange: 61632i, Delegate: 0xffffa803c898 - [1659415377.221071][2666:2671] CHIP:DMG: ICR moving to [ResponseRe] - [1659415377.221162][2666:2671] CHIP:DMG: InvokeResponseMessage = - [1659415377.221222][2666:2671] CHIP:DMG: { - [1659415377.221279][2666:2671] CHIP:DMG: suppressResponse = false, - [1659415377.221339][2666:2671] CHIP:DMG: InvokeResponseIBs = - [1659415377.221413][2666:2671] CHIP:DMG: [ - [1659415377.221473][2666:2671] CHIP:DMG: InvokeResponseIB = - [1659415377.221551][2666:2671] CHIP:DMG: { - [1659415377.221615][2666:2671] CHIP:DMG: CommandDataIB = - [1659415377.221691][2666:2671] CHIP:DMG: { - [1659415377.221764][2666:2671] CHIP:DMG: CommandPathIB = - [1659415377.221855][2666:2671] CHIP:DMG: { - [1659415377.221949][2666:2671] CHIP:DMG: EndpointId = 0x0, - [1659415377.222037][2666:2671] CHIP:DMG: ClusterId = 0x3e, - [1659415377.222125][2666:2671] CHIP:DMG: CommandId = 0x3, - [1659415377.222216][2666:2671] CHIP:DMG: }, - [1659415377.222303][2666:2671] CHIP:DMG: - [1659415377.222377][2666:2671] CHIP:DMG: CommandFields = - [1659415377.222476][2666:2671] CHIP:DMG: { - [1659415377.222570][2666:2671] CHIP:DMG: 0x0 = [ - [1659415377.222896][2666:2671] CHIP:DMG: 0x30, 0x82, 0x1, 0xcb, 0x30, 0x82, 0x1, 0x71, 0xa0, 0x3, 0x2, 0x1, 0x2, 0x2, 0x8, 0x56, 0xad, 0x82, 0x22, 0xad, 0x94, 0x5b, 0x64, 0x30, 0xa, 0x6, 0x8, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x4, 0x3, 0x2, 0x30, 0x30, 0x31, 0x18, 0x30, 0x16, 0x6, 0x3, 0x55, 0x4, 0x3, 0xc, 0xf, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, 0x50, 0x41, 0x41, 0x31, 0x14, 0x30, 0x12, 0x6, 0xa, 0x2b, 0x6, 0x1, 0x4, 0x1, 0x82, 0xa2, 0x7c, 0x2, 0x1, 0xc, 0x4, 0x46, 0x46, 0x46, 0x31, 0x30, 0x20, 0x17, 0xd, 0x32, 0x32, 0x30, 0x32, 0x30, 0x35, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x5a, 0x18, 0xf, 0x39, 0x39, 0x39, 0x39, 0x31, 0x32, 0x33, 0x31, 0x32, 0x33, 0x35, 0x39, 0x35, 0x39, 0x5a, 0x30, 0x3d, 0x31, 0x25, 0x30, 0x23, 0x6, 0x3, 0x55, 0x4, 0x3, 0xc, 0x1c, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x44, 0x65, 0x76, 0x20, 0x50, 0x41, 0x49, 0x20, 0x30, 0x78, 0x46, 0x46, 0x46, 0x31, 0x20, 0x6e, 0x6f, 0x20, 0x50, 0x49, 0x44, 0x31, 0x14, 0x30, 0x12, 0x6, 0xa, 0x2b, 0x6, 0x1, 0x4, 0x1, 0x82, 0xa2, 0x7c, 0x2, 0x1, 0xc, 0x4, 0x46, 0x46, 0x46, 0x31, 0x30, 0x59, 0x30, 0x13, 0x6, 0x7, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x2, 0x1, 0x6, 0x8, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x3, 0x1, 0x7, 0x3, 0x42, 0x0, 0x4, 0x41, 0x9a, 0x93, 0x15, 0xc2, 0x17, 0x3e, 0xc, 0x8c, 0x87, 0x6d, 0x3, 0xcc, 0xfc, 0x94, 0x48, 0x52, 0x64, 0x7f, 0x7f, 0xec, 0x5e, 0x50, 0x82, 0xf4, 0x5, 0x99, 0x28, 0xec, 0xa8, 0x94, 0xc5, 0x94, 0x15, 0x13, 0x9, 0xac, 0x63, 0x1e, 0x4c, 0xb0, 0x33, 0x92, 0xaf, 0x68, 0x4b, 0xb, 0xaf, 0xb7, 0xe6, 0x5b, 0x3b, 0x81, 0x62, 0xc2, 0xf5, 0x2b, 0xf9, 0x31, 0xb8, 0xe7, 0x7a, 0xaa, 0x82, 0xa3, 0x66, 0x30, 0x64, 0x30, 0x12, 0x6, 0x3, 0x55, 0x1d, 0x13, 0x1, 0x1, 0xff, 0x4, 0x8, 0x30, 0x6, 0x1, 0x1, 0xff, 0x2, 0x1, - [1659415377.223073][2666:2671] CHIP:DMG: ] (463 bytes) - [1659415377.223156][2666:2671] CHIP:DMG: }, - [1659415377.223230][2666:2671] CHIP:DMG: }, - [1659415377.223312][2666:2671] CHIP:DMG: - [1659415377.223374][2666:2671] CHIP:DMG: }, - [1659415377.223448][2666:2671] CHIP:DMG: - [1659415377.223505][2666:2671] CHIP:DMG: ], - [1659415377.223579][2666:2671] CHIP:DMG: - [1659415377.223637][2666:2671] CHIP:DMG: InteractionModelRevision = 1 - [1659415377.223694][2666:2671] CHIP:DMG: }, - [1659415377.223832][2666:2671] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0003 - [1659415377.223908][2666:2671] CHIP:CTL: Received certificate chain from the device - [1659415377.224018][2666:2671] CHIP:CTL: Successfully finished commissioning step "SendPAICertificateRequest" - - To extract public key follow the below procedure and save the public key as pk2, make sure the pk2 doesn"t match pk1 in step 5 - - "1. Save the PAI value from commissioning log of TH in the file as below - vi pai_6.pem - - 2. Give the below command to extract the Authority key ID - openssl x509 -in pai_6.pem -text - - Below certificate has been extracted using the sample DUT, hence the Authority key ID is same as in SDK"s test PAA certs - - 3. Extract the public key Public-Key: (256 bit) from the below cert - - 4. Verify that pk_1 does not match with the pk_2 - - grl@grl-ThinkPad-L480:~/jul14_2ndcntrl/connectedhomeip$ openssl x509 -in pai_6.pem -text - Certificate: - Data: - Version: 3 (0x2) - Serial Number: 4498223361705918669 (0x3e6ce6509ad840cd) - Signature Algorithm: ecdsa-with-SHA256 - Issuer: CN = Matter Test PAA, 1.3.6.1.4.1.37244.2.1 = FFF1 - Validity - Not Before: Jun 28 14:23:43 2021 GMT - Not After : Dec 31 23:59:59 9999 GMT - Subject: CN = Matter Test PAI, 1.3.6.1.4.1.37244.2.1 = FFF1, 1.3.6.1.4.1.37244.2.2 = 8000 - Subject Public Key Info: - Public Key Algorithm: id-ecPublicKey - Public-Key: (256 bit) - pub: - 04:80:dd:f1:1b:22:8f:3e:31:f6:3b:cf:57:98:da: - 14:62:3a:eb:bd:e8:2e:f3:78:ee:ad:bf:b1:8f:e1: - ab:ce:31:d0:8e:d4:b2:06:04:b6:cc:c6:d9:b5:fa: - b6:4e:7d:e1:0c:b7:4b:e0:17:c9:ec:15:16:05:6d: - 70:f2:cd:0b:22 - ASN1 OID: prime256v1 - NIST CURVE: P-256 - X509v3 extensions: - X509v3 Basic Constraints: critical - CA:TRUE, pathlen:0 - X509v3 Key Usage: critical - Certificate Sign, CRL Sign - X509v3 Subject Key Identifier: - AF:42:B7:09:4D:EB:D5:15:EC:6E:CF:33:B8:11:15:22:5F:32:52:88 - X509v3 Authority Key Identifier: - keyid:6A:FD:22:77:1F:51:1F:EC:BF:16:41:97:67:10:DC:DC:31:A1:71:7E - - Signature Algorithm: ecdsa-with-SHA256 - 30:45:02:21:00:96:c9:c8:cf:2e:01:88:60:05:d8:f5:bc:72: - c0:7b:75:fd:9a:57:69:5a:c4:91:11:31:13:8b:ea:03:3c:e5: - 03:02:20:25:54:94:3b:e5:7d:53:d6:c4:75:f7:d2:3e:bf:cf: - c2:03:6c:d2:9b:a6:39:3e:c7:ef:ad:87:14:ab:71:82:19 - -----BEGIN CERTIFICATE----- - MIIB1DCCAXqgAwIBAgIIPmzmUJrYQM0wCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP - TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMTA2Mjgx - NDIzNDNaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg - UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw - WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASA3fEbIo8+MfY7z1eY2hRiOuu96C7z - eO6tv7GP4avOMdCO1LIGBLbMxtm1+rZOfeEMt0vgF8nsFRYFbXDyzQsio2YwZDAS - BgNVHRMBAf8ECDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUr0K3 - CU3r1RXsbs8zuBEVIl8yUogwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh - cX4wCgYIKoZIzj0EAwIDSAAwRQIhAJbJyM8uAYhgBdj1vHLAe3X9mldpWsSRETET - i+oDPOUDAiAlVJQ75X1T1sR199I+v8/CA2zSm6Y5PsfvrYcUq3GCGQ== - -----END CERTIFICATE----- + Repeat Step 1 to 4 with DUT2 , read the public key from DAC and make sure pk_1 and pk_2 do not match disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_1_13.yaml b/src/app/tests/suites/certification/Test_TC_DD_1_13.yaml index f0422326fb99a3..0c0cd89084fecc 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_1_13.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_1_13.yaml @@ -65,9 +65,9 @@ tests: commissioning mode" verification: | 1. Follow vendor-specific steps from the pairing hint to put DUT into commissioning mode - 2. Verify DUT is advertising in commissioning mode. On DUT, + For devices already on the network: $ ./chip-tool discover commissionables Verify in TH as commissioner side: @@ -76,10 +76,18 @@ tests: [1651192893436] [15304:442604] CHIP: [DIS] Product ID: 32769 [1651192893436] [15304:442604] CHIP: [DIS] Long Discriminator: 3840 [1651192893436] [15304:442604] CHIP: [DIS] Pairing Hint: 33 - [1651192893436] [15304:442604] CHIP: [DIS] Hostname: DCA6328D6E320000 [1651192893436] [15304:442604] CHIP: [DIS] Instance Name: 914762134DA8E7D1 + [1651192893436] [15304:442604] CHIP: [DIS] Hostname: DCA6328D6E320000 + [1651192893436] [15304:442604] CHIP: [DIS] Instance Name: 914762134DA8E7D1 [1651192893436] [15304:442604] CHIP: [DIS] IP Address #1: fe80::dea6:32ff:fe8d:6e32 [1651192893436] [15304:442604] CHIP: [DIS] Port: 5540 [1651192893436] [15304:442604] CHIP: [DIS] Commissioning Mode: 1 [1651192893436] [15304:442604] CHIP: [DIS] Mrp Interval idle: 5000 ms [1651192893436] [15304:442604] CHIP: [DIS] Mrp Interval active: 300 ms + + For devices not on the network (i.e. BLE discovery): + 1. Discover commissionables over BLE using a BLE discovery tool of choice. + Try NRF Connect app (https://www.nordicsemi.com/Products/Development-tools/nrf-connect-for-desktop) + OR + HCIDump (https://ubuntu.com/core/docs/bluez/reference/commands) + Observe the DUT advertising in a commissionable state disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_1_5.yaml b/src/app/tests/suites/certification/Test_TC_DD_1_5.yaml index ef616a60cd51e5..c0163acbf8f5cc 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_1_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_1_5.yaml @@ -142,8 +142,3 @@ tests: Note: chip-tool does not support physically scanning an NFC tag disabled: true - - - label: "" - verification: | - verification step to be updated. - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_1_8.yaml b/src/app/tests/suites/certification/Test_TC_DD_1_8.yaml index 7f8cc8a2de63d2..0cdf7781ea6b68 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_1_8.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_1_8.yaml @@ -198,13 +198,3 @@ tests: Verify in DUT as commissioner side: [1659491845308] [14021:5374393] CHIP: [TOO] Device commissioning completed with success disabled: true - - - label: "" - verification: | - verification step to be updated. - disabled: true - - - label: "" - verification: | - verification step to be updated. - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_1_9.yaml b/src/app/tests/suites/certification/Test_TC_DD_1_9.yaml index 2d38a078bffc60..4da2369b612653 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_1_9.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_1_9.yaml @@ -27,13 +27,23 @@ config: endpoint: 0 tests: + - label: "Note" + verification: | + Chip-tool command used below are an example to verify the DUT as commissioner test cases. For certification test, we expect DUT should have a capability or way to run the equivalent command. + disabled: true + + - label: "Preconditions" + verification: | + Manual Pairing Code is printed on the device or in additional provided materials (ex: manual) + disabled: true + - label: "Provide the 11-digit/21-digit Manual Pairing Code from the TH Device in text, speech or any format supported by DUT" verification: | 1. Launch all-clusters-app on the raspi , get the Manual Pairing code from the log - ubuntu@matter-7:~/Apr18_dut/connectedhomeip/examples/all-clusters-app/linux/out/all-clusters-app$ sudo ./chip-all-clusters-app --wifi + $ sudo ./chip-all-clusters-app --wifi [13293:13293] CHIP:DL: Device Configuration: [1653306603.740569][13293:13293] CHIP:DL: Serial Number: TEST_SN @@ -57,9 +67,9 @@ tests: 2. Parse 11-digit Manual Pairing code - ubuntu@matter-7:~/Apr18_cntrl/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool payload parse-setup-payload 34970112332 + $ ./chip-tool payload parse-setup-payload 34970112332 - Verify in DUT as client side: + Verify in DUT as commissioner side: CHIP:SPL: Parsing decimalRepresentation: 34970112332 CHIP:SPL: CommissioningFlow: 0 CHIP:SPL: VendorID: 0 @@ -70,9 +80,9 @@ tests: CHIP:SPL: RendezvousInformation: 0 3. Parse 21-digit Manual Pairing code - ubuntu@matter-7:~/Apr18_cntrl/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool payload parse-setup-payload 749701123365521327694 + $ ./chip-tool payload parse-setup-payload 749701123365521327694 - Verify in DUT as client side: + Verify in DUT as commissoiner side: CHIP:SPL: Parsing decimalRepresentation: 749701123365521327694 CHIP:SPL: CommissioningFlow: 2 CHIP:SPL: VendorID: 65521 @@ -85,13 +95,13 @@ tests: 4. Parse payload by commissioning the TH ./chip-tool pairing code 1 34970112332 - Verify in DUT as client side: + Verify in DUT as commissioner side: [1653556303.582797][4071:4076] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0005 [1653556303.582850][4071:4076] CHIP:CTL: Received CommissioningComplete response, errorCode=0 - [1653556303.582891][4071:4076] CHIP:CTL: Successfully finished commissioning step "SendComplete" - [1653556303.582927][4071:4076] CHIP:CTL: Commissioning stage next step: "SendComplete" -> "Cleanup" - [1653556303.582964][4071:4076] CHIP:CTL: Performing next commissioning step "Cleanup" - [1653556303.583040][4071:4076] CHIP:CTL: Successfully finished commissioning step "Cleanup" + [1653556303.582891][4071:4076] CHIP:CTL: Successfully finished commissioning step 'SendComplete' + [1653556303.582927][4071:4076] CHIP:CTL: Commissioning stage next step: 'SendComplete' -> 'Cleanup' + [1653556303.582964][4071:4076] CHIP:CTL: Performing next commissioning step 'Cleanup' + [1653556303.583040][4071:4076] CHIP:CTL: Successfully finished commissioning step 'Cleanup' [1653556303.583110][4071:4076] CHIP:TOO: Device commissioning completed with success [1653556303.583209][4071:4076] CHIP:DMG: ICR moving to [AwaitingDe] [1653556303.583255][4071:4076] CHIP:EM: Sending Standalone Ack for MessageCounter:9735725 on exchange 24476i diff --git a/src/app/tests/suites/certification/Test_TC_DD_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DD_2_1.yaml index 389197ac1e2d81..da46bd937eabf5 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_2_1.yaml @@ -46,14 +46,32 @@ tests: MCORE.DD.CHIP_DEV && !(MCORE.DD.CHIP_DEV) && MCORE.DD.DEV_LOCK && MCORE.DD.DEV_BARRIER verification: | - If (PICS_CHIP_DEV) BLE discovery tool should discover the DUT else it should not - If !(PICS_CHIP_DEV) instruct DUT to start Advertising and scan again for commissionale devices using the BLE discovery tool - No applicable TH or DUT logs. + If (MCORE.DD.CHIP_DEV) IP/BLE discovery tool should discover the DUT else it should not + If !(MCORE.DD.CHIP_DEV) instruct DUT to start Advertising and scan again for commissionale devices using the IP/BLE discovery tool + + Verify in TH as commissioner side: + For devices already on the network: + $ ./chip-tool discover commissionables + [1651192893436] [15304:442604] CHIP: [DL] Mdns: OnNewAddress interface: 24 ip:fe80::dea6:32ff:fe8d:6e32 + [1651192893436] [15304:442604] CHIP: [DIS] Vendor ID: 65521 + [1651192893436] [15304:442604] CHIP: [DIS] Product ID: 32769 + [1651192893436] [15304:442604] CHIP: [DIS] Long Discriminator: 3840 + [1651192893436] [15304:442604] CHIP: [DIS] Pairing Hint: 33 + [1651192893436] [15304:442604] CHIP: [DIS] Hostname: DCA6328D6E320000 + [1651192893436] [15304:442604] CHIP: [DIS] Instance Name: 914762134DA8E7D1 + [1651192893436] [15304:442604] CHIP: [DIS] IP Address #1: fe80::dea6:32ff:fe8d:6e32 + [1651192893436] [15304:442604] CHIP: [DIS] Port: 5540 + [1651192893436] [15304:442604] CHIP: [DIS] Commissioning Mode: 1 + [1651192893436] [15304:442604] CHIP: [DIS] Mrp Interval idle: 5000 ms + [1651192893436] [15304:442604] CHIP: [DIS] Mrp Interval active: 300 ms + + For devices not on the network (i.e. BLE discovery): 1. Discover commissionables over BLE using a BLE discovery tool of choice. Try NRF Connect app (https://www.nordicsemi.com/Products/Development-tools/nrf-connect-for-desktop) OR HCIDump (https://ubuntu.com/core/docs/bluez/reference/commands) + Observe the DUT advertising in a commissionable state disabled: true - label: "TH does not respond to DUT and DUT keeps sending ADVs" diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_1.yaml index a745aae5ad4ba0..4aaf3a0f5f1017 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_1.yaml @@ -33,172 +33,21 @@ tests: "Commissioner and Commissionee discover each other and connect via the discovery mode applicable for the DUT." verification: | - Verify in DUT as commissionee side: sudo ./chip-all-clusters-app --wifi --discriminator 3841 - - [1653471956.966855][10713:10713] CHIP:SPT: PASE PBKDF iterations set to 1000 - [1653471956.966887][10713:10713] CHIP:SPT: LinuxCommissionableDataProvider didn"t get a PASE salt, generating one. - [1653471956.972152][10713:10713] CHIP:DL: Device Configuration: - [1653471956.972270][10713:10713] CHIP:DL: Serial Number: TEST_SN - [1653471956.972315][10713:10713] CHIP:DL: Vendor Id: 65521 (0xFFF1) - [1653471956.972354][10713:10713] CHIP:DL: Product Id: 32769 (0x8001) - [1653471956.972388][10713:10713] CHIP:DL: Hardware Version: 0 - [1653471956.972413][10713:10713] CHIP:DL: Setup Pin Code (0 for UNKNOWN/ERROR): 20202021 - [1653471956.972435][10713:10713] CHIP:DL: Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3841 (0xF01) - [1653471956.972464][10713:10713] CHIP:DL: Manufacturing Date: (not set) - [1653471956.972488][10713:10713] CHIP:DL: Device Type: 65535 (0xFFFF) - [1653471956.972509][10713:10713] CHIP:-: ==== Onboarding payload for Standard Commissioning Flow ==== - [1653471956.972546][10713:10713] CHIP:SVR: SetupQRCode: [MT:-24J0CEK01KA0648G00] - [1653471956.972579][10713:10713] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - [1653471956.972600][10713:10713] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J0CEK01KA0648G00 - [1653471956.972632][10713:10713] CHIP:SVR: Manual pairing code: [34970112332] - [1653471956.972654][10713:10713] CHIP:-: ==== Onboarding payload for Custom Commissioning Flows ==== - [1653471956.972715][10713:10713] CHIP:SVR: SetupQRCode: [MT:-24J048N01KA0648G00] - [1653471956.972748][10713:10713] CHIP:SVR: Copy/paste the below URL in a browser to see the QR Code: - [1653471956.972769][10713:10713] CHIP:SVR: https://dhrishi.github.io/connectedhomeip/qrcode.html?data=MT%3A-24J048N01KA0648G00 - [1653471956.972803][10713:10713] CHIP:SVR: Manual pairing code: [749701123365521327694] + 1. Place the DUT commissionee into a commissioning mode + For example DUT=chip-all-clusters-app: ./chip-all-clusters-app --wifi --discriminator 3841 Verify on TH as commissioner side: - connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool discover commissionables - Waiting for device responses... - CHIP:CTL: Generating ICAC - CHIP:DL: AUDIT: ===== RANDOM NUMBER GENERATOR AUDIT START ==== - CHIP:DL: AUDIT: * Validate buf1 and buf2 are <<>> - CHIP:DL: AUDIT: * Validate r1 and r2 are <<>> - CHIP:DL: AUDIT: * buf1: 3BE3E264C0A0A053248E93609D22044A - CHIP:DL: AUDIT: * buf2: E69C8767AD6B60907AD3633E774F38EB - CHIP:DL: AUDIT: * r1: 0x2A0E6454 r2: 0x16315893 - CHIP:DL: AUDIT: ===== RANDOM NUMBER GENERATOR AUDIT END ==== - CHIP:DL: writing settings to file (/tmp/chip_counters.ini-9yXPat) - CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) - CHIP:DL: NVS set: chip-counters/reboot-count = 23 (0x17) - CHIP:DL: Got Ethernet interface: eth0 - CHIP:DL: Found the primary Ethernet interface:eth0 - CHIP:DL: Got WiFi interface: wlan0 - CHIP:DL: Failed to reset WiFi statistic counts - CHIP:IN: UDP::Init bind&listen port=5541 - CHIP:IN: UDP::Init bound to port=5541 - CHIP:IN: UDP::Init bind&listen port=5541 - CHIP:IN: UDP::Init bound to port=5541 - CHIP:IN: TransportMgr initialized - CHIP:DIS: Init fabric pairing table with server storage - CHIP:DL: writing settings to file (/tmp/chip_counters.ini-zgCtZd) - CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini) - CHIP:DL: NVS set: chip-counters/GlobalMCTR = 25000 (0x61A8) - CHIP:CTL: System State Initialized... - CHIP:DL: MDNS failed to join multicast group on veth5731933 for address type IPv4: ../th - CHIP:DL: MDNS failed to join multicast group on vethbf7bfa6 for address type IPv4: ../th - CHIP:DL: MDNS failed to join multicast group on vethcf434e5 for address type IPv4: ../th - CHIP:ZCL: Using ZAP configuration... - CHIP:DIS: Verifying the received credentials - CHIP:IN: Generating compressed fabric ID using uncompressed fabric ID 0x0000000000000000 - CHIP:IN: 0x04, 0x66, 0xd6, 0xcf, 0x4c, 0x1e, 0x11, 0xc3, - CHIP:IN: 0x52, 0x4f, 0xa6, 0x8c, 0x6e, 0x65, 0x46, 0xdc, - CHIP:IN: 0x90, 0x1b, 0x5f, 0x42, 0x9f, 0x69, 0xd1, 0xb7, - CHIP:IN: 0x7d, 0xf3, 0x6b, 0x54, 0x12, 0x6c, 0x12, 0x59, - CHIP:IN: 0x5b, 0xc3, 0x07, 0x1c, 0x5c, 0xf4, 0x4e, 0x5f, - CHIP:IN: 0x71, 0x06, 0x9a, 0xbb, 0x2f, 0xef, 0x20, 0x0d, - CHIP:IN: 0x0e, 0x9b, 0x26, 0x3e, 0x8d, 0x46, 0x09, 0xd8, - CHIP:IN: 0xfd, 0xa1, 0xc0, 0x10, 0x4f, 0x05, 0x14, 0x99, - CHIP:IN: 0x22, - CHIP:IN: Generated compressed fabric ID - CHIP:IN: 0x4a, 0x53, 0x1e, 0x52, 0x06, 0xed, 0x06, 0xda, - CHIP:DIS: Added new fabric at index: 1, Initialized: 1 - CHIP:DIS: Assigned compressed fabric ID: 0x4A531E5206ED06DA, node ID: 0x000000000001B669 - CHIP:CTL: Joined the fabric at index 1. Compressed fabric ID is: 0x4A531E5206ED06DA - CHIP:DL: CHIP task running - CHIP:DIS: Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/UDP - CHIP:DIS: Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/UDP - CHIP:DIS: Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/UDP - CHIP:DIS: Attempt to mDNS broadcast failed: ../third_party/connectedhomeip/src/inet/UDP - CHIP:DIS: Discovered Node: - CHIP:DIS: Host name: EEAABADABAD0DDCA CHIP:DIS: Port: 5540 - CHIP:DIS: Long discriminator: 3840 - CHIP:DIS: Vendor ID: 9050 - CHIP:DIS: Product ID: 65279 - CHIP:DIS: Commissioning Mode 1 - CHIP:DIS: Device Type 0 - CHIP:DIS: Device Name - CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B - CHIP:DIS: Pairing Instruction - CHIP:DIS: Pairing Hint 0x21 - CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 2: 192.168.1.12 - CHIP:DIS: Discovered Node: - CHIP:DIS: Host name: EEAABADABAD0DDCA CHIP:DIS: Port: 5540 - CHIP:DIS: Long discriminator: 3840 - CHIP:DIS: Vendor ID: 9050 - CHIP:DIS: Product ID: 65279 - CHIP:DIS: Commissioning Mode 1 - CHIP:DIS: Device Type 0 - CHIP:DIS: Device Name - CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B - CHIP:DIS: Pairing Instruction - CHIP:DIS: Pairing Hint 0x21 - CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 2: 192.168.1.12 - CHIP:DIS: Discovered Node: - CHIP:DIS: Host name: EEAABADABAD0DDCA CHIP:DIS: Port: 5540 - CHIP:DIS: Long discriminator: 3840 - CHIP:DIS: Vendor ID: 9050 - CHIP:DIS: Product ID: 65279 - CHIP:DIS: Commissioning Mode 1 - CHIP:DIS: Device Type 0 - CHIP:DIS: Device Name - CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B - CHIP:DIS: Pairing Instruction - CHIP:DIS: Pairing Hint 0x21 - CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 2: 192.168.1.12 - CHIP:DIS: Discovered Node: - CHIP:DIS: Host name: EEAABADABAD0DDCA CHIP:DIS: Port: 5540 - CHIP:DIS: Long discriminator: 3840 - CHIP:DIS: Vendor ID: 9050 - CHIP:DIS: Product ID: 65279 - CHIP:DIS: Commissioning Mode 1 - CHIP:DIS: Device Type 0 - CHIP:DIS: Device Name - CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B - CHIP:DIS: Pairing Instruction - CHIP:DIS: Pairing Hint 0x21 - CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 2: 192.168.1.12 - CHIP:DIS: Discovered Node: - CHIP:DIS: Host name: EEAABADABAD0DDCA CHIP:DIS: Port: 5540 - CHIP:DIS: Long discriminator: 3840 - CHIP:DIS: Vendor ID: 9050 - CHIP:DIS: Product ID: 65279 - CHIP:DIS: Commissioning Mode 1 - CHIP:DIS: Device Type 0 - CHIP:DIS: Device Name - CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B - CHIP:DIS: Pairing Instruction - CHIP:DIS: Pairing Hint 0x21 - CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 2: 192.168.1.12 - CHIP:DIS: Discovered Node: - CHIP:DIS: Host name: EEAABADABAD0DDCA CHIP:DIS: Port: 5540 - CHIP:DIS: Long discriminator: 3840 - CHIP:DIS: Vendor ID: 9050 - CHIP:DIS: Product ID: 65279 - CHIP:DIS: Commissioning Mode 1 - CHIP:DIS: Device Type 0 - CHIP:DIS: Device Name - CHIP:DIS: Rotating Id 00007C5F6E176CD40F68685D100A1CF8A98B - CHIP:DIS: Pairing Instruction - CHIP:DIS: Pairing Hint 0x21 - CHIP:DIS: Address 0: 2402:e280:2108:181:dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 1: fe80::dea6:32ff:fef9:f0a1 - CHIP:DIS: Address 2: 192.168.1.12 - - - connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool pairing ble-wifi 1 zigbee-thread matter123 20202021 3841 - - connectedhomeip/examples/chip-tool/out/debug$ sudo ./chip-tool basic read product-name 1 0 + + For devices not on the network (i.e. BLE discovery): + 1. Pair the device over the applicable Discovery transport using TH=chip-tool + + For devices already on the network: + connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool pairing code 1 MT:-24J0AFN00KA0648G00 + [1657226543861] [30621:16744161] CHIP: [IN] SecureSession[0x6000007cc000]: Activated - Type:1 LSID:47293 + [1657226543861] [30621:16744161] CHIP: [IN] New secure session activated for device , LSID:47293 PSID:201! + [1657226543861] [30621:16744161] CHIP: [CTL] Remote device completed SPAKE2+ handshake + [1657226543861] [30621:16744161] CHIP: [CTL] Stopping commissioning discovery over DNS-SD + [1657226543861] [30621:16744161] CHIP: [TOO] Pairing Success disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_17.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_17.yaml index 5f5987a38855cf..746197044cba01 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_17.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_17.yaml @@ -335,13 +335,3 @@ tests: Verify in DUT Commissioner side: [1651187528666] [13631:367920] CHIP: [TOO] Run command failure: ../../examples/chip-tool/third_party/connectedhomeip/src/setup_payload/ManualSetupPayloadParser.cpp:50: CHIP Error 0x00000013: Integrity check failed disabled: true - - - label: "" - verification: | - verification step to be updated. - disabled: true - - - label: "" - verification: | - verification step to be updated. - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_19.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_19.yaml index d7dc97a42dd086..601cc49bbf8db3 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_19.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_19.yaml @@ -142,9 +142,9 @@ tests: $ ./chip-tool pairing code 1 MT:-24J0ALY01KA0648G00 [1651111613912] [95856:65679504] CHIP: [CTL] Received CommissioningComplete response - [1651111613912] [95856:65679504] CHIP: [CTL] Successfully finished commissioning step "SendComplete" - [1651111613912] [95856:65679504] CHIP: [CTL] Commissioning stage next step: "SendComplete" -> "Cleanup" - [1651111613912] [95856:65679504] CHIP: [CTL] Performing next commissioning step "Cleanup" - [1651111613912] [95856:65679504] CHIP: [CTL] Successfully finished commissioning step "Cleanup" + [1651111613912] [95856:65679504] CHIP: [CTL] Successfully finished commissioning step 'SendComplete' + [1651111613912] [95856:65679504] CHIP: [CTL] Commissioning stage next step: 'SendComplete' -> 'Cleanup' + [1651111613912] [95856:65679504] CHIP: [CTL] Performing next commissioning step 'Cleanup' + [1651111613912] [95856:65679504] CHIP: [CTL] Successfully finished commissioning step 'Cleanup' [1651111613912] [95856:65679504] CHIP: [TOO] Device commissioning completed with success disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_5.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_5.yaml index 8bb958ed534822..8a5a2bca9192e7 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_5.yaml @@ -154,13 +154,8 @@ tests: Commissionee." PICS: MCORE.COM.WIRELESS verification: | - Verify in DUT as commissioner side - Performing next commissioning step "ConfigRegulatory" - [1653471968.202645][30157:30162] CHIP:CTL: Setting Regulatory Config - [1653471968.202666][30157:30162] CHIP:CTL: No regulatory config supplied by controller, leaving as device default (0) - Verify in TH as commissionee side - NVS set: chip-config/regulatory-location = 0 (0x0) + NVS set: chip-config/regulatory-location = 0 (0x0) disabled: true - label: @@ -183,19 +178,9 @@ tests: "Commissioner configures operational credentials on DUT if not previously installed" verification: | - Verify in DUT as commissioner side: - - OpCreds: Received an AddTrustedRootCertificate command - Verify in TH as commissionee side: - Sending root certificate to the device - CHIP:DMG: ICR moving to [AddingComm] - CHIP:DMG: ICR moving to [AddedComma] - CHIP:IN: Prepared secure message 0xffffa4cdf8c8 to 0xFFFFFFFB00000000 (0) of type 0x8 and protocolId (0, 1) on exchange 23999i with MessageCounter:211812. - CHIP:IN: Sending encrypted msg 0xffffa4cdf8c8 with MessageCounter:211812 to 0xFFFFFFFB00000000 (0) at monotonic time: 00000000010D06BD msec - CHIP:DMG: ICR moving to [CommandSen] - CHIP:CTL: Sent root certificate to the device + OpCreds: Received an AddTrustedRootCertificate command disabled: true - label: @@ -265,46 +250,21 @@ tests: "Commissioner configures operational network on TH if TH both supports and requires" verification: | - Verify in DUT as commissioner side after commissioning: - [1646909537.345068][3145:3150] CHIP:CTL: Received certificate signing request from the device - Verifiy on TH as commissionee side: [1660151567834] [99153:10411339] CHIP: [CTL] Received certificate signing request from the device - [1660151567834] [99153:10411339] CHIP: [CTL] Successfully finished commissioning step "SendOpCertSigningRequest" + [1660151567834] [99153:10411339] CHIP: [CTL] Successfully finished commissioning step 'SendOpCertSigningRequest' disabled: true - label: "Commissioner instructs Commissionee to connect to operational network if not already connected" verification: | - Verify in DUT as commissioner side after commissioning: - [1646909537.976592][3145:3150] CHIP:CTL: Operational credentials provisioned on device 0xffffac001730 - [1646909537.976664][3145:3150] CHIP:TOO: Secure Pairing Success - Verifiy on TH as commissionee side: [1660152735.835717][648909:648909] CHIP:ZCL: OpCreds: successfully created fabric index 0x1 via AddNOC disabled: true - label: "Commissioner starts discovery of TH using Operational Discovery" verification: | - Verify in DUT as commissioner side: - - Commissioning stage next step: "WiFiNetworkEnable" -> "FindOperational" - [1653471976.344532][30157:30162] CHIP:CTL: Performing next commissioning step "FindOperational" - [1653471976.344586][30157:30162] CHIP:CSM: FindOrEstablishSession: PeerId = CCCB8A2597E4538B:0000000000000001 - [1653471976.344642][30157:30162] CHIP:CSM: FindOrEstablishSession: No existing OperationalDeviceProxy instance found - [1653471976.344715][30157:30162] CHIP:CTL: OperationalDeviceProxy[CCCB8A2597E4538B:0000000000000001]: State change 1 --> 2 - [1653471976.344783][30157:30162] CHIP:DIS: Resolving CCCB8A2597E4538B:0000000000000001 ... - [1653471976.346864][30157:30162] CHIP:DIS: Operational node lookup already in progress. Will NOT start a new one. - [1653471976.347000][30157:30162] CHIP:DMG: ICR moving to [AwaitingDe] - [1653471976.348514][30157:30162] CHIP:DL: Avahi resolve found - [1653471976.348597][30157:30162] CHIP:DIS: Node ID resolved for CCCB8A2597E4538B:0000000000000001 - [1653471976.348633][30157:30162] CHIP:DIS: Hostname: E45F010F27530000 [1653471976.348670][30157:30162] CHIP:DIS: IP Address #1: fe80::e65f:1ff:fe0f:2753 - [1653471976.348702][30157:30162] CHIP:DIS: Port: 5540 - [1653471976.348732][30157:30162] CHIP:DIS: Mrp Interval idle: 5000 ms - [1653471976.348762][30157:30162] CHIP:DIS: Mrp Interval active: 300 ms - [1653471976.349059][30157:30162] CHIP:DIS: UDP:[fe80::e65f:1ff:fe0f:2753%eth0]:5540: new best score: 3 - Verifiy on TH as commissionee side: [1660152735.835315][648909:648909] CHIP:DIS: Broadcasting mDns reply for query from fe80::808c:7ff:fefd:3b1 [1660152735.835522][648909:648909] CHIP:DIS: mDNS service published: _matter._tcp @@ -315,9 +275,9 @@ tests: - label: "Commissioner opens a CASE session with TH over operational network" verification: | - Verify in DUT as commissioner side: + Verify in TH as commissionee side: - CASE Server enabling CASE session setups + CASE Server enabling CASE session setups [1653471957.713139][10713:10713] CHIP:SVR: Joining Multicast groups [1653471957.713654][10713:10713] CHIP:ZCL: Emitting StartUp event [1653471957.714762][10713:10713] CHIP:EVL: LogEvent event number: 0x0000000000000000 priority: 2, endpoint id: 0x0 cluster id: 0x0000_0028 event id: 0x0 Sys timestamp: 0x000000000059AC88 @@ -326,9 +286,6 @@ tests: - label: "Commissioner sends CommissioningComplete command" verification: | - Verify in DUT as commissioner side: - CHIP:CTL: Received CommissioningComplete response - Verifiy on TH as commissionee side: [1660154248.898113][7143:7143] CHIP:SVR: Commissioning completed successfully disabled: true @@ -337,23 +294,8 @@ tests: "Commissioning channel between the Commissioner and Commissionee is terminated." verification: | - Verify in DUT as commissioner side: - - CHIP:CTL: Successfully finished commissioning step "SendComplete" - CHIP:CTL: Commissioning stage next step: "SendComplete" -> "Cleanup" - CHIP:CTL: Performing next commissioning step "Cleanup" - CHIP:CTL: Successfully finished commissioning step "Cleanup" - CHIP:TOO: Device commissioning completed with success - CHIP:CTL: Performing next commissioning step "Cleanup" - CHIP:DIS: Closing all BLE connections - CHIP:IN: Clearing BLE pending packets. - CHIP:BLE: Auto-closing end point"s BLE connection. - CHIP:DL: Closing BLE GATT connection (con 0xffff9c04df70) - CHIP:CTL: Successfully finished commissioning step "Cleanup" - CHIP:TOO: Device commissioning completed with success - Verify on TH as commissionee side: [1660154249.008047][7143:7143] CHIP:IN: Expiring all PASE sessions [1660154249.008069][7143:7143] CHIP:IN: SecureSession[0xaaab09155000]: MarkForEviction Type:1 LSID:5786 - [1660154249.008090][7143:7143] CHIP:SC: SecureSession[0xaaab09155000]: Moving from state "kActive" --> "kPendingEviction" + [1660154249.008090][7143:7143] CHIP:SC: SecureSession[0xaaab09155000]: Moving from state 'kActive' --> 'kPendingEviction' disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_8.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_8.yaml index 95b80018c71c01..b6c7ac79961a11 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_8.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_8.yaml @@ -769,8 +769,3 @@ tests: CHIP:CTL: Rendezvous cleanup CHIP:TOO: Device commissioning completed with success disabled: true - - - label: "" - verification: | - verification step to be updated. - disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_DD_3_9.yaml b/src/app/tests/suites/certification/Test_TC_DD_3_9.yaml index 7e181f2c075a3d..a1095fc60102da 100644 --- a/src/app/tests/suites/certification/Test_TC_DD_3_9.yaml +++ b/src/app/tests/suites/certification/Test_TC_DD_3_9.yaml @@ -56,6 +56,7 @@ tests: 2. Verify DUT is advertising in commissioning mode. On DUT, + For devices already on the network: $ ./chip-tool discover commissionables Verify in TH as commissioner side: @@ -64,17 +65,27 @@ tests: [1651192893436] [15304:442604] CHIP: [DIS] Product ID: 32769 [1651192893436] [15304:442604] CHIP: [DIS] Long Discriminator: 3840 [1651192893436] [15304:442604] CHIP: [DIS] Pairing Hint: 33 - [1651192893436] [15304:442604] CHIP: [DIS] Hostname: DCA6328D6E320000 [1651192893436] [15304:442604] CHIP: [DIS] Instance Name: 914762134DA8E7D1 + [1651192893436] [15304:442604] CHIP: [DIS] Hostname: DCA6328D6E320000 + [1651192893436] [15304:442604] CHIP: [DIS] Instance Name: 914762134DA8E7D1 [1651192893436] [15304:442604] CHIP: [DIS] IP Address #1: fe80::dea6:32ff:fe8d:6e32 [1651192893436] [15304:442604] CHIP: [DIS] Port: 5540 [1651192893436] [15304:442604] CHIP: [DIS] Commissioning Mode: 1 [1651192893436] [15304:442604] CHIP: [DIS] Mrp Interval idle: 5000 ms [1651192893436] [15304:442604] CHIP: [DIS] Mrp Interval active: 300 ms + + + For devices not on the network (i.e. BLE discovery): + 1. Discover commissionables over BLE using a BLE discovery tool of choice. + Try NRF Connect app (https://www.nordicsemi.com/Products/Development-tools/nrf-connect-for-desktop) + OR + HCIDump (https://ubuntu.com/core/docs/bluez/reference/commands) + Observe the DUT advertising in a commissionable state disabled: true - label: "DUT is commissioned by the TH" verification: | - 1. Verify that the DUT is commissioned to the TH commissioner successfully + 1. Pair the DUT commissionee using the TH=chip-tool commissioner on the applicable Discovery technology (IP, BLE, etc.) + 2. Verify that the DUT is commissioned to the TH commissioner successfully Verify on the TH as commissioner side: CHIP:CTL: Received CommissioningComplete response diff --git a/src/app/tests/suites/certification/Test_TC_DGGEN_2_2.yaml b/src/app/tests/suites/certification/Test_TC_DGGEN_2_2.yaml index 3d863c10062229..f48c38130e6605 100644 --- a/src/app/tests/suites/certification/Test_TC_DGGEN_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGGEN_2_2.yaml @@ -27,7 +27,7 @@ config: tests: - label: "Note" verification: | - "NOTE: https://github.com/project-chip/connectedhomeip/tree/master/examples/all-clusters-app/linux#readme + "https://github.com/project-chip/connectedhomeip/tree/master/examples/all-clusters-app/linux#readme Events to be executed as following 1. Compile app using below command in connectedhomeip folder a. ./scripts/run_in_build_env.sh "./scripts/build/build_examples.py --target linux-arm64-all-clusters-no-ble-asan-clang build" @@ -54,7 +54,7 @@ tests: Optional attribute so its not compulsory to get the expected outcome On Raspi platform the event is triggered with below command, Pls use equivalent command on the respective DUT - "echo "{"Name":"HardwareFaultChange"}" > /tmp/chip_all_clusters_fifo- (PID of all-clusters-app)" + echo '{"Name":"HardwareFaultChange"}' > /tmp/chip_all_clusters_fifo_ (PID of all-clusters-app) ./chip-tool generaldiagnostics read-event hardware-fault-change 1 0 @@ -83,7 +83,7 @@ tests: Optional attribute so its not compulsory to get the expected outcome On Raspi platform the event is triggered with below command, Pls use equivalent command on the respective DUT - "echo "{"Name":"RadioFaultChange"}" > /tmp/chip_all_clusters_fifo- (PID of all-clusters-app)" + echo '{"Name":"RadioFaultChange"}' > /tmp/chip_all_clusters_fifo_ (PID of all-clusters-app) ./chip-tool generaldiagnostics read-event radio-fault-change 1 0 @@ -109,7 +109,7 @@ tests: PICS: DGGEN.S.E02 verification: | On Raspi platform the event is triggered with below command, Pls use equivalent command on the respective DUT - "echo "{"Name":"NetworkFaultChange"}" > /tmp/chip_all_clusters_fifo- (PID of all-clusters-app)" + echo '{"Name":"NetworkFaultChange"}' > /tmp/chip_all_clusters_fifo_ (PID of all-clusters-app) ./chip-tool generaldiagnostics read-event network-fault-change 1 0 On TH(chip-tool) verify that read response of NetworkFault event is shown @@ -132,7 +132,7 @@ tests: Optional attribute so its not compulsory to get the expected outcome On Raspi platform the event is triggered with below command, Pls use equivalent command on the respective DUT - "echo "{"Name":""}" > /tmp/chip_all_clusters_fifo- (PID of all-clusters-app)" + echo '{"Name":""}' > /tmp/chip_all_clusters_fifo_ (PID of all-clusters-app) ./chip-tool generaldiagnostics read-event boot-reason 1 0 diff --git a/src/app/tests/suites/certification/Test_TC_DGGEN_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DGGEN_3_1.yaml index 1568bc776cdcc2..68b21c03add167 100644 --- a/src/app/tests/suites/certification/Test_TC_DGGEN_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGGEN_3_1.yaml @@ -31,7 +31,7 @@ tests: - label: "Commission TH to DUT" verification: | - verification step to be updated. + disabled: true - label: "DUT reads NetworkInterfaces structure attribute from TH." diff --git a/src/app/tests/suites/certification/Test_TC_DGTHREAD_1_1.yaml b/src/app/tests/suites/certification/Test_TC_DGTHREAD_1_1.yaml index 88a66a5ed71291..ba6f97ae5c98de 100644 --- a/src/app/tests/suites/certification/Test_TC_DGTHREAD_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGTHREAD_1_1.yaml @@ -42,8 +42,8 @@ tests: - label: "TH reads the FeatureMap from DUT" PICS: - " !DGTHREAD.S.F00 && !DGTHREAD.S.F00 && !DGTHREAD.S.F00 && - !DGTHREAD.S.F00 " + " !DGTHREAD.S.F00 && !DGTHREAD.S.F01 && !DGTHREAD.S.F02 && + !DGTHREAD.S.F03 " command: "readAttribute" attribute: "FeatureMap" response: @@ -54,7 +54,7 @@ tests: - label: "Given DGTHREAD.S.F00(PKTCNT) ensure featuremap has the correct bit set" - PICS: DGETH.S.F00 + PICS: DGTHREAD.S.F00 command: "readAttribute" attribute: "FeatureMap" response: @@ -65,7 +65,7 @@ tests: - label: "Given DGTHREAD.S.F01(ERRCNT) ensure featuremap has the correct bit set" - PICS: DGETH.S.F01 + PICS: DGTHREAD.S.F01 command: "readAttribute" attribute: "FeatureMap" response: @@ -76,7 +76,7 @@ tests: - label: "Given DGTHREAD.S.F02(MLECNT) ensure featuremap has the correct bit set" - PICS: DGETH.S.F00 + PICS: DGTHREAD.S.F02 command: "readAttribute" attribute: "FeatureMap" response: @@ -87,7 +87,7 @@ tests: - label: "Given DGTHREAD.S.F03(MACCNT) ensure featuremap has the correct bit set" - PICS: DGETH.S.F01 + PICS: DGTHREAD.S.F03 command: "readAttribute" attribute: "FeatureMap" response: @@ -95,7 +95,7 @@ tests: type: bitmap32 hasMasksSet: [0x8] - - label: "TH reads AttributeList from DUT" + - label: "TH reads mandatory attributes in AttributeList from DUT" command: "readAttribute" attribute: "AttributeList" response: @@ -127,6 +127,44 @@ tests: 65533, ] + - label: + "TH reads Feature dependent attribute(DGTHREAD.S.F01(ERRCNT)) in + attributeList" + PICS: DGTHREAD.C.A0006 && DGTHREAD.S.F01 + command: "readAttribute" + attribute: "AttributeList" + response: + constraints: + type: list + contains: [6] + + - label: "Read the optional attribute(ActiveTimestamp) in AttributeList" + PICS: DGTHREAD.S.A0039 + command: "readAttribute" + attribute: "AttributeList" + response: + constraints: + type: list + contains: [56] + + - label: "Read the optional attribute(PendingTimestamp) in AttributeList" + PICS: DGTHREAD.S.A003A + command: "readAttribute" + attribute: "AttributeList" + response: + constraints: + type: list + contains: [57] + + - label: "Read the optional attribute(Delay) in AttributeList" + PICS: DGTHREAD.S.A003B + command: "readAttribute" + attribute: "AttributeList" + response: + constraints: + type: list + contains: [58] + - label: "TH reads AcceptedCommandList from DUT" command: "readAttribute" attribute: "AcceptedCommandList" diff --git a/src/app/tests/suites/certification/Test_TC_DGTHREAD_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DGTHREAD_2_1.yaml index 269677250dae0d..a204f2abfa3943 100644 --- a/src/app/tests/suites/certification/Test_TC_DGTHREAD_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGTHREAD_2_1.yaml @@ -414,7 +414,7 @@ tests: type: int64u - label: "TH reads Delay attribute value from DUT" - PICS: DGTHREAD.S.A003a + PICS: DGTHREAD.S.A003A command: "readAttribute" attribute: "Delay" response: @@ -441,7 +441,7 @@ tests: [1649825860.867921][3472:3477] CHIP:TOO: } cluster: "LogCommands" command: "UserPrompt" - PICS: PICS_USER_PROMPT && DGTHREAD.S.A003b + PICS: PICS_USER_PROMPT && DGTHREAD.S.A003B arguments: values: - name: "message" diff --git a/src/app/tests/suites/certification/Test_TC_DGTHREAD_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DGTHREAD_3_1.yaml index 001f2a99646552..6fc939806ac694 100644 --- a/src/app/tests/suites/certification/Test_TC_DGTHREAD_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGTHREAD_3_1.yaml @@ -31,7 +31,7 @@ tests: - label: "Commission DUT to TH" verification: | - verification step to be updated. + disabled: true - label: "DUT reads Channel attribute value from TH" diff --git a/src/app/tests/suites/certification/Test_TC_DGTHREAD_3_2.yaml b/src/app/tests/suites/certification/Test_TC_DGTHREAD_3_2.yaml index c40933dec21d5c..3cf18135bf4298 100644 --- a/src/app/tests/suites/certification/Test_TC_DGTHREAD_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGTHREAD_3_2.yaml @@ -31,7 +31,7 @@ tests: - label: "Commission DUT to TH" verification: | - verification step to be updated. + disabled: true - label: "DUT reads TxTotalCount attribute value from TH" diff --git a/src/app/tests/suites/certification/Test_TC_DGTHREAD_3_3.yaml b/src/app/tests/suites/certification/Test_TC_DGTHREAD_3_3.yaml index eac8cbd655f006..d4f3d9a1cc8d87 100644 --- a/src/app/tests/suites/certification/Test_TC_DGTHREAD_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGTHREAD_3_3.yaml @@ -31,7 +31,7 @@ tests: - label: "Commission DUT to TH" verification: | - verification step to be updated. + disabled: true - label: "DUT reads RxTotalCount attribute value from TH" diff --git a/src/app/tests/suites/certification/Test_TC_DGTHREAD_3_4.yaml b/src/app/tests/suites/certification/Test_TC_DGTHREAD_3_4.yaml index 76cf3cf71c6ac0..10119cfb35fa7e 100644 --- a/src/app/tests/suites/certification/Test_TC_DGTHREAD_3_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGTHREAD_3_4.yaml @@ -31,7 +31,7 @@ tests: - label: "Commission TH to DUT" verification: | - verification step to be updated. + disabled: true - label: "DUT sends ResetCounts Command to TH" diff --git a/src/app/tests/suites/certification/Test_TC_DGWIFI_1_1.yaml b/src/app/tests/suites/certification/Test_TC_DGWIFI_1_1.yaml index 5e1e29e4de2037..a8e578cbbe51af 100644 --- a/src/app/tests/suites/certification/Test_TC_DGWIFI_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGWIFI_1_1.yaml @@ -48,15 +48,27 @@ tests: constraints: type: bitmap32 - - label: "TH reads the FeatureMap from DUT" - PICS: DGWIFI.S.F00 || DGWIFI.S.F01 + - label: + "Given DGWIFI.S.F00(PacketCounts) ensure featuremap has the correct + bit set" + PICS: DGWIFI.S.F00 + command: "readAttribute" + attribute: "FeatureMap" + response: + constraints: + type: bitmap32 + hasMasksSet: [0x1] + + - label: + "Given DGWIFI.S.F01(ErrorCounts) ensure featuremap has the correct bit + set" + PICS: DGWIFI.S.F01 command: "readAttribute" attribute: "FeatureMap" response: constraints: type: bitmap32 - minValue: 1 - maxValue: 3 + hasMasksSet: [0x2] - label: "TH reads AttributeList from DUT" command: "readAttribute" diff --git a/src/app/tests/suites/certification/Test_TC_DGWIFI_3_1.yaml b/src/app/tests/suites/certification/Test_TC_DGWIFI_3_1.yaml index eb49f9c7ae411f..ff255ad58bd966 100644 --- a/src/app/tests/suites/certification/Test_TC_DGWIFI_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGWIFI_3_1.yaml @@ -32,7 +32,7 @@ tests: - label: "Commission TH to DUT" verification: | - verification step to be updated. + disabled: true - label: "TH reads BSSID attribute from DUT." diff --git a/src/app/tests/suites/certification/Test_TC_DGWIFI_3_2.yaml b/src/app/tests/suites/certification/Test_TC_DGWIFI_3_2.yaml index e321298d3d1665..eb07eb87f07f0b 100644 --- a/src/app/tests/suites/certification/Test_TC_DGWIFI_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DGWIFI_3_2.yaml @@ -31,7 +31,7 @@ tests: - label: "Commission TH to DUT" verification: | - verification step to be updated. + disabled: true - label: "DUT sends ResetCounts command to TH" diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_2.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_2.yaml index f4ebc104b3b72a..c59b668ce7a216 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_2.yaml @@ -306,29 +306,45 @@ tests: - name: "expectedValue" value: "y" - - label: "TH reads the UserCodeTemporaryDisableTime attribute from the DUT" - PICS: DRLK.S.A0031 - command: "readAttribute" - attribute: "UserCodeTemporaryDisableTime" - response: - value: 10 + - label: + "Wait for PIXIT.DRLK.UserCodeTemporaryDisableTime.TH then sends an + Unlock Door Command from User1 to the DUT with the valid PINCode." + verification: | + ./chip-tool doorlock read user-code-temporary-disable-time 1 1 - - label: "Wait 15000ms" - cluster: "DelayCommands" - command: "WaitForMs" - arguments: - values: - - name: "ms" - value: 15000 + Verify "UserCodeTemporaryDisable" on the TH(Chip-tool) Log: - - label: "TH sends the unlock Door command to the DUT with valid PINCode" - PICS: DRLK.S.A0030 - command: "UnlockDoor" - timedInteractionTimeoutMs: 1000 + [1661767967.006958][131055:131060] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Attribute 0x0000_0031 DataVersion: 683420143 + [1661767967.006988][131055:131060] CHIP:TOO: UserCodeTemporaryDisableTime: 10 + + ./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000 --PinCode 123456 + + Verify " DUT sends success response" on the TH(Chip-tool) Log: + + [1659517972.769737][33910:33915] CHIP:DMG: + [1659517972.769774][33910:33915] CHIP:DMG: StatusIB = + [1659517972.769815][33910:33915] CHIP:DMG: { + [1659517972.769856][33910:33915] CHIP:DMG: status = 0x00 (SUCCESS), + [1659517972.769899][33910:33915] CHIP:DMG: }, + [1659517972.769939][33910:33915] CHIP:DMG: + [1659517972.769974][33910:33915] CHIP:DMG: }, + [1659517972.770015][33910:33915] CHIP:DMG: + [1659517972.770045][33910:33915] CHIP:DMG: }, + [1659517972.770080][33910:33915] CHIP:DMG: + [1659517972.770109][33910:33915] CHIP:DMG: ], + [1659517972.770144][33910:33915] CHIP:DMG: + [1659517972.770172][33910:33915] CHIP:DMG: InteractionModelRevision = 1 + [1659517972.770200][33910:33915] CHIP:DMG: }, + [1659517972.770267][33910:33915] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0001 Status=0x0 + cluster: "LogCommands" + command: "UserPrompt" + PICS: PICS_USER_PROMPT && DRLK.S.A0030 arguments: values: - - name: "PINCode" - value: "123456" + - name: "message" + value: "Please enter 'y' for success" + - name: "expectedValue" + value: "y" - label: "TH writes WrongCodeEntryLimit attribute value as between 1 and 255 on diff --git a/src/app/tests/suites/certification/Test_TC_DRLK_2_9.yaml b/src/app/tests/suites/certification/Test_TC_DRLK_2_9.yaml index 7143b563189df8..7a26ee17ad8ab8 100644 --- a/src/app/tests/suites/certification/Test_TC_DRLK_2_9.yaml +++ b/src/app/tests/suites/certification/Test_TC_DRLK_2_9.yaml @@ -231,7 +231,9 @@ tests: Set Credential Response command with response as OCCUPIED if the CredentialIndex is repeated" verification: | - ./chip-tool doorlock set-credential 0 '{ "credentialType" : 1, "credentialIndex" : 1 }' 123456 2 0 0 1 1 --timedInteractionTimeoutMs 1000 + ./chip-tool doorlock set-credential 0 '{ "credentialType" : 1, "credentialIndex" : 1 }' 123456 1 null null 1 1 --timedInteractionTimeoutMs 1000 + + Verify "DUT sends Set Credential Response command with response as DUPLICATE or OCCUPIED" on the TH(Chip-tool) Log: [1656506733.767451][27276:27281] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0023 [1656506733.767542][27276:27281] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Command 0x0000_0023 @@ -284,15 +286,17 @@ tests: Set Credential Response command with response as OCCUPIED if the CredentialIndex is repeated" verification: | - ./chip-tool doorlock set-credential 0 '{ "credentialType" : 1, "credentialIndex" : 3 }' 123456 3 0 0 1 1 --timedInteractionTimeoutMs 1000 + ./chip-tool doorlock set-credential 0 '{ "credentialType" : 1, "credentialIndex" : 1 }' 123457 1 null null 1 1 --timedInteractionTimeoutMs 1000 - [1656506733.767451][27276:27281] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0023 - [1656506733.767542][27276:27281] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Command 0x0000_0023 - [1656506733.767663][27276:27281] CHIP:TOO: SetCredentialResponse: { - [1656506733.767731][27276:27281] CHIP:TOO: status: 2 - [1656506733.767779][27276:27281] CHIP:TOO: userIndex: null - [1656506733.767826][27276:27281] CHIP:TOO: nextCredentialIndex: 4 - [1656506733.767871][27276:27281] CHIP:TOO: } + Verify "DUT sends Set Credential Response command with response as DUPLICATE or OCCUPIED" on the TH(Chip-tool) Log: + + [1660216276.191641][71849:71854] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0023 + [1660216276.191673][71849:71854] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Command 0x0000_0023 + [1660216276.191725][71849:71854] CHIP:TOO: SetCredentialResponse: { + [1660216276.191752][71849:71854] CHIP:TOO: status: 3 + [1660216276.191764][71849:71854] CHIP:TOO: userIndex: null + [1660216276.191776][71849:71854] CHIP:TOO: nextCredentialIndex: 2 + [1660216276.191798][71849:71854] CHIP:TOO: } cluster: "LogCommands" command: "UserPrompt" PICS: PICS_USER_PROMPT && DRLK.S.F08 && DRLK.S.C22.Rsp && DRLK.S.C23.Tx @@ -337,15 +341,20 @@ tests: Set Credential Response command with response as OCCUPIED if the CredentialIndex is repeated" verification: | - ./chip-tool doorlock set-credential 0 '{ "credentialType" : 1, "credentialIndex" : 3 }' 123456 2 0 0 1 1 --timedInteractionTimeoutMs 1000 + Mark as not applicable and proceed to next step - [1656506733.767451][27276:27281] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0023 - [1656506733.767542][27276:27281] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Command 0x0000_0023 - [1656506733.767663][27276:27281] CHIP:TOO: SetCredentialResponse: { - [1656506733.767731][27276:27281] CHIP:TOO: status: 2 - [1656506733.767779][27276:27281] CHIP:TOO: userIndex: null - [1656506733.767826][27276:27281] CHIP:TOO: nextCredentialIndex: 4 - [1656506733.767871][27276:27281] CHIP:TOO: } + ./chip-tool doorlock set-credential 2 '{ "credentialType" : 1, "credentialIndex" : 3 }' 123456 1 null null 1 1 --timedInteractionTimeoutMs 1000 + + Verify "DUT sends Set Credential Response command with response as OCCUPIED" on the TH(Chip-tool) Log: + + [1658473055.384297][2667:2672] CHIP:DMG: }, + [1658473055.384374][2667:2672] CHIP:DMG: Received Command Response Data, Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0023 + [1658473055.384433][2667:2672] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0101 Command 0x0000_0023 + [1658473055.384516][2667:2672] CHIP:TOO: SetCredentialResponse: { + [1658473055.384571][2667:2672] CHIP:TOO: status: 2 + [1658473055.384602][2667:2672] CHIP:TOO: userIndex: null + [1658473055.384632][2667:2672] CHIP:TOO: nextCredentialIndex: 4 + [1658473055.384660][2667:2672] CHIP:TOO: } cluster: "LogCommands" command: "UserPrompt" PICS: PICS_USER_PROMPT && DRLK.S.F08 && DRLK.S.C22.Rsp && DRLK.S.C23.Tx diff --git a/src/app/tests/suites/certification/Test_TC_G_3_2.yaml b/src/app/tests/suites/certification/Test_TC_G_3_2.yaml index eb88b756cc9e59..01349f49a0c13d 100644 --- a/src/app/tests/suites/certification/Test_TC_G_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_G_3_2.yaml @@ -34,7 +34,7 @@ tests: verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) - ./chip-tool groups get-group-membership "[33]" 1 1 + ./chip-tool groups get-group-membership "[0002]" 1 1 Verify the "GetGroupMembership command response" on the TH(Allcluster-app) Log: @@ -49,7 +49,7 @@ tests: - label: "DUT sends RemoveGroup command to TH" PICS: G.C.C03.Tx verification: | - ./chip-tool groups remove-group 0x0021 1 1 + ./chip-tool groups remove-group 0x0002 1 1 Verify the "RemoveGroup command response" on the TH(Allcluster-app) Log: [1659609128.634829][3355:3355] CHIP:DMG: InteractionModelRevision = 1 @@ -78,7 +78,17 @@ tests: - label: "DUT sends AddGroupIfIdentifying command to TH" PICS: G.C.C05.Tx verification: | - ./chip-tool groups add-group-if-identifying 0x0052 gp54 1 0 + ./chip-tool identify identify 0x0078 1 1 + + Verify the "status is success" on the TH(Chip-tool) Log: + + [1658306666.592846][3044:3049] CHIP:DMG: StatusIB = + [1658306666.592889][3044:3049] CHIP:DMG: { + [1658306666.592962][3044:3049] CHIP:DMG: status = 0x00 (SUCCESS), + [1658306666.593007][3044:3049] CHIP:DMG: }, + + + ./chip-tool groups add-group-if-identifying 0x0004 gp4 1 0 Verify the "AddGroupIfIdentifying command response" on the TH(Allcluster-app) Log: diff --git a/src/app/tests/suites/certification/Test_TC_IDM_4_1.yaml b/src/app/tests/suites/certification/Test_TC_IDM_4_1.yaml index f6843e1e8f24a9..90a9e53e814f14 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_4_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_4_1.yaml @@ -535,7 +535,8 @@ tests: Please use Interactive mode to Verify subscription test cases Here the command to enter interactive mode:-- ./chip-tool interactive start - any subscribe-by-id "6,8,3" "0,1,0" 10 100 1 "1,1,1" + any subscribe-by-id '6,8,3' '0,1,0' 10 100 1 '1,1,1' + On TH (On the reference app) Verify if DUT is responding with the below status response for the above command diff --git a/src/app/tests/suites/certification/Test_TC_IDM_6_1.yaml b/src/app/tests/suites/certification/Test_TC_IDM_6_1.yaml index 66beebca83d8a5..2e7542d0b05cbd 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_6_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_6_1.yaml @@ -632,8 +632,7 @@ tests: DUT -> TH ReportData, last chunk, SuppressResponse set to true TH -> DUT standalone ack - On TH(chip-tool) verify that The last chunked message should not receive any status response from the DUT - + If the DUT has to provision to verify the logs, On DUT(all-cluster-app)verify that The last chunked message should not receive any status response [1656510389.524811][20396:20396] CHIP:DMG: Fetched 16 events [1656510389.524838][20396:20396] CHIP:DMG: Sending report (payload has 973 bytes)... [1656510389.524864][20396:20396] CHIP:DMG: IM RH moving to [AwaitingReportResponse] diff --git a/src/app/tests/suites/certification/Test_TC_IDM_6_2.yaml b/src/app/tests/suites/certification/Test_TC_IDM_6_2.yaml index c7947a866f51cb..eb766a273d658d 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_6_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_6_2.yaml @@ -1177,7 +1177,7 @@ tests: basic subscribe-event-by-id 0x000 100 1000 1 0 --event-min 1 - On TH(chip-tool) verify that the Report Data Message with empty EventReports from DUT + On TH(chip-tool) verify that the Report Data Message with empty EventReports from DUT and Verify that the subsequent ReportData actions as part of the subscription include the latest EventNo associated with each node generating new events. [1655980488.281744][4665:4671] CHIP:EM: Removed CHIP MessageCounter:255017723 from RetransTable on exchange 3120i [1655980488.281823][4665:4671] CHIP:DMG: ReportDataMessage = [1655980488.281891][4665:4671] CHIP:DMG: { @@ -1186,6 +1186,10 @@ tests: [1655980488.282046][4665:4671] CHIP:DMG: } [1655980488.282129][4665:4671] CHIP:DMG: MoveToState ReadClient[0xffff94006ea0]: Moving to [AwaitingSu] [1655980488.282222][4665:4671] CHIP:EM: Piggybacking Ack for MessageCounter:7910071 on exchange: 3120i + + + Note:- + While sending --event-min parameter in TH pls make sure event number is less than the EventMin field disabled: true - label: diff --git a/src/app/tests/suites/certification/Test_TC_IDM_8_1.yaml b/src/app/tests/suites/certification/Test_TC_IDM_8_1.yaml index c34016628540da..1ea5fb74b3a3d8 100644 --- a/src/app/tests/suites/certification/Test_TC_IDM_8_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_IDM_8_1.yaml @@ -110,7 +110,7 @@ tests: verification: | By sending the command mentioned below, change attribute values on DUT to create events multiple times.Send a fabric-filtered Read Request Message from each of RC1 and RC2 - ./chip-tool accesscontrol read acl 1 0 + ./chip-tool accesscontrol read acl 1 0 On RC1, verify that acl atrribute reading an entries from DUT [1660736093.612611][8743:8748] CHIP:DMG: } [1660736093.612923][8743:8748] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1094083523 @@ -124,11 +124,10 @@ tests: [1660736093.613294][8743:8748] CHIP:TOO: FabricIndex: 1 [1660736093.613323][8743:8748] CHIP:TOO: } [1660736093.613424][8743:8748] CHIP:EM: Sending Standalone Ack for MessageCounter:107756092 on exchange 62143i - i - ./chip-tool accesscontrol read acl 2 0 --commissioner-name beta - On RC2, verify that acl atrribute reading an entries from DUT + ./chip-tool accesscontrol read acl 2 0 --commissioner-name beta + On RC2, verify that acl atrribute reading an entries from DUT [1660736154.632572][16573:16579] CHIP:DMG: } [1660736154.632618][16573:16579] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1094083523 [1660736154.632629][16573:16579] CHIP:TOO: ACL: 1 entries @@ -146,7 +145,7 @@ tests: From RC1 send a Write Request message to the DUT to write to an entry in the fabric scoped list associated with its own fabric. - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects":[1,112233], "targets": [{ "cluster":31, "endpoint":0, "deviceType":null }]}]" 1 0 + ./chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode": 2, "subjects":[1,112233], "targets": [{ "cluster":31, "endpoint":0, "deviceType":null }]}]' 1 0 On RC1, Verify the success response from DUT @@ -196,7 +195,7 @@ tests: - Send fabric-filtered Read Request Message from each of RC1 and RC2 to read the fabric scoped list from the DUT. + Send fabric-filtered Read Request Message from each of RC1 and RC2 to read the fabric scoped list from the DUT. ./chip-tool accesscontrol read acl 1 0 @@ -222,7 +221,7 @@ tests: - ./chip-tool accesscontrol read acl 2 0 --commissioner-name beta + ./chip-tool accesscontrol read acl 2 0 --commissioner-name beta On RC2, Verify that the data received from DUT is same as the data received in first read request [1660736551.755490][16621:16626] CHIP:DMG: } [1660736551.755536][16621:16626] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0000 DataVersion: 1094083525 @@ -242,7 +241,7 @@ tests: With the above command, we are overwriting the default privilege that chip-tool has as an admin. After this test step you need to send below mentioned command to Grant access to all clusters again. - ./chip-tool accesscontrol write acl "[{"fabricIndex": 1, "privilege": 5, "authMode":2, "subjects":[112233], "targets":null}]" 1 0 + ./chip-tool accesscontrol write acl '[{"fabricIndex": 1, "privilege": 5, "authMode":2, "subjects":[112233], "targets":null}]' 1 0 disabled: true - label: @@ -301,7 +300,7 @@ tests: - RC1 sends an Invoke command(UpdateFabricLabel) to update the label of its fabric. + RC1 sends an Invoke command(UpdateFabricLabel) to update the label of its fabric. ./chip-tool operationalcredentials update-fabric-label 1 1 0 [1657780486.902409][2687:2692] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008 diff --git a/src/app/tests/suites/certification/Test_TC_LTIME_1_1.yaml b/src/app/tests/suites/certification/Test_TC_LTIME_1_1.yaml index 3dea75d005036b..ffa3ddb2dddb99 100644 --- a/src/app/tests/suites/certification/Test_TC_LTIME_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LTIME_1_1.yaml @@ -31,7 +31,7 @@ tests: - label: "Commission DUT to TH" verification: | - verification step to be updated. + disabled: true - label: "{DUTread} (0xFFFD) ClusterRevision attribute" diff --git a/src/app/tests/suites/certification/Test_TC_LUNIT_1_1.yaml b/src/app/tests/suites/certification/Test_TC_LUNIT_1_1.yaml index 4a273531893133..13ceed67edec8e 100644 --- a/src/app/tests/suites/certification/Test_TC_LUNIT_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LUNIT_1_1.yaml @@ -31,7 +31,7 @@ tests: - label: "Commission DUT to TH" verification: | - verification step to be updated. + disabled: true - label: "{DUTread} (0xFFFD) ClusterRevision attribute" diff --git a/src/app/tests/suites/certification/Test_TC_LVL_2_3.yaml b/src/app/tests/suites/certification/Test_TC_LVL_2_3.yaml index 41342ece3a99b4..77aef9ae3e41b0 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_2_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_2_3.yaml @@ -39,7 +39,7 @@ tests: verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) - ./chip-tool levelcontrol read current-level 1 1 + ./chip-tool pairing onnetwork 1 20202021 Verify DUT receives current-level attribute response on the TH(all-clusters-app) Log: [1657279115.433005][4417:4417] CHIP:IM: Received Read request [1657279115.433184][4417:4417] CHIP:DMG: ReadRequestMessage = diff --git a/src/app/tests/suites/certification/Test_TC_LVL_8_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_8_1.yaml index 038eb6b832a741..c82402fe853b40 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_8_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_8_1.yaml @@ -24,6 +24,11 @@ config: endpoint: 0 tests: + - label: "Note" + verifaction: | + For DUT as client test cases, Chip-tool command used below are an example to verify the functionality. For certification test, we expect DUT should have a capability or way to run the equivalent command. + disabled: true + - label: "TH prompts the operator to make the DUT send one or more supported commands from the Level Control cluster" diff --git a/src/app/tests/suites/certification/Test_TC_OCC_2_4.yaml b/src/app/tests/suites/certification/Test_TC_OCC_2_4.yaml index a1769dcf8233bc..7418025c165d36 100644 --- a/src/app/tests/suites/certification/Test_TC_OCC_2_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_OCC_2_4.yaml @@ -33,7 +33,7 @@ tests: - label: "Commission DUT to TH" verification: | - verification step to be updated. + disabled: true - label: "DUT reads OccupancySensorType attribute from TH" diff --git a/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml b/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml index aed0e955fd2567..b8973da1a275d5 100644 --- a/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml @@ -44,7 +44,7 @@ tests: attribute: "FeatureMap" PICS: " !OO.S.F00 " response: - value: 1 + value: 0 constraints: type: bitmap32 diff --git a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_1.yaml b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_1.yaml index bdf23dd6402339..31842313691537 100644 --- a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_1.yaml @@ -345,7 +345,7 @@ tests: - label: "TH1 validates the attestation response" verification: | - verification step to be updated. + disabled: true - label: @@ -358,7 +358,7 @@ tests: NOC as Node_Operational_Certificate_TH1 Save IPK as IPK_TH1 Extract the RCAC public key and save as Root_Public_Key_TH1" verification: | - verification step to be updated. + disabled: true - label: @@ -368,14 +368,14 @@ tests: Intermediate_Certificate_TH1_2 Save NOC as Node_Operational_Certificate_TH1_2 Save IPK as IPK_TH1_2" verification: | - verification step to be updated. + disabled: true - label: "TH1 generates an INVALID Root Certificate where the signature does not match the public key and saves it as Root_CA_Malformed" verification: | - verification step to be updated. + disabled: true - label: @@ -383,7 +383,7 @@ tests: Root_CA_Malformed" PICS: OPCREDS.S.C0b.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -391,7 +391,7 @@ tests: RootCACertificate set to Root_CA_Certificate_TH1" PICS: OPCREDS.S.C0b.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -399,7 +399,7 @@ tests: RootCACertificate field set to Root_CA_Certificate_TH1" PICS: OPCREDS.S.C0b.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -407,7 +407,7 @@ tests: RootCACertificate field set to Root_CA_Certificate_TH1_2" PICS: OPCREDS.S.C0b.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -415,7 +415,7 @@ tests: TrustedRootsList" PICS: OPCREDS.S.A0004 verification: | - verification step to be updated. + disabled: true - label: @@ -423,13 +423,13 @@ tests: the TrustedRootCertificates attribute with that value" PICS: OPCREDS.S.A0004 verification: | - verification step to be updated. + disabled: true - label: "TH1 reads the TrustedRootCertificates list from DUT" PICS: OPCREDS.S.A0004 verification: | - verification step to be updated. + disabled: true - label: @@ -439,7 +439,7 @@ tests: as the NodeID of TH1 AdminVendorId as the Vendor ID of TH1" PICS: OPCREDS.S.C06.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -450,7 +450,7 @@ tests: Tag - ex. 0) AdminVendorId as the Vendor ID of TH1" PICS: OPCREDS.S.C06.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -460,12 +460,12 @@ tests: the NodeID of TH1 AdminVendorId as the Vendor ID of TH1" PICS: OPCREDS.S.C06.Rsp verification: | - verification step to be updated. + disabled: true - label: "TH1 saves the FabricIndex as FabricIndex_TH1 for future use" verification: | - verification step to be updated. + disabled: true - label: @@ -475,7 +475,7 @@ tests: as the NodeID of TH1 AdminVendorId as the Vendor ID of TH1" PICS: OPCREDS.S.C06.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -483,7 +483,7 @@ tests: read and saves the list as NOClist" PICS: OPCREDS.S.A0000 verification: | - verification step to be updated. + disabled: true - label: @@ -491,7 +491,7 @@ tests: the NOCs attribute" PICS: OPCREDS.S.A0000 verification: | - verification step to be updated. + disabled: true - label: @@ -499,7 +499,7 @@ tests: read" PICS: OPCREDS.S.A0000 verification: | - verification step to be updated. + disabled: true - label: @@ -507,7 +507,7 @@ tests: DUT" PICS: OPCREDS.S.C09.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -515,7 +515,7 @@ tests: read and gets the FabricDescriptorStruct for which the FabricIndex field equals FabricIndex_TH1" verification: | - verification step to be updated. + disabled: true - label: @@ -523,18 +523,18 @@ tests: field set to 0" PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx verification: | - verification step to be updated. + disabled: true - label: "TH1 reconnects to the DUT over PASE" verification: | - verification step to be updated. + disabled: true - label: "TH1 reads the TrustedRootCertificates list from DUT" PICS: OPCREDS.S.A0004 verification: | - verification step to be updated. + disabled: true - label: @@ -542,7 +542,7 @@ tests: read" PICS: OPCREDS.S.A0000 verification: | - verification step to be updated. + disabled: true - label: @@ -550,7 +550,7 @@ tests: non-fabric-filtered read" PICS: OPCREDS.S.A0001 verification: | - verification step to be updated. + disabled: true - label: @@ -559,13 +559,13 @@ tests: This will update the value of FabricIndex_TH1 so that it references the fabric the DUT was just commissioned onto" verification: | - verification step to be updated. + disabled: true - label: "TH1 reads the TrustedRootCertificates list from DUT" PICS: OPCREDS.S.A0004 verification: | - verification step to be updated. + disabled: true - label: @@ -573,7 +573,7 @@ tests: read" PICS: OPCREDS.S.A0000 verification: | - verification step to be updated. + disabled: true - label: @@ -581,7 +581,7 @@ tests: DUT" PICS: OPCREDS.S.C09.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -590,26 +590,26 @@ tests: field equals FabricIndex_TH1" PICS: OPCREDS.S.A0001 verification: | - verification step to be updated. + disabled: true - label: "TH1 reads the ACL attribute from the Access Control cluster" PICS: OPCREDS.S.C06.Rsp verification: | - verification step to be updated. + disabled: true - label: "TH1 issues a KeySetRead command to the DUT for GroupKeySetID 0" PICS: OPCREDS.S.C06.Rsp verification: | - verification step to be updated. + disabled: true - label: "TH1 sends an OpenCommissioningWindow command to the Administrator Commissioning cluster" verification: | - verification step to be updated. + disabled: true - label: @@ -622,7 +622,7 @@ tests: Save NOC as Node_Operational_Certificate_TH2 Save IPK as IPK_TH2 Extract the RCAC public key and save as Root_Public_Key_TH2" verification: | - verification step to be updated. + disabled: true - label: @@ -639,7 +639,7 @@ tests: - label: "TH2 reads the TrustedRootCertificates list from DUT" PICS: OPCREDS.S.A0004 verification: | - verification step to be updated. + disabled: true - label: @@ -647,7 +647,7 @@ tests: read" PICS: OPCREDS.S.A0000 verification: | - verification step to be updated. + disabled: true - label: @@ -655,7 +655,7 @@ tests: DUT" PICS: OPCREDS.S.C09.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -663,13 +663,13 @@ tests: DUT" PICS: OPCREDS.S.C09.Rsp verification: | - verification step to be updated. + disabled: true - label: "Read the Fabrics List from DUT using a non-fabric-filtered read" PICS: OPCREDS.S.A0001 verification: | - verification step to be updated. + disabled: true - label: @@ -677,7 +677,7 @@ tests: field set to 900" PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx verification: | - verification step to be updated. + disabled: true - label: @@ -685,7 +685,7 @@ tests: RootCACertificate set to Root_CA_Certificate_TH1_2" PICS: OPCREDS.S.C0b.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -695,13 +695,13 @@ tests: as the NodeID of TH1 AdminVendorId as the Vendor ID of TH1" PICS: OPCREDS.S.C06.Rsp verification: | - verification step to be updated. + disabled: true - label: "TH1 Sends CSRRequest command with a random 32-byte nonce" PICS: OPCREDS.S.C04.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -711,7 +711,7 @@ tests: as the NodeID of TH1 AdminVendorId as the Vendor ID of TH1" PICS: OPCREDS.S.C06.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -721,7 +721,7 @@ tests: Node_Operational_Certificates_TH1_fabric_conflict and Intermediate_Certificate_TH1_fabric_conflict" verification: | - verification step to be updated. + disabled: true - label: @@ -731,7 +731,7 @@ tests: the NodeID of TH1 AdminVendorId as the Vendor ID of TH1" PICS: OPCREDS.S.C06.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -739,13 +739,13 @@ tests: to 0" PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx verification: | - verification step to be updated. + disabled: true - label: "TH1 reads the TrustedRootCertificates list from DUT" PICS: OPCREDS.S.A0004 verification: | - verification step to be updated. + disabled: true - label: @@ -753,7 +753,7 @@ tests: field set to 900" PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx verification: | - verification step to be updated. + disabled: true - label: @@ -761,7 +761,7 @@ tests: IsForUpdateNOC field set to true" PICS: OPCREDS.S.C04.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -770,7 +770,7 @@ tests: Root_CA_Certificate_TH1_3 Save ICAC as Intermediate_Certificate_TH1_3 Save NOC as Node_Operational_Certificate_TH1_3" verification: | - verification step to be updated. + disabled: true - label: @@ -778,7 +778,7 @@ tests: RootCACertificate set to Root_CA_Certificate_TH1_3" PICS: OPCREDS.S.C0b.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -788,7 +788,7 @@ tests: AdminVendorId as the Vendor ID of TH1" PICS: OPCREDS.S.C06.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -796,7 +796,7 @@ tests: to 0" PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx verification: | - verification step to be updated. + disabled: true - label: @@ -804,7 +804,7 @@ tests: field set to 900" PICS: CGEN.S.C00.Rsp && CGEN.S.C01.Tx verification: | - verification step to be updated. + disabled: true - label: @@ -812,14 +812,14 @@ tests: 5 (Invalid Fabric Index) to DUT" PICS: OPCREDS.S.C0a.Rsp verification: | - verification step to be updated. + disabled: true - label: "TH2 reads the Fabrics List from DUT using a non-fabric-filtered read" PICS: OPCREDS.S.A0001 verification: | - verification step to be updated. + disabled: true - label: @@ -827,7 +827,7 @@ tests: (Valid Fabric Index) to DUT" PICS: OPCREDS.S.C0a.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -835,26 +835,26 @@ tests: read" PICS: OPCREDS.S.A0001 verification: | - verification step to be updated. + disabled: true - label: "TH2 sends a CommissioningComplete command to the DUT" verification: | - verification step to be updated. + disabled: true - label: "TH2 sends an OpenCommissioningWindow command to the Administrator Commissioning cluster" verification: | - verification step to be updated. + disabled: true - label: "TH1 fully commissions the DUT using subject-padded, 400 byte certificates" verification: | - verification step to be updated. + disabled: true - label: @@ -862,39 +862,39 @@ tests: test harnesses (TH3 through TH NumSupportedFabrics). Each test harness should commission the DUT using subject-padded, 400-byte certificates" verification: | - verification step to be updated. + disabled: true - label: "TH1 reads CommissionedFabrics attribute" PICS: OPCREDS.S.A0003 verification: | - verification step to be updated. + disabled: true - label: "Repeat steps 73 and 74 with TH NumSupportedFabrics + 1" verification: | - verification step to be updated. + disabled: true - label: "TH1 reads the SubjectsPerAccessControlEntry attribute from the Access Control Cluster and saves the value as maxSubjects" verification: | - verification step to be updated. + disabled: true - label: "TH1 reads the TargetsPerAccessControlEntry attribute from the Access Control Cluster and saves the value as maxTargets" verification: | - verification step to be updated. + disabled: true - label: "TH1 reads the AccessControlEntriesPerFabric attribute from the Access Control Cluster and saves the value as maxEntries" verification: | - verification step to be updated. + disabled: true - label: @@ -903,12 +903,12 @@ tests: and maxTargets targets. TH1 writes this list to the AccessControl cluster ACL attribute" verification: | - verification step to be updated. + disabled: true - label: "Repeat step 81 for TH2 through TH NumSupportedFabrics to fill the ACL table" verification: | - verification step to be updated. + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_3.yaml b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_3.yaml index 010a2adb87b5b6..64592f1b3f6f43 100644 --- a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_3.yaml @@ -29,7 +29,7 @@ tests: the following steps)" PICS: MCORE.FACTORY_RESET verification: | - On both DUT and TH side + On both DUT and TH side, on Raspi we do factory reset with the below command. The DUT for cert should follow vendor specific procedure for factory reset sudo rm -rf /tmp/chip_* disabled: true @@ -930,10 +930,10 @@ tests: verification: | Verify that the following on TH (all-clusters-app) log - 1. Verify RootPublicKey is within 65 octstr in below log - 2. Verify NodeID is same as chip-node-id - 3. Verify VendorID is same AdminVendorID - 4. Verify the FabricID is same as matter-fabric-id + 1. Verify RootPublicKey (0x1) is within 65 octstr in below log + 2. Verify NodeID (0x2) is same as chip-node-id + 3. Verify VendorID (0x3) is same AdminVendorID , Verify if the DUT vendor ID matches with + 4. Verify the FabricID (0x4) is same as matter-fabric-id 5. Verify the size of Label is maximum of 32 bytes [1660204922.048005][5770:5770] CHIP:DMG: ReportDataMessage = @@ -994,7 +994,7 @@ tests: "Verify that the public Key extracted NOCValue of the AddNOC matches the Node Operational Public Key extracted from CSRResponse" verification: | - Verify public key matches in step 7a of CSRResponse and 5b of ADDNOC command + Not verifiable for V1.0 disabled: true - label: "DUT sends UpdateNOC to TH" @@ -1143,28 +1143,28 @@ tests: [1659967865.181663][3334:3334] CHIP:EM: Handling via exchange: 16044r, Delegate: 0xaaaad1123fa0 [1659967865.181734][3334:3334] CHIP:DMG: InvokeRequestMessage = [1659967865.181761][3334:3334] CHIP:DMG: { - [1659967865.181784][3334:3334] CHIP:DMG: suppressResponse = false, - [1659967865.181810][3334:3334] CHIP:DMG: timedRequest = false, - [1659967865.181834][3334:3334] CHIP:DMG: InvokeRequests = - [1659967865.181865][3334:3334] CHIP:DMG: [ - [1659967865.181889][3334:3334] CHIP:DMG: CommandDataIB = - [1659967865.181916][3334:3334] CHIP:DMG: { - [1659967865.181942][3334:3334] CHIP:DMG: CommandPathIB = - [1659967865.181978][3334:3334] CHIP:DMG: { - [1659967865.182009][3334:3334] CHIP:DMG: EndpointId = 0x0, - [1659967865.182045][3334:3334] CHIP:DMG: ClusterId = 0x3e, - [1659967865.182080][3334:3334] CHIP:DMG: CommandId = 0x9, - [1659967865.182113][3334:3334] CHIP:DMG: }, + [1659967865.181784][3334:3334] CHIP:DMG: suppressResponse = false, + [1659967865.181810][3334:3334] CHIP:DMG: timedRequest = false, + [1659967865.181834][3334:3334] CHIP:DMG: InvokeRequests = + [1659967865.181865][3334:3334] CHIP:DMG: [ + [1659967865.181889][3334:3334] CHIP:DMG: CommandDataIB = + [1659967865.181916][3334:3334] CHIP:DMG: { + [1659967865.181942][3334:3334] CHIP:DMG: CommandPathIB = + [1659967865.181978][3334:3334] CHIP:DMG: { + [1659967865.182009][3334:3334] CHIP:DMG: EndpointId = 0x0, + [1659967865.182045][3334:3334] CHIP:DMG: ClusterId = 0x3e, + [1659967865.182080][3334:3334] CHIP:DMG: CommandId = 0x9, + [1659967865.182113][3334:3334] CHIP:DMG: }, [1659967865.182141][3334:3334] CHIP:DMG: - [1659967865.182167][3334:3334] CHIP:DMG: CommandFields = - [1659967865.182197][3334:3334] CHIP:DMG: { - [1659967865.182231][3334:3334] CHIP:DMG: 0x0 = "node1" (5 chars), - [1659967865.182263][3334:3334] CHIP:DMG: }, - [1659967865.182291][3334:3334] CHIP:DMG: }, + [1659967865.182167][3334:3334] CHIP:DMG: CommandFields = + [1659967865.182197][3334:3334] CHIP:DMG: { + [1659967865.182231][3334:3334] CHIP:DMG: 0x0 = "node1" (5 chars), + [1659967865.182263][3334:3334] CHIP:DMG: }, + [1659967865.182291][3334:3334] CHIP:DMG: }, [1659967865.182324][3334:3334] CHIP:DMG: - [1659967865.182348][3334:3334] CHIP:DMG: ], + [1659967865.182348][3334:3334] CHIP:DMG: ], [1659967865.182377][3334:3334] CHIP:DMG: - [1659967865.182401][3334:3334] CHIP:DMG: InteractionModelRevision = 1 + [1659967865.182401][3334:3334] CHIP:DMG: InteractionModelRevision = 1 [1659967865.182424][3334:3334] CHIP:DMG: }, [1659967865.182488][3334:3334] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_003E e=0 p=a [1659967865.182522][3334:3334] CHIP:DMG: AccessControl: allowed diff --git a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_4.yaml b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_4.yaml index 54f13b1619d207..8a7b21bc930221 100644 --- a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_4.yaml +++ b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_4.yaml @@ -170,7 +170,7 @@ tests: ICAC must be signed by the original key for trusted_root_original. Save as icac_not_for_update" verification: | - verification step to be updated. + disabled: true - label: @@ -179,7 +179,7 @@ tests: noc_not_for_update ICACValue is to set icac_not_for_update" PICS: OPCREDS.S.C07.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -187,7 +187,7 @@ tests: true" PICS: OPCREDS.S.C04.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -196,7 +196,7 @@ tests: ICACValue is to set icac_original" PICS: OPCREDS.S.C07.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -204,7 +204,7 @@ tests: saves as new_root_cert and new_root_key so that TH can generate an NOC for UpdateNOC that doesnt chain to the original root" verification: | - verification step to be updated. + disabled: true - label: @@ -213,7 +213,7 @@ tests: by new ICA. Save as noc_update_new_root new ICAC is generated and signed by new_root_key. Save as icac_update_new_root" verification: | - verification step to be updated. + disabled: true - label: @@ -222,7 +222,7 @@ tests: noc_update_new_root ICACValue is to set icac_update_new_root" PICS: OPCREDS.S.C07.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -234,7 +234,7 @@ tests: original key for trusted_root_original. Save as icac_update_bad_fabric_on_noc" verification: | - verification step to be updated. + disabled: true - label: @@ -244,7 +244,7 @@ tests: icac_update_bad_fabric_on_noc" PICS: OPCREDS.S.C07.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -256,7 +256,7 @@ tests: value than noc_original. ICAC is signed by the original key for trusted_root_original. Save as icac_update_bad_fabric_on_icac" verification: | - verification step to be updated. + disabled: true - label: @@ -266,7 +266,7 @@ tests: icac_update_bad_fabric_on_icac" PICS: OPCREDS.S.C07.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -274,7 +274,7 @@ tests: RootCACertificate field set to new_root_cert" PICS: OPCREDS.S.C0b.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -283,19 +283,19 @@ tests: noc_update_new_root ICACValue is to set icac_update_new_root" PICS: OPCREDS.S.C07.Rsp verification: | - verification step to be updated. + disabled: true - label: "TH1 sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds field set to 0" verification: | - verification step to be updated. + disabled: true - label: "TH1 sends an OpenCommissioningWindow command to the DUT" verification: | - verification step to be updated. + disabled: true - label: @@ -303,7 +303,7 @@ tests: the DUT with the ExpiryLengthSeconds field set to 900. Steps 24-26 are all performed over the PASE connection." verification: | - verification step to be updated. + disabled: true - label: @@ -311,7 +311,7 @@ tests: set to true" PICS: OPCREDS.S.C04.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -320,7 +320,7 @@ tests: and is signed by ICA. Save as noc_pase ICAC must be signed by the original key for trusted_root_original. Save as icac_pase" verification: | - verification step to be updated. + disabled: true - label: @@ -329,10 +329,10 @@ tests: noc_pase ICACValue is to set icac_pase" PICS: OPCREDS.S.C07.Rsp verification: | - verification step to be updated. + disabled: true - label: "" verification: | - verification step to be updated. + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_5.yaml b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_5.yaml index 15598fea93abdb..b23a32faff72e5 100644 --- a/src/app/tests/suites/certification/Test_TC_OPCREDS_3_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_OPCREDS_3_5.yaml @@ -109,7 +109,7 @@ tests: valid. ICAC is signed by the original key for trusted_root_original. Save as icac_update1" verification: | - verification step to be updated. + disabled: true - label: @@ -118,35 +118,35 @@ tests: ICACValue is to set icac_update1" PICS: OPCREDS.S.C07.Rsp verification: | - verification step to be updated. + disabled: true - label: "TH1 reads the NOCs attribute from the Node Operational Credentials cluster using a fabric-filtered read" verification: | - verification step to be updated. + disabled: true - label: "TH1 sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds field set to 0" verification: | - verification step to be updated. + disabled: true - label: "TH1 reads the NOCs attribute from the Node Operational Credentials cluster using a fabric-filtered read" verification: | - verification step to be updated. + disabled: true - label: "TH1 sends ArmFailSafe command to the DUT with the ExpiryLengthSeconds field set to 900" verification: | - verification step to be updated. + disabled: true - label: @@ -154,7 +154,7 @@ tests: true" PICS: OPCREDS.S.C04.Rsp verification: | - verification step to be updated. + disabled: true - label: @@ -167,7 +167,7 @@ tests: certificate must be valid. ICAC is signed by the original key for trusted_root_original. Save as icac_update2" verification: | - verification step to be updated. + disabled: true - label: @@ -176,21 +176,21 @@ tests: ICACValue is to set icac_update2" PICS: OPCREDS.S.C07.Rsp verification: | - verification step to be updated. + disabled: true - label: "TH1 reads the NOCs attribute from the Node Operational Credentials cluster using a fabric-filtered read" verification: | - verification step to be updated. + disabled: true - label: "TH1 sends the CommissioningComplete command to the General Commissioning cluster" verification: | - verification step to be updated. + disabled: true - label: @@ -198,12 +198,12 @@ tests: field set to 0 to verify that the CommissioningComplete command successfully persisted the failsafe context." verification: | - verification step to be updated. + disabled: true - label: "TH1 reads the NOCs attribute from the Node Operational Credentials cluster using a fabric-filtered read" verification: | - verification step to be updated. + disabled: true diff --git a/src/app/tests/suites/certification/Test_TC_PSCFG_2_2.yaml b/src/app/tests/suites/certification/Test_TC_PSCFG_2_2.yaml index 3a4e367bb7a47d..9c2669aa6d7bb2 100644 --- a/src/app/tests/suites/certification/Test_TC_PSCFG_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_PSCFG_2_2.yaml @@ -31,7 +31,7 @@ tests: - label: "Commission DUT to TH" verification: | - verification step to be updated. + disabled: true - label: "TH reads the Sources attribute from the DUT" diff --git a/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml b/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml index f4745a0ee555d2..05c649368c094c 100644 --- a/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_PS_2_2.yaml @@ -26,13 +26,13 @@ config: tests: - label: "Commission DUT to TH" verification: | - verification step to be updated. + disabled: true - label: "Bring the DUT into a state without any wired faults." PICS: PS.S.A000a verification: | - verification step to be updated. + disabled: true - label: "TH reads the ActiveWiredFaults attribute from the DUT" @@ -102,7 +102,7 @@ tests: - label: "Bring the DUT into a state without any battery faults." PICS: PS.S.A0012 verification: | - verification step to be updated. + disabled: true - label: "TH reads the ActiveBatFaults attribute from the DUT" @@ -171,7 +171,7 @@ tests: - label: "Bring the DUT into a state without any charge faults." PICS: PS.S.A001e verification: | - verification step to be updated. + disabled: true - label: "TH reads the ActiveBatChargeFaults attribute from the DUT" diff --git a/src/app/tests/suites/certification/Test_TC_SC_4_7.yaml b/src/app/tests/suites/certification/Test_TC_SC_4_7.yaml index 9e6781ff6b32a8..c15b29067ed8b1 100644 --- a/src/app/tests/suites/certification/Test_TC_SC_4_7.yaml +++ b/src/app/tests/suites/certification/Test_TC_SC_4_7.yaml @@ -17,6 +17,7 @@ name: 15.4.7. [TC-SC-4.7] Commissioner Discovery [DUT as Commissionee] PICS: - MCORE.ROLE.COMMISSIONEE + - MCORE.DD.COMM_DISCOVERY config: nodeId: 0x12344321 diff --git a/src/app/tests/suites/certification/Test_TC_ULABEL_3_1.yaml b/src/app/tests/suites/certification/Test_TC_ULABEL_3_1.yaml index 391fa07689121e..6dd8050f22b3e4 100644 --- a/src/app/tests/suites/certification/Test_TC_ULABEL_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_ULABEL_3_1.yaml @@ -26,7 +26,12 @@ config: tests: - label: "Note" verification: | - For DUT as client test cases, Chip-tool command used below are an example to verify the functionality. For certification test, we expect DUT should have a capability or way to run the equivalent command. + Chip-tool command used below are an example to verify the DUT as client test cases. For certification test, we expect DUT should have a capability or way to run the equivalent command. + disabled: true + + - label: "TH is commissioned with DUT" + verification: | + disabled: true - label: "DUT reads LabelList from the TH" @@ -65,7 +70,7 @@ tests: verification: | Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) - ./chip-tool userlabel write label-list "[{"label":"room", "value":"bedroom 1"}, {"label":"orientation", "value":"east"}]" 1 0 + ./chip-tool userlabel write label-list '[{"label":"room", "value":"bedroom 1"}, {"label":"orientation", "value":"east"}]' 1 0 Verify DUT receives LabelList attribute response on the TH(all-clusters-app) Log: diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_5_1.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_5_1.yaml index ad1a9212f3c838..1f3e9a20e9cc76 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_5_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_5_1.yaml @@ -31,7 +31,7 @@ tests: - label: "Check Attribute defining the cluster Features" verification: | - verification step to be updated. + disabled: true - label: "DUT reads the (65532) _FeatureMap_ attribute from TH" @@ -63,7 +63,7 @@ tests: - label: "Check Attribute defining the product" verification: | - verification step to be updated. + disabled: true - label: "DUT reads the Type attribute from TH" @@ -121,7 +121,7 @@ tests: - label: "Check Attribute defining the working status" verification: | - verification step to be updated. + disabled: true - label: "DUT reads the Mode attribute from TH" diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_7_1.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_7_1.yaml index c2d60eb96c7982..ed819bfa2a0754 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_7_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_7_1.yaml @@ -31,7 +31,7 @@ tests: - label: "Check GoToLiftPercentage command 50%" verification: | - verification step to be updated. + disabled: true - label: "DUT sends GoToLiftPercentage command with 50% to TH" @@ -70,7 +70,7 @@ tests: - label: "Check GoToTiltPercentage command 50%" verification: | - verification step to be updated. + disabled: true - label: "DUT sends GoToTiltPercentage command with 50% to TH" diff --git a/src/app/tests/suites/certification/ci-pics-values b/src/app/tests/suites/certification/ci-pics-values index d3fdc71534a461..c9821cbbc808d0 100644 --- a/src/app/tests/suites/certification/ci-pics-values +++ b/src/app/tests/suites/certification/ci-pics-values @@ -860,7 +860,6 @@ MCORE.DD.TXT_KEY_VP=1 MCORE.DD.TXT_KEY_DT=1 MCORE.DD.DISCOVERY_BLE=1 MCORE.DD.WIFI=1 -MCORE.DD.IE=1 MCORE.DD.TXT_KEY_DN=1 MCORE.DD.TXT_KEY_RI=1 MCORE.DD.TXT_KEY_PH=1 @@ -1034,8 +1033,8 @@ DGTHREAD.S.A0036=1 DGTHREAD.S.A0037=1 DGTHREAD.S.A0038=1 DGTHREAD.S.A0039=1 -DGTHREAD.S.A003a=1 -DGTHREAD.S.A003b=1 +DGTHREAD.S.A003A=1 +DGTHREAD.S.A003B=1 DGTHREAD.S.A003c=1 DGTHREAD.S.A003d=1 DGTHREAD.S.A003e=1 @@ -1681,4 +1680,4 @@ MCORE.IDM.C.WriteRequest.Attribute.DataType_Enum=1 MCORE.IDM.C.WriteRequest.Attribute.DataType_Bitmap=1 MCORE.IDM.C.SubscribeRequest.Attribute.DataType_Bool=1 MCORE.IDM.C.SubscribeRequest.MultipleAttributes=1 -MCORE.UI.FACTORYRESET=1 +PICS_MCORE_UI_FACTORYRESET=1 diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index 7ea5394b8fd913..11d76761d0eeb7 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -4560,8 +4560,8 @@ class Test_TC_CC_3_2Suite : public TestCommand { uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 35U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 55U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 38U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 52U)); } break; case 10: @@ -4625,8 +4625,8 @@ class Test_TC_CC_3_2Suite : public TestCommand { uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 180U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 240U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 183U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 247U)); } break; case 22: @@ -4642,7 +4642,7 @@ class Test_TC_CC_3_2Suite : public TestCommand uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintMinValue("value", value, 140U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 180U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 190U)); CurrentHueValueStep3f = value; } break; @@ -5033,8 +5033,8 @@ class Test_TC_CC_3_3Suite : public TestCommand { uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 210U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 250U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 195U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U)); } break; case 8: @@ -5094,7 +5094,7 @@ class Test_TC_CC_3_3Suite : public TestCommand { uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 210U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 208U)); VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U)); } break; @@ -5462,7 +5462,7 @@ class Test_TC_CC_4_1Suite : public TestCommand uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintMinValue("value", value, 102U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 120U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 138U)); } break; case 12: @@ -5746,7 +5746,7 @@ class Test_TC_CC_4_2Suite : public TestCommand { uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 215U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 212U)); VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U)); } break; @@ -5781,8 +5781,8 @@ class Test_TC_CC_4_2Suite : public TestCommand { uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 60U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 80U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 59U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 81U)); } break; case 17: @@ -6255,8 +6255,8 @@ class Test_TC_CC_4_3Suite : public TestCommand { uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 205U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 235U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 187U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 253U)); } break; case 8: @@ -6268,8 +6268,8 @@ class Test_TC_CC_4_3Suite : public TestCommand { uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 205U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 240U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 204U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U)); } break; case 10: @@ -6331,7 +6331,7 @@ class Test_TC_CC_4_3Suite : public TestCommand { uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 10U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 5U)); VerifyOrReturn(CheckConstraintMaxValue("value", value, 15U)); } break; @@ -6753,8 +6753,8 @@ class Test_TC_CC_4_4Suite : public TestCommand { uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 165U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 195U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 160U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 200U)); } break; case 10: @@ -6762,8 +6762,8 @@ class Test_TC_CC_4_4Suite : public TestCommand { uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 55U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 75U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 50U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 80U)); } break; case 11: @@ -6775,7 +6775,7 @@ class Test_TC_CC_4_4Suite : public TestCommand { uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 160U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 135U)); VerifyOrReturn(CheckConstraintMaxValue("value", value, 185U)); } break; @@ -6786,7 +6786,7 @@ class Test_TC_CC_4_4Suite : public TestCommand VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u")); VerifyOrReturn(CheckConstraintMinValue("value", value, 68U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 80U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 92U)); } break; case 14: @@ -7099,8 +7099,8 @@ class Test_TC_CC_5_1Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 19500U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 26400U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 13107U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 32768U)); } break; case 10: @@ -7108,8 +7108,8 @@ class Test_TC_CC_5_1Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 13900U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 18900U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 13107U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 19660U)); } break; case 11: @@ -7121,7 +7121,7 @@ class Test_TC_CC_5_1Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 13107U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 11141U)); VerifyOrReturn(CheckConstraintMaxValue("value", value, 15073U)); } break; @@ -7130,7 +7130,7 @@ class Test_TC_CC_5_1Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 13107U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 11141U)); VerifyOrReturn(CheckConstraintMaxValue("value", value, 15073U)); } break; @@ -7981,8 +7981,8 @@ class Test_TC_CC_5_2Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 31500U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 32500U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 27200U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 36800U)); } break; case 8: @@ -7990,8 +7990,8 @@ class Test_TC_CC_5_2Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 26500U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 27500U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 22900U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 31100U)); } break; case 9: @@ -8003,8 +8003,8 @@ class Test_TC_CC_5_2Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 30500U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 31500U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 26350U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 35650U)); } break; case 11: @@ -8012,8 +8012,8 @@ class Test_TC_CC_5_2Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 27500U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 28500U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 23800U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 32200U)); } break; case 12: @@ -8025,8 +8025,8 @@ class Test_TC_CC_5_2Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 29500U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 30500U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 25500U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 34500U)); CurrentXValue = value; } break; @@ -8035,8 +8035,8 @@ class Test_TC_CC_5_2Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 28500U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 29500U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 24650U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 33350U)); CurrentYValue = value; } break; @@ -8048,8 +8048,8 @@ class Test_TC_CC_5_2Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 29500U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 30500U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 25500U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 34500U)); } break; case 17: @@ -8057,8 +8057,8 @@ class Test_TC_CC_5_2Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 28500U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 29500U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 24650U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 33350U)); } break; case 18: @@ -8696,8 +8696,8 @@ class Test_TC_CC_6_1Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 275U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 305U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 246U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 334U)); } break; case 11: @@ -8709,8 +8709,8 @@ class Test_TC_CC_6_1Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 255U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 285U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 230U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 310U)); } break; case 13: @@ -8722,8 +8722,8 @@ class Test_TC_CC_6_1Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 250U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 280U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 212U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 288U)); } break; case 15: @@ -10000,7 +10000,7 @@ class Test_TC_CC_7_2Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 30000U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 29750U)); VerifyOrReturn(CheckConstraintMaxValue("value", value, 40250U)); } break; @@ -10013,7 +10013,7 @@ class Test_TC_CC_7_2Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 30000U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 29750U)); VerifyOrReturn(CheckConstraintMaxValue("value", value, 40250U)); } break; @@ -10483,8 +10483,8 @@ class Test_TC_CC_7_3Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 9350U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 12000U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 10200U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 13800U)); } break; case 12: @@ -10544,8 +10544,8 @@ class Test_TC_CC_7_3Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 6000U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 7000U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 5100U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 6900U)); } break; case 23: @@ -10938,8 +10938,8 @@ class Test_TC_CC_7_4Suite : public TestCommand { uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 56U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 74U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 50U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 80U)); } break; case 11: @@ -10952,7 +10952,7 @@ class Test_TC_CC_7_4Suite : public TestCommand uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u")); - VerifyOrReturn(CheckConstraintMinValue("value", value, 16000U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 13600U)); VerifyOrReturn(CheckConstraintMaxValue("value", value, 18400U)); } break; @@ -10962,7 +10962,7 @@ class Test_TC_CC_7_4Suite : public TestCommand uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintMinValue("value", value, 68U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 80U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 92U)); } break; case 14: @@ -27716,7 +27716,7 @@ class Test_TC_OO_1_1Suite : public TestCommand { uint32_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckValue("featureMap", value, 1UL)); + VerifyOrReturn(CheckValue("featureMap", value, 0UL)); VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32")); } break; @@ -36392,7 +36392,7 @@ class Test_TC_DGTHREAD_1_1Suite : public TestCommand { public: Test_TC_DGTHREAD_1_1Suite(CredentialIssuerCommands * credsIssuerConfig) : - TestCommand("Test_TC_DGTHREAD_1_1", 10, credsIssuerConfig) + TestCommand("Test_TC_DGTHREAD_1_1", 14, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -36514,6 +36514,42 @@ class Test_TC_DGTHREAD_1_1Suite : public TestCommand } break; case 8: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + { + chip::app::DataModel::DecodableList value; + VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); + VerifyOrReturn(CheckConstraintType("value", "list", "list")); + VerifyOrReturn(CheckConstraintContains("value", value, 6UL)); + } + break; + case 9: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + { + chip::app::DataModel::DecodableList value; + VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); + VerifyOrReturn(CheckConstraintType("value", "list", "list")); + VerifyOrReturn(CheckConstraintContains("value", value, 56UL)); + } + break; + case 10: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + { + chip::app::DataModel::DecodableList value; + VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); + VerifyOrReturn(CheckConstraintType("value", "list", "list")); + VerifyOrReturn(CheckConstraintContains("value", value, 57UL)); + } + break; + case 11: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + { + chip::app::DataModel::DecodableList value; + VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); + VerifyOrReturn(CheckConstraintType("value", "list", "list")); + VerifyOrReturn(CheckConstraintContains("value", value, 58UL)); + } + break; + case 12: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList value; @@ -36522,7 +36558,7 @@ class Test_TC_DGTHREAD_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 0UL)); } break; - case 9: + case 13: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList value; @@ -36563,47 +36599,71 @@ class Test_TC_DGTHREAD_1_1Suite : public TestCommand } case 2: { LogStep(2, "TH reads the FeatureMap from DUT"); - VerifyOrDo(!ShouldSkip(" !DGTHREAD.S.F00 && !DGTHREAD.S.F00 && !DGTHREAD.S.F00 && !DGTHREAD.S.F00 "), + VerifyOrDo(!ShouldSkip(" !DGTHREAD.S.F00 && !DGTHREAD.S.F01 && !DGTHREAD.S.F02 && !DGTHREAD.S.F03 "), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), ThreadNetworkDiagnostics::Id, ThreadNetworkDiagnostics::Attributes::FeatureMap::Id, true, chip::NullOptional); } case 3: { LogStep(3, "Given DGTHREAD.S.F00(PKTCNT) ensure featuremap has the correct bit set"); - VerifyOrDo(!ShouldSkip("DGETH.S.F00"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("DGTHREAD.S.F00"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), ThreadNetworkDiagnostics::Id, ThreadNetworkDiagnostics::Attributes::FeatureMap::Id, true, chip::NullOptional); } case 4: { LogStep(4, "Given DGTHREAD.S.F01(ERRCNT) ensure featuremap has the correct bit set"); - VerifyOrDo(!ShouldSkip("DGETH.S.F01"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("DGTHREAD.S.F01"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), ThreadNetworkDiagnostics::Id, ThreadNetworkDiagnostics::Attributes::FeatureMap::Id, true, chip::NullOptional); } case 5: { LogStep(5, "Given DGTHREAD.S.F02(MLECNT) ensure featuremap has the correct bit set"); - VerifyOrDo(!ShouldSkip("DGETH.S.F00"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("DGTHREAD.S.F02"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), ThreadNetworkDiagnostics::Id, ThreadNetworkDiagnostics::Attributes::FeatureMap::Id, true, chip::NullOptional); } case 6: { LogStep(6, "Given DGTHREAD.S.F03(MACCNT) ensure featuremap has the correct bit set"); - VerifyOrDo(!ShouldSkip("DGETH.S.F01"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("DGTHREAD.S.F03"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), ThreadNetworkDiagnostics::Id, ThreadNetworkDiagnostics::Attributes::FeatureMap::Id, true, chip::NullOptional); } case 7: { - LogStep(7, "TH reads AttributeList from DUT"); + LogStep(7, "TH reads mandatory attributes in AttributeList from DUT"); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), ThreadNetworkDiagnostics::Id, ThreadNetworkDiagnostics::Attributes::AttributeList::Id, true, chip::NullOptional); } case 8: { - LogStep(8, "TH reads AcceptedCommandList from DUT"); + LogStep(8, "TH reads Feature dependent attribute(DGTHREAD.S.F01(ERRCNT)) in attributeList"); + VerifyOrDo(!ShouldSkip("DGTHREAD.C.A0006 && DGTHREAD.S.F01"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), ThreadNetworkDiagnostics::Id, - ThreadNetworkDiagnostics::Attributes::AcceptedCommandList::Id, true, chip::NullOptional); + ThreadNetworkDiagnostics::Attributes::AttributeList::Id, true, chip::NullOptional); } case 9: { - LogStep(9, "TH reads GeneratedCommandList from DUT"); + LogStep(9, "Read the optional attribute(ActiveTimestamp) in AttributeList"); + VerifyOrDo(!ShouldSkip("DGTHREAD.S.A0039"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + return ReadAttribute(kIdentityAlpha, GetEndpoint(0), ThreadNetworkDiagnostics::Id, + ThreadNetworkDiagnostics::Attributes::AttributeList::Id, true, chip::NullOptional); + } + case 10: { + LogStep(10, "Read the optional attribute(PendingTimestamp) in AttributeList"); + VerifyOrDo(!ShouldSkip("DGTHREAD.S.A003A"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + return ReadAttribute(kIdentityAlpha, GetEndpoint(0), ThreadNetworkDiagnostics::Id, + ThreadNetworkDiagnostics::Attributes::AttributeList::Id, true, chip::NullOptional); + } + case 11: { + LogStep(11, "Read the optional attribute(Delay) in AttributeList"); + VerifyOrDo(!ShouldSkip("DGTHREAD.S.A003B"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + return ReadAttribute(kIdentityAlpha, GetEndpoint(0), ThreadNetworkDiagnostics::Id, + ThreadNetworkDiagnostics::Attributes::AttributeList::Id, true, chip::NullOptional); + } + case 12: { + LogStep(12, "TH reads AcceptedCommandList from DUT"); + return ReadAttribute(kIdentityAlpha, GetEndpoint(0), ThreadNetworkDiagnostics::Id, + ThreadNetworkDiagnostics::Attributes::AcceptedCommandList::Id, true, chip::NullOptional); + } + case 13: { + LogStep(13, "TH reads GeneratedCommandList from DUT"); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), ThreadNetworkDiagnostics::Id, ThreadNetworkDiagnostics::Attributes::GeneratedCommandList::Id, true, chip::NullOptional); } @@ -37148,13 +37208,13 @@ class Test_TC_DGTHREAD_2_1Suite : public TestCommand } case 29: { LogStep(29, "TH reads Delay attribute value from DUT"); - VerifyOrDo(!ShouldSkip("DGTHREAD.S.A003a"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("DGTHREAD.S.A003A"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), ThreadNetworkDiagnostics::Id, ThreadNetworkDiagnostics::Attributes::Delay::Id, true, chip::NullOptional); } case 30: { LogStep(30, "Read SecurityPolicy struct attribute from DUT and Verify the each field"); - VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT && DGTHREAD.S.A003b"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT && DGTHREAD.S.A003B"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); @@ -38599,7 +38659,7 @@ class Test_TC_ULABEL_2_4Suite : public TestCommand class Test_TC_DGWIFI_1_1Suite : public TestCommand { public: - Test_TC_DGWIFI_1_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DGWIFI_1_1", 11, credsIssuerConfig) + Test_TC_DGWIFI_1_1Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DGWIFI_1_1", 12, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -38660,11 +38720,19 @@ class Test_TC_DGWIFI_1_1Suite : public TestCommand uint32_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32")); - VerifyOrReturn(CheckConstraintMinValue("value", value, 1UL)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 3UL)); + VerifyOrReturn(CheckConstraintHasMasksSet("value", value, 1UL)); } break; case 4: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + { + uint32_t value; + VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); + VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32")); + VerifyOrReturn(CheckConstraintHasMasksSet("value", value, 2UL)); + } + break; + case 5: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList value; @@ -38682,7 +38750,7 @@ class Test_TC_DGWIFI_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 65533UL)); } break; - case 5: + case 6: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList value; @@ -38695,7 +38763,7 @@ class Test_TC_DGWIFI_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 10UL)); } break; - case 6: + case 7: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList value; @@ -38705,7 +38773,7 @@ class Test_TC_DGWIFI_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 12UL)); } break; - case 7: + case 8: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList value; @@ -38714,7 +38782,7 @@ class Test_TC_DGWIFI_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 11UL)); } break; - case 8: + case 9: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList value; @@ -38726,7 +38794,7 @@ class Test_TC_DGWIFI_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintType("value", "list", "list")); } break; - case 9: + case 10: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList value; @@ -38735,7 +38803,7 @@ class Test_TC_DGWIFI_1_1Suite : public TestCommand VerifyOrReturn(CheckConstraintContains("value", value, 0UL)); } break; - case 10: + case 11: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { chip::app::DataModel::DecodableList value; @@ -38781,48 +38849,54 @@ class Test_TC_DGWIFI_1_1Suite : public TestCommand WiFiNetworkDiagnostics::Attributes::FeatureMap::Id, true, chip::NullOptional); } case 3: { - LogStep(3, "TH reads the FeatureMap from DUT"); - VerifyOrDo(!ShouldSkip("DGWIFI.S.F00 || DGWIFI.S.F01"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + LogStep(3, "Given DGWIFI.S.F00(PacketCounts) ensure featuremap has the correct bit set"); + VerifyOrDo(!ShouldSkip("DGWIFI.S.F00"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::FeatureMap::Id, true, chip::NullOptional); } case 4: { - LogStep(4, "TH reads AttributeList from DUT"); + LogStep(4, "Given DGWIFI.S.F01(ErrorCounts) ensure featuremap has the correct bit set"); + VerifyOrDo(!ShouldSkip("DGWIFI.S.F01"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, - WiFiNetworkDiagnostics::Attributes::AttributeList::Id, true, chip::NullOptional); + WiFiNetworkDiagnostics::Attributes::FeatureMap::Id, true, chip::NullOptional); } case 5: { - LogStep(5, "TH reads Feature dependent(DGWIFI.S.F00) attributes in attributeList from DUT"); - VerifyOrDo(!ShouldSkip("DGWIFI.S.F00"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + LogStep(5, "TH reads AttributeList from DUT"); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::AttributeList::Id, true, chip::NullOptional); } case 6: { - LogStep(6, "TH reads Feature dependent(DGWIFI.S.F01) attributes in attributeList from DUT"); - VerifyOrDo(!ShouldSkip("DGWIFI.S.F01"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + LogStep(6, "TH reads Feature dependent(DGWIFI.S.F00) attributes in attributeList from DUT"); + VerifyOrDo(!ShouldSkip("DGWIFI.S.F00"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::AttributeList::Id, true, chip::NullOptional); } case 7: { - LogStep(7, "TH reads optional attribute (CurrentMaxRate) in AttributeList from DUT"); - VerifyOrDo(!ShouldSkip("DGWIFI.S.A000b"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + LogStep(7, "TH reads Feature dependent(DGWIFI.S.F01) attributes in attributeList from DUT"); + VerifyOrDo(!ShouldSkip("DGWIFI.S.F01"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::AttributeList::Id, true, chip::NullOptional); } case 8: { - LogStep(8, "TH reads AcceptedCommandList from DUT"); + LogStep(8, "TH reads optional attribute (CurrentMaxRate) in AttributeList from DUT"); + VerifyOrDo(!ShouldSkip("DGWIFI.S.A000b"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, + WiFiNetworkDiagnostics::Attributes::AttributeList::Id, true, chip::NullOptional); + } + case 9: { + LogStep(9, "TH reads AcceptedCommandList from DUT"); VerifyOrDo(!ShouldSkip(" !DGWIFI.S.F01 "), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::AcceptedCommandList::Id, true, chip::NullOptional); } - case 9: { - LogStep(9, "TH reads Feature dependent(DGWIFI.S.F01) command in AcceptedCommandList from DUT"); + case 10: { + LogStep(10, "TH reads Feature dependent(DGWIFI.S.F01) command in AcceptedCommandList from DUT"); VerifyOrDo(!ShouldSkip("DGWIFI.S.F01"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::AcceptedCommandList::Id, true, chip::NullOptional); } - case 10: { - LogStep(10, "TH reads GeneratedCommandList from DUT"); + case 11: { + LogStep(11, "TH reads GeneratedCommandList from DUT"); return ReadAttribute(kIdentityAlpha, GetEndpoint(0), WiFiNetworkDiagnostics::Id, WiFiNetworkDiagnostics::Attributes::GeneratedCommandList::Id, true, chip::NullOptional); } @@ -69541,7 +69615,7 @@ class Test_TC_DRLK_1_1Suite : public TestCommand class Test_TC_DRLK_2_2Suite : public TestCommand { public: - Test_TC_DRLK_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DRLK_2_2", 29, credsIssuerConfig) + Test_TC_DRLK_2_2Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_DRLK_2_2", 27, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("cluster", &mCluster); @@ -69691,42 +69765,31 @@ class Test_TC_DRLK_2_2Suite : public TestCommand break; case 19: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - { - uint8_t value; - VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckValue("userCodeTemporaryDisableTime", value, 10U)); - } + shouldContinue = true; break; case 20: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - shouldContinue = true; break; case 21: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 22: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 23: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_UNSUPPORTED_WRITE)); break; - case 24: + case 22: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); { uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); } break; - case 25: + case 23: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 26: + case 24: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_UNSUPPORTED_WRITE)); break; - case 27: + case 25: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; - case 28: + case 26: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; default: @@ -69955,32 +70018,19 @@ class Test_TC_DRLK_2_2Suite : public TestCommand return UserPrompt(kIdentityAlpha, value); } case 19: { - LogStep(19, "TH reads the UserCodeTemporaryDisableTime attribute from the DUT"); - VerifyOrDo(!ShouldSkip("DRLK.S.A0031"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - return ReadAttribute(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, - DoorLock::Attributes::UserCodeTemporaryDisableTime::Id, true, chip::NullOptional); - } - case 20: { - LogStep(20, "Wait 15000ms"); - ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 15000UL; - return WaitForMs(kIdentityAlpha, value); - } - case 21: { - LogStep(21, "TH sends the unlock Door command to the DUT with valid PINCode"); - VerifyOrDo(!ShouldSkip("DRLK.S.A0030"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + LogStep(19, + "Wait for PIXIT.DRLK.UserCodeTemporaryDisableTime.TH then sends an Unlock Door Command from User1 to the DUT " + "with the valid PINCode."); + VerifyOrDo(!ShouldSkip("PICS_USER_PROMPT && DRLK.S.A0030"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; - chip::app::Clusters::DoorLock::Commands::UnlockDoor::Type value; - value.pinCode.Emplace(); - value.pinCode.Value() = chip::ByteSpan(chip::Uint8::from_const_char("123456garbage: not in length on purpose"), 6); - return SendCommand(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Commands::UnlockDoor::Id, value, - chip::Optional(1000), chip::NullOptional - - ); + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt(kIdentityAlpha, value); } - case 22: { - LogStep(22, + case 20: { + LogStep(20, "TH writes WrongCodeEntryLimit attribute value as between 1 and 255 on the DUT and Verify that the DUT sends " "Success response"); VerifyOrDo(!ShouldSkip("DRLK.S.A0030"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -69990,8 +70040,8 @@ class Test_TC_DRLK_2_2Suite : public TestCommand return WriteAttribute(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Attributes::WrongCodeEntryLimit::Id, value, chip::NullOptional, chip::NullOptional); } - case 23: { - LogStep(23, + case 21: { + LogStep(21, "TH writes WrongCodeEntryLimit attribute value as between 1 and 255 on the DUT and verify DUT responds with " "UNSUPPORTED_WRITE"); VerifyOrDo(!ShouldSkip("!DRLK.S.A0030"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -70001,14 +70051,14 @@ class Test_TC_DRLK_2_2Suite : public TestCommand return WriteAttribute(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Attributes::WrongCodeEntryLimit::Id, value, chip::NullOptional, chip::NullOptional); } - case 24: { - LogStep(24, "TH reads the UserCodeTemporaryDisableTime attribute from the DUT"); + case 22: { + LogStep(22, "TH reads the UserCodeTemporaryDisableTime attribute from the DUT"); VerifyOrDo(!ShouldSkip("DRLK.S.A0031"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); return ReadAttribute(kIdentityAlpha, GetEndpoint(1), DoorLock::Id, DoorLock::Attributes::UserCodeTemporaryDisableTime::Id, true, chip::NullOptional); } - case 25: { - LogStep(25, + case 23: { + LogStep(23, "TH writes UserCodeTemporaryDisableTime attribute value as between 1 and 255 on the DUT and Verify that the " "DUT sends Success response"); VerifyOrDo(!ShouldSkip("DRLK.S.A0031"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -70019,8 +70069,8 @@ class Test_TC_DRLK_2_2Suite : public TestCommand DoorLock::Attributes::UserCodeTemporaryDisableTime::Id, value, chip::NullOptional, chip::NullOptional); } - case 26: { - LogStep(26, + case 24: { + LogStep(24, "TH writes UserCodeTemporaryDisableTime attribute value as between 1 and 255 on the DUT and verify DUT " "responds with UNSUPPORTED_WRITE"); VerifyOrDo(!ShouldSkip("!DRLK.S.A0031"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); @@ -70031,8 +70081,8 @@ class Test_TC_DRLK_2_2Suite : public TestCommand DoorLock::Attributes::UserCodeTemporaryDisableTime::Id, value, chip::NullOptional, chip::NullOptional); } - case 27: { - LogStep(27, "Clean the created user"); + case 25: { + LogStep(25, "Clean the created user"); ListFreer listFreer; chip::app::Clusters::DoorLock::Commands::ClearUser::Type value; value.userIndex = 1U; @@ -70041,8 +70091,8 @@ class Test_TC_DRLK_2_2Suite : public TestCommand ); } - case 28: { - LogStep(28, "Cleanup the created credential"); + case 26: { + LogStep(26, "Cleanup the created credential"); VerifyOrDo(!ShouldSkip("DRLK.S.C26.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::DoorLock::Commands::ClearCredential::Type value; @@ -83540,7 +83590,7 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; - value.payload = chip::Span("payload --commissioner-name betagarbage: not in length on purpose", 33); + value.payload = mPayload.HasValue() ? mPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); return PairWithCode(kIdentityBeta, value); } case 8: { @@ -86476,7 +86526,7 @@ class Test_TC_CADMIN_1_6Suite : public TestCommand class Test_TC_CADMIN_1_9Suite : public TestCommand { public: - Test_TC_CADMIN_1_9Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CADMIN_1_9", 31, credsIssuerConfig) + Test_TC_CADMIN_1_9Suite(CredentialIssuerCommands * credsIssuerConfig) : TestCommand("Test_TC_CADMIN_1_9", 26, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("timeout", 0, UINT16_MAX, &mTimeout); @@ -86506,8 +86556,6 @@ class Test_TC_CADMIN_1_9Suite : public TestCommand chip::Optional mIncorrectSetupCodePayload; chip::Optional mPakeVerifier; - uint8_t tempFabricIndex; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // @@ -86536,30 +86584,24 @@ class Test_TC_CADMIN_1_9Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 4: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); shouldContinue = true; break; case 5: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); shouldContinue = true; break; case 6: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - { - uint8_t value; - VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - tempFabricIndex = value; - } + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); + shouldContinue = true; break; case 7: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - { - chip::app::Clusters::OperationalCredentials::Commands::NOCResponse::DecodableType value; - VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - } + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); + shouldContinue = true; break; case 8: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); + shouldContinue = true; break; case 9: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); @@ -86629,26 +86671,6 @@ class Test_TC_CADMIN_1_9Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); shouldContinue = true; break; - case 26: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); - shouldContinue = true; - break; - case 27: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); - shouldContinue = true; - break; - case 28: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); - shouldContinue = true; - break; - case 29: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); - shouldContinue = true; - break; - case 30: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -86691,9 +86713,7 @@ class Test_TC_CADMIN_1_9Suite : public TestCommand return WaitForCommissionee(kIdentityAlpha, value); } case 3: { - LogStep(3, - "Open commissioning window exactly like we plan to later to verify that `correctPayload` can in fact commision " - "the device."); + LogStep(3, "TH_CR1 opens a new commissioning window on DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; @@ -86716,62 +86736,54 @@ class Test_TC_CADMIN_1_9Suite : public TestCommand ); } case 4: { - LogStep(4, "Temporarily commission device with `correctPayload` just like we will try to later"); - VerifyOrDo(!ShouldSkip("CADMIN.S && CADMIN.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + LogStep(4, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); + VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; - value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; - value.payload = - mCorrectPayload.HasValue() ? mCorrectPayload.Value() : chip::Span("MT:-24J0AFN00I31506010", 22); + value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; + value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() + : chip::Span("MT:-24J0AFN00I.0648G00", 22); return PairWithCode(kIdentityBeta, value); } case 5: { - LogStep(5, "Wait for a CASE session"); + LogStep(5, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; - value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; - return WaitForCommissionee(kIdentityBeta, value); + chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; + value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; + value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() + : chip::Span("MT:-24J0AFN00I.0648G00", 22); + return PairWithCode(kIdentityBeta, value); } case 6: { - LogStep(6, "Read FabricIndex of beta so we can delete the temp fabric"); - VerifyOrDo(!ShouldSkip("CADMIN.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - return ReadAttribute(kIdentityBeta, GetEndpoint(0), OperationalCredentials::Id, - OperationalCredentials::Attributes::CurrentFabricIndex::Id, true, chip::NullOptional); + LogStep(6, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); + VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; + value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; + value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() + : chip::Span("MT:-24J0AFN00I.0648G00", 22); + return PairWithCode(kIdentityBeta, value); } case 7: { - LogStep(7, "Remove the temp fabric"); - VerifyOrDo(!ShouldSkip("CADMIN.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + LogStep(7, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); + VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; - chip::app::Clusters::OperationalCredentials::Commands::RemoveFabric::Type value; - value.fabricIndex = tempFabricIndex; - return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, - OperationalCredentials::Commands::RemoveFabric::Id, value, chip::NullOptional - - ); + chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; + value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; + value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() + : chip::Span("MT:-24J0AFN00I.0648G00", 22); + return PairWithCode(kIdentityBeta, value); } case 8: { - LogStep(8, "TH_CR1 opens a new commissioning window on DUT_CE"); - VerifyOrDo(!ShouldSkip("CADMIN.S.C00.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + LogStep(8, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); + VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; - chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; - value.commissioningTimeout = 900U; - value.PAKEVerifier = mPakeVerifier.HasValue() - ? mPakeVerifier.Value() - : chip::ByteSpan(chip::Uint8::from_const_char( - "\006\307V\337\374\327\042e4R\241-\315\224]\214T\332+\017<\275\033M\303\361\255\262#" - "\256\262k\004|\322L\226\206o\227\233\035\203\354P\342\264\2560\315\362\375\263+" - "\330\242\021\2707\334\224\355\315V\364\321Cw\031\020v\277\305\235\231\267\3350S\357\326\360," - "D4\362\275\322z\244\371\316\247\015s\216L"), - 97); - value.discriminator = mDiscriminator.HasValue() ? mDiscriminator.Value() : 3840U; - value.iterations = 1000UL; - value.salt = chip::ByteSpan(chip::Uint8::from_const_char("SPAKE2P Key Saltgarbage: not in length on purpose"), 16); - return SendCommand(kIdentityAlpha, GetEndpoint(0), AdministratorCommissioning::Id, - AdministratorCommissioning::Commands::OpenCommissioningWindow::Id, value, - chip::Optional(10000), chip::NullOptional - - ); + chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; + value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; + value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() + : chip::Span("MT:-24J0AFN00I.0648G00", 22); + return PairWithCode(kIdentityBeta, value); } case 9: { LogStep(9, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); @@ -86924,57 +86936,7 @@ class Test_TC_CADMIN_1_9Suite : public TestCommand return PairWithCode(kIdentityBeta, value); } case 24: { - LogStep(24, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); - VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - ListFreer listFreer; - chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; - value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; - value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() - : chip::Span("MT:-24J0AFN00I.0648G00", 22); - return PairWithCode(kIdentityBeta, value); - } - case 25: { - LogStep(25, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); - VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - ListFreer listFreer; - chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; - value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; - value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() - : chip::Span("MT:-24J0AFN00I.0648G00", 22); - return PairWithCode(kIdentityBeta, value); - } - case 26: { - LogStep(26, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); - VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - ListFreer listFreer; - chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; - value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; - value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() - : chip::Span("MT:-24J0AFN00I.0648G00", 22); - return PairWithCode(kIdentityBeta, value); - } - case 27: { - LogStep(27, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); - VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - ListFreer listFreer; - chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; - value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; - value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() - : chip::Span("MT:-24J0AFN00I.0648G00", 22); - return PairWithCode(kIdentityBeta, value); - } - case 28: { - LogStep(28, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); - VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - ListFreer listFreer; - chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; - value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; - value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() - : chip::Span("MT:-24J0AFN00I.0648G00", 22); - return PairWithCode(kIdentityBeta, value); - } - case 29: { - LogStep(29, "TH_CR2 starts a commissioning process with DUT_CE using valid setup code"); + LogStep(24, "TH_CR2 starts a commissioning process with DUT_CE using valid setup code"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -86983,8 +86945,8 @@ class Test_TC_CADMIN_1_9Suite : public TestCommand mCorrectPayload.HasValue() ? mCorrectPayload.Value() : chip::Span("MT:-24J0AFN00I31506010", 22); return PairWithCode(kIdentityBeta, value); } - case 30: { - LogStep(30, "TH_CR3 starts a commissioning process with DUT_CE"); + case 25: { + LogStep(25, "TH_CR3 starts a commissioning process with DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -87002,7 +86964,7 @@ class Test_TC_CADMIN_1_10Suite : public TestCommand { public: Test_TC_CADMIN_1_10Suite(CredentialIssuerCommands * credsIssuerConfig) : - TestCommand("Test_TC_CADMIN_1_10", 30, credsIssuerConfig) + TestCommand("Test_TC_CADMIN_1_10", 25, credsIssuerConfig) { AddArgument("nodeId", 0, UINT64_MAX, &mNodeId); AddArgument("timeout", 0, UINT16_MAX, &mTimeout); @@ -87030,8 +86992,6 @@ class Test_TC_CADMIN_1_10Suite : public TestCommand chip::Optional mCorrectPayload; chip::Optional mIncorrectSetupCodePayload; - uint8_t tempFabricIndex; - chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; } // @@ -87060,30 +87020,24 @@ class Test_TC_CADMIN_1_10Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 4: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); shouldContinue = true; break; case 5: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); shouldContinue = true; break; case 6: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - { - uint8_t value; - VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - tempFabricIndex = value; - } + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); + shouldContinue = true; break; case 7: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - { - chip::app::Clusters::OperationalCredentials::Commands::NOCResponse::DecodableType value; - VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - } + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); + shouldContinue = true; break; case 8: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); + shouldContinue = true; break; case 9: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); @@ -87149,26 +87103,6 @@ class Test_TC_CADMIN_1_10Suite : public TestCommand VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); shouldContinue = true; break; - case 25: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); - shouldContinue = true; - break; - case 26: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); - shouldContinue = true; - break; - case 27: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); - shouldContinue = true; - break; - case 28: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); - shouldContinue = true; - break; - case 29: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_FAILURE)); - shouldContinue = true; - break; default: LogErrorOnFailure(ContinueOnChipMainThread(CHIP_ERROR_INVALID_ARGUMENT)); } @@ -87211,9 +87145,7 @@ class Test_TC_CADMIN_1_10Suite : public TestCommand return WaitForCommissionee(kIdentityAlpha, value); } case 3: { - LogStep(3, - "Open commissioning window exactly like we plan to later to verify that `correctPayload` can in fact commision " - "the device."); + LogStep(3, "TH_CR1 opens a commissioning window on DUT_CE"); VerifyOrDo(!ShouldSkip("CADMIN.S.C01.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Type value; @@ -87225,51 +87157,54 @@ class Test_TC_CADMIN_1_10Suite : public TestCommand ); } case 4: { - LogStep(4, "Temporarily commission device with `correctPayload` just like we will try to later"); - VerifyOrDo(!ShouldSkip("CADMIN.S && CADMIN.S.C01.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + LogStep(4, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); + VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; - value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; - value.payload = - mCorrectPayload.HasValue() ? mCorrectPayload.Value() : chip::Span("MT:-24J0AFN00KA0648G00", 22); + value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; + value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() + : chip::Span("MT:-24J0AFN00I.0648G00", 22); return PairWithCode(kIdentityBeta, value); } case 5: { - LogStep(5, "Wait for a CASE session"); + LogStep(5, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; - chip::app::Clusters::DelayCommands::Commands::WaitForCommissionee::Type value; - value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; - return WaitForCommissionee(kIdentityBeta, value); + chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; + value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; + value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() + : chip::Span("MT:-24J0AFN00I.0648G00", 22); + return PairWithCode(kIdentityBeta, value); } case 6: { - LogStep(6, "Read FabricIndex of beta so we can delete the temp fabric"); - VerifyOrDo(!ShouldSkip("CADMIN.S.C01.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - return ReadAttribute(kIdentityBeta, GetEndpoint(0), OperationalCredentials::Id, - OperationalCredentials::Attributes::CurrentFabricIndex::Id, true, chip::NullOptional); + LogStep(6, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); + VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; + value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; + value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() + : chip::Span("MT:-24J0AFN00I.0648G00", 22); + return PairWithCode(kIdentityBeta, value); } case 7: { - LogStep(7, "Remove the temp fabric"); - VerifyOrDo(!ShouldSkip("CADMIN.S.C01.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + LogStep(7, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); + VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; - chip::app::Clusters::OperationalCredentials::Commands::RemoveFabric::Type value; - value.fabricIndex = tempFabricIndex; - return SendCommand(kIdentityAlpha, GetEndpoint(0), OperationalCredentials::Id, - OperationalCredentials::Commands::RemoveFabric::Id, value, chip::NullOptional - - ); + chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; + value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; + value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() + : chip::Span("MT:-24J0AFN00I.0648G00", 22); + return PairWithCode(kIdentityBeta, value); } case 8: { - LogStep(8, "TH_CR1 opens a commissioning window on DUT_CE"); - VerifyOrDo(!ShouldSkip("CADMIN.S.C01.Rsp"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + LogStep(8, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); + VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; - chip::app::Clusters::AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Type value; - value.commissioningTimeout = 900U; - return SendCommand(kIdentityAlpha, GetEndpoint(0), AdministratorCommissioning::Id, - AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Id, value, - chip::Optional(10000), chip::NullOptional - - ); + chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; + value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; + value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() + : chip::Span("MT:-24J0AFN00I.0648G00", 22); + return PairWithCode(kIdentityBeta, value); } case 9: { LogStep(9, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); @@ -87313,7 +87248,6 @@ class Test_TC_CADMIN_1_10Suite : public TestCommand } case 13: { LogStep(13, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); - VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; @@ -87363,6 +87297,7 @@ class Test_TC_CADMIN_1_10Suite : public TestCommand } case 18: { LogStep(18, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); + VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; @@ -87421,57 +87356,7 @@ class Test_TC_CADMIN_1_10Suite : public TestCommand return PairWithCode(kIdentityBeta, value); } case 24: { - LogStep(24, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); - VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - ListFreer listFreer; - chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; - value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; - value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() - : chip::Span("MT:-24J0AFN00I.0648G00", 22); - return PairWithCode(kIdentityBeta, value); - } - case 25: { - LogStep(25, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); - VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - ListFreer listFreer; - chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; - value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; - value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() - : chip::Span("MT:-24J0AFN00I.0648G00", 22); - return PairWithCode(kIdentityBeta, value); - } - case 26: { - LogStep(26, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); - VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - ListFreer listFreer; - chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; - value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; - value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() - : chip::Span("MT:-24J0AFN00I.0648G00", 22); - return PairWithCode(kIdentityBeta, value); - } - case 27: { - LogStep(27, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); - VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - ListFreer listFreer; - chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; - value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; - value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() - : chip::Span("MT:-24J0AFN00I.0648G00", 22); - return PairWithCode(kIdentityBeta, value); - } - case 28: { - LogStep(28, "TH_CR2 starts a commissioning process with DUT_CE using Invalid setup code"); - VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - ListFreer listFreer; - chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; - value.nodeId = mNodeId2.HasValue() ? mNodeId2.Value() : 51966ULL; - value.payload = mIncorrectSetupCodePayload.HasValue() ? mIncorrectSetupCodePayload.Value() - : chip::Span("MT:-24J0AFN00I.0648G00", 22); - return PairWithCode(kIdentityBeta, value); - } - case 29: { - LogStep(29, "TH_CR2 attempts to do PASE to DUT_CE using the correct onboarding payload"); + LogStep(24, "TH_CR2 attempts to do PASE to DUT_CE using the correct onboarding payload"); VerifyOrDo(!ShouldSkip("CADMIN.S"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); ListFreer listFreer; chip::app::Clusters::CommissionerCommands::Commands::PairWithCode::Type value; @@ -87554,19 +87439,11 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand break; case 5: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - { - chip::app::DataModel::Nullable value; - VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckValueNonNull("value", value)); - } + shouldContinue = true; break; case 6: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - { - chip::app::DataModel::Nullable value; - VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckValueNonNull("value", value)); - } + shouldContinue = true; break; case 7: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); @@ -87749,16 +87626,29 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand AdministratorCommissioning::Attributes::WindowStatus::Id, true, chip::NullOptional); } case 5: { - LogStep(5, "TH_CR1 reads AdminFabricIndex attribute from DUT_CE"); - VerifyOrDo(!ShouldSkip("CADMIN.S.A0001"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - return ReadAttribute(kIdentityAlpha, GetEndpoint(0), AdministratorCommissioning::Id, - AdministratorCommissioning::Attributes::AdminFabricIndex::Id, true, chip::NullOptional); + LogStep(5, + "TH_CR1 reads AdminFabricIndex attribute from DUT_CE and Verify TH_CR1 reads the AdminFabricIndex value " + "successfully and verify the value to be the same as the Fabric Index of the Fabrics attribute list entry in " + "TH_CR1"); + VerifyOrDo(!ShouldSkip("CADMIN.S.A0001 && PICS_USER_PROMPT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt(kIdentityAlpha, value); } case 6: { - LogStep(6, "TH_CR1 reads AdminVendorId attribute from DUT_CE"); - VerifyOrDo(!ShouldSkip("CADMIN.S.A0002"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); - return ReadAttribute(kIdentityAlpha, GetEndpoint(0), AdministratorCommissioning::Id, - AdministratorCommissioning::Attributes::AdminVendorId::Id, true, chip::NullOptional); + LogStep(6, + "TH_CR1 reads AdminVendorId attribute from DUT_CE and Verify TH_CR1 reads the AdminVendorId value successfully " + "and verify this value to be the same as the Vendor ID field of Fabrics attribute list entry in TH_CR1"); + VerifyOrDo(!ShouldSkip("CADMIN.S.A0002 && PICS_USER_PROMPT"), return ContinueOnChipMainThread(CHIP_NO_ERROR)); + ListFreer listFreer; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt(kIdentityAlpha, value); } case 7: { LogStep(7, "TH_CR3 starts a commissioning process with DUT_CE"); @@ -87845,7 +87735,7 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand OperationalCredentials::Attributes::Fabrics::Id, false, chip::NullOptional); } case 15: { - LogStep(15, "Wait for the expiration of PIXIT_COMM_WIN seconds"); + LogStep(15, "Wait for the expiration of PIXIT.CADMIN.CwDuration seconds"); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; value.ms = 180000UL; @@ -87963,7 +87853,7 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand ); } case 23: { - LogStep(23, "Wait for the expiration of PIXIT_COMM_WIN seconds"); + LogStep(23, "Wait for the expiration of PIXIT.CADMIN.CwDuration seconds"); ListFreer listFreer; chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; value.ms = 180000UL; @@ -92872,7 +92762,7 @@ class Test_TC_CC_3_1Suite : public TestCommand uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintMinValue("value", value, 68U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 98U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 92U)); } break; case 8: @@ -92898,7 +92788,7 @@ class Test_TC_CC_3_1Suite : public TestCommand uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintMinValue("value", value, 102U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 120U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 138U)); } break; case 12: @@ -92953,8 +92843,8 @@ class Test_TC_CC_3_1Suite : public TestCommand { uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 135U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 150U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 115U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 155U)); } break; case 23: @@ -93014,8 +92904,8 @@ class Test_TC_CC_3_1Suite : public TestCommand { uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 105U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 120U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 102U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 138U)); } break; case 34: @@ -93075,7 +92965,7 @@ class Test_TC_CC_3_1Suite : public TestCommand { uint8_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 60U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 48U)); VerifyOrReturn(CheckConstraintMaxValue("value", value, 72U)); } break; @@ -93654,8 +93544,8 @@ class Test_TC_CC_7_1Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 11000U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 12700U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 10200U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 13800U)); } break; case 12: @@ -93716,7 +93606,7 @@ class Test_TC_CC_7_1Suite : public TestCommand uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); VerifyOrReturn(CheckConstraintMinValue("value", value, 50700U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 54000U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 62100U)); } break; case 23: @@ -93776,8 +93666,8 @@ class Test_TC_CC_7_1Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 11000U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 12700U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 10200U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 13800U)); } break; case 34: @@ -93837,8 +93727,8 @@ class Test_TC_CC_7_1Suite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckConstraintMinValue("value", value, 6000U)); - VerifyOrReturn(CheckConstraintMaxValue("value", value, 7000U)); + VerifyOrReturn(CheckConstraintMinValue("value", value, 5100U)); + VerifyOrReturn(CheckConstraintMaxValue("value", value, 6900U)); } break; case 45: diff --git a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h index a519f9672aa10d..d23d37e5a96b98 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -7431,8 +7431,8 @@ class Test_TC_CC_3_2 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentHue", [value unsignedCharValue], 35U)); - VerifyOrReturn(CheckConstraintMaxValue("currentHue", [value unsignedCharValue], 55U)); + VerifyOrReturn(CheckConstraintMinValue("currentHue", [value unsignedCharValue], 38U)); + VerifyOrReturn(CheckConstraintMaxValue("currentHue", [value unsignedCharValue], 52U)); NextTest(); }]; @@ -7638,8 +7638,8 @@ class Test_TC_CC_3_2 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentHue", [value unsignedCharValue], 180U)); - VerifyOrReturn(CheckConstraintMaxValue("currentHue", [value unsignedCharValue], 240U)); + VerifyOrReturn(CheckConstraintMinValue("currentHue", [value unsignedCharValue], 183U)); + VerifyOrReturn(CheckConstraintMaxValue("currentHue", [value unsignedCharValue], 247U)); NextTest(); }]; @@ -7694,7 +7694,7 @@ class Test_TC_CC_3_2 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintMinValue("currentHue", [value unsignedCharValue], 140U)); - VerifyOrReturn(CheckConstraintMaxValue("currentHue", [value unsignedCharValue], 180U)); + VerifyOrReturn(CheckConstraintMaxValue("currentHue", [value unsignedCharValue], 190U)); { CurrentHueValueStep3f = value; } @@ -8276,8 +8276,8 @@ class Test_TC_CC_3_3 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentHue", [value unsignedCharValue], 210U)); - VerifyOrReturn(CheckConstraintMaxValue("currentHue", [value unsignedCharValue], 250U)); + VerifyOrReturn(CheckConstraintMinValue("currentHue", [value unsignedCharValue], 195U)); + VerifyOrReturn(CheckConstraintMaxValue("currentHue", [value unsignedCharValue], 254U)); NextTest(); }]; @@ -8457,7 +8457,7 @@ class Test_TC_CC_3_3 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentHue", [value unsignedCharValue], 210U)); + VerifyOrReturn(CheckConstraintMinValue("currentHue", [value unsignedCharValue], 208U)); VerifyOrReturn(CheckConstraintMaxValue("currentHue", [value unsignedCharValue], 255U)); NextTest(); @@ -9026,7 +9026,7 @@ class Test_TC_CC_4_1 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintMinValue("currentSaturation", [value unsignedCharValue], 102U)); - VerifyOrReturn(CheckConstraintMaxValue("currentSaturation", [value unsignedCharValue], 120U)); + VerifyOrReturn(CheckConstraintMaxValue("currentSaturation", [value unsignedCharValue], 138U)); NextTest(); }]; @@ -9719,7 +9719,7 @@ class Test_TC_CC_4_2 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentSaturation", [value unsignedCharValue], 215U)); + VerifyOrReturn(CheckConstraintMinValue("currentSaturation", [value unsignedCharValue], 212U)); VerifyOrReturn(CheckConstraintMaxValue("currentSaturation", [value unsignedCharValue], 254U)); NextTest(); @@ -9840,8 +9840,8 @@ class Test_TC_CC_4_2 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentSaturation", [value unsignedCharValue], 60U)); - VerifyOrReturn(CheckConstraintMaxValue("currentSaturation", [value unsignedCharValue], 80U)); + VerifyOrReturn(CheckConstraintMinValue("currentSaturation", [value unsignedCharValue], 59U)); + VerifyOrReturn(CheckConstraintMaxValue("currentSaturation", [value unsignedCharValue], 81U)); NextTest(); }]; @@ -10680,8 +10680,8 @@ class Test_TC_CC_4_3 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentSaturation", [value unsignedCharValue], 205U)); - VerifyOrReturn(CheckConstraintMaxValue("currentSaturation", [value unsignedCharValue], 235U)); + VerifyOrReturn(CheckConstraintMinValue("currentSaturation", [value unsignedCharValue], 187U)); + VerifyOrReturn(CheckConstraintMaxValue("currentSaturation", [value unsignedCharValue], 253U)); NextTest(); }]; @@ -10709,8 +10709,8 @@ class Test_TC_CC_4_3 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentSaturation", [value unsignedCharValue], 205U)); - VerifyOrReturn(CheckConstraintMaxValue("currentSaturation", [value unsignedCharValue], 240U)); + VerifyOrReturn(CheckConstraintMinValue("currentSaturation", [value unsignedCharValue], 204U)); + VerifyOrReturn(CheckConstraintMaxValue("currentSaturation", [value unsignedCharValue], 254U)); NextTest(); }]; @@ -10919,7 +10919,7 @@ class Test_TC_CC_4_3 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentSaturation", [value unsignedCharValue], 10U)); + VerifyOrReturn(CheckConstraintMinValue("currentSaturation", [value unsignedCharValue], 5U)); VerifyOrReturn(CheckConstraintMaxValue("currentSaturation", [value unsignedCharValue], 15U)); NextTest(); @@ -11573,8 +11573,8 @@ class Test_TC_CC_4_4 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentHue", [value unsignedCharValue], 165U)); - VerifyOrReturn(CheckConstraintMaxValue("currentHue", [value unsignedCharValue], 195U)); + VerifyOrReturn(CheckConstraintMinValue("currentHue", [value unsignedCharValue], 160U)); + VerifyOrReturn(CheckConstraintMaxValue("currentHue", [value unsignedCharValue], 200U)); NextTest(); }]; @@ -11595,8 +11595,8 @@ class Test_TC_CC_4_4 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentSaturation", [value unsignedCharValue], 55U)); - VerifyOrReturn(CheckConstraintMaxValue("currentSaturation", [value unsignedCharValue], 75U)); + VerifyOrReturn(CheckConstraintMinValue("currentSaturation", [value unsignedCharValue], 50U)); + VerifyOrReturn(CheckConstraintMaxValue("currentSaturation", [value unsignedCharValue], 80U)); NextTest(); }]; @@ -11624,7 +11624,7 @@ class Test_TC_CC_4_4 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentHue", [value unsignedCharValue], 160U)); + VerifyOrReturn(CheckConstraintMinValue("currentHue", [value unsignedCharValue], 135U)); VerifyOrReturn(CheckConstraintMaxValue("currentHue", [value unsignedCharValue], 185U)); NextTest(); @@ -11648,7 +11648,7 @@ class Test_TC_CC_4_4 : public TestCommandBridge { VerifyOrReturn(CheckConstraintType("currentSaturation", "int8u", "int8u")); VerifyOrReturn(CheckConstraintMinValue("currentSaturation", [value unsignedCharValue], 68U)); - VerifyOrReturn(CheckConstraintMaxValue("currentSaturation", [value unsignedCharValue], 80U)); + VerifyOrReturn(CheckConstraintMaxValue("currentSaturation", [value unsignedCharValue], 92U)); NextTest(); }]; @@ -12668,8 +12668,8 @@ class Test_TC_CC_5_1 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentX", [value unsignedShortValue], 19500U)); - VerifyOrReturn(CheckConstraintMaxValue("currentX", [value unsignedShortValue], 26400U)); + VerifyOrReturn(CheckConstraintMinValue("currentX", [value unsignedShortValue], 13107U)); + VerifyOrReturn(CheckConstraintMaxValue("currentX", [value unsignedShortValue], 32768U)); NextTest(); }]; @@ -12690,8 +12690,8 @@ class Test_TC_CC_5_1 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentY", [value unsignedShortValue], 13900U)); - VerifyOrReturn(CheckConstraintMaxValue("currentY", [value unsignedShortValue], 18900U)); + VerifyOrReturn(CheckConstraintMinValue("currentY", [value unsignedShortValue], 13107U)); + VerifyOrReturn(CheckConstraintMaxValue("currentY", [value unsignedShortValue], 19660U)); NextTest(); }]; @@ -12719,7 +12719,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentX", [value unsignedShortValue], 13107U)); + VerifyOrReturn(CheckConstraintMinValue("currentX", [value unsignedShortValue], 11141U)); VerifyOrReturn(CheckConstraintMaxValue("currentX", [value unsignedShortValue], 15073U)); NextTest(); @@ -12741,7 +12741,7 @@ class Test_TC_CC_5_1 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentY", [value unsignedShortValue], 13107U)); + VerifyOrReturn(CheckConstraintMinValue("currentY", [value unsignedShortValue], 11141U)); VerifyOrReturn(CheckConstraintMaxValue("currentY", [value unsignedShortValue], 15073U)); NextTest(); @@ -14103,8 +14103,8 @@ class Test_TC_CC_5_2 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentX", [value unsignedShortValue], 31500U)); - VerifyOrReturn(CheckConstraintMaxValue("currentX", [value unsignedShortValue], 32500U)); + VerifyOrReturn(CheckConstraintMinValue("currentX", [value unsignedShortValue], 27200U)); + VerifyOrReturn(CheckConstraintMaxValue("currentX", [value unsignedShortValue], 36800U)); NextTest(); }]; @@ -14125,8 +14125,8 @@ class Test_TC_CC_5_2 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentY", [value unsignedShortValue], 26500U)); - VerifyOrReturn(CheckConstraintMaxValue("currentY", [value unsignedShortValue], 27500U)); + VerifyOrReturn(CheckConstraintMinValue("currentY", [value unsignedShortValue], 22900U)); + VerifyOrReturn(CheckConstraintMaxValue("currentY", [value unsignedShortValue], 31100U)); NextTest(); }]; @@ -14154,8 +14154,8 @@ class Test_TC_CC_5_2 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentX", [value unsignedShortValue], 30500U)); - VerifyOrReturn(CheckConstraintMaxValue("currentX", [value unsignedShortValue], 31500U)); + VerifyOrReturn(CheckConstraintMinValue("currentX", [value unsignedShortValue], 26350U)); + VerifyOrReturn(CheckConstraintMaxValue("currentX", [value unsignedShortValue], 35650U)); NextTest(); }]; @@ -14176,8 +14176,8 @@ class Test_TC_CC_5_2 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentY", [value unsignedShortValue], 27500U)); - VerifyOrReturn(CheckConstraintMaxValue("currentY", [value unsignedShortValue], 28500U)); + VerifyOrReturn(CheckConstraintMinValue("currentY", [value unsignedShortValue], 23800U)); + VerifyOrReturn(CheckConstraintMaxValue("currentY", [value unsignedShortValue], 32200U)); NextTest(); }]; @@ -14206,8 +14206,8 @@ class Test_TC_CC_5_2 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentX", [value unsignedShortValue], 29500U)); - VerifyOrReturn(CheckConstraintMaxValue("currentX", [value unsignedShortValue], 30500U)); + VerifyOrReturn(CheckConstraintMinValue("currentX", [value unsignedShortValue], 25500U)); + VerifyOrReturn(CheckConstraintMaxValue("currentX", [value unsignedShortValue], 34500U)); { CurrentXValue = value; } @@ -14232,8 +14232,8 @@ class Test_TC_CC_5_2 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentY", [value unsignedShortValue], 28500U)); - VerifyOrReturn(CheckConstraintMaxValue("currentY", [value unsignedShortValue], 29500U)); + VerifyOrReturn(CheckConstraintMinValue("currentY", [value unsignedShortValue], 24650U)); + VerifyOrReturn(CheckConstraintMaxValue("currentY", [value unsignedShortValue], 33350U)); { CurrentYValue = value; } @@ -14280,8 +14280,8 @@ class Test_TC_CC_5_2 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentX", [value unsignedShortValue], 29500U)); - VerifyOrReturn(CheckConstraintMaxValue("currentX", [value unsignedShortValue], 30500U)); + VerifyOrReturn(CheckConstraintMinValue("currentX", [value unsignedShortValue], 25500U)); + VerifyOrReturn(CheckConstraintMaxValue("currentX", [value unsignedShortValue], 34500U)); NextTest(); }]; @@ -14302,8 +14302,8 @@ class Test_TC_CC_5_2 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentY", [value unsignedShortValue], 28500U)); - VerifyOrReturn(CheckConstraintMaxValue("currentY", [value unsignedShortValue], 29500U)); + VerifyOrReturn(CheckConstraintMinValue("currentY", [value unsignedShortValue], 24650U)); + VerifyOrReturn(CheckConstraintMaxValue("currentY", [value unsignedShortValue], 33350U)); NextTest(); }]; @@ -15515,8 +15515,8 @@ class Test_TC_CC_6_1 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("colorTemperature", [value unsignedShortValue], 275U)); - VerifyOrReturn(CheckConstraintMaxValue("colorTemperature", [value unsignedShortValue], 305U)); + VerifyOrReturn(CheckConstraintMinValue("colorTemperature", [value unsignedShortValue], 246U)); + VerifyOrReturn(CheckConstraintMaxValue("colorTemperature", [value unsignedShortValue], 334U)); NextTest(); }]; @@ -15544,8 +15544,8 @@ class Test_TC_CC_6_1 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("colorTemperature", [value unsignedShortValue], 255U)); - VerifyOrReturn(CheckConstraintMaxValue("colorTemperature", [value unsignedShortValue], 285U)); + VerifyOrReturn(CheckConstraintMinValue("colorTemperature", [value unsignedShortValue], 230U)); + VerifyOrReturn(CheckConstraintMaxValue("colorTemperature", [value unsignedShortValue], 310U)); NextTest(); }]; @@ -15573,8 +15573,8 @@ class Test_TC_CC_6_1 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("colorTemperature", [value unsignedShortValue], 250U)); - VerifyOrReturn(CheckConstraintMaxValue("colorTemperature", [value unsignedShortValue], 280U)); + VerifyOrReturn(CheckConstraintMinValue("colorTemperature", [value unsignedShortValue], 212U)); + VerifyOrReturn(CheckConstraintMaxValue("colorTemperature", [value unsignedShortValue], 288U)); NextTest(); }]; @@ -16247,8 +16247,8 @@ class Test_TC_CC_7_3 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("enhancedCurrentHue", [value unsignedShortValue], 9350U)); - VerifyOrReturn(CheckConstraintMaxValue("enhancedCurrentHue", [value unsignedShortValue], 12000U)); + VerifyOrReturn(CheckConstraintMinValue("enhancedCurrentHue", [value unsignedShortValue], 10200U)); + VerifyOrReturn(CheckConstraintMaxValue("enhancedCurrentHue", [value unsignedShortValue], 13800U)); NextTest(); }]; @@ -16429,8 +16429,8 @@ class Test_TC_CC_7_3 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("enhancedCurrentHue", [value unsignedShortValue], 6000U)); - VerifyOrReturn(CheckConstraintMaxValue("enhancedCurrentHue", [value unsignedShortValue], 7000U)); + VerifyOrReturn(CheckConstraintMinValue("enhancedCurrentHue", [value unsignedShortValue], 5100U)); + VerifyOrReturn(CheckConstraintMaxValue("enhancedCurrentHue", [value unsignedShortValue], 6900U)); NextTest(); }]; @@ -17048,8 +17048,8 @@ class Test_TC_CC_7_4 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintMinValue("currentSaturation", [value unsignedCharValue], 56U)); - VerifyOrReturn(CheckConstraintMaxValue("currentSaturation", [value unsignedCharValue], 74U)); + VerifyOrReturn(CheckConstraintMinValue("currentSaturation", [value unsignedCharValue], 50U)); + VerifyOrReturn(CheckConstraintMaxValue("currentSaturation", [value unsignedCharValue], 80U)); NextTest(); }]; @@ -17078,7 +17078,7 @@ class Test_TC_CC_7_4 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("enhancedCurrentHue", "int16u", "int16u")); - VerifyOrReturn(CheckConstraintMinValue("enhancedCurrentHue", [value unsignedShortValue], 16000U)); + VerifyOrReturn(CheckConstraintMinValue("enhancedCurrentHue", [value unsignedShortValue], 13600U)); VerifyOrReturn(CheckConstraintMaxValue("enhancedCurrentHue", [value unsignedShortValue], 18400U)); NextTest(); @@ -17101,7 +17101,7 @@ class Test_TC_CC_7_4 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintMinValue("currentSaturation", [value unsignedCharValue], 68U)); - VerifyOrReturn(CheckConstraintMaxValue("currentSaturation", [value unsignedCharValue], 80U)); + VerifyOrReturn(CheckConstraintMaxValue("currentSaturation", [value unsignedCharValue], 92U)); NextTest(); }]; @@ -42816,7 +42816,7 @@ class Test_TC_OO_1_1 : public TestCommandBridge { { id actualValue = value; - VerifyOrReturn(CheckValue("FeatureMap", actualValue, 1UL)); + VerifyOrReturn(CheckValue("FeatureMap", actualValue, 0UL)); } VerifyOrReturn(CheckConstraintType("featureMap", "bitmap32", "bitmap32")); @@ -60265,7 +60265,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { break; case 2: ChipLogProgress(chipTool, " ***** Test Step 2 : TH reads the FeatureMap from DUT\n"); - if (ShouldSkip(" !DGTHREAD.S.F00 && !DGTHREAD.S.F00 && !DGTHREAD.S.F00 && !DGTHREAD.S.F00 ")) { + if (ShouldSkip(" !DGTHREAD.S.F00 && !DGTHREAD.S.F01 && !DGTHREAD.S.F02 && !DGTHREAD.S.F03 ")) { NextTest(); return; } @@ -60274,7 +60274,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { case 3: ChipLogProgress( chipTool, " ***** Test Step 3 : Given DGTHREAD.S.F00(PKTCNT) ensure featuremap has the correct bit set\n"); - if (ShouldSkip("DGETH.S.F00")) { + if (ShouldSkip("DGTHREAD.S.F00")) { NextTest(); return; } @@ -60283,7 +60283,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { case 4: ChipLogProgress( chipTool, " ***** Test Step 4 : Given DGTHREAD.S.F01(ERRCNT) ensure featuremap has the correct bit set\n"); - if (ShouldSkip("DGETH.S.F01")) { + if (ShouldSkip("DGTHREAD.S.F01")) { NextTest(); return; } @@ -60292,7 +60292,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { case 5: ChipLogProgress( chipTool, " ***** Test Step 5 : Given DGTHREAD.S.F02(MLECNT) ensure featuremap has the correct bit set\n"); - if (ShouldSkip("DGETH.S.F00")) { + if (ShouldSkip("DGTHREAD.S.F02")) { NextTest(); return; } @@ -60301,23 +60301,56 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { case 6: ChipLogProgress( chipTool, " ***** Test Step 6 : Given DGTHREAD.S.F03(MACCNT) ensure featuremap has the correct bit set\n"); - if (ShouldSkip("DGETH.S.F01")) { + if (ShouldSkip("DGTHREAD.S.F03")) { NextTest(); return; } err = TestGivenDgthreadsf03maccntEnsureFeaturemapHasTheCorrectBitSet_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : TH reads AttributeList from DUT\n"); - err = TestThReadsAttributeListFromDut_7(); + ChipLogProgress(chipTool, " ***** Test Step 7 : TH reads mandatory attributes in AttributeList from DUT\n"); + err = TestThReadsMandatoryAttributesInAttributeListFromDut_7(); break; case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : TH reads AcceptedCommandList from DUT\n"); - err = TestThReadsAcceptedCommandListFromDut_8(); + ChipLogProgress( + chipTool, " ***** Test Step 8 : TH reads Feature dependent attribute(DGTHREAD.S.F01(ERRCNT)) in attributeList\n"); + if (ShouldSkip("DGTHREAD.C.A0006 && DGTHREAD.S.F01")) { + NextTest(); + return; + } + err = TestThReadsFeatureDependentAttributeDGTHREADSF01ERRCNTInAttributeList_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : TH reads GeneratedCommandList from DUT\n"); - err = TestThReadsGeneratedCommandListFromDut_9(); + ChipLogProgress(chipTool, " ***** Test Step 9 : Read the optional attribute(ActiveTimestamp) in AttributeList\n"); + if (ShouldSkip("DGTHREAD.S.A0039")) { + NextTest(); + return; + } + err = TestReadTheOptionalAttributeActiveTimestampInAttributeList_9(); + break; + case 10: + ChipLogProgress(chipTool, " ***** Test Step 10 : Read the optional attribute(PendingTimestamp) in AttributeList\n"); + if (ShouldSkip("DGTHREAD.S.A003A")) { + NextTest(); + return; + } + err = TestReadTheOptionalAttributePendingTimestampInAttributeList_10(); + break; + case 11: + ChipLogProgress(chipTool, " ***** Test Step 11 : Read the optional attribute(Delay) in AttributeList\n"); + if (ShouldSkip("DGTHREAD.S.A003B")) { + NextTest(); + return; + } + err = TestReadTheOptionalAttributeDelayInAttributeList_11(); + break; + case 12: + ChipLogProgress(chipTool, " ***** Test Step 12 : TH reads AcceptedCommandList from DUT\n"); + err = TestThReadsAcceptedCommandListFromDut_12(); + break; + case 13: + ChipLogProgress(chipTool, " ***** Test Step 13 : TH reads GeneratedCommandList from DUT\n"); + err = TestThReadsGeneratedCommandListFromDut_13(); break; } @@ -60360,6 +60393,18 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { case 9: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; + case 10: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 11: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 12: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; + case 13: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; } // Go on to the next test. @@ -60373,7 +60418,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { private: std::atomic_uint16_t mTestIndex; - const uint16_t mTestCount = 10; + const uint16_t mTestCount = 14; chip::Optional mNodeId; chip::Optional mCluster; @@ -60511,7 +60556,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestThReadsAttributeListFromDut_7() + CHIP_ERROR TestThReadsMandatoryAttributesInAttributeListFromDut_7() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = @@ -60519,7 +60564,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { - NSLog(@"TH reads AttributeList from DUT Error: %@", err); + NSLog(@"TH reads mandatory attributes in AttributeList from DUT Error: %@", err); VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); @@ -60553,7 +60598,91 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestThReadsAcceptedCommandListFromDut_8() + CHIP_ERROR TestThReadsFeatureDependentAttributeDGTHREADSF01ERRCNTInAttributeList_8() + { + MTRBaseDevice * device = GetDevice("alpha"); + MTRBaseClusterThreadNetworkDiagnostics * cluster = + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); + + [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { + NSLog(@"TH reads Feature dependent attribute(DGTHREAD.S.F01(ERRCNT)) in attributeList Error: %@", err); + + VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + + VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); + VerifyOrReturn(CheckConstraintContains("attributeList", value, 6UL)); + + NextTest(); + }]; + + return CHIP_NO_ERROR; + } + + CHIP_ERROR TestReadTheOptionalAttributeActiveTimestampInAttributeList_9() + { + MTRBaseDevice * device = GetDevice("alpha"); + MTRBaseClusterThreadNetworkDiagnostics * cluster = + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); + + [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { + NSLog(@"Read the optional attribute(ActiveTimestamp) in AttributeList Error: %@", err); + + VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + + VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); + VerifyOrReturn(CheckConstraintContains("attributeList", value, 56UL)); + + NextTest(); + }]; + + return CHIP_NO_ERROR; + } + + CHIP_ERROR TestReadTheOptionalAttributePendingTimestampInAttributeList_10() + { + MTRBaseDevice * device = GetDevice("alpha"); + MTRBaseClusterThreadNetworkDiagnostics * cluster = + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); + + [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { + NSLog(@"Read the optional attribute(PendingTimestamp) in AttributeList Error: %@", err); + + VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + + VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); + VerifyOrReturn(CheckConstraintContains("attributeList", value, 57UL)); + + NextTest(); + }]; + + return CHIP_NO_ERROR; + } + + CHIP_ERROR TestReadTheOptionalAttributeDelayInAttributeList_11() + { + MTRBaseDevice * device = GetDevice("alpha"); + MTRBaseClusterThreadNetworkDiagnostics * cluster = + [[MTRBaseClusterThreadNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); + + [cluster readAttributeAttributeListWithCompletionHandler:^(NSArray * _Nullable value, NSError * _Nullable err) { + NSLog(@"Read the optional attribute(Delay) in AttributeList Error: %@", err); + + VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + + VerifyOrReturn(CheckConstraintType("attributeList", "list", "list")); + VerifyOrReturn(CheckConstraintContains("attributeList", value, 58UL)); + + NextTest(); + }]; + + return CHIP_NO_ERROR; + } + + CHIP_ERROR TestThReadsAcceptedCommandListFromDut_12() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = @@ -60574,7 +60703,7 @@ class Test_TC_DGTHREAD_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestThReadsGeneratedCommandListFromDut_9() + CHIP_ERROR TestThReadsGeneratedCommandListFromDut_13() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterThreadNetworkDiagnostics * cluster = @@ -61586,64 +61715,74 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { err = TestThReadsTheFeatureMapFromDut_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : TH reads the FeatureMap from DUT\n"); - if (ShouldSkip("DGWIFI.S.F00 || DGWIFI.S.F01")) { + ChipLogProgress( + chipTool, " ***** Test Step 3 : Given DGWIFI.S.F00(PacketCounts) ensure featuremap has the correct bit set\n"); + if (ShouldSkip("DGWIFI.S.F00")) { NextTest(); return; } - err = TestThReadsTheFeatureMapFromDut_3(); + err = TestGivenDGWIFISF00PacketCountsEnsureFeaturemapHasTheCorrectBitSet_3(); break; case 4: - ChipLogProgress(chipTool, " ***** Test Step 4 : TH reads AttributeList from DUT\n"); - err = TestThReadsAttributeListFromDut_4(); + ChipLogProgress( + chipTool, " ***** Test Step 4 : Given DGWIFI.S.F01(ErrorCounts) ensure featuremap has the correct bit set\n"); + if (ShouldSkip("DGWIFI.S.F01")) { + NextTest(); + return; + } + err = TestGivenDGWIFISF01ErrorCountsEnsureFeaturemapHasTheCorrectBitSet_4(); break; case 5: + ChipLogProgress(chipTool, " ***** Test Step 5 : TH reads AttributeList from DUT\n"); + err = TestThReadsAttributeListFromDut_5(); + break; + case 6: ChipLogProgress( - chipTool, " ***** Test Step 5 : TH reads Feature dependent(DGWIFI.S.F00) attributes in attributeList from DUT\n"); + chipTool, " ***** Test Step 6 : TH reads Feature dependent(DGWIFI.S.F00) attributes in attributeList from DUT\n"); if (ShouldSkip("DGWIFI.S.F00")) { NextTest(); return; } - err = TestThReadsFeatureDependentDGWIFISF00AttributesInAttributeListFromDut_5(); + err = TestThReadsFeatureDependentDGWIFISF00AttributesInAttributeListFromDut_6(); break; - case 6: + case 7: ChipLogProgress( - chipTool, " ***** Test Step 6 : TH reads Feature dependent(DGWIFI.S.F01) attributes in attributeList from DUT\n"); + chipTool, " ***** Test Step 7 : TH reads Feature dependent(DGWIFI.S.F01) attributes in attributeList from DUT\n"); if (ShouldSkip("DGWIFI.S.F01")) { NextTest(); return; } - err = TestThReadsFeatureDependentDGWIFISF01AttributesInAttributeListFromDut_6(); + err = TestThReadsFeatureDependentDGWIFISF01AttributesInAttributeListFromDut_7(); break; - case 7: + case 8: ChipLogProgress( - chipTool, " ***** Test Step 7 : TH reads optional attribute (CurrentMaxRate) in AttributeList from DUT\n"); + chipTool, " ***** Test Step 8 : TH reads optional attribute (CurrentMaxRate) in AttributeList from DUT\n"); if (ShouldSkip("DGWIFI.S.A000b")) { NextTest(); return; } - err = TestThReadsOptionalAttributeCurrentMaxRateInAttributeListFromDut_7(); + err = TestThReadsOptionalAttributeCurrentMaxRateInAttributeListFromDut_8(); break; - case 8: - ChipLogProgress(chipTool, " ***** Test Step 8 : TH reads AcceptedCommandList from DUT\n"); + case 9: + ChipLogProgress(chipTool, " ***** Test Step 9 : TH reads AcceptedCommandList from DUT\n"); if (ShouldSkip(" !DGWIFI.S.F01 ")) { NextTest(); return; } - err = TestThReadsAcceptedCommandListFromDut_8(); + err = TestThReadsAcceptedCommandListFromDut_9(); break; - case 9: + case 10: ChipLogProgress(chipTool, - " ***** Test Step 9 : TH reads Feature dependent(DGWIFI.S.F01) command in AcceptedCommandList from DUT\n"); + " ***** Test Step 10 : TH reads Feature dependent(DGWIFI.S.F01) command in AcceptedCommandList from DUT\n"); if (ShouldSkip("DGWIFI.S.F01")) { NextTest(); return; } - err = TestThReadsFeatureDependentDGWIFISF01CommandInAcceptedCommandListFromDut_9(); + err = TestThReadsFeatureDependentDGWIFISF01CommandInAcceptedCommandListFromDut_10(); break; - case 10: - ChipLogProgress(chipTool, " ***** Test Step 10 : TH reads GeneratedCommandList from DUT\n"); - err = TestThReadsGeneratedCommandListFromDut_10(); + case 11: + ChipLogProgress(chipTool, " ***** Test Step 11 : TH reads GeneratedCommandList from DUT\n"); + err = TestThReadsGeneratedCommandListFromDut_11(); break; } @@ -61689,6 +61828,9 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { case 10: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; + case 11: + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + break; } // Go on to the next test. @@ -61702,7 +61844,7 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { private: std::atomic_uint16_t mTestIndex; - const uint16_t mTestCount = 11; + const uint16_t mTestCount = 12; chip::Optional mNodeId; chip::Optional mCluster; @@ -61764,7 +61906,7 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestThReadsTheFeatureMapFromDut_3() + CHIP_ERROR TestGivenDGWIFISF00PacketCountsEnsureFeaturemapHasTheCorrectBitSet_3() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = @@ -61772,21 +61914,37 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { - NSLog(@"TH reads the FeatureMap from DUT Error: %@", err); + NSLog(@"Given DGWIFI.S.F00(PacketCounts) ensure featuremap has the correct bit set Error: %@", err); VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); VerifyOrReturn(CheckConstraintType("featureMap", "bitmap32", "bitmap32")); - VerifyOrReturn(CheckConstraintMinValue("featureMap", [value unsignedIntValue], 1UL)); - VerifyOrReturn(CheckConstraintMaxValue("featureMap", [value unsignedIntValue], 3UL)); + NextTest(); + }]; + return CHIP_NO_ERROR; + } + + CHIP_ERROR TestGivenDGWIFISF01ErrorCountsEnsureFeaturemapHasTheCorrectBitSet_4() + { + MTRBaseDevice * device = GetDevice("alpha"); + MTRBaseClusterWiFiNetworkDiagnostics * cluster = + [[MTRBaseClusterWiFiNetworkDiagnostics alloc] initWithDevice:device endpoint:0 queue:mCallbackQueue]; + VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); + + [cluster readAttributeFeatureMapWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { + NSLog(@"Given DGWIFI.S.F01(ErrorCounts) ensure featuremap has the correct bit set Error: %@", err); + + VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); + + VerifyOrReturn(CheckConstraintType("featureMap", "bitmap32", "bitmap32")); NextTest(); }]; return CHIP_NO_ERROR; } - CHIP_ERROR TestThReadsAttributeListFromDut_4() + CHIP_ERROR TestThReadsAttributeListFromDut_5() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = @@ -61816,7 +61974,7 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestThReadsFeatureDependentDGWIFISF00AttributesInAttributeListFromDut_5() + CHIP_ERROR TestThReadsFeatureDependentDGWIFISF00AttributesInAttributeListFromDut_6() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = @@ -61841,7 +61999,7 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestThReadsFeatureDependentDGWIFISF01AttributesInAttributeListFromDut_6() + CHIP_ERROR TestThReadsFeatureDependentDGWIFISF01AttributesInAttributeListFromDut_7() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = @@ -61863,7 +62021,7 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestThReadsOptionalAttributeCurrentMaxRateInAttributeListFromDut_7() + CHIP_ERROR TestThReadsOptionalAttributeCurrentMaxRateInAttributeListFromDut_8() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = @@ -61884,7 +62042,7 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestThReadsAcceptedCommandListFromDut_8() + CHIP_ERROR TestThReadsAcceptedCommandListFromDut_9() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = @@ -61908,7 +62066,7 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestThReadsFeatureDependentDGWIFISF01CommandInAcceptedCommandListFromDut_9() + CHIP_ERROR TestThReadsFeatureDependentDGWIFISF01CommandInAcceptedCommandListFromDut_10() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = @@ -61929,7 +62087,7 @@ class Test_TC_DGWIFI_1_1 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestThReadsGeneratedCommandListFromDut_10() + CHIP_ERROR TestThReadsGeneratedCommandListFromDut_11() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterWiFiNetworkDiagnostics * cluster = @@ -120693,84 +120851,74 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { err = TestThSendsAnUnlockDoorCommandFromUser1ToTheDutWithTheValidPINCodeAndVerifyTheDutResponse_18(); break; case 19: - ChipLogProgress(chipTool, " ***** Test Step 19 : TH reads the UserCodeTemporaryDisableTime attribute from the DUT\n"); - if (ShouldSkip("DRLK.S.A0031")) { + ChipLogProgress(chipTool, + " ***** Test Step 19 : Wait for PIXIT.DRLK.UserCodeTemporaryDisableTime.TH then sends an Unlock Door Command from " + "User1 to the DUT with the valid PINCode.\n"); + if (ShouldSkip("PICS_USER_PROMPT && DRLK.S.A0030")) { NextTest(); return; } - err = TestThReadsTheUserCodeTemporaryDisableTimeAttributeFromTheDut_19(); + err = TestWaitForPIXITDRLKUserCodeTemporaryDisableTimeTHThenSendsAnUnlockDoorCommandFromUser1ToTheDutWithTheValidPINCode_19(); break; case 20: - ChipLogProgress(chipTool, " ***** Test Step 20 : Wait 15000ms\n"); - err = TestWait15000ms_20(); - break; - case 21: - ChipLogProgress(chipTool, " ***** Test Step 21 : TH sends the unlock Door command to the DUT with valid PINCode\n"); - if (ShouldSkip("DRLK.S.A0030")) { - NextTest(); - return; - } - err = TestThSendsTheUnlockDoorCommandToTheDutWithValidPINCode_21(); - break; - case 22: ChipLogProgress(chipTool, - " ***** Test Step 22 : TH writes WrongCodeEntryLimit attribute value as between 1 and 255 on the DUT and Verify " + " ***** Test Step 20 : TH writes WrongCodeEntryLimit attribute value as between 1 and 255 on the DUT and Verify " "that the DUT sends Success response\n"); if (ShouldSkip("DRLK.S.A0030")) { NextTest(); return; } - err = TestThWritesWrongCodeEntryLimitAttributeValueAsBetween1And255OnTheDutAndVerifyThatTheDutSendsSuccessResponse_22(); + err = TestThWritesWrongCodeEntryLimitAttributeValueAsBetween1And255OnTheDutAndVerifyThatTheDutSendsSuccessResponse_20(); break; - case 23: + case 21: ChipLogProgress(chipTool, - " ***** Test Step 23 : TH writes WrongCodeEntryLimit attribute value as between 1 and 255 on the DUT and verify " + " ***** Test Step 21 : TH writes WrongCodeEntryLimit attribute value as between 1 and 255 on the DUT and verify " "DUT responds with UNSUPPORTED_WRITE\n"); if (ShouldSkip("!DRLK.S.A0030")) { NextTest(); return; } - err = TestThWritesWrongCodeEntryLimitAttributeValueAsBetween1And255OnTheDutAndVerifyDutRespondsWithUnsupportedWrite_23(); + err = TestThWritesWrongCodeEntryLimitAttributeValueAsBetween1And255OnTheDutAndVerifyDutRespondsWithUnsupportedWrite_21(); break; - case 24: - ChipLogProgress(chipTool, " ***** Test Step 24 : TH reads the UserCodeTemporaryDisableTime attribute from the DUT\n"); + case 22: + ChipLogProgress(chipTool, " ***** Test Step 22 : TH reads the UserCodeTemporaryDisableTime attribute from the DUT\n"); if (ShouldSkip("DRLK.S.A0031")) { NextTest(); return; } - err = TestThReadsTheUserCodeTemporaryDisableTimeAttributeFromTheDut_24(); + err = TestThReadsTheUserCodeTemporaryDisableTimeAttributeFromTheDut_22(); break; - case 25: + case 23: ChipLogProgress(chipTool, - " ***** Test Step 25 : TH writes UserCodeTemporaryDisableTime attribute value as between 1 and 255 on the DUT and " + " ***** Test Step 23 : TH writes UserCodeTemporaryDisableTime attribute value as between 1 and 255 on the DUT and " "Verify that the DUT sends Success response\n"); if (ShouldSkip("DRLK.S.A0031")) { NextTest(); return; } - err = TestThWritesUserCodeTemporaryDisableTimeAttributeValueAsBetween1And255OnTheDutAndVerifyThatTheDutSendsSuccessResponse_25(); + err = TestThWritesUserCodeTemporaryDisableTimeAttributeValueAsBetween1And255OnTheDutAndVerifyThatTheDutSendsSuccessResponse_23(); break; - case 26: + case 24: ChipLogProgress(chipTool, - " ***** Test Step 26 : TH writes UserCodeTemporaryDisableTime attribute value as between 1 and 255 on the DUT and " + " ***** Test Step 24 : TH writes UserCodeTemporaryDisableTime attribute value as between 1 and 255 on the DUT and " "verify DUT responds with UNSUPPORTED_WRITE\n"); if (ShouldSkip("!DRLK.S.A0031")) { NextTest(); return; } - err = TestThWritesUserCodeTemporaryDisableTimeAttributeValueAsBetween1And255OnTheDutAndVerifyDutRespondsWithUnsupportedWrite_26(); + err = TestThWritesUserCodeTemporaryDisableTimeAttributeValueAsBetween1And255OnTheDutAndVerifyDutRespondsWithUnsupportedWrite_24(); break; - case 27: - ChipLogProgress(chipTool, " ***** Test Step 27 : Clean the created user\n"); - err = TestCleanTheCreatedUser_27(); + case 25: + ChipLogProgress(chipTool, " ***** Test Step 25 : Clean the created user\n"); + err = TestCleanTheCreatedUser_25(); break; - case 28: - ChipLogProgress(chipTool, " ***** Test Step 28 : Cleanup the created credential\n"); + case 26: + ChipLogProgress(chipTool, " ***** Test Step 26 : Cleanup the created credential\n"); if (ShouldSkip("DRLK.S.C26.Rsp")) { NextTest(); return; } - err = TestCleanupTheCreatedCredential_28(); + err = TestCleanupTheCreatedCredential_26(); break; } @@ -120847,27 +120995,21 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 21: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_UNSUPPORTED_WRITE)); break; case 22: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 23: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_UNSUPPORTED_WRITE)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 24: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); + VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_UNSUPPORTED_WRITE)); break; case 25: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; case 26: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), EMBER_ZCL_STATUS_UNSUPPORTED_WRITE)); - break; - case 27: - VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); - break; - case 28: VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0)); break; } @@ -120883,7 +121025,7 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { private: std::atomic_uint16_t mTestIndex; - const uint16_t mTestCount = 29; + const uint16_t mTestCount = 27; chip::Optional mNodeId; chip::Optional mCluster; @@ -121375,57 +121517,17 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { return UserPrompt("alpha", value); } - CHIP_ERROR TestThReadsTheUserCodeTemporaryDisableTimeAttributeFromTheDut_19() - { - MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; - VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); - - [cluster - readAttributeUserCodeTemporaryDisableTimeWithCompletionHandler:^(NSNumber * _Nullable value, NSError * _Nullable err) { - NSLog(@"TH reads the UserCodeTemporaryDisableTime attribute from the DUT Error: %@", err); - - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - - { - id actualValue = value; - VerifyOrReturn(CheckValue("UserCodeTemporaryDisableTime", actualValue, 10U)); - } - - NextTest(); - }]; - - return CHIP_NO_ERROR; - } - - CHIP_ERROR TestWait15000ms_20() - { - chip::app::Clusters::DelayCommands::Commands::WaitForMs::Type value; - value.ms = 15000UL; - return WaitForMs("alpha", value); - } - - CHIP_ERROR TestThSendsTheUnlockDoorCommandToTheDutWithValidPINCode_21() + CHIP_ERROR + TestWaitForPIXITDRLKUserCodeTemporaryDisableTimeTHThenSendsAnUnlockDoorCommandFromUser1ToTheDutWithTheValidPINCode_19() { - MTRBaseDevice * device = GetDevice("alpha"); - MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; - VerifyOrReturnError(cluster != nil, CHIP_ERROR_INCORRECT_STATE); - - __auto_type * params = [[MTRDoorLockClusterUnlockDoorParams alloc] init]; - params.pinCode = [[NSData alloc] initWithBytes:"123456" length:6]; - [cluster unlockDoorWithParams:params - completionHandler:^(NSError * _Nullable err) { - NSLog(@"TH sends the unlock Door command to the DUT with valid PINCode Error: %@", err); - - VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - - NextTest(); - }]; - - return CHIP_NO_ERROR; + chip::app::Clusters::LogCommands::Commands::UserPrompt::Type value; + value.message = chip::Span("Please enter 'y' for successgarbage: not in length on purpose", 28); + value.expectedValue.Emplace(); + value.expectedValue.Value() = chip::Span("ygarbage: not in length on purpose", 1); + return UserPrompt("alpha", value); } - CHIP_ERROR TestThWritesWrongCodeEntryLimitAttributeValueAsBetween1And255OnTheDutAndVerifyThatTheDutSendsSuccessResponse_22() + CHIP_ERROR TestThWritesWrongCodeEntryLimitAttributeValueAsBetween1And255OnTheDutAndVerifyThatTheDutSendsSuccessResponse_20() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; @@ -121447,7 +121549,7 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestThWritesWrongCodeEntryLimitAttributeValueAsBetween1And255OnTheDutAndVerifyDutRespondsWithUnsupportedWrite_23() + CHIP_ERROR TestThWritesWrongCodeEntryLimitAttributeValueAsBetween1And255OnTheDutAndVerifyDutRespondsWithUnsupportedWrite_21() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; @@ -121473,7 +121575,7 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestThReadsTheUserCodeTemporaryDisableTimeAttributeFromTheDut_24() + CHIP_ERROR TestThReadsTheUserCodeTemporaryDisableTimeAttributeFromTheDut_22() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; @@ -121492,7 +121594,7 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { } CHIP_ERROR - TestThWritesUserCodeTemporaryDisableTimeAttributeValueAsBetween1And255OnTheDutAndVerifyThatTheDutSendsSuccessResponse_25() + TestThWritesUserCodeTemporaryDisableTimeAttributeValueAsBetween1And255OnTheDutAndVerifyThatTheDutSendsSuccessResponse_23() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; @@ -121516,7 +121618,7 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { } CHIP_ERROR - TestThWritesUserCodeTemporaryDisableTimeAttributeValueAsBetween1And255OnTheDutAndVerifyDutRespondsWithUnsupportedWrite_26() + TestThWritesUserCodeTemporaryDisableTimeAttributeValueAsBetween1And255OnTheDutAndVerifyDutRespondsWithUnsupportedWrite_24() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; @@ -121543,7 +121645,7 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestCleanTheCreatedUser_27() + CHIP_ERROR TestCleanTheCreatedUser_25() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue]; @@ -121563,7 +121665,7 @@ class Test_TC_DRLK_2_2 : public TestCommandBridge { return CHIP_NO_ERROR; } - CHIP_ERROR TestCleanupTheCreatedCredential_28() + CHIP_ERROR TestCleanupTheCreatedCredential_26() { MTRBaseDevice * device = GetDevice("alpha"); MTRBaseClusterDoorLock * cluster = [[MTRBaseClusterDoorLock alloc] initWithDevice:device endpoint:1 queue:mCallbackQueue];